- 3.68.0 (latest)
- 3.67.0
- 3.65.0
- 3.63.0
- 3.62.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 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
final
class
Role
extends
GeneratedMessageV3
implements
RoleOrBuilder
A role in the Identity and Access Management API.
Protobuf type google.iam.admin.v1.Role
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > RoleImplements
RoleOrBuilderStatic Fields
DELETED_FIELD_NUMBER
public
static
final
int
DELETED_FIELD_NUMBER
DESCRIPTION_FIELD_NUMBER
public
static
final
int
DESCRIPTION_FIELD_NUMBER
ETAG_FIELD_NUMBER
public
static
final
int
ETAG_FIELD_NUMBER
INCLUDED_PERMISSIONS_FIELD_NUMBER
public
static
final
int
INCLUDED_PERMISSIONS_FIELD_NUMBER
NAME_FIELD_NUMBER
public
static
final
int
NAME_FIELD_NUMBER
STAGE_FIELD_NUMBER
public
static
final
int
STAGE_FIELD_NUMBER
TITLE_FIELD_NUMBER
public
static
final
int
TITLE_FIELD_NUMBER
Static Methods
getDefaultInstance()
public
static
Role
getDefaultInstance
()
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
newBuilder()
public
static
Role
.
Builder
newBuilder
()
newBuilder(Role prototype)
public
static
Role
.
Builder
newBuilder
(
Role
prototype
)
parseDelimitedFrom(InputStream input)
public
static
Role
parseDelimitedFrom
(
InputStream
input
)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Role
parseDelimitedFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(byte[] data)
public
static
Role
parseFrom
(
byte
[]
data
)
data
byte
[]
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public
static
Role
parseFrom
(
byte
[]
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteString data)
public
static
Role
parseFrom
(
ByteString
data
)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public
static
Role
parseFrom
(
ByteString
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(CodedInputStream input)
public
static
Role
parseFrom
(
CodedInputStream
input
)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Role
parseFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(InputStream input)
public
static
Role
parseFrom
(
InputStream
input
)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Role
parseFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteBuffer data)
public
static
Role
parseFrom
(
ByteBuffer
data
)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public
static
Role
parseFrom
(
ByteBuffer
data
,
ExtensionRegistryLite
extensionRegistry
)
parser()
public
static
Parser<Role>
parser
()
Methods
equals(Object obj)
public
boolean
equals
(
Object
obj
)
getDefaultInstanceForType()
public
Role
getDefaultInstanceForType
()
getDeleted()
public
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;
getDescription()
public
String
getDescription
()
Optional. A human-readable description for the role.
string description = 3;
getDescriptionBytes()
public
ByteString
getDescriptionBytes
()
Optional. A human-readable description for the role.
string description = 3;
getEtag()
public
ByteString
getEtag
()
Used to perform a consistent read-modify-write.
bytes etag = 9;
getIncludedPermissions(int index)
public
String
getIncludedPermissions
(
int
index
)
The names of the permissions this role grants when bound in an IAM policy.
repeated string included_permissions = 7;
getIncludedPermissionsBytes(int index)
public
ByteString
getIncludedPermissionsBytes
(
int
index
)
The names of the permissions this role grants when bound in an IAM policy.
repeated string included_permissions = 7;
getIncludedPermissionsCount()
public
int
getIncludedPermissionsCount
()
The names of the permissions this role grants when bound in an IAM policy.
repeated string included_permissions = 7;
getIncludedPermissionsList()
public
ProtocolStringList
getIncludedPermissionsList
()
The names of the permissions this role grants when bound in an IAM policy.
repeated string included_permissions = 7;
getName()
public
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;
getNameBytes()
public
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;
getParserForType()
public
Parser<Role>
getParserForType
()
getSerializedSize()
public
int
getSerializedSize
()
getStage()
public
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;
getStageValue()
public
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;
getTitle()
public
String
getTitle
()
Optional. A human-readable title for the role. Typically this is limited to 100 UTF-8 bytes.
string title = 2;
getTitleBytes()
public
ByteString
getTitleBytes
()
Optional. A human-readable title for the role. Typically this is limited to 100 UTF-8 bytes.
string title = 2;
hashCode()
public
int
hashCode
()
internalGetFieldAccessorTable()
protected
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
newBuilderForType()
public
Role
.
Builder
newBuilderForType
()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected
Role
.
Builder
newBuilderForType
(
GeneratedMessageV3
.
BuilderParent
parent
)
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected
Object
newInstance
(
GeneratedMessageV3
.
UnusedPrivateParameter
unused
)
toBuilder()
public
Role
.
Builder
toBuilder
()
writeTo(CodedOutputStream output)
public
void
writeTo
(
CodedOutputStream
output
)