Class: Google::Apis::RetailV2::GoogleCloudRetailV2DoubleList
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2::GoogleCloudRetailV2DoubleList
- 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
A message with a list of double values.
Instance Attribute Summary collapse
-
#values ⇒ Array<Float>
The list of double values.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2DoubleList
constructor
A new instance of GoogleCloudRetailV2DoubleList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2DoubleList
Returns a new instance of GoogleCloudRetailV2DoubleList.
2086 2087 2088 |
# File 'lib/google/apis/retail_v2/classes.rb', line 2086 def initialize(**args) update!(**args) end |
Instance Attribute Details
#values ⇒ Array<Float>
The list of double values.
Corresponds to the JSON property values
2084 2085 2086 |
# File 'lib/google/apis/retail_v2/classes.rb', line 2084 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2091 2092 2093 |
# File 'lib/google/apis/retail_v2/classes.rb', line 2091 def update!(**args) @values = args[:values] if args.key?(:values) end |