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_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_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
3998 3999 4000 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3998 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
3946 3947 3948 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3946 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
3976 3977 3978 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3976 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
3941 3942 3943 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3941 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
3996 3997 3998 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3996 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
3951 3952 3953 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3951 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
3986 3987 3988 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3986 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
3966 3967 3968 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3966 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
3971 3972 3973 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3971 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
3956 3957 3958 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3956 def duplicate_sheet @duplicate_sheet end |
#find_replace ⇒ Google::Apis::SheetsV4::FindReplaceResponse
The result of the find/replace.
Corresponds to the JSON property findReplace
3981 3982 3983 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3981 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
3991 3992 3993 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3991 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
3961 3962 3963 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3961 def @update_embedded_object_position end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 4003 def update!(**args) @add_filter_view = args[:add_filter_view] if args.key?(:add_filter_view) @add_banding = args[:add_banding] if args.key?(:add_banding) @add_protected_range = args[:add_protected_range] if args.key?(:add_protected_range) @duplicate_sheet = args[:duplicate_sheet] if args.key?(:duplicate_sheet) @update_embedded_object_position = args[:update_embedded_object_position] if args.key?(:update_embedded_object_position) @delete_conditional_format_rule = args[:delete_conditional_format_rule] if args.key?(:delete_conditional_format_rule) @duplicate_filter_view = args[:duplicate_filter_view] if args.key?(:duplicate_filter_view) @add_chart = args[:add_chart] if args.key?(:add_chart) @find_replace = args[:find_replace] if args.key?(:find_replace) @add_sheet = args[:add_sheet] if args.key?(:add_sheet) @update_conditional_format_rule = args[:update_conditional_format_rule] if args.key?(:update_conditional_format_rule) @add_named_range = args[:add_named_range] if args.key?(:add_named_range) end |