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.



4182
4183
4184
# File 'generated/google/apis/sheets_v4/classes.rb', line 4182

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)


4180
4181
4182
# File 'generated/google/apis/sheets_v4/classes.rb', line 4180

def banded_range_id
  @banded_range_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4187
4188
4189
# File 'generated/google/apis/sheets_v4/classes.rb', line 4187

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