Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaConversationalSearchResponseRefinedSearch

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/retail_v2beta/classes.rb,
lib/google/apis/retail_v2beta/representations.rb,
lib/google/apis/retail_v2beta/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) ⇒ GoogleCloudRetailV2betaConversationalSearchResponseRefinedSearch

Returns a new instance of GoogleCloudRetailV2betaConversationalSearchResponseRefinedSearch.



4286
4287
4288
# File 'lib/google/apis/retail_v2beta/classes.rb', line 4286

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)


4284
4285
4286
# File 'lib/google/apis/retail_v2beta/classes.rb', line 4284

def query
  @query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4291
4292
4293
# File 'lib/google/apis/retail_v2beta/classes.rb', line 4291

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