GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2FulfillmentGenericWebService (google_api_dialogflow v0.50.0) View Source

Represents configuration for a generic web service. Dialogflow supports two mechanisms for authentications: - Basic authentication with username and password. - Authentication with additional authentication headers. More information could be found at: https://cloud.google.com/dialogflow/docs/fulfillment-configure.

Attributes

  • isCloudFunction (type: boolean(), default: nil) - Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false.
  • password (type: String.t, default: nil) - Optional. The password for HTTP Basic authentication.
  • requestHeaders (type: map(), default: nil) - Optional. The HTTP request headers to send together with fulfillment requests.
  • uri (type: String.t, default: nil) - Required. The fulfillment URI for receiving POST requests. It must use https protocol.
  • username (type: String.t, default: nil) - Optional. The user name for HTTP Basic authentication.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2FulfillmentGenericWebService{
    isCloudFunction: boolean(),
    password: String.t(),
    requestHeaders: map(),
    uri: String.t(),
    username: String.t()
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.