GoogleApi.CloudTasks.V2.Model.OidcToken (google_api_cloud_tasks v0.18.4) View Source

Contains information needed for generating an OpenID Connect token. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.


  • audience (type: String.t, default: nil) - Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used.
  • serviceAccountEmail (type: String.t, default: nil) - Service account email to be used for generating OIDC token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.CloudTasks.V2.Model.OidcToken{
  audience: String.t() | nil,
  serviceAccountEmail: String.t() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.