Show / Hide Table of Contents

Class GoogleCloudRetailV2betaSearchResponseConversationalSearchResult

This field specifies all related information that is needed on client side for UI rendering of conversational retail search.

Inheritance
object
GoogleCloudRetailV2betaSearchResponseConversationalSearchResult
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudRetail.v2beta.Data
Assembly: Google.Apis.CloudRetail.v2beta.dll
Syntax
public class GoogleCloudRetailV2betaSearchResponseConversationalSearchResult : 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 GoogleCloudRetailV2betaSearchResponseConversationalSearchResultAdditionalFilter AdditionalFilter { get; set; }
Property Value
Type Description
GoogleCloudRetailV2betaSearchResponseConversationalSearchResultAdditionalFilter

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<GoogleCloudRetailV2betaSearchResponseConversationalSearchResultAdditionalFilter> AdditionalFilters { get; set; }
Property Value
Type Description
IList<GoogleCloudRetailV2betaSearchResponseConversationalSearchResultAdditionalFilter>

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<GoogleCloudRetailV2betaSearchResponseConversationalSearchResultSuggestedAnswer> SuggestedAnswers { get; set; }
Property Value
Type Description
IList<GoogleCloudRetailV2betaSearchResponseConversationalSearchResultSuggestedAnswer>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX