Class GoogleCloudDialogflowV2SearchKnowledgeRequest
The request message for Conversations.SearchKnowledge.
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v2.Data
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class GoogleCloudDialogflowV2SearchKnowledgeRequest : IDirectResponseSchema
Properties
Conversation
The conversation (between human agent and end user) where the search request is triggered. Format:
projects//locations//conversations/
.
Declaration
[JsonProperty("conversation")]
public virtual string Conversation { get; set; }
Property Value
Type | Description |
---|---|
string |
ConversationProfile
Required. The conversation profile used to configure the search. Format:
projects//locations//conversationProfiles/
.
Declaration
[JsonProperty("conversationProfile")]
public virtual string ConversationProfile { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
LatestMessage
The name of the latest conversation message when the request is triggered. Format:
projects//locations//conversations//messages/
.
Declaration
[JsonProperty("latestMessage")]
public virtual string LatestMessage { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
The parent resource contains the conversation profile Format: 'projects/' or projects//locations/
.
Declaration
[JsonProperty("parent")]
public virtual string Parent { get; set; }
Property Value
Type | Description |
---|---|
string |
Query
Required. The natural language text query for knowledge search.
Declaration
[JsonProperty("query")]
public virtual GoogleCloudDialogflowV2TextInput Query { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowV2TextInput |
SessionId
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.
Declaration
[JsonProperty("sessionId")]
public virtual string SessionId { get; set; }
Property Value
Type | Description |
---|---|
string |