Class Role
A role in the Identity and Access Management API.
Implements
Inherited Members
Namespace: Google.Apis.Iam.v1.Data
Assembly: Google.Apis.Iam.v1.dll
Syntax
public class Role : IDirectResponseSchema
Properties
Deleted
The current deleted state of the role. This field is read only. It will be ignored in calls to CreateRole and UpdateRole.
Declaration
[JsonProperty("deleted")]
public virtual bool? Deleted { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Description
Optional. A human-readable description for the role.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
Used to perform a consistent read-modify-write.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
IncludedPermissions
The names of the permissions this role grants when bound in an IAM policy.
Declaration
[JsonProperty("includedPermissions")]
public virtual IList<string> IncludedPermissions { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Name
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. For example,
roles/logging.viewer
for predefined roles, organizations/{ORGANIZATION_ID}/roles/myRole
for
organization-level custom roles, and projects/{PROJECT_ID}/roles/myRole
for project-level custom roles.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Stage
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.
Declaration
[JsonProperty("stage")]
public virtual string Stage { get; set; }
Property Value
Type | Description |
---|---|
string |
Title
Optional. A human-readable title for the role. Typically this is limited to 100 UTF-8 bytes.
Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
Type | Description |
---|---|
string |