Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class Subject.
Represents a Kubernetes Subject.
Generated from protobuf message google.cloud.securitycenter.v1.Kubernetes.Subject
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ kind
int
Authentication type for subject.
↳ ns
string
Namespace for subject.
↳ name
string
Name for subject.
getKind
Authentication type for subject.
Generated from protobuf field .google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType kind = 1;
int
setKind
Authentication type for subject.
Generated from protobuf field .google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType kind = 1;
var
int
$this
getNs
Namespace for subject.
Generated from protobuf field string ns = 2;
string
setNs
Namespace for subject.
Generated from protobuf field string ns = 2;
var
string
$this
getName
Name for subject.
Generated from protobuf field string name = 3;
string
setName
Name for subject.
Generated from protobuf field string name = 3;
var
string
$this

