GoogleApi.Content.V21.Model.AccountCredentials (google_api_content v0.58.1) View Source

Credentials allowing Google to call a partner's API on behalf of a merchant.

Attributes

  • accessToken (type: String.t, default: nil) - An OAuth access token.
  • expiresIn (type: String.t, default: nil) - The amount of time, in seconds, after which the access token is no longer valid.
  • purpose (type: String.t, default: nil) - Indicates to Google how Google should use these OAuth tokens.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Content.V21.Model.AccountCredentials{
  accessToken: String.t() | nil,
  expiresIn: String.t() | nil,
  purpose: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.