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. Based on LustValue at: google3/apps/maestro/api/struct.proto?q=message%5c%20ListValue

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListValue

Returns a new instance of ListValue.



782
783
784
# File 'generated/google/apis/script_v1/classes.rb', line 782

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:



780
781
782
# File 'generated/google/apis/script_v1/classes.rb', line 780

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



787
788
789
# File 'generated/google/apis/script_v1/classes.rb', line 787

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