Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchResponseQueryExpansionInfo
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchResponseQueryExpansionInfo
- 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
Information describing query expansion including whether expansion has occurred.
Instance Attribute Summary collapse
-
#expanded_query ⇒ Boolean
(also: #expanded_query?)
Bool describing whether query expansion has occurred.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2betaSearchResponseQueryExpansionInfo
constructor
A new instance of GoogleCloudRetailV2betaSearchResponseQueryExpansionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2betaSearchResponseQueryExpansionInfo
Returns a new instance of GoogleCloudRetailV2betaSearchResponseQueryExpansionInfo.
3780 3781 3782 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3780 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expanded_query ⇒ Boolean Also known as: expanded_query?
Bool describing whether query expansion has occurred.
Corresponds to the JSON property expandedQuery
3777 3778 3779 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3777 def @expanded_query end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3785 3786 3787 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3785 def update!(**args) @expanded_query = args[:expanded_query] if args.key?(:expanded_query) end |