Interface PermissionOrBuilder (1.1.8)

public interface PermissionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApiDisabled()

public abstract boolean getApiDisabled()

The service API associated with the permission is not enabled.

bool api_disabled = 7;

Returns
TypeDescription
boolean

The apiDisabled.

getCustomRolesSupportLevel()

public abstract Permission.CustomRolesSupportLevel getCustomRolesSupportLevel()

The current custom role support level.

.google.iam.admin.v1.Permission.CustomRolesSupportLevel custom_roles_support_level = 6;

Returns
TypeDescription
Permission.CustomRolesSupportLevel

The customRolesSupportLevel.

getCustomRolesSupportLevelValue()

public abstract int getCustomRolesSupportLevelValue()

The current custom role support level.

.google.iam.admin.v1.Permission.CustomRolesSupportLevel custom_roles_support_level = 6;

Returns
TypeDescription
int

The enum numeric value on the wire for customRolesSupportLevel.

getDescription()

public abstract String getDescription()

A brief description of what this Permission is used for. This permission can ONLY be used in predefined roles.

string description = 3;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

A brief description of what this Permission is used for. This permission can ONLY be used in predefined roles.

string description = 3;

Returns
TypeDescription
ByteString

The bytes for description.

getName()

public abstract String getName()

The name of this Permission.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of this Permission.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getOnlyInPredefinedRoles() (deprecated)

public abstract boolean getOnlyInPredefinedRoles()

Deprecated.

bool only_in_predefined_roles = 4 [deprecated = true];

Returns
TypeDescription
boolean

The onlyInPredefinedRoles.

getPrimaryPermission()

public abstract String getPrimaryPermission()

The preferred name for this permission. If present, then this permission is an alias of, and equivalent to, the listed primary_permission.

string primary_permission = 8;

Returns
TypeDescription
String

The primaryPermission.

getPrimaryPermissionBytes()

public abstract ByteString getPrimaryPermissionBytes()

The preferred name for this permission. If present, then this permission is an alias of, and equivalent to, the listed primary_permission.

string primary_permission = 8;

Returns
TypeDescription
ByteString

The bytes for primaryPermission.

getStage()

public abstract Permission.PermissionLaunchStage getStage()

The current launch stage of the permission.

.google.iam.admin.v1.Permission.PermissionLaunchStage stage = 5;

Returns
TypeDescription
Permission.PermissionLaunchStage

The stage.

getStageValue()

public abstract int getStageValue()

The current launch stage of the permission.

.google.iam.admin.v1.Permission.PermissionLaunchStage stage = 5;

Returns
TypeDescription
int

The enum numeric value on the wire for stage.

getTitle()

public abstract String getTitle()

The title of this Permission.

string title = 2;

Returns
TypeDescription
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

The title of this Permission.

string title = 2;

Returns
TypeDescription
ByteString

The bytes for title.