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.



10720
10721
10722
# File 'generated/google/apis/sheets_v4/classes.rb', line 10720

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)


10718
10719
10720
# File 'generated/google/apis/sheets_v4/classes.rb', line 10718

def cells_changed_count
  @cells_changed_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10725
10726
10727
# File 'generated/google/apis/sheets_v4/classes.rb', line 10725

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