GoogleApi.CloudScheduler.V1.Model.OAuthToken (google_api_cloud_scheduler v0.7.2) View Source

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 job. The caller must have iam.serviceAccounts.actAs permission for the service account.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.CloudScheduler.V1.Model.OAuthToken{
  scope: String.t() | nil,
  serviceAccountEmail: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.