Struct google_iamcredentials1::GenerateIdTokenRequest[][src]

pub struct GenerateIdTokenRequest {
    pub include_email: Option<bool>,
    pub audience: Option<String>,
    pub delegates: Option<Vec<String>>,
}

There is no detailed description.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

Include the service account email in the token. If set to true, the token will contain email and email_verified claims.

The audience for the token, such as the API or account that this token grants access to.

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}

Trait Implementations

impl Default for GenerateIdTokenRequest
[src]

Returns the "default value" for a type. Read more

impl Clone for GenerateIdTokenRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GenerateIdTokenRequest
[src]

Formats the value using the given formatter. Read more

impl RequestValue for GenerateIdTokenRequest
[src]

Auto Trait Implementations