Interface TestIamPermissionsRequestOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getPermissions​(int index)
      The set of permissions to check for the `resource`.
      com.google.protobuf.ByteString getPermissionsBytes​(int index)
      The set of permissions to check for the `resource`.
      int getPermissionsCount()
      The set of permissions to check for the `resource`.
      List<String> getPermissionsList()
      The set of permissions to check for the `resource`.
      String getResource()
      REQUIRED: The resource for which the policy detail is being requested.
      com.google.protobuf.ByteString getResourceBytes()
      REQUIRED: The resource for which the policy detail is being requested.
      • 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

        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 [(.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 [(.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 [(.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 [(.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 [(.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 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the permissions at the given index.