Class: Google::Apis::DocsV1::InlineObject
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::InlineObject
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/docs_v1/classes.rb,
generated/google/apis/docs_v1/representations.rb,
generated/google/apis/docs_v1/representations.rb
Overview
An object that appears inline with text. An InlineObject contains an EmbeddedObject such as an image.
Instance Attribute Summary collapse
-
#inline_object_properties ⇒ Google::Apis::DocsV1::InlineObjectProperties
Properties of an InlineObject.
-
#object_id_prop ⇒ String
The ID of this inline object.
-
#suggested_deletion_ids ⇒ Array<String>
The suggested deletion IDs.
-
#suggested_inline_object_properties_changes ⇒ Hash<String,Google::Apis::DocsV1::SuggestedInlineObjectProperties>
The suggested changes to the inline object properties, keyed by suggestion ID.
-
#suggested_insertion_id ⇒ String
The suggested insertion ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InlineObject
constructor
A new instance of InlineObject.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ InlineObject
Returns a new instance of InlineObject.
1880 1881 1882 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1880 def initialize(**args) update!(**args) end |
Instance Attribute Details
#inline_object_properties ⇒ Google::Apis::DocsV1::InlineObjectProperties
Properties of an InlineObject.
Corresponds to the JSON property inlineObjectProperties
1855 1856 1857 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1855 def inline_object_properties @inline_object_properties end |
#object_id_prop ⇒ String
The ID of this inline object.
Corresponds to the JSON property objectId
1860 1861 1862 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1860 def object_id_prop @object_id_prop end |
#suggested_deletion_ids ⇒ Array<String>
The suggested deletion IDs. If empty, then there are no suggested deletions
of this content.
Corresponds to the JSON property suggestedDeletionIds
1866 1867 1868 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1866 def suggested_deletion_ids @suggested_deletion_ids end |
#suggested_inline_object_properties_changes ⇒ Hash<String,Google::Apis::DocsV1::SuggestedInlineObjectProperties>
The suggested changes to the inline object properties, keyed by suggestion
ID.
Corresponds to the JSON property suggestedInlineObjectPropertiesChanges
1872 1873 1874 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1872 def suggested_inline_object_properties_changes @suggested_inline_object_properties_changes end |
#suggested_insertion_id ⇒ String
The suggested insertion ID. If empty, then this is not a suggested
insertion.
Corresponds to the JSON property suggestedInsertionId
1878 1879 1880 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1878 def suggested_insertion_id @suggested_insertion_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1885 1886 1887 1888 1889 1890 1891 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1885 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 |