Class: Google::Apis::SlidesV1::CreateParagraphBulletsRequest
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::CreateParagraphBulletsRequest
- 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
Creates bullets for all of the paragraphs that overlap with the given text index range. The nesting level of each paragraph will be determined by counting leading tabs in front of each paragraph. To avoid excess space between the bullet and the corresponding paragraph, these leading tabs are removed by this request. This may change the indices of parts of the text. If the paragraph immediately before paragraphs being updated is in a list with a matching preset, the paragraphs being updated are added to that preceding list.
Instance Attribute Summary collapse
-
#bullet_preset ⇒ String
The kinds of bullet glyphs to be used.
-
#cell_location ⇒ Google::Apis::SlidesV1::TableCellLocation
A location of a single table cell within a table.
-
#object_id_prop ⇒ String
The object ID of the shape or table containing the text to add bullets to.
-
#text_range ⇒ Google::Apis::SlidesV1::Range
Specifies a contiguous range of an indexed collection, such as characters in text.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateParagraphBulletsRequest
constructor
A new instance of CreateParagraphBulletsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreateParagraphBulletsRequest
Returns a new instance of CreateParagraphBulletsRequest
475 476 477 |
# File 'generated/google/apis/slides_v1/classes.rb', line 475 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bullet_preset ⇒ String
The kinds of bullet glyphs to be used. Defaults to the
BULLET_DISC_CIRCLE_SQUARE
preset.
Corresponds to the JSON property bulletPreset
457 458 459 |
# File 'generated/google/apis/slides_v1/classes.rb', line 457 def bullet_preset @bullet_preset end |
#cell_location ⇒ Google::Apis::SlidesV1::TableCellLocation
A location of a single table cell within a table.
Corresponds to the JSON property cellLocation
462 463 464 |
# File 'generated/google/apis/slides_v1/classes.rb', line 462 def cell_location @cell_location end |
#object_id_prop ⇒ String
The object ID of the shape or table containing the text to add bullets to.
Corresponds to the JSON property objectId
467 468 469 |
# File 'generated/google/apis/slides_v1/classes.rb', line 467 def object_id_prop @object_id_prop end |
#text_range ⇒ Google::Apis::SlidesV1::Range
Specifies a contiguous range of an indexed collection, such as characters in
text.
Corresponds to the JSON property textRange
473 474 475 |
# File 'generated/google/apis/slides_v1/classes.rb', line 473 def text_range @text_range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
480 481 482 483 484 485 |
# File 'generated/google/apis/slides_v1/classes.rb', line 480 def update!(**args) @bullet_preset = args[:bullet_preset] if args.key?(:bullet_preset) @cell_location = args[:cell_location] if args.key?(:cell_location) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) @text_range = args[:text_range] if args.key?(:text_range) end |