Class: Google::Apis::SheetsV4::BatchUpdateValuesByDataFilterResponse
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::BatchUpdateValuesByDataFilterResponse
- 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 response when updating a range of values in a spreadsheet.
Instance Attribute Summary collapse
-
#responses ⇒ Array<Google::Apis::SheetsV4::UpdateValuesByDataFilterResponse>
The response for each range updated.
-
#spreadsheet_id ⇒ String
The spreadsheet the updates were applied to.
-
#total_updated_cells ⇒ Fixnum
The total number of cells updated.
-
#total_updated_columns ⇒ Fixnum
The total number of columns where at least one cell in the column was updated.
-
#total_updated_rows ⇒ Fixnum
The total number of rows where at least one cell in the row was updated.
-
#total_updated_sheets ⇒ Fixnum
The total number of sheets where at least one cell in the sheet was updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchUpdateValuesByDataFilterResponse
constructor
A new instance of BatchUpdateValuesByDataFilterResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchUpdateValuesByDataFilterResponse
Returns a new instance of BatchUpdateValuesByDataFilterResponse.
1846 1847 1848 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 1846 def initialize(**args) update!(**args) end |
Instance Attribute Details
#responses ⇒ Array<Google::Apis::SheetsV4::UpdateValuesByDataFilterResponse>
The response for each range updated.
Corresponds to the JSON property responses
1819 1820 1821 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 1819 def responses @responses end |
#spreadsheet_id ⇒ String
The spreadsheet the updates were applied to.
Corresponds to the JSON property spreadsheetId
1824 1825 1826 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 1824 def spreadsheet_id @spreadsheet_id end |
#total_updated_cells ⇒ Fixnum
The total number of cells updated.
Corresponds to the JSON property totalUpdatedCells
1829 1830 1831 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 1829 def total_updated_cells @total_updated_cells end |
#total_updated_columns ⇒ Fixnum
The total number of columns where at least one cell in the column was updated.
Corresponds to the JSON property totalUpdatedColumns
1834 1835 1836 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 1834 def total_updated_columns @total_updated_columns end |
#total_updated_rows ⇒ Fixnum
The total number of rows where at least one cell in the row was updated.
Corresponds to the JSON property totalUpdatedRows
1839 1840 1841 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 1839 def total_updated_rows @total_updated_rows end |
#total_updated_sheets ⇒ Fixnum
The total number of sheets where at least one cell in the sheet was updated.
Corresponds to the JSON property totalUpdatedSheets
1844 1845 1846 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 1844 def total_updated_sheets @total_updated_sheets end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1851 1852 1853 1854 1855 1856 1857 1858 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 1851 def update!(**args) @responses = args[:responses] if args.key?(:responses) @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) @total_updated_cells = args[:total_updated_cells] if args.key?(:total_updated_cells) @total_updated_columns = args[:total_updated_columns] if args.key?(:total_updated_columns) @total_updated_rows = args[:total_updated_rows] if args.key?(:total_updated_rows) @total_updated_sheets = args[:total_updated_sheets] if args.key?(:total_updated_sheets) end |