Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::Fulfillment::GenericWebService.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#is_cloud_function
def is_cloud_function() -> ::Boolean
-
(::Boolean) — 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.
#is_cloud_function=
def is_cloud_function=(value) -> ::Boolean
-
value (::Boolean) — 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.
-
(::Boolean) — 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
def password() -> ::String
- (::String) — Optional. The password for HTTP Basic authentication.
#password=
def password=(value) -> ::String
- value (::String) — Optional. The password for HTTP Basic authentication.
- (::String) — Optional. The password for HTTP Basic authentication.
#request_headers
def request_headers() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Optional. The HTTP request headers to send together with fulfillment requests.
#request_headers=
def request_headers=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. The HTTP request headers to send together with fulfillment requests.
- (::Google::Protobuf::Map{::String => ::String}) — Optional. The HTTP request headers to send together with fulfillment requests.
#uri
def uri() -> ::String
- (::String) — Required. The fulfillment URI for receiving POST requests. It must use https protocol.
#uri=
def uri=(value) -> ::String
- value (::String) — Required. The fulfillment URI for receiving POST requests. It must use https protocol.
- (::String) — Required. The fulfillment URI for receiving POST requests. It must use https protocol.
#username
def username() -> ::String
- (::String) — Optional. The user name for HTTP Basic authentication.
#username=
def username=(value) -> ::String
- value (::String) — Optional. The user name for HTTP Basic authentication.
- (::String) — Optional. The user name for HTTP Basic authentication.