Class: Google::Apis::DocsV1::DeleteNamedRangeRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/docs_v1/classes.rb,
generated/google/apis/docs_v1/representations.rb,
generated/google/apis/docs_v1/representations.rb

Overview

Deletes a NamedRange.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeleteNamedRangeRequest

Returns a new instance of DeleteNamedRangeRequest.



750
751
752
# File 'generated/google/apis/docs_v1/classes.rb', line 750

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

Instance Attribute Details

#nameString

The name of the range(s) to delete. All named ranges with the given name will be deleted. Corresponds to the JSON property name

Returns:

  • (String)


743
744
745
# File 'generated/google/apis/docs_v1/classes.rb', line 743

def name
  @name
end

#named_range_idString

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

Returns:

  • (String)


748
749
750
# File 'generated/google/apis/docs_v1/classes.rb', line 748

def named_range_id
  @named_range_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



755
756
757
758
# File 'generated/google/apis/docs_v1/classes.rb', line 755

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