Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConversationalSearchResponseRefinedSearch

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/retail_v2alpha/classes.rb,
lib/google/apis/retail_v2alpha/representations.rb,
lib/google/apis/retail_v2alpha/representations.rb

Overview

The proposed refined search for intent-refinement/bundled shopping conversation. When using CONVERSATIONAL_FILTER_ONLY mode, the refined_query from search response will be populated here.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2alphaConversationalSearchResponseRefinedSearch

Returns a new instance of GoogleCloudRetailV2alphaConversationalSearchResponseRefinedSearch.



3206
3207
3208
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 3206

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#queryString

The query to be used for search. Corresponds to the JSON property query

Returns:

  • (String)


3204
3205
3206
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 3204

def query
  @query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3211
3212
3213
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 3211

def update!(**args)
  @query = args[:query] if args.key?(:query)
end