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.
6976 6977 6978 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 6976 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
6953 6954 6955 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 6953 def coordinate @coordinate end |
#data ⇒ String
The data to insert.
Corresponds to the JSON property data
6958 6959 6960 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 6958 def data @data end |
#delimiter ⇒ String
The delimiter in the data.
Corresponds to the JSON property delimiter
6963 6964 6965 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 6963 def delimiter @delimiter end |
#html ⇒ Boolean Also known as: html?
True if the data is HTML.
Corresponds to the JSON property html
6968 6969 6970 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 6968 def html @html end |
#type ⇒ String
How the data should be pasted.
Corresponds to the JSON property type
6974 6975 6976 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 6974 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6981 6982 6983 6984 6985 6986 6987 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 6981 def update!(**args) @coordinate = args[:coordinate] if args.key?(:coordinate) @data = args[:data] if args.key?(:data) @delimiter = args[:delimiter] if args.key?(:delimiter) @html = args[:html] if args.key?(:html) @type = args[:type] if args.key?(:type) end |