Class: Google::Apis::SheetsV4::DeleteNamedRangeRequest

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 named range with the given ID from the spreadsheet.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeleteNamedRangeRequest

Returns a new instance of DeleteNamedRangeRequest.



4775
4776
4777
# File 'lib/google/apis/sheets_v4/classes.rb', line 4775

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

Instance Attribute Details

#named_range_idString

The ID of the named range to delete. Corresponds to the JSON property namedRangeId

Returns:

  • (String)


4773
4774
4775
# File 'lib/google/apis/sheets_v4/classes.rb', line 4773

def named_range_id
  @named_range_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4780
4781
4782
# File 'lib/google/apis/sheets_v4/classes.rb', line 4780

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