Struct gapi_grpc::google::iam::admin::v1::CreateRoleRequest[][src]

pub struct CreateRoleRequest {
    pub parent: String,
    pub role_id: String,
    pub role: Option<Role>,
}

The request to create a new role.

Fields

parent: String

The parent parameter’s value depends on the target resource for the request, namely projects or organizations. Each resource type’s parent value format is described below:

Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.

role_id: String

The role ID to use for this role.

A role ID may contain alphanumeric characters, underscores (_), and periods (.). It must contain a minimum of 3 characters and a maximum of 64 characters.

role: Option<Role>

The Role resource to create.

Trait Implementations

impl Clone for CreateRoleRequest[src]

impl Debug for CreateRoleRequest[src]

impl Default for CreateRoleRequest[src]

impl Message for CreateRoleRequest[src]

impl PartialEq<CreateRoleRequest> for CreateRoleRequest[src]

impl StructuralPartialEq for CreateRoleRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CreateRoleRequest

impl Send for CreateRoleRequest

impl Sync for CreateRoleRequest

impl Unpin for CreateRoleRequest

impl UnwindSafe for CreateRoleRequest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]