Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class Role.
Kubernetes Role or ClusterRole.
Generated from protobuf message google.cloud.securitycenter.v2.Kubernetes.Role
Namespace
Google \ Cloud \ SecurityCenter \ V2 \ KubernetesMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ kind |
int
Role type. |
↳ ns |
string
Role namespace. |
↳ name |
string
Role name. |
getKind
Role type.
Returns | |
---|---|
Type | Description |
int |
setKind
Role type.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getNs
Role namespace.
Returns | |
---|---|
Type | Description |
string |
setNs
Role namespace.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getName
Role name.
Returns | |
---|---|
Type | Description |
string |
setName
Role name.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |