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

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. 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.