Class: Google::Apis::SheetsV4::AutoResizeDimensionsRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/sheets_v4/classes.rb,
generated/google/apis/sheets_v4/representations.rb,
generated/google/apis/sheets_v4/representations.rb

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AutoResizeDimensionsRequest

Returns a new instance of AutoResizeDimensionsRequest.



4198
4199
4200
# File 'generated/google/apis/sheets_v4/classes.rb', line 4198

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

Instance Attribute Details

#dimensionsGoogle::Apis::SheetsV4::DimensionRange

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



4196
4197
4198
# File 'generated/google/apis/sheets_v4/classes.rb', line 4196

def dimensions
  @dimensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4203
4204
4205
# File 'generated/google/apis/sheets_v4/classes.rb', line 4203

def update!(**args)
  @dimensions = args[:dimensions] if args.key?(:dimensions)
end