Show / Hide Table of Contents

Class GoogleCloudDialogflowV2beta1QueryParameters

Represents the parameters of the conversational query.

Inheritance
object
GoogleCloudDialogflowV2beta1QueryParameters
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dialogflow.v2beta1.Data
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class GoogleCloudDialogflowV2beta1QueryParameters : IDirectResponseSchema

Properties

Contexts

The collection of contexts to be activated before this query is executed.

Declaration
[JsonProperty("contexts")]
public virtual IList<GoogleCloudDialogflowV2beta1Context> Contexts { get; set; }
Property Value
Type Description
IList<GoogleCloudDialogflowV2beta1Context>

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

KnowledgeBaseNames

KnowledgeBases to get alternative results from. If not set, the KnowledgeBases enabled in the agent (through UI) will be used. Format: projects//knowledgeBases/.

Declaration
[JsonProperty("knowledgeBaseNames")]
public virtual IList<string> KnowledgeBaseNames { get; set; }
Property Value
Type Description
IList<string>

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. Note: Sentiment Analysis is only currently available for Essentials Edition agents.

Declaration
[JsonProperty("sentimentAnalysisRequestConfig")]
public virtual GoogleCloudDialogflowV2beta1SentimentAnalysisRequestConfig SentimentAnalysisRequestConfig { get; set; }
Property Value
Type Description
GoogleCloudDialogflowV2beta1SentimentAnalysisRequestConfig

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<GoogleCloudDialogflowV2beta1SessionEntityType> SessionEntityTypes { get; set; }
Property Value
Type Description
IList<GoogleCloudDialogflowV2beta1SessionEntityType>

SubAgents

For mega agent query, directly specify which sub agents to query. If any specified sub agent is not linked to the mega agent, an error will be returned. If empty, Dialogflow will decide which sub agents to query. If specified for a non-mega-agent query, will be silently ignored.

Declaration
[JsonProperty("subAgents")]
public virtual IList<GoogleCloudDialogflowV2beta1SubAgent> SubAgents { get; set; }
Property Value
Type Description
IList<GoogleCloudDialogflowV2beta1SubAgent>

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 Dialogflow web console. The headers defined within this field will overwrite the headers configured through 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>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX