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
Namespace
Google \ Cloud \ SecurityCenter \ V1 \ KubernetesMethods
__construct
Constructor.
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.
string
setNs
Kubernetes Pod namespace.
var
string
$this
getName
Kubernetes Pod name.
string
setName
Kubernetes Pod name.
var
string
$this
getLabels
Pod labels. For Kubernetes containers, these are applied to the container.
setLabels
Pod labels. For Kubernetes containers, these are applied to the container.
$this
getContainers
Pod containers associated with this finding, if any.
setContainers
Pod containers associated with this finding, if any.
$this