Class: Google::Apis::SheetsV4::PasteDataRequest
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::PasteDataRequest
- 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
Inserts data into the spreadsheet starting at the specified coordinate.
Instance Attribute Summary collapse
-
#coordinate ⇒ Google::Apis::SheetsV4::GridCoordinate
A coordinate in a sheet.
-
#data ⇒ String
The data to insert.
-
#delimiter ⇒ String
The delimiter in the data.
-
#html ⇒ Boolean
(also: #html?)
True if the data is HTML.
-
#type ⇒ String
How the data should be pasted.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PasteDataRequest
constructor
A new instance of PasteDataRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PasteDataRequest
Returns a new instance of PasteDataRequest
5457 5458 5459 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5457 def initialize(**args) update!(**args) end |
Instance Attribute Details
#coordinate ⇒ Google::Apis::SheetsV4::GridCoordinate
A coordinate in a sheet.
All indexes are zero-based.
Corresponds to the JSON property coordinate
5455 5456 5457 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5455 def coordinate @coordinate end |
#data ⇒ String
The data to insert.
Corresponds to the JSON property data
5433 5434 5435 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5433 def data @data end |
#delimiter ⇒ String
The delimiter in the data.
Corresponds to the JSON property delimiter
5438 5439 5440 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5438 def delimiter @delimiter end |
#html ⇒ Boolean Also known as: html?
True if the data is HTML.
Corresponds to the JSON property html
5448 5449 5450 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5448 def html @html end |
#type ⇒ String
How the data should be pasted.
Corresponds to the JSON property type
5443 5444 5445 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5443 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5462 5463 5464 5465 5466 5467 5468 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5462 def update!(**args) @data = args[:data] if args.key?(:data) @delimiter = args[:delimiter] if args.key?(:delimiter) @type = args[:type] if args.key?(:type) @html = args[:html] if args.key?(:html) @coordinate = args[:coordinate] if args.key?(:coordinate) end |