class Google::Apis::CloudsearchV1::Value
Definition of a single value with generic type.
Attributes
Corresponds to the JSON property `booleanValue` @return [Boolean]
Corresponds to the JSON property `booleanValue` @return [Boolean]
Represents a whole calendar date, for example a date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the [Proleptic Gregorian Calendar](en.wikipedia.org/ wiki/Proleptic_Gregorian_calendar). The date must be a valid calendar date between the year 1 and 9999. Corresponds to the JSON property `dateValue` @return [Google::Apis::CloudsearchV1::Date]
Corresponds to the JSON property `doubleValue` @return [Float]
Corresponds to the JSON property `integerValue` @return [Fixnum]
Corresponds to the JSON property `stringValue` @return [String]
Corresponds to the JSON property `timestampValue` @return [String]
Public Class Methods
# File lib/google/apis/cloudsearch_v1/classes.rb, line 5169 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudsearch_v1/classes.rb, line 5174 def update!(**args) @boolean_value = args[:boolean_value] if args.key?(:boolean_value) @date_value = args[:date_value] if args.key?(:date_value) @double_value = args[:double_value] if args.key?(:double_value) @integer_value = args[:integer_value] if args.key?(:integer_value) @string_value = args[:string_value] if args.key?(:string_value) @timestamp_value = args[:timestamp_value] if args.key?(:timestamp_value) end