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> |
| 80 | <h3>Method Details</h3> |
| 81 | <div class="method"> |
| 82 | <code class="details" id="get">get(presentationId, pageObjectId, x__xgafv=None)</code> |
| 83 | <pre>Gets the latest version of the specified page in the presentation. |
| 84 | |
| 85 | Args: |
| 86 | presentationId: string, The ID of the presentation to retrieve. (required) |
| 87 | pageObjectId: string, The object ID of the page to retrieve. (required) |
| 88 | x__xgafv: string, V1 error format. |
| 89 | Allowed values |
| 90 | 1 - v1 error format |
| 91 | 2 - v2 error format |
| 92 | |
| 93 | Returns: |
| 94 | An object of the form: |
| 95 | |
| 96 | { # A page in a presentation. |
| 97 | "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT. |
| 98 | # relevant for pages with page_type LAYOUT. |
| 99 | "displayName": "A String", # The human readable name of the layout in the presentation's locale. |
| 100 | "name": "A String", # The name of the layout. |
| 101 | "masterObjectId": "A String", # The object ID of the master that this layout is based on. |
| 102 | }, |
| 103 | "pageElements": [ # The page elements rendered on the page. |
| 104 | { # A visual element rendered on a page. |
| 105 | "wordArt": { # A PageElement kind representing # A word art page element. |
| 106 | # word art. |
| 107 | "renderedText": "A String", # The text rendered as word art. |
| 108 | }, |
| 109 | "description": "A String", # The description of the page element. Combined with title to display alt |
| 110 | # text. |
| 111 | "objectId": "A String", # The object ID for this page element. Object IDs used by |
| 112 | # google.apps.slides.v1.Page and |
| 113 | # google.apps.slides.v1.PageElement share the same namespace. |
| 114 | "title": "A String", # The title of the page element. Combined with description to display alt |
| 115 | # text. |
| 116 | "image": { # A PageElement kind representing an # An image page element. |
| 117 | # image. |
| 118 | "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes. |
| 119 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 120 | # effectively accesses the image as the original requester. Access to the |
| 121 | # image may be lost if the presentation's sharing settings change. |
| 122 | "imageProperties": { # The properties of the Image. # The properties of the image. |
| 123 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline. |
| 124 | # |
| 125 | # If these fields are unset, they may be inherited from a parent placeholder |
| 126 | # if it exists. If there is no parent, the fields will default to the value |
| 127 | # used for new page elements created in the Slides editor, which may depend on |
| 128 | # the page element kind. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 129 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 130 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 131 | # specified color value. |
| 132 | # |
| 133 | # If any field is unset, its value may be inherited from a parent placeholder |
| 134 | # if it exists. |
| 135 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 136 | "themeColor": "A String", # An opaque theme color. |
| 137 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 138 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 139 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 140 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 141 | }, |
| 142 | }, |
| 143 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 144 | # That is, the final pixel color is defined by the equation: |
| 145 | # |
| 146 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 147 | # |
| 148 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 149 | # a value of 0.0 corresponds to a completely transparent color. |
| 150 | }, |
| 151 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 152 | "propertyState": "A String", # The outline property state. |
| 153 | # |
| 154 | # Updating the the outline on a page element will implicitly update this |
| 155 | # field to`RENDERED`, unless another value is specified in the same request. |
| 156 | # To have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 157 | # this case, any other outline fields set in the same request will be |
| 158 | # ignored. |
| 159 | "dashStyle": "A String", # The dash style of the outline. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 160 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 161 | "magnitude": 3.14, # The magnitude. |
| 162 | "unit": "A String", # The units for magnitude. |
| 163 | }, |
| 164 | }, |
| 165 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 166 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 167 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 168 | # This property is read-only. |
| 169 | "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^] | 170 | # stops. |
| 171 | # |
| 172 | # The colors in the gradient will replace the corresponding colors at |
| 173 | # the same position in the color palette and apply to the image. This |
| 174 | # property is read-only. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 175 | { # A color and position in a gradient band. |
| 176 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 177 | "themeColor": "A String", # An opaque theme color. |
| 178 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 179 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 180 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 181 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 182 | }, |
| 183 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 184 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 185 | # fully opaque. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 186 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 187 | # 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] | 188 | }, |
| 189 | ], |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 190 | "name": "A String", # The name of the recolor effect. |
| 191 | # |
| 192 | # The name is determined from the `recolor_stops` by matching the gradient |
| 193 | # against the colors in the page's current color scheme. This property is |
| 194 | # read-only. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 195 | }, |
| 196 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 197 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 198 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 199 | # in the presentation. There may not be a slide at this index. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 200 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 201 | # presentation with this ID. A page with this ID may not exist. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 202 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 203 | # addressed by its position. |
| 204 | }, |
| 205 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 206 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 207 | # This property is read-only. |
| 208 | "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. |
| 209 | # This property is read-only. |
| 210 | # Image. |
| 211 | # |
| 212 | # The crop properties is represented by the offsets of four edges which define |
| 213 | # a crop rectangle. The offsets are measured in percentage from the |
| 214 | # corresponding edges of the object's original bounding rectangle towards |
| 215 | # inside, relative to the object's original dimensions. |
| 216 | # |
| 217 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 218 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 219 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 220 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 221 | # - If the left edge of the crop rectangle is on the right side of its right |
| 222 | # edge, the object will be flipped horizontally. |
| 223 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 224 | # will be flipped vertically. |
| 225 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 226 | # |
| 227 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 228 | # its container. |
| 229 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 230 | # the right of the original bounding rectangle left edge, relative to the |
| 231 | # object's original width. |
| 232 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 233 | # Rotation angle is applied after the offset. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 234 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 235 | # to the left of the original bounding rectangle right edge, relative to the |
| 236 | # object's original width. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 237 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 238 | # above the original bounding rectangle bottom edge, relative to the object's |
| 239 | # original height. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 240 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 241 | # below the original bounding rectangle top edge, relative to the object's |
| 242 | # original height. |
| 243 | }, |
| 244 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 245 | # is read-only. |
| 246 | # |
| 247 | # If these fields are unset, they may be inherited from a parent placeholder |
| 248 | # if it exists. If there is no parent, the fields will default to the value |
| 249 | # used for new page elements created in the Slides editor, which may depend on |
| 250 | # the page element kind. |
| 251 | "color": { # A themeable solid color value. # The shadow color value. |
| 252 | "themeColor": "A String", # An opaque theme color. |
| 253 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 254 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 255 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 256 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 257 | }, |
| 258 | }, |
| 259 | "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, |
| 260 | # relative to the alignment position. |
| 261 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 262 | # according to: |
| 263 | # |
| 264 | # x' x = shear_y scale_y translate_y |
| 265 | # 1 [ 1 ] |
| 266 | # |
| 267 | # After transformation, |
| 268 | # |
| 269 | # x' = scale_x * x + shear_x * y + translate_x; |
| 270 | # y' = scale_y * y + shear_y * x + translate_y; |
| 271 | # |
| 272 | # This message is therefore composed of these six matrix elements. |
| 273 | "translateX": 3.14, # The X coordinate translation element. |
| 274 | "translateY": 3.14, # The Y coordinate translation element. |
| 275 | "scaleX": 3.14, # The X coordinate scaling element. |
| 276 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 277 | "shearY": 3.14, # The Y coordinate shearing element. |
| 278 | "shearX": 3.14, # The X coordinate shearing element. |
| 279 | "unit": "A String", # The units for translate elements. |
| 280 | }, |
| 281 | "propertyState": "A String", # The shadow property state. |
| 282 | # |
| 283 | # Updating the the shadow on a page element will implicitly update this field |
| 284 | # to `RENDERED`, unless another value is specified in the same request. To |
| 285 | # have no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| 286 | # case, any other shadow fields set in the same request will be ignored. |
| 287 | "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 |
| 288 | # shadow becomes. |
| 289 | "magnitude": 3.14, # The magnitude. |
| 290 | "unit": "A String", # The units for magnitude. |
| 291 | }, |
| 292 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| 293 | "type": "A String", # The type of the shadow. |
| 294 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| 295 | # scale and skew of the shadow. |
| 296 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. |
| 297 | }, |
| 298 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 299 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 300 | }, |
| 301 | }, |
| 302 | "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element. |
| 303 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 304 | # according to: |
| 305 | # |
| 306 | # x' x = shear_y scale_y translate_y |
| 307 | # 1 [ 1 ] |
| 308 | # |
| 309 | # After transformation, |
| 310 | # |
| 311 | # x' = scale_x * x + shear_x * y + translate_x; |
| 312 | # y' = scale_y * y + shear_y * x + translate_y; |
| 313 | # |
| 314 | # This message is therefore composed of these six matrix elements. |
| 315 | "translateX": 3.14, # The X coordinate translation element. |
| 316 | "translateY": 3.14, # The Y coordinate translation element. |
| 317 | "scaleX": 3.14, # The X coordinate scaling element. |
| 318 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 319 | "shearY": 3.14, # The Y coordinate shearing element. |
| 320 | "shearX": 3.14, # The X coordinate shearing element. |
| 321 | "unit": "A String", # The units for translate elements. |
| 322 | }, |
| 323 | "shape": { # A PageElement kind representing a # A generic shape. |
| 324 | # generic shape that does not have a more specific classification. |
| 325 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape. |
| 326 | # text box or rectangle) or a table cell in a page. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 327 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 328 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 329 | # associated with a list. A paragraph that is part of a list has an implicit |
| 330 | # reference to that list's ID. |
| 331 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 332 | # level. A list has at most nine levels of nesting, so the possible values |
| 333 | # for the keys of this map are 0 through 8, inclusive. |
| 334 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 335 | # level of nesting. |
| 336 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 337 | # |
| 338 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 339 | # inherited from the parent. Which text styles are inherited depend on the |
| 340 | # nesting level of lists: |
| 341 | # |
| 342 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 343 | # from the the newline character in the paragraph at the 0 nesting level of |
| 344 | # the list inside the parent placeholder. |
| 345 | # * A text run in a paragraph that is in a list will inherit its text style |
| 346 | # from the newline character in the paragraph at its corresponding nesting |
| 347 | # level of the list inside the parent placeholder. |
| 348 | # |
| 349 | # Inherited text styles are represented as unset fields in this message. If |
| 350 | # text is contained in a shape without a parent placeholder, unsetting these |
| 351 | # fields will revert the style to a value matching the defaults in the Slides |
| 352 | # editor. |
| 353 | "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 |
| 354 | # transparent, depending on if the `opaque_color` field in it is set. |
| 355 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 356 | # a transparent color. |
| 357 | "themeColor": "A String", # An opaque theme color. |
| 358 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 359 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 360 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 361 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 362 | }, |
| 363 | }, |
| 364 | }, |
| 365 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 366 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 367 | # |
| 368 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 369 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 370 | # The `font_size` itself is not affected by changes in this field. |
| 371 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 372 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 373 | "fontFamily": "A String", # The font family of the text. |
| 374 | # |
| 375 | # The font family can be any font from the Font menu in Slides or from |
| 376 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 377 | # unrecognized, the text is rendered in `Arial`. |
| 378 | # |
| 379 | # Some fonts can affect the weight of the text. If an update request |
| 380 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 381 | # `bold` value is used. |
| 382 | "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 |
| 383 | # points. |
| 384 | "magnitude": 3.14, # The magnitude. |
| 385 | "unit": "A String", # The units for magnitude. |
| 386 | }, |
| 387 | "italic": True or False, # Whether or not the text is italicized. |
| 388 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 389 | # are not inherited from parent text. |
| 390 | # |
| 391 | # Changing the link in an update request causes some other changes to the |
| 392 | # text style of the range: |
| 393 | # |
| 394 | # * When setting a link, the text foreground color will be set to |
| 395 | # ThemeColorType.HYPERLINK and the text will |
| 396 | # be underlined. If these fields are modified in the same |
| 397 | # request, those values will be used instead of the link defaults. |
| 398 | # * Setting a link on a text range that overlaps with an existing link will |
| 399 | # also update the existing link to point to the new URL. |
| 400 | # * Links are not settable on newline characters. As a result, setting a link |
| 401 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 402 | # will separate the newline character(s) into their own text runs. The |
| 403 | # link will be applied separately to the runs before and after the newline. |
| 404 | # * Removing a link will update the text style of the range to match the |
| 405 | # style of the preceding text (or the default text styles if the preceding |
| 406 | # text is another link) unless different styles are being set in the same |
| 407 | # request. |
| 408 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 409 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 410 | # in the presentation. There may not be a slide at this index. |
| 411 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 412 | # presentation with this ID. A page with this ID may not exist. |
| 413 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 414 | # addressed by its position. |
| 415 | }, |
| 416 | "underline": True or False, # Whether or not the text is underlined. |
| 417 | "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 |
| 418 | # transparent, depending on if the `opaque_color` field in it is set. |
| 419 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 420 | # a transparent color. |
| 421 | "themeColor": "A String", # An opaque theme color. |
| 422 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 423 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 424 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 425 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 426 | }, |
| 427 | }, |
| 428 | }, |
| 429 | }, |
| 430 | }, |
| 431 | }, |
| 432 | "listId": "A String", # The ID of the list. |
| 433 | }, |
| 434 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 435 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 436 | # information. This property is read-only. |
| 437 | { # A TextElement describes the content of a range of indices in the text content |
| 438 | # of a Shape or TableCell. |
| 439 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 440 | # replaced with content that can change over time. |
| 441 | "content": "A String", # The rendered content of this auto text, if available. |
| 442 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 443 | # |
| 444 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 445 | # inherited from the parent. Which text styles are inherited depend on the |
| 446 | # nesting level of lists: |
| 447 | # |
| 448 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 449 | # from the the newline character in the paragraph at the 0 nesting level of |
| 450 | # the list inside the parent placeholder. |
| 451 | # * A text run in a paragraph that is in a list will inherit its text style |
| 452 | # from the newline character in the paragraph at its corresponding nesting |
| 453 | # level of the list inside the parent placeholder. |
| 454 | # |
| 455 | # Inherited text styles are represented as unset fields in this message. If |
| 456 | # text is contained in a shape without a parent placeholder, unsetting these |
| 457 | # fields will revert the style to a value matching the defaults in the Slides |
| 458 | # editor. |
| 459 | "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 |
| 460 | # transparent, depending on if the `opaque_color` field in it is set. |
| 461 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 462 | # a transparent color. |
| 463 | "themeColor": "A String", # An opaque theme color. |
| 464 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 465 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 466 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 467 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 468 | }, |
| 469 | }, |
| 470 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 471 | "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] | 472 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 473 | # |
| 474 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 475 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 476 | # The `font_size` itself is not affected by changes in this field. |
| 477 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 478 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 479 | "fontFamily": "A String", # The font family of the text. |
| 480 | # |
| 481 | # The font family can be any font from the Font menu in Slides or from |
| 482 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 483 | # unrecognized, the text is rendered in `Arial`. |
| 484 | # |
| 485 | # Some fonts can affect the weight of the text. If an update request |
| 486 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 487 | # `bold` value is used. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 488 | "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 |
| 489 | # points. |
| 490 | "magnitude": 3.14, # The magnitude. |
| 491 | "unit": "A String", # The units for magnitude. |
| 492 | }, |
| 493 | "italic": True or False, # Whether or not the text is italicized. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 494 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 495 | # are not inherited from parent text. |
| 496 | # |
| 497 | # Changing the link in an update request causes some other changes to the |
| 498 | # text style of the range: |
| 499 | # |
| 500 | # * When setting a link, the text foreground color will be set to |
| 501 | # ThemeColorType.HYPERLINK and the text will |
| 502 | # be underlined. If these fields are modified in the same |
| 503 | # request, those values will be used instead of the link defaults. |
| 504 | # * Setting a link on a text range that overlaps with an existing link will |
| 505 | # also update the existing link to point to the new URL. |
| 506 | # * Links are not settable on newline characters. As a result, setting a link |
| 507 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 508 | # will separate the newline character(s) into their own text runs. The |
| 509 | # link will be applied separately to the runs before and after the newline. |
| 510 | # * Removing a link will update the text style of the range to match the |
| 511 | # style of the preceding text (or the default text styles if the preceding |
| 512 | # text is another link) unless different styles are being set in the same |
| 513 | # request. |
| 514 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 515 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 516 | # in the presentation. There may not be a slide at this index. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 517 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 518 | # presentation with this ID. A page with this ID may not exist. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 519 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 520 | # addressed by its position. |
| 521 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 522 | "underline": True or False, # Whether or not the text is underlined. |
| 523 | "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 |
| 524 | # transparent, depending on if the `opaque_color` field in it is set. |
| 525 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 526 | # a transparent color. |
| 527 | "themeColor": "A String", # An opaque theme color. |
| 528 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 529 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 530 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 531 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 532 | }, |
| 533 | }, |
| 534 | }, |
| 535 | }, |
| 536 | "type": "A String", # The type of this auto text. |
| 537 | }, |
| 538 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 539 | # units. |
| 540 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 541 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 542 | # |
| 543 | # The `start_index` and `end_index` of this TextElement represent the |
| 544 | # range of the paragraph. Other TextElements with an index range contained |
| 545 | # inside this paragraph's range are considered to be part of this |
| 546 | # paragraph. The range of indices of two separate paragraphs will never |
| 547 | # overlap. |
| 548 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 549 | # |
| 550 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 551 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 552 | # nesting level of lists: |
| 553 | # |
| 554 | # * A paragraph not in a list will inherit its paragraph style from the |
| 555 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 556 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 557 | # at its corresponding nesting level of the list inside the parent |
| 558 | # placeholder. |
| 559 | # |
| 560 | # Inherited paragraph styles are represented as unset fields in this message. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 561 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 562 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 563 | # LEFT_TO_RIGHT |
| 564 | # since text direction is not inherited. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 565 | "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^] | 566 | # inherited from the parent. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 567 | "magnitude": 3.14, # The magnitude. |
| 568 | "unit": "A String", # The units for magnitude. |
| 569 | }, |
| 570 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 571 | # 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] | 572 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 573 | # 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^] | 574 | # value is inherited from the parent. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 575 | "magnitude": 3.14, # The magnitude. |
| 576 | "unit": "A String", # The units for magnitude. |
| 577 | }, |
| 578 | "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^] | 579 | # inherited from the parent. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 580 | "magnitude": 3.14, # The magnitude. |
| 581 | "unit": "A String", # The units for magnitude. |
| 582 | }, |
| 583 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 584 | # 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^] | 585 | # value is inherited from the parent. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 586 | "magnitude": 3.14, # The magnitude. |
| 587 | "unit": "A String", # The units for magnitude. |
| 588 | }, |
| 589 | "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^] | 590 | # If unset, the value is inherited from the parent. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 591 | "magnitude": 3.14, # The magnitude. |
| 592 | "unit": "A String", # The units for magnitude. |
| 593 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 594 | "alignment": "A String", # The text alignment for this paragraph. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 595 | }, |
| 596 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 597 | # belong to a list. |
| 598 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 599 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 600 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 601 | # |
| 602 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 603 | # inherited from the parent. Which text styles are inherited depend on the |
| 604 | # nesting level of lists: |
| 605 | # |
| 606 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 607 | # from the the newline character in the paragraph at the 0 nesting level of |
| 608 | # the list inside the parent placeholder. |
| 609 | # * A text run in a paragraph that is in a list will inherit its text style |
| 610 | # from the newline character in the paragraph at its corresponding nesting |
| 611 | # level of the list inside the parent placeholder. |
| 612 | # |
| 613 | # Inherited text styles are represented as unset fields in this message. If |
| 614 | # text is contained in a shape without a parent placeholder, unsetting these |
| 615 | # fields will revert the style to a value matching the defaults in the Slides |
| 616 | # editor. |
| 617 | "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 |
| 618 | # transparent, depending on if the `opaque_color` field in it is set. |
| 619 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 620 | # a transparent color. |
| 621 | "themeColor": "A String", # An opaque theme color. |
| 622 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 623 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 624 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 625 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 626 | }, |
| 627 | }, |
| 628 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 629 | "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] | 630 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 631 | # |
| 632 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 633 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 634 | # The `font_size` itself is not affected by changes in this field. |
| 635 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 636 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 637 | "fontFamily": "A String", # The font family of the text. |
| 638 | # |
| 639 | # The font family can be any font from the Font menu in Slides or from |
| 640 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 641 | # unrecognized, the text is rendered in `Arial`. |
| 642 | # |
| 643 | # Some fonts can affect the weight of the text. If an update request |
| 644 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 645 | # `bold` value is used. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 646 | "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 |
| 647 | # points. |
| 648 | "magnitude": 3.14, # The magnitude. |
| 649 | "unit": "A String", # The units for magnitude. |
| 650 | }, |
| 651 | "italic": True or False, # Whether or not the text is italicized. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 652 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 653 | # are not inherited from parent text. |
| 654 | # |
| 655 | # Changing the link in an update request causes some other changes to the |
| 656 | # text style of the range: |
| 657 | # |
| 658 | # * When setting a link, the text foreground color will be set to |
| 659 | # ThemeColorType.HYPERLINK and the text will |
| 660 | # be underlined. If these fields are modified in the same |
| 661 | # request, those values will be used instead of the link defaults. |
| 662 | # * Setting a link on a text range that overlaps with an existing link will |
| 663 | # also update the existing link to point to the new URL. |
| 664 | # * Links are not settable on newline characters. As a result, setting a link |
| 665 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 666 | # will separate the newline character(s) into their own text runs. The |
| 667 | # link will be applied separately to the runs before and after the newline. |
| 668 | # * Removing a link will update the text style of the range to match the |
| 669 | # style of the preceding text (or the default text styles if the preceding |
| 670 | # text is another link) unless different styles are being set in the same |
| 671 | # request. |
| 672 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 673 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 674 | # in the presentation. There may not be a slide at this index. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 675 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 676 | # presentation with this ID. A page with this ID may not exist. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 677 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 678 | # addressed by its position. |
| 679 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 680 | "underline": True or False, # Whether or not the text is underlined. |
| 681 | "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 |
| 682 | # transparent, depending on if the `opaque_color` field in it is set. |
| 683 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 684 | # a transparent color. |
| 685 | "themeColor": "A String", # An opaque theme color. |
| 686 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 687 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 688 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 689 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 690 | }, |
| 691 | }, |
| 692 | }, |
| 693 | }, |
| 694 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 695 | }, |
| 696 | }, |
| 697 | "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 |
| 698 | # in the run have the same TextStyle. |
| 699 | # |
| 700 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 701 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 702 | # In other words, a TextRun will never span multiple paragraphs. |
| 703 | # styling. |
| 704 | "content": "A String", # The text of this run. |
| 705 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 706 | # |
| 707 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 708 | # inherited from the parent. Which text styles are inherited depend on the |
| 709 | # nesting level of lists: |
| 710 | # |
| 711 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 712 | # from the the newline character in the paragraph at the 0 nesting level of |
| 713 | # the list inside the parent placeholder. |
| 714 | # * A text run in a paragraph that is in a list will inherit its text style |
| 715 | # from the newline character in the paragraph at its corresponding nesting |
| 716 | # level of the list inside the parent placeholder. |
| 717 | # |
| 718 | # Inherited text styles are represented as unset fields in this message. If |
| 719 | # text is contained in a shape without a parent placeholder, unsetting these |
| 720 | # fields will revert the style to a value matching the defaults in the Slides |
| 721 | # editor. |
| 722 | "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 |
| 723 | # transparent, depending on if the `opaque_color` field in it is set. |
| 724 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 725 | # a transparent color. |
| 726 | "themeColor": "A String", # An opaque theme color. |
| 727 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 728 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 729 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 730 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 731 | }, |
| 732 | }, |
| 733 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 734 | "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] | 735 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 736 | # |
| 737 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 738 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 739 | # The `font_size` itself is not affected by changes in this field. |
| 740 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 741 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 742 | "fontFamily": "A String", # The font family of the text. |
| 743 | # |
| 744 | # The font family can be any font from the Font menu in Slides or from |
| 745 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 746 | # unrecognized, the text is rendered in `Arial`. |
| 747 | # |
| 748 | # Some fonts can affect the weight of the text. If an update request |
| 749 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 750 | # `bold` value is used. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 751 | "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 |
| 752 | # points. |
| 753 | "magnitude": 3.14, # The magnitude. |
| 754 | "unit": "A String", # The units for magnitude. |
| 755 | }, |
| 756 | "italic": True or False, # Whether or not the text is italicized. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 757 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 758 | # are not inherited from parent text. |
| 759 | # |
| 760 | # Changing the link in an update request causes some other changes to the |
| 761 | # text style of the range: |
| 762 | # |
| 763 | # * When setting a link, the text foreground color will be set to |
| 764 | # ThemeColorType.HYPERLINK and the text will |
| 765 | # be underlined. If these fields are modified in the same |
| 766 | # request, those values will be used instead of the link defaults. |
| 767 | # * Setting a link on a text range that overlaps with an existing link will |
| 768 | # also update the existing link to point to the new URL. |
| 769 | # * Links are not settable on newline characters. As a result, setting a link |
| 770 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 771 | # will separate the newline character(s) into their own text runs. The |
| 772 | # link will be applied separately to the runs before and after the newline. |
| 773 | # * Removing a link will update the text style of the range to match the |
| 774 | # style of the preceding text (or the default text styles if the preceding |
| 775 | # text is another link) unless different styles are being set in the same |
| 776 | # request. |
| 777 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 778 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 779 | # in the presentation. There may not be a slide at this index. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 780 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 781 | # presentation with this ID. A page with this ID may not exist. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 782 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 783 | # addressed by its position. |
| 784 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 785 | "underline": True or False, # Whether or not the text is underlined. |
| 786 | "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 |
| 787 | # transparent, depending on if the `opaque_color` field in it is set. |
| 788 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 789 | # a transparent color. |
| 790 | "themeColor": "A String", # An opaque theme color. |
| 791 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 792 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 793 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 794 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 795 | }, |
| 796 | }, |
| 797 | }, |
| 798 | }, |
| 799 | }, |
| 800 | }, |
| 801 | ], |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 802 | }, |
| 803 | "shapeProperties": { # The properties of a Shape. # The properties of the shape. |
| 804 | # |
| 805 | # If the shape is a placeholder shape as determined by the |
| 806 | # placeholder field, then these |
| 807 | # properties may be inherited from a parent placeholder shape. |
| 808 | # Determining the rendered value of the property depends on the corresponding |
| 809 | # property_state field value. |
| 810 | "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from |
| 811 | # a parent placeholder if it exists. If the shape has no parent, then the |
| 812 | # default shadow matches the defaults for new shapes created in the Slides |
| 813 | # editor. This property is read-only. |
| 814 | # |
| 815 | # If these fields are unset, they may be inherited from a parent placeholder |
| 816 | # if it exists. If there is no parent, the fields will default to the value |
| 817 | # used for new page elements created in the Slides editor, which may depend on |
| 818 | # the page element kind. |
| 819 | "color": { # A themeable solid color value. # The shadow color value. |
| 820 | "themeColor": "A String", # An opaque theme color. |
| 821 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 822 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 823 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 824 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 825 | }, |
| 826 | }, |
| 827 | "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, |
| 828 | # relative to the alignment position. |
| 829 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 830 | # according to: |
| 831 | # |
| 832 | # x' x = shear_y scale_y translate_y |
| 833 | # 1 [ 1 ] |
| 834 | # |
| 835 | # After transformation, |
| 836 | # |
| 837 | # x' = scale_x * x + shear_x * y + translate_x; |
| 838 | # y' = scale_y * y + shear_y * x + translate_y; |
| 839 | # |
| 840 | # This message is therefore composed of these six matrix elements. |
| 841 | "translateX": 3.14, # The X coordinate translation element. |
| 842 | "translateY": 3.14, # The Y coordinate translation element. |
| 843 | "scaleX": 3.14, # The X coordinate scaling element. |
| 844 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 845 | "shearY": 3.14, # The Y coordinate shearing element. |
| 846 | "shearX": 3.14, # The X coordinate shearing element. |
| 847 | "unit": "A String", # The units for translate elements. |
| 848 | }, |
| 849 | "propertyState": "A String", # The shadow property state. |
| 850 | # |
| 851 | # Updating the the shadow on a page element will implicitly update this field |
| 852 | # to `RENDERED`, unless another value is specified in the same request. To |
| 853 | # have no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| 854 | # case, any other shadow fields set in the same request will be ignored. |
| 855 | "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 |
| 856 | # shadow becomes. |
| 857 | "magnitude": 3.14, # The magnitude. |
| 858 | "unit": "A String", # The units for magnitude. |
| 859 | }, |
| 860 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| 861 | "type": "A String", # The type of the shadow. |
| 862 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| 863 | # scale and skew of the shadow. |
| 864 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. |
| 865 | }, |
| 866 | "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is |
| 867 | # inherited from a parent placeholder if it exists. If the shape has no |
| 868 | # parent, then the default background fill depends on the shape type, |
| 869 | # matching the defaults for new shapes created in the Slides editor. |
| 870 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 871 | # specified color value. |
| 872 | # |
| 873 | # If any field is unset, its value may be inherited from a parent placeholder |
| 874 | # if it exists. |
| 875 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 876 | "themeColor": "A String", # An opaque theme color. |
| 877 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 878 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 879 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 880 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 881 | }, |
| 882 | }, |
| 883 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 884 | # That is, the final pixel color is defined by the equation: |
| 885 | # |
| 886 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 887 | # |
| 888 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 889 | # a value of 0.0 corresponds to a completely transparent color. |
| 890 | }, |
| 891 | "propertyState": "A String", # The background fill property state. |
| 892 | # |
| 893 | # Updating the the fill on a shape will implicitly update this field to |
| 894 | # `RENDERED`, unless another value is specified in the same request. To |
| 895 | # have no fill on a shape, set this field to `NOT_RENDERED`. In this case, |
| 896 | # any other fill fields set in the same request will be ignored. |
| 897 | }, |
| 898 | "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links |
| 899 | # are not inherited from parent placeholders. |
| 900 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 901 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 902 | # in the presentation. There may not be a slide at this index. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 903 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 904 | # presentation with this ID. A page with this ID may not exist. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 905 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 906 | # addressed by its position. |
| 907 | }, |
| 908 | "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a |
| 909 | # parent placeholder if it exists. If the shape has no parent, then the |
| 910 | # default outline depends on the shape type, matching the defaults for |
| 911 | # new shapes created in the Slides editor. |
| 912 | # |
| 913 | # If these fields are unset, they may be inherited from a parent placeholder |
| 914 | # if it exists. If there is no parent, the fields will default to the value |
| 915 | # used for new page elements created in the Slides editor, which may depend on |
| 916 | # the page element kind. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 917 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 918 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 919 | # specified color value. |
| 920 | # |
| 921 | # If any field is unset, its value may be inherited from a parent placeholder |
| 922 | # if it exists. |
| 923 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 924 | "themeColor": "A String", # An opaque theme color. |
| 925 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 926 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 927 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 928 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 929 | }, |
| 930 | }, |
| 931 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 932 | # That is, the final pixel color is defined by the equation: |
| 933 | # |
| 934 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 935 | # |
| 936 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 937 | # a value of 0.0 corresponds to a completely transparent color. |
| 938 | }, |
| 939 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 940 | "propertyState": "A String", # The outline property state. |
| 941 | # |
| 942 | # Updating the the outline on a page element will implicitly update this |
| 943 | # field to`RENDERED`, unless another value is specified in the same request. |
| 944 | # To have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 945 | # this case, any other outline fields set in the same request will be |
| 946 | # ignored. |
| 947 | "dashStyle": "A String", # The dash style of the outline. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 948 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 949 | "magnitude": 3.14, # The magnitude. |
| 950 | "unit": "A String", # The units for magnitude. |
| 951 | }, |
| 952 | }, |
| 953 | }, |
| 954 | "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on |
| 955 | # layouts and masters. |
| 956 | # |
| 957 | # If set, the shape is a placeholder shape and any inherited properties |
| 958 | # can be resolved by looking at the parent placeholder identified by the |
| 959 | # Placeholder.parent_object_id field. |
| 960 | "parentObjectId": "A String", # The object ID of this shape's parent placeholder. |
| 961 | # If unset, the parent placeholder shape does not exist, so the shape does |
| 962 | # not inherit properties from any other shape. |
| 963 | "index": 42, # The index of the placeholder. If the same placeholder types are the present |
| 964 | # in the same page, they would have different index values. |
| 965 | "type": "A String", # The type of the placeholder. |
| 966 | }, |
| 967 | "shapeType": "A String", # The type of the shape. |
| 968 | }, |
| 969 | "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are |
| 970 | # represented as images. |
| 971 | # a linked chart embedded from Google Sheets. |
| 972 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 973 | # embedded. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 974 | "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30 |
| 975 | # minutes. This URL is tagged with the account of the requester. Anyone with |
| 976 | # the URL effectively accesses the image as the original requester. Access to |
| 977 | # 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] | 978 | "sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart. |
| 979 | "chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image. |
| 980 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline. |
| 981 | # |
| 982 | # If these fields are unset, they may be inherited from a parent placeholder |
| 983 | # if it exists. If there is no parent, the fields will default to the value |
| 984 | # used for new page elements created in the Slides editor, which may depend on |
| 985 | # the page element kind. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 986 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 987 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 988 | # specified color value. |
| 989 | # |
| 990 | # If any field is unset, its value may be inherited from a parent placeholder |
| 991 | # if it exists. |
| 992 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 993 | "themeColor": "A String", # An opaque theme color. |
| 994 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 995 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 996 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 997 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 998 | }, |
| 999 | }, |
| 1000 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 1001 | # That is, the final pixel color is defined by the equation: |
| 1002 | # |
| 1003 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 1004 | # |
| 1005 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 1006 | # a value of 0.0 corresponds to a completely transparent color. |
| 1007 | }, |
| 1008 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1009 | "propertyState": "A String", # The outline property state. |
| 1010 | # |
| 1011 | # Updating the the outline on a page element will implicitly update this |
| 1012 | # field to`RENDERED`, unless another value is specified in the same request. |
| 1013 | # To have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 1014 | # this case, any other outline fields set in the same request will be |
| 1015 | # ignored. |
| 1016 | "dashStyle": "A String", # The dash style of the outline. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1017 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 1018 | "magnitude": 3.14, # The magnitude. |
| 1019 | "unit": "A String", # The units for magnitude. |
| 1020 | }, |
| 1021 | }, |
| 1022 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 1023 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 1024 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 1025 | # This property is read-only. |
| 1026 | "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^] | 1027 | # stops. |
| 1028 | # |
| 1029 | # The colors in the gradient will replace the corresponding colors at |
| 1030 | # the same position in the color palette and apply to the image. This |
| 1031 | # property is read-only. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1032 | { # A color and position in a gradient band. |
| 1033 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 1034 | "themeColor": "A String", # An opaque theme color. |
| 1035 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1036 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1037 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1038 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1039 | }, |
| 1040 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1041 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 1042 | # fully opaque. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1043 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 1044 | # 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] | 1045 | }, |
| 1046 | ], |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1047 | "name": "A String", # The name of the recolor effect. |
| 1048 | # |
| 1049 | # The name is determined from the `recolor_stops` by matching the gradient |
| 1050 | # against the colors in the page's current color scheme. This property is |
| 1051 | # read-only. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1052 | }, |
| 1053 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 1054 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1055 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 1056 | # in the presentation. There may not be a slide at this index. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1057 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 1058 | # presentation with this ID. A page with this ID may not exist. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1059 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 1060 | # addressed by its position. |
| 1061 | }, |
| 1062 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 1063 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 1064 | # This property is read-only. |
| 1065 | "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. |
| 1066 | # This property is read-only. |
| 1067 | # Image. |
| 1068 | # |
| 1069 | # The crop properties is represented by the offsets of four edges which define |
| 1070 | # a crop rectangle. The offsets are measured in percentage from the |
| 1071 | # corresponding edges of the object's original bounding rectangle towards |
| 1072 | # inside, relative to the object's original dimensions. |
| 1073 | # |
| 1074 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 1075 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 1076 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 1077 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 1078 | # - If the left edge of the crop rectangle is on the right side of its right |
| 1079 | # edge, the object will be flipped horizontally. |
| 1080 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 1081 | # will be flipped vertically. |
| 1082 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 1083 | # |
| 1084 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 1085 | # its container. |
| 1086 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 1087 | # the right of the original bounding rectangle left edge, relative to the |
| 1088 | # object's original width. |
| 1089 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 1090 | # Rotation angle is applied after the offset. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1091 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 1092 | # to the left of the original bounding rectangle right edge, relative to the |
| 1093 | # object's original width. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1094 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 1095 | # above the original bounding rectangle bottom edge, relative to the object's |
| 1096 | # original height. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1097 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 1098 | # below the original bounding rectangle top edge, relative to the object's |
| 1099 | # original height. |
| 1100 | }, |
| 1101 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 1102 | # is read-only. |
| 1103 | # |
| 1104 | # If these fields are unset, they may be inherited from a parent placeholder |
| 1105 | # if it exists. If there is no parent, the fields will default to the value |
| 1106 | # used for new page elements created in the Slides editor, which may depend on |
| 1107 | # the page element kind. |
| 1108 | "color": { # A themeable solid color value. # The shadow color value. |
| 1109 | "themeColor": "A String", # An opaque theme color. |
| 1110 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1111 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1112 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1113 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1114 | }, |
| 1115 | }, |
| 1116 | "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, |
| 1117 | # relative to the alignment position. |
| 1118 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 1119 | # according to: |
| 1120 | # |
| 1121 | # x' x = shear_y scale_y translate_y |
| 1122 | # 1 [ 1 ] |
| 1123 | # |
| 1124 | # After transformation, |
| 1125 | # |
| 1126 | # x' = scale_x * x + shear_x * y + translate_x; |
| 1127 | # y' = scale_y * y + shear_y * x + translate_y; |
| 1128 | # |
| 1129 | # This message is therefore composed of these six matrix elements. |
| 1130 | "translateX": 3.14, # The X coordinate translation element. |
| 1131 | "translateY": 3.14, # The Y coordinate translation element. |
| 1132 | "scaleX": 3.14, # The X coordinate scaling element. |
| 1133 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 1134 | "shearY": 3.14, # The Y coordinate shearing element. |
| 1135 | "shearX": 3.14, # The X coordinate shearing element. |
| 1136 | "unit": "A String", # The units for translate elements. |
| 1137 | }, |
| 1138 | "propertyState": "A String", # The shadow property state. |
| 1139 | # |
| 1140 | # Updating the the shadow on a page element will implicitly update this field |
| 1141 | # to `RENDERED`, unless another value is specified in the same request. To |
| 1142 | # have no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| 1143 | # case, any other shadow fields set in the same request will be ignored. |
| 1144 | "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 |
| 1145 | # shadow becomes. |
| 1146 | "magnitude": 3.14, # The magnitude. |
| 1147 | "unit": "A String", # The units for magnitude. |
| 1148 | }, |
| 1149 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| 1150 | "type": "A String", # The type of the shadow. |
| 1151 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| 1152 | # scale and skew of the shadow. |
| 1153 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. |
| 1154 | }, |
| 1155 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 1156 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 1157 | }, |
| 1158 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1159 | "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] | 1160 | }, |
| 1161 | "video": { # A PageElement kind representing a # A video page element. |
| 1162 | # video. |
| 1163 | "url": "A String", # An URL to a video. The URL is valid as long as the source video |
| 1164 | # exists and sharing settings do not change. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1165 | "source": "A String", # The video source. |
| 1166 | "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] | 1167 | "videoProperties": { # The properties of the Video. # The properties of the video. |
| 1168 | "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new |
| 1169 | # videos created in the Slides editor. |
| 1170 | # |
| 1171 | # If these fields are unset, they may be inherited from a parent placeholder |
| 1172 | # if it exists. If there is no parent, the fields will default to the value |
| 1173 | # used for new page elements created in the Slides editor, which may depend on |
| 1174 | # the page element kind. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1175 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 1176 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 1177 | # specified color value. |
| 1178 | # |
| 1179 | # If any field is unset, its value may be inherited from a parent placeholder |
| 1180 | # if it exists. |
| 1181 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 1182 | "themeColor": "A String", # An opaque theme color. |
| 1183 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1184 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1185 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1186 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1187 | }, |
| 1188 | }, |
| 1189 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 1190 | # That is, the final pixel color is defined by the equation: |
| 1191 | # |
| 1192 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 1193 | # |
| 1194 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 1195 | # a value of 0.0 corresponds to a completely transparent color. |
| 1196 | }, |
| 1197 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1198 | "propertyState": "A String", # The outline property state. |
| 1199 | # |
| 1200 | # Updating the the outline on a page element will implicitly update this |
| 1201 | # field to`RENDERED`, unless another value is specified in the same request. |
| 1202 | # To have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 1203 | # this case, any other outline fields set in the same request will be |
| 1204 | # ignored. |
| 1205 | "dashStyle": "A String", # The dash style of the outline. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1206 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 1207 | "magnitude": 3.14, # The magnitude. |
| 1208 | "unit": "A String", # The units for magnitude. |
| 1209 | }, |
| 1210 | }, |
| 1211 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1212 | }, |
| 1213 | "table": { # A PageElement kind representing a # A table page element. |
| 1214 | # table. |
| 1215 | "tableColumns": [ # Properties of each column. |
| 1216 | { # Properties of each column in a table. |
| 1217 | "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column. |
| 1218 | "magnitude": 3.14, # The magnitude. |
| 1219 | "unit": "A String", # The units for magnitude. |
| 1220 | }, |
| 1221 | }, |
| 1222 | ], |
| 1223 | "tableRows": [ # Properties and contents of each row. |
| 1224 | # |
| 1225 | # Cells that span multiple rows are contained in only one of these rows and |
| 1226 | # have a row_span greater |
| 1227 | # than 1. |
| 1228 | { # Properties and contents of each row in a table. |
| 1229 | "tableCells": [ # Properties and contents of each cell. |
| 1230 | # |
| 1231 | # Cells that span multiple columns are represented only once with a |
| 1232 | # column_span greater |
| 1233 | # than 1. As a result, the length of this collection does not always match |
| 1234 | # the number of columns of the entire table. |
| 1235 | { # Properties and contents of each table cell. |
| 1236 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell. |
| 1237 | # text box or rectangle) or a table cell in a page. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1238 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 1239 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 1240 | # associated with a list. A paragraph that is part of a list has an implicit |
| 1241 | # reference to that list's ID. |
| 1242 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 1243 | # level. A list has at most nine levels of nesting, so the possible values |
| 1244 | # for the keys of this map are 0 through 8, inclusive. |
| 1245 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 1246 | # level of nesting. |
| 1247 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 1248 | # |
| 1249 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 1250 | # inherited from the parent. Which text styles are inherited depend on the |
| 1251 | # nesting level of lists: |
| 1252 | # |
| 1253 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 1254 | # from the the newline character in the paragraph at the 0 nesting level of |
| 1255 | # the list inside the parent placeholder. |
| 1256 | # * A text run in a paragraph that is in a list will inherit its text style |
| 1257 | # from the newline character in the paragraph at its corresponding nesting |
| 1258 | # level of the list inside the parent placeholder. |
| 1259 | # |
| 1260 | # Inherited text styles are represented as unset fields in this message. If |
| 1261 | # text is contained in a shape without a parent placeholder, unsetting these |
| 1262 | # fields will revert the style to a value matching the defaults in the Slides |
| 1263 | # editor. |
| 1264 | "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 |
| 1265 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1266 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1267 | # a transparent color. |
| 1268 | "themeColor": "A String", # An opaque theme color. |
| 1269 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1270 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1271 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1272 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1273 | }, |
| 1274 | }, |
| 1275 | }, |
| 1276 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 1277 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 1278 | # |
| 1279 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 1280 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 1281 | # The `font_size` itself is not affected by changes in this field. |
| 1282 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 1283 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 1284 | "fontFamily": "A String", # The font family of the text. |
| 1285 | # |
| 1286 | # The font family can be any font from the Font menu in Slides or from |
| 1287 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1288 | # unrecognized, the text is rendered in `Arial`. |
| 1289 | # |
| 1290 | # Some fonts can affect the weight of the text. If an update request |
| 1291 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 1292 | # `bold` value is used. |
| 1293 | "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 |
| 1294 | # points. |
| 1295 | "magnitude": 3.14, # The magnitude. |
| 1296 | "unit": "A String", # The units for magnitude. |
| 1297 | }, |
| 1298 | "italic": True or False, # Whether or not the text is italicized. |
| 1299 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 1300 | # are not inherited from parent text. |
| 1301 | # |
| 1302 | # Changing the link in an update request causes some other changes to the |
| 1303 | # text style of the range: |
| 1304 | # |
| 1305 | # * When setting a link, the text foreground color will be set to |
| 1306 | # ThemeColorType.HYPERLINK and the text will |
| 1307 | # be underlined. If these fields are modified in the same |
| 1308 | # request, those values will be used instead of the link defaults. |
| 1309 | # * Setting a link on a text range that overlaps with an existing link will |
| 1310 | # also update the existing link to point to the new URL. |
| 1311 | # * Links are not settable on newline characters. As a result, setting a link |
| 1312 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 1313 | # will separate the newline character(s) into their own text runs. The |
| 1314 | # link will be applied separately to the runs before and after the newline. |
| 1315 | # * Removing a link will update the text style of the range to match the |
| 1316 | # style of the preceding text (or the default text styles if the preceding |
| 1317 | # text is another link) unless different styles are being set in the same |
| 1318 | # request. |
| 1319 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 1320 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 1321 | # in the presentation. There may not be a slide at this index. |
| 1322 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 1323 | # presentation with this ID. A page with this ID may not exist. |
| 1324 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 1325 | # addressed by its position. |
| 1326 | }, |
| 1327 | "underline": True or False, # Whether or not the text is underlined. |
| 1328 | "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 |
| 1329 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1330 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1331 | # a transparent color. |
| 1332 | "themeColor": "A String", # An opaque theme color. |
| 1333 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1334 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1335 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1336 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1337 | }, |
| 1338 | }, |
| 1339 | }, |
| 1340 | }, |
| 1341 | }, |
| 1342 | }, |
| 1343 | "listId": "A String", # The ID of the list. |
| 1344 | }, |
| 1345 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1346 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 1347 | # information. This property is read-only. |
| 1348 | { # A TextElement describes the content of a range of indices in the text content |
| 1349 | # of a Shape or TableCell. |
| 1350 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 1351 | # replaced with content that can change over time. |
| 1352 | "content": "A String", # The rendered content of this auto text, if available. |
| 1353 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 1354 | # |
| 1355 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 1356 | # inherited from the parent. Which text styles are inherited depend on the |
| 1357 | # nesting level of lists: |
| 1358 | # |
| 1359 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 1360 | # from the the newline character in the paragraph at the 0 nesting level of |
| 1361 | # the list inside the parent placeholder. |
| 1362 | # * A text run in a paragraph that is in a list will inherit its text style |
| 1363 | # from the newline character in the paragraph at its corresponding nesting |
| 1364 | # level of the list inside the parent placeholder. |
| 1365 | # |
| 1366 | # Inherited text styles are represented as unset fields in this message. If |
| 1367 | # text is contained in a shape without a parent placeholder, unsetting these |
| 1368 | # fields will revert the style to a value matching the defaults in the Slides |
| 1369 | # editor. |
| 1370 | "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 |
| 1371 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1372 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1373 | # a transparent color. |
| 1374 | "themeColor": "A String", # An opaque theme color. |
| 1375 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1376 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1377 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1378 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1379 | }, |
| 1380 | }, |
| 1381 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1382 | "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] | 1383 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 1384 | # |
| 1385 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 1386 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 1387 | # The `font_size` itself is not affected by changes in this field. |
| 1388 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 1389 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 1390 | "fontFamily": "A String", # The font family of the text. |
| 1391 | # |
| 1392 | # The font family can be any font from the Font menu in Slides or from |
| 1393 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1394 | # unrecognized, the text is rendered in `Arial`. |
| 1395 | # |
| 1396 | # Some fonts can affect the weight of the text. If an update request |
| 1397 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 1398 | # `bold` value is used. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1399 | "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 |
| 1400 | # points. |
| 1401 | "magnitude": 3.14, # The magnitude. |
| 1402 | "unit": "A String", # The units for magnitude. |
| 1403 | }, |
| 1404 | "italic": True or False, # Whether or not the text is italicized. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1405 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 1406 | # are not inherited from parent text. |
| 1407 | # |
| 1408 | # Changing the link in an update request causes some other changes to the |
| 1409 | # text style of the range: |
| 1410 | # |
| 1411 | # * When setting a link, the text foreground color will be set to |
| 1412 | # ThemeColorType.HYPERLINK and the text will |
| 1413 | # be underlined. If these fields are modified in the same |
| 1414 | # request, those values will be used instead of the link defaults. |
| 1415 | # * Setting a link on a text range that overlaps with an existing link will |
| 1416 | # also update the existing link to point to the new URL. |
| 1417 | # * Links are not settable on newline characters. As a result, setting a link |
| 1418 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 1419 | # will separate the newline character(s) into their own text runs. The |
| 1420 | # link will be applied separately to the runs before and after the newline. |
| 1421 | # * Removing a link will update the text style of the range to match the |
| 1422 | # style of the preceding text (or the default text styles if the preceding |
| 1423 | # text is another link) unless different styles are being set in the same |
| 1424 | # request. |
| 1425 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1426 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 1427 | # in the presentation. There may not be a slide at this index. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1428 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 1429 | # presentation with this ID. A page with this ID may not exist. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1430 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 1431 | # addressed by its position. |
| 1432 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1433 | "underline": True or False, # Whether or not the text is underlined. |
| 1434 | "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 |
| 1435 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1436 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1437 | # a transparent color. |
| 1438 | "themeColor": "A String", # An opaque theme color. |
| 1439 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1440 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1441 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1442 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1443 | }, |
| 1444 | }, |
| 1445 | }, |
| 1446 | }, |
| 1447 | "type": "A String", # The type of this auto text. |
| 1448 | }, |
| 1449 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 1450 | # units. |
| 1451 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 1452 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 1453 | # |
| 1454 | # The `start_index` and `end_index` of this TextElement represent the |
| 1455 | # range of the paragraph. Other TextElements with an index range contained |
| 1456 | # inside this paragraph's range are considered to be part of this |
| 1457 | # paragraph. The range of indices of two separate paragraphs will never |
| 1458 | # overlap. |
| 1459 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 1460 | # |
| 1461 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 1462 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 1463 | # nesting level of lists: |
| 1464 | # |
| 1465 | # * A paragraph not in a list will inherit its paragraph style from the |
| 1466 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 1467 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 1468 | # at its corresponding nesting level of the list inside the parent |
| 1469 | # placeholder. |
| 1470 | # |
| 1471 | # Inherited paragraph styles are represented as unset fields in this message. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1472 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 1473 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 1474 | # LEFT_TO_RIGHT |
| 1475 | # since text direction is not inherited. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1476 | "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^] | 1477 | # inherited from the parent. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1478 | "magnitude": 3.14, # The magnitude. |
| 1479 | "unit": "A String", # The units for magnitude. |
| 1480 | }, |
| 1481 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 1482 | # 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] | 1483 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 1484 | # 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^] | 1485 | # value is inherited from the parent. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1486 | "magnitude": 3.14, # The magnitude. |
| 1487 | "unit": "A String", # The units for magnitude. |
| 1488 | }, |
| 1489 | "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^] | 1490 | # inherited from the parent. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1491 | "magnitude": 3.14, # The magnitude. |
| 1492 | "unit": "A String", # The units for magnitude. |
| 1493 | }, |
| 1494 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 1495 | # 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^] | 1496 | # value is inherited from the parent. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1497 | "magnitude": 3.14, # The magnitude. |
| 1498 | "unit": "A String", # The units for magnitude. |
| 1499 | }, |
| 1500 | "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^] | 1501 | # If unset, the value is inherited from the parent. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1502 | "magnitude": 3.14, # The magnitude. |
| 1503 | "unit": "A String", # The units for magnitude. |
| 1504 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1505 | "alignment": "A String", # The text alignment for this paragraph. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1506 | }, |
| 1507 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 1508 | # belong to a list. |
| 1509 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 1510 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 1511 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 1512 | # |
| 1513 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 1514 | # inherited from the parent. Which text styles are inherited depend on the |
| 1515 | # nesting level of lists: |
| 1516 | # |
| 1517 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 1518 | # from the the newline character in the paragraph at the 0 nesting level of |
| 1519 | # the list inside the parent placeholder. |
| 1520 | # * A text run in a paragraph that is in a list will inherit its text style |
| 1521 | # from the newline character in the paragraph at its corresponding nesting |
| 1522 | # level of the list inside the parent placeholder. |
| 1523 | # |
| 1524 | # Inherited text styles are represented as unset fields in this message. If |
| 1525 | # text is contained in a shape without a parent placeholder, unsetting these |
| 1526 | # fields will revert the style to a value matching the defaults in the Slides |
| 1527 | # editor. |
| 1528 | "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 |
| 1529 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1530 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1531 | # a transparent color. |
| 1532 | "themeColor": "A String", # An opaque theme color. |
| 1533 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1534 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1535 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1536 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1537 | }, |
| 1538 | }, |
| 1539 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1540 | "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] | 1541 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 1542 | # |
| 1543 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 1544 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 1545 | # The `font_size` itself is not affected by changes in this field. |
| 1546 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 1547 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 1548 | "fontFamily": "A String", # The font family of the text. |
| 1549 | # |
| 1550 | # The font family can be any font from the Font menu in Slides or from |
| 1551 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1552 | # unrecognized, the text is rendered in `Arial`. |
| 1553 | # |
| 1554 | # Some fonts can affect the weight of the text. If an update request |
| 1555 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 1556 | # `bold` value is used. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1557 | "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 |
| 1558 | # points. |
| 1559 | "magnitude": 3.14, # The magnitude. |
| 1560 | "unit": "A String", # The units for magnitude. |
| 1561 | }, |
| 1562 | "italic": True or False, # Whether or not the text is italicized. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1563 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 1564 | # are not inherited from parent text. |
| 1565 | # |
| 1566 | # Changing the link in an update request causes some other changes to the |
| 1567 | # text style of the range: |
| 1568 | # |
| 1569 | # * When setting a link, the text foreground color will be set to |
| 1570 | # ThemeColorType.HYPERLINK and the text will |
| 1571 | # be underlined. If these fields are modified in the same |
| 1572 | # request, those values will be used instead of the link defaults. |
| 1573 | # * Setting a link on a text range that overlaps with an existing link will |
| 1574 | # also update the existing link to point to the new URL. |
| 1575 | # * Links are not settable on newline characters. As a result, setting a link |
| 1576 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 1577 | # will separate the newline character(s) into their own text runs. The |
| 1578 | # link will be applied separately to the runs before and after the newline. |
| 1579 | # * Removing a link will update the text style of the range to match the |
| 1580 | # style of the preceding text (or the default text styles if the preceding |
| 1581 | # text is another link) unless different styles are being set in the same |
| 1582 | # request. |
| 1583 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1584 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 1585 | # in the presentation. There may not be a slide at this index. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1586 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 1587 | # presentation with this ID. A page with this ID may not exist. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1588 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 1589 | # addressed by its position. |
| 1590 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1591 | "underline": True or False, # Whether or not the text is underlined. |
| 1592 | "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 |
| 1593 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1594 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1595 | # a transparent color. |
| 1596 | "themeColor": "A String", # An opaque theme color. |
| 1597 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1598 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1599 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1600 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1601 | }, |
| 1602 | }, |
| 1603 | }, |
| 1604 | }, |
| 1605 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 1606 | }, |
| 1607 | }, |
| 1608 | "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 |
| 1609 | # in the run have the same TextStyle. |
| 1610 | # |
| 1611 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 1612 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 1613 | # In other words, a TextRun will never span multiple paragraphs. |
| 1614 | # styling. |
| 1615 | "content": "A String", # The text of this run. |
| 1616 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 1617 | # |
| 1618 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 1619 | # inherited from the parent. Which text styles are inherited depend on the |
| 1620 | # nesting level of lists: |
| 1621 | # |
| 1622 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 1623 | # from the the newline character in the paragraph at the 0 nesting level of |
| 1624 | # the list inside the parent placeholder. |
| 1625 | # * A text run in a paragraph that is in a list will inherit its text style |
| 1626 | # from the newline character in the paragraph at its corresponding nesting |
| 1627 | # level of the list inside the parent placeholder. |
| 1628 | # |
| 1629 | # Inherited text styles are represented as unset fields in this message. If |
| 1630 | # text is contained in a shape without a parent placeholder, unsetting these |
| 1631 | # fields will revert the style to a value matching the defaults in the Slides |
| 1632 | # editor. |
| 1633 | "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 |
| 1634 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1635 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1636 | # a transparent color. |
| 1637 | "themeColor": "A String", # An opaque theme color. |
| 1638 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1639 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1640 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1641 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1642 | }, |
| 1643 | }, |
| 1644 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1645 | "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] | 1646 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 1647 | # |
| 1648 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 1649 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 1650 | # The `font_size` itself is not affected by changes in this field. |
| 1651 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 1652 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 1653 | "fontFamily": "A String", # The font family of the text. |
| 1654 | # |
| 1655 | # The font family can be any font from the Font menu in Slides or from |
| 1656 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1657 | # unrecognized, the text is rendered in `Arial`. |
| 1658 | # |
| 1659 | # Some fonts can affect the weight of the text. If an update request |
| 1660 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 1661 | # `bold` value is used. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1662 | "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 |
| 1663 | # points. |
| 1664 | "magnitude": 3.14, # The magnitude. |
| 1665 | "unit": "A String", # The units for magnitude. |
| 1666 | }, |
| 1667 | "italic": True or False, # Whether or not the text is italicized. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1668 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 1669 | # are not inherited from parent text. |
| 1670 | # |
| 1671 | # Changing the link in an update request causes some other changes to the |
| 1672 | # text style of the range: |
| 1673 | # |
| 1674 | # * When setting a link, the text foreground color will be set to |
| 1675 | # ThemeColorType.HYPERLINK and the text will |
| 1676 | # be underlined. If these fields are modified in the same |
| 1677 | # request, those values will be used instead of the link defaults. |
| 1678 | # * Setting a link on a text range that overlaps with an existing link will |
| 1679 | # also update the existing link to point to the new URL. |
| 1680 | # * Links are not settable on newline characters. As a result, setting a link |
| 1681 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 1682 | # will separate the newline character(s) into their own text runs. The |
| 1683 | # link will be applied separately to the runs before and after the newline. |
| 1684 | # * Removing a link will update the text style of the range to match the |
| 1685 | # style of the preceding text (or the default text styles if the preceding |
| 1686 | # text is another link) unless different styles are being set in the same |
| 1687 | # request. |
| 1688 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1689 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 1690 | # in the presentation. There may not be a slide at this index. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1691 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 1692 | # presentation with this ID. A page with this ID may not exist. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1693 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 1694 | # addressed by its position. |
| 1695 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1696 | "underline": True or False, # Whether or not the text is underlined. |
| 1697 | "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 |
| 1698 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1699 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1700 | # a transparent color. |
| 1701 | "themeColor": "A String", # An opaque theme color. |
| 1702 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1703 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1704 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1705 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1706 | }, |
| 1707 | }, |
| 1708 | }, |
| 1709 | }, |
| 1710 | }, |
| 1711 | }, |
| 1712 | ], |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1713 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1714 | "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell. |
| 1715 | "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill |
| 1716 | # for newly created table cells in the Slides editor. |
| 1717 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 1718 | # specified color value. |
| 1719 | # |
| 1720 | # If any field is unset, its value may be inherited from a parent placeholder |
| 1721 | # if it exists. |
| 1722 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 1723 | "themeColor": "A String", # An opaque theme color. |
| 1724 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1725 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1726 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1727 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1728 | }, |
| 1729 | }, |
| 1730 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 1731 | # That is, the final pixel color is defined by the equation: |
| 1732 | # |
| 1733 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 1734 | # |
| 1735 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 1736 | # a value of 0.0 corresponds to a completely transparent color. |
| 1737 | }, |
| 1738 | "propertyState": "A String", # The background fill property state. |
| 1739 | # |
| 1740 | # Updating the the fill on a table cell will implicitly update this field |
| 1741 | # to `RENDERED`, unless another value is specified in the same request. To |
| 1742 | # have no fill on a table cell, set this field to `NOT_RENDERED`. In this |
| 1743 | # case, any other fill fields set in the same request will be ignored. |
| 1744 | }, |
| 1745 | }, |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1746 | "rowSpan": 42, # Row span of the cell. |
| 1747 | "columnSpan": 42, # Column span of the cell. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1748 | "location": { # A location of a single table cell within a table. # The location of the cell within the table. |
| 1749 | "rowIndex": 42, # The 0-based row index. |
| 1750 | "columnIndex": 42, # The 0-based column index. |
| 1751 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1752 | }, |
| 1753 | ], |
| 1754 | "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row. |
| 1755 | "magnitude": 3.14, # The magnitude. |
| 1756 | "unit": "A String", # The units for magnitude. |
| 1757 | }, |
| 1758 | }, |
| 1759 | ], |
| 1760 | "rows": 42, # Number of rows in the table. |
| 1761 | "columns": 42, # Number of columns in the table. |
| 1762 | }, |
| 1763 | "line": { # A PageElement kind representing a # A line page element. |
| 1764 | # line, curved connector, or bent connector. |
| 1765 | "lineProperties": { # The properties of the Line. # The properties of the line. |
| 1766 | # |
| 1767 | # When unset, these fields default to values that match the appearance of |
| 1768 | # new lines created in the Slides editor. |
| 1769 | "dashStyle": "A String", # The dash style of the line. |
| 1770 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line. |
| 1771 | "magnitude": 3.14, # The magnitude. |
| 1772 | "unit": "A String", # The units for magnitude. |
| 1773 | }, |
| 1774 | "endArrow": "A String", # The style of the arrow at the end of the line. |
| 1775 | "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link. |
| 1776 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1777 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 1778 | # in the presentation. There may not be a slide at this index. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1779 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 1780 | # presentation with this ID. A page with this ID may not exist. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1781 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 1782 | # addressed by its position. |
| 1783 | }, |
| 1784 | "startArrow": "A String", # The style of the arrow at the beginning of the line. |
| 1785 | "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new |
| 1786 | # lines created in the Slides editor. |
| 1787 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 1788 | # specified color value. |
| 1789 | # |
| 1790 | # If any field is unset, its value may be inherited from a parent placeholder |
| 1791 | # if it exists. |
| 1792 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 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 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 1801 | # That is, the final pixel color is defined by the equation: |
| 1802 | # |
| 1803 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 1804 | # |
| 1805 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 1806 | # a value of 0.0 corresponds to a completely transparent color. |
| 1807 | }, |
| 1808 | }, |
| 1809 | }, |
| 1810 | "lineType": "A String", # The type of the line. |
| 1811 | }, |
| 1812 | "size": { # A width and height. # The size of the page element. |
| 1813 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 1814 | "magnitude": 3.14, # The magnitude. |
| 1815 | "unit": "A String", # The units for magnitude. |
| 1816 | }, |
| 1817 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 1818 | "magnitude": 3.14, # The magnitude. |
| 1819 | "unit": "A String", # The units for magnitude. |
| 1820 | }, |
| 1821 | }, |
| 1822 | "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit. |
| 1823 | # joined collection of PageElements. |
| 1824 | "children": [ # The collection of elements in the group. The minimum size of a group is 2. |
| 1825 | # Object with schema name: PageElement |
| 1826 | ], |
| 1827 | }, |
| 1828 | }, |
| 1829 | ], |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1830 | "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES. |
| 1831 | # relevant for pages with page_type NOTES. |
| 1832 | "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker |
| 1833 | # notes for the corresponding slide. |
| 1834 | # The actual shape may not always exist on the notes page. Inserting text |
| 1835 | # using this object ID will automatically create the shape. In this case, the |
| 1836 | # actual shape may have different object ID. The `GetPresentation` or |
| 1837 | # `GetPage` action will always return the latest object ID. |
| 1838 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1839 | "objectId": "A String", # The object ID for this page. Object IDs used by |
| 1840 | # Page and |
| 1841 | # PageElement share the same namespace. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1842 | "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in |
| 1843 | # update requests to assert that the presentation revision hasn't changed |
| 1844 | # since the last read operation. Only populated if the user has edit access |
| 1845 | # to the presentation. |
| 1846 | # |
| 1847 | # The format of the revision ID may change over time, so it should be treated |
| 1848 | # opaquely. A returned revision ID is only guaranteed to be valid for 24 |
| 1849 | # hours after it has been returned and cannot be shared across |
| 1850 | # users. Callers can assume that if two revision IDs are equal then the |
| 1851 | # presentation has not changed. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1852 | "pageProperties": { # The properties of the Page. # The properties of the page. |
| 1853 | # |
| 1854 | # The page will inherit properties from the parent page. Depending on the page |
| 1855 | # type the hierarchy is defined in either |
| 1856 | # SlideProperties or |
| 1857 | # LayoutProperties. |
| 1858 | "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited |
| 1859 | # from a parent page if it exists. If the page has no parent, then the |
| 1860 | # background fill defaults to the corresponding fill in the Slides editor. |
| 1861 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 1862 | # specified color value. |
| 1863 | # |
| 1864 | # If any field is unset, its value may be inherited from a parent placeholder |
| 1865 | # if it exists. |
| 1866 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 1867 | "themeColor": "A String", # An opaque theme color. |
| 1868 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1869 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1870 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1871 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1872 | }, |
| 1873 | }, |
| 1874 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 1875 | # That is, the final pixel color is defined by the equation: |
| 1876 | # |
| 1877 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 1878 | # |
| 1879 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 1880 | # a value of 0.0 corresponds to a completely transparent color. |
| 1881 | }, |
| 1882 | "propertyState": "A String", # The background fill property state. |
| 1883 | # |
| 1884 | # Updating the the fill on a page will implicitly update this field to |
| 1885 | # `RENDERED`, unless another value is specified in the same request. To |
| 1886 | # have no fill on a page, set this field to `NOT_RENDERED`. In this case, |
| 1887 | # any other fill fields set in the same request will be ignored. |
| 1888 | "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill. |
| 1889 | # the specified picture. The picture is stretched to fit its container. |
| 1890 | "contentUrl": "A String", # Reading the content_url: |
| 1891 | # |
| 1892 | # An URL to a picture with a default lifetime of 30 minutes. |
| 1893 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 1894 | # effectively accesses the picture as the original requester. Access to the |
| 1895 | # picture may be lost if the presentation's sharing settings change. |
| 1896 | # |
| 1897 | # Writing the content_url: |
| 1898 | # |
| 1899 | # The picture is fetched once at insertion time and a copy is stored for |
| 1900 | # display inside the presentation. Pictures must be less than 50MB in size, |
| 1901 | # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF |
| 1902 | # format. |
| 1903 | "size": { # A width and height. # The original size of the picture fill. This field is read-only. |
| 1904 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 1905 | "magnitude": 3.14, # The magnitude. |
| 1906 | "unit": "A String", # The units for magnitude. |
| 1907 | }, |
| 1908 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 1909 | "magnitude": 3.14, # The magnitude. |
| 1910 | "unit": "A String", # The units for magnitude. |
| 1911 | }, |
| 1912 | }, |
| 1913 | }, |
| 1914 | }, |
| 1915 | "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from |
| 1916 | # a parent page. If the page has no parent, the color scheme uses a default |
| 1917 | # Slides color scheme. This field is read-only. |
| 1918 | "colors": [ # The ThemeColorType and corresponding concrete color pairs. |
| 1919 | { # A pair mapping a theme color type to the concrete color it represents. |
| 1920 | "color": { # An RGB color. # The concrete color corresponding to the theme color type above. |
| 1921 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1922 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1923 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1924 | }, |
| 1925 | "type": "A String", # The type of the theme color. |
| 1926 | }, |
| 1927 | ], |
| 1928 | }, |
| 1929 | }, |
| 1930 | "pageType": "A String", # The type of the page. |
| 1931 | "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE. |
| 1932 | # relevant for pages with page_type SLIDE. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame^] | 1933 | "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual |
| 1934 | # appearance of a notes page when printing or exporting slides with speaker |
| 1935 | # notes. A notes page inherits properties from the |
| 1936 | # notes master. |
| 1937 | # The placeholder shape with type BODY on the notes page contains the speaker |
| 1938 | # notes for this slide. The ID of this shape is identified by the |
| 1939 | # speakerNotesObjectId field. |
| 1940 | # The notes page is read-only except for the text content and styles of the |
| 1941 | # speaker notes shape. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1942 | "masterObjectId": "A String", # The object ID of the master that this slide is based on. |
| 1943 | "layoutObjectId": "A String", # The object ID of the layout that this slide is based on. |
| 1944 | }, |
| 1945 | }</pre> |
| 1946 | </div> |
| 1947 | |
| 1948 | </body></html> |