Interface TestIamPermissionsResponseOrBuilder (1.44.0)

See more code actions.
public interface TestIamPermissionsResponseOrBuilder extends MessageOrBuilder
MessageOrBuilder
public abstract String getPermissions(int index)

A subset of TestPermissionsRequest.permissions that the caller is allowed.

repeated string permissions = 1;

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)

A subset of TestPermissionsRequest.permissions that the caller is allowed.

repeated string permissions = 1;

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()

A subset of TestPermissionsRequest.permissions that the caller is allowed.

repeated string permissions = 1;

Returns
Type Description
int

The count of permissions.

getPermissionsList()

public abstract List<String> getPermissionsList()

A subset of TestPermissionsRequest.permissions that the caller is allowed.

repeated string permissions = 1;

Returns
Type Description
List<String>

A list containing the permissions.