Class Kubernetes.AccessReview (2.48.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.48.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   static   final   class  Kubernetes . AccessReview   extends   GeneratedMessageV3   implements   Kubernetes . AccessReviewOrBuilder  
   Conveys information about a Kubernetes access review (such as one returned
 by a kubectl auth
 can-i
 Protobuf type google.cloud.securitycenter.v2.Kubernetes.AccessReview
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  GROUP_FIELD_NUMBER 
  
    
public   static   final   int   GROUP_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  NAME_FIELD_NUMBER 
  
    
public   static   final   int   NAME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  NS_FIELD_NUMBER 
  
    
public   static   final   int   NS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  RESOURCE_FIELD_NUMBER 
  
    
public   static   final   int   RESOURCE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  SUBRESOURCE_FIELD_NUMBER 
  
    
public   static   final   int   SUBRESOURCE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  VERB_FIELD_NUMBER 
  
    
public   static   final   int   VERB_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  VERSION_FIELD_NUMBER 
  
    
public   static   final   int   VERSION_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   Kubernetes . AccessReview   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   Kubernetes . AccessReview . Builder   newBuilder ()  
  
  newBuilder(Kubernetes.AccessReview prototype) 
  
    
public   static   Kubernetes . AccessReview . Builder   newBuilder ( Kubernetes . AccessReview   prototype )  
  
  
  
    
public   static   Kubernetes . AccessReview   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   Kubernetes . AccessReview   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   Kubernetes . AccessReview   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   Kubernetes . AccessReview   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   Kubernetes . AccessReview   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   Kubernetes . AccessReview   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Kubernetes . AccessReview   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   Kubernetes . AccessReview   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Kubernetes . AccessReview   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   Kubernetes . AccessReview   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   Kubernetes . AccessReview   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   Kubernetes . AccessReview   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<Kubernetes . AccessReview >  parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   Kubernetes . AccessReview   getDefaultInstanceForType ()  
  
  getGroup() 
  
   The API group of the resource. "*" means all.
 string group = 1;
    
      
        Returns  
      
        Type Description  
      
        String The group.
 
     
  
  getGroupBytes() 
  
    
public   ByteString   getGroupBytes ()  
   The API group of the resource. "*" means all.
 string group = 1;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for group.
 
     
  
  getName() 
  
   The name of the resource being requested. Empty means all.
 string name = 3;
    
      
        Returns  
      
        Type Description  
      
        String The name.
 
     
  
  getNameBytes() 
  
    
public   ByteString   getNameBytes ()  
   The name of the resource being requested. Empty means all.
 string name = 3;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for name.
 
     
  
  getNs() 
  
   Namespace of the action being requested. Currently, there is no
 distinction between no namespace and all namespaces.  Both
 are represented by "" (empty).
 string ns = 2;
    
      
        Returns  
      
        Type Description  
      
        String The ns.
 
     
  
  getNsBytes() 
  
    
public   ByteString   getNsBytes ()  
   Namespace of the action being requested. Currently, there is no
 distinction between no namespace and all namespaces.  Both
 are represented by "" (empty).
 string ns = 2;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for ns.
 
     
  
  getParserForType() 
  
    
public   Parser<Kubernetes . AccessReview >  getParserForType ()  
  
  Overrides 
  
  getResource() 
  
    
public   String   getResource ()  
   The optional resource type requested. "*" means all.
 string resource = 4;
    
      
        Returns  
      
        Type Description  
      
        String The resource.
 
     
  
  getResourceBytes() 
  
    
public   ByteString   getResourceBytes ()  
   The optional resource type requested. "*" means all.
 string resource = 4;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for resource.
 
     
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getSubresource() 
  
    
public   String   getSubresource ()  
   The optional subresource type.
 string subresource = 5;
    
      
        Returns  
      
        Type Description  
      
        String The subresource.
 
     
  
  getSubresourceBytes() 
  
    
public   ByteString   getSubresourceBytes ()  
   The optional subresource type.
 string subresource = 5;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for subresource.
 
     
  
  getVerb() 
  
   A Kubernetes resource API verb, like get, list, watch, create, update,
 delete, proxy. "*" means all.
 string verb = 6;
    
      
        Returns  
      
        Type Description  
      
        String The verb.
 
     
  
  getVerbBytes() 
  
    
public   ByteString   getVerbBytes ()  
   A Kubernetes resource API verb, like get, list, watch, create, update,
 delete, proxy. "*" means all.
 string verb = 6;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for verb.
 
     
  
  getVersion() 
  
    
public   String   getVersion ()  
   The API version of the resource. "*" means all.
 string version = 7;
    
      
        Returns  
      
        Type Description  
      
        String The version.
 
     
  
  getVersionBytes() 
  
    
public   ByteString   getVersionBytes ()  
   The API version of the resource. "*" means all.
 string version = 7;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for version.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   Kubernetes . AccessReview . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   Kubernetes . AccessReview . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   Kubernetes . AccessReview . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-11 UTC.
 
 
  
  
  
    
      [[["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-10-11 UTC."],[],[]]