Class: Google::Apis::SlidesV1::TextContent

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TextContent

Returns a new instance of TextContent



2968
2969
2970
# File 'generated/google/apis/slides_v1/classes.rb', line 2968

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#listsHash<String,Google::Apis::SlidesV1::List>

The bulleted lists contained in this text, keyed by list ID. Corresponds to the JSON property lists

Returns:



2966
2967
2968
# File 'generated/google/apis/slides_v1/classes.rb', line 2966

def lists
  @lists
end

#text_elementsArray<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



2961
2962
2963
# File 'generated/google/apis/slides_v1/classes.rb', line 2961

def text_elements
  @text_elements
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2973
2974
2975
2976
# File 'generated/google/apis/slides_v1/classes.rb', line 2973

def update!(**args)
  @text_elements = args[:text_elements] if args.key?(:text_elements)
  @lists = args[:lists] if args.key?(:lists)
end