Class: Google::Apis::SheetsV4::UpdateValuesResponse
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::UpdateValuesResponse
- 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 response when updating a range of values in a spreadsheet.
Instance Attribute Summary collapse
-
#spreadsheet_id ⇒ String
The spreadsheet the updates were applied to.
-
#updated_cells ⇒ Fixnum
The number of cells updated.
-
#updated_columns ⇒ Fixnum
The number of columns where at least one cell in the column was updated.
-
#updated_data ⇒ Google::Apis::SheetsV4::ValueRange
Data within a range of the spreadsheet.
-
#updated_range ⇒ String
The range (in A1 notation) that updates were applied to.
-
#updated_rows ⇒ Fixnum
The number of rows where at least one cell in the row was updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateValuesResponse
constructor
A new instance of UpdateValuesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UpdateValuesResponse
Returns a new instance of UpdateValuesResponse
9288 9289 9290 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 9288 def initialize(**args) update!(**args) end |
Instance Attribute Details
#spreadsheet_id ⇒ String
The spreadsheet the updates were applied to.
Corresponds to the JSON property spreadsheetId
9261 9262 9263 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 9261 def spreadsheet_id @spreadsheet_id end |
#updated_cells ⇒ Fixnum
The number of cells updated.
Corresponds to the JSON property updatedCells
9266 9267 9268 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 9266 def updated_cells @updated_cells end |
#updated_columns ⇒ Fixnum
The number of columns where at least one cell in the column was updated.
Corresponds to the JSON property updatedColumns
9271 9272 9273 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 9271 def updated_columns @updated_columns end |
#updated_data ⇒ Google::Apis::SheetsV4::ValueRange
Data within a range of the spreadsheet.
Corresponds to the JSON property updatedData
9276 9277 9278 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 9276 def updated_data @updated_data end |
#updated_range ⇒ String
The range (in A1 notation) that updates were applied to.
Corresponds to the JSON property updatedRange
9281 9282 9283 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 9281 def updated_range @updated_range end |
#updated_rows ⇒ Fixnum
The number of rows where at least one cell in the row was updated.
Corresponds to the JSON property updatedRows
9286 9287 9288 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 9286 def updated_rows @updated_rows end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9293 9294 9295 9296 9297 9298 9299 9300 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 9293 def update!(**args) @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) @updated_cells = args[:updated_cells] if args.key?(:updated_cells) @updated_columns = args[:updated_columns] if args.key?(:updated_columns) @updated_data = args[:updated_data] if args.key?(:updated_data) @updated_range = args[:updated_range] if args.key?(:updated_range) @updated_rows = args[:updated_rows] if args.key?(:updated_rows) end |