Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult
- 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
Resource that represents attribute results.
Instance Attribute Summary collapse
-
#suggestions ⇒ Array<String>
The list of suggestions for the attribute.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult
constructor
A new instance of GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult
Returns a new instance of GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult.
2295 2296 2297 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 2295 def initialize(**args) update!(**args) end |
Instance Attribute Details
#suggestions ⇒ Array<String>
The list of suggestions for the attribute.
Corresponds to the JSON property suggestions
2293 2294 2295 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 2293 def suggestions @suggestions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2300 2301 2302 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 2300 def update!(**args) @suggestions = args[:suggestions] if args.key?(:suggestions) end |