public sealed class Role : IMessage<Role>, IEquatable<Role>, IDeepCloneable<Role>, IBufferMessage, IMessage
A role in the Identity and Access Management API.
Namespace
Google.Cloud.Iam.Admin.V1Assembly
Google.Cloud.Iam.Admin.V1.dll
Constructors
Role()
public Role()
Role(Role)
public Role(Role other)
Parameter | |
---|---|
Name | Description |
other | Role |
Properties
Deleted
public bool Deleted { get; set; }
The current deleted state of the role. This field is read only. It will be ignored in calls to CreateRole and UpdateRole.
Property Value | |
---|---|
Type | Description |
Boolean |
Description
public string Description { get; set; }
Optional. A human-readable description for the role.
Property Value | |
---|---|
Type | Description |
String |
Etag
public ByteString Etag { get; set; }
Used to perform a consistent read-modify-write.
Property Value | |
---|---|
Type | Description |
ByteString |
IncludedPermissions
public RepeatedField<string> IncludedPermissions { get; }
The names of the permissions this role grants when bound in an IAM policy.
Property Value | |
---|---|
Type | Description |
RepeatedField<String> |
Name
public string Name { get; set; }
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.
Property Value | |
---|---|
Type | Description |
String |
Stage
public Role.Types.RoleLaunchStage Stage { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Role.Types.RoleLaunchStage |
Title
public string Title { get; set; }
Optional. A human-readable title for the role. Typically this is limited to 100 UTF-8 bytes.
Property Value | |
---|---|
Type | Description |
String |