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

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

A Kubernetes Pod.

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

Namespace

Google \ Cloud \ SecurityCenter \ V1 \ Kubernetes

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.

Returns
Type
Description
string

setNs

Kubernetes Pod namespace.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getName

Kubernetes Pod name.

Returns
Type
Description
string

setName

Kubernetes Pod name.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getLabels

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

Returns
Type
Description

setLabels

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

Parameter
Name
Description
Returns
Type
Description
$this

getContainers

Pod containers associated with this finding, if any.

Returns
Type
Description

setContainers

Pod containers associated with this finding, if any.

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