Interface TestIamPermissionsRequestOrBuilder (1.3.4)

public interface TestIamPermissionsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for resource.