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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eKubernetes.Types.Object\u003c/code\u003e class within the Security Command Center v2 API, detailing its purpose, inheritance, implemented interfaces, and members.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKubernetes.Types.Object\u003c/code\u003e class represents a Kubernetes object related to a security finding, uniquely identified by GKNN, when the object's kind is not Pod, Node, NodePool, Binding, or AccessReview.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, a default one and one that takes another \u003ccode\u003eKubernetes.Types.Object\u003c/code\u003e instance as input for copying, along with properties for managing \u003ccode\u003eContainers\u003c/code\u003e, \u003ccode\u003eGroup\u003c/code\u003e, \u003ccode\u003eKind\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eNs\u003c/code\u003e (namespace).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKubernetes.Types.Object\u003c/code\u003e class inherits from the base \u003ccode\u003eobject\u003c/code\u003e type and implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eKubernetes.Types.Object\u003c/code\u003e class is 1.1.0, while version 1.0.0 is also available in the documentation, both within the \u003ccode\u003eGoogle.Cloud.SecurityCenter.V2\u003c/code\u003e namespace.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class Kubernetes.Types.Object (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Kubernetes.Types.Object)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.Kubernetes.Types.Object)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.Kubernetes.Types.Object) \n\n public sealed class Kubernetes.Types.Object : IMessage\u003cKubernetes.Types.Object\u003e, IEquatable\u003cKubernetes.Types.Object\u003e, IDeepCloneable\u003cKubernetes.Types.Object\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Command Center v2 API class Kubernetes.Types.Object.\n\nKubernetes object related to the finding, uniquely identified by GKNN.\nUsed if the object Kind is not one of Pod, Node, NodePool, Binding, or\nAccessReview. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Kubernetes.Types.Object \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Kubernetes](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Kubernetes)[Types](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Kubernetes.Types)[Object](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Kubernetes.Types.Object), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Kubernetes](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Kubernetes)[Types](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Kubernetes.Types)[Object](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Kubernetes.Types.Object), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Kubernetes](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Kubernetes)[Types](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Kubernetes.Types)[Object](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Kubernetes.Types.Object), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.SecurityCenter.V2](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.SecurityCenter.V2.dll\n\nConstructors\n------------\n\n### Object()\n\n public Object()\n\n### Object(Object)\n\n public Object(Kubernetes.Types.Object other)\n\nProperties\n----------\n\n### Containers\n\n public RepeatedField\u003cContainer\u003e Containers { get; }\n\nPod containers associated with this finding, if any.\n\n### Group\n\n public string Group { get; set; }\n\nKubernetes object group, such as \"policy.k8s.io/v1\".\n\n### Kind\n\n public string Kind { get; set; }\n\nKubernetes object kind, such as \"Namespace\".\n\n### Name\n\n public string Name { get; set; }\n\nKubernetes object name. For details see\n\u003chttps://kubernetes.io/docs/concepts/overview/working-with-objects/names/\u003e.\n\n### Ns\n\n public string Ns { get; set; }\n\nKubernetes object namespace. Must be a valid DNS label. Named\n\"ns\" to avoid collision with C++ namespace keyword. For details see\n\u003chttps://kubernetes.io/docs/tasks/administer-cluster/namespaces/\u003e."]]