Class: Google::Apis::SheetsV4::UpdateValuesByDataFilterResponse

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 response when updating a range of values by a data filter in a spreadsheet.

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) ⇒ UpdateValuesByDataFilterResponse

Returns a new instance of UpdateValuesByDataFilterResponse.



10523
10524
10525
# File 'generated/google/apis/sheets_v4/classes.rb', line 10523

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#data_filterGoogle::Apis::SheetsV4::DataFilter

Filter that describes what data should be selected or returned from a request. Corresponds to the JSON property dataFilter



10496
10497
10498
# File 'generated/google/apis/sheets_v4/classes.rb', line 10496

def data_filter
  @data_filter
end

#updated_cellsFixnum

The number of cells updated. Corresponds to the JSON property updatedCells

Returns:

  • (Fixnum)


10501
10502
10503
# File 'generated/google/apis/sheets_v4/classes.rb', line 10501

def updated_cells
  @updated_cells
end

#updated_columnsFixnum

The number of columns where at least one cell in the column was updated. Corresponds to the JSON property updatedColumns

Returns:

  • (Fixnum)


10506
10507
10508
# File 'generated/google/apis/sheets_v4/classes.rb', line 10506

def updated_columns
  @updated_columns
end

#updated_dataGoogle::Apis::SheetsV4::ValueRange

Data within a range of the spreadsheet. Corresponds to the JSON property updatedData



10511
10512
10513
# File 'generated/google/apis/sheets_v4/classes.rb', line 10511

def updated_data
  @updated_data
end

#updated_rangeString

The range (in A1 notation) that updates were applied to. Corresponds to the JSON property updatedRange

Returns:

  • (String)


10516
10517
10518
# File 'generated/google/apis/sheets_v4/classes.rb', line 10516

def updated_range
  @updated_range
end

#updated_rowsFixnum

The number of rows where at least one cell in the row was updated. Corresponds to the JSON property updatedRows

Returns:

  • (Fixnum)


10521
10522
10523
# File 'generated/google/apis/sheets_v4/classes.rb', line 10521

def updated_rows
  @updated_rows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10528
10529
10530
10531
10532
10533
10534
10535
# File 'generated/google/apis/sheets_v4/classes.rb', line 10528

def update!(**args)
  @data_filter = args[:data_filter] if args.key?(:data_filter)
  @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