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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/sheets_v4/classes.rb,
lib/google/apis/sheets_v4/representations.rb,
lib/google/apis/sheets_v4/representations.rb

Overview

The result of trimming whitespace in cells.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TrimWhitespaceResponse

Returns a new instance of TrimWhitespaceResponse.



10350
10351
10352
# File 'lib/google/apis/sheets_v4/classes.rb', line 10350

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)


10348
10349
10350
# File 'lib/google/apis/sheets_v4/classes.rb', line 10348

def cells_changed_count
  @cells_changed_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10355
10356
10357
# File 'lib/google/apis/sheets_v4/classes.rb', line 10355

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