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

pub struct ListServiceAccountKeysRequest {
    pub name: String,
    pub key_types: Vec<i32>,
}

The service account keys list request.

Fields

name: String

Required. The resource name of the service account in the following format: projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}.

Using - as a wildcard for the PROJECT_ID, will infer the project from the account. The ACCOUNT value can be the email address or the unique_id of the service account.

key_types: Vec<i32>

Filters the types of keys the user wants to include in the list response. Duplicate key types are not allowed. If no key type is provided, all keys are returned.

Implementations

impl ListServiceAccountKeysRequest[src]

pub fn key_types(
    &self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<KeyType>>
[src]

Returns an iterator which yields the valid enum values contained in key_types.

pub fn push_key_types(&mut self, value: KeyType)[src]

Appends the provided enum value to key_types.

Trait Implementations

impl Clone for ListServiceAccountKeysRequest[src]

impl Debug for ListServiceAccountKeysRequest[src]

impl Default for ListServiceAccountKeysRequest[src]

impl Message for ListServiceAccountKeysRequest[src]

impl PartialEq<ListServiceAccountKeysRequest> for ListServiceAccountKeysRequest[src]

impl StructuralPartialEq for ListServiceAccountKeysRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for ListServiceAccountKeysRequest

impl Send for ListServiceAccountKeysRequest

impl Sync for ListServiceAccountKeysRequest

impl Unpin for ListServiceAccountKeysRequest

impl UnwindSafe for ListServiceAccountKeysRequest

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]