Class: Google::Apis::SheetsV4::TrimWhitespaceResponse

Inherits:
Object
  • Object
show all
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 trimming whitespace in cells.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TrimWhitespaceResponse

Returns a new instance of TrimWhitespaceResponse.



9784
9785
9786
# File 'generated/google/apis/sheets_v4/classes.rb', line 9784

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cells_changed_countFixnum

The number of cells that were trimmed of whitespace. Corresponds to the JSON property cellsChangedCount

Returns:

  • (Fixnum)


9782
9783
9784
# File 'generated/google/apis/sheets_v4/classes.rb', line 9782

def cells_changed_count
  @cells_changed_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9789
9790
9791
# File 'generated/google/apis/sheets_v4/classes.rb', line 9789

def update!(**args)
  @cells_changed_count = args[:cells_changed_count] if args.key?(:cells_changed_count)
end