Google Cloud Dialogflow v2 API - Class KnowledgeAssistAnswer.Types.SuggestedQuery.Types.SearchContext (4.30.0)

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, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2 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" }

Inheritance

object > KnowledgeAssistAnswer.Types.SuggestedQuery.Types.SearchContext

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.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