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.
Parameters | |
---|---|
Name | Description |
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.
Returns | |
---|---|
Type | Description |
int |
setKind
Authentication type for subject.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getNs
Namespace for subject.
Returns | |
---|---|
Type | Description |
string |
setNs
Namespace for subject.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getName
Name for subject.
Returns | |
---|---|
Type | Description |
string |
setName
Name for subject.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |