View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailV2SearchRequestConversationalSearchSpecUserAnswer (google_api_retail v0.19.1)

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.

Attributes

  • selectedAnswer (type: GoogleApi.Retail.V2.Model.GoogleCloudRetailV2SearchRequestConversationalSearchSpecUserAnswerSelectedAnswer.t, default: nil) - This field specifies the selected attributes during the conversational search. This should be a subset of ConversationalSearchResult.suggested_answers.
  • textAnswer (type: String.t, default: nil) - This field specifies the incremental input text from the user during the conversational search.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Retail.V2.Model.GoogleCloudRetailV2SearchRequestConversationalSearchSpecUserAnswer{
    selectedAnswer:
      GoogleApi.Retail.V2.Model.GoogleCloudRetailV2SearchRequestConversationalSearchSpecUserAnswerSelectedAnswer.t()
      | nil,
    textAnswer: String.t() | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.