[][src]Struct gcp_client::google::iam::v1::SetIamPolicyRequest

pub struct SetIamPolicyRequest {
    pub resource: String,
    pub policy: Option<Policy>,
}

Request message for SetIamPolicy method.

Fields

resource: String

REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.

policy: Option<Policy>

REQUIRED: The complete policy to be applied to the resource. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them.

Trait Implementations

impl Clone for SetIamPolicyRequest[src]

impl Debug for SetIamPolicyRequest[src]

impl Default for SetIamPolicyRequest[src]

impl Message for SetIamPolicyRequest[src]

impl PartialEq<SetIamPolicyRequest> for SetIamPolicyRequest[src]

impl StructuralPartialEq for SetIamPolicyRequest[src]

Auto Trait Implementations

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, 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>, 

impl<T> WithSubscriber for T[src]