GoogleCloudDialogflowV2FulfillmentGenericWebService class
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
-
GoogleCloudDialogflowV2FulfillmentGenericWebService({Input<
bool> ? isCloudFunction, Input<String> ? password, Input<Map< ? requestHeaders, required Input<String, String> >String> uri, Input<String> ? username}) -
Creates a new GoogleCloudDialogflowV2FulfillmentGenericWebService.
isCloudFunctionOptional. 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.passwordOptional. The password for HTTP Basic authentication.requestHeadersOptional. The HTTP request headers to send together with fulfillment requests.uriThe fulfillment URI for receiving POST requests. It must use https protocol.usernameOptional. The user name for HTTP Basic authentication.const -
GoogleCloudDialogflowV2FulfillmentGenericWebService.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
isCloudFunction
→ Input<
bool> ? -
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.
final
-
password
→ Input<
String> ? -
Optional. The password for HTTP Basic authentication.
final
-
requestHeaders
→ Input<
Map< ?String, String> > -
Optional. The HTTP request headers to send together with fulfillment requests.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
uri
→ Input<
String> -
The fulfillment URI for receiving POST requests. It must use https protocol.
final
-
username
→ Input<
String> ? -
Optional. The user name for HTTP Basic authentication.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited