Struct google_dialogflow2_beta1::api::GoogleCloudDialogflowV2beta1FulfillmentGenericWebService
source · pub struct GoogleCloudDialogflowV2beta1FulfillmentGenericWebService {
pub is_cloud_function: Option<bool>,
pub password: Option<String>,
pub request_headers: Option<HashMap<String, String>>,
pub uri: Option<String>,
pub username: Option<String>,
}
Expand description
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.
This type is not used in any activity, and only used as part of another schema.
Fields§
§is_cloud_function: Option<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.
password: Option<String>
The password for HTTP Basic authentication.
request_headers: Option<HashMap<String, String>>
The HTTP request headers to send together with fulfillment requests.
uri: Option<String>
Required. The fulfillment URI for receiving POST requests. It must use https protocol.
username: Option<String>
The user name for HTTP Basic authentication.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2beta1FulfillmentGenericWebService
impl Clone for GoogleCloudDialogflowV2beta1FulfillmentGenericWebService
source§fn clone(&self) -> GoogleCloudDialogflowV2beta1FulfillmentGenericWebService
fn clone(&self) -> GoogleCloudDialogflowV2beta1FulfillmentGenericWebService
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more