Class: Google::Apis::SheetsV4::UpdateValuesByDataFilterResponse
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::UpdateValuesByDataFilterResponse
- 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 by a data filter in a spreadsheet.
Instance Attribute Summary collapse
-
#data_filter ⇒ Google::Apis::SheetsV4::DataFilter
Filter that describes what data should be selected or returned from a request.
-
#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) ⇒ UpdateValuesByDataFilterResponse
constructor
A new instance of UpdateValuesByDataFilterResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateValuesByDataFilterResponse
Returns a new instance of UpdateValuesByDataFilterResponse.
11139 11140 11141 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 11139 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_filter ⇒ Google::Apis::SheetsV4::DataFilter
Filter that describes what data should be selected or returned from a request.
Corresponds to the JSON property dataFilter
11111 11112 11113 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 11111 def data_filter @data_filter end |
#updated_cells ⇒ Fixnum
The number of cells updated.
Corresponds to the JSON property updatedCells
11116 11117 11118 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 11116 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
11121 11122 11123 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 11121 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
11126 11127 11128 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 11126 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
11132 11133 11134 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 11132 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
11137 11138 11139 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 11137 def updated_rows @updated_rows end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11144 11145 11146 11147 11148 11149 11150 11151 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 11144 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 |