class Google::Apis::SheetsV4::GridProperties

Properties of a grid.

Attributes

column_count[RW]

The number of columns in the grid. Corresponds to the JSON property `columnCount` @return [Fixnum]

column_group_control_after[RW]

True if the column grouping control toggle is shown after the group. Corresponds to the JSON property `columnGroupControlAfter` @return [Boolean]

column_group_control_after?[RW]

True if the column grouping control toggle is shown after the group. Corresponds to the JSON property `columnGroupControlAfter` @return [Boolean]

frozen_column_count[RW]

The number of columns that are frozen in the grid. Corresponds to the JSON property `frozenColumnCount` @return [Fixnum]

frozen_row_count[RW]

The number of rows that are frozen in the grid. Corresponds to the JSON property `frozenRowCount` @return [Fixnum]

hide_gridlines[RW]

True if the grid isn't showing gridlines in the UI. Corresponds to the JSON property `hideGridlines` @return [Boolean]

hide_gridlines?[RW]

True if the grid isn't showing gridlines in the UI. Corresponds to the JSON property `hideGridlines` @return [Boolean]

row_count[RW]

The number of rows in the grid. Corresponds to the JSON property `rowCount` @return [Fixnum]

row_group_control_after[RW]

True if the row grouping control toggle is shown after the group. Corresponds to the JSON property `rowGroupControlAfter` @return [Boolean]

row_group_control_after?[RW]

True if the row grouping control toggle is shown after the group. Corresponds to the JSON property `rowGroupControlAfter` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 5975
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sheets_v4/classes.rb, line 5980
def update!(**args)
  @column_count = args[:column_count] if args.key?(:column_count)
  @column_group_control_after = args[:column_group_control_after] if args.key?(:column_group_control_after)
  @frozen_column_count = args[:frozen_column_count] if args.key?(:frozen_column_count)
  @frozen_row_count = args[:frozen_row_count] if args.key?(:frozen_row_count)
  @hide_gridlines = args[:hide_gridlines] if args.key?(:hide_gridlines)
  @row_count = args[:row_count] if args.key?(:row_count)
  @row_group_control_after = args[:row_group_control_after] if args.key?(:row_group_control_after)
end