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



470
471
472
# File 'generated/google/apis/sheets_v4/classes.rb', line 470

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)


468
469
470
# File 'generated/google/apis/sheets_v4/classes.rb', line 468

def banded_range_id
  @banded_range_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



475
476
477
# File 'generated/google/apis/sheets_v4/classes.rb', line 475

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