Class GoogleCloudDialogflowV2QueryParameters
Represents the parameters of the conversational query.
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v2.Data
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class GoogleCloudDialogflowV2QueryParameters : IDirectResponseSchema
Properties
Contexts
The collection of contexts to be activated before this query is executed.
Declaration
[JsonProperty("contexts")]
public virtual IList<GoogleCloudDialogflowV2Context> Contexts { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudDialogflowV2Context> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
GeoLocation
The geo location of this conversational query.
Declaration
[JsonProperty("geoLocation")]
public virtual GoogleTypeLatLng GeoLocation { get; set; }
Property Value
Type | Description |
---|---|
GoogleTypeLatLng |
Payload
This field can be used to pass custom data to your webhook. Arbitrary JSON objects are supported. If
supplied, the value is used to populate the WebhookRequest.original_detect_intent_request.payload
field
sent to your webhook.
Declaration
[JsonProperty("payload")]
public virtual IDictionary<string, object> Payload { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
Platform
The platform of the virtual agent response messages. If not empty, only emits messages from this platform in the response. Valid values are the enum names of platform.
Declaration
[JsonProperty("platform")]
public virtual string Platform { get; set; }
Property Value
Type | Description |
---|---|
string |
ResetContexts
Specifies whether to delete all contexts in the current session before the new ones are activated.
Declaration
[JsonProperty("resetContexts")]
public virtual bool? ResetContexts { get; set; }
Property Value
Type | Description |
---|---|
bool? |
SentimentAnalysisRequestConfig
Configures the type of sentiment analysis to perform. If not provided, sentiment analysis is not performed.
Declaration
[JsonProperty("sentimentAnalysisRequestConfig")]
public virtual GoogleCloudDialogflowV2SentimentAnalysisRequestConfig SentimentAnalysisRequestConfig { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowV2SentimentAnalysisRequestConfig |
SessionEntityTypes
Additional session entity types to replace or extend developer entity types with. The entity synonyms apply to all languages and persist for the session of this query.
Declaration
[JsonProperty("sessionEntityTypes")]
public virtual IList<GoogleCloudDialogflowV2SessionEntityType> SessionEntityTypes { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudDialogflowV2SessionEntityType> |
TimeZone
The time zone of this conversational query from the time zone database, e.g., America/New_York, Europe/Paris. If not provided, the time zone specified in agent settings is used.
Declaration
[JsonProperty("timeZone")]
public virtual string TimeZone { get; set; }
Property Value
Type | Description |
---|---|
string |
WebhookHeaders
This field can be used to pass HTTP headers for a webhook call. These headers will be sent to webhook along with the headers that have been configured through the Dialogflow web console. The headers defined within this field will overwrite the headers configured through the Dialogflow console if there is a conflict. Header names are case-insensitive. Google's specified headers are not allowed. Including: "Host", "Content-Length", "Connection", "From", "User-Agent", "Accept-Encoding", "If-Modified-Since", "If-None-Match", "X-Forwarded-For", etc.
Declaration
[JsonProperty("webhookHeaders")]
public virtual IDictionary<string, string> WebhookHeaders { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |