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.
3078 3079 3080 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3078 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
3060 3061 3062 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3060 def coordinate @coordinate end |
#data ⇒ String
The data to insert.
Corresponds to the JSON property data
3054 3055 3056 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3054 def data @data end |
#delimiter ⇒ String
The delimiter in the data.
Corresponds to the JSON property delimiter
3065 3066 3067 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3065 def delimiter @delimiter end |
#html ⇒ Boolean Also known as: html?
True if the data is HTML.
Corresponds to the JSON property html
3075 3076 3077 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3075 def html @html end |
#type ⇒ String
How the data should be pasted.
Corresponds to the JSON property type
3070 3071 3072 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3070 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3083 3084 3085 3086 3087 3088 3089 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3083 def update!(**args) @data = args[:data] if args.key?(:data) @coordinate = args[:coordinate] if args.key?(:coordinate) @delimiter = args[:delimiter] if args.key?(:delimiter) @type = args[:type] if args.key?(:type) @html = args[:html] if args.key?(:html) end |