Class: Google::Apis::ScriptV1::ListValue

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/script_v1/classes.rb,
generated/google/apis/script_v1/representations.rb,
generated/google/apis/script_v1/representations.rb

Overview

ListValue is a wrapper around a repeated field of values.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListValue

Returns a new instance of ListValue.



762
763
764
# File 'generated/google/apis/script_v1/classes.rb', line 762

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#valuesArray<Google::Apis::ScriptV1::Value>

Repeated field of dynamically typed values. Corresponds to the JSON property values

Returns:



760
761
762
# File 'generated/google/apis/script_v1/classes.rb', line 760

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



767
768
769
# File 'generated/google/apis/script_v1/classes.rb', line 767

def update!(**args)
  @values = args[:values] if args.key?(:values)
end