Class: Google::Apis::DocsV1::CreateParagraphBulletsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::CreateParagraphBulletsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/docs_v1/classes.rb,
generated/google/apis/docs_v1/representations.rb,
generated/google/apis/docs_v1/representations.rb
Overview
Creates bullets for all of the paragraphs that overlap with the given 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.
-
#range ⇒ Google::Apis::DocsV1::Range
Specifies a contiguous range of 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
435 436 437 |
# File 'generated/google/apis/docs_v1/classes.rb', line 435 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bullet_preset ⇒ String
The kinds of bullet glyphs to be used.
Corresponds to the JSON property bulletPreset
428 429 430 |
# File 'generated/google/apis/docs_v1/classes.rb', line 428 def bullet_preset @bullet_preset end |
#range ⇒ Google::Apis::DocsV1::Range
Specifies a contiguous range of text.
Corresponds to the JSON property range
433 434 435 |
# File 'generated/google/apis/docs_v1/classes.rb', line 433 def range @range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
440 441 442 443 |
# File 'generated/google/apis/docs_v1/classes.rb', line 440 def update!(**args) @bullet_preset = args[:bullet_preset] if args.key?(:bullet_preset) @range = args[:range] if args.key?(:range) end |