class Google::Apis::ScriptV1::Struct
`Struct` represents a structured data value, consisting of fields which map to dynamically typed values.
Attributes
fields[RW]
Unordered map of dynamically typed values. Corresponds to the JSON property `fields` @return [Hash<String,Google::Apis::ScriptV1::Value>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/script_v1/classes.rb, line 1062 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/script_v1/classes.rb, line 1067 def update!(**args) @fields = args[:fields] if args.key?(:fields) end