public sealed class Fulfillment.Types.GenericWebService : IMessage<Fulfillment.Types.GenericWebService>, IEquatable<Fulfillment.Types.GenericWebService>, IDeepCloneable<Fulfillment.Types.GenericWebService>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class Fulfillment.Types.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.
Implements
IMessageFulfillmentTypesGenericWebService, IEquatableFulfillmentTypesGenericWebService, IDeepCloneableFulfillmentTypesGenericWebService, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
GenericWebService()
public GenericWebService()
GenericWebService(GenericWebService)
public GenericWebService(Fulfillment.Types.GenericWebService other)
Parameter | |
---|---|
Name | Description |
other | FulfillmentTypesGenericWebService |
Properties
IsCloudFunction
[Obsolete]
public bool IsCloudFunction { get; set; }
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.
Property Value | |
---|---|
Type | Description |
bool |
Password
public string Password { get; set; }
Optional. The password for HTTP Basic authentication.
Property Value | |
---|---|
Type | Description |
string |
RequestHeaders
public MapField<string, string> RequestHeaders { get; }
Optional. The HTTP request headers to send together with fulfillment requests.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
Uri
public string Uri { get; set; }
Required. The fulfillment URI for receiving POST requests. It must use https protocol.
Property Value | |
---|---|
Type | Description |
string |
Username
public string Username { get; set; }
Optional. The user name for HTTP Basic authentication.
Property Value | |
---|---|
Type | Description |
string |