Class: Google::Apis::SlidesV1::TextContent
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::TextContent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/slides_v1/classes.rb,
generated/google/apis/slides_v1/representations.rb,
generated/google/apis/slides_v1/representations.rb
Overview
The general text content. The text must reside in a compatible shape (e.g. text box or rectangle) or a table cell in a page.
Instance Attribute Summary collapse
-
#lists ⇒ Hash<String,Google::Apis::SlidesV1::List>
The bulleted lists contained in this text, keyed by list ID.
-
#text_elements ⇒ Array<Google::Apis::SlidesV1::TextElement>
The text contents broken down into its component parts, including styling information.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TextContent
constructor
A new instance of TextContent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TextContent
Returns a new instance of TextContent
4062 4063 4064 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4062 def initialize(**args) update!(**args) end |
Instance Attribute Details
#lists ⇒ Hash<String,Google::Apis::SlidesV1::List>
The bulleted lists contained in this text, keyed by list ID.
Corresponds to the JSON property lists
4054 4055 4056 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4054 def lists @lists end |
#text_elements ⇒ Array<Google::Apis::SlidesV1::TextElement>
The text contents broken down into its component parts, including styling
information. This property is read-only.
Corresponds to the JSON property textElements
4060 4061 4062 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4060 def text_elements @text_elements end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4067 4068 4069 4070 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4067 def update!(**args) @lists = args[:lists] if args.key?(:lists) @text_elements = args[:text_elements] if args.key?(:text_elements) end |