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



1077
1078
1079
# File 'lib/google/apis/docs_v1/classes.rb', line 1077

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



1065
1066
1067
# File 'lib/google/apis/docs_v1/classes.rb', line 1065

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



1075
1076
1077
# File 'lib/google/apis/docs_v1/classes.rb', line 1075

def tab_id
  @tab_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1082
1083
1084
1085
# File 'lib/google/apis/docs_v1/classes.rb', line 1082

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