Interface AuthorizationInfoOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    AuthorizationInfo, AuthorizationInfo.Builder

    public interface AuthorizationInfoOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getGranted()
      Whether or not authorization for `resource` and `permission` was granted.
      java.lang.String getPermission()
      The required IAM permission.
      com.google.protobuf.ByteString getPermissionBytes()
      The required IAM permission.
      java.lang.String getResource()
      The resource being accessed, as a REST-style or cloud resource string.
      AttributeContext.Resource getResourceAttributes()
      Resource attributes used in IAM condition evaluation.
      AttributeContext.ResourceOrBuilder getResourceAttributesOrBuilder()
      Resource attributes used in IAM condition evaluation.
      com.google.protobuf.ByteString getResourceBytes()
      The resource being accessed, as a REST-style or cloud resource string.
      boolean hasResourceAttributes()
      Resource attributes used in IAM condition evaluation.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getResource

        java.lang.String getResource()
         The resource being accessed, as a REST-style or cloud resource string.
         For example:
        
             bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID
         or
             projects/PROJECTID/datasets/DATASETID
         
        string resource = 1;
        Returns:
        The resource.
      • getResourceBytes

        com.google.protobuf.ByteString getResourceBytes()
         The resource being accessed, as a REST-style or cloud resource string.
         For example:
        
             bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID
         or
             projects/PROJECTID/datasets/DATASETID
         
        string resource = 1;
        Returns:
        The bytes for resource.
      • getPermission

        java.lang.String getPermission()
         The required IAM permission.
         
        string permission = 2;
        Returns:
        The permission.
      • getPermissionBytes

        com.google.protobuf.ByteString getPermissionBytes()
         The required IAM permission.
         
        string permission = 2;
        Returns:
        The bytes for permission.
      • getGranted

        boolean getGranted()
         Whether or not authorization for `resource` and `permission`
         was granted.
         
        bool granted = 3;
        Returns:
        The granted.
      • hasResourceAttributes

        boolean hasResourceAttributes()
         Resource attributes used in IAM condition evaluation. This field contains
         resource attributes like resource type and resource name.
        
         To get the whole view of the attributes used in IAM
         condition evaluation, the user must also look into
         `AuditLog.request_metadata.request_attributes`.
         
        .google.rpc.context.AttributeContext.Resource resource_attributes = 5;
        Returns:
        Whether the resourceAttributes field is set.
      • getResourceAttributes

        AttributeContext.Resource getResourceAttributes()
         Resource attributes used in IAM condition evaluation. This field contains
         resource attributes like resource type and resource name.
        
         To get the whole view of the attributes used in IAM
         condition evaluation, the user must also look into
         `AuditLog.request_metadata.request_attributes`.
         
        .google.rpc.context.AttributeContext.Resource resource_attributes = 5;
        Returns:
        The resourceAttributes.
      • getResourceAttributesOrBuilder

        AttributeContext.ResourceOrBuilder getResourceAttributesOrBuilder()
         Resource attributes used in IAM condition evaluation. This field contains
         resource attributes like resource type and resource name.
        
         To get the whole view of the attributes used in IAM
         condition evaluation, the user must also look into
         `AuditLog.request_metadata.request_attributes`.
         
        .google.rpc.context.AttributeContext.Resource resource_attributes = 5;