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

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.

Attributes

  • 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.