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_email: Option<bool>
Include the service account email in the token. If set to true
, the
token will contain email
and email_verified
claims.
audience: Option<String>
The audience for the token, such as the API or account that this token grants access to.
delegates: Option<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}
Trait Implementations
impl Default for GenerateIdTokenRequest
[src]
impl Default for GenerateIdTokenRequest
fn default() -> GenerateIdTokenRequest
[src]
fn default() -> GenerateIdTokenRequest
Returns the "default value" for a type. Read more
impl Clone for GenerateIdTokenRequest
[src]
impl Clone for GenerateIdTokenRequest
fn clone(&self) -> GenerateIdTokenRequest
[src]
fn clone(&self) -> GenerateIdTokenRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for GenerateIdTokenRequest
[src]
impl Debug for GenerateIdTokenRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for GenerateIdTokenRequest
[src]
impl RequestValue for GenerateIdTokenRequest
Auto Trait Implementations
impl Send for GenerateIdTokenRequest
impl Send for GenerateIdTokenRequest
impl Sync for GenerateIdTokenRequest
impl Sync for GenerateIdTokenRequest