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.
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;
string
setNs
Kubernetes Pod namespace.
Generated from protobuf field string ns = 1;
var
string
$this
getName
Kubernetes Pod name.
Generated from protobuf field string name = 2;
string
setName
Kubernetes Pod name.
Generated from protobuf field string name = 2;
var
string
$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;
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;
$this
getContainers
Pod containers associated with this finding, if any.
Generated from protobuf field repeated .google.cloud.securitycenter.v1.Container containers = 4;
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;
$this

