Class: Google::Apis::DocsV1::DeleteContentRangeRequest

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

Overview

Deletes content from the document.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeleteContentRangeRequest

Returns a new instance of DeleteContentRangeRequest.



704
705
706
# File 'lib/google/apis/docs_v1/classes.rb', line 704

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

Instance Attribute Details

#rangeGoogle::Apis::DocsV1::Range

Specifies a contiguous range of text. Corresponds to the JSON property range



702
703
704
# File 'lib/google/apis/docs_v1/classes.rb', line 702

def range
  @range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



709
710
711
# File 'lib/google/apis/docs_v1/classes.rb', line 709

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