Interface TestIamPermissionsRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
TestIamPermissionsRequest, TestIamPermissionsRequest.Builder

public interface TestIamPermissionsRequestOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getPermissions(int index)
    The set of permissions to check for the `resource`.
    com.google.protobuf.ByteString
    The set of permissions to check for the `resource`.
    int
    The set of permissions to check for the `resource`.
    The set of permissions to check for the `resource`.
    REQUIRED: The resource for which the policy detail is being requested.
    com.google.protobuf.ByteString
    REQUIRED: The resource for which the policy detail is being requested.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getResource

      String getResource()
       REQUIRED: The resource for which the policy detail is being requested.
       See the operation documentation for the appropriate value for this field.
       
      string resource = 1 [json_name = "resource", (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The resource.
    • getResourceBytes

      com.google.protobuf.ByteString getResourceBytes()
       REQUIRED: The resource for which the policy detail is being requested.
       See the operation documentation for the appropriate value for this field.
       
      string resource = 1 [json_name = "resource", (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for resource.
    • getPermissionsList

      List<String> getPermissionsList()
       The set of permissions to check for the `resource`. Permissions with
       wildcards (such as '*' or 'storage.*') are not allowed. For more
       information see
       [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
       
      repeated string permissions = 2 [json_name = "permissions", (.google.api.field_behavior) = REQUIRED];
      Returns:
      A list containing the permissions.
    • getPermissionsCount

      int getPermissionsCount()
       The set of permissions to check for the `resource`. Permissions with
       wildcards (such as '*' or 'storage.*') are not allowed. For more
       information see
       [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
       
      repeated string permissions = 2 [json_name = "permissions", (.google.api.field_behavior) = REQUIRED];
      Returns:
      The count of permissions.
    • getPermissions

      String getPermissions(int index)
       The set of permissions to check for the `resource`. Permissions with
       wildcards (such as '*' or 'storage.*') are not allowed. For more
       information see
       [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
       
      repeated string permissions = 2 [json_name = "permissions", (.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index of the element to return.
      Returns:
      The permissions at the given index.
    • getPermissionsBytes

      com.google.protobuf.ByteString getPermissionsBytes(int index)
       The set of permissions to check for the `resource`. Permissions with
       wildcards (such as '*' or 'storage.*') are not allowed. For more
       information see
       [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
       
      repeated string permissions = 2 [json_name = "permissions", (.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index of the element to return.
      Returns:
      The permissions at the given index.