Class Fulfillment.Types.GenericWebService (3.10.0)

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:

Inheritance

Object > Fulfillment.Types.GenericWebService

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

GenericWebService()

public GenericWebService()

GenericWebService(Fulfillment.Types.GenericWebService)

public GenericWebService(Fulfillment.Types.GenericWebService other)
Parameter
NameDescription
otherFulfillment.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
TypeDescription
Boolean

Password

public string Password { get; set; }

Optional. The password for HTTP Basic authentication.

Property Value
TypeDescription
String

RequestHeaders

public MapField<string, string> RequestHeaders { get; }

Optional. The HTTP request headers to send together with fulfillment requests.

Property Value
TypeDescription
MapField<String, String>

Uri

public string Uri { get; set; }

Required. The fulfillment URI for receiving POST requests. It must use https protocol.

Property Value
TypeDescription
String

Username

public string Username { get; set; }

Optional. The user name for HTTP Basic authentication.

Property Value
TypeDescription
String