public sealed class Kubernetes.Types.AccessReview : IMessage<Kubernetes.Types.AccessReview>, IEquatable<Kubernetes.Types.AccessReview>, IDeepCloneable<Kubernetes.Types.AccessReview>, IBufferMessage, IMessage
Reference documentation and code samples for the Security Command Center v2 API class Kubernetes.Types.AccessReview.
Conveys information about a Kubernetes access review (such as one returned
by a kubectl auth
can-i
command) that was involved in a finding.
Namespace of the action being requested. Currently, there is no
distinction between no namespace and all namespaces. Both
are represented by "" (empty).
[[["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 document provides reference documentation for the \u003ccode\u003eKubernetes.Types.AccessReview\u003c/code\u003e class within the Security Command Center v2 API, detailing its use in conveying Kubernetes access review information.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKubernetes.Types.AccessReview\u003c/code\u003e class, which inherits from \u003ccode\u003eobject\u003c/code\u003e, 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, allowing for deep cloning and message handling.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains several string properties such as \u003ccode\u003eGroup\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eNs\u003c/code\u003e, \u003ccode\u003eResource\u003c/code\u003e, \u003ccode\u003eSubresource\u003c/code\u003e, \u003ccode\u003eVerb\u003c/code\u003e, and \u003ccode\u003eVersion\u003c/code\u003e, enabling detailed specification of the access review parameters.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors provided for the class, \u003ccode\u003eAccessReview()\u003c/code\u003e, allowing the class to be instantiated in two ways, one as default, the other taking in a \u003ccode\u003eKubernetes.Types.AccessReview\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is \u003ccode\u003e1.1.0\u003c/code\u003e, and previous versions, such as \u003ccode\u003e1.0.0\u003c/code\u003e, can also be referenced, if needed.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class Kubernetes.Types.AccessReview (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.AccessReview)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.Kubernetes.Types.AccessReview)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.Kubernetes.Types.AccessReview) \n\n public sealed class Kubernetes.Types.AccessReview : IMessage\u003cKubernetes.Types.AccessReview\u003e, IEquatable\u003cKubernetes.Types.AccessReview\u003e, IDeepCloneable\u003cKubernetes.Types.AccessReview\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Command Center v2 API class Kubernetes.Types.AccessReview.\n\nConveys information about a Kubernetes access review (such as one returned\nby a [`kubectl auth\ncan-i`](https://kubernetes.io/docs/reference/access-authn-authz/authorization/#checking-api-access)\ncommand) that was involved in a finding. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Kubernetes.Types.AccessReview \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)[AccessReview](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Kubernetes.Types.AccessReview), [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)[AccessReview](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Kubernetes.Types.AccessReview), [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)[AccessReview](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Kubernetes.Types.AccessReview), [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### AccessReview()\n\n public AccessReview()\n\n### AccessReview(AccessReview)\n\n public AccessReview(Kubernetes.Types.AccessReview other)\n\nProperties\n----------\n\n### Group\n\n public string Group { get; set; }\n\nThe API group of the resource. \"\\*\" means all.\n\n### Name\n\n public string Name { get; set; }\n\nThe name of the resource being requested. Empty means all.\n\n### Ns\n\n public string Ns { get; set; }\n\nNamespace of the action being requested. Currently, there is no\ndistinction between no namespace and all namespaces. Both\nare represented by \"\" (empty).\n\n### Resource\n\n public string Resource { get; set; }\n\nThe optional resource type requested. \"\\*\" means all.\n\n### Subresource\n\n public string Subresource { get; set; }\n\nThe optional subresource type.\n\n### Verb\n\n public string Verb { get; set; }\n\nA Kubernetes resource API verb, like get, list, watch, create, update,\ndelete, proxy. \"\\*\" means all.\n\n### Version\n\n public string Version { get; set; }\n\nThe API version of the resource. \"\\*\" means all."]]