Class: Google::Apis::SheetsV4::AppendValuesResponse
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::AppendValuesResponse
- 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
-
#spreadsheet_id ⇒ String
The spreadsheet the updates were applied to.
-
#table_range ⇒ String
The range (in A1 notation) of the table that values are being appended to (before the values were appended).
-
#updates ⇒ Google::Apis::SheetsV4::UpdateValuesResponse
The response when updating a range of values in a spreadsheet.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppendValuesResponse
constructor
A new instance of AppendValuesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AppendValuesResponse
Returns a new instance of AppendValuesResponse.
2129 2130 2131 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 2129 def initialize(**args) update!(**args) end |
Instance Attribute Details
#spreadsheet_id ⇒ String
The spreadsheet the updates were applied to.
Corresponds to the JSON property spreadsheetId
2115 2116 2117 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 2115 def spreadsheet_id @spreadsheet_id end |
#table_range ⇒ String
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
2122 2123 2124 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 2122 def table_range @table_range end |
#updates ⇒ Google::Apis::SheetsV4::UpdateValuesResponse
The response when updating a range of values in a spreadsheet.
Corresponds to the JSON property updates
2127 2128 2129 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 2127 def updates @updates end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2134 2135 2136 2137 2138 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 2134 def update!(**args) @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) @table_range = args[:table_range] if args.key?(:table_range) @updates = args[:updates] if args.key?(:updates) end |