Struct gapi_grpc::google::iam::credentials::v1::SignJwtRequest[][src]

pub struct SignJwtRequest {
    pub name: String,
    pub delegates: Vec<String>,
    pub payload: String,
}

Fields

name: String

Required. The resource name of the service account for which the credentials are requested, in the following format: projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}. The - wildcard character is required; replacing it with a project ID is invalid.

delegates: Vec<String>

The sequence of service accounts in a delegation chain. Each service account must be granted the roles/iam.serviceAccountTokenCreator role on its next service account in the chain. The last service account in the chain must be granted the roles/iam.serviceAccountTokenCreator role on the service account that is specified in the name field of the request.

The delegates must have the following format: projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}. The - wildcard character is required; replacing it with a project ID is invalid.

payload: String

Required. The JWT payload to sign: a JSON object that contains a JWT Claims Set.

Trait Implementations

impl Clone for SignJwtRequest[src]

impl Debug for SignJwtRequest[src]

impl Default for SignJwtRequest[src]

impl Message for SignJwtRequest[src]

impl PartialEq<SignJwtRequest> for SignJwtRequest[src]

impl StructuralPartialEq for SignJwtRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for SignJwtRequest

impl Send for SignJwtRequest

impl Sync for SignJwtRequest

impl Unpin for SignJwtRequest

impl UnwindSafe for SignJwtRequest

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]