Class: Google::Apis::SheetsV4::FindReplaceResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SheetsV4::FindReplaceResponse
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sheets_v4/classes.rb,
 generated/google/apis/sheets_v4/representations.rb,
 generated/google/apis/sheets_v4/representations.rb
Overview
The result of the find/replace.
Instance Attribute Summary collapse
- 
  
    
      #formulas_changed  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The number of formula cells changed. 
- 
  
    
      #occurrences_changed  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The number of occurrences (possibly multiple within a cell) changed. 
- 
  
    
      #rows_changed  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The number of rows changed. 
- 
  
    
      #sheets_changed  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The number of sheets changed. 
- 
  
    
      #values_changed  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The number of non-formula cells changed. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ FindReplaceResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of FindReplaceResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FindReplaceResponse
Returns a new instance of FindReplaceResponse
| 4758 4759 4760 | # File 'generated/google/apis/sheets_v4/classes.rb', line 4758 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#formulas_changed ⇒ Fixnum
The number of formula cells changed.
Corresponds to the JSON property formulasChanged
| 4734 4735 4736 | # File 'generated/google/apis/sheets_v4/classes.rb', line 4734 def formulas_changed @formulas_changed end | 
#occurrences_changed ⇒ Fixnum
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
| 4741 4742 4743 | # File 'generated/google/apis/sheets_v4/classes.rb', line 4741 def occurrences_changed @occurrences_changed end | 
#rows_changed ⇒ Fixnum
The number of rows changed.
Corresponds to the JSON property rowsChanged
| 4746 4747 4748 | # File 'generated/google/apis/sheets_v4/classes.rb', line 4746 def rows_changed @rows_changed end | 
#sheets_changed ⇒ Fixnum
The number of sheets changed.
Corresponds to the JSON property sheetsChanged
| 4751 4752 4753 | # File 'generated/google/apis/sheets_v4/classes.rb', line 4751 def sheets_changed @sheets_changed end | 
#values_changed ⇒ Fixnum
The number of non-formula cells changed.
Corresponds to the JSON property valuesChanged
| 4756 4757 4758 | # File 'generated/google/apis/sheets_v4/classes.rb', line 4756 def values_changed @values_changed end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 4763 4764 4765 4766 4767 4768 4769 | # File 'generated/google/apis/sheets_v4/classes.rb', line 4763 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 |