class Google::Apis::ScriptV1::Value
`Value` represents a dynamically typed value which is the outcome of an executed script.
Attributes
Represents a boolean value. Corresponds to the JSON property `boolValue` @return [Boolean]
Represents a boolean value. Corresponds to the JSON property `boolValue` @return [Boolean]
Represents raw byte values. Corresponds to the JSON property `bytesValue` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]
Represents a date in ms since the epoch. Corresponds to the JSON property `dateValue` @return [Fixnum]
`ListValue` is a wrapper around a repeated field of values. Corresponds to the JSON property `listValue` @return [Google::Apis::ScriptV1::ListValue]
Represents a null value. Corresponds to the JSON property `nullValue` @return [String]
Represents a double value. Corresponds to the JSON property `numberValue` @return [Float]
Represents a structured proto value. Corresponds to the JSON property `protoValue` @return [Hash<String,Object>]
Represents a string value. Corresponds to the JSON property `stringValue` @return [String]
`Struct` represents a structured data value, consisting of fields which map to dynamically typed values. Corresponds to the JSON property `structValue` @return [Google::Apis::ScriptV1::Struct]
Public Class Methods
# File lib/google/apis/script_v1/classes.rb, line 1144 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/script_v1/classes.rb, line 1149 def update!(**args) @bool_value = args[:bool_value] if args.key?(:bool_value) @bytes_value = args[:bytes_value] if args.key?(:bytes_value) @date_value = args[:date_value] if args.key?(:date_value) @list_value = args[:list_value] if args.key?(:list_value) @null_value = args[:null_value] if args.key?(:null_value) @number_value = args[:number_value] if args.key?(:number_value) @proto_value = args[:proto_value] if args.key?(:proto_value) @string_value = args[:string_value] if args.key?(:string_value) @struct_value = args[:struct_value] if args.key?(:struct_value) end