[−][src]Struct google_iam1::Role
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.
description: Option<String>
Optional. A human-readable description for the role.
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.
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.
Trait Implementations
impl Resource for Role
[src]
impl ResponseResult for Role
[src]
impl RequestValue for Role
[src]
impl Default for Role
[src]
impl Clone for Role
[src]
fn clone(&self) -> Role
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Role
[src]
impl Serialize for Role
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Role
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Role
impl Unpin for Role
impl Sync for Role
impl UnwindSafe for Role
impl RefUnwindSafe for Role
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,