Class: Google::Apis::SheetsV4::Response

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Response

Returns a new instance of Response



5933
5934
5935
# File 'generated/google/apis/sheets_v4/classes.rb', line 5933

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#add_bandingGoogle::Apis::SheetsV4::AddBandingResponse

The result of adding a banded range. Corresponds to the JSON property addBanding



5876
5877
5878
# File 'generated/google/apis/sheets_v4/classes.rb', line 5876

def add_banding
  @add_banding
end

#add_chartGoogle::Apis::SheetsV4::AddChartResponse

The result of adding a chart to a spreadsheet. Corresponds to the JSON property addChart



5881
5882
5883
# File 'generated/google/apis/sheets_v4/classes.rb', line 5881

def add_chart
  @add_chart
end

#add_filter_viewGoogle::Apis::SheetsV4::AddFilterViewResponse

The result of adding a filter view. Corresponds to the JSON property addFilterView



5886
5887
5888
# File 'generated/google/apis/sheets_v4/classes.rb', line 5886

def add_filter_view
  @add_filter_view
end

#add_named_rangeGoogle::Apis::SheetsV4::AddNamedRangeResponse

The result of adding a named range. Corresponds to the JSON property addNamedRange



5891
5892
5893
# File 'generated/google/apis/sheets_v4/classes.rb', line 5891

def add_named_range
  @add_named_range
end

#add_protected_rangeGoogle::Apis::SheetsV4::AddProtectedRangeResponse

The result of adding a new protected range. Corresponds to the JSON property addProtectedRange



5896
5897
5898
# File 'generated/google/apis/sheets_v4/classes.rb', line 5896

def add_protected_range
  @add_protected_range
end

#add_sheetGoogle::Apis::SheetsV4::AddSheetResponse

The result of adding a sheet. Corresponds to the JSON property addSheet



5901
5902
5903
# File 'generated/google/apis/sheets_v4/classes.rb', line 5901

def add_sheet
  @add_sheet
end

#delete_conditional_format_ruleGoogle::Apis::SheetsV4::DeleteConditionalFormatRuleResponse

The result of deleting a conditional format rule. Corresponds to the JSON property deleteConditionalFormatRule



5906
5907
5908
# File 'generated/google/apis/sheets_v4/classes.rb', line 5906

def delete_conditional_format_rule
  @delete_conditional_format_rule
end

#duplicate_filter_viewGoogle::Apis::SheetsV4::DuplicateFilterViewResponse

The result of a filter view being duplicated. Corresponds to the JSON property duplicateFilterView



5911
5912
5913
# File 'generated/google/apis/sheets_v4/classes.rb', line 5911

def duplicate_filter_view
  @duplicate_filter_view
end

#duplicate_sheetGoogle::Apis::SheetsV4::DuplicateSheetResponse

The result of duplicating a sheet. Corresponds to the JSON property duplicateSheet



5916
5917
5918
# File 'generated/google/apis/sheets_v4/classes.rb', line 5916

def duplicate_sheet
  @duplicate_sheet
end

#find_replaceGoogle::Apis::SheetsV4::FindReplaceResponse

The result of the find/replace. Corresponds to the JSON property findReplace



5921
5922
5923
# File 'generated/google/apis/sheets_v4/classes.rb', line 5921

def find_replace
  @find_replace
end

#update_conditional_format_ruleGoogle::Apis::SheetsV4::UpdateConditionalFormatRuleResponse

The result of updating a conditional format rule. Corresponds to the JSON property updateConditionalFormatRule



5926
5927
5928
# File 'generated/google/apis/sheets_v4/classes.rb', line 5926

def update_conditional_format_rule
  @update_conditional_format_rule
end

#update_embedded_object_positionGoogle::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse

The result of updating an embedded object's position. Corresponds to the JSON property updateEmbeddedObjectPosition



5931
5932
5933
# File 'generated/google/apis/sheets_v4/classes.rb', line 5931

def update_embedded_object_position
  @update_embedded_object_position
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
# File 'generated/google/apis/sheets_v4/classes.rb', line 5938

def update!(**args)
  @add_banding = args[:add_banding] if args.key?(:add_banding)
  @add_chart = args[:add_chart] if args.key?(:add_chart)
  @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)
  @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)
  @duplicate_sheet = args[:duplicate_sheet] if args.key?(:duplicate_sheet)
  @find_replace = args[:find_replace] if args.key?(:find_replace)
  @update_conditional_format_rule = args[:update_conditional_format_rule] if args.key?(:update_conditional_format_rule)
  @update_embedded_object_position = args[:update_embedded_object_position] if args.key?(:update_embedded_object_position)
end