Class GoogleCloudRetailV2alphaSearchResponseConversationalSearchResult
This field specifies all related information that is needed on client side for UI rendering of conversational retail search.
Implements
Inherited Members
Namespace: Google.Apis.CloudRetail.v2alpha.Data
Assembly: Google.Apis.CloudRetail.v2alpha.dll
Syntax
public class GoogleCloudRetailV2alphaSearchResponseConversationalSearchResult : IDirectResponseSchema
Properties
AdditionalFilter
This is the incremental additional filters implied from the current user answer. User should add the suggested addition filters to the previous SearchRequest.filter, and use the merged filter in the follow up search request.
Declaration
[JsonProperty("additionalFilter")]
public virtual GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultAdditionalFilter AdditionalFilter { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultAdditionalFilter |
AdditionalFilters
This field is deprecated but will be kept for backward compatibility. There is expected to have only one
additional filter and the value will be the same to the same as field additional_filter
.
Declaration
[JsonProperty("additionalFilters")]
public virtual IList<GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultAdditionalFilter> AdditionalFilters { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultAdditionalFilter> |
ConversationId
Conversation UUID. This field will be stored in client side storage to maintain the conversation session with server and will be used for next search request's SearchRequest.ConversationalSearchSpec.conversation_id to restore conversation state in server.
Declaration
[JsonProperty("conversationId")]
public virtual string ConversationId { 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 |
FollowupQuestion
The follow-up question. e.g., What is the color?
Declaration
[JsonProperty("followupQuestion")]
public virtual string FollowupQuestion { get; set; }
Property Value
Type | Description |
---|---|
string |
RefinedQuery
The current refined query for the conversational search. This field will be used in customer UI that the
query in the search bar should be replaced with the refined query. For example, if SearchRequest.query is
dress
and next SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer is red color
, which does
not match any product attribute value filters, the refined query will be dress, red color
.
Declaration
[JsonProperty("refinedQuery")]
public virtual string RefinedQuery { get; set; }
Property Value
Type | Description |
---|---|
string |
SuggestedAnswers
The answer options provided to client for the follow-up question.
Declaration
[JsonProperty("suggestedAnswers")]
public virtual IList<GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultSuggestedAnswer> SuggestedAnswers { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultSuggestedAnswer> |