Struct gapi_grpc::google::iam::v1beta::WorkloadIdentityPool[][src]

pub struct WorkloadIdentityPool {
    pub name: String,
    pub display_name: String,
    pub description: String,
    pub state: i32,
    pub disabled: bool,
}

Represents a collection of external workload identities. You can define IAM policies to grant these identities access to Google Cloud resources.

Fields

name: String

Output only. The resource name of the pool.

display_name: String

A display name for the pool. Cannot exceed 32 characters.

description: String

A description of the pool. Cannot exceed 256 characters.

state: i32

Output only. The state of the pool.

disabled: bool

Whether the pool is disabled. You cannot use a disabled pool to exchange tokens, or use existing tokens to access resources. If the pool is re-enabled, existing tokens grant access again.

Implementations

impl WorkloadIdentityPool[src]

pub fn state(&self) -> State[src]

Returns the enum value of state, or the default if the field is set to an invalid enum value.

pub fn set_state(&mut self, value: State)[src]

Sets state to the provided enum value.

Trait Implementations

impl Clone for WorkloadIdentityPool[src]

impl Debug for WorkloadIdentityPool[src]

impl Default for WorkloadIdentityPool[src]

impl Message for WorkloadIdentityPool[src]

impl PartialEq<WorkloadIdentityPool> for WorkloadIdentityPool[src]

impl StructuralPartialEq for WorkloadIdentityPool[src]

Auto Trait Implementations

impl RefUnwindSafe for WorkloadIdentityPool

impl Send for WorkloadIdentityPool

impl Sync for WorkloadIdentityPool

impl Unpin for WorkloadIdentityPool

impl UnwindSafe for WorkloadIdentityPool

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]