Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, 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 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, 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 Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 80 | <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 Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 83 | <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 | |
| 88 | Args: |
| 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 | |
| 96 | Returns: |
| 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 Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 132 | "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 Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 155 | "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 Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 163 | "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 Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 173 | # 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 Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 178 | { # 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 Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 187 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 188 | # fully opaque. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 189 | "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 Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 191 | }, |
| 192 | ], |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 193 | "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 Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 198 | }, |
| 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. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 201 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 202 | # presentation with this ID. A page with this ID may not exist. |
Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame^] | 203 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 204 | # in the presentation. There may not be a slide at this index. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 205 | "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 Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 235 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 236 | # below the original bounding rectangle top edge, relative to the object's |
| 237 | # original height. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 238 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 239 | # above the original bounding rectangle bottom edge, relative to the object's |
| 240 | # original height. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 241 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 242 | # Rotation angle is applied after the offset. |
Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame^] | 243 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 244 | # to the left of the original bounding rectangle right edge, relative to the |
| 245 | # object's original width. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 246 | }, |
| 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 Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 330 | "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 Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 375 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. This property is |
| 376 | # read-only. |
| 377 | # |
| 378 | # This field is an extension of `font_family` meant to support explicit font |
| 379 | # weights without breaking backwards compatibility. As such, when reading the |
| 380 | # style of a range of text, the value of `weighted_font_family.font_family` |
| 381 | # will always be equal to that of `font_family`. |
| 382 | "fontFamily": "A String", # The font family of the text. |
| 383 | # |
| 384 | # The font family can be any font from the Font menu in Slides or from |
| 385 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 386 | # unrecognized, the text is rendered in `Arial`. |
| 387 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 388 | # multiple of 100 between 100 and 900, inclusive. This range corresponds to |
| 389 | # only the numerical values described in the "Cascading Style Sheets Level |
| 390 | # 2 Revision 1 (CSS 2.1) Specification", |
| 391 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness). The |
| 392 | # non-numerical values in the specification are disallowed. Weights greater |
| 393 | # than or equal to 700 are considered bold, and weights less than 700 are |
| 394 | # not bold. The default value is `400` ("normal"). |
| 395 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 396 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 397 | "fontFamily": "A String", # The font family of the text. |
| 398 | # |
| 399 | # The font family can be any font from the Font menu in Slides or from |
| 400 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 401 | # unrecognized, the text is rendered in `Arial`. |
| 402 | # |
| 403 | # Some fonts can affect the weight of the text. If an update request |
| 404 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 405 | # `bold` value is used. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 406 | "italic": True or False, # Whether or not the text is italicized. |
| 407 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 408 | # are not inherited from parent text. |
| 409 | # |
| 410 | # Changing the link in an update request causes some other changes to the |
| 411 | # text style of the range: |
| 412 | # |
| 413 | # * When setting a link, the text foreground color will be set to |
| 414 | # ThemeColorType.HYPERLINK and the text will |
| 415 | # be underlined. If these fields are modified in the same |
| 416 | # request, those values will be used instead of the link defaults. |
| 417 | # * Setting a link on a text range that overlaps with an existing link will |
| 418 | # also update the existing link to point to the new URL. |
| 419 | # * Links are not settable on newline characters. As a result, setting a link |
| 420 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 421 | # will separate the newline character(s) into their own text runs. The |
| 422 | # link will be applied separately to the runs before and after the newline. |
| 423 | # * Removing a link will update the text style of the range to match the |
| 424 | # style of the preceding text (or the default text styles if the preceding |
| 425 | # text is another link) unless different styles are being set in the same |
| 426 | # request. |
| 427 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 428 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 429 | # presentation with this ID. A page with this ID may not exist. |
Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame^] | 430 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 431 | # in the presentation. There may not be a slide at this index. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 432 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 433 | # addressed by its position. |
| 434 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 435 | "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 |
| 436 | # transparent, depending on if the `opaque_color` field in it is set. |
| 437 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 438 | # a transparent color. |
| 439 | "themeColor": "A String", # An opaque theme color. |
| 440 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 441 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 442 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 443 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 444 | }, |
| 445 | }, |
| 446 | }, |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 447 | "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 |
| 448 | # points. |
| 449 | "magnitude": 3.14, # The magnitude. |
| 450 | "unit": "A String", # The units for magnitude. |
| 451 | }, |
| 452 | "underline": True or False, # Whether or not the text is underlined. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 453 | }, |
| 454 | }, |
| 455 | }, |
| 456 | "listId": "A String", # The ID of the list. |
| 457 | }, |
| 458 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 459 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 460 | # information. This property is read-only. |
| 461 | { # A TextElement describes the content of a range of indices in the text content |
| 462 | # of a Shape or TableCell. |
| 463 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 464 | # replaced with content that can change over time. |
| 465 | "content": "A String", # The rendered content of this auto text, if available. |
| 466 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 467 | # |
| 468 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 469 | # inherited from the parent. Which text styles are inherited depend on the |
| 470 | # nesting level of lists: |
| 471 | # |
| 472 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 473 | # from the the newline character in the paragraph at the 0 nesting level of |
| 474 | # the list inside the parent placeholder. |
| 475 | # * A text run in a paragraph that is in a list will inherit its text style |
| 476 | # from the newline character in the paragraph at its corresponding nesting |
| 477 | # level of the list inside the parent placeholder. |
| 478 | # |
| 479 | # Inherited text styles are represented as unset fields in this message. If |
| 480 | # text is contained in a shape without a parent placeholder, unsetting these |
| 481 | # fields will revert the style to a value matching the defaults in the Slides |
| 482 | # editor. |
| 483 | "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 |
| 484 | # transparent, depending on if the `opaque_color` field in it is set. |
| 485 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 486 | # a transparent color. |
| 487 | "themeColor": "A String", # An opaque theme color. |
| 488 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 489 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 490 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 491 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 492 | }, |
| 493 | }, |
| 494 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 495 | "bold": True or False, # Whether or not the text is rendered as bold. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 496 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 497 | # |
| 498 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 499 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 500 | # The `font_size` itself is not affected by changes in this field. |
| 501 | "strikethrough": True or False, # Whether or not the text is struck through. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 502 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. This property is |
| 503 | # read-only. |
| 504 | # |
| 505 | # This field is an extension of `font_family` meant to support explicit font |
| 506 | # weights without breaking backwards compatibility. As such, when reading the |
| 507 | # style of a range of text, the value of `weighted_font_family.font_family` |
| 508 | # will always be equal to that of `font_family`. |
| 509 | "fontFamily": "A String", # The font family of the text. |
| 510 | # |
| 511 | # The font family can be any font from the Font menu in Slides or from |
| 512 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 513 | # unrecognized, the text is rendered in `Arial`. |
| 514 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 515 | # multiple of 100 between 100 and 900, inclusive. This range corresponds to |
| 516 | # only the numerical values described in the "Cascading Style Sheets Level |
| 517 | # 2 Revision 1 (CSS 2.1) Specification", |
| 518 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness). The |
| 519 | # non-numerical values in the specification are disallowed. Weights greater |
| 520 | # than or equal to 700 are considered bold, and weights less than 700 are |
| 521 | # not bold. The default value is `400` ("normal"). |
| 522 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 523 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 524 | "fontFamily": "A String", # The font family of the text. |
| 525 | # |
| 526 | # The font family can be any font from the Font menu in Slides or from |
| 527 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 528 | # unrecognized, the text is rendered in `Arial`. |
| 529 | # |
| 530 | # Some fonts can affect the weight of the text. If an update request |
| 531 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 532 | # `bold` value is used. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 533 | "italic": True or False, # Whether or not the text is italicized. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 534 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 535 | # are not inherited from parent text. |
| 536 | # |
| 537 | # Changing the link in an update request causes some other changes to the |
| 538 | # text style of the range: |
| 539 | # |
| 540 | # * When setting a link, the text foreground color will be set to |
| 541 | # ThemeColorType.HYPERLINK and the text will |
| 542 | # be underlined. If these fields are modified in the same |
| 543 | # request, those values will be used instead of the link defaults. |
| 544 | # * Setting a link on a text range that overlaps with an existing link will |
| 545 | # also update the existing link to point to the new URL. |
| 546 | # * Links are not settable on newline characters. As a result, setting a link |
| 547 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 548 | # will separate the newline character(s) into their own text runs. The |
| 549 | # link will be applied separately to the runs before and after the newline. |
| 550 | # * Removing a link will update the text style of the range to match the |
| 551 | # style of the preceding text (or the default text styles if the preceding |
| 552 | # text is another link) unless different styles are being set in the same |
| 553 | # request. |
| 554 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 555 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 556 | # presentation with this ID. A page with this ID may not exist. |
Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame^] | 557 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 558 | # in the presentation. There may not be a slide at this index. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 559 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 560 | # addressed by its position. |
| 561 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 562 | "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 |
| 563 | # transparent, depending on if the `opaque_color` field in it is set. |
| 564 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 565 | # a transparent color. |
| 566 | "themeColor": "A String", # An opaque theme color. |
| 567 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 568 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 569 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 570 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 571 | }, |
| 572 | }, |
| 573 | }, |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 574 | "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 |
| 575 | # points. |
| 576 | "magnitude": 3.14, # The magnitude. |
| 577 | "unit": "A String", # The units for magnitude. |
| 578 | }, |
| 579 | "underline": True or False, # Whether or not the text is underlined. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 580 | }, |
| 581 | "type": "A String", # The type of this auto text. |
| 582 | }, |
| 583 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 584 | # units. |
| 585 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 586 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 587 | # |
| 588 | # The `start_index` and `end_index` of this TextElement represent the |
| 589 | # range of the paragraph. Other TextElements with an index range contained |
| 590 | # inside this paragraph's range are considered to be part of this |
| 591 | # paragraph. The range of indices of two separate paragraphs will never |
| 592 | # overlap. |
| 593 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 594 | # |
| 595 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 596 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 597 | # nesting level of lists: |
| 598 | # |
| 599 | # * A paragraph not in a list will inherit its paragraph style from the |
| 600 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 601 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 602 | # at its corresponding nesting level of the list inside the parent |
| 603 | # placeholder. |
| 604 | # |
| 605 | # Inherited paragraph styles are represented as unset fields in this message. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 606 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 607 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 608 | # LEFT_TO_RIGHT |
| 609 | # since text direction is not inherited. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 610 | "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 Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 611 | # inherited from the parent. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 612 | "magnitude": 3.14, # The magnitude. |
| 613 | "unit": "A String", # The units for magnitude. |
| 614 | }, |
| 615 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 616 | # is represented as 100.0. If unset, the value is inherited from the parent. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 617 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 618 | # the start of the text, based on the current text direction. If unset, the |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 619 | # value is inherited from the parent. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 620 | "magnitude": 3.14, # The magnitude. |
| 621 | "unit": "A String", # The units for magnitude. |
| 622 | }, |
| 623 | "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 Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 624 | # inherited from the parent. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 625 | "magnitude": 3.14, # The magnitude. |
| 626 | "unit": "A String", # The units for magnitude. |
| 627 | }, |
| 628 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 629 | # the end of the text, based on the current text direction. If unset, the |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 630 | # value is inherited from the parent. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 631 | "magnitude": 3.14, # The magnitude. |
| 632 | "unit": "A String", # The units for magnitude. |
| 633 | }, |
| 634 | "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 Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 635 | # If unset, the value is inherited from the parent. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 636 | "magnitude": 3.14, # The magnitude. |
| 637 | "unit": "A String", # The units for magnitude. |
| 638 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 639 | "alignment": "A String", # The text alignment for this paragraph. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 640 | }, |
| 641 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 642 | # belong to a list. |
| 643 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 644 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 645 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 646 | # |
| 647 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 648 | # inherited from the parent. Which text styles are inherited depend on the |
| 649 | # nesting level of lists: |
| 650 | # |
| 651 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 652 | # from the the newline character in the paragraph at the 0 nesting level of |
| 653 | # the list inside the parent placeholder. |
| 654 | # * A text run in a paragraph that is in a list will inherit its text style |
| 655 | # from the newline character in the paragraph at its corresponding nesting |
| 656 | # level of the list inside the parent placeholder. |
| 657 | # |
| 658 | # Inherited text styles are represented as unset fields in this message. If |
| 659 | # text is contained in a shape without a parent placeholder, unsetting these |
| 660 | # fields will revert the style to a value matching the defaults in the Slides |
| 661 | # editor. |
| 662 | "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 |
| 663 | # transparent, depending on if the `opaque_color` field in it is set. |
| 664 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 665 | # a transparent color. |
| 666 | "themeColor": "A String", # An opaque theme color. |
| 667 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 668 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 669 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 670 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 671 | }, |
| 672 | }, |
| 673 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 674 | "bold": True or False, # Whether or not the text is rendered as bold. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 675 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 676 | # |
| 677 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 678 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 679 | # The `font_size` itself is not affected by changes in this field. |
| 680 | "strikethrough": True or False, # Whether or not the text is struck through. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 681 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. This property is |
| 682 | # read-only. |
| 683 | # |
| 684 | # This field is an extension of `font_family` meant to support explicit font |
| 685 | # weights without breaking backwards compatibility. As such, when reading the |
| 686 | # style of a range of text, the value of `weighted_font_family.font_family` |
| 687 | # will always be equal to that of `font_family`. |
| 688 | "fontFamily": "A String", # The font family of the text. |
| 689 | # |
| 690 | # The font family can be any font from the Font menu in Slides or from |
| 691 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 692 | # unrecognized, the text is rendered in `Arial`. |
| 693 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 694 | # multiple of 100 between 100 and 900, inclusive. This range corresponds to |
| 695 | # only the numerical values described in the "Cascading Style Sheets Level |
| 696 | # 2 Revision 1 (CSS 2.1) Specification", |
| 697 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness). The |
| 698 | # non-numerical values in the specification are disallowed. Weights greater |
| 699 | # than or equal to 700 are considered bold, and weights less than 700 are |
| 700 | # not bold. The default value is `400` ("normal"). |
| 701 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 702 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 703 | "fontFamily": "A String", # The font family of the text. |
| 704 | # |
| 705 | # The font family can be any font from the Font menu in Slides or from |
| 706 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 707 | # unrecognized, the text is rendered in `Arial`. |
| 708 | # |
| 709 | # Some fonts can affect the weight of the text. If an update request |
| 710 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 711 | # `bold` value is used. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 712 | "italic": True or False, # Whether or not the text is italicized. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 713 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 714 | # are not inherited from parent text. |
| 715 | # |
| 716 | # Changing the link in an update request causes some other changes to the |
| 717 | # text style of the range: |
| 718 | # |
| 719 | # * When setting a link, the text foreground color will be set to |
| 720 | # ThemeColorType.HYPERLINK and the text will |
| 721 | # be underlined. If these fields are modified in the same |
| 722 | # request, those values will be used instead of the link defaults. |
| 723 | # * Setting a link on a text range that overlaps with an existing link will |
| 724 | # also update the existing link to point to the new URL. |
| 725 | # * Links are not settable on newline characters. As a result, setting a link |
| 726 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 727 | # will separate the newline character(s) into their own text runs. The |
| 728 | # link will be applied separately to the runs before and after the newline. |
| 729 | # * Removing a link will update the text style of the range to match the |
| 730 | # style of the preceding text (or the default text styles if the preceding |
| 731 | # text is another link) unless different styles are being set in the same |
| 732 | # request. |
| 733 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 734 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 735 | # presentation with this ID. A page with this ID may not exist. |
Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame^] | 736 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 737 | # in the presentation. There may not be a slide at this index. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 738 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 739 | # addressed by its position. |
| 740 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 741 | "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 |
| 742 | # transparent, depending on if the `opaque_color` field in it is set. |
| 743 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 744 | # a transparent color. |
| 745 | "themeColor": "A String", # An opaque theme color. |
| 746 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 747 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 748 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 749 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 750 | }, |
| 751 | }, |
| 752 | }, |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 753 | "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 |
| 754 | # points. |
| 755 | "magnitude": 3.14, # The magnitude. |
| 756 | "unit": "A String", # The units for magnitude. |
| 757 | }, |
| 758 | "underline": True or False, # Whether or not the text is underlined. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 759 | }, |
| 760 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 761 | }, |
| 762 | }, |
| 763 | "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 |
| 764 | # in the run have the same TextStyle. |
| 765 | # |
| 766 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 767 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 768 | # In other words, a TextRun will never span multiple paragraphs. |
| 769 | # styling. |
| 770 | "content": "A String", # The text of this run. |
| 771 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 772 | # |
| 773 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 774 | # inherited from the parent. Which text styles are inherited depend on the |
| 775 | # nesting level of lists: |
| 776 | # |
| 777 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 778 | # from the the newline character in the paragraph at the 0 nesting level of |
| 779 | # the list inside the parent placeholder. |
| 780 | # * A text run in a paragraph that is in a list will inherit its text style |
| 781 | # from the newline character in the paragraph at its corresponding nesting |
| 782 | # level of the list inside the parent placeholder. |
| 783 | # |
| 784 | # Inherited text styles are represented as unset fields in this message. If |
| 785 | # text is contained in a shape without a parent placeholder, unsetting these |
| 786 | # fields will revert the style to a value matching the defaults in the Slides |
| 787 | # editor. |
| 788 | "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 |
| 789 | # transparent, depending on if the `opaque_color` field in it is set. |
| 790 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 791 | # a transparent color. |
| 792 | "themeColor": "A String", # An opaque theme color. |
| 793 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 794 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 795 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 796 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 797 | }, |
| 798 | }, |
| 799 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 800 | "bold": True or False, # Whether or not the text is rendered as bold. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 801 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 802 | # |
| 803 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 804 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 805 | # The `font_size` itself is not affected by changes in this field. |
| 806 | "strikethrough": True or False, # Whether or not the text is struck through. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 807 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. This property is |
| 808 | # read-only. |
| 809 | # |
| 810 | # This field is an extension of `font_family` meant to support explicit font |
| 811 | # weights without breaking backwards compatibility. As such, when reading the |
| 812 | # style of a range of text, the value of `weighted_font_family.font_family` |
| 813 | # will always be equal to that of `font_family`. |
| 814 | "fontFamily": "A String", # The font family of the text. |
| 815 | # |
| 816 | # The font family can be any font from the Font menu in Slides or from |
| 817 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 818 | # unrecognized, the text is rendered in `Arial`. |
| 819 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 820 | # multiple of 100 between 100 and 900, inclusive. This range corresponds to |
| 821 | # only the numerical values described in the "Cascading Style Sheets Level |
| 822 | # 2 Revision 1 (CSS 2.1) Specification", |
| 823 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness). The |
| 824 | # non-numerical values in the specification are disallowed. Weights greater |
| 825 | # than or equal to 700 are considered bold, and weights less than 700 are |
| 826 | # not bold. The default value is `400` ("normal"). |
| 827 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 828 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 829 | "fontFamily": "A String", # The font family of the text. |
| 830 | # |
| 831 | # The font family can be any font from the Font menu in Slides or from |
| 832 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 833 | # unrecognized, the text is rendered in `Arial`. |
| 834 | # |
| 835 | # Some fonts can affect the weight of the text. If an update request |
| 836 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 837 | # `bold` value is used. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 838 | "italic": True or False, # Whether or not the text is italicized. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 839 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 840 | # are not inherited from parent text. |
| 841 | # |
| 842 | # Changing the link in an update request causes some other changes to the |
| 843 | # text style of the range: |
| 844 | # |
| 845 | # * When setting a link, the text foreground color will be set to |
| 846 | # ThemeColorType.HYPERLINK and the text will |
| 847 | # be underlined. If these fields are modified in the same |
| 848 | # request, those values will be used instead of the link defaults. |
| 849 | # * Setting a link on a text range that overlaps with an existing link will |
| 850 | # also update the existing link to point to the new URL. |
| 851 | # * Links are not settable on newline characters. As a result, setting a link |
| 852 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 853 | # will separate the newline character(s) into their own text runs. The |
| 854 | # link will be applied separately to the runs before and after the newline. |
| 855 | # * Removing a link will update the text style of the range to match the |
| 856 | # style of the preceding text (or the default text styles if the preceding |
| 857 | # text is another link) unless different styles are being set in the same |
| 858 | # request. |
| 859 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 860 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 861 | # presentation with this ID. A page with this ID may not exist. |
Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame^] | 862 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 863 | # in the presentation. There may not be a slide at this index. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 864 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 865 | # addressed by its position. |
| 866 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 867 | "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 |
| 868 | # transparent, depending on if the `opaque_color` field in it is set. |
| 869 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 870 | # a transparent color. |
| 871 | "themeColor": "A String", # An opaque theme color. |
| 872 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 873 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 874 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 875 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 876 | }, |
| 877 | }, |
| 878 | }, |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 879 | "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 |
| 880 | # points. |
| 881 | "magnitude": 3.14, # The magnitude. |
| 882 | "unit": "A String", # The units for magnitude. |
| 883 | }, |
| 884 | "underline": True or False, # Whether or not the text is underlined. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 885 | }, |
| 886 | }, |
| 887 | }, |
| 888 | ], |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 889 | }, |
| 890 | "shapeProperties": { # The properties of a Shape. # The properties of the shape. |
| 891 | # |
| 892 | # If the shape is a placeholder shape as determined by the |
| 893 | # placeholder field, then these |
| 894 | # properties may be inherited from a parent placeholder shape. |
| 895 | # Determining the rendered value of the property depends on the corresponding |
| 896 | # property_state field value. |
| 897 | "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from |
| 898 | # a parent placeholder if it exists. If the shape has no parent, then the |
| 899 | # default shadow matches the defaults for new shapes created in the Slides |
| 900 | # editor. This property is read-only. |
| 901 | # |
| 902 | # If these fields are unset, they may be inherited from a parent placeholder |
| 903 | # if it exists. If there is no parent, the fields will default to the value |
| 904 | # used for new page elements created in the Slides editor, which may depend on |
| 905 | # the page element kind. |
| 906 | "color": { # A themeable solid color value. # The shadow color value. |
| 907 | "themeColor": "A String", # An opaque theme color. |
| 908 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 909 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 910 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 911 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 912 | }, |
| 913 | }, |
| 914 | "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, |
| 915 | # relative to the alignment position. |
| 916 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 917 | # according to: |
| 918 | # |
| 919 | # x' x = shear_y scale_y translate_y |
| 920 | # 1 [ 1 ] |
| 921 | # |
| 922 | # After transformation, |
| 923 | # |
| 924 | # x' = scale_x * x + shear_x * y + translate_x; |
| 925 | # y' = scale_y * y + shear_y * x + translate_y; |
| 926 | # |
| 927 | # This message is therefore composed of these six matrix elements. |
| 928 | "translateX": 3.14, # The X coordinate translation element. |
| 929 | "translateY": 3.14, # The Y coordinate translation element. |
| 930 | "scaleX": 3.14, # The X coordinate scaling element. |
| 931 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 932 | "shearY": 3.14, # The Y coordinate shearing element. |
| 933 | "shearX": 3.14, # The X coordinate shearing element. |
| 934 | "unit": "A String", # The units for translate elements. |
| 935 | }, |
| 936 | "propertyState": "A String", # The shadow property state. |
| 937 | # |
| 938 | # Updating the the shadow on a page element will implicitly update this field |
| 939 | # to `RENDERED`, unless another value is specified in the same request. To |
| 940 | # have no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| 941 | # case, any other shadow fields set in the same request will be ignored. |
| 942 | "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 |
| 943 | # shadow becomes. |
| 944 | "magnitude": 3.14, # The magnitude. |
| 945 | "unit": "A String", # The units for magnitude. |
| 946 | }, |
| 947 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| 948 | "type": "A String", # The type of the shadow. |
| 949 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| 950 | # scale and skew of the shadow. |
| 951 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. |
| 952 | }, |
| 953 | "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is |
| 954 | # inherited from a parent placeholder if it exists. If the shape has no |
| 955 | # parent, then the default background fill depends on the shape type, |
| 956 | # matching the defaults for new shapes created in the Slides editor. |
| 957 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 958 | # specified color value. |
| 959 | # |
| 960 | # If any field is unset, its value may be inherited from a parent placeholder |
| 961 | # if it exists. |
| 962 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 963 | "themeColor": "A String", # An opaque theme color. |
| 964 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 965 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 966 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 967 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 968 | }, |
| 969 | }, |
| 970 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 971 | # That is, the final pixel color is defined by the equation: |
| 972 | # |
| 973 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 974 | # |
| 975 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 976 | # a value of 0.0 corresponds to a completely transparent color. |
| 977 | }, |
| 978 | "propertyState": "A String", # The background fill property state. |
| 979 | # |
| 980 | # Updating the the fill on a shape will implicitly update this field to |
| 981 | # `RENDERED`, unless another value is specified in the same request. To |
| 982 | # have no fill on a shape, set this field to `NOT_RENDERED`. In this case, |
| 983 | # any other fill fields set in the same request will be ignored. |
| 984 | }, |
| 985 | "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links |
| 986 | # are not inherited from parent placeholders. |
| 987 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 988 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 989 | # presentation with this ID. A page with this ID may not exist. |
Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame^] | 990 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 991 | # in the presentation. There may not be a slide at this index. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 992 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 993 | # addressed by its position. |
| 994 | }, |
| 995 | "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a |
| 996 | # parent placeholder if it exists. If the shape has no parent, then the |
| 997 | # default outline depends on the shape type, matching the defaults for |
| 998 | # new shapes created in the Slides editor. |
| 999 | # |
| 1000 | # If these fields are unset, they may be inherited from a parent placeholder |
| 1001 | # if it exists. If there is no parent, the fields will default to the value |
| 1002 | # used for new page elements created in the Slides editor, which may depend on |
| 1003 | # the page element kind. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1004 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 1005 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 1006 | # specified color value. |
| 1007 | # |
| 1008 | # If any field is unset, its value may be inherited from a parent placeholder |
| 1009 | # if it exists. |
| 1010 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 1011 | "themeColor": "A String", # An opaque theme color. |
| 1012 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1013 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1014 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1015 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1016 | }, |
| 1017 | }, |
| 1018 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 1019 | # That is, the final pixel color is defined by the equation: |
| 1020 | # |
| 1021 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 1022 | # |
| 1023 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 1024 | # a value of 0.0 corresponds to a completely transparent color. |
| 1025 | }, |
| 1026 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1027 | "propertyState": "A String", # The outline property state. |
| 1028 | # |
| 1029 | # Updating the the outline on a page element will implicitly update this |
| 1030 | # field to`RENDERED`, unless another value is specified in the same request. |
| 1031 | # To have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 1032 | # this case, any other outline fields set in the same request will be |
| 1033 | # ignored. |
| 1034 | "dashStyle": "A String", # The dash style of the outline. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1035 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 1036 | "magnitude": 3.14, # The magnitude. |
| 1037 | "unit": "A String", # The units for magnitude. |
| 1038 | }, |
| 1039 | }, |
| 1040 | }, |
| 1041 | "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on |
| 1042 | # layouts and masters. |
| 1043 | # |
| 1044 | # If set, the shape is a placeholder shape and any inherited properties |
| 1045 | # can be resolved by looking at the parent placeholder identified by the |
| 1046 | # Placeholder.parent_object_id field. |
| 1047 | "parentObjectId": "A String", # The object ID of this shape's parent placeholder. |
| 1048 | # If unset, the parent placeholder shape does not exist, so the shape does |
| 1049 | # not inherit properties from any other shape. |
| 1050 | "index": 42, # The index of the placeholder. If the same placeholder types are the present |
| 1051 | # in the same page, they would have different index values. |
| 1052 | "type": "A String", # The type of the placeholder. |
| 1053 | }, |
| 1054 | "shapeType": "A String", # The type of the shape. |
| 1055 | }, |
| 1056 | "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are |
| 1057 | # represented as images. |
| 1058 | # a linked chart embedded from Google Sheets. |
Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame^] | 1059 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 1060 | # embedded. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1061 | "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30 |
| 1062 | # minutes. This URL is tagged with the account of the requester. Anyone with |
| 1063 | # the URL effectively accesses the image as the original requester. Access to |
| 1064 | # the image may be lost if the presentation's sharing settings change. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1065 | "sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart. |
| 1066 | "chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image. |
| 1067 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline. |
| 1068 | # |
| 1069 | # If these fields are unset, they may be inherited from a parent placeholder |
| 1070 | # if it exists. If there is no parent, the fields will default to the value |
| 1071 | # used for new page elements created in the Slides editor, which may depend on |
| 1072 | # the page element kind. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1073 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 1074 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 1075 | # specified color value. |
| 1076 | # |
| 1077 | # If any field is unset, its value may be inherited from a parent placeholder |
| 1078 | # if it exists. |
| 1079 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 1080 | "themeColor": "A String", # An opaque theme color. |
| 1081 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1082 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1083 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1084 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1085 | }, |
| 1086 | }, |
| 1087 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 1088 | # That is, the final pixel color is defined by the equation: |
| 1089 | # |
| 1090 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 1091 | # |
| 1092 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 1093 | # a value of 0.0 corresponds to a completely transparent color. |
| 1094 | }, |
| 1095 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1096 | "propertyState": "A String", # The outline property state. |
| 1097 | # |
| 1098 | # Updating the the outline on a page element will implicitly update this |
| 1099 | # field to`RENDERED`, unless another value is specified in the same request. |
| 1100 | # To have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 1101 | # this case, any other outline fields set in the same request will be |
| 1102 | # ignored. |
| 1103 | "dashStyle": "A String", # The dash style of the outline. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1104 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 1105 | "magnitude": 3.14, # The magnitude. |
| 1106 | "unit": "A String", # The units for magnitude. |
| 1107 | }, |
| 1108 | }, |
| 1109 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 1110 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 1111 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 1112 | # This property is read-only. |
| 1113 | "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1114 | # stops. |
| 1115 | # |
| 1116 | # The colors in the gradient will replace the corresponding colors at |
| 1117 | # the same position in the color palette and apply to the image. This |
| 1118 | # property is read-only. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1119 | { # A color and position in a gradient band. |
| 1120 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 1121 | "themeColor": "A String", # An opaque theme color. |
| 1122 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1123 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1124 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1125 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1126 | }, |
| 1127 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1128 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 1129 | # fully opaque. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1130 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 1131 | # in percentage. The value should be in the interval [0.0, 1.0]. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1132 | }, |
| 1133 | ], |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1134 | "name": "A String", # The name of the recolor effect. |
| 1135 | # |
| 1136 | # The name is determined from the `recolor_stops` by matching the gradient |
| 1137 | # against the colors in the page's current color scheme. This property is |
| 1138 | # read-only. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1139 | }, |
| 1140 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 1141 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1142 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 1143 | # presentation with this ID. A page with this ID may not exist. |
Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame^] | 1144 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 1145 | # in the presentation. There may not be a slide at this index. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1146 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 1147 | # addressed by its position. |
| 1148 | }, |
| 1149 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 1150 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 1151 | # This property is read-only. |
| 1152 | "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. |
| 1153 | # This property is read-only. |
| 1154 | # Image. |
| 1155 | # |
| 1156 | # The crop properties is represented by the offsets of four edges which define |
| 1157 | # a crop rectangle. The offsets are measured in percentage from the |
| 1158 | # corresponding edges of the object's original bounding rectangle towards |
| 1159 | # inside, relative to the object's original dimensions. |
| 1160 | # |
| 1161 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 1162 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 1163 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 1164 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 1165 | # - If the left edge of the crop rectangle is on the right side of its right |
| 1166 | # edge, the object will be flipped horizontally. |
| 1167 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 1168 | # will be flipped vertically. |
| 1169 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 1170 | # |
| 1171 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 1172 | # its container. |
| 1173 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 1174 | # the right of the original bounding rectangle left edge, relative to the |
| 1175 | # object's original width. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 1176 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 1177 | # below the original bounding rectangle top edge, relative to the object's |
| 1178 | # original height. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1179 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 1180 | # above the original bounding rectangle bottom edge, relative to the object's |
| 1181 | # original height. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 1182 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 1183 | # Rotation angle is applied after the offset. |
Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame^] | 1184 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 1185 | # to the left of the original bounding rectangle right edge, relative to the |
| 1186 | # object's original width. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1187 | }, |
| 1188 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 1189 | # is read-only. |
| 1190 | # |
| 1191 | # If these fields are unset, they may be inherited from a parent placeholder |
| 1192 | # if it exists. If there is no parent, the fields will default to the value |
| 1193 | # used for new page elements created in the Slides editor, which may depend on |
| 1194 | # the page element kind. |
| 1195 | "color": { # A themeable solid color value. # The shadow color value. |
| 1196 | "themeColor": "A String", # An opaque theme color. |
| 1197 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1198 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1199 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1200 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1201 | }, |
| 1202 | }, |
| 1203 | "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, |
| 1204 | # relative to the alignment position. |
| 1205 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 1206 | # according to: |
| 1207 | # |
| 1208 | # x' x = shear_y scale_y translate_y |
| 1209 | # 1 [ 1 ] |
| 1210 | # |
| 1211 | # After transformation, |
| 1212 | # |
| 1213 | # x' = scale_x * x + shear_x * y + translate_x; |
| 1214 | # y' = scale_y * y + shear_y * x + translate_y; |
| 1215 | # |
| 1216 | # This message is therefore composed of these six matrix elements. |
| 1217 | "translateX": 3.14, # The X coordinate translation element. |
| 1218 | "translateY": 3.14, # The Y coordinate translation element. |
| 1219 | "scaleX": 3.14, # The X coordinate scaling element. |
| 1220 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 1221 | "shearY": 3.14, # The Y coordinate shearing element. |
| 1222 | "shearX": 3.14, # The X coordinate shearing element. |
| 1223 | "unit": "A String", # The units for translate elements. |
| 1224 | }, |
| 1225 | "propertyState": "A String", # The shadow property state. |
| 1226 | # |
| 1227 | # Updating the the shadow on a page element will implicitly update this field |
| 1228 | # to `RENDERED`, unless another value is specified in the same request. To |
| 1229 | # have no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| 1230 | # case, any other shadow fields set in the same request will be ignored. |
| 1231 | "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 |
| 1232 | # shadow becomes. |
| 1233 | "magnitude": 3.14, # The magnitude. |
| 1234 | "unit": "A String", # The units for magnitude. |
| 1235 | }, |
| 1236 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| 1237 | "type": "A String", # The type of the shadow. |
| 1238 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| 1239 | # scale and skew of the shadow. |
| 1240 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. |
| 1241 | }, |
| 1242 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 1243 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 1244 | }, |
| 1245 | }, |
Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame^] | 1246 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1247 | }, |
| 1248 | "video": { # A PageElement kind representing a # A video page element. |
| 1249 | # video. |
| 1250 | "url": "A String", # An URL to a video. The URL is valid as long as the source video |
| 1251 | # exists and sharing settings do not change. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1252 | "source": "A String", # The video source. |
| 1253 | "id": "A String", # The video source's unique identifier for this video. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1254 | "videoProperties": { # The properties of the Video. # The properties of the video. |
| 1255 | "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new |
| 1256 | # videos created in the Slides editor. |
| 1257 | # |
| 1258 | # If these fields are unset, they may be inherited from a parent placeholder |
| 1259 | # if it exists. If there is no parent, the fields will default to the value |
| 1260 | # used for new page elements created in the Slides editor, which may depend on |
| 1261 | # the page element kind. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1262 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 1263 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 1264 | # specified color value. |
| 1265 | # |
| 1266 | # If any field is unset, its value may be inherited from a parent placeholder |
| 1267 | # if it exists. |
| 1268 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 1269 | "themeColor": "A String", # An opaque theme color. |
| 1270 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1271 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1272 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1273 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1274 | }, |
| 1275 | }, |
| 1276 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 1277 | # That is, the final pixel color is defined by the equation: |
| 1278 | # |
| 1279 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 1280 | # |
| 1281 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 1282 | # a value of 0.0 corresponds to a completely transparent color. |
| 1283 | }, |
| 1284 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1285 | "propertyState": "A String", # The outline property state. |
| 1286 | # |
| 1287 | # Updating the the outline on a page element will implicitly update this |
| 1288 | # field to`RENDERED`, unless another value is specified in the same request. |
| 1289 | # To have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 1290 | # this case, any other outline fields set in the same request will be |
| 1291 | # ignored. |
| 1292 | "dashStyle": "A String", # The dash style of the outline. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1293 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 1294 | "magnitude": 3.14, # The magnitude. |
| 1295 | "unit": "A String", # The units for magnitude. |
| 1296 | }, |
| 1297 | }, |
| 1298 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1299 | }, |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 1300 | "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit. |
| 1301 | # joined collection of PageElements. |
| 1302 | "children": [ # The collection of elements in the group. The minimum size of a group is 2. |
| 1303 | # Object with schema name: PageElement |
| 1304 | ], |
| 1305 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1306 | "table": { # A PageElement kind representing a # A table page element. |
| 1307 | # table. |
| 1308 | "tableColumns": [ # Properties of each column. |
| 1309 | { # Properties of each column in a table. |
| 1310 | "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column. |
| 1311 | "magnitude": 3.14, # The magnitude. |
| 1312 | "unit": "A String", # The units for magnitude. |
| 1313 | }, |
| 1314 | }, |
| 1315 | ], |
| 1316 | "tableRows": [ # Properties and contents of each row. |
| 1317 | # |
| 1318 | # Cells that span multiple rows are contained in only one of these rows and |
| 1319 | # have a row_span greater |
| 1320 | # than 1. |
| 1321 | { # Properties and contents of each row in a table. |
| 1322 | "tableCells": [ # Properties and contents of each cell. |
| 1323 | # |
| 1324 | # Cells that span multiple columns are represented only once with a |
| 1325 | # column_span greater |
| 1326 | # than 1. As a result, the length of this collection does not always match |
| 1327 | # the number of columns of the entire table. |
| 1328 | { # Properties and contents of each table cell. |
| 1329 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell. |
| 1330 | # text box or rectangle) or a table cell in a page. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1331 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 1332 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 1333 | # associated with a list. A paragraph that is part of a list has an implicit |
| 1334 | # reference to that list's ID. |
| 1335 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 1336 | # level. A list has at most nine levels of nesting, so the possible values |
| 1337 | # for the keys of this map are 0 through 8, inclusive. |
| 1338 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 1339 | # level of nesting. |
| 1340 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 1341 | # |
| 1342 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 1343 | # inherited from the parent. Which text styles are inherited depend on the |
| 1344 | # nesting level of lists: |
| 1345 | # |
| 1346 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 1347 | # from the the newline character in the paragraph at the 0 nesting level of |
| 1348 | # the list inside the parent placeholder. |
| 1349 | # * A text run in a paragraph that is in a list will inherit its text style |
| 1350 | # from the newline character in the paragraph at its corresponding nesting |
| 1351 | # level of the list inside the parent placeholder. |
| 1352 | # |
| 1353 | # Inherited text styles are represented as unset fields in this message. If |
| 1354 | # text is contained in a shape without a parent placeholder, unsetting these |
| 1355 | # fields will revert the style to a value matching the defaults in the Slides |
| 1356 | # editor. |
| 1357 | "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 |
| 1358 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1359 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1360 | # a transparent color. |
| 1361 | "themeColor": "A String", # An opaque theme color. |
| 1362 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1363 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1364 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1365 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1366 | }, |
| 1367 | }, |
| 1368 | }, |
| 1369 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 1370 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 1371 | # |
| 1372 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 1373 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 1374 | # The `font_size` itself is not affected by changes in this field. |
| 1375 | "strikethrough": True or False, # Whether or not the text is struck through. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 1376 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. This property is |
| 1377 | # read-only. |
| 1378 | # |
| 1379 | # This field is an extension of `font_family` meant to support explicit font |
| 1380 | # weights without breaking backwards compatibility. As such, when reading the |
| 1381 | # style of a range of text, the value of `weighted_font_family.font_family` |
| 1382 | # will always be equal to that of `font_family`. |
| 1383 | "fontFamily": "A String", # The font family of the text. |
| 1384 | # |
| 1385 | # The font family can be any font from the Font menu in Slides or from |
| 1386 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1387 | # unrecognized, the text is rendered in `Arial`. |
| 1388 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 1389 | # multiple of 100 between 100 and 900, inclusive. This range corresponds to |
| 1390 | # only the numerical values described in the "Cascading Style Sheets Level |
| 1391 | # 2 Revision 1 (CSS 2.1) Specification", |
| 1392 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness). The |
| 1393 | # non-numerical values in the specification are disallowed. Weights greater |
| 1394 | # than or equal to 700 are considered bold, and weights less than 700 are |
| 1395 | # not bold. The default value is `400` ("normal"). |
| 1396 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1397 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 1398 | "fontFamily": "A String", # The font family of the text. |
| 1399 | # |
| 1400 | # The font family can be any font from the Font menu in Slides or from |
| 1401 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1402 | # unrecognized, the text is rendered in `Arial`. |
| 1403 | # |
| 1404 | # Some fonts can affect the weight of the text. If an update request |
| 1405 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 1406 | # `bold` value is used. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1407 | "italic": True or False, # Whether or not the text is italicized. |
| 1408 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 1409 | # are not inherited from parent text. |
| 1410 | # |
| 1411 | # Changing the link in an update request causes some other changes to the |
| 1412 | # text style of the range: |
| 1413 | # |
| 1414 | # * When setting a link, the text foreground color will be set to |
| 1415 | # ThemeColorType.HYPERLINK and the text will |
| 1416 | # be underlined. If these fields are modified in the same |
| 1417 | # request, those values will be used instead of the link defaults. |
| 1418 | # * Setting a link on a text range that overlaps with an existing link will |
| 1419 | # also update the existing link to point to the new URL. |
| 1420 | # * Links are not settable on newline characters. As a result, setting a link |
| 1421 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 1422 | # will separate the newline character(s) into their own text runs. The |
| 1423 | # link will be applied separately to the runs before and after the newline. |
| 1424 | # * Removing a link will update the text style of the range to match the |
| 1425 | # style of the preceding text (or the default text styles if the preceding |
| 1426 | # text is another link) unless different styles are being set in the same |
| 1427 | # request. |
| 1428 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1429 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 1430 | # presentation with this ID. A page with this ID may not exist. |
Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame^] | 1431 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 1432 | # in the presentation. There may not be a slide at this index. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1433 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 1434 | # addressed by its position. |
| 1435 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1436 | "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 |
| 1437 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1438 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1439 | # a transparent color. |
| 1440 | "themeColor": "A String", # An opaque theme color. |
| 1441 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1442 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1443 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1444 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1445 | }, |
| 1446 | }, |
| 1447 | }, |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 1448 | "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 |
| 1449 | # points. |
| 1450 | "magnitude": 3.14, # The magnitude. |
| 1451 | "unit": "A String", # The units for magnitude. |
| 1452 | }, |
| 1453 | "underline": True or False, # Whether or not the text is underlined. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1454 | }, |
| 1455 | }, |
| 1456 | }, |
| 1457 | "listId": "A String", # The ID of the list. |
| 1458 | }, |
| 1459 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1460 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 1461 | # information. This property is read-only. |
| 1462 | { # A TextElement describes the content of a range of indices in the text content |
| 1463 | # of a Shape or TableCell. |
| 1464 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 1465 | # replaced with content that can change over time. |
| 1466 | "content": "A String", # The rendered content of this auto text, if available. |
| 1467 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 1468 | # |
| 1469 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 1470 | # inherited from the parent. Which text styles are inherited depend on the |
| 1471 | # nesting level of lists: |
| 1472 | # |
| 1473 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 1474 | # from the the newline character in the paragraph at the 0 nesting level of |
| 1475 | # the list inside the parent placeholder. |
| 1476 | # * A text run in a paragraph that is in a list will inherit its text style |
| 1477 | # from the newline character in the paragraph at its corresponding nesting |
| 1478 | # level of the list inside the parent placeholder. |
| 1479 | # |
| 1480 | # Inherited text styles are represented as unset fields in this message. If |
| 1481 | # text is contained in a shape without a parent placeholder, unsetting these |
| 1482 | # fields will revert the style to a value matching the defaults in the Slides |
| 1483 | # editor. |
| 1484 | "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 |
| 1485 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1486 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1487 | # a transparent color. |
| 1488 | "themeColor": "A String", # An opaque theme color. |
| 1489 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1490 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1491 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1492 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1493 | }, |
| 1494 | }, |
| 1495 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1496 | "bold": True or False, # Whether or not the text is rendered as bold. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1497 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 1498 | # |
| 1499 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 1500 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 1501 | # The `font_size` itself is not affected by changes in this field. |
| 1502 | "strikethrough": True or False, # Whether or not the text is struck through. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 1503 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. This property is |
| 1504 | # read-only. |
| 1505 | # |
| 1506 | # This field is an extension of `font_family` meant to support explicit font |
| 1507 | # weights without breaking backwards compatibility. As such, when reading the |
| 1508 | # style of a range of text, the value of `weighted_font_family.font_family` |
| 1509 | # will always be equal to that of `font_family`. |
| 1510 | "fontFamily": "A String", # The font family of the text. |
| 1511 | # |
| 1512 | # The font family can be any font from the Font menu in Slides or from |
| 1513 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1514 | # unrecognized, the text is rendered in `Arial`. |
| 1515 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 1516 | # multiple of 100 between 100 and 900, inclusive. This range corresponds to |
| 1517 | # only the numerical values described in the "Cascading Style Sheets Level |
| 1518 | # 2 Revision 1 (CSS 2.1) Specification", |
| 1519 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness). The |
| 1520 | # non-numerical values in the specification are disallowed. Weights greater |
| 1521 | # than or equal to 700 are considered bold, and weights less than 700 are |
| 1522 | # not bold. The default value is `400` ("normal"). |
| 1523 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1524 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 1525 | "fontFamily": "A String", # The font family of the text. |
| 1526 | # |
| 1527 | # The font family can be any font from the Font menu in Slides or from |
| 1528 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1529 | # unrecognized, the text is rendered in `Arial`. |
| 1530 | # |
| 1531 | # Some fonts can affect the weight of the text. If an update request |
| 1532 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 1533 | # `bold` value is used. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1534 | "italic": True or False, # Whether or not the text is italicized. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1535 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 1536 | # are not inherited from parent text. |
| 1537 | # |
| 1538 | # Changing the link in an update request causes some other changes to the |
| 1539 | # text style of the range: |
| 1540 | # |
| 1541 | # * When setting a link, the text foreground color will be set to |
| 1542 | # ThemeColorType.HYPERLINK and the text will |
| 1543 | # be underlined. If these fields are modified in the same |
| 1544 | # request, those values will be used instead of the link defaults. |
| 1545 | # * Setting a link on a text range that overlaps with an existing link will |
| 1546 | # also update the existing link to point to the new URL. |
| 1547 | # * Links are not settable on newline characters. As a result, setting a link |
| 1548 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 1549 | # will separate the newline character(s) into their own text runs. The |
| 1550 | # link will be applied separately to the runs before and after the newline. |
| 1551 | # * Removing a link will update the text style of the range to match the |
| 1552 | # style of the preceding text (or the default text styles if the preceding |
| 1553 | # text is another link) unless different styles are being set in the same |
| 1554 | # request. |
| 1555 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1556 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 1557 | # presentation with this ID. A page with this ID may not exist. |
Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame^] | 1558 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 1559 | # in the presentation. There may not be a slide at this index. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1560 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 1561 | # addressed by its position. |
| 1562 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1563 | "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 |
| 1564 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1565 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1566 | # a transparent color. |
| 1567 | "themeColor": "A String", # An opaque theme color. |
| 1568 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1569 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1570 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1571 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1572 | }, |
| 1573 | }, |
| 1574 | }, |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 1575 | "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 |
| 1576 | # points. |
| 1577 | "magnitude": 3.14, # The magnitude. |
| 1578 | "unit": "A String", # The units for magnitude. |
| 1579 | }, |
| 1580 | "underline": True or False, # Whether or not the text is underlined. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1581 | }, |
| 1582 | "type": "A String", # The type of this auto text. |
| 1583 | }, |
| 1584 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 1585 | # units. |
| 1586 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 1587 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 1588 | # |
| 1589 | # The `start_index` and `end_index` of this TextElement represent the |
| 1590 | # range of the paragraph. Other TextElements with an index range contained |
| 1591 | # inside this paragraph's range are considered to be part of this |
| 1592 | # paragraph. The range of indices of two separate paragraphs will never |
| 1593 | # overlap. |
| 1594 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 1595 | # |
| 1596 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 1597 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 1598 | # nesting level of lists: |
| 1599 | # |
| 1600 | # * A paragraph not in a list will inherit its paragraph style from the |
| 1601 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 1602 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 1603 | # at its corresponding nesting level of the list inside the parent |
| 1604 | # placeholder. |
| 1605 | # |
| 1606 | # Inherited paragraph styles are represented as unset fields in this message. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1607 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 1608 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 1609 | # LEFT_TO_RIGHT |
| 1610 | # since text direction is not inherited. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1611 | "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 Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1612 | # inherited from the parent. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1613 | "magnitude": 3.14, # The magnitude. |
| 1614 | "unit": "A String", # The units for magnitude. |
| 1615 | }, |
| 1616 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 1617 | # is represented as 100.0. If unset, the value is inherited from the parent. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1618 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 1619 | # the start of the text, based on the current text direction. If unset, the |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1620 | # value is inherited from the parent. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1621 | "magnitude": 3.14, # The magnitude. |
| 1622 | "unit": "A String", # The units for magnitude. |
| 1623 | }, |
| 1624 | "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 Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1625 | # inherited from the parent. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1626 | "magnitude": 3.14, # The magnitude. |
| 1627 | "unit": "A String", # The units for magnitude. |
| 1628 | }, |
| 1629 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 1630 | # the end of the text, based on the current text direction. If unset, the |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1631 | # value is inherited from the parent. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1632 | "magnitude": 3.14, # The magnitude. |
| 1633 | "unit": "A String", # The units for magnitude. |
| 1634 | }, |
| 1635 | "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 Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1636 | # If unset, the value is inherited from the parent. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1637 | "magnitude": 3.14, # The magnitude. |
| 1638 | "unit": "A String", # The units for magnitude. |
| 1639 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1640 | "alignment": "A String", # The text alignment for this paragraph. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1641 | }, |
| 1642 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 1643 | # belong to a list. |
| 1644 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 1645 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 1646 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 1647 | # |
| 1648 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 1649 | # inherited from the parent. Which text styles are inherited depend on the |
| 1650 | # nesting level of lists: |
| 1651 | # |
| 1652 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 1653 | # from the the newline character in the paragraph at the 0 nesting level of |
| 1654 | # the list inside the parent placeholder. |
| 1655 | # * A text run in a paragraph that is in a list will inherit its text style |
| 1656 | # from the newline character in the paragraph at its corresponding nesting |
| 1657 | # level of the list inside the parent placeholder. |
| 1658 | # |
| 1659 | # Inherited text styles are represented as unset fields in this message. If |
| 1660 | # text is contained in a shape without a parent placeholder, unsetting these |
| 1661 | # fields will revert the style to a value matching the defaults in the Slides |
| 1662 | # editor. |
| 1663 | "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 |
| 1664 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1665 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1666 | # a transparent color. |
| 1667 | "themeColor": "A String", # An opaque theme color. |
| 1668 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1669 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1670 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1671 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1672 | }, |
| 1673 | }, |
| 1674 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1675 | "bold": True or False, # Whether or not the text is rendered as bold. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1676 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 1677 | # |
| 1678 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 1679 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 1680 | # The `font_size` itself is not affected by changes in this field. |
| 1681 | "strikethrough": True or False, # Whether or not the text is struck through. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 1682 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. This property is |
| 1683 | # read-only. |
| 1684 | # |
| 1685 | # This field is an extension of `font_family` meant to support explicit font |
| 1686 | # weights without breaking backwards compatibility. As such, when reading the |
| 1687 | # style of a range of text, the value of `weighted_font_family.font_family` |
| 1688 | # will always be equal to that of `font_family`. |
| 1689 | "fontFamily": "A String", # The font family of the text. |
| 1690 | # |
| 1691 | # The font family can be any font from the Font menu in Slides or from |
| 1692 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1693 | # unrecognized, the text is rendered in `Arial`. |
| 1694 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 1695 | # multiple of 100 between 100 and 900, inclusive. This range corresponds to |
| 1696 | # only the numerical values described in the "Cascading Style Sheets Level |
| 1697 | # 2 Revision 1 (CSS 2.1) Specification", |
| 1698 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness). The |
| 1699 | # non-numerical values in the specification are disallowed. Weights greater |
| 1700 | # than or equal to 700 are considered bold, and weights less than 700 are |
| 1701 | # not bold. The default value is `400` ("normal"). |
| 1702 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1703 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 1704 | "fontFamily": "A String", # The font family of the text. |
| 1705 | # |
| 1706 | # The font family can be any font from the Font menu in Slides or from |
| 1707 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1708 | # unrecognized, the text is rendered in `Arial`. |
| 1709 | # |
| 1710 | # Some fonts can affect the weight of the text. If an update request |
| 1711 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 1712 | # `bold` value is used. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1713 | "italic": True or False, # Whether or not the text is italicized. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1714 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 1715 | # are not inherited from parent text. |
| 1716 | # |
| 1717 | # Changing the link in an update request causes some other changes to the |
| 1718 | # text style of the range: |
| 1719 | # |
| 1720 | # * When setting a link, the text foreground color will be set to |
| 1721 | # ThemeColorType.HYPERLINK and the text will |
| 1722 | # be underlined. If these fields are modified in the same |
| 1723 | # request, those values will be used instead of the link defaults. |
| 1724 | # * Setting a link on a text range that overlaps with an existing link will |
| 1725 | # also update the existing link to point to the new URL. |
| 1726 | # * Links are not settable on newline characters. As a result, setting a link |
| 1727 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 1728 | # will separate the newline character(s) into their own text runs. The |
| 1729 | # link will be applied separately to the runs before and after the newline. |
| 1730 | # * Removing a link will update the text style of the range to match the |
| 1731 | # style of the preceding text (or the default text styles if the preceding |
| 1732 | # text is another link) unless different styles are being set in the same |
| 1733 | # request. |
| 1734 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1735 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 1736 | # presentation with this ID. A page with this ID may not exist. |
Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame^] | 1737 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 1738 | # in the presentation. There may not be a slide at this index. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1739 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 1740 | # addressed by its position. |
| 1741 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1742 | "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 |
| 1743 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1744 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1745 | # a transparent color. |
| 1746 | "themeColor": "A String", # An opaque theme color. |
| 1747 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1748 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1749 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1750 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1751 | }, |
| 1752 | }, |
| 1753 | }, |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 1754 | "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 |
| 1755 | # points. |
| 1756 | "magnitude": 3.14, # The magnitude. |
| 1757 | "unit": "A String", # The units for magnitude. |
| 1758 | }, |
| 1759 | "underline": True or False, # Whether or not the text is underlined. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1760 | }, |
| 1761 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 1762 | }, |
| 1763 | }, |
| 1764 | "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 |
| 1765 | # in the run have the same TextStyle. |
| 1766 | # |
| 1767 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 1768 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 1769 | # In other words, a TextRun will never span multiple paragraphs. |
| 1770 | # styling. |
| 1771 | "content": "A String", # The text of this run. |
| 1772 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 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 Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1801 | "bold": True or False, # Whether or not the text is rendered as bold. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1802 | "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 Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 1808 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. This property is |
| 1809 | # read-only. |
| 1810 | # |
| 1811 | # This field is an extension of `font_family` meant to support explicit font |
| 1812 | # weights without breaking backwards compatibility. As such, when reading the |
| 1813 | # style of a range of text, the value of `weighted_font_family.font_family` |
| 1814 | # will always be equal to that of `font_family`. |
| 1815 | "fontFamily": "A String", # The font family of the text. |
| 1816 | # |
| 1817 | # The font family can be any font from the Font menu in Slides or from |
| 1818 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1819 | # unrecognized, the text is rendered in `Arial`. |
| 1820 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 1821 | # multiple of 100 between 100 and 900, inclusive. This range corresponds to |
| 1822 | # only the numerical values described in the "Cascading Style Sheets Level |
| 1823 | # 2 Revision 1 (CSS 2.1) Specification", |
| 1824 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness). The |
| 1825 | # non-numerical values in the specification are disallowed. Weights greater |
| 1826 | # than or equal to 700 are considered bold, and weights less than 700 are |
| 1827 | # not bold. The default value is `400` ("normal"). |
| 1828 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1829 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 1830 | "fontFamily": "A String", # The font family of the text. |
| 1831 | # |
| 1832 | # The font family can be any font from the Font menu in Slides or from |
| 1833 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1834 | # unrecognized, the text is rendered in `Arial`. |
| 1835 | # |
| 1836 | # Some fonts can affect the weight of the text. If an update request |
| 1837 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 1838 | # `bold` value is used. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1839 | "italic": True or False, # Whether or not the text is italicized. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1840 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 1841 | # are not inherited from parent text. |
| 1842 | # |
| 1843 | # Changing the link in an update request causes some other changes to the |
| 1844 | # text style of the range: |
| 1845 | # |
| 1846 | # * When setting a link, the text foreground color will be set to |
| 1847 | # ThemeColorType.HYPERLINK and the text will |
| 1848 | # be underlined. If these fields are modified in the same |
| 1849 | # request, those values will be used instead of the link defaults. |
| 1850 | # * Setting a link on a text range that overlaps with an existing link will |
| 1851 | # also update the existing link to point to the new URL. |
| 1852 | # * Links are not settable on newline characters. As a result, setting a link |
| 1853 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 1854 | # will separate the newline character(s) into their own text runs. The |
| 1855 | # link will be applied separately to the runs before and after the newline. |
| 1856 | # * Removing a link will update the text style of the range to match the |
| 1857 | # style of the preceding text (or the default text styles if the preceding |
| 1858 | # text is another link) unless different styles are being set in the same |
| 1859 | # request. |
| 1860 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1861 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 1862 | # presentation with this ID. A page with this ID may not exist. |
Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame^] | 1863 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 1864 | # in the presentation. There may not be a slide at this index. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1865 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 1866 | # addressed by its position. |
| 1867 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1868 | "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 |
| 1869 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1870 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1871 | # a transparent color. |
| 1872 | "themeColor": "A String", # An opaque theme color. |
| 1873 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1874 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1875 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1876 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1877 | }, |
| 1878 | }, |
| 1879 | }, |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 1880 | "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 |
| 1881 | # points. |
| 1882 | "magnitude": 3.14, # The magnitude. |
| 1883 | "unit": "A String", # The units for magnitude. |
| 1884 | }, |
| 1885 | "underline": True or False, # Whether or not the text is underlined. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1886 | }, |
| 1887 | }, |
| 1888 | }, |
| 1889 | ], |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1890 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1891 | "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell. |
| 1892 | "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill |
| 1893 | # for newly created table cells in the Slides editor. |
| 1894 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 1895 | # specified color value. |
| 1896 | # |
| 1897 | # If any field is unset, its value may be inherited from a parent placeholder |
| 1898 | # if it exists. |
| 1899 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 1900 | "themeColor": "A String", # An opaque theme color. |
| 1901 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1902 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1903 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1904 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1905 | }, |
| 1906 | }, |
| 1907 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 1908 | # That is, the final pixel color is defined by the equation: |
| 1909 | # |
| 1910 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 1911 | # |
| 1912 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 1913 | # a value of 0.0 corresponds to a completely transparent color. |
| 1914 | }, |
| 1915 | "propertyState": "A String", # The background fill property state. |
| 1916 | # |
| 1917 | # Updating the the fill on a table cell will implicitly update this field |
| 1918 | # to `RENDERED`, unless another value is specified in the same request. To |
| 1919 | # have no fill on a table cell, set this field to `NOT_RENDERED`. In this |
| 1920 | # case, any other fill fields set in the same request will be ignored. |
| 1921 | }, |
| 1922 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1923 | "rowSpan": 42, # Row span of the cell. |
| 1924 | "columnSpan": 42, # Column span of the cell. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1925 | "location": { # A location of a single table cell within a table. # The location of the cell within the table. |
| 1926 | "rowIndex": 42, # The 0-based row index. |
| 1927 | "columnIndex": 42, # The 0-based column index. |
| 1928 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1929 | }, |
| 1930 | ], |
| 1931 | "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row. |
| 1932 | "magnitude": 3.14, # The magnitude. |
| 1933 | "unit": "A String", # The units for magnitude. |
| 1934 | }, |
| 1935 | }, |
| 1936 | ], |
| 1937 | "rows": 42, # Number of rows in the table. |
| 1938 | "columns": 42, # Number of columns in the table. |
| 1939 | }, |
| 1940 | "line": { # A PageElement kind representing a # A line page element. |
| 1941 | # line, curved connector, or bent connector. |
| 1942 | "lineProperties": { # The properties of the Line. # The properties of the line. |
| 1943 | # |
| 1944 | # When unset, these fields default to values that match the appearance of |
| 1945 | # new lines created in the Slides editor. |
| 1946 | "dashStyle": "A String", # The dash style of the line. |
| 1947 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line. |
| 1948 | "magnitude": 3.14, # The magnitude. |
| 1949 | "unit": "A String", # The units for magnitude. |
| 1950 | }, |
| 1951 | "endArrow": "A String", # The style of the arrow at the end of the line. |
| 1952 | "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link. |
| 1953 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1954 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 1955 | # presentation with this ID. A page with this ID may not exist. |
Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame^] | 1956 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 1957 | # in the presentation. There may not be a slide at this index. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1958 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 1959 | # addressed by its position. |
| 1960 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1961 | "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new |
| 1962 | # lines created in the Slides editor. |
| 1963 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 1964 | # specified color value. |
| 1965 | # |
| 1966 | # If any field is unset, its value may be inherited from a parent placeholder |
| 1967 | # if it exists. |
| 1968 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 1969 | "themeColor": "A String", # An opaque theme color. |
| 1970 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1971 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1972 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1973 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1974 | }, |
| 1975 | }, |
| 1976 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 1977 | # That is, the final pixel color is defined by the equation: |
| 1978 | # |
| 1979 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 1980 | # |
| 1981 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 1982 | # a value of 0.0 corresponds to a completely transparent color. |
| 1983 | }, |
| 1984 | }, |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 1985 | "startArrow": "A String", # The style of the arrow at the beginning of the line. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1986 | }, |
| 1987 | "lineType": "A String", # The type of the line. |
| 1988 | }, |
| 1989 | "size": { # A width and height. # The size of the page element. |
| 1990 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 1991 | "magnitude": 3.14, # The magnitude. |
| 1992 | "unit": "A String", # The units for magnitude. |
| 1993 | }, |
| 1994 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 1995 | "magnitude": 3.14, # The magnitude. |
| 1996 | "unit": "A String", # The units for magnitude. |
| 1997 | }, |
| 1998 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1999 | }, |
| 2000 | ], |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 2001 | "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES. |
| 2002 | # relevant for pages with page_type NOTES. |
| 2003 | "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker |
| 2004 | # notes for the corresponding slide. |
| 2005 | # The actual shape may not always exist on the notes page. Inserting text |
| 2006 | # using this object ID will automatically create the shape. In this case, the |
| 2007 | # actual shape may have different object ID. The `GetPresentation` or |
| 2008 | # `GetPage` action will always return the latest object ID. |
| 2009 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 2010 | "objectId": "A String", # The object ID for this page. Object IDs used by |
| 2011 | # Page and |
| 2012 | # PageElement share the same namespace. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 2013 | "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in |
| 2014 | # update requests to assert that the presentation revision hasn't changed |
| 2015 | # since the last read operation. Only populated if the user has edit access |
| 2016 | # to the presentation. |
| 2017 | # |
| 2018 | # The format of the revision ID may change over time, so it should be treated |
| 2019 | # opaquely. A returned revision ID is only guaranteed to be valid for 24 |
| 2020 | # hours after it has been returned and cannot be shared across |
| 2021 | # users. Callers can assume that if two revision IDs are equal then the |
| 2022 | # presentation has not changed. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 2023 | "pageProperties": { # The properties of the Page. # The properties of the page. |
| 2024 | # |
| 2025 | # The page will inherit properties from the parent page. Depending on the page |
| 2026 | # type the hierarchy is defined in either |
| 2027 | # SlideProperties or |
| 2028 | # LayoutProperties. |
| 2029 | "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited |
| 2030 | # from a parent page if it exists. If the page has no parent, then the |
| 2031 | # background fill defaults to the corresponding fill in the Slides editor. |
| 2032 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 2033 | # specified color value. |
| 2034 | # |
| 2035 | # If any field is unset, its value may be inherited from a parent placeholder |
| 2036 | # if it exists. |
| 2037 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 2038 | "themeColor": "A String", # An opaque theme color. |
| 2039 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 2040 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2041 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2042 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2043 | }, |
| 2044 | }, |
| 2045 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 2046 | # That is, the final pixel color is defined by the equation: |
| 2047 | # |
| 2048 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 2049 | # |
| 2050 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 2051 | # a value of 0.0 corresponds to a completely transparent color. |
| 2052 | }, |
| 2053 | "propertyState": "A String", # The background fill property state. |
| 2054 | # |
| 2055 | # Updating the the fill on a page will implicitly update this field to |
| 2056 | # `RENDERED`, unless another value is specified in the same request. To |
| 2057 | # have no fill on a page, set this field to `NOT_RENDERED`. In this case, |
| 2058 | # any other fill fields set in the same request will be ignored. |
| 2059 | "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill. |
| 2060 | # the specified picture. The picture is stretched to fit its container. |
| 2061 | "contentUrl": "A String", # Reading the content_url: |
| 2062 | # |
| 2063 | # An URL to a picture with a default lifetime of 30 minutes. |
| 2064 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 2065 | # effectively accesses the picture as the original requester. Access to the |
| 2066 | # picture may be lost if the presentation's sharing settings change. |
| 2067 | # |
| 2068 | # Writing the content_url: |
| 2069 | # |
| 2070 | # The picture is fetched once at insertion time and a copy is stored for |
| 2071 | # display inside the presentation. Pictures must be less than 50MB in size, |
| 2072 | # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF |
| 2073 | # format. |
| 2074 | "size": { # A width and height. # The original size of the picture fill. This field is read-only. |
| 2075 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 2076 | "magnitude": 3.14, # The magnitude. |
| 2077 | "unit": "A String", # The units for magnitude. |
| 2078 | }, |
| 2079 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 2080 | "magnitude": 3.14, # The magnitude. |
| 2081 | "unit": "A String", # The units for magnitude. |
| 2082 | }, |
| 2083 | }, |
| 2084 | }, |
| 2085 | }, |
| 2086 | "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from |
| 2087 | # a parent page. If the page has no parent, the color scheme uses a default |
| 2088 | # Slides color scheme. This field is read-only. |
| 2089 | "colors": [ # The ThemeColorType and corresponding concrete color pairs. |
| 2090 | { # A pair mapping a theme color type to the concrete color it represents. |
| 2091 | "color": { # An RGB color. # The concrete color corresponding to the theme color type above. |
| 2092 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2093 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2094 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2095 | }, |
| 2096 | "type": "A String", # The type of the theme color. |
| 2097 | }, |
| 2098 | ], |
| 2099 | }, |
| 2100 | }, |
| 2101 | "pageType": "A String", # The type of the page. |
| 2102 | "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE. |
| 2103 | # relevant for pages with page_type SLIDE. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 2104 | "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual |
| 2105 | # appearance of a notes page when printing or exporting slides with speaker |
| 2106 | # notes. A notes page inherits properties from the |
| 2107 | # notes master. |
| 2108 | # The placeholder shape with type BODY on the notes page contains the speaker |
| 2109 | # notes for this slide. The ID of this shape is identified by the |
| 2110 | # speakerNotesObjectId field. |
| 2111 | # The notes page is read-only except for the text content and styles of the |
| 2112 | # speaker notes shape. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 2113 | "masterObjectId": "A String", # The object ID of the master that this slide is based on. |
| 2114 | "layoutObjectId": "A String", # The object ID of the layout that this slide is based on. |
| 2115 | }, |
| 2116 | }</pre> |
| 2117 | </div> |
| 2118 | |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 2119 | <div class="method"> |
| 2120 | <code class="details" id="getThumbnail">getThumbnail(presentationId, pageObjectId, thumbnailProperties_mimeType=None, thumbnailProperties_thumbnailSize=None, x__xgafv=None)</code> |
| 2121 | <pre>Generates a thumbnail of the latest version of the specified page in the |
| 2122 | presentation and returns a URL to the thumbnail image. |
| 2123 | |
| 2124 | Args: |
| 2125 | presentationId: string, The ID of the presentation to retrieve. (required) |
| 2126 | pageObjectId: string, The object ID of the page whose thumbnail to retrieve. (required) |
| 2127 | thumbnailProperties_mimeType: string, The optional mime type of the thumbnail image. |
| 2128 | |
| 2129 | If you don't specify the mime type, the default mime type will be PNG. |
| 2130 | thumbnailProperties_thumbnailSize: string, The optional thumbnail image size. |
| 2131 | |
| 2132 | If you don't specify the size, the server chooses a default size of the |
| 2133 | image. |
| 2134 | x__xgafv: string, V1 error format. |
| 2135 | Allowed values |
| 2136 | 1 - v1 error format |
| 2137 | 2 - v2 error format |
| 2138 | |
| 2139 | Returns: |
| 2140 | An object of the form: |
| 2141 | |
| 2142 | { # The thumbnail of a page. |
| 2143 | "contentUrl": "A String", # The content URL of the thumbnail image. |
| 2144 | # |
| 2145 | # The URL to the image has a default lifetime of 30 minutes. |
| 2146 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 2147 | # effectively accesses the image as the original requester. Access to the |
| 2148 | # image may be lost if the presentation's sharing settings change. |
| 2149 | # The mime type of the thumbnail image is the same as specified in the |
| 2150 | # `GetPageThumbnailRequest`. |
| 2151 | "width": 42, # The positive width in pixels of the thumbnail image. |
| 2152 | "height": 42, # The positive height in pixels of the thumbnail image. |
| 2153 | }</pre> |
| 2154 | </div> |
| 2155 | |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 2156 | </body></html> |