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

pub struct GetServiceAccountKeyRequest {
    pub name: String,
    pub public_key_type: i32,
}
[]

The service account key get by id request.

Fields

name: String
[]

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

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.

public_key_type: i32
[]

The output format of the public key requested. X509_PEM is the default output format.

Implementations

impl GetServiceAccountKeyRequest[src][]

pub fn public_key_type(&self) -> ServiceAccountPublicKeyType[src][]

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

pub fn set_public_key_type(&mut self, value: ServiceAccountPublicKeyType)[src][]

Sets public_key_type to the provided enum value.

Trait Implementations

impl Clone for GetServiceAccountKeyRequest[src][+]

impl Debug for GetServiceAccountKeyRequest[src][+]

impl Default for GetServiceAccountKeyRequest[src][+]

impl Message for GetServiceAccountKeyRequest[src][+]

impl PartialEq<GetServiceAccountKeyRequest> for GetServiceAccountKeyRequest[src][+]

impl StructuralPartialEq for GetServiceAccountKeyRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for GetServiceAccountKeyRequest

impl Send for GetServiceAccountKeyRequest

impl Sync for GetServiceAccountKeyRequest

impl Unpin for GetServiceAccountKeyRequest

impl UnwindSafe for GetServiceAccountKeyRequest

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][+]