Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCompleteQueryResponseAttributeResult
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCompleteQueryResponseAttributeResult
- 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
Resource that represents attribute results. The list of suggestions for the attribute.
Instance Attribute Summary collapse
-
#suggestions ⇒ Array<String>
Corresponds to the JSON property
suggestions
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2betaCompleteQueryResponseAttributeResult
constructor
A new instance of GoogleCloudRetailV2betaCompleteQueryResponseAttributeResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2betaCompleteQueryResponseAttributeResult
Returns a new instance of GoogleCloudRetailV2betaCompleteQueryResponseAttributeResult.
3427 3428 3429 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3427 def initialize(**args) update!(**args) end |
Instance Attribute Details
#suggestions ⇒ Array<String>
Corresponds to the JSON property suggestions
3425 3426 3427 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3425 def suggestions @suggestions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3432 3433 3434 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3432 def update!(**args) @suggestions = args[:suggestions] if args.key?(:suggestions) end |