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.



3941
3942
3943
# File 'lib/google/apis/docs_v1/classes.rb', line 3941

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)


3934
3935
3936
# File 'lib/google/apis/docs_v1/classes.rb', line 3934

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



3939
3940
3941
# File 'lib/google/apis/docs_v1/classes.rb', line 3939

def table_start_location
  @table_start_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3946
3947
3948
3949
# File 'lib/google/apis/docs_v1/classes.rb', line 3946

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