View Source GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaAccessToken (google_api_integrations v0.9.0)

The access token represents the authorization of a specific application to access specific parts of a user’s data.

Attributes

  • accessToken (type: String.t, default: nil) - The access token encapsulating the security identity of a process or thread.
  • accessTokenExpireTime (type: DateTime.t, default: nil) - Required. The approximate time until the access token retrieved is valid.
  • refreshToken (type: String.t, default: nil) - If the access token will expire, use the refresh token to obtain another access token.
  • refreshTokenExpireTime (type: DateTime.t, default: nil) - The approximate time until the refresh token retrieved is valid.
  • tokenType (type: String.t, default: nil) - Only support "bearer" token in v1 as bearer token is the predominant type used with OAuth 2.0.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaAccessToken{
    accessToken: String.t() | nil,
    accessTokenExpireTime: DateTime.t() | nil,
    refreshToken: String.t() | nil,
    refreshTokenExpireTime: DateTime.t() | nil,
    tokenType: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.