Interface RoleInfoOrBuilder (0.3.0)

public interface RoleInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPermissions(int index)

public abstract String getPermissions(int index)

Output only. The list of permissions that this role is recommended for. This includes only the permissions of this role that are part of the recommendation.

repeated string permissions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

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)

Output only. The list of permissions that this role is recommended for. This includes only the permissions of this role that are part of the recommendation.

repeated string permissions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

Output only. The list of permissions that this role is recommended for. This includes only the permissions of this role that are part of the recommendation.

repeated string permissions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of permissions.

getPermissionsList()

public abstract List<String> getPermissionsList()

Output only. The list of permissions that this role is recommended for. This includes only the permissions of this role that are part of the recommendation.

repeated string permissions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<String>

A list containing the permissions.

getRole()

public abstract String getRole()

Required. IAM role name, such as roles/editor.

string role = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The role.

getRoleBytes()

public abstract ByteString getRoleBytes()

Required. IAM role name, such as roles/editor.

string role = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for role.

getSystemProvided()

public abstract boolean getSystemProvided()

Output only. When true, indicates that this role is automatically added by Application Design Center. When you provide a role, this field is set to false.

bool system_provided = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The systemProvided.