Class: Google::Apis::DocsV1::PinTableHeaderRowsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::PinTableHeaderRowsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/docs_v1/classes.rb,
lib/google/apis/docs_v1/representations.rb,
lib/google/apis/docs_v1/representations.rb
Overview
Updates the number of pinned table header rows in a table.
Instance Attribute Summary collapse
-
#pinned_header_rows_count ⇒ Fixnum
The number of table rows to pin, where 0 implies that all rows are unpinned.
-
#table_start_location ⇒ Google::Apis::DocsV1::Location
A particular location in the document.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PinTableHeaderRowsRequest
constructor
A new instance of PinTableHeaderRowsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PinTableHeaderRowsRequest
Returns a new instance of PinTableHeaderRowsRequest.
3647 3648 3649 |
# File 'lib/google/apis/docs_v1/classes.rb', line 3647 def initialize(**args) update!(**args) end |
Instance Attribute Details
#pinned_header_rows_count ⇒ Fixnum
The number of table rows to pin, where 0 implies that all rows are unpinned.
Corresponds to the JSON property pinnedHeaderRowsCount
3640 3641 3642 |
# File 'lib/google/apis/docs_v1/classes.rb', line 3640 def pinned_header_rows_count @pinned_header_rows_count end |
#table_start_location ⇒ Google::Apis::DocsV1::Location
A particular location in the document.
Corresponds to the JSON property tableStartLocation
3645 3646 3647 |
# File 'lib/google/apis/docs_v1/classes.rb', line 3645 def table_start_location @table_start_location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3652 3653 3654 3655 |
# File 'lib/google/apis/docs_v1/classes.rb', line 3652 def update!(**args) @pinned_header_rows_count = args[:pinned_header_rows_count] if args.key?(:pinned_header_rows_count) @table_start_location = args[:table_start_location] if args.key?(:table_start_location) end |