Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class Role.
Kubernetes Role or ClusterRole.
Generated from protobuf message google.cloud.securitycenter.v1.Kubernetes.Role
Namespace
Google \ Cloud \ SecurityCenter \ V1 \ KubernetesMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ kind
int
Role type.
↳ ns
string
Role namespace.
↳ name
string
Role name.
getKind
Role type.
int
setKind
Role type.
var
int
Enum of type Kind .
$this
getNs
Role namespace.
string
setNs
Role namespace.
var
string
$this
getName
Role name.
string
setName
Role name.
var
string
$this

