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

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

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

Functions

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

Unwrap a decoded JSON object into its complex fields.