class Google::Apis::SheetsV4::UpdateValuesResponse

The response when updating a range of values in a spreadsheet.

Attributes

spreadsheet_id[RW]

The spreadsheet the updates were applied to. Corresponds to the JSON property `spreadsheetId` @return [String]

updated_cells[RW]

The number of cells updated. Corresponds to the JSON property `updatedCells` @return [Fixnum]

updated_columns[RW]

The number of columns where at least one cell in the column was updated. Corresponds to the JSON property `updatedColumns` @return [Fixnum]

updated_data[RW]

Data within a range of the spreadsheet. Corresponds to the JSON property `updatedData` @return [Google::Apis::SheetsV4::ValueRange]

updated_range[RW]

The range (in A1 notation) that updates were applied to. Corresponds to the JSON property `updatedRange` @return [String]

updated_rows[RW]

The number of rows where at least one cell in the row was updated. Corresponds to the JSON property `updatedRows` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 10996
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sheets_v4/classes.rb, line 11001
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