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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/script_v1/classes.rb,
lib/google/apis/script_v1/representations.rb,
lib/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.



773
774
775
# File 'lib/google/apis/script_v1/classes.rb', line 773

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:



771
772
773
# File 'lib/google/apis/script_v1/classes.rb', line 771

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



778
779
780
# File 'lib/google/apis/script_v1/classes.rb', line 778

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