Class: Google::Apis::DocsV1::DeletePositionedObjectRequest

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 a PositionedObject from the document.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeletePositionedObjectRequest

Returns a new instance of DeletePositionedObjectRequest.



854
855
856
# File 'lib/google/apis/docs_v1/classes.rb', line 854

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

Instance Attribute Details

#object_id_propString

The ID of the positioned object to delete. Corresponds to the JSON property objectId

Returns:

  • (String)


842
843
844
# File 'lib/google/apis/docs_v1/classes.rb', line 842

def object_id_prop
  @object_id_prop
end

#tab_idString

The tab that the positioned object to delete is in. When omitted, the request is applied to the first tab. In a document containing a single tab: - If provided, must match the singular tab's ID. - If omitted, the request applies to the singular tab. In a document containing multiple tabs: - If provided, the request applies to the specified tab. - If omitted, the request applies to the first tab in the document. Corresponds to the JSON property tabId

Returns:

  • (String)


852
853
854
# File 'lib/google/apis/docs_v1/classes.rb', line 852

def tab_id
  @tab_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



859
860
861
862
# File 'lib/google/apis/docs_v1/classes.rb', line 859

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