Class: Google::Apis::SheetsV4::Response
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::Response
- 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 response from an update.
Instance Attribute Summary collapse
-
#add_chart ⇒ Google::Apis::SheetsV4::AddChartResponse
The result of adding a chart to a spreadsheet.
-
#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.
-
#delete_conditional_format_rule ⇒ Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse
The result of deleting a conditional format rule.
-
#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.
-
#update_conditional_format_rule ⇒ Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse
The result of updating a conditional format rule.
-
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Response
Returns a new instance of Response.
1060 1061 1062 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1060 def initialize(**args) update!(**args) end |
Instance Attribute Details
#add_chart ⇒ Google::Apis::SheetsV4::AddChartResponse
The result of adding a chart to a spreadsheet.
Corresponds to the JSON property addChart
1038 1039 1040 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1038 def add_chart @add_chart end |
#add_filter_view ⇒ Google::Apis::SheetsV4::AddFilterViewResponse
The result of adding a filter view.
Corresponds to the JSON property addFilterView
1013 1014 1015 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1013 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
1058 1059 1060 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1058 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
1028 1029 1030 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1028 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
1018 1019 1020 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1018 def add_sheet @add_sheet end |
#delete_conditional_format_rule ⇒ Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse
The result of deleting a conditional format rule.
Corresponds to the JSON property deleteConditionalFormatRule
1043 1044 1045 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1043 def delete_conditional_format_rule @delete_conditional_format_rule end |
#duplicate_filter_view ⇒ Google::Apis::SheetsV4::DuplicateFilterViewResponse
The result of a filter view being duplicated.
Corresponds to the JSON property duplicateFilterView
1053 1054 1055 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1053 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
1048 1049 1050 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1048 def duplicate_sheet @duplicate_sheet end |
#find_replace ⇒ Google::Apis::SheetsV4::FindReplaceResponse
The result of the find/replace.
Corresponds to the JSON property findReplace
1023 1024 1025 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1023 def find_replace @find_replace end |
#update_conditional_format_rule ⇒ Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse
The result of updating a conditional format rule.
Corresponds to the JSON property updateConditionalFormatRule
1033 1034 1035 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1033 def update_conditional_format_rule @update_conditional_format_rule end |
#update_embedded_object_position ⇒ Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse
The result of updating an embedded object's position.
Corresponds to the JSON property updateEmbeddedObjectPosition
1008 1009 1010 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1008 def @update_embedded_object_position end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1065 def update!(**args) @update_embedded_object_position = args[:update_embedded_object_position] if args.key?(:update_embedded_object_position) @add_filter_view = args[:add_filter_view] if args.key?(:add_filter_view) @add_sheet = args[:add_sheet] if args.key?(:add_sheet) @find_replace = args[:find_replace] if args.key?(:find_replace) @add_protected_range = args[:add_protected_range] if args.key?(:add_protected_range) @update_conditional_format_rule = args[:update_conditional_format_rule] if args.key?(:update_conditional_format_rule) @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) @duplicate_sheet = args[:duplicate_sheet] if args.key?(:duplicate_sheet) @duplicate_filter_view = args[:duplicate_filter_view] if args.key?(:duplicate_filter_view) @add_named_range = args[:add_named_range] if args.key?(:add_named_range) end |