Google Cloud Dialogflow v2 API - Class Fulfillment.Types.GenericWebService (4.16.0)

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.

Inheritance

object > Fulfillment.Types.GenericWebService

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

GenericWebService()

public GenericWebService()

GenericWebService(GenericWebService)

public GenericWebService(Fulfillment.Types.GenericWebService other)
Parameter
NameDescription
otherFulfillmentTypesGenericWebService

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
bool

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
MapFieldstringstring

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