public sealed class Kubernetes.Types.Object : IMessage<Kubernetes.Types.Object>, IEquatable<Kubernetes.Types.Object>, IDeepCloneable<Kubernetes.Types.Object>, IBufferMessage, IMessage
Reference documentation and code samples for the Security Command Center v2 API class Kubernetes.Types.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.
Implements
IMessageKubernetesTypesObject, IEquatableKubernetesTypesObject, IDeepCloneableKubernetesTypesObject, IBufferMessage, IMessageNamespace
Google.Cloud.SecurityCenter.V2Assembly
Google.Cloud.SecurityCenter.V2.dll
Constructors
Object()
public Object()
Object(Object)
public Object(Kubernetes.Types.Object other)
Parameter | |
---|---|
Name | Description |
other |
KubernetesTypesObject |
Properties
Containers
public RepeatedField<Container> Containers { get; }
Pod containers associated with this finding, if any.
Property Value | |
---|---|
Type | Description |
RepeatedFieldContainer |
Group
public string Group { get; set; }
Kubernetes object group, such as "policy.k8s.io/v1".
Property Value | |
---|---|
Type | Description |
string |
Kind
public string Kind { get; set; }
Kubernetes object kind, such as "Namespace".
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.
Property Value | |
---|---|
Type | Description |
string |
Ns
public string Ns { get; set; }
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/.
Property Value | |
---|---|
Type | Description |
string |