class Google::Apis::SheetsV4::FindReplaceResponse

The result of the find/replace.

Attributes

formulas_changed[RW]

The number of formula cells changed. Corresponds to the JSON property `formulasChanged` @return [Fixnum]

occurrences_changed[RW]

The number of occurrences (possibly multiple within a cell) changed. For example, if replacing `“e”` with `“o”` in `“Google Sheets”`, this would be `“3” ` because `“Google Sheets”` -> `“Googlo Shoots”`. Corresponds to the JSON property `occurrencesChanged` @return [Fixnum]

rows_changed[RW]

The number of rows changed. Corresponds to the JSON property `rowsChanged` @return [Fixnum]

sheets_changed[RW]

The number of sheets changed. Corresponds to the JSON property `sheetsChanged` @return [Fixnum]

values_changed[RW]

The number of non-formula cells changed. Corresponds to the JSON property `valuesChanged` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 5779
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 5784
def update!(**args)
  @formulas_changed = args[:formulas_changed] if args.key?(:formulas_changed)
  @occurrences_changed = args[:occurrences_changed] if args.key?(:occurrences_changed)
  @rows_changed = args[:rows_changed] if args.key?(:rows_changed)
  @sheets_changed = args[:sheets_changed] if args.key?(:sheets_changed)
  @values_changed = args[:values_changed] if args.key?(:values_changed)
end