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

pub struct SignJwtRequest {
    pub name: String,
    pub payload: String,
}

Deprecated. Migrate to Service Account Credentials API.

The service account sign JWT request.

Fields

name: String

Required. Deprecated. Migrate to Service Account Credentials API.

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.

payload: String

Required. Deprecated. Migrate to Service Account Credentials API.

The JWT payload to sign. Must be a serialized JSON object that contains a JWT Claims Set. For example: {"sub": "user@example.com", "iat": 313435}

If the JWT Claims Set contains an expiration time (exp) claim, it must be an integer timestamp that is not in the past and no more than 1 hour in the future.

If the JWT Claims Set does not contain an expiration time (exp) claim, this claim is added automatically, with a timestamp that is 1 hour in the future.

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]