Interface IamPolicySearchResult.Explanation.PermissionsOrBuilder

public static interface IamPolicySearchResult.Explanation.PermissionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPermissions(int index)

public abstract String getPermissions(int index)

A list of permissions. A sample permission string: compute.disk.get.

repeated string permissions = 1;

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)

A list of permissions. A sample permission string: compute.disk.get.

repeated string permissions = 1;

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

A list of permissions. A sample permission string: compute.disk.get.

repeated string permissions = 1;

Returns
TypeDescription
int

The count of permissions.

getPermissionsList()

public abstract List<String> getPermissionsList()

A list of permissions. A sample permission string: compute.disk.get.

repeated string permissions = 1;

Returns
TypeDescription
List<String>

A list containing the permissions.