class Google::Apis::SheetsV4::ConditionValue
The value of the condition.
Attributes
relative_date[RW]
A relative date (based on the current date). Valid only if the type is DATE_BEFORE, DATE_AFTER, DATE_ON_OR_BEFORE or DATE_ON_OR_AFTER. Relative dates are not supported in data validation. They are supported only in conditional formatting and conditional filters. Corresponds to the JSON property `relativeDate` @return [String]
user_entered_value[RW]
A value the condition is based on. The value is parsed as if the user typed into a cell. Formulas are supported (and must begin with an `=` or a '+'). Corresponds to the JSON property `userEnteredValue` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 3368 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/sheets_v4/classes.rb, line 3373 def update!(**args) @relative_date = args[:relative_date] if args.key?(:relative_date) @user_entered_value = args[:user_entered_value] if args.key?(:user_entered_value) end