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];
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for resource. |