public interface RoleOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDeleted()
The current deleted state of the role.
|
String |
getDescription()
Optional.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Optional.
|
com.google.protobuf.ByteString |
getEtag()
Used to perform a consistent read-modify-write.
|
String |
getIncludedPermissions(int index)
The names of the permissions this role grants when bound in an IAM policy.
|
com.google.protobuf.ByteString |
getIncludedPermissionsBytes(int index)
The names of the permissions this role grants when bound in an IAM policy.
|
int |
getIncludedPermissionsCount()
The names of the permissions this role grants when bound in an IAM policy.
|
List<String> |
getIncludedPermissionsList()
The names of the permissions this role grants when bound in an IAM policy.
|
String |
getName()
The name of the role.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the role.
|
Role.RoleLaunchStage |
getStage()
The current launch stage of the role.
|
int |
getStageValue()
The current launch stage of the role.
|
String |
getTitle()
Optional.
|
com.google.protobuf.ByteString |
getTitleBytes()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString 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;com.google.protobuf.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;String getTitle()
Optional. A human-readable title for the role. Typically this is limited to 100 UTF-8 bytes.
string title = 2;com.google.protobuf.ByteString getTitleBytes()
Optional. A human-readable title for the role. Typically this is limited to 100 UTF-8 bytes.
string title = 2;String getDescription()
Optional. A human-readable description for the role.
string description = 3;com.google.protobuf.ByteString getDescriptionBytes()
Optional. A human-readable description for the role.
string description = 3;List<String> getIncludedPermissionsList()
The names of the permissions this role grants when bound in an IAM policy.
repeated string included_permissions = 7;int getIncludedPermissionsCount()
The names of the permissions this role grants when bound in an IAM policy.
repeated string included_permissions = 7;String getIncludedPermissions(int index)
The names of the permissions this role grants when bound in an IAM policy.
repeated string included_permissions = 7;index - The index of the element to return.com.google.protobuf.ByteString getIncludedPermissionsBytes(int index)
The names of the permissions this role grants when bound in an IAM policy.
repeated string included_permissions = 7;index - The index of the value to return.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;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;com.google.protobuf.ByteString getEtag()
Used to perform a consistent read-modify-write.
bytes etag = 9;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;Copyright © 2025 Google LLC. All rights reserved.