Class: Google::Apis::DocsV1::PositionedObjectProperties
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::PositionedObjectProperties
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/docs_v1/classes.rb,
lib/google/apis/docs_v1/representations.rb,
lib/google/apis/docs_v1/representations.rb
Overview
Properties of a PositionedObject.
Instance Attribute Summary collapse
-
#embedded_object ⇒ Google::Apis::DocsV1::EmbeddedObject
An embedded object in the document.
-
#positioning ⇒ Google::Apis::DocsV1::PositionedObjectPositioning
The positioning of a PositionedObject.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PositionedObjectProperties
constructor
A new instance of PositionedObjectProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PositionedObjectProperties
Returns a new instance of PositionedObjectProperties.
4082 4083 4084 |
# File 'lib/google/apis/docs_v1/classes.rb', line 4082 def initialize(**args) update!(**args) end |
Instance Attribute Details
#embedded_object ⇒ Google::Apis::DocsV1::EmbeddedObject
An embedded object in the document.
Corresponds to the JSON property embeddedObject
4074 4075 4076 |
# File 'lib/google/apis/docs_v1/classes.rb', line 4074 def @embedded_object end |
#positioning ⇒ Google::Apis::DocsV1::PositionedObjectPositioning
The positioning of a PositionedObject. The positioned object is positioned
relative to the beginning of the Paragraph it's tethered to.
Corresponds to the JSON property positioning
4080 4081 4082 |
# File 'lib/google/apis/docs_v1/classes.rb', line 4080 def positioning @positioning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4087 4088 4089 4090 |
# File 'lib/google/apis/docs_v1/classes.rb', line 4087 def update!(**args) @embedded_object = args[:embedded_object] if args.key?(:embedded_object) @positioning = args[:positioning] if args.key?(:positioning) end |