Class: Google::Apis::SheetsV4::DeleteDimensionRequest

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

Overview

Deletes the dimensions from the sheet.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeleteDimensionRequest

Returns a new instance of DeleteDimensionRequest.



4654
4655
4656
# File 'lib/google/apis/sheets_v4/classes.rb', line 4654

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

Instance Attribute Details

#rangeGoogle::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 range



4652
4653
4654
# File 'lib/google/apis/sheets_v4/classes.rb', line 4652

def range
  @range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4659
4660
4661
# File 'lib/google/apis/sheets_v4/classes.rb', line 4659

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