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).
- roles get organizations (response)
- roles patch projects (request|response)
- list roles (none)
- roles delete organizations (response)
- roles get projects (response)
- get roles (response)
- roles delete projects (response)
- roles create projects (response)
- roles undelete organizations (response)
- roles patch organizations (request|response)
- query grantable roles roles (none)
- roles create organizations (response)
- roles undelete projects (response)
Fields
etag: Option<String>
Used to perform a consistent read-modify-write.
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 curated roles and organizations/{ORGANIZATION_ID}/roles/logging.viewer for custom roles.
title: Option<String>
Optional. A human-readable title for the role. Typically this is limited to 100 UTF-8 bytes.
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.
included_permissions: Option<Vec<String>>
The names of the permissions this role grants when bound in an IAM policy.
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.
description: Option<String>
Optional. A human-readable description for the role.
Trait Implementations
impl Default for Role
[src]
impl Default for Role
impl Clone for Role
[src]
impl Clone for Role
fn clone(&self) -> Role
[src]
fn clone(&self) -> Role
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Role
[src]
impl Debug for Role
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for Role
[src]
impl RequestValue for Role
impl Resource for Role
[src]
impl Resource for Role
impl ResponseResult for Role
[src]
impl ResponseResult for Role