Class: Google::Apis::SheetsV4::Request
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::Request
- 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
A single kind of update to apply to a spreadsheet.
Instance Attribute Summary collapse
-
#add_chart ⇒ Google::Apis::SheetsV4::AddChartRequest
Adds a chart to a sheet in the spreadsheet.
-
#add_conditional_format_rule ⇒ Google::Apis::SheetsV4::AddConditionalFormatRuleRequest
Adds a new conditional format rule at the given index.
-
#add_filter_view ⇒ Google::Apis::SheetsV4::AddFilterViewRequest
Adds a filter view.
-
#add_named_range ⇒ Google::Apis::SheetsV4::AddNamedRangeRequest
Adds a named range to the spreadsheet.
-
#add_protected_range ⇒ Google::Apis::SheetsV4::AddProtectedRangeRequest
Adds a new protected range.
-
#add_sheet ⇒ Google::Apis::SheetsV4::AddSheetRequest
Adds a new sheet.
-
#append_cells ⇒ Google::Apis::SheetsV4::AppendCellsRequest
Adds new cells after the last row with data in a sheet, inserting new rows into the sheet if necessary.
-
#append_dimension ⇒ Google::Apis::SheetsV4::AppendDimensionRequest
Appends rows or columns to the end of a sheet.
-
#auto_fill ⇒ Google::Apis::SheetsV4::AutoFillRequest
Fills in more data based on existing data.
-
#auto_resize_dimensions ⇒ Google::Apis::SheetsV4::AutoResizeDimensionsRequest
Automatically resizes one or more dimensions based on the contents of the cells in that dimension.
-
#clear_basic_filter ⇒ Google::Apis::SheetsV4::ClearBasicFilterRequest
Clears the basic filter, if any exists on the sheet.
-
#copy_paste ⇒ Google::Apis::SheetsV4::CopyPasteRequest
Copies data from the source to the destination.
-
#cut_paste ⇒ Google::Apis::SheetsV4::CutPasteRequest
Moves data from the source to the destination.
-
#delete_conditional_format_rule ⇒ Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest
Deletes a conditional format rule at the given index.
-
#delete_dimension ⇒ Google::Apis::SheetsV4::DeleteDimensionRequest
Deletes the dimensions from the sheet.
-
#delete_embedded_object ⇒ Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest
Deletes the embedded object with the given ID.
-
#delete_filter_view ⇒ Google::Apis::SheetsV4::DeleteFilterViewRequest
Deletes a particular filter view.
-
#delete_named_range ⇒ Google::Apis::SheetsV4::DeleteNamedRangeRequest
Removes the named range with the given ID from the spreadsheet.
-
#delete_protected_range ⇒ Google::Apis::SheetsV4::DeleteProtectedRangeRequest
Deletes the protected range with the given ID.
-
#delete_sheet ⇒ Google::Apis::SheetsV4::DeleteSheetRequest
Deletes the requested sheet.
-
#duplicate_filter_view ⇒ Google::Apis::SheetsV4::DuplicateFilterViewRequest
Duplicates a particular filter view.
-
#duplicate_sheet ⇒ Google::Apis::SheetsV4::DuplicateSheetRequest
Duplicates the contents of a sheet.
-
#find_replace ⇒ Google::Apis::SheetsV4::FindReplaceRequest
Finds and replaces data in cells over a range, sheet, or all sheets.
-
#insert_dimension ⇒ Google::Apis::SheetsV4::InsertDimensionRequest
Inserts rows or columns in a sheet at a particular index.
-
#merge_cells ⇒ Google::Apis::SheetsV4::MergeCellsRequest
Merges all cells in the range.
-
#move_dimension ⇒ Google::Apis::SheetsV4::MoveDimensionRequest
Moves one or more rows or columns.
-
#paste_data ⇒ Google::Apis::SheetsV4::PasteDataRequest
Inserts data into the spreadsheet starting at the specified coordinate.
-
#repeat_cell ⇒ Google::Apis::SheetsV4::RepeatCellRequest
Updates all cells in the range to the values in the given Cell object.
-
#set_basic_filter ⇒ Google::Apis::SheetsV4::SetBasicFilterRequest
Sets the basic filter associated with a sheet.
-
#set_data_validation ⇒ Google::Apis::SheetsV4::SetDataValidationRequest
Sets a data validation rule to every cell in the range.
-
#sort_range ⇒ Google::Apis::SheetsV4::SortRangeRequest
Sorts data in rows based on a sort order per column.
-
#text_to_columns ⇒ Google::Apis::SheetsV4::TextToColumnsRequest
Splits a column of text into multiple columns, based on a delimiter in each cell.
-
#unmerge_cells ⇒ Google::Apis::SheetsV4::UnmergeCellsRequest
Unmerges cells in the given range.
-
#update_borders ⇒ Google::Apis::SheetsV4::UpdateBordersRequest
Updates the borders of a range.
-
#update_cells ⇒ Google::Apis::SheetsV4::UpdateCellsRequest
Updates all cells in a range with new data.
-
#update_chart_spec ⇒ Google::Apis::SheetsV4::UpdateChartSpecRequest
Updates a chart's specifications.
-
#update_conditional_format_rule ⇒ Google::Apis::SheetsV4::UpdateConditionalFormatRuleRequest
Updates a conditional format rule at the given index, or moves a conditional format rule to another index.
-
#update_dimension_properties ⇒ Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest
Updates properties of dimensions within the specified range.
-
#update_embedded_object_position ⇒ Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest
Update an embedded object's position (such as a moving or resizing a chart or image).
-
#update_filter_view ⇒ Google::Apis::SheetsV4::UpdateFilterViewRequest
Updates properties of the filter view.
-
#update_named_range ⇒ Google::Apis::SheetsV4::UpdateNamedRangeRequest
Updates properties of the named range with the specified namedRangeId.
-
#update_protected_range ⇒ Google::Apis::SheetsV4::UpdateProtectedRangeRequest
Updates an existing protected range with the specified protectedRangeId.
-
#update_sheet_properties ⇒ Google::Apis::SheetsV4::UpdateSheetPropertiesRequest
Updates properties of the sheet with the specified sheetId.
-
#update_spreadsheet_properties ⇒ Google::Apis::SheetsV4::UpdateSpreadsheetPropertiesRequest
Updates properties of a spreadsheet.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Request
constructor
A new instance of Request.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Request
Returns a new instance of Request.
5392 5393 5394 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5392 def initialize(**args) update!(**args) end |
Instance Attribute Details
#add_chart ⇒ Google::Apis::SheetsV4::AddChartRequest
Adds a chart to a sheet in the spreadsheet.
Corresponds to the JSON property addChart
5285 5286 5287 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5285 def add_chart @add_chart end |
#add_conditional_format_rule ⇒ Google::Apis::SheetsV4::AddConditionalFormatRuleRequest
Adds a new conditional format rule at the given index.
All subsequent rules' indexes are incremented.
Corresponds to the JSON property addConditionalFormatRule
5319 5320 5321 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5319 def add_conditional_format_rule @add_conditional_format_rule end |
#add_filter_view ⇒ Google::Apis::SheetsV4::AddFilterViewRequest
Adds a filter view.
Corresponds to the JSON property addFilterView
5156 5157 5158 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5156 def add_filter_view @add_filter_view end |
#add_named_range ⇒ Google::Apis::SheetsV4::AddNamedRangeRequest
Adds a named range to the spreadsheet.
Corresponds to the JSON property addNamedRange
5364 5365 5366 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5364 def add_named_range @add_named_range end |
#add_protected_range ⇒ Google::Apis::SheetsV4::AddProtectedRangeRequest
Adds a new protected range.
Corresponds to the JSON property addProtectedRange
5259 5260 5261 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5259 def add_protected_range @add_protected_range end |
#add_sheet ⇒ Google::Apis::SheetsV4::AddSheetRequest
Adds a new sheet.
When a sheet is added at a given index,
all subsequent sheets' indexes are incremented.
To add an object sheet, use AddChartRequest instead and specify
EmbeddedObjectPosition.sheetId or
EmbeddedObjectPosition.newSheet.
Corresponds to the JSON property addSheet
5228 5229 5230 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5228 def add_sheet @add_sheet end |
#append_cells ⇒ Google::Apis::SheetsV4::AppendCellsRequest
Adds new cells after the last row with data in a sheet,
inserting new rows into the sheet if necessary.
Corresponds to the JSON property appendCells
5359 5360 5361 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5359 def append_cells @append_cells end |
#append_dimension ⇒ Google::Apis::SheetsV4::AppendDimensionRequest
Appends rows or columns to the end of a sheet.
Corresponds to the JSON property appendDimension
5166 5167 5168 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5166 def append_dimension @append_dimension end |
#auto_fill ⇒ Google::Apis::SheetsV4::AutoFillRequest
Fills in more data based on existing data.
Corresponds to the JSON property autoFill
5369 5370 5371 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5369 def auto_fill @auto_fill end |
#auto_resize_dimensions ⇒ Google::Apis::SheetsV4::AutoResizeDimensionsRequest
Automatically resizes one or more dimensions based on the contents
of the cells in that dimension.
Corresponds to the JSON property autoResizeDimensions
5338 5339 5340 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5338 def auto_resize_dimensions @auto_resize_dimensions end |
#clear_basic_filter ⇒ Google::Apis::SheetsV4::ClearBasicFilterRequest
Clears the basic filter, if any exists on the sheet.
Corresponds to the JSON property clearBasicFilter
5187 5188 5189 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5187 def clear_basic_filter @clear_basic_filter end |
#copy_paste ⇒ Google::Apis::SheetsV4::CopyPasteRequest
Copies data from the source to the destination.
Corresponds to the JSON property copyPaste
5390 5391 5392 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5390 def copy_paste @copy_paste end |
#cut_paste ⇒ Google::Apis::SheetsV4::CutPasteRequest
Moves data from the source to the destination.
Corresponds to the JSON property cutPaste
5353 5354 5355 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5353 def cut_paste @cut_paste end |
#delete_conditional_format_rule ⇒ Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest
Deletes a conditional format rule at the given index.
All subsequent rules' indexes are decremented.
Corresponds to the JSON property deleteConditionalFormatRule
5291 5292 5293 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5291 def delete_conditional_format_rule @delete_conditional_format_rule end |
#delete_dimension ⇒ Google::Apis::SheetsV4::DeleteDimensionRequest
Deletes the dimensions from the sheet.
Corresponds to the JSON property deleteDimension
5303 5304 5305 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5303 def delete_dimension @delete_dimension end |
#delete_embedded_object ⇒ Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest
Deletes the embedded object with the given ID.
Corresponds to the JSON property deleteEmbeddedObject
5308 5309 5310 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5308 def @delete_embedded_object end |
#delete_filter_view ⇒ Google::Apis::SheetsV4::DeleteFilterViewRequest
Deletes a particular filter view.
Corresponds to the JSON property deleteFilterView
5182 5183 5184 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5182 def delete_filter_view @delete_filter_view end |
#delete_named_range ⇒ Google::Apis::SheetsV4::DeleteNamedRangeRequest
Removes the named range with the given ID from the spreadsheet.
Corresponds to the JSON property deleteNamedRange
5145 5146 5147 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5145 def delete_named_range @delete_named_range end |
#delete_protected_range ⇒ Google::Apis::SheetsV4::DeleteProtectedRangeRequest
Deletes the protected range with the given ID.
Corresponds to the JSON property deleteProtectedRange
5264 5265 5266 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5264 def delete_protected_range @delete_protected_range end |
#delete_sheet ⇒ Google::Apis::SheetsV4::DeleteSheetRequest
Deletes the requested sheet.
Corresponds to the JSON property deleteSheet
5249 5250 5251 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5249 def delete_sheet @delete_sheet end |
#duplicate_filter_view ⇒ Google::Apis::SheetsV4::DuplicateFilterViewRequest
Duplicates a particular filter view.
Corresponds to the JSON property duplicateFilterView
5348 5349 5350 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5348 def duplicate_filter_view @duplicate_filter_view end |
#duplicate_sheet ⇒ Google::Apis::SheetsV4::DuplicateSheetRequest
Duplicates the contents of a sheet.
Corresponds to the JSON property duplicateSheet
5343 5344 5345 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5343 def duplicate_sheet @duplicate_sheet end |
#find_replace ⇒ Google::Apis::SheetsV4::FindReplaceRequest
Finds and replaces data in cells over a range, sheet, or all sheets.
Corresponds to the JSON property findReplace
5254 5255 5256 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5254 def find_replace @find_replace end |
#insert_dimension ⇒ Google::Apis::SheetsV4::InsertDimensionRequest
Inserts rows or columns in a sheet at a particular index.
Corresponds to the JSON property insertDimension
5385 5386 5387 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5385 def insert_dimension @insert_dimension end |
#merge_cells ⇒ Google::Apis::SheetsV4::MergeCellsRequest
Merges all cells in the range.
Corresponds to the JSON property mergeCells
5280 5281 5282 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5280 def merge_cells @merge_cells end |
#move_dimension ⇒ Google::Apis::SheetsV4::MoveDimensionRequest
Moves one or more rows or columns.
Corresponds to the JSON property moveDimension
5374 5375 5376 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5374 def move_dimension @move_dimension end |
#paste_data ⇒ Google::Apis::SheetsV4::PasteDataRequest
Inserts data into the spreadsheet starting at the specified coordinate.
Corresponds to the JSON property pasteData
5313 5314 5315 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5313 def paste_data @paste_data end |
#repeat_cell ⇒ Google::Apis::SheetsV4::RepeatCellRequest
Updates all cells in the range to the values in the given Cell object.
Only the fields listed in the fields field are updated; others are
unchanged.
If writing a cell with a formula, the formula's ranges will automatically
increment for each field in the range.
For example, if writing a cell with formula =A1
into range B2:C4,
B2 would be =A1
, B3 would be =A2
, B4 would be =A3
,
C2 would be =B1
, C3 would be =B2
, C4 would be =B3
.
To keep the formula's ranges static, use the $
indicator.
For example, use the formula =$A$1
to prevent both the row and the
column from incrementing.
Corresponds to the JSON property repeatCell
5207 5208 5209 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5207 def repeat_cell @repeat_cell end |
#set_basic_filter ⇒ Google::Apis::SheetsV4::SetBasicFilterRequest
Sets the basic filter associated with a sheet.
Corresponds to the JSON property setBasicFilter
5275 5276 5277 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5275 def set_basic_filter @set_basic_filter end |
#set_data_validation ⇒ Google::Apis::SheetsV4::SetDataValidationRequest
Sets a data validation rule to every cell in the range.
To clear validation in a range, call this with no rule specified.
Corresponds to the JSON property setDataValidation
5213 5214 5215 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5213 def set_data_validation @set_data_validation end |
#sort_range ⇒ Google::Apis::SheetsV4::SortRangeRequest
Sorts data in rows based on a sort order per column.
Corresponds to the JSON property sortRange
5192 5193 5194 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5192 def sort_range @sort_range end |
#text_to_columns ⇒ Google::Apis::SheetsV4::TextToColumnsRequest
Splits a column of text into multiple columns,
based on a delimiter in each cell.
Corresponds to the JSON property textToColumns
5380 5381 5382 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5380 def text_to_columns @text_to_columns end |
#unmerge_cells ⇒ Google::Apis::SheetsV4::UnmergeCellsRequest
Unmerges cells in the given range.
Corresponds to the JSON property unmergeCells
5171 5172 5173 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5171 def unmerge_cells @unmerge_cells end |
#update_borders ⇒ Google::Apis::SheetsV4::UpdateBordersRequest
Updates the borders of a range. If a field is not set in the request, that means the border remains as-is. For example, with two subsequent UpdateBordersRequest:
- range: A1:A5
top: RED, bottom: WHITE
- range: A1:A5
left: BLUE
That would result in A1:A5 having a borders oftop: RED, bottom: WHITE, left: BLUE
. If you want to clear a border, explicitly set the style to NONE. Corresponds to the JSON propertyupdateBorders
5332 5333 5334 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5332 def update_borders @update_borders end |
#update_cells ⇒ Google::Apis::SheetsV4::UpdateCellsRequest
Updates all cells in a range with new data.
Corresponds to the JSON property updateCells
5218 5219 5220 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5218 def update_cells @update_cells end |
#update_chart_spec ⇒ Google::Apis::SheetsV4::UpdateChartSpecRequest
Updates a chart's specifications.
(This does not move or resize a chart. To move or resize a chart, use
UpdateEmbeddedObjectPositionRequest.)
Corresponds to the JSON property updateChartSpec
5298 5299 5300 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5298 def update_chart_spec @update_chart_spec end |
#update_conditional_format_rule ⇒ Google::Apis::SheetsV4::UpdateConditionalFormatRuleRequest
Updates a conditional format rule at the given index,
or moves a conditional format rule to another index.
Corresponds to the JSON property updateConditionalFormatRule
5270 5271 5272 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5270 def update_conditional_format_rule @update_conditional_format_rule end |
#update_dimension_properties ⇒ Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest
Updates properties of dimensions within the specified range.
Corresponds to the JSON property updateDimensionProperties
5244 5245 5246 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5244 def update_dimension_properties @update_dimension_properties end |
#update_embedded_object_position ⇒ Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest
Update an embedded object's position (such as a moving or resizing a
chart or image).
Corresponds to the JSON property updateEmbeddedObjectPosition
5140 5141 5142 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5140 def @update_embedded_object_position end |
#update_filter_view ⇒ Google::Apis::SheetsV4::UpdateFilterViewRequest
Updates properties of the filter view.
Corresponds to the JSON property updateFilterView
5233 5234 5235 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5233 def update_filter_view @update_filter_view end |
#update_named_range ⇒ Google::Apis::SheetsV4::UpdateNamedRangeRequest
Updates properties of the named range with the specified
namedRangeId.
Corresponds to the JSON property updateNamedRange
5151 5152 5153 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5151 def update_named_range @update_named_range end |
#update_protected_range ⇒ Google::Apis::SheetsV4::UpdateProtectedRangeRequest
Updates an existing protected range with the specified
protectedRangeId.
Corresponds to the JSON property updateProtectedRange
5177 5178 5179 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5177 def update_protected_range @update_protected_range end |
#update_sheet_properties ⇒ Google::Apis::SheetsV4::UpdateSheetPropertiesRequest
Updates properties of the sheet with the specified
sheetId.
Corresponds to the JSON property updateSheetProperties
5239 5240 5241 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5239 def update_sheet_properties @update_sheet_properties end |
#update_spreadsheet_properties ⇒ Google::Apis::SheetsV4::UpdateSpreadsheetPropertiesRequest
Updates properties of a spreadsheet.
Corresponds to the JSON property updateSpreadsheetProperties
5161 5162 5163 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5161 def update_spreadsheet_properties @update_spreadsheet_properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5397 def update!(**args) @update_embedded_object_position = args[:update_embedded_object_position] if args.key?(:update_embedded_object_position) @delete_named_range = args[:delete_named_range] if args.key?(:delete_named_range) @update_named_range = args[:update_named_range] if args.key?(:update_named_range) @add_filter_view = args[:add_filter_view] if args.key?(:add_filter_view) @update_spreadsheet_properties = args[:update_spreadsheet_properties] if args.key?(:update_spreadsheet_properties) @append_dimension = args[:append_dimension] if args.key?(:append_dimension) @unmerge_cells = args[:unmerge_cells] if args.key?(:unmerge_cells) @update_protected_range = args[:update_protected_range] if args.key?(:update_protected_range) @delete_filter_view = args[:delete_filter_view] if args.key?(:delete_filter_view) @clear_basic_filter = args[:clear_basic_filter] if args.key?(:clear_basic_filter) @sort_range = args[:sort_range] if args.key?(:sort_range) @repeat_cell = args[:repeat_cell] if args.key?(:repeat_cell) @set_data_validation = args[:set_data_validation] if args.key?(:set_data_validation) @update_cells = args[:update_cells] if args.key?(:update_cells) @add_sheet = args[:add_sheet] if args.key?(:add_sheet) @update_filter_view = args[:update_filter_view] if args.key?(:update_filter_view) @update_sheet_properties = args[:update_sheet_properties] if args.key?(:update_sheet_properties) @update_dimension_properties = args[:update_dimension_properties] if args.key?(:update_dimension_properties) @delete_sheet = args[:delete_sheet] if args.key?(:delete_sheet) @find_replace = args[:find_replace] if args.key?(:find_replace) @add_protected_range = args[:add_protected_range] if args.key?(:add_protected_range) @delete_protected_range = args[:delete_protected_range] if args.key?(:delete_protected_range) @update_conditional_format_rule = args[:update_conditional_format_rule] if args.key?(:update_conditional_format_rule) @set_basic_filter = args[:set_basic_filter] if args.key?(:set_basic_filter) @merge_cells = args[:merge_cells] if args.key?(:merge_cells) @add_chart = args[:add_chart] if args.key?(:add_chart) @delete_conditional_format_rule = args[:delete_conditional_format_rule] if args.key?(:delete_conditional_format_rule) @update_chart_spec = args[:update_chart_spec] if args.key?(:update_chart_spec) @delete_dimension = args[:delete_dimension] if args.key?(:delete_dimension) @delete_embedded_object = args[:delete_embedded_object] if args.key?(:delete_embedded_object) @paste_data = args[:paste_data] if args.key?(:paste_data) @add_conditional_format_rule = args[:add_conditional_format_rule] if args.key?(:add_conditional_format_rule) @update_borders = args[:update_borders] if args.key?(:update_borders) @auto_resize_dimensions = args[:auto_resize_dimensions] if args.key?(:auto_resize_dimensions) @duplicate_sheet = args[:duplicate_sheet] if args.key?(:duplicate_sheet) @duplicate_filter_view = args[:duplicate_filter_view] if args.key?(:duplicate_filter_view) @cut_paste = args[:cut_paste] if args.key?(:cut_paste) @append_cells = args[:append_cells] if args.key?(:append_cells) @add_named_range = args[:add_named_range] if args.key?(:add_named_range) @auto_fill = args[:auto_fill] if args.key?(:auto_fill) @move_dimension = args[:move_dimension] if args.key?(:move_dimension) @text_to_columns = args[:text_to_columns] if args.key?(:text_to_columns) @insert_dimension = args[:insert_dimension] if args.key?(:insert_dimension) @copy_paste = args[:copy_paste] if args.key?(:copy_paste) end |