Class: Google::Apis::RetailV2::GoogleCloudRetailV2DoubleList

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#valuesArray<Float>

The list of double values. Corresponds to the JSON property values

Returns:

  • (Array<Float>)


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