google_api_dialogflow v0.38.0 GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2FulfillmentGenericWebService View Source

Represents configuration for a generic web service. Dialogflow supports two mechanisms for authentications:

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

Link to this type

t()

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

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.