class Google::Apis::DocsV1::EmbeddedObject
An embedded object in the document.
Attributes
The description of the embedded object. The `title` and `description` are both combined to display alt text. Corresponds to the JSON property `description` @return [String]
The properties of an embedded drawing. Corresponds to the JSON property `embeddedDrawingProperties` @return [Google::Apis::DocsV1::EmbeddedDrawingProperties]
A border around an EmbeddedObject
. Corresponds to the JSON property `embeddedObjectBorder` @return [Google::Apis::DocsV1::EmbeddedObjectBorder]
The properties of an image. Corresponds to the JSON property `imageProperties` @return [Google::Apis::DocsV1::ImageProperties]
A reference to the external linked source content. Corresponds to the JSON property `linkedContentReference` @return [Google::Apis::DocsV1::LinkedContentReference]
A magnitude in a single direction in the specified units. Corresponds to the JSON property `marginBottom` @return [Google::Apis::DocsV1::Dimension]
A magnitude in a single direction in the specified units. Corresponds to the JSON property `marginLeft` @return [Google::Apis::DocsV1::Dimension]
A magnitude in a single direction in the specified units. Corresponds to the JSON property `marginRight` @return [Google::Apis::DocsV1::Dimension]
A magnitude in a single direction in the specified units. Corresponds to the JSON property `marginTop` @return [Google::Apis::DocsV1::Dimension]
A width and height. Corresponds to the JSON property `size` @return [Google::Apis::DocsV1::Size]
The title of the embedded object. The `title` and `description` are both combined to display alt text. Corresponds to the JSON property `title` @return [String]
Public Class Methods
# File lib/google/apis/docs_v1/classes.rb, line 1364 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/docs_v1/classes.rb, line 1369 def update!(**args) @description = args[:description] if args.key?(:description) @embedded_drawing_properties = args[:embedded_drawing_properties] if args.key?(:embedded_drawing_properties) @embedded_object_border = args[:embedded_object_border] if args.key?(:embedded_object_border) @image_properties = args[:image_properties] if args.key?(:image_properties) @linked_content_reference = args[:linked_content_reference] if args.key?(:linked_content_reference) @margin_bottom = args[:margin_bottom] if args.key?(:margin_bottom) @margin_left = args[:margin_left] if args.key?(:margin_left) @margin_right = args[:margin_right] if args.key?(:margin_right) @margin_top = args[:margin_top] if args.key?(:margin_top) @size = args[:size] if args.key?(:size) @title = args[:title] if args.key?(:title) end