Google Cloud Dialogflow v2beta1 API - Class SearchKnowledgeRequest (1.0.0-beta10)

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].

Inheritance

object > SearchKnowledgeRequest

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Constructors

SearchKnowledgeRequest()

public SearchKnowledgeRequest()

SearchKnowledgeRequest(SearchKnowledgeRequest)

public SearchKnowledgeRequest(SearchKnowledgeRequest other)
Parameter
NameDescription
otherSearchKnowledgeRequest

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
TypeDescription
string

ConversationAsConversationName

public ConversationName ConversationAsConversationName { get; set; }

ConversationName-typed view over the Conversation resource name property.

Property Value
TypeDescription
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
TypeDescription
string

ConversationProfileAsConversationProfileName

public ConversationProfileName ConversationProfileAsConversationProfileName { get; set; }

ConversationProfileName-typed view over the ConversationProfile resource name property.

Property Value
TypeDescription
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
TypeDescription
string

LatestMessageAsMessageName

public MessageName LatestMessageAsMessageName { get; set; }

MessageName-typed view over the LatestMessage resource name property.

Property Value
TypeDescription
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
TypeDescription
string

Query

public TextInput Query { get; set; }

Required. The natural language text query for knowledge search.

Property Value
TypeDescription
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
TypeDescription
string