Struct google_iam1::Role [] [src]

pub struct Role {
    pub title: Option<String>,
    pub description: Option<String>,
    pub name: 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

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

Optional. A human-readable description for the role.

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.

Trait Implementations

impl Debug for Role
[src]

Formats the value using the given formatter.

impl Clone for Role
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Role
[src]

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

impl Resource for Role
[src]