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.



4230
4231
4232
# File 'lib/google/apis/docs_v1/classes.rb', line 4230

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)


4223
4224
4225
# File 'lib/google/apis/docs_v1/classes.rb', line 4223

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



4228
4229
4230
# File 'lib/google/apis/docs_v1/classes.rb', line 4228

def table_start_location
  @table_start_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4235
4236
4237
4238
# File 'lib/google/apis/docs_v1/classes.rb', line 4235

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