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

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

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

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) ⇒ DeleteBandingRequest

Returns a new instance of DeleteBandingRequest.


3338
3339
3340
# File 'generated/google/apis/sheets_v4/classes.rb', line 3338

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)

3336
3337
3338
# File 'generated/google/apis/sheets_v4/classes.rb', line 3336

def banded_range_id
  @banded_range_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3343
3344
3345
# File 'generated/google/apis/sheets_v4/classes.rb', line 3343

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