public interface TestIamPermissionsRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getPermissions(int index)
public abstract 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.
repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The permissions at the given index. |
getPermissionsBytes(int index)
public abstract 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.
repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the permissions at the given index. |
getPermissionsCount()
public abstract 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.
repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The count of permissions. |
getPermissionsList()
public abstract 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.
repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
List<String> | A list containing the permissions. |
getResource()
public abstract 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) = { ... }
Type | Description |
String | The resource. |
getResourceBytes()
public abstract 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) = { ... }
Type | Description |
ByteString | The bytes for resource. |