Class: Google::Apis::SheetsV4::DeleteBandingRequest

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

Removes the banded range with the given ID from the spreadsheet.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeleteBandingRequest

Returns a new instance of DeleteBandingRequest.



4487
4488
4489
# File 'lib/google/apis/sheets_v4/classes.rb', line 4487

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

Instance Attribute Details

#banded_range_idFixnum

The ID of the banded range to delete. Corresponds to the JSON property bandedRangeId

Returns:

  • (Fixnum)


4485
4486
4487
# File 'lib/google/apis/sheets_v4/classes.rb', line 4485

def banded_range_id
  @banded_range_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4492
4493
4494
# File 'lib/google/apis/sheets_v4/classes.rb', line 4492

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