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



7407
7408
7409
# File 'generated/google/apis/sheets_v4/classes.rb', line 7407

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



7325
7326
7327
# File 'generated/google/apis/sheets_v4/classes.rb', line 7325

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



7330
7331
7332
# File 'generated/google/apis/sheets_v4/classes.rb', line 7330

def add_chart
  @add_chart
end

#add_dimension_groupGoogle::Apis::SheetsV4::AddDimensionGroupResponse

The result of adding a group. Corresponds to the JSON property addDimensionGroup



7335
7336
7337
# File 'generated/google/apis/sheets_v4/classes.rb', line 7335

def add_dimension_group
  @add_dimension_group
end

#add_filter_viewGoogle::Apis::SheetsV4::AddFilterViewResponse

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



7340
7341
7342
# File 'generated/google/apis/sheets_v4/classes.rb', line 7340

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



7345
7346
7347
# File 'generated/google/apis/sheets_v4/classes.rb', line 7345

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



7350
7351
7352
# File 'generated/google/apis/sheets_v4/classes.rb', line 7350

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



7355
7356
7357
# File 'generated/google/apis/sheets_v4/classes.rb', line 7355

def add_sheet
  @add_sheet
end

#create_developer_metadataGoogle::Apis::SheetsV4::CreateDeveloperMetadataResponse

The response from creating developer metadata. Corresponds to the JSON property createDeveloperMetadata



7360
7361
7362
# File 'generated/google/apis/sheets_v4/classes.rb', line 7360

def 
  @create_developer_metadata
end

#delete_conditional_format_ruleGoogle::Apis::SheetsV4::DeleteConditionalFormatRuleResponse

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



7365
7366
7367
# File 'generated/google/apis/sheets_v4/classes.rb', line 7365

def delete_conditional_format_rule
  @delete_conditional_format_rule
end

#delete_developer_metadataGoogle::Apis::SheetsV4::DeleteDeveloperMetadataResponse

The response from deleting developer metadata. Corresponds to the JSON property deleteDeveloperMetadata



7370
7371
7372
# File 'generated/google/apis/sheets_v4/classes.rb', line 7370

def 
  @delete_developer_metadata
end

#delete_dimension_groupGoogle::Apis::SheetsV4::DeleteDimensionGroupResponse

The result of deleting a group. Corresponds to the JSON property deleteDimensionGroup



7375
7376
7377
# File 'generated/google/apis/sheets_v4/classes.rb', line 7375

def delete_dimension_group
  @delete_dimension_group
end

#duplicate_filter_viewGoogle::Apis::SheetsV4::DuplicateFilterViewResponse

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



7380
7381
7382
# File 'generated/google/apis/sheets_v4/classes.rb', line 7380

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



7385
7386
7387
# File 'generated/google/apis/sheets_v4/classes.rb', line 7385

def duplicate_sheet
  @duplicate_sheet
end

#find_replaceGoogle::Apis::SheetsV4::FindReplaceResponse

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



7390
7391
7392
# File 'generated/google/apis/sheets_v4/classes.rb', line 7390

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



7395
7396
7397
# File 'generated/google/apis/sheets_v4/classes.rb', line 7395

def update_conditional_format_rule
  @update_conditional_format_rule
end

#update_developer_metadataGoogle::Apis::SheetsV4::UpdateDeveloperMetadataResponse

The response from updating developer metadata. Corresponds to the JSON property updateDeveloperMetadata



7400
7401
7402
# File 'generated/google/apis/sheets_v4/classes.rb', line 7400

def 
  @update_developer_metadata
end

#update_embedded_object_positionGoogle::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse

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



7405
7406
7407
# File 'generated/google/apis/sheets_v4/classes.rb', line 7405

def update_embedded_object_position
  @update_embedded_object_position
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
# File 'generated/google/apis/sheets_v4/classes.rb', line 7412

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