class Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse
The result of updating a conditional format rule.
Attributes
new_index[RW]
The index of the new rule. Corresponds to the JSON property `newIndex` @return [Fixnum]
new_rule[RW]
A rule describing a conditional format. Corresponds to the JSON property `newRule` @return [Google::Apis::SheetsV4::ConditionalFormatRule]
old_index[RW]
The old index of the rule. Not set if a rule was replaced (because it is the same as new_index
). Corresponds to the JSON property `oldIndex` @return [Fixnum]
old_rule[RW]
A rule describing a conditional format. Corresponds to the JSON property `oldRule` @return [Google::Apis::SheetsV4::ConditionalFormatRule]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 10447 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 10452 def update!(**args) @new_index = args[:new_index] if args.key?(:new_index) @new_rule = args[:new_rule] if args.key?(:new_rule) @old_index = args[:old_index] if args.key?(:old_index) @old_rule = args[:old_rule] if args.key?(:old_rule) end