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

Contains information needed for generating an OAuth token. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.

Attributes

  • scope (type: String.t, default: nil) - OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used.
  • serviceAccountEmail (type: String.t, default: nil) - Service account email to be used for generating OAuth 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.OAuthToken{
  scope: String.t() | nil,
  serviceAccountEmail: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.