Class: Google::Apis::DocsV1::InsertTableRequest
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::InsertTableRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/docs_v1/classes.rb,
generated/google/apis/docs_v1/representations.rb,
generated/google/apis/docs_v1/representations.rb
Overview
Inserts a table at the specified location. A newline character will be inserted before the inserted table.
Instance Attribute Summary collapse
-
#columns ⇒ Fixnum
The number of columns in the table.
-
#end_of_segment_location ⇒ Google::Apis::DocsV1::EndOfSegmentLocation
Location at the end of a body, header, footer or footnote.
-
#location ⇒ Google::Apis::DocsV1::Location
A particular location in the document.
-
#rows ⇒ Fixnum
The number of rows in the table.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InsertTableRequest
constructor
A new instance of InsertTableRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ InsertTableRequest
Returns a new instance of InsertTableRequest
2160 2161 2162 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2160 def initialize(**args) update!(**args) end |
Instance Attribute Details
#columns ⇒ Fixnum
The number of columns in the table.
Corresponds to the JSON property columns
2142 2143 2144 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2142 def columns @columns end |
#end_of_segment_location ⇒ Google::Apis::DocsV1::EndOfSegmentLocation
Location at the end of a body, header, footer or footnote. The location is
immediately before the last newline in the document segment.
Corresponds to the JSON property endOfSegmentLocation
2148 2149 2150 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2148 def end_of_segment_location @end_of_segment_location end |
#location ⇒ Google::Apis::DocsV1::Location
A particular location in the document.
Corresponds to the JSON property location
2153 2154 2155 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2153 def location @location end |
#rows ⇒ Fixnum
The number of rows in the table.
Corresponds to the JSON property rows
2158 2159 2160 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2158 def rows @rows end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2165 2166 2167 2168 2169 2170 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2165 def update!(**args) @columns = args[:columns] if args.key?(:columns) @end_of_segment_location = args[:end_of_segment_location] if args.key?(:end_of_segment_location) @location = args[:location] if args.key?(:location) @rows = args[:rows] if args.key?(:rows) end |