public sealed class GenericWebService : IMessage<Fulfillment.Types.GenericWebService>, IEquatable<Fulfillment.Types.GenericWebService>, IDeepCloneable<Fulfillment.Types.GenericWebService>, IBufferMessage, IMessage
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
IMessage<Fulfillment.Types.GenericWebService>, IEquatable<Fulfillment.Types.GenericWebService>, IDeepCloneable<Fulfillment.Types.GenericWebService>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
GenericWebService()
public GenericWebService()
GenericWebService(Fulfillment.Types.GenericWebService)
public GenericWebService(Fulfillment.Types.GenericWebService other)
Parameter | |
---|---|
Name | Description |
other | Fulfillment.Types.GenericWebService |
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 |
Boolean |
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 |
MapField<String, String> |
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 |