GoogleCloudDialogflowV2FulfillmentGenericWebServiceResponse

data class GoogleCloudDialogflowV2FulfillmentGenericWebServiceResponse(val isCloudFunction: Boolean, val password: String, val requestHeaders: Map<String, String>, val uri: String, val username: String)

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.

Constructors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard

Optional. The password for HTTP Basic authentication.

Link copied to clipboard

Optional. The HTTP request headers to send together with fulfillment requests.

Link copied to clipboard
val uri: String

The fulfillment URI for receiving POST requests. It must use https protocol.

Link copied to clipboard

Optional. The user name for HTTP Basic authentication.