Class: Google::Apis::DocsV1::PinTableHeaderRowsRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PinTableHeaderRowsRequest

Returns a new instance of PinTableHeaderRowsRequest.



3653
3654
3655
# File 'lib/google/apis/docs_v1/classes.rb', line 3653

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#pinned_header_rows_countFixnum

The number of table rows to pin, where 0 implies that all rows are unpinned. Corresponds to the JSON property pinnedHeaderRowsCount

Returns:

  • (Fixnum)


3646
3647
3648
# File 'lib/google/apis/docs_v1/classes.rb', line 3646

def pinned_header_rows_count
  @pinned_header_rows_count
end

#table_start_locationGoogle::Apis::DocsV1::Location

A particular location in the document. Corresponds to the JSON property tableStartLocation



3651
3652
3653
# File 'lib/google/apis/docs_v1/classes.rb', line 3651

def table_start_location
  @table_start_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3658
3659
3660
3661
# File 'lib/google/apis/docs_v1/classes.rb', line 3658

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