Class: Google::Apis::SheetsV4::Response
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::Response
- 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
A single response from an update.
Instance Attribute Summary collapse
-
#add_banding ⇒ Google::Apis::SheetsV4::AddBandingResponse
The result of adding a banded range.
-
#add_chart ⇒ Google::Apis::SheetsV4::AddChartResponse
The result of adding a chart to a spreadsheet.
-
#add_data_source ⇒ Google::Apis::SheetsV4::AddDataSourceResponse
The result of adding a data source.
-
#add_dimension_group ⇒ Google::Apis::SheetsV4::AddDimensionGroupResponse
The result of adding a group.
-
#add_filter_view ⇒ Google::Apis::SheetsV4::AddFilterViewResponse
The result of adding a filter view.
-
#add_named_range ⇒ Google::Apis::SheetsV4::AddNamedRangeResponse
The result of adding a named range.
-
#add_protected_range ⇒ Google::Apis::SheetsV4::AddProtectedRangeResponse
The result of adding a new protected range.
-
#add_sheet ⇒ Google::Apis::SheetsV4::AddSheetResponse
The result of adding a sheet.
-
#add_slicer ⇒ Google::Apis::SheetsV4::AddSlicerResponse
The result of adding a slicer to a spreadsheet.
-
#create_developer_metadata ⇒ Google::Apis::SheetsV4::CreateDeveloperMetadataResponse
The response from creating developer metadata.
-
#delete_conditional_format_rule ⇒ Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse
The result of deleting a conditional format rule.
-
#delete_developer_metadata ⇒ Google::Apis::SheetsV4::DeleteDeveloperMetadataResponse
The response from deleting developer metadata.
-
#delete_dimension_group ⇒ Google::Apis::SheetsV4::DeleteDimensionGroupResponse
The result of deleting a group.
-
#delete_duplicates ⇒ Google::Apis::SheetsV4::DeleteDuplicatesResponse
The result of removing duplicates in a range.
-
#duplicate_filter_view ⇒ Google::Apis::SheetsV4::DuplicateFilterViewResponse
The result of a filter view being duplicated.
-
#duplicate_sheet ⇒ Google::Apis::SheetsV4::DuplicateSheetResponse
The result of duplicating a sheet.
-
#find_replace ⇒ Google::Apis::SheetsV4::FindReplaceResponse
The result of the find/replace.
-
#refresh_data_source ⇒ Google::Apis::SheetsV4::RefreshDataSourceResponse
The response from refreshing one or multiple data source objects.
-
#trim_whitespace ⇒ Google::Apis::SheetsV4::TrimWhitespaceResponse
The result of trimming whitespace in cells.
-
#update_conditional_format_rule ⇒ Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse
The result of updating a conditional format rule.
-
#update_data_source ⇒ Google::Apis::SheetsV4::UpdateDataSourceResponse
The response from updating data source.
-
#update_developer_metadata ⇒ Google::Apis::SheetsV4::UpdateDeveloperMetadataResponse
The response from updating developer metadata.
-
#update_embedded_object_position ⇒ Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse
The result of updating an embedded object's position.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Response
constructor
A new instance of Response.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Response
Returns a new instance of Response.
8457 8458 8459 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8457 def initialize(**args) update!(**args) end |
Instance Attribute Details
#add_banding ⇒ Google::Apis::SheetsV4::AddBandingResponse
The result of adding a banded range.
Corresponds to the JSON property addBanding
8345 8346 8347 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8345 def add_banding @add_banding end |
#add_chart ⇒ Google::Apis::SheetsV4::AddChartResponse
The result of adding a chart to a spreadsheet.
Corresponds to the JSON property addChart
8350 8351 8352 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8350 def add_chart @add_chart end |
#add_data_source ⇒ Google::Apis::SheetsV4::AddDataSourceResponse
The result of adding a data source.
Corresponds to the JSON property addDataSource
8355 8356 8357 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8355 def add_data_source @add_data_source end |
#add_dimension_group ⇒ Google::Apis::SheetsV4::AddDimensionGroupResponse
The result of adding a group.
Corresponds to the JSON property addDimensionGroup
8360 8361 8362 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8360 def add_dimension_group @add_dimension_group end |
#add_filter_view ⇒ Google::Apis::SheetsV4::AddFilterViewResponse
The result of adding a filter view.
Corresponds to the JSON property addFilterView
8365 8366 8367 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8365 def add_filter_view @add_filter_view end |
#add_named_range ⇒ Google::Apis::SheetsV4::AddNamedRangeResponse
The result of adding a named range.
Corresponds to the JSON property addNamedRange
8370 8371 8372 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8370 def add_named_range @add_named_range end |
#add_protected_range ⇒ Google::Apis::SheetsV4::AddProtectedRangeResponse
The result of adding a new protected range.
Corresponds to the JSON property addProtectedRange
8375 8376 8377 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8375 def add_protected_range @add_protected_range end |
#add_sheet ⇒ Google::Apis::SheetsV4::AddSheetResponse
The result of adding a sheet.
Corresponds to the JSON property addSheet
8380 8381 8382 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8380 def add_sheet @add_sheet end |
#add_slicer ⇒ Google::Apis::SheetsV4::AddSlicerResponse
The result of adding a slicer to a spreadsheet.
Corresponds to the JSON property addSlicer
8385 8386 8387 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8385 def add_slicer @add_slicer end |
#create_developer_metadata ⇒ Google::Apis::SheetsV4::CreateDeveloperMetadataResponse
The response from creating developer metadata.
Corresponds to the JSON property createDeveloperMetadata
8390 8391 8392 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8390 def @create_developer_metadata end |
#delete_conditional_format_rule ⇒ Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse
The result of deleting a conditional format rule.
Corresponds to the JSON property deleteConditionalFormatRule
8395 8396 8397 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8395 def delete_conditional_format_rule @delete_conditional_format_rule end |
#delete_developer_metadata ⇒ Google::Apis::SheetsV4::DeleteDeveloperMetadataResponse
The response from deleting developer metadata.
Corresponds to the JSON property deleteDeveloperMetadata
8400 8401 8402 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8400 def @delete_developer_metadata end |
#delete_dimension_group ⇒ Google::Apis::SheetsV4::DeleteDimensionGroupResponse
The result of deleting a group.
Corresponds to the JSON property deleteDimensionGroup
8405 8406 8407 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8405 def delete_dimension_group @delete_dimension_group end |
#delete_duplicates ⇒ Google::Apis::SheetsV4::DeleteDuplicatesResponse
The result of removing duplicates in a range.
Corresponds to the JSON property deleteDuplicates
8410 8411 8412 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8410 def delete_duplicates @delete_duplicates end |
#duplicate_filter_view ⇒ Google::Apis::SheetsV4::DuplicateFilterViewResponse
The result of a filter view being duplicated.
Corresponds to the JSON property duplicateFilterView
8415 8416 8417 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8415 def duplicate_filter_view @duplicate_filter_view end |
#duplicate_sheet ⇒ Google::Apis::SheetsV4::DuplicateSheetResponse
The result of duplicating a sheet.
Corresponds to the JSON property duplicateSheet
8420 8421 8422 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8420 def duplicate_sheet @duplicate_sheet end |
#find_replace ⇒ Google::Apis::SheetsV4::FindReplaceResponse
The result of the find/replace.
Corresponds to the JSON property findReplace
8425 8426 8427 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8425 def find_replace @find_replace end |
#refresh_data_source ⇒ Google::Apis::SheetsV4::RefreshDataSourceResponse
The response from refreshing one or multiple data source objects.
Corresponds to the JSON property refreshDataSource
8430 8431 8432 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8430 def refresh_data_source @refresh_data_source end |
#trim_whitespace ⇒ Google::Apis::SheetsV4::TrimWhitespaceResponse
The result of trimming whitespace in cells.
Corresponds to the JSON property trimWhitespace
8435 8436 8437 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8435 def trim_whitespace @trim_whitespace end |
#update_conditional_format_rule ⇒ Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse
The result of updating a conditional format rule.
Corresponds to the JSON property updateConditionalFormatRule
8440 8441 8442 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8440 def update_conditional_format_rule @update_conditional_format_rule end |
#update_data_source ⇒ Google::Apis::SheetsV4::UpdateDataSourceResponse
The response from updating data source.
Corresponds to the JSON property updateDataSource
8445 8446 8447 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8445 def update_data_source @update_data_source end |
#update_developer_metadata ⇒ Google::Apis::SheetsV4::UpdateDeveloperMetadataResponse
The response from updating developer metadata.
Corresponds to the JSON property updateDeveloperMetadata
8450 8451 8452 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8450 def @update_developer_metadata end |
#update_embedded_object_position ⇒ Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse
The result of updating an embedded object's position.
Corresponds to the JSON property updateEmbeddedObjectPosition
8455 8456 8457 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8455 def @update_embedded_object_position end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8462 def update!(**args) @add_banding = args[:add_banding] if args.key?(:add_banding) @add_chart = args[:add_chart] if args.key?(:add_chart) @add_data_source = args[:add_data_source] if args.key?(:add_data_source) @add_dimension_group = args[:add_dimension_group] if args.key?(:add_dimension_group) @add_filter_view = args[:add_filter_view] if args.key?(:add_filter_view) @add_named_range = args[:add_named_range] if args.key?(:add_named_range) @add_protected_range = args[:add_protected_range] if args.key?(:add_protected_range) @add_sheet = args[:add_sheet] if args.key?(:add_sheet) @add_slicer = args[:add_slicer] if args.key?(:add_slicer) @create_developer_metadata = args[:create_developer_metadata] if args.key?(:create_developer_metadata) @delete_conditional_format_rule = args[:delete_conditional_format_rule] if args.key?(:delete_conditional_format_rule) @delete_developer_metadata = args[:delete_developer_metadata] if args.key?(:delete_developer_metadata) @delete_dimension_group = args[:delete_dimension_group] if args.key?(:delete_dimension_group) @delete_duplicates = args[:delete_duplicates] if args.key?(:delete_duplicates) @duplicate_filter_view = args[:duplicate_filter_view] if args.key?(:duplicate_filter_view) @duplicate_sheet = args[:duplicate_sheet] if args.key?(:duplicate_sheet) @find_replace = args[:find_replace] if args.key?(:find_replace) @refresh_data_source = args[:refresh_data_source] if args.key?(:refresh_data_source) @trim_whitespace = args[:trim_whitespace] if args.key?(:trim_whitespace) @update_conditional_format_rule = args[:update_conditional_format_rule] if args.key?(:update_conditional_format_rule) @update_data_source = args[:update_data_source] if args.key?(:update_data_source) @update_developer_metadata = args[:update_developer_metadata] if args.key?(:update_developer_metadata) @update_embedded_object_position = args[:update_embedded_object_position] if args.key?(:update_embedded_object_position) end |