View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig (google_api_dialogflow v0.78.0)

Represents configuration of OAuth client credential flow for 3rd party API authentication.

Attributes

  • clientId (type: String.t, default: nil) - Required. The client ID provided by the 3rd party platform.
  • clientSecret (type: String.t, default: nil) - Required. The client secret provided by the 3rd party platform.
  • scopes (type: list(String.t), default: nil) - Optional. The OAuth scopes to grant.
  • tokenEndpoint (type: String.t, default: nil) - Required. The token endpoint provided by the 3rd party platform to exchange an access token.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig{
    clientId: String.t() | nil,
    clientSecret: String.t() | nil,
    scopes: [String.t()] | nil,
    tokenEndpoint: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.