Interface TestPermissionsRequestOrBuilder (1.47.0)

public interface TestPermissionsRequestOrBuilder 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.

repeated string permissions = 59962500;

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.

repeated string permissions = 59962500;

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.

repeated string permissions = 59962500;

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.

repeated string permissions = 59962500;

Returns
TypeDescription
List<String>

A list containing the permissions.