Show / Hide Table of Contents

Class GoogleCloudDialogflowV2QueryParameters

Represents the parameters of the conversational query.

Inheritance
System.Object
GoogleCloudDialogflowV2QueryParameters
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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
System.Collections.Generic.IList<GoogleCloudDialogflowV2Context>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.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
System.Collections.Generic.IDictionary<System.String, System.Object>

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
System.Nullable<System.Boolean>

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
System.Collections.Generic.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
System.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
System.Collections.Generic.IDictionary<System.String, System.String>

Implements

IDirectResponseSchema
In This Article
Back to top