Class: Google::Apis::SlidesV1::CreateParagraphBulletsRequest

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

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CreateParagraphBulletsRequest

Returns a new instance of CreateParagraphBulletsRequest



2060
2061
2062
# File 'generated/google/apis/slides_v1/classes.rb', line 2060

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

Instance Attribute Details

#bullet_presetString

The kinds of bullet glyphs to be used. Defaults to the BULLET_DISC_CIRCLE_SQUARE preset. Corresponds to the JSON property bulletPreset

Returns:

  • (String)


2042
2043
2044
# File 'generated/google/apis/slides_v1/classes.rb', line 2042

def bullet_preset
  @bullet_preset
end

#cell_locationGoogle::Apis::SlidesV1::TableCellLocation

A location of a single table cell within a table. Corresponds to the JSON property cellLocation



2047
2048
2049
# File 'generated/google/apis/slides_v1/classes.rb', line 2047

def cell_location
  @cell_location
end

#object_id_propString

The object ID of the shape or table containing the text to add bullets to. Corresponds to the JSON property objectId

Returns:

  • (String)


2052
2053
2054
# File 'generated/google/apis/slides_v1/classes.rb', line 2052

def object_id_prop
  @object_id_prop
end

#text_rangeGoogle::Apis::SlidesV1::Range

Specifies a contiguous range of an indexed collection, such as characters in text. Corresponds to the JSON property textRange



2058
2059
2060
# File 'generated/google/apis/slides_v1/classes.rb', line 2058

def text_range
  @text_range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2065
2066
2067
2068
2069
2070
# File 'generated/google/apis/slides_v1/classes.rb', line 2065

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