class Google::Apis::DocsV1::InlineObject

An object that appears inline with text. An InlineObject contains an EmbeddedObject such as an image.

Attributes

inline_object_properties[RW]

Properties of an InlineObject. Corresponds to the JSON property `inlineObjectProperties` @return [Google::Apis::DocsV1::InlineObjectProperties]

object_id_prop[RW]

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

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_inline_object_properties_changes[RW]

The suggested changes to the inline object properties, keyed by suggestion ID. Corresponds to the JSON property `suggestedInlineObjectPropertiesChanges` @return [Hash<String,Google::Apis::DocsV1::SuggestedInlineObjectProperties>]

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]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 1962
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 1967
def update!(**args)
  @inline_object_properties = args[:inline_object_properties] if args.key?(:inline_object_properties)
  @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
  @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids)
  @suggested_inline_object_properties_changes = args[:suggested_inline_object_properties_changes] if args.key?(:suggested_inline_object_properties_changes)
  @suggested_insertion_id = args[:suggested_insertion_id] if args.key?(:suggested_insertion_id)
end