Struct google_iam1::api::Role[][src]

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

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

deleted: Option<bool>

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

description: Option<String>

Optional. A human-readable description for the role.

etag: Option<String>

Used to perform a consistent read-modify-write.

included_permissions: Option<Vec<String>>

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

name: Option<String>

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.

stage: Option<String>

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.

title: Option<String>

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

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.