public sealed class SearchKnowledgeRequest : IMessage<SearchKnowledgeRequest>, IEquatable<SearchKnowledgeRequest>, IDeepCloneable<SearchKnowledgeRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class SearchKnowledgeRequest.
The request message for [Conversations.SearchKnowledge][google.cloud.dialogflow.v2beta1.Conversations.SearchKnowledge].
Implements
IMessageSearchKnowledgeRequest, IEquatableSearchKnowledgeRequest, IDeepCloneableSearchKnowledgeRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
SearchKnowledgeRequest()
public SearchKnowledgeRequest()
SearchKnowledgeRequest(SearchKnowledgeRequest)
public SearchKnowledgeRequest(SearchKnowledgeRequest other)
Parameter | |
---|---|
Name | Description |
other |
SearchKnowledgeRequest |
Properties
Conversation
public string Conversation { get; set; }
The conversation (between human agent and end user) where the search
request is triggered. Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>
.
Property Value | |
---|---|
Type | Description |
string |
ConversationAsConversationName
public ConversationName ConversationAsConversationName { get; set; }
ConversationName-typed view over the Conversation resource name property.
Property Value | |
---|---|
Type | Description |
ConversationName |
ConversationProfile
public string ConversationProfile { get; set; }
Required. The conversation profile used to configure the search.
Format: projects/<Project ID>/locations/<Location
ID>/conversationProfiles/<Conversation Profile ID>
.
Property Value | |
---|---|
Type | Description |
string |
ConversationProfileAsConversationProfileName
public ConversationProfileName ConversationProfileAsConversationProfileName { get; set; }
ConversationProfileName-typed view over the ConversationProfile resource name property.
Property Value | |
---|---|
Type | Description |
ConversationProfileName |
LatestMessage
public string LatestMessage { get; set; }
The name of the latest conversation message when the request is
triggered.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/messages/<Message ID>
.
Property Value | |
---|---|
Type | Description |
string |
LatestMessageAsMessageName
public MessageName LatestMessageAsMessageName { get; set; }
MessageName-typed view over the LatestMessage resource name property.
Property Value | |
---|---|
Type | Description |
MessageName |
Parent
public string Parent { get; set; }
The parent resource contains the conversation profile
Format: 'projects/<Project ID>' or projects/<Project
ID>/locations/<Location ID>
.
Property Value | |
---|---|
Type | Description |
string |
Query
public TextInput Query { get; set; }
Required. The natural language text query for knowledge search.
Property Value | |
---|---|
Type | Description |
TextInput |
SessionId
public string SessionId { get; set; }
The ID of the search session.
The session_id can be combined with Dialogflow V3 Agent ID retrieved from
conversation profile or on its own to identify a search session. The search
history of the same session will impact the search result. It's up to the
API caller to choose an appropriate Session ID
. It can be a random number
or some type of session identifiers (preferably hashed). The length must
not exceed 36 characters.
Property Value | |
---|---|
Type | Description |
string |