Class: Google::Apis::SheetsV4::AppendValuesResponse

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

The response when updating a range of values in a spreadsheet.

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) ⇒ AppendValuesResponse

Returns a new instance of AppendValuesResponse



3469
3470
3471
# File 'generated/google/apis/sheets_v4/classes.rb', line 3469

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

Instance Attribute Details

#spreadsheet_idString

The spreadsheet the updates were applied to. Corresponds to the JSON property spreadsheetId

Returns:

  • (String)


3467
3468
3469
# File 'generated/google/apis/sheets_v4/classes.rb', line 3467

def spreadsheet_id
  @spreadsheet_id
end

#table_rangeString

The range (in A1 notation) of the table that values are being appended to (before the values were appended). Empty if no table was found. Corresponds to the JSON property tableRange

Returns:

  • (String)


3462
3463
3464
# File 'generated/google/apis/sheets_v4/classes.rb', line 3462

def table_range
  @table_range
end

#updatesGoogle::Apis::SheetsV4::UpdateValuesResponse

The response when updating a range of values in a spreadsheet. Corresponds to the JSON property updates



3455
3456
3457
# File 'generated/google/apis/sheets_v4/classes.rb', line 3455

def updates
  @updates
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3474
3475
3476
3477
3478
# File 'generated/google/apis/sheets_v4/classes.rb', line 3474

def update!(**args)
  @updates = args[:updates] if args.key?(:updates)
  @table_range = args[:table_range] if args.key?(:table_range)
  @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id)
end