Struct google_iam1::Role[][src]

pub struct Role {
    pub etag: Option<String>,
    pub name: Option<String>,
    pub title: Option<String>,
    pub deleted: Option<bool>,
    pub included_permissions: Option<Vec<String>>,
    pub stage: Option<String>,
    pub description: Option<String>,
}

A role in the Identity and Access Management API.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

Used to perform a consistent read-modify-write.

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 curated roles and organizations/{ORGANIZATION_ID}/roles/logging.viewer for custom roles.

Optional. A human-readable title for the role. Typically this is limited to 100 UTF-8 bytes.

The current deleted state of the role. This field is read only. It will be ignored in calls to CreateRole and UpdateRole.

The names of the permissions this role grants when bound in an IAM policy.

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.

Optional. A human-readable description for the role.

Trait Implementations

impl Default for Role
[src]

Returns the "default value" for a type. Read more

impl Clone for Role
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Role
[src]

Formats the value using the given formatter. Read more

impl RequestValue for Role
[src]

impl Resource for Role
[src]

impl ResponseResult for Role
[src]

Auto Trait Implementations

impl Send for Role

impl Sync for Role