GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig (google_api_dialogflow v0.89.0)

View Source

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) - Optional. The client secret provided by the 3rd party platform.
  • scopes (type: list(String.t), default: nil) - Optional. The OAuth scopes to grant.
  • secretVersionForClientSecret (type: String.t, default: nil) - Optional. The name of the SecretManager secret version resource storing the client secret. If this field is set, the client_secret field will be ignored. Format: projects/{project}/secrets/{secret}/versions/{version}
  • 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

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.