Class: Google::Apis::RetailV2::GoogleCloudRetailV2ConversationalSearchResponseRefinedSearch

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

Returns a new instance of GoogleCloudRetailV2ConversationalSearchResponseRefinedSearch.



1989
1990
1991
# File 'lib/google/apis/retail_v2/classes.rb', line 1989

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)


1987
1988
1989
# File 'lib/google/apis/retail_v2/classes.rb', line 1987

def query
  @query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1994
1995
1996
# File 'lib/google/apis/retail_v2/classes.rb', line 1994

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