[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation provides reference information for the \u003ccode\u003eKubernetes\u003c/code\u003e class within the Security Command Center v2 API, detailing its structure and functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKubernetes\u003c/code\u003e class is used to represent Kubernetes-related attributes within the Security Command Center v2 API, and it implements several 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 class provides various properties like \u003ccode\u003eAccessReviews\u003c/code\u003e, \u003ccode\u003eBindings\u003c/code\u003e, \u003ccode\u003eNodePools\u003c/code\u003e, \u003ccode\u003eNodes\u003c/code\u003e, \u003ccode\u003eObjects\u003c/code\u003e, \u003ccode\u003ePods\u003c/code\u003e, and \u003ccode\u003eRoles\u003c/code\u003e to offer comprehensive details about different aspects of Kubernetes environments in security findings.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for the Kubernetes class: a default one and one that copies from an existing \u003ccode\u003eKubernetes\u003c/code\u003e object, allowing for flexible object creation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKubernetes\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.SecurityCenter.V2\u003c/code\u003e namespace and is found in the \u003ccode\u003eGoogle.Cloud.SecurityCenter.V2.dll\u003c/code\u003e assembly, indicating its integration with Google Cloud services.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class Kubernetes (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)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.Kubernetes)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.Kubernetes) \n\n public sealed class Kubernetes : IMessage\u003cKubernetes\u003e, IEquatable\u003cKubernetes\u003e, IDeepCloneable\u003cKubernetes\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Command Center v2 API class Kubernetes.\n\nKubernetes-related attributes. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Kubernetes \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), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Kubernetes](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Kubernetes), [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), [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### Kubernetes()\n\n public Kubernetes()\n\n### Kubernetes(Kubernetes)\n\n public Kubernetes(Kubernetes other)\n\nProperties\n----------\n\n### AccessReviews\n\n public RepeatedField\u003cKubernetes.Types.AccessReview\u003e AccessReviews { get; }\n\nProvides information on any Kubernetes access reviews (privilege checks)\nrelevant to the finding.\n\n### Bindings\n\n public RepeatedField\u003cKubernetes.Types.Binding\u003e Bindings { get; }\n\nProvides Kubernetes role binding information for findings that involve\n[RoleBindings or\nClusterRoleBindings](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).\n\n### NodePools\n\n public RepeatedField\u003cKubernetes.Types.NodePool\u003e NodePools { get; }\n\nGKE [node\npools](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pools)\nassociated with the finding. This field contains node pool information for\neach node, when it is available.\n\n### Nodes\n\n public RepeatedField\u003cKubernetes.Types.Node\u003e Nodes { get; }\n\nProvides Kubernetes\n[node](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#nodes)\ninformation.\n\n### Objects\n\n public RepeatedField\u003cKubernetes.Types.Object\u003e Objects { get; }\n\nKubernetes objects related to the finding.\n\n### Pods\n\n public RepeatedField\u003cKubernetes.Types.Pod\u003e Pods { get; }\n\nKubernetes\n[Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod)\nassociated with the finding. This field contains Pod records for each\ncontainer that is owned by a Pod.\n\n### Roles\n\n public RepeatedField\u003cKubernetes.Types.Role\u003e Roles { get; }\n\nProvides Kubernetes role information for findings that involve [Roles or\nClusterRoles](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control)."]]