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

object_id_prop[RW]

The ID of this positioned object. Corresponds to the JSON property `objectId` @return [String]

positioned_object_properties[RW]

Properties of a PositionedObject. Corresponds to the JSON property `positionedObjectProperties` @return [Google::Apis::DocsV1::PositionedObjectProperties]

suggested_deletion_ids[RW]

The suggested deletion IDs. If empty, then there are no suggested deletions of this content. Corresponds to the JSON property `suggestedDeletionIds` @return [Array<String>]

suggested_insertion_id[RW]

The suggested insertion ID. If empty, then this is not a suggested insertion. Corresponds to the JSON property `suggestedInsertionId` @return [String]

suggested_positioned_object_properties_changes[RW]

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

new(**args) click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 3651
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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