Google Cloud Security Command Center V1 Client - Class Role (2.0.0)

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 \ Kubernetes

Methods

__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