GoogleApi.Content.V21.Model.AccountCredentials (google_api_content v0.73.0)

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.