Class: Google::Apis::SheetsV4::AppendDimensionRequest
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::AppendDimensionRequest
- 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
Appends rows or columns to the end of a sheet.
Instance Attribute Summary collapse
-
#dimension ⇒ String
Whether rows or columns should be appended.
-
#length ⇒ Fixnum
The number of rows or columns to append.
-
#sheet_id ⇒ Fixnum
The sheet to append rows or columns to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppendDimensionRequest
constructor
A new instance of AppendDimensionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AppendDimensionRequest
Returns a new instance of AppendDimensionRequest
1256 1257 1258 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1256 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension ⇒ String
Whether rows or columns should be appended.
Corresponds to the JSON property dimension
1244 1245 1246 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1244 def dimension @dimension end |
#length ⇒ Fixnum
The number of rows or columns to append.
Corresponds to the JSON property length
1249 1250 1251 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1249 def length @length end |
#sheet_id ⇒ Fixnum
The sheet to append rows or columns to.
Corresponds to the JSON property sheetId
1254 1255 1256 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1254 def sheet_id @sheet_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1261 1262 1263 1264 1265 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1261 def update!(**args) @dimension = args[:dimension] if args.key?(:dimension) @length = args[:length] if args.key?(:length) @sheet_id = args[:sheet_id] if args.key?(:sheet_id) end |