GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2FulfillmentGenericWebService (google_api_dialogflow v0.66.2) 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:


  • isCloudFunction (type: boolean(), default: nil) - Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false. is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now.
  • 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


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() ::
    isCloudFunction: boolean() | nil,
    password: String.t() | nil,
    requestHeaders: map() | nil,
    uri: String.t() | nil,
    username: String.t() | nil

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.