Class: Google::Apis::SlidesV1::ParagraphMarker

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

A TextElement kind that represents the beginning of a new paragraph.

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) ⇒ ParagraphMarker

Returns a new instance of ParagraphMarker



3080
3081
3082
# File 'generated/google/apis/slides_v1/classes.rb', line 3080

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

Instance Attribute Details

#bulletGoogle::Apis::SlidesV1::Bullet

Describes the bullet of a paragraph. Corresponds to the JSON property bullet



3078
3079
3080
# File 'generated/google/apis/slides_v1/classes.rb', line 3078

def bullet
  @bullet
end

#styleGoogle::Apis::SlidesV1::ParagraphStyle

Styles that apply to a whole paragraph. If this text is contained in a shape with a parent placeholder, then these paragraph styles may be inherited from the parent. Which paragraph styles are inherited depend on the nesting level of lists:

  • A paragraph not in a list will inherit its paragraph style from the paragraph at the 0 nesting level of the list inside the parent placeholder.
  • A paragraph in a list will inherit its paragraph style from the paragraph at its corresponding nesting level of the list inside the parent placeholder. Inherited paragraph styles are represented as unset fields in this message. Corresponds to the JSON property style


3073
3074
3075
# File 'generated/google/apis/slides_v1/classes.rb', line 3073

def style
  @style
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3085
3086
3087
3088
# File 'generated/google/apis/slides_v1/classes.rb', line 3085

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