Class: Google::Apis::RetailV2::GoogleCloudRetailV2CompleteQueryResponseAttributeResult
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2::GoogleCloudRetailV2CompleteQueryResponseAttributeResult
- 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
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) ⇒ GoogleCloudRetailV2CompleteQueryResponseAttributeResult
constructor
A new instance of GoogleCloudRetailV2CompleteQueryResponseAttributeResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2CompleteQueryResponseAttributeResult
Returns a new instance of GoogleCloudRetailV2CompleteQueryResponseAttributeResult.
1136 1137 1138 |
# File 'lib/google/apis/retail_v2/classes.rb', line 1136 def initialize(**args) update!(**args) end |
Instance Attribute Details
#suggestions ⇒ Array<String>
Corresponds to the JSON property suggestions
1134 1135 1136 |
# File 'lib/google/apis/retail_v2/classes.rb', line 1134 def suggestions @suggestions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1141 1142 1143 |
# File 'lib/google/apis/retail_v2/classes.rb', line 1141 def update!(**args) @suggestions = args[:suggestions] if args.key?(:suggestions) end |