public sealed class KnowledgeAssistAnswer.Types.SuggestedQuery.Types.SearchContext : IMessage<KnowledgeAssistAnswer.Types.SuggestedQuery.Types.SearchContext>, IEquatable<KnowledgeAssistAnswer.Types.SuggestedQuery.Types.SearchContext>, IDeepCloneable<KnowledgeAssistAnswer.Types.SuggestedQuery.Types.SearchContext>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class KnowledgeAssistAnswer.Types.SuggestedQuery.Types.SearchContext.
Search context is information useful for knowledge search that helps enrich the query. Example: search_context { key: "application name" value: "DesignApp" }
Implements
IMessageKnowledgeAssistAnswerTypesSuggestedQueryTypesSearchContext, IEquatableKnowledgeAssistAnswerTypesSuggestedQueryTypesSearchContext, IDeepCloneableKnowledgeAssistAnswerTypesSuggestedQueryTypesSearchContext, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
SearchContext()
public SearchContext()SearchContext(SearchContext)
public SearchContext(KnowledgeAssistAnswer.Types.SuggestedQuery.Types.SearchContext other)| Parameter | |
|---|---|
| Name | Description |
other |
KnowledgeAssistAnswerTypesSuggestedQueryTypesSearchContext |
Properties
Key
public string Key { get; set; }Optional. The key of the search context, e.g. "application name".
| Property Value | |
|---|---|
| Type | Description |
string |
|
Value
public string Value { get; set; }Optional. The value of the search context, e.g. "DesignApp".
| Property Value | |
|---|---|
| Type | Description |
string |
|