class Google::Apis::SheetsV4::AutoResizeDimensionsRequest

Automatically resizes one or more dimensions based on the contents of the cells in that dimension.

Attributes

data_source_sheet_dimensions[RW]

A range along a single dimension on a DATA_SOURCE sheet. Corresponds to the JSON property `dataSourceSheetDimensions` @return [Google::Apis::SheetsV4::DataSourceSheetDimensionRange]

dimensions[RW]

A range along a single dimension on a sheet. All indexes are zero-based. Indexes are half open: the start index is inclusive and the end index is exclusive. Missing indexes indicate the range is unbounded on that side. Corresponds to the JSON property `dimensions` @return [Google::Apis::SheetsV4::DimensionRange]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 586
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 591
def update!(**args)
  @data_source_sheet_dimensions = args[:data_source_sheet_dimensions] if args.key?(:data_source_sheet_dimensions)
  @dimensions = args[:dimensions] if args.key?(:dimensions)
end