Retail v2 API - Class SearchRequest.Types.ConversationalSearchSpec (2.12.0)

public sealed class SearchRequest.Types.ConversationalSearchSpec : IMessage<SearchRequest.Types.ConversationalSearchSpec>, IEquatable<SearchRequest.Types.ConversationalSearchSpec>, IDeepCloneable<SearchRequest.Types.ConversationalSearchSpec>, IBufferMessage, IMessage

Reference documentation and code samples for the Retail v2 API class SearchRequest.Types.ConversationalSearchSpec.

This field specifies all conversational related parameters addition to traditional retail search.

Inheritance

object > SearchRequest.Types.ConversationalSearchSpec

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

ConversationalSearchSpec()

public ConversationalSearchSpec()

ConversationalSearchSpec(ConversationalSearchSpec)

public ConversationalSearchSpec(SearchRequest.Types.ConversationalSearchSpec other)
Parameter
Name Description
other SearchRequestTypesConversationalSearchSpec

Properties

ConversationId

public string ConversationId { get; set; }

This field specifies the conversation id, which maintains the state of the conversation between client side and server side. Use the value from the previous [ConversationalSearchResult.conversation_id][]. For the initial request, this should be empty.

Property Value
Type Description
string

FollowupConversationRequested

public bool FollowupConversationRequested { get; set; }

This field specifies whether the customer would like to do conversational search. If this field is set to true, conversational related extra information will be returned from server side, including follow-up question, answer options, etc.

Property Value
Type Description
bool

UserAnswer

public SearchRequest.Types.ConversationalSearchSpec.Types.UserAnswer UserAnswer { get; set; }

This field specifies the current user answer during the conversational search. This can be either user selected from suggested answers or user input plain text.

Property Value
Type Description
SearchRequestTypesConversationalSearchSpecTypesUserAnswer