class Google::Apis::DocsV1::PositionedObject
An object that is tethered to a Paragraph
and positioned relative to the beginning of the paragraph. A PositionedObject
contains an EmbeddedObject
such as an image.
Attributes
The ID of this positioned object. Corresponds to the JSON property `objectId` @return [String]
Properties of a PositionedObject
. Corresponds to the JSON property `positionedObjectProperties` @return [Google::Apis::DocsV1::PositionedObjectProperties]
The suggested deletion IDs. If empty, then there are no suggested deletions of this content. Corresponds to the JSON property `suggestedDeletionIds` @return [Array<String>]
The suggested insertion ID. If empty, then this is not a suggested insertion. Corresponds to the JSON property `suggestedInsertionId` @return [String]
The suggested changes to the positioned object properties, keyed by suggestion ID. Corresponds to the JSON property `suggestedPositionedObjectPropertiesChanges` @return [Hash<String,Google::Apis::DocsV1::SuggestedPositionedObjectProperties>]
Public Class Methods
# File lib/google/apis/docs_v1/classes.rb, line 3651 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/docs_v1/classes.rb, line 3656 def update!(**args) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) @positioned_object_properties = args[:positioned_object_properties] if args.key?(:positioned_object_properties) @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids) @suggested_insertion_id = args[:suggested_insertion_id] if args.key?(:suggested_insertion_id) @suggested_positioned_object_properties_changes = args[:suggested_positioned_object_properties_changes] if args.key?(:suggested_positioned_object_properties_changes) end