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.
1672 1673 1674 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 1672 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
1670 1671 1672 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 1670 def suggestions @suggestions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1677 1678 1679 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 1677 def update!(**args) @suggestions = args[:suggestions] if args.key?(:suggestions) end |