Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class Object.
Kubernetes object related to the finding, uniquely identified by GKNN.
Used if the object Kind is not one of Pod, Node, NodePool, Binding, or AccessReview.
Generated from protobuf message google.cloud.securitycenter.v1.Kubernetes.Object
Namespace
Google \ Cloud \ SecurityCenter \ V1 \ KubernetesMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ group
string
Kubernetes object group, such as "policy.k8s.io/v1".
↳ kind
string
Kubernetes object kind, such as "Namespace".
↳ ns
string
Kubernetes object namespace. Must be a valid DNS label. Named "ns" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/ .
↳ name
string
Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/ .
↳ containers
array< Google\Cloud\SecurityCenter\V1\Container
>
Pod containers associated with this finding, if any.
getGroup
Kubernetes object group, such as "policy.k8s.io/v1".
string
setGroup
Kubernetes object group, such as "policy.k8s.io/v1".
var
string
$this
getKind
Kubernetes object kind, such as "Namespace".
string
setKind
Kubernetes object kind, such as "Namespace".
var
string
$this
getNs
Kubernetes object namespace. Must be a valid DNS label. Named "ns" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/ .
string
setNs
Kubernetes object namespace. Must be a valid DNS label. Named "ns" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/ .
var
string
$this
getName
Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/ .
string
setName
Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/ .
var
string
$this
getContainers
Pod containers associated with this finding, if any.
setContainers
Pod containers associated with this finding, if any.
$this