- 3.48.0 (latest)
- 3.47.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 2.0.0
- 1.2.5
- 1.1.8
- 0.2.0
public interface RoleOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDeleted()
public abstract boolean getDeleted()
The current deleted state of the role. This field is read only. It will be ignored in calls to CreateRole and UpdateRole.
bool deleted = 11;
Returns | |
---|---|
Type | Description |
boolean |
The deleted. |
getDescription()
public abstract String getDescription()
Optional. A human-readable description for the role.
string description = 3;
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()
Optional. A human-readable description for the role.
string description = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getEtag()
public abstract ByteString getEtag()
Used to perform a consistent read-modify-write.
bytes etag = 9;
Returns | |
---|---|
Type | Description |
ByteString |
The etag. |
getIncludedPermissions(int index)
public abstract String getIncludedPermissions(int index)
The names of the permissions this role grants when bound in an IAM policy.
repeated string included_permissions = 7;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The includedPermissions at the given index. |
getIncludedPermissionsBytes(int index)
public abstract ByteString getIncludedPermissionsBytes(int index)
The names of the permissions this role grants when bound in an IAM policy.
repeated string included_permissions = 7;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the includedPermissions at the given index. |
getIncludedPermissionsCount()
public abstract int getIncludedPermissionsCount()
The names of the permissions this role grants when bound in an IAM policy.
repeated string included_permissions = 7;
Returns | |
---|---|
Type | Description |
int |
The count of includedPermissions. |
getIncludedPermissionsList()
public abstract List<String> getIncludedPermissionsList()
The names of the permissions this role grants when bound in an IAM policy.
repeated string included_permissions = 7;
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the includedPermissions. |
getName()
public abstract String getName()
The name of the role.
When Role is used in CreateRole, the role name must not be set.
When Role is used in output and other input such as UpdateRole, the role name is the complete path, e.g., roles/logging.viewer for predefined roles and organizations/{ORGANIZATION_ID}/roles/logging.viewer for custom roles.
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()
The name of the role.
When Role is used in CreateRole, the role name must not be set.
When Role is used in output and other input such as UpdateRole, the role name is the complete path, e.g., roles/logging.viewer for predefined roles and organizations/{ORGANIZATION_ID}/roles/logging.viewer for custom roles.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getStage()
public abstract Role.RoleLaunchStage getStage()
The current launch stage of the role. If the ALPHA
launch stage has been
selected for a role, the stage
field will not be included in the
returned definition for the role.
.google.iam.admin.v1.Role.RoleLaunchStage stage = 8;
Returns | |
---|---|
Type | Description |
Role.RoleLaunchStage |
The stage. |
getStageValue()
public abstract int getStageValue()
The current launch stage of the role. If the ALPHA
launch stage has been
selected for a role, the stage
field will not be included in the
returned definition for the role.
.google.iam.admin.v1.Role.RoleLaunchStage stage = 8;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for stage. |
getTitle()
public abstract String getTitle()
Optional. A human-readable title for the role. Typically this is limited to 100 UTF-8 bytes.
string title = 2;
Returns | |
---|---|
Type | Description |
String |
The title. |
getTitleBytes()
public abstract ByteString getTitleBytes()
Optional. A human-readable title for the role. Typically this is limited to 100 UTF-8 bytes.
string title = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for title. |