blob: 920987f2cfd738a90cc7084597665378317c01da [file] [log] [blame]
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="slides_v1.html">Google Slides API</a> . <a href="slides_v1.presentations.html">presentations</a> . <a href="slides_v1.presentations.pages.html">pages</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#get">get(presentationId, pageObjectId, x__xgafv=None)</a></code></p>
79<p class="firstline">Gets the latest version of the specified page in the presentation.</p>
Sai Cheemalapatie833b792017-03-24 15:06:46 -070080<p class="toc_element">
81 <code><a href="#getThumbnail">getThumbnail(presentationId, pageObjectId, thumbnailProperties_mimeType=None, thumbnailProperties_thumbnailSize=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Generates a thumbnail of the latest version of the specified page in the</p>
Jon Wayne Parrott692617a2017-01-06 09:58:29 -080083<h3>Method Details</h3>
84<div class="method">
85 <code class="details" id="get">get(presentationId, pageObjectId, x__xgafv=None)</code>
86 <pre>Gets the latest version of the specified page in the presentation.
87
88Args:
89 presentationId: string, The ID of the presentation to retrieve. (required)
90 pageObjectId: string, The object ID of the page to retrieve. (required)
91 x__xgafv: string, V1 error format.
92 Allowed values
93 1 - v1 error format
94 2 - v2 error format
95
96Returns:
97 An object of the form:
98
99 { # A page in a presentation.
100 "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT.
101 # relevant for pages with page_type LAYOUT.
102 "displayName": "A String", # The human readable name of the layout in the presentation's locale.
103 "name": "A String", # The name of the layout.
104 "masterObjectId": "A String", # The object ID of the master that this layout is based on.
105 },
106 "pageElements": [ # The page elements rendered on the page.
107 { # A visual element rendered on a page.
108 "wordArt": { # A PageElement kind representing # A word art page element.
109 # word art.
110 "renderedText": "A String", # The text rendered as word art.
111 },
112 "description": "A String", # The description of the page element. Combined with title to display alt
113 # text.
114 "objectId": "A String", # The object ID for this page element. Object IDs used by
115 # google.apps.slides.v1.Page and
116 # google.apps.slides.v1.PageElement share the same namespace.
117 "title": "A String", # The title of the page element. Combined with description to display alt
118 # text.
119 "image": { # A PageElement kind representing an # An image page element.
120 # image.
121 "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes.
122 # This URL is tagged with the account of the requester. Anyone with the URL
123 # effectively accesses the image as the original requester. Access to the
124 # image may be lost if the presentation's sharing settings change.
125 "imageProperties": { # The properties of the Image. # The properties of the image.
126 "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
127 #
128 # If these fields are unset, they may be inherited from a parent placeholder
129 # if it exists. If there is no parent, the fields will default to the value
130 # used for new page elements created in the Slides editor, which may depend on
131 # the page element kind.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800132 "outlineFill": { # The fill of the outline. # The fill of the outline.
133 "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
134 # specified color value.
135 #
136 # If any field is unset, its value may be inherited from a parent placeholder
137 # if it exists.
138 "color": { # A themeable solid color value. # The color value of the solid fill.
139 "themeColor": "A String", # An opaque theme color.
140 "rgbColor": { # An RGB color. # An opaque RGB color.
141 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
142 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
143 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
144 },
145 },
146 "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
147 # That is, the final pixel color is defined by the equation:
148 #
149 # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
150 #
151 # This means that a value of 1.0 corresponds to a solid color, whereas
152 # a value of 0.0 corresponds to a completely transparent color.
153 },
154 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400155 "propertyState": "A String", # The outline property state.
156 #
157 # Updating the the outline on a page element will implicitly update this
158 # field to`RENDERED`, unless another value is specified in the same request.
159 # To have no outline on a page element, set this field to `NOT_RENDERED`. In
160 # this case, any other outline fields set in the same request will be
161 # ignored.
162 "dashStyle": "A String", # The dash style of the outline.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800163 "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
164 "magnitude": 3.14, # The magnitude.
165 "unit": "A String", # The units for magnitude.
166 },
167 },
168 "brightness": 3.14, # The brightness effect of the image. The value should be in the interval
169 # [-1.0, 1.0], where 0 means no effect. This property is read-only.
170 "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
171 # This property is read-only.
172 "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400173 # stops.
174 #
175 # The colors in the gradient will replace the corresponding colors at
176 # the same position in the color palette and apply to the image. This
177 # property is read-only.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800178 { # A color and position in a gradient band.
179 "color": { # A themeable solid color value. # The color of the gradient stop.
180 "themeColor": "A String", # An opaque theme color.
181 "rgbColor": { # An RGB color. # An opaque RGB color.
182 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
183 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
184 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
185 },
186 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800187 "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
188 # fully opaque.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400189 "position": 3.14, # The relative position of the color stop in the gradient band measured
190 # in percentage. The value should be in the interval [0.0, 1.0].
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800191 },
192 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400193 "name": "A String", # The name of the recolor effect.
194 #
195 # The name is determined from the `recolor_stops` by matching the gradient
196 # against the colors in the page's current color scheme. This property is
197 # read-only.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800198 },
199 "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
200 "url": "A String", # If set, indicates this is a link to the external web page at this URL.
Thomas Coffee2f245372017-03-27 10:39:26 -0700201 "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
202 # in the presentation. There may not be a slide at this index.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400203 "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
204 # presentation with this ID. A page with this ID may not exist.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800205 "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
206 # addressed by its position.
207 },
208 "transparency": 3.14, # The transparency effect of the image. The value should be in the interval
209 # [0.0, 1.0], where 0 means no effect and 1 means completely transparent.
210 # This property is read-only.
211 "cropProperties": { # The crop properties of an object enclosed in a container. For example, an # The crop properties of the image. If not set, the image is not cropped.
212 # This property is read-only.
213 # Image.
214 #
215 # The crop properties is represented by the offsets of four edges which define
216 # a crop rectangle. The offsets are measured in percentage from the
217 # corresponding edges of the object's original bounding rectangle towards
218 # inside, relative to the object's original dimensions.
219 #
220 # - If the offset is in the interval (0, 1), the corresponding edge of crop
221 # rectangle is positioned inside of the object's original bounding rectangle.
222 # - If the offset is negative or greater than 1, the corresponding edge of crop
223 # rectangle is positioned outside of the object's original bounding rectangle.
224 # - If the left edge of the crop rectangle is on the right side of its right
225 # edge, the object will be flipped horizontally.
226 # - If the top edge of the crop rectangle is below its bottom edge, the object
227 # will be flipped vertically.
228 # - If all offsets and rotation angle is 0, the object is not cropped.
229 #
230 # After cropping, the content in the crop rectangle will be stretched to fit
231 # its container.
232 "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to
233 # the right of the original bounding rectangle left edge, relative to the
234 # object's original width.
Sai Cheemalapatie833b792017-03-24 15:06:46 -0700235 "angle": 3.14, # The rotation angle of the crop window around its center, in radians.
236 # Rotation angle is applied after the offset.
Thomas Coffee2f245372017-03-27 10:39:26 -0700237 "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
238 # to the left of the original bounding rectangle right edge, relative to the
239 # object's original width.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400240 "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
241 # above the original bounding rectangle bottom edge, relative to the object's
242 # original height.
243 "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
244 # below the original bounding rectangle top edge, relative to the object's
245 # original height.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800246 },
247 "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property
248 # is read-only.
249 #
250 # If these fields are unset, they may be inherited from a parent placeholder
251 # if it exists. If there is no parent, the fields will default to the value
252 # used for new page elements created in the Slides editor, which may depend on
253 # the page element kind.
254 "color": { # A themeable solid color value. # The shadow color value.
255 "themeColor": "A String", # An opaque theme color.
256 "rgbColor": { # An RGB color. # An opaque RGB color.
257 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
258 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
259 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
260 },
261 },
262 "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
263 # relative to the alignment position.
264 # to transform source coordinates (x,y) into destination coordinates (x', y')
265 # according to:
266 #
267 # x' x = shear_y scale_y translate_y
268 # 1 [ 1 ]
269 #
270 # After transformation,
271 #
272 # x' = scale_x * x + shear_x * y + translate_x;
273 # y' = scale_y * y + shear_y * x + translate_y;
274 #
275 # This message is therefore composed of these six matrix elements.
276 "translateX": 3.14, # The X coordinate translation element.
277 "translateY": 3.14, # The Y coordinate translation element.
278 "scaleX": 3.14, # The X coordinate scaling element.
279 "scaleY": 3.14, # The Y coordinate scaling element.
280 "shearY": 3.14, # The Y coordinate shearing element.
281 "shearX": 3.14, # The X coordinate shearing element.
282 "unit": "A String", # The units for translate elements.
283 },
284 "propertyState": "A String", # The shadow property state.
285 #
286 # Updating the the shadow on a page element will implicitly update this field
287 # to `RENDERED`, unless another value is specified in the same request. To
288 # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
289 # case, any other shadow fields set in the same request will be ignored.
290 "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
291 # shadow becomes.
292 "magnitude": 3.14, # The magnitude.
293 "unit": "A String", # The units for magnitude.
294 },
295 "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
296 "type": "A String", # The type of the shadow.
297 "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
298 # scale and skew of the shadow.
299 "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
300 },
301 "contrast": 3.14, # The contrast effect of the image. The value should be in the interval
302 # [-1.0, 1.0], where 0 means no effect. This property is read-only.
303 },
304 },
305 "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element.
306 # to transform source coordinates (x,y) into destination coordinates (x', y')
307 # according to:
308 #
309 # x' x = shear_y scale_y translate_y
310 # 1 [ 1 ]
311 #
312 # After transformation,
313 #
314 # x' = scale_x * x + shear_x * y + translate_x;
315 # y' = scale_y * y + shear_y * x + translate_y;
316 #
317 # This message is therefore composed of these six matrix elements.
318 "translateX": 3.14, # The X coordinate translation element.
319 "translateY": 3.14, # The Y coordinate translation element.
320 "scaleX": 3.14, # The X coordinate scaling element.
321 "scaleY": 3.14, # The Y coordinate scaling element.
322 "shearY": 3.14, # The Y coordinate shearing element.
323 "shearX": 3.14, # The X coordinate shearing element.
324 "unit": "A String", # The units for translate elements.
325 },
326 "shape": { # A PageElement kind representing a # A generic shape.
327 # generic shape that does not have a more specific classification.
328 "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
329 # text box or rectangle) or a table cell in a page.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400330 "lists": { # The bulleted lists contained in this text, keyed by list ID.
331 "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
332 # associated with a list. A paragraph that is part of a list has an implicit
333 # reference to that list's ID.
334 "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
335 # level. A list has at most nine levels of nesting, so the possible values
336 # for the keys of this map are 0 through 8, inclusive.
337 "a_key": { # Contains properties describing the look and feel of a list bullet at a given
338 # level of nesting.
339 "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
340 #
341 # If this text is contained in a shape with a parent placeholder, then these text styles may be
342 # inherited from the parent. Which text styles are inherited depend on the
343 # nesting level of lists:
344 #
345 # * A text run in a paragraph that is not in a list will inherit its text style
346 # from the the newline character in the paragraph at the 0 nesting level of
347 # the list inside the parent placeholder.
348 # * A text run in a paragraph that is in a list will inherit its text style
349 # from the newline character in the paragraph at its corresponding nesting
350 # level of the list inside the parent placeholder.
351 #
352 # Inherited text styles are represented as unset fields in this message. If
353 # text is contained in a shape without a parent placeholder, unsetting these
354 # fields will revert the style to a value matching the defaults in the Slides
355 # editor.
356 "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
357 # transparent, depending on if the `opaque_color` field in it is set.
358 "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
359 # a transparent color.
360 "themeColor": "A String", # An opaque theme color.
361 "rgbColor": { # An RGB color. # An opaque RGB color.
362 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
363 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
364 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
365 },
366 },
367 },
368 "bold": True or False, # Whether or not the text is rendered as bold.
369 "baselineOffset": "A String", # The text's vertical offset from its normal position.
370 #
371 # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
372 # rendered in a smaller font size, computed based on the `font_size` field.
373 # The `font_size` itself is not affected by changes in this field.
374 "strikethrough": True or False, # Whether or not the text is struck through.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400375 "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text.
Sai Cheemalapatie833b792017-03-24 15:06:46 -0700376 #
377 # This field is an extension of `font_family` meant to support explicit font
378 # weights without breaking backwards compatibility. As such, when reading the
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400379 # style of a range of text, the value of `weighted_font_family#font_family`
380 # will always be equal to that of `font_family`. However, when writing, if
381 # both fields are included in the field mask (either explicitly or through
382 # the wildcard `"*"`), their values are reconciled as follows:
383 #
384 # * If `font_family` is set and `weighted_font_family` is not, the value of
385 # `font_family` is applied with weight `400` ("normal").
386 # * If both fields are set, the value of `font_family` must match that of
387 # `weighted_font_family#font_family`. If so, the font family and weight of
388 # `weighted_font_family` is applied. Otherwise, a 400 bad request error is
389 # returned.
390 # * If `weighted_font_family` is set and `font_family` is not, the font
391 # family and weight of `weighted_font_family` is applied.
392 # * If neither field is set, the font family and weight of the text inherit
393 # from the parent. Note that these properties cannot inherit separately
394 # from each other.
395 #
396 # If an update request specifies values for both `weighted_font_family` and
397 # `bold`, the `weighted_font_family` is applied first, then `bold`.
398 #
399 # If `weighted_font_family#weight` is not set, it defaults to `400`.
400 #
401 # If `weighted_font_family` is set, then `weighted_font_family#font_family`
402 # must also be set with a non-empty value. Otherwise, a 400 bad request error
403 # is returned.
Sai Cheemalapatie833b792017-03-24 15:06:46 -0700404 "fontFamily": "A String", # The font family of the text.
405 #
406 # The font family can be any font from the Font menu in Slides or from
407 # [Google Fonts] (https://fonts.google.com/). If the font name is
408 # unrecognized, the text is rendered in `Arial`.
409 "weight": 42, # The rendered weight of the text. This field can have any value that is a
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400410 # multiple of `100` between `100` and `900`, inclusive. This range
411 # corresponds to the numerical values described in the CSS 2.1
412 # Specification, [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness),
413 # with non-numerical values disallowed. Weights greater than or equal to
414 # `700` are considered bold, and weights less than `700`are not bold. The
415 # default value is `400` ("normal").
Sai Cheemalapatie833b792017-03-24 15:06:46 -0700416 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400417 "smallCaps": True or False, # Whether or not the text is in small capital letters.
418 "fontFamily": "A String", # The font family of the text.
419 #
420 # The font family can be any font from the Font menu in Slides or from
421 # [Google Fonts] (https://fonts.google.com/). If the font name is
422 # unrecognized, the text is rendered in `Arial`.
423 #
424 # Some fonts can affect the weight of the text. If an update request
425 # specifies values for both `font_family` and `bold`, the explicitly-set
426 # `bold` value is used.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400427 "italic": True or False, # Whether or not the text is italicized.
428 "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
429 # are not inherited from parent text.
430 #
431 # Changing the link in an update request causes some other changes to the
432 # text style of the range:
433 #
434 # * When setting a link, the text foreground color will be set to
435 # ThemeColorType.HYPERLINK and the text will
436 # be underlined. If these fields are modified in the same
437 # request, those values will be used instead of the link defaults.
438 # * Setting a link on a text range that overlaps with an existing link will
439 # also update the existing link to point to the new URL.
440 # * Links are not settable on newline characters. As a result, setting a link
441 # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
442 # will separate the newline character(s) into their own text runs. The
443 # link will be applied separately to the runs before and after the newline.
444 # * Removing a link will update the text style of the range to match the
445 # style of the preceding text (or the default text styles if the preceding
446 # text is another link) unless different styles are being set in the same
447 # request.
448 "url": "A String", # If set, indicates this is a link to the external web page at this URL.
Thomas Coffee2f245372017-03-27 10:39:26 -0700449 "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
450 # in the presentation. There may not be a slide at this index.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400451 "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
452 # presentation with this ID. A page with this ID may not exist.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400453 "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
454 # addressed by its position.
455 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400456 "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
457 # transparent, depending on if the `opaque_color` field in it is set.
458 "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
459 # a transparent color.
460 "themeColor": "A String", # An opaque theme color.
461 "rgbColor": { # An RGB color. # An opaque RGB color.
462 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
463 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
464 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
465 },
466 },
467 },
Sai Cheemalapatie833b792017-03-24 15:06:46 -0700468 "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
469 # points.
470 "magnitude": 3.14, # The magnitude.
471 "unit": "A String", # The units for magnitude.
472 },
473 "underline": True or False, # Whether or not the text is underlined.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400474 },
475 },
476 },
477 "listId": "A String", # The ID of the list.
478 },
479 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800480 "textElements": [ # The text contents broken down into its component parts, including styling
481 # information. This property is read-only.
482 { # A TextElement describes the content of a range of indices in the text content
483 # of a Shape or TableCell.
484 "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically
485 # replaced with content that can change over time.
486 "content": "A String", # The rendered content of this auto text, if available.
487 "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text.
488 #
489 # If this text is contained in a shape with a parent placeholder, then these text styles may be
490 # inherited from the parent. Which text styles are inherited depend on the
491 # nesting level of lists:
492 #
493 # * A text run in a paragraph that is not in a list will inherit its text style
494 # from the the newline character in the paragraph at the 0 nesting level of
495 # the list inside the parent placeholder.
496 # * A text run in a paragraph that is in a list will inherit its text style
497 # from the newline character in the paragraph at its corresponding nesting
498 # level of the list inside the parent placeholder.
499 #
500 # Inherited text styles are represented as unset fields in this message. If
501 # text is contained in a shape without a parent placeholder, unsetting these
502 # fields will revert the style to a value matching the defaults in the Slides
503 # editor.
504 "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
505 # transparent, depending on if the `opaque_color` field in it is set.
506 "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
507 # a transparent color.
508 "themeColor": "A String", # An opaque theme color.
509 "rgbColor": { # An RGB color. # An opaque RGB color.
510 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
511 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
512 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
513 },
514 },
515 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400516 "bold": True or False, # Whether or not the text is rendered as bold.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800517 "baselineOffset": "A String", # The text's vertical offset from its normal position.
518 #
519 # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
520 # rendered in a smaller font size, computed based on the `font_size` field.
521 # The `font_size` itself is not affected by changes in this field.
522 "strikethrough": True or False, # Whether or not the text is struck through.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400523 "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text.
Sai Cheemalapatie833b792017-03-24 15:06:46 -0700524 #
525 # This field is an extension of `font_family` meant to support explicit font
526 # weights without breaking backwards compatibility. As such, when reading the
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400527 # style of a range of text, the value of `weighted_font_family#font_family`
528 # will always be equal to that of `font_family`. However, when writing, if
529 # both fields are included in the field mask (either explicitly or through
530 # the wildcard `"*"`), their values are reconciled as follows:
531 #
532 # * If `font_family` is set and `weighted_font_family` is not, the value of
533 # `font_family` is applied with weight `400` ("normal").
534 # * If both fields are set, the value of `font_family` must match that of
535 # `weighted_font_family#font_family`. If so, the font family and weight of
536 # `weighted_font_family` is applied. Otherwise, a 400 bad request error is
537 # returned.
538 # * If `weighted_font_family` is set and `font_family` is not, the font
539 # family and weight of `weighted_font_family` is applied.
540 # * If neither field is set, the font family and weight of the text inherit
541 # from the parent. Note that these properties cannot inherit separately
542 # from each other.
543 #
544 # If an update request specifies values for both `weighted_font_family` and
545 # `bold`, the `weighted_font_family` is applied first, then `bold`.
546 #
547 # If `weighted_font_family#weight` is not set, it defaults to `400`.
548 #
549 # If `weighted_font_family` is set, then `weighted_font_family#font_family`
550 # must also be set with a non-empty value. Otherwise, a 400 bad request error
551 # is returned.
Sai Cheemalapatie833b792017-03-24 15:06:46 -0700552 "fontFamily": "A String", # The font family of the text.
553 #
554 # The font family can be any font from the Font menu in Slides or from
555 # [Google Fonts] (https://fonts.google.com/). If the font name is
556 # unrecognized, the text is rendered in `Arial`.
557 "weight": 42, # The rendered weight of the text. This field can have any value that is a
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400558 # multiple of `100` between `100` and `900`, inclusive. This range
559 # corresponds to the numerical values described in the CSS 2.1
560 # Specification, [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness),
561 # with non-numerical values disallowed. Weights greater than or equal to
562 # `700` are considered bold, and weights less than `700`are not bold. The
563 # default value is `400` ("normal").
Sai Cheemalapatie833b792017-03-24 15:06:46 -0700564 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800565 "smallCaps": True or False, # Whether or not the text is in small capital letters.
566 "fontFamily": "A String", # The font family of the text.
567 #
568 # The font family can be any font from the Font menu in Slides or from
569 # [Google Fonts] (https://fonts.google.com/). If the font name is
570 # unrecognized, the text is rendered in `Arial`.
571 #
572 # Some fonts can affect the weight of the text. If an update request
573 # specifies values for both `font_family` and `bold`, the explicitly-set
574 # `bold` value is used.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400575 "italic": True or False, # Whether or not the text is italicized.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800576 "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
577 # are not inherited from parent text.
578 #
579 # Changing the link in an update request causes some other changes to the
580 # text style of the range:
581 #
582 # * When setting a link, the text foreground color will be set to
583 # ThemeColorType.HYPERLINK and the text will
584 # be underlined. If these fields are modified in the same
585 # request, those values will be used instead of the link defaults.
586 # * Setting a link on a text range that overlaps with an existing link will
587 # also update the existing link to point to the new URL.
588 # * Links are not settable on newline characters. As a result, setting a link
589 # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
590 # will separate the newline character(s) into their own text runs. The
591 # link will be applied separately to the runs before and after the newline.
592 # * Removing a link will update the text style of the range to match the
593 # style of the preceding text (or the default text styles if the preceding
594 # text is another link) unless different styles are being set in the same
595 # request.
596 "url": "A String", # If set, indicates this is a link to the external web page at this URL.
Thomas Coffee2f245372017-03-27 10:39:26 -0700597 "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
598 # in the presentation. There may not be a slide at this index.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400599 "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
600 # presentation with this ID. A page with this ID may not exist.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800601 "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
602 # addressed by its position.
603 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800604 "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
605 # transparent, depending on if the `opaque_color` field in it is set.
606 "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
607 # a transparent color.
608 "themeColor": "A String", # An opaque theme color.
609 "rgbColor": { # An RGB color. # An opaque RGB color.
610 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
611 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
612 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
613 },
614 },
615 },
Sai Cheemalapatie833b792017-03-24 15:06:46 -0700616 "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
617 # points.
618 "magnitude": 3.14, # The magnitude.
619 "unit": "A String", # The units for magnitude.
620 },
621 "underline": True or False, # Whether or not the text is underlined.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800622 },
623 "type": "A String", # The type of this auto text.
624 },
625 "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code
626 # units.
627 "startIndex": 42, # The zero-based start index of this text element, in Unicode code units.
628 "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph.
629 #
630 # The `start_index` and `end_index` of this TextElement represent the
631 # range of the paragraph. Other TextElements with an index range contained
632 # inside this paragraph's range are considered to be part of this
633 # paragraph. The range of indices of two separate paragraphs will never
634 # overlap.
635 "style": { # Styles that apply to a whole paragraph. # The paragraph's style
636 #
637 # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be
638 # inherited from the parent. Which paragraph styles are inherited depend on the
639 # nesting level of lists:
640 #
641 # * A paragraph not in a list will inherit its paragraph style from the
642 # paragraph at the 0 nesting level of the list inside the parent placeholder.
643 # * A paragraph in a list will inherit its paragraph style from the paragraph
644 # at its corresponding nesting level of the list inside the parent
645 # placeholder.
646 #
647 # Inherited paragraph styles are represented as unset fields in this message.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400648 "spacingMode": "A String", # The spacing mode for the paragraph.
649 "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400650 # LEFT_TO_RIGHT since
651 # text direction is not inherited.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800652 "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400653 # inherited from the parent.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800654 "magnitude": 3.14, # The magnitude.
655 "unit": "A String", # The units for magnitude.
656 },
657 "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
658 # is represented as 100.0. If unset, the value is inherited from the parent.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800659 "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
660 # the start of the text, based on the current text direction. If unset, the
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400661 # value is inherited from the parent.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800662 "magnitude": 3.14, # The magnitude.
663 "unit": "A String", # The units for magnitude.
664 },
665 "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400666 # inherited from the parent.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800667 "magnitude": 3.14, # The magnitude.
668 "unit": "A String", # The units for magnitude.
669 },
670 "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
671 # the end of the text, based on the current text direction. If unset, the
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400672 # value is inherited from the parent.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800673 "magnitude": 3.14, # The magnitude.
674 "unit": "A String", # The units for magnitude.
675 },
676 "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400677 # If unset, the value is inherited from the parent.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800678 "magnitude": 3.14, # The magnitude.
679 "unit": "A String", # The units for magnitude.
680 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400681 "alignment": "A String", # The text alignment for this paragraph.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800682 },
683 "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
684 # belong to a list.
685 "nestingLevel": 42, # The nesting level of this paragraph in the list.
686 "listId": "A String", # The ID of the list this paragraph belongs to.
687 "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet.
688 #
689 # If this text is contained in a shape with a parent placeholder, then these text styles may be
690 # inherited from the parent. Which text styles are inherited depend on the
691 # nesting level of lists:
692 #
693 # * A text run in a paragraph that is not in a list will inherit its text style
694 # from the the newline character in the paragraph at the 0 nesting level of
695 # the list inside the parent placeholder.
696 # * A text run in a paragraph that is in a list will inherit its text style
697 # from the newline character in the paragraph at its corresponding nesting
698 # level of the list inside the parent placeholder.
699 #
700 # Inherited text styles are represented as unset fields in this message. If
701 # text is contained in a shape without a parent placeholder, unsetting these
702 # fields will revert the style to a value matching the defaults in the Slides
703 # editor.
704 "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
705 # transparent, depending on if the `opaque_color` field in it is set.
706 "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
707 # a transparent color.
708 "themeColor": "A String", # An opaque theme color.
709 "rgbColor": { # An RGB color. # An opaque RGB color.
710 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
711 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
712 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
713 },
714 },
715 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400716 "bold": True or False, # Whether or not the text is rendered as bold.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800717 "baselineOffset": "A String", # The text's vertical offset from its normal position.
718 #
719 # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
720 # rendered in a smaller font size, computed based on the `font_size` field.
721 # The `font_size` itself is not affected by changes in this field.
722 "strikethrough": True or False, # Whether or not the text is struck through.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400723 "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text.
Sai Cheemalapatie833b792017-03-24 15:06:46 -0700724 #
725 # This field is an extension of `font_family` meant to support explicit font
726 # weights without breaking backwards compatibility. As such, when reading the
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400727 # style of a range of text, the value of `weighted_font_family#font_family`
728 # will always be equal to that of `font_family`. However, when writing, if
729 # both fields are included in the field mask (either explicitly or through
730 # the wildcard `"*"`), their values are reconciled as follows:
731 #
732 # * If `font_family` is set and `weighted_font_family` is not, the value of
733 # `font_family` is applied with weight `400` ("normal").
734 # * If both fields are set, the value of `font_family` must match that of
735 # `weighted_font_family#font_family`. If so, the font family and weight of
736 # `weighted_font_family` is applied. Otherwise, a 400 bad request error is
737 # returned.
738 # * If `weighted_font_family` is set and `font_family` is not, the font
739 # family and weight of `weighted_font_family` is applied.
740 # * If neither field is set, the font family and weight of the text inherit
741 # from the parent. Note that these properties cannot inherit separately
742 # from each other.
743 #
744 # If an update request specifies values for both `weighted_font_family` and
745 # `bold`, the `weighted_font_family` is applied first, then `bold`.
746 #
747 # If `weighted_font_family#weight` is not set, it defaults to `400`.
748 #
749 # If `weighted_font_family` is set, then `weighted_font_family#font_family`
750 # must also be set with a non-empty value. Otherwise, a 400 bad request error
751 # is returned.
Sai Cheemalapatie833b792017-03-24 15:06:46 -0700752 "fontFamily": "A String", # The font family of the text.
753 #
754 # The font family can be any font from the Font menu in Slides or from
755 # [Google Fonts] (https://fonts.google.com/). If the font name is
756 # unrecognized, the text is rendered in `Arial`.
757 "weight": 42, # The rendered weight of the text. This field can have any value that is a
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400758 # multiple of `100` between `100` and `900`, inclusive. This range
759 # corresponds to the numerical values described in the CSS 2.1
760 # Specification, [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness),
761 # with non-numerical values disallowed. Weights greater than or equal to
762 # `700` are considered bold, and weights less than `700`are not bold. The
763 # default value is `400` ("normal").
Sai Cheemalapatie833b792017-03-24 15:06:46 -0700764 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800765 "smallCaps": True or False, # Whether or not the text is in small capital letters.
766 "fontFamily": "A String", # The font family of the text.
767 #
768 # The font family can be any font from the Font menu in Slides or from
769 # [Google Fonts] (https://fonts.google.com/). If the font name is
770 # unrecognized, the text is rendered in `Arial`.
771 #
772 # Some fonts can affect the weight of the text. If an update request
773 # specifies values for both `font_family` and `bold`, the explicitly-set
774 # `bold` value is used.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400775 "italic": True or False, # Whether or not the text is italicized.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800776 "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
777 # are not inherited from parent text.
778 #
779 # Changing the link in an update request causes some other changes to the
780 # text style of the range:
781 #
782 # * When setting a link, the text foreground color will be set to
783 # ThemeColorType.HYPERLINK and the text will
784 # be underlined. If these fields are modified in the same
785 # request, those values will be used instead of the link defaults.
786 # * Setting a link on a text range that overlaps with an existing link will
787 # also update the existing link to point to the new URL.
788 # * Links are not settable on newline characters. As a result, setting a link
789 # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
790 # will separate the newline character(s) into their own text runs. The
791 # link will be applied separately to the runs before and after the newline.
792 # * Removing a link will update the text style of the range to match the
793 # style of the preceding text (or the default text styles if the preceding
794 # text is another link) unless different styles are being set in the same
795 # request.
796 "url": "A String", # If set, indicates this is a link to the external web page at this URL.
Thomas Coffee2f245372017-03-27 10:39:26 -0700797 "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
798 # in the presentation. There may not be a slide at this index.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400799 "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
800 # presentation with this ID. A page with this ID may not exist.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800801 "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
802 # addressed by its position.
803 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800804 "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
805 # transparent, depending on if the `opaque_color` field in it is set.
806 "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
807 # a transparent color.
808 "themeColor": "A String", # An opaque theme color.
809 "rgbColor": { # An RGB color. # An opaque RGB color.
810 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
811 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
812 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
813 },
814 },
815 },
Sai Cheemalapatie833b792017-03-24 15:06:46 -0700816 "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
817 # points.
818 "magnitude": 3.14, # The magnitude.
819 "unit": "A String", # The units for magnitude.
820 },
821 "underline": True or False, # Whether or not the text is underlined.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800822 },
823 "glyph": "A String", # The rendered bullet glyph for this paragraph.
824 },
825 },
826 "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters
827 # in the run have the same TextStyle.
828 #
829 # The `start_index` and `end_index` of TextRuns will always be fully
830 # contained in the index range of a single `paragraph_marker` TextElement.
831 # In other words, a TextRun will never span multiple paragraphs.
832 # styling.
833 "content": "A String", # The text of this run.
834 "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run.
835 #
836 # If this text is contained in a shape with a parent placeholder, then these text styles may be
837 # inherited from the parent. Which text styles are inherited depend on the
838 # nesting level of lists:
839 #
840 # * A text run in a paragraph that is not in a list will inherit its text style
841 # from the the newline character in the paragraph at the 0 nesting level of
842 # the list inside the parent placeholder.
843 # * A text run in a paragraph that is in a list will inherit its text style
844 # from the newline character in the paragraph at its corresponding nesting
845 # level of the list inside the parent placeholder.
846 #
847 # Inherited text styles are represented as unset fields in this message. If
848 # text is contained in a shape without a parent placeholder, unsetting these
849 # fields will revert the style to a value matching the defaults in the Slides
850 # editor.
851 "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
852 # transparent, depending on if the `opaque_color` field in it is set.
853 "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
854 # a transparent color.
855 "themeColor": "A String", # An opaque theme color.
856 "rgbColor": { # An RGB color. # An opaque RGB color.
857 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
858 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
859 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
860 },
861 },
862 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400863 "bold": True or False, # Whether or not the text is rendered as bold.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800864 "baselineOffset": "A String", # The text's vertical offset from its normal position.
865 #
866 # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
867 # rendered in a smaller font size, computed based on the `font_size` field.
868 # The `font_size` itself is not affected by changes in this field.
869 "strikethrough": True or False, # Whether or not the text is struck through.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400870 "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text.
Sai Cheemalapatie833b792017-03-24 15:06:46 -0700871 #
872 # This field is an extension of `font_family` meant to support explicit font
873 # weights without breaking backwards compatibility. As such, when reading the
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400874 # style of a range of text, the value of `weighted_font_family#font_family`
875 # will always be equal to that of `font_family`. However, when writing, if
876 # both fields are included in the field mask (either explicitly or through
877 # the wildcard `"*"`), their values are reconciled as follows:
878 #
879 # * If `font_family` is set and `weighted_font_family` is not, the value of
880 # `font_family` is applied with weight `400` ("normal").
881 # * If both fields are set, the value of `font_family` must match that of
882 # `weighted_font_family#font_family`. If so, the font family and weight of
883 # `weighted_font_family` is applied. Otherwise, a 400 bad request error is
884 # returned.
885 # * If `weighted_font_family` is set and `font_family` is not, the font
886 # family and weight of `weighted_font_family` is applied.
887 # * If neither field is set, the font family and weight of the text inherit
888 # from the parent. Note that these properties cannot inherit separately
889 # from each other.
890 #
891 # If an update request specifies values for both `weighted_font_family` and
892 # `bold`, the `weighted_font_family` is applied first, then `bold`.
893 #
894 # If `weighted_font_family#weight` is not set, it defaults to `400`.
895 #
896 # If `weighted_font_family` is set, then `weighted_font_family#font_family`
897 # must also be set with a non-empty value. Otherwise, a 400 bad request error
898 # is returned.
Sai Cheemalapatie833b792017-03-24 15:06:46 -0700899 "fontFamily": "A String", # The font family of the text.
900 #
901 # The font family can be any font from the Font menu in Slides or from
902 # [Google Fonts] (https://fonts.google.com/). If the font name is
903 # unrecognized, the text is rendered in `Arial`.
904 "weight": 42, # The rendered weight of the text. This field can have any value that is a
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400905 # multiple of `100` between `100` and `900`, inclusive. This range
906 # corresponds to the numerical values described in the CSS 2.1
907 # Specification, [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness),
908 # with non-numerical values disallowed. Weights greater than or equal to
909 # `700` are considered bold, and weights less than `700`are not bold. The
910 # default value is `400` ("normal").
Sai Cheemalapatie833b792017-03-24 15:06:46 -0700911 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800912 "smallCaps": True or False, # Whether or not the text is in small capital letters.
913 "fontFamily": "A String", # The font family of the text.
914 #
915 # The font family can be any font from the Font menu in Slides or from
916 # [Google Fonts] (https://fonts.google.com/). If the font name is
917 # unrecognized, the text is rendered in `Arial`.
918 #
919 # Some fonts can affect the weight of the text. If an update request
920 # specifies values for both `font_family` and `bold`, the explicitly-set
921 # `bold` value is used.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400922 "italic": True or False, # Whether or not the text is italicized.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800923 "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
924 # are not inherited from parent text.
925 #
926 # Changing the link in an update request causes some other changes to the
927 # text style of the range:
928 #
929 # * When setting a link, the text foreground color will be set to
930 # ThemeColorType.HYPERLINK and the text will
931 # be underlined. If these fields are modified in the same
932 # request, those values will be used instead of the link defaults.
933 # * Setting a link on a text range that overlaps with an existing link will
934 # also update the existing link to point to the new URL.
935 # * Links are not settable on newline characters. As a result, setting a link
936 # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
937 # will separate the newline character(s) into their own text runs. The
938 # link will be applied separately to the runs before and after the newline.
939 # * Removing a link will update the text style of the range to match the
940 # style of the preceding text (or the default text styles if the preceding
941 # text is another link) unless different styles are being set in the same
942 # request.
943 "url": "A String", # If set, indicates this is a link to the external web page at this URL.
Thomas Coffee2f245372017-03-27 10:39:26 -0700944 "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
945 # in the presentation. There may not be a slide at this index.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400946 "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
947 # presentation with this ID. A page with this ID may not exist.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800948 "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
949 # addressed by its position.
950 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800951 "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
952 # transparent, depending on if the `opaque_color` field in it is set.
953 "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
954 # a transparent color.
955 "themeColor": "A String", # An opaque theme color.
956 "rgbColor": { # An RGB color. # An opaque RGB color.
957 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
958 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
959 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
960 },
961 },
962 },
Sai Cheemalapatie833b792017-03-24 15:06:46 -0700963 "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
964 # points.
965 "magnitude": 3.14, # The magnitude.
966 "unit": "A String", # The units for magnitude.
967 },
968 "underline": True or False, # Whether or not the text is underlined.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800969 },
970 },
971 },
972 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800973 },
974 "shapeProperties": { # The properties of a Shape. # The properties of the shape.
975 #
976 # If the shape is a placeholder shape as determined by the
977 # placeholder field, then these
978 # properties may be inherited from a parent placeholder shape.
979 # Determining the rendered value of the property depends on the corresponding
980 # property_state field value.
981 "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from
982 # a parent placeholder if it exists. If the shape has no parent, then the
983 # default shadow matches the defaults for new shapes created in the Slides
984 # editor. This property is read-only.
985 #
986 # If these fields are unset, they may be inherited from a parent placeholder
987 # if it exists. If there is no parent, the fields will default to the value
988 # used for new page elements created in the Slides editor, which may depend on
989 # the page element kind.
990 "color": { # A themeable solid color value. # The shadow color value.
991 "themeColor": "A String", # An opaque theme color.
992 "rgbColor": { # An RGB color. # An opaque RGB color.
993 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
994 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
995 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
996 },
997 },
998 "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
999 # relative to the alignment position.
1000 # to transform source coordinates (x,y) into destination coordinates (x', y')
1001 # according to:
1002 #
1003 # x' x = shear_y scale_y translate_y
1004 # 1 [ 1 ]
1005 #
1006 # After transformation,
1007 #
1008 # x' = scale_x * x + shear_x * y + translate_x;
1009 # y' = scale_y * y + shear_y * x + translate_y;
1010 #
1011 # This message is therefore composed of these six matrix elements.
1012 "translateX": 3.14, # The X coordinate translation element.
1013 "translateY": 3.14, # The Y coordinate translation element.
1014 "scaleX": 3.14, # The X coordinate scaling element.
1015 "scaleY": 3.14, # The Y coordinate scaling element.
1016 "shearY": 3.14, # The Y coordinate shearing element.
1017 "shearX": 3.14, # The X coordinate shearing element.
1018 "unit": "A String", # The units for translate elements.
1019 },
1020 "propertyState": "A String", # The shadow property state.
1021 #
1022 # Updating the the shadow on a page element will implicitly update this field
1023 # to `RENDERED`, unless another value is specified in the same request. To
1024 # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
1025 # case, any other shadow fields set in the same request will be ignored.
1026 "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
1027 # shadow becomes.
1028 "magnitude": 3.14, # The magnitude.
1029 "unit": "A String", # The units for magnitude.
1030 },
1031 "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
1032 "type": "A String", # The type of the shadow.
1033 "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
1034 # scale and skew of the shadow.
1035 "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
1036 },
1037 "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is
1038 # inherited from a parent placeholder if it exists. If the shape has no
1039 # parent, then the default background fill depends on the shape type,
1040 # matching the defaults for new shapes created in the Slides editor.
1041 "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
1042 # specified color value.
1043 #
1044 # If any field is unset, its value may be inherited from a parent placeholder
1045 # if it exists.
1046 "color": { # A themeable solid color value. # The color value of the solid fill.
1047 "themeColor": "A String", # An opaque theme color.
1048 "rgbColor": { # An RGB color. # An opaque RGB color.
1049 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
1050 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
1051 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
1052 },
1053 },
1054 "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
1055 # That is, the final pixel color is defined by the equation:
1056 #
1057 # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
1058 #
1059 # This means that a value of 1.0 corresponds to a solid color, whereas
1060 # a value of 0.0 corresponds to a completely transparent color.
1061 },
1062 "propertyState": "A String", # The background fill property state.
1063 #
1064 # Updating the the fill on a shape will implicitly update this field to
1065 # `RENDERED`, unless another value is specified in the same request. To
1066 # have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
1067 # any other fill fields set in the same request will be ignored.
1068 },
1069 "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links
1070 # are not inherited from parent placeholders.
1071 "url": "A String", # If set, indicates this is a link to the external web page at this URL.
Thomas Coffee2f245372017-03-27 10:39:26 -07001072 "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
1073 # in the presentation. There may not be a slide at this index.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001074 "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
1075 # presentation with this ID. A page with this ID may not exist.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001076 "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
1077 # addressed by its position.
1078 },
1079 "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a
1080 # parent placeholder if it exists. If the shape has no parent, then the
1081 # default outline depends on the shape type, matching the defaults for
1082 # new shapes created in the Slides editor.
1083 #
1084 # If these fields are unset, they may be inherited from a parent placeholder
1085 # if it exists. If there is no parent, the fields will default to the value
1086 # used for new page elements created in the Slides editor, which may depend on
1087 # the page element kind.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001088 "outlineFill": { # The fill of the outline. # The fill of the outline.
1089 "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
1090 # specified color value.
1091 #
1092 # If any field is unset, its value may be inherited from a parent placeholder
1093 # if it exists.
1094 "color": { # A themeable solid color value. # The color value of the solid fill.
1095 "themeColor": "A String", # An opaque theme color.
1096 "rgbColor": { # An RGB color. # An opaque RGB color.
1097 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
1098 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
1099 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
1100 },
1101 },
1102 "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
1103 # That is, the final pixel color is defined by the equation:
1104 #
1105 # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
1106 #
1107 # This means that a value of 1.0 corresponds to a solid color, whereas
1108 # a value of 0.0 corresponds to a completely transparent color.
1109 },
1110 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001111 "propertyState": "A String", # The outline property state.
1112 #
1113 # Updating the the outline on a page element will implicitly update this
1114 # field to`RENDERED`, unless another value is specified in the same request.
1115 # To have no outline on a page element, set this field to `NOT_RENDERED`. In
1116 # this case, any other outline fields set in the same request will be
1117 # ignored.
1118 "dashStyle": "A String", # The dash style of the outline.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001119 "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
1120 "magnitude": 3.14, # The magnitude.
1121 "unit": "A String", # The units for magnitude.
1122 },
1123 },
1124 },
1125 "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on
1126 # layouts and masters.
1127 #
1128 # If set, the shape is a placeholder shape and any inherited properties
1129 # can be resolved by looking at the parent placeholder identified by the
1130 # Placeholder.parent_object_id field.
1131 "parentObjectId": "A String", # The object ID of this shape's parent placeholder.
1132 # If unset, the parent placeholder shape does not exist, so the shape does
1133 # not inherit properties from any other shape.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001134 "index": 42, # The index of the placeholder. If the same placeholder types are present in
1135 # the same page, they would have different index values.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001136 "type": "A String", # The type of the placeholder.
1137 },
1138 "shapeType": "A String", # The type of the shape.
1139 },
1140 "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are
1141 # represented as images.
1142 # a linked chart embedded from Google Sheets.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001143 "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
1144 # minutes. This URL is tagged with the account of the requester. Anyone with
1145 # the URL effectively accesses the image as the original requester. Access to
1146 # the image may be lost if the presentation's sharing settings change.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001147 "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001148 "sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
1149 "chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
1150 "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
1151 #
1152 # If these fields are unset, they may be inherited from a parent placeholder
1153 # if it exists. If there is no parent, the fields will default to the value
1154 # used for new page elements created in the Slides editor, which may depend on
1155 # the page element kind.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001156 "outlineFill": { # The fill of the outline. # The fill of the outline.
1157 "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
1158 # specified color value.
1159 #
1160 # If any field is unset, its value may be inherited from a parent placeholder
1161 # if it exists.
1162 "color": { # A themeable solid color value. # The color value of the solid fill.
1163 "themeColor": "A String", # An opaque theme color.
1164 "rgbColor": { # An RGB color. # An opaque RGB color.
1165 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
1166 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
1167 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
1168 },
1169 },
1170 "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
1171 # That is, the final pixel color is defined by the equation:
1172 #
1173 # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
1174 #
1175 # This means that a value of 1.0 corresponds to a solid color, whereas
1176 # a value of 0.0 corresponds to a completely transparent color.
1177 },
1178 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001179 "propertyState": "A String", # The outline property state.
1180 #
1181 # Updating the the outline on a page element will implicitly update this
1182 # field to`RENDERED`, unless another value is specified in the same request.
1183 # To have no outline on a page element, set this field to `NOT_RENDERED`. In
1184 # this case, any other outline fields set in the same request will be
1185 # ignored.
1186 "dashStyle": "A String", # The dash style of the outline.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001187 "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
1188 "magnitude": 3.14, # The magnitude.
1189 "unit": "A String", # The units for magnitude.
1190 },
1191 },
1192 "brightness": 3.14, # The brightness effect of the image. The value should be in the interval
1193 # [-1.0, 1.0], where 0 means no effect. This property is read-only.
1194 "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
1195 # This property is read-only.
1196 "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001197 # stops.
1198 #
1199 # The colors in the gradient will replace the corresponding colors at
1200 # the same position in the color palette and apply to the image. This
1201 # property is read-only.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001202 { # A color and position in a gradient band.
1203 "color": { # A themeable solid color value. # The color of the gradient stop.
1204 "themeColor": "A String", # An opaque theme color.
1205 "rgbColor": { # An RGB color. # An opaque RGB color.
1206 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
1207 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
1208 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
1209 },
1210 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001211 "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
1212 # fully opaque.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001213 "position": 3.14, # The relative position of the color stop in the gradient band measured
1214 # in percentage. The value should be in the interval [0.0, 1.0].
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001215 },
1216 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001217 "name": "A String", # The name of the recolor effect.
1218 #
1219 # The name is determined from the `recolor_stops` by matching the gradient
1220 # against the colors in the page's current color scheme. This property is
1221 # read-only.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001222 },
1223 "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
1224 "url": "A String", # If set, indicates this is a link to the external web page at this URL.
Thomas Coffee2f245372017-03-27 10:39:26 -07001225 "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
1226 # in the presentation. There may not be a slide at this index.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001227 "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
1228 # presentation with this ID. A page with this ID may not exist.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001229 "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
1230 # addressed by its position.
1231 },
1232 "transparency": 3.14, # The transparency effect of the image. The value should be in the interval
1233 # [0.0, 1.0], where 0 means no effect and 1 means completely transparent.
1234 # This property is read-only.
1235 "cropProperties": { # The crop properties of an object enclosed in a container. For example, an # The crop properties of the image. If not set, the image is not cropped.
1236 # This property is read-only.
1237 # Image.
1238 #
1239 # The crop properties is represented by the offsets of four edges which define
1240 # a crop rectangle. The offsets are measured in percentage from the
1241 # corresponding edges of the object's original bounding rectangle towards
1242 # inside, relative to the object's original dimensions.
1243 #
1244 # - If the offset is in the interval (0, 1), the corresponding edge of crop
1245 # rectangle is positioned inside of the object's original bounding rectangle.
1246 # - If the offset is negative or greater than 1, the corresponding edge of crop
1247 # rectangle is positioned outside of the object's original bounding rectangle.
1248 # - If the left edge of the crop rectangle is on the right side of its right
1249 # edge, the object will be flipped horizontally.
1250 # - If the top edge of the crop rectangle is below its bottom edge, the object
1251 # will be flipped vertically.
1252 # - If all offsets and rotation angle is 0, the object is not cropped.
1253 #
1254 # After cropping, the content in the crop rectangle will be stretched to fit
1255 # its container.
1256 "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to
1257 # the right of the original bounding rectangle left edge, relative to the
1258 # object's original width.
Sai Cheemalapatie833b792017-03-24 15:06:46 -07001259 "angle": 3.14, # The rotation angle of the crop window around its center, in radians.
1260 # Rotation angle is applied after the offset.
Thomas Coffee2f245372017-03-27 10:39:26 -07001261 "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
1262 # to the left of the original bounding rectangle right edge, relative to the
1263 # object's original width.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001264 "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
1265 # above the original bounding rectangle bottom edge, relative to the object's
1266 # original height.
1267 "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
1268 # below the original bounding rectangle top edge, relative to the object's
1269 # original height.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001270 },
1271 "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property
1272 # is read-only.
1273 #
1274 # If these fields are unset, they may be inherited from a parent placeholder
1275 # if it exists. If there is no parent, the fields will default to the value
1276 # used for new page elements created in the Slides editor, which may depend on
1277 # the page element kind.
1278 "color": { # A themeable solid color value. # The shadow color value.
1279 "themeColor": "A String", # An opaque theme color.
1280 "rgbColor": { # An RGB color. # An opaque RGB color.
1281 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
1282 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
1283 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
1284 },
1285 },
1286 "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
1287 # relative to the alignment position.
1288 # to transform source coordinates (x,y) into destination coordinates (x', y')
1289 # according to:
1290 #
1291 # x' x = shear_y scale_y translate_y
1292 # 1 [ 1 ]
1293 #
1294 # After transformation,
1295 #
1296 # x' = scale_x * x + shear_x * y + translate_x;
1297 # y' = scale_y * y + shear_y * x + translate_y;
1298 #
1299 # This message is therefore composed of these six matrix elements.
1300 "translateX": 3.14, # The X coordinate translation element.
1301 "translateY": 3.14, # The Y coordinate translation element.
1302 "scaleX": 3.14, # The X coordinate scaling element.
1303 "scaleY": 3.14, # The Y coordinate scaling element.
1304 "shearY": 3.14, # The Y coordinate shearing element.
1305 "shearX": 3.14, # The X coordinate shearing element.
1306 "unit": "A String", # The units for translate elements.
1307 },
1308 "propertyState": "A String", # The shadow property state.
1309 #
1310 # Updating the the shadow on a page element will implicitly update this field
1311 # to `RENDERED`, unless another value is specified in the same request. To
1312 # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
1313 # case, any other shadow fields set in the same request will be ignored.
1314 "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
1315 # shadow becomes.
1316 "magnitude": 3.14, # The magnitude.
1317 "unit": "A String", # The units for magnitude.
1318 },
1319 "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
1320 "type": "A String", # The type of the shadow.
1321 "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
1322 # scale and skew of the shadow.
1323 "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
1324 },
1325 "contrast": 3.14, # The contrast effect of the image. The value should be in the interval
1326 # [-1.0, 1.0], where 0 means no effect. This property is read-only.
1327 },
1328 },
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001329 "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is
1330 # embedded.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001331 },
1332 "video": { # A PageElement kind representing a # A video page element.
1333 # video.
1334 "url": "A String", # An URL to a video. The URL is valid as long as the source video
1335 # exists and sharing settings do not change.
1336 "videoProperties": { # The properties of the Video. # The properties of the video.
1337 "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
1338 # videos created in the Slides editor.
1339 #
1340 # If these fields are unset, they may be inherited from a parent placeholder
1341 # if it exists. If there is no parent, the fields will default to the value
1342 # used for new page elements created in the Slides editor, which may depend on
1343 # the page element kind.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001344 "outlineFill": { # The fill of the outline. # The fill of the outline.
1345 "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
1346 # specified color value.
1347 #
1348 # If any field is unset, its value may be inherited from a parent placeholder
1349 # if it exists.
1350 "color": { # A themeable solid color value. # The color value of the solid fill.
1351 "themeColor": "A String", # An opaque theme color.
1352 "rgbColor": { # An RGB color. # An opaque RGB color.
1353 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
1354 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
1355 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
1356 },
1357 },
1358 "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
1359 # That is, the final pixel color is defined by the equation:
1360 #
1361 # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
1362 #
1363 # This means that a value of 1.0 corresponds to a solid color, whereas
1364 # a value of 0.0 corresponds to a completely transparent color.
1365 },
1366 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001367 "propertyState": "A String", # The outline property state.
1368 #
1369 # Updating the the outline on a page element will implicitly update this
1370 # field to`RENDERED`, unless another value is specified in the same request.
1371 # To have no outline on a page element, set this field to `NOT_RENDERED`. In
1372 # this case, any other outline fields set in the same request will be
1373 # ignored.
1374 "dashStyle": "A String", # The dash style of the outline.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001375 "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
1376 "magnitude": 3.14, # The magnitude.
1377 "unit": "A String", # The units for magnitude.
1378 },
1379 },
1380 },
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001381 "id": "A String", # The video source's unique identifier for this video.
1382 "source": "A String", # The video source.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001383 },
Sai Cheemalapatie833b792017-03-24 15:06:46 -07001384 "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
1385 # joined collection of PageElements.
1386 "children": [ # The collection of elements in the group. The minimum size of a group is 2.
1387 # Object with schema name: PageElement
1388 ],
1389 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001390 "table": { # A PageElement kind representing a # A table page element.
1391 # table.
1392 "tableColumns": [ # Properties of each column.
1393 { # Properties of each column in a table.
1394 "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column.
1395 "magnitude": 3.14, # The magnitude.
1396 "unit": "A String", # The units for magnitude.
1397 },
1398 },
1399 ],
1400 "tableRows": [ # Properties and contents of each row.
1401 #
1402 # Cells that span multiple rows are contained in only one of these rows and
1403 # have a row_span greater
1404 # than 1.
1405 { # Properties and contents of each row in a table.
1406 "tableCells": [ # Properties and contents of each cell.
1407 #
1408 # Cells that span multiple columns are represented only once with a
1409 # column_span greater
1410 # than 1. As a result, the length of this collection does not always match
1411 # the number of columns of the entire table.
1412 { # Properties and contents of each table cell.
1413 "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
1414 # text box or rectangle) or a table cell in a page.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001415 "lists": { # The bulleted lists contained in this text, keyed by list ID.
1416 "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
1417 # associated with a list. A paragraph that is part of a list has an implicit
1418 # reference to that list's ID.
1419 "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
1420 # level. A list has at most nine levels of nesting, so the possible values
1421 # for the keys of this map are 0 through 8, inclusive.
1422 "a_key": { # Contains properties describing the look and feel of a list bullet at a given
1423 # level of nesting.
1424 "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
1425 #
1426 # If this text is contained in a shape with a parent placeholder, then these text styles may be
1427 # inherited from the parent. Which text styles are inherited depend on the
1428 # nesting level of lists:
1429 #
1430 # * A text run in a paragraph that is not in a list will inherit its text style
1431 # from the the newline character in the paragraph at the 0 nesting level of
1432 # the list inside the parent placeholder.
1433 # * A text run in a paragraph that is in a list will inherit its text style
1434 # from the newline character in the paragraph at its corresponding nesting
1435 # level of the list inside the parent placeholder.
1436 #
1437 # Inherited text styles are represented as unset fields in this message. If
1438 # text is contained in a shape without a parent placeholder, unsetting these
1439 # fields will revert the style to a value matching the defaults in the Slides
1440 # editor.
1441 "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
1442 # transparent, depending on if the `opaque_color` field in it is set.
1443 "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
1444 # a transparent color.
1445 "themeColor": "A String", # An opaque theme color.
1446 "rgbColor": { # An RGB color. # An opaque RGB color.
1447 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
1448 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
1449 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
1450 },
1451 },
1452 },
1453 "bold": True or False, # Whether or not the text is rendered as bold.
1454 "baselineOffset": "A String", # The text's vertical offset from its normal position.
1455 #
1456 # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
1457 # rendered in a smaller font size, computed based on the `font_size` field.
1458 # The `font_size` itself is not affected by changes in this field.
1459 "strikethrough": True or False, # Whether or not the text is struck through.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001460 "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text.
Sai Cheemalapatie833b792017-03-24 15:06:46 -07001461 #
1462 # This field is an extension of `font_family` meant to support explicit font
1463 # weights without breaking backwards compatibility. As such, when reading the
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001464 # style of a range of text, the value of `weighted_font_family#font_family`
1465 # will always be equal to that of `font_family`. However, when writing, if
1466 # both fields are included in the field mask (either explicitly or through
1467 # the wildcard `"*"`), their values are reconciled as follows:
1468 #
1469 # * If `font_family` is set and `weighted_font_family` is not, the value of
1470 # `font_family` is applied with weight `400` ("normal").
1471 # * If both fields are set, the value of `font_family` must match that of
1472 # `weighted_font_family#font_family`. If so, the font family and weight of
1473 # `weighted_font_family` is applied. Otherwise, a 400 bad request error is
1474 # returned.
1475 # * If `weighted_font_family` is set and `font_family` is not, the font
1476 # family and weight of `weighted_font_family` is applied.
1477 # * If neither field is set, the font family and weight of the text inherit
1478 # from the parent. Note that these properties cannot inherit separately
1479 # from each other.
1480 #
1481 # If an update request specifies values for both `weighted_font_family` and
1482 # `bold`, the `weighted_font_family` is applied first, then `bold`.
1483 #
1484 # If `weighted_font_family#weight` is not set, it defaults to `400`.
1485 #
1486 # If `weighted_font_family` is set, then `weighted_font_family#font_family`
1487 # must also be set with a non-empty value. Otherwise, a 400 bad request error
1488 # is returned.
Sai Cheemalapatie833b792017-03-24 15:06:46 -07001489 "fontFamily": "A String", # The font family of the text.
1490 #
1491 # The font family can be any font from the Font menu in Slides or from
1492 # [Google Fonts] (https://fonts.google.com/). If the font name is
1493 # unrecognized, the text is rendered in `Arial`.
1494 "weight": 42, # The rendered weight of the text. This field can have any value that is a
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001495 # multiple of `100` between `100` and `900`, inclusive. This range
1496 # corresponds to the numerical values described in the CSS 2.1
1497 # Specification, [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness),
1498 # with non-numerical values disallowed. Weights greater than or equal to
1499 # `700` are considered bold, and weights less than `700`are not bold. The
1500 # default value is `400` ("normal").
Sai Cheemalapatie833b792017-03-24 15:06:46 -07001501 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001502 "smallCaps": True or False, # Whether or not the text is in small capital letters.
1503 "fontFamily": "A String", # The font family of the text.
1504 #
1505 # The font family can be any font from the Font menu in Slides or from
1506 # [Google Fonts] (https://fonts.google.com/). If the font name is
1507 # unrecognized, the text is rendered in `Arial`.
1508 #
1509 # Some fonts can affect the weight of the text. If an update request
1510 # specifies values for both `font_family` and `bold`, the explicitly-set
1511 # `bold` value is used.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001512 "italic": True or False, # Whether or not the text is italicized.
1513 "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
1514 # are not inherited from parent text.
1515 #
1516 # Changing the link in an update request causes some other changes to the
1517 # text style of the range:
1518 #
1519 # * When setting a link, the text foreground color will be set to
1520 # ThemeColorType.HYPERLINK and the text will
1521 # be underlined. If these fields are modified in the same
1522 # request, those values will be used instead of the link defaults.
1523 # * Setting a link on a text range that overlaps with an existing link will
1524 # also update the existing link to point to the new URL.
1525 # * Links are not settable on newline characters. As a result, setting a link
1526 # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
1527 # will separate the newline character(s) into their own text runs. The
1528 # link will be applied separately to the runs before and after the newline.
1529 # * Removing a link will update the text style of the range to match the
1530 # style of the preceding text (or the default text styles if the preceding
1531 # text is another link) unless different styles are being set in the same
1532 # request.
1533 "url": "A String", # If set, indicates this is a link to the external web page at this URL.
Thomas Coffee2f245372017-03-27 10:39:26 -07001534 "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
1535 # in the presentation. There may not be a slide at this index.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001536 "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
1537 # presentation with this ID. A page with this ID may not exist.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001538 "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
1539 # addressed by its position.
1540 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001541 "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
1542 # transparent, depending on if the `opaque_color` field in it is set.
1543 "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
1544 # a transparent color.
1545 "themeColor": "A String", # An opaque theme color.
1546 "rgbColor": { # An RGB color. # An opaque RGB color.
1547 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
1548 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
1549 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
1550 },
1551 },
1552 },
Sai Cheemalapatie833b792017-03-24 15:06:46 -07001553 "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
1554 # points.
1555 "magnitude": 3.14, # The magnitude.
1556 "unit": "A String", # The units for magnitude.
1557 },
1558 "underline": True or False, # Whether or not the text is underlined.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001559 },
1560 },
1561 },
1562 "listId": "A String", # The ID of the list.
1563 },
1564 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001565 "textElements": [ # The text contents broken down into its component parts, including styling
1566 # information. This property is read-only.
1567 { # A TextElement describes the content of a range of indices in the text content
1568 # of a Shape or TableCell.
1569 "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically
1570 # replaced with content that can change over time.
1571 "content": "A String", # The rendered content of this auto text, if available.
1572 "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text.
1573 #
1574 # If this text is contained in a shape with a parent placeholder, then these text styles may be
1575 # inherited from the parent. Which text styles are inherited depend on the
1576 # nesting level of lists:
1577 #
1578 # * A text run in a paragraph that is not in a list will inherit its text style
1579 # from the the newline character in the paragraph at the 0 nesting level of
1580 # the list inside the parent placeholder.
1581 # * A text run in a paragraph that is in a list will inherit its text style
1582 # from the newline character in the paragraph at its corresponding nesting
1583 # level of the list inside the parent placeholder.
1584 #
1585 # Inherited text styles are represented as unset fields in this message. If
1586 # text is contained in a shape without a parent placeholder, unsetting these
1587 # fields will revert the style to a value matching the defaults in the Slides
1588 # editor.
1589 "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
1590 # transparent, depending on if the `opaque_color` field in it is set.
1591 "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
1592 # a transparent color.
1593 "themeColor": "A String", # An opaque theme color.
1594 "rgbColor": { # An RGB color. # An opaque RGB color.
1595 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
1596 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
1597 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
1598 },
1599 },
1600 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001601 "bold": True or False, # Whether or not the text is rendered as bold.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001602 "baselineOffset": "A String", # The text's vertical offset from its normal position.
1603 #
1604 # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
1605 # rendered in a smaller font size, computed based on the `font_size` field.
1606 # The `font_size` itself is not affected by changes in this field.
1607 "strikethrough": True or False, # Whether or not the text is struck through.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001608 "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text.
Sai Cheemalapatie833b792017-03-24 15:06:46 -07001609 #
1610 # This field is an extension of `font_family` meant to support explicit font
1611 # weights without breaking backwards compatibility. As such, when reading the
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001612 # style of a range of text, the value of `weighted_font_family#font_family`
1613 # will always be equal to that of `font_family`. However, when writing, if
1614 # both fields are included in the field mask (either explicitly or through
1615 # the wildcard `"*"`), their values are reconciled as follows:
1616 #
1617 # * If `font_family` is set and `weighted_font_family` is not, the value of
1618 # `font_family` is applied with weight `400` ("normal").
1619 # * If both fields are set, the value of `font_family` must match that of
1620 # `weighted_font_family#font_family`. If so, the font family and weight of
1621 # `weighted_font_family` is applied. Otherwise, a 400 bad request error is
1622 # returned.
1623 # * If `weighted_font_family` is set and `font_family` is not, the font
1624 # family and weight of `weighted_font_family` is applied.
1625 # * If neither field is set, the font family and weight of the text inherit
1626 # from the parent. Note that these properties cannot inherit separately
1627 # from each other.
1628 #
1629 # If an update request specifies values for both `weighted_font_family` and
1630 # `bold`, the `weighted_font_family` is applied first, then `bold`.
1631 #
1632 # If `weighted_font_family#weight` is not set, it defaults to `400`.
1633 #
1634 # If `weighted_font_family` is set, then `weighted_font_family#font_family`
1635 # must also be set with a non-empty value. Otherwise, a 400 bad request error
1636 # is returned.
Sai Cheemalapatie833b792017-03-24 15:06:46 -07001637 "fontFamily": "A String", # The font family of the text.
1638 #
1639 # The font family can be any font from the Font menu in Slides or from
1640 # [Google Fonts] (https://fonts.google.com/). If the font name is
1641 # unrecognized, the text is rendered in `Arial`.
1642 "weight": 42, # The rendered weight of the text. This field can have any value that is a
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001643 # multiple of `100` between `100` and `900`, inclusive. This range
1644 # corresponds to the numerical values described in the CSS 2.1
1645 # Specification, [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness),
1646 # with non-numerical values disallowed. Weights greater than or equal to
1647 # `700` are considered bold, and weights less than `700`are not bold. The
1648 # default value is `400` ("normal").
Sai Cheemalapatie833b792017-03-24 15:06:46 -07001649 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001650 "smallCaps": True or False, # Whether or not the text is in small capital letters.
1651 "fontFamily": "A String", # The font family of the text.
1652 #
1653 # The font family can be any font from the Font menu in Slides or from
1654 # [Google Fonts] (https://fonts.google.com/). If the font name is
1655 # unrecognized, the text is rendered in `Arial`.
1656 #
1657 # Some fonts can affect the weight of the text. If an update request
1658 # specifies values for both `font_family` and `bold`, the explicitly-set
1659 # `bold` value is used.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001660 "italic": True or False, # Whether or not the text is italicized.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001661 "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
1662 # are not inherited from parent text.
1663 #
1664 # Changing the link in an update request causes some other changes to the
1665 # text style of the range:
1666 #
1667 # * When setting a link, the text foreground color will be set to
1668 # ThemeColorType.HYPERLINK and the text will
1669 # be underlined. If these fields are modified in the same
1670 # request, those values will be used instead of the link defaults.
1671 # * Setting a link on a text range that overlaps with an existing link will
1672 # also update the existing link to point to the new URL.
1673 # * Links are not settable on newline characters. As a result, setting a link
1674 # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
1675 # will separate the newline character(s) into their own text runs. The
1676 # link will be applied separately to the runs before and after the newline.
1677 # * Removing a link will update the text style of the range to match the
1678 # style of the preceding text (or the default text styles if the preceding
1679 # text is another link) unless different styles are being set in the same
1680 # request.
1681 "url": "A String", # If set, indicates this is a link to the external web page at this URL.
Thomas Coffee2f245372017-03-27 10:39:26 -07001682 "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
1683 # in the presentation. There may not be a slide at this index.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001684 "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
1685 # presentation with this ID. A page with this ID may not exist.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001686 "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
1687 # addressed by its position.
1688 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001689 "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
1690 # transparent, depending on if the `opaque_color` field in it is set.
1691 "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
1692 # a transparent color.
1693 "themeColor": "A String", # An opaque theme color.
1694 "rgbColor": { # An RGB color. # An opaque RGB color.
1695 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
1696 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
1697 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
1698 },
1699 },
1700 },
Sai Cheemalapatie833b792017-03-24 15:06:46 -07001701 "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
1702 # points.
1703 "magnitude": 3.14, # The magnitude.
1704 "unit": "A String", # The units for magnitude.
1705 },
1706 "underline": True or False, # Whether or not the text is underlined.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001707 },
1708 "type": "A String", # The type of this auto text.
1709 },
1710 "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code
1711 # units.
1712 "startIndex": 42, # The zero-based start index of this text element, in Unicode code units.
1713 "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph.
1714 #
1715 # The `start_index` and `end_index` of this TextElement represent the
1716 # range of the paragraph. Other TextElements with an index range contained
1717 # inside this paragraph's range are considered to be part of this
1718 # paragraph. The range of indices of two separate paragraphs will never
1719 # overlap.
1720 "style": { # Styles that apply to a whole paragraph. # The paragraph's style
1721 #
1722 # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be
1723 # inherited from the parent. Which paragraph styles are inherited depend on the
1724 # nesting level of lists:
1725 #
1726 # * A paragraph not in a list will inherit its paragraph style from the
1727 # paragraph at the 0 nesting level of the list inside the parent placeholder.
1728 # * A paragraph in a list will inherit its paragraph style from the paragraph
1729 # at its corresponding nesting level of the list inside the parent
1730 # placeholder.
1731 #
1732 # Inherited paragraph styles are represented as unset fields in this message.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001733 "spacingMode": "A String", # The spacing mode for the paragraph.
1734 "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001735 # LEFT_TO_RIGHT since
1736 # text direction is not inherited.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001737 "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001738 # inherited from the parent.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001739 "magnitude": 3.14, # The magnitude.
1740 "unit": "A String", # The units for magnitude.
1741 },
1742 "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
1743 # is represented as 100.0. If unset, the value is inherited from the parent.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001744 "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
1745 # the start of the text, based on the current text direction. If unset, the
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001746 # value is inherited from the parent.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001747 "magnitude": 3.14, # The magnitude.
1748 "unit": "A String", # The units for magnitude.
1749 },
1750 "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001751 # inherited from the parent.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001752 "magnitude": 3.14, # The magnitude.
1753 "unit": "A String", # The units for magnitude.
1754 },
1755 "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
1756 # the end of the text, based on the current text direction. If unset, the
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001757 # value is inherited from the parent.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001758 "magnitude": 3.14, # The magnitude.
1759 "unit": "A String", # The units for magnitude.
1760 },
1761 "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001762 # If unset, the value is inherited from the parent.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001763 "magnitude": 3.14, # The magnitude.
1764 "unit": "A String", # The units for magnitude.
1765 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001766 "alignment": "A String", # The text alignment for this paragraph.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001767 },
1768 "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
1769 # belong to a list.
1770 "nestingLevel": 42, # The nesting level of this paragraph in the list.
1771 "listId": "A String", # The ID of the list this paragraph belongs to.
1772 "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet.
1773 #
1774 # If this text is contained in a shape with a parent placeholder, then these text styles may be
1775 # inherited from the parent. Which text styles are inherited depend on the
1776 # nesting level of lists:
1777 #
1778 # * A text run in a paragraph that is not in a list will inherit its text style
1779 # from the the newline character in the paragraph at the 0 nesting level of
1780 # the list inside the parent placeholder.
1781 # * A text run in a paragraph that is in a list will inherit its text style
1782 # from the newline character in the paragraph at its corresponding nesting
1783 # level of the list inside the parent placeholder.
1784 #
1785 # Inherited text styles are represented as unset fields in this message. If
1786 # text is contained in a shape without a parent placeholder, unsetting these
1787 # fields will revert the style to a value matching the defaults in the Slides
1788 # editor.
1789 "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
1790 # transparent, depending on if the `opaque_color` field in it is set.
1791 "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
1792 # a transparent color.
1793 "themeColor": "A String", # An opaque theme color.
1794 "rgbColor": { # An RGB color. # An opaque RGB color.
1795 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
1796 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
1797 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
1798 },
1799 },
1800 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001801 "bold": True or False, # Whether or not the text is rendered as bold.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001802 "baselineOffset": "A String", # The text's vertical offset from its normal position.
1803 #
1804 # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
1805 # rendered in a smaller font size, computed based on the `font_size` field.
1806 # The `font_size` itself is not affected by changes in this field.
1807 "strikethrough": True or False, # Whether or not the text is struck through.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001808 "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text.
Sai Cheemalapatie833b792017-03-24 15:06:46 -07001809 #
1810 # This field is an extension of `font_family` meant to support explicit font
1811 # weights without breaking backwards compatibility. As such, when reading the
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001812 # style of a range of text, the value of `weighted_font_family#font_family`
1813 # will always be equal to that of `font_family`. However, when writing, if
1814 # both fields are included in the field mask (either explicitly or through
1815 # the wildcard `"*"`), their values are reconciled as follows:
1816 #
1817 # * If `font_family` is set and `weighted_font_family` is not, the value of
1818 # `font_family` is applied with weight `400` ("normal").
1819 # * If both fields are set, the value of `font_family` must match that of
1820 # `weighted_font_family#font_family`. If so, the font family and weight of
1821 # `weighted_font_family` is applied. Otherwise, a 400 bad request error is
1822 # returned.
1823 # * If `weighted_font_family` is set and `font_family` is not, the font
1824 # family and weight of `weighted_font_family` is applied.
1825 # * If neither field is set, the font family and weight of the text inherit
1826 # from the parent. Note that these properties cannot inherit separately
1827 # from each other.
1828 #
1829 # If an update request specifies values for both `weighted_font_family` and
1830 # `bold`, the `weighted_font_family` is applied first, then `bold`.
1831 #
1832 # If `weighted_font_family#weight` is not set, it defaults to `400`.
1833 #
1834 # If `weighted_font_family` is set, then `weighted_font_family#font_family`
1835 # must also be set with a non-empty value. Otherwise, a 400 bad request error
1836 # is returned.
Sai Cheemalapatie833b792017-03-24 15:06:46 -07001837 "fontFamily": "A String", # The font family of the text.
1838 #
1839 # The font family can be any font from the Font menu in Slides or from
1840 # [Google Fonts] (https://fonts.google.com/). If the font name is
1841 # unrecognized, the text is rendered in `Arial`.
1842 "weight": 42, # The rendered weight of the text. This field can have any value that is a
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001843 # multiple of `100` between `100` and `900`, inclusive. This range
1844 # corresponds to the numerical values described in the CSS 2.1
1845 # Specification, [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness),
1846 # with non-numerical values disallowed. Weights greater than or equal to
1847 # `700` are considered bold, and weights less than `700`are not bold. The
1848 # default value is `400` ("normal").
Sai Cheemalapatie833b792017-03-24 15:06:46 -07001849 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001850 "smallCaps": True or False, # Whether or not the text is in small capital letters.
1851 "fontFamily": "A String", # The font family of the text.
1852 #
1853 # The font family can be any font from the Font menu in Slides or from
1854 # [Google Fonts] (https://fonts.google.com/). If the font name is
1855 # unrecognized, the text is rendered in `Arial`.
1856 #
1857 # Some fonts can affect the weight of the text. If an update request
1858 # specifies values for both `font_family` and `bold`, the explicitly-set
1859 # `bold` value is used.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001860 "italic": True or False, # Whether or not the text is italicized.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001861 "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
1862 # are not inherited from parent text.
1863 #
1864 # Changing the link in an update request causes some other changes to the
1865 # text style of the range:
1866 #
1867 # * When setting a link, the text foreground color will be set to
1868 # ThemeColorType.HYPERLINK and the text will
1869 # be underlined. If these fields are modified in the same
1870 # request, those values will be used instead of the link defaults.
1871 # * Setting a link on a text range that overlaps with an existing link will
1872 # also update the existing link to point to the new URL.
1873 # * Links are not settable on newline characters. As a result, setting a link
1874 # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
1875 # will separate the newline character(s) into their own text runs. The
1876 # link will be applied separately to the runs before and after the newline.
1877 # * Removing a link will update the text style of the range to match the
1878 # style of the preceding text (or the default text styles if the preceding
1879 # text is another link) unless different styles are being set in the same
1880 # request.
1881 "url": "A String", # If set, indicates this is a link to the external web page at this URL.
Thomas Coffee2f245372017-03-27 10:39:26 -07001882 "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
1883 # in the presentation. There may not be a slide at this index.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001884 "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
1885 # presentation with this ID. A page with this ID may not exist.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001886 "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
1887 # addressed by its position.
1888 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001889 "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
1890 # transparent, depending on if the `opaque_color` field in it is set.
1891 "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
1892 # a transparent color.
1893 "themeColor": "A String", # An opaque theme color.
1894 "rgbColor": { # An RGB color. # An opaque RGB color.
1895 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
1896 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
1897 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
1898 },
1899 },
1900 },
Sai Cheemalapatie833b792017-03-24 15:06:46 -07001901 "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
1902 # points.
1903 "magnitude": 3.14, # The magnitude.
1904 "unit": "A String", # The units for magnitude.
1905 },
1906 "underline": True or False, # Whether or not the text is underlined.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001907 },
1908 "glyph": "A String", # The rendered bullet glyph for this paragraph.
1909 },
1910 },
1911 "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters
1912 # in the run have the same TextStyle.
1913 #
1914 # The `start_index` and `end_index` of TextRuns will always be fully
1915 # contained in the index range of a single `paragraph_marker` TextElement.
1916 # In other words, a TextRun will never span multiple paragraphs.
1917 # styling.
1918 "content": "A String", # The text of this run.
1919 "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run.
1920 #
1921 # If this text is contained in a shape with a parent placeholder, then these text styles may be
1922 # inherited from the parent. Which text styles are inherited depend on the
1923 # nesting level of lists:
1924 #
1925 # * A text run in a paragraph that is not in a list will inherit its text style
1926 # from the the newline character in the paragraph at the 0 nesting level of
1927 # the list inside the parent placeholder.
1928 # * A text run in a paragraph that is in a list will inherit its text style
1929 # from the newline character in the paragraph at its corresponding nesting
1930 # level of the list inside the parent placeholder.
1931 #
1932 # Inherited text styles are represented as unset fields in this message. If
1933 # text is contained in a shape without a parent placeholder, unsetting these
1934 # fields will revert the style to a value matching the defaults in the Slides
1935 # editor.
1936 "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
1937 # transparent, depending on if the `opaque_color` field in it is set.
1938 "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
1939 # a transparent color.
1940 "themeColor": "A String", # An opaque theme color.
1941 "rgbColor": { # An RGB color. # An opaque RGB color.
1942 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
1943 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
1944 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
1945 },
1946 },
1947 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001948 "bold": True or False, # Whether or not the text is rendered as bold.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001949 "baselineOffset": "A String", # The text's vertical offset from its normal position.
1950 #
1951 # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
1952 # rendered in a smaller font size, computed based on the `font_size` field.
1953 # The `font_size` itself is not affected by changes in this field.
1954 "strikethrough": True or False, # Whether or not the text is struck through.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001955 "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text.
Sai Cheemalapatie833b792017-03-24 15:06:46 -07001956 #
1957 # This field is an extension of `font_family` meant to support explicit font
1958 # weights without breaking backwards compatibility. As such, when reading the
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001959 # style of a range of text, the value of `weighted_font_family#font_family`
1960 # will always be equal to that of `font_family`. However, when writing, if
1961 # both fields are included in the field mask (either explicitly or through
1962 # the wildcard `"*"`), their values are reconciled as follows:
1963 #
1964 # * If `font_family` is set and `weighted_font_family` is not, the value of
1965 # `font_family` is applied with weight `400` ("normal").
1966 # * If both fields are set, the value of `font_family` must match that of
1967 # `weighted_font_family#font_family`. If so, the font family and weight of
1968 # `weighted_font_family` is applied. Otherwise, a 400 bad request error is
1969 # returned.
1970 # * If `weighted_font_family` is set and `font_family` is not, the font
1971 # family and weight of `weighted_font_family` is applied.
1972 # * If neither field is set, the font family and weight of the text inherit
1973 # from the parent. Note that these properties cannot inherit separately
1974 # from each other.
1975 #
1976 # If an update request specifies values for both `weighted_font_family` and
1977 # `bold`, the `weighted_font_family` is applied first, then `bold`.
1978 #
1979 # If `weighted_font_family#weight` is not set, it defaults to `400`.
1980 #
1981 # If `weighted_font_family` is set, then `weighted_font_family#font_family`
1982 # must also be set with a non-empty value. Otherwise, a 400 bad request error
1983 # is returned.
Sai Cheemalapatie833b792017-03-24 15:06:46 -07001984 "fontFamily": "A String", # The font family of the text.
1985 #
1986 # The font family can be any font from the Font menu in Slides or from
1987 # [Google Fonts] (https://fonts.google.com/). If the font name is
1988 # unrecognized, the text is rendered in `Arial`.
1989 "weight": 42, # The rendered weight of the text. This field can have any value that is a
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001990 # multiple of `100` between `100` and `900`, inclusive. This range
1991 # corresponds to the numerical values described in the CSS 2.1
1992 # Specification, [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness),
1993 # with non-numerical values disallowed. Weights greater than or equal to
1994 # `700` are considered bold, and weights less than `700`are not bold. The
1995 # default value is `400` ("normal").
Sai Cheemalapatie833b792017-03-24 15:06:46 -07001996 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001997 "smallCaps": True or False, # Whether or not the text is in small capital letters.
1998 "fontFamily": "A String", # The font family of the text.
1999 #
2000 # The font family can be any font from the Font menu in Slides or from
2001 # [Google Fonts] (https://fonts.google.com/). If the font name is
2002 # unrecognized, the text is rendered in `Arial`.
2003 #
2004 # Some fonts can affect the weight of the text. If an update request
2005 # specifies values for both `font_family` and `bold`, the explicitly-set
2006 # `bold` value is used.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04002007 "italic": True or False, # Whether or not the text is italicized.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08002008 "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
2009 # are not inherited from parent text.
2010 #
2011 # Changing the link in an update request causes some other changes to the
2012 # text style of the range:
2013 #
2014 # * When setting a link, the text foreground color will be set to
2015 # ThemeColorType.HYPERLINK and the text will
2016 # be underlined. If these fields are modified in the same
2017 # request, those values will be used instead of the link defaults.
2018 # * Setting a link on a text range that overlaps with an existing link will
2019 # also update the existing link to point to the new URL.
2020 # * Links are not settable on newline characters. As a result, setting a link
2021 # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
2022 # will separate the newline character(s) into their own text runs. The
2023 # link will be applied separately to the runs before and after the newline.
2024 # * Removing a link will update the text style of the range to match the
2025 # style of the preceding text (or the default text styles if the preceding
2026 # text is another link) unless different styles are being set in the same
2027 # request.
2028 "url": "A String", # If set, indicates this is a link to the external web page at this URL.
Thomas Coffee2f245372017-03-27 10:39:26 -07002029 "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
2030 # in the presentation. There may not be a slide at this index.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04002031 "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
2032 # presentation with this ID. A page with this ID may not exist.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08002033 "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
2034 # addressed by its position.
2035 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08002036 "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
2037 # transparent, depending on if the `opaque_color` field in it is set.
2038 "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
2039 # a transparent color.
2040 "themeColor": "A String", # An opaque theme color.
2041 "rgbColor": { # An RGB color. # An opaque RGB color.
2042 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
2043 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
2044 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
2045 },
2046 },
2047 },
Sai Cheemalapatie833b792017-03-24 15:06:46 -07002048 "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
2049 # points.
2050 "magnitude": 3.14, # The magnitude.
2051 "unit": "A String", # The units for magnitude.
2052 },
2053 "underline": True or False, # Whether or not the text is underlined.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08002054 },
2055 },
2056 },
2057 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08002058 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08002059 "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
2060 "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
2061 # for newly created table cells in the Slides editor.
2062 "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
2063 # specified color value.
2064 #
2065 # If any field is unset, its value may be inherited from a parent placeholder
2066 # if it exists.
2067 "color": { # A themeable solid color value. # The color value of the solid fill.
2068 "themeColor": "A String", # An opaque theme color.
2069 "rgbColor": { # An RGB color. # An opaque RGB color.
2070 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
2071 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
2072 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
2073 },
2074 },
2075 "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
2076 # That is, the final pixel color is defined by the equation:
2077 #
2078 # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
2079 #
2080 # This means that a value of 1.0 corresponds to a solid color, whereas
2081 # a value of 0.0 corresponds to a completely transparent color.
2082 },
2083 "propertyState": "A String", # The background fill property state.
2084 #
2085 # Updating the the fill on a table cell will implicitly update this field
2086 # to `RENDERED`, unless another value is specified in the same request. To
2087 # have no fill on a table cell, set this field to `NOT_RENDERED`. In this
2088 # case, any other fill fields set in the same request will be ignored.
2089 },
2090 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04002091 "rowSpan": 42, # Row span of the cell.
2092 "columnSpan": 42, # Column span of the cell.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08002093 "location": { # A location of a single table cell within a table. # The location of the cell within the table.
2094 "rowIndex": 42, # The 0-based row index.
2095 "columnIndex": 42, # The 0-based column index.
2096 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08002097 },
2098 ],
2099 "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row.
2100 "magnitude": 3.14, # The magnitude.
2101 "unit": "A String", # The units for magnitude.
2102 },
2103 },
2104 ],
2105 "rows": 42, # Number of rows in the table.
2106 "columns": 42, # Number of columns in the table.
2107 },
2108 "line": { # A PageElement kind representing a # A line page element.
2109 # line, curved connector, or bent connector.
2110 "lineProperties": { # The properties of the Line. # The properties of the line.
2111 #
2112 # When unset, these fields default to values that match the appearance of
2113 # new lines created in the Slides editor.
2114 "dashStyle": "A String", # The dash style of the line.
2115 "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line.
2116 "magnitude": 3.14, # The magnitude.
2117 "unit": "A String", # The units for magnitude.
2118 },
2119 "endArrow": "A String", # The style of the arrow at the end of the line.
2120 "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
2121 "url": "A String", # If set, indicates this is a link to the external web page at this URL.
Thomas Coffee2f245372017-03-27 10:39:26 -07002122 "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
2123 # in the presentation. There may not be a slide at this index.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04002124 "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
2125 # presentation with this ID. A page with this ID may not exist.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08002126 "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
2127 # addressed by its position.
2128 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08002129 "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new
2130 # lines created in the Slides editor.
2131 "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
2132 # specified color value.
2133 #
2134 # If any field is unset, its value may be inherited from a parent placeholder
2135 # if it exists.
2136 "color": { # A themeable solid color value. # The color value of the solid fill.
2137 "themeColor": "A String", # An opaque theme color.
2138 "rgbColor": { # An RGB color. # An opaque RGB color.
2139 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
2140 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
2141 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
2142 },
2143 },
2144 "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
2145 # That is, the final pixel color is defined by the equation:
2146 #
2147 # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
2148 #
2149 # This means that a value of 1.0 corresponds to a solid color, whereas
2150 # a value of 0.0 corresponds to a completely transparent color.
2151 },
2152 },
Sai Cheemalapatie833b792017-03-24 15:06:46 -07002153 "startArrow": "A String", # The style of the arrow at the beginning of the line.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08002154 },
2155 "lineType": "A String", # The type of the line.
2156 },
2157 "size": { # A width and height. # The size of the page element.
2158 "width": { # A magnitude in a single direction in the specified units. # The width of the object.
2159 "magnitude": 3.14, # The magnitude.
2160 "unit": "A String", # The units for magnitude.
2161 },
2162 "height": { # A magnitude in a single direction in the specified units. # The height of the object.
2163 "magnitude": 3.14, # The magnitude.
2164 "unit": "A String", # The units for magnitude.
2165 },
2166 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08002167 },
2168 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04002169 "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
2170 # relevant for pages with page_type NOTES.
2171 "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker
2172 # notes for the corresponding slide.
2173 # The actual shape may not always exist on the notes page. Inserting text
2174 # using this object ID will automatically create the shape. In this case, the
2175 # actual shape may have different object ID. The `GetPresentation` or
2176 # `GetPage` action will always return the latest object ID.
2177 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08002178 "objectId": "A String", # The object ID for this page. Object IDs used by
2179 # Page and
2180 # PageElement share the same namespace.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04002181 "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in
2182 # update requests to assert that the presentation revision hasn't changed
2183 # since the last read operation. Only populated if the user has edit access
2184 # to the presentation.
2185 #
2186 # The format of the revision ID may change over time, so it should be treated
2187 # opaquely. A returned revision ID is only guaranteed to be valid for 24
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04002188 # hours after it has been returned and cannot be shared across users. If the
2189 # revision ID is unchanged between calls, then the presentation has not
2190 # changed. Conversely, a changed ID (for the same presentation and user)
2191 # usually means the presentation has been updated; however, a changed ID can
2192 # also be due to internal factors such as ID format changes.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08002193 "pageProperties": { # The properties of the Page. # The properties of the page.
2194 #
2195 # The page will inherit properties from the parent page. Depending on the page
2196 # type the hierarchy is defined in either
2197 # SlideProperties or
2198 # LayoutProperties.
2199 "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited
2200 # from a parent page if it exists. If the page has no parent, then the
2201 # background fill defaults to the corresponding fill in the Slides editor.
2202 "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
2203 # specified color value.
2204 #
2205 # If any field is unset, its value may be inherited from a parent placeholder
2206 # if it exists.
2207 "color": { # A themeable solid color value. # The color value of the solid fill.
2208 "themeColor": "A String", # An opaque theme color.
2209 "rgbColor": { # An RGB color. # An opaque RGB color.
2210 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
2211 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
2212 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
2213 },
2214 },
2215 "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
2216 # That is, the final pixel color is defined by the equation:
2217 #
2218 # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
2219 #
2220 # This means that a value of 1.0 corresponds to a solid color, whereas
2221 # a value of 0.0 corresponds to a completely transparent color.
2222 },
2223 "propertyState": "A String", # The background fill property state.
2224 #
2225 # Updating the the fill on a page will implicitly update this field to
2226 # `RENDERED`, unless another value is specified in the same request. To
2227 # have no fill on a page, set this field to `NOT_RENDERED`. In this case,
2228 # any other fill fields set in the same request will be ignored.
2229 "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill.
2230 # the specified picture. The picture is stretched to fit its container.
2231 "contentUrl": "A String", # Reading the content_url:
2232 #
2233 # An URL to a picture with a default lifetime of 30 minutes.
2234 # This URL is tagged with the account of the requester. Anyone with the URL
2235 # effectively accesses the picture as the original requester. Access to the
2236 # picture may be lost if the presentation's sharing settings change.
2237 #
2238 # Writing the content_url:
2239 #
2240 # The picture is fetched once at insertion time and a copy is stored for
2241 # display inside the presentation. Pictures must be less than 50MB in size,
2242 # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
2243 # format.
2244 "size": { # A width and height. # The original size of the picture fill. This field is read-only.
2245 "width": { # A magnitude in a single direction in the specified units. # The width of the object.
2246 "magnitude": 3.14, # The magnitude.
2247 "unit": "A String", # The units for magnitude.
2248 },
2249 "height": { # A magnitude in a single direction in the specified units. # The height of the object.
2250 "magnitude": 3.14, # The magnitude.
2251 "unit": "A String", # The units for magnitude.
2252 },
2253 },
2254 },
2255 },
2256 "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from
2257 # a parent page. If the page has no parent, the color scheme uses a default
2258 # Slides color scheme. This field is read-only.
2259 "colors": [ # The ThemeColorType and corresponding concrete color pairs.
2260 { # A pair mapping a theme color type to the concrete color it represents.
2261 "color": { # An RGB color. # The concrete color corresponding to the theme color type above.
2262 "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
2263 "green": 3.14, # The green component of the color, from 0.0 to 1.0.
2264 "red": 3.14, # The red component of the color, from 0.0 to 1.0.
2265 },
2266 "type": "A String", # The type of the theme color.
2267 },
2268 ],
2269 },
2270 },
2271 "pageType": "A String", # The type of the page.
2272 "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE.
2273 # relevant for pages with page_type SLIDE.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04002274 "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual
2275 # appearance of a notes page when printing or exporting slides with speaker
2276 # notes. A notes page inherits properties from the
2277 # notes master.
2278 # The placeholder shape with type BODY on the notes page contains the speaker
2279 # notes for this slide. The ID of this shape is identified by the
2280 # speakerNotesObjectId field.
2281 # The notes page is read-only except for the text content and styles of the
2282 # speaker notes shape.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08002283 "masterObjectId": "A String", # The object ID of the master that this slide is based on.
2284 "layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
2285 },
2286 }</pre>
2287</div>
2288
Sai Cheemalapatie833b792017-03-24 15:06:46 -07002289<div class="method">
2290 <code class="details" id="getThumbnail">getThumbnail(presentationId, pageObjectId, thumbnailProperties_mimeType=None, thumbnailProperties_thumbnailSize=None, x__xgafv=None)</code>
2291 <pre>Generates a thumbnail of the latest version of the specified page in the
2292presentation and returns a URL to the thumbnail image.
2293
2294Args:
2295 presentationId: string, The ID of the presentation to retrieve. (required)
2296 pageObjectId: string, The object ID of the page whose thumbnail to retrieve. (required)
2297 thumbnailProperties_mimeType: string, The optional mime type of the thumbnail image.
2298
2299If you don't specify the mime type, the default mime type will be PNG.
2300 thumbnailProperties_thumbnailSize: string, The optional thumbnail image size.
2301
2302If you don't specify the size, the server chooses a default size of the
2303image.
2304 x__xgafv: string, V1 error format.
2305 Allowed values
2306 1 - v1 error format
2307 2 - v2 error format
2308
2309Returns:
2310 An object of the form:
2311
2312 { # The thumbnail of a page.
2313 "contentUrl": "A String", # The content URL of the thumbnail image.
2314 #
2315 # The URL to the image has a default lifetime of 30 minutes.
2316 # This URL is tagged with the account of the requester. Anyone with the URL
2317 # effectively accesses the image as the original requester. Access to the
2318 # image may be lost if the presentation's sharing settings change.
2319 # The mime type of the thumbnail image is the same as specified in the
2320 # `GetPageThumbnailRequest`.
2321 "width": 42, # The positive width in pixels of the thumbnail image.
2322 "height": 42, # The positive height in pixels of the thumbnail image.
2323 }</pre>
2324</div>
2325
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08002326</body></html>