Google Cloud Security Command Center V1 Client - Class Pod (1.13.1)

Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class Pod.

Kubernetes Pod.

Generated from protobuf message google.cloud.securitycenter.v1.Kubernetes.Pod

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ ns
string

Kubernetes Pod namespace.

↳ name
string

Kubernetes Pod name.

↳ labels
array< Google\Cloud\SecurityCenter\V1\Label >

Pod labels. For Kubernetes containers, these are applied to the container.

↳ containers
array< Google\Cloud\SecurityCenter\V1\Container >

Pod containers associated with this finding, if any.

getNs

Kubernetes Pod namespace.

Generated from protobuf field string ns = 1;

Returns
Type
Description
string

setNs

Kubernetes Pod namespace.

Generated from protobuf field string ns = 1;

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getName

Kubernetes Pod name.

Generated from protobuf field string name = 2;

Returns
Type
Description
string

setName

Kubernetes Pod name.

Generated from protobuf field string name = 2;

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getLabels

Pod labels. For Kubernetes containers, these are applied to the container.

Generated from protobuf field repeated .google.cloud.securitycenter.v1.Label labels = 3;

Returns
Type
Description
Google\Protobuf\Internal\RepeatedField

setLabels

Pod labels. For Kubernetes containers, these are applied to the container.

Generated from protobuf field repeated .google.cloud.securitycenter.v1.Label labels = 3;

Parameter
Name
Description
Returns
Type
Description
$this

getContainers

Pod containers associated with this finding, if any.

Generated from protobuf field repeated .google.cloud.securitycenter.v1.Container containers = 4;

Returns
Type
Description
Google\Protobuf\Internal\RepeatedField

setContainers

Pod containers associated with this finding, if any.

Generated from protobuf field repeated .google.cloud.securitycenter.v1.Container containers = 4;

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: