| 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></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
| 78 | <code><a href="slides_v1.presentations.pages.html">pages()</a></code> |
| 79 | </p> |
| 80 | <p class="firstline">Returns the pages Resource.</p> |
| 81 | |
| 82 | <p class="toc_element"> |
| 83 | <code><a href="#batchUpdate">batchUpdate(presentationId, body, x__xgafv=None)</a></code></p> |
| 84 | <p class="firstline">Applies one or more updates to the presentation.</p> |
| 85 | <p class="toc_element"> |
| 86 | <code><a href="#create">create(body, x__xgafv=None)</a></code></p> |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 87 | <p class="firstline">Creates a blank presentation using the title given in the request. If a</p> |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 88 | <p class="toc_element"> |
| 89 | <code><a href="#get">get(presentationId, x__xgafv=None)</a></code></p> |
| 90 | <p class="firstline">Gets the latest version of the specified presentation.</p> |
| 91 | <h3>Method Details</h3> |
| 92 | <div class="method"> |
| 93 | <code class="details" id="batchUpdate">batchUpdate(presentationId, body, x__xgafv=None)</code> |
| 94 | <pre>Applies one or more updates to the presentation. |
| 95 | |
| 96 | Each request is validated before |
| 97 | being applied. If any request is not valid, then the entire request will |
| 98 | fail and nothing will be applied. |
| 99 | |
| 100 | Some requests have replies to |
| 101 | give you some information about how they are applied. Other requests do |
| 102 | not need to return information; these each return an empty reply. |
| 103 | The order of replies matches that of the requests. |
| 104 | |
| 105 | For example, suppose you call batchUpdate with four updates, and only the |
| 106 | third one returns information. The response would have two empty replies: |
| 107 | the reply to the third request, and another empty reply, in that order. |
| 108 | |
| 109 | Because other users may be editing the presentation, the presentation |
| 110 | might not exactly reflect your changes: your changes may |
| 111 | be altered with respect to collaborator changes. If there are no |
| 112 | collaborators, the presentation should reflect your changes. In any case, |
| 113 | the updates in your request are guaranteed to be applied together |
| 114 | atomically. |
| 115 | |
| 116 | Args: |
| 117 | presentationId: string, The presentation to apply the updates to. (required) |
| 118 | body: object, The request body. (required) |
| 119 | The object takes the form of: |
| 120 | |
| 121 | { # Request message for PresentationsService.BatchUpdatePresentation. |
| 122 | "requests": [ # A list of updates to apply to the presentation. |
| 123 | { # A single kind of update to apply to a presentation. |
| 124 | "insertText": { # Inserts text into a shape or a table cell. # Inserts text into a shape or table cell. |
| 125 | "text": "A String", # The text to be inserted. |
| 126 | # |
| 127 | # Inserting a newline character will implicitly create a new |
| 128 | # ParagraphMarker at that index. |
| 129 | # The paragraph style of the new paragraph will be copied from the paragraph |
| 130 | # at the current insertion index, including lists and bullets. |
| 131 | # |
| 132 | # Text styles for inserted text will be determined automatically, generally |
| 133 | # preserving the styling of neighboring text. In most cases, the text will be |
| 134 | # added to the TextRun that exists at the |
| 135 | # insertion index. |
| 136 | # |
| 137 | # Some control characters (U+0000-U+0008, U+000C-U+001F) and characters |
| 138 | # from the Unicode Basic Multilingual Plane Private Use Area (U+E000-U+F8FF) |
| 139 | # will be stripped out of the inserted text. |
| 140 | "cellLocation": { # A location of a single table cell within a table. # The optional table cell location if the text is to be inserted into a table |
| 141 | # cell. If present, the object_id must refer to a table. |
| 142 | "rowIndex": 42, # The 0-based row index. |
| 143 | "columnIndex": 42, # The 0-based column index. |
| 144 | }, |
| 145 | "objectId": "A String", # The object ID of the shape or table where the text will be inserted. |
| 146 | "insertionIndex": 42, # The index where the text will be inserted, in Unicode code units, based |
| 147 | # on TextElement indexes. |
| 148 | # |
| 149 | # The index is zero-based and is computed from the start of the string. |
| 150 | # The index may be adjusted to prevent insertions inside Unicode grapheme |
| 151 | # clusters. In these cases, the text will be inserted immediately after the |
| 152 | # grapheme cluster. |
| 153 | }, |
| 154 | "insertTableRows": { # Inserts rows into a table. # Inserts rows into a table. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 155 | "insertBelow": True or False, # Whether to insert new rows below the reference cell location. |
| 156 | # |
| 157 | # - `True`: insert below the cell. |
| 158 | # - `False`: insert above the cell. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 159 | "tableObjectId": "A String", # The table to insert rows into. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 160 | "number": 42, # The number of rows to be inserted. Maximum 20 per request. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 161 | "cellLocation": { # A location of a single table cell within a table. # The reference table cell location from which rows will be inserted. |
| 162 | # |
| 163 | # A new row will be inserted above (or below) the row where the reference |
| 164 | # cell is. If the reference cell is a merged cell, a new row will be |
| 165 | # inserted above (or below) the merged cell. |
| 166 | "rowIndex": 42, # The 0-based row index. |
| 167 | "columnIndex": 42, # The 0-based column index. |
| 168 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 169 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 170 | "createParagraphBullets": { # Creates bullets for all of the paragraphs that overlap with the given # Creates bullets for paragraphs. |
| 171 | # text index range. |
| 172 | # |
| 173 | # The nesting level of each paragraph will be determined by counting leading |
| 174 | # tabs in front of each paragraph. To avoid excess space between the bullet and |
| 175 | # the corresponding paragraph, these leading tabs are removed by this request. |
| 176 | # This may change the indices of parts of the text. |
| 177 | # |
| 178 | # If the paragraph immediately before paragraphs being updated is in a list |
| 179 | # with a matching preset, the paragraphs being updated are added to that |
| 180 | # preceding list. |
| 181 | "bulletPreset": "A String", # The kinds of bullet glyphs to be used. Defaults to the |
| 182 | # `BULLET_DISC_CIRCLE_SQUARE` preset. |
| 183 | "textRange": { # Specifies a contiguous range of an indexed collection, such as characters in # The range of text to apply the bullet presets to, based on TextElement indexes. |
| 184 | # text. |
| 185 | "endIndex": 42, # The optional zero-based index of the end of the collection. |
| 186 | # Required for `FIXED_RANGE` ranges. |
| 187 | "startIndex": 42, # The optional zero-based index of the beginning of the collection. |
| 188 | # Required for `FIXED_RANGE` and `FROM_START_INDEX` ranges. |
| 189 | "type": "A String", # The type of range. |
| 190 | }, |
| 191 | "objectId": "A String", # The object ID of the shape or table containing the text to add bullets to. |
| 192 | "cellLocation": { # A location of a single table cell within a table. # The optional table cell location if the text to be modified is in a table |
| 193 | # cell. If present, the object_id must refer to a table. |
| 194 | "rowIndex": 42, # The 0-based row index. |
| 195 | "columnIndex": 42, # The 0-based column index. |
| 196 | }, |
| 197 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 198 | "createVideo": { # Creates a video. # Creates a video. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 199 | # |
| 200 | # NOTE: Creating a video from Google Drive requires that the requesting app |
| 201 | # have at least one of the drive, drive.readonly, or drive.file OAuth scopes. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 202 | "source": "A String", # The video source. |
| 203 | "elementProperties": { # Common properties for a page element. # The element properties for the video. |
| 204 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 205 | # The PageElementProperties.size property is |
| 206 | # optional. If you don't specify a size, a default size is chosen by the |
| 207 | # server. |
| 208 | # |
| 209 | # The PageElementProperties.transform property is |
| 210 | # optional. The transform must not have shear components. |
| 211 | # If you don't specify a transform, the video will be placed at the top left |
| 212 | # corner of the page. |
| 213 | # |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 214 | # Note: When you initially create a |
| 215 | # PageElement, the API may modify |
| 216 | # the values of both `size` and `transform`, but the |
| 217 | # visual size will be unchanged. |
| 218 | "pageObjectId": "A String", # The object ID of the page where the element is located. |
| 219 | "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform for the element. |
| 220 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 221 | # according to: |
| 222 | # |
| 223 | # x' x = shear_y scale_y translate_y |
| 224 | # 1 [ 1 ] |
| 225 | # |
| 226 | # After transformation, |
| 227 | # |
| 228 | # x' = scale_x * x + shear_x * y + translate_x; |
| 229 | # y' = scale_y * y + shear_y * x + translate_y; |
| 230 | # |
| 231 | # This message is therefore composed of these six matrix elements. |
| 232 | "translateX": 3.14, # The X coordinate translation element. |
| 233 | "translateY": 3.14, # The Y coordinate translation element. |
| 234 | "scaleX": 3.14, # The X coordinate scaling element. |
| 235 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 236 | "shearY": 3.14, # The Y coordinate shearing element. |
| 237 | "shearX": 3.14, # The X coordinate shearing element. |
| 238 | "unit": "A String", # The units for translate elements. |
| 239 | }, |
| 240 | "size": { # A width and height. # The size of the element. |
| 241 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 242 | "magnitude": 3.14, # The magnitude. |
| 243 | "unit": "A String", # The units for magnitude. |
| 244 | }, |
| 245 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 246 | "magnitude": 3.14, # The magnitude. |
| 247 | "unit": "A String", # The units for magnitude. |
| 248 | }, |
| 249 | }, |
| 250 | }, |
| 251 | "objectId": "A String", # A user-supplied object ID. |
| 252 | # |
| 253 | # If you specify an ID, it must be unique among all pages and page elements |
| 254 | # in the presentation. The ID must start with an alphanumeric character or an |
| 255 | # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters |
| 256 | # may include those as well as a hyphen or colon (matches regex |
| 257 | # `[a-zA-Z0-9_-:]`). |
| 258 | # The length of the ID must not be less than 5 or greater than 50. |
| 259 | # |
| 260 | # If you don't specify an ID, a unique one is generated. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 261 | "id": "A String", # The video source's unique identifier for this video. |
| 262 | # |
| 263 | # e.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 264 | # the ID is 7U3axjORYZ0. For a Google Drive video |
| 265 | # https://drive.google.com/file/d/1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q the ID |
| 266 | # is 1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 267 | }, |
| 268 | "deleteTableRow": { # Deletes a row from a table. # Deletes a row from a table. |
| 269 | "cellLocation": { # A location of a single table cell within a table. # The reference table cell location from which a row will be deleted. |
| 270 | # |
| 271 | # The row this cell spans will be deleted. If this is a merged cell, multiple |
| 272 | # rows will be deleted. If no rows remain in the table after this deletion, |
| 273 | # the whole table is deleted. |
| 274 | "rowIndex": 42, # The 0-based row index. |
| 275 | "columnIndex": 42, # The 0-based column index. |
| 276 | }, |
| 277 | "tableObjectId": "A String", # The table to delete rows from. |
| 278 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 279 | "rerouteLine": { # Reroutes a line such that it's connected at the # Reroutes a line such that it's connected |
| 280 | # at the two closest connection sites on the connected page elements. |
| 281 | # two closest connection sites on the connected page elements. |
| 282 | "objectId": "A String", # The object ID of the line to reroute. |
| 283 | # |
| 284 | # Only a line with a category |
| 285 | # indicating it is a "connector" can be rerouted. The start and end |
| 286 | # connections of the line must be on different page elements. |
| 287 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 288 | "updateImageProperties": { # Update the properties of an Image. # Updates the properties of an Image. |
| 289 | "fields": "A String", # The fields that should be updated. |
| 290 | # |
| 291 | # At least one field must be specified. The root `imageProperties` is |
| 292 | # implied and should not be specified. A single `"*"` can be used as |
| 293 | # short-hand for listing every field. |
| 294 | # |
| 295 | # For example to update the image outline color, set `fields` to |
| 296 | # `"outline.outlineFill.solidFill.color"`. |
| 297 | # |
| 298 | # To reset a property to its default value, include its field name in the |
| 299 | # field mask but leave the field itself unset. |
| 300 | "imageProperties": { # The properties of the Image. # The image properties to update. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 301 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 302 | # |
| 303 | # If these fields are unset, they may be inherited from a parent placeholder |
| 304 | # if it exists. If there is no parent, the fields will default to the value |
| 305 | # used for new page elements created in the Slides editor, which may depend on |
| 306 | # the page element kind. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 307 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 308 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 309 | # specified color value. |
| 310 | # |
| 311 | # If any field is unset, its value may be inherited from a parent placeholder |
| 312 | # if it exists. |
| 313 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 314 | "themeColor": "A String", # An opaque theme color. |
| 315 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 316 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 317 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 318 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 319 | }, |
| 320 | }, |
| 321 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 322 | # That is, the final pixel color is defined by the equation: |
| 323 | # |
| 324 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 325 | # |
| 326 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 327 | # a value of 0.0 corresponds to a completely transparent color. |
| 328 | }, |
| 329 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 330 | "propertyState": "A String", # The outline property state. |
| 331 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 332 | # Updating the outline on a page element will implicitly update this field |
| 333 | # to `RENDERED`, unless another value is specified in the same request. To |
| 334 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 335 | # this case, any other outline fields set in the same request will be |
| 336 | # ignored. |
| 337 | "dashStyle": "A String", # The dash style of the outline. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 338 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 339 | "magnitude": 3.14, # The magnitude. |
| 340 | "unit": "A String", # The units for magnitude. |
| 341 | }, |
| 342 | }, |
| 343 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 344 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 345 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 346 | # This property is read-only. |
| 347 | "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] | 348 | # stops. |
| 349 | # |
| 350 | # The colors in the gradient will replace the corresponding colors at |
| 351 | # the same position in the color palette and apply to the image. This |
| 352 | # property is read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 353 | { # A color and position in a gradient band. |
| 354 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 355 | "themeColor": "A String", # An opaque theme color. |
| 356 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 357 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 358 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 359 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 360 | }, |
| 361 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 362 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 363 | # fully opaque. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 364 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 365 | # 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] | 366 | }, |
| 367 | ], |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 368 | "name": "A String", # The name of the recolor effect. |
| 369 | # |
| 370 | # The name is determined from the `recolor_stops` by matching the gradient |
| 371 | # against the colors in the page's current color scheme. This property is |
| 372 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 373 | }, |
| 374 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 375 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 376 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 377 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 378 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 379 | # 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] | 380 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 381 | # addressed by its position. |
| 382 | }, |
| 383 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 384 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 385 | # This property is read-only. |
| 386 | "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. |
| 387 | # This property is read-only. |
| 388 | # Image. |
| 389 | # |
| 390 | # The crop properties is represented by the offsets of four edges which define |
| 391 | # a crop rectangle. The offsets are measured in percentage from the |
| 392 | # corresponding edges of the object's original bounding rectangle towards |
| 393 | # inside, relative to the object's original dimensions. |
| 394 | # |
| 395 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 396 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 397 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 398 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 399 | # - If the left edge of the crop rectangle is on the right side of its right |
| 400 | # edge, the object will be flipped horizontally. |
| 401 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 402 | # will be flipped vertically. |
| 403 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 404 | # |
| 405 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 406 | # its container. |
| 407 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 408 | # the right of the original bounding rectangle left edge, relative to the |
| 409 | # object's original width. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 410 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 411 | # above the original bounding rectangle bottom edge, relative to the object's |
| 412 | # original height. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 413 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 414 | # Rotation angle is applied after the offset. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 415 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 416 | # to the left of the original bounding rectangle right edge, relative to the |
| 417 | # object's original width. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 418 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 419 | # below the original bounding rectangle top edge, relative to the object's |
| 420 | # original height. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 421 | }, |
| 422 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 423 | # is read-only. |
| 424 | # |
| 425 | # If these fields are unset, they may be inherited from a parent placeholder |
| 426 | # if it exists. If there is no parent, the fields will default to the value |
| 427 | # used for new page elements created in the Slides editor, which may depend on |
| 428 | # the page element kind. |
| 429 | "color": { # A themeable solid color value. # The shadow color value. |
| 430 | "themeColor": "A String", # An opaque theme color. |
| 431 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 432 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 433 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 434 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 435 | }, |
| 436 | }, |
| 437 | "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, |
| 438 | # relative to the alignment position. |
| 439 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 440 | # according to: |
| 441 | # |
| 442 | # x' x = shear_y scale_y translate_y |
| 443 | # 1 [ 1 ] |
| 444 | # |
| 445 | # After transformation, |
| 446 | # |
| 447 | # x' = scale_x * x + shear_x * y + translate_x; |
| 448 | # y' = scale_y * y + shear_y * x + translate_y; |
| 449 | # |
| 450 | # This message is therefore composed of these six matrix elements. |
| 451 | "translateX": 3.14, # The X coordinate translation element. |
| 452 | "translateY": 3.14, # The Y coordinate translation element. |
| 453 | "scaleX": 3.14, # The X coordinate scaling element. |
| 454 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 455 | "shearY": 3.14, # The Y coordinate shearing element. |
| 456 | "shearX": 3.14, # The X coordinate shearing element. |
| 457 | "unit": "A String", # The units for translate elements. |
| 458 | }, |
| 459 | "propertyState": "A String", # The shadow property state. |
| 460 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 461 | # Updating the shadow on a page element will implicitly update this field to |
| 462 | # `RENDERED`, unless another value is specified in the same request. To have |
| 463 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 464 | # case, any other shadow fields set in the same request will be ignored. |
| 465 | "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 |
| 466 | # shadow becomes. |
| 467 | "magnitude": 3.14, # The magnitude. |
| 468 | "unit": "A String", # The units for magnitude. |
| 469 | }, |
| 470 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 471 | "type": "A String", # The type of the shadow. This property is read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 472 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 473 | # scale and skew of the shadow. This property is read-only. |
| 474 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 475 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 476 | }, |
| 477 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 478 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 479 | }, |
| 480 | "objectId": "A String", # The object ID of the image the updates are applied to. |
| 481 | }, |
| 482 | "createLine": { # Creates a line. # Creates a line. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 483 | "category": "A String", # The category of the line to be created. |
| 484 | # |
| 485 | # The exact line type created is |
| 486 | # determined based on the category and how it's routed to connect to other |
| 487 | # page elements. |
| 488 | # |
| 489 | # If you specify both a `category` and a `line_category`, the `category` |
| 490 | # takes precedence. |
| 491 | # |
| 492 | # If you do not specify a value for `category`, but specify a value for |
| 493 | # `line_category`, then the specified `line_category` value is used. |
| 494 | # |
| 495 | # If you do not specify either, then STRAIGHT is used. |
| 496 | "lineCategory": "A String", # The category of the line to be created. |
| 497 | # |
| 498 | # <b>Deprecated</b>: use `category` instead. |
| 499 | # |
| 500 | # The exact line type created is |
| 501 | # determined based on the category and how it's routed to connect to other |
| 502 | # page elements. |
| 503 | # |
| 504 | # If you specify both a `category` and a `line_category`, the `category` |
| 505 | # takes precedence. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 506 | "elementProperties": { # Common properties for a page element. # The element properties for the line. |
| 507 | # |
| 508 | # Note: When you initially create a |
| 509 | # PageElement, the API may modify |
| 510 | # the values of both `size` and `transform`, but the |
| 511 | # visual size will be unchanged. |
| 512 | "pageObjectId": "A String", # The object ID of the page where the element is located. |
| 513 | "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform for the element. |
| 514 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 515 | # according to: |
| 516 | # |
| 517 | # x' x = shear_y scale_y translate_y |
| 518 | # 1 [ 1 ] |
| 519 | # |
| 520 | # After transformation, |
| 521 | # |
| 522 | # x' = scale_x * x + shear_x * y + translate_x; |
| 523 | # y' = scale_y * y + shear_y * x + translate_y; |
| 524 | # |
| 525 | # This message is therefore composed of these six matrix elements. |
| 526 | "translateX": 3.14, # The X coordinate translation element. |
| 527 | "translateY": 3.14, # The Y coordinate translation element. |
| 528 | "scaleX": 3.14, # The X coordinate scaling element. |
| 529 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 530 | "shearY": 3.14, # The Y coordinate shearing element. |
| 531 | "shearX": 3.14, # The X coordinate shearing element. |
| 532 | "unit": "A String", # The units for translate elements. |
| 533 | }, |
| 534 | "size": { # A width and height. # The size of the element. |
| 535 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 536 | "magnitude": 3.14, # The magnitude. |
| 537 | "unit": "A String", # The units for magnitude. |
| 538 | }, |
| 539 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 540 | "magnitude": 3.14, # The magnitude. |
| 541 | "unit": "A String", # The units for magnitude. |
| 542 | }, |
| 543 | }, |
| 544 | }, |
| 545 | "objectId": "A String", # A user-supplied object ID. |
| 546 | # |
| 547 | # If you specify an ID, it must be unique among all pages and page elements |
| 548 | # in the presentation. The ID must start with an alphanumeric character or an |
| 549 | # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters |
| 550 | # may include those as well as a hyphen or colon (matches regex |
| 551 | # `[a-zA-Z0-9_-:]`). |
| 552 | # The length of the ID must not be less than 5 or greater than 50. |
| 553 | # |
| 554 | # If you don't specify an ID, a unique one is generated. |
| 555 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 556 | "replaceAllShapesWithSheetsChart": { # Replaces all shapes that match the given criteria with the provided Google # Replaces all shapes matching some criteria with a Google Sheets chart. |
| 557 | # Sheets chart. The chart will be scaled and centered to fit within the bounds |
| 558 | # of the original shape. |
| 559 | # |
| 560 | # NOTE: Replacing shapes with a chart requires at least one of the |
| 561 | # spreadsheets.readonly, spreadsheets, drive.readonly, or drive OAuth scopes. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 562 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the chart. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 563 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet. |
| 564 | "linkingMode": "A String", # The mode with which the chart is linked to the source spreadsheet. When |
| 565 | # not specified, the chart will be an image that is not linked. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 566 | "pageObjectIds": [ # If non-empty, limits the matches to page elements only on the given pages. |
| 567 | # |
| 568 | # Returns a 400 bad request error if given the page object ID of a |
| 569 | # notes page or a |
| 570 | # notes master, or if a |
| 571 | # page with that object ID doesn't exist in the presentation. |
| 572 | "A String", |
| 573 | ], |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 574 | "containsText": { # A criteria that matches a specific string of text in a shape or table. # The criteria that the shapes must match in order to be replaced. The |
| 575 | # request will replace all of the shapes that contain the given text. |
| 576 | "text": "A String", # The text to search for in the shape or table. |
| 577 | "matchCase": True or False, # Indicates whether the search should respect case: |
| 578 | # |
| 579 | # - `True`: the search is case sensitive. |
| 580 | # - `False`: the search is case insensitive. |
| 581 | }, |
| 582 | }, |
| 583 | "updatePageElementsZOrder": { # Updates the Z-order of page elements. Z-order is an ordering of the elements # Updates the Z-order of page elements. |
| 584 | # on the page from back to front. The page element in the front may cover the |
| 585 | # elements that are behind it. |
| 586 | "pageElementObjectIds": [ # The object IDs of the page elements to update. |
| 587 | # |
| 588 | # All the page elements must be on the same page and must not be grouped. |
| 589 | "A String", |
| 590 | ], |
| 591 | "operation": "A String", # The Z-order operation to apply on the page elements. |
| 592 | # |
| 593 | # When applying the operation on multiple page elements, the relative |
| 594 | # Z-orders within these page elements before the operation is maintained. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 595 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 596 | "createImage": { # Creates an image. # Creates an image. |
| 597 | "url": "A String", # The image URL. |
| 598 | # |
| 599 | # The image is fetched once at insertion time and a copy is stored for |
| 600 | # display inside the presentation. Images must be less than 50MB in size, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 601 | # cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 602 | # format. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 603 | # |
| 604 | # The provided URL can be at most 2 kB in length. The URL itself is saved |
| 605 | # with the image, and exposed via the Image.source_url field. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 606 | "elementProperties": { # Common properties for a page element. # The element properties for the image. |
| 607 | # |
| 608 | # When the aspect ratio of the provided size does not match the image aspect |
| 609 | # ratio, the image is scaled and centered with respect to the size in order |
| 610 | # to maintain aspect ratio. The provided transform is applied after this |
| 611 | # operation. |
| 612 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 613 | # The PageElementProperties.size property is |
| 614 | # optional. If you don't specify the size, the default size of the image is |
| 615 | # used. |
| 616 | # |
| 617 | # The PageElementProperties.transform property is |
| 618 | # optional. If you don't specify a transform, the image will be placed at the |
| 619 | # top left corner of the page. |
| 620 | # |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 621 | # Note: When you initially create a |
| 622 | # PageElement, the API may modify |
| 623 | # the values of both `size` and `transform`, but the |
| 624 | # visual size will be unchanged. |
| 625 | "pageObjectId": "A String", # The object ID of the page where the element is located. |
| 626 | "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform for the element. |
| 627 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 628 | # according to: |
| 629 | # |
| 630 | # x' x = shear_y scale_y translate_y |
| 631 | # 1 [ 1 ] |
| 632 | # |
| 633 | # After transformation, |
| 634 | # |
| 635 | # x' = scale_x * x + shear_x * y + translate_x; |
| 636 | # y' = scale_y * y + shear_y * x + translate_y; |
| 637 | # |
| 638 | # This message is therefore composed of these six matrix elements. |
| 639 | "translateX": 3.14, # The X coordinate translation element. |
| 640 | "translateY": 3.14, # The Y coordinate translation element. |
| 641 | "scaleX": 3.14, # The X coordinate scaling element. |
| 642 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 643 | "shearY": 3.14, # The Y coordinate shearing element. |
| 644 | "shearX": 3.14, # The X coordinate shearing element. |
| 645 | "unit": "A String", # The units for translate elements. |
| 646 | }, |
| 647 | "size": { # A width and height. # The size of the element. |
| 648 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 649 | "magnitude": 3.14, # The magnitude. |
| 650 | "unit": "A String", # The units for magnitude. |
| 651 | }, |
| 652 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 653 | "magnitude": 3.14, # The magnitude. |
| 654 | "unit": "A String", # The units for magnitude. |
| 655 | }, |
| 656 | }, |
| 657 | }, |
| 658 | "objectId": "A String", # A user-supplied object ID. |
| 659 | # |
| 660 | # If you specify an ID, it must be unique among all pages and page elements |
| 661 | # in the presentation. The ID must start with an alphanumeric character or an |
| 662 | # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters |
| 663 | # may include those as well as a hyphen or colon (matches regex |
| 664 | # `[a-zA-Z0-9_-:]`). |
| 665 | # The length of the ID must not be less than 5 or greater than 50. |
| 666 | # |
| 667 | # If you don't specify an ID, a unique one is generated. |
| 668 | }, |
| 669 | "updateVideoProperties": { # Update the properties of a Video. # Updates the properties of a Video. |
| 670 | "videoProperties": { # The properties of the Video. # The video properties to update. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 671 | "start": 42, # The time at which to start playback, measured in seconds from the beginning |
| 672 | # of the video. |
| 673 | # If set, the start time should be before the end time. |
| 674 | # If you set this to a value that exceeds the video's length in seconds, the |
| 675 | # video will be played from the last second. |
| 676 | # If not set, the video will be played from the beginning. |
| 677 | "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present |
| 678 | # mode. Defaults to false. |
| 679 | "end": 42, # The time at which to end playback, measured in seconds from the beginning |
| 680 | # of the video. |
| 681 | # If set, the end time should be after the start time. |
| 682 | # If not set or if you set this to a value that exceeds the video's length, |
| 683 | # the video will be played until its end. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 684 | "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new |
| 685 | # videos created in the Slides editor. |
| 686 | # |
| 687 | # If these fields are unset, they may be inherited from a parent placeholder |
| 688 | # if it exists. If there is no parent, the fields will default to the value |
| 689 | # used for new page elements created in the Slides editor, which may depend on |
| 690 | # the page element kind. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 691 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 692 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 693 | # specified color value. |
| 694 | # |
| 695 | # If any field is unset, its value may be inherited from a parent placeholder |
| 696 | # if it exists. |
| 697 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 698 | "themeColor": "A String", # An opaque theme color. |
| 699 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 700 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 701 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 702 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 703 | }, |
| 704 | }, |
| 705 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 706 | # That is, the final pixel color is defined by the equation: |
| 707 | # |
| 708 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 709 | # |
| 710 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 711 | # a value of 0.0 corresponds to a completely transparent color. |
| 712 | }, |
| 713 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 714 | "propertyState": "A String", # The outline property state. |
| 715 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 716 | # Updating the outline on a page element will implicitly update this field |
| 717 | # to `RENDERED`, unless another value is specified in the same request. To |
| 718 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 719 | # this case, any other outline fields set in the same request will be |
| 720 | # ignored. |
| 721 | "dashStyle": "A String", # The dash style of the outline. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 722 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 723 | "magnitude": 3.14, # The magnitude. |
| 724 | "unit": "A String", # The units for magnitude. |
| 725 | }, |
| 726 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 727 | "mute": True or False, # Whether to mute the audio during video playback. Defaults to false. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 728 | }, |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 729 | "objectId": "A String", # The object ID of the video the updates are applied to. |
| 730 | "fields": "A String", # The fields that should be updated. |
| 731 | # |
| 732 | # At least one field must be specified. The root `videoProperties` is |
| 733 | # implied and should not be specified. A single `"*"` can be used as |
| 734 | # short-hand for listing every field. |
| 735 | # |
| 736 | # For example to update the video outline color, set `fields` to |
| 737 | # `"outline.outlineFill.solidFill.color"`. |
| 738 | # |
| 739 | # To reset a property to its default value, include its field name in the |
| 740 | # field mask but leave the field itself unset. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 741 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 742 | "updateLineCategory": { # Updates the category of a line. # Updates the category of a line. |
| 743 | "lineCategory": "A String", # The line category to update to. |
| 744 | # |
| 745 | # The exact line type is determined based |
| 746 | # on the category to update to and how it's routed to connect to other page |
| 747 | # elements. |
| 748 | "objectId": "A String", # The object ID of the line the update is applied to. |
| 749 | # |
| 750 | # Only a line with a category |
| 751 | # indicating it is a "connector" can be updated. |
| 752 | # |
| 753 | # The line may be rerouted after updating its category. |
| 754 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 755 | "deleteParagraphBullets": { # Deletes bullets from all of the paragraphs that overlap with the given text # Deletes bullets from paragraphs. |
| 756 | # index range. |
| 757 | # |
| 758 | # The nesting level of each paragraph will be visually preserved by adding |
| 759 | # indent to the start of the corresponding paragraph. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 760 | "textRange": { # Specifies a contiguous range of an indexed collection, such as characters in # The range of text to delete bullets from, based on TextElement indexes. |
| 761 | # text. |
| 762 | "endIndex": 42, # The optional zero-based index of the end of the collection. |
| 763 | # Required for `FIXED_RANGE` ranges. |
| 764 | "startIndex": 42, # The optional zero-based index of the beginning of the collection. |
| 765 | # Required for `FIXED_RANGE` and `FROM_START_INDEX` ranges. |
| 766 | "type": "A String", # The type of range. |
| 767 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 768 | "objectId": "A String", # The object ID of the shape or table containing the text to delete bullets |
| 769 | # from. |
| 770 | "cellLocation": { # A location of a single table cell within a table. # The optional table cell location if the text to be modified is in a table |
| 771 | # cell. If present, the object_id must refer to a table. |
| 772 | "rowIndex": 42, # The 0-based row index. |
| 773 | "columnIndex": 42, # The 0-based column index. |
| 774 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 775 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 776 | "updateLineProperties": { # Updates the properties of a Line. # Updates the properties of a Line. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 777 | "fields": "A String", # The fields that should be updated. |
| 778 | # |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 779 | # At least one field must be specified. The root `lineProperties` is |
| 780 | # implied and should not be specified. A single `"*"` can be used as |
| 781 | # short-hand for listing every field. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 782 | # |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 783 | # For example to update the line solid fill color, set `fields` to |
| 784 | # `"lineFill.solidFill.color"`. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 785 | # |
| 786 | # To reset a property to its default value, include its field name in the |
| 787 | # field mask but leave the field itself unset. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 788 | "lineProperties": { # The properties of the Line. # The line properties to update. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 789 | # |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 790 | # When unset, these fields default to values that match the appearance of |
| 791 | # new lines created in the Slides editor. |
| 792 | "dashStyle": "A String", # The dash style of the line. |
| 793 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 794 | "magnitude": 3.14, # The magnitude. |
| 795 | "unit": "A String", # The units for magnitude. |
| 796 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 797 | "endArrow": "A String", # The style of the arrow at the end of the line. |
| 798 | "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link. |
| 799 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 800 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 801 | # in the presentation. There may not be a slide at this index. |
| 802 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 803 | # presentation with this ID. A page with this ID may not exist. |
| 804 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 805 | # addressed by its position. |
| 806 | }, |
| 807 | "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new |
| 808 | # lines created in the Slides editor. |
| 809 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 810 | # specified color value. |
| 811 | # |
| 812 | # If any field is unset, its value may be inherited from a parent placeholder |
| 813 | # if it exists. |
| 814 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 815 | "themeColor": "A String", # An opaque theme color. |
| 816 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 817 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 818 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 819 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 820 | }, |
| 821 | }, |
| 822 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 823 | # That is, the final pixel color is defined by the equation: |
| 824 | # |
| 825 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 826 | # |
| 827 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 828 | # a value of 0.0 corresponds to a completely transparent color. |
| 829 | }, |
| 830 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 831 | "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no |
| 832 | # connection. |
| 833 | # |
| 834 | # Only lines with a Type indicating it is |
| 835 | # a "connector" can have a `start_connection`. |
| 836 | # connection. |
| 837 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 838 | # |
| 839 | # In most cases, it corresponds to the predefined connection site index from |
| 840 | # the ECMA-376 standard. More information on those connection sites can be |
| 841 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 842 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 843 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 844 | # [ECMA-376 5th edition] |
| 845 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 846 | # |
| 847 | # The position of each connection site can also be viewed from Slides editor. |
| 848 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 849 | # |
| 850 | # Some page elements, such as groups, tables, and lines |
| 851 | # do not have connection sites and therefore cannot be connected to a |
| 852 | # connector line. |
| 853 | }, |
| 854 | "endConnection": { # The properties for one end of a Line # The connection at the end of the line. If unset, there is no connection. |
| 855 | # |
| 856 | # Only lines with a Type indicating it is |
| 857 | # a "connector" can have an `end_connection`. |
| 858 | # connection. |
| 859 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 860 | # |
| 861 | # In most cases, it corresponds to the predefined connection site index from |
| 862 | # the ECMA-376 standard. More information on those connection sites can be |
| 863 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 864 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 865 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 866 | # [ECMA-376 5th edition] |
| 867 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 868 | # |
| 869 | # The position of each connection site can also be viewed from Slides editor. |
| 870 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 871 | # |
| 872 | # Some page elements, such as groups, tables, and lines |
| 873 | # do not have connection sites and therefore cannot be connected to a |
| 874 | # connector line. |
| 875 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 876 | "startArrow": "A String", # The style of the arrow at the beginning of the line. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 877 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 878 | "objectId": "A String", # The object ID of the line the update is applied to. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 879 | }, |
| 880 | "deleteText": { # Deletes text from a shape or a table cell. # Deletes text from a shape or a table cell. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 881 | "cellLocation": { # A location of a single table cell within a table. # The optional table cell location if the text is to be deleted from a table |
| 882 | # cell. If present, the object_id must refer to a table. |
| 883 | "rowIndex": 42, # The 0-based row index. |
| 884 | "columnIndex": 42, # The 0-based column index. |
| 885 | }, |
| 886 | "objectId": "A String", # The object ID of the shape or table from which the text will be deleted. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 887 | "textRange": { # Specifies a contiguous range of an indexed collection, such as characters in # The range of text to delete, based on TextElement indexes. |
| 888 | # |
| 889 | # There is always an implicit newline character at the end of a shape's or |
| 890 | # table cell's text that cannot be deleted. `Range.Type.ALL` will use the |
| 891 | # correct bounds, but care must be taken when specifying explicit bounds for |
| 892 | # range types `FROM_START_INDEX` and `FIXED_RANGE`. For example, if the text |
| 893 | # is "ABC", followed by an implicit newline, then the maximum value is 2 for |
| 894 | # `text_range.start_index` and 3 for `text_range.end_index`. |
| 895 | # |
| 896 | # Deleting text that crosses a paragraph boundary may result in changes |
| 897 | # to paragraph styles and lists as the two paragraphs are merged. |
| 898 | # |
| 899 | # Ranges that include only one code unit of a surrogate pair are expanded to |
| 900 | # include both code units. |
| 901 | # text. |
| 902 | "endIndex": 42, # The optional zero-based index of the end of the collection. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 903 | # Required for `FIXED_RANGE` ranges. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 904 | "startIndex": 42, # The optional zero-based index of the beginning of the collection. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 905 | # Required for `FIXED_RANGE` and `FROM_START_INDEX` ranges. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 906 | "type": "A String", # The type of range. |
| 907 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 908 | }, |
| 909 | "updatePageProperties": { # Updates the properties of a Page. # Updates the properties of a Page. |
| 910 | "pageProperties": { # The properties of the Page. # The page properties to update. |
| 911 | # |
| 912 | # The page will inherit properties from the parent page. Depending on the page |
| 913 | # type the hierarchy is defined in either |
| 914 | # SlideProperties or |
| 915 | # LayoutProperties. |
| 916 | "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited |
| 917 | # from a parent page if it exists. If the page has no parent, then the |
| 918 | # background fill defaults to the corresponding fill in the Slides editor. |
| 919 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 920 | # specified color value. |
| 921 | # |
| 922 | # If any field is unset, its value may be inherited from a parent placeholder |
| 923 | # if it exists. |
| 924 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 925 | "themeColor": "A String", # An opaque theme color. |
| 926 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 927 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 928 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 929 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 930 | }, |
| 931 | }, |
| 932 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 933 | # That is, the final pixel color is defined by the equation: |
| 934 | # |
| 935 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 936 | # |
| 937 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 938 | # a value of 0.0 corresponds to a completely transparent color. |
| 939 | }, |
| 940 | "propertyState": "A String", # The background fill property state. |
| 941 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 942 | # Updating the fill on a page will implicitly update this field to |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 943 | # `RENDERED`, unless another value is specified in the same request. To |
| 944 | # have no fill on a page, set this field to `NOT_RENDERED`. In this case, |
| 945 | # any other fill fields set in the same request will be ignored. |
| 946 | "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill. |
| 947 | # the specified picture. The picture is stretched to fit its container. |
| 948 | "contentUrl": "A String", # Reading the content_url: |
| 949 | # |
| 950 | # An URL to a picture with a default lifetime of 30 minutes. |
| 951 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 952 | # effectively accesses the picture as the original requester. Access to the |
| 953 | # picture may be lost if the presentation's sharing settings change. |
| 954 | # |
| 955 | # Writing the content_url: |
| 956 | # |
| 957 | # The picture is fetched once at insertion time and a copy is stored for |
| 958 | # display inside the presentation. Pictures must be less than 50MB in size, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 959 | # cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 960 | # format. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 961 | # |
| 962 | # The provided URL can be at most 2 kB in length. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 963 | "size": { # A width and height. # The original size of the picture fill. This field is read-only. |
| 964 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 965 | "magnitude": 3.14, # The magnitude. |
| 966 | "unit": "A String", # The units for magnitude. |
| 967 | }, |
| 968 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 969 | "magnitude": 3.14, # The magnitude. |
| 970 | "unit": "A String", # The units for magnitude. |
| 971 | }, |
| 972 | }, |
| 973 | }, |
| 974 | }, |
| 975 | "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from |
| 976 | # a parent page. If the page has no parent, the color scheme uses a default |
| 977 | # Slides color scheme. This field is read-only. |
| 978 | "colors": [ # The ThemeColorType and corresponding concrete color pairs. |
| 979 | { # A pair mapping a theme color type to the concrete color it represents. |
| 980 | "color": { # An RGB color. # The concrete color corresponding to the theme color type above. |
| 981 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 982 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 983 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 984 | }, |
| 985 | "type": "A String", # The type of the theme color. |
| 986 | }, |
| 987 | ], |
| 988 | }, |
| 989 | }, |
| 990 | "fields": "A String", # The fields that should be updated. |
| 991 | # |
| 992 | # At least one field must be specified. The root `pageProperties` is |
| 993 | # implied and should not be specified. A single `"*"` can be used as |
| 994 | # short-hand for listing every field. |
| 995 | # |
| 996 | # For example to update the page background solid fill color, set `fields` |
| 997 | # to `"pageBackgroundFill.solidFill.color"`. |
| 998 | # |
| 999 | # To reset a property to its default value, include its field name in the |
| 1000 | # field mask but leave the field itself unset. |
| 1001 | "objectId": "A String", # The object ID of the page the update is applied to. |
| 1002 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1003 | "updateTextStyle": { # Update the styling of text in a Shape or # Updates the styling of text within a Shape or Table. |
| 1004 | # Table. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1005 | "fields": "A String", # The fields that should be updated. |
| 1006 | # |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1007 | # At least one field must be specified. The root `style` is implied and |
| 1008 | # should not be specified. A single `"*"` can be used as short-hand for |
| 1009 | # listing every field. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1010 | # |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1011 | # For example, to update the text style to bold, set `fields` to `"bold"`. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1012 | # |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1013 | # To reset a property to its default value, include its field name in the |
| 1014 | # field mask but leave the field itself unset. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1015 | "style": { # Represents the styling that can be applied to a TextRun. # The style(s) to set on the text. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1016 | # |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1017 | # If the value for a particular style matches that of the parent, that style |
| 1018 | # will be set to inherit. |
| 1019 | # |
| 1020 | # Certain text style changes may cause other changes meant to mirror the |
| 1021 | # behavior of the Slides editor. See the documentation of |
| 1022 | # TextStyle for more information. |
| 1023 | # |
| 1024 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 1025 | # inherited from the parent. Which text styles are inherited depend on the |
| 1026 | # nesting level of lists: |
| 1027 | # |
| 1028 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 1029 | # from the the newline character in the paragraph at the 0 nesting level of |
| 1030 | # the list inside the parent placeholder. |
| 1031 | # * A text run in a paragraph that is in a list will inherit its text style |
| 1032 | # from the newline character in the paragraph at its corresponding nesting |
| 1033 | # level of the list inside the parent placeholder. |
| 1034 | # |
| 1035 | # Inherited text styles are represented as unset fields in this message. If |
| 1036 | # text is contained in a shape without a parent placeholder, unsetting these |
| 1037 | # fields will revert the style to a value matching the defaults in the Slides |
| 1038 | # editor. |
| 1039 | "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 |
| 1040 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1041 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1042 | # a transparent color. |
| 1043 | "themeColor": "A String", # An opaque theme color. |
| 1044 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1045 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1046 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1047 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1048 | }, |
| 1049 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 1050 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1051 | "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 |
| 1052 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1053 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1054 | # a transparent color. |
| 1055 | "themeColor": "A String", # An opaque theme color. |
| 1056 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1057 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1058 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1059 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1060 | }, |
| 1061 | }, |
| 1062 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1063 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 1064 | # |
| 1065 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 1066 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 1067 | # The `font_size` itself is not affected by changes in this field. |
| 1068 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 1069 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 1070 | # |
| 1071 | # This field is an extension of `font_family` meant to support explicit font |
| 1072 | # weights without breaking backwards compatibility. As such, when reading the |
| 1073 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 1074 | # will always be equal to that of `font_family`. However, when writing, if |
| 1075 | # both fields are included in the field mask (either explicitly or through |
| 1076 | # the wildcard `"*"`), their values are reconciled as follows: |
| 1077 | # |
| 1078 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 1079 | # `font_family` is applied with weight `400` ("normal"). |
| 1080 | # * If both fields are set, the value of `font_family` must match that of |
| 1081 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 1082 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 1083 | # returned. |
| 1084 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 1085 | # family and weight of `weighted_font_family` is applied. |
| 1086 | # * If neither field is set, the font family and weight of the text inherit |
| 1087 | # from the parent. Note that these properties cannot inherit separately |
| 1088 | # from each other. |
| 1089 | # |
| 1090 | # If an update request specifies values for both `weighted_font_family` and |
| 1091 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 1092 | # |
| 1093 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 1094 | # |
| 1095 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 1096 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 1097 | # is returned. |
| 1098 | "fontFamily": "A String", # The font family of the text. |
| 1099 | # |
| 1100 | # The font family can be any font from the Font menu in Slides or from |
| 1101 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1102 | # unrecognized, the text is rendered in `Arial`. |
| 1103 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 1104 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 1105 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1106 | # Specification, |
| 1107 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1108 | # with non-numerical values disallowed. Weights greater than or equal to |
| 1109 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 1110 | # default value is `400` ("normal"). |
| 1111 | }, |
| 1112 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 1113 | "fontFamily": "A String", # The font family of the text. |
| 1114 | # |
| 1115 | # The font family can be any font from the Font menu in Slides or from |
| 1116 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1117 | # unrecognized, the text is rendered in `Arial`. |
| 1118 | # |
| 1119 | # Some fonts can affect the weight of the text. If an update request |
| 1120 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 1121 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1122 | "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 |
| 1123 | # points. |
| 1124 | "magnitude": 3.14, # The magnitude. |
| 1125 | "unit": "A String", # The units for magnitude. |
| 1126 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1127 | "italic": True or False, # Whether or not the text is italicized. |
| 1128 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 1129 | # are not inherited from parent text. |
| 1130 | # |
| 1131 | # Changing the link in an update request causes some other changes to the |
| 1132 | # text style of the range: |
| 1133 | # |
| 1134 | # * When setting a link, the text foreground color will be set to |
| 1135 | # ThemeColorType.HYPERLINK and the text will |
| 1136 | # be underlined. If these fields are modified in the same |
| 1137 | # request, those values will be used instead of the link defaults. |
| 1138 | # * Setting a link on a text range that overlaps with an existing link will |
| 1139 | # also update the existing link to point to the new URL. |
| 1140 | # * Links are not settable on newline characters. As a result, setting a link |
| 1141 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 1142 | # will separate the newline character(s) into their own text runs. The |
| 1143 | # link will be applied separately to the runs before and after the newline. |
| 1144 | # * Removing a link will update the text style of the range to match the |
| 1145 | # style of the preceding text (or the default text styles if the preceding |
| 1146 | # text is another link) unless different styles are being set in the same |
| 1147 | # request. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 1148 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 1149 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 1150 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1151 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 1152 | # presentation with this ID. A page with this ID may not exist. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 1153 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 1154 | # addressed by its position. |
| 1155 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1156 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1157 | "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] | 1158 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1159 | "textRange": { # Specifies a contiguous range of an indexed collection, such as characters in # The range of text to style. |
| 1160 | # |
| 1161 | # The range may be extended to include adjacent newlines. |
| 1162 | # |
| 1163 | # If the range fully contains a paragraph belonging to a list, the |
| 1164 | # paragraph's bullet is also updated with the matching text style. |
| 1165 | # text. |
| 1166 | "endIndex": 42, # The optional zero-based index of the end of the collection. |
| 1167 | # Required for `FIXED_RANGE` ranges. |
| 1168 | "startIndex": 42, # The optional zero-based index of the beginning of the collection. |
| 1169 | # Required for `FIXED_RANGE` and `FROM_START_INDEX` ranges. |
| 1170 | "type": "A String", # The type of range. |
| 1171 | }, |
| 1172 | "objectId": "A String", # The object ID of the shape or table with the text to be styled. |
| 1173 | "cellLocation": { # A location of a single table cell within a table. # The location of the cell in the table containing the text to style. If |
| 1174 | # `object_id` refers to a table, `cell_location` must have a value. |
| 1175 | # Otherwise, it must not. |
| 1176 | "rowIndex": 42, # The 0-based row index. |
| 1177 | "columnIndex": 42, # The 0-based column index. |
| 1178 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1179 | }, |
| 1180 | "updateTableCellProperties": { # Update the properties of a TableCell. # Updates the properties of a TableCell. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1181 | "fields": "A String", # The fields that should be updated. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1182 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1183 | # At least one field must be specified. The root `tableCellProperties` is |
| 1184 | # implied and should not be specified. A single `"*"` can be used as |
| 1185 | # short-hand for listing every field. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1186 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1187 | # For example to update the table cell background solid fill color, set |
| 1188 | # `fields` to `"tableCellBackgroundFill.solidFill.color"`. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1189 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1190 | # To reset a property to its default value, include its field name in the |
| 1191 | # field mask but leave the field itself unset. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1192 | "tableCellProperties": { # The properties of the TableCell. # The table cell properties to update. |
| 1193 | "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill |
| 1194 | # for newly created table cells in the Slides editor. |
| 1195 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 1196 | # specified color value. |
| 1197 | # |
| 1198 | # If any field is unset, its value may be inherited from a parent placeholder |
| 1199 | # if it exists. |
| 1200 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 1201 | "themeColor": "A String", # An opaque theme color. |
| 1202 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1203 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1204 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1205 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1206 | }, |
| 1207 | }, |
| 1208 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 1209 | # That is, the final pixel color is defined by the equation: |
| 1210 | # |
| 1211 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 1212 | # |
| 1213 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 1214 | # a value of 0.0 corresponds to a completely transparent color. |
| 1215 | }, |
| 1216 | "propertyState": "A String", # The background fill property state. |
| 1217 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1218 | # Updating the fill on a table cell will implicitly update this field |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1219 | # to `RENDERED`, unless another value is specified in the same request. To |
| 1220 | # have no fill on a table cell, set this field to `NOT_RENDERED`. In this |
| 1221 | # case, any other fill fields set in the same request will be ignored. |
| 1222 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1223 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 1224 | # matches the alignment for newly created table cells in the Slides editor. |
| 1225 | }, |
| 1226 | "objectId": "A String", # The object ID of the table. |
| 1227 | "tableRange": { # A table range represents a reference to a subset of a table. # The table range representing the subset of the table to which the updates |
| 1228 | # are applied. If a table range is not specified, the updates will apply to |
| 1229 | # the entire table. |
| 1230 | # |
| 1231 | # It's important to note that the cells specified by a table range do not |
| 1232 | # necessarily form a rectangle. For example, let's say we have a 3 x 3 table |
| 1233 | # where all the cells of the last row are merged together. The table looks |
| 1234 | # like this: |
| 1235 | # |
| 1236 | # |
| 1237 | # [ ] |
| 1238 | # |
| 1239 | # A table range with location = (0, 0), row span = 3 and column span = 2 |
| 1240 | # specifies the following cells: |
| 1241 | # |
| 1242 | # x x |
| 1243 | # [ x x x ] |
| 1244 | "rowSpan": 42, # The row span of the table range. |
| 1245 | "columnSpan": 42, # The column span of the table range. |
| 1246 | "location": { # A location of a single table cell within a table. # The starting location of the table range. |
| 1247 | "rowIndex": 42, # The 0-based row index. |
| 1248 | "columnIndex": 42, # The 0-based column index. |
| 1249 | }, |
| 1250 | }, |
| 1251 | }, |
| 1252 | "groupObjects": { # Groups objects to create an object group. For example, groups PageElements to create a Group on the same page as all the children. # Groups objects, such as page elements. |
| 1253 | "groupObjectId": "A String", # A user-supplied object ID for the group to be created. |
| 1254 | # |
| 1255 | # If you specify an ID, it must be unique among all pages and page elements |
| 1256 | # in the presentation. The ID must start with an alphanumeric character or an |
| 1257 | # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters |
| 1258 | # may include those as well as a hyphen or colon (matches regex |
| 1259 | # `[a-zA-Z0-9_-:]`). |
| 1260 | # The length of the ID must not be less than 5 or greater than 50. |
| 1261 | # |
| 1262 | # If you don't specify an ID, a unique one is generated. |
| 1263 | "childrenObjectIds": [ # The object IDs of the objects to group. |
| 1264 | # |
| 1265 | # Only page elements can be grouped. There should be at least two page |
| 1266 | # elements on the same page that are not already in another group. Some page |
| 1267 | # elements, such as videos, tables and placeholder shapes cannot be grouped. |
| 1268 | "A String", |
| 1269 | ], |
| 1270 | }, |
| 1271 | "updateTableRowProperties": { # Updates the properties of a Table row. # Updates the properties of a Table row. |
| 1272 | "rowIndices": [ # The list of zero-based indices specifying which rows to update. If no |
| 1273 | # indices are provided, all rows in the table will be updated. |
| 1274 | 42, |
| 1275 | ], |
| 1276 | "tableRowProperties": { # Properties of each row in a table. # The table row properties to update. |
| 1277 | "minRowHeight": { # A magnitude in a single direction in the specified units. # Minimum height of the row. The row will be rendered in the Slides editor at |
| 1278 | # a height equal to or greater than this value in order to show all the text |
| 1279 | # in the row's cell(s). |
| 1280 | "magnitude": 3.14, # The magnitude. |
| 1281 | "unit": "A String", # The units for magnitude. |
| 1282 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1283 | }, |
| 1284 | "objectId": "A String", # The object ID of the table. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1285 | "fields": "A String", # The fields that should be updated. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1286 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1287 | # At least one field must be specified. The root `tableRowProperties` is |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1288 | # implied and should not be specified. A single `"*"` can be used as |
| 1289 | # short-hand for listing every field. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1290 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1291 | # For example to update the minimum row height, set `fields` to |
| 1292 | # `"min_row_height"`. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1293 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1294 | # If '"min_row_height"' is included in the field mask but the property is |
| 1295 | # left unset, the minimum row height will default to 0. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1296 | }, |
| 1297 | "replaceAllShapesWithImage": { # Replaces all shapes that match the given criteria with the provided image. # Replaces all shapes matching some criteria with an image. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1298 | # |
| 1299 | # The images replacing the shapes are rectangular after being inserted into |
| 1300 | # the presentation and do not take on the forms of the shapes. |
| 1301 | "imageUrl": "A String", # The image URL. |
| 1302 | # |
| 1303 | # The image is fetched once at insertion time and a copy is stored for |
| 1304 | # display inside the presentation. Images must be less than 50MB in size, |
| 1305 | # cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF |
| 1306 | # format. |
| 1307 | # |
| 1308 | # The provided URL can be at most 2 kB in length. The URL itself is saved |
| 1309 | # with the image, and exposed via the Image.source_url field. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1310 | "pageObjectIds": [ # If non-empty, limits the matches to page elements only on the given pages. |
| 1311 | # |
| 1312 | # Returns a 400 bad request error if given the page object ID of a |
| 1313 | # notes page or a |
| 1314 | # notes master, or if a |
| 1315 | # page with that object ID doesn't exist in the presentation. |
| 1316 | "A String", |
| 1317 | ], |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1318 | "imageReplaceMethod": "A String", # The image replace method. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1319 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1320 | # If you specify both a `replace_method` and an `image_replace_method`, the |
| 1321 | # `image_replace_method` takes precedence. |
| 1322 | # |
| 1323 | # If you do not specify a value for `image_replace_method`, but specify a |
| 1324 | # value for `replace_method`, then the specified `replace_method` value is |
| 1325 | # used. |
| 1326 | # |
| 1327 | # If you do not specify either, then CENTER_INSIDE is used. |
| 1328 | "containsText": { # A criteria that matches a specific string of text in a shape or table. # If set, this request will replace all of the shapes that contain the |
| 1329 | # given text. |
| 1330 | "text": "A String", # The text to search for in the shape or table. |
| 1331 | "matchCase": True or False, # Indicates whether the search should respect case: |
| 1332 | # |
| 1333 | # - `True`: the search is case sensitive. |
| 1334 | # - `False`: the search is case insensitive. |
| 1335 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1336 | "replaceMethod": "A String", # The replace method. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1337 | # |
| 1338 | # <b>Deprecated</b>: use `image_replace_method` instead. |
| 1339 | # |
| 1340 | # If you specify both a `replace_method` and an `image_replace_method`, the |
| 1341 | # `image_replace_method` takes precedence. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1342 | }, |
| 1343 | "updateSlidesPosition": { # Updates the position of slides in the presentation. # Updates the position of a set of slides in the presentation. |
| 1344 | "slideObjectIds": [ # The IDs of the slides in the presentation that should be moved. |
| 1345 | # The slides in this list must be in existing presentation order, without |
| 1346 | # duplicates. |
| 1347 | "A String", |
| 1348 | ], |
| 1349 | "insertionIndex": 42, # The index where the slides should be inserted, based on the slide |
| 1350 | # arrangement before the move takes place. Must be between zero and the |
| 1351 | # number of slides in the presentation, inclusive. |
| 1352 | }, |
| 1353 | "duplicateObject": { # Duplicates a slide or page element. # Duplicates a slide or page element. |
| 1354 | # |
| 1355 | # When duplicating a slide, the duplicate slide will be created immediately |
| 1356 | # following the specified slide. When duplicating a page element, the duplicate |
| 1357 | # will be placed on the same page at the same position as the original. |
| 1358 | "objectIds": { # The object being duplicated may contain other objects, for example when |
| 1359 | # duplicating a slide or a group page element. This map defines how the IDs |
| 1360 | # of duplicated objects are generated: the keys are the IDs of the original |
| 1361 | # objects and its values are the IDs that will be assigned to the |
| 1362 | # corresponding duplicate object. The ID of the source object's duplicate |
| 1363 | # may be specified in this map as well, using the same value of the |
| 1364 | # `object_id` field as a key and the newly desired ID as the value. |
| 1365 | # |
| 1366 | # All keys must correspond to existing IDs in the presentation. All values |
| 1367 | # must be unique in the presentation and must start with an alphanumeric |
| 1368 | # character or an underscore (matches regex `[a-zA-Z0-9_]`); remaining |
| 1369 | # characters may include those as well as a hyphen or colon (matches regex |
| 1370 | # `[a-zA-Z0-9_-:]`). The length of the new ID must not be less than 5 or |
| 1371 | # greater than 50. |
| 1372 | # |
| 1373 | # If any IDs of source objects are omitted from the map, a new random ID will |
| 1374 | # be assigned. If the map is empty or unset, all duplicate objects will |
| 1375 | # receive a new random ID. |
| 1376 | "a_key": "A String", |
| 1377 | }, |
| 1378 | "objectId": "A String", # The ID of the object to duplicate. |
| 1379 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1380 | "updateParagraphStyle": { # Updates the styling for all of the paragraphs within a Shape or Table that # Updates the styling of paragraphs within a Shape or Table. |
| 1381 | # overlap with the given text index range. |
| 1382 | "fields": "A String", # The fields that should be updated. |
| 1383 | # |
| 1384 | # At least one field must be specified. The root `style` is implied and |
| 1385 | # should not be specified. A single `"*"` can be used as short-hand for |
| 1386 | # listing every field. |
| 1387 | # |
| 1388 | # For example, to update the paragraph alignment, set `fields` to |
| 1389 | # `"alignment"`. |
| 1390 | # |
| 1391 | # To reset a property to its default value, include its field name in the |
| 1392 | # field mask but leave the field itself unset. |
| 1393 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style. |
| 1394 | # |
| 1395 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 1396 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 1397 | # nesting level of lists: |
| 1398 | # |
| 1399 | # * A paragraph not in a list will inherit its paragraph style from the |
| 1400 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 1401 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 1402 | # at its corresponding nesting level of the list inside the parent |
| 1403 | # placeholder. |
| 1404 | # |
| 1405 | # Inherited paragraph styles are represented as unset fields in this message. |
| 1406 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 1407 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1408 | # LEFT_TO_RIGHT since |
| 1409 | # text direction is not inherited. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1410 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1411 | # inherited from the parent. |
| 1412 | "magnitude": 3.14, # The magnitude. |
| 1413 | "unit": "A String", # The units for magnitude. |
| 1414 | }, |
| 1415 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 1416 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 1417 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 1418 | # the start of the text, based on the current text direction. If unset, the |
| 1419 | # value is inherited from the parent. |
| 1420 | "magnitude": 3.14, # The magnitude. |
| 1421 | "unit": "A String", # The units for magnitude. |
| 1422 | }, |
| 1423 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 1424 | # inherited from the parent. |
| 1425 | "magnitude": 3.14, # The magnitude. |
| 1426 | "unit": "A String", # The units for magnitude. |
| 1427 | }, |
| 1428 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 1429 | # the end of the text, based on the current text direction. If unset, the |
| 1430 | # value is inherited from the parent. |
| 1431 | "magnitude": 3.14, # The magnitude. |
| 1432 | "unit": "A String", # The units for magnitude. |
| 1433 | }, |
| 1434 | "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. |
| 1435 | # If unset, the value is inherited from the parent. |
| 1436 | "magnitude": 3.14, # The magnitude. |
| 1437 | "unit": "A String", # The units for magnitude. |
| 1438 | }, |
| 1439 | "alignment": "A String", # The text alignment for this paragraph. |
| 1440 | }, |
| 1441 | "textRange": { # Specifies a contiguous range of an indexed collection, such as characters in # The range of text containing the paragraph(s) to style. |
| 1442 | # text. |
| 1443 | "endIndex": 42, # The optional zero-based index of the end of the collection. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1444 | # Required for `FIXED_RANGE` ranges. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1445 | "startIndex": 42, # The optional zero-based index of the beginning of the collection. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1446 | # Required for `FIXED_RANGE` and `FROM_START_INDEX` ranges. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1447 | "type": "A String", # The type of range. |
| 1448 | }, |
| 1449 | "objectId": "A String", # The object ID of the shape or table with the text to be styled. |
| 1450 | "cellLocation": { # A location of a single table cell within a table. # The location of the cell in the table containing the paragraph(s) to |
| 1451 | # style. If `object_id` refers to a table, `cell_location` must have a value. |
| 1452 | # Otherwise, it must not. |
| 1453 | "rowIndex": 42, # The 0-based row index. |
| 1454 | "columnIndex": 42, # The 0-based column index. |
| 1455 | }, |
| 1456 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1457 | "refreshSheetsChart": { # Refreshes an embedded Google Sheets chart by replacing it with the latest # Refreshes a Google Sheets chart. |
| 1458 | # version of the chart from Google Sheets. |
| 1459 | # |
| 1460 | # NOTE: Refreshing charts requires at least one of the spreadsheets.readonly, |
| 1461 | # spreadsheets, drive.readonly, or drive OAuth scopes. |
| 1462 | "objectId": "A String", # The object ID of the chart to refresh. |
| 1463 | }, |
| 1464 | "replaceAllText": { # Replaces all instances of text matching a criteria with replace text. # Replaces all instances of specified text. |
| 1465 | "containsText": { # A criteria that matches a specific string of text in a shape or table. # Finds text in a shape matching this substring. |
| 1466 | "text": "A String", # The text to search for in the shape or table. |
| 1467 | "matchCase": True or False, # Indicates whether the search should respect case: |
| 1468 | # |
| 1469 | # - `True`: the search is case sensitive. |
| 1470 | # - `False`: the search is case insensitive. |
| 1471 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1472 | "pageObjectIds": [ # If non-empty, limits the matches to page elements only on the given pages. |
| 1473 | # |
| 1474 | # Returns a 400 bad request error if given the page object ID of a |
| 1475 | # notes master, |
| 1476 | # or if a page with that object ID doesn't exist in the presentation. |
| 1477 | "A String", |
| 1478 | ], |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1479 | "replaceText": "A String", # The text that will replace the matched text. |
| 1480 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1481 | "updateTableBorderProperties": { # Updates the properties of the table borders in a Table. # Updates the properties of the table borders in a Table. |
| 1482 | "tableBorderProperties": { # The border styling properties of the # The table border properties to update. |
| 1483 | # TableBorderCell. |
| 1484 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 1485 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 1486 | # specified color value. |
| 1487 | # |
| 1488 | # If any field is unset, its value may be inherited from a parent placeholder |
| 1489 | # if it exists. |
| 1490 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 1491 | "themeColor": "A String", # An opaque theme color. |
| 1492 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1493 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1494 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1495 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1496 | }, |
| 1497 | }, |
| 1498 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 1499 | # That is, the final pixel color is defined by the equation: |
| 1500 | # |
| 1501 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 1502 | # |
| 1503 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 1504 | # a value of 0.0 corresponds to a completely transparent color. |
| 1505 | }, |
| 1506 | }, |
| 1507 | "dashStyle": "A String", # The dash style of the border. |
| 1508 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 1509 | "magnitude": 3.14, # The magnitude. |
| 1510 | "unit": "A String", # The units for magnitude. |
| 1511 | }, |
| 1512 | }, |
| 1513 | "fields": "A String", # The fields that should be updated. |
| 1514 | # |
| 1515 | # At least one field must be specified. The root `tableBorderProperties` is |
| 1516 | # implied and should not be specified. A single `"*"` can be used as |
| 1517 | # short-hand for listing every field. |
| 1518 | # |
| 1519 | # For example to update the table border solid fill color, set |
| 1520 | # `fields` to `"tableBorderFill.solidFill.color"`. |
| 1521 | # |
| 1522 | # To reset a property to its default value, include its field name in the |
| 1523 | # field mask but leave the field itself unset. |
| 1524 | "borderPosition": "A String", # The border position in the table range the updates should apply to. If a |
| 1525 | # border position is not specified, the updates will apply to all borders in |
| 1526 | # the table range. |
| 1527 | "objectId": "A String", # The object ID of the table. |
| 1528 | "tableRange": { # A table range represents a reference to a subset of a table. # The table range representing the subset of the table to which the updates |
| 1529 | # are applied. If a table range is not specified, the updates will apply to |
| 1530 | # the entire table. |
| 1531 | # |
| 1532 | # It's important to note that the cells specified by a table range do not |
| 1533 | # necessarily form a rectangle. For example, let's say we have a 3 x 3 table |
| 1534 | # where all the cells of the last row are merged together. The table looks |
| 1535 | # like this: |
| 1536 | # |
| 1537 | # |
| 1538 | # [ ] |
| 1539 | # |
| 1540 | # A table range with location = (0, 0), row span = 3 and column span = 2 |
| 1541 | # specifies the following cells: |
| 1542 | # |
| 1543 | # x x |
| 1544 | # [ x x x ] |
| 1545 | "rowSpan": 42, # The row span of the table range. |
| 1546 | "columnSpan": 42, # The column span of the table range. |
| 1547 | "location": { # A location of a single table cell within a table. # The starting location of the table range. |
| 1548 | "rowIndex": 42, # The 0-based row index. |
| 1549 | "columnIndex": 42, # The 0-based column index. |
| 1550 | }, |
| 1551 | }, |
| 1552 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1553 | "createSheetsChart": { # Creates an embedded Google Sheets chart. # Creates an embedded Google Sheets chart. |
| 1554 | # |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1555 | # NOTE: Chart creation requires at least one of the spreadsheets.readonly, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1556 | # spreadsheets, drive.readonly, drive.file, or drive OAuth scopes. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1557 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the chart. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1558 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1559 | "linkingMode": "A String", # The mode with which the chart is linked to the source spreadsheet. When |
| 1560 | # not specified, the chart will be an image that is not linked. |
| 1561 | "elementProperties": { # Common properties for a page element. # The element properties for the chart. |
| 1562 | # |
| 1563 | # When the aspect ratio of the provided size does not match the chart aspect |
| 1564 | # ratio, the chart is scaled and centered with respect to the size in order |
| 1565 | # to maintain aspect ratio. The provided transform is applied after this |
| 1566 | # operation. |
| 1567 | # |
| 1568 | # Note: When you initially create a |
| 1569 | # PageElement, the API may modify |
| 1570 | # the values of both `size` and `transform`, but the |
| 1571 | # visual size will be unchanged. |
| 1572 | "pageObjectId": "A String", # The object ID of the page where the element is located. |
| 1573 | "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform for the element. |
| 1574 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 1575 | # according to: |
| 1576 | # |
| 1577 | # x' x = shear_y scale_y translate_y |
| 1578 | # 1 [ 1 ] |
| 1579 | # |
| 1580 | # After transformation, |
| 1581 | # |
| 1582 | # x' = scale_x * x + shear_x * y + translate_x; |
| 1583 | # y' = scale_y * y + shear_y * x + translate_y; |
| 1584 | # |
| 1585 | # This message is therefore composed of these six matrix elements. |
| 1586 | "translateX": 3.14, # The X coordinate translation element. |
| 1587 | "translateY": 3.14, # The Y coordinate translation element. |
| 1588 | "scaleX": 3.14, # The X coordinate scaling element. |
| 1589 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 1590 | "shearY": 3.14, # The Y coordinate shearing element. |
| 1591 | "shearX": 3.14, # The X coordinate shearing element. |
| 1592 | "unit": "A String", # The units for translate elements. |
| 1593 | }, |
| 1594 | "size": { # A width and height. # The size of the element. |
| 1595 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 1596 | "magnitude": 3.14, # The magnitude. |
| 1597 | "unit": "A String", # The units for magnitude. |
| 1598 | }, |
| 1599 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 1600 | "magnitude": 3.14, # The magnitude. |
| 1601 | "unit": "A String", # The units for magnitude. |
| 1602 | }, |
| 1603 | }, |
| 1604 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 1605 | "objectId": "A String", # A user-supplied object ID. |
| 1606 | # |
| 1607 | # If specified, the ID must be unique among all pages and page elements in |
| 1608 | # the presentation. The ID should start with a word character [a-zA-Z0-9_] |
| 1609 | # and then followed by any number of the following characters [a-zA-Z0-9_-:]. |
| 1610 | # The length of the ID should not be less than 5 or greater than 50. |
| 1611 | # If empty, a unique identifier will be generated. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1612 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1613 | "unmergeTableCells": { # Unmerges cells in a Table. # Unmerges cells in a Table. |
| 1614 | "tableRange": { # A table range represents a reference to a subset of a table. # The table range specifying which cells of the table to unmerge. |
| 1615 | # |
| 1616 | # All merged cells in this range will be unmerged, and cells that are already |
| 1617 | # unmerged will not be affected. If the range has no merged cells, the |
| 1618 | # request will do nothing. If there is text in any of the merged cells, the |
| 1619 | # text will remain in the upper-left ("head") cell of the resulting block of |
| 1620 | # unmerged cells. |
| 1621 | # |
| 1622 | # It's important to note that the cells specified by a table range do not |
| 1623 | # necessarily form a rectangle. For example, let's say we have a 3 x 3 table |
| 1624 | # where all the cells of the last row are merged together. The table looks |
| 1625 | # like this: |
| 1626 | # |
| 1627 | # |
| 1628 | # [ ] |
| 1629 | # |
| 1630 | # A table range with location = (0, 0), row span = 3 and column span = 2 |
| 1631 | # specifies the following cells: |
| 1632 | # |
| 1633 | # x x |
| 1634 | # [ x x x ] |
| 1635 | "rowSpan": 42, # The row span of the table range. |
| 1636 | "columnSpan": 42, # The column span of the table range. |
| 1637 | "location": { # A location of a single table cell within a table. # The starting location of the table range. |
| 1638 | "rowIndex": 42, # The 0-based row index. |
| 1639 | "columnIndex": 42, # The 0-based column index. |
| 1640 | }, |
| 1641 | }, |
| 1642 | "objectId": "A String", # The object ID of the table. |
| 1643 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1644 | "createSlide": { # Creates a new slide. # Creates a new slide. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1645 | "placeholderIdMappings": [ # An optional list of object ID mappings from the placeholder(s) on the layout to the placeholder(s) |
| 1646 | # that will be created on the new slide from that specified layout. Can only |
| 1647 | # be used when `slide_layout_reference` is specified. |
| 1648 | { # The user-specified ID mapping for a placeholder that will be created on a |
| 1649 | # slide from a specified layout. |
| 1650 | "layoutPlaceholder": { # The placeholder information that uniquely identifies a placeholder shape. # The placeholder on a layout that will be applied to a slide. Only type and index are needed. For example, a |
| 1651 | # predefined `TITLE_AND_BODY` layout may usually have a TITLE placeholder |
| 1652 | # with index 0 and a BODY placeholder with index 0. |
| 1653 | "parentObjectId": "A String", # The object ID of this shape's parent placeholder. |
| 1654 | # If unset, the parent placeholder shape does not exist, so the shape does |
| 1655 | # not inherit properties from any other shape. |
| 1656 | "index": 42, # The index of the placeholder. If the same placeholder types are present in |
| 1657 | # the same page, they would have different index values. |
| 1658 | "type": "A String", # The type of the placeholder. |
| 1659 | }, |
| 1660 | "objectId": "A String", # A user-supplied object ID for the placeholder identified above that to be |
| 1661 | # created onto a slide. |
| 1662 | # |
| 1663 | # If you specify an ID, it must be unique among all pages and page elements |
| 1664 | # in the presentation. The ID must start with an alphanumeric character or an |
| 1665 | # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters |
| 1666 | # may include those as well as a hyphen or colon (matches regex |
| 1667 | # `[a-zA-Z0-9_-:]`). |
| 1668 | # The length of the ID must not be less than 5 or greater than 50. |
| 1669 | # |
| 1670 | # If you don't specify an ID, a unique one is generated. |
| 1671 | "layoutPlaceholderObjectId": "A String", # The object ID of the placeholder on a layout that will be applied |
| 1672 | # to a slide. |
| 1673 | }, |
| 1674 | ], |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1675 | "slideLayoutReference": { # Slide layout reference. This may reference either: # Layout reference of the slide to be inserted, based on the *current |
| 1676 | # master*, which is one of the following: |
| 1677 | # |
| 1678 | # - The master of the previous slide index. |
| 1679 | # - The master of the first slide, if the insertion_index is zero. |
| 1680 | # - The first master in the presentation, if there are no slides. |
| 1681 | # |
| 1682 | # If the LayoutReference is not found in the current master, a 400 bad |
| 1683 | # request error is returned. |
| 1684 | # |
| 1685 | # If you don't specify a layout reference, then the new slide will use the |
| 1686 | # predefined layout `BLANK`. |
| 1687 | # |
| 1688 | # - A predefined layout |
| 1689 | # - One of the layouts in the presentation. |
| 1690 | "predefinedLayout": "A String", # Predefined layout. |
| 1691 | "layoutId": "A String", # Layout ID: the object ID of one of the layouts in the presentation. |
| 1692 | }, |
| 1693 | "objectId": "A String", # A user-supplied object ID. |
| 1694 | # |
| 1695 | # If you specify an ID, it must be unique among all pages and page elements |
| 1696 | # in the presentation. The ID must start with an alphanumeric character or an |
| 1697 | # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters |
| 1698 | # may include those as well as a hyphen or colon (matches regex |
| 1699 | # `[a-zA-Z0-9_-:]`). |
| 1700 | # The length of the ID must not be less than 5 or greater than 50. |
| 1701 | # |
| 1702 | # If you don't specify an ID, a unique one is generated. |
| 1703 | "insertionIndex": 42, # The optional zero-based index indicating where to insert the slides. |
| 1704 | # |
| 1705 | # If you don't specify an index, the new slide is created at the end. |
| 1706 | }, |
| 1707 | "deleteObject": { # Deletes an object, either pages or # Deletes a page or page element from the presentation. |
| 1708 | # page elements, from the |
| 1709 | # presentation. |
| 1710 | "objectId": "A String", # The object ID of the page or page element to delete. |
| 1711 | # |
| 1712 | # If after a delete operation a group contains |
| 1713 | # only 1 or no page elements, the group is also deleted. |
| 1714 | # |
| 1715 | # If a placeholder is deleted on a layout, any empty inheriting shapes are |
| 1716 | # also deleted. |
| 1717 | }, |
| 1718 | "updateShapeProperties": { # Update the properties of a Shape. # Updates the properties of a Shape. |
| 1719 | "fields": "A String", # The fields that should be updated. |
| 1720 | # |
| 1721 | # At least one field must be specified. The root `shapeProperties` is |
| 1722 | # implied and should not be specified. A single `"*"` can be used as |
| 1723 | # short-hand for listing every field. |
| 1724 | # |
| 1725 | # For example to update the shape background solid fill color, set `fields` |
| 1726 | # to `"shapeBackgroundFill.solidFill.color"`. |
| 1727 | # |
| 1728 | # To reset a property to its default value, include its field name in the |
| 1729 | # field mask but leave the field itself unset. |
| 1730 | "shapeProperties": { # The properties of a Shape. # The shape properties to update. |
| 1731 | # |
| 1732 | # If the shape is a placeholder shape as determined by the |
| 1733 | # placeholder field, then these |
| 1734 | # properties may be inherited from a parent placeholder shape. |
| 1735 | # Determining the rendered value of the property depends on the corresponding |
| 1736 | # property_state field value. |
| 1737 | "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from |
| 1738 | # a parent placeholder if it exists. If the shape has no parent, then the |
| 1739 | # default shadow matches the defaults for new shapes created in the Slides |
| 1740 | # editor. This property is read-only. |
| 1741 | # |
| 1742 | # If these fields are unset, they may be inherited from a parent placeholder |
| 1743 | # if it exists. If there is no parent, the fields will default to the value |
| 1744 | # used for new page elements created in the Slides editor, which may depend on |
| 1745 | # the page element kind. |
| 1746 | "color": { # A themeable solid color value. # The shadow color value. |
| 1747 | "themeColor": "A String", # An opaque theme color. |
| 1748 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1749 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1750 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1751 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1752 | }, |
| 1753 | }, |
| 1754 | "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, |
| 1755 | # relative to the alignment position. |
| 1756 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 1757 | # according to: |
| 1758 | # |
| 1759 | # x' x = shear_y scale_y translate_y |
| 1760 | # 1 [ 1 ] |
| 1761 | # |
| 1762 | # After transformation, |
| 1763 | # |
| 1764 | # x' = scale_x * x + shear_x * y + translate_x; |
| 1765 | # y' = scale_y * y + shear_y * x + translate_y; |
| 1766 | # |
| 1767 | # This message is therefore composed of these six matrix elements. |
| 1768 | "translateX": 3.14, # The X coordinate translation element. |
| 1769 | "translateY": 3.14, # The Y coordinate translation element. |
| 1770 | "scaleX": 3.14, # The X coordinate scaling element. |
| 1771 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 1772 | "shearY": 3.14, # The Y coordinate shearing element. |
| 1773 | "shearX": 3.14, # The X coordinate shearing element. |
| 1774 | "unit": "A String", # The units for translate elements. |
| 1775 | }, |
| 1776 | "propertyState": "A String", # The shadow property state. |
| 1777 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1778 | # Updating the shadow on a page element will implicitly update this field to |
| 1779 | # `RENDERED`, unless another value is specified in the same request. To have |
| 1780 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1781 | # case, any other shadow fields set in the same request will be ignored. |
| 1782 | "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 |
| 1783 | # shadow becomes. |
| 1784 | "magnitude": 3.14, # The magnitude. |
| 1785 | "unit": "A String", # The units for magnitude. |
| 1786 | }, |
| 1787 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1788 | "type": "A String", # The type of the shadow. This property is read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1789 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1790 | # scale and skew of the shadow. This property is read-only. |
| 1791 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 1792 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1793 | }, |
| 1794 | "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is |
| 1795 | # inherited from a parent placeholder if it exists. If the shape has no |
| 1796 | # parent, then the default background fill depends on the shape type, |
| 1797 | # matching the defaults for new shapes created in the Slides editor. |
| 1798 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 1799 | # specified color value. |
| 1800 | # |
| 1801 | # If any field is unset, its value may be inherited from a parent placeholder |
| 1802 | # if it exists. |
| 1803 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 1804 | "themeColor": "A String", # An opaque theme color. |
| 1805 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1806 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1807 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1808 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1809 | }, |
| 1810 | }, |
| 1811 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 1812 | # That is, the final pixel color is defined by the equation: |
| 1813 | # |
| 1814 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 1815 | # |
| 1816 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 1817 | # a value of 0.0 corresponds to a completely transparent color. |
| 1818 | }, |
| 1819 | "propertyState": "A String", # The background fill property state. |
| 1820 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1821 | # Updating the fill on a shape will implicitly update this field to |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1822 | # `RENDERED`, unless another value is specified in the same request. To |
| 1823 | # have no fill on a shape, set this field to `NOT_RENDERED`. In this case, |
| 1824 | # any other fill fields set in the same request will be ignored. |
| 1825 | }, |
| 1826 | "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links |
| 1827 | # are not inherited from parent placeholders. |
| 1828 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 1829 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 1830 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1831 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 1832 | # 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] | 1833 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 1834 | # addressed by its position. |
| 1835 | }, |
| 1836 | "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a |
| 1837 | # parent placeholder if it exists. If the shape has no parent, then the |
| 1838 | # default outline depends on the shape type, matching the defaults for |
| 1839 | # new shapes created in the Slides editor. |
| 1840 | # |
| 1841 | # If these fields are unset, they may be inherited from a parent placeholder |
| 1842 | # if it exists. If there is no parent, the fields will default to the value |
| 1843 | # used for new page elements created in the Slides editor, which may depend on |
| 1844 | # the page element kind. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1845 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 1846 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 1847 | # specified color value. |
| 1848 | # |
| 1849 | # If any field is unset, its value may be inherited from a parent placeholder |
| 1850 | # if it exists. |
| 1851 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 1852 | "themeColor": "A String", # An opaque theme color. |
| 1853 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1854 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1855 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1856 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1857 | }, |
| 1858 | }, |
| 1859 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 1860 | # That is, the final pixel color is defined by the equation: |
| 1861 | # |
| 1862 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 1863 | # |
| 1864 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 1865 | # a value of 0.0 corresponds to a completely transparent color. |
| 1866 | }, |
| 1867 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1868 | "propertyState": "A String", # The outline property state. |
| 1869 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1870 | # Updating the outline on a page element will implicitly update this field |
| 1871 | # to `RENDERED`, unless another value is specified in the same request. To |
| 1872 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1873 | # this case, any other outline fields set in the same request will be |
| 1874 | # ignored. |
| 1875 | "dashStyle": "A String", # The dash style of the outline. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1876 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 1877 | "magnitude": 3.14, # The magnitude. |
| 1878 | "unit": "A String", # The units for magnitude. |
| 1879 | }, |
| 1880 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1881 | "contentAlignment": "A String", # The alignment of the content in the shape. If unspecified, |
| 1882 | # the alignment is inherited from a parent placeholder if it exists. If the |
| 1883 | # shape has no parent, the default alignment matches the alignment for new |
| 1884 | # shapes created in the Slides editor. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1885 | }, |
| 1886 | "objectId": "A String", # The object ID of the shape the updates are applied to. |
| 1887 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1888 | "updateTableColumnProperties": { # Updates the properties of a Table column. # Updates the properties of a Table |
| 1889 | # column. |
| 1890 | "columnIndices": [ # The list of zero-based indices specifying which columns to update. If no |
| 1891 | # indices are provided, all columns in the table will be updated. |
| 1892 | 42, |
| 1893 | ], |
| 1894 | "fields": "A String", # The fields that should be updated. |
| 1895 | # |
| 1896 | # At least one field must be specified. The root `tableColumnProperties` is |
| 1897 | # implied and should not be specified. A single `"*"` can be used as |
| 1898 | # short-hand for listing every field. |
| 1899 | # |
| 1900 | # For example to update the column width, set `fields` to `"column_width"`. |
| 1901 | # |
| 1902 | # If '"column_width"' is included in the field mask but the property is left |
| 1903 | # unset, the column width will default to 406,400 EMU (32 points). |
| 1904 | "tableColumnProperties": { # Properties of each column in a table. # The table column properties to update. |
| 1905 | # |
| 1906 | # If the value of `table_column_properties#column_width` in the request is |
| 1907 | # less than 406,400 EMU (32 points), a 400 bad request error is returned. |
| 1908 | "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column. |
| 1909 | "magnitude": 3.14, # The magnitude. |
| 1910 | "unit": "A String", # The units for magnitude. |
| 1911 | }, |
| 1912 | }, |
| 1913 | "objectId": "A String", # The object ID of the table. |
| 1914 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1915 | "createShape": { # Creates a new shape. # Creates a new shape. |
| 1916 | "elementProperties": { # Common properties for a page element. # The element properties for the shape. |
| 1917 | # |
| 1918 | # Note: When you initially create a |
| 1919 | # PageElement, the API may modify |
| 1920 | # the values of both `size` and `transform`, but the |
| 1921 | # visual size will be unchanged. |
| 1922 | "pageObjectId": "A String", # The object ID of the page where the element is located. |
| 1923 | "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform for the element. |
| 1924 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 1925 | # according to: |
| 1926 | # |
| 1927 | # x' x = shear_y scale_y translate_y |
| 1928 | # 1 [ 1 ] |
| 1929 | # |
| 1930 | # After transformation, |
| 1931 | # |
| 1932 | # x' = scale_x * x + shear_x * y + translate_x; |
| 1933 | # y' = scale_y * y + shear_y * x + translate_y; |
| 1934 | # |
| 1935 | # This message is therefore composed of these six matrix elements. |
| 1936 | "translateX": 3.14, # The X coordinate translation element. |
| 1937 | "translateY": 3.14, # The Y coordinate translation element. |
| 1938 | "scaleX": 3.14, # The X coordinate scaling element. |
| 1939 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 1940 | "shearY": 3.14, # The Y coordinate shearing element. |
| 1941 | "shearX": 3.14, # The X coordinate shearing element. |
| 1942 | "unit": "A String", # The units for translate elements. |
| 1943 | }, |
| 1944 | "size": { # A width and height. # The size of the element. |
| 1945 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 1946 | "magnitude": 3.14, # The magnitude. |
| 1947 | "unit": "A String", # The units for magnitude. |
| 1948 | }, |
| 1949 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 1950 | "magnitude": 3.14, # The magnitude. |
| 1951 | "unit": "A String", # The units for magnitude. |
| 1952 | }, |
| 1953 | }, |
| 1954 | }, |
| 1955 | "shapeType": "A String", # The shape type. |
| 1956 | "objectId": "A String", # A user-supplied object ID. |
| 1957 | # |
| 1958 | # If you specify an ID, it must be unique among all pages and page elements |
| 1959 | # in the presentation. The ID must start with an alphanumeric character or an |
| 1960 | # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters |
| 1961 | # may include those as well as a hyphen or colon (matches regex |
| 1962 | # `[a-zA-Z0-9_-:]`). |
| 1963 | # The length of the ID must not be less than 5 or greater than 50. |
| 1964 | # If empty, a unique identifier will be generated. |
| 1965 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1966 | "ungroupObjects": { # Ungroups objects, such as groups. # Ungroups objects, such as groups. |
| 1967 | "objectIds": [ # The object IDs of the objects to ungroup. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1968 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1969 | # Only groups that are not inside other |
| 1970 | # groups can be ungrouped. All the groups |
| 1971 | # should be on the same page. The group itself is deleted. The visual sizes |
| 1972 | # and positions of all the children are preserved. |
| 1973 | "A String", |
| 1974 | ], |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1975 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1976 | "replaceImage": { # Replaces an existing image with a new image. # Replaces an existing image with a new image. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1977 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1978 | # Replacing an image removes some image effects from the existing image. |
| 1979 | "imageObjectId": "A String", # The ID of the existing image that will be replaced. |
| 1980 | "url": "A String", # The URL of the new image. |
| 1981 | # |
| 1982 | # The image is fetched once at insertion time and a copy is stored for |
| 1983 | # display inside the presentation. Images must be less than 50MB in size, |
| 1984 | # cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF |
| 1985 | # format. |
| 1986 | # |
| 1987 | # The provided URL can be at most 2 kB in length. The URL itself is saved |
| 1988 | # with the image, and exposed via the Image.source_url field. |
| 1989 | "imageReplaceMethod": "A String", # The replacement method. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1990 | }, |
| 1991 | "createTable": { # Creates a new table. # Creates a new table. |
| 1992 | "rows": 42, # Number of rows in the table. |
| 1993 | "elementProperties": { # Common properties for a page element. # The element properties for the table. |
| 1994 | # |
| 1995 | # The table will be created at the provided size, subject to a minimum size. |
| 1996 | # If no size is provided, the table will be automatically sized. |
| 1997 | # |
| 1998 | # Table transforms must have a scale of 1 and no shear components. If no |
| 1999 | # transform is provided, the table will be centered on the page. |
| 2000 | # |
| 2001 | # Note: When you initially create a |
| 2002 | # PageElement, the API may modify |
| 2003 | # the values of both `size` and `transform`, but the |
| 2004 | # visual size will be unchanged. |
| 2005 | "pageObjectId": "A String", # The object ID of the page where the element is located. |
| 2006 | "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform for the element. |
| 2007 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 2008 | # according to: |
| 2009 | # |
| 2010 | # x' x = shear_y scale_y translate_y |
| 2011 | # 1 [ 1 ] |
| 2012 | # |
| 2013 | # After transformation, |
| 2014 | # |
| 2015 | # x' = scale_x * x + shear_x * y + translate_x; |
| 2016 | # y' = scale_y * y + shear_y * x + translate_y; |
| 2017 | # |
| 2018 | # This message is therefore composed of these six matrix elements. |
| 2019 | "translateX": 3.14, # The X coordinate translation element. |
| 2020 | "translateY": 3.14, # The Y coordinate translation element. |
| 2021 | "scaleX": 3.14, # The X coordinate scaling element. |
| 2022 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 2023 | "shearY": 3.14, # The Y coordinate shearing element. |
| 2024 | "shearX": 3.14, # The X coordinate shearing element. |
| 2025 | "unit": "A String", # The units for translate elements. |
| 2026 | }, |
| 2027 | "size": { # A width and height. # The size of the element. |
| 2028 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 2029 | "magnitude": 3.14, # The magnitude. |
| 2030 | "unit": "A String", # The units for magnitude. |
| 2031 | }, |
| 2032 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 2033 | "magnitude": 3.14, # The magnitude. |
| 2034 | "unit": "A String", # The units for magnitude. |
| 2035 | }, |
| 2036 | }, |
| 2037 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 2038 | "columns": 42, # Number of columns in the table. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 2039 | "objectId": "A String", # A user-supplied object ID. |
| 2040 | # |
| 2041 | # If you specify an ID, it must be unique among all pages and page elements |
| 2042 | # in the presentation. The ID must start with an alphanumeric character or an |
| 2043 | # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters |
| 2044 | # may include those as well as a hyphen or colon (matches regex |
| 2045 | # `[a-zA-Z0-9_-:]`). |
| 2046 | # The length of the ID must not be less than 5 or greater than 50. |
| 2047 | # |
| 2048 | # If you don't specify an ID, a unique one is generated. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 2049 | }, |
| 2050 | "deleteTableColumn": { # Deletes a column from a table. # Deletes a column from a table. |
| 2051 | "cellLocation": { # A location of a single table cell within a table. # The reference table cell location from which a column will be deleted. |
| 2052 | # |
| 2053 | # The column this cell spans will be deleted. If this is a merged cell, |
| 2054 | # multiple columns will be deleted. If no columns remain in the table after |
| 2055 | # this deletion, the whole table is deleted. |
| 2056 | "rowIndex": 42, # The 0-based row index. |
| 2057 | "columnIndex": 42, # The 0-based column index. |
| 2058 | }, |
| 2059 | "tableObjectId": "A String", # The table to delete columns from. |
| 2060 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 2061 | "insertTableColumns": { # Inserts columns into a table. # Inserts columns into a table. |
| 2062 | # |
| 2063 | # Other columns in the table will be resized to fit the new column. |
| 2064 | "tableObjectId": "A String", # The table to insert columns into. |
| 2065 | "insertRight": True or False, # Whether to insert new columns to the right of the reference cell location. |
| 2066 | # |
| 2067 | # - `True`: insert to the right. |
| 2068 | # - `False`: insert to the left. |
| 2069 | "number": 42, # The number of columns to be inserted. Maximum 20 per request. |
| 2070 | "cellLocation": { # A location of a single table cell within a table. # The reference table cell location from which columns will be inserted. |
| 2071 | # |
| 2072 | # A new column will be inserted to the left (or right) of the column where |
| 2073 | # the reference cell is. If the reference cell is a merged cell, a new |
| 2074 | # column will be inserted to the left (or right) of the merged cell. |
| 2075 | "rowIndex": 42, # The 0-based row index. |
| 2076 | "columnIndex": 42, # The 0-based column index. |
| 2077 | }, |
| 2078 | }, |
| 2079 | "updatePageElementAltText": { # Updates the alt text title and/or description of a # Updates the alt text title and/or description of a |
| 2080 | # page element. |
| 2081 | # page element. |
| 2082 | "description": "A String", # The updated alt text description of the page element. If unset the existing |
| 2083 | # value will be maintained. The description is exposed to screen readers |
| 2084 | # and other accessibility interfaces. Only use human readable values related |
| 2085 | # to the content of the page element. |
| 2086 | "objectId": "A String", # The object ID of the page element the updates are applied to. |
| 2087 | "title": "A String", # The updated alt text title of the page element. If unset the |
| 2088 | # existing value will be maintained. The title is exposed to screen readers |
| 2089 | # and other accessibility interfaces. Only use human readable values related |
| 2090 | # to the content of the page element. |
| 2091 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 2092 | "updatePageElementTransform": { # Updates the transform of a page element. # Updates the transform of a page element. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 2093 | # |
| 2094 | # Updating the transform of a group will change the absolute transform of the |
| 2095 | # page elements in that group, which can change their visual appearance. See |
| 2096 | # the documentation for PageElement.transform for more details. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 2097 | "applyMode": "A String", # The apply mode of the transform update. |
| 2098 | "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The input transform matrix used to update the page element. |
| 2099 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 2100 | # according to: |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 2101 | # |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 2102 | # x' x = shear_y scale_y translate_y |
| 2103 | # 1 [ 1 ] |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 2104 | # |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 2105 | # After transformation, |
| 2106 | # |
| 2107 | # x' = scale_x * x + shear_x * y + translate_x; |
| 2108 | # y' = scale_y * y + shear_y * x + translate_y; |
| 2109 | # |
| 2110 | # This message is therefore composed of these six matrix elements. |
| 2111 | "translateX": 3.14, # The X coordinate translation element. |
| 2112 | "translateY": 3.14, # The Y coordinate translation element. |
| 2113 | "scaleX": 3.14, # The X coordinate scaling element. |
| 2114 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 2115 | "shearY": 3.14, # The Y coordinate shearing element. |
| 2116 | "shearX": 3.14, # The X coordinate shearing element. |
| 2117 | "unit": "A String", # The units for translate elements. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 2118 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 2119 | "objectId": "A String", # The object ID of the page element to update. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 2120 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 2121 | "mergeTableCells": { # Merges cells in a Table. # Merges cells in a Table. |
| 2122 | "tableRange": { # A table range represents a reference to a subset of a table. # The table range specifying which cells of the table to merge. |
| 2123 | # |
| 2124 | # Any text in the cells being merged will be concatenated and stored in the |
| 2125 | # upper-left ("head") cell of the range. If the range is non-rectangular |
| 2126 | # (which can occur in some cases where the range covers cells that are |
| 2127 | # already merged), a 400 bad request error is returned. |
| 2128 | # |
| 2129 | # It's important to note that the cells specified by a table range do not |
| 2130 | # necessarily form a rectangle. For example, let's say we have a 3 x 3 table |
| 2131 | # where all the cells of the last row are merged together. The table looks |
| 2132 | # like this: |
| 2133 | # |
| 2134 | # |
| 2135 | # [ ] |
| 2136 | # |
| 2137 | # A table range with location = (0, 0), row span = 3 and column span = 2 |
| 2138 | # specifies the following cells: |
| 2139 | # |
| 2140 | # x x |
| 2141 | # [ x x x ] |
| 2142 | "rowSpan": 42, # The row span of the table range. |
| 2143 | "columnSpan": 42, # The column span of the table range. |
| 2144 | "location": { # A location of a single table cell within a table. # The starting location of the table range. |
| 2145 | "rowIndex": 42, # The 0-based row index. |
| 2146 | "columnIndex": 42, # The 0-based column index. |
| 2147 | }, |
| 2148 | }, |
| 2149 | "objectId": "A String", # The object ID of the table. |
| 2150 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 2151 | }, |
| 2152 | ], |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 2153 | "writeControl": { # Provides control over how write requests are executed. # Provides control over how write requests are executed. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 2154 | "requiredRevisionId": "A String", # The revision ID of the presentation required for the write request. If |
| 2155 | # specified and the `required_revision_id` doesn't exactly match the |
| 2156 | # presentation's current `revision_id`, the request will not be processed and |
| 2157 | # will return a 400 bad request error. |
| 2158 | }, |
| 2159 | } |
| 2160 | |
| 2161 | x__xgafv: string, V1 error format. |
| 2162 | Allowed values |
| 2163 | 1 - v1 error format |
| 2164 | 2 - v2 error format |
| 2165 | |
| 2166 | Returns: |
| 2167 | An object of the form: |
| 2168 | |
| 2169 | { # Response message from a batch update. |
| 2170 | "presentationId": "A String", # The presentation the updates were applied to. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 2171 | "writeControl": { # Provides control over how write requests are executed. # The updated write control after applying the request. |
| 2172 | "requiredRevisionId": "A String", # The revision ID of the presentation required for the write request. If |
| 2173 | # specified and the `required_revision_id` doesn't exactly match the |
| 2174 | # presentation's current `revision_id`, the request will not be processed and |
| 2175 | # will return a 400 bad request error. |
| 2176 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 2177 | "replies": [ # The reply of the updates. This maps 1:1 with the updates, although |
| 2178 | # replies to some requests may be empty. |
| 2179 | { # A single response from an update. |
| 2180 | "createImage": { # The result of creating an image. # The result of creating an image. |
| 2181 | "objectId": "A String", # The object ID of the created image. |
| 2182 | }, |
| 2183 | "replaceAllShapesWithImage": { # The result of replacing shapes with an image. # The result of replacing all shapes matching some criteria with an |
| 2184 | # image. |
| 2185 | "occurrencesChanged": 42, # The number of shapes replaced with images. |
| 2186 | }, |
| 2187 | "duplicateObject": { # The response of duplicating an object. # The result of duplicating an object. |
| 2188 | "objectId": "A String", # The ID of the new duplicate object. |
| 2189 | }, |
| 2190 | "createShape": { # The result of creating a shape. # The result of creating a shape. |
| 2191 | "objectId": "A String", # The object ID of the created shape. |
| 2192 | }, |
| 2193 | "replaceAllText": { # The result of replacing text. # The result of replacing text. |
| 2194 | "occurrencesChanged": 42, # The number of occurrences changed by replacing all text. |
| 2195 | }, |
| 2196 | "createSheetsChart": { # The result of creating an embedded Google Sheets chart. # The result of creating a Google Sheets chart. |
| 2197 | "objectId": "A String", # The object ID of the created chart. |
| 2198 | }, |
| 2199 | "createVideo": { # The result of creating a video. # The result of creating a video. |
| 2200 | "objectId": "A String", # The object ID of the created video. |
| 2201 | }, |
| 2202 | "createLine": { # The result of creating a line. # The result of creating a line. |
| 2203 | "objectId": "A String", # The object ID of the created line. |
| 2204 | }, |
| 2205 | "createTable": { # The result of creating a table. # The result of creating a table. |
| 2206 | "objectId": "A String", # The object ID of the created table. |
| 2207 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 2208 | "groupObjects": { # The result of grouping objects. # The result of grouping objects. |
| 2209 | "objectId": "A String", # The object ID of the created group. |
| 2210 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 2211 | "createSlide": { # The result of creating a slide. # The result of creating a slide. |
| 2212 | "objectId": "A String", # The object ID of the created slide. |
| 2213 | }, |
| 2214 | "replaceAllShapesWithSheetsChart": { # The result of replacing shapes with a Google Sheets chart. # The result of replacing all shapes matching some criteria with a Google |
| 2215 | # Sheets chart. |
| 2216 | "occurrencesChanged": 42, # The number of shapes replaced with charts. |
| 2217 | }, |
| 2218 | }, |
| 2219 | ], |
| 2220 | }</pre> |
| 2221 | </div> |
| 2222 | |
| 2223 | <div class="method"> |
| 2224 | <code class="details" id="create">create(body, x__xgafv=None)</code> |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 2225 | <pre>Creates a blank presentation using the title given in the request. If a |
| 2226 | `presentationId` is provided, it is used as the ID of the new presentation. |
| 2227 | Otherwise, a new ID is generated. Other fields in the request, including |
| 2228 | any provided content, are ignored. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 2229 | Returns the created presentation. |
| 2230 | |
| 2231 | Args: |
| 2232 | body: object, The request body. (required) |
| 2233 | The object takes the form of: |
| 2234 | |
| 2235 | { # A Google Slides presentation. |
| 2236 | "presentationId": "A String", # The ID of the presentation. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 2237 | "masters": [ # The slide masters in the presentation. A slide master contains all common |
| 2238 | # page elements and the common properties for a set of layouts. They serve |
| 2239 | # three purposes: |
| 2240 | # |
| 2241 | # - Placeholder shapes on a master contain the default text styles and shape |
| 2242 | # properties of all placeholder shapes on pages that use that master. |
| 2243 | # - The master page properties define the common page properties inherited by |
| 2244 | # its layouts. |
| 2245 | # - Any other shapes on the master slide will appear on all slides using that |
| 2246 | # master, regardless of their layout. |
| 2247 | { # A page in a presentation. |
| 2248 | "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT. |
| 2249 | # relevant for pages with page_type LAYOUT. |
| 2250 | "displayName": "A String", # The human-readable name of the layout. |
| 2251 | "name": "A String", # The name of the layout. |
| 2252 | "masterObjectId": "A String", # The object ID of the master that this layout is based on. |
| 2253 | }, |
| 2254 | "pageElements": [ # The page elements rendered on the page. |
| 2255 | { # A visual element rendered on a page. |
| 2256 | "wordArt": { # A PageElement kind representing # A word art page element. |
| 2257 | # word art. |
| 2258 | "renderedText": "A String", # The text rendered as word art. |
| 2259 | }, |
| 2260 | "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit. |
| 2261 | # joined collection of PageElements. |
| 2262 | "children": [ # The collection of elements in the group. The minimum size of a group is 2. |
| 2263 | # Object with schema name: PageElement |
| 2264 | ], |
| 2265 | }, |
| 2266 | "objectId": "A String", # The object ID for this page element. Object IDs used by |
| 2267 | # google.apps.slides.v1.Page and |
| 2268 | # google.apps.slides.v1.PageElement share the same namespace. |
| 2269 | "title": "A String", # The title of the page element. Combined with description to display alt |
| 2270 | # text. |
| 2271 | "image": { # A PageElement kind representing an # An image page element. |
| 2272 | # image. |
| 2273 | "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes. |
| 2274 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 2275 | # effectively accesses the image as the original requester. Access to the |
| 2276 | # image may be lost if the presentation's sharing settings change. |
| 2277 | "imageProperties": { # The properties of the Image. # The properties of the image. |
| 2278 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| 2279 | # |
| 2280 | # If these fields are unset, they may be inherited from a parent placeholder |
| 2281 | # if it exists. If there is no parent, the fields will default to the value |
| 2282 | # used for new page elements created in the Slides editor, which may depend on |
| 2283 | # the page element kind. |
| 2284 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 2285 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 2286 | # specified color value. |
| 2287 | # |
| 2288 | # If any field is unset, its value may be inherited from a parent placeholder |
| 2289 | # if it exists. |
| 2290 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 2291 | "themeColor": "A String", # An opaque theme color. |
| 2292 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 2293 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2294 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2295 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2296 | }, |
| 2297 | }, |
| 2298 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 2299 | # That is, the final pixel color is defined by the equation: |
| 2300 | # |
| 2301 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 2302 | # |
| 2303 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 2304 | # a value of 0.0 corresponds to a completely transparent color. |
| 2305 | }, |
| 2306 | }, |
| 2307 | "propertyState": "A String", # The outline property state. |
| 2308 | # |
| 2309 | # Updating the outline on a page element will implicitly update this field |
| 2310 | # to `RENDERED`, unless another value is specified in the same request. To |
| 2311 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 2312 | # this case, any other outline fields set in the same request will be |
| 2313 | # ignored. |
| 2314 | "dashStyle": "A String", # The dash style of the outline. |
| 2315 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 2316 | "magnitude": 3.14, # The magnitude. |
| 2317 | "unit": "A String", # The units for magnitude. |
| 2318 | }, |
| 2319 | }, |
| 2320 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 2321 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 2322 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 2323 | # This property is read-only. |
| 2324 | "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color |
| 2325 | # stops. |
| 2326 | # |
| 2327 | # The colors in the gradient will replace the corresponding colors at |
| 2328 | # the same position in the color palette and apply to the image. This |
| 2329 | # property is read-only. |
| 2330 | { # A color and position in a gradient band. |
| 2331 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 2332 | "themeColor": "A String", # An opaque theme color. |
| 2333 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 2334 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2335 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2336 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2337 | }, |
| 2338 | }, |
| 2339 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 2340 | # fully opaque. |
| 2341 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 2342 | # in percentage. The value should be in the interval [0.0, 1.0]. |
| 2343 | }, |
| 2344 | ], |
| 2345 | "name": "A String", # The name of the recolor effect. |
| 2346 | # |
| 2347 | # The name is determined from the `recolor_stops` by matching the gradient |
| 2348 | # against the colors in the page's current color scheme. This property is |
| 2349 | # read-only. |
| 2350 | }, |
| 2351 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 2352 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 2353 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 2354 | # in the presentation. There may not be a slide at this index. |
| 2355 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 2356 | # presentation with this ID. A page with this ID may not exist. |
| 2357 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 2358 | # addressed by its position. |
| 2359 | }, |
| 2360 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 2361 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 2362 | # This property is read-only. |
| 2363 | "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. |
| 2364 | # This property is read-only. |
| 2365 | # Image. |
| 2366 | # |
| 2367 | # The crop properties is represented by the offsets of four edges which define |
| 2368 | # a crop rectangle. The offsets are measured in percentage from the |
| 2369 | # corresponding edges of the object's original bounding rectangle towards |
| 2370 | # inside, relative to the object's original dimensions. |
| 2371 | # |
| 2372 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 2373 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 2374 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 2375 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 2376 | # - If the left edge of the crop rectangle is on the right side of its right |
| 2377 | # edge, the object will be flipped horizontally. |
| 2378 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 2379 | # will be flipped vertically. |
| 2380 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 2381 | # |
| 2382 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 2383 | # its container. |
| 2384 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 2385 | # the right of the original bounding rectangle left edge, relative to the |
| 2386 | # object's original width. |
| 2387 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 2388 | # above the original bounding rectangle bottom edge, relative to the object's |
| 2389 | # original height. |
| 2390 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 2391 | # Rotation angle is applied after the offset. |
| 2392 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 2393 | # to the left of the original bounding rectangle right edge, relative to the |
| 2394 | # object's original width. |
| 2395 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 2396 | # below the original bounding rectangle top edge, relative to the object's |
| 2397 | # original height. |
| 2398 | }, |
| 2399 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 2400 | # is read-only. |
| 2401 | # |
| 2402 | # If these fields are unset, they may be inherited from a parent placeholder |
| 2403 | # if it exists. If there is no parent, the fields will default to the value |
| 2404 | # used for new page elements created in the Slides editor, which may depend on |
| 2405 | # the page element kind. |
| 2406 | "color": { # A themeable solid color value. # The shadow color value. |
| 2407 | "themeColor": "A String", # An opaque theme color. |
| 2408 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 2409 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2410 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2411 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2412 | }, |
| 2413 | }, |
| 2414 | "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, |
| 2415 | # relative to the alignment position. |
| 2416 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 2417 | # according to: |
| 2418 | # |
| 2419 | # x' x = shear_y scale_y translate_y |
| 2420 | # 1 [ 1 ] |
| 2421 | # |
| 2422 | # After transformation, |
| 2423 | # |
| 2424 | # x' = scale_x * x + shear_x * y + translate_x; |
| 2425 | # y' = scale_y * y + shear_y * x + translate_y; |
| 2426 | # |
| 2427 | # This message is therefore composed of these six matrix elements. |
| 2428 | "translateX": 3.14, # The X coordinate translation element. |
| 2429 | "translateY": 3.14, # The Y coordinate translation element. |
| 2430 | "scaleX": 3.14, # The X coordinate scaling element. |
| 2431 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 2432 | "shearY": 3.14, # The Y coordinate shearing element. |
| 2433 | "shearX": 3.14, # The X coordinate shearing element. |
| 2434 | "unit": "A String", # The units for translate elements. |
| 2435 | }, |
| 2436 | "propertyState": "A String", # The shadow property state. |
| 2437 | # |
| 2438 | # Updating the shadow on a page element will implicitly update this field to |
| 2439 | # `RENDERED`, unless another value is specified in the same request. To have |
| 2440 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| 2441 | # case, any other shadow fields set in the same request will be ignored. |
| 2442 | "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 |
| 2443 | # shadow becomes. |
| 2444 | "magnitude": 3.14, # The magnitude. |
| 2445 | "unit": "A String", # The units for magnitude. |
| 2446 | }, |
| 2447 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| 2448 | "type": "A String", # The type of the shadow. This property is read-only. |
| 2449 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| 2450 | # scale and skew of the shadow. This property is read-only. |
| 2451 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 2452 | # read-only. |
| 2453 | }, |
| 2454 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 2455 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 2456 | }, |
| 2457 | "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be |
| 2458 | # empty. |
| 2459 | }, |
| 2460 | "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element. |
| 2461 | # |
| 2462 | # The visual appearance of the page element is determined by its absolute |
| 2463 | # transform. To compute the absolute transform, preconcatenate a page |
| 2464 | # element's transform with the transforms of all of its parent groups. If the |
| 2465 | # page element is not in a group, its absolute transform is the same as the |
| 2466 | # value in this field. |
| 2467 | # |
| 2468 | # The initial transform for the newly created Group is always the identity transform. |
| 2469 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 2470 | # according to: |
| 2471 | # |
| 2472 | # x' x = shear_y scale_y translate_y |
| 2473 | # 1 [ 1 ] |
| 2474 | # |
| 2475 | # After transformation, |
| 2476 | # |
| 2477 | # x' = scale_x * x + shear_x * y + translate_x; |
| 2478 | # y' = scale_y * y + shear_y * x + translate_y; |
| 2479 | # |
| 2480 | # This message is therefore composed of these six matrix elements. |
| 2481 | "translateX": 3.14, # The X coordinate translation element. |
| 2482 | "translateY": 3.14, # The Y coordinate translation element. |
| 2483 | "scaleX": 3.14, # The X coordinate scaling element. |
| 2484 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 2485 | "shearY": 3.14, # The Y coordinate shearing element. |
| 2486 | "shearX": 3.14, # The X coordinate shearing element. |
| 2487 | "unit": "A String", # The units for translate elements. |
| 2488 | }, |
| 2489 | "shape": { # A PageElement kind representing a # A generic shape. |
| 2490 | # generic shape that does not have a more specific classification. |
| 2491 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape. |
| 2492 | # text box or rectangle) or a table cell in a page. |
| 2493 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 2494 | # information. This property is read-only. |
| 2495 | { # A TextElement describes the content of a range of indices in the text content |
| 2496 | # of a Shape or TableCell. |
| 2497 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 2498 | # replaced with content that can change over time. |
| 2499 | "content": "A String", # The rendered content of this auto text, if available. |
| 2500 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 2501 | # |
| 2502 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 2503 | # inherited from the parent. Which text styles are inherited depend on the |
| 2504 | # nesting level of lists: |
| 2505 | # |
| 2506 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 2507 | # from the the newline character in the paragraph at the 0 nesting level of |
| 2508 | # the list inside the parent placeholder. |
| 2509 | # * A text run in a paragraph that is in a list will inherit its text style |
| 2510 | # from the newline character in the paragraph at its corresponding nesting |
| 2511 | # level of the list inside the parent placeholder. |
| 2512 | # |
| 2513 | # Inherited text styles are represented as unset fields in this message. If |
| 2514 | # text is contained in a shape without a parent placeholder, unsetting these |
| 2515 | # fields will revert the style to a value matching the defaults in the Slides |
| 2516 | # editor. |
| 2517 | "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 |
| 2518 | # transparent, depending on if the `opaque_color` field in it is set. |
| 2519 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 2520 | # a transparent color. |
| 2521 | "themeColor": "A String", # An opaque theme color. |
| 2522 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 2523 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2524 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2525 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2526 | }, |
| 2527 | }, |
| 2528 | }, |
| 2529 | "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 |
| 2530 | # transparent, depending on if the `opaque_color` field in it is set. |
| 2531 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 2532 | # a transparent color. |
| 2533 | "themeColor": "A String", # An opaque theme color. |
| 2534 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 2535 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2536 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2537 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2538 | }, |
| 2539 | }, |
| 2540 | }, |
| 2541 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 2542 | # |
| 2543 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 2544 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 2545 | # The `font_size` itself is not affected by changes in this field. |
| 2546 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 2547 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 2548 | # |
| 2549 | # This field is an extension of `font_family` meant to support explicit font |
| 2550 | # weights without breaking backwards compatibility. As such, when reading the |
| 2551 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 2552 | # will always be equal to that of `font_family`. However, when writing, if |
| 2553 | # both fields are included in the field mask (either explicitly or through |
| 2554 | # the wildcard `"*"`), their values are reconciled as follows: |
| 2555 | # |
| 2556 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 2557 | # `font_family` is applied with weight `400` ("normal"). |
| 2558 | # * If both fields are set, the value of `font_family` must match that of |
| 2559 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 2560 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 2561 | # returned. |
| 2562 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 2563 | # family and weight of `weighted_font_family` is applied. |
| 2564 | # * If neither field is set, the font family and weight of the text inherit |
| 2565 | # from the parent. Note that these properties cannot inherit separately |
| 2566 | # from each other. |
| 2567 | # |
| 2568 | # If an update request specifies values for both `weighted_font_family` and |
| 2569 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 2570 | # |
| 2571 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 2572 | # |
| 2573 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 2574 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 2575 | # is returned. |
| 2576 | "fontFamily": "A String", # The font family of the text. |
| 2577 | # |
| 2578 | # The font family can be any font from the Font menu in Slides or from |
| 2579 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 2580 | # unrecognized, the text is rendered in `Arial`. |
| 2581 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 2582 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 2583 | # corresponds to the numerical values described in the CSS 2.1 |
| 2584 | # Specification, |
| 2585 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 2586 | # with non-numerical values disallowed. Weights greater than or equal to |
| 2587 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 2588 | # default value is `400` ("normal"). |
| 2589 | }, |
| 2590 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 2591 | "fontFamily": "A String", # The font family of the text. |
| 2592 | # |
| 2593 | # The font family can be any font from the Font menu in Slides or from |
| 2594 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 2595 | # unrecognized, the text is rendered in `Arial`. |
| 2596 | # |
| 2597 | # Some fonts can affect the weight of the text. If an update request |
| 2598 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 2599 | # `bold` value is used. |
| 2600 | "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 |
| 2601 | # points. |
| 2602 | "magnitude": 3.14, # The magnitude. |
| 2603 | "unit": "A String", # The units for magnitude. |
| 2604 | }, |
| 2605 | "italic": True or False, # Whether or not the text is italicized. |
| 2606 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 2607 | # are not inherited from parent text. |
| 2608 | # |
| 2609 | # Changing the link in an update request causes some other changes to the |
| 2610 | # text style of the range: |
| 2611 | # |
| 2612 | # * When setting a link, the text foreground color will be set to |
| 2613 | # ThemeColorType.HYPERLINK and the text will |
| 2614 | # be underlined. If these fields are modified in the same |
| 2615 | # request, those values will be used instead of the link defaults. |
| 2616 | # * Setting a link on a text range that overlaps with an existing link will |
| 2617 | # also update the existing link to point to the new URL. |
| 2618 | # * Links are not settable on newline characters. As a result, setting a link |
| 2619 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 2620 | # will separate the newline character(s) into their own text runs. The |
| 2621 | # link will be applied separately to the runs before and after the newline. |
| 2622 | # * Removing a link will update the text style of the range to match the |
| 2623 | # style of the preceding text (or the default text styles if the preceding |
| 2624 | # text is another link) unless different styles are being set in the same |
| 2625 | # request. |
| 2626 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 2627 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 2628 | # in the presentation. There may not be a slide at this index. |
| 2629 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 2630 | # presentation with this ID. A page with this ID may not exist. |
| 2631 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 2632 | # addressed by its position. |
| 2633 | }, |
| 2634 | "underline": True or False, # Whether or not the text is underlined. |
| 2635 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 2636 | }, |
| 2637 | "type": "A String", # The type of this auto text. |
| 2638 | }, |
| 2639 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 2640 | # units. |
| 2641 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 2642 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 2643 | # |
| 2644 | # The `start_index` and `end_index` of this TextElement represent the |
| 2645 | # range of the paragraph. Other TextElements with an index range contained |
| 2646 | # inside this paragraph's range are considered to be part of this |
| 2647 | # paragraph. The range of indices of two separate paragraphs will never |
| 2648 | # overlap. |
| 2649 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 2650 | # |
| 2651 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 2652 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 2653 | # nesting level of lists: |
| 2654 | # |
| 2655 | # * A paragraph not in a list will inherit its paragraph style from the |
| 2656 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 2657 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 2658 | # at its corresponding nesting level of the list inside the parent |
| 2659 | # placeholder. |
| 2660 | # |
| 2661 | # Inherited paragraph styles are represented as unset fields in this message. |
| 2662 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 2663 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 2664 | # LEFT_TO_RIGHT since |
| 2665 | # text direction is not inherited. |
| 2666 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 2667 | # inherited from the parent. |
| 2668 | "magnitude": 3.14, # The magnitude. |
| 2669 | "unit": "A String", # The units for magnitude. |
| 2670 | }, |
| 2671 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 2672 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 2673 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 2674 | # the start of the text, based on the current text direction. If unset, the |
| 2675 | # value is inherited from the parent. |
| 2676 | "magnitude": 3.14, # The magnitude. |
| 2677 | "unit": "A String", # The units for magnitude. |
| 2678 | }, |
| 2679 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 2680 | # inherited from the parent. |
| 2681 | "magnitude": 3.14, # The magnitude. |
| 2682 | "unit": "A String", # The units for magnitude. |
| 2683 | }, |
| 2684 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 2685 | # the end of the text, based on the current text direction. If unset, the |
| 2686 | # value is inherited from the parent. |
| 2687 | "magnitude": 3.14, # The magnitude. |
| 2688 | "unit": "A String", # The units for magnitude. |
| 2689 | }, |
| 2690 | "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. |
| 2691 | # If unset, the value is inherited from the parent. |
| 2692 | "magnitude": 3.14, # The magnitude. |
| 2693 | "unit": "A String", # The units for magnitude. |
| 2694 | }, |
| 2695 | "alignment": "A String", # The text alignment for this paragraph. |
| 2696 | }, |
| 2697 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 2698 | # belong to a list. |
| 2699 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 2700 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 2701 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 2702 | # |
| 2703 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 2704 | # inherited from the parent. Which text styles are inherited depend on the |
| 2705 | # nesting level of lists: |
| 2706 | # |
| 2707 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 2708 | # from the the newline character in the paragraph at the 0 nesting level of |
| 2709 | # the list inside the parent placeholder. |
| 2710 | # * A text run in a paragraph that is in a list will inherit its text style |
| 2711 | # from the newline character in the paragraph at its corresponding nesting |
| 2712 | # level of the list inside the parent placeholder. |
| 2713 | # |
| 2714 | # Inherited text styles are represented as unset fields in this message. If |
| 2715 | # text is contained in a shape without a parent placeholder, unsetting these |
| 2716 | # fields will revert the style to a value matching the defaults in the Slides |
| 2717 | # editor. |
| 2718 | "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 |
| 2719 | # transparent, depending on if the `opaque_color` field in it is set. |
| 2720 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 2721 | # a transparent color. |
| 2722 | "themeColor": "A String", # An opaque theme color. |
| 2723 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 2724 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2725 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2726 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2727 | }, |
| 2728 | }, |
| 2729 | }, |
| 2730 | "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 |
| 2731 | # transparent, depending on if the `opaque_color` field in it is set. |
| 2732 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 2733 | # a transparent color. |
| 2734 | "themeColor": "A String", # An opaque theme color. |
| 2735 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 2736 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2737 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2738 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2739 | }, |
| 2740 | }, |
| 2741 | }, |
| 2742 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 2743 | # |
| 2744 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 2745 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 2746 | # The `font_size` itself is not affected by changes in this field. |
| 2747 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 2748 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 2749 | # |
| 2750 | # This field is an extension of `font_family` meant to support explicit font |
| 2751 | # weights without breaking backwards compatibility. As such, when reading the |
| 2752 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 2753 | # will always be equal to that of `font_family`. However, when writing, if |
| 2754 | # both fields are included in the field mask (either explicitly or through |
| 2755 | # the wildcard `"*"`), their values are reconciled as follows: |
| 2756 | # |
| 2757 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 2758 | # `font_family` is applied with weight `400` ("normal"). |
| 2759 | # * If both fields are set, the value of `font_family` must match that of |
| 2760 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 2761 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 2762 | # returned. |
| 2763 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 2764 | # family and weight of `weighted_font_family` is applied. |
| 2765 | # * If neither field is set, the font family and weight of the text inherit |
| 2766 | # from the parent. Note that these properties cannot inherit separately |
| 2767 | # from each other. |
| 2768 | # |
| 2769 | # If an update request specifies values for both `weighted_font_family` and |
| 2770 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 2771 | # |
| 2772 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 2773 | # |
| 2774 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 2775 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 2776 | # is returned. |
| 2777 | "fontFamily": "A String", # The font family of the text. |
| 2778 | # |
| 2779 | # The font family can be any font from the Font menu in Slides or from |
| 2780 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 2781 | # unrecognized, the text is rendered in `Arial`. |
| 2782 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 2783 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 2784 | # corresponds to the numerical values described in the CSS 2.1 |
| 2785 | # Specification, |
| 2786 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 2787 | # with non-numerical values disallowed. Weights greater than or equal to |
| 2788 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 2789 | # default value is `400` ("normal"). |
| 2790 | }, |
| 2791 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 2792 | "fontFamily": "A String", # The font family of the text. |
| 2793 | # |
| 2794 | # The font family can be any font from the Font menu in Slides or from |
| 2795 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 2796 | # unrecognized, the text is rendered in `Arial`. |
| 2797 | # |
| 2798 | # Some fonts can affect the weight of the text. If an update request |
| 2799 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 2800 | # `bold` value is used. |
| 2801 | "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 |
| 2802 | # points. |
| 2803 | "magnitude": 3.14, # The magnitude. |
| 2804 | "unit": "A String", # The units for magnitude. |
| 2805 | }, |
| 2806 | "italic": True or False, # Whether or not the text is italicized. |
| 2807 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 2808 | # are not inherited from parent text. |
| 2809 | # |
| 2810 | # Changing the link in an update request causes some other changes to the |
| 2811 | # text style of the range: |
| 2812 | # |
| 2813 | # * When setting a link, the text foreground color will be set to |
| 2814 | # ThemeColorType.HYPERLINK and the text will |
| 2815 | # be underlined. If these fields are modified in the same |
| 2816 | # request, those values will be used instead of the link defaults. |
| 2817 | # * Setting a link on a text range that overlaps with an existing link will |
| 2818 | # also update the existing link to point to the new URL. |
| 2819 | # * Links are not settable on newline characters. As a result, setting a link |
| 2820 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 2821 | # will separate the newline character(s) into their own text runs. The |
| 2822 | # link will be applied separately to the runs before and after the newline. |
| 2823 | # * Removing a link will update the text style of the range to match the |
| 2824 | # style of the preceding text (or the default text styles if the preceding |
| 2825 | # text is another link) unless different styles are being set in the same |
| 2826 | # request. |
| 2827 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 2828 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 2829 | # in the presentation. There may not be a slide at this index. |
| 2830 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 2831 | # presentation with this ID. A page with this ID may not exist. |
| 2832 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 2833 | # addressed by its position. |
| 2834 | }, |
| 2835 | "underline": True or False, # Whether or not the text is underlined. |
| 2836 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 2837 | }, |
| 2838 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 2839 | }, |
| 2840 | }, |
| 2841 | "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 |
| 2842 | # in the run have the same TextStyle. |
| 2843 | # |
| 2844 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 2845 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 2846 | # In other words, a TextRun will never span multiple paragraphs. |
| 2847 | # styling. |
| 2848 | "content": "A String", # The text of this run. |
| 2849 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 2850 | # |
| 2851 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 2852 | # inherited from the parent. Which text styles are inherited depend on the |
| 2853 | # nesting level of lists: |
| 2854 | # |
| 2855 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 2856 | # from the the newline character in the paragraph at the 0 nesting level of |
| 2857 | # the list inside the parent placeholder. |
| 2858 | # * A text run in a paragraph that is in a list will inherit its text style |
| 2859 | # from the newline character in the paragraph at its corresponding nesting |
| 2860 | # level of the list inside the parent placeholder. |
| 2861 | # |
| 2862 | # Inherited text styles are represented as unset fields in this message. If |
| 2863 | # text is contained in a shape without a parent placeholder, unsetting these |
| 2864 | # fields will revert the style to a value matching the defaults in the Slides |
| 2865 | # editor. |
| 2866 | "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 |
| 2867 | # transparent, depending on if the `opaque_color` field in it is set. |
| 2868 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 2869 | # a transparent color. |
| 2870 | "themeColor": "A String", # An opaque theme color. |
| 2871 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 2872 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2873 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2874 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2875 | }, |
| 2876 | }, |
| 2877 | }, |
| 2878 | "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 |
| 2879 | # transparent, depending on if the `opaque_color` field in it is set. |
| 2880 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 2881 | # a transparent color. |
| 2882 | "themeColor": "A String", # An opaque theme color. |
| 2883 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 2884 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2885 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2886 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2887 | }, |
| 2888 | }, |
| 2889 | }, |
| 2890 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 2891 | # |
| 2892 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 2893 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 2894 | # The `font_size` itself is not affected by changes in this field. |
| 2895 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 2896 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 2897 | # |
| 2898 | # This field is an extension of `font_family` meant to support explicit font |
| 2899 | # weights without breaking backwards compatibility. As such, when reading the |
| 2900 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 2901 | # will always be equal to that of `font_family`. However, when writing, if |
| 2902 | # both fields are included in the field mask (either explicitly or through |
| 2903 | # the wildcard `"*"`), their values are reconciled as follows: |
| 2904 | # |
| 2905 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 2906 | # `font_family` is applied with weight `400` ("normal"). |
| 2907 | # * If both fields are set, the value of `font_family` must match that of |
| 2908 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 2909 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 2910 | # returned. |
| 2911 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 2912 | # family and weight of `weighted_font_family` is applied. |
| 2913 | # * If neither field is set, the font family and weight of the text inherit |
| 2914 | # from the parent. Note that these properties cannot inherit separately |
| 2915 | # from each other. |
| 2916 | # |
| 2917 | # If an update request specifies values for both `weighted_font_family` and |
| 2918 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 2919 | # |
| 2920 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 2921 | # |
| 2922 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 2923 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 2924 | # is returned. |
| 2925 | "fontFamily": "A String", # The font family of the text. |
| 2926 | # |
| 2927 | # The font family can be any font from the Font menu in Slides or from |
| 2928 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 2929 | # unrecognized, the text is rendered in `Arial`. |
| 2930 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 2931 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 2932 | # corresponds to the numerical values described in the CSS 2.1 |
| 2933 | # Specification, |
| 2934 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 2935 | # with non-numerical values disallowed. Weights greater than or equal to |
| 2936 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 2937 | # default value is `400` ("normal"). |
| 2938 | }, |
| 2939 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 2940 | "fontFamily": "A String", # The font family of the text. |
| 2941 | # |
| 2942 | # The font family can be any font from the Font menu in Slides or from |
| 2943 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 2944 | # unrecognized, the text is rendered in `Arial`. |
| 2945 | # |
| 2946 | # Some fonts can affect the weight of the text. If an update request |
| 2947 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 2948 | # `bold` value is used. |
| 2949 | "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 |
| 2950 | # points. |
| 2951 | "magnitude": 3.14, # The magnitude. |
| 2952 | "unit": "A String", # The units for magnitude. |
| 2953 | }, |
| 2954 | "italic": True or False, # Whether or not the text is italicized. |
| 2955 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 2956 | # are not inherited from parent text. |
| 2957 | # |
| 2958 | # Changing the link in an update request causes some other changes to the |
| 2959 | # text style of the range: |
| 2960 | # |
| 2961 | # * When setting a link, the text foreground color will be set to |
| 2962 | # ThemeColorType.HYPERLINK and the text will |
| 2963 | # be underlined. If these fields are modified in the same |
| 2964 | # request, those values will be used instead of the link defaults. |
| 2965 | # * Setting a link on a text range that overlaps with an existing link will |
| 2966 | # also update the existing link to point to the new URL. |
| 2967 | # * Links are not settable on newline characters. As a result, setting a link |
| 2968 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 2969 | # will separate the newline character(s) into their own text runs. The |
| 2970 | # link will be applied separately to the runs before and after the newline. |
| 2971 | # * Removing a link will update the text style of the range to match the |
| 2972 | # style of the preceding text (or the default text styles if the preceding |
| 2973 | # text is another link) unless different styles are being set in the same |
| 2974 | # request. |
| 2975 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 2976 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 2977 | # in the presentation. There may not be a slide at this index. |
| 2978 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 2979 | # presentation with this ID. A page with this ID may not exist. |
| 2980 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 2981 | # addressed by its position. |
| 2982 | }, |
| 2983 | "underline": True or False, # Whether or not the text is underlined. |
| 2984 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 2985 | }, |
| 2986 | }, |
| 2987 | }, |
| 2988 | ], |
| 2989 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 2990 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 2991 | # associated with a list. A paragraph that is part of a list has an implicit |
| 2992 | # reference to that list's ID. |
| 2993 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 2994 | # level. A list has at most nine levels of nesting, so the possible values |
| 2995 | # for the keys of this map are 0 through 8, inclusive. |
| 2996 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 2997 | # level of nesting. |
| 2998 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 2999 | # |
| 3000 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 3001 | # inherited from the parent. Which text styles are inherited depend on the |
| 3002 | # nesting level of lists: |
| 3003 | # |
| 3004 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 3005 | # from the the newline character in the paragraph at the 0 nesting level of |
| 3006 | # the list inside the parent placeholder. |
| 3007 | # * A text run in a paragraph that is in a list will inherit its text style |
| 3008 | # from the newline character in the paragraph at its corresponding nesting |
| 3009 | # level of the list inside the parent placeholder. |
| 3010 | # |
| 3011 | # Inherited text styles are represented as unset fields in this message. If |
| 3012 | # text is contained in a shape without a parent placeholder, unsetting these |
| 3013 | # fields will revert the style to a value matching the defaults in the Slides |
| 3014 | # editor. |
| 3015 | "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 |
| 3016 | # transparent, depending on if the `opaque_color` field in it is set. |
| 3017 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 3018 | # a transparent color. |
| 3019 | "themeColor": "A String", # An opaque theme color. |
| 3020 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 3021 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3022 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3023 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3024 | }, |
| 3025 | }, |
| 3026 | }, |
| 3027 | "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 |
| 3028 | # transparent, depending on if the `opaque_color` field in it is set. |
| 3029 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 3030 | # a transparent color. |
| 3031 | "themeColor": "A String", # An opaque theme color. |
| 3032 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 3033 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3034 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3035 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3036 | }, |
| 3037 | }, |
| 3038 | }, |
| 3039 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 3040 | # |
| 3041 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 3042 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 3043 | # The `font_size` itself is not affected by changes in this field. |
| 3044 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 3045 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 3046 | # |
| 3047 | # This field is an extension of `font_family` meant to support explicit font |
| 3048 | # weights without breaking backwards compatibility. As such, when reading the |
| 3049 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 3050 | # will always be equal to that of `font_family`. However, when writing, if |
| 3051 | # both fields are included in the field mask (either explicitly or through |
| 3052 | # the wildcard `"*"`), their values are reconciled as follows: |
| 3053 | # |
| 3054 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 3055 | # `font_family` is applied with weight `400` ("normal"). |
| 3056 | # * If both fields are set, the value of `font_family` must match that of |
| 3057 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 3058 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 3059 | # returned. |
| 3060 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 3061 | # family and weight of `weighted_font_family` is applied. |
| 3062 | # * If neither field is set, the font family and weight of the text inherit |
| 3063 | # from the parent. Note that these properties cannot inherit separately |
| 3064 | # from each other. |
| 3065 | # |
| 3066 | # If an update request specifies values for both `weighted_font_family` and |
| 3067 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 3068 | # |
| 3069 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 3070 | # |
| 3071 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 3072 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 3073 | # is returned. |
| 3074 | "fontFamily": "A String", # The font family of the text. |
| 3075 | # |
| 3076 | # The font family can be any font from the Font menu in Slides or from |
| 3077 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 3078 | # unrecognized, the text is rendered in `Arial`. |
| 3079 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 3080 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 3081 | # corresponds to the numerical values described in the CSS 2.1 |
| 3082 | # Specification, |
| 3083 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 3084 | # with non-numerical values disallowed. Weights greater than or equal to |
| 3085 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 3086 | # default value is `400` ("normal"). |
| 3087 | }, |
| 3088 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 3089 | "fontFamily": "A String", # The font family of the text. |
| 3090 | # |
| 3091 | # The font family can be any font from the Font menu in Slides or from |
| 3092 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 3093 | # unrecognized, the text is rendered in `Arial`. |
| 3094 | # |
| 3095 | # Some fonts can affect the weight of the text. If an update request |
| 3096 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 3097 | # `bold` value is used. |
| 3098 | "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 |
| 3099 | # points. |
| 3100 | "magnitude": 3.14, # The magnitude. |
| 3101 | "unit": "A String", # The units for magnitude. |
| 3102 | }, |
| 3103 | "italic": True or False, # Whether or not the text is italicized. |
| 3104 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 3105 | # are not inherited from parent text. |
| 3106 | # |
| 3107 | # Changing the link in an update request causes some other changes to the |
| 3108 | # text style of the range: |
| 3109 | # |
| 3110 | # * When setting a link, the text foreground color will be set to |
| 3111 | # ThemeColorType.HYPERLINK and the text will |
| 3112 | # be underlined. If these fields are modified in the same |
| 3113 | # request, those values will be used instead of the link defaults. |
| 3114 | # * Setting a link on a text range that overlaps with an existing link will |
| 3115 | # also update the existing link to point to the new URL. |
| 3116 | # * Links are not settable on newline characters. As a result, setting a link |
| 3117 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 3118 | # will separate the newline character(s) into their own text runs. The |
| 3119 | # link will be applied separately to the runs before and after the newline. |
| 3120 | # * Removing a link will update the text style of the range to match the |
| 3121 | # style of the preceding text (or the default text styles if the preceding |
| 3122 | # text is another link) unless different styles are being set in the same |
| 3123 | # request. |
| 3124 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 3125 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 3126 | # in the presentation. There may not be a slide at this index. |
| 3127 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 3128 | # presentation with this ID. A page with this ID may not exist. |
| 3129 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 3130 | # addressed by its position. |
| 3131 | }, |
| 3132 | "underline": True or False, # Whether or not the text is underlined. |
| 3133 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 3134 | }, |
| 3135 | }, |
| 3136 | }, |
| 3137 | "listId": "A String", # The ID of the list. |
| 3138 | }, |
| 3139 | }, |
| 3140 | }, |
| 3141 | "shapeProperties": { # The properties of a Shape. # The properties of the shape. |
| 3142 | # |
| 3143 | # If the shape is a placeholder shape as determined by the |
| 3144 | # placeholder field, then these |
| 3145 | # properties may be inherited from a parent placeholder shape. |
| 3146 | # Determining the rendered value of the property depends on the corresponding |
| 3147 | # property_state field value. |
| 3148 | "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from |
| 3149 | # a parent placeholder if it exists. If the shape has no parent, then the |
| 3150 | # default shadow matches the defaults for new shapes created in the Slides |
| 3151 | # editor. This property is read-only. |
| 3152 | # |
| 3153 | # If these fields are unset, they may be inherited from a parent placeholder |
| 3154 | # if it exists. If there is no parent, the fields will default to the value |
| 3155 | # used for new page elements created in the Slides editor, which may depend on |
| 3156 | # the page element kind. |
| 3157 | "color": { # A themeable solid color value. # The shadow color value. |
| 3158 | "themeColor": "A String", # An opaque theme color. |
| 3159 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 3160 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3161 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3162 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3163 | }, |
| 3164 | }, |
| 3165 | "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, |
| 3166 | # relative to the alignment position. |
| 3167 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 3168 | # according to: |
| 3169 | # |
| 3170 | # x' x = shear_y scale_y translate_y |
| 3171 | # 1 [ 1 ] |
| 3172 | # |
| 3173 | # After transformation, |
| 3174 | # |
| 3175 | # x' = scale_x * x + shear_x * y + translate_x; |
| 3176 | # y' = scale_y * y + shear_y * x + translate_y; |
| 3177 | # |
| 3178 | # This message is therefore composed of these six matrix elements. |
| 3179 | "translateX": 3.14, # The X coordinate translation element. |
| 3180 | "translateY": 3.14, # The Y coordinate translation element. |
| 3181 | "scaleX": 3.14, # The X coordinate scaling element. |
| 3182 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 3183 | "shearY": 3.14, # The Y coordinate shearing element. |
| 3184 | "shearX": 3.14, # The X coordinate shearing element. |
| 3185 | "unit": "A String", # The units for translate elements. |
| 3186 | }, |
| 3187 | "propertyState": "A String", # The shadow property state. |
| 3188 | # |
| 3189 | # Updating the shadow on a page element will implicitly update this field to |
| 3190 | # `RENDERED`, unless another value is specified in the same request. To have |
| 3191 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| 3192 | # case, any other shadow fields set in the same request will be ignored. |
| 3193 | "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 |
| 3194 | # shadow becomes. |
| 3195 | "magnitude": 3.14, # The magnitude. |
| 3196 | "unit": "A String", # The units for magnitude. |
| 3197 | }, |
| 3198 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| 3199 | "type": "A String", # The type of the shadow. This property is read-only. |
| 3200 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| 3201 | # scale and skew of the shadow. This property is read-only. |
| 3202 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 3203 | # read-only. |
| 3204 | }, |
| 3205 | "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is |
| 3206 | # inherited from a parent placeholder if it exists. If the shape has no |
| 3207 | # parent, then the default background fill depends on the shape type, |
| 3208 | # matching the defaults for new shapes created in the Slides editor. |
| 3209 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 3210 | # specified color value. |
| 3211 | # |
| 3212 | # If any field is unset, its value may be inherited from a parent placeholder |
| 3213 | # if it exists. |
| 3214 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 3215 | "themeColor": "A String", # An opaque theme color. |
| 3216 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 3217 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3218 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3219 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3220 | }, |
| 3221 | }, |
| 3222 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 3223 | # That is, the final pixel color is defined by the equation: |
| 3224 | # |
| 3225 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 3226 | # |
| 3227 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 3228 | # a value of 0.0 corresponds to a completely transparent color. |
| 3229 | }, |
| 3230 | "propertyState": "A String", # The background fill property state. |
| 3231 | # |
| 3232 | # Updating the fill on a shape will implicitly update this field to |
| 3233 | # `RENDERED`, unless another value is specified in the same request. To |
| 3234 | # have no fill on a shape, set this field to `NOT_RENDERED`. In this case, |
| 3235 | # any other fill fields set in the same request will be ignored. |
| 3236 | }, |
| 3237 | "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links |
| 3238 | # are not inherited from parent placeholders. |
| 3239 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 3240 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 3241 | # in the presentation. There may not be a slide at this index. |
| 3242 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 3243 | # presentation with this ID. A page with this ID may not exist. |
| 3244 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 3245 | # addressed by its position. |
| 3246 | }, |
| 3247 | "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a |
| 3248 | # parent placeholder if it exists. If the shape has no parent, then the |
| 3249 | # default outline depends on the shape type, matching the defaults for |
| 3250 | # new shapes created in the Slides editor. |
| 3251 | # |
| 3252 | # If these fields are unset, they may be inherited from a parent placeholder |
| 3253 | # if it exists. If there is no parent, the fields will default to the value |
| 3254 | # used for new page elements created in the Slides editor, which may depend on |
| 3255 | # the page element kind. |
| 3256 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 3257 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 3258 | # specified color value. |
| 3259 | # |
| 3260 | # If any field is unset, its value may be inherited from a parent placeholder |
| 3261 | # if it exists. |
| 3262 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 3263 | "themeColor": "A String", # An opaque theme color. |
| 3264 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 3265 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3266 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3267 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3268 | }, |
| 3269 | }, |
| 3270 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 3271 | # That is, the final pixel color is defined by the equation: |
| 3272 | # |
| 3273 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 3274 | # |
| 3275 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 3276 | # a value of 0.0 corresponds to a completely transparent color. |
| 3277 | }, |
| 3278 | }, |
| 3279 | "propertyState": "A String", # The outline property state. |
| 3280 | # |
| 3281 | # Updating the outline on a page element will implicitly update this field |
| 3282 | # to `RENDERED`, unless another value is specified in the same request. To |
| 3283 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 3284 | # this case, any other outline fields set in the same request will be |
| 3285 | # ignored. |
| 3286 | "dashStyle": "A String", # The dash style of the outline. |
| 3287 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 3288 | "magnitude": 3.14, # The magnitude. |
| 3289 | "unit": "A String", # The units for magnitude. |
| 3290 | }, |
| 3291 | }, |
| 3292 | "contentAlignment": "A String", # The alignment of the content in the shape. If unspecified, |
| 3293 | # the alignment is inherited from a parent placeholder if it exists. If the |
| 3294 | # shape has no parent, the default alignment matches the alignment for new |
| 3295 | # shapes created in the Slides editor. |
| 3296 | }, |
| 3297 | "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on |
| 3298 | # layouts and masters. |
| 3299 | # |
| 3300 | # If set, the shape is a placeholder shape and any inherited properties |
| 3301 | # can be resolved by looking at the parent placeholder identified by the |
| 3302 | # Placeholder.parent_object_id field. |
| 3303 | "parentObjectId": "A String", # The object ID of this shape's parent placeholder. |
| 3304 | # If unset, the parent placeholder shape does not exist, so the shape does |
| 3305 | # not inherit properties from any other shape. |
| 3306 | "index": 42, # The index of the placeholder. If the same placeholder types are present in |
| 3307 | # the same page, they would have different index values. |
| 3308 | "type": "A String", # The type of the placeholder. |
| 3309 | }, |
| 3310 | "shapeType": "A String", # The type of the shape. |
| 3311 | }, |
| 3312 | "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are |
| 3313 | # represented as images. |
| 3314 | # a linked chart embedded from Google Sheets. |
| 3315 | "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30 |
| 3316 | # minutes. This URL is tagged with the account of the requester. Anyone with |
| 3317 | # the URL effectively accesses the image as the original requester. Access to |
| 3318 | # the image may be lost if the presentation's sharing settings change. |
| 3319 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| 3320 | "sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart. |
| 3321 | "chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image. |
| 3322 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| 3323 | # |
| 3324 | # If these fields are unset, they may be inherited from a parent placeholder |
| 3325 | # if it exists. If there is no parent, the fields will default to the value |
| 3326 | # used for new page elements created in the Slides editor, which may depend on |
| 3327 | # the page element kind. |
| 3328 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 3329 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 3330 | # specified color value. |
| 3331 | # |
| 3332 | # If any field is unset, its value may be inherited from a parent placeholder |
| 3333 | # if it exists. |
| 3334 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 3335 | "themeColor": "A String", # An opaque theme color. |
| 3336 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 3337 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3338 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3339 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3340 | }, |
| 3341 | }, |
| 3342 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 3343 | # That is, the final pixel color is defined by the equation: |
| 3344 | # |
| 3345 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 3346 | # |
| 3347 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 3348 | # a value of 0.0 corresponds to a completely transparent color. |
| 3349 | }, |
| 3350 | }, |
| 3351 | "propertyState": "A String", # The outline property state. |
| 3352 | # |
| 3353 | # Updating the outline on a page element will implicitly update this field |
| 3354 | # to `RENDERED`, unless another value is specified in the same request. To |
| 3355 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 3356 | # this case, any other outline fields set in the same request will be |
| 3357 | # ignored. |
| 3358 | "dashStyle": "A String", # The dash style of the outline. |
| 3359 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 3360 | "magnitude": 3.14, # The magnitude. |
| 3361 | "unit": "A String", # The units for magnitude. |
| 3362 | }, |
| 3363 | }, |
| 3364 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 3365 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 3366 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 3367 | # This property is read-only. |
| 3368 | "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color |
| 3369 | # stops. |
| 3370 | # |
| 3371 | # The colors in the gradient will replace the corresponding colors at |
| 3372 | # the same position in the color palette and apply to the image. This |
| 3373 | # property is read-only. |
| 3374 | { # A color and position in a gradient band. |
| 3375 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 3376 | "themeColor": "A String", # An opaque theme color. |
| 3377 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 3378 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3379 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3380 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3381 | }, |
| 3382 | }, |
| 3383 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 3384 | # fully opaque. |
| 3385 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 3386 | # in percentage. The value should be in the interval [0.0, 1.0]. |
| 3387 | }, |
| 3388 | ], |
| 3389 | "name": "A String", # The name of the recolor effect. |
| 3390 | # |
| 3391 | # The name is determined from the `recolor_stops` by matching the gradient |
| 3392 | # against the colors in the page's current color scheme. This property is |
| 3393 | # read-only. |
| 3394 | }, |
| 3395 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 3396 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 3397 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 3398 | # in the presentation. There may not be a slide at this index. |
| 3399 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 3400 | # presentation with this ID. A page with this ID may not exist. |
| 3401 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 3402 | # addressed by its position. |
| 3403 | }, |
| 3404 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 3405 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 3406 | # This property is read-only. |
| 3407 | "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. |
| 3408 | # This property is read-only. |
| 3409 | # Image. |
| 3410 | # |
| 3411 | # The crop properties is represented by the offsets of four edges which define |
| 3412 | # a crop rectangle. The offsets are measured in percentage from the |
| 3413 | # corresponding edges of the object's original bounding rectangle towards |
| 3414 | # inside, relative to the object's original dimensions. |
| 3415 | # |
| 3416 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 3417 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 3418 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 3419 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 3420 | # - If the left edge of the crop rectangle is on the right side of its right |
| 3421 | # edge, the object will be flipped horizontally. |
| 3422 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 3423 | # will be flipped vertically. |
| 3424 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 3425 | # |
| 3426 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 3427 | # its container. |
| 3428 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 3429 | # the right of the original bounding rectangle left edge, relative to the |
| 3430 | # object's original width. |
| 3431 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 3432 | # above the original bounding rectangle bottom edge, relative to the object's |
| 3433 | # original height. |
| 3434 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 3435 | # Rotation angle is applied after the offset. |
| 3436 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 3437 | # to the left of the original bounding rectangle right edge, relative to the |
| 3438 | # object's original width. |
| 3439 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 3440 | # below the original bounding rectangle top edge, relative to the object's |
| 3441 | # original height. |
| 3442 | }, |
| 3443 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 3444 | # is read-only. |
| 3445 | # |
| 3446 | # If these fields are unset, they may be inherited from a parent placeholder |
| 3447 | # if it exists. If there is no parent, the fields will default to the value |
| 3448 | # used for new page elements created in the Slides editor, which may depend on |
| 3449 | # the page element kind. |
| 3450 | "color": { # A themeable solid color value. # The shadow color value. |
| 3451 | "themeColor": "A String", # An opaque theme color. |
| 3452 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 3453 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3454 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3455 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3456 | }, |
| 3457 | }, |
| 3458 | "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, |
| 3459 | # relative to the alignment position. |
| 3460 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 3461 | # according to: |
| 3462 | # |
| 3463 | # x' x = shear_y scale_y translate_y |
| 3464 | # 1 [ 1 ] |
| 3465 | # |
| 3466 | # After transformation, |
| 3467 | # |
| 3468 | # x' = scale_x * x + shear_x * y + translate_x; |
| 3469 | # y' = scale_y * y + shear_y * x + translate_y; |
| 3470 | # |
| 3471 | # This message is therefore composed of these six matrix elements. |
| 3472 | "translateX": 3.14, # The X coordinate translation element. |
| 3473 | "translateY": 3.14, # The Y coordinate translation element. |
| 3474 | "scaleX": 3.14, # The X coordinate scaling element. |
| 3475 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 3476 | "shearY": 3.14, # The Y coordinate shearing element. |
| 3477 | "shearX": 3.14, # The X coordinate shearing element. |
| 3478 | "unit": "A String", # The units for translate elements. |
| 3479 | }, |
| 3480 | "propertyState": "A String", # The shadow property state. |
| 3481 | # |
| 3482 | # Updating the shadow on a page element will implicitly update this field to |
| 3483 | # `RENDERED`, unless another value is specified in the same request. To have |
| 3484 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| 3485 | # case, any other shadow fields set in the same request will be ignored. |
| 3486 | "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 |
| 3487 | # shadow becomes. |
| 3488 | "magnitude": 3.14, # The magnitude. |
| 3489 | "unit": "A String", # The units for magnitude. |
| 3490 | }, |
| 3491 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| 3492 | "type": "A String", # The type of the shadow. This property is read-only. |
| 3493 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| 3494 | # scale and skew of the shadow. This property is read-only. |
| 3495 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 3496 | # read-only. |
| 3497 | }, |
| 3498 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 3499 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 3500 | }, |
| 3501 | }, |
| 3502 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 3503 | # embedded. |
| 3504 | }, |
| 3505 | "video": { # A PageElement kind representing a # A video page element. |
| 3506 | # video. |
| 3507 | "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and |
| 3508 | # sharing settings do not change. |
| 3509 | "videoProperties": { # The properties of the Video. # The properties of the video. |
| 3510 | "start": 42, # The time at which to start playback, measured in seconds from the beginning |
| 3511 | # of the video. |
| 3512 | # If set, the start time should be before the end time. |
| 3513 | # If you set this to a value that exceeds the video's length in seconds, the |
| 3514 | # video will be played from the last second. |
| 3515 | # If not set, the video will be played from the beginning. |
| 3516 | "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present |
| 3517 | # mode. Defaults to false. |
| 3518 | "end": 42, # The time at which to end playback, measured in seconds from the beginning |
| 3519 | # of the video. |
| 3520 | # If set, the end time should be after the start time. |
| 3521 | # If not set or if you set this to a value that exceeds the video's length, |
| 3522 | # the video will be played until its end. |
| 3523 | "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new |
| 3524 | # videos created in the Slides editor. |
| 3525 | # |
| 3526 | # If these fields are unset, they may be inherited from a parent placeholder |
| 3527 | # if it exists. If there is no parent, the fields will default to the value |
| 3528 | # used for new page elements created in the Slides editor, which may depend on |
| 3529 | # the page element kind. |
| 3530 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 3531 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 3532 | # specified color value. |
| 3533 | # |
| 3534 | # If any field is unset, its value may be inherited from a parent placeholder |
| 3535 | # if it exists. |
| 3536 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 3537 | "themeColor": "A String", # An opaque theme color. |
| 3538 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 3539 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3540 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3541 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3542 | }, |
| 3543 | }, |
| 3544 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 3545 | # That is, the final pixel color is defined by the equation: |
| 3546 | # |
| 3547 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 3548 | # |
| 3549 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 3550 | # a value of 0.0 corresponds to a completely transparent color. |
| 3551 | }, |
| 3552 | }, |
| 3553 | "propertyState": "A String", # The outline property state. |
| 3554 | # |
| 3555 | # Updating the outline on a page element will implicitly update this field |
| 3556 | # to `RENDERED`, unless another value is specified in the same request. To |
| 3557 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 3558 | # this case, any other outline fields set in the same request will be |
| 3559 | # ignored. |
| 3560 | "dashStyle": "A String", # The dash style of the outline. |
| 3561 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 3562 | "magnitude": 3.14, # The magnitude. |
| 3563 | "unit": "A String", # The units for magnitude. |
| 3564 | }, |
| 3565 | }, |
| 3566 | "mute": True or False, # Whether to mute the audio during video playback. Defaults to false. |
| 3567 | }, |
| 3568 | "id": "A String", # The video source's unique identifier for this video. |
| 3569 | "source": "A String", # The video source. |
| 3570 | }, |
| 3571 | "table": { # A PageElement kind representing a # A table page element. |
| 3572 | # table. |
| 3573 | "rows": 42, # Number of rows in the table. |
| 3574 | "horizontalBorderRows": [ # Properties of horizontal cell borders. |
| 3575 | # |
| 3576 | # A table's horizontal cell borders are represented as a grid. The grid has |
| 3577 | # one more row than the number of rows in the table and the same number of |
| 3578 | # columns as the table. For example, if the table is 3 x 3, its horizontal |
| 3579 | # borders will be represented as a grid with 4 rows and 3 columns. |
| 3580 | { # Contents of each border row in a table. |
| 3581 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 3582 | # merged, it is not included in the response. |
| 3583 | { # The properties of each border cell. |
| 3584 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 3585 | # TableBorderCell. |
| 3586 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 3587 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 3588 | # specified color value. |
| 3589 | # |
| 3590 | # If any field is unset, its value may be inherited from a parent placeholder |
| 3591 | # if it exists. |
| 3592 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 3593 | "themeColor": "A String", # An opaque theme color. |
| 3594 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 3595 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3596 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3597 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3598 | }, |
| 3599 | }, |
| 3600 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 3601 | # That is, the final pixel color is defined by the equation: |
| 3602 | # |
| 3603 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 3604 | # |
| 3605 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 3606 | # a value of 0.0 corresponds to a completely transparent color. |
| 3607 | }, |
| 3608 | }, |
| 3609 | "dashStyle": "A String", # The dash style of the border. |
| 3610 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 3611 | "magnitude": 3.14, # The magnitude. |
| 3612 | "unit": "A String", # The units for magnitude. |
| 3613 | }, |
| 3614 | }, |
| 3615 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 3616 | "rowIndex": 42, # The 0-based row index. |
| 3617 | "columnIndex": 42, # The 0-based column index. |
| 3618 | }, |
| 3619 | }, |
| 3620 | ], |
| 3621 | }, |
| 3622 | ], |
| 3623 | "verticalBorderRows": [ # Properties of vertical cell borders. |
| 3624 | # |
| 3625 | # A table's vertical cell borders are represented as a grid. The grid has the |
| 3626 | # same number of rows as the table and one more column than the number of |
| 3627 | # columns in the table. For example, if the table is 3 x 3, its vertical |
| 3628 | # borders will be represented as a grid with 3 rows and 4 columns. |
| 3629 | { # Contents of each border row in a table. |
| 3630 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 3631 | # merged, it is not included in the response. |
| 3632 | { # The properties of each border cell. |
| 3633 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 3634 | # TableBorderCell. |
| 3635 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 3636 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 3637 | # specified color value. |
| 3638 | # |
| 3639 | # If any field is unset, its value may be inherited from a parent placeholder |
| 3640 | # if it exists. |
| 3641 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 3642 | "themeColor": "A String", # An opaque theme color. |
| 3643 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 3644 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3645 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3646 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3647 | }, |
| 3648 | }, |
| 3649 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 3650 | # That is, the final pixel color is defined by the equation: |
| 3651 | # |
| 3652 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 3653 | # |
| 3654 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 3655 | # a value of 0.0 corresponds to a completely transparent color. |
| 3656 | }, |
| 3657 | }, |
| 3658 | "dashStyle": "A String", # The dash style of the border. |
| 3659 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 3660 | "magnitude": 3.14, # The magnitude. |
| 3661 | "unit": "A String", # The units for magnitude. |
| 3662 | }, |
| 3663 | }, |
| 3664 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 3665 | "rowIndex": 42, # The 0-based row index. |
| 3666 | "columnIndex": 42, # The 0-based column index. |
| 3667 | }, |
| 3668 | }, |
| 3669 | ], |
| 3670 | }, |
| 3671 | ], |
| 3672 | "tableColumns": [ # Properties of each column. |
| 3673 | { # Properties of each column in a table. |
| 3674 | "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column. |
| 3675 | "magnitude": 3.14, # The magnitude. |
| 3676 | "unit": "A String", # The units for magnitude. |
| 3677 | }, |
| 3678 | }, |
| 3679 | ], |
| 3680 | "tableRows": [ # Properties and contents of each row. |
| 3681 | # |
| 3682 | # Cells that span multiple rows are contained in only one of these rows and |
| 3683 | # have a row_span greater |
| 3684 | # than 1. |
| 3685 | { # Properties and contents of each row in a table. |
| 3686 | "tableCells": [ # Properties and contents of each cell. |
| 3687 | # |
| 3688 | # Cells that span multiple columns are represented only once with a |
| 3689 | # column_span greater |
| 3690 | # than 1. As a result, the length of this collection does not always match |
| 3691 | # the number of columns of the entire table. |
| 3692 | { # Properties and contents of each table cell. |
| 3693 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell. |
| 3694 | # text box or rectangle) or a table cell in a page. |
| 3695 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 3696 | # information. This property is read-only. |
| 3697 | { # A TextElement describes the content of a range of indices in the text content |
| 3698 | # of a Shape or TableCell. |
| 3699 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 3700 | # replaced with content that can change over time. |
| 3701 | "content": "A String", # The rendered content of this auto text, if available. |
| 3702 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 3703 | # |
| 3704 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 3705 | # inherited from the parent. Which text styles are inherited depend on the |
| 3706 | # nesting level of lists: |
| 3707 | # |
| 3708 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 3709 | # from the the newline character in the paragraph at the 0 nesting level of |
| 3710 | # the list inside the parent placeholder. |
| 3711 | # * A text run in a paragraph that is in a list will inherit its text style |
| 3712 | # from the newline character in the paragraph at its corresponding nesting |
| 3713 | # level of the list inside the parent placeholder. |
| 3714 | # |
| 3715 | # Inherited text styles are represented as unset fields in this message. If |
| 3716 | # text is contained in a shape without a parent placeholder, unsetting these |
| 3717 | # fields will revert the style to a value matching the defaults in the Slides |
| 3718 | # editor. |
| 3719 | "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 |
| 3720 | # transparent, depending on if the `opaque_color` field in it is set. |
| 3721 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 3722 | # a transparent color. |
| 3723 | "themeColor": "A String", # An opaque theme color. |
| 3724 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 3725 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3726 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3727 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3728 | }, |
| 3729 | }, |
| 3730 | }, |
| 3731 | "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 |
| 3732 | # transparent, depending on if the `opaque_color` field in it is set. |
| 3733 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 3734 | # a transparent color. |
| 3735 | "themeColor": "A String", # An opaque theme color. |
| 3736 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 3737 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3738 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3739 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3740 | }, |
| 3741 | }, |
| 3742 | }, |
| 3743 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 3744 | # |
| 3745 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 3746 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 3747 | # The `font_size` itself is not affected by changes in this field. |
| 3748 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 3749 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 3750 | # |
| 3751 | # This field is an extension of `font_family` meant to support explicit font |
| 3752 | # weights without breaking backwards compatibility. As such, when reading the |
| 3753 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 3754 | # will always be equal to that of `font_family`. However, when writing, if |
| 3755 | # both fields are included in the field mask (either explicitly or through |
| 3756 | # the wildcard `"*"`), their values are reconciled as follows: |
| 3757 | # |
| 3758 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 3759 | # `font_family` is applied with weight `400` ("normal"). |
| 3760 | # * If both fields are set, the value of `font_family` must match that of |
| 3761 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 3762 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 3763 | # returned. |
| 3764 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 3765 | # family and weight of `weighted_font_family` is applied. |
| 3766 | # * If neither field is set, the font family and weight of the text inherit |
| 3767 | # from the parent. Note that these properties cannot inherit separately |
| 3768 | # from each other. |
| 3769 | # |
| 3770 | # If an update request specifies values for both `weighted_font_family` and |
| 3771 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 3772 | # |
| 3773 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 3774 | # |
| 3775 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 3776 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 3777 | # is returned. |
| 3778 | "fontFamily": "A String", # The font family of the text. |
| 3779 | # |
| 3780 | # The font family can be any font from the Font menu in Slides or from |
| 3781 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 3782 | # unrecognized, the text is rendered in `Arial`. |
| 3783 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 3784 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 3785 | # corresponds to the numerical values described in the CSS 2.1 |
| 3786 | # Specification, |
| 3787 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 3788 | # with non-numerical values disallowed. Weights greater than or equal to |
| 3789 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 3790 | # default value is `400` ("normal"). |
| 3791 | }, |
| 3792 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 3793 | "fontFamily": "A String", # The font family of the text. |
| 3794 | # |
| 3795 | # The font family can be any font from the Font menu in Slides or from |
| 3796 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 3797 | # unrecognized, the text is rendered in `Arial`. |
| 3798 | # |
| 3799 | # Some fonts can affect the weight of the text. If an update request |
| 3800 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 3801 | # `bold` value is used. |
| 3802 | "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 |
| 3803 | # points. |
| 3804 | "magnitude": 3.14, # The magnitude. |
| 3805 | "unit": "A String", # The units for magnitude. |
| 3806 | }, |
| 3807 | "italic": True or False, # Whether or not the text is italicized. |
| 3808 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 3809 | # are not inherited from parent text. |
| 3810 | # |
| 3811 | # Changing the link in an update request causes some other changes to the |
| 3812 | # text style of the range: |
| 3813 | # |
| 3814 | # * When setting a link, the text foreground color will be set to |
| 3815 | # ThemeColorType.HYPERLINK and the text will |
| 3816 | # be underlined. If these fields are modified in the same |
| 3817 | # request, those values will be used instead of the link defaults. |
| 3818 | # * Setting a link on a text range that overlaps with an existing link will |
| 3819 | # also update the existing link to point to the new URL. |
| 3820 | # * Links are not settable on newline characters. As a result, setting a link |
| 3821 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 3822 | # will separate the newline character(s) into their own text runs. The |
| 3823 | # link will be applied separately to the runs before and after the newline. |
| 3824 | # * Removing a link will update the text style of the range to match the |
| 3825 | # style of the preceding text (or the default text styles if the preceding |
| 3826 | # text is another link) unless different styles are being set in the same |
| 3827 | # request. |
| 3828 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 3829 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 3830 | # in the presentation. There may not be a slide at this index. |
| 3831 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 3832 | # presentation with this ID. A page with this ID may not exist. |
| 3833 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 3834 | # addressed by its position. |
| 3835 | }, |
| 3836 | "underline": True or False, # Whether or not the text is underlined. |
| 3837 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 3838 | }, |
| 3839 | "type": "A String", # The type of this auto text. |
| 3840 | }, |
| 3841 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 3842 | # units. |
| 3843 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 3844 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 3845 | # |
| 3846 | # The `start_index` and `end_index` of this TextElement represent the |
| 3847 | # range of the paragraph. Other TextElements with an index range contained |
| 3848 | # inside this paragraph's range are considered to be part of this |
| 3849 | # paragraph. The range of indices of two separate paragraphs will never |
| 3850 | # overlap. |
| 3851 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 3852 | # |
| 3853 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 3854 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 3855 | # nesting level of lists: |
| 3856 | # |
| 3857 | # * A paragraph not in a list will inherit its paragraph style from the |
| 3858 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 3859 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 3860 | # at its corresponding nesting level of the list inside the parent |
| 3861 | # placeholder. |
| 3862 | # |
| 3863 | # Inherited paragraph styles are represented as unset fields in this message. |
| 3864 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 3865 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 3866 | # LEFT_TO_RIGHT since |
| 3867 | # text direction is not inherited. |
| 3868 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 3869 | # inherited from the parent. |
| 3870 | "magnitude": 3.14, # The magnitude. |
| 3871 | "unit": "A String", # The units for magnitude. |
| 3872 | }, |
| 3873 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 3874 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 3875 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 3876 | # the start of the text, based on the current text direction. If unset, the |
| 3877 | # value is inherited from the parent. |
| 3878 | "magnitude": 3.14, # The magnitude. |
| 3879 | "unit": "A String", # The units for magnitude. |
| 3880 | }, |
| 3881 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 3882 | # inherited from the parent. |
| 3883 | "magnitude": 3.14, # The magnitude. |
| 3884 | "unit": "A String", # The units for magnitude. |
| 3885 | }, |
| 3886 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 3887 | # the end of the text, based on the current text direction. If unset, the |
| 3888 | # value is inherited from the parent. |
| 3889 | "magnitude": 3.14, # The magnitude. |
| 3890 | "unit": "A String", # The units for magnitude. |
| 3891 | }, |
| 3892 | "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. |
| 3893 | # If unset, the value is inherited from the parent. |
| 3894 | "magnitude": 3.14, # The magnitude. |
| 3895 | "unit": "A String", # The units for magnitude. |
| 3896 | }, |
| 3897 | "alignment": "A String", # The text alignment for this paragraph. |
| 3898 | }, |
| 3899 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 3900 | # belong to a list. |
| 3901 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 3902 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 3903 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 3904 | # |
| 3905 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 3906 | # inherited from the parent. Which text styles are inherited depend on the |
| 3907 | # nesting level of lists: |
| 3908 | # |
| 3909 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 3910 | # from the the newline character in the paragraph at the 0 nesting level of |
| 3911 | # the list inside the parent placeholder. |
| 3912 | # * A text run in a paragraph that is in a list will inherit its text style |
| 3913 | # from the newline character in the paragraph at its corresponding nesting |
| 3914 | # level of the list inside the parent placeholder. |
| 3915 | # |
| 3916 | # Inherited text styles are represented as unset fields in this message. If |
| 3917 | # text is contained in a shape without a parent placeholder, unsetting these |
| 3918 | # fields will revert the style to a value matching the defaults in the Slides |
| 3919 | # editor. |
| 3920 | "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 |
| 3921 | # transparent, depending on if the `opaque_color` field in it is set. |
| 3922 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 3923 | # a transparent color. |
| 3924 | "themeColor": "A String", # An opaque theme color. |
| 3925 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 3926 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3927 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3928 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3929 | }, |
| 3930 | }, |
| 3931 | }, |
| 3932 | "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 |
| 3933 | # transparent, depending on if the `opaque_color` field in it is set. |
| 3934 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 3935 | # a transparent color. |
| 3936 | "themeColor": "A String", # An opaque theme color. |
| 3937 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 3938 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3939 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3940 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3941 | }, |
| 3942 | }, |
| 3943 | }, |
| 3944 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 3945 | # |
| 3946 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 3947 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 3948 | # The `font_size` itself is not affected by changes in this field. |
| 3949 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 3950 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 3951 | # |
| 3952 | # This field is an extension of `font_family` meant to support explicit font |
| 3953 | # weights without breaking backwards compatibility. As such, when reading the |
| 3954 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 3955 | # will always be equal to that of `font_family`. However, when writing, if |
| 3956 | # both fields are included in the field mask (either explicitly or through |
| 3957 | # the wildcard `"*"`), their values are reconciled as follows: |
| 3958 | # |
| 3959 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 3960 | # `font_family` is applied with weight `400` ("normal"). |
| 3961 | # * If both fields are set, the value of `font_family` must match that of |
| 3962 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 3963 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 3964 | # returned. |
| 3965 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 3966 | # family and weight of `weighted_font_family` is applied. |
| 3967 | # * If neither field is set, the font family and weight of the text inherit |
| 3968 | # from the parent. Note that these properties cannot inherit separately |
| 3969 | # from each other. |
| 3970 | # |
| 3971 | # If an update request specifies values for both `weighted_font_family` and |
| 3972 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 3973 | # |
| 3974 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 3975 | # |
| 3976 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 3977 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 3978 | # is returned. |
| 3979 | "fontFamily": "A String", # The font family of the text. |
| 3980 | # |
| 3981 | # The font family can be any font from the Font menu in Slides or from |
| 3982 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 3983 | # unrecognized, the text is rendered in `Arial`. |
| 3984 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 3985 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 3986 | # corresponds to the numerical values described in the CSS 2.1 |
| 3987 | # Specification, |
| 3988 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 3989 | # with non-numerical values disallowed. Weights greater than or equal to |
| 3990 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 3991 | # default value is `400` ("normal"). |
| 3992 | }, |
| 3993 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 3994 | "fontFamily": "A String", # The font family of the text. |
| 3995 | # |
| 3996 | # The font family can be any font from the Font menu in Slides or from |
| 3997 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 3998 | # unrecognized, the text is rendered in `Arial`. |
| 3999 | # |
| 4000 | # Some fonts can affect the weight of the text. If an update request |
| 4001 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 4002 | # `bold` value is used. |
| 4003 | "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 |
| 4004 | # points. |
| 4005 | "magnitude": 3.14, # The magnitude. |
| 4006 | "unit": "A String", # The units for magnitude. |
| 4007 | }, |
| 4008 | "italic": True or False, # Whether or not the text is italicized. |
| 4009 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 4010 | # are not inherited from parent text. |
| 4011 | # |
| 4012 | # Changing the link in an update request causes some other changes to the |
| 4013 | # text style of the range: |
| 4014 | # |
| 4015 | # * When setting a link, the text foreground color will be set to |
| 4016 | # ThemeColorType.HYPERLINK and the text will |
| 4017 | # be underlined. If these fields are modified in the same |
| 4018 | # request, those values will be used instead of the link defaults. |
| 4019 | # * Setting a link on a text range that overlaps with an existing link will |
| 4020 | # also update the existing link to point to the new URL. |
| 4021 | # * Links are not settable on newline characters. As a result, setting a link |
| 4022 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 4023 | # will separate the newline character(s) into their own text runs. The |
| 4024 | # link will be applied separately to the runs before and after the newline. |
| 4025 | # * Removing a link will update the text style of the range to match the |
| 4026 | # style of the preceding text (or the default text styles if the preceding |
| 4027 | # text is another link) unless different styles are being set in the same |
| 4028 | # request. |
| 4029 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 4030 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 4031 | # in the presentation. There may not be a slide at this index. |
| 4032 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 4033 | # presentation with this ID. A page with this ID may not exist. |
| 4034 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 4035 | # addressed by its position. |
| 4036 | }, |
| 4037 | "underline": True or False, # Whether or not the text is underlined. |
| 4038 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 4039 | }, |
| 4040 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 4041 | }, |
| 4042 | }, |
| 4043 | "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 |
| 4044 | # in the run have the same TextStyle. |
| 4045 | # |
| 4046 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 4047 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 4048 | # In other words, a TextRun will never span multiple paragraphs. |
| 4049 | # styling. |
| 4050 | "content": "A String", # The text of this run. |
| 4051 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 4052 | # |
| 4053 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 4054 | # inherited from the parent. Which text styles are inherited depend on the |
| 4055 | # nesting level of lists: |
| 4056 | # |
| 4057 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 4058 | # from the the newline character in the paragraph at the 0 nesting level of |
| 4059 | # the list inside the parent placeholder. |
| 4060 | # * A text run in a paragraph that is in a list will inherit its text style |
| 4061 | # from the newline character in the paragraph at its corresponding nesting |
| 4062 | # level of the list inside the parent placeholder. |
| 4063 | # |
| 4064 | # Inherited text styles are represented as unset fields in this message. If |
| 4065 | # text is contained in a shape without a parent placeholder, unsetting these |
| 4066 | # fields will revert the style to a value matching the defaults in the Slides |
| 4067 | # editor. |
| 4068 | "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 |
| 4069 | # transparent, depending on if the `opaque_color` field in it is set. |
| 4070 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 4071 | # a transparent color. |
| 4072 | "themeColor": "A String", # An opaque theme color. |
| 4073 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 4074 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4075 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4076 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4077 | }, |
| 4078 | }, |
| 4079 | }, |
| 4080 | "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 |
| 4081 | # transparent, depending on if the `opaque_color` field in it is set. |
| 4082 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 4083 | # a transparent color. |
| 4084 | "themeColor": "A String", # An opaque theme color. |
| 4085 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 4086 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4087 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4088 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4089 | }, |
| 4090 | }, |
| 4091 | }, |
| 4092 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 4093 | # |
| 4094 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 4095 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 4096 | # The `font_size` itself is not affected by changes in this field. |
| 4097 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 4098 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 4099 | # |
| 4100 | # This field is an extension of `font_family` meant to support explicit font |
| 4101 | # weights without breaking backwards compatibility. As such, when reading the |
| 4102 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 4103 | # will always be equal to that of `font_family`. However, when writing, if |
| 4104 | # both fields are included in the field mask (either explicitly or through |
| 4105 | # the wildcard `"*"`), their values are reconciled as follows: |
| 4106 | # |
| 4107 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 4108 | # `font_family` is applied with weight `400` ("normal"). |
| 4109 | # * If both fields are set, the value of `font_family` must match that of |
| 4110 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 4111 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 4112 | # returned. |
| 4113 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 4114 | # family and weight of `weighted_font_family` is applied. |
| 4115 | # * If neither field is set, the font family and weight of the text inherit |
| 4116 | # from the parent. Note that these properties cannot inherit separately |
| 4117 | # from each other. |
| 4118 | # |
| 4119 | # If an update request specifies values for both `weighted_font_family` and |
| 4120 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 4121 | # |
| 4122 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 4123 | # |
| 4124 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 4125 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 4126 | # is returned. |
| 4127 | "fontFamily": "A String", # The font family of the text. |
| 4128 | # |
| 4129 | # The font family can be any font from the Font menu in Slides or from |
| 4130 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 4131 | # unrecognized, the text is rendered in `Arial`. |
| 4132 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 4133 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 4134 | # corresponds to the numerical values described in the CSS 2.1 |
| 4135 | # Specification, |
| 4136 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 4137 | # with non-numerical values disallowed. Weights greater than or equal to |
| 4138 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 4139 | # default value is `400` ("normal"). |
| 4140 | }, |
| 4141 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 4142 | "fontFamily": "A String", # The font family of the text. |
| 4143 | # |
| 4144 | # The font family can be any font from the Font menu in Slides or from |
| 4145 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 4146 | # unrecognized, the text is rendered in `Arial`. |
| 4147 | # |
| 4148 | # Some fonts can affect the weight of the text. If an update request |
| 4149 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 4150 | # `bold` value is used. |
| 4151 | "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 |
| 4152 | # points. |
| 4153 | "magnitude": 3.14, # The magnitude. |
| 4154 | "unit": "A String", # The units for magnitude. |
| 4155 | }, |
| 4156 | "italic": True or False, # Whether or not the text is italicized. |
| 4157 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 4158 | # are not inherited from parent text. |
| 4159 | # |
| 4160 | # Changing the link in an update request causes some other changes to the |
| 4161 | # text style of the range: |
| 4162 | # |
| 4163 | # * When setting a link, the text foreground color will be set to |
| 4164 | # ThemeColorType.HYPERLINK and the text will |
| 4165 | # be underlined. If these fields are modified in the same |
| 4166 | # request, those values will be used instead of the link defaults. |
| 4167 | # * Setting a link on a text range that overlaps with an existing link will |
| 4168 | # also update the existing link to point to the new URL. |
| 4169 | # * Links are not settable on newline characters. As a result, setting a link |
| 4170 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 4171 | # will separate the newline character(s) into their own text runs. The |
| 4172 | # link will be applied separately to the runs before and after the newline. |
| 4173 | # * Removing a link will update the text style of the range to match the |
| 4174 | # style of the preceding text (or the default text styles if the preceding |
| 4175 | # text is another link) unless different styles are being set in the same |
| 4176 | # request. |
| 4177 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 4178 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 4179 | # in the presentation. There may not be a slide at this index. |
| 4180 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 4181 | # presentation with this ID. A page with this ID may not exist. |
| 4182 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 4183 | # addressed by its position. |
| 4184 | }, |
| 4185 | "underline": True or False, # Whether or not the text is underlined. |
| 4186 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 4187 | }, |
| 4188 | }, |
| 4189 | }, |
| 4190 | ], |
| 4191 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 4192 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 4193 | # associated with a list. A paragraph that is part of a list has an implicit |
| 4194 | # reference to that list's ID. |
| 4195 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 4196 | # level. A list has at most nine levels of nesting, so the possible values |
| 4197 | # for the keys of this map are 0 through 8, inclusive. |
| 4198 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 4199 | # level of nesting. |
| 4200 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 4201 | # |
| 4202 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 4203 | # inherited from the parent. Which text styles are inherited depend on the |
| 4204 | # nesting level of lists: |
| 4205 | # |
| 4206 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 4207 | # from the the newline character in the paragraph at the 0 nesting level of |
| 4208 | # the list inside the parent placeholder. |
| 4209 | # * A text run in a paragraph that is in a list will inherit its text style |
| 4210 | # from the newline character in the paragraph at its corresponding nesting |
| 4211 | # level of the list inside the parent placeholder. |
| 4212 | # |
| 4213 | # Inherited text styles are represented as unset fields in this message. If |
| 4214 | # text is contained in a shape without a parent placeholder, unsetting these |
| 4215 | # fields will revert the style to a value matching the defaults in the Slides |
| 4216 | # editor. |
| 4217 | "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 |
| 4218 | # transparent, depending on if the `opaque_color` field in it is set. |
| 4219 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 4220 | # a transparent color. |
| 4221 | "themeColor": "A String", # An opaque theme color. |
| 4222 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 4223 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4224 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4225 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4226 | }, |
| 4227 | }, |
| 4228 | }, |
| 4229 | "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 |
| 4230 | # transparent, depending on if the `opaque_color` field in it is set. |
| 4231 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 4232 | # a transparent color. |
| 4233 | "themeColor": "A String", # An opaque theme color. |
| 4234 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 4235 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4236 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4237 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4238 | }, |
| 4239 | }, |
| 4240 | }, |
| 4241 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 4242 | # |
| 4243 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 4244 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 4245 | # The `font_size` itself is not affected by changes in this field. |
| 4246 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 4247 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 4248 | # |
| 4249 | # This field is an extension of `font_family` meant to support explicit font |
| 4250 | # weights without breaking backwards compatibility. As such, when reading the |
| 4251 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 4252 | # will always be equal to that of `font_family`. However, when writing, if |
| 4253 | # both fields are included in the field mask (either explicitly or through |
| 4254 | # the wildcard `"*"`), their values are reconciled as follows: |
| 4255 | # |
| 4256 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 4257 | # `font_family` is applied with weight `400` ("normal"). |
| 4258 | # * If both fields are set, the value of `font_family` must match that of |
| 4259 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 4260 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 4261 | # returned. |
| 4262 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 4263 | # family and weight of `weighted_font_family` is applied. |
| 4264 | # * If neither field is set, the font family and weight of the text inherit |
| 4265 | # from the parent. Note that these properties cannot inherit separately |
| 4266 | # from each other. |
| 4267 | # |
| 4268 | # If an update request specifies values for both `weighted_font_family` and |
| 4269 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 4270 | # |
| 4271 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 4272 | # |
| 4273 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 4274 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 4275 | # is returned. |
| 4276 | "fontFamily": "A String", # The font family of the text. |
| 4277 | # |
| 4278 | # The font family can be any font from the Font menu in Slides or from |
| 4279 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 4280 | # unrecognized, the text is rendered in `Arial`. |
| 4281 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 4282 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 4283 | # corresponds to the numerical values described in the CSS 2.1 |
| 4284 | # Specification, |
| 4285 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 4286 | # with non-numerical values disallowed. Weights greater than or equal to |
| 4287 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 4288 | # default value is `400` ("normal"). |
| 4289 | }, |
| 4290 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 4291 | "fontFamily": "A String", # The font family of the text. |
| 4292 | # |
| 4293 | # The font family can be any font from the Font menu in Slides or from |
| 4294 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 4295 | # unrecognized, the text is rendered in `Arial`. |
| 4296 | # |
| 4297 | # Some fonts can affect the weight of the text. If an update request |
| 4298 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 4299 | # `bold` value is used. |
| 4300 | "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 |
| 4301 | # points. |
| 4302 | "magnitude": 3.14, # The magnitude. |
| 4303 | "unit": "A String", # The units for magnitude. |
| 4304 | }, |
| 4305 | "italic": True or False, # Whether or not the text is italicized. |
| 4306 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 4307 | # are not inherited from parent text. |
| 4308 | # |
| 4309 | # Changing the link in an update request causes some other changes to the |
| 4310 | # text style of the range: |
| 4311 | # |
| 4312 | # * When setting a link, the text foreground color will be set to |
| 4313 | # ThemeColorType.HYPERLINK and the text will |
| 4314 | # be underlined. If these fields are modified in the same |
| 4315 | # request, those values will be used instead of the link defaults. |
| 4316 | # * Setting a link on a text range that overlaps with an existing link will |
| 4317 | # also update the existing link to point to the new URL. |
| 4318 | # * Links are not settable on newline characters. As a result, setting a link |
| 4319 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 4320 | # will separate the newline character(s) into their own text runs. The |
| 4321 | # link will be applied separately to the runs before and after the newline. |
| 4322 | # * Removing a link will update the text style of the range to match the |
| 4323 | # style of the preceding text (or the default text styles if the preceding |
| 4324 | # text is another link) unless different styles are being set in the same |
| 4325 | # request. |
| 4326 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 4327 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 4328 | # in the presentation. There may not be a slide at this index. |
| 4329 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 4330 | # presentation with this ID. A page with this ID may not exist. |
| 4331 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 4332 | # addressed by its position. |
| 4333 | }, |
| 4334 | "underline": True or False, # Whether or not the text is underlined. |
| 4335 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 4336 | }, |
| 4337 | }, |
| 4338 | }, |
| 4339 | "listId": "A String", # The ID of the list. |
| 4340 | }, |
| 4341 | }, |
| 4342 | }, |
| 4343 | "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell. |
| 4344 | "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill |
| 4345 | # for newly created table cells in the Slides editor. |
| 4346 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 4347 | # specified color value. |
| 4348 | # |
| 4349 | # If any field is unset, its value may be inherited from a parent placeholder |
| 4350 | # if it exists. |
| 4351 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 4352 | "themeColor": "A String", # An opaque theme color. |
| 4353 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 4354 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4355 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4356 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4357 | }, |
| 4358 | }, |
| 4359 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 4360 | # That is, the final pixel color is defined by the equation: |
| 4361 | # |
| 4362 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 4363 | # |
| 4364 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 4365 | # a value of 0.0 corresponds to a completely transparent color. |
| 4366 | }, |
| 4367 | "propertyState": "A String", # The background fill property state. |
| 4368 | # |
| 4369 | # Updating the fill on a table cell will implicitly update this field |
| 4370 | # to `RENDERED`, unless another value is specified in the same request. To |
| 4371 | # have no fill on a table cell, set this field to `NOT_RENDERED`. In this |
| 4372 | # case, any other fill fields set in the same request will be ignored. |
| 4373 | }, |
| 4374 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 4375 | # matches the alignment for newly created table cells in the Slides editor. |
| 4376 | }, |
| 4377 | "rowSpan": 42, # Row span of the cell. |
| 4378 | "columnSpan": 42, # Column span of the cell. |
| 4379 | "location": { # A location of a single table cell within a table. # The location of the cell within the table. |
| 4380 | "rowIndex": 42, # The 0-based row index. |
| 4381 | "columnIndex": 42, # The 0-based column index. |
| 4382 | }, |
| 4383 | }, |
| 4384 | ], |
| 4385 | "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row. |
| 4386 | "magnitude": 3.14, # The magnitude. |
| 4387 | "unit": "A String", # The units for magnitude. |
| 4388 | }, |
| 4389 | "tableRowProperties": { # Properties of each row in a table. # Properties of the row. |
| 4390 | "minRowHeight": { # A magnitude in a single direction in the specified units. # Minimum height of the row. The row will be rendered in the Slides editor at |
| 4391 | # a height equal to or greater than this value in order to show all the text |
| 4392 | # in the row's cell(s). |
| 4393 | "magnitude": 3.14, # The magnitude. |
| 4394 | "unit": "A String", # The units for magnitude. |
| 4395 | }, |
| 4396 | }, |
| 4397 | }, |
| 4398 | ], |
| 4399 | "columns": 42, # Number of columns in the table. |
| 4400 | }, |
| 4401 | "line": { # A PageElement kind representing a # A line page element. |
| 4402 | # non-connector line, straight connector, curved connector, or bent connector. |
| 4403 | "lineCategory": "A String", # The category of the line. |
| 4404 | # |
| 4405 | # It matches the `category` specified in CreateLineRequest, and can be updated with |
| 4406 | # UpdateLineCategoryRequest. |
| 4407 | "lineProperties": { # The properties of the Line. # The properties of the line. |
| 4408 | # |
| 4409 | # When unset, these fields default to values that match the appearance of |
| 4410 | # new lines created in the Slides editor. |
| 4411 | "dashStyle": "A String", # The dash style of the line. |
| 4412 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line. |
| 4413 | "magnitude": 3.14, # The magnitude. |
| 4414 | "unit": "A String", # The units for magnitude. |
| 4415 | }, |
| 4416 | "endArrow": "A String", # The style of the arrow at the end of the line. |
| 4417 | "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link. |
| 4418 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 4419 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 4420 | # in the presentation. There may not be a slide at this index. |
| 4421 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 4422 | # presentation with this ID. A page with this ID may not exist. |
| 4423 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 4424 | # addressed by its position. |
| 4425 | }, |
| 4426 | "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new |
| 4427 | # lines created in the Slides editor. |
| 4428 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 4429 | # specified color value. |
| 4430 | # |
| 4431 | # If any field is unset, its value may be inherited from a parent placeholder |
| 4432 | # if it exists. |
| 4433 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 4434 | "themeColor": "A String", # An opaque theme color. |
| 4435 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 4436 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4437 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4438 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4439 | }, |
| 4440 | }, |
| 4441 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 4442 | # That is, the final pixel color is defined by the equation: |
| 4443 | # |
| 4444 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 4445 | # |
| 4446 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 4447 | # a value of 0.0 corresponds to a completely transparent color. |
| 4448 | }, |
| 4449 | }, |
| 4450 | "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no |
| 4451 | # connection. |
| 4452 | # |
| 4453 | # Only lines with a Type indicating it is |
| 4454 | # a "connector" can have a `start_connection`. |
| 4455 | # connection. |
| 4456 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 4457 | # |
| 4458 | # In most cases, it corresponds to the predefined connection site index from |
| 4459 | # the ECMA-376 standard. More information on those connection sites can be |
| 4460 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 4461 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 4462 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 4463 | # [ECMA-376 5th edition] |
| 4464 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 4465 | # |
| 4466 | # The position of each connection site can also be viewed from Slides editor. |
| 4467 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 4468 | # |
| 4469 | # Some page elements, such as groups, tables, and lines |
| 4470 | # do not have connection sites and therefore cannot be connected to a |
| 4471 | # connector line. |
| 4472 | }, |
| 4473 | "endConnection": { # The properties for one end of a Line # The connection at the end of the line. If unset, there is no connection. |
| 4474 | # |
| 4475 | # Only lines with a Type indicating it is |
| 4476 | # a "connector" can have an `end_connection`. |
| 4477 | # connection. |
| 4478 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 4479 | # |
| 4480 | # In most cases, it corresponds to the predefined connection site index from |
| 4481 | # the ECMA-376 standard. More information on those connection sites can be |
| 4482 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 4483 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 4484 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 4485 | # [ECMA-376 5th edition] |
| 4486 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 4487 | # |
| 4488 | # The position of each connection site can also be viewed from Slides editor. |
| 4489 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 4490 | # |
| 4491 | # Some page elements, such as groups, tables, and lines |
| 4492 | # do not have connection sites and therefore cannot be connected to a |
| 4493 | # connector line. |
| 4494 | }, |
| 4495 | "startArrow": "A String", # The style of the arrow at the beginning of the line. |
| 4496 | }, |
| 4497 | "lineType": "A String", # The type of the line. |
| 4498 | }, |
| 4499 | "size": { # A width and height. # The size of the page element. |
| 4500 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 4501 | "magnitude": 3.14, # The magnitude. |
| 4502 | "unit": "A String", # The units for magnitude. |
| 4503 | }, |
| 4504 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 4505 | "magnitude": 3.14, # The magnitude. |
| 4506 | "unit": "A String", # The units for magnitude. |
| 4507 | }, |
| 4508 | }, |
| 4509 | "description": "A String", # The description of the page element. Combined with title to display alt |
| 4510 | # text. |
| 4511 | }, |
| 4512 | ], |
| 4513 | "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES. |
| 4514 | # relevant for pages with page_type NOTES. |
| 4515 | "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker |
| 4516 | # notes for the corresponding slide. |
| 4517 | # The actual shape may not always exist on the notes page. Inserting text |
| 4518 | # using this object ID will automatically create the shape. In this case, the |
| 4519 | # actual shape may have different object ID. The `GetPresentation` or |
| 4520 | # `GetPage` action will always return the latest object ID. |
| 4521 | }, |
| 4522 | "objectId": "A String", # The object ID for this page. Object IDs used by |
| 4523 | # Page and |
| 4524 | # PageElement share the same namespace. |
| 4525 | "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in |
| 4526 | # update requests to assert that the presentation revision hasn't changed |
| 4527 | # since the last read operation. Only populated if the user has edit access |
| 4528 | # to the presentation. |
| 4529 | # |
| 4530 | # The format of the revision ID may change over time, so it should be treated |
| 4531 | # opaquely. A returned revision ID is only guaranteed to be valid for 24 |
| 4532 | # hours after it has been returned and cannot be shared across users. If the |
| 4533 | # revision ID is unchanged between calls, then the presentation has not |
| 4534 | # changed. Conversely, a changed ID (for the same presentation and user) |
| 4535 | # usually means the presentation has been updated; however, a changed ID can |
| 4536 | # also be due to internal factors such as ID format changes. |
| 4537 | "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER. |
| 4538 | # relevant for pages with page_type MASTER. |
| 4539 | "displayName": "A String", # The human-readable name of the master. |
| 4540 | }, |
| 4541 | "pageProperties": { # The properties of the Page. # The properties of the page. |
| 4542 | # |
| 4543 | # The page will inherit properties from the parent page. Depending on the page |
| 4544 | # type the hierarchy is defined in either |
| 4545 | # SlideProperties or |
| 4546 | # LayoutProperties. |
| 4547 | "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited |
| 4548 | # from a parent page if it exists. If the page has no parent, then the |
| 4549 | # background fill defaults to the corresponding fill in the Slides editor. |
| 4550 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 4551 | # specified color value. |
| 4552 | # |
| 4553 | # If any field is unset, its value may be inherited from a parent placeholder |
| 4554 | # if it exists. |
| 4555 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 4556 | "themeColor": "A String", # An opaque theme color. |
| 4557 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 4558 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4559 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4560 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4561 | }, |
| 4562 | }, |
| 4563 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 4564 | # That is, the final pixel color is defined by the equation: |
| 4565 | # |
| 4566 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 4567 | # |
| 4568 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 4569 | # a value of 0.0 corresponds to a completely transparent color. |
| 4570 | }, |
| 4571 | "propertyState": "A String", # The background fill property state. |
| 4572 | # |
| 4573 | # Updating the fill on a page will implicitly update this field to |
| 4574 | # `RENDERED`, unless another value is specified in the same request. To |
| 4575 | # have no fill on a page, set this field to `NOT_RENDERED`. In this case, |
| 4576 | # any other fill fields set in the same request will be ignored. |
| 4577 | "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill. |
| 4578 | # the specified picture. The picture is stretched to fit its container. |
| 4579 | "contentUrl": "A String", # Reading the content_url: |
| 4580 | # |
| 4581 | # An URL to a picture with a default lifetime of 30 minutes. |
| 4582 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 4583 | # effectively accesses the picture as the original requester. Access to the |
| 4584 | # picture may be lost if the presentation's sharing settings change. |
| 4585 | # |
| 4586 | # Writing the content_url: |
| 4587 | # |
| 4588 | # The picture is fetched once at insertion time and a copy is stored for |
| 4589 | # display inside the presentation. Pictures must be less than 50MB in size, |
| 4590 | # cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF |
| 4591 | # format. |
| 4592 | # |
| 4593 | # The provided URL can be at most 2 kB in length. |
| 4594 | "size": { # A width and height. # The original size of the picture fill. This field is read-only. |
| 4595 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 4596 | "magnitude": 3.14, # The magnitude. |
| 4597 | "unit": "A String", # The units for magnitude. |
| 4598 | }, |
| 4599 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 4600 | "magnitude": 3.14, # The magnitude. |
| 4601 | "unit": "A String", # The units for magnitude. |
| 4602 | }, |
| 4603 | }, |
| 4604 | }, |
| 4605 | }, |
| 4606 | "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from |
| 4607 | # a parent page. If the page has no parent, the color scheme uses a default |
| 4608 | # Slides color scheme. This field is read-only. |
| 4609 | "colors": [ # The ThemeColorType and corresponding concrete color pairs. |
| 4610 | { # A pair mapping a theme color type to the concrete color it represents. |
| 4611 | "color": { # An RGB color. # The concrete color corresponding to the theme color type above. |
| 4612 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4613 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4614 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4615 | }, |
| 4616 | "type": "A String", # The type of the theme color. |
| 4617 | }, |
| 4618 | ], |
| 4619 | }, |
| 4620 | }, |
| 4621 | "pageType": "A String", # The type of the page. |
| 4622 | "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE. |
| 4623 | # relevant for pages with page_type SLIDE. |
| 4624 | "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual |
| 4625 | # appearance of a notes page when printing or exporting slides with speaker |
| 4626 | # notes. A notes page inherits properties from the |
| 4627 | # notes master. |
| 4628 | # The placeholder shape with type BODY on the notes page contains the speaker |
| 4629 | # notes for this slide. The ID of this shape is identified by the |
| 4630 | # speakerNotesObjectId field. |
| 4631 | # The notes page is read-only except for the text content and styles of the |
| 4632 | # speaker notes shape. This property is read-only. |
| 4633 | "masterObjectId": "A String", # The object ID of the master that this slide is based on. This property is |
| 4634 | # read-only. |
| 4635 | "layoutObjectId": "A String", # The object ID of the layout that this slide is based on. This property is |
| 4636 | # read-only. |
| 4637 | }, |
| 4638 | }, |
| 4639 | ], |
| 4640 | "pageSize": { # A width and height. # The size of pages in the presentation. |
| 4641 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 4642 | "magnitude": 3.14, # The magnitude. |
| 4643 | "unit": "A String", # The units for magnitude. |
| 4644 | }, |
| 4645 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 4646 | "magnitude": 3.14, # The magnitude. |
| 4647 | "unit": "A String", # The units for magnitude. |
| 4648 | }, |
| 4649 | }, |
| 4650 | "title": "A String", # The title of the presentation. |
| 4651 | "locale": "A String", # The locale of the presentation, as an IETF BCP 47 language tag. |
| 4652 | "revisionId": "A String", # The revision ID of the presentation. Can be used in update requests |
| 4653 | # to assert that the presentation revision hasn't changed since the last |
| 4654 | # read operation. Only populated if the user has edit access to the |
| 4655 | # presentation. |
| 4656 | # |
| 4657 | # The format of the revision ID may change over time, so it should be treated |
| 4658 | # opaquely. A returned revision ID is only guaranteed to be valid for 24 |
| 4659 | # hours after it has been returned and cannot be shared across users. If the |
| 4660 | # revision ID is unchanged between calls, then the presentation has not |
| 4661 | # changed. Conversely, a changed ID (for the same presentation and user) |
| 4662 | # usually means the presentation has been updated; however, a changed ID can |
| 4663 | # also be due to internal factors such as ID format changes. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 4664 | "notesMaster": { # A page in a presentation. # The notes master in the presentation. It serves three purposes: |
| 4665 | # |
| 4666 | # - Placeholder shapes on a notes master contain the default text styles and |
| 4667 | # shape properties of all placeholder shapes on notes pages. Specifically, |
| 4668 | # a `SLIDE_IMAGE` placeholder shape contains the slide thumbnail, and a |
| 4669 | # `BODY` placeholder shape contains the speaker notes. |
| 4670 | # - The notes master page properties define the common page properties |
| 4671 | # inherited by all notes pages. |
| 4672 | # - Any other shapes on the notes master will appear on all notes pages. |
| 4673 | # |
| 4674 | # The notes master is read-only. |
| 4675 | "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT. |
| 4676 | # relevant for pages with page_type LAYOUT. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 4677 | "displayName": "A String", # The human-readable name of the layout. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 4678 | "name": "A String", # The name of the layout. |
| 4679 | "masterObjectId": "A String", # The object ID of the master that this layout is based on. |
| 4680 | }, |
| 4681 | "pageElements": [ # The page elements rendered on the page. |
| 4682 | { # A visual element rendered on a page. |
| 4683 | "wordArt": { # A PageElement kind representing # A word art page element. |
| 4684 | # word art. |
| 4685 | "renderedText": "A String", # The text rendered as word art. |
| 4686 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 4687 | "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit. |
| 4688 | # joined collection of PageElements. |
| 4689 | "children": [ # The collection of elements in the group. The minimum size of a group is 2. |
| 4690 | # Object with schema name: PageElement |
| 4691 | ], |
| 4692 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 4693 | "objectId": "A String", # The object ID for this page element. Object IDs used by |
| 4694 | # google.apps.slides.v1.Page and |
| 4695 | # google.apps.slides.v1.PageElement share the same namespace. |
| 4696 | "title": "A String", # The title of the page element. Combined with description to display alt |
| 4697 | # text. |
| 4698 | "image": { # A PageElement kind representing an # An image page element. |
| 4699 | # image. |
| 4700 | "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes. |
| 4701 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 4702 | # effectively accesses the image as the original requester. Access to the |
| 4703 | # image may be lost if the presentation's sharing settings change. |
| 4704 | "imageProperties": { # The properties of the Image. # The properties of the image. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 4705 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 4706 | # |
| 4707 | # If these fields are unset, they may be inherited from a parent placeholder |
| 4708 | # if it exists. If there is no parent, the fields will default to the value |
| 4709 | # used for new page elements created in the Slides editor, which may depend on |
| 4710 | # the page element kind. |
| 4711 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 4712 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 4713 | # specified color value. |
| 4714 | # |
| 4715 | # If any field is unset, its value may be inherited from a parent placeholder |
| 4716 | # if it exists. |
| 4717 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 4718 | "themeColor": "A String", # An opaque theme color. |
| 4719 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 4720 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4721 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4722 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4723 | }, |
| 4724 | }, |
| 4725 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 4726 | # That is, the final pixel color is defined by the equation: |
| 4727 | # |
| 4728 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 4729 | # |
| 4730 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 4731 | # a value of 0.0 corresponds to a completely transparent color. |
| 4732 | }, |
| 4733 | }, |
| 4734 | "propertyState": "A String", # The outline property state. |
| 4735 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 4736 | # Updating the outline on a page element will implicitly update this field |
| 4737 | # to `RENDERED`, unless another value is specified in the same request. To |
| 4738 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 4739 | # this case, any other outline fields set in the same request will be |
| 4740 | # ignored. |
| 4741 | "dashStyle": "A String", # The dash style of the outline. |
| 4742 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 4743 | "magnitude": 3.14, # The magnitude. |
| 4744 | "unit": "A String", # The units for magnitude. |
| 4745 | }, |
| 4746 | }, |
| 4747 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 4748 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 4749 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 4750 | # This property is read-only. |
| 4751 | "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color |
| 4752 | # stops. |
| 4753 | # |
| 4754 | # The colors in the gradient will replace the corresponding colors at |
| 4755 | # the same position in the color palette and apply to the image. This |
| 4756 | # property is read-only. |
| 4757 | { # A color and position in a gradient band. |
| 4758 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 4759 | "themeColor": "A String", # An opaque theme color. |
| 4760 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 4761 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4762 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4763 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4764 | }, |
| 4765 | }, |
| 4766 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 4767 | # fully opaque. |
| 4768 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 4769 | # in percentage. The value should be in the interval [0.0, 1.0]. |
| 4770 | }, |
| 4771 | ], |
| 4772 | "name": "A String", # The name of the recolor effect. |
| 4773 | # |
| 4774 | # The name is determined from the `recolor_stops` by matching the gradient |
| 4775 | # against the colors in the page's current color scheme. This property is |
| 4776 | # read-only. |
| 4777 | }, |
| 4778 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 4779 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 4780 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 4781 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 4782 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 4783 | # presentation with this ID. A page with this ID may not exist. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 4784 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 4785 | # addressed by its position. |
| 4786 | }, |
| 4787 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 4788 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 4789 | # This property is read-only. |
| 4790 | "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. |
| 4791 | # This property is read-only. |
| 4792 | # Image. |
| 4793 | # |
| 4794 | # The crop properties is represented by the offsets of four edges which define |
| 4795 | # a crop rectangle. The offsets are measured in percentage from the |
| 4796 | # corresponding edges of the object's original bounding rectangle towards |
| 4797 | # inside, relative to the object's original dimensions. |
| 4798 | # |
| 4799 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 4800 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 4801 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 4802 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 4803 | # - If the left edge of the crop rectangle is on the right side of its right |
| 4804 | # edge, the object will be flipped horizontally. |
| 4805 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 4806 | # will be flipped vertically. |
| 4807 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 4808 | # |
| 4809 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 4810 | # its container. |
| 4811 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 4812 | # the right of the original bounding rectangle left edge, relative to the |
| 4813 | # object's original width. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 4814 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 4815 | # above the original bounding rectangle bottom edge, relative to the object's |
| 4816 | # original height. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 4817 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 4818 | # Rotation angle is applied after the offset. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 4819 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 4820 | # to the left of the original bounding rectangle right edge, relative to the |
| 4821 | # object's original width. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 4822 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 4823 | # below the original bounding rectangle top edge, relative to the object's |
| 4824 | # original height. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 4825 | }, |
| 4826 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 4827 | # is read-only. |
| 4828 | # |
| 4829 | # If these fields are unset, they may be inherited from a parent placeholder |
| 4830 | # if it exists. If there is no parent, the fields will default to the value |
| 4831 | # used for new page elements created in the Slides editor, which may depend on |
| 4832 | # the page element kind. |
| 4833 | "color": { # A themeable solid color value. # The shadow color value. |
| 4834 | "themeColor": "A String", # An opaque theme color. |
| 4835 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 4836 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4837 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4838 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4839 | }, |
| 4840 | }, |
| 4841 | "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, |
| 4842 | # relative to the alignment position. |
| 4843 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 4844 | # according to: |
| 4845 | # |
| 4846 | # x' x = shear_y scale_y translate_y |
| 4847 | # 1 [ 1 ] |
| 4848 | # |
| 4849 | # After transformation, |
| 4850 | # |
| 4851 | # x' = scale_x * x + shear_x * y + translate_x; |
| 4852 | # y' = scale_y * y + shear_y * x + translate_y; |
| 4853 | # |
| 4854 | # This message is therefore composed of these six matrix elements. |
| 4855 | "translateX": 3.14, # The X coordinate translation element. |
| 4856 | "translateY": 3.14, # The Y coordinate translation element. |
| 4857 | "scaleX": 3.14, # The X coordinate scaling element. |
| 4858 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 4859 | "shearY": 3.14, # The Y coordinate shearing element. |
| 4860 | "shearX": 3.14, # The X coordinate shearing element. |
| 4861 | "unit": "A String", # The units for translate elements. |
| 4862 | }, |
| 4863 | "propertyState": "A String", # The shadow property state. |
| 4864 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 4865 | # Updating the shadow on a page element will implicitly update this field to |
| 4866 | # `RENDERED`, unless another value is specified in the same request. To have |
| 4867 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 4868 | # case, any other shadow fields set in the same request will be ignored. |
| 4869 | "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 |
| 4870 | # shadow becomes. |
| 4871 | "magnitude": 3.14, # The magnitude. |
| 4872 | "unit": "A String", # The units for magnitude. |
| 4873 | }, |
| 4874 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 4875 | "type": "A String", # The type of the shadow. This property is read-only. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 4876 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 4877 | # scale and skew of the shadow. This property is read-only. |
| 4878 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 4879 | # read-only. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 4880 | }, |
| 4881 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 4882 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 4883 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 4884 | "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be |
| 4885 | # empty. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 4886 | }, |
| 4887 | "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 4888 | # |
| 4889 | # The visual appearance of the page element is determined by its absolute |
| 4890 | # transform. To compute the absolute transform, preconcatenate a page |
| 4891 | # element's transform with the transforms of all of its parent groups. If the |
| 4892 | # page element is not in a group, its absolute transform is the same as the |
| 4893 | # value in this field. |
| 4894 | # |
| 4895 | # The initial transform for the newly created Group is always the identity transform. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 4896 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 4897 | # according to: |
| 4898 | # |
| 4899 | # x' x = shear_y scale_y translate_y |
| 4900 | # 1 [ 1 ] |
| 4901 | # |
| 4902 | # After transformation, |
| 4903 | # |
| 4904 | # x' = scale_x * x + shear_x * y + translate_x; |
| 4905 | # y' = scale_y * y + shear_y * x + translate_y; |
| 4906 | # |
| 4907 | # This message is therefore composed of these six matrix elements. |
| 4908 | "translateX": 3.14, # The X coordinate translation element. |
| 4909 | "translateY": 3.14, # The Y coordinate translation element. |
| 4910 | "scaleX": 3.14, # The X coordinate scaling element. |
| 4911 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 4912 | "shearY": 3.14, # The Y coordinate shearing element. |
| 4913 | "shearX": 3.14, # The X coordinate shearing element. |
| 4914 | "unit": "A String", # The units for translate elements. |
| 4915 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 4916 | "shape": { # A PageElement kind representing a # A generic shape. |
| 4917 | # generic shape that does not have a more specific classification. |
| 4918 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape. |
| 4919 | # text box or rectangle) or a table cell in a page. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 4920 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 4921 | # information. This property is read-only. |
| 4922 | { # A TextElement describes the content of a range of indices in the text content |
| 4923 | # of a Shape or TableCell. |
| 4924 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 4925 | # replaced with content that can change over time. |
| 4926 | "content": "A String", # The rendered content of this auto text, if available. |
| 4927 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 4928 | # |
| 4929 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 4930 | # inherited from the parent. Which text styles are inherited depend on the |
| 4931 | # nesting level of lists: |
| 4932 | # |
| 4933 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 4934 | # from the the newline character in the paragraph at the 0 nesting level of |
| 4935 | # the list inside the parent placeholder. |
| 4936 | # * A text run in a paragraph that is in a list will inherit its text style |
| 4937 | # from the newline character in the paragraph at its corresponding nesting |
| 4938 | # level of the list inside the parent placeholder. |
| 4939 | # |
| 4940 | # Inherited text styles are represented as unset fields in this message. If |
| 4941 | # text is contained in a shape without a parent placeholder, unsetting these |
| 4942 | # fields will revert the style to a value matching the defaults in the Slides |
| 4943 | # editor. |
| 4944 | "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 |
| 4945 | # transparent, depending on if the `opaque_color` field in it is set. |
| 4946 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 4947 | # a transparent color. |
| 4948 | "themeColor": "A String", # An opaque theme color. |
| 4949 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 4950 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4951 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4952 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4953 | }, |
| 4954 | }, |
| 4955 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 4956 | "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 |
| 4957 | # transparent, depending on if the `opaque_color` field in it is set. |
| 4958 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 4959 | # a transparent color. |
| 4960 | "themeColor": "A String", # An opaque theme color. |
| 4961 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 4962 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4963 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4964 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4965 | }, |
| 4966 | }, |
| 4967 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 4968 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 4969 | # |
| 4970 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 4971 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 4972 | # The `font_size` itself is not affected by changes in this field. |
| 4973 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 4974 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 4975 | # |
| 4976 | # This field is an extension of `font_family` meant to support explicit font |
| 4977 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 4978 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 4979 | # will always be equal to that of `font_family`. However, when writing, if |
| 4980 | # both fields are included in the field mask (either explicitly or through |
| 4981 | # the wildcard `"*"`), their values are reconciled as follows: |
| 4982 | # |
| 4983 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 4984 | # `font_family` is applied with weight `400` ("normal"). |
| 4985 | # * If both fields are set, the value of `font_family` must match that of |
| 4986 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 4987 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 4988 | # returned. |
| 4989 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 4990 | # family and weight of `weighted_font_family` is applied. |
| 4991 | # * If neither field is set, the font family and weight of the text inherit |
| 4992 | # from the parent. Note that these properties cannot inherit separately |
| 4993 | # from each other. |
| 4994 | # |
| 4995 | # If an update request specifies values for both `weighted_font_family` and |
| 4996 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 4997 | # |
| 4998 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 4999 | # |
| 5000 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 5001 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 5002 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 5003 | "fontFamily": "A String", # The font family of the text. |
| 5004 | # |
| 5005 | # The font family can be any font from the Font menu in Slides or from |
| 5006 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 5007 | # unrecognized, the text is rendered in `Arial`. |
| 5008 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 5009 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 5010 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5011 | # Specification, |
| 5012 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 5013 | # with non-numerical values disallowed. Weights greater than or equal to |
| 5014 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 5015 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 5016 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5017 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 5018 | "fontFamily": "A String", # The font family of the text. |
| 5019 | # |
| 5020 | # The font family can be any font from the Font menu in Slides or from |
| 5021 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 5022 | # unrecognized, the text is rendered in `Arial`. |
| 5023 | # |
| 5024 | # Some fonts can affect the weight of the text. If an update request |
| 5025 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 5026 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5027 | "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 |
| 5028 | # points. |
| 5029 | "magnitude": 3.14, # The magnitude. |
| 5030 | "unit": "A String", # The units for magnitude. |
| 5031 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5032 | "italic": True or False, # Whether or not the text is italicized. |
| 5033 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 5034 | # are not inherited from parent text. |
| 5035 | # |
| 5036 | # Changing the link in an update request causes some other changes to the |
| 5037 | # text style of the range: |
| 5038 | # |
| 5039 | # * When setting a link, the text foreground color will be set to |
| 5040 | # ThemeColorType.HYPERLINK and the text will |
| 5041 | # be underlined. If these fields are modified in the same |
| 5042 | # request, those values will be used instead of the link defaults. |
| 5043 | # * Setting a link on a text range that overlaps with an existing link will |
| 5044 | # also update the existing link to point to the new URL. |
| 5045 | # * Links are not settable on newline characters. As a result, setting a link |
| 5046 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 5047 | # will separate the newline character(s) into their own text runs. The |
| 5048 | # link will be applied separately to the runs before and after the newline. |
| 5049 | # * Removing a link will update the text style of the range to match the |
| 5050 | # style of the preceding text (or the default text styles if the preceding |
| 5051 | # text is another link) unless different styles are being set in the same |
| 5052 | # request. |
| 5053 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 5054 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 5055 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 5056 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 5057 | # presentation with this ID. A page with this ID may not exist. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5058 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 5059 | # addressed by its position. |
| 5060 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 5061 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5062 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5063 | }, |
| 5064 | "type": "A String", # The type of this auto text. |
| 5065 | }, |
| 5066 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 5067 | # units. |
| 5068 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 5069 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 5070 | # |
| 5071 | # The `start_index` and `end_index` of this TextElement represent the |
| 5072 | # range of the paragraph. Other TextElements with an index range contained |
| 5073 | # inside this paragraph's range are considered to be part of this |
| 5074 | # paragraph. The range of indices of two separate paragraphs will never |
| 5075 | # overlap. |
| 5076 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 5077 | # |
| 5078 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 5079 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 5080 | # nesting level of lists: |
| 5081 | # |
| 5082 | # * A paragraph not in a list will inherit its paragraph style from the |
| 5083 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 5084 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 5085 | # at its corresponding nesting level of the list inside the parent |
| 5086 | # placeholder. |
| 5087 | # |
| 5088 | # Inherited paragraph styles are represented as unset fields in this message. |
| 5089 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 5090 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 5091 | # LEFT_TO_RIGHT since |
| 5092 | # text direction is not inherited. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5093 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5094 | # inherited from the parent. |
| 5095 | "magnitude": 3.14, # The magnitude. |
| 5096 | "unit": "A String", # The units for magnitude. |
| 5097 | }, |
| 5098 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 5099 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 5100 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 5101 | # the start of the text, based on the current text direction. If unset, the |
| 5102 | # value is inherited from the parent. |
| 5103 | "magnitude": 3.14, # The magnitude. |
| 5104 | "unit": "A String", # The units for magnitude. |
| 5105 | }, |
| 5106 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 5107 | # inherited from the parent. |
| 5108 | "magnitude": 3.14, # The magnitude. |
| 5109 | "unit": "A String", # The units for magnitude. |
| 5110 | }, |
| 5111 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 5112 | # the end of the text, based on the current text direction. If unset, the |
| 5113 | # value is inherited from the parent. |
| 5114 | "magnitude": 3.14, # The magnitude. |
| 5115 | "unit": "A String", # The units for magnitude. |
| 5116 | }, |
| 5117 | "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. |
| 5118 | # If unset, the value is inherited from the parent. |
| 5119 | "magnitude": 3.14, # The magnitude. |
| 5120 | "unit": "A String", # The units for magnitude. |
| 5121 | }, |
| 5122 | "alignment": "A String", # The text alignment for this paragraph. |
| 5123 | }, |
| 5124 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 5125 | # belong to a list. |
| 5126 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 5127 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 5128 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 5129 | # |
| 5130 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 5131 | # inherited from the parent. Which text styles are inherited depend on the |
| 5132 | # nesting level of lists: |
| 5133 | # |
| 5134 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 5135 | # from the the newline character in the paragraph at the 0 nesting level of |
| 5136 | # the list inside the parent placeholder. |
| 5137 | # * A text run in a paragraph that is in a list will inherit its text style |
| 5138 | # from the newline character in the paragraph at its corresponding nesting |
| 5139 | # level of the list inside the parent placeholder. |
| 5140 | # |
| 5141 | # Inherited text styles are represented as unset fields in this message. If |
| 5142 | # text is contained in a shape without a parent placeholder, unsetting these |
| 5143 | # fields will revert the style to a value matching the defaults in the Slides |
| 5144 | # editor. |
| 5145 | "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 |
| 5146 | # transparent, depending on if the `opaque_color` field in it is set. |
| 5147 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 5148 | # a transparent color. |
| 5149 | "themeColor": "A String", # An opaque theme color. |
| 5150 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 5151 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5152 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5153 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5154 | }, |
| 5155 | }, |
| 5156 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5157 | "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 |
| 5158 | # transparent, depending on if the `opaque_color` field in it is set. |
| 5159 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 5160 | # a transparent color. |
| 5161 | "themeColor": "A String", # An opaque theme color. |
| 5162 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 5163 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5164 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5165 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5166 | }, |
| 5167 | }, |
| 5168 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5169 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 5170 | # |
| 5171 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 5172 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 5173 | # The `font_size` itself is not affected by changes in this field. |
| 5174 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 5175 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 5176 | # |
| 5177 | # This field is an extension of `font_family` meant to support explicit font |
| 5178 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 5179 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 5180 | # will always be equal to that of `font_family`. However, when writing, if |
| 5181 | # both fields are included in the field mask (either explicitly or through |
| 5182 | # the wildcard `"*"`), their values are reconciled as follows: |
| 5183 | # |
| 5184 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 5185 | # `font_family` is applied with weight `400` ("normal"). |
| 5186 | # * If both fields are set, the value of `font_family` must match that of |
| 5187 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 5188 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 5189 | # returned. |
| 5190 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 5191 | # family and weight of `weighted_font_family` is applied. |
| 5192 | # * If neither field is set, the font family and weight of the text inherit |
| 5193 | # from the parent. Note that these properties cannot inherit separately |
| 5194 | # from each other. |
| 5195 | # |
| 5196 | # If an update request specifies values for both `weighted_font_family` and |
| 5197 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 5198 | # |
| 5199 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 5200 | # |
| 5201 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 5202 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 5203 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 5204 | "fontFamily": "A String", # The font family of the text. |
| 5205 | # |
| 5206 | # The font family can be any font from the Font menu in Slides or from |
| 5207 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 5208 | # unrecognized, the text is rendered in `Arial`. |
| 5209 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 5210 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 5211 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5212 | # Specification, |
| 5213 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 5214 | # with non-numerical values disallowed. Weights greater than or equal to |
| 5215 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 5216 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 5217 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5218 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 5219 | "fontFamily": "A String", # The font family of the text. |
| 5220 | # |
| 5221 | # The font family can be any font from the Font menu in Slides or from |
| 5222 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 5223 | # unrecognized, the text is rendered in `Arial`. |
| 5224 | # |
| 5225 | # Some fonts can affect the weight of the text. If an update request |
| 5226 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 5227 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5228 | "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 |
| 5229 | # points. |
| 5230 | "magnitude": 3.14, # The magnitude. |
| 5231 | "unit": "A String", # The units for magnitude. |
| 5232 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5233 | "italic": True or False, # Whether or not the text is italicized. |
| 5234 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 5235 | # are not inherited from parent text. |
| 5236 | # |
| 5237 | # Changing the link in an update request causes some other changes to the |
| 5238 | # text style of the range: |
| 5239 | # |
| 5240 | # * When setting a link, the text foreground color will be set to |
| 5241 | # ThemeColorType.HYPERLINK and the text will |
| 5242 | # be underlined. If these fields are modified in the same |
| 5243 | # request, those values will be used instead of the link defaults. |
| 5244 | # * Setting a link on a text range that overlaps with an existing link will |
| 5245 | # also update the existing link to point to the new URL. |
| 5246 | # * Links are not settable on newline characters. As a result, setting a link |
| 5247 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 5248 | # will separate the newline character(s) into their own text runs. The |
| 5249 | # link will be applied separately to the runs before and after the newline. |
| 5250 | # * Removing a link will update the text style of the range to match the |
| 5251 | # style of the preceding text (or the default text styles if the preceding |
| 5252 | # text is another link) unless different styles are being set in the same |
| 5253 | # request. |
| 5254 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 5255 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 5256 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 5257 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 5258 | # presentation with this ID. A page with this ID may not exist. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5259 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 5260 | # addressed by its position. |
| 5261 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 5262 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5263 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5264 | }, |
| 5265 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 5266 | }, |
| 5267 | }, |
| 5268 | "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 |
| 5269 | # in the run have the same TextStyle. |
| 5270 | # |
| 5271 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 5272 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 5273 | # In other words, a TextRun will never span multiple paragraphs. |
| 5274 | # styling. |
| 5275 | "content": "A String", # The text of this run. |
| 5276 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 5277 | # |
| 5278 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 5279 | # inherited from the parent. Which text styles are inherited depend on the |
| 5280 | # nesting level of lists: |
| 5281 | # |
| 5282 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 5283 | # from the the newline character in the paragraph at the 0 nesting level of |
| 5284 | # the list inside the parent placeholder. |
| 5285 | # * A text run in a paragraph that is in a list will inherit its text style |
| 5286 | # from the newline character in the paragraph at its corresponding nesting |
| 5287 | # level of the list inside the parent placeholder. |
| 5288 | # |
| 5289 | # Inherited text styles are represented as unset fields in this message. If |
| 5290 | # text is contained in a shape without a parent placeholder, unsetting these |
| 5291 | # fields will revert the style to a value matching the defaults in the Slides |
| 5292 | # editor. |
| 5293 | "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 |
| 5294 | # transparent, depending on if the `opaque_color` field in it is set. |
| 5295 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 5296 | # a transparent color. |
| 5297 | "themeColor": "A String", # An opaque theme color. |
| 5298 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 5299 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5300 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5301 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5302 | }, |
| 5303 | }, |
| 5304 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5305 | "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 |
| 5306 | # transparent, depending on if the `opaque_color` field in it is set. |
| 5307 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 5308 | # a transparent color. |
| 5309 | "themeColor": "A String", # An opaque theme color. |
| 5310 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 5311 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5312 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5313 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5314 | }, |
| 5315 | }, |
| 5316 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5317 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 5318 | # |
| 5319 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 5320 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 5321 | # The `font_size` itself is not affected by changes in this field. |
| 5322 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 5323 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 5324 | # |
| 5325 | # This field is an extension of `font_family` meant to support explicit font |
| 5326 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 5327 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 5328 | # will always be equal to that of `font_family`. However, when writing, if |
| 5329 | # both fields are included in the field mask (either explicitly or through |
| 5330 | # the wildcard `"*"`), their values are reconciled as follows: |
| 5331 | # |
| 5332 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 5333 | # `font_family` is applied with weight `400` ("normal"). |
| 5334 | # * If both fields are set, the value of `font_family` must match that of |
| 5335 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 5336 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 5337 | # returned. |
| 5338 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 5339 | # family and weight of `weighted_font_family` is applied. |
| 5340 | # * If neither field is set, the font family and weight of the text inherit |
| 5341 | # from the parent. Note that these properties cannot inherit separately |
| 5342 | # from each other. |
| 5343 | # |
| 5344 | # If an update request specifies values for both `weighted_font_family` and |
| 5345 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 5346 | # |
| 5347 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 5348 | # |
| 5349 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 5350 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 5351 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 5352 | "fontFamily": "A String", # The font family of the text. |
| 5353 | # |
| 5354 | # The font family can be any font from the Font menu in Slides or from |
| 5355 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 5356 | # unrecognized, the text is rendered in `Arial`. |
| 5357 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 5358 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 5359 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5360 | # Specification, |
| 5361 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 5362 | # with non-numerical values disallowed. Weights greater than or equal to |
| 5363 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 5364 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 5365 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5366 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 5367 | "fontFamily": "A String", # The font family of the text. |
| 5368 | # |
| 5369 | # The font family can be any font from the Font menu in Slides or from |
| 5370 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 5371 | # unrecognized, the text is rendered in `Arial`. |
| 5372 | # |
| 5373 | # Some fonts can affect the weight of the text. If an update request |
| 5374 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 5375 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5376 | "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 |
| 5377 | # points. |
| 5378 | "magnitude": 3.14, # The magnitude. |
| 5379 | "unit": "A String", # The units for magnitude. |
| 5380 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5381 | "italic": True or False, # Whether or not the text is italicized. |
| 5382 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 5383 | # are not inherited from parent text. |
| 5384 | # |
| 5385 | # Changing the link in an update request causes some other changes to the |
| 5386 | # text style of the range: |
| 5387 | # |
| 5388 | # * When setting a link, the text foreground color will be set to |
| 5389 | # ThemeColorType.HYPERLINK and the text will |
| 5390 | # be underlined. If these fields are modified in the same |
| 5391 | # request, those values will be used instead of the link defaults. |
| 5392 | # * Setting a link on a text range that overlaps with an existing link will |
| 5393 | # also update the existing link to point to the new URL. |
| 5394 | # * Links are not settable on newline characters. As a result, setting a link |
| 5395 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 5396 | # will separate the newline character(s) into their own text runs. The |
| 5397 | # link will be applied separately to the runs before and after the newline. |
| 5398 | # * Removing a link will update the text style of the range to match the |
| 5399 | # style of the preceding text (or the default text styles if the preceding |
| 5400 | # text is another link) unless different styles are being set in the same |
| 5401 | # request. |
| 5402 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 5403 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 5404 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 5405 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 5406 | # presentation with this ID. A page with this ID may not exist. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5407 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 5408 | # addressed by its position. |
| 5409 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 5410 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5411 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5412 | }, |
| 5413 | }, |
| 5414 | }, |
| 5415 | ], |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5416 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 5417 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 5418 | # associated with a list. A paragraph that is part of a list has an implicit |
| 5419 | # reference to that list's ID. |
| 5420 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 5421 | # level. A list has at most nine levels of nesting, so the possible values |
| 5422 | # for the keys of this map are 0 through 8, inclusive. |
| 5423 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 5424 | # level of nesting. |
| 5425 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 5426 | # |
| 5427 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 5428 | # inherited from the parent. Which text styles are inherited depend on the |
| 5429 | # nesting level of lists: |
| 5430 | # |
| 5431 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 5432 | # from the the newline character in the paragraph at the 0 nesting level of |
| 5433 | # the list inside the parent placeholder. |
| 5434 | # * A text run in a paragraph that is in a list will inherit its text style |
| 5435 | # from the newline character in the paragraph at its corresponding nesting |
| 5436 | # level of the list inside the parent placeholder. |
| 5437 | # |
| 5438 | # Inherited text styles are represented as unset fields in this message. If |
| 5439 | # text is contained in a shape without a parent placeholder, unsetting these |
| 5440 | # fields will revert the style to a value matching the defaults in the Slides |
| 5441 | # editor. |
| 5442 | "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 |
| 5443 | # transparent, depending on if the `opaque_color` field in it is set. |
| 5444 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 5445 | # a transparent color. |
| 5446 | "themeColor": "A String", # An opaque theme color. |
| 5447 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 5448 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5449 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5450 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5451 | }, |
| 5452 | }, |
| 5453 | }, |
| 5454 | "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 |
| 5455 | # transparent, depending on if the `opaque_color` field in it is set. |
| 5456 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 5457 | # a transparent color. |
| 5458 | "themeColor": "A String", # An opaque theme color. |
| 5459 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 5460 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5461 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5462 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5463 | }, |
| 5464 | }, |
| 5465 | }, |
| 5466 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 5467 | # |
| 5468 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 5469 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 5470 | # The `font_size` itself is not affected by changes in this field. |
| 5471 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 5472 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 5473 | # |
| 5474 | # This field is an extension of `font_family` meant to support explicit font |
| 5475 | # weights without breaking backwards compatibility. As such, when reading the |
| 5476 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 5477 | # will always be equal to that of `font_family`. However, when writing, if |
| 5478 | # both fields are included in the field mask (either explicitly or through |
| 5479 | # the wildcard `"*"`), their values are reconciled as follows: |
| 5480 | # |
| 5481 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 5482 | # `font_family` is applied with weight `400` ("normal"). |
| 5483 | # * If both fields are set, the value of `font_family` must match that of |
| 5484 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 5485 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 5486 | # returned. |
| 5487 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 5488 | # family and weight of `weighted_font_family` is applied. |
| 5489 | # * If neither field is set, the font family and weight of the text inherit |
| 5490 | # from the parent. Note that these properties cannot inherit separately |
| 5491 | # from each other. |
| 5492 | # |
| 5493 | # If an update request specifies values for both `weighted_font_family` and |
| 5494 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 5495 | # |
| 5496 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 5497 | # |
| 5498 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 5499 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 5500 | # is returned. |
| 5501 | "fontFamily": "A String", # The font family of the text. |
| 5502 | # |
| 5503 | # The font family can be any font from the Font menu in Slides or from |
| 5504 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 5505 | # unrecognized, the text is rendered in `Arial`. |
| 5506 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 5507 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 5508 | # corresponds to the numerical values described in the CSS 2.1 |
| 5509 | # Specification, |
| 5510 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 5511 | # with non-numerical values disallowed. Weights greater than or equal to |
| 5512 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 5513 | # default value is `400` ("normal"). |
| 5514 | }, |
| 5515 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 5516 | "fontFamily": "A String", # The font family of the text. |
| 5517 | # |
| 5518 | # The font family can be any font from the Font menu in Slides or from |
| 5519 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 5520 | # unrecognized, the text is rendered in `Arial`. |
| 5521 | # |
| 5522 | # Some fonts can affect the weight of the text. If an update request |
| 5523 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 5524 | # `bold` value is used. |
| 5525 | "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 |
| 5526 | # points. |
| 5527 | "magnitude": 3.14, # The magnitude. |
| 5528 | "unit": "A String", # The units for magnitude. |
| 5529 | }, |
| 5530 | "italic": True or False, # Whether or not the text is italicized. |
| 5531 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 5532 | # are not inherited from parent text. |
| 5533 | # |
| 5534 | # Changing the link in an update request causes some other changes to the |
| 5535 | # text style of the range: |
| 5536 | # |
| 5537 | # * When setting a link, the text foreground color will be set to |
| 5538 | # ThemeColorType.HYPERLINK and the text will |
| 5539 | # be underlined. If these fields are modified in the same |
| 5540 | # request, those values will be used instead of the link defaults. |
| 5541 | # * Setting a link on a text range that overlaps with an existing link will |
| 5542 | # also update the existing link to point to the new URL. |
| 5543 | # * Links are not settable on newline characters. As a result, setting a link |
| 5544 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 5545 | # will separate the newline character(s) into their own text runs. The |
| 5546 | # link will be applied separately to the runs before and after the newline. |
| 5547 | # * Removing a link will update the text style of the range to match the |
| 5548 | # style of the preceding text (or the default text styles if the preceding |
| 5549 | # text is another link) unless different styles are being set in the same |
| 5550 | # request. |
| 5551 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 5552 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 5553 | # in the presentation. There may not be a slide at this index. |
| 5554 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 5555 | # presentation with this ID. A page with this ID may not exist. |
| 5556 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 5557 | # addressed by its position. |
| 5558 | }, |
| 5559 | "underline": True or False, # Whether or not the text is underlined. |
| 5560 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 5561 | }, |
| 5562 | }, |
| 5563 | }, |
| 5564 | "listId": "A String", # The ID of the list. |
| 5565 | }, |
| 5566 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5567 | }, |
| 5568 | "shapeProperties": { # The properties of a Shape. # The properties of the shape. |
| 5569 | # |
| 5570 | # If the shape is a placeholder shape as determined by the |
| 5571 | # placeholder field, then these |
| 5572 | # properties may be inherited from a parent placeholder shape. |
| 5573 | # Determining the rendered value of the property depends on the corresponding |
| 5574 | # property_state field value. |
| 5575 | "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from |
| 5576 | # a parent placeholder if it exists. If the shape has no parent, then the |
| 5577 | # default shadow matches the defaults for new shapes created in the Slides |
| 5578 | # editor. This property is read-only. |
| 5579 | # |
| 5580 | # If these fields are unset, they may be inherited from a parent placeholder |
| 5581 | # if it exists. If there is no parent, the fields will default to the value |
| 5582 | # used for new page elements created in the Slides editor, which may depend on |
| 5583 | # the page element kind. |
| 5584 | "color": { # A themeable solid color value. # The shadow color value. |
| 5585 | "themeColor": "A String", # An opaque theme color. |
| 5586 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 5587 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5588 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5589 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5590 | }, |
| 5591 | }, |
| 5592 | "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, |
| 5593 | # relative to the alignment position. |
| 5594 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 5595 | # according to: |
| 5596 | # |
| 5597 | # x' x = shear_y scale_y translate_y |
| 5598 | # 1 [ 1 ] |
| 5599 | # |
| 5600 | # After transformation, |
| 5601 | # |
| 5602 | # x' = scale_x * x + shear_x * y + translate_x; |
| 5603 | # y' = scale_y * y + shear_y * x + translate_y; |
| 5604 | # |
| 5605 | # This message is therefore composed of these six matrix elements. |
| 5606 | "translateX": 3.14, # The X coordinate translation element. |
| 5607 | "translateY": 3.14, # The Y coordinate translation element. |
| 5608 | "scaleX": 3.14, # The X coordinate scaling element. |
| 5609 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 5610 | "shearY": 3.14, # The Y coordinate shearing element. |
| 5611 | "shearX": 3.14, # The X coordinate shearing element. |
| 5612 | "unit": "A String", # The units for translate elements. |
| 5613 | }, |
| 5614 | "propertyState": "A String", # The shadow property state. |
| 5615 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5616 | # Updating the shadow on a page element will implicitly update this field to |
| 5617 | # `RENDERED`, unless another value is specified in the same request. To have |
| 5618 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5619 | # case, any other shadow fields set in the same request will be ignored. |
| 5620 | "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 |
| 5621 | # shadow becomes. |
| 5622 | "magnitude": 3.14, # The magnitude. |
| 5623 | "unit": "A String", # The units for magnitude. |
| 5624 | }, |
| 5625 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5626 | "type": "A String", # The type of the shadow. This property is read-only. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5627 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5628 | # scale and skew of the shadow. This property is read-only. |
| 5629 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 5630 | # read-only. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5631 | }, |
| 5632 | "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is |
| 5633 | # inherited from a parent placeholder if it exists. If the shape has no |
| 5634 | # parent, then the default background fill depends on the shape type, |
| 5635 | # matching the defaults for new shapes created in the Slides editor. |
| 5636 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 5637 | # specified color value. |
| 5638 | # |
| 5639 | # If any field is unset, its value may be inherited from a parent placeholder |
| 5640 | # if it exists. |
| 5641 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 5642 | "themeColor": "A String", # An opaque theme color. |
| 5643 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 5644 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5645 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5646 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5647 | }, |
| 5648 | }, |
| 5649 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 5650 | # That is, the final pixel color is defined by the equation: |
| 5651 | # |
| 5652 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 5653 | # |
| 5654 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 5655 | # a value of 0.0 corresponds to a completely transparent color. |
| 5656 | }, |
| 5657 | "propertyState": "A String", # The background fill property state. |
| 5658 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5659 | # Updating the fill on a shape will implicitly update this field to |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5660 | # `RENDERED`, unless another value is specified in the same request. To |
| 5661 | # have no fill on a shape, set this field to `NOT_RENDERED`. In this case, |
| 5662 | # any other fill fields set in the same request will be ignored. |
| 5663 | }, |
| 5664 | "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links |
| 5665 | # are not inherited from parent placeholders. |
| 5666 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 5667 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 5668 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 5669 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 5670 | # presentation with this ID. A page with this ID may not exist. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5671 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 5672 | # addressed by its position. |
| 5673 | }, |
| 5674 | "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a |
| 5675 | # parent placeholder if it exists. If the shape has no parent, then the |
| 5676 | # default outline depends on the shape type, matching the defaults for |
| 5677 | # new shapes created in the Slides editor. |
| 5678 | # |
| 5679 | # If these fields are unset, they may be inherited from a parent placeholder |
| 5680 | # if it exists. If there is no parent, the fields will default to the value |
| 5681 | # used for new page elements created in the Slides editor, which may depend on |
| 5682 | # the page element kind. |
| 5683 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 5684 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 5685 | # specified color value. |
| 5686 | # |
| 5687 | # If any field is unset, its value may be inherited from a parent placeholder |
| 5688 | # if it exists. |
| 5689 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 5690 | "themeColor": "A String", # An opaque theme color. |
| 5691 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 5692 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5693 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5694 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5695 | }, |
| 5696 | }, |
| 5697 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 5698 | # That is, the final pixel color is defined by the equation: |
| 5699 | # |
| 5700 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 5701 | # |
| 5702 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 5703 | # a value of 0.0 corresponds to a completely transparent color. |
| 5704 | }, |
| 5705 | }, |
| 5706 | "propertyState": "A String", # The outline property state. |
| 5707 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5708 | # Updating the outline on a page element will implicitly update this field |
| 5709 | # to `RENDERED`, unless another value is specified in the same request. To |
| 5710 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5711 | # this case, any other outline fields set in the same request will be |
| 5712 | # ignored. |
| 5713 | "dashStyle": "A String", # The dash style of the outline. |
| 5714 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 5715 | "magnitude": 3.14, # The magnitude. |
| 5716 | "unit": "A String", # The units for magnitude. |
| 5717 | }, |
| 5718 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5719 | "contentAlignment": "A String", # The alignment of the content in the shape. If unspecified, |
| 5720 | # the alignment is inherited from a parent placeholder if it exists. If the |
| 5721 | # shape has no parent, the default alignment matches the alignment for new |
| 5722 | # shapes created in the Slides editor. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5723 | }, |
| 5724 | "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on |
| 5725 | # layouts and masters. |
| 5726 | # |
| 5727 | # If set, the shape is a placeholder shape and any inherited properties |
| 5728 | # can be resolved by looking at the parent placeholder identified by the |
| 5729 | # Placeholder.parent_object_id field. |
| 5730 | "parentObjectId": "A String", # The object ID of this shape's parent placeholder. |
| 5731 | # If unset, the parent placeholder shape does not exist, so the shape does |
| 5732 | # not inherit properties from any other shape. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 5733 | "index": 42, # The index of the placeholder. If the same placeholder types are present in |
| 5734 | # the same page, they would have different index values. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5735 | "type": "A String", # The type of the placeholder. |
| 5736 | }, |
| 5737 | "shapeType": "A String", # The type of the shape. |
| 5738 | }, |
| 5739 | "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are |
| 5740 | # represented as images. |
| 5741 | # a linked chart embedded from Google Sheets. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5742 | "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30 |
| 5743 | # minutes. This URL is tagged with the account of the requester. Anyone with |
| 5744 | # the URL effectively accesses the image as the original requester. Access to |
| 5745 | # the image may be lost if the presentation's sharing settings change. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 5746 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5747 | "sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart. |
| 5748 | "chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5749 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5750 | # |
| 5751 | # If these fields are unset, they may be inherited from a parent placeholder |
| 5752 | # if it exists. If there is no parent, the fields will default to the value |
| 5753 | # used for new page elements created in the Slides editor, which may depend on |
| 5754 | # the page element kind. |
| 5755 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 5756 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 5757 | # specified color value. |
| 5758 | # |
| 5759 | # If any field is unset, its value may be inherited from a parent placeholder |
| 5760 | # if it exists. |
| 5761 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 5762 | "themeColor": "A String", # An opaque theme color. |
| 5763 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 5764 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5765 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5766 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5767 | }, |
| 5768 | }, |
| 5769 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 5770 | # That is, the final pixel color is defined by the equation: |
| 5771 | # |
| 5772 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 5773 | # |
| 5774 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 5775 | # a value of 0.0 corresponds to a completely transparent color. |
| 5776 | }, |
| 5777 | }, |
| 5778 | "propertyState": "A String", # The outline property state. |
| 5779 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5780 | # Updating the outline on a page element will implicitly update this field |
| 5781 | # to `RENDERED`, unless another value is specified in the same request. To |
| 5782 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5783 | # this case, any other outline fields set in the same request will be |
| 5784 | # ignored. |
| 5785 | "dashStyle": "A String", # The dash style of the outline. |
| 5786 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 5787 | "magnitude": 3.14, # The magnitude. |
| 5788 | "unit": "A String", # The units for magnitude. |
| 5789 | }, |
| 5790 | }, |
| 5791 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 5792 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 5793 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 5794 | # This property is read-only. |
| 5795 | "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color |
| 5796 | # stops. |
| 5797 | # |
| 5798 | # The colors in the gradient will replace the corresponding colors at |
| 5799 | # the same position in the color palette and apply to the image. This |
| 5800 | # property is read-only. |
| 5801 | { # A color and position in a gradient band. |
| 5802 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 5803 | "themeColor": "A String", # An opaque theme color. |
| 5804 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 5805 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5806 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5807 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5808 | }, |
| 5809 | }, |
| 5810 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 5811 | # fully opaque. |
| 5812 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 5813 | # in percentage. The value should be in the interval [0.0, 1.0]. |
| 5814 | }, |
| 5815 | ], |
| 5816 | "name": "A String", # The name of the recolor effect. |
| 5817 | # |
| 5818 | # The name is determined from the `recolor_stops` by matching the gradient |
| 5819 | # against the colors in the page's current color scheme. This property is |
| 5820 | # read-only. |
| 5821 | }, |
| 5822 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 5823 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 5824 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 5825 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 5826 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 5827 | # presentation with this ID. A page with this ID may not exist. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5828 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 5829 | # addressed by its position. |
| 5830 | }, |
| 5831 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 5832 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 5833 | # This property is read-only. |
| 5834 | "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. |
| 5835 | # This property is read-only. |
| 5836 | # Image. |
| 5837 | # |
| 5838 | # The crop properties is represented by the offsets of four edges which define |
| 5839 | # a crop rectangle. The offsets are measured in percentage from the |
| 5840 | # corresponding edges of the object's original bounding rectangle towards |
| 5841 | # inside, relative to the object's original dimensions. |
| 5842 | # |
| 5843 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 5844 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 5845 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 5846 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 5847 | # - If the left edge of the crop rectangle is on the right side of its right |
| 5848 | # edge, the object will be flipped horizontally. |
| 5849 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 5850 | # will be flipped vertically. |
| 5851 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 5852 | # |
| 5853 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 5854 | # its container. |
| 5855 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 5856 | # the right of the original bounding rectangle left edge, relative to the |
| 5857 | # object's original width. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5858 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 5859 | # above the original bounding rectangle bottom edge, relative to the object's |
| 5860 | # original height. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 5861 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 5862 | # Rotation angle is applied after the offset. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 5863 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 5864 | # to the left of the original bounding rectangle right edge, relative to the |
| 5865 | # object's original width. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 5866 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 5867 | # below the original bounding rectangle top edge, relative to the object's |
| 5868 | # original height. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5869 | }, |
| 5870 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 5871 | # is read-only. |
| 5872 | # |
| 5873 | # If these fields are unset, they may be inherited from a parent placeholder |
| 5874 | # if it exists. If there is no parent, the fields will default to the value |
| 5875 | # used for new page elements created in the Slides editor, which may depend on |
| 5876 | # the page element kind. |
| 5877 | "color": { # A themeable solid color value. # The shadow color value. |
| 5878 | "themeColor": "A String", # An opaque theme color. |
| 5879 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 5880 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5881 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5882 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5883 | }, |
| 5884 | }, |
| 5885 | "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, |
| 5886 | # relative to the alignment position. |
| 5887 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 5888 | # according to: |
| 5889 | # |
| 5890 | # x' x = shear_y scale_y translate_y |
| 5891 | # 1 [ 1 ] |
| 5892 | # |
| 5893 | # After transformation, |
| 5894 | # |
| 5895 | # x' = scale_x * x + shear_x * y + translate_x; |
| 5896 | # y' = scale_y * y + shear_y * x + translate_y; |
| 5897 | # |
| 5898 | # This message is therefore composed of these six matrix elements. |
| 5899 | "translateX": 3.14, # The X coordinate translation element. |
| 5900 | "translateY": 3.14, # The Y coordinate translation element. |
| 5901 | "scaleX": 3.14, # The X coordinate scaling element. |
| 5902 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 5903 | "shearY": 3.14, # The Y coordinate shearing element. |
| 5904 | "shearX": 3.14, # The X coordinate shearing element. |
| 5905 | "unit": "A String", # The units for translate elements. |
| 5906 | }, |
| 5907 | "propertyState": "A String", # The shadow property state. |
| 5908 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5909 | # Updating the shadow on a page element will implicitly update this field to |
| 5910 | # `RENDERED`, unless another value is specified in the same request. To have |
| 5911 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5912 | # case, any other shadow fields set in the same request will be ignored. |
| 5913 | "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 |
| 5914 | # shadow becomes. |
| 5915 | "magnitude": 3.14, # The magnitude. |
| 5916 | "unit": "A String", # The units for magnitude. |
| 5917 | }, |
| 5918 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5919 | "type": "A String", # The type of the shadow. This property is read-only. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5920 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5921 | # scale and skew of the shadow. This property is read-only. |
| 5922 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 5923 | # read-only. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5924 | }, |
| 5925 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 5926 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 5927 | }, |
| 5928 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 5929 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 5930 | # embedded. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5931 | }, |
| 5932 | "video": { # A PageElement kind representing a # A video page element. |
| 5933 | # video. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5934 | "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and |
| 5935 | # sharing settings do not change. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5936 | "videoProperties": { # The properties of the Video. # The properties of the video. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5937 | "start": 42, # The time at which to start playback, measured in seconds from the beginning |
| 5938 | # of the video. |
| 5939 | # If set, the start time should be before the end time. |
| 5940 | # If you set this to a value that exceeds the video's length in seconds, the |
| 5941 | # video will be played from the last second. |
| 5942 | # If not set, the video will be played from the beginning. |
| 5943 | "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present |
| 5944 | # mode. Defaults to false. |
| 5945 | "end": 42, # The time at which to end playback, measured in seconds from the beginning |
| 5946 | # of the video. |
| 5947 | # If set, the end time should be after the start time. |
| 5948 | # If not set or if you set this to a value that exceeds the video's length, |
| 5949 | # the video will be played until its end. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5950 | "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new |
| 5951 | # videos created in the Slides editor. |
| 5952 | # |
| 5953 | # If these fields are unset, they may be inherited from a parent placeholder |
| 5954 | # if it exists. If there is no parent, the fields will default to the value |
| 5955 | # used for new page elements created in the Slides editor, which may depend on |
| 5956 | # the page element kind. |
| 5957 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 5958 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 5959 | # specified color value. |
| 5960 | # |
| 5961 | # If any field is unset, its value may be inherited from a parent placeholder |
| 5962 | # if it exists. |
| 5963 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 5964 | "themeColor": "A String", # An opaque theme color. |
| 5965 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 5966 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5967 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5968 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5969 | }, |
| 5970 | }, |
| 5971 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 5972 | # That is, the final pixel color is defined by the equation: |
| 5973 | # |
| 5974 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 5975 | # |
| 5976 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 5977 | # a value of 0.0 corresponds to a completely transparent color. |
| 5978 | }, |
| 5979 | }, |
| 5980 | "propertyState": "A String", # The outline property state. |
| 5981 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5982 | # Updating the outline on a page element will implicitly update this field |
| 5983 | # to `RENDERED`, unless another value is specified in the same request. To |
| 5984 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5985 | # this case, any other outline fields set in the same request will be |
| 5986 | # ignored. |
| 5987 | "dashStyle": "A String", # The dash style of the outline. |
| 5988 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 5989 | "magnitude": 3.14, # The magnitude. |
| 5990 | "unit": "A String", # The units for magnitude. |
| 5991 | }, |
| 5992 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 5993 | "mute": True or False, # Whether to mute the audio during video playback. Defaults to false. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5994 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 5995 | "id": "A String", # The video source's unique identifier for this video. |
| 5996 | "source": "A String", # The video source. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 5997 | }, |
| 5998 | "table": { # A PageElement kind representing a # A table page element. |
| 5999 | # table. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 6000 | "rows": 42, # Number of rows in the table. |
| 6001 | "horizontalBorderRows": [ # Properties of horizontal cell borders. |
| 6002 | # |
| 6003 | # A table's horizontal cell borders are represented as a grid. The grid has |
| 6004 | # one more row than the number of rows in the table and the same number of |
| 6005 | # columns as the table. For example, if the table is 3 x 3, its horizontal |
| 6006 | # borders will be represented as a grid with 4 rows and 3 columns. |
| 6007 | { # Contents of each border row in a table. |
| 6008 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 6009 | # merged, it is not included in the response. |
| 6010 | { # The properties of each border cell. |
| 6011 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 6012 | # TableBorderCell. |
| 6013 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 6014 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 6015 | # specified color value. |
| 6016 | # |
| 6017 | # If any field is unset, its value may be inherited from a parent placeholder |
| 6018 | # if it exists. |
| 6019 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 6020 | "themeColor": "A String", # An opaque theme color. |
| 6021 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 6022 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6023 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6024 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6025 | }, |
| 6026 | }, |
| 6027 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 6028 | # That is, the final pixel color is defined by the equation: |
| 6029 | # |
| 6030 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 6031 | # |
| 6032 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 6033 | # a value of 0.0 corresponds to a completely transparent color. |
| 6034 | }, |
| 6035 | }, |
| 6036 | "dashStyle": "A String", # The dash style of the border. |
| 6037 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 6038 | "magnitude": 3.14, # The magnitude. |
| 6039 | "unit": "A String", # The units for magnitude. |
| 6040 | }, |
| 6041 | }, |
| 6042 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 6043 | "rowIndex": 42, # The 0-based row index. |
| 6044 | "columnIndex": 42, # The 0-based column index. |
| 6045 | }, |
| 6046 | }, |
| 6047 | ], |
| 6048 | }, |
| 6049 | ], |
| 6050 | "verticalBorderRows": [ # Properties of vertical cell borders. |
| 6051 | # |
| 6052 | # A table's vertical cell borders are represented as a grid. The grid has the |
| 6053 | # same number of rows as the table and one more column than the number of |
| 6054 | # columns in the table. For example, if the table is 3 x 3, its vertical |
| 6055 | # borders will be represented as a grid with 3 rows and 4 columns. |
| 6056 | { # Contents of each border row in a table. |
| 6057 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 6058 | # merged, it is not included in the response. |
| 6059 | { # The properties of each border cell. |
| 6060 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 6061 | # TableBorderCell. |
| 6062 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 6063 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 6064 | # specified color value. |
| 6065 | # |
| 6066 | # If any field is unset, its value may be inherited from a parent placeholder |
| 6067 | # if it exists. |
| 6068 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 6069 | "themeColor": "A String", # An opaque theme color. |
| 6070 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 6071 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6072 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6073 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6074 | }, |
| 6075 | }, |
| 6076 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 6077 | # That is, the final pixel color is defined by the equation: |
| 6078 | # |
| 6079 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 6080 | # |
| 6081 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 6082 | # a value of 0.0 corresponds to a completely transparent color. |
| 6083 | }, |
| 6084 | }, |
| 6085 | "dashStyle": "A String", # The dash style of the border. |
| 6086 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 6087 | "magnitude": 3.14, # The magnitude. |
| 6088 | "unit": "A String", # The units for magnitude. |
| 6089 | }, |
| 6090 | }, |
| 6091 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 6092 | "rowIndex": 42, # The 0-based row index. |
| 6093 | "columnIndex": 42, # The 0-based column index. |
| 6094 | }, |
| 6095 | }, |
| 6096 | ], |
| 6097 | }, |
| 6098 | ], |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6099 | "tableColumns": [ # Properties of each column. |
| 6100 | { # Properties of each column in a table. |
| 6101 | "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column. |
| 6102 | "magnitude": 3.14, # The magnitude. |
| 6103 | "unit": "A String", # The units for magnitude. |
| 6104 | }, |
| 6105 | }, |
| 6106 | ], |
| 6107 | "tableRows": [ # Properties and contents of each row. |
| 6108 | # |
| 6109 | # Cells that span multiple rows are contained in only one of these rows and |
| 6110 | # have a row_span greater |
| 6111 | # than 1. |
| 6112 | { # Properties and contents of each row in a table. |
| 6113 | "tableCells": [ # Properties and contents of each cell. |
| 6114 | # |
| 6115 | # Cells that span multiple columns are represented only once with a |
| 6116 | # column_span greater |
| 6117 | # than 1. As a result, the length of this collection does not always match |
| 6118 | # the number of columns of the entire table. |
| 6119 | { # Properties and contents of each table cell. |
| 6120 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell. |
| 6121 | # text box or rectangle) or a table cell in a page. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6122 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 6123 | # information. This property is read-only. |
| 6124 | { # A TextElement describes the content of a range of indices in the text content |
| 6125 | # of a Shape or TableCell. |
| 6126 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 6127 | # replaced with content that can change over time. |
| 6128 | "content": "A String", # The rendered content of this auto text, if available. |
| 6129 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 6130 | # |
| 6131 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 6132 | # inherited from the parent. Which text styles are inherited depend on the |
| 6133 | # nesting level of lists: |
| 6134 | # |
| 6135 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 6136 | # from the the newline character in the paragraph at the 0 nesting level of |
| 6137 | # the list inside the parent placeholder. |
| 6138 | # * A text run in a paragraph that is in a list will inherit its text style |
| 6139 | # from the newline character in the paragraph at its corresponding nesting |
| 6140 | # level of the list inside the parent placeholder. |
| 6141 | # |
| 6142 | # Inherited text styles are represented as unset fields in this message. If |
| 6143 | # text is contained in a shape without a parent placeholder, unsetting these |
| 6144 | # fields will revert the style to a value matching the defaults in the Slides |
| 6145 | # editor. |
| 6146 | "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 |
| 6147 | # transparent, depending on if the `opaque_color` field in it is set. |
| 6148 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 6149 | # a transparent color. |
| 6150 | "themeColor": "A String", # An opaque theme color. |
| 6151 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 6152 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6153 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6154 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6155 | }, |
| 6156 | }, |
| 6157 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 6158 | "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 |
| 6159 | # transparent, depending on if the `opaque_color` field in it is set. |
| 6160 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 6161 | # a transparent color. |
| 6162 | "themeColor": "A String", # An opaque theme color. |
| 6163 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 6164 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6165 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6166 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6167 | }, |
| 6168 | }, |
| 6169 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6170 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 6171 | # |
| 6172 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 6173 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 6174 | # The `font_size` itself is not affected by changes in this field. |
| 6175 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 6176 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 6177 | # |
| 6178 | # This field is an extension of `font_family` meant to support explicit font |
| 6179 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 6180 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 6181 | # will always be equal to that of `font_family`. However, when writing, if |
| 6182 | # both fields are included in the field mask (either explicitly or through |
| 6183 | # the wildcard `"*"`), their values are reconciled as follows: |
| 6184 | # |
| 6185 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 6186 | # `font_family` is applied with weight `400` ("normal"). |
| 6187 | # * If both fields are set, the value of `font_family` must match that of |
| 6188 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 6189 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 6190 | # returned. |
| 6191 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 6192 | # family and weight of `weighted_font_family` is applied. |
| 6193 | # * If neither field is set, the font family and weight of the text inherit |
| 6194 | # from the parent. Note that these properties cannot inherit separately |
| 6195 | # from each other. |
| 6196 | # |
| 6197 | # If an update request specifies values for both `weighted_font_family` and |
| 6198 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 6199 | # |
| 6200 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 6201 | # |
| 6202 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 6203 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 6204 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 6205 | "fontFamily": "A String", # The font family of the text. |
| 6206 | # |
| 6207 | # The font family can be any font from the Font menu in Slides or from |
| 6208 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 6209 | # unrecognized, the text is rendered in `Arial`. |
| 6210 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 6211 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 6212 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 6213 | # Specification, |
| 6214 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 6215 | # with non-numerical values disallowed. Weights greater than or equal to |
| 6216 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 6217 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 6218 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6219 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 6220 | "fontFamily": "A String", # The font family of the text. |
| 6221 | # |
| 6222 | # The font family can be any font from the Font menu in Slides or from |
| 6223 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 6224 | # unrecognized, the text is rendered in `Arial`. |
| 6225 | # |
| 6226 | # Some fonts can affect the weight of the text. If an update request |
| 6227 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 6228 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 6229 | "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 |
| 6230 | # points. |
| 6231 | "magnitude": 3.14, # The magnitude. |
| 6232 | "unit": "A String", # The units for magnitude. |
| 6233 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6234 | "italic": True or False, # Whether or not the text is italicized. |
| 6235 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 6236 | # are not inherited from parent text. |
| 6237 | # |
| 6238 | # Changing the link in an update request causes some other changes to the |
| 6239 | # text style of the range: |
| 6240 | # |
| 6241 | # * When setting a link, the text foreground color will be set to |
| 6242 | # ThemeColorType.HYPERLINK and the text will |
| 6243 | # be underlined. If these fields are modified in the same |
| 6244 | # request, those values will be used instead of the link defaults. |
| 6245 | # * Setting a link on a text range that overlaps with an existing link will |
| 6246 | # also update the existing link to point to the new URL. |
| 6247 | # * Links are not settable on newline characters. As a result, setting a link |
| 6248 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 6249 | # will separate the newline character(s) into their own text runs. The |
| 6250 | # link will be applied separately to the runs before and after the newline. |
| 6251 | # * Removing a link will update the text style of the range to match the |
| 6252 | # style of the preceding text (or the default text styles if the preceding |
| 6253 | # text is another link) unless different styles are being set in the same |
| 6254 | # request. |
| 6255 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 6256 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 6257 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 6258 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 6259 | # presentation with this ID. A page with this ID may not exist. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6260 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 6261 | # addressed by its position. |
| 6262 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 6263 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 6264 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6265 | }, |
| 6266 | "type": "A String", # The type of this auto text. |
| 6267 | }, |
| 6268 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 6269 | # units. |
| 6270 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 6271 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 6272 | # |
| 6273 | # The `start_index` and `end_index` of this TextElement represent the |
| 6274 | # range of the paragraph. Other TextElements with an index range contained |
| 6275 | # inside this paragraph's range are considered to be part of this |
| 6276 | # paragraph. The range of indices of two separate paragraphs will never |
| 6277 | # overlap. |
| 6278 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 6279 | # |
| 6280 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 6281 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 6282 | # nesting level of lists: |
| 6283 | # |
| 6284 | # * A paragraph not in a list will inherit its paragraph style from the |
| 6285 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 6286 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 6287 | # at its corresponding nesting level of the list inside the parent |
| 6288 | # placeholder. |
| 6289 | # |
| 6290 | # Inherited paragraph styles are represented as unset fields in this message. |
| 6291 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 6292 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 6293 | # LEFT_TO_RIGHT since |
| 6294 | # text direction is not inherited. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 6295 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6296 | # inherited from the parent. |
| 6297 | "magnitude": 3.14, # The magnitude. |
| 6298 | "unit": "A String", # The units for magnitude. |
| 6299 | }, |
| 6300 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 6301 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 6302 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 6303 | # the start of the text, based on the current text direction. If unset, the |
| 6304 | # value is inherited from the parent. |
| 6305 | "magnitude": 3.14, # The magnitude. |
| 6306 | "unit": "A String", # The units for magnitude. |
| 6307 | }, |
| 6308 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 6309 | # inherited from the parent. |
| 6310 | "magnitude": 3.14, # The magnitude. |
| 6311 | "unit": "A String", # The units for magnitude. |
| 6312 | }, |
| 6313 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 6314 | # the end of the text, based on the current text direction. If unset, the |
| 6315 | # value is inherited from the parent. |
| 6316 | "magnitude": 3.14, # The magnitude. |
| 6317 | "unit": "A String", # The units for magnitude. |
| 6318 | }, |
| 6319 | "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. |
| 6320 | # If unset, the value is inherited from the parent. |
| 6321 | "magnitude": 3.14, # The magnitude. |
| 6322 | "unit": "A String", # The units for magnitude. |
| 6323 | }, |
| 6324 | "alignment": "A String", # The text alignment for this paragraph. |
| 6325 | }, |
| 6326 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 6327 | # belong to a list. |
| 6328 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 6329 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 6330 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 6331 | # |
| 6332 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 6333 | # inherited from the parent. Which text styles are inherited depend on the |
| 6334 | # nesting level of lists: |
| 6335 | # |
| 6336 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 6337 | # from the the newline character in the paragraph at the 0 nesting level of |
| 6338 | # the list inside the parent placeholder. |
| 6339 | # * A text run in a paragraph that is in a list will inherit its text style |
| 6340 | # from the newline character in the paragraph at its corresponding nesting |
| 6341 | # level of the list inside the parent placeholder. |
| 6342 | # |
| 6343 | # Inherited text styles are represented as unset fields in this message. If |
| 6344 | # text is contained in a shape without a parent placeholder, unsetting these |
| 6345 | # fields will revert the style to a value matching the defaults in the Slides |
| 6346 | # editor. |
| 6347 | "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 |
| 6348 | # transparent, depending on if the `opaque_color` field in it is set. |
| 6349 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 6350 | # a transparent color. |
| 6351 | "themeColor": "A String", # An opaque theme color. |
| 6352 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 6353 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6354 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6355 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6356 | }, |
| 6357 | }, |
| 6358 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 6359 | "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 |
| 6360 | # transparent, depending on if the `opaque_color` field in it is set. |
| 6361 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 6362 | # a transparent color. |
| 6363 | "themeColor": "A String", # An opaque theme color. |
| 6364 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 6365 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6366 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6367 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6368 | }, |
| 6369 | }, |
| 6370 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6371 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 6372 | # |
| 6373 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 6374 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 6375 | # The `font_size` itself is not affected by changes in this field. |
| 6376 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 6377 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 6378 | # |
| 6379 | # This field is an extension of `font_family` meant to support explicit font |
| 6380 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 6381 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 6382 | # will always be equal to that of `font_family`. However, when writing, if |
| 6383 | # both fields are included in the field mask (either explicitly or through |
| 6384 | # the wildcard `"*"`), their values are reconciled as follows: |
| 6385 | # |
| 6386 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 6387 | # `font_family` is applied with weight `400` ("normal"). |
| 6388 | # * If both fields are set, the value of `font_family` must match that of |
| 6389 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 6390 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 6391 | # returned. |
| 6392 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 6393 | # family and weight of `weighted_font_family` is applied. |
| 6394 | # * If neither field is set, the font family and weight of the text inherit |
| 6395 | # from the parent. Note that these properties cannot inherit separately |
| 6396 | # from each other. |
| 6397 | # |
| 6398 | # If an update request specifies values for both `weighted_font_family` and |
| 6399 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 6400 | # |
| 6401 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 6402 | # |
| 6403 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 6404 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 6405 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 6406 | "fontFamily": "A String", # The font family of the text. |
| 6407 | # |
| 6408 | # The font family can be any font from the Font menu in Slides or from |
| 6409 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 6410 | # unrecognized, the text is rendered in `Arial`. |
| 6411 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 6412 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 6413 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 6414 | # Specification, |
| 6415 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 6416 | # with non-numerical values disallowed. Weights greater than or equal to |
| 6417 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 6418 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 6419 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6420 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 6421 | "fontFamily": "A String", # The font family of the text. |
| 6422 | # |
| 6423 | # The font family can be any font from the Font menu in Slides or from |
| 6424 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 6425 | # unrecognized, the text is rendered in `Arial`. |
| 6426 | # |
| 6427 | # Some fonts can affect the weight of the text. If an update request |
| 6428 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 6429 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 6430 | "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 |
| 6431 | # points. |
| 6432 | "magnitude": 3.14, # The magnitude. |
| 6433 | "unit": "A String", # The units for magnitude. |
| 6434 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6435 | "italic": True or False, # Whether or not the text is italicized. |
| 6436 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 6437 | # are not inherited from parent text. |
| 6438 | # |
| 6439 | # Changing the link in an update request causes some other changes to the |
| 6440 | # text style of the range: |
| 6441 | # |
| 6442 | # * When setting a link, the text foreground color will be set to |
| 6443 | # ThemeColorType.HYPERLINK and the text will |
| 6444 | # be underlined. If these fields are modified in the same |
| 6445 | # request, those values will be used instead of the link defaults. |
| 6446 | # * Setting a link on a text range that overlaps with an existing link will |
| 6447 | # also update the existing link to point to the new URL. |
| 6448 | # * Links are not settable on newline characters. As a result, setting a link |
| 6449 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 6450 | # will separate the newline character(s) into their own text runs. The |
| 6451 | # link will be applied separately to the runs before and after the newline. |
| 6452 | # * Removing a link will update the text style of the range to match the |
| 6453 | # style of the preceding text (or the default text styles if the preceding |
| 6454 | # text is another link) unless different styles are being set in the same |
| 6455 | # request. |
| 6456 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 6457 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 6458 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 6459 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 6460 | # presentation with this ID. A page with this ID may not exist. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6461 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 6462 | # addressed by its position. |
| 6463 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 6464 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 6465 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6466 | }, |
| 6467 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 6468 | }, |
| 6469 | }, |
| 6470 | "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 |
| 6471 | # in the run have the same TextStyle. |
| 6472 | # |
| 6473 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 6474 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 6475 | # In other words, a TextRun will never span multiple paragraphs. |
| 6476 | # styling. |
| 6477 | "content": "A String", # The text of this run. |
| 6478 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 6479 | # |
| 6480 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 6481 | # inherited from the parent. Which text styles are inherited depend on the |
| 6482 | # nesting level of lists: |
| 6483 | # |
| 6484 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 6485 | # from the the newline character in the paragraph at the 0 nesting level of |
| 6486 | # the list inside the parent placeholder. |
| 6487 | # * A text run in a paragraph that is in a list will inherit its text style |
| 6488 | # from the newline character in the paragraph at its corresponding nesting |
| 6489 | # level of the list inside the parent placeholder. |
| 6490 | # |
| 6491 | # Inherited text styles are represented as unset fields in this message. If |
| 6492 | # text is contained in a shape without a parent placeholder, unsetting these |
| 6493 | # fields will revert the style to a value matching the defaults in the Slides |
| 6494 | # editor. |
| 6495 | "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 |
| 6496 | # transparent, depending on if the `opaque_color` field in it is set. |
| 6497 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 6498 | # a transparent color. |
| 6499 | "themeColor": "A String", # An opaque theme color. |
| 6500 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 6501 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6502 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6503 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6504 | }, |
| 6505 | }, |
| 6506 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 6507 | "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 |
| 6508 | # transparent, depending on if the `opaque_color` field in it is set. |
| 6509 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 6510 | # a transparent color. |
| 6511 | "themeColor": "A String", # An opaque theme color. |
| 6512 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 6513 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6514 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6515 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6516 | }, |
| 6517 | }, |
| 6518 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6519 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 6520 | # |
| 6521 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 6522 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 6523 | # The `font_size` itself is not affected by changes in this field. |
| 6524 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 6525 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 6526 | # |
| 6527 | # This field is an extension of `font_family` meant to support explicit font |
| 6528 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 6529 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 6530 | # will always be equal to that of `font_family`. However, when writing, if |
| 6531 | # both fields are included in the field mask (either explicitly or through |
| 6532 | # the wildcard `"*"`), their values are reconciled as follows: |
| 6533 | # |
| 6534 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 6535 | # `font_family` is applied with weight `400` ("normal"). |
| 6536 | # * If both fields are set, the value of `font_family` must match that of |
| 6537 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 6538 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 6539 | # returned. |
| 6540 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 6541 | # family and weight of `weighted_font_family` is applied. |
| 6542 | # * If neither field is set, the font family and weight of the text inherit |
| 6543 | # from the parent. Note that these properties cannot inherit separately |
| 6544 | # from each other. |
| 6545 | # |
| 6546 | # If an update request specifies values for both `weighted_font_family` and |
| 6547 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 6548 | # |
| 6549 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 6550 | # |
| 6551 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 6552 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 6553 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 6554 | "fontFamily": "A String", # The font family of the text. |
| 6555 | # |
| 6556 | # The font family can be any font from the Font menu in Slides or from |
| 6557 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 6558 | # unrecognized, the text is rendered in `Arial`. |
| 6559 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 6560 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 6561 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 6562 | # Specification, |
| 6563 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 6564 | # with non-numerical values disallowed. Weights greater than or equal to |
| 6565 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 6566 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 6567 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6568 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 6569 | "fontFamily": "A String", # The font family of the text. |
| 6570 | # |
| 6571 | # The font family can be any font from the Font menu in Slides or from |
| 6572 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 6573 | # unrecognized, the text is rendered in `Arial`. |
| 6574 | # |
| 6575 | # Some fonts can affect the weight of the text. If an update request |
| 6576 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 6577 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 6578 | "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 |
| 6579 | # points. |
| 6580 | "magnitude": 3.14, # The magnitude. |
| 6581 | "unit": "A String", # The units for magnitude. |
| 6582 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6583 | "italic": True or False, # Whether or not the text is italicized. |
| 6584 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 6585 | # are not inherited from parent text. |
| 6586 | # |
| 6587 | # Changing the link in an update request causes some other changes to the |
| 6588 | # text style of the range: |
| 6589 | # |
| 6590 | # * When setting a link, the text foreground color will be set to |
| 6591 | # ThemeColorType.HYPERLINK and the text will |
| 6592 | # be underlined. If these fields are modified in the same |
| 6593 | # request, those values will be used instead of the link defaults. |
| 6594 | # * Setting a link on a text range that overlaps with an existing link will |
| 6595 | # also update the existing link to point to the new URL. |
| 6596 | # * Links are not settable on newline characters. As a result, setting a link |
| 6597 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 6598 | # will separate the newline character(s) into their own text runs. The |
| 6599 | # link will be applied separately to the runs before and after the newline. |
| 6600 | # * Removing a link will update the text style of the range to match the |
| 6601 | # style of the preceding text (or the default text styles if the preceding |
| 6602 | # text is another link) unless different styles are being set in the same |
| 6603 | # request. |
| 6604 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 6605 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 6606 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 6607 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 6608 | # presentation with this ID. A page with this ID may not exist. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6609 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 6610 | # addressed by its position. |
| 6611 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 6612 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 6613 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6614 | }, |
| 6615 | }, |
| 6616 | }, |
| 6617 | ], |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 6618 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 6619 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 6620 | # associated with a list. A paragraph that is part of a list has an implicit |
| 6621 | # reference to that list's ID. |
| 6622 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 6623 | # level. A list has at most nine levels of nesting, so the possible values |
| 6624 | # for the keys of this map are 0 through 8, inclusive. |
| 6625 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 6626 | # level of nesting. |
| 6627 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 6628 | # |
| 6629 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 6630 | # inherited from the parent. Which text styles are inherited depend on the |
| 6631 | # nesting level of lists: |
| 6632 | # |
| 6633 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 6634 | # from the the newline character in the paragraph at the 0 nesting level of |
| 6635 | # the list inside the parent placeholder. |
| 6636 | # * A text run in a paragraph that is in a list will inherit its text style |
| 6637 | # from the newline character in the paragraph at its corresponding nesting |
| 6638 | # level of the list inside the parent placeholder. |
| 6639 | # |
| 6640 | # Inherited text styles are represented as unset fields in this message. If |
| 6641 | # text is contained in a shape without a parent placeholder, unsetting these |
| 6642 | # fields will revert the style to a value matching the defaults in the Slides |
| 6643 | # editor. |
| 6644 | "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 |
| 6645 | # transparent, depending on if the `opaque_color` field in it is set. |
| 6646 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 6647 | # a transparent color. |
| 6648 | "themeColor": "A String", # An opaque theme color. |
| 6649 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 6650 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6651 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6652 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6653 | }, |
| 6654 | }, |
| 6655 | }, |
| 6656 | "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 |
| 6657 | # transparent, depending on if the `opaque_color` field in it is set. |
| 6658 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 6659 | # a transparent color. |
| 6660 | "themeColor": "A String", # An opaque theme color. |
| 6661 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 6662 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6663 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6664 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6665 | }, |
| 6666 | }, |
| 6667 | }, |
| 6668 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 6669 | # |
| 6670 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 6671 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 6672 | # The `font_size` itself is not affected by changes in this field. |
| 6673 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 6674 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 6675 | # |
| 6676 | # This field is an extension of `font_family` meant to support explicit font |
| 6677 | # weights without breaking backwards compatibility. As such, when reading the |
| 6678 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 6679 | # will always be equal to that of `font_family`. However, when writing, if |
| 6680 | # both fields are included in the field mask (either explicitly or through |
| 6681 | # the wildcard `"*"`), their values are reconciled as follows: |
| 6682 | # |
| 6683 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 6684 | # `font_family` is applied with weight `400` ("normal"). |
| 6685 | # * If both fields are set, the value of `font_family` must match that of |
| 6686 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 6687 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 6688 | # returned. |
| 6689 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 6690 | # family and weight of `weighted_font_family` is applied. |
| 6691 | # * If neither field is set, the font family and weight of the text inherit |
| 6692 | # from the parent. Note that these properties cannot inherit separately |
| 6693 | # from each other. |
| 6694 | # |
| 6695 | # If an update request specifies values for both `weighted_font_family` and |
| 6696 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 6697 | # |
| 6698 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 6699 | # |
| 6700 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 6701 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 6702 | # is returned. |
| 6703 | "fontFamily": "A String", # The font family of the text. |
| 6704 | # |
| 6705 | # The font family can be any font from the Font menu in Slides or from |
| 6706 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 6707 | # unrecognized, the text is rendered in `Arial`. |
| 6708 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 6709 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 6710 | # corresponds to the numerical values described in the CSS 2.1 |
| 6711 | # Specification, |
| 6712 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 6713 | # with non-numerical values disallowed. Weights greater than or equal to |
| 6714 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 6715 | # default value is `400` ("normal"). |
| 6716 | }, |
| 6717 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 6718 | "fontFamily": "A String", # The font family of the text. |
| 6719 | # |
| 6720 | # The font family can be any font from the Font menu in Slides or from |
| 6721 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 6722 | # unrecognized, the text is rendered in `Arial`. |
| 6723 | # |
| 6724 | # Some fonts can affect the weight of the text. If an update request |
| 6725 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 6726 | # `bold` value is used. |
| 6727 | "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 |
| 6728 | # points. |
| 6729 | "magnitude": 3.14, # The magnitude. |
| 6730 | "unit": "A String", # The units for magnitude. |
| 6731 | }, |
| 6732 | "italic": True or False, # Whether or not the text is italicized. |
| 6733 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 6734 | # are not inherited from parent text. |
| 6735 | # |
| 6736 | # Changing the link in an update request causes some other changes to the |
| 6737 | # text style of the range: |
| 6738 | # |
| 6739 | # * When setting a link, the text foreground color will be set to |
| 6740 | # ThemeColorType.HYPERLINK and the text will |
| 6741 | # be underlined. If these fields are modified in the same |
| 6742 | # request, those values will be used instead of the link defaults. |
| 6743 | # * Setting a link on a text range that overlaps with an existing link will |
| 6744 | # also update the existing link to point to the new URL. |
| 6745 | # * Links are not settable on newline characters. As a result, setting a link |
| 6746 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 6747 | # will separate the newline character(s) into their own text runs. The |
| 6748 | # link will be applied separately to the runs before and after the newline. |
| 6749 | # * Removing a link will update the text style of the range to match the |
| 6750 | # style of the preceding text (or the default text styles if the preceding |
| 6751 | # text is another link) unless different styles are being set in the same |
| 6752 | # request. |
| 6753 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 6754 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 6755 | # in the presentation. There may not be a slide at this index. |
| 6756 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 6757 | # presentation with this ID. A page with this ID may not exist. |
| 6758 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 6759 | # addressed by its position. |
| 6760 | }, |
| 6761 | "underline": True or False, # Whether or not the text is underlined. |
| 6762 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 6763 | }, |
| 6764 | }, |
| 6765 | }, |
| 6766 | "listId": "A String", # The ID of the list. |
| 6767 | }, |
| 6768 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6769 | }, |
| 6770 | "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell. |
| 6771 | "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill |
| 6772 | # for newly created table cells in the Slides editor. |
| 6773 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 6774 | # specified color value. |
| 6775 | # |
| 6776 | # If any field is unset, its value may be inherited from a parent placeholder |
| 6777 | # if it exists. |
| 6778 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 6779 | "themeColor": "A String", # An opaque theme color. |
| 6780 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 6781 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6782 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6783 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6784 | }, |
| 6785 | }, |
| 6786 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 6787 | # That is, the final pixel color is defined by the equation: |
| 6788 | # |
| 6789 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 6790 | # |
| 6791 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 6792 | # a value of 0.0 corresponds to a completely transparent color. |
| 6793 | }, |
| 6794 | "propertyState": "A String", # The background fill property state. |
| 6795 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 6796 | # Updating the fill on a table cell will implicitly update this field |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6797 | # to `RENDERED`, unless another value is specified in the same request. To |
| 6798 | # have no fill on a table cell, set this field to `NOT_RENDERED`. In this |
| 6799 | # case, any other fill fields set in the same request will be ignored. |
| 6800 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 6801 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 6802 | # matches the alignment for newly created table cells in the Slides editor. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6803 | }, |
| 6804 | "rowSpan": 42, # Row span of the cell. |
| 6805 | "columnSpan": 42, # Column span of the cell. |
| 6806 | "location": { # A location of a single table cell within a table. # The location of the cell within the table. |
| 6807 | "rowIndex": 42, # The 0-based row index. |
| 6808 | "columnIndex": 42, # The 0-based column index. |
| 6809 | }, |
| 6810 | }, |
| 6811 | ], |
| 6812 | "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row. |
| 6813 | "magnitude": 3.14, # The magnitude. |
| 6814 | "unit": "A String", # The units for magnitude. |
| 6815 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 6816 | "tableRowProperties": { # Properties of each row in a table. # Properties of the row. |
| 6817 | "minRowHeight": { # A magnitude in a single direction in the specified units. # Minimum height of the row. The row will be rendered in the Slides editor at |
| 6818 | # a height equal to or greater than this value in order to show all the text |
| 6819 | # in the row's cell(s). |
| 6820 | "magnitude": 3.14, # The magnitude. |
| 6821 | "unit": "A String", # The units for magnitude. |
| 6822 | }, |
| 6823 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6824 | }, |
| 6825 | ], |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6826 | "columns": 42, # Number of columns in the table. |
| 6827 | }, |
| 6828 | "line": { # A PageElement kind representing a # A line page element. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 6829 | # non-connector line, straight connector, curved connector, or bent connector. |
| 6830 | "lineCategory": "A String", # The category of the line. |
| 6831 | # |
| 6832 | # It matches the `category` specified in CreateLineRequest, and can be updated with |
| 6833 | # UpdateLineCategoryRequest. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6834 | "lineProperties": { # The properties of the Line. # The properties of the line. |
| 6835 | # |
| 6836 | # When unset, these fields default to values that match the appearance of |
| 6837 | # new lines created in the Slides editor. |
| 6838 | "dashStyle": "A String", # The dash style of the line. |
| 6839 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line. |
| 6840 | "magnitude": 3.14, # The magnitude. |
| 6841 | "unit": "A String", # The units for magnitude. |
| 6842 | }, |
| 6843 | "endArrow": "A String", # The style of the arrow at the end of the line. |
| 6844 | "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link. |
| 6845 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 6846 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 6847 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 6848 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 6849 | # presentation with this ID. A page with this ID may not exist. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6850 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 6851 | # addressed by its position. |
| 6852 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6853 | "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new |
| 6854 | # lines created in the Slides editor. |
| 6855 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 6856 | # specified color value. |
| 6857 | # |
| 6858 | # If any field is unset, its value may be inherited from a parent placeholder |
| 6859 | # if it exists. |
| 6860 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 6861 | "themeColor": "A String", # An opaque theme color. |
| 6862 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 6863 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6864 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6865 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6866 | }, |
| 6867 | }, |
| 6868 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 6869 | # That is, the final pixel color is defined by the equation: |
| 6870 | # |
| 6871 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 6872 | # |
| 6873 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 6874 | # a value of 0.0 corresponds to a completely transparent color. |
| 6875 | }, |
| 6876 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 6877 | "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no |
| 6878 | # connection. |
| 6879 | # |
| 6880 | # Only lines with a Type indicating it is |
| 6881 | # a "connector" can have a `start_connection`. |
| 6882 | # connection. |
| 6883 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 6884 | # |
| 6885 | # In most cases, it corresponds to the predefined connection site index from |
| 6886 | # the ECMA-376 standard. More information on those connection sites can be |
| 6887 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 6888 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 6889 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 6890 | # [ECMA-376 5th edition] |
| 6891 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 6892 | # |
| 6893 | # The position of each connection site can also be viewed from Slides editor. |
| 6894 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 6895 | # |
| 6896 | # Some page elements, such as groups, tables, and lines |
| 6897 | # do not have connection sites and therefore cannot be connected to a |
| 6898 | # connector line. |
| 6899 | }, |
| 6900 | "endConnection": { # The properties for one end of a Line # The connection at the end of the line. If unset, there is no connection. |
| 6901 | # |
| 6902 | # Only lines with a Type indicating it is |
| 6903 | # a "connector" can have an `end_connection`. |
| 6904 | # connection. |
| 6905 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 6906 | # |
| 6907 | # In most cases, it corresponds to the predefined connection site index from |
| 6908 | # the ECMA-376 standard. More information on those connection sites can be |
| 6909 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 6910 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 6911 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 6912 | # [ECMA-376 5th edition] |
| 6913 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 6914 | # |
| 6915 | # The position of each connection site can also be viewed from Slides editor. |
| 6916 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 6917 | # |
| 6918 | # Some page elements, such as groups, tables, and lines |
| 6919 | # do not have connection sites and therefore cannot be connected to a |
| 6920 | # connector line. |
| 6921 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 6922 | "startArrow": "A String", # The style of the arrow at the beginning of the line. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6923 | }, |
| 6924 | "lineType": "A String", # The type of the line. |
| 6925 | }, |
| 6926 | "size": { # A width and height. # The size of the page element. |
| 6927 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 6928 | "magnitude": 3.14, # The magnitude. |
| 6929 | "unit": "A String", # The units for magnitude. |
| 6930 | }, |
| 6931 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 6932 | "magnitude": 3.14, # The magnitude. |
| 6933 | "unit": "A String", # The units for magnitude. |
| 6934 | }, |
| 6935 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 6936 | "description": "A String", # The description of the page element. Combined with title to display alt |
| 6937 | # text. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6938 | }, |
| 6939 | ], |
| 6940 | "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES. |
| 6941 | # relevant for pages with page_type NOTES. |
| 6942 | "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker |
| 6943 | # notes for the corresponding slide. |
| 6944 | # The actual shape may not always exist on the notes page. Inserting text |
| 6945 | # using this object ID will automatically create the shape. In this case, the |
| 6946 | # actual shape may have different object ID. The `GetPresentation` or |
| 6947 | # `GetPage` action will always return the latest object ID. |
| 6948 | }, |
| 6949 | "objectId": "A String", # The object ID for this page. Object IDs used by |
| 6950 | # Page and |
| 6951 | # PageElement share the same namespace. |
| 6952 | "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in |
| 6953 | # update requests to assert that the presentation revision hasn't changed |
| 6954 | # since the last read operation. Only populated if the user has edit access |
| 6955 | # to the presentation. |
| 6956 | # |
| 6957 | # The format of the revision ID may change over time, so it should be treated |
| 6958 | # opaquely. A returned revision ID is only guaranteed to be valid for 24 |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 6959 | # hours after it has been returned and cannot be shared across users. If the |
| 6960 | # revision ID is unchanged between calls, then the presentation has not |
| 6961 | # changed. Conversely, a changed ID (for the same presentation and user) |
| 6962 | # usually means the presentation has been updated; however, a changed ID can |
| 6963 | # also be due to internal factors such as ID format changes. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 6964 | "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER. |
| 6965 | # relevant for pages with page_type MASTER. |
| 6966 | "displayName": "A String", # The human-readable name of the master. |
| 6967 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 6968 | "pageProperties": { # The properties of the Page. # The properties of the page. |
| 6969 | # |
| 6970 | # The page will inherit properties from the parent page. Depending on the page |
| 6971 | # type the hierarchy is defined in either |
| 6972 | # SlideProperties or |
| 6973 | # LayoutProperties. |
| 6974 | "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited |
| 6975 | # from a parent page if it exists. If the page has no parent, then the |
| 6976 | # background fill defaults to the corresponding fill in the Slides editor. |
| 6977 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 6978 | # specified color value. |
| 6979 | # |
| 6980 | # If any field is unset, its value may be inherited from a parent placeholder |
| 6981 | # if it exists. |
| 6982 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 6983 | "themeColor": "A String", # An opaque theme color. |
| 6984 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 6985 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6986 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6987 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6988 | }, |
| 6989 | }, |
| 6990 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 6991 | # That is, the final pixel color is defined by the equation: |
| 6992 | # |
| 6993 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 6994 | # |
| 6995 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 6996 | # a value of 0.0 corresponds to a completely transparent color. |
| 6997 | }, |
| 6998 | "propertyState": "A String", # The background fill property state. |
| 6999 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7000 | # Updating the fill on a page will implicitly update this field to |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 7001 | # `RENDERED`, unless another value is specified in the same request. To |
| 7002 | # have no fill on a page, set this field to `NOT_RENDERED`. In this case, |
| 7003 | # any other fill fields set in the same request will be ignored. |
| 7004 | "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill. |
| 7005 | # the specified picture. The picture is stretched to fit its container. |
| 7006 | "contentUrl": "A String", # Reading the content_url: |
| 7007 | # |
| 7008 | # An URL to a picture with a default lifetime of 30 minutes. |
| 7009 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 7010 | # effectively accesses the picture as the original requester. Access to the |
| 7011 | # picture may be lost if the presentation's sharing settings change. |
| 7012 | # |
| 7013 | # Writing the content_url: |
| 7014 | # |
| 7015 | # The picture is fetched once at insertion time and a copy is stored for |
| 7016 | # display inside the presentation. Pictures must be less than 50MB in size, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7017 | # cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 7018 | # format. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7019 | # |
| 7020 | # The provided URL can be at most 2 kB in length. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 7021 | "size": { # A width and height. # The original size of the picture fill. This field is read-only. |
| 7022 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 7023 | "magnitude": 3.14, # The magnitude. |
| 7024 | "unit": "A String", # The units for magnitude. |
| 7025 | }, |
| 7026 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 7027 | "magnitude": 3.14, # The magnitude. |
| 7028 | "unit": "A String", # The units for magnitude. |
| 7029 | }, |
| 7030 | }, |
| 7031 | }, |
| 7032 | }, |
| 7033 | "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from |
| 7034 | # a parent page. If the page has no parent, the color scheme uses a default |
| 7035 | # Slides color scheme. This field is read-only. |
| 7036 | "colors": [ # The ThemeColorType and corresponding concrete color pairs. |
| 7037 | { # A pair mapping a theme color type to the concrete color it represents. |
| 7038 | "color": { # An RGB color. # The concrete color corresponding to the theme color type above. |
| 7039 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7040 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7041 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7042 | }, |
| 7043 | "type": "A String", # The type of the theme color. |
| 7044 | }, |
| 7045 | ], |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 7046 | }, |
| 7047 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 7048 | "pageType": "A String", # The type of the page. |
| 7049 | "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE. |
| 7050 | # relevant for pages with page_type SLIDE. |
| 7051 | "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual |
| 7052 | # appearance of a notes page when printing or exporting slides with speaker |
| 7053 | # notes. A notes page inherits properties from the |
| 7054 | # notes master. |
| 7055 | # The placeholder shape with type BODY on the notes page contains the speaker |
| 7056 | # notes for this slide. The ID of this shape is identified by the |
| 7057 | # speakerNotesObjectId field. |
| 7058 | # The notes page is read-only except for the text content and styles of the |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7059 | # speaker notes shape. This property is read-only. |
| 7060 | "masterObjectId": "A String", # The object ID of the master that this slide is based on. This property is |
| 7061 | # read-only. |
| 7062 | "layoutObjectId": "A String", # The object ID of the layout that this slide is based on. This property is |
| 7063 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 7064 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 7065 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7066 | "slides": [ # The slides in the presentation. |
| 7067 | # A slide inherits properties from a slide layout. |
| 7068 | { # A page in a presentation. |
| 7069 | "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT. |
| 7070 | # relevant for pages with page_type LAYOUT. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7071 | "displayName": "A String", # The human-readable name of the layout. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7072 | "name": "A String", # The name of the layout. |
| 7073 | "masterObjectId": "A String", # The object ID of the master that this layout is based on. |
| 7074 | }, |
| 7075 | "pageElements": [ # The page elements rendered on the page. |
| 7076 | { # A visual element rendered on a page. |
| 7077 | "wordArt": { # A PageElement kind representing # A word art page element. |
| 7078 | # word art. |
| 7079 | "renderedText": "A String", # The text rendered as word art. |
| 7080 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7081 | "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit. |
| 7082 | # joined collection of PageElements. |
| 7083 | "children": [ # The collection of elements in the group. The minimum size of a group is 2. |
| 7084 | # Object with schema name: PageElement |
| 7085 | ], |
| 7086 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7087 | "objectId": "A String", # The object ID for this page element. Object IDs used by |
| 7088 | # google.apps.slides.v1.Page and |
| 7089 | # google.apps.slides.v1.PageElement share the same namespace. |
| 7090 | "title": "A String", # The title of the page element. Combined with description to display alt |
| 7091 | # text. |
| 7092 | "image": { # A PageElement kind representing an # An image page element. |
| 7093 | # image. |
| 7094 | "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes. |
| 7095 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 7096 | # effectively accesses the image as the original requester. Access to the |
| 7097 | # image may be lost if the presentation's sharing settings change. |
| 7098 | "imageProperties": { # The properties of the Image. # The properties of the image. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7099 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7100 | # |
| 7101 | # If these fields are unset, they may be inherited from a parent placeholder |
| 7102 | # if it exists. If there is no parent, the fields will default to the value |
| 7103 | # used for new page elements created in the Slides editor, which may depend on |
| 7104 | # the page element kind. |
| 7105 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 7106 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 7107 | # specified color value. |
| 7108 | # |
| 7109 | # If any field is unset, its value may be inherited from a parent placeholder |
| 7110 | # if it exists. |
| 7111 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 7112 | "themeColor": "A String", # An opaque theme color. |
| 7113 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 7114 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7115 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7116 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7117 | }, |
| 7118 | }, |
| 7119 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 7120 | # That is, the final pixel color is defined by the equation: |
| 7121 | # |
| 7122 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 7123 | # |
| 7124 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 7125 | # a value of 0.0 corresponds to a completely transparent color. |
| 7126 | }, |
| 7127 | }, |
| 7128 | "propertyState": "A String", # The outline property state. |
| 7129 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7130 | # Updating the outline on a page element will implicitly update this field |
| 7131 | # to `RENDERED`, unless another value is specified in the same request. To |
| 7132 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7133 | # this case, any other outline fields set in the same request will be |
| 7134 | # ignored. |
| 7135 | "dashStyle": "A String", # The dash style of the outline. |
| 7136 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 7137 | "magnitude": 3.14, # The magnitude. |
| 7138 | "unit": "A String", # The units for magnitude. |
| 7139 | }, |
| 7140 | }, |
| 7141 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 7142 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 7143 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 7144 | # This property is read-only. |
| 7145 | "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color |
| 7146 | # stops. |
| 7147 | # |
| 7148 | # The colors in the gradient will replace the corresponding colors at |
| 7149 | # the same position in the color palette and apply to the image. This |
| 7150 | # property is read-only. |
| 7151 | { # A color and position in a gradient band. |
| 7152 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 7153 | "themeColor": "A String", # An opaque theme color. |
| 7154 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 7155 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7156 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7157 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7158 | }, |
| 7159 | }, |
| 7160 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 7161 | # fully opaque. |
| 7162 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 7163 | # in percentage. The value should be in the interval [0.0, 1.0]. |
| 7164 | }, |
| 7165 | ], |
| 7166 | "name": "A String", # The name of the recolor effect. |
| 7167 | # |
| 7168 | # The name is determined from the `recolor_stops` by matching the gradient |
| 7169 | # against the colors in the page's current color scheme. This property is |
| 7170 | # read-only. |
| 7171 | }, |
| 7172 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 7173 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 7174 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 7175 | # in the presentation. There may not be a slide at this index. |
| 7176 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 7177 | # presentation with this ID. A page with this ID may not exist. |
| 7178 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 7179 | # addressed by its position. |
| 7180 | }, |
| 7181 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 7182 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 7183 | # This property is read-only. |
| 7184 | "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. |
| 7185 | # This property is read-only. |
| 7186 | # Image. |
| 7187 | # |
| 7188 | # The crop properties is represented by the offsets of four edges which define |
| 7189 | # a crop rectangle. The offsets are measured in percentage from the |
| 7190 | # corresponding edges of the object's original bounding rectangle towards |
| 7191 | # inside, relative to the object's original dimensions. |
| 7192 | # |
| 7193 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 7194 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 7195 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 7196 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 7197 | # - If the left edge of the crop rectangle is on the right side of its right |
| 7198 | # edge, the object will be flipped horizontally. |
| 7199 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 7200 | # will be flipped vertically. |
| 7201 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 7202 | # |
| 7203 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 7204 | # its container. |
| 7205 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 7206 | # the right of the original bounding rectangle left edge, relative to the |
| 7207 | # object's original width. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7208 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 7209 | # above the original bounding rectangle bottom edge, relative to the object's |
| 7210 | # original height. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7211 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 7212 | # Rotation angle is applied after the offset. |
| 7213 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 7214 | # to the left of the original bounding rectangle right edge, relative to the |
| 7215 | # object's original width. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7216 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 7217 | # below the original bounding rectangle top edge, relative to the object's |
| 7218 | # original height. |
| 7219 | }, |
| 7220 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 7221 | # is read-only. |
| 7222 | # |
| 7223 | # If these fields are unset, they may be inherited from a parent placeholder |
| 7224 | # if it exists. If there is no parent, the fields will default to the value |
| 7225 | # used for new page elements created in the Slides editor, which may depend on |
| 7226 | # the page element kind. |
| 7227 | "color": { # A themeable solid color value. # The shadow color value. |
| 7228 | "themeColor": "A String", # An opaque theme color. |
| 7229 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 7230 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7231 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7232 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7233 | }, |
| 7234 | }, |
| 7235 | "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, |
| 7236 | # relative to the alignment position. |
| 7237 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 7238 | # according to: |
| 7239 | # |
| 7240 | # x' x = shear_y scale_y translate_y |
| 7241 | # 1 [ 1 ] |
| 7242 | # |
| 7243 | # After transformation, |
| 7244 | # |
| 7245 | # x' = scale_x * x + shear_x * y + translate_x; |
| 7246 | # y' = scale_y * y + shear_y * x + translate_y; |
| 7247 | # |
| 7248 | # This message is therefore composed of these six matrix elements. |
| 7249 | "translateX": 3.14, # The X coordinate translation element. |
| 7250 | "translateY": 3.14, # The Y coordinate translation element. |
| 7251 | "scaleX": 3.14, # The X coordinate scaling element. |
| 7252 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 7253 | "shearY": 3.14, # The Y coordinate shearing element. |
| 7254 | "shearX": 3.14, # The X coordinate shearing element. |
| 7255 | "unit": "A String", # The units for translate elements. |
| 7256 | }, |
| 7257 | "propertyState": "A String", # The shadow property state. |
| 7258 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7259 | # Updating the shadow on a page element will implicitly update this field to |
| 7260 | # `RENDERED`, unless another value is specified in the same request. To have |
| 7261 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7262 | # case, any other shadow fields set in the same request will be ignored. |
| 7263 | "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 |
| 7264 | # shadow becomes. |
| 7265 | "magnitude": 3.14, # The magnitude. |
| 7266 | "unit": "A String", # The units for magnitude. |
| 7267 | }, |
| 7268 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7269 | "type": "A String", # The type of the shadow. This property is read-only. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7270 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7271 | # scale and skew of the shadow. This property is read-only. |
| 7272 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 7273 | # read-only. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7274 | }, |
| 7275 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 7276 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 7277 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7278 | "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be |
| 7279 | # empty. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7280 | }, |
| 7281 | "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7282 | # |
| 7283 | # The visual appearance of the page element is determined by its absolute |
| 7284 | # transform. To compute the absolute transform, preconcatenate a page |
| 7285 | # element's transform with the transforms of all of its parent groups. If the |
| 7286 | # page element is not in a group, its absolute transform is the same as the |
| 7287 | # value in this field. |
| 7288 | # |
| 7289 | # The initial transform for the newly created Group is always the identity transform. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7290 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 7291 | # according to: |
| 7292 | # |
| 7293 | # x' x = shear_y scale_y translate_y |
| 7294 | # 1 [ 1 ] |
| 7295 | # |
| 7296 | # After transformation, |
| 7297 | # |
| 7298 | # x' = scale_x * x + shear_x * y + translate_x; |
| 7299 | # y' = scale_y * y + shear_y * x + translate_y; |
| 7300 | # |
| 7301 | # This message is therefore composed of these six matrix elements. |
| 7302 | "translateX": 3.14, # The X coordinate translation element. |
| 7303 | "translateY": 3.14, # The Y coordinate translation element. |
| 7304 | "scaleX": 3.14, # The X coordinate scaling element. |
| 7305 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 7306 | "shearY": 3.14, # The Y coordinate shearing element. |
| 7307 | "shearX": 3.14, # The X coordinate shearing element. |
| 7308 | "unit": "A String", # The units for translate elements. |
| 7309 | }, |
| 7310 | "shape": { # A PageElement kind representing a # A generic shape. |
| 7311 | # generic shape that does not have a more specific classification. |
| 7312 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape. |
| 7313 | # text box or rectangle) or a table cell in a page. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7314 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 7315 | # information. This property is read-only. |
| 7316 | { # A TextElement describes the content of a range of indices in the text content |
| 7317 | # of a Shape or TableCell. |
| 7318 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 7319 | # replaced with content that can change over time. |
| 7320 | "content": "A String", # The rendered content of this auto text, if available. |
| 7321 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 7322 | # |
| 7323 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 7324 | # inherited from the parent. Which text styles are inherited depend on the |
| 7325 | # nesting level of lists: |
| 7326 | # |
| 7327 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 7328 | # from the the newline character in the paragraph at the 0 nesting level of |
| 7329 | # the list inside the parent placeholder. |
| 7330 | # * A text run in a paragraph that is in a list will inherit its text style |
| 7331 | # from the newline character in the paragraph at its corresponding nesting |
| 7332 | # level of the list inside the parent placeholder. |
| 7333 | # |
| 7334 | # Inherited text styles are represented as unset fields in this message. If |
| 7335 | # text is contained in a shape without a parent placeholder, unsetting these |
| 7336 | # fields will revert the style to a value matching the defaults in the Slides |
| 7337 | # editor. |
| 7338 | "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 |
| 7339 | # transparent, depending on if the `opaque_color` field in it is set. |
| 7340 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 7341 | # a transparent color. |
| 7342 | "themeColor": "A String", # An opaque theme color. |
| 7343 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 7344 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7345 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7346 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7347 | }, |
| 7348 | }, |
| 7349 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7350 | "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 |
| 7351 | # transparent, depending on if the `opaque_color` field in it is set. |
| 7352 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 7353 | # a transparent color. |
| 7354 | "themeColor": "A String", # An opaque theme color. |
| 7355 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 7356 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7357 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7358 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7359 | }, |
| 7360 | }, |
| 7361 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7362 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 7363 | # |
| 7364 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 7365 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 7366 | # The `font_size` itself is not affected by changes in this field. |
| 7367 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 7368 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 7369 | # |
| 7370 | # This field is an extension of `font_family` meant to support explicit font |
| 7371 | # weights without breaking backwards compatibility. As such, when reading the |
| 7372 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 7373 | # will always be equal to that of `font_family`. However, when writing, if |
| 7374 | # both fields are included in the field mask (either explicitly or through |
| 7375 | # the wildcard `"*"`), their values are reconciled as follows: |
| 7376 | # |
| 7377 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 7378 | # `font_family` is applied with weight `400` ("normal"). |
| 7379 | # * If both fields are set, the value of `font_family` must match that of |
| 7380 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 7381 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 7382 | # returned. |
| 7383 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 7384 | # family and weight of `weighted_font_family` is applied. |
| 7385 | # * If neither field is set, the font family and weight of the text inherit |
| 7386 | # from the parent. Note that these properties cannot inherit separately |
| 7387 | # from each other. |
| 7388 | # |
| 7389 | # If an update request specifies values for both `weighted_font_family` and |
| 7390 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 7391 | # |
| 7392 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 7393 | # |
| 7394 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 7395 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 7396 | # is returned. |
| 7397 | "fontFamily": "A String", # The font family of the text. |
| 7398 | # |
| 7399 | # The font family can be any font from the Font menu in Slides or from |
| 7400 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 7401 | # unrecognized, the text is rendered in `Arial`. |
| 7402 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 7403 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 7404 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7405 | # Specification, |
| 7406 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7407 | # with non-numerical values disallowed. Weights greater than or equal to |
| 7408 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 7409 | # default value is `400` ("normal"). |
| 7410 | }, |
| 7411 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 7412 | "fontFamily": "A String", # The font family of the text. |
| 7413 | # |
| 7414 | # The font family can be any font from the Font menu in Slides or from |
| 7415 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 7416 | # unrecognized, the text is rendered in `Arial`. |
| 7417 | # |
| 7418 | # Some fonts can affect the weight of the text. If an update request |
| 7419 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 7420 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7421 | "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 |
| 7422 | # points. |
| 7423 | "magnitude": 3.14, # The magnitude. |
| 7424 | "unit": "A String", # The units for magnitude. |
| 7425 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7426 | "italic": True or False, # Whether or not the text is italicized. |
| 7427 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 7428 | # are not inherited from parent text. |
| 7429 | # |
| 7430 | # Changing the link in an update request causes some other changes to the |
| 7431 | # text style of the range: |
| 7432 | # |
| 7433 | # * When setting a link, the text foreground color will be set to |
| 7434 | # ThemeColorType.HYPERLINK and the text will |
| 7435 | # be underlined. If these fields are modified in the same |
| 7436 | # request, those values will be used instead of the link defaults. |
| 7437 | # * Setting a link on a text range that overlaps with an existing link will |
| 7438 | # also update the existing link to point to the new URL. |
| 7439 | # * Links are not settable on newline characters. As a result, setting a link |
| 7440 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 7441 | # will separate the newline character(s) into their own text runs. The |
| 7442 | # link will be applied separately to the runs before and after the newline. |
| 7443 | # * Removing a link will update the text style of the range to match the |
| 7444 | # style of the preceding text (or the default text styles if the preceding |
| 7445 | # text is another link) unless different styles are being set in the same |
| 7446 | # request. |
| 7447 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 7448 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 7449 | # in the presentation. There may not be a slide at this index. |
| 7450 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 7451 | # presentation with this ID. A page with this ID may not exist. |
| 7452 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 7453 | # addressed by its position. |
| 7454 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7455 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7456 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7457 | }, |
| 7458 | "type": "A String", # The type of this auto text. |
| 7459 | }, |
| 7460 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 7461 | # units. |
| 7462 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 7463 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 7464 | # |
| 7465 | # The `start_index` and `end_index` of this TextElement represent the |
| 7466 | # range of the paragraph. Other TextElements with an index range contained |
| 7467 | # inside this paragraph's range are considered to be part of this |
| 7468 | # paragraph. The range of indices of two separate paragraphs will never |
| 7469 | # overlap. |
| 7470 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 7471 | # |
| 7472 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 7473 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 7474 | # nesting level of lists: |
| 7475 | # |
| 7476 | # * A paragraph not in a list will inherit its paragraph style from the |
| 7477 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 7478 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 7479 | # at its corresponding nesting level of the list inside the parent |
| 7480 | # placeholder. |
| 7481 | # |
| 7482 | # Inherited paragraph styles are represented as unset fields in this message. |
| 7483 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 7484 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 7485 | # LEFT_TO_RIGHT since |
| 7486 | # text direction is not inherited. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7487 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7488 | # inherited from the parent. |
| 7489 | "magnitude": 3.14, # The magnitude. |
| 7490 | "unit": "A String", # The units for magnitude. |
| 7491 | }, |
| 7492 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 7493 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 7494 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 7495 | # the start of the text, based on the current text direction. If unset, the |
| 7496 | # value is inherited from the parent. |
| 7497 | "magnitude": 3.14, # The magnitude. |
| 7498 | "unit": "A String", # The units for magnitude. |
| 7499 | }, |
| 7500 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 7501 | # inherited from the parent. |
| 7502 | "magnitude": 3.14, # The magnitude. |
| 7503 | "unit": "A String", # The units for magnitude. |
| 7504 | }, |
| 7505 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 7506 | # the end of the text, based on the current text direction. If unset, the |
| 7507 | # value is inherited from the parent. |
| 7508 | "magnitude": 3.14, # The magnitude. |
| 7509 | "unit": "A String", # The units for magnitude. |
| 7510 | }, |
| 7511 | "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. |
| 7512 | # If unset, the value is inherited from the parent. |
| 7513 | "magnitude": 3.14, # The magnitude. |
| 7514 | "unit": "A String", # The units for magnitude. |
| 7515 | }, |
| 7516 | "alignment": "A String", # The text alignment for this paragraph. |
| 7517 | }, |
| 7518 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 7519 | # belong to a list. |
| 7520 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 7521 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 7522 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 7523 | # |
| 7524 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 7525 | # inherited from the parent. Which text styles are inherited depend on the |
| 7526 | # nesting level of lists: |
| 7527 | # |
| 7528 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 7529 | # from the the newline character in the paragraph at the 0 nesting level of |
| 7530 | # the list inside the parent placeholder. |
| 7531 | # * A text run in a paragraph that is in a list will inherit its text style |
| 7532 | # from the newline character in the paragraph at its corresponding nesting |
| 7533 | # level of the list inside the parent placeholder. |
| 7534 | # |
| 7535 | # Inherited text styles are represented as unset fields in this message. If |
| 7536 | # text is contained in a shape without a parent placeholder, unsetting these |
| 7537 | # fields will revert the style to a value matching the defaults in the Slides |
| 7538 | # editor. |
| 7539 | "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 |
| 7540 | # transparent, depending on if the `opaque_color` field in it is set. |
| 7541 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 7542 | # a transparent color. |
| 7543 | "themeColor": "A String", # An opaque theme color. |
| 7544 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 7545 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7546 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7547 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7548 | }, |
| 7549 | }, |
| 7550 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7551 | "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 |
| 7552 | # transparent, depending on if the `opaque_color` field in it is set. |
| 7553 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 7554 | # a transparent color. |
| 7555 | "themeColor": "A String", # An opaque theme color. |
| 7556 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 7557 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7558 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7559 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7560 | }, |
| 7561 | }, |
| 7562 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7563 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 7564 | # |
| 7565 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 7566 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 7567 | # The `font_size` itself is not affected by changes in this field. |
| 7568 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 7569 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 7570 | # |
| 7571 | # This field is an extension of `font_family` meant to support explicit font |
| 7572 | # weights without breaking backwards compatibility. As such, when reading the |
| 7573 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 7574 | # will always be equal to that of `font_family`. However, when writing, if |
| 7575 | # both fields are included in the field mask (either explicitly or through |
| 7576 | # the wildcard `"*"`), their values are reconciled as follows: |
| 7577 | # |
| 7578 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 7579 | # `font_family` is applied with weight `400` ("normal"). |
| 7580 | # * If both fields are set, the value of `font_family` must match that of |
| 7581 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 7582 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 7583 | # returned. |
| 7584 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 7585 | # family and weight of `weighted_font_family` is applied. |
| 7586 | # * If neither field is set, the font family and weight of the text inherit |
| 7587 | # from the parent. Note that these properties cannot inherit separately |
| 7588 | # from each other. |
| 7589 | # |
| 7590 | # If an update request specifies values for both `weighted_font_family` and |
| 7591 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 7592 | # |
| 7593 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 7594 | # |
| 7595 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 7596 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 7597 | # is returned. |
| 7598 | "fontFamily": "A String", # The font family of the text. |
| 7599 | # |
| 7600 | # The font family can be any font from the Font menu in Slides or from |
| 7601 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 7602 | # unrecognized, the text is rendered in `Arial`. |
| 7603 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 7604 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 7605 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7606 | # Specification, |
| 7607 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7608 | # with non-numerical values disallowed. Weights greater than or equal to |
| 7609 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 7610 | # default value is `400` ("normal"). |
| 7611 | }, |
| 7612 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 7613 | "fontFamily": "A String", # The font family of the text. |
| 7614 | # |
| 7615 | # The font family can be any font from the Font menu in Slides or from |
| 7616 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 7617 | # unrecognized, the text is rendered in `Arial`. |
| 7618 | # |
| 7619 | # Some fonts can affect the weight of the text. If an update request |
| 7620 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 7621 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7622 | "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 |
| 7623 | # points. |
| 7624 | "magnitude": 3.14, # The magnitude. |
| 7625 | "unit": "A String", # The units for magnitude. |
| 7626 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7627 | "italic": True or False, # Whether or not the text is italicized. |
| 7628 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 7629 | # are not inherited from parent text. |
| 7630 | # |
| 7631 | # Changing the link in an update request causes some other changes to the |
| 7632 | # text style of the range: |
| 7633 | # |
| 7634 | # * When setting a link, the text foreground color will be set to |
| 7635 | # ThemeColorType.HYPERLINK and the text will |
| 7636 | # be underlined. If these fields are modified in the same |
| 7637 | # request, those values will be used instead of the link defaults. |
| 7638 | # * Setting a link on a text range that overlaps with an existing link will |
| 7639 | # also update the existing link to point to the new URL. |
| 7640 | # * Links are not settable on newline characters. As a result, setting a link |
| 7641 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 7642 | # will separate the newline character(s) into their own text runs. The |
| 7643 | # link will be applied separately to the runs before and after the newline. |
| 7644 | # * Removing a link will update the text style of the range to match the |
| 7645 | # style of the preceding text (or the default text styles if the preceding |
| 7646 | # text is another link) unless different styles are being set in the same |
| 7647 | # request. |
| 7648 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 7649 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 7650 | # in the presentation. There may not be a slide at this index. |
| 7651 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 7652 | # presentation with this ID. A page with this ID may not exist. |
| 7653 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 7654 | # addressed by its position. |
| 7655 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7656 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7657 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7658 | }, |
| 7659 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 7660 | }, |
| 7661 | }, |
| 7662 | "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 |
| 7663 | # in the run have the same TextStyle. |
| 7664 | # |
| 7665 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 7666 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 7667 | # In other words, a TextRun will never span multiple paragraphs. |
| 7668 | # styling. |
| 7669 | "content": "A String", # The text of this run. |
| 7670 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 7671 | # |
| 7672 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 7673 | # inherited from the parent. Which text styles are inherited depend on the |
| 7674 | # nesting level of lists: |
| 7675 | # |
| 7676 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 7677 | # from the the newline character in the paragraph at the 0 nesting level of |
| 7678 | # the list inside the parent placeholder. |
| 7679 | # * A text run in a paragraph that is in a list will inherit its text style |
| 7680 | # from the newline character in the paragraph at its corresponding nesting |
| 7681 | # level of the list inside the parent placeholder. |
| 7682 | # |
| 7683 | # Inherited text styles are represented as unset fields in this message. If |
| 7684 | # text is contained in a shape without a parent placeholder, unsetting these |
| 7685 | # fields will revert the style to a value matching the defaults in the Slides |
| 7686 | # editor. |
| 7687 | "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 |
| 7688 | # transparent, depending on if the `opaque_color` field in it is set. |
| 7689 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 7690 | # a transparent color. |
| 7691 | "themeColor": "A String", # An opaque theme color. |
| 7692 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 7693 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7694 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7695 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7696 | }, |
| 7697 | }, |
| 7698 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7699 | "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 |
| 7700 | # transparent, depending on if the `opaque_color` field in it is set. |
| 7701 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 7702 | # a transparent color. |
| 7703 | "themeColor": "A String", # An opaque theme color. |
| 7704 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 7705 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7706 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7707 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7708 | }, |
| 7709 | }, |
| 7710 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7711 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 7712 | # |
| 7713 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 7714 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 7715 | # The `font_size` itself is not affected by changes in this field. |
| 7716 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 7717 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 7718 | # |
| 7719 | # This field is an extension of `font_family` meant to support explicit font |
| 7720 | # weights without breaking backwards compatibility. As such, when reading the |
| 7721 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 7722 | # will always be equal to that of `font_family`. However, when writing, if |
| 7723 | # both fields are included in the field mask (either explicitly or through |
| 7724 | # the wildcard `"*"`), their values are reconciled as follows: |
| 7725 | # |
| 7726 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 7727 | # `font_family` is applied with weight `400` ("normal"). |
| 7728 | # * If both fields are set, the value of `font_family` must match that of |
| 7729 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 7730 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 7731 | # returned. |
| 7732 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 7733 | # family and weight of `weighted_font_family` is applied. |
| 7734 | # * If neither field is set, the font family and weight of the text inherit |
| 7735 | # from the parent. Note that these properties cannot inherit separately |
| 7736 | # from each other. |
| 7737 | # |
| 7738 | # If an update request specifies values for both `weighted_font_family` and |
| 7739 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 7740 | # |
| 7741 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 7742 | # |
| 7743 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 7744 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 7745 | # is returned. |
| 7746 | "fontFamily": "A String", # The font family of the text. |
| 7747 | # |
| 7748 | # The font family can be any font from the Font menu in Slides or from |
| 7749 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 7750 | # unrecognized, the text is rendered in `Arial`. |
| 7751 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 7752 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 7753 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7754 | # Specification, |
| 7755 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7756 | # with non-numerical values disallowed. Weights greater than or equal to |
| 7757 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 7758 | # default value is `400` ("normal"). |
| 7759 | }, |
| 7760 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 7761 | "fontFamily": "A String", # The font family of the text. |
| 7762 | # |
| 7763 | # The font family can be any font from the Font menu in Slides or from |
| 7764 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 7765 | # unrecognized, the text is rendered in `Arial`. |
| 7766 | # |
| 7767 | # Some fonts can affect the weight of the text. If an update request |
| 7768 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 7769 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7770 | "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 |
| 7771 | # points. |
| 7772 | "magnitude": 3.14, # The magnitude. |
| 7773 | "unit": "A String", # The units for magnitude. |
| 7774 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7775 | "italic": True or False, # Whether or not the text is italicized. |
| 7776 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 7777 | # are not inherited from parent text. |
| 7778 | # |
| 7779 | # Changing the link in an update request causes some other changes to the |
| 7780 | # text style of the range: |
| 7781 | # |
| 7782 | # * When setting a link, the text foreground color will be set to |
| 7783 | # ThemeColorType.HYPERLINK and the text will |
| 7784 | # be underlined. If these fields are modified in the same |
| 7785 | # request, those values will be used instead of the link defaults. |
| 7786 | # * Setting a link on a text range that overlaps with an existing link will |
| 7787 | # also update the existing link to point to the new URL. |
| 7788 | # * Links are not settable on newline characters. As a result, setting a link |
| 7789 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 7790 | # will separate the newline character(s) into their own text runs. The |
| 7791 | # link will be applied separately to the runs before and after the newline. |
| 7792 | # * Removing a link will update the text style of the range to match the |
| 7793 | # style of the preceding text (or the default text styles if the preceding |
| 7794 | # text is another link) unless different styles are being set in the same |
| 7795 | # request. |
| 7796 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 7797 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 7798 | # in the presentation. There may not be a slide at this index. |
| 7799 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 7800 | # presentation with this ID. A page with this ID may not exist. |
| 7801 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 7802 | # addressed by its position. |
| 7803 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7804 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7805 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7806 | }, |
| 7807 | }, |
| 7808 | }, |
| 7809 | ], |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 7810 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 7811 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 7812 | # associated with a list. A paragraph that is part of a list has an implicit |
| 7813 | # reference to that list's ID. |
| 7814 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 7815 | # level. A list has at most nine levels of nesting, so the possible values |
| 7816 | # for the keys of this map are 0 through 8, inclusive. |
| 7817 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 7818 | # level of nesting. |
| 7819 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 7820 | # |
| 7821 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 7822 | # inherited from the parent. Which text styles are inherited depend on the |
| 7823 | # nesting level of lists: |
| 7824 | # |
| 7825 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 7826 | # from the the newline character in the paragraph at the 0 nesting level of |
| 7827 | # the list inside the parent placeholder. |
| 7828 | # * A text run in a paragraph that is in a list will inherit its text style |
| 7829 | # from the newline character in the paragraph at its corresponding nesting |
| 7830 | # level of the list inside the parent placeholder. |
| 7831 | # |
| 7832 | # Inherited text styles are represented as unset fields in this message. If |
| 7833 | # text is contained in a shape without a parent placeholder, unsetting these |
| 7834 | # fields will revert the style to a value matching the defaults in the Slides |
| 7835 | # editor. |
| 7836 | "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 |
| 7837 | # transparent, depending on if the `opaque_color` field in it is set. |
| 7838 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 7839 | # a transparent color. |
| 7840 | "themeColor": "A String", # An opaque theme color. |
| 7841 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 7842 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7843 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7844 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7845 | }, |
| 7846 | }, |
| 7847 | }, |
| 7848 | "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 |
| 7849 | # transparent, depending on if the `opaque_color` field in it is set. |
| 7850 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 7851 | # a transparent color. |
| 7852 | "themeColor": "A String", # An opaque theme color. |
| 7853 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 7854 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7855 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7856 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7857 | }, |
| 7858 | }, |
| 7859 | }, |
| 7860 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 7861 | # |
| 7862 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 7863 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 7864 | # The `font_size` itself is not affected by changes in this field. |
| 7865 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 7866 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 7867 | # |
| 7868 | # This field is an extension of `font_family` meant to support explicit font |
| 7869 | # weights without breaking backwards compatibility. As such, when reading the |
| 7870 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 7871 | # will always be equal to that of `font_family`. However, when writing, if |
| 7872 | # both fields are included in the field mask (either explicitly or through |
| 7873 | # the wildcard `"*"`), their values are reconciled as follows: |
| 7874 | # |
| 7875 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 7876 | # `font_family` is applied with weight `400` ("normal"). |
| 7877 | # * If both fields are set, the value of `font_family` must match that of |
| 7878 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 7879 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 7880 | # returned. |
| 7881 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 7882 | # family and weight of `weighted_font_family` is applied. |
| 7883 | # * If neither field is set, the font family and weight of the text inherit |
| 7884 | # from the parent. Note that these properties cannot inherit separately |
| 7885 | # from each other. |
| 7886 | # |
| 7887 | # If an update request specifies values for both `weighted_font_family` and |
| 7888 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 7889 | # |
| 7890 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 7891 | # |
| 7892 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 7893 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 7894 | # is returned. |
| 7895 | "fontFamily": "A String", # The font family of the text. |
| 7896 | # |
| 7897 | # The font family can be any font from the Font menu in Slides or from |
| 7898 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 7899 | # unrecognized, the text is rendered in `Arial`. |
| 7900 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 7901 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 7902 | # corresponds to the numerical values described in the CSS 2.1 |
| 7903 | # Specification, |
| 7904 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 7905 | # with non-numerical values disallowed. Weights greater than or equal to |
| 7906 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 7907 | # default value is `400` ("normal"). |
| 7908 | }, |
| 7909 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 7910 | "fontFamily": "A String", # The font family of the text. |
| 7911 | # |
| 7912 | # The font family can be any font from the Font menu in Slides or from |
| 7913 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 7914 | # unrecognized, the text is rendered in `Arial`. |
| 7915 | # |
| 7916 | # Some fonts can affect the weight of the text. If an update request |
| 7917 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 7918 | # `bold` value is used. |
| 7919 | "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 |
| 7920 | # points. |
| 7921 | "magnitude": 3.14, # The magnitude. |
| 7922 | "unit": "A String", # The units for magnitude. |
| 7923 | }, |
| 7924 | "italic": True or False, # Whether or not the text is italicized. |
| 7925 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 7926 | # are not inherited from parent text. |
| 7927 | # |
| 7928 | # Changing the link in an update request causes some other changes to the |
| 7929 | # text style of the range: |
| 7930 | # |
| 7931 | # * When setting a link, the text foreground color will be set to |
| 7932 | # ThemeColorType.HYPERLINK and the text will |
| 7933 | # be underlined. If these fields are modified in the same |
| 7934 | # request, those values will be used instead of the link defaults. |
| 7935 | # * Setting a link on a text range that overlaps with an existing link will |
| 7936 | # also update the existing link to point to the new URL. |
| 7937 | # * Links are not settable on newline characters. As a result, setting a link |
| 7938 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 7939 | # will separate the newline character(s) into their own text runs. The |
| 7940 | # link will be applied separately to the runs before and after the newline. |
| 7941 | # * Removing a link will update the text style of the range to match the |
| 7942 | # style of the preceding text (or the default text styles if the preceding |
| 7943 | # text is another link) unless different styles are being set in the same |
| 7944 | # request. |
| 7945 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 7946 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 7947 | # in the presentation. There may not be a slide at this index. |
| 7948 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 7949 | # presentation with this ID. A page with this ID may not exist. |
| 7950 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 7951 | # addressed by its position. |
| 7952 | }, |
| 7953 | "underline": True or False, # Whether or not the text is underlined. |
| 7954 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 7955 | }, |
| 7956 | }, |
| 7957 | }, |
| 7958 | "listId": "A String", # The ID of the list. |
| 7959 | }, |
| 7960 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 7961 | }, |
| 7962 | "shapeProperties": { # The properties of a Shape. # The properties of the shape. |
| 7963 | # |
| 7964 | # If the shape is a placeholder shape as determined by the |
| 7965 | # placeholder field, then these |
| 7966 | # properties may be inherited from a parent placeholder shape. |
| 7967 | # Determining the rendered value of the property depends on the corresponding |
| 7968 | # property_state field value. |
| 7969 | "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from |
| 7970 | # a parent placeholder if it exists. If the shape has no parent, then the |
| 7971 | # default shadow matches the defaults for new shapes created in the Slides |
| 7972 | # editor. This property is read-only. |
| 7973 | # |
| 7974 | # If these fields are unset, they may be inherited from a parent placeholder |
| 7975 | # if it exists. If there is no parent, the fields will default to the value |
| 7976 | # used for new page elements created in the Slides editor, which may depend on |
| 7977 | # the page element kind. |
| 7978 | "color": { # A themeable solid color value. # The shadow color value. |
| 7979 | "themeColor": "A String", # An opaque theme color. |
| 7980 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 7981 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7982 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7983 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7984 | }, |
| 7985 | }, |
| 7986 | "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, |
| 7987 | # relative to the alignment position. |
| 7988 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 7989 | # according to: |
| 7990 | # |
| 7991 | # x' x = shear_y scale_y translate_y |
| 7992 | # 1 [ 1 ] |
| 7993 | # |
| 7994 | # After transformation, |
| 7995 | # |
| 7996 | # x' = scale_x * x + shear_x * y + translate_x; |
| 7997 | # y' = scale_y * y + shear_y * x + translate_y; |
| 7998 | # |
| 7999 | # This message is therefore composed of these six matrix elements. |
| 8000 | "translateX": 3.14, # The X coordinate translation element. |
| 8001 | "translateY": 3.14, # The Y coordinate translation element. |
| 8002 | "scaleX": 3.14, # The X coordinate scaling element. |
| 8003 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 8004 | "shearY": 3.14, # The Y coordinate shearing element. |
| 8005 | "shearX": 3.14, # The X coordinate shearing element. |
| 8006 | "unit": "A String", # The units for translate elements. |
| 8007 | }, |
| 8008 | "propertyState": "A String", # The shadow property state. |
| 8009 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8010 | # Updating the shadow on a page element will implicitly update this field to |
| 8011 | # `RENDERED`, unless another value is specified in the same request. To have |
| 8012 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8013 | # case, any other shadow fields set in the same request will be ignored. |
| 8014 | "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 |
| 8015 | # shadow becomes. |
| 8016 | "magnitude": 3.14, # The magnitude. |
| 8017 | "unit": "A String", # The units for magnitude. |
| 8018 | }, |
| 8019 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8020 | "type": "A String", # The type of the shadow. This property is read-only. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8021 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8022 | # scale and skew of the shadow. This property is read-only. |
| 8023 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 8024 | # read-only. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8025 | }, |
| 8026 | "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is |
| 8027 | # inherited from a parent placeholder if it exists. If the shape has no |
| 8028 | # parent, then the default background fill depends on the shape type, |
| 8029 | # matching the defaults for new shapes created in the Slides editor. |
| 8030 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 8031 | # specified color value. |
| 8032 | # |
| 8033 | # If any field is unset, its value may be inherited from a parent placeholder |
| 8034 | # if it exists. |
| 8035 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 8036 | "themeColor": "A String", # An opaque theme color. |
| 8037 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 8038 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8039 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8040 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8041 | }, |
| 8042 | }, |
| 8043 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 8044 | # That is, the final pixel color is defined by the equation: |
| 8045 | # |
| 8046 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 8047 | # |
| 8048 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 8049 | # a value of 0.0 corresponds to a completely transparent color. |
| 8050 | }, |
| 8051 | "propertyState": "A String", # The background fill property state. |
| 8052 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8053 | # Updating the fill on a shape will implicitly update this field to |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8054 | # `RENDERED`, unless another value is specified in the same request. To |
| 8055 | # have no fill on a shape, set this field to `NOT_RENDERED`. In this case, |
| 8056 | # any other fill fields set in the same request will be ignored. |
| 8057 | }, |
| 8058 | "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links |
| 8059 | # are not inherited from parent placeholders. |
| 8060 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 8061 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 8062 | # in the presentation. There may not be a slide at this index. |
| 8063 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 8064 | # presentation with this ID. A page with this ID may not exist. |
| 8065 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 8066 | # addressed by its position. |
| 8067 | }, |
| 8068 | "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a |
| 8069 | # parent placeholder if it exists. If the shape has no parent, then the |
| 8070 | # default outline depends on the shape type, matching the defaults for |
| 8071 | # new shapes created in the Slides editor. |
| 8072 | # |
| 8073 | # If these fields are unset, they may be inherited from a parent placeholder |
| 8074 | # if it exists. If there is no parent, the fields will default to the value |
| 8075 | # used for new page elements created in the Slides editor, which may depend on |
| 8076 | # the page element kind. |
| 8077 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 8078 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 8079 | # specified color value. |
| 8080 | # |
| 8081 | # If any field is unset, its value may be inherited from a parent placeholder |
| 8082 | # if it exists. |
| 8083 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 8084 | "themeColor": "A String", # An opaque theme color. |
| 8085 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 8086 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8087 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8088 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8089 | }, |
| 8090 | }, |
| 8091 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 8092 | # That is, the final pixel color is defined by the equation: |
| 8093 | # |
| 8094 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 8095 | # |
| 8096 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 8097 | # a value of 0.0 corresponds to a completely transparent color. |
| 8098 | }, |
| 8099 | }, |
| 8100 | "propertyState": "A String", # The outline property state. |
| 8101 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8102 | # Updating the outline on a page element will implicitly update this field |
| 8103 | # to `RENDERED`, unless another value is specified in the same request. To |
| 8104 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8105 | # this case, any other outline fields set in the same request will be |
| 8106 | # ignored. |
| 8107 | "dashStyle": "A String", # The dash style of the outline. |
| 8108 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 8109 | "magnitude": 3.14, # The magnitude. |
| 8110 | "unit": "A String", # The units for magnitude. |
| 8111 | }, |
| 8112 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8113 | "contentAlignment": "A String", # The alignment of the content in the shape. If unspecified, |
| 8114 | # the alignment is inherited from a parent placeholder if it exists. If the |
| 8115 | # shape has no parent, the default alignment matches the alignment for new |
| 8116 | # shapes created in the Slides editor. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8117 | }, |
| 8118 | "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on |
| 8119 | # layouts and masters. |
| 8120 | # |
| 8121 | # If set, the shape is a placeholder shape and any inherited properties |
| 8122 | # can be resolved by looking at the parent placeholder identified by the |
| 8123 | # Placeholder.parent_object_id field. |
| 8124 | "parentObjectId": "A String", # The object ID of this shape's parent placeholder. |
| 8125 | # If unset, the parent placeholder shape does not exist, so the shape does |
| 8126 | # not inherit properties from any other shape. |
| 8127 | "index": 42, # The index of the placeholder. If the same placeholder types are present in |
| 8128 | # the same page, they would have different index values. |
| 8129 | "type": "A String", # The type of the placeholder. |
| 8130 | }, |
| 8131 | "shapeType": "A String", # The type of the shape. |
| 8132 | }, |
| 8133 | "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are |
| 8134 | # represented as images. |
| 8135 | # a linked chart embedded from Google Sheets. |
| 8136 | "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30 |
| 8137 | # minutes. This URL is tagged with the account of the requester. Anyone with |
| 8138 | # the URL effectively accesses the image as the original requester. Access to |
| 8139 | # the image may be lost if the presentation's sharing settings change. |
| 8140 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| 8141 | "sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart. |
| 8142 | "chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8143 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8144 | # |
| 8145 | # If these fields are unset, they may be inherited from a parent placeholder |
| 8146 | # if it exists. If there is no parent, the fields will default to the value |
| 8147 | # used for new page elements created in the Slides editor, which may depend on |
| 8148 | # the page element kind. |
| 8149 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 8150 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 8151 | # specified color value. |
| 8152 | # |
| 8153 | # If any field is unset, its value may be inherited from a parent placeholder |
| 8154 | # if it exists. |
| 8155 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 8156 | "themeColor": "A String", # An opaque theme color. |
| 8157 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 8158 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8159 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8160 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8161 | }, |
| 8162 | }, |
| 8163 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 8164 | # That is, the final pixel color is defined by the equation: |
| 8165 | # |
| 8166 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 8167 | # |
| 8168 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 8169 | # a value of 0.0 corresponds to a completely transparent color. |
| 8170 | }, |
| 8171 | }, |
| 8172 | "propertyState": "A String", # The outline property state. |
| 8173 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8174 | # Updating the outline on a page element will implicitly update this field |
| 8175 | # to `RENDERED`, unless another value is specified in the same request. To |
| 8176 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8177 | # this case, any other outline fields set in the same request will be |
| 8178 | # ignored. |
| 8179 | "dashStyle": "A String", # The dash style of the outline. |
| 8180 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 8181 | "magnitude": 3.14, # The magnitude. |
| 8182 | "unit": "A String", # The units for magnitude. |
| 8183 | }, |
| 8184 | }, |
| 8185 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 8186 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 8187 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 8188 | # This property is read-only. |
| 8189 | "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color |
| 8190 | # stops. |
| 8191 | # |
| 8192 | # The colors in the gradient will replace the corresponding colors at |
| 8193 | # the same position in the color palette and apply to the image. This |
| 8194 | # property is read-only. |
| 8195 | { # A color and position in a gradient band. |
| 8196 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 8197 | "themeColor": "A String", # An opaque theme color. |
| 8198 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 8199 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8200 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8201 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8202 | }, |
| 8203 | }, |
| 8204 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 8205 | # fully opaque. |
| 8206 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 8207 | # in percentage. The value should be in the interval [0.0, 1.0]. |
| 8208 | }, |
| 8209 | ], |
| 8210 | "name": "A String", # The name of the recolor effect. |
| 8211 | # |
| 8212 | # The name is determined from the `recolor_stops` by matching the gradient |
| 8213 | # against the colors in the page's current color scheme. This property is |
| 8214 | # read-only. |
| 8215 | }, |
| 8216 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 8217 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 8218 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 8219 | # in the presentation. There may not be a slide at this index. |
| 8220 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 8221 | # presentation with this ID. A page with this ID may not exist. |
| 8222 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 8223 | # addressed by its position. |
| 8224 | }, |
| 8225 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 8226 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 8227 | # This property is read-only. |
| 8228 | "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. |
| 8229 | # This property is read-only. |
| 8230 | # Image. |
| 8231 | # |
| 8232 | # The crop properties is represented by the offsets of four edges which define |
| 8233 | # a crop rectangle. The offsets are measured in percentage from the |
| 8234 | # corresponding edges of the object's original bounding rectangle towards |
| 8235 | # inside, relative to the object's original dimensions. |
| 8236 | # |
| 8237 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 8238 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 8239 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 8240 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 8241 | # - If the left edge of the crop rectangle is on the right side of its right |
| 8242 | # edge, the object will be flipped horizontally. |
| 8243 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 8244 | # will be flipped vertically. |
| 8245 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 8246 | # |
| 8247 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 8248 | # its container. |
| 8249 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 8250 | # the right of the original bounding rectangle left edge, relative to the |
| 8251 | # object's original width. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8252 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 8253 | # above the original bounding rectangle bottom edge, relative to the object's |
| 8254 | # original height. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8255 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 8256 | # Rotation angle is applied after the offset. |
| 8257 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 8258 | # to the left of the original bounding rectangle right edge, relative to the |
| 8259 | # object's original width. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8260 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 8261 | # below the original bounding rectangle top edge, relative to the object's |
| 8262 | # original height. |
| 8263 | }, |
| 8264 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 8265 | # is read-only. |
| 8266 | # |
| 8267 | # If these fields are unset, they may be inherited from a parent placeholder |
| 8268 | # if it exists. If there is no parent, the fields will default to the value |
| 8269 | # used for new page elements created in the Slides editor, which may depend on |
| 8270 | # the page element kind. |
| 8271 | "color": { # A themeable solid color value. # The shadow color value. |
| 8272 | "themeColor": "A String", # An opaque theme color. |
| 8273 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 8274 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8275 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8276 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8277 | }, |
| 8278 | }, |
| 8279 | "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, |
| 8280 | # relative to the alignment position. |
| 8281 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 8282 | # according to: |
| 8283 | # |
| 8284 | # x' x = shear_y scale_y translate_y |
| 8285 | # 1 [ 1 ] |
| 8286 | # |
| 8287 | # After transformation, |
| 8288 | # |
| 8289 | # x' = scale_x * x + shear_x * y + translate_x; |
| 8290 | # y' = scale_y * y + shear_y * x + translate_y; |
| 8291 | # |
| 8292 | # This message is therefore composed of these six matrix elements. |
| 8293 | "translateX": 3.14, # The X coordinate translation element. |
| 8294 | "translateY": 3.14, # The Y coordinate translation element. |
| 8295 | "scaleX": 3.14, # The X coordinate scaling element. |
| 8296 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 8297 | "shearY": 3.14, # The Y coordinate shearing element. |
| 8298 | "shearX": 3.14, # The X coordinate shearing element. |
| 8299 | "unit": "A String", # The units for translate elements. |
| 8300 | }, |
| 8301 | "propertyState": "A String", # The shadow property state. |
| 8302 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8303 | # Updating the shadow on a page element will implicitly update this field to |
| 8304 | # `RENDERED`, unless another value is specified in the same request. To have |
| 8305 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8306 | # case, any other shadow fields set in the same request will be ignored. |
| 8307 | "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 |
| 8308 | # shadow becomes. |
| 8309 | "magnitude": 3.14, # The magnitude. |
| 8310 | "unit": "A String", # The units for magnitude. |
| 8311 | }, |
| 8312 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8313 | "type": "A String", # The type of the shadow. This property is read-only. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8314 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8315 | # scale and skew of the shadow. This property is read-only. |
| 8316 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 8317 | # read-only. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8318 | }, |
| 8319 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 8320 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 8321 | }, |
| 8322 | }, |
| 8323 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 8324 | # embedded. |
| 8325 | }, |
| 8326 | "video": { # A PageElement kind representing a # A video page element. |
| 8327 | # video. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8328 | "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and |
| 8329 | # sharing settings do not change. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8330 | "videoProperties": { # The properties of the Video. # The properties of the video. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8331 | "start": 42, # The time at which to start playback, measured in seconds from the beginning |
| 8332 | # of the video. |
| 8333 | # If set, the start time should be before the end time. |
| 8334 | # If you set this to a value that exceeds the video's length in seconds, the |
| 8335 | # video will be played from the last second. |
| 8336 | # If not set, the video will be played from the beginning. |
| 8337 | "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present |
| 8338 | # mode. Defaults to false. |
| 8339 | "end": 42, # The time at which to end playback, measured in seconds from the beginning |
| 8340 | # of the video. |
| 8341 | # If set, the end time should be after the start time. |
| 8342 | # If not set or if you set this to a value that exceeds the video's length, |
| 8343 | # the video will be played until its end. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8344 | "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new |
| 8345 | # videos created in the Slides editor. |
| 8346 | # |
| 8347 | # If these fields are unset, they may be inherited from a parent placeholder |
| 8348 | # if it exists. If there is no parent, the fields will default to the value |
| 8349 | # used for new page elements created in the Slides editor, which may depend on |
| 8350 | # the page element kind. |
| 8351 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 8352 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 8353 | # specified color value. |
| 8354 | # |
| 8355 | # If any field is unset, its value may be inherited from a parent placeholder |
| 8356 | # if it exists. |
| 8357 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 8358 | "themeColor": "A String", # An opaque theme color. |
| 8359 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 8360 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8361 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8362 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8363 | }, |
| 8364 | }, |
| 8365 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 8366 | # That is, the final pixel color is defined by the equation: |
| 8367 | # |
| 8368 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 8369 | # |
| 8370 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 8371 | # a value of 0.0 corresponds to a completely transparent color. |
| 8372 | }, |
| 8373 | }, |
| 8374 | "propertyState": "A String", # The outline property state. |
| 8375 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8376 | # Updating the outline on a page element will implicitly update this field |
| 8377 | # to `RENDERED`, unless another value is specified in the same request. To |
| 8378 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8379 | # this case, any other outline fields set in the same request will be |
| 8380 | # ignored. |
| 8381 | "dashStyle": "A String", # The dash style of the outline. |
| 8382 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 8383 | "magnitude": 3.14, # The magnitude. |
| 8384 | "unit": "A String", # The units for magnitude. |
| 8385 | }, |
| 8386 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8387 | "mute": True or False, # Whether to mute the audio during video playback. Defaults to false. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8388 | }, |
| 8389 | "id": "A String", # The video source's unique identifier for this video. |
| 8390 | "source": "A String", # The video source. |
| 8391 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8392 | "table": { # A PageElement kind representing a # A table page element. |
| 8393 | # table. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8394 | "rows": 42, # Number of rows in the table. |
| 8395 | "horizontalBorderRows": [ # Properties of horizontal cell borders. |
| 8396 | # |
| 8397 | # A table's horizontal cell borders are represented as a grid. The grid has |
| 8398 | # one more row than the number of rows in the table and the same number of |
| 8399 | # columns as the table. For example, if the table is 3 x 3, its horizontal |
| 8400 | # borders will be represented as a grid with 4 rows and 3 columns. |
| 8401 | { # Contents of each border row in a table. |
| 8402 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 8403 | # merged, it is not included in the response. |
| 8404 | { # The properties of each border cell. |
| 8405 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 8406 | # TableBorderCell. |
| 8407 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 8408 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 8409 | # specified color value. |
| 8410 | # |
| 8411 | # If any field is unset, its value may be inherited from a parent placeholder |
| 8412 | # if it exists. |
| 8413 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 8414 | "themeColor": "A String", # An opaque theme color. |
| 8415 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 8416 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8417 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8418 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8419 | }, |
| 8420 | }, |
| 8421 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 8422 | # That is, the final pixel color is defined by the equation: |
| 8423 | # |
| 8424 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 8425 | # |
| 8426 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 8427 | # a value of 0.0 corresponds to a completely transparent color. |
| 8428 | }, |
| 8429 | }, |
| 8430 | "dashStyle": "A String", # The dash style of the border. |
| 8431 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 8432 | "magnitude": 3.14, # The magnitude. |
| 8433 | "unit": "A String", # The units for magnitude. |
| 8434 | }, |
| 8435 | }, |
| 8436 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 8437 | "rowIndex": 42, # The 0-based row index. |
| 8438 | "columnIndex": 42, # The 0-based column index. |
| 8439 | }, |
| 8440 | }, |
| 8441 | ], |
| 8442 | }, |
| 8443 | ], |
| 8444 | "verticalBorderRows": [ # Properties of vertical cell borders. |
| 8445 | # |
| 8446 | # A table's vertical cell borders are represented as a grid. The grid has the |
| 8447 | # same number of rows as the table and one more column than the number of |
| 8448 | # columns in the table. For example, if the table is 3 x 3, its vertical |
| 8449 | # borders will be represented as a grid with 3 rows and 4 columns. |
| 8450 | { # Contents of each border row in a table. |
| 8451 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 8452 | # merged, it is not included in the response. |
| 8453 | { # The properties of each border cell. |
| 8454 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 8455 | # TableBorderCell. |
| 8456 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 8457 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 8458 | # specified color value. |
| 8459 | # |
| 8460 | # If any field is unset, its value may be inherited from a parent placeholder |
| 8461 | # if it exists. |
| 8462 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 8463 | "themeColor": "A String", # An opaque theme color. |
| 8464 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 8465 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8466 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8467 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8468 | }, |
| 8469 | }, |
| 8470 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 8471 | # That is, the final pixel color is defined by the equation: |
| 8472 | # |
| 8473 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 8474 | # |
| 8475 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 8476 | # a value of 0.0 corresponds to a completely transparent color. |
| 8477 | }, |
| 8478 | }, |
| 8479 | "dashStyle": "A String", # The dash style of the border. |
| 8480 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 8481 | "magnitude": 3.14, # The magnitude. |
| 8482 | "unit": "A String", # The units for magnitude. |
| 8483 | }, |
| 8484 | }, |
| 8485 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 8486 | "rowIndex": 42, # The 0-based row index. |
| 8487 | "columnIndex": 42, # The 0-based column index. |
| 8488 | }, |
| 8489 | }, |
| 8490 | ], |
| 8491 | }, |
| 8492 | ], |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8493 | "tableColumns": [ # Properties of each column. |
| 8494 | { # Properties of each column in a table. |
| 8495 | "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column. |
| 8496 | "magnitude": 3.14, # The magnitude. |
| 8497 | "unit": "A String", # The units for magnitude. |
| 8498 | }, |
| 8499 | }, |
| 8500 | ], |
| 8501 | "tableRows": [ # Properties and contents of each row. |
| 8502 | # |
| 8503 | # Cells that span multiple rows are contained in only one of these rows and |
| 8504 | # have a row_span greater |
| 8505 | # than 1. |
| 8506 | { # Properties and contents of each row in a table. |
| 8507 | "tableCells": [ # Properties and contents of each cell. |
| 8508 | # |
| 8509 | # Cells that span multiple columns are represented only once with a |
| 8510 | # column_span greater |
| 8511 | # than 1. As a result, the length of this collection does not always match |
| 8512 | # the number of columns of the entire table. |
| 8513 | { # Properties and contents of each table cell. |
| 8514 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell. |
| 8515 | # text box or rectangle) or a table cell in a page. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8516 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 8517 | # information. This property is read-only. |
| 8518 | { # A TextElement describes the content of a range of indices in the text content |
| 8519 | # of a Shape or TableCell. |
| 8520 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 8521 | # replaced with content that can change over time. |
| 8522 | "content": "A String", # The rendered content of this auto text, if available. |
| 8523 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 8524 | # |
| 8525 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 8526 | # inherited from the parent. Which text styles are inherited depend on the |
| 8527 | # nesting level of lists: |
| 8528 | # |
| 8529 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 8530 | # from the the newline character in the paragraph at the 0 nesting level of |
| 8531 | # the list inside the parent placeholder. |
| 8532 | # * A text run in a paragraph that is in a list will inherit its text style |
| 8533 | # from the newline character in the paragraph at its corresponding nesting |
| 8534 | # level of the list inside the parent placeholder. |
| 8535 | # |
| 8536 | # Inherited text styles are represented as unset fields in this message. If |
| 8537 | # text is contained in a shape without a parent placeholder, unsetting these |
| 8538 | # fields will revert the style to a value matching the defaults in the Slides |
| 8539 | # editor. |
| 8540 | "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 |
| 8541 | # transparent, depending on if the `opaque_color` field in it is set. |
| 8542 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 8543 | # a transparent color. |
| 8544 | "themeColor": "A String", # An opaque theme color. |
| 8545 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 8546 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8547 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8548 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8549 | }, |
| 8550 | }, |
| 8551 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8552 | "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 |
| 8553 | # transparent, depending on if the `opaque_color` field in it is set. |
| 8554 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 8555 | # a transparent color. |
| 8556 | "themeColor": "A String", # An opaque theme color. |
| 8557 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 8558 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8559 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8560 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8561 | }, |
| 8562 | }, |
| 8563 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8564 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 8565 | # |
| 8566 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 8567 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 8568 | # The `font_size` itself is not affected by changes in this field. |
| 8569 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 8570 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 8571 | # |
| 8572 | # This field is an extension of `font_family` meant to support explicit font |
| 8573 | # weights without breaking backwards compatibility. As such, when reading the |
| 8574 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 8575 | # will always be equal to that of `font_family`. However, when writing, if |
| 8576 | # both fields are included in the field mask (either explicitly or through |
| 8577 | # the wildcard `"*"`), their values are reconciled as follows: |
| 8578 | # |
| 8579 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 8580 | # `font_family` is applied with weight `400` ("normal"). |
| 8581 | # * If both fields are set, the value of `font_family` must match that of |
| 8582 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 8583 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 8584 | # returned. |
| 8585 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 8586 | # family and weight of `weighted_font_family` is applied. |
| 8587 | # * If neither field is set, the font family and weight of the text inherit |
| 8588 | # from the parent. Note that these properties cannot inherit separately |
| 8589 | # from each other. |
| 8590 | # |
| 8591 | # If an update request specifies values for both `weighted_font_family` and |
| 8592 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 8593 | # |
| 8594 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 8595 | # |
| 8596 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 8597 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 8598 | # is returned. |
| 8599 | "fontFamily": "A String", # The font family of the text. |
| 8600 | # |
| 8601 | # The font family can be any font from the Font menu in Slides or from |
| 8602 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 8603 | # unrecognized, the text is rendered in `Arial`. |
| 8604 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 8605 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 8606 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8607 | # Specification, |
| 8608 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8609 | # with non-numerical values disallowed. Weights greater than or equal to |
| 8610 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 8611 | # default value is `400` ("normal"). |
| 8612 | }, |
| 8613 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 8614 | "fontFamily": "A String", # The font family of the text. |
| 8615 | # |
| 8616 | # The font family can be any font from the Font menu in Slides or from |
| 8617 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 8618 | # unrecognized, the text is rendered in `Arial`. |
| 8619 | # |
| 8620 | # Some fonts can affect the weight of the text. If an update request |
| 8621 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 8622 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8623 | "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 |
| 8624 | # points. |
| 8625 | "magnitude": 3.14, # The magnitude. |
| 8626 | "unit": "A String", # The units for magnitude. |
| 8627 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8628 | "italic": True or False, # Whether or not the text is italicized. |
| 8629 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 8630 | # are not inherited from parent text. |
| 8631 | # |
| 8632 | # Changing the link in an update request causes some other changes to the |
| 8633 | # text style of the range: |
| 8634 | # |
| 8635 | # * When setting a link, the text foreground color will be set to |
| 8636 | # ThemeColorType.HYPERLINK and the text will |
| 8637 | # be underlined. If these fields are modified in the same |
| 8638 | # request, those values will be used instead of the link defaults. |
| 8639 | # * Setting a link on a text range that overlaps with an existing link will |
| 8640 | # also update the existing link to point to the new URL. |
| 8641 | # * Links are not settable on newline characters. As a result, setting a link |
| 8642 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 8643 | # will separate the newline character(s) into their own text runs. The |
| 8644 | # link will be applied separately to the runs before and after the newline. |
| 8645 | # * Removing a link will update the text style of the range to match the |
| 8646 | # style of the preceding text (or the default text styles if the preceding |
| 8647 | # text is another link) unless different styles are being set in the same |
| 8648 | # request. |
| 8649 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 8650 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 8651 | # in the presentation. There may not be a slide at this index. |
| 8652 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 8653 | # presentation with this ID. A page with this ID may not exist. |
| 8654 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 8655 | # addressed by its position. |
| 8656 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8657 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8658 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8659 | }, |
| 8660 | "type": "A String", # The type of this auto text. |
| 8661 | }, |
| 8662 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 8663 | # units. |
| 8664 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 8665 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 8666 | # |
| 8667 | # The `start_index` and `end_index` of this TextElement represent the |
| 8668 | # range of the paragraph. Other TextElements with an index range contained |
| 8669 | # inside this paragraph's range are considered to be part of this |
| 8670 | # paragraph. The range of indices of two separate paragraphs will never |
| 8671 | # overlap. |
| 8672 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 8673 | # |
| 8674 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 8675 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 8676 | # nesting level of lists: |
| 8677 | # |
| 8678 | # * A paragraph not in a list will inherit its paragraph style from the |
| 8679 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 8680 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 8681 | # at its corresponding nesting level of the list inside the parent |
| 8682 | # placeholder. |
| 8683 | # |
| 8684 | # Inherited paragraph styles are represented as unset fields in this message. |
| 8685 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 8686 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 8687 | # LEFT_TO_RIGHT since |
| 8688 | # text direction is not inherited. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8689 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8690 | # inherited from the parent. |
| 8691 | "magnitude": 3.14, # The magnitude. |
| 8692 | "unit": "A String", # The units for magnitude. |
| 8693 | }, |
| 8694 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 8695 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 8696 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 8697 | # the start of the text, based on the current text direction. If unset, the |
| 8698 | # value is inherited from the parent. |
| 8699 | "magnitude": 3.14, # The magnitude. |
| 8700 | "unit": "A String", # The units for magnitude. |
| 8701 | }, |
| 8702 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 8703 | # inherited from the parent. |
| 8704 | "magnitude": 3.14, # The magnitude. |
| 8705 | "unit": "A String", # The units for magnitude. |
| 8706 | }, |
| 8707 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 8708 | # the end of the text, based on the current text direction. If unset, the |
| 8709 | # value is inherited from the parent. |
| 8710 | "magnitude": 3.14, # The magnitude. |
| 8711 | "unit": "A String", # The units for magnitude. |
| 8712 | }, |
| 8713 | "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. |
| 8714 | # If unset, the value is inherited from the parent. |
| 8715 | "magnitude": 3.14, # The magnitude. |
| 8716 | "unit": "A String", # The units for magnitude. |
| 8717 | }, |
| 8718 | "alignment": "A String", # The text alignment for this paragraph. |
| 8719 | }, |
| 8720 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 8721 | # belong to a list. |
| 8722 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 8723 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 8724 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 8725 | # |
| 8726 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 8727 | # inherited from the parent. Which text styles are inherited depend on the |
| 8728 | # nesting level of lists: |
| 8729 | # |
| 8730 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 8731 | # from the the newline character in the paragraph at the 0 nesting level of |
| 8732 | # the list inside the parent placeholder. |
| 8733 | # * A text run in a paragraph that is in a list will inherit its text style |
| 8734 | # from the newline character in the paragraph at its corresponding nesting |
| 8735 | # level of the list inside the parent placeholder. |
| 8736 | # |
| 8737 | # Inherited text styles are represented as unset fields in this message. If |
| 8738 | # text is contained in a shape without a parent placeholder, unsetting these |
| 8739 | # fields will revert the style to a value matching the defaults in the Slides |
| 8740 | # editor. |
| 8741 | "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 |
| 8742 | # transparent, depending on if the `opaque_color` field in it is set. |
| 8743 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 8744 | # a transparent color. |
| 8745 | "themeColor": "A String", # An opaque theme color. |
| 8746 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 8747 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8748 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8749 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8750 | }, |
| 8751 | }, |
| 8752 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8753 | "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 |
| 8754 | # transparent, depending on if the `opaque_color` field in it is set. |
| 8755 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 8756 | # a transparent color. |
| 8757 | "themeColor": "A String", # An opaque theme color. |
| 8758 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 8759 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8760 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8761 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8762 | }, |
| 8763 | }, |
| 8764 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8765 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 8766 | # |
| 8767 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 8768 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 8769 | # The `font_size` itself is not affected by changes in this field. |
| 8770 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 8771 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 8772 | # |
| 8773 | # This field is an extension of `font_family` meant to support explicit font |
| 8774 | # weights without breaking backwards compatibility. As such, when reading the |
| 8775 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 8776 | # will always be equal to that of `font_family`. However, when writing, if |
| 8777 | # both fields are included in the field mask (either explicitly or through |
| 8778 | # the wildcard `"*"`), their values are reconciled as follows: |
| 8779 | # |
| 8780 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 8781 | # `font_family` is applied with weight `400` ("normal"). |
| 8782 | # * If both fields are set, the value of `font_family` must match that of |
| 8783 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 8784 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 8785 | # returned. |
| 8786 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 8787 | # family and weight of `weighted_font_family` is applied. |
| 8788 | # * If neither field is set, the font family and weight of the text inherit |
| 8789 | # from the parent. Note that these properties cannot inherit separately |
| 8790 | # from each other. |
| 8791 | # |
| 8792 | # If an update request specifies values for both `weighted_font_family` and |
| 8793 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 8794 | # |
| 8795 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 8796 | # |
| 8797 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 8798 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 8799 | # is returned. |
| 8800 | "fontFamily": "A String", # The font family of the text. |
| 8801 | # |
| 8802 | # The font family can be any font from the Font menu in Slides or from |
| 8803 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 8804 | # unrecognized, the text is rendered in `Arial`. |
| 8805 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 8806 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 8807 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8808 | # Specification, |
| 8809 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8810 | # with non-numerical values disallowed. Weights greater than or equal to |
| 8811 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 8812 | # default value is `400` ("normal"). |
| 8813 | }, |
| 8814 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 8815 | "fontFamily": "A String", # The font family of the text. |
| 8816 | # |
| 8817 | # The font family can be any font from the Font menu in Slides or from |
| 8818 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 8819 | # unrecognized, the text is rendered in `Arial`. |
| 8820 | # |
| 8821 | # Some fonts can affect the weight of the text. If an update request |
| 8822 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 8823 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8824 | "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 |
| 8825 | # points. |
| 8826 | "magnitude": 3.14, # The magnitude. |
| 8827 | "unit": "A String", # The units for magnitude. |
| 8828 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8829 | "italic": True or False, # Whether or not the text is italicized. |
| 8830 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 8831 | # are not inherited from parent text. |
| 8832 | # |
| 8833 | # Changing the link in an update request causes some other changes to the |
| 8834 | # text style of the range: |
| 8835 | # |
| 8836 | # * When setting a link, the text foreground color will be set to |
| 8837 | # ThemeColorType.HYPERLINK and the text will |
| 8838 | # be underlined. If these fields are modified in the same |
| 8839 | # request, those values will be used instead of the link defaults. |
| 8840 | # * Setting a link on a text range that overlaps with an existing link will |
| 8841 | # also update the existing link to point to the new URL. |
| 8842 | # * Links are not settable on newline characters. As a result, setting a link |
| 8843 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 8844 | # will separate the newline character(s) into their own text runs. The |
| 8845 | # link will be applied separately to the runs before and after the newline. |
| 8846 | # * Removing a link will update the text style of the range to match the |
| 8847 | # style of the preceding text (or the default text styles if the preceding |
| 8848 | # text is another link) unless different styles are being set in the same |
| 8849 | # request. |
| 8850 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 8851 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 8852 | # in the presentation. There may not be a slide at this index. |
| 8853 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 8854 | # presentation with this ID. A page with this ID may not exist. |
| 8855 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 8856 | # addressed by its position. |
| 8857 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8858 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8859 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8860 | }, |
| 8861 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 8862 | }, |
| 8863 | }, |
| 8864 | "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 |
| 8865 | # in the run have the same TextStyle. |
| 8866 | # |
| 8867 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 8868 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 8869 | # In other words, a TextRun will never span multiple paragraphs. |
| 8870 | # styling. |
| 8871 | "content": "A String", # The text of this run. |
| 8872 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 8873 | # |
| 8874 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 8875 | # inherited from the parent. Which text styles are inherited depend on the |
| 8876 | # nesting level of lists: |
| 8877 | # |
| 8878 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 8879 | # from the the newline character in the paragraph at the 0 nesting level of |
| 8880 | # the list inside the parent placeholder. |
| 8881 | # * A text run in a paragraph that is in a list will inherit its text style |
| 8882 | # from the newline character in the paragraph at its corresponding nesting |
| 8883 | # level of the list inside the parent placeholder. |
| 8884 | # |
| 8885 | # Inherited text styles are represented as unset fields in this message. If |
| 8886 | # text is contained in a shape without a parent placeholder, unsetting these |
| 8887 | # fields will revert the style to a value matching the defaults in the Slides |
| 8888 | # editor. |
| 8889 | "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 |
| 8890 | # transparent, depending on if the `opaque_color` field in it is set. |
| 8891 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 8892 | # a transparent color. |
| 8893 | "themeColor": "A String", # An opaque theme color. |
| 8894 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 8895 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8896 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8897 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8898 | }, |
| 8899 | }, |
| 8900 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8901 | "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 |
| 8902 | # transparent, depending on if the `opaque_color` field in it is set. |
| 8903 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 8904 | # a transparent color. |
| 8905 | "themeColor": "A String", # An opaque theme color. |
| 8906 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 8907 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8908 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8909 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8910 | }, |
| 8911 | }, |
| 8912 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8913 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 8914 | # |
| 8915 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 8916 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 8917 | # The `font_size` itself is not affected by changes in this field. |
| 8918 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 8919 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 8920 | # |
| 8921 | # This field is an extension of `font_family` meant to support explicit font |
| 8922 | # weights without breaking backwards compatibility. As such, when reading the |
| 8923 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 8924 | # will always be equal to that of `font_family`. However, when writing, if |
| 8925 | # both fields are included in the field mask (either explicitly or through |
| 8926 | # the wildcard `"*"`), their values are reconciled as follows: |
| 8927 | # |
| 8928 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 8929 | # `font_family` is applied with weight `400` ("normal"). |
| 8930 | # * If both fields are set, the value of `font_family` must match that of |
| 8931 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 8932 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 8933 | # returned. |
| 8934 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 8935 | # family and weight of `weighted_font_family` is applied. |
| 8936 | # * If neither field is set, the font family and weight of the text inherit |
| 8937 | # from the parent. Note that these properties cannot inherit separately |
| 8938 | # from each other. |
| 8939 | # |
| 8940 | # If an update request specifies values for both `weighted_font_family` and |
| 8941 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 8942 | # |
| 8943 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 8944 | # |
| 8945 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 8946 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 8947 | # is returned. |
| 8948 | "fontFamily": "A String", # The font family of the text. |
| 8949 | # |
| 8950 | # The font family can be any font from the Font menu in Slides or from |
| 8951 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 8952 | # unrecognized, the text is rendered in `Arial`. |
| 8953 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 8954 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 8955 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8956 | # Specification, |
| 8957 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8958 | # with non-numerical values disallowed. Weights greater than or equal to |
| 8959 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 8960 | # default value is `400` ("normal"). |
| 8961 | }, |
| 8962 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 8963 | "fontFamily": "A String", # The font family of the text. |
| 8964 | # |
| 8965 | # The font family can be any font from the Font menu in Slides or from |
| 8966 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 8967 | # unrecognized, the text is rendered in `Arial`. |
| 8968 | # |
| 8969 | # Some fonts can affect the weight of the text. If an update request |
| 8970 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 8971 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 8972 | "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 |
| 8973 | # points. |
| 8974 | "magnitude": 3.14, # The magnitude. |
| 8975 | "unit": "A String", # The units for magnitude. |
| 8976 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 8977 | "italic": True or False, # Whether or not the text is italicized. |
| 8978 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 8979 | # are not inherited from parent text. |
| 8980 | # |
| 8981 | # Changing the link in an update request causes some other changes to the |
| 8982 | # text style of the range: |
| 8983 | # |
| 8984 | # * When setting a link, the text foreground color will be set to |
| 8985 | # ThemeColorType.HYPERLINK and the text will |
| 8986 | # be underlined. If these fields are modified in the same |
| 8987 | # request, those values will be used instead of the link defaults. |
| 8988 | # * Setting a link on a text range that overlaps with an existing link will |
| 8989 | # also update the existing link to point to the new URL. |
| 8990 | # * Links are not settable on newline characters. As a result, setting a link |
| 8991 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 8992 | # will separate the newline character(s) into their own text runs. The |
| 8993 | # link will be applied separately to the runs before and after the newline. |
| 8994 | # * Removing a link will update the text style of the range to match the |
| 8995 | # style of the preceding text (or the default text styles if the preceding |
| 8996 | # text is another link) unless different styles are being set in the same |
| 8997 | # request. |
| 8998 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 8999 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 9000 | # in the presentation. There may not be a slide at this index. |
| 9001 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 9002 | # presentation with this ID. A page with this ID may not exist. |
| 9003 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 9004 | # addressed by its position. |
| 9005 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 9006 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9007 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 9008 | }, |
| 9009 | }, |
| 9010 | }, |
| 9011 | ], |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9012 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 9013 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 9014 | # associated with a list. A paragraph that is part of a list has an implicit |
| 9015 | # reference to that list's ID. |
| 9016 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 9017 | # level. A list has at most nine levels of nesting, so the possible values |
| 9018 | # for the keys of this map are 0 through 8, inclusive. |
| 9019 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 9020 | # level of nesting. |
| 9021 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 9022 | # |
| 9023 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 9024 | # inherited from the parent. Which text styles are inherited depend on the |
| 9025 | # nesting level of lists: |
| 9026 | # |
| 9027 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 9028 | # from the the newline character in the paragraph at the 0 nesting level of |
| 9029 | # the list inside the parent placeholder. |
| 9030 | # * A text run in a paragraph that is in a list will inherit its text style |
| 9031 | # from the newline character in the paragraph at its corresponding nesting |
| 9032 | # level of the list inside the parent placeholder. |
| 9033 | # |
| 9034 | # Inherited text styles are represented as unset fields in this message. If |
| 9035 | # text is contained in a shape without a parent placeholder, unsetting these |
| 9036 | # fields will revert the style to a value matching the defaults in the Slides |
| 9037 | # editor. |
| 9038 | "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 |
| 9039 | # transparent, depending on if the `opaque_color` field in it is set. |
| 9040 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 9041 | # a transparent color. |
| 9042 | "themeColor": "A String", # An opaque theme color. |
| 9043 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 9044 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9045 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9046 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9047 | }, |
| 9048 | }, |
| 9049 | }, |
| 9050 | "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 |
| 9051 | # transparent, depending on if the `opaque_color` field in it is set. |
| 9052 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 9053 | # a transparent color. |
| 9054 | "themeColor": "A String", # An opaque theme color. |
| 9055 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 9056 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9057 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9058 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9059 | }, |
| 9060 | }, |
| 9061 | }, |
| 9062 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 9063 | # |
| 9064 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 9065 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 9066 | # The `font_size` itself is not affected by changes in this field. |
| 9067 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 9068 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 9069 | # |
| 9070 | # This field is an extension of `font_family` meant to support explicit font |
| 9071 | # weights without breaking backwards compatibility. As such, when reading the |
| 9072 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 9073 | # will always be equal to that of `font_family`. However, when writing, if |
| 9074 | # both fields are included in the field mask (either explicitly or through |
| 9075 | # the wildcard `"*"`), their values are reconciled as follows: |
| 9076 | # |
| 9077 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 9078 | # `font_family` is applied with weight `400` ("normal"). |
| 9079 | # * If both fields are set, the value of `font_family` must match that of |
| 9080 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 9081 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 9082 | # returned. |
| 9083 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 9084 | # family and weight of `weighted_font_family` is applied. |
| 9085 | # * If neither field is set, the font family and weight of the text inherit |
| 9086 | # from the parent. Note that these properties cannot inherit separately |
| 9087 | # from each other. |
| 9088 | # |
| 9089 | # If an update request specifies values for both `weighted_font_family` and |
| 9090 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 9091 | # |
| 9092 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 9093 | # |
| 9094 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 9095 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 9096 | # is returned. |
| 9097 | "fontFamily": "A String", # The font family of the text. |
| 9098 | # |
| 9099 | # The font family can be any font from the Font menu in Slides or from |
| 9100 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 9101 | # unrecognized, the text is rendered in `Arial`. |
| 9102 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 9103 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 9104 | # corresponds to the numerical values described in the CSS 2.1 |
| 9105 | # Specification, |
| 9106 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 9107 | # with non-numerical values disallowed. Weights greater than or equal to |
| 9108 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 9109 | # default value is `400` ("normal"). |
| 9110 | }, |
| 9111 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 9112 | "fontFamily": "A String", # The font family of the text. |
| 9113 | # |
| 9114 | # The font family can be any font from the Font menu in Slides or from |
| 9115 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 9116 | # unrecognized, the text is rendered in `Arial`. |
| 9117 | # |
| 9118 | # Some fonts can affect the weight of the text. If an update request |
| 9119 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 9120 | # `bold` value is used. |
| 9121 | "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 |
| 9122 | # points. |
| 9123 | "magnitude": 3.14, # The magnitude. |
| 9124 | "unit": "A String", # The units for magnitude. |
| 9125 | }, |
| 9126 | "italic": True or False, # Whether or not the text is italicized. |
| 9127 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 9128 | # are not inherited from parent text. |
| 9129 | # |
| 9130 | # Changing the link in an update request causes some other changes to the |
| 9131 | # text style of the range: |
| 9132 | # |
| 9133 | # * When setting a link, the text foreground color will be set to |
| 9134 | # ThemeColorType.HYPERLINK and the text will |
| 9135 | # be underlined. If these fields are modified in the same |
| 9136 | # request, those values will be used instead of the link defaults. |
| 9137 | # * Setting a link on a text range that overlaps with an existing link will |
| 9138 | # also update the existing link to point to the new URL. |
| 9139 | # * Links are not settable on newline characters. As a result, setting a link |
| 9140 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 9141 | # will separate the newline character(s) into their own text runs. The |
| 9142 | # link will be applied separately to the runs before and after the newline. |
| 9143 | # * Removing a link will update the text style of the range to match the |
| 9144 | # style of the preceding text (or the default text styles if the preceding |
| 9145 | # text is another link) unless different styles are being set in the same |
| 9146 | # request. |
| 9147 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 9148 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 9149 | # in the presentation. There may not be a slide at this index. |
| 9150 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 9151 | # presentation with this ID. A page with this ID may not exist. |
| 9152 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 9153 | # addressed by its position. |
| 9154 | }, |
| 9155 | "underline": True or False, # Whether or not the text is underlined. |
| 9156 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 9157 | }, |
| 9158 | }, |
| 9159 | }, |
| 9160 | "listId": "A String", # The ID of the list. |
| 9161 | }, |
| 9162 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 9163 | }, |
| 9164 | "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell. |
| 9165 | "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill |
| 9166 | # for newly created table cells in the Slides editor. |
| 9167 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 9168 | # specified color value. |
| 9169 | # |
| 9170 | # If any field is unset, its value may be inherited from a parent placeholder |
| 9171 | # if it exists. |
| 9172 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 9173 | "themeColor": "A String", # An opaque theme color. |
| 9174 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 9175 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9176 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9177 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9178 | }, |
| 9179 | }, |
| 9180 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 9181 | # That is, the final pixel color is defined by the equation: |
| 9182 | # |
| 9183 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 9184 | # |
| 9185 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 9186 | # a value of 0.0 corresponds to a completely transparent color. |
| 9187 | }, |
| 9188 | "propertyState": "A String", # The background fill property state. |
| 9189 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9190 | # Updating the fill on a table cell will implicitly update this field |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 9191 | # to `RENDERED`, unless another value is specified in the same request. To |
| 9192 | # have no fill on a table cell, set this field to `NOT_RENDERED`. In this |
| 9193 | # case, any other fill fields set in the same request will be ignored. |
| 9194 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9195 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 9196 | # matches the alignment for newly created table cells in the Slides editor. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 9197 | }, |
| 9198 | "rowSpan": 42, # Row span of the cell. |
| 9199 | "columnSpan": 42, # Column span of the cell. |
| 9200 | "location": { # A location of a single table cell within a table. # The location of the cell within the table. |
| 9201 | "rowIndex": 42, # The 0-based row index. |
| 9202 | "columnIndex": 42, # The 0-based column index. |
| 9203 | }, |
| 9204 | }, |
| 9205 | ], |
| 9206 | "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row. |
| 9207 | "magnitude": 3.14, # The magnitude. |
| 9208 | "unit": "A String", # The units for magnitude. |
| 9209 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9210 | "tableRowProperties": { # Properties of each row in a table. # Properties of the row. |
| 9211 | "minRowHeight": { # A magnitude in a single direction in the specified units. # Minimum height of the row. The row will be rendered in the Slides editor at |
| 9212 | # a height equal to or greater than this value in order to show all the text |
| 9213 | # in the row's cell(s). |
| 9214 | "magnitude": 3.14, # The magnitude. |
| 9215 | "unit": "A String", # The units for magnitude. |
| 9216 | }, |
| 9217 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 9218 | }, |
| 9219 | ], |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 9220 | "columns": 42, # Number of columns in the table. |
| 9221 | }, |
| 9222 | "line": { # A PageElement kind representing a # A line page element. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9223 | # non-connector line, straight connector, curved connector, or bent connector. |
| 9224 | "lineCategory": "A String", # The category of the line. |
| 9225 | # |
| 9226 | # It matches the `category` specified in CreateLineRequest, and can be updated with |
| 9227 | # UpdateLineCategoryRequest. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 9228 | "lineProperties": { # The properties of the Line. # The properties of the line. |
| 9229 | # |
| 9230 | # When unset, these fields default to values that match the appearance of |
| 9231 | # new lines created in the Slides editor. |
| 9232 | "dashStyle": "A String", # The dash style of the line. |
| 9233 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line. |
| 9234 | "magnitude": 3.14, # The magnitude. |
| 9235 | "unit": "A String", # The units for magnitude. |
| 9236 | }, |
| 9237 | "endArrow": "A String", # The style of the arrow at the end of the line. |
| 9238 | "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link. |
| 9239 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 9240 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 9241 | # in the presentation. There may not be a slide at this index. |
| 9242 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 9243 | # presentation with this ID. A page with this ID may not exist. |
| 9244 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 9245 | # addressed by its position. |
| 9246 | }, |
| 9247 | "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new |
| 9248 | # lines created in the Slides editor. |
| 9249 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 9250 | # specified color value. |
| 9251 | # |
| 9252 | # If any field is unset, its value may be inherited from a parent placeholder |
| 9253 | # if it exists. |
| 9254 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 9255 | "themeColor": "A String", # An opaque theme color. |
| 9256 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 9257 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9258 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9259 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9260 | }, |
| 9261 | }, |
| 9262 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 9263 | # That is, the final pixel color is defined by the equation: |
| 9264 | # |
| 9265 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 9266 | # |
| 9267 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 9268 | # a value of 0.0 corresponds to a completely transparent color. |
| 9269 | }, |
| 9270 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9271 | "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no |
| 9272 | # connection. |
| 9273 | # |
| 9274 | # Only lines with a Type indicating it is |
| 9275 | # a "connector" can have a `start_connection`. |
| 9276 | # connection. |
| 9277 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 9278 | # |
| 9279 | # In most cases, it corresponds to the predefined connection site index from |
| 9280 | # the ECMA-376 standard. More information on those connection sites can be |
| 9281 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 9282 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 9283 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 9284 | # [ECMA-376 5th edition] |
| 9285 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 9286 | # |
| 9287 | # The position of each connection site can also be viewed from Slides editor. |
| 9288 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 9289 | # |
| 9290 | # Some page elements, such as groups, tables, and lines |
| 9291 | # do not have connection sites and therefore cannot be connected to a |
| 9292 | # connector line. |
| 9293 | }, |
| 9294 | "endConnection": { # The properties for one end of a Line # The connection at the end of the line. If unset, there is no connection. |
| 9295 | # |
| 9296 | # Only lines with a Type indicating it is |
| 9297 | # a "connector" can have an `end_connection`. |
| 9298 | # connection. |
| 9299 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 9300 | # |
| 9301 | # In most cases, it corresponds to the predefined connection site index from |
| 9302 | # the ECMA-376 standard. More information on those connection sites can be |
| 9303 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 9304 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 9305 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 9306 | # [ECMA-376 5th edition] |
| 9307 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 9308 | # |
| 9309 | # The position of each connection site can also be viewed from Slides editor. |
| 9310 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 9311 | # |
| 9312 | # Some page elements, such as groups, tables, and lines |
| 9313 | # do not have connection sites and therefore cannot be connected to a |
| 9314 | # connector line. |
| 9315 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 9316 | "startArrow": "A String", # The style of the arrow at the beginning of the line. |
| 9317 | }, |
| 9318 | "lineType": "A String", # The type of the line. |
| 9319 | }, |
| 9320 | "size": { # A width and height. # The size of the page element. |
| 9321 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 9322 | "magnitude": 3.14, # The magnitude. |
| 9323 | "unit": "A String", # The units for magnitude. |
| 9324 | }, |
| 9325 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 9326 | "magnitude": 3.14, # The magnitude. |
| 9327 | "unit": "A String", # The units for magnitude. |
| 9328 | }, |
| 9329 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9330 | "description": "A String", # The description of the page element. Combined with title to display alt |
| 9331 | # text. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 9332 | }, |
| 9333 | ], |
| 9334 | "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES. |
| 9335 | # relevant for pages with page_type NOTES. |
| 9336 | "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker |
| 9337 | # notes for the corresponding slide. |
| 9338 | # The actual shape may not always exist on the notes page. Inserting text |
| 9339 | # using this object ID will automatically create the shape. In this case, the |
| 9340 | # actual shape may have different object ID. The `GetPresentation` or |
| 9341 | # `GetPage` action will always return the latest object ID. |
| 9342 | }, |
| 9343 | "objectId": "A String", # The object ID for this page. Object IDs used by |
| 9344 | # Page and |
| 9345 | # PageElement share the same namespace. |
| 9346 | "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in |
| 9347 | # update requests to assert that the presentation revision hasn't changed |
| 9348 | # since the last read operation. Only populated if the user has edit access |
| 9349 | # to the presentation. |
| 9350 | # |
| 9351 | # The format of the revision ID may change over time, so it should be treated |
| 9352 | # opaquely. A returned revision ID is only guaranteed to be valid for 24 |
| 9353 | # hours after it has been returned and cannot be shared across users. If the |
| 9354 | # revision ID is unchanged between calls, then the presentation has not |
| 9355 | # changed. Conversely, a changed ID (for the same presentation and user) |
| 9356 | # usually means the presentation has been updated; however, a changed ID can |
| 9357 | # also be due to internal factors such as ID format changes. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9358 | "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER. |
| 9359 | # relevant for pages with page_type MASTER. |
| 9360 | "displayName": "A String", # The human-readable name of the master. |
| 9361 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9362 | "pageProperties": { # The properties of the Page. # The properties of the page. |
| 9363 | # |
| 9364 | # The page will inherit properties from the parent page. Depending on the page |
| 9365 | # type the hierarchy is defined in either |
| 9366 | # SlideProperties or |
| 9367 | # LayoutProperties. |
| 9368 | "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited |
| 9369 | # from a parent page if it exists. If the page has no parent, then the |
| 9370 | # background fill defaults to the corresponding fill in the Slides editor. |
| 9371 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 9372 | # specified color value. |
| 9373 | # |
| 9374 | # If any field is unset, its value may be inherited from a parent placeholder |
| 9375 | # if it exists. |
| 9376 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 9377 | "themeColor": "A String", # An opaque theme color. |
| 9378 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 9379 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9380 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9381 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9382 | }, |
| 9383 | }, |
| 9384 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 9385 | # That is, the final pixel color is defined by the equation: |
| 9386 | # |
| 9387 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 9388 | # |
| 9389 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 9390 | # a value of 0.0 corresponds to a completely transparent color. |
| 9391 | }, |
| 9392 | "propertyState": "A String", # The background fill property state. |
| 9393 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9394 | # Updating the fill on a page will implicitly update this field to |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9395 | # `RENDERED`, unless another value is specified in the same request. To |
| 9396 | # have no fill on a page, set this field to `NOT_RENDERED`. In this case, |
| 9397 | # any other fill fields set in the same request will be ignored. |
| 9398 | "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill. |
| 9399 | # the specified picture. The picture is stretched to fit its container. |
| 9400 | "contentUrl": "A String", # Reading the content_url: |
| 9401 | # |
| 9402 | # An URL to a picture with a default lifetime of 30 minutes. |
| 9403 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 9404 | # effectively accesses the picture as the original requester. Access to the |
| 9405 | # picture may be lost if the presentation's sharing settings change. |
| 9406 | # |
| 9407 | # Writing the content_url: |
| 9408 | # |
| 9409 | # The picture is fetched once at insertion time and a copy is stored for |
| 9410 | # display inside the presentation. Pictures must be less than 50MB in size, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9411 | # cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9412 | # format. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9413 | # |
| 9414 | # The provided URL can be at most 2 kB in length. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9415 | "size": { # A width and height. # The original size of the picture fill. This field is read-only. |
| 9416 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 9417 | "magnitude": 3.14, # The magnitude. |
| 9418 | "unit": "A String", # The units for magnitude. |
| 9419 | }, |
| 9420 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 9421 | "magnitude": 3.14, # The magnitude. |
| 9422 | "unit": "A String", # The units for magnitude. |
| 9423 | }, |
| 9424 | }, |
| 9425 | }, |
| 9426 | }, |
| 9427 | "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from |
| 9428 | # a parent page. If the page has no parent, the color scheme uses a default |
| 9429 | # Slides color scheme. This field is read-only. |
| 9430 | "colors": [ # The ThemeColorType and corresponding concrete color pairs. |
| 9431 | { # A pair mapping a theme color type to the concrete color it represents. |
| 9432 | "color": { # An RGB color. # The concrete color corresponding to the theme color type above. |
| 9433 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9434 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9435 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9436 | }, |
| 9437 | "type": "A String", # The type of the theme color. |
| 9438 | }, |
| 9439 | ], |
| 9440 | }, |
| 9441 | }, |
| 9442 | "pageType": "A String", # The type of the page. |
| 9443 | "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE. |
| 9444 | # relevant for pages with page_type SLIDE. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 9445 | "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual |
| 9446 | # appearance of a notes page when printing or exporting slides with speaker |
| 9447 | # notes. A notes page inherits properties from the |
| 9448 | # notes master. |
| 9449 | # The placeholder shape with type BODY on the notes page contains the speaker |
| 9450 | # notes for this slide. The ID of this shape is identified by the |
| 9451 | # speakerNotesObjectId field. |
| 9452 | # The notes page is read-only except for the text content and styles of the |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9453 | # speaker notes shape. This property is read-only. |
| 9454 | "masterObjectId": "A String", # The object ID of the master that this slide is based on. This property is |
| 9455 | # read-only. |
| 9456 | "layoutObjectId": "A String", # The object ID of the layout that this slide is based on. This property is |
| 9457 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9458 | }, |
| 9459 | }, |
| 9460 | ], |
| 9461 | "layouts": [ # The layouts in the presentation. A layout is a template that determines |
| 9462 | # how content is arranged and styled on the slides that inherit from that |
| 9463 | # layout. |
| 9464 | { # A page in a presentation. |
| 9465 | "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT. |
| 9466 | # relevant for pages with page_type LAYOUT. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9467 | "displayName": "A String", # The human-readable name of the layout. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9468 | "name": "A String", # The name of the layout. |
| 9469 | "masterObjectId": "A String", # The object ID of the master that this layout is based on. |
| 9470 | }, |
| 9471 | "pageElements": [ # The page elements rendered on the page. |
| 9472 | { # A visual element rendered on a page. |
| 9473 | "wordArt": { # A PageElement kind representing # A word art page element. |
| 9474 | # word art. |
| 9475 | "renderedText": "A String", # The text rendered as word art. |
| 9476 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9477 | "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit. |
| 9478 | # joined collection of PageElements. |
| 9479 | "children": [ # The collection of elements in the group. The minimum size of a group is 2. |
| 9480 | # Object with schema name: PageElement |
| 9481 | ], |
| 9482 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9483 | "objectId": "A String", # The object ID for this page element. Object IDs used by |
| 9484 | # google.apps.slides.v1.Page and |
| 9485 | # google.apps.slides.v1.PageElement share the same namespace. |
| 9486 | "title": "A String", # The title of the page element. Combined with description to display alt |
| 9487 | # text. |
| 9488 | "image": { # A PageElement kind representing an # An image page element. |
| 9489 | # image. |
| 9490 | "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes. |
| 9491 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 9492 | # effectively accesses the image as the original requester. Access to the |
| 9493 | # image may be lost if the presentation's sharing settings change. |
| 9494 | "imageProperties": { # The properties of the Image. # The properties of the image. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9495 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9496 | # |
| 9497 | # If these fields are unset, they may be inherited from a parent placeholder |
| 9498 | # if it exists. If there is no parent, the fields will default to the value |
| 9499 | # used for new page elements created in the Slides editor, which may depend on |
| 9500 | # the page element kind. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9501 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 9502 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 9503 | # specified color value. |
| 9504 | # |
| 9505 | # If any field is unset, its value may be inherited from a parent placeholder |
| 9506 | # if it exists. |
| 9507 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 9508 | "themeColor": "A String", # An opaque theme color. |
| 9509 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 9510 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9511 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9512 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9513 | }, |
| 9514 | }, |
| 9515 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 9516 | # That is, the final pixel color is defined by the equation: |
| 9517 | # |
| 9518 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 9519 | # |
| 9520 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 9521 | # a value of 0.0 corresponds to a completely transparent color. |
| 9522 | }, |
| 9523 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 9524 | "propertyState": "A String", # The outline property state. |
| 9525 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9526 | # Updating the outline on a page element will implicitly update this field |
| 9527 | # to `RENDERED`, unless another value is specified in the same request. To |
| 9528 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 9529 | # this case, any other outline fields set in the same request will be |
| 9530 | # ignored. |
| 9531 | "dashStyle": "A String", # The dash style of the outline. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9532 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 9533 | "magnitude": 3.14, # The magnitude. |
| 9534 | "unit": "A String", # The units for magnitude. |
| 9535 | }, |
| 9536 | }, |
| 9537 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 9538 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 9539 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 9540 | # This property is read-only. |
| 9541 | "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] | 9542 | # stops. |
| 9543 | # |
| 9544 | # The colors in the gradient will replace the corresponding colors at |
| 9545 | # the same position in the color palette and apply to the image. This |
| 9546 | # property is read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9547 | { # A color and position in a gradient band. |
| 9548 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 9549 | "themeColor": "A String", # An opaque theme color. |
| 9550 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 9551 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9552 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9553 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9554 | }, |
| 9555 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9556 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 9557 | # fully opaque. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 9558 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 9559 | # 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] | 9560 | }, |
| 9561 | ], |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 9562 | "name": "A String", # The name of the recolor effect. |
| 9563 | # |
| 9564 | # The name is determined from the `recolor_stops` by matching the gradient |
| 9565 | # against the colors in the page's current color scheme. This property is |
| 9566 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9567 | }, |
| 9568 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 9569 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 9570 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 9571 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 9572 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 9573 | # 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] | 9574 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 9575 | # addressed by its position. |
| 9576 | }, |
| 9577 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 9578 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 9579 | # This property is read-only. |
| 9580 | "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. |
| 9581 | # This property is read-only. |
| 9582 | # Image. |
| 9583 | # |
| 9584 | # The crop properties is represented by the offsets of four edges which define |
| 9585 | # a crop rectangle. The offsets are measured in percentage from the |
| 9586 | # corresponding edges of the object's original bounding rectangle towards |
| 9587 | # inside, relative to the object's original dimensions. |
| 9588 | # |
| 9589 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 9590 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 9591 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 9592 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 9593 | # - If the left edge of the crop rectangle is on the right side of its right |
| 9594 | # edge, the object will be flipped horizontally. |
| 9595 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 9596 | # will be flipped vertically. |
| 9597 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 9598 | # |
| 9599 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 9600 | # its container. |
| 9601 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 9602 | # the right of the original bounding rectangle left edge, relative to the |
| 9603 | # object's original width. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9604 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 9605 | # above the original bounding rectangle bottom edge, relative to the object's |
| 9606 | # original height. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 9607 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 9608 | # Rotation angle is applied after the offset. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 9609 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 9610 | # to the left of the original bounding rectangle right edge, relative to the |
| 9611 | # object's original width. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 9612 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 9613 | # below the original bounding rectangle top edge, relative to the object's |
| 9614 | # original height. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9615 | }, |
| 9616 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 9617 | # is read-only. |
| 9618 | # |
| 9619 | # If these fields are unset, they may be inherited from a parent placeholder |
| 9620 | # if it exists. If there is no parent, the fields will default to the value |
| 9621 | # used for new page elements created in the Slides editor, which may depend on |
| 9622 | # the page element kind. |
| 9623 | "color": { # A themeable solid color value. # The shadow color value. |
| 9624 | "themeColor": "A String", # An opaque theme color. |
| 9625 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 9626 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9627 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9628 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9629 | }, |
| 9630 | }, |
| 9631 | "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, |
| 9632 | # relative to the alignment position. |
| 9633 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 9634 | # according to: |
| 9635 | # |
| 9636 | # x' x = shear_y scale_y translate_y |
| 9637 | # 1 [ 1 ] |
| 9638 | # |
| 9639 | # After transformation, |
| 9640 | # |
| 9641 | # x' = scale_x * x + shear_x * y + translate_x; |
| 9642 | # y' = scale_y * y + shear_y * x + translate_y; |
| 9643 | # |
| 9644 | # This message is therefore composed of these six matrix elements. |
| 9645 | "translateX": 3.14, # The X coordinate translation element. |
| 9646 | "translateY": 3.14, # The Y coordinate translation element. |
| 9647 | "scaleX": 3.14, # The X coordinate scaling element. |
| 9648 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 9649 | "shearY": 3.14, # The Y coordinate shearing element. |
| 9650 | "shearX": 3.14, # The X coordinate shearing element. |
| 9651 | "unit": "A String", # The units for translate elements. |
| 9652 | }, |
| 9653 | "propertyState": "A String", # The shadow property state. |
| 9654 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9655 | # Updating the shadow on a page element will implicitly update this field to |
| 9656 | # `RENDERED`, unless another value is specified in the same request. To have |
| 9657 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9658 | # case, any other shadow fields set in the same request will be ignored. |
| 9659 | "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 |
| 9660 | # shadow becomes. |
| 9661 | "magnitude": 3.14, # The magnitude. |
| 9662 | "unit": "A String", # The units for magnitude. |
| 9663 | }, |
| 9664 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9665 | "type": "A String", # The type of the shadow. This property is read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9666 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9667 | # scale and skew of the shadow. This property is read-only. |
| 9668 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 9669 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9670 | }, |
| 9671 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 9672 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 9673 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9674 | "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be |
| 9675 | # empty. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9676 | }, |
| 9677 | "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9678 | # |
| 9679 | # The visual appearance of the page element is determined by its absolute |
| 9680 | # transform. To compute the absolute transform, preconcatenate a page |
| 9681 | # element's transform with the transforms of all of its parent groups. If the |
| 9682 | # page element is not in a group, its absolute transform is the same as the |
| 9683 | # value in this field. |
| 9684 | # |
| 9685 | # The initial transform for the newly created Group is always the identity transform. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9686 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 9687 | # according to: |
| 9688 | # |
| 9689 | # x' x = shear_y scale_y translate_y |
| 9690 | # 1 [ 1 ] |
| 9691 | # |
| 9692 | # After transformation, |
| 9693 | # |
| 9694 | # x' = scale_x * x + shear_x * y + translate_x; |
| 9695 | # y' = scale_y * y + shear_y * x + translate_y; |
| 9696 | # |
| 9697 | # This message is therefore composed of these six matrix elements. |
| 9698 | "translateX": 3.14, # The X coordinate translation element. |
| 9699 | "translateY": 3.14, # The Y coordinate translation element. |
| 9700 | "scaleX": 3.14, # The X coordinate scaling element. |
| 9701 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 9702 | "shearY": 3.14, # The Y coordinate shearing element. |
| 9703 | "shearX": 3.14, # The X coordinate shearing element. |
| 9704 | "unit": "A String", # The units for translate elements. |
| 9705 | }, |
| 9706 | "shape": { # A PageElement kind representing a # A generic shape. |
| 9707 | # generic shape that does not have a more specific classification. |
| 9708 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape. |
| 9709 | # text box or rectangle) or a table cell in a page. |
| 9710 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 9711 | # information. This property is read-only. |
| 9712 | { # A TextElement describes the content of a range of indices in the text content |
| 9713 | # of a Shape or TableCell. |
| 9714 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 9715 | # replaced with content that can change over time. |
| 9716 | "content": "A String", # The rendered content of this auto text, if available. |
| 9717 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 9718 | # |
| 9719 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 9720 | # inherited from the parent. Which text styles are inherited depend on the |
| 9721 | # nesting level of lists: |
| 9722 | # |
| 9723 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 9724 | # from the the newline character in the paragraph at the 0 nesting level of |
| 9725 | # the list inside the parent placeholder. |
| 9726 | # * A text run in a paragraph that is in a list will inherit its text style |
| 9727 | # from the newline character in the paragraph at its corresponding nesting |
| 9728 | # level of the list inside the parent placeholder. |
| 9729 | # |
| 9730 | # Inherited text styles are represented as unset fields in this message. If |
| 9731 | # text is contained in a shape without a parent placeholder, unsetting these |
| 9732 | # fields will revert the style to a value matching the defaults in the Slides |
| 9733 | # editor. |
| 9734 | "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 |
| 9735 | # transparent, depending on if the `opaque_color` field in it is set. |
| 9736 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 9737 | # a transparent color. |
| 9738 | "themeColor": "A String", # An opaque theme color. |
| 9739 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 9740 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9741 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9742 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9743 | }, |
| 9744 | }, |
| 9745 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9746 | "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 |
| 9747 | # transparent, depending on if the `opaque_color` field in it is set. |
| 9748 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 9749 | # a transparent color. |
| 9750 | "themeColor": "A String", # An opaque theme color. |
| 9751 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 9752 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9753 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9754 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9755 | }, |
| 9756 | }, |
| 9757 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9758 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 9759 | # |
| 9760 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 9761 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 9762 | # The `font_size` itself is not affected by changes in this field. |
| 9763 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 9764 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 9765 | # |
| 9766 | # This field is an extension of `font_family` meant to support explicit font |
| 9767 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 9768 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 9769 | # will always be equal to that of `font_family`. However, when writing, if |
| 9770 | # both fields are included in the field mask (either explicitly or through |
| 9771 | # the wildcard `"*"`), their values are reconciled as follows: |
| 9772 | # |
| 9773 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 9774 | # `font_family` is applied with weight `400` ("normal"). |
| 9775 | # * If both fields are set, the value of `font_family` must match that of |
| 9776 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 9777 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 9778 | # returned. |
| 9779 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 9780 | # family and weight of `weighted_font_family` is applied. |
| 9781 | # * If neither field is set, the font family and weight of the text inherit |
| 9782 | # from the parent. Note that these properties cannot inherit separately |
| 9783 | # from each other. |
| 9784 | # |
| 9785 | # If an update request specifies values for both `weighted_font_family` and |
| 9786 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 9787 | # |
| 9788 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 9789 | # |
| 9790 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 9791 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 9792 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 9793 | "fontFamily": "A String", # The font family of the text. |
| 9794 | # |
| 9795 | # The font family can be any font from the Font menu in Slides or from |
| 9796 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 9797 | # unrecognized, the text is rendered in `Arial`. |
| 9798 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 9799 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 9800 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9801 | # Specification, |
| 9802 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 9803 | # with non-numerical values disallowed. Weights greater than or equal to |
| 9804 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 9805 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 9806 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9807 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 9808 | "fontFamily": "A String", # The font family of the text. |
| 9809 | # |
| 9810 | # The font family can be any font from the Font menu in Slides or from |
| 9811 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 9812 | # unrecognized, the text is rendered in `Arial`. |
| 9813 | # |
| 9814 | # Some fonts can affect the weight of the text. If an update request |
| 9815 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 9816 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9817 | "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 |
| 9818 | # points. |
| 9819 | "magnitude": 3.14, # The magnitude. |
| 9820 | "unit": "A String", # The units for magnitude. |
| 9821 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 9822 | "italic": True or False, # Whether or not the text is italicized. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9823 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 9824 | # are not inherited from parent text. |
| 9825 | # |
| 9826 | # Changing the link in an update request causes some other changes to the |
| 9827 | # text style of the range: |
| 9828 | # |
| 9829 | # * When setting a link, the text foreground color will be set to |
| 9830 | # ThemeColorType.HYPERLINK and the text will |
| 9831 | # be underlined. If these fields are modified in the same |
| 9832 | # request, those values will be used instead of the link defaults. |
| 9833 | # * Setting a link on a text range that overlaps with an existing link will |
| 9834 | # also update the existing link to point to the new URL. |
| 9835 | # * Links are not settable on newline characters. As a result, setting a link |
| 9836 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 9837 | # will separate the newline character(s) into their own text runs. The |
| 9838 | # link will be applied separately to the runs before and after the newline. |
| 9839 | # * Removing a link will update the text style of the range to match the |
| 9840 | # style of the preceding text (or the default text styles if the preceding |
| 9841 | # text is another link) unless different styles are being set in the same |
| 9842 | # request. |
| 9843 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 9844 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 9845 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 9846 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 9847 | # 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] | 9848 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 9849 | # addressed by its position. |
| 9850 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 9851 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9852 | "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] | 9853 | }, |
| 9854 | "type": "A String", # The type of this auto text. |
| 9855 | }, |
| 9856 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 9857 | # units. |
| 9858 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 9859 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 9860 | # |
| 9861 | # The `start_index` and `end_index` of this TextElement represent the |
| 9862 | # range of the paragraph. Other TextElements with an index range contained |
| 9863 | # inside this paragraph's range are considered to be part of this |
| 9864 | # paragraph. The range of indices of two separate paragraphs will never |
| 9865 | # overlap. |
| 9866 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 9867 | # |
| 9868 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 9869 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 9870 | # nesting level of lists: |
| 9871 | # |
| 9872 | # * A paragraph not in a list will inherit its paragraph style from the |
| 9873 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 9874 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 9875 | # at its corresponding nesting level of the list inside the parent |
| 9876 | # placeholder. |
| 9877 | # |
| 9878 | # Inherited paragraph styles are represented as unset fields in this message. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 9879 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 9880 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 9881 | # LEFT_TO_RIGHT since |
| 9882 | # text direction is not inherited. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9883 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 9884 | # inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9885 | "magnitude": 3.14, # The magnitude. |
| 9886 | "unit": "A String", # The units for magnitude. |
| 9887 | }, |
| 9888 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 9889 | # 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] | 9890 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 9891 | # 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] | 9892 | # value is inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9893 | "magnitude": 3.14, # The magnitude. |
| 9894 | "unit": "A String", # The units for magnitude. |
| 9895 | }, |
| 9896 | "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] | 9897 | # inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9898 | "magnitude": 3.14, # The magnitude. |
| 9899 | "unit": "A String", # The units for magnitude. |
| 9900 | }, |
| 9901 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 9902 | # 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] | 9903 | # value is inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9904 | "magnitude": 3.14, # The magnitude. |
| 9905 | "unit": "A String", # The units for magnitude. |
| 9906 | }, |
| 9907 | "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] | 9908 | # If unset, the value is inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9909 | "magnitude": 3.14, # The magnitude. |
| 9910 | "unit": "A String", # The units for magnitude. |
| 9911 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 9912 | "alignment": "A String", # The text alignment for this paragraph. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9913 | }, |
| 9914 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 9915 | # belong to a list. |
| 9916 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 9917 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 9918 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 9919 | # |
| 9920 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 9921 | # inherited from the parent. Which text styles are inherited depend on the |
| 9922 | # nesting level of lists: |
| 9923 | # |
| 9924 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 9925 | # from the the newline character in the paragraph at the 0 nesting level of |
| 9926 | # the list inside the parent placeholder. |
| 9927 | # * A text run in a paragraph that is in a list will inherit its text style |
| 9928 | # from the newline character in the paragraph at its corresponding nesting |
| 9929 | # level of the list inside the parent placeholder. |
| 9930 | # |
| 9931 | # Inherited text styles are represented as unset fields in this message. If |
| 9932 | # text is contained in a shape without a parent placeholder, unsetting these |
| 9933 | # fields will revert the style to a value matching the defaults in the Slides |
| 9934 | # editor. |
| 9935 | "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 |
| 9936 | # transparent, depending on if the `opaque_color` field in it is set. |
| 9937 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 9938 | # a transparent color. |
| 9939 | "themeColor": "A String", # An opaque theme color. |
| 9940 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 9941 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9942 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9943 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9944 | }, |
| 9945 | }, |
| 9946 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 9947 | "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 |
| 9948 | # transparent, depending on if the `opaque_color` field in it is set. |
| 9949 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 9950 | # a transparent color. |
| 9951 | "themeColor": "A String", # An opaque theme color. |
| 9952 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 9953 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9954 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9955 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9956 | }, |
| 9957 | }, |
| 9958 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 9959 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 9960 | # |
| 9961 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 9962 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 9963 | # The `font_size` itself is not affected by changes in this field. |
| 9964 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 9965 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 9966 | # |
| 9967 | # This field is an extension of `font_family` meant to support explicit font |
| 9968 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 9969 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 9970 | # will always be equal to that of `font_family`. However, when writing, if |
| 9971 | # both fields are included in the field mask (either explicitly or through |
| 9972 | # the wildcard `"*"`), their values are reconciled as follows: |
| 9973 | # |
| 9974 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 9975 | # `font_family` is applied with weight `400` ("normal"). |
| 9976 | # * If both fields are set, the value of `font_family` must match that of |
| 9977 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 9978 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 9979 | # returned. |
| 9980 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 9981 | # family and weight of `weighted_font_family` is applied. |
| 9982 | # * If neither field is set, the font family and weight of the text inherit |
| 9983 | # from the parent. Note that these properties cannot inherit separately |
| 9984 | # from each other. |
| 9985 | # |
| 9986 | # If an update request specifies values for both `weighted_font_family` and |
| 9987 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 9988 | # |
| 9989 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 9990 | # |
| 9991 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 9992 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 9993 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 9994 | "fontFamily": "A String", # The font family of the text. |
| 9995 | # |
| 9996 | # The font family can be any font from the Font menu in Slides or from |
| 9997 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 9998 | # unrecognized, the text is rendered in `Arial`. |
| 9999 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 10000 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 10001 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10002 | # Specification, |
| 10003 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 10004 | # with non-numerical values disallowed. Weights greater than or equal to |
| 10005 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 10006 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 10007 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10008 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 10009 | "fontFamily": "A String", # The font family of the text. |
| 10010 | # |
| 10011 | # The font family can be any font from the Font menu in Slides or from |
| 10012 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 10013 | # unrecognized, the text is rendered in `Arial`. |
| 10014 | # |
| 10015 | # Some fonts can affect the weight of the text. If an update request |
| 10016 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 10017 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10018 | "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 |
| 10019 | # points. |
| 10020 | "magnitude": 3.14, # The magnitude. |
| 10021 | "unit": "A String", # The units for magnitude. |
| 10022 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 10023 | "italic": True or False, # Whether or not the text is italicized. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10024 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 10025 | # are not inherited from parent text. |
| 10026 | # |
| 10027 | # Changing the link in an update request causes some other changes to the |
| 10028 | # text style of the range: |
| 10029 | # |
| 10030 | # * When setting a link, the text foreground color will be set to |
| 10031 | # ThemeColorType.HYPERLINK and the text will |
| 10032 | # be underlined. If these fields are modified in the same |
| 10033 | # request, those values will be used instead of the link defaults. |
| 10034 | # * Setting a link on a text range that overlaps with an existing link will |
| 10035 | # also update the existing link to point to the new URL. |
| 10036 | # * Links are not settable on newline characters. As a result, setting a link |
| 10037 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 10038 | # will separate the newline character(s) into their own text runs. The |
| 10039 | # link will be applied separately to the runs before and after the newline. |
| 10040 | # * Removing a link will update the text style of the range to match the |
| 10041 | # style of the preceding text (or the default text styles if the preceding |
| 10042 | # text is another link) unless different styles are being set in the same |
| 10043 | # request. |
| 10044 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 10045 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 10046 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 10047 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 10048 | # 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] | 10049 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 10050 | # addressed by its position. |
| 10051 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 10052 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10053 | "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] | 10054 | }, |
| 10055 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 10056 | }, |
| 10057 | }, |
| 10058 | "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 |
| 10059 | # in the run have the same TextStyle. |
| 10060 | # |
| 10061 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 10062 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 10063 | # In other words, a TextRun will never span multiple paragraphs. |
| 10064 | # styling. |
| 10065 | "content": "A String", # The text of this run. |
| 10066 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 10067 | # |
| 10068 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 10069 | # inherited from the parent. Which text styles are inherited depend on the |
| 10070 | # nesting level of lists: |
| 10071 | # |
| 10072 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 10073 | # from the the newline character in the paragraph at the 0 nesting level of |
| 10074 | # the list inside the parent placeholder. |
| 10075 | # * A text run in a paragraph that is in a list will inherit its text style |
| 10076 | # from the newline character in the paragraph at its corresponding nesting |
| 10077 | # level of the list inside the parent placeholder. |
| 10078 | # |
| 10079 | # Inherited text styles are represented as unset fields in this message. If |
| 10080 | # text is contained in a shape without a parent placeholder, unsetting these |
| 10081 | # fields will revert the style to a value matching the defaults in the Slides |
| 10082 | # editor. |
| 10083 | "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 |
| 10084 | # transparent, depending on if the `opaque_color` field in it is set. |
| 10085 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 10086 | # a transparent color. |
| 10087 | "themeColor": "A String", # An opaque theme color. |
| 10088 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 10089 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10090 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10091 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10092 | }, |
| 10093 | }, |
| 10094 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10095 | "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 |
| 10096 | # transparent, depending on if the `opaque_color` field in it is set. |
| 10097 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 10098 | # a transparent color. |
| 10099 | "themeColor": "A String", # An opaque theme color. |
| 10100 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 10101 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10102 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10103 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10104 | }, |
| 10105 | }, |
| 10106 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10107 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 10108 | # |
| 10109 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 10110 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 10111 | # The `font_size` itself is not affected by changes in this field. |
| 10112 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 10113 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 10114 | # |
| 10115 | # This field is an extension of `font_family` meant to support explicit font |
| 10116 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 10117 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 10118 | # will always be equal to that of `font_family`. However, when writing, if |
| 10119 | # both fields are included in the field mask (either explicitly or through |
| 10120 | # the wildcard `"*"`), their values are reconciled as follows: |
| 10121 | # |
| 10122 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 10123 | # `font_family` is applied with weight `400` ("normal"). |
| 10124 | # * If both fields are set, the value of `font_family` must match that of |
| 10125 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 10126 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 10127 | # returned. |
| 10128 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 10129 | # family and weight of `weighted_font_family` is applied. |
| 10130 | # * If neither field is set, the font family and weight of the text inherit |
| 10131 | # from the parent. Note that these properties cannot inherit separately |
| 10132 | # from each other. |
| 10133 | # |
| 10134 | # If an update request specifies values for both `weighted_font_family` and |
| 10135 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 10136 | # |
| 10137 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 10138 | # |
| 10139 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 10140 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 10141 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 10142 | "fontFamily": "A String", # The font family of the text. |
| 10143 | # |
| 10144 | # The font family can be any font from the Font menu in Slides or from |
| 10145 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 10146 | # unrecognized, the text is rendered in `Arial`. |
| 10147 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 10148 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 10149 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10150 | # Specification, |
| 10151 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 10152 | # with non-numerical values disallowed. Weights greater than or equal to |
| 10153 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 10154 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 10155 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10156 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 10157 | "fontFamily": "A String", # The font family of the text. |
| 10158 | # |
| 10159 | # The font family can be any font from the Font menu in Slides or from |
| 10160 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 10161 | # unrecognized, the text is rendered in `Arial`. |
| 10162 | # |
| 10163 | # Some fonts can affect the weight of the text. If an update request |
| 10164 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 10165 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10166 | "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 |
| 10167 | # points. |
| 10168 | "magnitude": 3.14, # The magnitude. |
| 10169 | "unit": "A String", # The units for magnitude. |
| 10170 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 10171 | "italic": True or False, # Whether or not the text is italicized. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10172 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 10173 | # are not inherited from parent text. |
| 10174 | # |
| 10175 | # Changing the link in an update request causes some other changes to the |
| 10176 | # text style of the range: |
| 10177 | # |
| 10178 | # * When setting a link, the text foreground color will be set to |
| 10179 | # ThemeColorType.HYPERLINK and the text will |
| 10180 | # be underlined. If these fields are modified in the same |
| 10181 | # request, those values will be used instead of the link defaults. |
| 10182 | # * Setting a link on a text range that overlaps with an existing link will |
| 10183 | # also update the existing link to point to the new URL. |
| 10184 | # * Links are not settable on newline characters. As a result, setting a link |
| 10185 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 10186 | # will separate the newline character(s) into their own text runs. The |
| 10187 | # link will be applied separately to the runs before and after the newline. |
| 10188 | # * Removing a link will update the text style of the range to match the |
| 10189 | # style of the preceding text (or the default text styles if the preceding |
| 10190 | # text is another link) unless different styles are being set in the same |
| 10191 | # request. |
| 10192 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 10193 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 10194 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 10195 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 10196 | # 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] | 10197 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 10198 | # addressed by its position. |
| 10199 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 10200 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10201 | "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] | 10202 | }, |
| 10203 | }, |
| 10204 | }, |
| 10205 | ], |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10206 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 10207 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 10208 | # associated with a list. A paragraph that is part of a list has an implicit |
| 10209 | # reference to that list's ID. |
| 10210 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 10211 | # level. A list has at most nine levels of nesting, so the possible values |
| 10212 | # for the keys of this map are 0 through 8, inclusive. |
| 10213 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 10214 | # level of nesting. |
| 10215 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 10216 | # |
| 10217 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 10218 | # inherited from the parent. Which text styles are inherited depend on the |
| 10219 | # nesting level of lists: |
| 10220 | # |
| 10221 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 10222 | # from the the newline character in the paragraph at the 0 nesting level of |
| 10223 | # the list inside the parent placeholder. |
| 10224 | # * A text run in a paragraph that is in a list will inherit its text style |
| 10225 | # from the newline character in the paragraph at its corresponding nesting |
| 10226 | # level of the list inside the parent placeholder. |
| 10227 | # |
| 10228 | # Inherited text styles are represented as unset fields in this message. If |
| 10229 | # text is contained in a shape without a parent placeholder, unsetting these |
| 10230 | # fields will revert the style to a value matching the defaults in the Slides |
| 10231 | # editor. |
| 10232 | "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 |
| 10233 | # transparent, depending on if the `opaque_color` field in it is set. |
| 10234 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 10235 | # a transparent color. |
| 10236 | "themeColor": "A String", # An opaque theme color. |
| 10237 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 10238 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10239 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10240 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10241 | }, |
| 10242 | }, |
| 10243 | }, |
| 10244 | "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 |
| 10245 | # transparent, depending on if the `opaque_color` field in it is set. |
| 10246 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 10247 | # a transparent color. |
| 10248 | "themeColor": "A String", # An opaque theme color. |
| 10249 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 10250 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10251 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10252 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10253 | }, |
| 10254 | }, |
| 10255 | }, |
| 10256 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 10257 | # |
| 10258 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 10259 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 10260 | # The `font_size` itself is not affected by changes in this field. |
| 10261 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 10262 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 10263 | # |
| 10264 | # This field is an extension of `font_family` meant to support explicit font |
| 10265 | # weights without breaking backwards compatibility. As such, when reading the |
| 10266 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 10267 | # will always be equal to that of `font_family`. However, when writing, if |
| 10268 | # both fields are included in the field mask (either explicitly or through |
| 10269 | # the wildcard `"*"`), their values are reconciled as follows: |
| 10270 | # |
| 10271 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 10272 | # `font_family` is applied with weight `400` ("normal"). |
| 10273 | # * If both fields are set, the value of `font_family` must match that of |
| 10274 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 10275 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 10276 | # returned. |
| 10277 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 10278 | # family and weight of `weighted_font_family` is applied. |
| 10279 | # * If neither field is set, the font family and weight of the text inherit |
| 10280 | # from the parent. Note that these properties cannot inherit separately |
| 10281 | # from each other. |
| 10282 | # |
| 10283 | # If an update request specifies values for both `weighted_font_family` and |
| 10284 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 10285 | # |
| 10286 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 10287 | # |
| 10288 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 10289 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 10290 | # is returned. |
| 10291 | "fontFamily": "A String", # The font family of the text. |
| 10292 | # |
| 10293 | # The font family can be any font from the Font menu in Slides or from |
| 10294 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 10295 | # unrecognized, the text is rendered in `Arial`. |
| 10296 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 10297 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 10298 | # corresponds to the numerical values described in the CSS 2.1 |
| 10299 | # Specification, |
| 10300 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 10301 | # with non-numerical values disallowed. Weights greater than or equal to |
| 10302 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 10303 | # default value is `400` ("normal"). |
| 10304 | }, |
| 10305 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 10306 | "fontFamily": "A String", # The font family of the text. |
| 10307 | # |
| 10308 | # The font family can be any font from the Font menu in Slides or from |
| 10309 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 10310 | # unrecognized, the text is rendered in `Arial`. |
| 10311 | # |
| 10312 | # Some fonts can affect the weight of the text. If an update request |
| 10313 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 10314 | # `bold` value is used. |
| 10315 | "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 |
| 10316 | # points. |
| 10317 | "magnitude": 3.14, # The magnitude. |
| 10318 | "unit": "A String", # The units for magnitude. |
| 10319 | }, |
| 10320 | "italic": True or False, # Whether or not the text is italicized. |
| 10321 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 10322 | # are not inherited from parent text. |
| 10323 | # |
| 10324 | # Changing the link in an update request causes some other changes to the |
| 10325 | # text style of the range: |
| 10326 | # |
| 10327 | # * When setting a link, the text foreground color will be set to |
| 10328 | # ThemeColorType.HYPERLINK and the text will |
| 10329 | # be underlined. If these fields are modified in the same |
| 10330 | # request, those values will be used instead of the link defaults. |
| 10331 | # * Setting a link on a text range that overlaps with an existing link will |
| 10332 | # also update the existing link to point to the new URL. |
| 10333 | # * Links are not settable on newline characters. As a result, setting a link |
| 10334 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 10335 | # will separate the newline character(s) into their own text runs. The |
| 10336 | # link will be applied separately to the runs before and after the newline. |
| 10337 | # * Removing a link will update the text style of the range to match the |
| 10338 | # style of the preceding text (or the default text styles if the preceding |
| 10339 | # text is another link) unless different styles are being set in the same |
| 10340 | # request. |
| 10341 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 10342 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 10343 | # in the presentation. There may not be a slide at this index. |
| 10344 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 10345 | # presentation with this ID. A page with this ID may not exist. |
| 10346 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 10347 | # addressed by its position. |
| 10348 | }, |
| 10349 | "underline": True or False, # Whether or not the text is underlined. |
| 10350 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 10351 | }, |
| 10352 | }, |
| 10353 | }, |
| 10354 | "listId": "A String", # The ID of the list. |
| 10355 | }, |
| 10356 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10357 | }, |
| 10358 | "shapeProperties": { # The properties of a Shape. # The properties of the shape. |
| 10359 | # |
| 10360 | # If the shape is a placeholder shape as determined by the |
| 10361 | # placeholder field, then these |
| 10362 | # properties may be inherited from a parent placeholder shape. |
| 10363 | # Determining the rendered value of the property depends on the corresponding |
| 10364 | # property_state field value. |
| 10365 | "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from |
| 10366 | # a parent placeholder if it exists. If the shape has no parent, then the |
| 10367 | # default shadow matches the defaults for new shapes created in the Slides |
| 10368 | # editor. This property is read-only. |
| 10369 | # |
| 10370 | # If these fields are unset, they may be inherited from a parent placeholder |
| 10371 | # if it exists. If there is no parent, the fields will default to the value |
| 10372 | # used for new page elements created in the Slides editor, which may depend on |
| 10373 | # the page element kind. |
| 10374 | "color": { # A themeable solid color value. # The shadow color value. |
| 10375 | "themeColor": "A String", # An opaque theme color. |
| 10376 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 10377 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10378 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10379 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10380 | }, |
| 10381 | }, |
| 10382 | "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, |
| 10383 | # relative to the alignment position. |
| 10384 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 10385 | # according to: |
| 10386 | # |
| 10387 | # x' x = shear_y scale_y translate_y |
| 10388 | # 1 [ 1 ] |
| 10389 | # |
| 10390 | # After transformation, |
| 10391 | # |
| 10392 | # x' = scale_x * x + shear_x * y + translate_x; |
| 10393 | # y' = scale_y * y + shear_y * x + translate_y; |
| 10394 | # |
| 10395 | # This message is therefore composed of these six matrix elements. |
| 10396 | "translateX": 3.14, # The X coordinate translation element. |
| 10397 | "translateY": 3.14, # The Y coordinate translation element. |
| 10398 | "scaleX": 3.14, # The X coordinate scaling element. |
| 10399 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 10400 | "shearY": 3.14, # The Y coordinate shearing element. |
| 10401 | "shearX": 3.14, # The X coordinate shearing element. |
| 10402 | "unit": "A String", # The units for translate elements. |
| 10403 | }, |
| 10404 | "propertyState": "A String", # The shadow property state. |
| 10405 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10406 | # Updating the shadow on a page element will implicitly update this field to |
| 10407 | # `RENDERED`, unless another value is specified in the same request. To have |
| 10408 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10409 | # case, any other shadow fields set in the same request will be ignored. |
| 10410 | "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 |
| 10411 | # shadow becomes. |
| 10412 | "magnitude": 3.14, # The magnitude. |
| 10413 | "unit": "A String", # The units for magnitude. |
| 10414 | }, |
| 10415 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10416 | "type": "A String", # The type of the shadow. This property is read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10417 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10418 | # scale and skew of the shadow. This property is read-only. |
| 10419 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 10420 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10421 | }, |
| 10422 | "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is |
| 10423 | # inherited from a parent placeholder if it exists. If the shape has no |
| 10424 | # parent, then the default background fill depends on the shape type, |
| 10425 | # matching the defaults for new shapes created in the Slides editor. |
| 10426 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 10427 | # specified color value. |
| 10428 | # |
| 10429 | # If any field is unset, its value may be inherited from a parent placeholder |
| 10430 | # if it exists. |
| 10431 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 10432 | "themeColor": "A String", # An opaque theme color. |
| 10433 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 10434 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10435 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10436 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10437 | }, |
| 10438 | }, |
| 10439 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 10440 | # That is, the final pixel color is defined by the equation: |
| 10441 | # |
| 10442 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 10443 | # |
| 10444 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 10445 | # a value of 0.0 corresponds to a completely transparent color. |
| 10446 | }, |
| 10447 | "propertyState": "A String", # The background fill property state. |
| 10448 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10449 | # Updating the fill on a shape will implicitly update this field to |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10450 | # `RENDERED`, unless another value is specified in the same request. To |
| 10451 | # have no fill on a shape, set this field to `NOT_RENDERED`. In this case, |
| 10452 | # any other fill fields set in the same request will be ignored. |
| 10453 | }, |
| 10454 | "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links |
| 10455 | # are not inherited from parent placeholders. |
| 10456 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 10457 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 10458 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 10459 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 10460 | # 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] | 10461 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 10462 | # addressed by its position. |
| 10463 | }, |
| 10464 | "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a |
| 10465 | # parent placeholder if it exists. If the shape has no parent, then the |
| 10466 | # default outline depends on the shape type, matching the defaults for |
| 10467 | # new shapes created in the Slides editor. |
| 10468 | # |
| 10469 | # If these fields are unset, they may be inherited from a parent placeholder |
| 10470 | # if it exists. If there is no parent, the fields will default to the value |
| 10471 | # used for new page elements created in the Slides editor, which may depend on |
| 10472 | # the page element kind. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10473 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 10474 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 10475 | # specified color value. |
| 10476 | # |
| 10477 | # If any field is unset, its value may be inherited from a parent placeholder |
| 10478 | # if it exists. |
| 10479 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 10480 | "themeColor": "A String", # An opaque theme color. |
| 10481 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 10482 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10483 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10484 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10485 | }, |
| 10486 | }, |
| 10487 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 10488 | # That is, the final pixel color is defined by the equation: |
| 10489 | # |
| 10490 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 10491 | # |
| 10492 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 10493 | # a value of 0.0 corresponds to a completely transparent color. |
| 10494 | }, |
| 10495 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 10496 | "propertyState": "A String", # The outline property state. |
| 10497 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10498 | # Updating the outline on a page element will implicitly update this field |
| 10499 | # to `RENDERED`, unless another value is specified in the same request. To |
| 10500 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 10501 | # this case, any other outline fields set in the same request will be |
| 10502 | # ignored. |
| 10503 | "dashStyle": "A String", # The dash style of the outline. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10504 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 10505 | "magnitude": 3.14, # The magnitude. |
| 10506 | "unit": "A String", # The units for magnitude. |
| 10507 | }, |
| 10508 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10509 | "contentAlignment": "A String", # The alignment of the content in the shape. If unspecified, |
| 10510 | # the alignment is inherited from a parent placeholder if it exists. If the |
| 10511 | # shape has no parent, the default alignment matches the alignment for new |
| 10512 | # shapes created in the Slides editor. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10513 | }, |
| 10514 | "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on |
| 10515 | # layouts and masters. |
| 10516 | # |
| 10517 | # If set, the shape is a placeholder shape and any inherited properties |
| 10518 | # can be resolved by looking at the parent placeholder identified by the |
| 10519 | # Placeholder.parent_object_id field. |
| 10520 | "parentObjectId": "A String", # The object ID of this shape's parent placeholder. |
| 10521 | # If unset, the parent placeholder shape does not exist, so the shape does |
| 10522 | # not inherit properties from any other shape. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 10523 | "index": 42, # The index of the placeholder. If the same placeholder types are present in |
| 10524 | # the same page, they would have different index values. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10525 | "type": "A String", # The type of the placeholder. |
| 10526 | }, |
| 10527 | "shapeType": "A String", # The type of the shape. |
| 10528 | }, |
| 10529 | "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are |
| 10530 | # represented as images. |
| 10531 | # a linked chart embedded from Google Sheets. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 10532 | "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30 |
| 10533 | # minutes. This URL is tagged with the account of the requester. Anyone with |
| 10534 | # the URL effectively accesses the image as the original requester. Access to |
| 10535 | # the image may be lost if the presentation's sharing settings change. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 10536 | "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] | 10537 | "sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart. |
| 10538 | "chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10539 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10540 | # |
| 10541 | # If these fields are unset, they may be inherited from a parent placeholder |
| 10542 | # if it exists. If there is no parent, the fields will default to the value |
| 10543 | # used for new page elements created in the Slides editor, which may depend on |
| 10544 | # the page element kind. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10545 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 10546 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 10547 | # specified color value. |
| 10548 | # |
| 10549 | # If any field is unset, its value may be inherited from a parent placeholder |
| 10550 | # if it exists. |
| 10551 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 10552 | "themeColor": "A String", # An opaque theme color. |
| 10553 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 10554 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10555 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10556 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10557 | }, |
| 10558 | }, |
| 10559 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 10560 | # That is, the final pixel color is defined by the equation: |
| 10561 | # |
| 10562 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 10563 | # |
| 10564 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 10565 | # a value of 0.0 corresponds to a completely transparent color. |
| 10566 | }, |
| 10567 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 10568 | "propertyState": "A String", # The outline property state. |
| 10569 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10570 | # Updating the outline on a page element will implicitly update this field |
| 10571 | # to `RENDERED`, unless another value is specified in the same request. To |
| 10572 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 10573 | # this case, any other outline fields set in the same request will be |
| 10574 | # ignored. |
| 10575 | "dashStyle": "A String", # The dash style of the outline. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10576 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 10577 | "magnitude": 3.14, # The magnitude. |
| 10578 | "unit": "A String", # The units for magnitude. |
| 10579 | }, |
| 10580 | }, |
| 10581 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 10582 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 10583 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 10584 | # This property is read-only. |
| 10585 | "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] | 10586 | # stops. |
| 10587 | # |
| 10588 | # The colors in the gradient will replace the corresponding colors at |
| 10589 | # the same position in the color palette and apply to the image. This |
| 10590 | # property is read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10591 | { # A color and position in a gradient band. |
| 10592 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 10593 | "themeColor": "A String", # An opaque theme color. |
| 10594 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 10595 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10596 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10597 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10598 | }, |
| 10599 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10600 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 10601 | # fully opaque. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 10602 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 10603 | # 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] | 10604 | }, |
| 10605 | ], |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 10606 | "name": "A String", # The name of the recolor effect. |
| 10607 | # |
| 10608 | # The name is determined from the `recolor_stops` by matching the gradient |
| 10609 | # against the colors in the page's current color scheme. This property is |
| 10610 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10611 | }, |
| 10612 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 10613 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 10614 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 10615 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 10616 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 10617 | # 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] | 10618 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 10619 | # addressed by its position. |
| 10620 | }, |
| 10621 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 10622 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 10623 | # This property is read-only. |
| 10624 | "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. |
| 10625 | # This property is read-only. |
| 10626 | # Image. |
| 10627 | # |
| 10628 | # The crop properties is represented by the offsets of four edges which define |
| 10629 | # a crop rectangle. The offsets are measured in percentage from the |
| 10630 | # corresponding edges of the object's original bounding rectangle towards |
| 10631 | # inside, relative to the object's original dimensions. |
| 10632 | # |
| 10633 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 10634 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 10635 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 10636 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 10637 | # - If the left edge of the crop rectangle is on the right side of its right |
| 10638 | # edge, the object will be flipped horizontally. |
| 10639 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 10640 | # will be flipped vertically. |
| 10641 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 10642 | # |
| 10643 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 10644 | # its container. |
| 10645 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 10646 | # the right of the original bounding rectangle left edge, relative to the |
| 10647 | # object's original width. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10648 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 10649 | # above the original bounding rectangle bottom edge, relative to the object's |
| 10650 | # original height. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 10651 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 10652 | # Rotation angle is applied after the offset. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 10653 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 10654 | # to the left of the original bounding rectangle right edge, relative to the |
| 10655 | # object's original width. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 10656 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 10657 | # below the original bounding rectangle top edge, relative to the object's |
| 10658 | # original height. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10659 | }, |
| 10660 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 10661 | # is read-only. |
| 10662 | # |
| 10663 | # If these fields are unset, they may be inherited from a parent placeholder |
| 10664 | # if it exists. If there is no parent, the fields will default to the value |
| 10665 | # used for new page elements created in the Slides editor, which may depend on |
| 10666 | # the page element kind. |
| 10667 | "color": { # A themeable solid color value. # The shadow color value. |
| 10668 | "themeColor": "A String", # An opaque theme color. |
| 10669 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 10670 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10671 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10672 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10673 | }, |
| 10674 | }, |
| 10675 | "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, |
| 10676 | # relative to the alignment position. |
| 10677 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 10678 | # according to: |
| 10679 | # |
| 10680 | # x' x = shear_y scale_y translate_y |
| 10681 | # 1 [ 1 ] |
| 10682 | # |
| 10683 | # After transformation, |
| 10684 | # |
| 10685 | # x' = scale_x * x + shear_x * y + translate_x; |
| 10686 | # y' = scale_y * y + shear_y * x + translate_y; |
| 10687 | # |
| 10688 | # This message is therefore composed of these six matrix elements. |
| 10689 | "translateX": 3.14, # The X coordinate translation element. |
| 10690 | "translateY": 3.14, # The Y coordinate translation element. |
| 10691 | "scaleX": 3.14, # The X coordinate scaling element. |
| 10692 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 10693 | "shearY": 3.14, # The Y coordinate shearing element. |
| 10694 | "shearX": 3.14, # The X coordinate shearing element. |
| 10695 | "unit": "A String", # The units for translate elements. |
| 10696 | }, |
| 10697 | "propertyState": "A String", # The shadow property state. |
| 10698 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10699 | # Updating the shadow on a page element will implicitly update this field to |
| 10700 | # `RENDERED`, unless another value is specified in the same request. To have |
| 10701 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10702 | # case, any other shadow fields set in the same request will be ignored. |
| 10703 | "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 |
| 10704 | # shadow becomes. |
| 10705 | "magnitude": 3.14, # The magnitude. |
| 10706 | "unit": "A String", # The units for magnitude. |
| 10707 | }, |
| 10708 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10709 | "type": "A String", # The type of the shadow. This property is read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10710 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10711 | # scale and skew of the shadow. This property is read-only. |
| 10712 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 10713 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10714 | }, |
| 10715 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 10716 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 10717 | }, |
| 10718 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 10719 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 10720 | # embedded. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10721 | }, |
| 10722 | "video": { # A PageElement kind representing a # A video page element. |
| 10723 | # video. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10724 | "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and |
| 10725 | # sharing settings do not change. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10726 | "videoProperties": { # The properties of the Video. # The properties of the video. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10727 | "start": 42, # The time at which to start playback, measured in seconds from the beginning |
| 10728 | # of the video. |
| 10729 | # If set, the start time should be before the end time. |
| 10730 | # If you set this to a value that exceeds the video's length in seconds, the |
| 10731 | # video will be played from the last second. |
| 10732 | # If not set, the video will be played from the beginning. |
| 10733 | "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present |
| 10734 | # mode. Defaults to false. |
| 10735 | "end": 42, # The time at which to end playback, measured in seconds from the beginning |
| 10736 | # of the video. |
| 10737 | # If set, the end time should be after the start time. |
| 10738 | # If not set or if you set this to a value that exceeds the video's length, |
| 10739 | # the video will be played until its end. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10740 | "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new |
| 10741 | # videos created in the Slides editor. |
| 10742 | # |
| 10743 | # If these fields are unset, they may be inherited from a parent placeholder |
| 10744 | # if it exists. If there is no parent, the fields will default to the value |
| 10745 | # used for new page elements created in the Slides editor, which may depend on |
| 10746 | # the page element kind. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10747 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 10748 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 10749 | # specified color value. |
| 10750 | # |
| 10751 | # If any field is unset, its value may be inherited from a parent placeholder |
| 10752 | # if it exists. |
| 10753 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 10754 | "themeColor": "A String", # An opaque theme color. |
| 10755 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 10756 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10757 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10758 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10759 | }, |
| 10760 | }, |
| 10761 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 10762 | # That is, the final pixel color is defined by the equation: |
| 10763 | # |
| 10764 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 10765 | # |
| 10766 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 10767 | # a value of 0.0 corresponds to a completely transparent color. |
| 10768 | }, |
| 10769 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 10770 | "propertyState": "A String", # The outline property state. |
| 10771 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10772 | # Updating the outline on a page element will implicitly update this field |
| 10773 | # to `RENDERED`, unless another value is specified in the same request. To |
| 10774 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 10775 | # this case, any other outline fields set in the same request will be |
| 10776 | # ignored. |
| 10777 | "dashStyle": "A String", # The dash style of the outline. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10778 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 10779 | "magnitude": 3.14, # The magnitude. |
| 10780 | "unit": "A String", # The units for magnitude. |
| 10781 | }, |
| 10782 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10783 | "mute": True or False, # Whether to mute the audio during video playback. Defaults to false. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10784 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 10785 | "id": "A String", # The video source's unique identifier for this video. |
| 10786 | "source": "A String", # The video source. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10787 | }, |
| 10788 | "table": { # A PageElement kind representing a # A table page element. |
| 10789 | # table. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10790 | "rows": 42, # Number of rows in the table. |
| 10791 | "horizontalBorderRows": [ # Properties of horizontal cell borders. |
| 10792 | # |
| 10793 | # A table's horizontal cell borders are represented as a grid. The grid has |
| 10794 | # one more row than the number of rows in the table and the same number of |
| 10795 | # columns as the table. For example, if the table is 3 x 3, its horizontal |
| 10796 | # borders will be represented as a grid with 4 rows and 3 columns. |
| 10797 | { # Contents of each border row in a table. |
| 10798 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 10799 | # merged, it is not included in the response. |
| 10800 | { # The properties of each border cell. |
| 10801 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 10802 | # TableBorderCell. |
| 10803 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 10804 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 10805 | # specified color value. |
| 10806 | # |
| 10807 | # If any field is unset, its value may be inherited from a parent placeholder |
| 10808 | # if it exists. |
| 10809 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 10810 | "themeColor": "A String", # An opaque theme color. |
| 10811 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 10812 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10813 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10814 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10815 | }, |
| 10816 | }, |
| 10817 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 10818 | # That is, the final pixel color is defined by the equation: |
| 10819 | # |
| 10820 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 10821 | # |
| 10822 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 10823 | # a value of 0.0 corresponds to a completely transparent color. |
| 10824 | }, |
| 10825 | }, |
| 10826 | "dashStyle": "A String", # The dash style of the border. |
| 10827 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 10828 | "magnitude": 3.14, # The magnitude. |
| 10829 | "unit": "A String", # The units for magnitude. |
| 10830 | }, |
| 10831 | }, |
| 10832 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 10833 | "rowIndex": 42, # The 0-based row index. |
| 10834 | "columnIndex": 42, # The 0-based column index. |
| 10835 | }, |
| 10836 | }, |
| 10837 | ], |
| 10838 | }, |
| 10839 | ], |
| 10840 | "verticalBorderRows": [ # Properties of vertical cell borders. |
| 10841 | # |
| 10842 | # A table's vertical cell borders are represented as a grid. The grid has the |
| 10843 | # same number of rows as the table and one more column than the number of |
| 10844 | # columns in the table. For example, if the table is 3 x 3, its vertical |
| 10845 | # borders will be represented as a grid with 3 rows and 4 columns. |
| 10846 | { # Contents of each border row in a table. |
| 10847 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 10848 | # merged, it is not included in the response. |
| 10849 | { # The properties of each border cell. |
| 10850 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 10851 | # TableBorderCell. |
| 10852 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 10853 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 10854 | # specified color value. |
| 10855 | # |
| 10856 | # If any field is unset, its value may be inherited from a parent placeholder |
| 10857 | # if it exists. |
| 10858 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 10859 | "themeColor": "A String", # An opaque theme color. |
| 10860 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 10861 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10862 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10863 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10864 | }, |
| 10865 | }, |
| 10866 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 10867 | # That is, the final pixel color is defined by the equation: |
| 10868 | # |
| 10869 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 10870 | # |
| 10871 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 10872 | # a value of 0.0 corresponds to a completely transparent color. |
| 10873 | }, |
| 10874 | }, |
| 10875 | "dashStyle": "A String", # The dash style of the border. |
| 10876 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 10877 | "magnitude": 3.14, # The magnitude. |
| 10878 | "unit": "A String", # The units for magnitude. |
| 10879 | }, |
| 10880 | }, |
| 10881 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 10882 | "rowIndex": 42, # The 0-based row index. |
| 10883 | "columnIndex": 42, # The 0-based column index. |
| 10884 | }, |
| 10885 | }, |
| 10886 | ], |
| 10887 | }, |
| 10888 | ], |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10889 | "tableColumns": [ # Properties of each column. |
| 10890 | { # Properties of each column in a table. |
| 10891 | "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column. |
| 10892 | "magnitude": 3.14, # The magnitude. |
| 10893 | "unit": "A String", # The units for magnitude. |
| 10894 | }, |
| 10895 | }, |
| 10896 | ], |
| 10897 | "tableRows": [ # Properties and contents of each row. |
| 10898 | # |
| 10899 | # Cells that span multiple rows are contained in only one of these rows and |
| 10900 | # have a row_span greater |
| 10901 | # than 1. |
| 10902 | { # Properties and contents of each row in a table. |
| 10903 | "tableCells": [ # Properties and contents of each cell. |
| 10904 | # |
| 10905 | # Cells that span multiple columns are represented only once with a |
| 10906 | # column_span greater |
| 10907 | # than 1. As a result, the length of this collection does not always match |
| 10908 | # the number of columns of the entire table. |
| 10909 | { # Properties and contents of each table cell. |
| 10910 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell. |
| 10911 | # text box or rectangle) or a table cell in a page. |
| 10912 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 10913 | # information. This property is read-only. |
| 10914 | { # A TextElement describes the content of a range of indices in the text content |
| 10915 | # of a Shape or TableCell. |
| 10916 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 10917 | # replaced with content that can change over time. |
| 10918 | "content": "A String", # The rendered content of this auto text, if available. |
| 10919 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 10920 | # |
| 10921 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 10922 | # inherited from the parent. Which text styles are inherited depend on the |
| 10923 | # nesting level of lists: |
| 10924 | # |
| 10925 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 10926 | # from the the newline character in the paragraph at the 0 nesting level of |
| 10927 | # the list inside the parent placeholder. |
| 10928 | # * A text run in a paragraph that is in a list will inherit its text style |
| 10929 | # from the newline character in the paragraph at its corresponding nesting |
| 10930 | # level of the list inside the parent placeholder. |
| 10931 | # |
| 10932 | # Inherited text styles are represented as unset fields in this message. If |
| 10933 | # text is contained in a shape without a parent placeholder, unsetting these |
| 10934 | # fields will revert the style to a value matching the defaults in the Slides |
| 10935 | # editor. |
| 10936 | "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 |
| 10937 | # transparent, depending on if the `opaque_color` field in it is set. |
| 10938 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 10939 | # a transparent color. |
| 10940 | "themeColor": "A String", # An opaque theme color. |
| 10941 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 10942 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10943 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10944 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10945 | }, |
| 10946 | }, |
| 10947 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 10948 | "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 |
| 10949 | # transparent, depending on if the `opaque_color` field in it is set. |
| 10950 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 10951 | # a transparent color. |
| 10952 | "themeColor": "A String", # An opaque theme color. |
| 10953 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 10954 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10955 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10956 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10957 | }, |
| 10958 | }, |
| 10959 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 10960 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 10961 | # |
| 10962 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 10963 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 10964 | # The `font_size` itself is not affected by changes in this field. |
| 10965 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 10966 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 10967 | # |
| 10968 | # This field is an extension of `font_family` meant to support explicit font |
| 10969 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 10970 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 10971 | # will always be equal to that of `font_family`. However, when writing, if |
| 10972 | # both fields are included in the field mask (either explicitly or through |
| 10973 | # the wildcard `"*"`), their values are reconciled as follows: |
| 10974 | # |
| 10975 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 10976 | # `font_family` is applied with weight `400` ("normal"). |
| 10977 | # * If both fields are set, the value of `font_family` must match that of |
| 10978 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 10979 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 10980 | # returned. |
| 10981 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 10982 | # family and weight of `weighted_font_family` is applied. |
| 10983 | # * If neither field is set, the font family and weight of the text inherit |
| 10984 | # from the parent. Note that these properties cannot inherit separately |
| 10985 | # from each other. |
| 10986 | # |
| 10987 | # If an update request specifies values for both `weighted_font_family` and |
| 10988 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 10989 | # |
| 10990 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 10991 | # |
| 10992 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 10993 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 10994 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 10995 | "fontFamily": "A String", # The font family of the text. |
| 10996 | # |
| 10997 | # The font family can be any font from the Font menu in Slides or from |
| 10998 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 10999 | # unrecognized, the text is rendered in `Arial`. |
| 11000 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 11001 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 11002 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11003 | # Specification, |
| 11004 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 11005 | # with non-numerical values disallowed. Weights greater than or equal to |
| 11006 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 11007 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 11008 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11009 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 11010 | "fontFamily": "A String", # The font family of the text. |
| 11011 | # |
| 11012 | # The font family can be any font from the Font menu in Slides or from |
| 11013 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 11014 | # unrecognized, the text is rendered in `Arial`. |
| 11015 | # |
| 11016 | # Some fonts can affect the weight of the text. If an update request |
| 11017 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 11018 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11019 | "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 |
| 11020 | # points. |
| 11021 | "magnitude": 3.14, # The magnitude. |
| 11022 | "unit": "A String", # The units for magnitude. |
| 11023 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 11024 | "italic": True or False, # Whether or not the text is italicized. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11025 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 11026 | # are not inherited from parent text. |
| 11027 | # |
| 11028 | # Changing the link in an update request causes some other changes to the |
| 11029 | # text style of the range: |
| 11030 | # |
| 11031 | # * When setting a link, the text foreground color will be set to |
| 11032 | # ThemeColorType.HYPERLINK and the text will |
| 11033 | # be underlined. If these fields are modified in the same |
| 11034 | # request, those values will be used instead of the link defaults. |
| 11035 | # * Setting a link on a text range that overlaps with an existing link will |
| 11036 | # also update the existing link to point to the new URL. |
| 11037 | # * Links are not settable on newline characters. As a result, setting a link |
| 11038 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 11039 | # will separate the newline character(s) into their own text runs. The |
| 11040 | # link will be applied separately to the runs before and after the newline. |
| 11041 | # * Removing a link will update the text style of the range to match the |
| 11042 | # style of the preceding text (or the default text styles if the preceding |
| 11043 | # text is another link) unless different styles are being set in the same |
| 11044 | # request. |
| 11045 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 11046 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 11047 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 11048 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 11049 | # 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] | 11050 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 11051 | # addressed by its position. |
| 11052 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 11053 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11054 | "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] | 11055 | }, |
| 11056 | "type": "A String", # The type of this auto text. |
| 11057 | }, |
| 11058 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 11059 | # units. |
| 11060 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 11061 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 11062 | # |
| 11063 | # The `start_index` and `end_index` of this TextElement represent the |
| 11064 | # range of the paragraph. Other TextElements with an index range contained |
| 11065 | # inside this paragraph's range are considered to be part of this |
| 11066 | # paragraph. The range of indices of two separate paragraphs will never |
| 11067 | # overlap. |
| 11068 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 11069 | # |
| 11070 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 11071 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 11072 | # nesting level of lists: |
| 11073 | # |
| 11074 | # * A paragraph not in a list will inherit its paragraph style from the |
| 11075 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 11076 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 11077 | # at its corresponding nesting level of the list inside the parent |
| 11078 | # placeholder. |
| 11079 | # |
| 11080 | # Inherited paragraph styles are represented as unset fields in this message. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 11081 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 11082 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 11083 | # LEFT_TO_RIGHT since |
| 11084 | # text direction is not inherited. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11085 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 11086 | # inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11087 | "magnitude": 3.14, # The magnitude. |
| 11088 | "unit": "A String", # The units for magnitude. |
| 11089 | }, |
| 11090 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 11091 | # 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] | 11092 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 11093 | # 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] | 11094 | # value is inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11095 | "magnitude": 3.14, # The magnitude. |
| 11096 | "unit": "A String", # The units for magnitude. |
| 11097 | }, |
| 11098 | "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] | 11099 | # inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11100 | "magnitude": 3.14, # The magnitude. |
| 11101 | "unit": "A String", # The units for magnitude. |
| 11102 | }, |
| 11103 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 11104 | # 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] | 11105 | # value is inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11106 | "magnitude": 3.14, # The magnitude. |
| 11107 | "unit": "A String", # The units for magnitude. |
| 11108 | }, |
| 11109 | "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] | 11110 | # If unset, the value is inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11111 | "magnitude": 3.14, # The magnitude. |
| 11112 | "unit": "A String", # The units for magnitude. |
| 11113 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 11114 | "alignment": "A String", # The text alignment for this paragraph. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11115 | }, |
| 11116 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 11117 | # belong to a list. |
| 11118 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 11119 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 11120 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 11121 | # |
| 11122 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 11123 | # inherited from the parent. Which text styles are inherited depend on the |
| 11124 | # nesting level of lists: |
| 11125 | # |
| 11126 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 11127 | # from the the newline character in the paragraph at the 0 nesting level of |
| 11128 | # the list inside the parent placeholder. |
| 11129 | # * A text run in a paragraph that is in a list will inherit its text style |
| 11130 | # from the newline character in the paragraph at its corresponding nesting |
| 11131 | # level of the list inside the parent placeholder. |
| 11132 | # |
| 11133 | # Inherited text styles are represented as unset fields in this message. If |
| 11134 | # text is contained in a shape without a parent placeholder, unsetting these |
| 11135 | # fields will revert the style to a value matching the defaults in the Slides |
| 11136 | # editor. |
| 11137 | "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 |
| 11138 | # transparent, depending on if the `opaque_color` field in it is set. |
| 11139 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 11140 | # a transparent color. |
| 11141 | "themeColor": "A String", # An opaque theme color. |
| 11142 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 11143 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11144 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11145 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11146 | }, |
| 11147 | }, |
| 11148 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11149 | "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 |
| 11150 | # transparent, depending on if the `opaque_color` field in it is set. |
| 11151 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 11152 | # a transparent color. |
| 11153 | "themeColor": "A String", # An opaque theme color. |
| 11154 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 11155 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11156 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11157 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11158 | }, |
| 11159 | }, |
| 11160 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11161 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 11162 | # |
| 11163 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 11164 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 11165 | # The `font_size` itself is not affected by changes in this field. |
| 11166 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 11167 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 11168 | # |
| 11169 | # This field is an extension of `font_family` meant to support explicit font |
| 11170 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 11171 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 11172 | # will always be equal to that of `font_family`. However, when writing, if |
| 11173 | # both fields are included in the field mask (either explicitly or through |
| 11174 | # the wildcard `"*"`), their values are reconciled as follows: |
| 11175 | # |
| 11176 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 11177 | # `font_family` is applied with weight `400` ("normal"). |
| 11178 | # * If both fields are set, the value of `font_family` must match that of |
| 11179 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 11180 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 11181 | # returned. |
| 11182 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 11183 | # family and weight of `weighted_font_family` is applied. |
| 11184 | # * If neither field is set, the font family and weight of the text inherit |
| 11185 | # from the parent. Note that these properties cannot inherit separately |
| 11186 | # from each other. |
| 11187 | # |
| 11188 | # If an update request specifies values for both `weighted_font_family` and |
| 11189 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 11190 | # |
| 11191 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 11192 | # |
| 11193 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 11194 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 11195 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 11196 | "fontFamily": "A String", # The font family of the text. |
| 11197 | # |
| 11198 | # The font family can be any font from the Font menu in Slides or from |
| 11199 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 11200 | # unrecognized, the text is rendered in `Arial`. |
| 11201 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 11202 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 11203 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11204 | # Specification, |
| 11205 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 11206 | # with non-numerical values disallowed. Weights greater than or equal to |
| 11207 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 11208 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 11209 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11210 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 11211 | "fontFamily": "A String", # The font family of the text. |
| 11212 | # |
| 11213 | # The font family can be any font from the Font menu in Slides or from |
| 11214 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 11215 | # unrecognized, the text is rendered in `Arial`. |
| 11216 | # |
| 11217 | # Some fonts can affect the weight of the text. If an update request |
| 11218 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 11219 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11220 | "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 |
| 11221 | # points. |
| 11222 | "magnitude": 3.14, # The magnitude. |
| 11223 | "unit": "A String", # The units for magnitude. |
| 11224 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 11225 | "italic": True or False, # Whether or not the text is italicized. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11226 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 11227 | # are not inherited from parent text. |
| 11228 | # |
| 11229 | # Changing the link in an update request causes some other changes to the |
| 11230 | # text style of the range: |
| 11231 | # |
| 11232 | # * When setting a link, the text foreground color will be set to |
| 11233 | # ThemeColorType.HYPERLINK and the text will |
| 11234 | # be underlined. If these fields are modified in the same |
| 11235 | # request, those values will be used instead of the link defaults. |
| 11236 | # * Setting a link on a text range that overlaps with an existing link will |
| 11237 | # also update the existing link to point to the new URL. |
| 11238 | # * Links are not settable on newline characters. As a result, setting a link |
| 11239 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 11240 | # will separate the newline character(s) into their own text runs. The |
| 11241 | # link will be applied separately to the runs before and after the newline. |
| 11242 | # * Removing a link will update the text style of the range to match the |
| 11243 | # style of the preceding text (or the default text styles if the preceding |
| 11244 | # text is another link) unless different styles are being set in the same |
| 11245 | # request. |
| 11246 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 11247 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 11248 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 11249 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 11250 | # 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] | 11251 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 11252 | # addressed by its position. |
| 11253 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 11254 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11255 | "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] | 11256 | }, |
| 11257 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 11258 | }, |
| 11259 | }, |
| 11260 | "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 |
| 11261 | # in the run have the same TextStyle. |
| 11262 | # |
| 11263 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 11264 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 11265 | # In other words, a TextRun will never span multiple paragraphs. |
| 11266 | # styling. |
| 11267 | "content": "A String", # The text of this run. |
| 11268 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 11269 | # |
| 11270 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 11271 | # inherited from the parent. Which text styles are inherited depend on the |
| 11272 | # nesting level of lists: |
| 11273 | # |
| 11274 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 11275 | # from the the newline character in the paragraph at the 0 nesting level of |
| 11276 | # the list inside the parent placeholder. |
| 11277 | # * A text run in a paragraph that is in a list will inherit its text style |
| 11278 | # from the newline character in the paragraph at its corresponding nesting |
| 11279 | # level of the list inside the parent placeholder. |
| 11280 | # |
| 11281 | # Inherited text styles are represented as unset fields in this message. If |
| 11282 | # text is contained in a shape without a parent placeholder, unsetting these |
| 11283 | # fields will revert the style to a value matching the defaults in the Slides |
| 11284 | # editor. |
| 11285 | "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 |
| 11286 | # transparent, depending on if the `opaque_color` field in it is set. |
| 11287 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 11288 | # a transparent color. |
| 11289 | "themeColor": "A String", # An opaque theme color. |
| 11290 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 11291 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11292 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11293 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11294 | }, |
| 11295 | }, |
| 11296 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11297 | "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 |
| 11298 | # transparent, depending on if the `opaque_color` field in it is set. |
| 11299 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 11300 | # a transparent color. |
| 11301 | "themeColor": "A String", # An opaque theme color. |
| 11302 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 11303 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11304 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11305 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11306 | }, |
| 11307 | }, |
| 11308 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11309 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 11310 | # |
| 11311 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 11312 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 11313 | # The `font_size` itself is not affected by changes in this field. |
| 11314 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 11315 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 11316 | # |
| 11317 | # This field is an extension of `font_family` meant to support explicit font |
| 11318 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 11319 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 11320 | # will always be equal to that of `font_family`. However, when writing, if |
| 11321 | # both fields are included in the field mask (either explicitly or through |
| 11322 | # the wildcard `"*"`), their values are reconciled as follows: |
| 11323 | # |
| 11324 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 11325 | # `font_family` is applied with weight `400` ("normal"). |
| 11326 | # * If both fields are set, the value of `font_family` must match that of |
| 11327 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 11328 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 11329 | # returned. |
| 11330 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 11331 | # family and weight of `weighted_font_family` is applied. |
| 11332 | # * If neither field is set, the font family and weight of the text inherit |
| 11333 | # from the parent. Note that these properties cannot inherit separately |
| 11334 | # from each other. |
| 11335 | # |
| 11336 | # If an update request specifies values for both `weighted_font_family` and |
| 11337 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 11338 | # |
| 11339 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 11340 | # |
| 11341 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 11342 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 11343 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 11344 | "fontFamily": "A String", # The font family of the text. |
| 11345 | # |
| 11346 | # The font family can be any font from the Font menu in Slides or from |
| 11347 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 11348 | # unrecognized, the text is rendered in `Arial`. |
| 11349 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 11350 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 11351 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11352 | # Specification, |
| 11353 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 11354 | # with non-numerical values disallowed. Weights greater than or equal to |
| 11355 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 11356 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 11357 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11358 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 11359 | "fontFamily": "A String", # The font family of the text. |
| 11360 | # |
| 11361 | # The font family can be any font from the Font menu in Slides or from |
| 11362 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 11363 | # unrecognized, the text is rendered in `Arial`. |
| 11364 | # |
| 11365 | # Some fonts can affect the weight of the text. If an update request |
| 11366 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 11367 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11368 | "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 |
| 11369 | # points. |
| 11370 | "magnitude": 3.14, # The magnitude. |
| 11371 | "unit": "A String", # The units for magnitude. |
| 11372 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 11373 | "italic": True or False, # Whether or not the text is italicized. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11374 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 11375 | # are not inherited from parent text. |
| 11376 | # |
| 11377 | # Changing the link in an update request causes some other changes to the |
| 11378 | # text style of the range: |
| 11379 | # |
| 11380 | # * When setting a link, the text foreground color will be set to |
| 11381 | # ThemeColorType.HYPERLINK and the text will |
| 11382 | # be underlined. If these fields are modified in the same |
| 11383 | # request, those values will be used instead of the link defaults. |
| 11384 | # * Setting a link on a text range that overlaps with an existing link will |
| 11385 | # also update the existing link to point to the new URL. |
| 11386 | # * Links are not settable on newline characters. As a result, setting a link |
| 11387 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 11388 | # will separate the newline character(s) into their own text runs. The |
| 11389 | # link will be applied separately to the runs before and after the newline. |
| 11390 | # * Removing a link will update the text style of the range to match the |
| 11391 | # style of the preceding text (or the default text styles if the preceding |
| 11392 | # text is another link) unless different styles are being set in the same |
| 11393 | # request. |
| 11394 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 11395 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 11396 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 11397 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 11398 | # 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] | 11399 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 11400 | # addressed by its position. |
| 11401 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 11402 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11403 | "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] | 11404 | }, |
| 11405 | }, |
| 11406 | }, |
| 11407 | ], |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11408 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 11409 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 11410 | # associated with a list. A paragraph that is part of a list has an implicit |
| 11411 | # reference to that list's ID. |
| 11412 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 11413 | # level. A list has at most nine levels of nesting, so the possible values |
| 11414 | # for the keys of this map are 0 through 8, inclusive. |
| 11415 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 11416 | # level of nesting. |
| 11417 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 11418 | # |
| 11419 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 11420 | # inherited from the parent. Which text styles are inherited depend on the |
| 11421 | # nesting level of lists: |
| 11422 | # |
| 11423 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 11424 | # from the the newline character in the paragraph at the 0 nesting level of |
| 11425 | # the list inside the parent placeholder. |
| 11426 | # * A text run in a paragraph that is in a list will inherit its text style |
| 11427 | # from the newline character in the paragraph at its corresponding nesting |
| 11428 | # level of the list inside the parent placeholder. |
| 11429 | # |
| 11430 | # Inherited text styles are represented as unset fields in this message. If |
| 11431 | # text is contained in a shape without a parent placeholder, unsetting these |
| 11432 | # fields will revert the style to a value matching the defaults in the Slides |
| 11433 | # editor. |
| 11434 | "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 |
| 11435 | # transparent, depending on if the `opaque_color` field in it is set. |
| 11436 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 11437 | # a transparent color. |
| 11438 | "themeColor": "A String", # An opaque theme color. |
| 11439 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 11440 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11441 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11442 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11443 | }, |
| 11444 | }, |
| 11445 | }, |
| 11446 | "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 |
| 11447 | # transparent, depending on if the `opaque_color` field in it is set. |
| 11448 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 11449 | # a transparent color. |
| 11450 | "themeColor": "A String", # An opaque theme color. |
| 11451 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 11452 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11453 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11454 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11455 | }, |
| 11456 | }, |
| 11457 | }, |
| 11458 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 11459 | # |
| 11460 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 11461 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 11462 | # The `font_size` itself is not affected by changes in this field. |
| 11463 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 11464 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 11465 | # |
| 11466 | # This field is an extension of `font_family` meant to support explicit font |
| 11467 | # weights without breaking backwards compatibility. As such, when reading the |
| 11468 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 11469 | # will always be equal to that of `font_family`. However, when writing, if |
| 11470 | # both fields are included in the field mask (either explicitly or through |
| 11471 | # the wildcard `"*"`), their values are reconciled as follows: |
| 11472 | # |
| 11473 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 11474 | # `font_family` is applied with weight `400` ("normal"). |
| 11475 | # * If both fields are set, the value of `font_family` must match that of |
| 11476 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 11477 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 11478 | # returned. |
| 11479 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 11480 | # family and weight of `weighted_font_family` is applied. |
| 11481 | # * If neither field is set, the font family and weight of the text inherit |
| 11482 | # from the parent. Note that these properties cannot inherit separately |
| 11483 | # from each other. |
| 11484 | # |
| 11485 | # If an update request specifies values for both `weighted_font_family` and |
| 11486 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 11487 | # |
| 11488 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 11489 | # |
| 11490 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 11491 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 11492 | # is returned. |
| 11493 | "fontFamily": "A String", # The font family of the text. |
| 11494 | # |
| 11495 | # The font family can be any font from the Font menu in Slides or from |
| 11496 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 11497 | # unrecognized, the text is rendered in `Arial`. |
| 11498 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 11499 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 11500 | # corresponds to the numerical values described in the CSS 2.1 |
| 11501 | # Specification, |
| 11502 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 11503 | # with non-numerical values disallowed. Weights greater than or equal to |
| 11504 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 11505 | # default value is `400` ("normal"). |
| 11506 | }, |
| 11507 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 11508 | "fontFamily": "A String", # The font family of the text. |
| 11509 | # |
| 11510 | # The font family can be any font from the Font menu in Slides or from |
| 11511 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 11512 | # unrecognized, the text is rendered in `Arial`. |
| 11513 | # |
| 11514 | # Some fonts can affect the weight of the text. If an update request |
| 11515 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 11516 | # `bold` value is used. |
| 11517 | "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 |
| 11518 | # points. |
| 11519 | "magnitude": 3.14, # The magnitude. |
| 11520 | "unit": "A String", # The units for magnitude. |
| 11521 | }, |
| 11522 | "italic": True or False, # Whether or not the text is italicized. |
| 11523 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 11524 | # are not inherited from parent text. |
| 11525 | # |
| 11526 | # Changing the link in an update request causes some other changes to the |
| 11527 | # text style of the range: |
| 11528 | # |
| 11529 | # * When setting a link, the text foreground color will be set to |
| 11530 | # ThemeColorType.HYPERLINK and the text will |
| 11531 | # be underlined. If these fields are modified in the same |
| 11532 | # request, those values will be used instead of the link defaults. |
| 11533 | # * Setting a link on a text range that overlaps with an existing link will |
| 11534 | # also update the existing link to point to the new URL. |
| 11535 | # * Links are not settable on newline characters. As a result, setting a link |
| 11536 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 11537 | # will separate the newline character(s) into their own text runs. The |
| 11538 | # link will be applied separately to the runs before and after the newline. |
| 11539 | # * Removing a link will update the text style of the range to match the |
| 11540 | # style of the preceding text (or the default text styles if the preceding |
| 11541 | # text is another link) unless different styles are being set in the same |
| 11542 | # request. |
| 11543 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 11544 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 11545 | # in the presentation. There may not be a slide at this index. |
| 11546 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 11547 | # presentation with this ID. A page with this ID may not exist. |
| 11548 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 11549 | # addressed by its position. |
| 11550 | }, |
| 11551 | "underline": True or False, # Whether or not the text is underlined. |
| 11552 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 11553 | }, |
| 11554 | }, |
| 11555 | }, |
| 11556 | "listId": "A String", # The ID of the list. |
| 11557 | }, |
| 11558 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11559 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11560 | "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell. |
| 11561 | "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill |
| 11562 | # for newly created table cells in the Slides editor. |
| 11563 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 11564 | # specified color value. |
| 11565 | # |
| 11566 | # If any field is unset, its value may be inherited from a parent placeholder |
| 11567 | # if it exists. |
| 11568 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 11569 | "themeColor": "A String", # An opaque theme color. |
| 11570 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 11571 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11572 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11573 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11574 | }, |
| 11575 | }, |
| 11576 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 11577 | # That is, the final pixel color is defined by the equation: |
| 11578 | # |
| 11579 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 11580 | # |
| 11581 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 11582 | # a value of 0.0 corresponds to a completely transparent color. |
| 11583 | }, |
| 11584 | "propertyState": "A String", # The background fill property state. |
| 11585 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11586 | # Updating the fill on a table cell will implicitly update this field |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11587 | # to `RENDERED`, unless another value is specified in the same request. To |
| 11588 | # have no fill on a table cell, set this field to `NOT_RENDERED`. In this |
| 11589 | # case, any other fill fields set in the same request will be ignored. |
| 11590 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11591 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 11592 | # matches the alignment for newly created table cells in the Slides editor. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11593 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 11594 | "rowSpan": 42, # Row span of the cell. |
| 11595 | "columnSpan": 42, # Column span of the cell. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11596 | "location": { # A location of a single table cell within a table. # The location of the cell within the table. |
| 11597 | "rowIndex": 42, # The 0-based row index. |
| 11598 | "columnIndex": 42, # The 0-based column index. |
| 11599 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11600 | }, |
| 11601 | ], |
| 11602 | "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row. |
| 11603 | "magnitude": 3.14, # The magnitude. |
| 11604 | "unit": "A String", # The units for magnitude. |
| 11605 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11606 | "tableRowProperties": { # Properties of each row in a table. # Properties of the row. |
| 11607 | "minRowHeight": { # A magnitude in a single direction in the specified units. # Minimum height of the row. The row will be rendered in the Slides editor at |
| 11608 | # a height equal to or greater than this value in order to show all the text |
| 11609 | # in the row's cell(s). |
| 11610 | "magnitude": 3.14, # The magnitude. |
| 11611 | "unit": "A String", # The units for magnitude. |
| 11612 | }, |
| 11613 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11614 | }, |
| 11615 | ], |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11616 | "columns": 42, # Number of columns in the table. |
| 11617 | }, |
| 11618 | "line": { # A PageElement kind representing a # A line page element. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11619 | # non-connector line, straight connector, curved connector, or bent connector. |
| 11620 | "lineCategory": "A String", # The category of the line. |
| 11621 | # |
| 11622 | # It matches the `category` specified in CreateLineRequest, and can be updated with |
| 11623 | # UpdateLineCategoryRequest. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11624 | "lineProperties": { # The properties of the Line. # The properties of the line. |
| 11625 | # |
| 11626 | # When unset, these fields default to values that match the appearance of |
| 11627 | # new lines created in the Slides editor. |
| 11628 | "dashStyle": "A String", # The dash style of the line. |
| 11629 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line. |
| 11630 | "magnitude": 3.14, # The magnitude. |
| 11631 | "unit": "A String", # The units for magnitude. |
| 11632 | }, |
| 11633 | "endArrow": "A String", # The style of the arrow at the end of the line. |
| 11634 | "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link. |
| 11635 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 11636 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 11637 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 11638 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 11639 | # 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] | 11640 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 11641 | # addressed by its position. |
| 11642 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11643 | "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new |
| 11644 | # lines created in the Slides editor. |
| 11645 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 11646 | # specified color value. |
| 11647 | # |
| 11648 | # If any field is unset, its value may be inherited from a parent placeholder |
| 11649 | # if it exists. |
| 11650 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 11651 | "themeColor": "A String", # An opaque theme color. |
| 11652 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 11653 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11654 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11655 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11656 | }, |
| 11657 | }, |
| 11658 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 11659 | # That is, the final pixel color is defined by the equation: |
| 11660 | # |
| 11661 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 11662 | # |
| 11663 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 11664 | # a value of 0.0 corresponds to a completely transparent color. |
| 11665 | }, |
| 11666 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11667 | "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no |
| 11668 | # connection. |
| 11669 | # |
| 11670 | # Only lines with a Type indicating it is |
| 11671 | # a "connector" can have a `start_connection`. |
| 11672 | # connection. |
| 11673 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 11674 | # |
| 11675 | # In most cases, it corresponds to the predefined connection site index from |
| 11676 | # the ECMA-376 standard. More information on those connection sites can be |
| 11677 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 11678 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 11679 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 11680 | # [ECMA-376 5th edition] |
| 11681 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 11682 | # |
| 11683 | # The position of each connection site can also be viewed from Slides editor. |
| 11684 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 11685 | # |
| 11686 | # Some page elements, such as groups, tables, and lines |
| 11687 | # do not have connection sites and therefore cannot be connected to a |
| 11688 | # connector line. |
| 11689 | }, |
| 11690 | "endConnection": { # The properties for one end of a Line # The connection at the end of the line. If unset, there is no connection. |
| 11691 | # |
| 11692 | # Only lines with a Type indicating it is |
| 11693 | # a "connector" can have an `end_connection`. |
| 11694 | # connection. |
| 11695 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 11696 | # |
| 11697 | # In most cases, it corresponds to the predefined connection site index from |
| 11698 | # the ECMA-376 standard. More information on those connection sites can be |
| 11699 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 11700 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 11701 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 11702 | # [ECMA-376 5th edition] |
| 11703 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 11704 | # |
| 11705 | # The position of each connection site can also be viewed from Slides editor. |
| 11706 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 11707 | # |
| 11708 | # Some page elements, such as groups, tables, and lines |
| 11709 | # do not have connection sites and therefore cannot be connected to a |
| 11710 | # connector line. |
| 11711 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 11712 | "startArrow": "A String", # The style of the arrow at the beginning of the line. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11713 | }, |
| 11714 | "lineType": "A String", # The type of the line. |
| 11715 | }, |
| 11716 | "size": { # A width and height. # The size of the page element. |
| 11717 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 11718 | "magnitude": 3.14, # The magnitude. |
| 11719 | "unit": "A String", # The units for magnitude. |
| 11720 | }, |
| 11721 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 11722 | "magnitude": 3.14, # The magnitude. |
| 11723 | "unit": "A String", # The units for magnitude. |
| 11724 | }, |
| 11725 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11726 | "description": "A String", # The description of the page element. Combined with title to display alt |
| 11727 | # text. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11728 | }, |
| 11729 | ], |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 11730 | "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES. |
| 11731 | # relevant for pages with page_type NOTES. |
| 11732 | "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker |
| 11733 | # notes for the corresponding slide. |
| 11734 | # The actual shape may not always exist on the notes page. Inserting text |
| 11735 | # using this object ID will automatically create the shape. In this case, the |
| 11736 | # actual shape may have different object ID. The `GetPresentation` or |
| 11737 | # `GetPage` action will always return the latest object ID. |
| 11738 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11739 | "objectId": "A String", # The object ID for this page. Object IDs used by |
| 11740 | # Page and |
| 11741 | # PageElement share the same namespace. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 11742 | "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in |
| 11743 | # update requests to assert that the presentation revision hasn't changed |
| 11744 | # since the last read operation. Only populated if the user has edit access |
| 11745 | # to the presentation. |
| 11746 | # |
| 11747 | # The format of the revision ID may change over time, so it should be treated |
| 11748 | # opaquely. A returned revision ID is only guaranteed to be valid for 24 |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 11749 | # hours after it has been returned and cannot be shared across users. If the |
| 11750 | # revision ID is unchanged between calls, then the presentation has not |
| 11751 | # changed. Conversely, a changed ID (for the same presentation and user) |
| 11752 | # usually means the presentation has been updated; however, a changed ID can |
| 11753 | # also be due to internal factors such as ID format changes. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11754 | "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER. |
| 11755 | # relevant for pages with page_type MASTER. |
| 11756 | "displayName": "A String", # The human-readable name of the master. |
| 11757 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11758 | "pageProperties": { # The properties of the Page. # The properties of the page. |
| 11759 | # |
| 11760 | # The page will inherit properties from the parent page. Depending on the page |
| 11761 | # type the hierarchy is defined in either |
| 11762 | # SlideProperties or |
| 11763 | # LayoutProperties. |
| 11764 | "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited |
| 11765 | # from a parent page if it exists. If the page has no parent, then the |
| 11766 | # background fill defaults to the corresponding fill in the Slides editor. |
| 11767 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 11768 | # specified color value. |
| 11769 | # |
| 11770 | # If any field is unset, its value may be inherited from a parent placeholder |
| 11771 | # if it exists. |
| 11772 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 11773 | "themeColor": "A String", # An opaque theme color. |
| 11774 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 11775 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11776 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11777 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11778 | }, |
| 11779 | }, |
| 11780 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 11781 | # That is, the final pixel color is defined by the equation: |
| 11782 | # |
| 11783 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 11784 | # |
| 11785 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 11786 | # a value of 0.0 corresponds to a completely transparent color. |
| 11787 | }, |
| 11788 | "propertyState": "A String", # The background fill property state. |
| 11789 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11790 | # Updating the fill on a page will implicitly update this field to |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11791 | # `RENDERED`, unless another value is specified in the same request. To |
| 11792 | # have no fill on a page, set this field to `NOT_RENDERED`. In this case, |
| 11793 | # any other fill fields set in the same request will be ignored. |
| 11794 | "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill. |
| 11795 | # the specified picture. The picture is stretched to fit its container. |
| 11796 | "contentUrl": "A String", # Reading the content_url: |
| 11797 | # |
| 11798 | # An URL to a picture with a default lifetime of 30 minutes. |
| 11799 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 11800 | # effectively accesses the picture as the original requester. Access to the |
| 11801 | # picture may be lost if the presentation's sharing settings change. |
| 11802 | # |
| 11803 | # Writing the content_url: |
| 11804 | # |
| 11805 | # The picture is fetched once at insertion time and a copy is stored for |
| 11806 | # display inside the presentation. Pictures must be less than 50MB in size, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11807 | # cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11808 | # format. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11809 | # |
| 11810 | # The provided URL can be at most 2 kB in length. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11811 | "size": { # A width and height. # The original size of the picture fill. This field is read-only. |
| 11812 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 11813 | "magnitude": 3.14, # The magnitude. |
| 11814 | "unit": "A String", # The units for magnitude. |
| 11815 | }, |
| 11816 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 11817 | "magnitude": 3.14, # The magnitude. |
| 11818 | "unit": "A String", # The units for magnitude. |
| 11819 | }, |
| 11820 | }, |
| 11821 | }, |
| 11822 | }, |
| 11823 | "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from |
| 11824 | # a parent page. If the page has no parent, the color scheme uses a default |
| 11825 | # Slides color scheme. This field is read-only. |
| 11826 | "colors": [ # The ThemeColorType and corresponding concrete color pairs. |
| 11827 | { # A pair mapping a theme color type to the concrete color it represents. |
| 11828 | "color": { # An RGB color. # The concrete color corresponding to the theme color type above. |
| 11829 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11830 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11831 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11832 | }, |
| 11833 | "type": "A String", # The type of the theme color. |
| 11834 | }, |
| 11835 | ], |
| 11836 | }, |
| 11837 | }, |
| 11838 | "pageType": "A String", # The type of the page. |
| 11839 | "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE. |
| 11840 | # relevant for pages with page_type SLIDE. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 11841 | "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual |
| 11842 | # appearance of a notes page when printing or exporting slides with speaker |
| 11843 | # notes. A notes page inherits properties from the |
| 11844 | # notes master. |
| 11845 | # The placeholder shape with type BODY on the notes page contains the speaker |
| 11846 | # notes for this slide. The ID of this shape is identified by the |
| 11847 | # speakerNotesObjectId field. |
| 11848 | # The notes page is read-only except for the text content and styles of the |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11849 | # speaker notes shape. This property is read-only. |
| 11850 | "masterObjectId": "A String", # The object ID of the master that this slide is based on. This property is |
| 11851 | # read-only. |
| 11852 | "layoutObjectId": "A String", # The object ID of the layout that this slide is based on. This property is |
| 11853 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 11854 | }, |
| 11855 | }, |
| 11856 | ], |
| 11857 | } |
| 11858 | |
| 11859 | x__xgafv: string, V1 error format. |
| 11860 | Allowed values |
| 11861 | 1 - v1 error format |
| 11862 | 2 - v2 error format |
| 11863 | |
| 11864 | Returns: |
| 11865 | An object of the form: |
| 11866 | |
| 11867 | { # A Google Slides presentation. |
| 11868 | "presentationId": "A String", # The ID of the presentation. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11869 | "masters": [ # The slide masters in the presentation. A slide master contains all common |
| 11870 | # page elements and the common properties for a set of layouts. They serve |
| 11871 | # three purposes: |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 11872 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11873 | # - Placeholder shapes on a master contain the default text styles and shape |
| 11874 | # properties of all placeholder shapes on pages that use that master. |
| 11875 | # - The master page properties define the common page properties inherited by |
| 11876 | # its layouts. |
| 11877 | # - Any other shapes on the master slide will appear on all slides using that |
| 11878 | # master, regardless of their layout. |
| 11879 | { # A page in a presentation. |
| 11880 | "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT. |
| 11881 | # relevant for pages with page_type LAYOUT. |
| 11882 | "displayName": "A String", # The human-readable name of the layout. |
| 11883 | "name": "A String", # The name of the layout. |
| 11884 | "masterObjectId": "A String", # The object ID of the master that this layout is based on. |
| 11885 | }, |
| 11886 | "pageElements": [ # The page elements rendered on the page. |
| 11887 | { # A visual element rendered on a page. |
| 11888 | "wordArt": { # A PageElement kind representing # A word art page element. |
| 11889 | # word art. |
| 11890 | "renderedText": "A String", # The text rendered as word art. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 11891 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11892 | "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit. |
| 11893 | # joined collection of PageElements. |
| 11894 | "children": [ # The collection of elements in the group. The minimum size of a group is 2. |
| 11895 | # Object with schema name: PageElement |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 11896 | ], |
| 11897 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11898 | "objectId": "A String", # The object ID for this page element. Object IDs used by |
| 11899 | # google.apps.slides.v1.Page and |
| 11900 | # google.apps.slides.v1.PageElement share the same namespace. |
| 11901 | "title": "A String", # The title of the page element. Combined with description to display alt |
| 11902 | # text. |
| 11903 | "image": { # A PageElement kind representing an # An image page element. |
| 11904 | # image. |
| 11905 | "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes. |
| 11906 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 11907 | # effectively accesses the image as the original requester. Access to the |
| 11908 | # image may be lost if the presentation's sharing settings change. |
| 11909 | "imageProperties": { # The properties of the Image. # The properties of the image. |
| 11910 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 11911 | # |
| 11912 | # If these fields are unset, they may be inherited from a parent placeholder |
| 11913 | # if it exists. If there is no parent, the fields will default to the value |
| 11914 | # used for new page elements created in the Slides editor, which may depend on |
| 11915 | # the page element kind. |
| 11916 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 11917 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 11918 | # specified color value. |
| 11919 | # |
| 11920 | # If any field is unset, its value may be inherited from a parent placeholder |
| 11921 | # if it exists. |
| 11922 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 11923 | "themeColor": "A String", # An opaque theme color. |
| 11924 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 11925 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11926 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11927 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11928 | }, |
| 11929 | }, |
| 11930 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 11931 | # That is, the final pixel color is defined by the equation: |
| 11932 | # |
| 11933 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 11934 | # |
| 11935 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 11936 | # a value of 0.0 corresponds to a completely transparent color. |
| 11937 | }, |
| 11938 | }, |
| 11939 | "propertyState": "A String", # The outline property state. |
| 11940 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 11941 | # Updating the outline on a page element will implicitly update this field |
| 11942 | # to `RENDERED`, unless another value is specified in the same request. To |
| 11943 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 11944 | # this case, any other outline fields set in the same request will be |
| 11945 | # ignored. |
| 11946 | "dashStyle": "A String", # The dash style of the outline. |
| 11947 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 11948 | "magnitude": 3.14, # The magnitude. |
| 11949 | "unit": "A String", # The units for magnitude. |
| 11950 | }, |
| 11951 | }, |
| 11952 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 11953 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 11954 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 11955 | # This property is read-only. |
| 11956 | "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color |
| 11957 | # stops. |
| 11958 | # |
| 11959 | # The colors in the gradient will replace the corresponding colors at |
| 11960 | # the same position in the color palette and apply to the image. This |
| 11961 | # property is read-only. |
| 11962 | { # A color and position in a gradient band. |
| 11963 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 11964 | "themeColor": "A String", # An opaque theme color. |
| 11965 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 11966 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11967 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11968 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11969 | }, |
| 11970 | }, |
| 11971 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 11972 | # fully opaque. |
| 11973 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 11974 | # in percentage. The value should be in the interval [0.0, 1.0]. |
| 11975 | }, |
| 11976 | ], |
| 11977 | "name": "A String", # The name of the recolor effect. |
| 11978 | # |
| 11979 | # The name is determined from the `recolor_stops` by matching the gradient |
| 11980 | # against the colors in the page's current color scheme. This property is |
| 11981 | # read-only. |
| 11982 | }, |
| 11983 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 11984 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 11985 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 11986 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 11987 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 11988 | # presentation with this ID. A page with this ID may not exist. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 11989 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 11990 | # addressed by its position. |
| 11991 | }, |
| 11992 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 11993 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 11994 | # This property is read-only. |
| 11995 | "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. |
| 11996 | # This property is read-only. |
| 11997 | # Image. |
| 11998 | # |
| 11999 | # The crop properties is represented by the offsets of four edges which define |
| 12000 | # a crop rectangle. The offsets are measured in percentage from the |
| 12001 | # corresponding edges of the object's original bounding rectangle towards |
| 12002 | # inside, relative to the object's original dimensions. |
| 12003 | # |
| 12004 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 12005 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 12006 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 12007 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 12008 | # - If the left edge of the crop rectangle is on the right side of its right |
| 12009 | # edge, the object will be flipped horizontally. |
| 12010 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 12011 | # will be flipped vertically. |
| 12012 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 12013 | # |
| 12014 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 12015 | # its container. |
| 12016 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 12017 | # the right of the original bounding rectangle left edge, relative to the |
| 12018 | # object's original width. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 12019 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 12020 | # above the original bounding rectangle bottom edge, relative to the object's |
| 12021 | # original height. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 12022 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 12023 | # Rotation angle is applied after the offset. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 12024 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 12025 | # to the left of the original bounding rectangle right edge, relative to the |
| 12026 | # object's original width. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 12027 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 12028 | # below the original bounding rectangle top edge, relative to the object's |
| 12029 | # original height. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 12030 | }, |
| 12031 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 12032 | # is read-only. |
| 12033 | # |
| 12034 | # If these fields are unset, they may be inherited from a parent placeholder |
| 12035 | # if it exists. If there is no parent, the fields will default to the value |
| 12036 | # used for new page elements created in the Slides editor, which may depend on |
| 12037 | # the page element kind. |
| 12038 | "color": { # A themeable solid color value. # The shadow color value. |
| 12039 | "themeColor": "A String", # An opaque theme color. |
| 12040 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 12041 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12042 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12043 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12044 | }, |
| 12045 | }, |
| 12046 | "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, |
| 12047 | # relative to the alignment position. |
| 12048 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 12049 | # according to: |
| 12050 | # |
| 12051 | # x' x = shear_y scale_y translate_y |
| 12052 | # 1 [ 1 ] |
| 12053 | # |
| 12054 | # After transformation, |
| 12055 | # |
| 12056 | # x' = scale_x * x + shear_x * y + translate_x; |
| 12057 | # y' = scale_y * y + shear_y * x + translate_y; |
| 12058 | # |
| 12059 | # This message is therefore composed of these six matrix elements. |
| 12060 | "translateX": 3.14, # The X coordinate translation element. |
| 12061 | "translateY": 3.14, # The Y coordinate translation element. |
| 12062 | "scaleX": 3.14, # The X coordinate scaling element. |
| 12063 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 12064 | "shearY": 3.14, # The Y coordinate shearing element. |
| 12065 | "shearX": 3.14, # The X coordinate shearing element. |
| 12066 | "unit": "A String", # The units for translate elements. |
| 12067 | }, |
| 12068 | "propertyState": "A String", # The shadow property state. |
| 12069 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 12070 | # Updating the shadow on a page element will implicitly update this field to |
| 12071 | # `RENDERED`, unless another value is specified in the same request. To have |
| 12072 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 12073 | # case, any other shadow fields set in the same request will be ignored. |
| 12074 | "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 |
| 12075 | # shadow becomes. |
| 12076 | "magnitude": 3.14, # The magnitude. |
| 12077 | "unit": "A String", # The units for magnitude. |
| 12078 | }, |
| 12079 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 12080 | "type": "A String", # The type of the shadow. This property is read-only. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 12081 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 12082 | # scale and skew of the shadow. This property is read-only. |
| 12083 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 12084 | # read-only. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 12085 | }, |
| 12086 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 12087 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 12088 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 12089 | "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be |
| 12090 | # empty. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 12091 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 12092 | "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element. |
| 12093 | # |
| 12094 | # The visual appearance of the page element is determined by its absolute |
| 12095 | # transform. To compute the absolute transform, preconcatenate a page |
| 12096 | # element's transform with the transforms of all of its parent groups. If the |
| 12097 | # page element is not in a group, its absolute transform is the same as the |
| 12098 | # value in this field. |
| 12099 | # |
| 12100 | # The initial transform for the newly created Group is always the identity transform. |
| 12101 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 12102 | # according to: |
| 12103 | # |
| 12104 | # x' x = shear_y scale_y translate_y |
| 12105 | # 1 [ 1 ] |
| 12106 | # |
| 12107 | # After transformation, |
| 12108 | # |
| 12109 | # x' = scale_x * x + shear_x * y + translate_x; |
| 12110 | # y' = scale_y * y + shear_y * x + translate_y; |
| 12111 | # |
| 12112 | # This message is therefore composed of these six matrix elements. |
| 12113 | "translateX": 3.14, # The X coordinate translation element. |
| 12114 | "translateY": 3.14, # The Y coordinate translation element. |
| 12115 | "scaleX": 3.14, # The X coordinate scaling element. |
| 12116 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 12117 | "shearY": 3.14, # The Y coordinate shearing element. |
| 12118 | "shearX": 3.14, # The X coordinate shearing element. |
| 12119 | "unit": "A String", # The units for translate elements. |
| 12120 | }, |
| 12121 | "shape": { # A PageElement kind representing a # A generic shape. |
| 12122 | # generic shape that does not have a more specific classification. |
| 12123 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape. |
| 12124 | # text box or rectangle) or a table cell in a page. |
| 12125 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 12126 | # information. This property is read-only. |
| 12127 | { # A TextElement describes the content of a range of indices in the text content |
| 12128 | # of a Shape or TableCell. |
| 12129 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 12130 | # replaced with content that can change over time. |
| 12131 | "content": "A String", # The rendered content of this auto text, if available. |
| 12132 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 12133 | # |
| 12134 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 12135 | # inherited from the parent. Which text styles are inherited depend on the |
| 12136 | # nesting level of lists: |
| 12137 | # |
| 12138 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 12139 | # from the the newline character in the paragraph at the 0 nesting level of |
| 12140 | # the list inside the parent placeholder. |
| 12141 | # * A text run in a paragraph that is in a list will inherit its text style |
| 12142 | # from the newline character in the paragraph at its corresponding nesting |
| 12143 | # level of the list inside the parent placeholder. |
| 12144 | # |
| 12145 | # Inherited text styles are represented as unset fields in this message. If |
| 12146 | # text is contained in a shape without a parent placeholder, unsetting these |
| 12147 | # fields will revert the style to a value matching the defaults in the Slides |
| 12148 | # editor. |
| 12149 | "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 |
| 12150 | # transparent, depending on if the `opaque_color` field in it is set. |
| 12151 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 12152 | # a transparent color. |
| 12153 | "themeColor": "A String", # An opaque theme color. |
| 12154 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 12155 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12156 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12157 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12158 | }, |
| 12159 | }, |
| 12160 | }, |
| 12161 | "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 |
| 12162 | # transparent, depending on if the `opaque_color` field in it is set. |
| 12163 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 12164 | # a transparent color. |
| 12165 | "themeColor": "A String", # An opaque theme color. |
| 12166 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 12167 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12168 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12169 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12170 | }, |
| 12171 | }, |
| 12172 | }, |
| 12173 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 12174 | # |
| 12175 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 12176 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 12177 | # The `font_size` itself is not affected by changes in this field. |
| 12178 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 12179 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 12180 | # |
| 12181 | # This field is an extension of `font_family` meant to support explicit font |
| 12182 | # weights without breaking backwards compatibility. As such, when reading the |
| 12183 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 12184 | # will always be equal to that of `font_family`. However, when writing, if |
| 12185 | # both fields are included in the field mask (either explicitly or through |
| 12186 | # the wildcard `"*"`), their values are reconciled as follows: |
| 12187 | # |
| 12188 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 12189 | # `font_family` is applied with weight `400` ("normal"). |
| 12190 | # * If both fields are set, the value of `font_family` must match that of |
| 12191 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 12192 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 12193 | # returned. |
| 12194 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 12195 | # family and weight of `weighted_font_family` is applied. |
| 12196 | # * If neither field is set, the font family and weight of the text inherit |
| 12197 | # from the parent. Note that these properties cannot inherit separately |
| 12198 | # from each other. |
| 12199 | # |
| 12200 | # If an update request specifies values for both `weighted_font_family` and |
| 12201 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 12202 | # |
| 12203 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 12204 | # |
| 12205 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 12206 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 12207 | # is returned. |
| 12208 | "fontFamily": "A String", # The font family of the text. |
| 12209 | # |
| 12210 | # The font family can be any font from the Font menu in Slides or from |
| 12211 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 12212 | # unrecognized, the text is rendered in `Arial`. |
| 12213 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 12214 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 12215 | # corresponds to the numerical values described in the CSS 2.1 |
| 12216 | # Specification, |
| 12217 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 12218 | # with non-numerical values disallowed. Weights greater than or equal to |
| 12219 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 12220 | # default value is `400` ("normal"). |
| 12221 | }, |
| 12222 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 12223 | "fontFamily": "A String", # The font family of the text. |
| 12224 | # |
| 12225 | # The font family can be any font from the Font menu in Slides or from |
| 12226 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 12227 | # unrecognized, the text is rendered in `Arial`. |
| 12228 | # |
| 12229 | # Some fonts can affect the weight of the text. If an update request |
| 12230 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 12231 | # `bold` value is used. |
| 12232 | "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 |
| 12233 | # points. |
| 12234 | "magnitude": 3.14, # The magnitude. |
| 12235 | "unit": "A String", # The units for magnitude. |
| 12236 | }, |
| 12237 | "italic": True or False, # Whether or not the text is italicized. |
| 12238 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 12239 | # are not inherited from parent text. |
| 12240 | # |
| 12241 | # Changing the link in an update request causes some other changes to the |
| 12242 | # text style of the range: |
| 12243 | # |
| 12244 | # * When setting a link, the text foreground color will be set to |
| 12245 | # ThemeColorType.HYPERLINK and the text will |
| 12246 | # be underlined. If these fields are modified in the same |
| 12247 | # request, those values will be used instead of the link defaults. |
| 12248 | # * Setting a link on a text range that overlaps with an existing link will |
| 12249 | # also update the existing link to point to the new URL. |
| 12250 | # * Links are not settable on newline characters. As a result, setting a link |
| 12251 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 12252 | # will separate the newline character(s) into their own text runs. The |
| 12253 | # link will be applied separately to the runs before and after the newline. |
| 12254 | # * Removing a link will update the text style of the range to match the |
| 12255 | # style of the preceding text (or the default text styles if the preceding |
| 12256 | # text is another link) unless different styles are being set in the same |
| 12257 | # request. |
| 12258 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 12259 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 12260 | # in the presentation. There may not be a slide at this index. |
| 12261 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 12262 | # presentation with this ID. A page with this ID may not exist. |
| 12263 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 12264 | # addressed by its position. |
| 12265 | }, |
| 12266 | "underline": True or False, # Whether or not the text is underlined. |
| 12267 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 12268 | }, |
| 12269 | "type": "A String", # The type of this auto text. |
| 12270 | }, |
| 12271 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 12272 | # units. |
| 12273 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 12274 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 12275 | # |
| 12276 | # The `start_index` and `end_index` of this TextElement represent the |
| 12277 | # range of the paragraph. Other TextElements with an index range contained |
| 12278 | # inside this paragraph's range are considered to be part of this |
| 12279 | # paragraph. The range of indices of two separate paragraphs will never |
| 12280 | # overlap. |
| 12281 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 12282 | # |
| 12283 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 12284 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 12285 | # nesting level of lists: |
| 12286 | # |
| 12287 | # * A paragraph not in a list will inherit its paragraph style from the |
| 12288 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 12289 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 12290 | # at its corresponding nesting level of the list inside the parent |
| 12291 | # placeholder. |
| 12292 | # |
| 12293 | # Inherited paragraph styles are represented as unset fields in this message. |
| 12294 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 12295 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 12296 | # LEFT_TO_RIGHT since |
| 12297 | # text direction is not inherited. |
| 12298 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 12299 | # inherited from the parent. |
| 12300 | "magnitude": 3.14, # The magnitude. |
| 12301 | "unit": "A String", # The units for magnitude. |
| 12302 | }, |
| 12303 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 12304 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 12305 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 12306 | # the start of the text, based on the current text direction. If unset, the |
| 12307 | # value is inherited from the parent. |
| 12308 | "magnitude": 3.14, # The magnitude. |
| 12309 | "unit": "A String", # The units for magnitude. |
| 12310 | }, |
| 12311 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 12312 | # inherited from the parent. |
| 12313 | "magnitude": 3.14, # The magnitude. |
| 12314 | "unit": "A String", # The units for magnitude. |
| 12315 | }, |
| 12316 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 12317 | # the end of the text, based on the current text direction. If unset, the |
| 12318 | # value is inherited from the parent. |
| 12319 | "magnitude": 3.14, # The magnitude. |
| 12320 | "unit": "A String", # The units for magnitude. |
| 12321 | }, |
| 12322 | "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. |
| 12323 | # If unset, the value is inherited from the parent. |
| 12324 | "magnitude": 3.14, # The magnitude. |
| 12325 | "unit": "A String", # The units for magnitude. |
| 12326 | }, |
| 12327 | "alignment": "A String", # The text alignment for this paragraph. |
| 12328 | }, |
| 12329 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 12330 | # belong to a list. |
| 12331 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 12332 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 12333 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 12334 | # |
| 12335 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 12336 | # inherited from the parent. Which text styles are inherited depend on the |
| 12337 | # nesting level of lists: |
| 12338 | # |
| 12339 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 12340 | # from the the newline character in the paragraph at the 0 nesting level of |
| 12341 | # the list inside the parent placeholder. |
| 12342 | # * A text run in a paragraph that is in a list will inherit its text style |
| 12343 | # from the newline character in the paragraph at its corresponding nesting |
| 12344 | # level of the list inside the parent placeholder. |
| 12345 | # |
| 12346 | # Inherited text styles are represented as unset fields in this message. If |
| 12347 | # text is contained in a shape without a parent placeholder, unsetting these |
| 12348 | # fields will revert the style to a value matching the defaults in the Slides |
| 12349 | # editor. |
| 12350 | "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 |
| 12351 | # transparent, depending on if the `opaque_color` field in it is set. |
| 12352 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 12353 | # a transparent color. |
| 12354 | "themeColor": "A String", # An opaque theme color. |
| 12355 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 12356 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12357 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12358 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12359 | }, |
| 12360 | }, |
| 12361 | }, |
| 12362 | "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 |
| 12363 | # transparent, depending on if the `opaque_color` field in it is set. |
| 12364 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 12365 | # a transparent color. |
| 12366 | "themeColor": "A String", # An opaque theme color. |
| 12367 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 12368 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12369 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12370 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12371 | }, |
| 12372 | }, |
| 12373 | }, |
| 12374 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 12375 | # |
| 12376 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 12377 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 12378 | # The `font_size` itself is not affected by changes in this field. |
| 12379 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 12380 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 12381 | # |
| 12382 | # This field is an extension of `font_family` meant to support explicit font |
| 12383 | # weights without breaking backwards compatibility. As such, when reading the |
| 12384 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 12385 | # will always be equal to that of `font_family`. However, when writing, if |
| 12386 | # both fields are included in the field mask (either explicitly or through |
| 12387 | # the wildcard `"*"`), their values are reconciled as follows: |
| 12388 | # |
| 12389 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 12390 | # `font_family` is applied with weight `400` ("normal"). |
| 12391 | # * If both fields are set, the value of `font_family` must match that of |
| 12392 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 12393 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 12394 | # returned. |
| 12395 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 12396 | # family and weight of `weighted_font_family` is applied. |
| 12397 | # * If neither field is set, the font family and weight of the text inherit |
| 12398 | # from the parent. Note that these properties cannot inherit separately |
| 12399 | # from each other. |
| 12400 | # |
| 12401 | # If an update request specifies values for both `weighted_font_family` and |
| 12402 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 12403 | # |
| 12404 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 12405 | # |
| 12406 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 12407 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 12408 | # is returned. |
| 12409 | "fontFamily": "A String", # The font family of the text. |
| 12410 | # |
| 12411 | # The font family can be any font from the Font menu in Slides or from |
| 12412 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 12413 | # unrecognized, the text is rendered in `Arial`. |
| 12414 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 12415 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 12416 | # corresponds to the numerical values described in the CSS 2.1 |
| 12417 | # Specification, |
| 12418 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 12419 | # with non-numerical values disallowed. Weights greater than or equal to |
| 12420 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 12421 | # default value is `400` ("normal"). |
| 12422 | }, |
| 12423 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 12424 | "fontFamily": "A String", # The font family of the text. |
| 12425 | # |
| 12426 | # The font family can be any font from the Font menu in Slides or from |
| 12427 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 12428 | # unrecognized, the text is rendered in `Arial`. |
| 12429 | # |
| 12430 | # Some fonts can affect the weight of the text. If an update request |
| 12431 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 12432 | # `bold` value is used. |
| 12433 | "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 |
| 12434 | # points. |
| 12435 | "magnitude": 3.14, # The magnitude. |
| 12436 | "unit": "A String", # The units for magnitude. |
| 12437 | }, |
| 12438 | "italic": True or False, # Whether or not the text is italicized. |
| 12439 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 12440 | # are not inherited from parent text. |
| 12441 | # |
| 12442 | # Changing the link in an update request causes some other changes to the |
| 12443 | # text style of the range: |
| 12444 | # |
| 12445 | # * When setting a link, the text foreground color will be set to |
| 12446 | # ThemeColorType.HYPERLINK and the text will |
| 12447 | # be underlined. If these fields are modified in the same |
| 12448 | # request, those values will be used instead of the link defaults. |
| 12449 | # * Setting a link on a text range that overlaps with an existing link will |
| 12450 | # also update the existing link to point to the new URL. |
| 12451 | # * Links are not settable on newline characters. As a result, setting a link |
| 12452 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 12453 | # will separate the newline character(s) into their own text runs. The |
| 12454 | # link will be applied separately to the runs before and after the newline. |
| 12455 | # * Removing a link will update the text style of the range to match the |
| 12456 | # style of the preceding text (or the default text styles if the preceding |
| 12457 | # text is another link) unless different styles are being set in the same |
| 12458 | # request. |
| 12459 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 12460 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 12461 | # in the presentation. There may not be a slide at this index. |
| 12462 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 12463 | # presentation with this ID. A page with this ID may not exist. |
| 12464 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 12465 | # addressed by its position. |
| 12466 | }, |
| 12467 | "underline": True or False, # Whether or not the text is underlined. |
| 12468 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 12469 | }, |
| 12470 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 12471 | }, |
| 12472 | }, |
| 12473 | "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 |
| 12474 | # in the run have the same TextStyle. |
| 12475 | # |
| 12476 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 12477 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 12478 | # In other words, a TextRun will never span multiple paragraphs. |
| 12479 | # styling. |
| 12480 | "content": "A String", # The text of this run. |
| 12481 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 12482 | # |
| 12483 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 12484 | # inherited from the parent. Which text styles are inherited depend on the |
| 12485 | # nesting level of lists: |
| 12486 | # |
| 12487 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 12488 | # from the the newline character in the paragraph at the 0 nesting level of |
| 12489 | # the list inside the parent placeholder. |
| 12490 | # * A text run in a paragraph that is in a list will inherit its text style |
| 12491 | # from the newline character in the paragraph at its corresponding nesting |
| 12492 | # level of the list inside the parent placeholder. |
| 12493 | # |
| 12494 | # Inherited text styles are represented as unset fields in this message. If |
| 12495 | # text is contained in a shape without a parent placeholder, unsetting these |
| 12496 | # fields will revert the style to a value matching the defaults in the Slides |
| 12497 | # editor. |
| 12498 | "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 |
| 12499 | # transparent, depending on if the `opaque_color` field in it is set. |
| 12500 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 12501 | # a transparent color. |
| 12502 | "themeColor": "A String", # An opaque theme color. |
| 12503 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 12504 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12505 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12506 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12507 | }, |
| 12508 | }, |
| 12509 | }, |
| 12510 | "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 |
| 12511 | # transparent, depending on if the `opaque_color` field in it is set. |
| 12512 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 12513 | # a transparent color. |
| 12514 | "themeColor": "A String", # An opaque theme color. |
| 12515 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 12516 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12517 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12518 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12519 | }, |
| 12520 | }, |
| 12521 | }, |
| 12522 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 12523 | # |
| 12524 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 12525 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 12526 | # The `font_size` itself is not affected by changes in this field. |
| 12527 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 12528 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 12529 | # |
| 12530 | # This field is an extension of `font_family` meant to support explicit font |
| 12531 | # weights without breaking backwards compatibility. As such, when reading the |
| 12532 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 12533 | # will always be equal to that of `font_family`. However, when writing, if |
| 12534 | # both fields are included in the field mask (either explicitly or through |
| 12535 | # the wildcard `"*"`), their values are reconciled as follows: |
| 12536 | # |
| 12537 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 12538 | # `font_family` is applied with weight `400` ("normal"). |
| 12539 | # * If both fields are set, the value of `font_family` must match that of |
| 12540 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 12541 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 12542 | # returned. |
| 12543 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 12544 | # family and weight of `weighted_font_family` is applied. |
| 12545 | # * If neither field is set, the font family and weight of the text inherit |
| 12546 | # from the parent. Note that these properties cannot inherit separately |
| 12547 | # from each other. |
| 12548 | # |
| 12549 | # If an update request specifies values for both `weighted_font_family` and |
| 12550 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 12551 | # |
| 12552 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 12553 | # |
| 12554 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 12555 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 12556 | # is returned. |
| 12557 | "fontFamily": "A String", # The font family of the text. |
| 12558 | # |
| 12559 | # The font family can be any font from the Font menu in Slides or from |
| 12560 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 12561 | # unrecognized, the text is rendered in `Arial`. |
| 12562 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 12563 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 12564 | # corresponds to the numerical values described in the CSS 2.1 |
| 12565 | # Specification, |
| 12566 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 12567 | # with non-numerical values disallowed. Weights greater than or equal to |
| 12568 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 12569 | # default value is `400` ("normal"). |
| 12570 | }, |
| 12571 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 12572 | "fontFamily": "A String", # The font family of the text. |
| 12573 | # |
| 12574 | # The font family can be any font from the Font menu in Slides or from |
| 12575 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 12576 | # unrecognized, the text is rendered in `Arial`. |
| 12577 | # |
| 12578 | # Some fonts can affect the weight of the text. If an update request |
| 12579 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 12580 | # `bold` value is used. |
| 12581 | "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 |
| 12582 | # points. |
| 12583 | "magnitude": 3.14, # The magnitude. |
| 12584 | "unit": "A String", # The units for magnitude. |
| 12585 | }, |
| 12586 | "italic": True or False, # Whether or not the text is italicized. |
| 12587 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 12588 | # are not inherited from parent text. |
| 12589 | # |
| 12590 | # Changing the link in an update request causes some other changes to the |
| 12591 | # text style of the range: |
| 12592 | # |
| 12593 | # * When setting a link, the text foreground color will be set to |
| 12594 | # ThemeColorType.HYPERLINK and the text will |
| 12595 | # be underlined. If these fields are modified in the same |
| 12596 | # request, those values will be used instead of the link defaults. |
| 12597 | # * Setting a link on a text range that overlaps with an existing link will |
| 12598 | # also update the existing link to point to the new URL. |
| 12599 | # * Links are not settable on newline characters. As a result, setting a link |
| 12600 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 12601 | # will separate the newline character(s) into their own text runs. The |
| 12602 | # link will be applied separately to the runs before and after the newline. |
| 12603 | # * Removing a link will update the text style of the range to match the |
| 12604 | # style of the preceding text (or the default text styles if the preceding |
| 12605 | # text is another link) unless different styles are being set in the same |
| 12606 | # request. |
| 12607 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 12608 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 12609 | # in the presentation. There may not be a slide at this index. |
| 12610 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 12611 | # presentation with this ID. A page with this ID may not exist. |
| 12612 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 12613 | # addressed by its position. |
| 12614 | }, |
| 12615 | "underline": True or False, # Whether or not the text is underlined. |
| 12616 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 12617 | }, |
| 12618 | }, |
| 12619 | }, |
| 12620 | ], |
| 12621 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 12622 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 12623 | # associated with a list. A paragraph that is part of a list has an implicit |
| 12624 | # reference to that list's ID. |
| 12625 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 12626 | # level. A list has at most nine levels of nesting, so the possible values |
| 12627 | # for the keys of this map are 0 through 8, inclusive. |
| 12628 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 12629 | # level of nesting. |
| 12630 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 12631 | # |
| 12632 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 12633 | # inherited from the parent. Which text styles are inherited depend on the |
| 12634 | # nesting level of lists: |
| 12635 | # |
| 12636 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 12637 | # from the the newline character in the paragraph at the 0 nesting level of |
| 12638 | # the list inside the parent placeholder. |
| 12639 | # * A text run in a paragraph that is in a list will inherit its text style |
| 12640 | # from the newline character in the paragraph at its corresponding nesting |
| 12641 | # level of the list inside the parent placeholder. |
| 12642 | # |
| 12643 | # Inherited text styles are represented as unset fields in this message. If |
| 12644 | # text is contained in a shape without a parent placeholder, unsetting these |
| 12645 | # fields will revert the style to a value matching the defaults in the Slides |
| 12646 | # editor. |
| 12647 | "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 |
| 12648 | # transparent, depending on if the `opaque_color` field in it is set. |
| 12649 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 12650 | # a transparent color. |
| 12651 | "themeColor": "A String", # An opaque theme color. |
| 12652 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 12653 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12654 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12655 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12656 | }, |
| 12657 | }, |
| 12658 | }, |
| 12659 | "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 |
| 12660 | # transparent, depending on if the `opaque_color` field in it is set. |
| 12661 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 12662 | # a transparent color. |
| 12663 | "themeColor": "A String", # An opaque theme color. |
| 12664 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 12665 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12666 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12667 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12668 | }, |
| 12669 | }, |
| 12670 | }, |
| 12671 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 12672 | # |
| 12673 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 12674 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 12675 | # The `font_size` itself is not affected by changes in this field. |
| 12676 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 12677 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 12678 | # |
| 12679 | # This field is an extension of `font_family` meant to support explicit font |
| 12680 | # weights without breaking backwards compatibility. As such, when reading the |
| 12681 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 12682 | # will always be equal to that of `font_family`. However, when writing, if |
| 12683 | # both fields are included in the field mask (either explicitly or through |
| 12684 | # the wildcard `"*"`), their values are reconciled as follows: |
| 12685 | # |
| 12686 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 12687 | # `font_family` is applied with weight `400` ("normal"). |
| 12688 | # * If both fields are set, the value of `font_family` must match that of |
| 12689 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 12690 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 12691 | # returned. |
| 12692 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 12693 | # family and weight of `weighted_font_family` is applied. |
| 12694 | # * If neither field is set, the font family and weight of the text inherit |
| 12695 | # from the parent. Note that these properties cannot inherit separately |
| 12696 | # from each other. |
| 12697 | # |
| 12698 | # If an update request specifies values for both `weighted_font_family` and |
| 12699 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 12700 | # |
| 12701 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 12702 | # |
| 12703 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 12704 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 12705 | # is returned. |
| 12706 | "fontFamily": "A String", # The font family of the text. |
| 12707 | # |
| 12708 | # The font family can be any font from the Font menu in Slides or from |
| 12709 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 12710 | # unrecognized, the text is rendered in `Arial`. |
| 12711 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 12712 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 12713 | # corresponds to the numerical values described in the CSS 2.1 |
| 12714 | # Specification, |
| 12715 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 12716 | # with non-numerical values disallowed. Weights greater than or equal to |
| 12717 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 12718 | # default value is `400` ("normal"). |
| 12719 | }, |
| 12720 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 12721 | "fontFamily": "A String", # The font family of the text. |
| 12722 | # |
| 12723 | # The font family can be any font from the Font menu in Slides or from |
| 12724 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 12725 | # unrecognized, the text is rendered in `Arial`. |
| 12726 | # |
| 12727 | # Some fonts can affect the weight of the text. If an update request |
| 12728 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 12729 | # `bold` value is used. |
| 12730 | "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 |
| 12731 | # points. |
| 12732 | "magnitude": 3.14, # The magnitude. |
| 12733 | "unit": "A String", # The units for magnitude. |
| 12734 | }, |
| 12735 | "italic": True or False, # Whether or not the text is italicized. |
| 12736 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 12737 | # are not inherited from parent text. |
| 12738 | # |
| 12739 | # Changing the link in an update request causes some other changes to the |
| 12740 | # text style of the range: |
| 12741 | # |
| 12742 | # * When setting a link, the text foreground color will be set to |
| 12743 | # ThemeColorType.HYPERLINK and the text will |
| 12744 | # be underlined. If these fields are modified in the same |
| 12745 | # request, those values will be used instead of the link defaults. |
| 12746 | # * Setting a link on a text range that overlaps with an existing link will |
| 12747 | # also update the existing link to point to the new URL. |
| 12748 | # * Links are not settable on newline characters. As a result, setting a link |
| 12749 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 12750 | # will separate the newline character(s) into their own text runs. The |
| 12751 | # link will be applied separately to the runs before and after the newline. |
| 12752 | # * Removing a link will update the text style of the range to match the |
| 12753 | # style of the preceding text (or the default text styles if the preceding |
| 12754 | # text is another link) unless different styles are being set in the same |
| 12755 | # request. |
| 12756 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 12757 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 12758 | # in the presentation. There may not be a slide at this index. |
| 12759 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 12760 | # presentation with this ID. A page with this ID may not exist. |
| 12761 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 12762 | # addressed by its position. |
| 12763 | }, |
| 12764 | "underline": True or False, # Whether or not the text is underlined. |
| 12765 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 12766 | }, |
| 12767 | }, |
| 12768 | }, |
| 12769 | "listId": "A String", # The ID of the list. |
| 12770 | }, |
| 12771 | }, |
| 12772 | }, |
| 12773 | "shapeProperties": { # The properties of a Shape. # The properties of the shape. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 12774 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 12775 | # If the shape is a placeholder shape as determined by the |
| 12776 | # placeholder field, then these |
| 12777 | # properties may be inherited from a parent placeholder shape. |
| 12778 | # Determining the rendered value of the property depends on the corresponding |
| 12779 | # property_state field value. |
| 12780 | "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from |
| 12781 | # a parent placeholder if it exists. If the shape has no parent, then the |
| 12782 | # default shadow matches the defaults for new shapes created in the Slides |
| 12783 | # editor. This property is read-only. |
| 12784 | # |
| 12785 | # If these fields are unset, they may be inherited from a parent placeholder |
| 12786 | # if it exists. If there is no parent, the fields will default to the value |
| 12787 | # used for new page elements created in the Slides editor, which may depend on |
| 12788 | # the page element kind. |
| 12789 | "color": { # A themeable solid color value. # The shadow color value. |
| 12790 | "themeColor": "A String", # An opaque theme color. |
| 12791 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 12792 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12793 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12794 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12795 | }, |
| 12796 | }, |
| 12797 | "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, |
| 12798 | # relative to the alignment position. |
| 12799 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 12800 | # according to: |
| 12801 | # |
| 12802 | # x' x = shear_y scale_y translate_y |
| 12803 | # 1 [ 1 ] |
| 12804 | # |
| 12805 | # After transformation, |
| 12806 | # |
| 12807 | # x' = scale_x * x + shear_x * y + translate_x; |
| 12808 | # y' = scale_y * y + shear_y * x + translate_y; |
| 12809 | # |
| 12810 | # This message is therefore composed of these six matrix elements. |
| 12811 | "translateX": 3.14, # The X coordinate translation element. |
| 12812 | "translateY": 3.14, # The Y coordinate translation element. |
| 12813 | "scaleX": 3.14, # The X coordinate scaling element. |
| 12814 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 12815 | "shearY": 3.14, # The Y coordinate shearing element. |
| 12816 | "shearX": 3.14, # The X coordinate shearing element. |
| 12817 | "unit": "A String", # The units for translate elements. |
| 12818 | }, |
| 12819 | "propertyState": "A String", # The shadow property state. |
| 12820 | # |
| 12821 | # Updating the shadow on a page element will implicitly update this field to |
| 12822 | # `RENDERED`, unless another value is specified in the same request. To have |
| 12823 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| 12824 | # case, any other shadow fields set in the same request will be ignored. |
| 12825 | "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 |
| 12826 | # shadow becomes. |
| 12827 | "magnitude": 3.14, # The magnitude. |
| 12828 | "unit": "A String", # The units for magnitude. |
| 12829 | }, |
| 12830 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| 12831 | "type": "A String", # The type of the shadow. This property is read-only. |
| 12832 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| 12833 | # scale and skew of the shadow. This property is read-only. |
| 12834 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 12835 | # read-only. |
| 12836 | }, |
| 12837 | "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is |
| 12838 | # inherited from a parent placeholder if it exists. If the shape has no |
| 12839 | # parent, then the default background fill depends on the shape type, |
| 12840 | # matching the defaults for new shapes created in the Slides editor. |
| 12841 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 12842 | # specified color value. |
| 12843 | # |
| 12844 | # If any field is unset, its value may be inherited from a parent placeholder |
| 12845 | # if it exists. |
| 12846 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 12847 | "themeColor": "A String", # An opaque theme color. |
| 12848 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 12849 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12850 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12851 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12852 | }, |
| 12853 | }, |
| 12854 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 12855 | # That is, the final pixel color is defined by the equation: |
| 12856 | # |
| 12857 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 12858 | # |
| 12859 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 12860 | # a value of 0.0 corresponds to a completely transparent color. |
| 12861 | }, |
| 12862 | "propertyState": "A String", # The background fill property state. |
| 12863 | # |
| 12864 | # Updating the fill on a shape will implicitly update this field to |
| 12865 | # `RENDERED`, unless another value is specified in the same request. To |
| 12866 | # have no fill on a shape, set this field to `NOT_RENDERED`. In this case, |
| 12867 | # any other fill fields set in the same request will be ignored. |
| 12868 | }, |
| 12869 | "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links |
| 12870 | # are not inherited from parent placeholders. |
| 12871 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 12872 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 12873 | # in the presentation. There may not be a slide at this index. |
| 12874 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 12875 | # presentation with this ID. A page with this ID may not exist. |
| 12876 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 12877 | # addressed by its position. |
| 12878 | }, |
| 12879 | "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a |
| 12880 | # parent placeholder if it exists. If the shape has no parent, then the |
| 12881 | # default outline depends on the shape type, matching the defaults for |
| 12882 | # new shapes created in the Slides editor. |
| 12883 | # |
| 12884 | # If these fields are unset, they may be inherited from a parent placeholder |
| 12885 | # if it exists. If there is no parent, the fields will default to the value |
| 12886 | # used for new page elements created in the Slides editor, which may depend on |
| 12887 | # the page element kind. |
| 12888 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 12889 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 12890 | # specified color value. |
| 12891 | # |
| 12892 | # If any field is unset, its value may be inherited from a parent placeholder |
| 12893 | # if it exists. |
| 12894 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 12895 | "themeColor": "A String", # An opaque theme color. |
| 12896 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 12897 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12898 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12899 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12900 | }, |
| 12901 | }, |
| 12902 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 12903 | # That is, the final pixel color is defined by the equation: |
| 12904 | # |
| 12905 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 12906 | # |
| 12907 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 12908 | # a value of 0.0 corresponds to a completely transparent color. |
| 12909 | }, |
| 12910 | }, |
| 12911 | "propertyState": "A String", # The outline property state. |
| 12912 | # |
| 12913 | # Updating the outline on a page element will implicitly update this field |
| 12914 | # to `RENDERED`, unless another value is specified in the same request. To |
| 12915 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 12916 | # this case, any other outline fields set in the same request will be |
| 12917 | # ignored. |
| 12918 | "dashStyle": "A String", # The dash style of the outline. |
| 12919 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 12920 | "magnitude": 3.14, # The magnitude. |
| 12921 | "unit": "A String", # The units for magnitude. |
| 12922 | }, |
| 12923 | }, |
| 12924 | "contentAlignment": "A String", # The alignment of the content in the shape. If unspecified, |
| 12925 | # the alignment is inherited from a parent placeholder if it exists. If the |
| 12926 | # shape has no parent, the default alignment matches the alignment for new |
| 12927 | # shapes created in the Slides editor. |
| 12928 | }, |
| 12929 | "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on |
| 12930 | # layouts and masters. |
| 12931 | # |
| 12932 | # If set, the shape is a placeholder shape and any inherited properties |
| 12933 | # can be resolved by looking at the parent placeholder identified by the |
| 12934 | # Placeholder.parent_object_id field. |
| 12935 | "parentObjectId": "A String", # The object ID of this shape's parent placeholder. |
| 12936 | # If unset, the parent placeholder shape does not exist, so the shape does |
| 12937 | # not inherit properties from any other shape. |
| 12938 | "index": 42, # The index of the placeholder. If the same placeholder types are present in |
| 12939 | # the same page, they would have different index values. |
| 12940 | "type": "A String", # The type of the placeholder. |
| 12941 | }, |
| 12942 | "shapeType": "A String", # The type of the shape. |
| 12943 | }, |
| 12944 | "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are |
| 12945 | # represented as images. |
| 12946 | # a linked chart embedded from Google Sheets. |
| 12947 | "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30 |
| 12948 | # minutes. This URL is tagged with the account of the requester. Anyone with |
| 12949 | # the URL effectively accesses the image as the original requester. Access to |
| 12950 | # the image may be lost if the presentation's sharing settings change. |
| 12951 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| 12952 | "sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart. |
| 12953 | "chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image. |
| 12954 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| 12955 | # |
| 12956 | # If these fields are unset, they may be inherited from a parent placeholder |
| 12957 | # if it exists. If there is no parent, the fields will default to the value |
| 12958 | # used for new page elements created in the Slides editor, which may depend on |
| 12959 | # the page element kind. |
| 12960 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 12961 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 12962 | # specified color value. |
| 12963 | # |
| 12964 | # If any field is unset, its value may be inherited from a parent placeholder |
| 12965 | # if it exists. |
| 12966 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 12967 | "themeColor": "A String", # An opaque theme color. |
| 12968 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 12969 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12970 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12971 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12972 | }, |
| 12973 | }, |
| 12974 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 12975 | # That is, the final pixel color is defined by the equation: |
| 12976 | # |
| 12977 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 12978 | # |
| 12979 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 12980 | # a value of 0.0 corresponds to a completely transparent color. |
| 12981 | }, |
| 12982 | }, |
| 12983 | "propertyState": "A String", # The outline property state. |
| 12984 | # |
| 12985 | # Updating the outline on a page element will implicitly update this field |
| 12986 | # to `RENDERED`, unless another value is specified in the same request. To |
| 12987 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 12988 | # this case, any other outline fields set in the same request will be |
| 12989 | # ignored. |
| 12990 | "dashStyle": "A String", # The dash style of the outline. |
| 12991 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 12992 | "magnitude": 3.14, # The magnitude. |
| 12993 | "unit": "A String", # The units for magnitude. |
| 12994 | }, |
| 12995 | }, |
| 12996 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 12997 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 12998 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 12999 | # This property is read-only. |
| 13000 | "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color |
| 13001 | # stops. |
| 13002 | # |
| 13003 | # The colors in the gradient will replace the corresponding colors at |
| 13004 | # the same position in the color palette and apply to the image. This |
| 13005 | # property is read-only. |
| 13006 | { # A color and position in a gradient band. |
| 13007 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 13008 | "themeColor": "A String", # An opaque theme color. |
| 13009 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 13010 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13011 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13012 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13013 | }, |
| 13014 | }, |
| 13015 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 13016 | # fully opaque. |
| 13017 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 13018 | # in percentage. The value should be in the interval [0.0, 1.0]. |
| 13019 | }, |
| 13020 | ], |
| 13021 | "name": "A String", # The name of the recolor effect. |
| 13022 | # |
| 13023 | # The name is determined from the `recolor_stops` by matching the gradient |
| 13024 | # against the colors in the page's current color scheme. This property is |
| 13025 | # read-only. |
| 13026 | }, |
| 13027 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 13028 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 13029 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 13030 | # in the presentation. There may not be a slide at this index. |
| 13031 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 13032 | # presentation with this ID. A page with this ID may not exist. |
| 13033 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 13034 | # addressed by its position. |
| 13035 | }, |
| 13036 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 13037 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 13038 | # This property is read-only. |
| 13039 | "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. |
| 13040 | # This property is read-only. |
| 13041 | # Image. |
| 13042 | # |
| 13043 | # The crop properties is represented by the offsets of four edges which define |
| 13044 | # a crop rectangle. The offsets are measured in percentage from the |
| 13045 | # corresponding edges of the object's original bounding rectangle towards |
| 13046 | # inside, relative to the object's original dimensions. |
| 13047 | # |
| 13048 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 13049 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 13050 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 13051 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 13052 | # - If the left edge of the crop rectangle is on the right side of its right |
| 13053 | # edge, the object will be flipped horizontally. |
| 13054 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 13055 | # will be flipped vertically. |
| 13056 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 13057 | # |
| 13058 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 13059 | # its container. |
| 13060 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 13061 | # the right of the original bounding rectangle left edge, relative to the |
| 13062 | # object's original width. |
| 13063 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 13064 | # above the original bounding rectangle bottom edge, relative to the object's |
| 13065 | # original height. |
| 13066 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 13067 | # Rotation angle is applied after the offset. |
| 13068 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 13069 | # to the left of the original bounding rectangle right edge, relative to the |
| 13070 | # object's original width. |
| 13071 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 13072 | # below the original bounding rectangle top edge, relative to the object's |
| 13073 | # original height. |
| 13074 | }, |
| 13075 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 13076 | # is read-only. |
| 13077 | # |
| 13078 | # If these fields are unset, they may be inherited from a parent placeholder |
| 13079 | # if it exists. If there is no parent, the fields will default to the value |
| 13080 | # used for new page elements created in the Slides editor, which may depend on |
| 13081 | # the page element kind. |
| 13082 | "color": { # A themeable solid color value. # The shadow color value. |
| 13083 | "themeColor": "A String", # An opaque theme color. |
| 13084 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 13085 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13086 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13087 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13088 | }, |
| 13089 | }, |
| 13090 | "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, |
| 13091 | # relative to the alignment position. |
| 13092 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 13093 | # according to: |
| 13094 | # |
| 13095 | # x' x = shear_y scale_y translate_y |
| 13096 | # 1 [ 1 ] |
| 13097 | # |
| 13098 | # After transformation, |
| 13099 | # |
| 13100 | # x' = scale_x * x + shear_x * y + translate_x; |
| 13101 | # y' = scale_y * y + shear_y * x + translate_y; |
| 13102 | # |
| 13103 | # This message is therefore composed of these six matrix elements. |
| 13104 | "translateX": 3.14, # The X coordinate translation element. |
| 13105 | "translateY": 3.14, # The Y coordinate translation element. |
| 13106 | "scaleX": 3.14, # The X coordinate scaling element. |
| 13107 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 13108 | "shearY": 3.14, # The Y coordinate shearing element. |
| 13109 | "shearX": 3.14, # The X coordinate shearing element. |
| 13110 | "unit": "A String", # The units for translate elements. |
| 13111 | }, |
| 13112 | "propertyState": "A String", # The shadow property state. |
| 13113 | # |
| 13114 | # Updating the shadow on a page element will implicitly update this field to |
| 13115 | # `RENDERED`, unless another value is specified in the same request. To have |
| 13116 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| 13117 | # case, any other shadow fields set in the same request will be ignored. |
| 13118 | "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 |
| 13119 | # shadow becomes. |
| 13120 | "magnitude": 3.14, # The magnitude. |
| 13121 | "unit": "A String", # The units for magnitude. |
| 13122 | }, |
| 13123 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| 13124 | "type": "A String", # The type of the shadow. This property is read-only. |
| 13125 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| 13126 | # scale and skew of the shadow. This property is read-only. |
| 13127 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 13128 | # read-only. |
| 13129 | }, |
| 13130 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 13131 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 13132 | }, |
| 13133 | }, |
| 13134 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 13135 | # embedded. |
| 13136 | }, |
| 13137 | "video": { # A PageElement kind representing a # A video page element. |
| 13138 | # video. |
| 13139 | "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and |
| 13140 | # sharing settings do not change. |
| 13141 | "videoProperties": { # The properties of the Video. # The properties of the video. |
| 13142 | "start": 42, # The time at which to start playback, measured in seconds from the beginning |
| 13143 | # of the video. |
| 13144 | # If set, the start time should be before the end time. |
| 13145 | # If you set this to a value that exceeds the video's length in seconds, the |
| 13146 | # video will be played from the last second. |
| 13147 | # If not set, the video will be played from the beginning. |
| 13148 | "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present |
| 13149 | # mode. Defaults to false. |
| 13150 | "end": 42, # The time at which to end playback, measured in seconds from the beginning |
| 13151 | # of the video. |
| 13152 | # If set, the end time should be after the start time. |
| 13153 | # If not set or if you set this to a value that exceeds the video's length, |
| 13154 | # the video will be played until its end. |
| 13155 | "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new |
| 13156 | # videos created in the Slides editor. |
| 13157 | # |
| 13158 | # If these fields are unset, they may be inherited from a parent placeholder |
| 13159 | # if it exists. If there is no parent, the fields will default to the value |
| 13160 | # used for new page elements created in the Slides editor, which may depend on |
| 13161 | # the page element kind. |
| 13162 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 13163 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 13164 | # specified color value. |
| 13165 | # |
| 13166 | # If any field is unset, its value may be inherited from a parent placeholder |
| 13167 | # if it exists. |
| 13168 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 13169 | "themeColor": "A String", # An opaque theme color. |
| 13170 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 13171 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13172 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13173 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13174 | }, |
| 13175 | }, |
| 13176 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 13177 | # That is, the final pixel color is defined by the equation: |
| 13178 | # |
| 13179 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 13180 | # |
| 13181 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 13182 | # a value of 0.0 corresponds to a completely transparent color. |
| 13183 | }, |
| 13184 | }, |
| 13185 | "propertyState": "A String", # The outline property state. |
| 13186 | # |
| 13187 | # Updating the outline on a page element will implicitly update this field |
| 13188 | # to `RENDERED`, unless another value is specified in the same request. To |
| 13189 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 13190 | # this case, any other outline fields set in the same request will be |
| 13191 | # ignored. |
| 13192 | "dashStyle": "A String", # The dash style of the outline. |
| 13193 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 13194 | "magnitude": 3.14, # The magnitude. |
| 13195 | "unit": "A String", # The units for magnitude. |
| 13196 | }, |
| 13197 | }, |
| 13198 | "mute": True or False, # Whether to mute the audio during video playback. Defaults to false. |
| 13199 | }, |
| 13200 | "id": "A String", # The video source's unique identifier for this video. |
| 13201 | "source": "A String", # The video source. |
| 13202 | }, |
| 13203 | "table": { # A PageElement kind representing a # A table page element. |
| 13204 | # table. |
| 13205 | "rows": 42, # Number of rows in the table. |
| 13206 | "horizontalBorderRows": [ # Properties of horizontal cell borders. |
| 13207 | # |
| 13208 | # A table's horizontal cell borders are represented as a grid. The grid has |
| 13209 | # one more row than the number of rows in the table and the same number of |
| 13210 | # columns as the table. For example, if the table is 3 x 3, its horizontal |
| 13211 | # borders will be represented as a grid with 4 rows and 3 columns. |
| 13212 | { # Contents of each border row in a table. |
| 13213 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 13214 | # merged, it is not included in the response. |
| 13215 | { # The properties of each border cell. |
| 13216 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 13217 | # TableBorderCell. |
| 13218 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 13219 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 13220 | # specified color value. |
| 13221 | # |
| 13222 | # If any field is unset, its value may be inherited from a parent placeholder |
| 13223 | # if it exists. |
| 13224 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 13225 | "themeColor": "A String", # An opaque theme color. |
| 13226 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 13227 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13228 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13229 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13230 | }, |
| 13231 | }, |
| 13232 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 13233 | # That is, the final pixel color is defined by the equation: |
| 13234 | # |
| 13235 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 13236 | # |
| 13237 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 13238 | # a value of 0.0 corresponds to a completely transparent color. |
| 13239 | }, |
| 13240 | }, |
| 13241 | "dashStyle": "A String", # The dash style of the border. |
| 13242 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 13243 | "magnitude": 3.14, # The magnitude. |
| 13244 | "unit": "A String", # The units for magnitude. |
| 13245 | }, |
| 13246 | }, |
| 13247 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 13248 | "rowIndex": 42, # The 0-based row index. |
| 13249 | "columnIndex": 42, # The 0-based column index. |
| 13250 | }, |
| 13251 | }, |
| 13252 | ], |
| 13253 | }, |
| 13254 | ], |
| 13255 | "verticalBorderRows": [ # Properties of vertical cell borders. |
| 13256 | # |
| 13257 | # A table's vertical cell borders are represented as a grid. The grid has the |
| 13258 | # same number of rows as the table and one more column than the number of |
| 13259 | # columns in the table. For example, if the table is 3 x 3, its vertical |
| 13260 | # borders will be represented as a grid with 3 rows and 4 columns. |
| 13261 | { # Contents of each border row in a table. |
| 13262 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 13263 | # merged, it is not included in the response. |
| 13264 | { # The properties of each border cell. |
| 13265 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 13266 | # TableBorderCell. |
| 13267 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 13268 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 13269 | # specified color value. |
| 13270 | # |
| 13271 | # If any field is unset, its value may be inherited from a parent placeholder |
| 13272 | # if it exists. |
| 13273 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 13274 | "themeColor": "A String", # An opaque theme color. |
| 13275 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 13276 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13277 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13278 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13279 | }, |
| 13280 | }, |
| 13281 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 13282 | # That is, the final pixel color is defined by the equation: |
| 13283 | # |
| 13284 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 13285 | # |
| 13286 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 13287 | # a value of 0.0 corresponds to a completely transparent color. |
| 13288 | }, |
| 13289 | }, |
| 13290 | "dashStyle": "A String", # The dash style of the border. |
| 13291 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 13292 | "magnitude": 3.14, # The magnitude. |
| 13293 | "unit": "A String", # The units for magnitude. |
| 13294 | }, |
| 13295 | }, |
| 13296 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 13297 | "rowIndex": 42, # The 0-based row index. |
| 13298 | "columnIndex": 42, # The 0-based column index. |
| 13299 | }, |
| 13300 | }, |
| 13301 | ], |
| 13302 | }, |
| 13303 | ], |
| 13304 | "tableColumns": [ # Properties of each column. |
| 13305 | { # Properties of each column in a table. |
| 13306 | "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column. |
| 13307 | "magnitude": 3.14, # The magnitude. |
| 13308 | "unit": "A String", # The units for magnitude. |
| 13309 | }, |
| 13310 | }, |
| 13311 | ], |
| 13312 | "tableRows": [ # Properties and contents of each row. |
| 13313 | # |
| 13314 | # Cells that span multiple rows are contained in only one of these rows and |
| 13315 | # have a row_span greater |
| 13316 | # than 1. |
| 13317 | { # Properties and contents of each row in a table. |
| 13318 | "tableCells": [ # Properties and contents of each cell. |
| 13319 | # |
| 13320 | # Cells that span multiple columns are represented only once with a |
| 13321 | # column_span greater |
| 13322 | # than 1. As a result, the length of this collection does not always match |
| 13323 | # the number of columns of the entire table. |
| 13324 | { # Properties and contents of each table cell. |
| 13325 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell. |
| 13326 | # text box or rectangle) or a table cell in a page. |
| 13327 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 13328 | # information. This property is read-only. |
| 13329 | { # A TextElement describes the content of a range of indices in the text content |
| 13330 | # of a Shape or TableCell. |
| 13331 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 13332 | # replaced with content that can change over time. |
| 13333 | "content": "A String", # The rendered content of this auto text, if available. |
| 13334 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 13335 | # |
| 13336 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 13337 | # inherited from the parent. Which text styles are inherited depend on the |
| 13338 | # nesting level of lists: |
| 13339 | # |
| 13340 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 13341 | # from the the newline character in the paragraph at the 0 nesting level of |
| 13342 | # the list inside the parent placeholder. |
| 13343 | # * A text run in a paragraph that is in a list will inherit its text style |
| 13344 | # from the newline character in the paragraph at its corresponding nesting |
| 13345 | # level of the list inside the parent placeholder. |
| 13346 | # |
| 13347 | # Inherited text styles are represented as unset fields in this message. If |
| 13348 | # text is contained in a shape without a parent placeholder, unsetting these |
| 13349 | # fields will revert the style to a value matching the defaults in the Slides |
| 13350 | # editor. |
| 13351 | "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 |
| 13352 | # transparent, depending on if the `opaque_color` field in it is set. |
| 13353 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 13354 | # a transparent color. |
| 13355 | "themeColor": "A String", # An opaque theme color. |
| 13356 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 13357 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13358 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13359 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13360 | }, |
| 13361 | }, |
| 13362 | }, |
| 13363 | "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 |
| 13364 | # transparent, depending on if the `opaque_color` field in it is set. |
| 13365 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 13366 | # a transparent color. |
| 13367 | "themeColor": "A String", # An opaque theme color. |
| 13368 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 13369 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13370 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13371 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13372 | }, |
| 13373 | }, |
| 13374 | }, |
| 13375 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 13376 | # |
| 13377 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 13378 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 13379 | # The `font_size` itself is not affected by changes in this field. |
| 13380 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 13381 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 13382 | # |
| 13383 | # This field is an extension of `font_family` meant to support explicit font |
| 13384 | # weights without breaking backwards compatibility. As such, when reading the |
| 13385 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 13386 | # will always be equal to that of `font_family`. However, when writing, if |
| 13387 | # both fields are included in the field mask (either explicitly or through |
| 13388 | # the wildcard `"*"`), their values are reconciled as follows: |
| 13389 | # |
| 13390 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 13391 | # `font_family` is applied with weight `400` ("normal"). |
| 13392 | # * If both fields are set, the value of `font_family` must match that of |
| 13393 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 13394 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 13395 | # returned. |
| 13396 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 13397 | # family and weight of `weighted_font_family` is applied. |
| 13398 | # * If neither field is set, the font family and weight of the text inherit |
| 13399 | # from the parent. Note that these properties cannot inherit separately |
| 13400 | # from each other. |
| 13401 | # |
| 13402 | # If an update request specifies values for both `weighted_font_family` and |
| 13403 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 13404 | # |
| 13405 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 13406 | # |
| 13407 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 13408 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 13409 | # is returned. |
| 13410 | "fontFamily": "A String", # The font family of the text. |
| 13411 | # |
| 13412 | # The font family can be any font from the Font menu in Slides or from |
| 13413 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 13414 | # unrecognized, the text is rendered in `Arial`. |
| 13415 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 13416 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 13417 | # corresponds to the numerical values described in the CSS 2.1 |
| 13418 | # Specification, |
| 13419 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 13420 | # with non-numerical values disallowed. Weights greater than or equal to |
| 13421 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 13422 | # default value is `400` ("normal"). |
| 13423 | }, |
| 13424 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 13425 | "fontFamily": "A String", # The font family of the text. |
| 13426 | # |
| 13427 | # The font family can be any font from the Font menu in Slides or from |
| 13428 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 13429 | # unrecognized, the text is rendered in `Arial`. |
| 13430 | # |
| 13431 | # Some fonts can affect the weight of the text. If an update request |
| 13432 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 13433 | # `bold` value is used. |
| 13434 | "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 |
| 13435 | # points. |
| 13436 | "magnitude": 3.14, # The magnitude. |
| 13437 | "unit": "A String", # The units for magnitude. |
| 13438 | }, |
| 13439 | "italic": True or False, # Whether or not the text is italicized. |
| 13440 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 13441 | # are not inherited from parent text. |
| 13442 | # |
| 13443 | # Changing the link in an update request causes some other changes to the |
| 13444 | # text style of the range: |
| 13445 | # |
| 13446 | # * When setting a link, the text foreground color will be set to |
| 13447 | # ThemeColorType.HYPERLINK and the text will |
| 13448 | # be underlined. If these fields are modified in the same |
| 13449 | # request, those values will be used instead of the link defaults. |
| 13450 | # * Setting a link on a text range that overlaps with an existing link will |
| 13451 | # also update the existing link to point to the new URL. |
| 13452 | # * Links are not settable on newline characters. As a result, setting a link |
| 13453 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 13454 | # will separate the newline character(s) into their own text runs. The |
| 13455 | # link will be applied separately to the runs before and after the newline. |
| 13456 | # * Removing a link will update the text style of the range to match the |
| 13457 | # style of the preceding text (or the default text styles if the preceding |
| 13458 | # text is another link) unless different styles are being set in the same |
| 13459 | # request. |
| 13460 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 13461 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 13462 | # in the presentation. There may not be a slide at this index. |
| 13463 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 13464 | # presentation with this ID. A page with this ID may not exist. |
| 13465 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 13466 | # addressed by its position. |
| 13467 | }, |
| 13468 | "underline": True or False, # Whether or not the text is underlined. |
| 13469 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 13470 | }, |
| 13471 | "type": "A String", # The type of this auto text. |
| 13472 | }, |
| 13473 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 13474 | # units. |
| 13475 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 13476 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 13477 | # |
| 13478 | # The `start_index` and `end_index` of this TextElement represent the |
| 13479 | # range of the paragraph. Other TextElements with an index range contained |
| 13480 | # inside this paragraph's range are considered to be part of this |
| 13481 | # paragraph. The range of indices of two separate paragraphs will never |
| 13482 | # overlap. |
| 13483 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 13484 | # |
| 13485 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 13486 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 13487 | # nesting level of lists: |
| 13488 | # |
| 13489 | # * A paragraph not in a list will inherit its paragraph style from the |
| 13490 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 13491 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 13492 | # at its corresponding nesting level of the list inside the parent |
| 13493 | # placeholder. |
| 13494 | # |
| 13495 | # Inherited paragraph styles are represented as unset fields in this message. |
| 13496 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 13497 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 13498 | # LEFT_TO_RIGHT since |
| 13499 | # text direction is not inherited. |
| 13500 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 13501 | # inherited from the parent. |
| 13502 | "magnitude": 3.14, # The magnitude. |
| 13503 | "unit": "A String", # The units for magnitude. |
| 13504 | }, |
| 13505 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 13506 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 13507 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 13508 | # the start of the text, based on the current text direction. If unset, the |
| 13509 | # value is inherited from the parent. |
| 13510 | "magnitude": 3.14, # The magnitude. |
| 13511 | "unit": "A String", # The units for magnitude. |
| 13512 | }, |
| 13513 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 13514 | # inherited from the parent. |
| 13515 | "magnitude": 3.14, # The magnitude. |
| 13516 | "unit": "A String", # The units for magnitude. |
| 13517 | }, |
| 13518 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 13519 | # the end of the text, based on the current text direction. If unset, the |
| 13520 | # value is inherited from the parent. |
| 13521 | "magnitude": 3.14, # The magnitude. |
| 13522 | "unit": "A String", # The units for magnitude. |
| 13523 | }, |
| 13524 | "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. |
| 13525 | # If unset, the value is inherited from the parent. |
| 13526 | "magnitude": 3.14, # The magnitude. |
| 13527 | "unit": "A String", # The units for magnitude. |
| 13528 | }, |
| 13529 | "alignment": "A String", # The text alignment for this paragraph. |
| 13530 | }, |
| 13531 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 13532 | # belong to a list. |
| 13533 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 13534 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 13535 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 13536 | # |
| 13537 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 13538 | # inherited from the parent. Which text styles are inherited depend on the |
| 13539 | # nesting level of lists: |
| 13540 | # |
| 13541 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 13542 | # from the the newline character in the paragraph at the 0 nesting level of |
| 13543 | # the list inside the parent placeholder. |
| 13544 | # * A text run in a paragraph that is in a list will inherit its text style |
| 13545 | # from the newline character in the paragraph at its corresponding nesting |
| 13546 | # level of the list inside the parent placeholder. |
| 13547 | # |
| 13548 | # Inherited text styles are represented as unset fields in this message. If |
| 13549 | # text is contained in a shape without a parent placeholder, unsetting these |
| 13550 | # fields will revert the style to a value matching the defaults in the Slides |
| 13551 | # editor. |
| 13552 | "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 |
| 13553 | # transparent, depending on if the `opaque_color` field in it is set. |
| 13554 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 13555 | # a transparent color. |
| 13556 | "themeColor": "A String", # An opaque theme color. |
| 13557 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 13558 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13559 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13560 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13561 | }, |
| 13562 | }, |
| 13563 | }, |
| 13564 | "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 |
| 13565 | # transparent, depending on if the `opaque_color` field in it is set. |
| 13566 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 13567 | # a transparent color. |
| 13568 | "themeColor": "A String", # An opaque theme color. |
| 13569 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 13570 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13571 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13572 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13573 | }, |
| 13574 | }, |
| 13575 | }, |
| 13576 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 13577 | # |
| 13578 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 13579 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 13580 | # The `font_size` itself is not affected by changes in this field. |
| 13581 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 13582 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 13583 | # |
| 13584 | # This field is an extension of `font_family` meant to support explicit font |
| 13585 | # weights without breaking backwards compatibility. As such, when reading the |
| 13586 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 13587 | # will always be equal to that of `font_family`. However, when writing, if |
| 13588 | # both fields are included in the field mask (either explicitly or through |
| 13589 | # the wildcard `"*"`), their values are reconciled as follows: |
| 13590 | # |
| 13591 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 13592 | # `font_family` is applied with weight `400` ("normal"). |
| 13593 | # * If both fields are set, the value of `font_family` must match that of |
| 13594 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 13595 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 13596 | # returned. |
| 13597 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 13598 | # family and weight of `weighted_font_family` is applied. |
| 13599 | # * If neither field is set, the font family and weight of the text inherit |
| 13600 | # from the parent. Note that these properties cannot inherit separately |
| 13601 | # from each other. |
| 13602 | # |
| 13603 | # If an update request specifies values for both `weighted_font_family` and |
| 13604 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 13605 | # |
| 13606 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 13607 | # |
| 13608 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 13609 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 13610 | # is returned. |
| 13611 | "fontFamily": "A String", # The font family of the text. |
| 13612 | # |
| 13613 | # The font family can be any font from the Font menu in Slides or from |
| 13614 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 13615 | # unrecognized, the text is rendered in `Arial`. |
| 13616 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 13617 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 13618 | # corresponds to the numerical values described in the CSS 2.1 |
| 13619 | # Specification, |
| 13620 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 13621 | # with non-numerical values disallowed. Weights greater than or equal to |
| 13622 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 13623 | # default value is `400` ("normal"). |
| 13624 | }, |
| 13625 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 13626 | "fontFamily": "A String", # The font family of the text. |
| 13627 | # |
| 13628 | # The font family can be any font from the Font menu in Slides or from |
| 13629 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 13630 | # unrecognized, the text is rendered in `Arial`. |
| 13631 | # |
| 13632 | # Some fonts can affect the weight of the text. If an update request |
| 13633 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 13634 | # `bold` value is used. |
| 13635 | "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 |
| 13636 | # points. |
| 13637 | "magnitude": 3.14, # The magnitude. |
| 13638 | "unit": "A String", # The units for magnitude. |
| 13639 | }, |
| 13640 | "italic": True or False, # Whether or not the text is italicized. |
| 13641 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 13642 | # are not inherited from parent text. |
| 13643 | # |
| 13644 | # Changing the link in an update request causes some other changes to the |
| 13645 | # text style of the range: |
| 13646 | # |
| 13647 | # * When setting a link, the text foreground color will be set to |
| 13648 | # ThemeColorType.HYPERLINK and the text will |
| 13649 | # be underlined. If these fields are modified in the same |
| 13650 | # request, those values will be used instead of the link defaults. |
| 13651 | # * Setting a link on a text range that overlaps with an existing link will |
| 13652 | # also update the existing link to point to the new URL. |
| 13653 | # * Links are not settable on newline characters. As a result, setting a link |
| 13654 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 13655 | # will separate the newline character(s) into their own text runs. The |
| 13656 | # link will be applied separately to the runs before and after the newline. |
| 13657 | # * Removing a link will update the text style of the range to match the |
| 13658 | # style of the preceding text (or the default text styles if the preceding |
| 13659 | # text is another link) unless different styles are being set in the same |
| 13660 | # request. |
| 13661 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 13662 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 13663 | # in the presentation. There may not be a slide at this index. |
| 13664 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 13665 | # presentation with this ID. A page with this ID may not exist. |
| 13666 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 13667 | # addressed by its position. |
| 13668 | }, |
| 13669 | "underline": True or False, # Whether or not the text is underlined. |
| 13670 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 13671 | }, |
| 13672 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 13673 | }, |
| 13674 | }, |
| 13675 | "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 |
| 13676 | # in the run have the same TextStyle. |
| 13677 | # |
| 13678 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 13679 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 13680 | # In other words, a TextRun will never span multiple paragraphs. |
| 13681 | # styling. |
| 13682 | "content": "A String", # The text of this run. |
| 13683 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 13684 | # |
| 13685 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 13686 | # inherited from the parent. Which text styles are inherited depend on the |
| 13687 | # nesting level of lists: |
| 13688 | # |
| 13689 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 13690 | # from the the newline character in the paragraph at the 0 nesting level of |
| 13691 | # the list inside the parent placeholder. |
| 13692 | # * A text run in a paragraph that is in a list will inherit its text style |
| 13693 | # from the newline character in the paragraph at its corresponding nesting |
| 13694 | # level of the list inside the parent placeholder. |
| 13695 | # |
| 13696 | # Inherited text styles are represented as unset fields in this message. If |
| 13697 | # text is contained in a shape without a parent placeholder, unsetting these |
| 13698 | # fields will revert the style to a value matching the defaults in the Slides |
| 13699 | # editor. |
| 13700 | "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 |
| 13701 | # transparent, depending on if the `opaque_color` field in it is set. |
| 13702 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 13703 | # a transparent color. |
| 13704 | "themeColor": "A String", # An opaque theme color. |
| 13705 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 13706 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13707 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13708 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13709 | }, |
| 13710 | }, |
| 13711 | }, |
| 13712 | "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 |
| 13713 | # transparent, depending on if the `opaque_color` field in it is set. |
| 13714 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 13715 | # a transparent color. |
| 13716 | "themeColor": "A String", # An opaque theme color. |
| 13717 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 13718 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13719 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13720 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13721 | }, |
| 13722 | }, |
| 13723 | }, |
| 13724 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 13725 | # |
| 13726 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 13727 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 13728 | # The `font_size` itself is not affected by changes in this field. |
| 13729 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 13730 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 13731 | # |
| 13732 | # This field is an extension of `font_family` meant to support explicit font |
| 13733 | # weights without breaking backwards compatibility. As such, when reading the |
| 13734 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 13735 | # will always be equal to that of `font_family`. However, when writing, if |
| 13736 | # both fields are included in the field mask (either explicitly or through |
| 13737 | # the wildcard `"*"`), their values are reconciled as follows: |
| 13738 | # |
| 13739 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 13740 | # `font_family` is applied with weight `400` ("normal"). |
| 13741 | # * If both fields are set, the value of `font_family` must match that of |
| 13742 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 13743 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 13744 | # returned. |
| 13745 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 13746 | # family and weight of `weighted_font_family` is applied. |
| 13747 | # * If neither field is set, the font family and weight of the text inherit |
| 13748 | # from the parent. Note that these properties cannot inherit separately |
| 13749 | # from each other. |
| 13750 | # |
| 13751 | # If an update request specifies values for both `weighted_font_family` and |
| 13752 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 13753 | # |
| 13754 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 13755 | # |
| 13756 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 13757 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 13758 | # is returned. |
| 13759 | "fontFamily": "A String", # The font family of the text. |
| 13760 | # |
| 13761 | # The font family can be any font from the Font menu in Slides or from |
| 13762 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 13763 | # unrecognized, the text is rendered in `Arial`. |
| 13764 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 13765 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 13766 | # corresponds to the numerical values described in the CSS 2.1 |
| 13767 | # Specification, |
| 13768 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 13769 | # with non-numerical values disallowed. Weights greater than or equal to |
| 13770 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 13771 | # default value is `400` ("normal"). |
| 13772 | }, |
| 13773 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 13774 | "fontFamily": "A String", # The font family of the text. |
| 13775 | # |
| 13776 | # The font family can be any font from the Font menu in Slides or from |
| 13777 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 13778 | # unrecognized, the text is rendered in `Arial`. |
| 13779 | # |
| 13780 | # Some fonts can affect the weight of the text. If an update request |
| 13781 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 13782 | # `bold` value is used. |
| 13783 | "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 |
| 13784 | # points. |
| 13785 | "magnitude": 3.14, # The magnitude. |
| 13786 | "unit": "A String", # The units for magnitude. |
| 13787 | }, |
| 13788 | "italic": True or False, # Whether or not the text is italicized. |
| 13789 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 13790 | # are not inherited from parent text. |
| 13791 | # |
| 13792 | # Changing the link in an update request causes some other changes to the |
| 13793 | # text style of the range: |
| 13794 | # |
| 13795 | # * When setting a link, the text foreground color will be set to |
| 13796 | # ThemeColorType.HYPERLINK and the text will |
| 13797 | # be underlined. If these fields are modified in the same |
| 13798 | # request, those values will be used instead of the link defaults. |
| 13799 | # * Setting a link on a text range that overlaps with an existing link will |
| 13800 | # also update the existing link to point to the new URL. |
| 13801 | # * Links are not settable on newline characters. As a result, setting a link |
| 13802 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 13803 | # will separate the newline character(s) into their own text runs. The |
| 13804 | # link will be applied separately to the runs before and after the newline. |
| 13805 | # * Removing a link will update the text style of the range to match the |
| 13806 | # style of the preceding text (or the default text styles if the preceding |
| 13807 | # text is another link) unless different styles are being set in the same |
| 13808 | # request. |
| 13809 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 13810 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 13811 | # in the presentation. There may not be a slide at this index. |
| 13812 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 13813 | # presentation with this ID. A page with this ID may not exist. |
| 13814 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 13815 | # addressed by its position. |
| 13816 | }, |
| 13817 | "underline": True or False, # Whether or not the text is underlined. |
| 13818 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 13819 | }, |
| 13820 | }, |
| 13821 | }, |
| 13822 | ], |
| 13823 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 13824 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 13825 | # associated with a list. A paragraph that is part of a list has an implicit |
| 13826 | # reference to that list's ID. |
| 13827 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 13828 | # level. A list has at most nine levels of nesting, so the possible values |
| 13829 | # for the keys of this map are 0 through 8, inclusive. |
| 13830 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 13831 | # level of nesting. |
| 13832 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 13833 | # |
| 13834 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 13835 | # inherited from the parent. Which text styles are inherited depend on the |
| 13836 | # nesting level of lists: |
| 13837 | # |
| 13838 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 13839 | # from the the newline character in the paragraph at the 0 nesting level of |
| 13840 | # the list inside the parent placeholder. |
| 13841 | # * A text run in a paragraph that is in a list will inherit its text style |
| 13842 | # from the newline character in the paragraph at its corresponding nesting |
| 13843 | # level of the list inside the parent placeholder. |
| 13844 | # |
| 13845 | # Inherited text styles are represented as unset fields in this message. If |
| 13846 | # text is contained in a shape without a parent placeholder, unsetting these |
| 13847 | # fields will revert the style to a value matching the defaults in the Slides |
| 13848 | # editor. |
| 13849 | "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 |
| 13850 | # transparent, depending on if the `opaque_color` field in it is set. |
| 13851 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 13852 | # a transparent color. |
| 13853 | "themeColor": "A String", # An opaque theme color. |
| 13854 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 13855 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13856 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13857 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13858 | }, |
| 13859 | }, |
| 13860 | }, |
| 13861 | "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 |
| 13862 | # transparent, depending on if the `opaque_color` field in it is set. |
| 13863 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 13864 | # a transparent color. |
| 13865 | "themeColor": "A String", # An opaque theme color. |
| 13866 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 13867 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13868 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13869 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13870 | }, |
| 13871 | }, |
| 13872 | }, |
| 13873 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 13874 | # |
| 13875 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 13876 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 13877 | # The `font_size` itself is not affected by changes in this field. |
| 13878 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 13879 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 13880 | # |
| 13881 | # This field is an extension of `font_family` meant to support explicit font |
| 13882 | # weights without breaking backwards compatibility. As such, when reading the |
| 13883 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 13884 | # will always be equal to that of `font_family`. However, when writing, if |
| 13885 | # both fields are included in the field mask (either explicitly or through |
| 13886 | # the wildcard `"*"`), their values are reconciled as follows: |
| 13887 | # |
| 13888 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 13889 | # `font_family` is applied with weight `400` ("normal"). |
| 13890 | # * If both fields are set, the value of `font_family` must match that of |
| 13891 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 13892 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 13893 | # returned. |
| 13894 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 13895 | # family and weight of `weighted_font_family` is applied. |
| 13896 | # * If neither field is set, the font family and weight of the text inherit |
| 13897 | # from the parent. Note that these properties cannot inherit separately |
| 13898 | # from each other. |
| 13899 | # |
| 13900 | # If an update request specifies values for both `weighted_font_family` and |
| 13901 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 13902 | # |
| 13903 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 13904 | # |
| 13905 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 13906 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 13907 | # is returned. |
| 13908 | "fontFamily": "A String", # The font family of the text. |
| 13909 | # |
| 13910 | # The font family can be any font from the Font menu in Slides or from |
| 13911 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 13912 | # unrecognized, the text is rendered in `Arial`. |
| 13913 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 13914 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 13915 | # corresponds to the numerical values described in the CSS 2.1 |
| 13916 | # Specification, |
| 13917 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 13918 | # with non-numerical values disallowed. Weights greater than or equal to |
| 13919 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 13920 | # default value is `400` ("normal"). |
| 13921 | }, |
| 13922 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 13923 | "fontFamily": "A String", # The font family of the text. |
| 13924 | # |
| 13925 | # The font family can be any font from the Font menu in Slides or from |
| 13926 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 13927 | # unrecognized, the text is rendered in `Arial`. |
| 13928 | # |
| 13929 | # Some fonts can affect the weight of the text. If an update request |
| 13930 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 13931 | # `bold` value is used. |
| 13932 | "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 |
| 13933 | # points. |
| 13934 | "magnitude": 3.14, # The magnitude. |
| 13935 | "unit": "A String", # The units for magnitude. |
| 13936 | }, |
| 13937 | "italic": True or False, # Whether or not the text is italicized. |
| 13938 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 13939 | # are not inherited from parent text. |
| 13940 | # |
| 13941 | # Changing the link in an update request causes some other changes to the |
| 13942 | # text style of the range: |
| 13943 | # |
| 13944 | # * When setting a link, the text foreground color will be set to |
| 13945 | # ThemeColorType.HYPERLINK and the text will |
| 13946 | # be underlined. If these fields are modified in the same |
| 13947 | # request, those values will be used instead of the link defaults. |
| 13948 | # * Setting a link on a text range that overlaps with an existing link will |
| 13949 | # also update the existing link to point to the new URL. |
| 13950 | # * Links are not settable on newline characters. As a result, setting a link |
| 13951 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 13952 | # will separate the newline character(s) into their own text runs. The |
| 13953 | # link will be applied separately to the runs before and after the newline. |
| 13954 | # * Removing a link will update the text style of the range to match the |
| 13955 | # style of the preceding text (or the default text styles if the preceding |
| 13956 | # text is another link) unless different styles are being set in the same |
| 13957 | # request. |
| 13958 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 13959 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 13960 | # in the presentation. There may not be a slide at this index. |
| 13961 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 13962 | # presentation with this ID. A page with this ID may not exist. |
| 13963 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 13964 | # addressed by its position. |
| 13965 | }, |
| 13966 | "underline": True or False, # Whether or not the text is underlined. |
| 13967 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 13968 | }, |
| 13969 | }, |
| 13970 | }, |
| 13971 | "listId": "A String", # The ID of the list. |
| 13972 | }, |
| 13973 | }, |
| 13974 | }, |
| 13975 | "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell. |
| 13976 | "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill |
| 13977 | # for newly created table cells in the Slides editor. |
| 13978 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 13979 | # specified color value. |
| 13980 | # |
| 13981 | # If any field is unset, its value may be inherited from a parent placeholder |
| 13982 | # if it exists. |
| 13983 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 13984 | "themeColor": "A String", # An opaque theme color. |
| 13985 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 13986 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13987 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13988 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13989 | }, |
| 13990 | }, |
| 13991 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 13992 | # That is, the final pixel color is defined by the equation: |
| 13993 | # |
| 13994 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 13995 | # |
| 13996 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 13997 | # a value of 0.0 corresponds to a completely transparent color. |
| 13998 | }, |
| 13999 | "propertyState": "A String", # The background fill property state. |
| 14000 | # |
| 14001 | # Updating the fill on a table cell will implicitly update this field |
| 14002 | # to `RENDERED`, unless another value is specified in the same request. To |
| 14003 | # have no fill on a table cell, set this field to `NOT_RENDERED`. In this |
| 14004 | # case, any other fill fields set in the same request will be ignored. |
| 14005 | }, |
| 14006 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 14007 | # matches the alignment for newly created table cells in the Slides editor. |
| 14008 | }, |
| 14009 | "rowSpan": 42, # Row span of the cell. |
| 14010 | "columnSpan": 42, # Column span of the cell. |
| 14011 | "location": { # A location of a single table cell within a table. # The location of the cell within the table. |
| 14012 | "rowIndex": 42, # The 0-based row index. |
| 14013 | "columnIndex": 42, # The 0-based column index. |
| 14014 | }, |
| 14015 | }, |
| 14016 | ], |
| 14017 | "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row. |
| 14018 | "magnitude": 3.14, # The magnitude. |
| 14019 | "unit": "A String", # The units for magnitude. |
| 14020 | }, |
| 14021 | "tableRowProperties": { # Properties of each row in a table. # Properties of the row. |
| 14022 | "minRowHeight": { # A magnitude in a single direction in the specified units. # Minimum height of the row. The row will be rendered in the Slides editor at |
| 14023 | # a height equal to or greater than this value in order to show all the text |
| 14024 | # in the row's cell(s). |
| 14025 | "magnitude": 3.14, # The magnitude. |
| 14026 | "unit": "A String", # The units for magnitude. |
| 14027 | }, |
| 14028 | }, |
| 14029 | }, |
| 14030 | ], |
| 14031 | "columns": 42, # Number of columns in the table. |
| 14032 | }, |
| 14033 | "line": { # A PageElement kind representing a # A line page element. |
| 14034 | # non-connector line, straight connector, curved connector, or bent connector. |
| 14035 | "lineCategory": "A String", # The category of the line. |
| 14036 | # |
| 14037 | # It matches the `category` specified in CreateLineRequest, and can be updated with |
| 14038 | # UpdateLineCategoryRequest. |
| 14039 | "lineProperties": { # The properties of the Line. # The properties of the line. |
| 14040 | # |
| 14041 | # When unset, these fields default to values that match the appearance of |
| 14042 | # new lines created in the Slides editor. |
| 14043 | "dashStyle": "A String", # The dash style of the line. |
| 14044 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line. |
| 14045 | "magnitude": 3.14, # The magnitude. |
| 14046 | "unit": "A String", # The units for magnitude. |
| 14047 | }, |
| 14048 | "endArrow": "A String", # The style of the arrow at the end of the line. |
| 14049 | "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link. |
| 14050 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 14051 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 14052 | # in the presentation. There may not be a slide at this index. |
| 14053 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 14054 | # presentation with this ID. A page with this ID may not exist. |
| 14055 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 14056 | # addressed by its position. |
| 14057 | }, |
| 14058 | "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new |
| 14059 | # lines created in the Slides editor. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 14060 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 14061 | # specified color value. |
| 14062 | # |
| 14063 | # If any field is unset, its value may be inherited from a parent placeholder |
| 14064 | # if it exists. |
| 14065 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 14066 | "themeColor": "A String", # An opaque theme color. |
| 14067 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 14068 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14069 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14070 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14071 | }, |
| 14072 | }, |
| 14073 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 14074 | # That is, the final pixel color is defined by the equation: |
| 14075 | # |
| 14076 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 14077 | # |
| 14078 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 14079 | # a value of 0.0 corresponds to a completely transparent color. |
| 14080 | }, |
| 14081 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 14082 | "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no |
| 14083 | # connection. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 14084 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 14085 | # Only lines with a Type indicating it is |
| 14086 | # a "connector" can have a `start_connection`. |
| 14087 | # connection. |
| 14088 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 14089 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 14090 | # In most cases, it corresponds to the predefined connection site index from |
| 14091 | # the ECMA-376 standard. More information on those connection sites can be |
| 14092 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 14093 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 14094 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 14095 | # [ECMA-376 5th edition] |
| 14096 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 14097 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 14098 | # The position of each connection site can also be viewed from Slides editor. |
| 14099 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 14100 | # |
| 14101 | # Some page elements, such as groups, tables, and lines |
| 14102 | # do not have connection sites and therefore cannot be connected to a |
| 14103 | # connector line. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 14104 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 14105 | "endConnection": { # The properties for one end of a Line # The connection at the end of the line. If unset, there is no connection. |
| 14106 | # |
| 14107 | # Only lines with a Type indicating it is |
| 14108 | # a "connector" can have an `end_connection`. |
| 14109 | # connection. |
| 14110 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 14111 | # |
| 14112 | # In most cases, it corresponds to the predefined connection site index from |
| 14113 | # the ECMA-376 standard. More information on those connection sites can be |
| 14114 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 14115 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 14116 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 14117 | # [ECMA-376 5th edition] |
| 14118 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 14119 | # |
| 14120 | # The position of each connection site can also be viewed from Slides editor. |
| 14121 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 14122 | # |
| 14123 | # Some page elements, such as groups, tables, and lines |
| 14124 | # do not have connection sites and therefore cannot be connected to a |
| 14125 | # connector line. |
| 14126 | }, |
| 14127 | "startArrow": "A String", # The style of the arrow at the beginning of the line. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 14128 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 14129 | "lineType": "A String", # The type of the line. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 14130 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 14131 | "size": { # A width and height. # The size of the page element. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 14132 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 14133 | "magnitude": 3.14, # The magnitude. |
| 14134 | "unit": "A String", # The units for magnitude. |
| 14135 | }, |
| 14136 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 14137 | "magnitude": 3.14, # The magnitude. |
| 14138 | "unit": "A String", # The units for magnitude. |
| 14139 | }, |
| 14140 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 14141 | "description": "A String", # The description of the page element. Combined with title to display alt |
| 14142 | # text. |
| 14143 | }, |
| 14144 | ], |
| 14145 | "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES. |
| 14146 | # relevant for pages with page_type NOTES. |
| 14147 | "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker |
| 14148 | # notes for the corresponding slide. |
| 14149 | # The actual shape may not always exist on the notes page. Inserting text |
| 14150 | # using this object ID will automatically create the shape. In this case, the |
| 14151 | # actual shape may have different object ID. The `GetPresentation` or |
| 14152 | # `GetPage` action will always return the latest object ID. |
| 14153 | }, |
| 14154 | "objectId": "A String", # The object ID for this page. Object IDs used by |
| 14155 | # Page and |
| 14156 | # PageElement share the same namespace. |
| 14157 | "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in |
| 14158 | # update requests to assert that the presentation revision hasn't changed |
| 14159 | # since the last read operation. Only populated if the user has edit access |
| 14160 | # to the presentation. |
| 14161 | # |
| 14162 | # The format of the revision ID may change over time, so it should be treated |
| 14163 | # opaquely. A returned revision ID is only guaranteed to be valid for 24 |
| 14164 | # hours after it has been returned and cannot be shared across users. If the |
| 14165 | # revision ID is unchanged between calls, then the presentation has not |
| 14166 | # changed. Conversely, a changed ID (for the same presentation and user) |
| 14167 | # usually means the presentation has been updated; however, a changed ID can |
| 14168 | # also be due to internal factors such as ID format changes. |
| 14169 | "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER. |
| 14170 | # relevant for pages with page_type MASTER. |
| 14171 | "displayName": "A String", # The human-readable name of the master. |
| 14172 | }, |
| 14173 | "pageProperties": { # The properties of the Page. # The properties of the page. |
| 14174 | # |
| 14175 | # The page will inherit properties from the parent page. Depending on the page |
| 14176 | # type the hierarchy is defined in either |
| 14177 | # SlideProperties or |
| 14178 | # LayoutProperties. |
| 14179 | "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited |
| 14180 | # from a parent page if it exists. If the page has no parent, then the |
| 14181 | # background fill defaults to the corresponding fill in the Slides editor. |
| 14182 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 14183 | # specified color value. |
| 14184 | # |
| 14185 | # If any field is unset, its value may be inherited from a parent placeholder |
| 14186 | # if it exists. |
| 14187 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 14188 | "themeColor": "A String", # An opaque theme color. |
| 14189 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 14190 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14191 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14192 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14193 | }, |
| 14194 | }, |
| 14195 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 14196 | # That is, the final pixel color is defined by the equation: |
| 14197 | # |
| 14198 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 14199 | # |
| 14200 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 14201 | # a value of 0.0 corresponds to a completely transparent color. |
| 14202 | }, |
| 14203 | "propertyState": "A String", # The background fill property state. |
| 14204 | # |
| 14205 | # Updating the fill on a page will implicitly update this field to |
| 14206 | # `RENDERED`, unless another value is specified in the same request. To |
| 14207 | # have no fill on a page, set this field to `NOT_RENDERED`. In this case, |
| 14208 | # any other fill fields set in the same request will be ignored. |
| 14209 | "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill. |
| 14210 | # the specified picture. The picture is stretched to fit its container. |
| 14211 | "contentUrl": "A String", # Reading the content_url: |
| 14212 | # |
| 14213 | # An URL to a picture with a default lifetime of 30 minutes. |
| 14214 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 14215 | # effectively accesses the picture as the original requester. Access to the |
| 14216 | # picture may be lost if the presentation's sharing settings change. |
| 14217 | # |
| 14218 | # Writing the content_url: |
| 14219 | # |
| 14220 | # The picture is fetched once at insertion time and a copy is stored for |
| 14221 | # display inside the presentation. Pictures must be less than 50MB in size, |
| 14222 | # cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF |
| 14223 | # format. |
| 14224 | # |
| 14225 | # The provided URL can be at most 2 kB in length. |
| 14226 | "size": { # A width and height. # The original size of the picture fill. This field is read-only. |
| 14227 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 14228 | "magnitude": 3.14, # The magnitude. |
| 14229 | "unit": "A String", # The units for magnitude. |
| 14230 | }, |
| 14231 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 14232 | "magnitude": 3.14, # The magnitude. |
| 14233 | "unit": "A String", # The units for magnitude. |
| 14234 | }, |
| 14235 | }, |
| 14236 | }, |
| 14237 | }, |
| 14238 | "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from |
| 14239 | # a parent page. If the page has no parent, the color scheme uses a default |
| 14240 | # Slides color scheme. This field is read-only. |
| 14241 | "colors": [ # The ThemeColorType and corresponding concrete color pairs. |
| 14242 | { # A pair mapping a theme color type to the concrete color it represents. |
| 14243 | "color": { # An RGB color. # The concrete color corresponding to the theme color type above. |
| 14244 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14245 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14246 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14247 | }, |
| 14248 | "type": "A String", # The type of the theme color. |
| 14249 | }, |
| 14250 | ], |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 14251 | }, |
| 14252 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 14253 | "pageType": "A String", # The type of the page. |
| 14254 | "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE. |
| 14255 | # relevant for pages with page_type SLIDE. |
| 14256 | "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual |
| 14257 | # appearance of a notes page when printing or exporting slides with speaker |
| 14258 | # notes. A notes page inherits properties from the |
| 14259 | # notes master. |
| 14260 | # The placeholder shape with type BODY on the notes page contains the speaker |
| 14261 | # notes for this slide. The ID of this shape is identified by the |
| 14262 | # speakerNotesObjectId field. |
| 14263 | # The notes page is read-only except for the text content and styles of the |
| 14264 | # speaker notes shape. This property is read-only. |
| 14265 | "masterObjectId": "A String", # The object ID of the master that this slide is based on. This property is |
| 14266 | # read-only. |
| 14267 | "layoutObjectId": "A String", # The object ID of the layout that this slide is based on. This property is |
| 14268 | # read-only. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 14269 | }, |
| 14270 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 14271 | ], |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 14272 | "pageSize": { # A width and height. # The size of pages in the presentation. |
| 14273 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 14274 | "magnitude": 3.14, # The magnitude. |
| 14275 | "unit": "A String", # The units for magnitude. |
| 14276 | }, |
| 14277 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 14278 | "magnitude": 3.14, # The magnitude. |
| 14279 | "unit": "A String", # The units for magnitude. |
| 14280 | }, |
| 14281 | }, |
| 14282 | "title": "A String", # The title of the presentation. |
| 14283 | "locale": "A String", # The locale of the presentation, as an IETF BCP 47 language tag. |
| 14284 | "revisionId": "A String", # The revision ID of the presentation. Can be used in update requests |
| 14285 | # to assert that the presentation revision hasn't changed since the last |
| 14286 | # read operation. Only populated if the user has edit access to the |
| 14287 | # presentation. |
| 14288 | # |
| 14289 | # The format of the revision ID may change over time, so it should be treated |
| 14290 | # opaquely. A returned revision ID is only guaranteed to be valid for 24 |
| 14291 | # hours after it has been returned and cannot be shared across users. If the |
| 14292 | # revision ID is unchanged between calls, then the presentation has not |
| 14293 | # changed. Conversely, a changed ID (for the same presentation and user) |
| 14294 | # usually means the presentation has been updated; however, a changed ID can |
| 14295 | # also be due to internal factors such as ID format changes. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 14296 | "notesMaster": { # A page in a presentation. # The notes master in the presentation. It serves three purposes: |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 14297 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 14298 | # - Placeholder shapes on a notes master contain the default text styles and |
| 14299 | # shape properties of all placeholder shapes on notes pages. Specifically, |
| 14300 | # a `SLIDE_IMAGE` placeholder shape contains the slide thumbnail, and a |
| 14301 | # `BODY` placeholder shape contains the speaker notes. |
| 14302 | # - The notes master page properties define the common page properties |
| 14303 | # inherited by all notes pages. |
| 14304 | # - Any other shapes on the notes master will appear on all notes pages. |
| 14305 | # |
| 14306 | # The notes master is read-only. |
| 14307 | "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT. |
| 14308 | # relevant for pages with page_type LAYOUT. |
| 14309 | "displayName": "A String", # The human-readable name of the layout. |
| 14310 | "name": "A String", # The name of the layout. |
| 14311 | "masterObjectId": "A String", # The object ID of the master that this layout is based on. |
| 14312 | }, |
| 14313 | "pageElements": [ # The page elements rendered on the page. |
| 14314 | { # A visual element rendered on a page. |
| 14315 | "wordArt": { # A PageElement kind representing # A word art page element. |
| 14316 | # word art. |
| 14317 | "renderedText": "A String", # The text rendered as word art. |
| 14318 | }, |
| 14319 | "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit. |
| 14320 | # joined collection of PageElements. |
| 14321 | "children": [ # The collection of elements in the group. The minimum size of a group is 2. |
| 14322 | # Object with schema name: PageElement |
| 14323 | ], |
| 14324 | }, |
| 14325 | "objectId": "A String", # The object ID for this page element. Object IDs used by |
| 14326 | # google.apps.slides.v1.Page and |
| 14327 | # google.apps.slides.v1.PageElement share the same namespace. |
| 14328 | "title": "A String", # The title of the page element. Combined with description to display alt |
| 14329 | # text. |
| 14330 | "image": { # A PageElement kind representing an # An image page element. |
| 14331 | # image. |
| 14332 | "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes. |
| 14333 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 14334 | # effectively accesses the image as the original requester. Access to the |
| 14335 | # image may be lost if the presentation's sharing settings change. |
| 14336 | "imageProperties": { # The properties of the Image. # The properties of the image. |
| 14337 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| 14338 | # |
| 14339 | # If these fields are unset, they may be inherited from a parent placeholder |
| 14340 | # if it exists. If there is no parent, the fields will default to the value |
| 14341 | # used for new page elements created in the Slides editor, which may depend on |
| 14342 | # the page element kind. |
| 14343 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 14344 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 14345 | # specified color value. |
| 14346 | # |
| 14347 | # If any field is unset, its value may be inherited from a parent placeholder |
| 14348 | # if it exists. |
| 14349 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 14350 | "themeColor": "A String", # An opaque theme color. |
| 14351 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 14352 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14353 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14354 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14355 | }, |
| 14356 | }, |
| 14357 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 14358 | # That is, the final pixel color is defined by the equation: |
| 14359 | # |
| 14360 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 14361 | # |
| 14362 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 14363 | # a value of 0.0 corresponds to a completely transparent color. |
| 14364 | }, |
| 14365 | }, |
| 14366 | "propertyState": "A String", # The outline property state. |
| 14367 | # |
| 14368 | # Updating the outline on a page element will implicitly update this field |
| 14369 | # to `RENDERED`, unless another value is specified in the same request. To |
| 14370 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 14371 | # this case, any other outline fields set in the same request will be |
| 14372 | # ignored. |
| 14373 | "dashStyle": "A String", # The dash style of the outline. |
| 14374 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 14375 | "magnitude": 3.14, # The magnitude. |
| 14376 | "unit": "A String", # The units for magnitude. |
| 14377 | }, |
| 14378 | }, |
| 14379 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 14380 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 14381 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 14382 | # This property is read-only. |
| 14383 | "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color |
| 14384 | # stops. |
| 14385 | # |
| 14386 | # The colors in the gradient will replace the corresponding colors at |
| 14387 | # the same position in the color palette and apply to the image. This |
| 14388 | # property is read-only. |
| 14389 | { # A color and position in a gradient band. |
| 14390 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 14391 | "themeColor": "A String", # An opaque theme color. |
| 14392 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 14393 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14394 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14395 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14396 | }, |
| 14397 | }, |
| 14398 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 14399 | # fully opaque. |
| 14400 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 14401 | # in percentage. The value should be in the interval [0.0, 1.0]. |
| 14402 | }, |
| 14403 | ], |
| 14404 | "name": "A String", # The name of the recolor effect. |
| 14405 | # |
| 14406 | # The name is determined from the `recolor_stops` by matching the gradient |
| 14407 | # against the colors in the page's current color scheme. This property is |
| 14408 | # read-only. |
| 14409 | }, |
| 14410 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 14411 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 14412 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 14413 | # in the presentation. There may not be a slide at this index. |
| 14414 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 14415 | # presentation with this ID. A page with this ID may not exist. |
| 14416 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 14417 | # addressed by its position. |
| 14418 | }, |
| 14419 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 14420 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 14421 | # This property is read-only. |
| 14422 | "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. |
| 14423 | # This property is read-only. |
| 14424 | # Image. |
| 14425 | # |
| 14426 | # The crop properties is represented by the offsets of four edges which define |
| 14427 | # a crop rectangle. The offsets are measured in percentage from the |
| 14428 | # corresponding edges of the object's original bounding rectangle towards |
| 14429 | # inside, relative to the object's original dimensions. |
| 14430 | # |
| 14431 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 14432 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 14433 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 14434 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 14435 | # - If the left edge of the crop rectangle is on the right side of its right |
| 14436 | # edge, the object will be flipped horizontally. |
| 14437 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 14438 | # will be flipped vertically. |
| 14439 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 14440 | # |
| 14441 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 14442 | # its container. |
| 14443 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 14444 | # the right of the original bounding rectangle left edge, relative to the |
| 14445 | # object's original width. |
| 14446 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 14447 | # above the original bounding rectangle bottom edge, relative to the object's |
| 14448 | # original height. |
| 14449 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 14450 | # Rotation angle is applied after the offset. |
| 14451 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 14452 | # to the left of the original bounding rectangle right edge, relative to the |
| 14453 | # object's original width. |
| 14454 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 14455 | # below the original bounding rectangle top edge, relative to the object's |
| 14456 | # original height. |
| 14457 | }, |
| 14458 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 14459 | # is read-only. |
| 14460 | # |
| 14461 | # If these fields are unset, they may be inherited from a parent placeholder |
| 14462 | # if it exists. If there is no parent, the fields will default to the value |
| 14463 | # used for new page elements created in the Slides editor, which may depend on |
| 14464 | # the page element kind. |
| 14465 | "color": { # A themeable solid color value. # The shadow color value. |
| 14466 | "themeColor": "A String", # An opaque theme color. |
| 14467 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 14468 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14469 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14470 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14471 | }, |
| 14472 | }, |
| 14473 | "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, |
| 14474 | # relative to the alignment position. |
| 14475 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 14476 | # according to: |
| 14477 | # |
| 14478 | # x' x = shear_y scale_y translate_y |
| 14479 | # 1 [ 1 ] |
| 14480 | # |
| 14481 | # After transformation, |
| 14482 | # |
| 14483 | # x' = scale_x * x + shear_x * y + translate_x; |
| 14484 | # y' = scale_y * y + shear_y * x + translate_y; |
| 14485 | # |
| 14486 | # This message is therefore composed of these six matrix elements. |
| 14487 | "translateX": 3.14, # The X coordinate translation element. |
| 14488 | "translateY": 3.14, # The Y coordinate translation element. |
| 14489 | "scaleX": 3.14, # The X coordinate scaling element. |
| 14490 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 14491 | "shearY": 3.14, # The Y coordinate shearing element. |
| 14492 | "shearX": 3.14, # The X coordinate shearing element. |
| 14493 | "unit": "A String", # The units for translate elements. |
| 14494 | }, |
| 14495 | "propertyState": "A String", # The shadow property state. |
| 14496 | # |
| 14497 | # Updating the shadow on a page element will implicitly update this field to |
| 14498 | # `RENDERED`, unless another value is specified in the same request. To have |
| 14499 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| 14500 | # case, any other shadow fields set in the same request will be ignored. |
| 14501 | "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 |
| 14502 | # shadow becomes. |
| 14503 | "magnitude": 3.14, # The magnitude. |
| 14504 | "unit": "A String", # The units for magnitude. |
| 14505 | }, |
| 14506 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| 14507 | "type": "A String", # The type of the shadow. This property is read-only. |
| 14508 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| 14509 | # scale and skew of the shadow. This property is read-only. |
| 14510 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 14511 | # read-only. |
| 14512 | }, |
| 14513 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 14514 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 14515 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 14516 | "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be |
| 14517 | # empty. |
| 14518 | }, |
| 14519 | "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element. |
| 14520 | # |
| 14521 | # The visual appearance of the page element is determined by its absolute |
| 14522 | # transform. To compute the absolute transform, preconcatenate a page |
| 14523 | # element's transform with the transforms of all of its parent groups. If the |
| 14524 | # page element is not in a group, its absolute transform is the same as the |
| 14525 | # value in this field. |
| 14526 | # |
| 14527 | # The initial transform for the newly created Group is always the identity transform. |
| 14528 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 14529 | # according to: |
| 14530 | # |
| 14531 | # x' x = shear_y scale_y translate_y |
| 14532 | # 1 [ 1 ] |
| 14533 | # |
| 14534 | # After transformation, |
| 14535 | # |
| 14536 | # x' = scale_x * x + shear_x * y + translate_x; |
| 14537 | # y' = scale_y * y + shear_y * x + translate_y; |
| 14538 | # |
| 14539 | # This message is therefore composed of these six matrix elements. |
| 14540 | "translateX": 3.14, # The X coordinate translation element. |
| 14541 | "translateY": 3.14, # The Y coordinate translation element. |
| 14542 | "scaleX": 3.14, # The X coordinate scaling element. |
| 14543 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 14544 | "shearY": 3.14, # The Y coordinate shearing element. |
| 14545 | "shearX": 3.14, # The X coordinate shearing element. |
| 14546 | "unit": "A String", # The units for translate elements. |
| 14547 | }, |
| 14548 | "shape": { # A PageElement kind representing a # A generic shape. |
| 14549 | # generic shape that does not have a more specific classification. |
| 14550 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape. |
| 14551 | # text box or rectangle) or a table cell in a page. |
| 14552 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 14553 | # information. This property is read-only. |
| 14554 | { # A TextElement describes the content of a range of indices in the text content |
| 14555 | # of a Shape or TableCell. |
| 14556 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 14557 | # replaced with content that can change over time. |
| 14558 | "content": "A String", # The rendered content of this auto text, if available. |
| 14559 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 14560 | # |
| 14561 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 14562 | # inherited from the parent. Which text styles are inherited depend on the |
| 14563 | # nesting level of lists: |
| 14564 | # |
| 14565 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 14566 | # from the the newline character in the paragraph at the 0 nesting level of |
| 14567 | # the list inside the parent placeholder. |
| 14568 | # * A text run in a paragraph that is in a list will inherit its text style |
| 14569 | # from the newline character in the paragraph at its corresponding nesting |
| 14570 | # level of the list inside the parent placeholder. |
| 14571 | # |
| 14572 | # Inherited text styles are represented as unset fields in this message. If |
| 14573 | # text is contained in a shape without a parent placeholder, unsetting these |
| 14574 | # fields will revert the style to a value matching the defaults in the Slides |
| 14575 | # editor. |
| 14576 | "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 |
| 14577 | # transparent, depending on if the `opaque_color` field in it is set. |
| 14578 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 14579 | # a transparent color. |
| 14580 | "themeColor": "A String", # An opaque theme color. |
| 14581 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 14582 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14583 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14584 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14585 | }, |
| 14586 | }, |
| 14587 | }, |
| 14588 | "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 |
| 14589 | # transparent, depending on if the `opaque_color` field in it is set. |
| 14590 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 14591 | # a transparent color. |
| 14592 | "themeColor": "A String", # An opaque theme color. |
| 14593 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 14594 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14595 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14596 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14597 | }, |
| 14598 | }, |
| 14599 | }, |
| 14600 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 14601 | # |
| 14602 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 14603 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 14604 | # The `font_size` itself is not affected by changes in this field. |
| 14605 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 14606 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 14607 | # |
| 14608 | # This field is an extension of `font_family` meant to support explicit font |
| 14609 | # weights without breaking backwards compatibility. As such, when reading the |
| 14610 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 14611 | # will always be equal to that of `font_family`. However, when writing, if |
| 14612 | # both fields are included in the field mask (either explicitly or through |
| 14613 | # the wildcard `"*"`), their values are reconciled as follows: |
| 14614 | # |
| 14615 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 14616 | # `font_family` is applied with weight `400` ("normal"). |
| 14617 | # * If both fields are set, the value of `font_family` must match that of |
| 14618 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 14619 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 14620 | # returned. |
| 14621 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 14622 | # family and weight of `weighted_font_family` is applied. |
| 14623 | # * If neither field is set, the font family and weight of the text inherit |
| 14624 | # from the parent. Note that these properties cannot inherit separately |
| 14625 | # from each other. |
| 14626 | # |
| 14627 | # If an update request specifies values for both `weighted_font_family` and |
| 14628 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 14629 | # |
| 14630 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 14631 | # |
| 14632 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 14633 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 14634 | # is returned. |
| 14635 | "fontFamily": "A String", # The font family of the text. |
| 14636 | # |
| 14637 | # The font family can be any font from the Font menu in Slides or from |
| 14638 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 14639 | # unrecognized, the text is rendered in `Arial`. |
| 14640 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 14641 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 14642 | # corresponds to the numerical values described in the CSS 2.1 |
| 14643 | # Specification, |
| 14644 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 14645 | # with non-numerical values disallowed. Weights greater than or equal to |
| 14646 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 14647 | # default value is `400` ("normal"). |
| 14648 | }, |
| 14649 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 14650 | "fontFamily": "A String", # The font family of the text. |
| 14651 | # |
| 14652 | # The font family can be any font from the Font menu in Slides or from |
| 14653 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 14654 | # unrecognized, the text is rendered in `Arial`. |
| 14655 | # |
| 14656 | # Some fonts can affect the weight of the text. If an update request |
| 14657 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 14658 | # `bold` value is used. |
| 14659 | "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 |
| 14660 | # points. |
| 14661 | "magnitude": 3.14, # The magnitude. |
| 14662 | "unit": "A String", # The units for magnitude. |
| 14663 | }, |
| 14664 | "italic": True or False, # Whether or not the text is italicized. |
| 14665 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 14666 | # are not inherited from parent text. |
| 14667 | # |
| 14668 | # Changing the link in an update request causes some other changes to the |
| 14669 | # text style of the range: |
| 14670 | # |
| 14671 | # * When setting a link, the text foreground color will be set to |
| 14672 | # ThemeColorType.HYPERLINK and the text will |
| 14673 | # be underlined. If these fields are modified in the same |
| 14674 | # request, those values will be used instead of the link defaults. |
| 14675 | # * Setting a link on a text range that overlaps with an existing link will |
| 14676 | # also update the existing link to point to the new URL. |
| 14677 | # * Links are not settable on newline characters. As a result, setting a link |
| 14678 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 14679 | # will separate the newline character(s) into their own text runs. The |
| 14680 | # link will be applied separately to the runs before and after the newline. |
| 14681 | # * Removing a link will update the text style of the range to match the |
| 14682 | # style of the preceding text (or the default text styles if the preceding |
| 14683 | # text is another link) unless different styles are being set in the same |
| 14684 | # request. |
| 14685 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 14686 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 14687 | # in the presentation. There may not be a slide at this index. |
| 14688 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 14689 | # presentation with this ID. A page with this ID may not exist. |
| 14690 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 14691 | # addressed by its position. |
| 14692 | }, |
| 14693 | "underline": True or False, # Whether or not the text is underlined. |
| 14694 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 14695 | }, |
| 14696 | "type": "A String", # The type of this auto text. |
| 14697 | }, |
| 14698 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 14699 | # units. |
| 14700 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 14701 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 14702 | # |
| 14703 | # The `start_index` and `end_index` of this TextElement represent the |
| 14704 | # range of the paragraph. Other TextElements with an index range contained |
| 14705 | # inside this paragraph's range are considered to be part of this |
| 14706 | # paragraph. The range of indices of two separate paragraphs will never |
| 14707 | # overlap. |
| 14708 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 14709 | # |
| 14710 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 14711 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 14712 | # nesting level of lists: |
| 14713 | # |
| 14714 | # * A paragraph not in a list will inherit its paragraph style from the |
| 14715 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 14716 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 14717 | # at its corresponding nesting level of the list inside the parent |
| 14718 | # placeholder. |
| 14719 | # |
| 14720 | # Inherited paragraph styles are represented as unset fields in this message. |
| 14721 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 14722 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 14723 | # LEFT_TO_RIGHT since |
| 14724 | # text direction is not inherited. |
| 14725 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 14726 | # inherited from the parent. |
| 14727 | "magnitude": 3.14, # The magnitude. |
| 14728 | "unit": "A String", # The units for magnitude. |
| 14729 | }, |
| 14730 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 14731 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 14732 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 14733 | # the start of the text, based on the current text direction. If unset, the |
| 14734 | # value is inherited from the parent. |
| 14735 | "magnitude": 3.14, # The magnitude. |
| 14736 | "unit": "A String", # The units for magnitude. |
| 14737 | }, |
| 14738 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 14739 | # inherited from the parent. |
| 14740 | "magnitude": 3.14, # The magnitude. |
| 14741 | "unit": "A String", # The units for magnitude. |
| 14742 | }, |
| 14743 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 14744 | # the end of the text, based on the current text direction. If unset, the |
| 14745 | # value is inherited from the parent. |
| 14746 | "magnitude": 3.14, # The magnitude. |
| 14747 | "unit": "A String", # The units for magnitude. |
| 14748 | }, |
| 14749 | "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. |
| 14750 | # If unset, the value is inherited from the parent. |
| 14751 | "magnitude": 3.14, # The magnitude. |
| 14752 | "unit": "A String", # The units for magnitude. |
| 14753 | }, |
| 14754 | "alignment": "A String", # The text alignment for this paragraph. |
| 14755 | }, |
| 14756 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 14757 | # belong to a list. |
| 14758 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 14759 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 14760 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 14761 | # |
| 14762 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 14763 | # inherited from the parent. Which text styles are inherited depend on the |
| 14764 | # nesting level of lists: |
| 14765 | # |
| 14766 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 14767 | # from the the newline character in the paragraph at the 0 nesting level of |
| 14768 | # the list inside the parent placeholder. |
| 14769 | # * A text run in a paragraph that is in a list will inherit its text style |
| 14770 | # from the newline character in the paragraph at its corresponding nesting |
| 14771 | # level of the list inside the parent placeholder. |
| 14772 | # |
| 14773 | # Inherited text styles are represented as unset fields in this message. If |
| 14774 | # text is contained in a shape without a parent placeholder, unsetting these |
| 14775 | # fields will revert the style to a value matching the defaults in the Slides |
| 14776 | # editor. |
| 14777 | "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 |
| 14778 | # transparent, depending on if the `opaque_color` field in it is set. |
| 14779 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 14780 | # a transparent color. |
| 14781 | "themeColor": "A String", # An opaque theme color. |
| 14782 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 14783 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14784 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14785 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14786 | }, |
| 14787 | }, |
| 14788 | }, |
| 14789 | "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 |
| 14790 | # transparent, depending on if the `opaque_color` field in it is set. |
| 14791 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 14792 | # a transparent color. |
| 14793 | "themeColor": "A String", # An opaque theme color. |
| 14794 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 14795 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14796 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14797 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14798 | }, |
| 14799 | }, |
| 14800 | }, |
| 14801 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 14802 | # |
| 14803 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 14804 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 14805 | # The `font_size` itself is not affected by changes in this field. |
| 14806 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 14807 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 14808 | # |
| 14809 | # This field is an extension of `font_family` meant to support explicit font |
| 14810 | # weights without breaking backwards compatibility. As such, when reading the |
| 14811 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 14812 | # will always be equal to that of `font_family`. However, when writing, if |
| 14813 | # both fields are included in the field mask (either explicitly or through |
| 14814 | # the wildcard `"*"`), their values are reconciled as follows: |
| 14815 | # |
| 14816 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 14817 | # `font_family` is applied with weight `400` ("normal"). |
| 14818 | # * If both fields are set, the value of `font_family` must match that of |
| 14819 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 14820 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 14821 | # returned. |
| 14822 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 14823 | # family and weight of `weighted_font_family` is applied. |
| 14824 | # * If neither field is set, the font family and weight of the text inherit |
| 14825 | # from the parent. Note that these properties cannot inherit separately |
| 14826 | # from each other. |
| 14827 | # |
| 14828 | # If an update request specifies values for both `weighted_font_family` and |
| 14829 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 14830 | # |
| 14831 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 14832 | # |
| 14833 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 14834 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 14835 | # is returned. |
| 14836 | "fontFamily": "A String", # The font family of the text. |
| 14837 | # |
| 14838 | # The font family can be any font from the Font menu in Slides or from |
| 14839 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 14840 | # unrecognized, the text is rendered in `Arial`. |
| 14841 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 14842 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 14843 | # corresponds to the numerical values described in the CSS 2.1 |
| 14844 | # Specification, |
| 14845 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 14846 | # with non-numerical values disallowed. Weights greater than or equal to |
| 14847 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 14848 | # default value is `400` ("normal"). |
| 14849 | }, |
| 14850 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 14851 | "fontFamily": "A String", # The font family of the text. |
| 14852 | # |
| 14853 | # The font family can be any font from the Font menu in Slides or from |
| 14854 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 14855 | # unrecognized, the text is rendered in `Arial`. |
| 14856 | # |
| 14857 | # Some fonts can affect the weight of the text. If an update request |
| 14858 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 14859 | # `bold` value is used. |
| 14860 | "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 |
| 14861 | # points. |
| 14862 | "magnitude": 3.14, # The magnitude. |
| 14863 | "unit": "A String", # The units for magnitude. |
| 14864 | }, |
| 14865 | "italic": True or False, # Whether or not the text is italicized. |
| 14866 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 14867 | # are not inherited from parent text. |
| 14868 | # |
| 14869 | # Changing the link in an update request causes some other changes to the |
| 14870 | # text style of the range: |
| 14871 | # |
| 14872 | # * When setting a link, the text foreground color will be set to |
| 14873 | # ThemeColorType.HYPERLINK and the text will |
| 14874 | # be underlined. If these fields are modified in the same |
| 14875 | # request, those values will be used instead of the link defaults. |
| 14876 | # * Setting a link on a text range that overlaps with an existing link will |
| 14877 | # also update the existing link to point to the new URL. |
| 14878 | # * Links are not settable on newline characters. As a result, setting a link |
| 14879 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 14880 | # will separate the newline character(s) into their own text runs. The |
| 14881 | # link will be applied separately to the runs before and after the newline. |
| 14882 | # * Removing a link will update the text style of the range to match the |
| 14883 | # style of the preceding text (or the default text styles if the preceding |
| 14884 | # text is another link) unless different styles are being set in the same |
| 14885 | # request. |
| 14886 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 14887 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 14888 | # in the presentation. There may not be a slide at this index. |
| 14889 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 14890 | # presentation with this ID. A page with this ID may not exist. |
| 14891 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 14892 | # addressed by its position. |
| 14893 | }, |
| 14894 | "underline": True or False, # Whether or not the text is underlined. |
| 14895 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 14896 | }, |
| 14897 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 14898 | }, |
| 14899 | }, |
| 14900 | "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 |
| 14901 | # in the run have the same TextStyle. |
| 14902 | # |
| 14903 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 14904 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 14905 | # In other words, a TextRun will never span multiple paragraphs. |
| 14906 | # styling. |
| 14907 | "content": "A String", # The text of this run. |
| 14908 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 14909 | # |
| 14910 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 14911 | # inherited from the parent. Which text styles are inherited depend on the |
| 14912 | # nesting level of lists: |
| 14913 | # |
| 14914 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 14915 | # from the the newline character in the paragraph at the 0 nesting level of |
| 14916 | # the list inside the parent placeholder. |
| 14917 | # * A text run in a paragraph that is in a list will inherit its text style |
| 14918 | # from the newline character in the paragraph at its corresponding nesting |
| 14919 | # level of the list inside the parent placeholder. |
| 14920 | # |
| 14921 | # Inherited text styles are represented as unset fields in this message. If |
| 14922 | # text is contained in a shape without a parent placeholder, unsetting these |
| 14923 | # fields will revert the style to a value matching the defaults in the Slides |
| 14924 | # editor. |
| 14925 | "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 |
| 14926 | # transparent, depending on if the `opaque_color` field in it is set. |
| 14927 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 14928 | # a transparent color. |
| 14929 | "themeColor": "A String", # An opaque theme color. |
| 14930 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 14931 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14932 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14933 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14934 | }, |
| 14935 | }, |
| 14936 | }, |
| 14937 | "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 |
| 14938 | # transparent, depending on if the `opaque_color` field in it is set. |
| 14939 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 14940 | # a transparent color. |
| 14941 | "themeColor": "A String", # An opaque theme color. |
| 14942 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 14943 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14944 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14945 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14946 | }, |
| 14947 | }, |
| 14948 | }, |
| 14949 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 14950 | # |
| 14951 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 14952 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 14953 | # The `font_size` itself is not affected by changes in this field. |
| 14954 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 14955 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 14956 | # |
| 14957 | # This field is an extension of `font_family` meant to support explicit font |
| 14958 | # weights without breaking backwards compatibility. As such, when reading the |
| 14959 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 14960 | # will always be equal to that of `font_family`. However, when writing, if |
| 14961 | # both fields are included in the field mask (either explicitly or through |
| 14962 | # the wildcard `"*"`), their values are reconciled as follows: |
| 14963 | # |
| 14964 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 14965 | # `font_family` is applied with weight `400` ("normal"). |
| 14966 | # * If both fields are set, the value of `font_family` must match that of |
| 14967 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 14968 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 14969 | # returned. |
| 14970 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 14971 | # family and weight of `weighted_font_family` is applied. |
| 14972 | # * If neither field is set, the font family and weight of the text inherit |
| 14973 | # from the parent. Note that these properties cannot inherit separately |
| 14974 | # from each other. |
| 14975 | # |
| 14976 | # If an update request specifies values for both `weighted_font_family` and |
| 14977 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 14978 | # |
| 14979 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 14980 | # |
| 14981 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 14982 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 14983 | # is returned. |
| 14984 | "fontFamily": "A String", # The font family of the text. |
| 14985 | # |
| 14986 | # The font family can be any font from the Font menu in Slides or from |
| 14987 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 14988 | # unrecognized, the text is rendered in `Arial`. |
| 14989 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 14990 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 14991 | # corresponds to the numerical values described in the CSS 2.1 |
| 14992 | # Specification, |
| 14993 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 14994 | # with non-numerical values disallowed. Weights greater than or equal to |
| 14995 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 14996 | # default value is `400` ("normal"). |
| 14997 | }, |
| 14998 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 14999 | "fontFamily": "A String", # The font family of the text. |
| 15000 | # |
| 15001 | # The font family can be any font from the Font menu in Slides or from |
| 15002 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 15003 | # unrecognized, the text is rendered in `Arial`. |
| 15004 | # |
| 15005 | # Some fonts can affect the weight of the text. If an update request |
| 15006 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 15007 | # `bold` value is used. |
| 15008 | "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 |
| 15009 | # points. |
| 15010 | "magnitude": 3.14, # The magnitude. |
| 15011 | "unit": "A String", # The units for magnitude. |
| 15012 | }, |
| 15013 | "italic": True or False, # Whether or not the text is italicized. |
| 15014 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 15015 | # are not inherited from parent text. |
| 15016 | # |
| 15017 | # Changing the link in an update request causes some other changes to the |
| 15018 | # text style of the range: |
| 15019 | # |
| 15020 | # * When setting a link, the text foreground color will be set to |
| 15021 | # ThemeColorType.HYPERLINK and the text will |
| 15022 | # be underlined. If these fields are modified in the same |
| 15023 | # request, those values will be used instead of the link defaults. |
| 15024 | # * Setting a link on a text range that overlaps with an existing link will |
| 15025 | # also update the existing link to point to the new URL. |
| 15026 | # * Links are not settable on newline characters. As a result, setting a link |
| 15027 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 15028 | # will separate the newline character(s) into their own text runs. The |
| 15029 | # link will be applied separately to the runs before and after the newline. |
| 15030 | # * Removing a link will update the text style of the range to match the |
| 15031 | # style of the preceding text (or the default text styles if the preceding |
| 15032 | # text is another link) unless different styles are being set in the same |
| 15033 | # request. |
| 15034 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 15035 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 15036 | # in the presentation. There may not be a slide at this index. |
| 15037 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 15038 | # presentation with this ID. A page with this ID may not exist. |
| 15039 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 15040 | # addressed by its position. |
| 15041 | }, |
| 15042 | "underline": True or False, # Whether or not the text is underlined. |
| 15043 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 15044 | }, |
| 15045 | }, |
| 15046 | }, |
| 15047 | ], |
| 15048 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 15049 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 15050 | # associated with a list. A paragraph that is part of a list has an implicit |
| 15051 | # reference to that list's ID. |
| 15052 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 15053 | # level. A list has at most nine levels of nesting, so the possible values |
| 15054 | # for the keys of this map are 0 through 8, inclusive. |
| 15055 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 15056 | # level of nesting. |
| 15057 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 15058 | # |
| 15059 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 15060 | # inherited from the parent. Which text styles are inherited depend on the |
| 15061 | # nesting level of lists: |
| 15062 | # |
| 15063 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 15064 | # from the the newline character in the paragraph at the 0 nesting level of |
| 15065 | # the list inside the parent placeholder. |
| 15066 | # * A text run in a paragraph that is in a list will inherit its text style |
| 15067 | # from the newline character in the paragraph at its corresponding nesting |
| 15068 | # level of the list inside the parent placeholder. |
| 15069 | # |
| 15070 | # Inherited text styles are represented as unset fields in this message. If |
| 15071 | # text is contained in a shape without a parent placeholder, unsetting these |
| 15072 | # fields will revert the style to a value matching the defaults in the Slides |
| 15073 | # editor. |
| 15074 | "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 |
| 15075 | # transparent, depending on if the `opaque_color` field in it is set. |
| 15076 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 15077 | # a transparent color. |
| 15078 | "themeColor": "A String", # An opaque theme color. |
| 15079 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 15080 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15081 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15082 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 15083 | }, |
| 15084 | }, |
| 15085 | }, |
| 15086 | "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 |
| 15087 | # transparent, depending on if the `opaque_color` field in it is set. |
| 15088 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 15089 | # a transparent color. |
| 15090 | "themeColor": "A String", # An opaque theme color. |
| 15091 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 15092 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15093 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15094 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 15095 | }, |
| 15096 | }, |
| 15097 | }, |
| 15098 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 15099 | # |
| 15100 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 15101 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 15102 | # The `font_size` itself is not affected by changes in this field. |
| 15103 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 15104 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 15105 | # |
| 15106 | # This field is an extension of `font_family` meant to support explicit font |
| 15107 | # weights without breaking backwards compatibility. As such, when reading the |
| 15108 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 15109 | # will always be equal to that of `font_family`. However, when writing, if |
| 15110 | # both fields are included in the field mask (either explicitly or through |
| 15111 | # the wildcard `"*"`), their values are reconciled as follows: |
| 15112 | # |
| 15113 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 15114 | # `font_family` is applied with weight `400` ("normal"). |
| 15115 | # * If both fields are set, the value of `font_family` must match that of |
| 15116 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 15117 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 15118 | # returned. |
| 15119 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 15120 | # family and weight of `weighted_font_family` is applied. |
| 15121 | # * If neither field is set, the font family and weight of the text inherit |
| 15122 | # from the parent. Note that these properties cannot inherit separately |
| 15123 | # from each other. |
| 15124 | # |
| 15125 | # If an update request specifies values for both `weighted_font_family` and |
| 15126 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 15127 | # |
| 15128 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 15129 | # |
| 15130 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 15131 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 15132 | # is returned. |
| 15133 | "fontFamily": "A String", # The font family of the text. |
| 15134 | # |
| 15135 | # The font family can be any font from the Font menu in Slides or from |
| 15136 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 15137 | # unrecognized, the text is rendered in `Arial`. |
| 15138 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 15139 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 15140 | # corresponds to the numerical values described in the CSS 2.1 |
| 15141 | # Specification, |
| 15142 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 15143 | # with non-numerical values disallowed. Weights greater than or equal to |
| 15144 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 15145 | # default value is `400` ("normal"). |
| 15146 | }, |
| 15147 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 15148 | "fontFamily": "A String", # The font family of the text. |
| 15149 | # |
| 15150 | # The font family can be any font from the Font menu in Slides or from |
| 15151 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 15152 | # unrecognized, the text is rendered in `Arial`. |
| 15153 | # |
| 15154 | # Some fonts can affect the weight of the text. If an update request |
| 15155 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 15156 | # `bold` value is used. |
| 15157 | "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 |
| 15158 | # points. |
| 15159 | "magnitude": 3.14, # The magnitude. |
| 15160 | "unit": "A String", # The units for magnitude. |
| 15161 | }, |
| 15162 | "italic": True or False, # Whether or not the text is italicized. |
| 15163 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 15164 | # are not inherited from parent text. |
| 15165 | # |
| 15166 | # Changing the link in an update request causes some other changes to the |
| 15167 | # text style of the range: |
| 15168 | # |
| 15169 | # * When setting a link, the text foreground color will be set to |
| 15170 | # ThemeColorType.HYPERLINK and the text will |
| 15171 | # be underlined. If these fields are modified in the same |
| 15172 | # request, those values will be used instead of the link defaults. |
| 15173 | # * Setting a link on a text range that overlaps with an existing link will |
| 15174 | # also update the existing link to point to the new URL. |
| 15175 | # * Links are not settable on newline characters. As a result, setting a link |
| 15176 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 15177 | # will separate the newline character(s) into their own text runs. The |
| 15178 | # link will be applied separately to the runs before and after the newline. |
| 15179 | # * Removing a link will update the text style of the range to match the |
| 15180 | # style of the preceding text (or the default text styles if the preceding |
| 15181 | # text is another link) unless different styles are being set in the same |
| 15182 | # request. |
| 15183 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 15184 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 15185 | # in the presentation. There may not be a slide at this index. |
| 15186 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 15187 | # presentation with this ID. A page with this ID may not exist. |
| 15188 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 15189 | # addressed by its position. |
| 15190 | }, |
| 15191 | "underline": True or False, # Whether or not the text is underlined. |
| 15192 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 15193 | }, |
| 15194 | }, |
| 15195 | }, |
| 15196 | "listId": "A String", # The ID of the list. |
| 15197 | }, |
| 15198 | }, |
| 15199 | }, |
| 15200 | "shapeProperties": { # The properties of a Shape. # The properties of the shape. |
| 15201 | # |
| 15202 | # If the shape is a placeholder shape as determined by the |
| 15203 | # placeholder field, then these |
| 15204 | # properties may be inherited from a parent placeholder shape. |
| 15205 | # Determining the rendered value of the property depends on the corresponding |
| 15206 | # property_state field value. |
| 15207 | "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from |
| 15208 | # a parent placeholder if it exists. If the shape has no parent, then the |
| 15209 | # default shadow matches the defaults for new shapes created in the Slides |
| 15210 | # editor. This property is read-only. |
| 15211 | # |
| 15212 | # If these fields are unset, they may be inherited from a parent placeholder |
| 15213 | # if it exists. If there is no parent, the fields will default to the value |
| 15214 | # used for new page elements created in the Slides editor, which may depend on |
| 15215 | # the page element kind. |
| 15216 | "color": { # A themeable solid color value. # The shadow color value. |
| 15217 | "themeColor": "A String", # An opaque theme color. |
| 15218 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 15219 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15220 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15221 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 15222 | }, |
| 15223 | }, |
| 15224 | "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, |
| 15225 | # relative to the alignment position. |
| 15226 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 15227 | # according to: |
| 15228 | # |
| 15229 | # x' x = shear_y scale_y translate_y |
| 15230 | # 1 [ 1 ] |
| 15231 | # |
| 15232 | # After transformation, |
| 15233 | # |
| 15234 | # x' = scale_x * x + shear_x * y + translate_x; |
| 15235 | # y' = scale_y * y + shear_y * x + translate_y; |
| 15236 | # |
| 15237 | # This message is therefore composed of these six matrix elements. |
| 15238 | "translateX": 3.14, # The X coordinate translation element. |
| 15239 | "translateY": 3.14, # The Y coordinate translation element. |
| 15240 | "scaleX": 3.14, # The X coordinate scaling element. |
| 15241 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 15242 | "shearY": 3.14, # The Y coordinate shearing element. |
| 15243 | "shearX": 3.14, # The X coordinate shearing element. |
| 15244 | "unit": "A String", # The units for translate elements. |
| 15245 | }, |
| 15246 | "propertyState": "A String", # The shadow property state. |
| 15247 | # |
| 15248 | # Updating the shadow on a page element will implicitly update this field to |
| 15249 | # `RENDERED`, unless another value is specified in the same request. To have |
| 15250 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| 15251 | # case, any other shadow fields set in the same request will be ignored. |
| 15252 | "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 |
| 15253 | # shadow becomes. |
| 15254 | "magnitude": 3.14, # The magnitude. |
| 15255 | "unit": "A String", # The units for magnitude. |
| 15256 | }, |
| 15257 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| 15258 | "type": "A String", # The type of the shadow. This property is read-only. |
| 15259 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| 15260 | # scale and skew of the shadow. This property is read-only. |
| 15261 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 15262 | # read-only. |
| 15263 | }, |
| 15264 | "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is |
| 15265 | # inherited from a parent placeholder if it exists. If the shape has no |
| 15266 | # parent, then the default background fill depends on the shape type, |
| 15267 | # matching the defaults for new shapes created in the Slides editor. |
| 15268 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 15269 | # specified color value. |
| 15270 | # |
| 15271 | # If any field is unset, its value may be inherited from a parent placeholder |
| 15272 | # if it exists. |
| 15273 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 15274 | "themeColor": "A String", # An opaque theme color. |
| 15275 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 15276 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15277 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15278 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 15279 | }, |
| 15280 | }, |
| 15281 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 15282 | # That is, the final pixel color is defined by the equation: |
| 15283 | # |
| 15284 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 15285 | # |
| 15286 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 15287 | # a value of 0.0 corresponds to a completely transparent color. |
| 15288 | }, |
| 15289 | "propertyState": "A String", # The background fill property state. |
| 15290 | # |
| 15291 | # Updating the fill on a shape will implicitly update this field to |
| 15292 | # `RENDERED`, unless another value is specified in the same request. To |
| 15293 | # have no fill on a shape, set this field to `NOT_RENDERED`. In this case, |
| 15294 | # any other fill fields set in the same request will be ignored. |
| 15295 | }, |
| 15296 | "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links |
| 15297 | # are not inherited from parent placeholders. |
| 15298 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 15299 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 15300 | # in the presentation. There may not be a slide at this index. |
| 15301 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 15302 | # presentation with this ID. A page with this ID may not exist. |
| 15303 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 15304 | # addressed by its position. |
| 15305 | }, |
| 15306 | "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a |
| 15307 | # parent placeholder if it exists. If the shape has no parent, then the |
| 15308 | # default outline depends on the shape type, matching the defaults for |
| 15309 | # new shapes created in the Slides editor. |
| 15310 | # |
| 15311 | # If these fields are unset, they may be inherited from a parent placeholder |
| 15312 | # if it exists. If there is no parent, the fields will default to the value |
| 15313 | # used for new page elements created in the Slides editor, which may depend on |
| 15314 | # the page element kind. |
| 15315 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 15316 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 15317 | # specified color value. |
| 15318 | # |
| 15319 | # If any field is unset, its value may be inherited from a parent placeholder |
| 15320 | # if it exists. |
| 15321 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 15322 | "themeColor": "A String", # An opaque theme color. |
| 15323 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 15324 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15325 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15326 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 15327 | }, |
| 15328 | }, |
| 15329 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 15330 | # That is, the final pixel color is defined by the equation: |
| 15331 | # |
| 15332 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 15333 | # |
| 15334 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 15335 | # a value of 0.0 corresponds to a completely transparent color. |
| 15336 | }, |
| 15337 | }, |
| 15338 | "propertyState": "A String", # The outline property state. |
| 15339 | # |
| 15340 | # Updating the outline on a page element will implicitly update this field |
| 15341 | # to `RENDERED`, unless another value is specified in the same request. To |
| 15342 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 15343 | # this case, any other outline fields set in the same request will be |
| 15344 | # ignored. |
| 15345 | "dashStyle": "A String", # The dash style of the outline. |
| 15346 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 15347 | "magnitude": 3.14, # The magnitude. |
| 15348 | "unit": "A String", # The units for magnitude. |
| 15349 | }, |
| 15350 | }, |
| 15351 | "contentAlignment": "A String", # The alignment of the content in the shape. If unspecified, |
| 15352 | # the alignment is inherited from a parent placeholder if it exists. If the |
| 15353 | # shape has no parent, the default alignment matches the alignment for new |
| 15354 | # shapes created in the Slides editor. |
| 15355 | }, |
| 15356 | "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on |
| 15357 | # layouts and masters. |
| 15358 | # |
| 15359 | # If set, the shape is a placeholder shape and any inherited properties |
| 15360 | # can be resolved by looking at the parent placeholder identified by the |
| 15361 | # Placeholder.parent_object_id field. |
| 15362 | "parentObjectId": "A String", # The object ID of this shape's parent placeholder. |
| 15363 | # If unset, the parent placeholder shape does not exist, so the shape does |
| 15364 | # not inherit properties from any other shape. |
| 15365 | "index": 42, # The index of the placeholder. If the same placeholder types are present in |
| 15366 | # the same page, they would have different index values. |
| 15367 | "type": "A String", # The type of the placeholder. |
| 15368 | }, |
| 15369 | "shapeType": "A String", # The type of the shape. |
| 15370 | }, |
| 15371 | "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are |
| 15372 | # represented as images. |
| 15373 | # a linked chart embedded from Google Sheets. |
| 15374 | "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30 |
| 15375 | # minutes. This URL is tagged with the account of the requester. Anyone with |
| 15376 | # the URL effectively accesses the image as the original requester. Access to |
| 15377 | # the image may be lost if the presentation's sharing settings change. |
| 15378 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| 15379 | "sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart. |
| 15380 | "chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image. |
| 15381 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 15382 | # |
| 15383 | # If these fields are unset, they may be inherited from a parent placeholder |
| 15384 | # if it exists. If there is no parent, the fields will default to the value |
| 15385 | # used for new page elements created in the Slides editor, which may depend on |
| 15386 | # the page element kind. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 15387 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 15388 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 15389 | # specified color value. |
| 15390 | # |
| 15391 | # If any field is unset, its value may be inherited from a parent placeholder |
| 15392 | # if it exists. |
| 15393 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 15394 | "themeColor": "A String", # An opaque theme color. |
| 15395 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 15396 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15397 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15398 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 15399 | }, |
| 15400 | }, |
| 15401 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 15402 | # That is, the final pixel color is defined by the equation: |
| 15403 | # |
| 15404 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 15405 | # |
| 15406 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 15407 | # a value of 0.0 corresponds to a completely transparent color. |
| 15408 | }, |
| 15409 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 15410 | "propertyState": "A String", # The outline property state. |
| 15411 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 15412 | # Updating the outline on a page element will implicitly update this field |
| 15413 | # to `RENDERED`, unless another value is specified in the same request. To |
| 15414 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 15415 | # this case, any other outline fields set in the same request will be |
| 15416 | # ignored. |
| 15417 | "dashStyle": "A String", # The dash style of the outline. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 15418 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 15419 | "magnitude": 3.14, # The magnitude. |
| 15420 | "unit": "A String", # The units for magnitude. |
| 15421 | }, |
| 15422 | }, |
| 15423 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 15424 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 15425 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 15426 | # This property is read-only. |
| 15427 | "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] | 15428 | # stops. |
| 15429 | # |
| 15430 | # The colors in the gradient will replace the corresponding colors at |
| 15431 | # the same position in the color palette and apply to the image. This |
| 15432 | # property is read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 15433 | { # A color and position in a gradient band. |
| 15434 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 15435 | "themeColor": "A String", # An opaque theme color. |
| 15436 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 15437 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15438 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15439 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 15440 | }, |
| 15441 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 15442 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 15443 | # fully opaque. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 15444 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 15445 | # 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] | 15446 | }, |
| 15447 | ], |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 15448 | "name": "A String", # The name of the recolor effect. |
| 15449 | # |
| 15450 | # The name is determined from the `recolor_stops` by matching the gradient |
| 15451 | # against the colors in the page's current color scheme. This property is |
| 15452 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 15453 | }, |
| 15454 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 15455 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 15456 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 15457 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 15458 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 15459 | # 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] | 15460 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 15461 | # addressed by its position. |
| 15462 | }, |
| 15463 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 15464 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 15465 | # This property is read-only. |
| 15466 | "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. |
| 15467 | # This property is read-only. |
| 15468 | # Image. |
| 15469 | # |
| 15470 | # The crop properties is represented by the offsets of four edges which define |
| 15471 | # a crop rectangle. The offsets are measured in percentage from the |
| 15472 | # corresponding edges of the object's original bounding rectangle towards |
| 15473 | # inside, relative to the object's original dimensions. |
| 15474 | # |
| 15475 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 15476 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 15477 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 15478 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 15479 | # - If the left edge of the crop rectangle is on the right side of its right |
| 15480 | # edge, the object will be flipped horizontally. |
| 15481 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 15482 | # will be flipped vertically. |
| 15483 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 15484 | # |
| 15485 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 15486 | # its container. |
| 15487 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 15488 | # the right of the original bounding rectangle left edge, relative to the |
| 15489 | # object's original width. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 15490 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 15491 | # above the original bounding rectangle bottom edge, relative to the object's |
| 15492 | # original height. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 15493 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 15494 | # Rotation angle is applied after the offset. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 15495 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 15496 | # to the left of the original bounding rectangle right edge, relative to the |
| 15497 | # object's original width. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 15498 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 15499 | # below the original bounding rectangle top edge, relative to the object's |
| 15500 | # original height. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 15501 | }, |
| 15502 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 15503 | # is read-only. |
| 15504 | # |
| 15505 | # If these fields are unset, they may be inherited from a parent placeholder |
| 15506 | # if it exists. If there is no parent, the fields will default to the value |
| 15507 | # used for new page elements created in the Slides editor, which may depend on |
| 15508 | # the page element kind. |
| 15509 | "color": { # A themeable solid color value. # The shadow color value. |
| 15510 | "themeColor": "A String", # An opaque theme color. |
| 15511 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 15512 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15513 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15514 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 15515 | }, |
| 15516 | }, |
| 15517 | "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, |
| 15518 | # relative to the alignment position. |
| 15519 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 15520 | # according to: |
| 15521 | # |
| 15522 | # x' x = shear_y scale_y translate_y |
| 15523 | # 1 [ 1 ] |
| 15524 | # |
| 15525 | # After transformation, |
| 15526 | # |
| 15527 | # x' = scale_x * x + shear_x * y + translate_x; |
| 15528 | # y' = scale_y * y + shear_y * x + translate_y; |
| 15529 | # |
| 15530 | # This message is therefore composed of these six matrix elements. |
| 15531 | "translateX": 3.14, # The X coordinate translation element. |
| 15532 | "translateY": 3.14, # The Y coordinate translation element. |
| 15533 | "scaleX": 3.14, # The X coordinate scaling element. |
| 15534 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 15535 | "shearY": 3.14, # The Y coordinate shearing element. |
| 15536 | "shearX": 3.14, # The X coordinate shearing element. |
| 15537 | "unit": "A String", # The units for translate elements. |
| 15538 | }, |
| 15539 | "propertyState": "A String", # The shadow property state. |
| 15540 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 15541 | # Updating the shadow on a page element will implicitly update this field to |
| 15542 | # `RENDERED`, unless another value is specified in the same request. To have |
| 15543 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 15544 | # case, any other shadow fields set in the same request will be ignored. |
| 15545 | "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 |
| 15546 | # shadow becomes. |
| 15547 | "magnitude": 3.14, # The magnitude. |
| 15548 | "unit": "A String", # The units for magnitude. |
| 15549 | }, |
| 15550 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 15551 | "type": "A String", # The type of the shadow. This property is read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 15552 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 15553 | # scale and skew of the shadow. This property is read-only. |
| 15554 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 15555 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 15556 | }, |
| 15557 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 15558 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 15559 | }, |
| 15560 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 15561 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 15562 | # embedded. |
| 15563 | }, |
| 15564 | "video": { # A PageElement kind representing a # A video page element. |
| 15565 | # video. |
| 15566 | "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and |
| 15567 | # sharing settings do not change. |
| 15568 | "videoProperties": { # The properties of the Video. # The properties of the video. |
| 15569 | "start": 42, # The time at which to start playback, measured in seconds from the beginning |
| 15570 | # of the video. |
| 15571 | # If set, the start time should be before the end time. |
| 15572 | # If you set this to a value that exceeds the video's length in seconds, the |
| 15573 | # video will be played from the last second. |
| 15574 | # If not set, the video will be played from the beginning. |
| 15575 | "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present |
| 15576 | # mode. Defaults to false. |
| 15577 | "end": 42, # The time at which to end playback, measured in seconds from the beginning |
| 15578 | # of the video. |
| 15579 | # If set, the end time should be after the start time. |
| 15580 | # If not set or if you set this to a value that exceeds the video's length, |
| 15581 | # the video will be played until its end. |
| 15582 | "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new |
| 15583 | # videos created in the Slides editor. |
| 15584 | # |
| 15585 | # If these fields are unset, they may be inherited from a parent placeholder |
| 15586 | # if it exists. If there is no parent, the fields will default to the value |
| 15587 | # used for new page elements created in the Slides editor, which may depend on |
| 15588 | # the page element kind. |
| 15589 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 15590 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 15591 | # specified color value. |
| 15592 | # |
| 15593 | # If any field is unset, its value may be inherited from a parent placeholder |
| 15594 | # if it exists. |
| 15595 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 15596 | "themeColor": "A String", # An opaque theme color. |
| 15597 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 15598 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15599 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15600 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 15601 | }, |
| 15602 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 15603 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 15604 | # That is, the final pixel color is defined by the equation: |
| 15605 | # |
| 15606 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 15607 | # |
| 15608 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 15609 | # a value of 0.0 corresponds to a completely transparent color. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 15610 | }, |
| 15611 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 15612 | "propertyState": "A String", # The outline property state. |
| 15613 | # |
| 15614 | # Updating the outline on a page element will implicitly update this field |
| 15615 | # to `RENDERED`, unless another value is specified in the same request. To |
| 15616 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 15617 | # this case, any other outline fields set in the same request will be |
| 15618 | # ignored. |
| 15619 | "dashStyle": "A String", # The dash style of the outline. |
| 15620 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 15621 | "magnitude": 3.14, # The magnitude. |
| 15622 | "unit": "A String", # The units for magnitude. |
| 15623 | }, |
| 15624 | }, |
| 15625 | "mute": True or False, # Whether to mute the audio during video playback. Defaults to false. |
| 15626 | }, |
| 15627 | "id": "A String", # The video source's unique identifier for this video. |
| 15628 | "source": "A String", # The video source. |
| 15629 | }, |
| 15630 | "table": { # A PageElement kind representing a # A table page element. |
| 15631 | # table. |
| 15632 | "rows": 42, # Number of rows in the table. |
| 15633 | "horizontalBorderRows": [ # Properties of horizontal cell borders. |
| 15634 | # |
| 15635 | # A table's horizontal cell borders are represented as a grid. The grid has |
| 15636 | # one more row than the number of rows in the table and the same number of |
| 15637 | # columns as the table. For example, if the table is 3 x 3, its horizontal |
| 15638 | # borders will be represented as a grid with 4 rows and 3 columns. |
| 15639 | { # Contents of each border row in a table. |
| 15640 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 15641 | # merged, it is not included in the response. |
| 15642 | { # The properties of each border cell. |
| 15643 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 15644 | # TableBorderCell. |
| 15645 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 15646 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 15647 | # specified color value. |
| 15648 | # |
| 15649 | # If any field is unset, its value may be inherited from a parent placeholder |
| 15650 | # if it exists. |
| 15651 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 15652 | "themeColor": "A String", # An opaque theme color. |
| 15653 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 15654 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15655 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15656 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 15657 | }, |
| 15658 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 15659 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 15660 | # That is, the final pixel color is defined by the equation: |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 15661 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 15662 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 15663 | # |
| 15664 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 15665 | # a value of 0.0 corresponds to a completely transparent color. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 15666 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 15667 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 15668 | "dashStyle": "A String", # The dash style of the border. |
| 15669 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 15670 | "magnitude": 3.14, # The magnitude. |
| 15671 | "unit": "A String", # The units for magnitude. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 15672 | }, |
| 15673 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 15674 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 15675 | "rowIndex": 42, # The 0-based row index. |
| 15676 | "columnIndex": 42, # The 0-based column index. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 15677 | }, |
| 15678 | }, |
| 15679 | ], |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 15680 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 15681 | ], |
| 15682 | "verticalBorderRows": [ # Properties of vertical cell borders. |
| 15683 | # |
| 15684 | # A table's vertical cell borders are represented as a grid. The grid has the |
| 15685 | # same number of rows as the table and one more column than the number of |
| 15686 | # columns in the table. For example, if the table is 3 x 3, its vertical |
| 15687 | # borders will be represented as a grid with 3 rows and 4 columns. |
| 15688 | { # Contents of each border row in a table. |
| 15689 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 15690 | # merged, it is not included in the response. |
| 15691 | { # The properties of each border cell. |
| 15692 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 15693 | # TableBorderCell. |
| 15694 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 15695 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 15696 | # specified color value. |
| 15697 | # |
| 15698 | # If any field is unset, its value may be inherited from a parent placeholder |
| 15699 | # if it exists. |
| 15700 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 15701 | "themeColor": "A String", # An opaque theme color. |
| 15702 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 15703 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15704 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15705 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 15706 | }, |
| 15707 | }, |
| 15708 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 15709 | # That is, the final pixel color is defined by the equation: |
| 15710 | # |
| 15711 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 15712 | # |
| 15713 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 15714 | # a value of 0.0 corresponds to a completely transparent color. |
| 15715 | }, |
| 15716 | }, |
| 15717 | "dashStyle": "A String", # The dash style of the border. |
| 15718 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 15719 | "magnitude": 3.14, # The magnitude. |
| 15720 | "unit": "A String", # The units for magnitude. |
| 15721 | }, |
| 15722 | }, |
| 15723 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 15724 | "rowIndex": 42, # The 0-based row index. |
| 15725 | "columnIndex": 42, # The 0-based column index. |
| 15726 | }, |
| 15727 | }, |
| 15728 | ], |
| 15729 | }, |
| 15730 | ], |
| 15731 | "tableColumns": [ # Properties of each column. |
| 15732 | { # Properties of each column in a table. |
| 15733 | "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column. |
| 15734 | "magnitude": 3.14, # The magnitude. |
| 15735 | "unit": "A String", # The units for magnitude. |
| 15736 | }, |
| 15737 | }, |
| 15738 | ], |
| 15739 | "tableRows": [ # Properties and contents of each row. |
| 15740 | # |
| 15741 | # Cells that span multiple rows are contained in only one of these rows and |
| 15742 | # have a row_span greater |
| 15743 | # than 1. |
| 15744 | { # Properties and contents of each row in a table. |
| 15745 | "tableCells": [ # Properties and contents of each cell. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 15746 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 15747 | # Cells that span multiple columns are represented only once with a |
| 15748 | # column_span greater |
| 15749 | # than 1. As a result, the length of this collection does not always match |
| 15750 | # the number of columns of the entire table. |
| 15751 | { # Properties and contents of each table cell. |
| 15752 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell. |
| 15753 | # text box or rectangle) or a table cell in a page. |
| 15754 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 15755 | # information. This property is read-only. |
| 15756 | { # A TextElement describes the content of a range of indices in the text content |
| 15757 | # of a Shape or TableCell. |
| 15758 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 15759 | # replaced with content that can change over time. |
| 15760 | "content": "A String", # The rendered content of this auto text, if available. |
| 15761 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 15762 | # |
| 15763 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 15764 | # inherited from the parent. Which text styles are inherited depend on the |
| 15765 | # nesting level of lists: |
| 15766 | # |
| 15767 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 15768 | # from the the newline character in the paragraph at the 0 nesting level of |
| 15769 | # the list inside the parent placeholder. |
| 15770 | # * A text run in a paragraph that is in a list will inherit its text style |
| 15771 | # from the newline character in the paragraph at its corresponding nesting |
| 15772 | # level of the list inside the parent placeholder. |
| 15773 | # |
| 15774 | # Inherited text styles are represented as unset fields in this message. If |
| 15775 | # text is contained in a shape without a parent placeholder, unsetting these |
| 15776 | # fields will revert the style to a value matching the defaults in the Slides |
| 15777 | # editor. |
| 15778 | "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 |
| 15779 | # transparent, depending on if the `opaque_color` field in it is set. |
| 15780 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 15781 | # a transparent color. |
| 15782 | "themeColor": "A String", # An opaque theme color. |
| 15783 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 15784 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15785 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15786 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 15787 | }, |
| 15788 | }, |
| 15789 | }, |
| 15790 | "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 |
| 15791 | # transparent, depending on if the `opaque_color` field in it is set. |
| 15792 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 15793 | # a transparent color. |
| 15794 | "themeColor": "A String", # An opaque theme color. |
| 15795 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 15796 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15797 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15798 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 15799 | }, |
| 15800 | }, |
| 15801 | }, |
| 15802 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 15803 | # |
| 15804 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 15805 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 15806 | # The `font_size` itself is not affected by changes in this field. |
| 15807 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 15808 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 15809 | # |
| 15810 | # This field is an extension of `font_family` meant to support explicit font |
| 15811 | # weights without breaking backwards compatibility. As such, when reading the |
| 15812 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 15813 | # will always be equal to that of `font_family`. However, when writing, if |
| 15814 | # both fields are included in the field mask (either explicitly or through |
| 15815 | # the wildcard `"*"`), their values are reconciled as follows: |
| 15816 | # |
| 15817 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 15818 | # `font_family` is applied with weight `400` ("normal"). |
| 15819 | # * If both fields are set, the value of `font_family` must match that of |
| 15820 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 15821 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 15822 | # returned. |
| 15823 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 15824 | # family and weight of `weighted_font_family` is applied. |
| 15825 | # * If neither field is set, the font family and weight of the text inherit |
| 15826 | # from the parent. Note that these properties cannot inherit separately |
| 15827 | # from each other. |
| 15828 | # |
| 15829 | # If an update request specifies values for both `weighted_font_family` and |
| 15830 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 15831 | # |
| 15832 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 15833 | # |
| 15834 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 15835 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 15836 | # is returned. |
| 15837 | "fontFamily": "A String", # The font family of the text. |
| 15838 | # |
| 15839 | # The font family can be any font from the Font menu in Slides or from |
| 15840 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 15841 | # unrecognized, the text is rendered in `Arial`. |
| 15842 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 15843 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 15844 | # corresponds to the numerical values described in the CSS 2.1 |
| 15845 | # Specification, |
| 15846 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 15847 | # with non-numerical values disallowed. Weights greater than or equal to |
| 15848 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 15849 | # default value is `400` ("normal"). |
| 15850 | }, |
| 15851 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 15852 | "fontFamily": "A String", # The font family of the text. |
| 15853 | # |
| 15854 | # The font family can be any font from the Font menu in Slides or from |
| 15855 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 15856 | # unrecognized, the text is rendered in `Arial`. |
| 15857 | # |
| 15858 | # Some fonts can affect the weight of the text. If an update request |
| 15859 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 15860 | # `bold` value is used. |
| 15861 | "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 |
| 15862 | # points. |
| 15863 | "magnitude": 3.14, # The magnitude. |
| 15864 | "unit": "A String", # The units for magnitude. |
| 15865 | }, |
| 15866 | "italic": True or False, # Whether or not the text is italicized. |
| 15867 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 15868 | # are not inherited from parent text. |
| 15869 | # |
| 15870 | # Changing the link in an update request causes some other changes to the |
| 15871 | # text style of the range: |
| 15872 | # |
| 15873 | # * When setting a link, the text foreground color will be set to |
| 15874 | # ThemeColorType.HYPERLINK and the text will |
| 15875 | # be underlined. If these fields are modified in the same |
| 15876 | # request, those values will be used instead of the link defaults. |
| 15877 | # * Setting a link on a text range that overlaps with an existing link will |
| 15878 | # also update the existing link to point to the new URL. |
| 15879 | # * Links are not settable on newline characters. As a result, setting a link |
| 15880 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 15881 | # will separate the newline character(s) into their own text runs. The |
| 15882 | # link will be applied separately to the runs before and after the newline. |
| 15883 | # * Removing a link will update the text style of the range to match the |
| 15884 | # style of the preceding text (or the default text styles if the preceding |
| 15885 | # text is another link) unless different styles are being set in the same |
| 15886 | # request. |
| 15887 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 15888 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 15889 | # in the presentation. There may not be a slide at this index. |
| 15890 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 15891 | # presentation with this ID. A page with this ID may not exist. |
| 15892 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 15893 | # addressed by its position. |
| 15894 | }, |
| 15895 | "underline": True or False, # Whether or not the text is underlined. |
| 15896 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 15897 | }, |
| 15898 | "type": "A String", # The type of this auto text. |
| 15899 | }, |
| 15900 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 15901 | # units. |
| 15902 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 15903 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 15904 | # |
| 15905 | # The `start_index` and `end_index` of this TextElement represent the |
| 15906 | # range of the paragraph. Other TextElements with an index range contained |
| 15907 | # inside this paragraph's range are considered to be part of this |
| 15908 | # paragraph. The range of indices of two separate paragraphs will never |
| 15909 | # overlap. |
| 15910 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 15911 | # |
| 15912 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 15913 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 15914 | # nesting level of lists: |
| 15915 | # |
| 15916 | # * A paragraph not in a list will inherit its paragraph style from the |
| 15917 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 15918 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 15919 | # at its corresponding nesting level of the list inside the parent |
| 15920 | # placeholder. |
| 15921 | # |
| 15922 | # Inherited paragraph styles are represented as unset fields in this message. |
| 15923 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 15924 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 15925 | # LEFT_TO_RIGHT since |
| 15926 | # text direction is not inherited. |
| 15927 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 15928 | # inherited from the parent. |
| 15929 | "magnitude": 3.14, # The magnitude. |
| 15930 | "unit": "A String", # The units for magnitude. |
| 15931 | }, |
| 15932 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 15933 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 15934 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 15935 | # the start of the text, based on the current text direction. If unset, the |
| 15936 | # value is inherited from the parent. |
| 15937 | "magnitude": 3.14, # The magnitude. |
| 15938 | "unit": "A String", # The units for magnitude. |
| 15939 | }, |
| 15940 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 15941 | # inherited from the parent. |
| 15942 | "magnitude": 3.14, # The magnitude. |
| 15943 | "unit": "A String", # The units for magnitude. |
| 15944 | }, |
| 15945 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 15946 | # the end of the text, based on the current text direction. If unset, the |
| 15947 | # value is inherited from the parent. |
| 15948 | "magnitude": 3.14, # The magnitude. |
| 15949 | "unit": "A String", # The units for magnitude. |
| 15950 | }, |
| 15951 | "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. |
| 15952 | # If unset, the value is inherited from the parent. |
| 15953 | "magnitude": 3.14, # The magnitude. |
| 15954 | "unit": "A String", # The units for magnitude. |
| 15955 | }, |
| 15956 | "alignment": "A String", # The text alignment for this paragraph. |
| 15957 | }, |
| 15958 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 15959 | # belong to a list. |
| 15960 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 15961 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 15962 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 15963 | # |
| 15964 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 15965 | # inherited from the parent. Which text styles are inherited depend on the |
| 15966 | # nesting level of lists: |
| 15967 | # |
| 15968 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 15969 | # from the the newline character in the paragraph at the 0 nesting level of |
| 15970 | # the list inside the parent placeholder. |
| 15971 | # * A text run in a paragraph that is in a list will inherit its text style |
| 15972 | # from the newline character in the paragraph at its corresponding nesting |
| 15973 | # level of the list inside the parent placeholder. |
| 15974 | # |
| 15975 | # Inherited text styles are represented as unset fields in this message. If |
| 15976 | # text is contained in a shape without a parent placeholder, unsetting these |
| 15977 | # fields will revert the style to a value matching the defaults in the Slides |
| 15978 | # editor. |
| 15979 | "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 |
| 15980 | # transparent, depending on if the `opaque_color` field in it is set. |
| 15981 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 15982 | # a transparent color. |
| 15983 | "themeColor": "A String", # An opaque theme color. |
| 15984 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 15985 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15986 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15987 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 15988 | }, |
| 15989 | }, |
| 15990 | }, |
| 15991 | "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 |
| 15992 | # transparent, depending on if the `opaque_color` field in it is set. |
| 15993 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 15994 | # a transparent color. |
| 15995 | "themeColor": "A String", # An opaque theme color. |
| 15996 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 15997 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15998 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15999 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16000 | }, |
| 16001 | }, |
| 16002 | }, |
| 16003 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 16004 | # |
| 16005 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 16006 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 16007 | # The `font_size` itself is not affected by changes in this field. |
| 16008 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 16009 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 16010 | # |
| 16011 | # This field is an extension of `font_family` meant to support explicit font |
| 16012 | # weights without breaking backwards compatibility. As such, when reading the |
| 16013 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 16014 | # will always be equal to that of `font_family`. However, when writing, if |
| 16015 | # both fields are included in the field mask (either explicitly or through |
| 16016 | # the wildcard `"*"`), their values are reconciled as follows: |
| 16017 | # |
| 16018 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 16019 | # `font_family` is applied with weight `400` ("normal"). |
| 16020 | # * If both fields are set, the value of `font_family` must match that of |
| 16021 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 16022 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 16023 | # returned. |
| 16024 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 16025 | # family and weight of `weighted_font_family` is applied. |
| 16026 | # * If neither field is set, the font family and weight of the text inherit |
| 16027 | # from the parent. Note that these properties cannot inherit separately |
| 16028 | # from each other. |
| 16029 | # |
| 16030 | # If an update request specifies values for both `weighted_font_family` and |
| 16031 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 16032 | # |
| 16033 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 16034 | # |
| 16035 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 16036 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 16037 | # is returned. |
| 16038 | "fontFamily": "A String", # The font family of the text. |
| 16039 | # |
| 16040 | # The font family can be any font from the Font menu in Slides or from |
| 16041 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 16042 | # unrecognized, the text is rendered in `Arial`. |
| 16043 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 16044 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 16045 | # corresponds to the numerical values described in the CSS 2.1 |
| 16046 | # Specification, |
| 16047 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 16048 | # with non-numerical values disallowed. Weights greater than or equal to |
| 16049 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 16050 | # default value is `400` ("normal"). |
| 16051 | }, |
| 16052 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 16053 | "fontFamily": "A String", # The font family of the text. |
| 16054 | # |
| 16055 | # The font family can be any font from the Font menu in Slides or from |
| 16056 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 16057 | # unrecognized, the text is rendered in `Arial`. |
| 16058 | # |
| 16059 | # Some fonts can affect the weight of the text. If an update request |
| 16060 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 16061 | # `bold` value is used. |
| 16062 | "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 |
| 16063 | # points. |
| 16064 | "magnitude": 3.14, # The magnitude. |
| 16065 | "unit": "A String", # The units for magnitude. |
| 16066 | }, |
| 16067 | "italic": True or False, # Whether or not the text is italicized. |
| 16068 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 16069 | # are not inherited from parent text. |
| 16070 | # |
| 16071 | # Changing the link in an update request causes some other changes to the |
| 16072 | # text style of the range: |
| 16073 | # |
| 16074 | # * When setting a link, the text foreground color will be set to |
| 16075 | # ThemeColorType.HYPERLINK and the text will |
| 16076 | # be underlined. If these fields are modified in the same |
| 16077 | # request, those values will be used instead of the link defaults. |
| 16078 | # * Setting a link on a text range that overlaps with an existing link will |
| 16079 | # also update the existing link to point to the new URL. |
| 16080 | # * Links are not settable on newline characters. As a result, setting a link |
| 16081 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 16082 | # will separate the newline character(s) into their own text runs. The |
| 16083 | # link will be applied separately to the runs before and after the newline. |
| 16084 | # * Removing a link will update the text style of the range to match the |
| 16085 | # style of the preceding text (or the default text styles if the preceding |
| 16086 | # text is another link) unless different styles are being set in the same |
| 16087 | # request. |
| 16088 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 16089 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 16090 | # in the presentation. There may not be a slide at this index. |
| 16091 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 16092 | # presentation with this ID. A page with this ID may not exist. |
| 16093 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 16094 | # addressed by its position. |
| 16095 | }, |
| 16096 | "underline": True or False, # Whether or not the text is underlined. |
| 16097 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 16098 | }, |
| 16099 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 16100 | }, |
| 16101 | }, |
| 16102 | "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 |
| 16103 | # in the run have the same TextStyle. |
| 16104 | # |
| 16105 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 16106 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 16107 | # In other words, a TextRun will never span multiple paragraphs. |
| 16108 | # styling. |
| 16109 | "content": "A String", # The text of this run. |
| 16110 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 16111 | # |
| 16112 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 16113 | # inherited from the parent. Which text styles are inherited depend on the |
| 16114 | # nesting level of lists: |
| 16115 | # |
| 16116 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 16117 | # from the the newline character in the paragraph at the 0 nesting level of |
| 16118 | # the list inside the parent placeholder. |
| 16119 | # * A text run in a paragraph that is in a list will inherit its text style |
| 16120 | # from the newline character in the paragraph at its corresponding nesting |
| 16121 | # level of the list inside the parent placeholder. |
| 16122 | # |
| 16123 | # Inherited text styles are represented as unset fields in this message. If |
| 16124 | # text is contained in a shape without a parent placeholder, unsetting these |
| 16125 | # fields will revert the style to a value matching the defaults in the Slides |
| 16126 | # editor. |
| 16127 | "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 |
| 16128 | # transparent, depending on if the `opaque_color` field in it is set. |
| 16129 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 16130 | # a transparent color. |
| 16131 | "themeColor": "A String", # An opaque theme color. |
| 16132 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 16133 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16134 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16135 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16136 | }, |
| 16137 | }, |
| 16138 | }, |
| 16139 | "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 |
| 16140 | # transparent, depending on if the `opaque_color` field in it is set. |
| 16141 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 16142 | # a transparent color. |
| 16143 | "themeColor": "A String", # An opaque theme color. |
| 16144 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 16145 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16146 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16147 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16148 | }, |
| 16149 | }, |
| 16150 | }, |
| 16151 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 16152 | # |
| 16153 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 16154 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 16155 | # The `font_size` itself is not affected by changes in this field. |
| 16156 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 16157 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 16158 | # |
| 16159 | # This field is an extension of `font_family` meant to support explicit font |
| 16160 | # weights without breaking backwards compatibility. As such, when reading the |
| 16161 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 16162 | # will always be equal to that of `font_family`. However, when writing, if |
| 16163 | # both fields are included in the field mask (either explicitly or through |
| 16164 | # the wildcard `"*"`), their values are reconciled as follows: |
| 16165 | # |
| 16166 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 16167 | # `font_family` is applied with weight `400` ("normal"). |
| 16168 | # * If both fields are set, the value of `font_family` must match that of |
| 16169 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 16170 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 16171 | # returned. |
| 16172 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 16173 | # family and weight of `weighted_font_family` is applied. |
| 16174 | # * If neither field is set, the font family and weight of the text inherit |
| 16175 | # from the parent. Note that these properties cannot inherit separately |
| 16176 | # from each other. |
| 16177 | # |
| 16178 | # If an update request specifies values for both `weighted_font_family` and |
| 16179 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 16180 | # |
| 16181 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 16182 | # |
| 16183 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 16184 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 16185 | # is returned. |
| 16186 | "fontFamily": "A String", # The font family of the text. |
| 16187 | # |
| 16188 | # The font family can be any font from the Font menu in Slides or from |
| 16189 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 16190 | # unrecognized, the text is rendered in `Arial`. |
| 16191 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 16192 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 16193 | # corresponds to the numerical values described in the CSS 2.1 |
| 16194 | # Specification, |
| 16195 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 16196 | # with non-numerical values disallowed. Weights greater than or equal to |
| 16197 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 16198 | # default value is `400` ("normal"). |
| 16199 | }, |
| 16200 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 16201 | "fontFamily": "A String", # The font family of the text. |
| 16202 | # |
| 16203 | # The font family can be any font from the Font menu in Slides or from |
| 16204 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 16205 | # unrecognized, the text is rendered in `Arial`. |
| 16206 | # |
| 16207 | # Some fonts can affect the weight of the text. If an update request |
| 16208 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 16209 | # `bold` value is used. |
| 16210 | "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 |
| 16211 | # points. |
| 16212 | "magnitude": 3.14, # The magnitude. |
| 16213 | "unit": "A String", # The units for magnitude. |
| 16214 | }, |
| 16215 | "italic": True or False, # Whether or not the text is italicized. |
| 16216 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 16217 | # are not inherited from parent text. |
| 16218 | # |
| 16219 | # Changing the link in an update request causes some other changes to the |
| 16220 | # text style of the range: |
| 16221 | # |
| 16222 | # * When setting a link, the text foreground color will be set to |
| 16223 | # ThemeColorType.HYPERLINK and the text will |
| 16224 | # be underlined. If these fields are modified in the same |
| 16225 | # request, those values will be used instead of the link defaults. |
| 16226 | # * Setting a link on a text range that overlaps with an existing link will |
| 16227 | # also update the existing link to point to the new URL. |
| 16228 | # * Links are not settable on newline characters. As a result, setting a link |
| 16229 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 16230 | # will separate the newline character(s) into their own text runs. The |
| 16231 | # link will be applied separately to the runs before and after the newline. |
| 16232 | # * Removing a link will update the text style of the range to match the |
| 16233 | # style of the preceding text (or the default text styles if the preceding |
| 16234 | # text is another link) unless different styles are being set in the same |
| 16235 | # request. |
| 16236 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 16237 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 16238 | # in the presentation. There may not be a slide at this index. |
| 16239 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 16240 | # presentation with this ID. A page with this ID may not exist. |
| 16241 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 16242 | # addressed by its position. |
| 16243 | }, |
| 16244 | "underline": True or False, # Whether or not the text is underlined. |
| 16245 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 16246 | }, |
| 16247 | }, |
| 16248 | }, |
| 16249 | ], |
| 16250 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 16251 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 16252 | # associated with a list. A paragraph that is part of a list has an implicit |
| 16253 | # reference to that list's ID. |
| 16254 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 16255 | # level. A list has at most nine levels of nesting, so the possible values |
| 16256 | # for the keys of this map are 0 through 8, inclusive. |
| 16257 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 16258 | # level of nesting. |
| 16259 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 16260 | # |
| 16261 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 16262 | # inherited from the parent. Which text styles are inherited depend on the |
| 16263 | # nesting level of lists: |
| 16264 | # |
| 16265 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 16266 | # from the the newline character in the paragraph at the 0 nesting level of |
| 16267 | # the list inside the parent placeholder. |
| 16268 | # * A text run in a paragraph that is in a list will inherit its text style |
| 16269 | # from the newline character in the paragraph at its corresponding nesting |
| 16270 | # level of the list inside the parent placeholder. |
| 16271 | # |
| 16272 | # Inherited text styles are represented as unset fields in this message. If |
| 16273 | # text is contained in a shape without a parent placeholder, unsetting these |
| 16274 | # fields will revert the style to a value matching the defaults in the Slides |
| 16275 | # editor. |
| 16276 | "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 |
| 16277 | # transparent, depending on if the `opaque_color` field in it is set. |
| 16278 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 16279 | # a transparent color. |
| 16280 | "themeColor": "A String", # An opaque theme color. |
| 16281 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 16282 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16283 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16284 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16285 | }, |
| 16286 | }, |
| 16287 | }, |
| 16288 | "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 |
| 16289 | # transparent, depending on if the `opaque_color` field in it is set. |
| 16290 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 16291 | # a transparent color. |
| 16292 | "themeColor": "A String", # An opaque theme color. |
| 16293 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 16294 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16295 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16296 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16297 | }, |
| 16298 | }, |
| 16299 | }, |
| 16300 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 16301 | # |
| 16302 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 16303 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 16304 | # The `font_size` itself is not affected by changes in this field. |
| 16305 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 16306 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 16307 | # |
| 16308 | # This field is an extension of `font_family` meant to support explicit font |
| 16309 | # weights without breaking backwards compatibility. As such, when reading the |
| 16310 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 16311 | # will always be equal to that of `font_family`. However, when writing, if |
| 16312 | # both fields are included in the field mask (either explicitly or through |
| 16313 | # the wildcard `"*"`), their values are reconciled as follows: |
| 16314 | # |
| 16315 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 16316 | # `font_family` is applied with weight `400` ("normal"). |
| 16317 | # * If both fields are set, the value of `font_family` must match that of |
| 16318 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 16319 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 16320 | # returned. |
| 16321 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 16322 | # family and weight of `weighted_font_family` is applied. |
| 16323 | # * If neither field is set, the font family and weight of the text inherit |
| 16324 | # from the parent. Note that these properties cannot inherit separately |
| 16325 | # from each other. |
| 16326 | # |
| 16327 | # If an update request specifies values for both `weighted_font_family` and |
| 16328 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 16329 | # |
| 16330 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 16331 | # |
| 16332 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 16333 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 16334 | # is returned. |
| 16335 | "fontFamily": "A String", # The font family of the text. |
| 16336 | # |
| 16337 | # The font family can be any font from the Font menu in Slides or from |
| 16338 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 16339 | # unrecognized, the text is rendered in `Arial`. |
| 16340 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 16341 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 16342 | # corresponds to the numerical values described in the CSS 2.1 |
| 16343 | # Specification, |
| 16344 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 16345 | # with non-numerical values disallowed. Weights greater than or equal to |
| 16346 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 16347 | # default value is `400` ("normal"). |
| 16348 | }, |
| 16349 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 16350 | "fontFamily": "A String", # The font family of the text. |
| 16351 | # |
| 16352 | # The font family can be any font from the Font menu in Slides or from |
| 16353 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 16354 | # unrecognized, the text is rendered in `Arial`. |
| 16355 | # |
| 16356 | # Some fonts can affect the weight of the text. If an update request |
| 16357 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 16358 | # `bold` value is used. |
| 16359 | "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 |
| 16360 | # points. |
| 16361 | "magnitude": 3.14, # The magnitude. |
| 16362 | "unit": "A String", # The units for magnitude. |
| 16363 | }, |
| 16364 | "italic": True or False, # Whether or not the text is italicized. |
| 16365 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 16366 | # are not inherited from parent text. |
| 16367 | # |
| 16368 | # Changing the link in an update request causes some other changes to the |
| 16369 | # text style of the range: |
| 16370 | # |
| 16371 | # * When setting a link, the text foreground color will be set to |
| 16372 | # ThemeColorType.HYPERLINK and the text will |
| 16373 | # be underlined. If these fields are modified in the same |
| 16374 | # request, those values will be used instead of the link defaults. |
| 16375 | # * Setting a link on a text range that overlaps with an existing link will |
| 16376 | # also update the existing link to point to the new URL. |
| 16377 | # * Links are not settable on newline characters. As a result, setting a link |
| 16378 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 16379 | # will separate the newline character(s) into their own text runs. The |
| 16380 | # link will be applied separately to the runs before and after the newline. |
| 16381 | # * Removing a link will update the text style of the range to match the |
| 16382 | # style of the preceding text (or the default text styles if the preceding |
| 16383 | # text is another link) unless different styles are being set in the same |
| 16384 | # request. |
| 16385 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 16386 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 16387 | # in the presentation. There may not be a slide at this index. |
| 16388 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 16389 | # presentation with this ID. A page with this ID may not exist. |
| 16390 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 16391 | # addressed by its position. |
| 16392 | }, |
| 16393 | "underline": True or False, # Whether or not the text is underlined. |
| 16394 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 16395 | }, |
| 16396 | }, |
| 16397 | }, |
| 16398 | "listId": "A String", # The ID of the list. |
| 16399 | }, |
| 16400 | }, |
| 16401 | }, |
| 16402 | "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell. |
| 16403 | "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill |
| 16404 | # for newly created table cells in the Slides editor. |
| 16405 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 16406 | # specified color value. |
| 16407 | # |
| 16408 | # If any field is unset, its value may be inherited from a parent placeholder |
| 16409 | # if it exists. |
| 16410 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 16411 | "themeColor": "A String", # An opaque theme color. |
| 16412 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 16413 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16414 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16415 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16416 | }, |
| 16417 | }, |
| 16418 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 16419 | # That is, the final pixel color is defined by the equation: |
| 16420 | # |
| 16421 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 16422 | # |
| 16423 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 16424 | # a value of 0.0 corresponds to a completely transparent color. |
| 16425 | }, |
| 16426 | "propertyState": "A String", # The background fill property state. |
| 16427 | # |
| 16428 | # Updating the fill on a table cell will implicitly update this field |
| 16429 | # to `RENDERED`, unless another value is specified in the same request. To |
| 16430 | # have no fill on a table cell, set this field to `NOT_RENDERED`. In this |
| 16431 | # case, any other fill fields set in the same request will be ignored. |
| 16432 | }, |
| 16433 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 16434 | # matches the alignment for newly created table cells in the Slides editor. |
| 16435 | }, |
| 16436 | "rowSpan": 42, # Row span of the cell. |
| 16437 | "columnSpan": 42, # Column span of the cell. |
| 16438 | "location": { # A location of a single table cell within a table. # The location of the cell within the table. |
| 16439 | "rowIndex": 42, # The 0-based row index. |
| 16440 | "columnIndex": 42, # The 0-based column index. |
| 16441 | }, |
| 16442 | }, |
| 16443 | ], |
| 16444 | "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row. |
| 16445 | "magnitude": 3.14, # The magnitude. |
| 16446 | "unit": "A String", # The units for magnitude. |
| 16447 | }, |
| 16448 | "tableRowProperties": { # Properties of each row in a table. # Properties of the row. |
| 16449 | "minRowHeight": { # A magnitude in a single direction in the specified units. # Minimum height of the row. The row will be rendered in the Slides editor at |
| 16450 | # a height equal to or greater than this value in order to show all the text |
| 16451 | # in the row's cell(s). |
| 16452 | "magnitude": 3.14, # The magnitude. |
| 16453 | "unit": "A String", # The units for magnitude. |
| 16454 | }, |
| 16455 | }, |
| 16456 | }, |
| 16457 | ], |
| 16458 | "columns": 42, # Number of columns in the table. |
| 16459 | }, |
| 16460 | "line": { # A PageElement kind representing a # A line page element. |
| 16461 | # non-connector line, straight connector, curved connector, or bent connector. |
| 16462 | "lineCategory": "A String", # The category of the line. |
| 16463 | # |
| 16464 | # It matches the `category` specified in CreateLineRequest, and can be updated with |
| 16465 | # UpdateLineCategoryRequest. |
| 16466 | "lineProperties": { # The properties of the Line. # The properties of the line. |
| 16467 | # |
| 16468 | # When unset, these fields default to values that match the appearance of |
| 16469 | # new lines created in the Slides editor. |
| 16470 | "dashStyle": "A String", # The dash style of the line. |
| 16471 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line. |
| 16472 | "magnitude": 3.14, # The magnitude. |
| 16473 | "unit": "A String", # The units for magnitude. |
| 16474 | }, |
| 16475 | "endArrow": "A String", # The style of the arrow at the end of the line. |
| 16476 | "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link. |
| 16477 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 16478 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 16479 | # in the presentation. There may not be a slide at this index. |
| 16480 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 16481 | # presentation with this ID. A page with this ID may not exist. |
| 16482 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 16483 | # addressed by its position. |
| 16484 | }, |
| 16485 | "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new |
| 16486 | # lines created in the Slides editor. |
| 16487 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 16488 | # specified color value. |
| 16489 | # |
| 16490 | # If any field is unset, its value may be inherited from a parent placeholder |
| 16491 | # if it exists. |
| 16492 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 16493 | "themeColor": "A String", # An opaque theme color. |
| 16494 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 16495 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16496 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16497 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16498 | }, |
| 16499 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16500 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 16501 | # That is, the final pixel color is defined by the equation: |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 16502 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16503 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 16504 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16505 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 16506 | # a value of 0.0 corresponds to a completely transparent color. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 16507 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16508 | }, |
| 16509 | "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no |
| 16510 | # connection. |
| 16511 | # |
| 16512 | # Only lines with a Type indicating it is |
| 16513 | # a "connector" can have a `start_connection`. |
| 16514 | # connection. |
| 16515 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 16516 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16517 | # In most cases, it corresponds to the predefined connection site index from |
| 16518 | # the ECMA-376 standard. More information on those connection sites can be |
| 16519 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 16520 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 16521 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 16522 | # [ECMA-376 5th edition] |
| 16523 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 16524 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16525 | # The position of each connection site can also be viewed from Slides editor. |
| 16526 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 16527 | # |
| 16528 | # Some page elements, such as groups, tables, and lines |
| 16529 | # do not have connection sites and therefore cannot be connected to a |
| 16530 | # connector line. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 16531 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16532 | "endConnection": { # The properties for one end of a Line # The connection at the end of the line. If unset, there is no connection. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 16533 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16534 | # Only lines with a Type indicating it is |
| 16535 | # a "connector" can have an `end_connection`. |
| 16536 | # connection. |
| 16537 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 16538 | # |
| 16539 | # In most cases, it corresponds to the predefined connection site index from |
| 16540 | # the ECMA-376 standard. More information on those connection sites can be |
| 16541 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 16542 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 16543 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 16544 | # [ECMA-376 5th edition] |
| 16545 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 16546 | # |
| 16547 | # The position of each connection site can also be viewed from Slides editor. |
| 16548 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 16549 | # |
| 16550 | # Some page elements, such as groups, tables, and lines |
| 16551 | # do not have connection sites and therefore cannot be connected to a |
| 16552 | # connector line. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 16553 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16554 | "startArrow": "A String", # The style of the arrow at the beginning of the line. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 16555 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16556 | "lineType": "A String", # The type of the line. |
| 16557 | }, |
| 16558 | "size": { # A width and height. # The size of the page element. |
| 16559 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 16560 | "magnitude": 3.14, # The magnitude. |
| 16561 | "unit": "A String", # The units for magnitude. |
| 16562 | }, |
| 16563 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 16564 | "magnitude": 3.14, # The magnitude. |
| 16565 | "unit": "A String", # The units for magnitude. |
| 16566 | }, |
| 16567 | }, |
| 16568 | "description": "A String", # The description of the page element. Combined with title to display alt |
| 16569 | # text. |
| 16570 | }, |
| 16571 | ], |
| 16572 | "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES. |
| 16573 | # relevant for pages with page_type NOTES. |
| 16574 | "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker |
| 16575 | # notes for the corresponding slide. |
| 16576 | # The actual shape may not always exist on the notes page. Inserting text |
| 16577 | # using this object ID will automatically create the shape. In this case, the |
| 16578 | # actual shape may have different object ID. The `GetPresentation` or |
| 16579 | # `GetPage` action will always return the latest object ID. |
| 16580 | }, |
| 16581 | "objectId": "A String", # The object ID for this page. Object IDs used by |
| 16582 | # Page and |
| 16583 | # PageElement share the same namespace. |
| 16584 | "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in |
| 16585 | # update requests to assert that the presentation revision hasn't changed |
| 16586 | # since the last read operation. Only populated if the user has edit access |
| 16587 | # to the presentation. |
| 16588 | # |
| 16589 | # The format of the revision ID may change over time, so it should be treated |
| 16590 | # opaquely. A returned revision ID is only guaranteed to be valid for 24 |
| 16591 | # hours after it has been returned and cannot be shared across users. If the |
| 16592 | # revision ID is unchanged between calls, then the presentation has not |
| 16593 | # changed. Conversely, a changed ID (for the same presentation and user) |
| 16594 | # usually means the presentation has been updated; however, a changed ID can |
| 16595 | # also be due to internal factors such as ID format changes. |
| 16596 | "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER. |
| 16597 | # relevant for pages with page_type MASTER. |
| 16598 | "displayName": "A String", # The human-readable name of the master. |
| 16599 | }, |
| 16600 | "pageProperties": { # The properties of the Page. # The properties of the page. |
| 16601 | # |
| 16602 | # The page will inherit properties from the parent page. Depending on the page |
| 16603 | # type the hierarchy is defined in either |
| 16604 | # SlideProperties or |
| 16605 | # LayoutProperties. |
| 16606 | "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited |
| 16607 | # from a parent page if it exists. If the page has no parent, then the |
| 16608 | # background fill defaults to the corresponding fill in the Slides editor. |
| 16609 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 16610 | # specified color value. |
| 16611 | # |
| 16612 | # If any field is unset, its value may be inherited from a parent placeholder |
| 16613 | # if it exists. |
| 16614 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 16615 | "themeColor": "A String", # An opaque theme color. |
| 16616 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 16617 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16618 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16619 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16620 | }, |
| 16621 | }, |
| 16622 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 16623 | # That is, the final pixel color is defined by the equation: |
| 16624 | # |
| 16625 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 16626 | # |
| 16627 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 16628 | # a value of 0.0 corresponds to a completely transparent color. |
| 16629 | }, |
| 16630 | "propertyState": "A String", # The background fill property state. |
| 16631 | # |
| 16632 | # Updating the fill on a page will implicitly update this field to |
| 16633 | # `RENDERED`, unless another value is specified in the same request. To |
| 16634 | # have no fill on a page, set this field to `NOT_RENDERED`. In this case, |
| 16635 | # any other fill fields set in the same request will be ignored. |
| 16636 | "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill. |
| 16637 | # the specified picture. The picture is stretched to fit its container. |
| 16638 | "contentUrl": "A String", # Reading the content_url: |
| 16639 | # |
| 16640 | # An URL to a picture with a default lifetime of 30 minutes. |
| 16641 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 16642 | # effectively accesses the picture as the original requester. Access to the |
| 16643 | # picture may be lost if the presentation's sharing settings change. |
| 16644 | # |
| 16645 | # Writing the content_url: |
| 16646 | # |
| 16647 | # The picture is fetched once at insertion time and a copy is stored for |
| 16648 | # display inside the presentation. Pictures must be less than 50MB in size, |
| 16649 | # cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF |
| 16650 | # format. |
| 16651 | # |
| 16652 | # The provided URL can be at most 2 kB in length. |
| 16653 | "size": { # A width and height. # The original size of the picture fill. This field is read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 16654 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 16655 | "magnitude": 3.14, # The magnitude. |
| 16656 | "unit": "A String", # The units for magnitude. |
| 16657 | }, |
| 16658 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 16659 | "magnitude": 3.14, # The magnitude. |
| 16660 | "unit": "A String", # The units for magnitude. |
| 16661 | }, |
| 16662 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 16663 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 16664 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16665 | "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from |
| 16666 | # a parent page. If the page has no parent, the color scheme uses a default |
| 16667 | # Slides color scheme. This field is read-only. |
| 16668 | "colors": [ # The ThemeColorType and corresponding concrete color pairs. |
| 16669 | { # A pair mapping a theme color type to the concrete color it represents. |
| 16670 | "color": { # An RGB color. # The concrete color corresponding to the theme color type above. |
| 16671 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16672 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16673 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 16674 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16675 | "type": "A String", # The type of the theme color. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 16676 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16677 | ], |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 16678 | }, |
| 16679 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16680 | "pageType": "A String", # The type of the page. |
| 16681 | "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE. |
| 16682 | # relevant for pages with page_type SLIDE. |
| 16683 | "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual |
| 16684 | # appearance of a notes page when printing or exporting slides with speaker |
| 16685 | # notes. A notes page inherits properties from the |
| 16686 | # notes master. |
| 16687 | # The placeholder shape with type BODY on the notes page contains the speaker |
| 16688 | # notes for this slide. The ID of this shape is identified by the |
| 16689 | # speakerNotesObjectId field. |
| 16690 | # The notes page is read-only except for the text content and styles of the |
| 16691 | # speaker notes shape. This property is read-only. |
| 16692 | "masterObjectId": "A String", # The object ID of the master that this slide is based on. This property is |
| 16693 | # read-only. |
| 16694 | "layoutObjectId": "A String", # The object ID of the layout that this slide is based on. This property is |
| 16695 | # read-only. |
| 16696 | }, |
| 16697 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 16698 | "slides": [ # The slides in the presentation. |
| 16699 | # A slide inherits properties from a slide layout. |
| 16700 | { # A page in a presentation. |
| 16701 | "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT. |
| 16702 | # relevant for pages with page_type LAYOUT. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16703 | "displayName": "A String", # The human-readable name of the layout. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 16704 | "name": "A String", # The name of the layout. |
| 16705 | "masterObjectId": "A String", # The object ID of the master that this layout is based on. |
| 16706 | }, |
| 16707 | "pageElements": [ # The page elements rendered on the page. |
| 16708 | { # A visual element rendered on a page. |
| 16709 | "wordArt": { # A PageElement kind representing # A word art page element. |
| 16710 | # word art. |
| 16711 | "renderedText": "A String", # The text rendered as word art. |
| 16712 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16713 | "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit. |
| 16714 | # joined collection of PageElements. |
| 16715 | "children": [ # The collection of elements in the group. The minimum size of a group is 2. |
| 16716 | # Object with schema name: PageElement |
| 16717 | ], |
| 16718 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 16719 | "objectId": "A String", # The object ID for this page element. Object IDs used by |
| 16720 | # google.apps.slides.v1.Page and |
| 16721 | # google.apps.slides.v1.PageElement share the same namespace. |
| 16722 | "title": "A String", # The title of the page element. Combined with description to display alt |
| 16723 | # text. |
| 16724 | "image": { # A PageElement kind representing an # An image page element. |
| 16725 | # image. |
| 16726 | "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes. |
| 16727 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 16728 | # effectively accesses the image as the original requester. Access to the |
| 16729 | # image may be lost if the presentation's sharing settings change. |
| 16730 | "imageProperties": { # The properties of the Image. # The properties of the image. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16731 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 16732 | # |
| 16733 | # If these fields are unset, they may be inherited from a parent placeholder |
| 16734 | # if it exists. If there is no parent, the fields will default to the value |
| 16735 | # used for new page elements created in the Slides editor, which may depend on |
| 16736 | # the page element kind. |
| 16737 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 16738 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 16739 | # specified color value. |
| 16740 | # |
| 16741 | # If any field is unset, its value may be inherited from a parent placeholder |
| 16742 | # if it exists. |
| 16743 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 16744 | "themeColor": "A String", # An opaque theme color. |
| 16745 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 16746 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16747 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16748 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16749 | }, |
| 16750 | }, |
| 16751 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 16752 | # That is, the final pixel color is defined by the equation: |
| 16753 | # |
| 16754 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 16755 | # |
| 16756 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 16757 | # a value of 0.0 corresponds to a completely transparent color. |
| 16758 | }, |
| 16759 | }, |
| 16760 | "propertyState": "A String", # The outline property state. |
| 16761 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16762 | # Updating the outline on a page element will implicitly update this field |
| 16763 | # to `RENDERED`, unless another value is specified in the same request. To |
| 16764 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 16765 | # this case, any other outline fields set in the same request will be |
| 16766 | # ignored. |
| 16767 | "dashStyle": "A String", # The dash style of the outline. |
| 16768 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 16769 | "magnitude": 3.14, # The magnitude. |
| 16770 | "unit": "A String", # The units for magnitude. |
| 16771 | }, |
| 16772 | }, |
| 16773 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 16774 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 16775 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 16776 | # This property is read-only. |
| 16777 | "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color |
| 16778 | # stops. |
| 16779 | # |
| 16780 | # The colors in the gradient will replace the corresponding colors at |
| 16781 | # the same position in the color palette and apply to the image. This |
| 16782 | # property is read-only. |
| 16783 | { # A color and position in a gradient band. |
| 16784 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 16785 | "themeColor": "A String", # An opaque theme color. |
| 16786 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 16787 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16788 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16789 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16790 | }, |
| 16791 | }, |
| 16792 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 16793 | # fully opaque. |
| 16794 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 16795 | # in percentage. The value should be in the interval [0.0, 1.0]. |
| 16796 | }, |
| 16797 | ], |
| 16798 | "name": "A String", # The name of the recolor effect. |
| 16799 | # |
| 16800 | # The name is determined from the `recolor_stops` by matching the gradient |
| 16801 | # against the colors in the page's current color scheme. This property is |
| 16802 | # read-only. |
| 16803 | }, |
| 16804 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 16805 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 16806 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 16807 | # in the presentation. There may not be a slide at this index. |
| 16808 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 16809 | # presentation with this ID. A page with this ID may not exist. |
| 16810 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 16811 | # addressed by its position. |
| 16812 | }, |
| 16813 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 16814 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 16815 | # This property is read-only. |
| 16816 | "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. |
| 16817 | # This property is read-only. |
| 16818 | # Image. |
| 16819 | # |
| 16820 | # The crop properties is represented by the offsets of four edges which define |
| 16821 | # a crop rectangle. The offsets are measured in percentage from the |
| 16822 | # corresponding edges of the object's original bounding rectangle towards |
| 16823 | # inside, relative to the object's original dimensions. |
| 16824 | # |
| 16825 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 16826 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 16827 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 16828 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 16829 | # - If the left edge of the crop rectangle is on the right side of its right |
| 16830 | # edge, the object will be flipped horizontally. |
| 16831 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 16832 | # will be flipped vertically. |
| 16833 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 16834 | # |
| 16835 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 16836 | # its container. |
| 16837 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 16838 | # the right of the original bounding rectangle left edge, relative to the |
| 16839 | # object's original width. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16840 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 16841 | # above the original bounding rectangle bottom edge, relative to the object's |
| 16842 | # original height. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 16843 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 16844 | # Rotation angle is applied after the offset. |
| 16845 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 16846 | # to the left of the original bounding rectangle right edge, relative to the |
| 16847 | # object's original width. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 16848 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 16849 | # below the original bounding rectangle top edge, relative to the object's |
| 16850 | # original height. |
| 16851 | }, |
| 16852 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 16853 | # is read-only. |
| 16854 | # |
| 16855 | # If these fields are unset, they may be inherited from a parent placeholder |
| 16856 | # if it exists. If there is no parent, the fields will default to the value |
| 16857 | # used for new page elements created in the Slides editor, which may depend on |
| 16858 | # the page element kind. |
| 16859 | "color": { # A themeable solid color value. # The shadow color value. |
| 16860 | "themeColor": "A String", # An opaque theme color. |
| 16861 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 16862 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16863 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16864 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16865 | }, |
| 16866 | }, |
| 16867 | "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, |
| 16868 | # relative to the alignment position. |
| 16869 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 16870 | # according to: |
| 16871 | # |
| 16872 | # x' x = shear_y scale_y translate_y |
| 16873 | # 1 [ 1 ] |
| 16874 | # |
| 16875 | # After transformation, |
| 16876 | # |
| 16877 | # x' = scale_x * x + shear_x * y + translate_x; |
| 16878 | # y' = scale_y * y + shear_y * x + translate_y; |
| 16879 | # |
| 16880 | # This message is therefore composed of these six matrix elements. |
| 16881 | "translateX": 3.14, # The X coordinate translation element. |
| 16882 | "translateY": 3.14, # The Y coordinate translation element. |
| 16883 | "scaleX": 3.14, # The X coordinate scaling element. |
| 16884 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 16885 | "shearY": 3.14, # The Y coordinate shearing element. |
| 16886 | "shearX": 3.14, # The X coordinate shearing element. |
| 16887 | "unit": "A String", # The units for translate elements. |
| 16888 | }, |
| 16889 | "propertyState": "A String", # The shadow property state. |
| 16890 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16891 | # Updating the shadow on a page element will implicitly update this field to |
| 16892 | # `RENDERED`, unless another value is specified in the same request. To have |
| 16893 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 16894 | # case, any other shadow fields set in the same request will be ignored. |
| 16895 | "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 |
| 16896 | # shadow becomes. |
| 16897 | "magnitude": 3.14, # The magnitude. |
| 16898 | "unit": "A String", # The units for magnitude. |
| 16899 | }, |
| 16900 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16901 | "type": "A String", # The type of the shadow. This property is read-only. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 16902 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16903 | # scale and skew of the shadow. This property is read-only. |
| 16904 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 16905 | # read-only. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 16906 | }, |
| 16907 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 16908 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 16909 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16910 | "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be |
| 16911 | # empty. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 16912 | }, |
| 16913 | "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16914 | # |
| 16915 | # The visual appearance of the page element is determined by its absolute |
| 16916 | # transform. To compute the absolute transform, preconcatenate a page |
| 16917 | # element's transform with the transforms of all of its parent groups. If the |
| 16918 | # page element is not in a group, its absolute transform is the same as the |
| 16919 | # value in this field. |
| 16920 | # |
| 16921 | # The initial transform for the newly created Group is always the identity transform. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 16922 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 16923 | # according to: |
| 16924 | # |
| 16925 | # x' x = shear_y scale_y translate_y |
| 16926 | # 1 [ 1 ] |
| 16927 | # |
| 16928 | # After transformation, |
| 16929 | # |
| 16930 | # x' = scale_x * x + shear_x * y + translate_x; |
| 16931 | # y' = scale_y * y + shear_y * x + translate_y; |
| 16932 | # |
| 16933 | # This message is therefore composed of these six matrix elements. |
| 16934 | "translateX": 3.14, # The X coordinate translation element. |
| 16935 | "translateY": 3.14, # The Y coordinate translation element. |
| 16936 | "scaleX": 3.14, # The X coordinate scaling element. |
| 16937 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 16938 | "shearY": 3.14, # The Y coordinate shearing element. |
| 16939 | "shearX": 3.14, # The X coordinate shearing element. |
| 16940 | "unit": "A String", # The units for translate elements. |
| 16941 | }, |
| 16942 | "shape": { # A PageElement kind representing a # A generic shape. |
| 16943 | # generic shape that does not have a more specific classification. |
| 16944 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape. |
| 16945 | # text box or rectangle) or a table cell in a page. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 16946 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 16947 | # information. This property is read-only. |
| 16948 | { # A TextElement describes the content of a range of indices in the text content |
| 16949 | # of a Shape or TableCell. |
| 16950 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 16951 | # replaced with content that can change over time. |
| 16952 | "content": "A String", # The rendered content of this auto text, if available. |
| 16953 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 16954 | # |
| 16955 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 16956 | # inherited from the parent. Which text styles are inherited depend on the |
| 16957 | # nesting level of lists: |
| 16958 | # |
| 16959 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 16960 | # from the the newline character in the paragraph at the 0 nesting level of |
| 16961 | # the list inside the parent placeholder. |
| 16962 | # * A text run in a paragraph that is in a list will inherit its text style |
| 16963 | # from the newline character in the paragraph at its corresponding nesting |
| 16964 | # level of the list inside the parent placeholder. |
| 16965 | # |
| 16966 | # Inherited text styles are represented as unset fields in this message. If |
| 16967 | # text is contained in a shape without a parent placeholder, unsetting these |
| 16968 | # fields will revert the style to a value matching the defaults in the Slides |
| 16969 | # editor. |
| 16970 | "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 |
| 16971 | # transparent, depending on if the `opaque_color` field in it is set. |
| 16972 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 16973 | # a transparent color. |
| 16974 | "themeColor": "A String", # An opaque theme color. |
| 16975 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 16976 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16977 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16978 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16979 | }, |
| 16980 | }, |
| 16981 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 16982 | "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 |
| 16983 | # transparent, depending on if the `opaque_color` field in it is set. |
| 16984 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 16985 | # a transparent color. |
| 16986 | "themeColor": "A String", # An opaque theme color. |
| 16987 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 16988 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16989 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16990 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16991 | }, |
| 16992 | }, |
| 16993 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 16994 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 16995 | # |
| 16996 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 16997 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 16998 | # The `font_size` itself is not affected by changes in this field. |
| 16999 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 17000 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 17001 | # |
| 17002 | # This field is an extension of `font_family` meant to support explicit font |
| 17003 | # weights without breaking backwards compatibility. As such, when reading the |
| 17004 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 17005 | # will always be equal to that of `font_family`. However, when writing, if |
| 17006 | # both fields are included in the field mask (either explicitly or through |
| 17007 | # the wildcard `"*"`), their values are reconciled as follows: |
| 17008 | # |
| 17009 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 17010 | # `font_family` is applied with weight `400` ("normal"). |
| 17011 | # * If both fields are set, the value of `font_family` must match that of |
| 17012 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 17013 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 17014 | # returned. |
| 17015 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 17016 | # family and weight of `weighted_font_family` is applied. |
| 17017 | # * If neither field is set, the font family and weight of the text inherit |
| 17018 | # from the parent. Note that these properties cannot inherit separately |
| 17019 | # from each other. |
| 17020 | # |
| 17021 | # If an update request specifies values for both `weighted_font_family` and |
| 17022 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 17023 | # |
| 17024 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 17025 | # |
| 17026 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 17027 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 17028 | # is returned. |
| 17029 | "fontFamily": "A String", # The font family of the text. |
| 17030 | # |
| 17031 | # The font family can be any font from the Font menu in Slides or from |
| 17032 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 17033 | # unrecognized, the text is rendered in `Arial`. |
| 17034 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 17035 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 17036 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17037 | # Specification, |
| 17038 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17039 | # with non-numerical values disallowed. Weights greater than or equal to |
| 17040 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 17041 | # default value is `400` ("normal"). |
| 17042 | }, |
| 17043 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 17044 | "fontFamily": "A String", # The font family of the text. |
| 17045 | # |
| 17046 | # The font family can be any font from the Font menu in Slides or from |
| 17047 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 17048 | # unrecognized, the text is rendered in `Arial`. |
| 17049 | # |
| 17050 | # Some fonts can affect the weight of the text. If an update request |
| 17051 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 17052 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17053 | "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 |
| 17054 | # points. |
| 17055 | "magnitude": 3.14, # The magnitude. |
| 17056 | "unit": "A String", # The units for magnitude. |
| 17057 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17058 | "italic": True or False, # Whether or not the text is italicized. |
| 17059 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 17060 | # are not inherited from parent text. |
| 17061 | # |
| 17062 | # Changing the link in an update request causes some other changes to the |
| 17063 | # text style of the range: |
| 17064 | # |
| 17065 | # * When setting a link, the text foreground color will be set to |
| 17066 | # ThemeColorType.HYPERLINK and the text will |
| 17067 | # be underlined. If these fields are modified in the same |
| 17068 | # request, those values will be used instead of the link defaults. |
| 17069 | # * Setting a link on a text range that overlaps with an existing link will |
| 17070 | # also update the existing link to point to the new URL. |
| 17071 | # * Links are not settable on newline characters. As a result, setting a link |
| 17072 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 17073 | # will separate the newline character(s) into their own text runs. The |
| 17074 | # link will be applied separately to the runs before and after the newline. |
| 17075 | # * Removing a link will update the text style of the range to match the |
| 17076 | # style of the preceding text (or the default text styles if the preceding |
| 17077 | # text is another link) unless different styles are being set in the same |
| 17078 | # request. |
| 17079 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 17080 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 17081 | # in the presentation. There may not be a slide at this index. |
| 17082 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 17083 | # presentation with this ID. A page with this ID may not exist. |
| 17084 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 17085 | # addressed by its position. |
| 17086 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17087 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17088 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17089 | }, |
| 17090 | "type": "A String", # The type of this auto text. |
| 17091 | }, |
| 17092 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 17093 | # units. |
| 17094 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 17095 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 17096 | # |
| 17097 | # The `start_index` and `end_index` of this TextElement represent the |
| 17098 | # range of the paragraph. Other TextElements with an index range contained |
| 17099 | # inside this paragraph's range are considered to be part of this |
| 17100 | # paragraph. The range of indices of two separate paragraphs will never |
| 17101 | # overlap. |
| 17102 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 17103 | # |
| 17104 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 17105 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 17106 | # nesting level of lists: |
| 17107 | # |
| 17108 | # * A paragraph not in a list will inherit its paragraph style from the |
| 17109 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 17110 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 17111 | # at its corresponding nesting level of the list inside the parent |
| 17112 | # placeholder. |
| 17113 | # |
| 17114 | # Inherited paragraph styles are represented as unset fields in this message. |
| 17115 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 17116 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 17117 | # LEFT_TO_RIGHT since |
| 17118 | # text direction is not inherited. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17119 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17120 | # inherited from the parent. |
| 17121 | "magnitude": 3.14, # The magnitude. |
| 17122 | "unit": "A String", # The units for magnitude. |
| 17123 | }, |
| 17124 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 17125 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 17126 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 17127 | # the start of the text, based on the current text direction. If unset, the |
| 17128 | # value is inherited from the parent. |
| 17129 | "magnitude": 3.14, # The magnitude. |
| 17130 | "unit": "A String", # The units for magnitude. |
| 17131 | }, |
| 17132 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 17133 | # inherited from the parent. |
| 17134 | "magnitude": 3.14, # The magnitude. |
| 17135 | "unit": "A String", # The units for magnitude. |
| 17136 | }, |
| 17137 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 17138 | # the end of the text, based on the current text direction. If unset, the |
| 17139 | # value is inherited from the parent. |
| 17140 | "magnitude": 3.14, # The magnitude. |
| 17141 | "unit": "A String", # The units for magnitude. |
| 17142 | }, |
| 17143 | "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. |
| 17144 | # If unset, the value is inherited from the parent. |
| 17145 | "magnitude": 3.14, # The magnitude. |
| 17146 | "unit": "A String", # The units for magnitude. |
| 17147 | }, |
| 17148 | "alignment": "A String", # The text alignment for this paragraph. |
| 17149 | }, |
| 17150 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 17151 | # belong to a list. |
| 17152 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 17153 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 17154 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 17155 | # |
| 17156 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 17157 | # inherited from the parent. Which text styles are inherited depend on the |
| 17158 | # nesting level of lists: |
| 17159 | # |
| 17160 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 17161 | # from the the newline character in the paragraph at the 0 nesting level of |
| 17162 | # the list inside the parent placeholder. |
| 17163 | # * A text run in a paragraph that is in a list will inherit its text style |
| 17164 | # from the newline character in the paragraph at its corresponding nesting |
| 17165 | # level of the list inside the parent placeholder. |
| 17166 | # |
| 17167 | # Inherited text styles are represented as unset fields in this message. If |
| 17168 | # text is contained in a shape without a parent placeholder, unsetting these |
| 17169 | # fields will revert the style to a value matching the defaults in the Slides |
| 17170 | # editor. |
| 17171 | "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 |
| 17172 | # transparent, depending on if the `opaque_color` field in it is set. |
| 17173 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 17174 | # a transparent color. |
| 17175 | "themeColor": "A String", # An opaque theme color. |
| 17176 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 17177 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17178 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17179 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17180 | }, |
| 17181 | }, |
| 17182 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17183 | "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 |
| 17184 | # transparent, depending on if the `opaque_color` field in it is set. |
| 17185 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 17186 | # a transparent color. |
| 17187 | "themeColor": "A String", # An opaque theme color. |
| 17188 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 17189 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17190 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17191 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17192 | }, |
| 17193 | }, |
| 17194 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17195 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 17196 | # |
| 17197 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 17198 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 17199 | # The `font_size` itself is not affected by changes in this field. |
| 17200 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 17201 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 17202 | # |
| 17203 | # This field is an extension of `font_family` meant to support explicit font |
| 17204 | # weights without breaking backwards compatibility. As such, when reading the |
| 17205 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 17206 | # will always be equal to that of `font_family`. However, when writing, if |
| 17207 | # both fields are included in the field mask (either explicitly or through |
| 17208 | # the wildcard `"*"`), their values are reconciled as follows: |
| 17209 | # |
| 17210 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 17211 | # `font_family` is applied with weight `400` ("normal"). |
| 17212 | # * If both fields are set, the value of `font_family` must match that of |
| 17213 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 17214 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 17215 | # returned. |
| 17216 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 17217 | # family and weight of `weighted_font_family` is applied. |
| 17218 | # * If neither field is set, the font family and weight of the text inherit |
| 17219 | # from the parent. Note that these properties cannot inherit separately |
| 17220 | # from each other. |
| 17221 | # |
| 17222 | # If an update request specifies values for both `weighted_font_family` and |
| 17223 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 17224 | # |
| 17225 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 17226 | # |
| 17227 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 17228 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 17229 | # is returned. |
| 17230 | "fontFamily": "A String", # The font family of the text. |
| 17231 | # |
| 17232 | # The font family can be any font from the Font menu in Slides or from |
| 17233 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 17234 | # unrecognized, the text is rendered in `Arial`. |
| 17235 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 17236 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 17237 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17238 | # Specification, |
| 17239 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17240 | # with non-numerical values disallowed. Weights greater than or equal to |
| 17241 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 17242 | # default value is `400` ("normal"). |
| 17243 | }, |
| 17244 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 17245 | "fontFamily": "A String", # The font family of the text. |
| 17246 | # |
| 17247 | # The font family can be any font from the Font menu in Slides or from |
| 17248 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 17249 | # unrecognized, the text is rendered in `Arial`. |
| 17250 | # |
| 17251 | # Some fonts can affect the weight of the text. If an update request |
| 17252 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 17253 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17254 | "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 |
| 17255 | # points. |
| 17256 | "magnitude": 3.14, # The magnitude. |
| 17257 | "unit": "A String", # The units for magnitude. |
| 17258 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17259 | "italic": True or False, # Whether or not the text is italicized. |
| 17260 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 17261 | # are not inherited from parent text. |
| 17262 | # |
| 17263 | # Changing the link in an update request causes some other changes to the |
| 17264 | # text style of the range: |
| 17265 | # |
| 17266 | # * When setting a link, the text foreground color will be set to |
| 17267 | # ThemeColorType.HYPERLINK and the text will |
| 17268 | # be underlined. If these fields are modified in the same |
| 17269 | # request, those values will be used instead of the link defaults. |
| 17270 | # * Setting a link on a text range that overlaps with an existing link will |
| 17271 | # also update the existing link to point to the new URL. |
| 17272 | # * Links are not settable on newline characters. As a result, setting a link |
| 17273 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 17274 | # will separate the newline character(s) into their own text runs. The |
| 17275 | # link will be applied separately to the runs before and after the newline. |
| 17276 | # * Removing a link will update the text style of the range to match the |
| 17277 | # style of the preceding text (or the default text styles if the preceding |
| 17278 | # text is another link) unless different styles are being set in the same |
| 17279 | # request. |
| 17280 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 17281 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 17282 | # in the presentation. There may not be a slide at this index. |
| 17283 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 17284 | # presentation with this ID. A page with this ID may not exist. |
| 17285 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 17286 | # addressed by its position. |
| 17287 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17288 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17289 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17290 | }, |
| 17291 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 17292 | }, |
| 17293 | }, |
| 17294 | "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 |
| 17295 | # in the run have the same TextStyle. |
| 17296 | # |
| 17297 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 17298 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 17299 | # In other words, a TextRun will never span multiple paragraphs. |
| 17300 | # styling. |
| 17301 | "content": "A String", # The text of this run. |
| 17302 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 17303 | # |
| 17304 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 17305 | # inherited from the parent. Which text styles are inherited depend on the |
| 17306 | # nesting level of lists: |
| 17307 | # |
| 17308 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 17309 | # from the the newline character in the paragraph at the 0 nesting level of |
| 17310 | # the list inside the parent placeholder. |
| 17311 | # * A text run in a paragraph that is in a list will inherit its text style |
| 17312 | # from the newline character in the paragraph at its corresponding nesting |
| 17313 | # level of the list inside the parent placeholder. |
| 17314 | # |
| 17315 | # Inherited text styles are represented as unset fields in this message. If |
| 17316 | # text is contained in a shape without a parent placeholder, unsetting these |
| 17317 | # fields will revert the style to a value matching the defaults in the Slides |
| 17318 | # editor. |
| 17319 | "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 |
| 17320 | # transparent, depending on if the `opaque_color` field in it is set. |
| 17321 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 17322 | # a transparent color. |
| 17323 | "themeColor": "A String", # An opaque theme color. |
| 17324 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 17325 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17326 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17327 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17328 | }, |
| 17329 | }, |
| 17330 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17331 | "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 |
| 17332 | # transparent, depending on if the `opaque_color` field in it is set. |
| 17333 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 17334 | # a transparent color. |
| 17335 | "themeColor": "A String", # An opaque theme color. |
| 17336 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 17337 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17338 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17339 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17340 | }, |
| 17341 | }, |
| 17342 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17343 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 17344 | # |
| 17345 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 17346 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 17347 | # The `font_size` itself is not affected by changes in this field. |
| 17348 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 17349 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 17350 | # |
| 17351 | # This field is an extension of `font_family` meant to support explicit font |
| 17352 | # weights without breaking backwards compatibility. As such, when reading the |
| 17353 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 17354 | # will always be equal to that of `font_family`. However, when writing, if |
| 17355 | # both fields are included in the field mask (either explicitly or through |
| 17356 | # the wildcard `"*"`), their values are reconciled as follows: |
| 17357 | # |
| 17358 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 17359 | # `font_family` is applied with weight `400` ("normal"). |
| 17360 | # * If both fields are set, the value of `font_family` must match that of |
| 17361 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 17362 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 17363 | # returned. |
| 17364 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 17365 | # family and weight of `weighted_font_family` is applied. |
| 17366 | # * If neither field is set, the font family and weight of the text inherit |
| 17367 | # from the parent. Note that these properties cannot inherit separately |
| 17368 | # from each other. |
| 17369 | # |
| 17370 | # If an update request specifies values for both `weighted_font_family` and |
| 17371 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 17372 | # |
| 17373 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 17374 | # |
| 17375 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 17376 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 17377 | # is returned. |
| 17378 | "fontFamily": "A String", # The font family of the text. |
| 17379 | # |
| 17380 | # The font family can be any font from the Font menu in Slides or from |
| 17381 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 17382 | # unrecognized, the text is rendered in `Arial`. |
| 17383 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 17384 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 17385 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17386 | # Specification, |
| 17387 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17388 | # with non-numerical values disallowed. Weights greater than or equal to |
| 17389 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 17390 | # default value is `400` ("normal"). |
| 17391 | }, |
| 17392 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 17393 | "fontFamily": "A String", # The font family of the text. |
| 17394 | # |
| 17395 | # The font family can be any font from the Font menu in Slides or from |
| 17396 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 17397 | # unrecognized, the text is rendered in `Arial`. |
| 17398 | # |
| 17399 | # Some fonts can affect the weight of the text. If an update request |
| 17400 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 17401 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17402 | "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 |
| 17403 | # points. |
| 17404 | "magnitude": 3.14, # The magnitude. |
| 17405 | "unit": "A String", # The units for magnitude. |
| 17406 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17407 | "italic": True or False, # Whether or not the text is italicized. |
| 17408 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 17409 | # are not inherited from parent text. |
| 17410 | # |
| 17411 | # Changing the link in an update request causes some other changes to the |
| 17412 | # text style of the range: |
| 17413 | # |
| 17414 | # * When setting a link, the text foreground color will be set to |
| 17415 | # ThemeColorType.HYPERLINK and the text will |
| 17416 | # be underlined. If these fields are modified in the same |
| 17417 | # request, those values will be used instead of the link defaults. |
| 17418 | # * Setting a link on a text range that overlaps with an existing link will |
| 17419 | # also update the existing link to point to the new URL. |
| 17420 | # * Links are not settable on newline characters. As a result, setting a link |
| 17421 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 17422 | # will separate the newline character(s) into their own text runs. The |
| 17423 | # link will be applied separately to the runs before and after the newline. |
| 17424 | # * Removing a link will update the text style of the range to match the |
| 17425 | # style of the preceding text (or the default text styles if the preceding |
| 17426 | # text is another link) unless different styles are being set in the same |
| 17427 | # request. |
| 17428 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 17429 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 17430 | # in the presentation. There may not be a slide at this index. |
| 17431 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 17432 | # presentation with this ID. A page with this ID may not exist. |
| 17433 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 17434 | # addressed by its position. |
| 17435 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17436 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17437 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17438 | }, |
| 17439 | }, |
| 17440 | }, |
| 17441 | ], |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17442 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 17443 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 17444 | # associated with a list. A paragraph that is part of a list has an implicit |
| 17445 | # reference to that list's ID. |
| 17446 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 17447 | # level. A list has at most nine levels of nesting, so the possible values |
| 17448 | # for the keys of this map are 0 through 8, inclusive. |
| 17449 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 17450 | # level of nesting. |
| 17451 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 17452 | # |
| 17453 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 17454 | # inherited from the parent. Which text styles are inherited depend on the |
| 17455 | # nesting level of lists: |
| 17456 | # |
| 17457 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 17458 | # from the the newline character in the paragraph at the 0 nesting level of |
| 17459 | # the list inside the parent placeholder. |
| 17460 | # * A text run in a paragraph that is in a list will inherit its text style |
| 17461 | # from the newline character in the paragraph at its corresponding nesting |
| 17462 | # level of the list inside the parent placeholder. |
| 17463 | # |
| 17464 | # Inherited text styles are represented as unset fields in this message. If |
| 17465 | # text is contained in a shape without a parent placeholder, unsetting these |
| 17466 | # fields will revert the style to a value matching the defaults in the Slides |
| 17467 | # editor. |
| 17468 | "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 |
| 17469 | # transparent, depending on if the `opaque_color` field in it is set. |
| 17470 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 17471 | # a transparent color. |
| 17472 | "themeColor": "A String", # An opaque theme color. |
| 17473 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 17474 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17475 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17476 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17477 | }, |
| 17478 | }, |
| 17479 | }, |
| 17480 | "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 |
| 17481 | # transparent, depending on if the `opaque_color` field in it is set. |
| 17482 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 17483 | # a transparent color. |
| 17484 | "themeColor": "A String", # An opaque theme color. |
| 17485 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 17486 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17487 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17488 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17489 | }, |
| 17490 | }, |
| 17491 | }, |
| 17492 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 17493 | # |
| 17494 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 17495 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 17496 | # The `font_size` itself is not affected by changes in this field. |
| 17497 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 17498 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 17499 | # |
| 17500 | # This field is an extension of `font_family` meant to support explicit font |
| 17501 | # weights without breaking backwards compatibility. As such, when reading the |
| 17502 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 17503 | # will always be equal to that of `font_family`. However, when writing, if |
| 17504 | # both fields are included in the field mask (either explicitly or through |
| 17505 | # the wildcard `"*"`), their values are reconciled as follows: |
| 17506 | # |
| 17507 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 17508 | # `font_family` is applied with weight `400` ("normal"). |
| 17509 | # * If both fields are set, the value of `font_family` must match that of |
| 17510 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 17511 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 17512 | # returned. |
| 17513 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 17514 | # family and weight of `weighted_font_family` is applied. |
| 17515 | # * If neither field is set, the font family and weight of the text inherit |
| 17516 | # from the parent. Note that these properties cannot inherit separately |
| 17517 | # from each other. |
| 17518 | # |
| 17519 | # If an update request specifies values for both `weighted_font_family` and |
| 17520 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 17521 | # |
| 17522 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 17523 | # |
| 17524 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 17525 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 17526 | # is returned. |
| 17527 | "fontFamily": "A String", # The font family of the text. |
| 17528 | # |
| 17529 | # The font family can be any font from the Font menu in Slides or from |
| 17530 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 17531 | # unrecognized, the text is rendered in `Arial`. |
| 17532 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 17533 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 17534 | # corresponds to the numerical values described in the CSS 2.1 |
| 17535 | # Specification, |
| 17536 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 17537 | # with non-numerical values disallowed. Weights greater than or equal to |
| 17538 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 17539 | # default value is `400` ("normal"). |
| 17540 | }, |
| 17541 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 17542 | "fontFamily": "A String", # The font family of the text. |
| 17543 | # |
| 17544 | # The font family can be any font from the Font menu in Slides or from |
| 17545 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 17546 | # unrecognized, the text is rendered in `Arial`. |
| 17547 | # |
| 17548 | # Some fonts can affect the weight of the text. If an update request |
| 17549 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 17550 | # `bold` value is used. |
| 17551 | "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 |
| 17552 | # points. |
| 17553 | "magnitude": 3.14, # The magnitude. |
| 17554 | "unit": "A String", # The units for magnitude. |
| 17555 | }, |
| 17556 | "italic": True or False, # Whether or not the text is italicized. |
| 17557 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 17558 | # are not inherited from parent text. |
| 17559 | # |
| 17560 | # Changing the link in an update request causes some other changes to the |
| 17561 | # text style of the range: |
| 17562 | # |
| 17563 | # * When setting a link, the text foreground color will be set to |
| 17564 | # ThemeColorType.HYPERLINK and the text will |
| 17565 | # be underlined. If these fields are modified in the same |
| 17566 | # request, those values will be used instead of the link defaults. |
| 17567 | # * Setting a link on a text range that overlaps with an existing link will |
| 17568 | # also update the existing link to point to the new URL. |
| 17569 | # * Links are not settable on newline characters. As a result, setting a link |
| 17570 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 17571 | # will separate the newline character(s) into their own text runs. The |
| 17572 | # link will be applied separately to the runs before and after the newline. |
| 17573 | # * Removing a link will update the text style of the range to match the |
| 17574 | # style of the preceding text (or the default text styles if the preceding |
| 17575 | # text is another link) unless different styles are being set in the same |
| 17576 | # request. |
| 17577 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 17578 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 17579 | # in the presentation. There may not be a slide at this index. |
| 17580 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 17581 | # presentation with this ID. A page with this ID may not exist. |
| 17582 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 17583 | # addressed by its position. |
| 17584 | }, |
| 17585 | "underline": True or False, # Whether or not the text is underlined. |
| 17586 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 17587 | }, |
| 17588 | }, |
| 17589 | }, |
| 17590 | "listId": "A String", # The ID of the list. |
| 17591 | }, |
| 17592 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17593 | }, |
| 17594 | "shapeProperties": { # The properties of a Shape. # The properties of the shape. |
| 17595 | # |
| 17596 | # If the shape is a placeholder shape as determined by the |
| 17597 | # placeholder field, then these |
| 17598 | # properties may be inherited from a parent placeholder shape. |
| 17599 | # Determining the rendered value of the property depends on the corresponding |
| 17600 | # property_state field value. |
| 17601 | "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from |
| 17602 | # a parent placeholder if it exists. If the shape has no parent, then the |
| 17603 | # default shadow matches the defaults for new shapes created in the Slides |
| 17604 | # editor. This property is read-only. |
| 17605 | # |
| 17606 | # If these fields are unset, they may be inherited from a parent placeholder |
| 17607 | # if it exists. If there is no parent, the fields will default to the value |
| 17608 | # used for new page elements created in the Slides editor, which may depend on |
| 17609 | # the page element kind. |
| 17610 | "color": { # A themeable solid color value. # The shadow color value. |
| 17611 | "themeColor": "A String", # An opaque theme color. |
| 17612 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 17613 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17614 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17615 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17616 | }, |
| 17617 | }, |
| 17618 | "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, |
| 17619 | # relative to the alignment position. |
| 17620 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 17621 | # according to: |
| 17622 | # |
| 17623 | # x' x = shear_y scale_y translate_y |
| 17624 | # 1 [ 1 ] |
| 17625 | # |
| 17626 | # After transformation, |
| 17627 | # |
| 17628 | # x' = scale_x * x + shear_x * y + translate_x; |
| 17629 | # y' = scale_y * y + shear_y * x + translate_y; |
| 17630 | # |
| 17631 | # This message is therefore composed of these six matrix elements. |
| 17632 | "translateX": 3.14, # The X coordinate translation element. |
| 17633 | "translateY": 3.14, # The Y coordinate translation element. |
| 17634 | "scaleX": 3.14, # The X coordinate scaling element. |
| 17635 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 17636 | "shearY": 3.14, # The Y coordinate shearing element. |
| 17637 | "shearX": 3.14, # The X coordinate shearing element. |
| 17638 | "unit": "A String", # The units for translate elements. |
| 17639 | }, |
| 17640 | "propertyState": "A String", # The shadow property state. |
| 17641 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17642 | # Updating the shadow on a page element will implicitly update this field to |
| 17643 | # `RENDERED`, unless another value is specified in the same request. To have |
| 17644 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17645 | # case, any other shadow fields set in the same request will be ignored. |
| 17646 | "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 |
| 17647 | # shadow becomes. |
| 17648 | "magnitude": 3.14, # The magnitude. |
| 17649 | "unit": "A String", # The units for magnitude. |
| 17650 | }, |
| 17651 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17652 | "type": "A String", # The type of the shadow. This property is read-only. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17653 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17654 | # scale and skew of the shadow. This property is read-only. |
| 17655 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 17656 | # read-only. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17657 | }, |
| 17658 | "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is |
| 17659 | # inherited from a parent placeholder if it exists. If the shape has no |
| 17660 | # parent, then the default background fill depends on the shape type, |
| 17661 | # matching the defaults for new shapes created in the Slides editor. |
| 17662 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 17663 | # specified color value. |
| 17664 | # |
| 17665 | # If any field is unset, its value may be inherited from a parent placeholder |
| 17666 | # if it exists. |
| 17667 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 17668 | "themeColor": "A String", # An opaque theme color. |
| 17669 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 17670 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17671 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17672 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17673 | }, |
| 17674 | }, |
| 17675 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 17676 | # That is, the final pixel color is defined by the equation: |
| 17677 | # |
| 17678 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 17679 | # |
| 17680 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 17681 | # a value of 0.0 corresponds to a completely transparent color. |
| 17682 | }, |
| 17683 | "propertyState": "A String", # The background fill property state. |
| 17684 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17685 | # Updating the fill on a shape will implicitly update this field to |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17686 | # `RENDERED`, unless another value is specified in the same request. To |
| 17687 | # have no fill on a shape, set this field to `NOT_RENDERED`. In this case, |
| 17688 | # any other fill fields set in the same request will be ignored. |
| 17689 | }, |
| 17690 | "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links |
| 17691 | # are not inherited from parent placeholders. |
| 17692 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 17693 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 17694 | # in the presentation. There may not be a slide at this index. |
| 17695 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 17696 | # presentation with this ID. A page with this ID may not exist. |
| 17697 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 17698 | # addressed by its position. |
| 17699 | }, |
| 17700 | "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a |
| 17701 | # parent placeholder if it exists. If the shape has no parent, then the |
| 17702 | # default outline depends on the shape type, matching the defaults for |
| 17703 | # new shapes created in the Slides editor. |
| 17704 | # |
| 17705 | # If these fields are unset, they may be inherited from a parent placeholder |
| 17706 | # if it exists. If there is no parent, the fields will default to the value |
| 17707 | # used for new page elements created in the Slides editor, which may depend on |
| 17708 | # the page element kind. |
| 17709 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 17710 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 17711 | # specified color value. |
| 17712 | # |
| 17713 | # If any field is unset, its value may be inherited from a parent placeholder |
| 17714 | # if it exists. |
| 17715 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 17716 | "themeColor": "A String", # An opaque theme color. |
| 17717 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 17718 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17719 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17720 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17721 | }, |
| 17722 | }, |
| 17723 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 17724 | # That is, the final pixel color is defined by the equation: |
| 17725 | # |
| 17726 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 17727 | # |
| 17728 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 17729 | # a value of 0.0 corresponds to a completely transparent color. |
| 17730 | }, |
| 17731 | }, |
| 17732 | "propertyState": "A String", # The outline property state. |
| 17733 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17734 | # Updating the outline on a page element will implicitly update this field |
| 17735 | # to `RENDERED`, unless another value is specified in the same request. To |
| 17736 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17737 | # this case, any other outline fields set in the same request will be |
| 17738 | # ignored. |
| 17739 | "dashStyle": "A String", # The dash style of the outline. |
| 17740 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 17741 | "magnitude": 3.14, # The magnitude. |
| 17742 | "unit": "A String", # The units for magnitude. |
| 17743 | }, |
| 17744 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17745 | "contentAlignment": "A String", # The alignment of the content in the shape. If unspecified, |
| 17746 | # the alignment is inherited from a parent placeholder if it exists. If the |
| 17747 | # shape has no parent, the default alignment matches the alignment for new |
| 17748 | # shapes created in the Slides editor. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17749 | }, |
| 17750 | "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on |
| 17751 | # layouts and masters. |
| 17752 | # |
| 17753 | # If set, the shape is a placeholder shape and any inherited properties |
| 17754 | # can be resolved by looking at the parent placeholder identified by the |
| 17755 | # Placeholder.parent_object_id field. |
| 17756 | "parentObjectId": "A String", # The object ID of this shape's parent placeholder. |
| 17757 | # If unset, the parent placeholder shape does not exist, so the shape does |
| 17758 | # not inherit properties from any other shape. |
| 17759 | "index": 42, # The index of the placeholder. If the same placeholder types are present in |
| 17760 | # the same page, they would have different index values. |
| 17761 | "type": "A String", # The type of the placeholder. |
| 17762 | }, |
| 17763 | "shapeType": "A String", # The type of the shape. |
| 17764 | }, |
| 17765 | "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are |
| 17766 | # represented as images. |
| 17767 | # a linked chart embedded from Google Sheets. |
| 17768 | "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30 |
| 17769 | # minutes. This URL is tagged with the account of the requester. Anyone with |
| 17770 | # the URL effectively accesses the image as the original requester. Access to |
| 17771 | # the image may be lost if the presentation's sharing settings change. |
| 17772 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| 17773 | "sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart. |
| 17774 | "chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17775 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17776 | # |
| 17777 | # If these fields are unset, they may be inherited from a parent placeholder |
| 17778 | # if it exists. If there is no parent, the fields will default to the value |
| 17779 | # used for new page elements created in the Slides editor, which may depend on |
| 17780 | # the page element kind. |
| 17781 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 17782 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 17783 | # specified color value. |
| 17784 | # |
| 17785 | # If any field is unset, its value may be inherited from a parent placeholder |
| 17786 | # if it exists. |
| 17787 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 17788 | "themeColor": "A String", # An opaque theme color. |
| 17789 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 17790 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17791 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17792 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17793 | }, |
| 17794 | }, |
| 17795 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 17796 | # That is, the final pixel color is defined by the equation: |
| 17797 | # |
| 17798 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 17799 | # |
| 17800 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 17801 | # a value of 0.0 corresponds to a completely transparent color. |
| 17802 | }, |
| 17803 | }, |
| 17804 | "propertyState": "A String", # The outline property state. |
| 17805 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17806 | # Updating the outline on a page element will implicitly update this field |
| 17807 | # to `RENDERED`, unless another value is specified in the same request. To |
| 17808 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17809 | # this case, any other outline fields set in the same request will be |
| 17810 | # ignored. |
| 17811 | "dashStyle": "A String", # The dash style of the outline. |
| 17812 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 17813 | "magnitude": 3.14, # The magnitude. |
| 17814 | "unit": "A String", # The units for magnitude. |
| 17815 | }, |
| 17816 | }, |
| 17817 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 17818 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 17819 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 17820 | # This property is read-only. |
| 17821 | "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color |
| 17822 | # stops. |
| 17823 | # |
| 17824 | # The colors in the gradient will replace the corresponding colors at |
| 17825 | # the same position in the color palette and apply to the image. This |
| 17826 | # property is read-only. |
| 17827 | { # A color and position in a gradient band. |
| 17828 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 17829 | "themeColor": "A String", # An opaque theme color. |
| 17830 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 17831 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17832 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17833 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17834 | }, |
| 17835 | }, |
| 17836 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 17837 | # fully opaque. |
| 17838 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 17839 | # in percentage. The value should be in the interval [0.0, 1.0]. |
| 17840 | }, |
| 17841 | ], |
| 17842 | "name": "A String", # The name of the recolor effect. |
| 17843 | # |
| 17844 | # The name is determined from the `recolor_stops` by matching the gradient |
| 17845 | # against the colors in the page's current color scheme. This property is |
| 17846 | # read-only. |
| 17847 | }, |
| 17848 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 17849 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 17850 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 17851 | # in the presentation. There may not be a slide at this index. |
| 17852 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 17853 | # presentation with this ID. A page with this ID may not exist. |
| 17854 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 17855 | # addressed by its position. |
| 17856 | }, |
| 17857 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 17858 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 17859 | # This property is read-only. |
| 17860 | "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. |
| 17861 | # This property is read-only. |
| 17862 | # Image. |
| 17863 | # |
| 17864 | # The crop properties is represented by the offsets of four edges which define |
| 17865 | # a crop rectangle. The offsets are measured in percentage from the |
| 17866 | # corresponding edges of the object's original bounding rectangle towards |
| 17867 | # inside, relative to the object's original dimensions. |
| 17868 | # |
| 17869 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 17870 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 17871 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 17872 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 17873 | # - If the left edge of the crop rectangle is on the right side of its right |
| 17874 | # edge, the object will be flipped horizontally. |
| 17875 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 17876 | # will be flipped vertically. |
| 17877 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 17878 | # |
| 17879 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 17880 | # its container. |
| 17881 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 17882 | # the right of the original bounding rectangle left edge, relative to the |
| 17883 | # object's original width. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17884 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 17885 | # above the original bounding rectangle bottom edge, relative to the object's |
| 17886 | # original height. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17887 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 17888 | # Rotation angle is applied after the offset. |
| 17889 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 17890 | # to the left of the original bounding rectangle right edge, relative to the |
| 17891 | # object's original width. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17892 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 17893 | # below the original bounding rectangle top edge, relative to the object's |
| 17894 | # original height. |
| 17895 | }, |
| 17896 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 17897 | # is read-only. |
| 17898 | # |
| 17899 | # If these fields are unset, they may be inherited from a parent placeholder |
| 17900 | # if it exists. If there is no parent, the fields will default to the value |
| 17901 | # used for new page elements created in the Slides editor, which may depend on |
| 17902 | # the page element kind. |
| 17903 | "color": { # A themeable solid color value. # The shadow color value. |
| 17904 | "themeColor": "A String", # An opaque theme color. |
| 17905 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 17906 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17907 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17908 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17909 | }, |
| 17910 | }, |
| 17911 | "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, |
| 17912 | # relative to the alignment position. |
| 17913 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 17914 | # according to: |
| 17915 | # |
| 17916 | # x' x = shear_y scale_y translate_y |
| 17917 | # 1 [ 1 ] |
| 17918 | # |
| 17919 | # After transformation, |
| 17920 | # |
| 17921 | # x' = scale_x * x + shear_x * y + translate_x; |
| 17922 | # y' = scale_y * y + shear_y * x + translate_y; |
| 17923 | # |
| 17924 | # This message is therefore composed of these six matrix elements. |
| 17925 | "translateX": 3.14, # The X coordinate translation element. |
| 17926 | "translateY": 3.14, # The Y coordinate translation element. |
| 17927 | "scaleX": 3.14, # The X coordinate scaling element. |
| 17928 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 17929 | "shearY": 3.14, # The Y coordinate shearing element. |
| 17930 | "shearX": 3.14, # The X coordinate shearing element. |
| 17931 | "unit": "A String", # The units for translate elements. |
| 17932 | }, |
| 17933 | "propertyState": "A String", # The shadow property state. |
| 17934 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17935 | # Updating the shadow on a page element will implicitly update this field to |
| 17936 | # `RENDERED`, unless another value is specified in the same request. To have |
| 17937 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17938 | # case, any other shadow fields set in the same request will be ignored. |
| 17939 | "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 |
| 17940 | # shadow becomes. |
| 17941 | "magnitude": 3.14, # The magnitude. |
| 17942 | "unit": "A String", # The units for magnitude. |
| 17943 | }, |
| 17944 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17945 | "type": "A String", # The type of the shadow. This property is read-only. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17946 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17947 | # scale and skew of the shadow. This property is read-only. |
| 17948 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 17949 | # read-only. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17950 | }, |
| 17951 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 17952 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 17953 | }, |
| 17954 | }, |
| 17955 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 17956 | # embedded. |
| 17957 | }, |
| 17958 | "video": { # A PageElement kind representing a # A video page element. |
| 17959 | # video. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17960 | "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and |
| 17961 | # sharing settings do not change. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17962 | "videoProperties": { # The properties of the Video. # The properties of the video. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 17963 | "start": 42, # The time at which to start playback, measured in seconds from the beginning |
| 17964 | # of the video. |
| 17965 | # If set, the start time should be before the end time. |
| 17966 | # If you set this to a value that exceeds the video's length in seconds, the |
| 17967 | # video will be played from the last second. |
| 17968 | # If not set, the video will be played from the beginning. |
| 17969 | "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present |
| 17970 | # mode. Defaults to false. |
| 17971 | "end": 42, # The time at which to end playback, measured in seconds from the beginning |
| 17972 | # of the video. |
| 17973 | # If set, the end time should be after the start time. |
| 17974 | # If not set or if you set this to a value that exceeds the video's length, |
| 17975 | # the video will be played until its end. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 17976 | "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new |
| 17977 | # videos created in the Slides editor. |
| 17978 | # |
| 17979 | # If these fields are unset, they may be inherited from a parent placeholder |
| 17980 | # if it exists. If there is no parent, the fields will default to the value |
| 17981 | # used for new page elements created in the Slides editor, which may depend on |
| 17982 | # the page element kind. |
| 17983 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 17984 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 17985 | # specified color value. |
| 17986 | # |
| 17987 | # If any field is unset, its value may be inherited from a parent placeholder |
| 17988 | # if it exists. |
| 17989 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 17990 | "themeColor": "A String", # An opaque theme color. |
| 17991 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 17992 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17993 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17994 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17995 | }, |
| 17996 | }, |
| 17997 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 17998 | # That is, the final pixel color is defined by the equation: |
| 17999 | # |
| 18000 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 18001 | # |
| 18002 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 18003 | # a value of 0.0 corresponds to a completely transparent color. |
| 18004 | }, |
| 18005 | }, |
| 18006 | "propertyState": "A String", # The outline property state. |
| 18007 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 18008 | # Updating the outline on a page element will implicitly update this field |
| 18009 | # to `RENDERED`, unless another value is specified in the same request. To |
| 18010 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18011 | # this case, any other outline fields set in the same request will be |
| 18012 | # ignored. |
| 18013 | "dashStyle": "A String", # The dash style of the outline. |
| 18014 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 18015 | "magnitude": 3.14, # The magnitude. |
| 18016 | "unit": "A String", # The units for magnitude. |
| 18017 | }, |
| 18018 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 18019 | "mute": True or False, # Whether to mute the audio during video playback. Defaults to false. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18020 | }, |
| 18021 | "id": "A String", # The video source's unique identifier for this video. |
| 18022 | "source": "A String", # The video source. |
| 18023 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18024 | "table": { # A PageElement kind representing a # A table page element. |
| 18025 | # table. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 18026 | "rows": 42, # Number of rows in the table. |
| 18027 | "horizontalBorderRows": [ # Properties of horizontal cell borders. |
| 18028 | # |
| 18029 | # A table's horizontal cell borders are represented as a grid. The grid has |
| 18030 | # one more row than the number of rows in the table and the same number of |
| 18031 | # columns as the table. For example, if the table is 3 x 3, its horizontal |
| 18032 | # borders will be represented as a grid with 4 rows and 3 columns. |
| 18033 | { # Contents of each border row in a table. |
| 18034 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 18035 | # merged, it is not included in the response. |
| 18036 | { # The properties of each border cell. |
| 18037 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 18038 | # TableBorderCell. |
| 18039 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 18040 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 18041 | # specified color value. |
| 18042 | # |
| 18043 | # If any field is unset, its value may be inherited from a parent placeholder |
| 18044 | # if it exists. |
| 18045 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 18046 | "themeColor": "A String", # An opaque theme color. |
| 18047 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 18048 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18049 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18050 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18051 | }, |
| 18052 | }, |
| 18053 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 18054 | # That is, the final pixel color is defined by the equation: |
| 18055 | # |
| 18056 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 18057 | # |
| 18058 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 18059 | # a value of 0.0 corresponds to a completely transparent color. |
| 18060 | }, |
| 18061 | }, |
| 18062 | "dashStyle": "A String", # The dash style of the border. |
| 18063 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 18064 | "magnitude": 3.14, # The magnitude. |
| 18065 | "unit": "A String", # The units for magnitude. |
| 18066 | }, |
| 18067 | }, |
| 18068 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 18069 | "rowIndex": 42, # The 0-based row index. |
| 18070 | "columnIndex": 42, # The 0-based column index. |
| 18071 | }, |
| 18072 | }, |
| 18073 | ], |
| 18074 | }, |
| 18075 | ], |
| 18076 | "verticalBorderRows": [ # Properties of vertical cell borders. |
| 18077 | # |
| 18078 | # A table's vertical cell borders are represented as a grid. The grid has the |
| 18079 | # same number of rows as the table and one more column than the number of |
| 18080 | # columns in the table. For example, if the table is 3 x 3, its vertical |
| 18081 | # borders will be represented as a grid with 3 rows and 4 columns. |
| 18082 | { # Contents of each border row in a table. |
| 18083 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 18084 | # merged, it is not included in the response. |
| 18085 | { # The properties of each border cell. |
| 18086 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 18087 | # TableBorderCell. |
| 18088 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 18089 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 18090 | # specified color value. |
| 18091 | # |
| 18092 | # If any field is unset, its value may be inherited from a parent placeholder |
| 18093 | # if it exists. |
| 18094 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 18095 | "themeColor": "A String", # An opaque theme color. |
| 18096 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 18097 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18098 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18099 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18100 | }, |
| 18101 | }, |
| 18102 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 18103 | # That is, the final pixel color is defined by the equation: |
| 18104 | # |
| 18105 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 18106 | # |
| 18107 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 18108 | # a value of 0.0 corresponds to a completely transparent color. |
| 18109 | }, |
| 18110 | }, |
| 18111 | "dashStyle": "A String", # The dash style of the border. |
| 18112 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 18113 | "magnitude": 3.14, # The magnitude. |
| 18114 | "unit": "A String", # The units for magnitude. |
| 18115 | }, |
| 18116 | }, |
| 18117 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 18118 | "rowIndex": 42, # The 0-based row index. |
| 18119 | "columnIndex": 42, # The 0-based column index. |
| 18120 | }, |
| 18121 | }, |
| 18122 | ], |
| 18123 | }, |
| 18124 | ], |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18125 | "tableColumns": [ # Properties of each column. |
| 18126 | { # Properties of each column in a table. |
| 18127 | "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column. |
| 18128 | "magnitude": 3.14, # The magnitude. |
| 18129 | "unit": "A String", # The units for magnitude. |
| 18130 | }, |
| 18131 | }, |
| 18132 | ], |
| 18133 | "tableRows": [ # Properties and contents of each row. |
| 18134 | # |
| 18135 | # Cells that span multiple rows are contained in only one of these rows and |
| 18136 | # have a row_span greater |
| 18137 | # than 1. |
| 18138 | { # Properties and contents of each row in a table. |
| 18139 | "tableCells": [ # Properties and contents of each cell. |
| 18140 | # |
| 18141 | # Cells that span multiple columns are represented only once with a |
| 18142 | # column_span greater |
| 18143 | # than 1. As a result, the length of this collection does not always match |
| 18144 | # the number of columns of the entire table. |
| 18145 | { # Properties and contents of each table cell. |
| 18146 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell. |
| 18147 | # text box or rectangle) or a table cell in a page. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18148 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 18149 | # information. This property is read-only. |
| 18150 | { # A TextElement describes the content of a range of indices in the text content |
| 18151 | # of a Shape or TableCell. |
| 18152 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 18153 | # replaced with content that can change over time. |
| 18154 | "content": "A String", # The rendered content of this auto text, if available. |
| 18155 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 18156 | # |
| 18157 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 18158 | # inherited from the parent. Which text styles are inherited depend on the |
| 18159 | # nesting level of lists: |
| 18160 | # |
| 18161 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 18162 | # from the the newline character in the paragraph at the 0 nesting level of |
| 18163 | # the list inside the parent placeholder. |
| 18164 | # * A text run in a paragraph that is in a list will inherit its text style |
| 18165 | # from the newline character in the paragraph at its corresponding nesting |
| 18166 | # level of the list inside the parent placeholder. |
| 18167 | # |
| 18168 | # Inherited text styles are represented as unset fields in this message. If |
| 18169 | # text is contained in a shape without a parent placeholder, unsetting these |
| 18170 | # fields will revert the style to a value matching the defaults in the Slides |
| 18171 | # editor. |
| 18172 | "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 |
| 18173 | # transparent, depending on if the `opaque_color` field in it is set. |
| 18174 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 18175 | # a transparent color. |
| 18176 | "themeColor": "A String", # An opaque theme color. |
| 18177 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 18178 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18179 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18180 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18181 | }, |
| 18182 | }, |
| 18183 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 18184 | "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 |
| 18185 | # transparent, depending on if the `opaque_color` field in it is set. |
| 18186 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 18187 | # a transparent color. |
| 18188 | "themeColor": "A String", # An opaque theme color. |
| 18189 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 18190 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18191 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18192 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18193 | }, |
| 18194 | }, |
| 18195 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18196 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 18197 | # |
| 18198 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 18199 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 18200 | # The `font_size` itself is not affected by changes in this field. |
| 18201 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 18202 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 18203 | # |
| 18204 | # This field is an extension of `font_family` meant to support explicit font |
| 18205 | # weights without breaking backwards compatibility. As such, when reading the |
| 18206 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 18207 | # will always be equal to that of `font_family`. However, when writing, if |
| 18208 | # both fields are included in the field mask (either explicitly or through |
| 18209 | # the wildcard `"*"`), their values are reconciled as follows: |
| 18210 | # |
| 18211 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 18212 | # `font_family` is applied with weight `400` ("normal"). |
| 18213 | # * If both fields are set, the value of `font_family` must match that of |
| 18214 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 18215 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 18216 | # returned. |
| 18217 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 18218 | # family and weight of `weighted_font_family` is applied. |
| 18219 | # * If neither field is set, the font family and weight of the text inherit |
| 18220 | # from the parent. Note that these properties cannot inherit separately |
| 18221 | # from each other. |
| 18222 | # |
| 18223 | # If an update request specifies values for both `weighted_font_family` and |
| 18224 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 18225 | # |
| 18226 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 18227 | # |
| 18228 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 18229 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 18230 | # is returned. |
| 18231 | "fontFamily": "A String", # The font family of the text. |
| 18232 | # |
| 18233 | # The font family can be any font from the Font menu in Slides or from |
| 18234 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 18235 | # unrecognized, the text is rendered in `Arial`. |
| 18236 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 18237 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 18238 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 18239 | # Specification, |
| 18240 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18241 | # with non-numerical values disallowed. Weights greater than or equal to |
| 18242 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 18243 | # default value is `400` ("normal"). |
| 18244 | }, |
| 18245 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 18246 | "fontFamily": "A String", # The font family of the text. |
| 18247 | # |
| 18248 | # The font family can be any font from the Font menu in Slides or from |
| 18249 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 18250 | # unrecognized, the text is rendered in `Arial`. |
| 18251 | # |
| 18252 | # Some fonts can affect the weight of the text. If an update request |
| 18253 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 18254 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 18255 | "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 |
| 18256 | # points. |
| 18257 | "magnitude": 3.14, # The magnitude. |
| 18258 | "unit": "A String", # The units for magnitude. |
| 18259 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18260 | "italic": True or False, # Whether or not the text is italicized. |
| 18261 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 18262 | # are not inherited from parent text. |
| 18263 | # |
| 18264 | # Changing the link in an update request causes some other changes to the |
| 18265 | # text style of the range: |
| 18266 | # |
| 18267 | # * When setting a link, the text foreground color will be set to |
| 18268 | # ThemeColorType.HYPERLINK and the text will |
| 18269 | # be underlined. If these fields are modified in the same |
| 18270 | # request, those values will be used instead of the link defaults. |
| 18271 | # * Setting a link on a text range that overlaps with an existing link will |
| 18272 | # also update the existing link to point to the new URL. |
| 18273 | # * Links are not settable on newline characters. As a result, setting a link |
| 18274 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 18275 | # will separate the newline character(s) into their own text runs. The |
| 18276 | # link will be applied separately to the runs before and after the newline. |
| 18277 | # * Removing a link will update the text style of the range to match the |
| 18278 | # style of the preceding text (or the default text styles if the preceding |
| 18279 | # text is another link) unless different styles are being set in the same |
| 18280 | # request. |
| 18281 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 18282 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 18283 | # in the presentation. There may not be a slide at this index. |
| 18284 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 18285 | # presentation with this ID. A page with this ID may not exist. |
| 18286 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 18287 | # addressed by its position. |
| 18288 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18289 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 18290 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18291 | }, |
| 18292 | "type": "A String", # The type of this auto text. |
| 18293 | }, |
| 18294 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 18295 | # units. |
| 18296 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 18297 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 18298 | # |
| 18299 | # The `start_index` and `end_index` of this TextElement represent the |
| 18300 | # range of the paragraph. Other TextElements with an index range contained |
| 18301 | # inside this paragraph's range are considered to be part of this |
| 18302 | # paragraph. The range of indices of two separate paragraphs will never |
| 18303 | # overlap. |
| 18304 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 18305 | # |
| 18306 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 18307 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 18308 | # nesting level of lists: |
| 18309 | # |
| 18310 | # * A paragraph not in a list will inherit its paragraph style from the |
| 18311 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 18312 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 18313 | # at its corresponding nesting level of the list inside the parent |
| 18314 | # placeholder. |
| 18315 | # |
| 18316 | # Inherited paragraph styles are represented as unset fields in this message. |
| 18317 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 18318 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 18319 | # LEFT_TO_RIGHT since |
| 18320 | # text direction is not inherited. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 18321 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18322 | # inherited from the parent. |
| 18323 | "magnitude": 3.14, # The magnitude. |
| 18324 | "unit": "A String", # The units for magnitude. |
| 18325 | }, |
| 18326 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 18327 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 18328 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 18329 | # the start of the text, based on the current text direction. If unset, the |
| 18330 | # value is inherited from the parent. |
| 18331 | "magnitude": 3.14, # The magnitude. |
| 18332 | "unit": "A String", # The units for magnitude. |
| 18333 | }, |
| 18334 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 18335 | # inherited from the parent. |
| 18336 | "magnitude": 3.14, # The magnitude. |
| 18337 | "unit": "A String", # The units for magnitude. |
| 18338 | }, |
| 18339 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 18340 | # the end of the text, based on the current text direction. If unset, the |
| 18341 | # value is inherited from the parent. |
| 18342 | "magnitude": 3.14, # The magnitude. |
| 18343 | "unit": "A String", # The units for magnitude. |
| 18344 | }, |
| 18345 | "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. |
| 18346 | # If unset, the value is inherited from the parent. |
| 18347 | "magnitude": 3.14, # The magnitude. |
| 18348 | "unit": "A String", # The units for magnitude. |
| 18349 | }, |
| 18350 | "alignment": "A String", # The text alignment for this paragraph. |
| 18351 | }, |
| 18352 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 18353 | # belong to a list. |
| 18354 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 18355 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 18356 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 18357 | # |
| 18358 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 18359 | # inherited from the parent. Which text styles are inherited depend on the |
| 18360 | # nesting level of lists: |
| 18361 | # |
| 18362 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 18363 | # from the the newline character in the paragraph at the 0 nesting level of |
| 18364 | # the list inside the parent placeholder. |
| 18365 | # * A text run in a paragraph that is in a list will inherit its text style |
| 18366 | # from the newline character in the paragraph at its corresponding nesting |
| 18367 | # level of the list inside the parent placeholder. |
| 18368 | # |
| 18369 | # Inherited text styles are represented as unset fields in this message. If |
| 18370 | # text is contained in a shape without a parent placeholder, unsetting these |
| 18371 | # fields will revert the style to a value matching the defaults in the Slides |
| 18372 | # editor. |
| 18373 | "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 |
| 18374 | # transparent, depending on if the `opaque_color` field in it is set. |
| 18375 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 18376 | # a transparent color. |
| 18377 | "themeColor": "A String", # An opaque theme color. |
| 18378 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 18379 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18380 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18381 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18382 | }, |
| 18383 | }, |
| 18384 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 18385 | "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 |
| 18386 | # transparent, depending on if the `opaque_color` field in it is set. |
| 18387 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 18388 | # a transparent color. |
| 18389 | "themeColor": "A String", # An opaque theme color. |
| 18390 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 18391 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18392 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18393 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18394 | }, |
| 18395 | }, |
| 18396 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18397 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 18398 | # |
| 18399 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 18400 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 18401 | # The `font_size` itself is not affected by changes in this field. |
| 18402 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 18403 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 18404 | # |
| 18405 | # This field is an extension of `font_family` meant to support explicit font |
| 18406 | # weights without breaking backwards compatibility. As such, when reading the |
| 18407 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 18408 | # will always be equal to that of `font_family`. However, when writing, if |
| 18409 | # both fields are included in the field mask (either explicitly or through |
| 18410 | # the wildcard `"*"`), their values are reconciled as follows: |
| 18411 | # |
| 18412 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 18413 | # `font_family` is applied with weight `400` ("normal"). |
| 18414 | # * If both fields are set, the value of `font_family` must match that of |
| 18415 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 18416 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 18417 | # returned. |
| 18418 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 18419 | # family and weight of `weighted_font_family` is applied. |
| 18420 | # * If neither field is set, the font family and weight of the text inherit |
| 18421 | # from the parent. Note that these properties cannot inherit separately |
| 18422 | # from each other. |
| 18423 | # |
| 18424 | # If an update request specifies values for both `weighted_font_family` and |
| 18425 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 18426 | # |
| 18427 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 18428 | # |
| 18429 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 18430 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 18431 | # is returned. |
| 18432 | "fontFamily": "A String", # The font family of the text. |
| 18433 | # |
| 18434 | # The font family can be any font from the Font menu in Slides or from |
| 18435 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 18436 | # unrecognized, the text is rendered in `Arial`. |
| 18437 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 18438 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 18439 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 18440 | # Specification, |
| 18441 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18442 | # with non-numerical values disallowed. Weights greater than or equal to |
| 18443 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 18444 | # default value is `400` ("normal"). |
| 18445 | }, |
| 18446 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 18447 | "fontFamily": "A String", # The font family of the text. |
| 18448 | # |
| 18449 | # The font family can be any font from the Font menu in Slides or from |
| 18450 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 18451 | # unrecognized, the text is rendered in `Arial`. |
| 18452 | # |
| 18453 | # Some fonts can affect the weight of the text. If an update request |
| 18454 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 18455 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 18456 | "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 |
| 18457 | # points. |
| 18458 | "magnitude": 3.14, # The magnitude. |
| 18459 | "unit": "A String", # The units for magnitude. |
| 18460 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18461 | "italic": True or False, # Whether or not the text is italicized. |
| 18462 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 18463 | # are not inherited from parent text. |
| 18464 | # |
| 18465 | # Changing the link in an update request causes some other changes to the |
| 18466 | # text style of the range: |
| 18467 | # |
| 18468 | # * When setting a link, the text foreground color will be set to |
| 18469 | # ThemeColorType.HYPERLINK and the text will |
| 18470 | # be underlined. If these fields are modified in the same |
| 18471 | # request, those values will be used instead of the link defaults. |
| 18472 | # * Setting a link on a text range that overlaps with an existing link will |
| 18473 | # also update the existing link to point to the new URL. |
| 18474 | # * Links are not settable on newline characters. As a result, setting a link |
| 18475 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 18476 | # will separate the newline character(s) into their own text runs. The |
| 18477 | # link will be applied separately to the runs before and after the newline. |
| 18478 | # * Removing a link will update the text style of the range to match the |
| 18479 | # style of the preceding text (or the default text styles if the preceding |
| 18480 | # text is another link) unless different styles are being set in the same |
| 18481 | # request. |
| 18482 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 18483 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 18484 | # in the presentation. There may not be a slide at this index. |
| 18485 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 18486 | # presentation with this ID. A page with this ID may not exist. |
| 18487 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 18488 | # addressed by its position. |
| 18489 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18490 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 18491 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18492 | }, |
| 18493 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 18494 | }, |
| 18495 | }, |
| 18496 | "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 |
| 18497 | # in the run have the same TextStyle. |
| 18498 | # |
| 18499 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 18500 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 18501 | # In other words, a TextRun will never span multiple paragraphs. |
| 18502 | # styling. |
| 18503 | "content": "A String", # The text of this run. |
| 18504 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 18505 | # |
| 18506 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 18507 | # inherited from the parent. Which text styles are inherited depend on the |
| 18508 | # nesting level of lists: |
| 18509 | # |
| 18510 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 18511 | # from the the newline character in the paragraph at the 0 nesting level of |
| 18512 | # the list inside the parent placeholder. |
| 18513 | # * A text run in a paragraph that is in a list will inherit its text style |
| 18514 | # from the newline character in the paragraph at its corresponding nesting |
| 18515 | # level of the list inside the parent placeholder. |
| 18516 | # |
| 18517 | # Inherited text styles are represented as unset fields in this message. If |
| 18518 | # text is contained in a shape without a parent placeholder, unsetting these |
| 18519 | # fields will revert the style to a value matching the defaults in the Slides |
| 18520 | # editor. |
| 18521 | "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 |
| 18522 | # transparent, depending on if the `opaque_color` field in it is set. |
| 18523 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 18524 | # a transparent color. |
| 18525 | "themeColor": "A String", # An opaque theme color. |
| 18526 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 18527 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18528 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18529 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18530 | }, |
| 18531 | }, |
| 18532 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 18533 | "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 |
| 18534 | # transparent, depending on if the `opaque_color` field in it is set. |
| 18535 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 18536 | # a transparent color. |
| 18537 | "themeColor": "A String", # An opaque theme color. |
| 18538 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 18539 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18540 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18541 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18542 | }, |
| 18543 | }, |
| 18544 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18545 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 18546 | # |
| 18547 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 18548 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 18549 | # The `font_size` itself is not affected by changes in this field. |
| 18550 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 18551 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 18552 | # |
| 18553 | # This field is an extension of `font_family` meant to support explicit font |
| 18554 | # weights without breaking backwards compatibility. As such, when reading the |
| 18555 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 18556 | # will always be equal to that of `font_family`. However, when writing, if |
| 18557 | # both fields are included in the field mask (either explicitly or through |
| 18558 | # the wildcard `"*"`), their values are reconciled as follows: |
| 18559 | # |
| 18560 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 18561 | # `font_family` is applied with weight `400` ("normal"). |
| 18562 | # * If both fields are set, the value of `font_family` must match that of |
| 18563 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 18564 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 18565 | # returned. |
| 18566 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 18567 | # family and weight of `weighted_font_family` is applied. |
| 18568 | # * If neither field is set, the font family and weight of the text inherit |
| 18569 | # from the parent. Note that these properties cannot inherit separately |
| 18570 | # from each other. |
| 18571 | # |
| 18572 | # If an update request specifies values for both `weighted_font_family` and |
| 18573 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 18574 | # |
| 18575 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 18576 | # |
| 18577 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 18578 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 18579 | # is returned. |
| 18580 | "fontFamily": "A String", # The font family of the text. |
| 18581 | # |
| 18582 | # The font family can be any font from the Font menu in Slides or from |
| 18583 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 18584 | # unrecognized, the text is rendered in `Arial`. |
| 18585 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 18586 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 18587 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 18588 | # Specification, |
| 18589 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18590 | # with non-numerical values disallowed. Weights greater than or equal to |
| 18591 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 18592 | # default value is `400` ("normal"). |
| 18593 | }, |
| 18594 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 18595 | "fontFamily": "A String", # The font family of the text. |
| 18596 | # |
| 18597 | # The font family can be any font from the Font menu in Slides or from |
| 18598 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 18599 | # unrecognized, the text is rendered in `Arial`. |
| 18600 | # |
| 18601 | # Some fonts can affect the weight of the text. If an update request |
| 18602 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 18603 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 18604 | "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 |
| 18605 | # points. |
| 18606 | "magnitude": 3.14, # The magnitude. |
| 18607 | "unit": "A String", # The units for magnitude. |
| 18608 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18609 | "italic": True or False, # Whether or not the text is italicized. |
| 18610 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 18611 | # are not inherited from parent text. |
| 18612 | # |
| 18613 | # Changing the link in an update request causes some other changes to the |
| 18614 | # text style of the range: |
| 18615 | # |
| 18616 | # * When setting a link, the text foreground color will be set to |
| 18617 | # ThemeColorType.HYPERLINK and the text will |
| 18618 | # be underlined. If these fields are modified in the same |
| 18619 | # request, those values will be used instead of the link defaults. |
| 18620 | # * Setting a link on a text range that overlaps with an existing link will |
| 18621 | # also update the existing link to point to the new URL. |
| 18622 | # * Links are not settable on newline characters. As a result, setting a link |
| 18623 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 18624 | # will separate the newline character(s) into their own text runs. The |
| 18625 | # link will be applied separately to the runs before and after the newline. |
| 18626 | # * Removing a link will update the text style of the range to match the |
| 18627 | # style of the preceding text (or the default text styles if the preceding |
| 18628 | # text is another link) unless different styles are being set in the same |
| 18629 | # request. |
| 18630 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 18631 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 18632 | # in the presentation. There may not be a slide at this index. |
| 18633 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 18634 | # presentation with this ID. A page with this ID may not exist. |
| 18635 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 18636 | # addressed by its position. |
| 18637 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18638 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 18639 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18640 | }, |
| 18641 | }, |
| 18642 | }, |
| 18643 | ], |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 18644 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 18645 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 18646 | # associated with a list. A paragraph that is part of a list has an implicit |
| 18647 | # reference to that list's ID. |
| 18648 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 18649 | # level. A list has at most nine levels of nesting, so the possible values |
| 18650 | # for the keys of this map are 0 through 8, inclusive. |
| 18651 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 18652 | # level of nesting. |
| 18653 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 18654 | # |
| 18655 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 18656 | # inherited from the parent. Which text styles are inherited depend on the |
| 18657 | # nesting level of lists: |
| 18658 | # |
| 18659 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 18660 | # from the the newline character in the paragraph at the 0 nesting level of |
| 18661 | # the list inside the parent placeholder. |
| 18662 | # * A text run in a paragraph that is in a list will inherit its text style |
| 18663 | # from the newline character in the paragraph at its corresponding nesting |
| 18664 | # level of the list inside the parent placeholder. |
| 18665 | # |
| 18666 | # Inherited text styles are represented as unset fields in this message. If |
| 18667 | # text is contained in a shape without a parent placeholder, unsetting these |
| 18668 | # fields will revert the style to a value matching the defaults in the Slides |
| 18669 | # editor. |
| 18670 | "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 |
| 18671 | # transparent, depending on if the `opaque_color` field in it is set. |
| 18672 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 18673 | # a transparent color. |
| 18674 | "themeColor": "A String", # An opaque theme color. |
| 18675 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 18676 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18677 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18678 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18679 | }, |
| 18680 | }, |
| 18681 | }, |
| 18682 | "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 |
| 18683 | # transparent, depending on if the `opaque_color` field in it is set. |
| 18684 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 18685 | # a transparent color. |
| 18686 | "themeColor": "A String", # An opaque theme color. |
| 18687 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 18688 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18689 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18690 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18691 | }, |
| 18692 | }, |
| 18693 | }, |
| 18694 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 18695 | # |
| 18696 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 18697 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 18698 | # The `font_size` itself is not affected by changes in this field. |
| 18699 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 18700 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 18701 | # |
| 18702 | # This field is an extension of `font_family` meant to support explicit font |
| 18703 | # weights without breaking backwards compatibility. As such, when reading the |
| 18704 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 18705 | # will always be equal to that of `font_family`. However, when writing, if |
| 18706 | # both fields are included in the field mask (either explicitly or through |
| 18707 | # the wildcard `"*"`), their values are reconciled as follows: |
| 18708 | # |
| 18709 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 18710 | # `font_family` is applied with weight `400` ("normal"). |
| 18711 | # * If both fields are set, the value of `font_family` must match that of |
| 18712 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 18713 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 18714 | # returned. |
| 18715 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 18716 | # family and weight of `weighted_font_family` is applied. |
| 18717 | # * If neither field is set, the font family and weight of the text inherit |
| 18718 | # from the parent. Note that these properties cannot inherit separately |
| 18719 | # from each other. |
| 18720 | # |
| 18721 | # If an update request specifies values for both `weighted_font_family` and |
| 18722 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 18723 | # |
| 18724 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 18725 | # |
| 18726 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 18727 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 18728 | # is returned. |
| 18729 | "fontFamily": "A String", # The font family of the text. |
| 18730 | # |
| 18731 | # The font family can be any font from the Font menu in Slides or from |
| 18732 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 18733 | # unrecognized, the text is rendered in `Arial`. |
| 18734 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 18735 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 18736 | # corresponds to the numerical values described in the CSS 2.1 |
| 18737 | # Specification, |
| 18738 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 18739 | # with non-numerical values disallowed. Weights greater than or equal to |
| 18740 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 18741 | # default value is `400` ("normal"). |
| 18742 | }, |
| 18743 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 18744 | "fontFamily": "A String", # The font family of the text. |
| 18745 | # |
| 18746 | # The font family can be any font from the Font menu in Slides or from |
| 18747 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 18748 | # unrecognized, the text is rendered in `Arial`. |
| 18749 | # |
| 18750 | # Some fonts can affect the weight of the text. If an update request |
| 18751 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 18752 | # `bold` value is used. |
| 18753 | "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 |
| 18754 | # points. |
| 18755 | "magnitude": 3.14, # The magnitude. |
| 18756 | "unit": "A String", # The units for magnitude. |
| 18757 | }, |
| 18758 | "italic": True or False, # Whether or not the text is italicized. |
| 18759 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 18760 | # are not inherited from parent text. |
| 18761 | # |
| 18762 | # Changing the link in an update request causes some other changes to the |
| 18763 | # text style of the range: |
| 18764 | # |
| 18765 | # * When setting a link, the text foreground color will be set to |
| 18766 | # ThemeColorType.HYPERLINK and the text will |
| 18767 | # be underlined. If these fields are modified in the same |
| 18768 | # request, those values will be used instead of the link defaults. |
| 18769 | # * Setting a link on a text range that overlaps with an existing link will |
| 18770 | # also update the existing link to point to the new URL. |
| 18771 | # * Links are not settable on newline characters. As a result, setting a link |
| 18772 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 18773 | # will separate the newline character(s) into their own text runs. The |
| 18774 | # link will be applied separately to the runs before and after the newline. |
| 18775 | # * Removing a link will update the text style of the range to match the |
| 18776 | # style of the preceding text (or the default text styles if the preceding |
| 18777 | # text is another link) unless different styles are being set in the same |
| 18778 | # request. |
| 18779 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 18780 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 18781 | # in the presentation. There may not be a slide at this index. |
| 18782 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 18783 | # presentation with this ID. A page with this ID may not exist. |
| 18784 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 18785 | # addressed by its position. |
| 18786 | }, |
| 18787 | "underline": True or False, # Whether or not the text is underlined. |
| 18788 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 18789 | }, |
| 18790 | }, |
| 18791 | }, |
| 18792 | "listId": "A String", # The ID of the list. |
| 18793 | }, |
| 18794 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18795 | }, |
| 18796 | "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell. |
| 18797 | "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill |
| 18798 | # for newly created table cells in the Slides editor. |
| 18799 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 18800 | # specified color value. |
| 18801 | # |
| 18802 | # If any field is unset, its value may be inherited from a parent placeholder |
| 18803 | # if it exists. |
| 18804 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 18805 | "themeColor": "A String", # An opaque theme color. |
| 18806 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 18807 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18808 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18809 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18810 | }, |
| 18811 | }, |
| 18812 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 18813 | # That is, the final pixel color is defined by the equation: |
| 18814 | # |
| 18815 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 18816 | # |
| 18817 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 18818 | # a value of 0.0 corresponds to a completely transparent color. |
| 18819 | }, |
| 18820 | "propertyState": "A String", # The background fill property state. |
| 18821 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 18822 | # Updating the fill on a table cell will implicitly update this field |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18823 | # to `RENDERED`, unless another value is specified in the same request. To |
| 18824 | # have no fill on a table cell, set this field to `NOT_RENDERED`. In this |
| 18825 | # case, any other fill fields set in the same request will be ignored. |
| 18826 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 18827 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 18828 | # matches the alignment for newly created table cells in the Slides editor. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18829 | }, |
| 18830 | "rowSpan": 42, # Row span of the cell. |
| 18831 | "columnSpan": 42, # Column span of the cell. |
| 18832 | "location": { # A location of a single table cell within a table. # The location of the cell within the table. |
| 18833 | "rowIndex": 42, # The 0-based row index. |
| 18834 | "columnIndex": 42, # The 0-based column index. |
| 18835 | }, |
| 18836 | }, |
| 18837 | ], |
| 18838 | "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row. |
| 18839 | "magnitude": 3.14, # The magnitude. |
| 18840 | "unit": "A String", # The units for magnitude. |
| 18841 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 18842 | "tableRowProperties": { # Properties of each row in a table. # Properties of the row. |
| 18843 | "minRowHeight": { # A magnitude in a single direction in the specified units. # Minimum height of the row. The row will be rendered in the Slides editor at |
| 18844 | # a height equal to or greater than this value in order to show all the text |
| 18845 | # in the row's cell(s). |
| 18846 | "magnitude": 3.14, # The magnitude. |
| 18847 | "unit": "A String", # The units for magnitude. |
| 18848 | }, |
| 18849 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18850 | }, |
| 18851 | ], |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18852 | "columns": 42, # Number of columns in the table. |
| 18853 | }, |
| 18854 | "line": { # A PageElement kind representing a # A line page element. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 18855 | # non-connector line, straight connector, curved connector, or bent connector. |
| 18856 | "lineCategory": "A String", # The category of the line. |
| 18857 | # |
| 18858 | # It matches the `category` specified in CreateLineRequest, and can be updated with |
| 18859 | # UpdateLineCategoryRequest. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18860 | "lineProperties": { # The properties of the Line. # The properties of the line. |
| 18861 | # |
| 18862 | # When unset, these fields default to values that match the appearance of |
| 18863 | # new lines created in the Slides editor. |
| 18864 | "dashStyle": "A String", # The dash style of the line. |
| 18865 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line. |
| 18866 | "magnitude": 3.14, # The magnitude. |
| 18867 | "unit": "A String", # The units for magnitude. |
| 18868 | }, |
| 18869 | "endArrow": "A String", # The style of the arrow at the end of the line. |
| 18870 | "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link. |
| 18871 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 18872 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 18873 | # in the presentation. There may not be a slide at this index. |
| 18874 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 18875 | # presentation with this ID. A page with this ID may not exist. |
| 18876 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 18877 | # addressed by its position. |
| 18878 | }, |
| 18879 | "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new |
| 18880 | # lines created in the Slides editor. |
| 18881 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 18882 | # specified color value. |
| 18883 | # |
| 18884 | # If any field is unset, its value may be inherited from a parent placeholder |
| 18885 | # if it exists. |
| 18886 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 18887 | "themeColor": "A String", # An opaque theme color. |
| 18888 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 18889 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18890 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18891 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18892 | }, |
| 18893 | }, |
| 18894 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 18895 | # That is, the final pixel color is defined by the equation: |
| 18896 | # |
| 18897 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 18898 | # |
| 18899 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 18900 | # a value of 0.0 corresponds to a completely transparent color. |
| 18901 | }, |
| 18902 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 18903 | "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no |
| 18904 | # connection. |
| 18905 | # |
| 18906 | # Only lines with a Type indicating it is |
| 18907 | # a "connector" can have a `start_connection`. |
| 18908 | # connection. |
| 18909 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 18910 | # |
| 18911 | # In most cases, it corresponds to the predefined connection site index from |
| 18912 | # the ECMA-376 standard. More information on those connection sites can be |
| 18913 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 18914 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 18915 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 18916 | # [ECMA-376 5th edition] |
| 18917 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 18918 | # |
| 18919 | # The position of each connection site can also be viewed from Slides editor. |
| 18920 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 18921 | # |
| 18922 | # Some page elements, such as groups, tables, and lines |
| 18923 | # do not have connection sites and therefore cannot be connected to a |
| 18924 | # connector line. |
| 18925 | }, |
| 18926 | "endConnection": { # The properties for one end of a Line # The connection at the end of the line. If unset, there is no connection. |
| 18927 | # |
| 18928 | # Only lines with a Type indicating it is |
| 18929 | # a "connector" can have an `end_connection`. |
| 18930 | # connection. |
| 18931 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 18932 | # |
| 18933 | # In most cases, it corresponds to the predefined connection site index from |
| 18934 | # the ECMA-376 standard. More information on those connection sites can be |
| 18935 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 18936 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 18937 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 18938 | # [ECMA-376 5th edition] |
| 18939 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 18940 | # |
| 18941 | # The position of each connection site can also be viewed from Slides editor. |
| 18942 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 18943 | # |
| 18944 | # Some page elements, such as groups, tables, and lines |
| 18945 | # do not have connection sites and therefore cannot be connected to a |
| 18946 | # connector line. |
| 18947 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18948 | "startArrow": "A String", # The style of the arrow at the beginning of the line. |
| 18949 | }, |
| 18950 | "lineType": "A String", # The type of the line. |
| 18951 | }, |
| 18952 | "size": { # A width and height. # The size of the page element. |
| 18953 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 18954 | "magnitude": 3.14, # The magnitude. |
| 18955 | "unit": "A String", # The units for magnitude. |
| 18956 | }, |
| 18957 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 18958 | "magnitude": 3.14, # The magnitude. |
| 18959 | "unit": "A String", # The units for magnitude. |
| 18960 | }, |
| 18961 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 18962 | "description": "A String", # The description of the page element. Combined with title to display alt |
| 18963 | # text. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 18964 | }, |
| 18965 | ], |
| 18966 | "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES. |
| 18967 | # relevant for pages with page_type NOTES. |
| 18968 | "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker |
| 18969 | # notes for the corresponding slide. |
| 18970 | # The actual shape may not always exist on the notes page. Inserting text |
| 18971 | # using this object ID will automatically create the shape. In this case, the |
| 18972 | # actual shape may have different object ID. The `GetPresentation` or |
| 18973 | # `GetPage` action will always return the latest object ID. |
| 18974 | }, |
| 18975 | "objectId": "A String", # The object ID for this page. Object IDs used by |
| 18976 | # Page and |
| 18977 | # PageElement share the same namespace. |
| 18978 | "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in |
| 18979 | # update requests to assert that the presentation revision hasn't changed |
| 18980 | # since the last read operation. Only populated if the user has edit access |
| 18981 | # to the presentation. |
| 18982 | # |
| 18983 | # The format of the revision ID may change over time, so it should be treated |
| 18984 | # opaquely. A returned revision ID is only guaranteed to be valid for 24 |
| 18985 | # hours after it has been returned and cannot be shared across users. If the |
| 18986 | # revision ID is unchanged between calls, then the presentation has not |
| 18987 | # changed. Conversely, a changed ID (for the same presentation and user) |
| 18988 | # usually means the presentation has been updated; however, a changed ID can |
| 18989 | # also be due to internal factors such as ID format changes. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 18990 | "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER. |
| 18991 | # relevant for pages with page_type MASTER. |
| 18992 | "displayName": "A String", # The human-readable name of the master. |
| 18993 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 18994 | "pageProperties": { # The properties of the Page. # The properties of the page. |
| 18995 | # |
| 18996 | # The page will inherit properties from the parent page. Depending on the page |
| 18997 | # type the hierarchy is defined in either |
| 18998 | # SlideProperties or |
| 18999 | # LayoutProperties. |
| 19000 | "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited |
| 19001 | # from a parent page if it exists. If the page has no parent, then the |
| 19002 | # background fill defaults to the corresponding fill in the Slides editor. |
| 19003 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 19004 | # specified color value. |
| 19005 | # |
| 19006 | # If any field is unset, its value may be inherited from a parent placeholder |
| 19007 | # if it exists. |
| 19008 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 19009 | "themeColor": "A String", # An opaque theme color. |
| 19010 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 19011 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19012 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19013 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19014 | }, |
| 19015 | }, |
| 19016 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 19017 | # That is, the final pixel color is defined by the equation: |
| 19018 | # |
| 19019 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 19020 | # |
| 19021 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 19022 | # a value of 0.0 corresponds to a completely transparent color. |
| 19023 | }, |
| 19024 | "propertyState": "A String", # The background fill property state. |
| 19025 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19026 | # Updating the fill on a page will implicitly update this field to |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19027 | # `RENDERED`, unless another value is specified in the same request. To |
| 19028 | # have no fill on a page, set this field to `NOT_RENDERED`. In this case, |
| 19029 | # any other fill fields set in the same request will be ignored. |
| 19030 | "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill. |
| 19031 | # the specified picture. The picture is stretched to fit its container. |
| 19032 | "contentUrl": "A String", # Reading the content_url: |
| 19033 | # |
| 19034 | # An URL to a picture with a default lifetime of 30 minutes. |
| 19035 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 19036 | # effectively accesses the picture as the original requester. Access to the |
| 19037 | # picture may be lost if the presentation's sharing settings change. |
| 19038 | # |
| 19039 | # Writing the content_url: |
| 19040 | # |
| 19041 | # The picture is fetched once at insertion time and a copy is stored for |
| 19042 | # display inside the presentation. Pictures must be less than 50MB in size, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19043 | # cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19044 | # format. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19045 | # |
| 19046 | # The provided URL can be at most 2 kB in length. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19047 | "size": { # A width and height. # The original size of the picture fill. This field is read-only. |
| 19048 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 19049 | "magnitude": 3.14, # The magnitude. |
| 19050 | "unit": "A String", # The units for magnitude. |
| 19051 | }, |
| 19052 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 19053 | "magnitude": 3.14, # The magnitude. |
| 19054 | "unit": "A String", # The units for magnitude. |
| 19055 | }, |
| 19056 | }, |
| 19057 | }, |
| 19058 | }, |
| 19059 | "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from |
| 19060 | # a parent page. If the page has no parent, the color scheme uses a default |
| 19061 | # Slides color scheme. This field is read-only. |
| 19062 | "colors": [ # The ThemeColorType and corresponding concrete color pairs. |
| 19063 | { # A pair mapping a theme color type to the concrete color it represents. |
| 19064 | "color": { # An RGB color. # The concrete color corresponding to the theme color type above. |
| 19065 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19066 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19067 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19068 | }, |
| 19069 | "type": "A String", # The type of the theme color. |
| 19070 | }, |
| 19071 | ], |
| 19072 | }, |
| 19073 | }, |
| 19074 | "pageType": "A String", # The type of the page. |
| 19075 | "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE. |
| 19076 | # relevant for pages with page_type SLIDE. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 19077 | "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual |
| 19078 | # appearance of a notes page when printing or exporting slides with speaker |
| 19079 | # notes. A notes page inherits properties from the |
| 19080 | # notes master. |
| 19081 | # The placeholder shape with type BODY on the notes page contains the speaker |
| 19082 | # notes for this slide. The ID of this shape is identified by the |
| 19083 | # speakerNotesObjectId field. |
| 19084 | # The notes page is read-only except for the text content and styles of the |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19085 | # speaker notes shape. This property is read-only. |
| 19086 | "masterObjectId": "A String", # The object ID of the master that this slide is based on. This property is |
| 19087 | # read-only. |
| 19088 | "layoutObjectId": "A String", # The object ID of the layout that this slide is based on. This property is |
| 19089 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19090 | }, |
| 19091 | }, |
| 19092 | ], |
| 19093 | "layouts": [ # The layouts in the presentation. A layout is a template that determines |
| 19094 | # how content is arranged and styled on the slides that inherit from that |
| 19095 | # layout. |
| 19096 | { # A page in a presentation. |
| 19097 | "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT. |
| 19098 | # relevant for pages with page_type LAYOUT. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19099 | "displayName": "A String", # The human-readable name of the layout. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19100 | "name": "A String", # The name of the layout. |
| 19101 | "masterObjectId": "A String", # The object ID of the master that this layout is based on. |
| 19102 | }, |
| 19103 | "pageElements": [ # The page elements rendered on the page. |
| 19104 | { # A visual element rendered on a page. |
| 19105 | "wordArt": { # A PageElement kind representing # A word art page element. |
| 19106 | # word art. |
| 19107 | "renderedText": "A String", # The text rendered as word art. |
| 19108 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19109 | "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit. |
| 19110 | # joined collection of PageElements. |
| 19111 | "children": [ # The collection of elements in the group. The minimum size of a group is 2. |
| 19112 | # Object with schema name: PageElement |
| 19113 | ], |
| 19114 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19115 | "objectId": "A String", # The object ID for this page element. Object IDs used by |
| 19116 | # google.apps.slides.v1.Page and |
| 19117 | # google.apps.slides.v1.PageElement share the same namespace. |
| 19118 | "title": "A String", # The title of the page element. Combined with description to display alt |
| 19119 | # text. |
| 19120 | "image": { # A PageElement kind representing an # An image page element. |
| 19121 | # image. |
| 19122 | "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes. |
| 19123 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 19124 | # effectively accesses the image as the original requester. Access to the |
| 19125 | # image may be lost if the presentation's sharing settings change. |
| 19126 | "imageProperties": { # The properties of the Image. # The properties of the image. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19127 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19128 | # |
| 19129 | # If these fields are unset, they may be inherited from a parent placeholder |
| 19130 | # if it exists. If there is no parent, the fields will default to the value |
| 19131 | # used for new page elements created in the Slides editor, which may depend on |
| 19132 | # the page element kind. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19133 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 19134 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 19135 | # specified color value. |
| 19136 | # |
| 19137 | # If any field is unset, its value may be inherited from a parent placeholder |
| 19138 | # if it exists. |
| 19139 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 19140 | "themeColor": "A String", # An opaque theme color. |
| 19141 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 19142 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19143 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19144 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19145 | }, |
| 19146 | }, |
| 19147 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 19148 | # That is, the final pixel color is defined by the equation: |
| 19149 | # |
| 19150 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 19151 | # |
| 19152 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 19153 | # a value of 0.0 corresponds to a completely transparent color. |
| 19154 | }, |
| 19155 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 19156 | "propertyState": "A String", # The outline property state. |
| 19157 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19158 | # Updating the outline on a page element will implicitly update this field |
| 19159 | # to `RENDERED`, unless another value is specified in the same request. To |
| 19160 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 19161 | # this case, any other outline fields set in the same request will be |
| 19162 | # ignored. |
| 19163 | "dashStyle": "A String", # The dash style of the outline. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19164 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 19165 | "magnitude": 3.14, # The magnitude. |
| 19166 | "unit": "A String", # The units for magnitude. |
| 19167 | }, |
| 19168 | }, |
| 19169 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 19170 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 19171 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 19172 | # This property is read-only. |
| 19173 | "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] | 19174 | # stops. |
| 19175 | # |
| 19176 | # The colors in the gradient will replace the corresponding colors at |
| 19177 | # the same position in the color palette and apply to the image. This |
| 19178 | # property is read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19179 | { # A color and position in a gradient band. |
| 19180 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 19181 | "themeColor": "A String", # An opaque theme color. |
| 19182 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 19183 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19184 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19185 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19186 | }, |
| 19187 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19188 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 19189 | # fully opaque. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 19190 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 19191 | # 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] | 19192 | }, |
| 19193 | ], |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 19194 | "name": "A String", # The name of the recolor effect. |
| 19195 | # |
| 19196 | # The name is determined from the `recolor_stops` by matching the gradient |
| 19197 | # against the colors in the page's current color scheme. This property is |
| 19198 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19199 | }, |
| 19200 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 19201 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 19202 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 19203 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 19204 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 19205 | # 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] | 19206 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 19207 | # addressed by its position. |
| 19208 | }, |
| 19209 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 19210 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 19211 | # This property is read-only. |
| 19212 | "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. |
| 19213 | # This property is read-only. |
| 19214 | # Image. |
| 19215 | # |
| 19216 | # The crop properties is represented by the offsets of four edges which define |
| 19217 | # a crop rectangle. The offsets are measured in percentage from the |
| 19218 | # corresponding edges of the object's original bounding rectangle towards |
| 19219 | # inside, relative to the object's original dimensions. |
| 19220 | # |
| 19221 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 19222 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 19223 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 19224 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 19225 | # - If the left edge of the crop rectangle is on the right side of its right |
| 19226 | # edge, the object will be flipped horizontally. |
| 19227 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 19228 | # will be flipped vertically. |
| 19229 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 19230 | # |
| 19231 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 19232 | # its container. |
| 19233 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 19234 | # the right of the original bounding rectangle left edge, relative to the |
| 19235 | # object's original width. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19236 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 19237 | # above the original bounding rectangle bottom edge, relative to the object's |
| 19238 | # original height. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 19239 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 19240 | # Rotation angle is applied after the offset. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 19241 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 19242 | # to the left of the original bounding rectangle right edge, relative to the |
| 19243 | # object's original width. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 19244 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 19245 | # below the original bounding rectangle top edge, relative to the object's |
| 19246 | # original height. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19247 | }, |
| 19248 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 19249 | # is read-only. |
| 19250 | # |
| 19251 | # If these fields are unset, they may be inherited from a parent placeholder |
| 19252 | # if it exists. If there is no parent, the fields will default to the value |
| 19253 | # used for new page elements created in the Slides editor, which may depend on |
| 19254 | # the page element kind. |
| 19255 | "color": { # A themeable solid color value. # The shadow color value. |
| 19256 | "themeColor": "A String", # An opaque theme color. |
| 19257 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 19258 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19259 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19260 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19261 | }, |
| 19262 | }, |
| 19263 | "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, |
| 19264 | # relative to the alignment position. |
| 19265 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 19266 | # according to: |
| 19267 | # |
| 19268 | # x' x = shear_y scale_y translate_y |
| 19269 | # 1 [ 1 ] |
| 19270 | # |
| 19271 | # After transformation, |
| 19272 | # |
| 19273 | # x' = scale_x * x + shear_x * y + translate_x; |
| 19274 | # y' = scale_y * y + shear_y * x + translate_y; |
| 19275 | # |
| 19276 | # This message is therefore composed of these six matrix elements. |
| 19277 | "translateX": 3.14, # The X coordinate translation element. |
| 19278 | "translateY": 3.14, # The Y coordinate translation element. |
| 19279 | "scaleX": 3.14, # The X coordinate scaling element. |
| 19280 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 19281 | "shearY": 3.14, # The Y coordinate shearing element. |
| 19282 | "shearX": 3.14, # The X coordinate shearing element. |
| 19283 | "unit": "A String", # The units for translate elements. |
| 19284 | }, |
| 19285 | "propertyState": "A String", # The shadow property state. |
| 19286 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19287 | # Updating the shadow on a page element will implicitly update this field to |
| 19288 | # `RENDERED`, unless another value is specified in the same request. To have |
| 19289 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19290 | # case, any other shadow fields set in the same request will be ignored. |
| 19291 | "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 |
| 19292 | # shadow becomes. |
| 19293 | "magnitude": 3.14, # The magnitude. |
| 19294 | "unit": "A String", # The units for magnitude. |
| 19295 | }, |
| 19296 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19297 | "type": "A String", # The type of the shadow. This property is read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19298 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19299 | # scale and skew of the shadow. This property is read-only. |
| 19300 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 19301 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19302 | }, |
| 19303 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 19304 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 19305 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19306 | "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be |
| 19307 | # empty. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19308 | }, |
| 19309 | "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19310 | # |
| 19311 | # The visual appearance of the page element is determined by its absolute |
| 19312 | # transform. To compute the absolute transform, preconcatenate a page |
| 19313 | # element's transform with the transforms of all of its parent groups. If the |
| 19314 | # page element is not in a group, its absolute transform is the same as the |
| 19315 | # value in this field. |
| 19316 | # |
| 19317 | # The initial transform for the newly created Group is always the identity transform. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19318 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 19319 | # according to: |
| 19320 | # |
| 19321 | # x' x = shear_y scale_y translate_y |
| 19322 | # 1 [ 1 ] |
| 19323 | # |
| 19324 | # After transformation, |
| 19325 | # |
| 19326 | # x' = scale_x * x + shear_x * y + translate_x; |
| 19327 | # y' = scale_y * y + shear_y * x + translate_y; |
| 19328 | # |
| 19329 | # This message is therefore composed of these six matrix elements. |
| 19330 | "translateX": 3.14, # The X coordinate translation element. |
| 19331 | "translateY": 3.14, # The Y coordinate translation element. |
| 19332 | "scaleX": 3.14, # The X coordinate scaling element. |
| 19333 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 19334 | "shearY": 3.14, # The Y coordinate shearing element. |
| 19335 | "shearX": 3.14, # The X coordinate shearing element. |
| 19336 | "unit": "A String", # The units for translate elements. |
| 19337 | }, |
| 19338 | "shape": { # A PageElement kind representing a # A generic shape. |
| 19339 | # generic shape that does not have a more specific classification. |
| 19340 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape. |
| 19341 | # text box or rectangle) or a table cell in a page. |
| 19342 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 19343 | # information. This property is read-only. |
| 19344 | { # A TextElement describes the content of a range of indices in the text content |
| 19345 | # of a Shape or TableCell. |
| 19346 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 19347 | # replaced with content that can change over time. |
| 19348 | "content": "A String", # The rendered content of this auto text, if available. |
| 19349 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 19350 | # |
| 19351 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 19352 | # inherited from the parent. Which text styles are inherited depend on the |
| 19353 | # nesting level of lists: |
| 19354 | # |
| 19355 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 19356 | # from the the newline character in the paragraph at the 0 nesting level of |
| 19357 | # the list inside the parent placeholder. |
| 19358 | # * A text run in a paragraph that is in a list will inherit its text style |
| 19359 | # from the newline character in the paragraph at its corresponding nesting |
| 19360 | # level of the list inside the parent placeholder. |
| 19361 | # |
| 19362 | # Inherited text styles are represented as unset fields in this message. If |
| 19363 | # text is contained in a shape without a parent placeholder, unsetting these |
| 19364 | # fields will revert the style to a value matching the defaults in the Slides |
| 19365 | # editor. |
| 19366 | "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 |
| 19367 | # transparent, depending on if the `opaque_color` field in it is set. |
| 19368 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 19369 | # a transparent color. |
| 19370 | "themeColor": "A String", # An opaque theme color. |
| 19371 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 19372 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19373 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19374 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19375 | }, |
| 19376 | }, |
| 19377 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19378 | "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 |
| 19379 | # transparent, depending on if the `opaque_color` field in it is set. |
| 19380 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 19381 | # a transparent color. |
| 19382 | "themeColor": "A String", # An opaque theme color. |
| 19383 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 19384 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19385 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19386 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19387 | }, |
| 19388 | }, |
| 19389 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19390 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 19391 | # |
| 19392 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 19393 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 19394 | # The `font_size` itself is not affected by changes in this field. |
| 19395 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 19396 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 19397 | # |
| 19398 | # This field is an extension of `font_family` meant to support explicit font |
| 19399 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 19400 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 19401 | # will always be equal to that of `font_family`. However, when writing, if |
| 19402 | # both fields are included in the field mask (either explicitly or through |
| 19403 | # the wildcard `"*"`), their values are reconciled as follows: |
| 19404 | # |
| 19405 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 19406 | # `font_family` is applied with weight `400` ("normal"). |
| 19407 | # * If both fields are set, the value of `font_family` must match that of |
| 19408 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 19409 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 19410 | # returned. |
| 19411 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 19412 | # family and weight of `weighted_font_family` is applied. |
| 19413 | # * If neither field is set, the font family and weight of the text inherit |
| 19414 | # from the parent. Note that these properties cannot inherit separately |
| 19415 | # from each other. |
| 19416 | # |
| 19417 | # If an update request specifies values for both `weighted_font_family` and |
| 19418 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 19419 | # |
| 19420 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 19421 | # |
| 19422 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 19423 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 19424 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 19425 | "fontFamily": "A String", # The font family of the text. |
| 19426 | # |
| 19427 | # The font family can be any font from the Font menu in Slides or from |
| 19428 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 19429 | # unrecognized, the text is rendered in `Arial`. |
| 19430 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 19431 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 19432 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19433 | # Specification, |
| 19434 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 19435 | # with non-numerical values disallowed. Weights greater than or equal to |
| 19436 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 19437 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 19438 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19439 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 19440 | "fontFamily": "A String", # The font family of the text. |
| 19441 | # |
| 19442 | # The font family can be any font from the Font menu in Slides or from |
| 19443 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 19444 | # unrecognized, the text is rendered in `Arial`. |
| 19445 | # |
| 19446 | # Some fonts can affect the weight of the text. If an update request |
| 19447 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 19448 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19449 | "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 |
| 19450 | # points. |
| 19451 | "magnitude": 3.14, # The magnitude. |
| 19452 | "unit": "A String", # The units for magnitude. |
| 19453 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 19454 | "italic": True or False, # Whether or not the text is italicized. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19455 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 19456 | # are not inherited from parent text. |
| 19457 | # |
| 19458 | # Changing the link in an update request causes some other changes to the |
| 19459 | # text style of the range: |
| 19460 | # |
| 19461 | # * When setting a link, the text foreground color will be set to |
| 19462 | # ThemeColorType.HYPERLINK and the text will |
| 19463 | # be underlined. If these fields are modified in the same |
| 19464 | # request, those values will be used instead of the link defaults. |
| 19465 | # * Setting a link on a text range that overlaps with an existing link will |
| 19466 | # also update the existing link to point to the new URL. |
| 19467 | # * Links are not settable on newline characters. As a result, setting a link |
| 19468 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 19469 | # will separate the newline character(s) into their own text runs. The |
| 19470 | # link will be applied separately to the runs before and after the newline. |
| 19471 | # * Removing a link will update the text style of the range to match the |
| 19472 | # style of the preceding text (or the default text styles if the preceding |
| 19473 | # text is another link) unless different styles are being set in the same |
| 19474 | # request. |
| 19475 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 19476 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 19477 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 19478 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 19479 | # 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] | 19480 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 19481 | # addressed by its position. |
| 19482 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 19483 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19484 | "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] | 19485 | }, |
| 19486 | "type": "A String", # The type of this auto text. |
| 19487 | }, |
| 19488 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 19489 | # units. |
| 19490 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 19491 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 19492 | # |
| 19493 | # The `start_index` and `end_index` of this TextElement represent the |
| 19494 | # range of the paragraph. Other TextElements with an index range contained |
| 19495 | # inside this paragraph's range are considered to be part of this |
| 19496 | # paragraph. The range of indices of two separate paragraphs will never |
| 19497 | # overlap. |
| 19498 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 19499 | # |
| 19500 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 19501 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 19502 | # nesting level of lists: |
| 19503 | # |
| 19504 | # * A paragraph not in a list will inherit its paragraph style from the |
| 19505 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 19506 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 19507 | # at its corresponding nesting level of the list inside the parent |
| 19508 | # placeholder. |
| 19509 | # |
| 19510 | # Inherited paragraph styles are represented as unset fields in this message. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 19511 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 19512 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 19513 | # LEFT_TO_RIGHT since |
| 19514 | # text direction is not inherited. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19515 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 19516 | # inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19517 | "magnitude": 3.14, # The magnitude. |
| 19518 | "unit": "A String", # The units for magnitude. |
| 19519 | }, |
| 19520 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 19521 | # 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] | 19522 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 19523 | # 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] | 19524 | # value is inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19525 | "magnitude": 3.14, # The magnitude. |
| 19526 | "unit": "A String", # The units for magnitude. |
| 19527 | }, |
| 19528 | "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] | 19529 | # inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19530 | "magnitude": 3.14, # The magnitude. |
| 19531 | "unit": "A String", # The units for magnitude. |
| 19532 | }, |
| 19533 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 19534 | # 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] | 19535 | # value is inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19536 | "magnitude": 3.14, # The magnitude. |
| 19537 | "unit": "A String", # The units for magnitude. |
| 19538 | }, |
| 19539 | "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] | 19540 | # If unset, the value is inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19541 | "magnitude": 3.14, # The magnitude. |
| 19542 | "unit": "A String", # The units for magnitude. |
| 19543 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 19544 | "alignment": "A String", # The text alignment for this paragraph. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19545 | }, |
| 19546 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 19547 | # belong to a list. |
| 19548 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 19549 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 19550 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 19551 | # |
| 19552 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 19553 | # inherited from the parent. Which text styles are inherited depend on the |
| 19554 | # nesting level of lists: |
| 19555 | # |
| 19556 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 19557 | # from the the newline character in the paragraph at the 0 nesting level of |
| 19558 | # the list inside the parent placeholder. |
| 19559 | # * A text run in a paragraph that is in a list will inherit its text style |
| 19560 | # from the newline character in the paragraph at its corresponding nesting |
| 19561 | # level of the list inside the parent placeholder. |
| 19562 | # |
| 19563 | # Inherited text styles are represented as unset fields in this message. If |
| 19564 | # text is contained in a shape without a parent placeholder, unsetting these |
| 19565 | # fields will revert the style to a value matching the defaults in the Slides |
| 19566 | # editor. |
| 19567 | "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 |
| 19568 | # transparent, depending on if the `opaque_color` field in it is set. |
| 19569 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 19570 | # a transparent color. |
| 19571 | "themeColor": "A String", # An opaque theme color. |
| 19572 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 19573 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19574 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19575 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19576 | }, |
| 19577 | }, |
| 19578 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19579 | "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 |
| 19580 | # transparent, depending on if the `opaque_color` field in it is set. |
| 19581 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 19582 | # a transparent color. |
| 19583 | "themeColor": "A String", # An opaque theme color. |
| 19584 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 19585 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19586 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19587 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19588 | }, |
| 19589 | }, |
| 19590 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19591 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 19592 | # |
| 19593 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 19594 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 19595 | # The `font_size` itself is not affected by changes in this field. |
| 19596 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 19597 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 19598 | # |
| 19599 | # This field is an extension of `font_family` meant to support explicit font |
| 19600 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 19601 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 19602 | # will always be equal to that of `font_family`. However, when writing, if |
| 19603 | # both fields are included in the field mask (either explicitly or through |
| 19604 | # the wildcard `"*"`), their values are reconciled as follows: |
| 19605 | # |
| 19606 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 19607 | # `font_family` is applied with weight `400` ("normal"). |
| 19608 | # * If both fields are set, the value of `font_family` must match that of |
| 19609 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 19610 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 19611 | # returned. |
| 19612 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 19613 | # family and weight of `weighted_font_family` is applied. |
| 19614 | # * If neither field is set, the font family and weight of the text inherit |
| 19615 | # from the parent. Note that these properties cannot inherit separately |
| 19616 | # from each other. |
| 19617 | # |
| 19618 | # If an update request specifies values for both `weighted_font_family` and |
| 19619 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 19620 | # |
| 19621 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 19622 | # |
| 19623 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 19624 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 19625 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 19626 | "fontFamily": "A String", # The font family of the text. |
| 19627 | # |
| 19628 | # The font family can be any font from the Font menu in Slides or from |
| 19629 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 19630 | # unrecognized, the text is rendered in `Arial`. |
| 19631 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 19632 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 19633 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19634 | # Specification, |
| 19635 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 19636 | # with non-numerical values disallowed. Weights greater than or equal to |
| 19637 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 19638 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 19639 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19640 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 19641 | "fontFamily": "A String", # The font family of the text. |
| 19642 | # |
| 19643 | # The font family can be any font from the Font menu in Slides or from |
| 19644 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 19645 | # unrecognized, the text is rendered in `Arial`. |
| 19646 | # |
| 19647 | # Some fonts can affect the weight of the text. If an update request |
| 19648 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 19649 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19650 | "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 |
| 19651 | # points. |
| 19652 | "magnitude": 3.14, # The magnitude. |
| 19653 | "unit": "A String", # The units for magnitude. |
| 19654 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 19655 | "italic": True or False, # Whether or not the text is italicized. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19656 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 19657 | # are not inherited from parent text. |
| 19658 | # |
| 19659 | # Changing the link in an update request causes some other changes to the |
| 19660 | # text style of the range: |
| 19661 | # |
| 19662 | # * When setting a link, the text foreground color will be set to |
| 19663 | # ThemeColorType.HYPERLINK and the text will |
| 19664 | # be underlined. If these fields are modified in the same |
| 19665 | # request, those values will be used instead of the link defaults. |
| 19666 | # * Setting a link on a text range that overlaps with an existing link will |
| 19667 | # also update the existing link to point to the new URL. |
| 19668 | # * Links are not settable on newline characters. As a result, setting a link |
| 19669 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 19670 | # will separate the newline character(s) into their own text runs. The |
| 19671 | # link will be applied separately to the runs before and after the newline. |
| 19672 | # * Removing a link will update the text style of the range to match the |
| 19673 | # style of the preceding text (or the default text styles if the preceding |
| 19674 | # text is another link) unless different styles are being set in the same |
| 19675 | # request. |
| 19676 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 19677 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 19678 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 19679 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 19680 | # 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] | 19681 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 19682 | # addressed by its position. |
| 19683 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 19684 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19685 | "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] | 19686 | }, |
| 19687 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 19688 | }, |
| 19689 | }, |
| 19690 | "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 |
| 19691 | # in the run have the same TextStyle. |
| 19692 | # |
| 19693 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 19694 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 19695 | # In other words, a TextRun will never span multiple paragraphs. |
| 19696 | # styling. |
| 19697 | "content": "A String", # The text of this run. |
| 19698 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 19699 | # |
| 19700 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 19701 | # inherited from the parent. Which text styles are inherited depend on the |
| 19702 | # nesting level of lists: |
| 19703 | # |
| 19704 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 19705 | # from the the newline character in the paragraph at the 0 nesting level of |
| 19706 | # the list inside the parent placeholder. |
| 19707 | # * A text run in a paragraph that is in a list will inherit its text style |
| 19708 | # from the newline character in the paragraph at its corresponding nesting |
| 19709 | # level of the list inside the parent placeholder. |
| 19710 | # |
| 19711 | # Inherited text styles are represented as unset fields in this message. If |
| 19712 | # text is contained in a shape without a parent placeholder, unsetting these |
| 19713 | # fields will revert the style to a value matching the defaults in the Slides |
| 19714 | # editor. |
| 19715 | "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 |
| 19716 | # transparent, depending on if the `opaque_color` field in it is set. |
| 19717 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 19718 | # a transparent color. |
| 19719 | "themeColor": "A String", # An opaque theme color. |
| 19720 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 19721 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19722 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19723 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19724 | }, |
| 19725 | }, |
| 19726 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19727 | "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 |
| 19728 | # transparent, depending on if the `opaque_color` field in it is set. |
| 19729 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 19730 | # a transparent color. |
| 19731 | "themeColor": "A String", # An opaque theme color. |
| 19732 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 19733 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19734 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19735 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19736 | }, |
| 19737 | }, |
| 19738 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19739 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 19740 | # |
| 19741 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 19742 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 19743 | # The `font_size` itself is not affected by changes in this field. |
| 19744 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 19745 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 19746 | # |
| 19747 | # This field is an extension of `font_family` meant to support explicit font |
| 19748 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 19749 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 19750 | # will always be equal to that of `font_family`. However, when writing, if |
| 19751 | # both fields are included in the field mask (either explicitly or through |
| 19752 | # the wildcard `"*"`), their values are reconciled as follows: |
| 19753 | # |
| 19754 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 19755 | # `font_family` is applied with weight `400` ("normal"). |
| 19756 | # * If both fields are set, the value of `font_family` must match that of |
| 19757 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 19758 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 19759 | # returned. |
| 19760 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 19761 | # family and weight of `weighted_font_family` is applied. |
| 19762 | # * If neither field is set, the font family and weight of the text inherit |
| 19763 | # from the parent. Note that these properties cannot inherit separately |
| 19764 | # from each other. |
| 19765 | # |
| 19766 | # If an update request specifies values for both `weighted_font_family` and |
| 19767 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 19768 | # |
| 19769 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 19770 | # |
| 19771 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 19772 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 19773 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 19774 | "fontFamily": "A String", # The font family of the text. |
| 19775 | # |
| 19776 | # The font family can be any font from the Font menu in Slides or from |
| 19777 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 19778 | # unrecognized, the text is rendered in `Arial`. |
| 19779 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 19780 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 19781 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19782 | # Specification, |
| 19783 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 19784 | # with non-numerical values disallowed. Weights greater than or equal to |
| 19785 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 19786 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 19787 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19788 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 19789 | "fontFamily": "A String", # The font family of the text. |
| 19790 | # |
| 19791 | # The font family can be any font from the Font menu in Slides or from |
| 19792 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 19793 | # unrecognized, the text is rendered in `Arial`. |
| 19794 | # |
| 19795 | # Some fonts can affect the weight of the text. If an update request |
| 19796 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 19797 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19798 | "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 |
| 19799 | # points. |
| 19800 | "magnitude": 3.14, # The magnitude. |
| 19801 | "unit": "A String", # The units for magnitude. |
| 19802 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 19803 | "italic": True or False, # Whether or not the text is italicized. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19804 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 19805 | # are not inherited from parent text. |
| 19806 | # |
| 19807 | # Changing the link in an update request causes some other changes to the |
| 19808 | # text style of the range: |
| 19809 | # |
| 19810 | # * When setting a link, the text foreground color will be set to |
| 19811 | # ThemeColorType.HYPERLINK and the text will |
| 19812 | # be underlined. If these fields are modified in the same |
| 19813 | # request, those values will be used instead of the link defaults. |
| 19814 | # * Setting a link on a text range that overlaps with an existing link will |
| 19815 | # also update the existing link to point to the new URL. |
| 19816 | # * Links are not settable on newline characters. As a result, setting a link |
| 19817 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 19818 | # will separate the newline character(s) into their own text runs. The |
| 19819 | # link will be applied separately to the runs before and after the newline. |
| 19820 | # * Removing a link will update the text style of the range to match the |
| 19821 | # style of the preceding text (or the default text styles if the preceding |
| 19822 | # text is another link) unless different styles are being set in the same |
| 19823 | # request. |
| 19824 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 19825 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 19826 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 19827 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 19828 | # 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] | 19829 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 19830 | # addressed by its position. |
| 19831 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 19832 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19833 | "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] | 19834 | }, |
| 19835 | }, |
| 19836 | }, |
| 19837 | ], |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 19838 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 19839 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 19840 | # associated with a list. A paragraph that is part of a list has an implicit |
| 19841 | # reference to that list's ID. |
| 19842 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 19843 | # level. A list has at most nine levels of nesting, so the possible values |
| 19844 | # for the keys of this map are 0 through 8, inclusive. |
| 19845 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 19846 | # level of nesting. |
| 19847 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 19848 | # |
| 19849 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 19850 | # inherited from the parent. Which text styles are inherited depend on the |
| 19851 | # nesting level of lists: |
| 19852 | # |
| 19853 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 19854 | # from the the newline character in the paragraph at the 0 nesting level of |
| 19855 | # the list inside the parent placeholder. |
| 19856 | # * A text run in a paragraph that is in a list will inherit its text style |
| 19857 | # from the newline character in the paragraph at its corresponding nesting |
| 19858 | # level of the list inside the parent placeholder. |
| 19859 | # |
| 19860 | # Inherited text styles are represented as unset fields in this message. If |
| 19861 | # text is contained in a shape without a parent placeholder, unsetting these |
| 19862 | # fields will revert the style to a value matching the defaults in the Slides |
| 19863 | # editor. |
| 19864 | "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 |
| 19865 | # transparent, depending on if the `opaque_color` field in it is set. |
| 19866 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 19867 | # a transparent color. |
| 19868 | "themeColor": "A String", # An opaque theme color. |
| 19869 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 19870 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19871 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19872 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19873 | }, |
| 19874 | }, |
| 19875 | }, |
| 19876 | "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 |
| 19877 | # transparent, depending on if the `opaque_color` field in it is set. |
| 19878 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 19879 | # a transparent color. |
| 19880 | "themeColor": "A String", # An opaque theme color. |
| 19881 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 19882 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19883 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19884 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19885 | }, |
| 19886 | }, |
| 19887 | }, |
| 19888 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 19889 | # |
| 19890 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 19891 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 19892 | # The `font_size` itself is not affected by changes in this field. |
| 19893 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 19894 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 19895 | # |
| 19896 | # This field is an extension of `font_family` meant to support explicit font |
| 19897 | # weights without breaking backwards compatibility. As such, when reading the |
| 19898 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 19899 | # will always be equal to that of `font_family`. However, when writing, if |
| 19900 | # both fields are included in the field mask (either explicitly or through |
| 19901 | # the wildcard `"*"`), their values are reconciled as follows: |
| 19902 | # |
| 19903 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 19904 | # `font_family` is applied with weight `400` ("normal"). |
| 19905 | # * If both fields are set, the value of `font_family` must match that of |
| 19906 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 19907 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 19908 | # returned. |
| 19909 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 19910 | # family and weight of `weighted_font_family` is applied. |
| 19911 | # * If neither field is set, the font family and weight of the text inherit |
| 19912 | # from the parent. Note that these properties cannot inherit separately |
| 19913 | # from each other. |
| 19914 | # |
| 19915 | # If an update request specifies values for both `weighted_font_family` and |
| 19916 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 19917 | # |
| 19918 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 19919 | # |
| 19920 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 19921 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 19922 | # is returned. |
| 19923 | "fontFamily": "A String", # The font family of the text. |
| 19924 | # |
| 19925 | # The font family can be any font from the Font menu in Slides or from |
| 19926 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 19927 | # unrecognized, the text is rendered in `Arial`. |
| 19928 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 19929 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 19930 | # corresponds to the numerical values described in the CSS 2.1 |
| 19931 | # Specification, |
| 19932 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 19933 | # with non-numerical values disallowed. Weights greater than or equal to |
| 19934 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 19935 | # default value is `400` ("normal"). |
| 19936 | }, |
| 19937 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 19938 | "fontFamily": "A String", # The font family of the text. |
| 19939 | # |
| 19940 | # The font family can be any font from the Font menu in Slides or from |
| 19941 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 19942 | # unrecognized, the text is rendered in `Arial`. |
| 19943 | # |
| 19944 | # Some fonts can affect the weight of the text. If an update request |
| 19945 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 19946 | # `bold` value is used. |
| 19947 | "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 |
| 19948 | # points. |
| 19949 | "magnitude": 3.14, # The magnitude. |
| 19950 | "unit": "A String", # The units for magnitude. |
| 19951 | }, |
| 19952 | "italic": True or False, # Whether or not the text is italicized. |
| 19953 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 19954 | # are not inherited from parent text. |
| 19955 | # |
| 19956 | # Changing the link in an update request causes some other changes to the |
| 19957 | # text style of the range: |
| 19958 | # |
| 19959 | # * When setting a link, the text foreground color will be set to |
| 19960 | # ThemeColorType.HYPERLINK and the text will |
| 19961 | # be underlined. If these fields are modified in the same |
| 19962 | # request, those values will be used instead of the link defaults. |
| 19963 | # * Setting a link on a text range that overlaps with an existing link will |
| 19964 | # also update the existing link to point to the new URL. |
| 19965 | # * Links are not settable on newline characters. As a result, setting a link |
| 19966 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 19967 | # will separate the newline character(s) into their own text runs. The |
| 19968 | # link will be applied separately to the runs before and after the newline. |
| 19969 | # * Removing a link will update the text style of the range to match the |
| 19970 | # style of the preceding text (or the default text styles if the preceding |
| 19971 | # text is another link) unless different styles are being set in the same |
| 19972 | # request. |
| 19973 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 19974 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 19975 | # in the presentation. There may not be a slide at this index. |
| 19976 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 19977 | # presentation with this ID. A page with this ID may not exist. |
| 19978 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 19979 | # addressed by its position. |
| 19980 | }, |
| 19981 | "underline": True or False, # Whether or not the text is underlined. |
| 19982 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 19983 | }, |
| 19984 | }, |
| 19985 | }, |
| 19986 | "listId": "A String", # The ID of the list. |
| 19987 | }, |
| 19988 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 19989 | }, |
| 19990 | "shapeProperties": { # The properties of a Shape. # The properties of the shape. |
| 19991 | # |
| 19992 | # If the shape is a placeholder shape as determined by the |
| 19993 | # placeholder field, then these |
| 19994 | # properties may be inherited from a parent placeholder shape. |
| 19995 | # Determining the rendered value of the property depends on the corresponding |
| 19996 | # property_state field value. |
| 19997 | "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from |
| 19998 | # a parent placeholder if it exists. If the shape has no parent, then the |
| 19999 | # default shadow matches the defaults for new shapes created in the Slides |
| 20000 | # editor. This property is read-only. |
| 20001 | # |
| 20002 | # If these fields are unset, they may be inherited from a parent placeholder |
| 20003 | # if it exists. If there is no parent, the fields will default to the value |
| 20004 | # used for new page elements created in the Slides editor, which may depend on |
| 20005 | # the page element kind. |
| 20006 | "color": { # A themeable solid color value. # The shadow color value. |
| 20007 | "themeColor": "A String", # An opaque theme color. |
| 20008 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 20009 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20010 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20011 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20012 | }, |
| 20013 | }, |
| 20014 | "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, |
| 20015 | # relative to the alignment position. |
| 20016 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 20017 | # according to: |
| 20018 | # |
| 20019 | # x' x = shear_y scale_y translate_y |
| 20020 | # 1 [ 1 ] |
| 20021 | # |
| 20022 | # After transformation, |
| 20023 | # |
| 20024 | # x' = scale_x * x + shear_x * y + translate_x; |
| 20025 | # y' = scale_y * y + shear_y * x + translate_y; |
| 20026 | # |
| 20027 | # This message is therefore composed of these six matrix elements. |
| 20028 | "translateX": 3.14, # The X coordinate translation element. |
| 20029 | "translateY": 3.14, # The Y coordinate translation element. |
| 20030 | "scaleX": 3.14, # The X coordinate scaling element. |
| 20031 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 20032 | "shearY": 3.14, # The Y coordinate shearing element. |
| 20033 | "shearX": 3.14, # The X coordinate shearing element. |
| 20034 | "unit": "A String", # The units for translate elements. |
| 20035 | }, |
| 20036 | "propertyState": "A String", # The shadow property state. |
| 20037 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20038 | # Updating the shadow on a page element will implicitly update this field to |
| 20039 | # `RENDERED`, unless another value is specified in the same request. To have |
| 20040 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20041 | # case, any other shadow fields set in the same request will be ignored. |
| 20042 | "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 |
| 20043 | # shadow becomes. |
| 20044 | "magnitude": 3.14, # The magnitude. |
| 20045 | "unit": "A String", # The units for magnitude. |
| 20046 | }, |
| 20047 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20048 | "type": "A String", # The type of the shadow. This property is read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20049 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20050 | # scale and skew of the shadow. This property is read-only. |
| 20051 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 20052 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20053 | }, |
| 20054 | "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is |
| 20055 | # inherited from a parent placeholder if it exists. If the shape has no |
| 20056 | # parent, then the default background fill depends on the shape type, |
| 20057 | # matching the defaults for new shapes created in the Slides editor. |
| 20058 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 20059 | # specified color value. |
| 20060 | # |
| 20061 | # If any field is unset, its value may be inherited from a parent placeholder |
| 20062 | # if it exists. |
| 20063 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 20064 | "themeColor": "A String", # An opaque theme color. |
| 20065 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 20066 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20067 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20068 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20069 | }, |
| 20070 | }, |
| 20071 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 20072 | # That is, the final pixel color is defined by the equation: |
| 20073 | # |
| 20074 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 20075 | # |
| 20076 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 20077 | # a value of 0.0 corresponds to a completely transparent color. |
| 20078 | }, |
| 20079 | "propertyState": "A String", # The background fill property state. |
| 20080 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20081 | # Updating the fill on a shape will implicitly update this field to |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20082 | # `RENDERED`, unless another value is specified in the same request. To |
| 20083 | # have no fill on a shape, set this field to `NOT_RENDERED`. In this case, |
| 20084 | # any other fill fields set in the same request will be ignored. |
| 20085 | }, |
| 20086 | "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links |
| 20087 | # are not inherited from parent placeholders. |
| 20088 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 20089 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 20090 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 20091 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 20092 | # 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] | 20093 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 20094 | # addressed by its position. |
| 20095 | }, |
| 20096 | "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a |
| 20097 | # parent placeholder if it exists. If the shape has no parent, then the |
| 20098 | # default outline depends on the shape type, matching the defaults for |
| 20099 | # new shapes created in the Slides editor. |
| 20100 | # |
| 20101 | # If these fields are unset, they may be inherited from a parent placeholder |
| 20102 | # if it exists. If there is no parent, the fields will default to the value |
| 20103 | # used for new page elements created in the Slides editor, which may depend on |
| 20104 | # the page element kind. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20105 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 20106 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 20107 | # specified color value. |
| 20108 | # |
| 20109 | # If any field is unset, its value may be inherited from a parent placeholder |
| 20110 | # if it exists. |
| 20111 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 20112 | "themeColor": "A String", # An opaque theme color. |
| 20113 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 20114 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20115 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20116 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20117 | }, |
| 20118 | }, |
| 20119 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 20120 | # That is, the final pixel color is defined by the equation: |
| 20121 | # |
| 20122 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 20123 | # |
| 20124 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 20125 | # a value of 0.0 corresponds to a completely transparent color. |
| 20126 | }, |
| 20127 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 20128 | "propertyState": "A String", # The outline property state. |
| 20129 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20130 | # Updating the outline on a page element will implicitly update this field |
| 20131 | # to `RENDERED`, unless another value is specified in the same request. To |
| 20132 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 20133 | # this case, any other outline fields set in the same request will be |
| 20134 | # ignored. |
| 20135 | "dashStyle": "A String", # The dash style of the outline. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20136 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 20137 | "magnitude": 3.14, # The magnitude. |
| 20138 | "unit": "A String", # The units for magnitude. |
| 20139 | }, |
| 20140 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20141 | "contentAlignment": "A String", # The alignment of the content in the shape. If unspecified, |
| 20142 | # the alignment is inherited from a parent placeholder if it exists. If the |
| 20143 | # shape has no parent, the default alignment matches the alignment for new |
| 20144 | # shapes created in the Slides editor. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20145 | }, |
| 20146 | "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on |
| 20147 | # layouts and masters. |
| 20148 | # |
| 20149 | # If set, the shape is a placeholder shape and any inherited properties |
| 20150 | # can be resolved by looking at the parent placeholder identified by the |
| 20151 | # Placeholder.parent_object_id field. |
| 20152 | "parentObjectId": "A String", # The object ID of this shape's parent placeholder. |
| 20153 | # If unset, the parent placeholder shape does not exist, so the shape does |
| 20154 | # not inherit properties from any other shape. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 20155 | "index": 42, # The index of the placeholder. If the same placeholder types are present in |
| 20156 | # the same page, they would have different index values. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20157 | "type": "A String", # The type of the placeholder. |
| 20158 | }, |
| 20159 | "shapeType": "A String", # The type of the shape. |
| 20160 | }, |
| 20161 | "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are |
| 20162 | # represented as images. |
| 20163 | # a linked chart embedded from Google Sheets. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 20164 | "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30 |
| 20165 | # minutes. This URL is tagged with the account of the requester. Anyone with |
| 20166 | # the URL effectively accesses the image as the original requester. Access to |
| 20167 | # the image may be lost if the presentation's sharing settings change. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 20168 | "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] | 20169 | "sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart. |
| 20170 | "chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20171 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20172 | # |
| 20173 | # If these fields are unset, they may be inherited from a parent placeholder |
| 20174 | # if it exists. If there is no parent, the fields will default to the value |
| 20175 | # used for new page elements created in the Slides editor, which may depend on |
| 20176 | # the page element kind. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20177 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 20178 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 20179 | # specified color value. |
| 20180 | # |
| 20181 | # If any field is unset, its value may be inherited from a parent placeholder |
| 20182 | # if it exists. |
| 20183 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 20184 | "themeColor": "A String", # An opaque theme color. |
| 20185 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 20186 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20187 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20188 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20189 | }, |
| 20190 | }, |
| 20191 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 20192 | # That is, the final pixel color is defined by the equation: |
| 20193 | # |
| 20194 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 20195 | # |
| 20196 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 20197 | # a value of 0.0 corresponds to a completely transparent color. |
| 20198 | }, |
| 20199 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 20200 | "propertyState": "A String", # The outline property state. |
| 20201 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20202 | # Updating the outline on a page element will implicitly update this field |
| 20203 | # to `RENDERED`, unless another value is specified in the same request. To |
| 20204 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 20205 | # this case, any other outline fields set in the same request will be |
| 20206 | # ignored. |
| 20207 | "dashStyle": "A String", # The dash style of the outline. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20208 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 20209 | "magnitude": 3.14, # The magnitude. |
| 20210 | "unit": "A String", # The units for magnitude. |
| 20211 | }, |
| 20212 | }, |
| 20213 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 20214 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 20215 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 20216 | # This property is read-only. |
| 20217 | "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] | 20218 | # stops. |
| 20219 | # |
| 20220 | # The colors in the gradient will replace the corresponding colors at |
| 20221 | # the same position in the color palette and apply to the image. This |
| 20222 | # property is read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20223 | { # A color and position in a gradient band. |
| 20224 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 20225 | "themeColor": "A String", # An opaque theme color. |
| 20226 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 20227 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20228 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20229 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20230 | }, |
| 20231 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20232 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 20233 | # fully opaque. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 20234 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 20235 | # 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] | 20236 | }, |
| 20237 | ], |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 20238 | "name": "A String", # The name of the recolor effect. |
| 20239 | # |
| 20240 | # The name is determined from the `recolor_stops` by matching the gradient |
| 20241 | # against the colors in the page's current color scheme. This property is |
| 20242 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20243 | }, |
| 20244 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 20245 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 20246 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 20247 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 20248 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 20249 | # 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] | 20250 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 20251 | # addressed by its position. |
| 20252 | }, |
| 20253 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 20254 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 20255 | # This property is read-only. |
| 20256 | "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. |
| 20257 | # This property is read-only. |
| 20258 | # Image. |
| 20259 | # |
| 20260 | # The crop properties is represented by the offsets of four edges which define |
| 20261 | # a crop rectangle. The offsets are measured in percentage from the |
| 20262 | # corresponding edges of the object's original bounding rectangle towards |
| 20263 | # inside, relative to the object's original dimensions. |
| 20264 | # |
| 20265 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 20266 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 20267 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 20268 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 20269 | # - If the left edge of the crop rectangle is on the right side of its right |
| 20270 | # edge, the object will be flipped horizontally. |
| 20271 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 20272 | # will be flipped vertically. |
| 20273 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 20274 | # |
| 20275 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 20276 | # its container. |
| 20277 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 20278 | # the right of the original bounding rectangle left edge, relative to the |
| 20279 | # object's original width. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20280 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 20281 | # above the original bounding rectangle bottom edge, relative to the object's |
| 20282 | # original height. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 20283 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 20284 | # Rotation angle is applied after the offset. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 20285 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 20286 | # to the left of the original bounding rectangle right edge, relative to the |
| 20287 | # object's original width. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 20288 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 20289 | # below the original bounding rectangle top edge, relative to the object's |
| 20290 | # original height. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20291 | }, |
| 20292 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 20293 | # is read-only. |
| 20294 | # |
| 20295 | # If these fields are unset, they may be inherited from a parent placeholder |
| 20296 | # if it exists. If there is no parent, the fields will default to the value |
| 20297 | # used for new page elements created in the Slides editor, which may depend on |
| 20298 | # the page element kind. |
| 20299 | "color": { # A themeable solid color value. # The shadow color value. |
| 20300 | "themeColor": "A String", # An opaque theme color. |
| 20301 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 20302 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20303 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20304 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20305 | }, |
| 20306 | }, |
| 20307 | "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, |
| 20308 | # relative to the alignment position. |
| 20309 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 20310 | # according to: |
| 20311 | # |
| 20312 | # x' x = shear_y scale_y translate_y |
| 20313 | # 1 [ 1 ] |
| 20314 | # |
| 20315 | # After transformation, |
| 20316 | # |
| 20317 | # x' = scale_x * x + shear_x * y + translate_x; |
| 20318 | # y' = scale_y * y + shear_y * x + translate_y; |
| 20319 | # |
| 20320 | # This message is therefore composed of these six matrix elements. |
| 20321 | "translateX": 3.14, # The X coordinate translation element. |
| 20322 | "translateY": 3.14, # The Y coordinate translation element. |
| 20323 | "scaleX": 3.14, # The X coordinate scaling element. |
| 20324 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 20325 | "shearY": 3.14, # The Y coordinate shearing element. |
| 20326 | "shearX": 3.14, # The X coordinate shearing element. |
| 20327 | "unit": "A String", # The units for translate elements. |
| 20328 | }, |
| 20329 | "propertyState": "A String", # The shadow property state. |
| 20330 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20331 | # Updating the shadow on a page element will implicitly update this field to |
| 20332 | # `RENDERED`, unless another value is specified in the same request. To have |
| 20333 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20334 | # case, any other shadow fields set in the same request will be ignored. |
| 20335 | "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 |
| 20336 | # shadow becomes. |
| 20337 | "magnitude": 3.14, # The magnitude. |
| 20338 | "unit": "A String", # The units for magnitude. |
| 20339 | }, |
| 20340 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20341 | "type": "A String", # The type of the shadow. This property is read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20342 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20343 | # scale and skew of the shadow. This property is read-only. |
| 20344 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 20345 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20346 | }, |
| 20347 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 20348 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 20349 | }, |
| 20350 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 20351 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 20352 | # embedded. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20353 | }, |
| 20354 | "video": { # A PageElement kind representing a # A video page element. |
| 20355 | # video. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20356 | "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and |
| 20357 | # sharing settings do not change. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20358 | "videoProperties": { # The properties of the Video. # The properties of the video. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20359 | "start": 42, # The time at which to start playback, measured in seconds from the beginning |
| 20360 | # of the video. |
| 20361 | # If set, the start time should be before the end time. |
| 20362 | # If you set this to a value that exceeds the video's length in seconds, the |
| 20363 | # video will be played from the last second. |
| 20364 | # If not set, the video will be played from the beginning. |
| 20365 | "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present |
| 20366 | # mode. Defaults to false. |
| 20367 | "end": 42, # The time at which to end playback, measured in seconds from the beginning |
| 20368 | # of the video. |
| 20369 | # If set, the end time should be after the start time. |
| 20370 | # If not set or if you set this to a value that exceeds the video's length, |
| 20371 | # the video will be played until its end. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20372 | "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new |
| 20373 | # videos created in the Slides editor. |
| 20374 | # |
| 20375 | # If these fields are unset, they may be inherited from a parent placeholder |
| 20376 | # if it exists. If there is no parent, the fields will default to the value |
| 20377 | # used for new page elements created in the Slides editor, which may depend on |
| 20378 | # the page element kind. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20379 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 20380 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 20381 | # specified color value. |
| 20382 | # |
| 20383 | # If any field is unset, its value may be inherited from a parent placeholder |
| 20384 | # if it exists. |
| 20385 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 20386 | "themeColor": "A String", # An opaque theme color. |
| 20387 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 20388 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20389 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20390 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20391 | }, |
| 20392 | }, |
| 20393 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 20394 | # That is, the final pixel color is defined by the equation: |
| 20395 | # |
| 20396 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 20397 | # |
| 20398 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 20399 | # a value of 0.0 corresponds to a completely transparent color. |
| 20400 | }, |
| 20401 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 20402 | "propertyState": "A String", # The outline property state. |
| 20403 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20404 | # Updating the outline on a page element will implicitly update this field |
| 20405 | # to `RENDERED`, unless another value is specified in the same request. To |
| 20406 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 20407 | # this case, any other outline fields set in the same request will be |
| 20408 | # ignored. |
| 20409 | "dashStyle": "A String", # The dash style of the outline. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20410 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 20411 | "magnitude": 3.14, # The magnitude. |
| 20412 | "unit": "A String", # The units for magnitude. |
| 20413 | }, |
| 20414 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20415 | "mute": True or False, # Whether to mute the audio during video playback. Defaults to false. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20416 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 20417 | "id": "A String", # The video source's unique identifier for this video. |
| 20418 | "source": "A String", # The video source. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20419 | }, |
| 20420 | "table": { # A PageElement kind representing a # A table page element. |
| 20421 | # table. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20422 | "rows": 42, # Number of rows in the table. |
| 20423 | "horizontalBorderRows": [ # Properties of horizontal cell borders. |
| 20424 | # |
| 20425 | # A table's horizontal cell borders are represented as a grid. The grid has |
| 20426 | # one more row than the number of rows in the table and the same number of |
| 20427 | # columns as the table. For example, if the table is 3 x 3, its horizontal |
| 20428 | # borders will be represented as a grid with 4 rows and 3 columns. |
| 20429 | { # Contents of each border row in a table. |
| 20430 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 20431 | # merged, it is not included in the response. |
| 20432 | { # The properties of each border cell. |
| 20433 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 20434 | # TableBorderCell. |
| 20435 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 20436 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 20437 | # specified color value. |
| 20438 | # |
| 20439 | # If any field is unset, its value may be inherited from a parent placeholder |
| 20440 | # if it exists. |
| 20441 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 20442 | "themeColor": "A String", # An opaque theme color. |
| 20443 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 20444 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20445 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20446 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20447 | }, |
| 20448 | }, |
| 20449 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 20450 | # That is, the final pixel color is defined by the equation: |
| 20451 | # |
| 20452 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 20453 | # |
| 20454 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 20455 | # a value of 0.0 corresponds to a completely transparent color. |
| 20456 | }, |
| 20457 | }, |
| 20458 | "dashStyle": "A String", # The dash style of the border. |
| 20459 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 20460 | "magnitude": 3.14, # The magnitude. |
| 20461 | "unit": "A String", # The units for magnitude. |
| 20462 | }, |
| 20463 | }, |
| 20464 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 20465 | "rowIndex": 42, # The 0-based row index. |
| 20466 | "columnIndex": 42, # The 0-based column index. |
| 20467 | }, |
| 20468 | }, |
| 20469 | ], |
| 20470 | }, |
| 20471 | ], |
| 20472 | "verticalBorderRows": [ # Properties of vertical cell borders. |
| 20473 | # |
| 20474 | # A table's vertical cell borders are represented as a grid. The grid has the |
| 20475 | # same number of rows as the table and one more column than the number of |
| 20476 | # columns in the table. For example, if the table is 3 x 3, its vertical |
| 20477 | # borders will be represented as a grid with 3 rows and 4 columns. |
| 20478 | { # Contents of each border row in a table. |
| 20479 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 20480 | # merged, it is not included in the response. |
| 20481 | { # The properties of each border cell. |
| 20482 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 20483 | # TableBorderCell. |
| 20484 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 20485 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 20486 | # specified color value. |
| 20487 | # |
| 20488 | # If any field is unset, its value may be inherited from a parent placeholder |
| 20489 | # if it exists. |
| 20490 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 20491 | "themeColor": "A String", # An opaque theme color. |
| 20492 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 20493 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20494 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20495 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20496 | }, |
| 20497 | }, |
| 20498 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 20499 | # That is, the final pixel color is defined by the equation: |
| 20500 | # |
| 20501 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 20502 | # |
| 20503 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 20504 | # a value of 0.0 corresponds to a completely transparent color. |
| 20505 | }, |
| 20506 | }, |
| 20507 | "dashStyle": "A String", # The dash style of the border. |
| 20508 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 20509 | "magnitude": 3.14, # The magnitude. |
| 20510 | "unit": "A String", # The units for magnitude. |
| 20511 | }, |
| 20512 | }, |
| 20513 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 20514 | "rowIndex": 42, # The 0-based row index. |
| 20515 | "columnIndex": 42, # The 0-based column index. |
| 20516 | }, |
| 20517 | }, |
| 20518 | ], |
| 20519 | }, |
| 20520 | ], |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20521 | "tableColumns": [ # Properties of each column. |
| 20522 | { # Properties of each column in a table. |
| 20523 | "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column. |
| 20524 | "magnitude": 3.14, # The magnitude. |
| 20525 | "unit": "A String", # The units for magnitude. |
| 20526 | }, |
| 20527 | }, |
| 20528 | ], |
| 20529 | "tableRows": [ # Properties and contents of each row. |
| 20530 | # |
| 20531 | # Cells that span multiple rows are contained in only one of these rows and |
| 20532 | # have a row_span greater |
| 20533 | # than 1. |
| 20534 | { # Properties and contents of each row in a table. |
| 20535 | "tableCells": [ # Properties and contents of each cell. |
| 20536 | # |
| 20537 | # Cells that span multiple columns are represented only once with a |
| 20538 | # column_span greater |
| 20539 | # than 1. As a result, the length of this collection does not always match |
| 20540 | # the number of columns of the entire table. |
| 20541 | { # Properties and contents of each table cell. |
| 20542 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell. |
| 20543 | # text box or rectangle) or a table cell in a page. |
| 20544 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 20545 | # information. This property is read-only. |
| 20546 | { # A TextElement describes the content of a range of indices in the text content |
| 20547 | # of a Shape or TableCell. |
| 20548 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 20549 | # replaced with content that can change over time. |
| 20550 | "content": "A String", # The rendered content of this auto text, if available. |
| 20551 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 20552 | # |
| 20553 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 20554 | # inherited from the parent. Which text styles are inherited depend on the |
| 20555 | # nesting level of lists: |
| 20556 | # |
| 20557 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 20558 | # from the the newline character in the paragraph at the 0 nesting level of |
| 20559 | # the list inside the parent placeholder. |
| 20560 | # * A text run in a paragraph that is in a list will inherit its text style |
| 20561 | # from the newline character in the paragraph at its corresponding nesting |
| 20562 | # level of the list inside the parent placeholder. |
| 20563 | # |
| 20564 | # Inherited text styles are represented as unset fields in this message. If |
| 20565 | # text is contained in a shape without a parent placeholder, unsetting these |
| 20566 | # fields will revert the style to a value matching the defaults in the Slides |
| 20567 | # editor. |
| 20568 | "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 |
| 20569 | # transparent, depending on if the `opaque_color` field in it is set. |
| 20570 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 20571 | # a transparent color. |
| 20572 | "themeColor": "A String", # An opaque theme color. |
| 20573 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 20574 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20575 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20576 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20577 | }, |
| 20578 | }, |
| 20579 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20580 | "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 |
| 20581 | # transparent, depending on if the `opaque_color` field in it is set. |
| 20582 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 20583 | # a transparent color. |
| 20584 | "themeColor": "A String", # An opaque theme color. |
| 20585 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 20586 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20587 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20588 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20589 | }, |
| 20590 | }, |
| 20591 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20592 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 20593 | # |
| 20594 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 20595 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 20596 | # The `font_size` itself is not affected by changes in this field. |
| 20597 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 20598 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 20599 | # |
| 20600 | # This field is an extension of `font_family` meant to support explicit font |
| 20601 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 20602 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 20603 | # will always be equal to that of `font_family`. However, when writing, if |
| 20604 | # both fields are included in the field mask (either explicitly or through |
| 20605 | # the wildcard `"*"`), their values are reconciled as follows: |
| 20606 | # |
| 20607 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 20608 | # `font_family` is applied with weight `400` ("normal"). |
| 20609 | # * If both fields are set, the value of `font_family` must match that of |
| 20610 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 20611 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 20612 | # returned. |
| 20613 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 20614 | # family and weight of `weighted_font_family` is applied. |
| 20615 | # * If neither field is set, the font family and weight of the text inherit |
| 20616 | # from the parent. Note that these properties cannot inherit separately |
| 20617 | # from each other. |
| 20618 | # |
| 20619 | # If an update request specifies values for both `weighted_font_family` and |
| 20620 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 20621 | # |
| 20622 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 20623 | # |
| 20624 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 20625 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 20626 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 20627 | "fontFamily": "A String", # The font family of the text. |
| 20628 | # |
| 20629 | # The font family can be any font from the Font menu in Slides or from |
| 20630 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 20631 | # unrecognized, the text is rendered in `Arial`. |
| 20632 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 20633 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 20634 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20635 | # Specification, |
| 20636 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 20637 | # with non-numerical values disallowed. Weights greater than or equal to |
| 20638 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 20639 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 20640 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20641 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 20642 | "fontFamily": "A String", # The font family of the text. |
| 20643 | # |
| 20644 | # The font family can be any font from the Font menu in Slides or from |
| 20645 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 20646 | # unrecognized, the text is rendered in `Arial`. |
| 20647 | # |
| 20648 | # Some fonts can affect the weight of the text. If an update request |
| 20649 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 20650 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20651 | "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 |
| 20652 | # points. |
| 20653 | "magnitude": 3.14, # The magnitude. |
| 20654 | "unit": "A String", # The units for magnitude. |
| 20655 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 20656 | "italic": True or False, # Whether or not the text is italicized. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20657 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 20658 | # are not inherited from parent text. |
| 20659 | # |
| 20660 | # Changing the link in an update request causes some other changes to the |
| 20661 | # text style of the range: |
| 20662 | # |
| 20663 | # * When setting a link, the text foreground color will be set to |
| 20664 | # ThemeColorType.HYPERLINK and the text will |
| 20665 | # be underlined. If these fields are modified in the same |
| 20666 | # request, those values will be used instead of the link defaults. |
| 20667 | # * Setting a link on a text range that overlaps with an existing link will |
| 20668 | # also update the existing link to point to the new URL. |
| 20669 | # * Links are not settable on newline characters. As a result, setting a link |
| 20670 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 20671 | # will separate the newline character(s) into their own text runs. The |
| 20672 | # link will be applied separately to the runs before and after the newline. |
| 20673 | # * Removing a link will update the text style of the range to match the |
| 20674 | # style of the preceding text (or the default text styles if the preceding |
| 20675 | # text is another link) unless different styles are being set in the same |
| 20676 | # request. |
| 20677 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 20678 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 20679 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 20680 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 20681 | # 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] | 20682 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 20683 | # addressed by its position. |
| 20684 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 20685 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20686 | "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] | 20687 | }, |
| 20688 | "type": "A String", # The type of this auto text. |
| 20689 | }, |
| 20690 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 20691 | # units. |
| 20692 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 20693 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 20694 | # |
| 20695 | # The `start_index` and `end_index` of this TextElement represent the |
| 20696 | # range of the paragraph. Other TextElements with an index range contained |
| 20697 | # inside this paragraph's range are considered to be part of this |
| 20698 | # paragraph. The range of indices of two separate paragraphs will never |
| 20699 | # overlap. |
| 20700 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 20701 | # |
| 20702 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 20703 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 20704 | # nesting level of lists: |
| 20705 | # |
| 20706 | # * A paragraph not in a list will inherit its paragraph style from the |
| 20707 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 20708 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 20709 | # at its corresponding nesting level of the list inside the parent |
| 20710 | # placeholder. |
| 20711 | # |
| 20712 | # Inherited paragraph styles are represented as unset fields in this message. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 20713 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 20714 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 20715 | # LEFT_TO_RIGHT since |
| 20716 | # text direction is not inherited. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20717 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 20718 | # inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20719 | "magnitude": 3.14, # The magnitude. |
| 20720 | "unit": "A String", # The units for magnitude. |
| 20721 | }, |
| 20722 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 20723 | # 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] | 20724 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 20725 | # 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] | 20726 | # value is inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20727 | "magnitude": 3.14, # The magnitude. |
| 20728 | "unit": "A String", # The units for magnitude. |
| 20729 | }, |
| 20730 | "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] | 20731 | # inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20732 | "magnitude": 3.14, # The magnitude. |
| 20733 | "unit": "A String", # The units for magnitude. |
| 20734 | }, |
| 20735 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 20736 | # 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] | 20737 | # value is inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20738 | "magnitude": 3.14, # The magnitude. |
| 20739 | "unit": "A String", # The units for magnitude. |
| 20740 | }, |
| 20741 | "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] | 20742 | # If unset, the value is inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20743 | "magnitude": 3.14, # The magnitude. |
| 20744 | "unit": "A String", # The units for magnitude. |
| 20745 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 20746 | "alignment": "A String", # The text alignment for this paragraph. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20747 | }, |
| 20748 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 20749 | # belong to a list. |
| 20750 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 20751 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 20752 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 20753 | # |
| 20754 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 20755 | # inherited from the parent. Which text styles are inherited depend on the |
| 20756 | # nesting level of lists: |
| 20757 | # |
| 20758 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 20759 | # from the the newline character in the paragraph at the 0 nesting level of |
| 20760 | # the list inside the parent placeholder. |
| 20761 | # * A text run in a paragraph that is in a list will inherit its text style |
| 20762 | # from the newline character in the paragraph at its corresponding nesting |
| 20763 | # level of the list inside the parent placeholder. |
| 20764 | # |
| 20765 | # Inherited text styles are represented as unset fields in this message. If |
| 20766 | # text is contained in a shape without a parent placeholder, unsetting these |
| 20767 | # fields will revert the style to a value matching the defaults in the Slides |
| 20768 | # editor. |
| 20769 | "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 |
| 20770 | # transparent, depending on if the `opaque_color` field in it is set. |
| 20771 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 20772 | # a transparent color. |
| 20773 | "themeColor": "A String", # An opaque theme color. |
| 20774 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 20775 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20776 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20777 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20778 | }, |
| 20779 | }, |
| 20780 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20781 | "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 |
| 20782 | # transparent, depending on if the `opaque_color` field in it is set. |
| 20783 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 20784 | # a transparent color. |
| 20785 | "themeColor": "A String", # An opaque theme color. |
| 20786 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 20787 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20788 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20789 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20790 | }, |
| 20791 | }, |
| 20792 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20793 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 20794 | # |
| 20795 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 20796 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 20797 | # The `font_size` itself is not affected by changes in this field. |
| 20798 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 20799 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 20800 | # |
| 20801 | # This field is an extension of `font_family` meant to support explicit font |
| 20802 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 20803 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 20804 | # will always be equal to that of `font_family`. However, when writing, if |
| 20805 | # both fields are included in the field mask (either explicitly or through |
| 20806 | # the wildcard `"*"`), their values are reconciled as follows: |
| 20807 | # |
| 20808 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 20809 | # `font_family` is applied with weight `400` ("normal"). |
| 20810 | # * If both fields are set, the value of `font_family` must match that of |
| 20811 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 20812 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 20813 | # returned. |
| 20814 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 20815 | # family and weight of `weighted_font_family` is applied. |
| 20816 | # * If neither field is set, the font family and weight of the text inherit |
| 20817 | # from the parent. Note that these properties cannot inherit separately |
| 20818 | # from each other. |
| 20819 | # |
| 20820 | # If an update request specifies values for both `weighted_font_family` and |
| 20821 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 20822 | # |
| 20823 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 20824 | # |
| 20825 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 20826 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 20827 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 20828 | "fontFamily": "A String", # The font family of the text. |
| 20829 | # |
| 20830 | # The font family can be any font from the Font menu in Slides or from |
| 20831 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 20832 | # unrecognized, the text is rendered in `Arial`. |
| 20833 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 20834 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 20835 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20836 | # Specification, |
| 20837 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 20838 | # with non-numerical values disallowed. Weights greater than or equal to |
| 20839 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 20840 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 20841 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20842 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 20843 | "fontFamily": "A String", # The font family of the text. |
| 20844 | # |
| 20845 | # The font family can be any font from the Font menu in Slides or from |
| 20846 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 20847 | # unrecognized, the text is rendered in `Arial`. |
| 20848 | # |
| 20849 | # Some fonts can affect the weight of the text. If an update request |
| 20850 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 20851 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20852 | "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 |
| 20853 | # points. |
| 20854 | "magnitude": 3.14, # The magnitude. |
| 20855 | "unit": "A String", # The units for magnitude. |
| 20856 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 20857 | "italic": True or False, # Whether or not the text is italicized. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20858 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 20859 | # are not inherited from parent text. |
| 20860 | # |
| 20861 | # Changing the link in an update request causes some other changes to the |
| 20862 | # text style of the range: |
| 20863 | # |
| 20864 | # * When setting a link, the text foreground color will be set to |
| 20865 | # ThemeColorType.HYPERLINK and the text will |
| 20866 | # be underlined. If these fields are modified in the same |
| 20867 | # request, those values will be used instead of the link defaults. |
| 20868 | # * Setting a link on a text range that overlaps with an existing link will |
| 20869 | # also update the existing link to point to the new URL. |
| 20870 | # * Links are not settable on newline characters. As a result, setting a link |
| 20871 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 20872 | # will separate the newline character(s) into their own text runs. The |
| 20873 | # link will be applied separately to the runs before and after the newline. |
| 20874 | # * Removing a link will update the text style of the range to match the |
| 20875 | # style of the preceding text (or the default text styles if the preceding |
| 20876 | # text is another link) unless different styles are being set in the same |
| 20877 | # request. |
| 20878 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 20879 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 20880 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 20881 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 20882 | # 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] | 20883 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 20884 | # addressed by its position. |
| 20885 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 20886 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20887 | "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] | 20888 | }, |
| 20889 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 20890 | }, |
| 20891 | }, |
| 20892 | "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 |
| 20893 | # in the run have the same TextStyle. |
| 20894 | # |
| 20895 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 20896 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 20897 | # In other words, a TextRun will never span multiple paragraphs. |
| 20898 | # styling. |
| 20899 | "content": "A String", # The text of this run. |
| 20900 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 20901 | # |
| 20902 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 20903 | # inherited from the parent. Which text styles are inherited depend on the |
| 20904 | # nesting level of lists: |
| 20905 | # |
| 20906 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 20907 | # from the the newline character in the paragraph at the 0 nesting level of |
| 20908 | # the list inside the parent placeholder. |
| 20909 | # * A text run in a paragraph that is in a list will inherit its text style |
| 20910 | # from the newline character in the paragraph at its corresponding nesting |
| 20911 | # level of the list inside the parent placeholder. |
| 20912 | # |
| 20913 | # Inherited text styles are represented as unset fields in this message. If |
| 20914 | # text is contained in a shape without a parent placeholder, unsetting these |
| 20915 | # fields will revert the style to a value matching the defaults in the Slides |
| 20916 | # editor. |
| 20917 | "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 |
| 20918 | # transparent, depending on if the `opaque_color` field in it is set. |
| 20919 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 20920 | # a transparent color. |
| 20921 | "themeColor": "A String", # An opaque theme color. |
| 20922 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 20923 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20924 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20925 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20926 | }, |
| 20927 | }, |
| 20928 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20929 | "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 |
| 20930 | # transparent, depending on if the `opaque_color` field in it is set. |
| 20931 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 20932 | # a transparent color. |
| 20933 | "themeColor": "A String", # An opaque theme color. |
| 20934 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 20935 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20936 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20937 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20938 | }, |
| 20939 | }, |
| 20940 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20941 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 20942 | # |
| 20943 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 20944 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 20945 | # The `font_size` itself is not affected by changes in this field. |
| 20946 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 20947 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 20948 | # |
| 20949 | # This field is an extension of `font_family` meant to support explicit font |
| 20950 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 20951 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 20952 | # will always be equal to that of `font_family`. However, when writing, if |
| 20953 | # both fields are included in the field mask (either explicitly or through |
| 20954 | # the wildcard `"*"`), their values are reconciled as follows: |
| 20955 | # |
| 20956 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 20957 | # `font_family` is applied with weight `400` ("normal"). |
| 20958 | # * If both fields are set, the value of `font_family` must match that of |
| 20959 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 20960 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 20961 | # returned. |
| 20962 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 20963 | # family and weight of `weighted_font_family` is applied. |
| 20964 | # * If neither field is set, the font family and weight of the text inherit |
| 20965 | # from the parent. Note that these properties cannot inherit separately |
| 20966 | # from each other. |
| 20967 | # |
| 20968 | # If an update request specifies values for both `weighted_font_family` and |
| 20969 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 20970 | # |
| 20971 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 20972 | # |
| 20973 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 20974 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 20975 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 20976 | "fontFamily": "A String", # The font family of the text. |
| 20977 | # |
| 20978 | # The font family can be any font from the Font menu in Slides or from |
| 20979 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 20980 | # unrecognized, the text is rendered in `Arial`. |
| 20981 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 20982 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 20983 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 20984 | # Specification, |
| 20985 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 20986 | # with non-numerical values disallowed. Weights greater than or equal to |
| 20987 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 20988 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 20989 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 20990 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 20991 | "fontFamily": "A String", # The font family of the text. |
| 20992 | # |
| 20993 | # The font family can be any font from the Font menu in Slides or from |
| 20994 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 20995 | # unrecognized, the text is rendered in `Arial`. |
| 20996 | # |
| 20997 | # Some fonts can affect the weight of the text. If an update request |
| 20998 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 20999 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 21000 | "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 |
| 21001 | # points. |
| 21002 | "magnitude": 3.14, # The magnitude. |
| 21003 | "unit": "A String", # The units for magnitude. |
| 21004 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 21005 | "italic": True or False, # Whether or not the text is italicized. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 21006 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 21007 | # are not inherited from parent text. |
| 21008 | # |
| 21009 | # Changing the link in an update request causes some other changes to the |
| 21010 | # text style of the range: |
| 21011 | # |
| 21012 | # * When setting a link, the text foreground color will be set to |
| 21013 | # ThemeColorType.HYPERLINK and the text will |
| 21014 | # be underlined. If these fields are modified in the same |
| 21015 | # request, those values will be used instead of the link defaults. |
| 21016 | # * Setting a link on a text range that overlaps with an existing link will |
| 21017 | # also update the existing link to point to the new URL. |
| 21018 | # * Links are not settable on newline characters. As a result, setting a link |
| 21019 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 21020 | # will separate the newline character(s) into their own text runs. The |
| 21021 | # link will be applied separately to the runs before and after the newline. |
| 21022 | # * Removing a link will update the text style of the range to match the |
| 21023 | # style of the preceding text (or the default text styles if the preceding |
| 21024 | # text is another link) unless different styles are being set in the same |
| 21025 | # request. |
| 21026 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 21027 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 21028 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 21029 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 21030 | # 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] | 21031 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 21032 | # addressed by its position. |
| 21033 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 21034 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 21035 | "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] | 21036 | }, |
| 21037 | }, |
| 21038 | }, |
| 21039 | ], |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 21040 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 21041 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 21042 | # associated with a list. A paragraph that is part of a list has an implicit |
| 21043 | # reference to that list's ID. |
| 21044 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 21045 | # level. A list has at most nine levels of nesting, so the possible values |
| 21046 | # for the keys of this map are 0 through 8, inclusive. |
| 21047 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 21048 | # level of nesting. |
| 21049 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 21050 | # |
| 21051 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 21052 | # inherited from the parent. Which text styles are inherited depend on the |
| 21053 | # nesting level of lists: |
| 21054 | # |
| 21055 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 21056 | # from the the newline character in the paragraph at the 0 nesting level of |
| 21057 | # the list inside the parent placeholder. |
| 21058 | # * A text run in a paragraph that is in a list will inherit its text style |
| 21059 | # from the newline character in the paragraph at its corresponding nesting |
| 21060 | # level of the list inside the parent placeholder. |
| 21061 | # |
| 21062 | # Inherited text styles are represented as unset fields in this message. If |
| 21063 | # text is contained in a shape without a parent placeholder, unsetting these |
| 21064 | # fields will revert the style to a value matching the defaults in the Slides |
| 21065 | # editor. |
| 21066 | "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 |
| 21067 | # transparent, depending on if the `opaque_color` field in it is set. |
| 21068 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 21069 | # a transparent color. |
| 21070 | "themeColor": "A String", # An opaque theme color. |
| 21071 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 21072 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21073 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21074 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21075 | }, |
| 21076 | }, |
| 21077 | }, |
| 21078 | "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 |
| 21079 | # transparent, depending on if the `opaque_color` field in it is set. |
| 21080 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 21081 | # a transparent color. |
| 21082 | "themeColor": "A String", # An opaque theme color. |
| 21083 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 21084 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21085 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21086 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21087 | }, |
| 21088 | }, |
| 21089 | }, |
| 21090 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 21091 | # |
| 21092 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 21093 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 21094 | # The `font_size` itself is not affected by changes in this field. |
| 21095 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 21096 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 21097 | # |
| 21098 | # This field is an extension of `font_family` meant to support explicit font |
| 21099 | # weights without breaking backwards compatibility. As such, when reading the |
| 21100 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 21101 | # will always be equal to that of `font_family`. However, when writing, if |
| 21102 | # both fields are included in the field mask (either explicitly or through |
| 21103 | # the wildcard `"*"`), their values are reconciled as follows: |
| 21104 | # |
| 21105 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 21106 | # `font_family` is applied with weight `400` ("normal"). |
| 21107 | # * If both fields are set, the value of `font_family` must match that of |
| 21108 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 21109 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 21110 | # returned. |
| 21111 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 21112 | # family and weight of `weighted_font_family` is applied. |
| 21113 | # * If neither field is set, the font family and weight of the text inherit |
| 21114 | # from the parent. Note that these properties cannot inherit separately |
| 21115 | # from each other. |
| 21116 | # |
| 21117 | # If an update request specifies values for both `weighted_font_family` and |
| 21118 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 21119 | # |
| 21120 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 21121 | # |
| 21122 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 21123 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 21124 | # is returned. |
| 21125 | "fontFamily": "A String", # The font family of the text. |
| 21126 | # |
| 21127 | # The font family can be any font from the Font menu in Slides or from |
| 21128 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 21129 | # unrecognized, the text is rendered in `Arial`. |
| 21130 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 21131 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 21132 | # corresponds to the numerical values described in the CSS 2.1 |
| 21133 | # Specification, |
| 21134 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 21135 | # with non-numerical values disallowed. Weights greater than or equal to |
| 21136 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 21137 | # default value is `400` ("normal"). |
| 21138 | }, |
| 21139 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 21140 | "fontFamily": "A String", # The font family of the text. |
| 21141 | # |
| 21142 | # The font family can be any font from the Font menu in Slides or from |
| 21143 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 21144 | # unrecognized, the text is rendered in `Arial`. |
| 21145 | # |
| 21146 | # Some fonts can affect the weight of the text. If an update request |
| 21147 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 21148 | # `bold` value is used. |
| 21149 | "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 |
| 21150 | # points. |
| 21151 | "magnitude": 3.14, # The magnitude. |
| 21152 | "unit": "A String", # The units for magnitude. |
| 21153 | }, |
| 21154 | "italic": True or False, # Whether or not the text is italicized. |
| 21155 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 21156 | # are not inherited from parent text. |
| 21157 | # |
| 21158 | # Changing the link in an update request causes some other changes to the |
| 21159 | # text style of the range: |
| 21160 | # |
| 21161 | # * When setting a link, the text foreground color will be set to |
| 21162 | # ThemeColorType.HYPERLINK and the text will |
| 21163 | # be underlined. If these fields are modified in the same |
| 21164 | # request, those values will be used instead of the link defaults. |
| 21165 | # * Setting a link on a text range that overlaps with an existing link will |
| 21166 | # also update the existing link to point to the new URL. |
| 21167 | # * Links are not settable on newline characters. As a result, setting a link |
| 21168 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 21169 | # will separate the newline character(s) into their own text runs. The |
| 21170 | # link will be applied separately to the runs before and after the newline. |
| 21171 | # * Removing a link will update the text style of the range to match the |
| 21172 | # style of the preceding text (or the default text styles if the preceding |
| 21173 | # text is another link) unless different styles are being set in the same |
| 21174 | # request. |
| 21175 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 21176 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 21177 | # in the presentation. There may not be a slide at this index. |
| 21178 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 21179 | # presentation with this ID. A page with this ID may not exist. |
| 21180 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 21181 | # addressed by its position. |
| 21182 | }, |
| 21183 | "underline": True or False, # Whether or not the text is underlined. |
| 21184 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 21185 | }, |
| 21186 | }, |
| 21187 | }, |
| 21188 | "listId": "A String", # The ID of the list. |
| 21189 | }, |
| 21190 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 21191 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 21192 | "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell. |
| 21193 | "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill |
| 21194 | # for newly created table cells in the Slides editor. |
| 21195 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 21196 | # specified color value. |
| 21197 | # |
| 21198 | # If any field is unset, its value may be inherited from a parent placeholder |
| 21199 | # if it exists. |
| 21200 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 21201 | "themeColor": "A String", # An opaque theme color. |
| 21202 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 21203 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21204 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21205 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21206 | }, |
| 21207 | }, |
| 21208 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 21209 | # That is, the final pixel color is defined by the equation: |
| 21210 | # |
| 21211 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 21212 | # |
| 21213 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 21214 | # a value of 0.0 corresponds to a completely transparent color. |
| 21215 | }, |
| 21216 | "propertyState": "A String", # The background fill property state. |
| 21217 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 21218 | # Updating the fill on a table cell will implicitly update this field |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 21219 | # to `RENDERED`, unless another value is specified in the same request. To |
| 21220 | # have no fill on a table cell, set this field to `NOT_RENDERED`. In this |
| 21221 | # case, any other fill fields set in the same request will be ignored. |
| 21222 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 21223 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 21224 | # matches the alignment for newly created table cells in the Slides editor. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 21225 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 21226 | "rowSpan": 42, # Row span of the cell. |
| 21227 | "columnSpan": 42, # Column span of the cell. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 21228 | "location": { # A location of a single table cell within a table. # The location of the cell within the table. |
| 21229 | "rowIndex": 42, # The 0-based row index. |
| 21230 | "columnIndex": 42, # The 0-based column index. |
| 21231 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 21232 | }, |
| 21233 | ], |
| 21234 | "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row. |
| 21235 | "magnitude": 3.14, # The magnitude. |
| 21236 | "unit": "A String", # The units for magnitude. |
| 21237 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 21238 | "tableRowProperties": { # Properties of each row in a table. # Properties of the row. |
| 21239 | "minRowHeight": { # A magnitude in a single direction in the specified units. # Minimum height of the row. The row will be rendered in the Slides editor at |
| 21240 | # a height equal to or greater than this value in order to show all the text |
| 21241 | # in the row's cell(s). |
| 21242 | "magnitude": 3.14, # The magnitude. |
| 21243 | "unit": "A String", # The units for magnitude. |
| 21244 | }, |
| 21245 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 21246 | }, |
| 21247 | ], |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 21248 | "columns": 42, # Number of columns in the table. |
| 21249 | }, |
| 21250 | "line": { # A PageElement kind representing a # A line page element. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 21251 | # non-connector line, straight connector, curved connector, or bent connector. |
| 21252 | "lineCategory": "A String", # The category of the line. |
| 21253 | # |
| 21254 | # It matches the `category` specified in CreateLineRequest, and can be updated with |
| 21255 | # UpdateLineCategoryRequest. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 21256 | "lineProperties": { # The properties of the Line. # The properties of the line. |
| 21257 | # |
| 21258 | # When unset, these fields default to values that match the appearance of |
| 21259 | # new lines created in the Slides editor. |
| 21260 | "dashStyle": "A String", # The dash style of the line. |
| 21261 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line. |
| 21262 | "magnitude": 3.14, # The magnitude. |
| 21263 | "unit": "A String", # The units for magnitude. |
| 21264 | }, |
| 21265 | "endArrow": "A String", # The style of the arrow at the end of the line. |
| 21266 | "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link. |
| 21267 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 21268 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 21269 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 21270 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 21271 | # 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] | 21272 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 21273 | # addressed by its position. |
| 21274 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 21275 | "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new |
| 21276 | # lines created in the Slides editor. |
| 21277 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 21278 | # specified color value. |
| 21279 | # |
| 21280 | # If any field is unset, its value may be inherited from a parent placeholder |
| 21281 | # if it exists. |
| 21282 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 21283 | "themeColor": "A String", # An opaque theme color. |
| 21284 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 21285 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21286 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21287 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21288 | }, |
| 21289 | }, |
| 21290 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 21291 | # That is, the final pixel color is defined by the equation: |
| 21292 | # |
| 21293 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 21294 | # |
| 21295 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 21296 | # a value of 0.0 corresponds to a completely transparent color. |
| 21297 | }, |
| 21298 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 21299 | "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no |
| 21300 | # connection. |
| 21301 | # |
| 21302 | # Only lines with a Type indicating it is |
| 21303 | # a "connector" can have a `start_connection`. |
| 21304 | # connection. |
| 21305 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 21306 | # |
| 21307 | # In most cases, it corresponds to the predefined connection site index from |
| 21308 | # the ECMA-376 standard. More information on those connection sites can be |
| 21309 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 21310 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 21311 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 21312 | # [ECMA-376 5th edition] |
| 21313 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 21314 | # |
| 21315 | # The position of each connection site can also be viewed from Slides editor. |
| 21316 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 21317 | # |
| 21318 | # Some page elements, such as groups, tables, and lines |
| 21319 | # do not have connection sites and therefore cannot be connected to a |
| 21320 | # connector line. |
| 21321 | }, |
| 21322 | "endConnection": { # The properties for one end of a Line # The connection at the end of the line. If unset, there is no connection. |
| 21323 | # |
| 21324 | # Only lines with a Type indicating it is |
| 21325 | # a "connector" can have an `end_connection`. |
| 21326 | # connection. |
| 21327 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 21328 | # |
| 21329 | # In most cases, it corresponds to the predefined connection site index from |
| 21330 | # the ECMA-376 standard. More information on those connection sites can be |
| 21331 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 21332 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 21333 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 21334 | # [ECMA-376 5th edition] |
| 21335 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 21336 | # |
| 21337 | # The position of each connection site can also be viewed from Slides editor. |
| 21338 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 21339 | # |
| 21340 | # Some page elements, such as groups, tables, and lines |
| 21341 | # do not have connection sites and therefore cannot be connected to a |
| 21342 | # connector line. |
| 21343 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 21344 | "startArrow": "A String", # The style of the arrow at the beginning of the line. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 21345 | }, |
| 21346 | "lineType": "A String", # The type of the line. |
| 21347 | }, |
| 21348 | "size": { # A width and height. # The size of the page element. |
| 21349 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 21350 | "magnitude": 3.14, # The magnitude. |
| 21351 | "unit": "A String", # The units for magnitude. |
| 21352 | }, |
| 21353 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 21354 | "magnitude": 3.14, # The magnitude. |
| 21355 | "unit": "A String", # The units for magnitude. |
| 21356 | }, |
| 21357 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 21358 | "description": "A String", # The description of the page element. Combined with title to display alt |
| 21359 | # text. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 21360 | }, |
| 21361 | ], |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 21362 | "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES. |
| 21363 | # relevant for pages with page_type NOTES. |
| 21364 | "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker |
| 21365 | # notes for the corresponding slide. |
| 21366 | # The actual shape may not always exist on the notes page. Inserting text |
| 21367 | # using this object ID will automatically create the shape. In this case, the |
| 21368 | # actual shape may have different object ID. The `GetPresentation` or |
| 21369 | # `GetPage` action will always return the latest object ID. |
| 21370 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 21371 | "objectId": "A String", # The object ID for this page. Object IDs used by |
| 21372 | # Page and |
| 21373 | # PageElement share the same namespace. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 21374 | "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in |
| 21375 | # update requests to assert that the presentation revision hasn't changed |
| 21376 | # since the last read operation. Only populated if the user has edit access |
| 21377 | # to the presentation. |
| 21378 | # |
| 21379 | # The format of the revision ID may change over time, so it should be treated |
| 21380 | # opaquely. A returned revision ID is only guaranteed to be valid for 24 |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 21381 | # hours after it has been returned and cannot be shared across users. If the |
| 21382 | # revision ID is unchanged between calls, then the presentation has not |
| 21383 | # changed. Conversely, a changed ID (for the same presentation and user) |
| 21384 | # usually means the presentation has been updated; however, a changed ID can |
| 21385 | # also be due to internal factors such as ID format changes. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 21386 | "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER. |
| 21387 | # relevant for pages with page_type MASTER. |
| 21388 | "displayName": "A String", # The human-readable name of the master. |
| 21389 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 21390 | "pageProperties": { # The properties of the Page. # The properties of the page. |
| 21391 | # |
| 21392 | # The page will inherit properties from the parent page. Depending on the page |
| 21393 | # type the hierarchy is defined in either |
| 21394 | # SlideProperties or |
| 21395 | # LayoutProperties. |
| 21396 | "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited |
| 21397 | # from a parent page if it exists. If the page has no parent, then the |
| 21398 | # background fill defaults to the corresponding fill in the Slides editor. |
| 21399 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 21400 | # specified color value. |
| 21401 | # |
| 21402 | # If any field is unset, its value may be inherited from a parent placeholder |
| 21403 | # if it exists. |
| 21404 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 21405 | "themeColor": "A String", # An opaque theme color. |
| 21406 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 21407 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21408 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21409 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21410 | }, |
| 21411 | }, |
| 21412 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 21413 | # That is, the final pixel color is defined by the equation: |
| 21414 | # |
| 21415 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 21416 | # |
| 21417 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 21418 | # a value of 0.0 corresponds to a completely transparent color. |
| 21419 | }, |
| 21420 | "propertyState": "A String", # The background fill property state. |
| 21421 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 21422 | # Updating the fill on a page will implicitly update this field to |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 21423 | # `RENDERED`, unless another value is specified in the same request. To |
| 21424 | # have no fill on a page, set this field to `NOT_RENDERED`. In this case, |
| 21425 | # any other fill fields set in the same request will be ignored. |
| 21426 | "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill. |
| 21427 | # the specified picture. The picture is stretched to fit its container. |
| 21428 | "contentUrl": "A String", # Reading the content_url: |
| 21429 | # |
| 21430 | # An URL to a picture with a default lifetime of 30 minutes. |
| 21431 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 21432 | # effectively accesses the picture as the original requester. Access to the |
| 21433 | # picture may be lost if the presentation's sharing settings change. |
| 21434 | # |
| 21435 | # Writing the content_url: |
| 21436 | # |
| 21437 | # The picture is fetched once at insertion time and a copy is stored for |
| 21438 | # display inside the presentation. Pictures must be less than 50MB in size, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 21439 | # cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 21440 | # format. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 21441 | # |
| 21442 | # The provided URL can be at most 2 kB in length. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 21443 | "size": { # A width and height. # The original size of the picture fill. This field is read-only. |
| 21444 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 21445 | "magnitude": 3.14, # The magnitude. |
| 21446 | "unit": "A String", # The units for magnitude. |
| 21447 | }, |
| 21448 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 21449 | "magnitude": 3.14, # The magnitude. |
| 21450 | "unit": "A String", # The units for magnitude. |
| 21451 | }, |
| 21452 | }, |
| 21453 | }, |
| 21454 | }, |
| 21455 | "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from |
| 21456 | # a parent page. If the page has no parent, the color scheme uses a default |
| 21457 | # Slides color scheme. This field is read-only. |
| 21458 | "colors": [ # The ThemeColorType and corresponding concrete color pairs. |
| 21459 | { # A pair mapping a theme color type to the concrete color it represents. |
| 21460 | "color": { # An RGB color. # The concrete color corresponding to the theme color type above. |
| 21461 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21462 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21463 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21464 | }, |
| 21465 | "type": "A String", # The type of the theme color. |
| 21466 | }, |
| 21467 | ], |
| 21468 | }, |
| 21469 | }, |
| 21470 | "pageType": "A String", # The type of the page. |
| 21471 | "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE. |
| 21472 | # relevant for pages with page_type SLIDE. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 21473 | "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual |
| 21474 | # appearance of a notes page when printing or exporting slides with speaker |
| 21475 | # notes. A notes page inherits properties from the |
| 21476 | # notes master. |
| 21477 | # The placeholder shape with type BODY on the notes page contains the speaker |
| 21478 | # notes for this slide. The ID of this shape is identified by the |
| 21479 | # speakerNotesObjectId field. |
| 21480 | # The notes page is read-only except for the text content and styles of the |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 21481 | # speaker notes shape. This property is read-only. |
| 21482 | "masterObjectId": "A String", # The object ID of the master that this slide is based on. This property is |
| 21483 | # read-only. |
| 21484 | "layoutObjectId": "A String", # The object ID of the layout that this slide is based on. This property is |
| 21485 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 21486 | }, |
| 21487 | }, |
| 21488 | ], |
| 21489 | }</pre> |
| 21490 | </div> |
| 21491 | |
| 21492 | <div class="method"> |
| 21493 | <code class="details" id="get">get(presentationId, x__xgafv=None)</code> |
| 21494 | <pre>Gets the latest version of the specified presentation. |
| 21495 | |
| 21496 | Args: |
| 21497 | presentationId: string, The ID of the presentation to retrieve. (required) |
| 21498 | x__xgafv: string, V1 error format. |
| 21499 | Allowed values |
| 21500 | 1 - v1 error format |
| 21501 | 2 - v2 error format |
| 21502 | |
| 21503 | Returns: |
| 21504 | An object of the form: |
| 21505 | |
| 21506 | { # A Google Slides presentation. |
| 21507 | "presentationId": "A String", # The ID of the presentation. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 21508 | "masters": [ # The slide masters in the presentation. A slide master contains all common |
| 21509 | # page elements and the common properties for a set of layouts. They serve |
| 21510 | # three purposes: |
| 21511 | # |
| 21512 | # - Placeholder shapes on a master contain the default text styles and shape |
| 21513 | # properties of all placeholder shapes on pages that use that master. |
| 21514 | # - The master page properties define the common page properties inherited by |
| 21515 | # its layouts. |
| 21516 | # - Any other shapes on the master slide will appear on all slides using that |
| 21517 | # master, regardless of their layout. |
| 21518 | { # A page in a presentation. |
| 21519 | "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT. |
| 21520 | # relevant for pages with page_type LAYOUT. |
| 21521 | "displayName": "A String", # The human-readable name of the layout. |
| 21522 | "name": "A String", # The name of the layout. |
| 21523 | "masterObjectId": "A String", # The object ID of the master that this layout is based on. |
| 21524 | }, |
| 21525 | "pageElements": [ # The page elements rendered on the page. |
| 21526 | { # A visual element rendered on a page. |
| 21527 | "wordArt": { # A PageElement kind representing # A word art page element. |
| 21528 | # word art. |
| 21529 | "renderedText": "A String", # The text rendered as word art. |
| 21530 | }, |
| 21531 | "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit. |
| 21532 | # joined collection of PageElements. |
| 21533 | "children": [ # The collection of elements in the group. The minimum size of a group is 2. |
| 21534 | # Object with schema name: PageElement |
| 21535 | ], |
| 21536 | }, |
| 21537 | "objectId": "A String", # The object ID for this page element. Object IDs used by |
| 21538 | # google.apps.slides.v1.Page and |
| 21539 | # google.apps.slides.v1.PageElement share the same namespace. |
| 21540 | "title": "A String", # The title of the page element. Combined with description to display alt |
| 21541 | # text. |
| 21542 | "image": { # A PageElement kind representing an # An image page element. |
| 21543 | # image. |
| 21544 | "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes. |
| 21545 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 21546 | # effectively accesses the image as the original requester. Access to the |
| 21547 | # image may be lost if the presentation's sharing settings change. |
| 21548 | "imageProperties": { # The properties of the Image. # The properties of the image. |
| 21549 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| 21550 | # |
| 21551 | # If these fields are unset, they may be inherited from a parent placeholder |
| 21552 | # if it exists. If there is no parent, the fields will default to the value |
| 21553 | # used for new page elements created in the Slides editor, which may depend on |
| 21554 | # the page element kind. |
| 21555 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 21556 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 21557 | # specified color value. |
| 21558 | # |
| 21559 | # If any field is unset, its value may be inherited from a parent placeholder |
| 21560 | # if it exists. |
| 21561 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 21562 | "themeColor": "A String", # An opaque theme color. |
| 21563 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 21564 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21565 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21566 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21567 | }, |
| 21568 | }, |
| 21569 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 21570 | # That is, the final pixel color is defined by the equation: |
| 21571 | # |
| 21572 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 21573 | # |
| 21574 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 21575 | # a value of 0.0 corresponds to a completely transparent color. |
| 21576 | }, |
| 21577 | }, |
| 21578 | "propertyState": "A String", # The outline property state. |
| 21579 | # |
| 21580 | # Updating the outline on a page element will implicitly update this field |
| 21581 | # to `RENDERED`, unless another value is specified in the same request. To |
| 21582 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 21583 | # this case, any other outline fields set in the same request will be |
| 21584 | # ignored. |
| 21585 | "dashStyle": "A String", # The dash style of the outline. |
| 21586 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 21587 | "magnitude": 3.14, # The magnitude. |
| 21588 | "unit": "A String", # The units for magnitude. |
| 21589 | }, |
| 21590 | }, |
| 21591 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 21592 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 21593 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 21594 | # This property is read-only. |
| 21595 | "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color |
| 21596 | # stops. |
| 21597 | # |
| 21598 | # The colors in the gradient will replace the corresponding colors at |
| 21599 | # the same position in the color palette and apply to the image. This |
| 21600 | # property is read-only. |
| 21601 | { # A color and position in a gradient band. |
| 21602 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 21603 | "themeColor": "A String", # An opaque theme color. |
| 21604 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 21605 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21606 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21607 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21608 | }, |
| 21609 | }, |
| 21610 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 21611 | # fully opaque. |
| 21612 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 21613 | # in percentage. The value should be in the interval [0.0, 1.0]. |
| 21614 | }, |
| 21615 | ], |
| 21616 | "name": "A String", # The name of the recolor effect. |
| 21617 | # |
| 21618 | # The name is determined from the `recolor_stops` by matching the gradient |
| 21619 | # against the colors in the page's current color scheme. This property is |
| 21620 | # read-only. |
| 21621 | }, |
| 21622 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 21623 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 21624 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 21625 | # in the presentation. There may not be a slide at this index. |
| 21626 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 21627 | # presentation with this ID. A page with this ID may not exist. |
| 21628 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 21629 | # addressed by its position. |
| 21630 | }, |
| 21631 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 21632 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 21633 | # This property is read-only. |
| 21634 | "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. |
| 21635 | # This property is read-only. |
| 21636 | # Image. |
| 21637 | # |
| 21638 | # The crop properties is represented by the offsets of four edges which define |
| 21639 | # a crop rectangle. The offsets are measured in percentage from the |
| 21640 | # corresponding edges of the object's original bounding rectangle towards |
| 21641 | # inside, relative to the object's original dimensions. |
| 21642 | # |
| 21643 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 21644 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 21645 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 21646 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 21647 | # - If the left edge of the crop rectangle is on the right side of its right |
| 21648 | # edge, the object will be flipped horizontally. |
| 21649 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 21650 | # will be flipped vertically. |
| 21651 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 21652 | # |
| 21653 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 21654 | # its container. |
| 21655 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 21656 | # the right of the original bounding rectangle left edge, relative to the |
| 21657 | # object's original width. |
| 21658 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 21659 | # above the original bounding rectangle bottom edge, relative to the object's |
| 21660 | # original height. |
| 21661 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 21662 | # Rotation angle is applied after the offset. |
| 21663 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 21664 | # to the left of the original bounding rectangle right edge, relative to the |
| 21665 | # object's original width. |
| 21666 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 21667 | # below the original bounding rectangle top edge, relative to the object's |
| 21668 | # original height. |
| 21669 | }, |
| 21670 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 21671 | # is read-only. |
| 21672 | # |
| 21673 | # If these fields are unset, they may be inherited from a parent placeholder |
| 21674 | # if it exists. If there is no parent, the fields will default to the value |
| 21675 | # used for new page elements created in the Slides editor, which may depend on |
| 21676 | # the page element kind. |
| 21677 | "color": { # A themeable solid color value. # The shadow color value. |
| 21678 | "themeColor": "A String", # An opaque theme color. |
| 21679 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 21680 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21681 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21682 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21683 | }, |
| 21684 | }, |
| 21685 | "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, |
| 21686 | # relative to the alignment position. |
| 21687 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 21688 | # according to: |
| 21689 | # |
| 21690 | # x' x = shear_y scale_y translate_y |
| 21691 | # 1 [ 1 ] |
| 21692 | # |
| 21693 | # After transformation, |
| 21694 | # |
| 21695 | # x' = scale_x * x + shear_x * y + translate_x; |
| 21696 | # y' = scale_y * y + shear_y * x + translate_y; |
| 21697 | # |
| 21698 | # This message is therefore composed of these six matrix elements. |
| 21699 | "translateX": 3.14, # The X coordinate translation element. |
| 21700 | "translateY": 3.14, # The Y coordinate translation element. |
| 21701 | "scaleX": 3.14, # The X coordinate scaling element. |
| 21702 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 21703 | "shearY": 3.14, # The Y coordinate shearing element. |
| 21704 | "shearX": 3.14, # The X coordinate shearing element. |
| 21705 | "unit": "A String", # The units for translate elements. |
| 21706 | }, |
| 21707 | "propertyState": "A String", # The shadow property state. |
| 21708 | # |
| 21709 | # Updating the shadow on a page element will implicitly update this field to |
| 21710 | # `RENDERED`, unless another value is specified in the same request. To have |
| 21711 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| 21712 | # case, any other shadow fields set in the same request will be ignored. |
| 21713 | "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 |
| 21714 | # shadow becomes. |
| 21715 | "magnitude": 3.14, # The magnitude. |
| 21716 | "unit": "A String", # The units for magnitude. |
| 21717 | }, |
| 21718 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| 21719 | "type": "A String", # The type of the shadow. This property is read-only. |
| 21720 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| 21721 | # scale and skew of the shadow. This property is read-only. |
| 21722 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 21723 | # read-only. |
| 21724 | }, |
| 21725 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 21726 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 21727 | }, |
| 21728 | "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be |
| 21729 | # empty. |
| 21730 | }, |
| 21731 | "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element. |
| 21732 | # |
| 21733 | # The visual appearance of the page element is determined by its absolute |
| 21734 | # transform. To compute the absolute transform, preconcatenate a page |
| 21735 | # element's transform with the transforms of all of its parent groups. If the |
| 21736 | # page element is not in a group, its absolute transform is the same as the |
| 21737 | # value in this field. |
| 21738 | # |
| 21739 | # The initial transform for the newly created Group is always the identity transform. |
| 21740 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 21741 | # according to: |
| 21742 | # |
| 21743 | # x' x = shear_y scale_y translate_y |
| 21744 | # 1 [ 1 ] |
| 21745 | # |
| 21746 | # After transformation, |
| 21747 | # |
| 21748 | # x' = scale_x * x + shear_x * y + translate_x; |
| 21749 | # y' = scale_y * y + shear_y * x + translate_y; |
| 21750 | # |
| 21751 | # This message is therefore composed of these six matrix elements. |
| 21752 | "translateX": 3.14, # The X coordinate translation element. |
| 21753 | "translateY": 3.14, # The Y coordinate translation element. |
| 21754 | "scaleX": 3.14, # The X coordinate scaling element. |
| 21755 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 21756 | "shearY": 3.14, # The Y coordinate shearing element. |
| 21757 | "shearX": 3.14, # The X coordinate shearing element. |
| 21758 | "unit": "A String", # The units for translate elements. |
| 21759 | }, |
| 21760 | "shape": { # A PageElement kind representing a # A generic shape. |
| 21761 | # generic shape that does not have a more specific classification. |
| 21762 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape. |
| 21763 | # text box or rectangle) or a table cell in a page. |
| 21764 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 21765 | # information. This property is read-only. |
| 21766 | { # A TextElement describes the content of a range of indices in the text content |
| 21767 | # of a Shape or TableCell. |
| 21768 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 21769 | # replaced with content that can change over time. |
| 21770 | "content": "A String", # The rendered content of this auto text, if available. |
| 21771 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 21772 | # |
| 21773 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 21774 | # inherited from the parent. Which text styles are inherited depend on the |
| 21775 | # nesting level of lists: |
| 21776 | # |
| 21777 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 21778 | # from the the newline character in the paragraph at the 0 nesting level of |
| 21779 | # the list inside the parent placeholder. |
| 21780 | # * A text run in a paragraph that is in a list will inherit its text style |
| 21781 | # from the newline character in the paragraph at its corresponding nesting |
| 21782 | # level of the list inside the parent placeholder. |
| 21783 | # |
| 21784 | # Inherited text styles are represented as unset fields in this message. If |
| 21785 | # text is contained in a shape without a parent placeholder, unsetting these |
| 21786 | # fields will revert the style to a value matching the defaults in the Slides |
| 21787 | # editor. |
| 21788 | "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 |
| 21789 | # transparent, depending on if the `opaque_color` field in it is set. |
| 21790 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 21791 | # a transparent color. |
| 21792 | "themeColor": "A String", # An opaque theme color. |
| 21793 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 21794 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21795 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21796 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21797 | }, |
| 21798 | }, |
| 21799 | }, |
| 21800 | "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 |
| 21801 | # transparent, depending on if the `opaque_color` field in it is set. |
| 21802 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 21803 | # a transparent color. |
| 21804 | "themeColor": "A String", # An opaque theme color. |
| 21805 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 21806 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21807 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21808 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21809 | }, |
| 21810 | }, |
| 21811 | }, |
| 21812 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 21813 | # |
| 21814 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 21815 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 21816 | # The `font_size` itself is not affected by changes in this field. |
| 21817 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 21818 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 21819 | # |
| 21820 | # This field is an extension of `font_family` meant to support explicit font |
| 21821 | # weights without breaking backwards compatibility. As such, when reading the |
| 21822 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 21823 | # will always be equal to that of `font_family`. However, when writing, if |
| 21824 | # both fields are included in the field mask (either explicitly or through |
| 21825 | # the wildcard `"*"`), their values are reconciled as follows: |
| 21826 | # |
| 21827 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 21828 | # `font_family` is applied with weight `400` ("normal"). |
| 21829 | # * If both fields are set, the value of `font_family` must match that of |
| 21830 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 21831 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 21832 | # returned. |
| 21833 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 21834 | # family and weight of `weighted_font_family` is applied. |
| 21835 | # * If neither field is set, the font family and weight of the text inherit |
| 21836 | # from the parent. Note that these properties cannot inherit separately |
| 21837 | # from each other. |
| 21838 | # |
| 21839 | # If an update request specifies values for both `weighted_font_family` and |
| 21840 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 21841 | # |
| 21842 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 21843 | # |
| 21844 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 21845 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 21846 | # is returned. |
| 21847 | "fontFamily": "A String", # The font family of the text. |
| 21848 | # |
| 21849 | # The font family can be any font from the Font menu in Slides or from |
| 21850 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 21851 | # unrecognized, the text is rendered in `Arial`. |
| 21852 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 21853 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 21854 | # corresponds to the numerical values described in the CSS 2.1 |
| 21855 | # Specification, |
| 21856 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 21857 | # with non-numerical values disallowed. Weights greater than or equal to |
| 21858 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 21859 | # default value is `400` ("normal"). |
| 21860 | }, |
| 21861 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 21862 | "fontFamily": "A String", # The font family of the text. |
| 21863 | # |
| 21864 | # The font family can be any font from the Font menu in Slides or from |
| 21865 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 21866 | # unrecognized, the text is rendered in `Arial`. |
| 21867 | # |
| 21868 | # Some fonts can affect the weight of the text. If an update request |
| 21869 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 21870 | # `bold` value is used. |
| 21871 | "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 |
| 21872 | # points. |
| 21873 | "magnitude": 3.14, # The magnitude. |
| 21874 | "unit": "A String", # The units for magnitude. |
| 21875 | }, |
| 21876 | "italic": True or False, # Whether or not the text is italicized. |
| 21877 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 21878 | # are not inherited from parent text. |
| 21879 | # |
| 21880 | # Changing the link in an update request causes some other changes to the |
| 21881 | # text style of the range: |
| 21882 | # |
| 21883 | # * When setting a link, the text foreground color will be set to |
| 21884 | # ThemeColorType.HYPERLINK and the text will |
| 21885 | # be underlined. If these fields are modified in the same |
| 21886 | # request, those values will be used instead of the link defaults. |
| 21887 | # * Setting a link on a text range that overlaps with an existing link will |
| 21888 | # also update the existing link to point to the new URL. |
| 21889 | # * Links are not settable on newline characters. As a result, setting a link |
| 21890 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 21891 | # will separate the newline character(s) into their own text runs. The |
| 21892 | # link will be applied separately to the runs before and after the newline. |
| 21893 | # * Removing a link will update the text style of the range to match the |
| 21894 | # style of the preceding text (or the default text styles if the preceding |
| 21895 | # text is another link) unless different styles are being set in the same |
| 21896 | # request. |
| 21897 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 21898 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 21899 | # in the presentation. There may not be a slide at this index. |
| 21900 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 21901 | # presentation with this ID. A page with this ID may not exist. |
| 21902 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 21903 | # addressed by its position. |
| 21904 | }, |
| 21905 | "underline": True or False, # Whether or not the text is underlined. |
| 21906 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 21907 | }, |
| 21908 | "type": "A String", # The type of this auto text. |
| 21909 | }, |
| 21910 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 21911 | # units. |
| 21912 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 21913 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 21914 | # |
| 21915 | # The `start_index` and `end_index` of this TextElement represent the |
| 21916 | # range of the paragraph. Other TextElements with an index range contained |
| 21917 | # inside this paragraph's range are considered to be part of this |
| 21918 | # paragraph. The range of indices of two separate paragraphs will never |
| 21919 | # overlap. |
| 21920 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 21921 | # |
| 21922 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 21923 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 21924 | # nesting level of lists: |
| 21925 | # |
| 21926 | # * A paragraph not in a list will inherit its paragraph style from the |
| 21927 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 21928 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 21929 | # at its corresponding nesting level of the list inside the parent |
| 21930 | # placeholder. |
| 21931 | # |
| 21932 | # Inherited paragraph styles are represented as unset fields in this message. |
| 21933 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 21934 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 21935 | # LEFT_TO_RIGHT since |
| 21936 | # text direction is not inherited. |
| 21937 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 21938 | # inherited from the parent. |
| 21939 | "magnitude": 3.14, # The magnitude. |
| 21940 | "unit": "A String", # The units for magnitude. |
| 21941 | }, |
| 21942 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 21943 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 21944 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 21945 | # the start of the text, based on the current text direction. If unset, the |
| 21946 | # value is inherited from the parent. |
| 21947 | "magnitude": 3.14, # The magnitude. |
| 21948 | "unit": "A String", # The units for magnitude. |
| 21949 | }, |
| 21950 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 21951 | # inherited from the parent. |
| 21952 | "magnitude": 3.14, # The magnitude. |
| 21953 | "unit": "A String", # The units for magnitude. |
| 21954 | }, |
| 21955 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 21956 | # the end of the text, based on the current text direction. If unset, the |
| 21957 | # value is inherited from the parent. |
| 21958 | "magnitude": 3.14, # The magnitude. |
| 21959 | "unit": "A String", # The units for magnitude. |
| 21960 | }, |
| 21961 | "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. |
| 21962 | # If unset, the value is inherited from the parent. |
| 21963 | "magnitude": 3.14, # The magnitude. |
| 21964 | "unit": "A String", # The units for magnitude. |
| 21965 | }, |
| 21966 | "alignment": "A String", # The text alignment for this paragraph. |
| 21967 | }, |
| 21968 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 21969 | # belong to a list. |
| 21970 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 21971 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 21972 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 21973 | # |
| 21974 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 21975 | # inherited from the parent. Which text styles are inherited depend on the |
| 21976 | # nesting level of lists: |
| 21977 | # |
| 21978 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 21979 | # from the the newline character in the paragraph at the 0 nesting level of |
| 21980 | # the list inside the parent placeholder. |
| 21981 | # * A text run in a paragraph that is in a list will inherit its text style |
| 21982 | # from the newline character in the paragraph at its corresponding nesting |
| 21983 | # level of the list inside the parent placeholder. |
| 21984 | # |
| 21985 | # Inherited text styles are represented as unset fields in this message. If |
| 21986 | # text is contained in a shape without a parent placeholder, unsetting these |
| 21987 | # fields will revert the style to a value matching the defaults in the Slides |
| 21988 | # editor. |
| 21989 | "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 |
| 21990 | # transparent, depending on if the `opaque_color` field in it is set. |
| 21991 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 21992 | # a transparent color. |
| 21993 | "themeColor": "A String", # An opaque theme color. |
| 21994 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 21995 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21996 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21997 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21998 | }, |
| 21999 | }, |
| 22000 | }, |
| 22001 | "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 |
| 22002 | # transparent, depending on if the `opaque_color` field in it is set. |
| 22003 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 22004 | # a transparent color. |
| 22005 | "themeColor": "A String", # An opaque theme color. |
| 22006 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 22007 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22008 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22009 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22010 | }, |
| 22011 | }, |
| 22012 | }, |
| 22013 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 22014 | # |
| 22015 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 22016 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 22017 | # The `font_size` itself is not affected by changes in this field. |
| 22018 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 22019 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 22020 | # |
| 22021 | # This field is an extension of `font_family` meant to support explicit font |
| 22022 | # weights without breaking backwards compatibility. As such, when reading the |
| 22023 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 22024 | # will always be equal to that of `font_family`. However, when writing, if |
| 22025 | # both fields are included in the field mask (either explicitly or through |
| 22026 | # the wildcard `"*"`), their values are reconciled as follows: |
| 22027 | # |
| 22028 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 22029 | # `font_family` is applied with weight `400` ("normal"). |
| 22030 | # * If both fields are set, the value of `font_family` must match that of |
| 22031 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 22032 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 22033 | # returned. |
| 22034 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 22035 | # family and weight of `weighted_font_family` is applied. |
| 22036 | # * If neither field is set, the font family and weight of the text inherit |
| 22037 | # from the parent. Note that these properties cannot inherit separately |
| 22038 | # from each other. |
| 22039 | # |
| 22040 | # If an update request specifies values for both `weighted_font_family` and |
| 22041 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 22042 | # |
| 22043 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 22044 | # |
| 22045 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 22046 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 22047 | # is returned. |
| 22048 | "fontFamily": "A String", # The font family of the text. |
| 22049 | # |
| 22050 | # The font family can be any font from the Font menu in Slides or from |
| 22051 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 22052 | # unrecognized, the text is rendered in `Arial`. |
| 22053 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 22054 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 22055 | # corresponds to the numerical values described in the CSS 2.1 |
| 22056 | # Specification, |
| 22057 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 22058 | # with non-numerical values disallowed. Weights greater than or equal to |
| 22059 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 22060 | # default value is `400` ("normal"). |
| 22061 | }, |
| 22062 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 22063 | "fontFamily": "A String", # The font family of the text. |
| 22064 | # |
| 22065 | # The font family can be any font from the Font menu in Slides or from |
| 22066 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 22067 | # unrecognized, the text is rendered in `Arial`. |
| 22068 | # |
| 22069 | # Some fonts can affect the weight of the text. If an update request |
| 22070 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 22071 | # `bold` value is used. |
| 22072 | "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 |
| 22073 | # points. |
| 22074 | "magnitude": 3.14, # The magnitude. |
| 22075 | "unit": "A String", # The units for magnitude. |
| 22076 | }, |
| 22077 | "italic": True or False, # Whether or not the text is italicized. |
| 22078 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 22079 | # are not inherited from parent text. |
| 22080 | # |
| 22081 | # Changing the link in an update request causes some other changes to the |
| 22082 | # text style of the range: |
| 22083 | # |
| 22084 | # * When setting a link, the text foreground color will be set to |
| 22085 | # ThemeColorType.HYPERLINK and the text will |
| 22086 | # be underlined. If these fields are modified in the same |
| 22087 | # request, those values will be used instead of the link defaults. |
| 22088 | # * Setting a link on a text range that overlaps with an existing link will |
| 22089 | # also update the existing link to point to the new URL. |
| 22090 | # * Links are not settable on newline characters. As a result, setting a link |
| 22091 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 22092 | # will separate the newline character(s) into their own text runs. The |
| 22093 | # link will be applied separately to the runs before and after the newline. |
| 22094 | # * Removing a link will update the text style of the range to match the |
| 22095 | # style of the preceding text (or the default text styles if the preceding |
| 22096 | # text is another link) unless different styles are being set in the same |
| 22097 | # request. |
| 22098 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 22099 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 22100 | # in the presentation. There may not be a slide at this index. |
| 22101 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 22102 | # presentation with this ID. A page with this ID may not exist. |
| 22103 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 22104 | # addressed by its position. |
| 22105 | }, |
| 22106 | "underline": True or False, # Whether or not the text is underlined. |
| 22107 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 22108 | }, |
| 22109 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 22110 | }, |
| 22111 | }, |
| 22112 | "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 |
| 22113 | # in the run have the same TextStyle. |
| 22114 | # |
| 22115 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 22116 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 22117 | # In other words, a TextRun will never span multiple paragraphs. |
| 22118 | # styling. |
| 22119 | "content": "A String", # The text of this run. |
| 22120 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 22121 | # |
| 22122 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 22123 | # inherited from the parent. Which text styles are inherited depend on the |
| 22124 | # nesting level of lists: |
| 22125 | # |
| 22126 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 22127 | # from the the newline character in the paragraph at the 0 nesting level of |
| 22128 | # the list inside the parent placeholder. |
| 22129 | # * A text run in a paragraph that is in a list will inherit its text style |
| 22130 | # from the newline character in the paragraph at its corresponding nesting |
| 22131 | # level of the list inside the parent placeholder. |
| 22132 | # |
| 22133 | # Inherited text styles are represented as unset fields in this message. If |
| 22134 | # text is contained in a shape without a parent placeholder, unsetting these |
| 22135 | # fields will revert the style to a value matching the defaults in the Slides |
| 22136 | # editor. |
| 22137 | "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 |
| 22138 | # transparent, depending on if the `opaque_color` field in it is set. |
| 22139 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 22140 | # a transparent color. |
| 22141 | "themeColor": "A String", # An opaque theme color. |
| 22142 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 22143 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22144 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22145 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22146 | }, |
| 22147 | }, |
| 22148 | }, |
| 22149 | "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 |
| 22150 | # transparent, depending on if the `opaque_color` field in it is set. |
| 22151 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 22152 | # a transparent color. |
| 22153 | "themeColor": "A String", # An opaque theme color. |
| 22154 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 22155 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22156 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22157 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22158 | }, |
| 22159 | }, |
| 22160 | }, |
| 22161 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 22162 | # |
| 22163 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 22164 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 22165 | # The `font_size` itself is not affected by changes in this field. |
| 22166 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 22167 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 22168 | # |
| 22169 | # This field is an extension of `font_family` meant to support explicit font |
| 22170 | # weights without breaking backwards compatibility. As such, when reading the |
| 22171 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 22172 | # will always be equal to that of `font_family`. However, when writing, if |
| 22173 | # both fields are included in the field mask (either explicitly or through |
| 22174 | # the wildcard `"*"`), their values are reconciled as follows: |
| 22175 | # |
| 22176 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 22177 | # `font_family` is applied with weight `400` ("normal"). |
| 22178 | # * If both fields are set, the value of `font_family` must match that of |
| 22179 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 22180 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 22181 | # returned. |
| 22182 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 22183 | # family and weight of `weighted_font_family` is applied. |
| 22184 | # * If neither field is set, the font family and weight of the text inherit |
| 22185 | # from the parent. Note that these properties cannot inherit separately |
| 22186 | # from each other. |
| 22187 | # |
| 22188 | # If an update request specifies values for both `weighted_font_family` and |
| 22189 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 22190 | # |
| 22191 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 22192 | # |
| 22193 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 22194 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 22195 | # is returned. |
| 22196 | "fontFamily": "A String", # The font family of the text. |
| 22197 | # |
| 22198 | # The font family can be any font from the Font menu in Slides or from |
| 22199 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 22200 | # unrecognized, the text is rendered in `Arial`. |
| 22201 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 22202 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 22203 | # corresponds to the numerical values described in the CSS 2.1 |
| 22204 | # Specification, |
| 22205 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 22206 | # with non-numerical values disallowed. Weights greater than or equal to |
| 22207 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 22208 | # default value is `400` ("normal"). |
| 22209 | }, |
| 22210 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 22211 | "fontFamily": "A String", # The font family of the text. |
| 22212 | # |
| 22213 | # The font family can be any font from the Font menu in Slides or from |
| 22214 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 22215 | # unrecognized, the text is rendered in `Arial`. |
| 22216 | # |
| 22217 | # Some fonts can affect the weight of the text. If an update request |
| 22218 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 22219 | # `bold` value is used. |
| 22220 | "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 |
| 22221 | # points. |
| 22222 | "magnitude": 3.14, # The magnitude. |
| 22223 | "unit": "A String", # The units for magnitude. |
| 22224 | }, |
| 22225 | "italic": True or False, # Whether or not the text is italicized. |
| 22226 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 22227 | # are not inherited from parent text. |
| 22228 | # |
| 22229 | # Changing the link in an update request causes some other changes to the |
| 22230 | # text style of the range: |
| 22231 | # |
| 22232 | # * When setting a link, the text foreground color will be set to |
| 22233 | # ThemeColorType.HYPERLINK and the text will |
| 22234 | # be underlined. If these fields are modified in the same |
| 22235 | # request, those values will be used instead of the link defaults. |
| 22236 | # * Setting a link on a text range that overlaps with an existing link will |
| 22237 | # also update the existing link to point to the new URL. |
| 22238 | # * Links are not settable on newline characters. As a result, setting a link |
| 22239 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 22240 | # will separate the newline character(s) into their own text runs. The |
| 22241 | # link will be applied separately to the runs before and after the newline. |
| 22242 | # * Removing a link will update the text style of the range to match the |
| 22243 | # style of the preceding text (or the default text styles if the preceding |
| 22244 | # text is another link) unless different styles are being set in the same |
| 22245 | # request. |
| 22246 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 22247 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 22248 | # in the presentation. There may not be a slide at this index. |
| 22249 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 22250 | # presentation with this ID. A page with this ID may not exist. |
| 22251 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 22252 | # addressed by its position. |
| 22253 | }, |
| 22254 | "underline": True or False, # Whether or not the text is underlined. |
| 22255 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 22256 | }, |
| 22257 | }, |
| 22258 | }, |
| 22259 | ], |
| 22260 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 22261 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 22262 | # associated with a list. A paragraph that is part of a list has an implicit |
| 22263 | # reference to that list's ID. |
| 22264 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 22265 | # level. A list has at most nine levels of nesting, so the possible values |
| 22266 | # for the keys of this map are 0 through 8, inclusive. |
| 22267 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 22268 | # level of nesting. |
| 22269 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 22270 | # |
| 22271 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 22272 | # inherited from the parent. Which text styles are inherited depend on the |
| 22273 | # nesting level of lists: |
| 22274 | # |
| 22275 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 22276 | # from the the newline character in the paragraph at the 0 nesting level of |
| 22277 | # the list inside the parent placeholder. |
| 22278 | # * A text run in a paragraph that is in a list will inherit its text style |
| 22279 | # from the newline character in the paragraph at its corresponding nesting |
| 22280 | # level of the list inside the parent placeholder. |
| 22281 | # |
| 22282 | # Inherited text styles are represented as unset fields in this message. If |
| 22283 | # text is contained in a shape without a parent placeholder, unsetting these |
| 22284 | # fields will revert the style to a value matching the defaults in the Slides |
| 22285 | # editor. |
| 22286 | "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 |
| 22287 | # transparent, depending on if the `opaque_color` field in it is set. |
| 22288 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 22289 | # a transparent color. |
| 22290 | "themeColor": "A String", # An opaque theme color. |
| 22291 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 22292 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22293 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22294 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22295 | }, |
| 22296 | }, |
| 22297 | }, |
| 22298 | "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 |
| 22299 | # transparent, depending on if the `opaque_color` field in it is set. |
| 22300 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 22301 | # a transparent color. |
| 22302 | "themeColor": "A String", # An opaque theme color. |
| 22303 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 22304 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22305 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22306 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22307 | }, |
| 22308 | }, |
| 22309 | }, |
| 22310 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 22311 | # |
| 22312 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 22313 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 22314 | # The `font_size` itself is not affected by changes in this field. |
| 22315 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 22316 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 22317 | # |
| 22318 | # This field is an extension of `font_family` meant to support explicit font |
| 22319 | # weights without breaking backwards compatibility. As such, when reading the |
| 22320 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 22321 | # will always be equal to that of `font_family`. However, when writing, if |
| 22322 | # both fields are included in the field mask (either explicitly or through |
| 22323 | # the wildcard `"*"`), their values are reconciled as follows: |
| 22324 | # |
| 22325 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 22326 | # `font_family` is applied with weight `400` ("normal"). |
| 22327 | # * If both fields are set, the value of `font_family` must match that of |
| 22328 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 22329 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 22330 | # returned. |
| 22331 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 22332 | # family and weight of `weighted_font_family` is applied. |
| 22333 | # * If neither field is set, the font family and weight of the text inherit |
| 22334 | # from the parent. Note that these properties cannot inherit separately |
| 22335 | # from each other. |
| 22336 | # |
| 22337 | # If an update request specifies values for both `weighted_font_family` and |
| 22338 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 22339 | # |
| 22340 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 22341 | # |
| 22342 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 22343 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 22344 | # is returned. |
| 22345 | "fontFamily": "A String", # The font family of the text. |
| 22346 | # |
| 22347 | # The font family can be any font from the Font menu in Slides or from |
| 22348 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 22349 | # unrecognized, the text is rendered in `Arial`. |
| 22350 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 22351 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 22352 | # corresponds to the numerical values described in the CSS 2.1 |
| 22353 | # Specification, |
| 22354 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 22355 | # with non-numerical values disallowed. Weights greater than or equal to |
| 22356 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 22357 | # default value is `400` ("normal"). |
| 22358 | }, |
| 22359 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 22360 | "fontFamily": "A String", # The font family of the text. |
| 22361 | # |
| 22362 | # The font family can be any font from the Font menu in Slides or from |
| 22363 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 22364 | # unrecognized, the text is rendered in `Arial`. |
| 22365 | # |
| 22366 | # Some fonts can affect the weight of the text. If an update request |
| 22367 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 22368 | # `bold` value is used. |
| 22369 | "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 |
| 22370 | # points. |
| 22371 | "magnitude": 3.14, # The magnitude. |
| 22372 | "unit": "A String", # The units for magnitude. |
| 22373 | }, |
| 22374 | "italic": True or False, # Whether or not the text is italicized. |
| 22375 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 22376 | # are not inherited from parent text. |
| 22377 | # |
| 22378 | # Changing the link in an update request causes some other changes to the |
| 22379 | # text style of the range: |
| 22380 | # |
| 22381 | # * When setting a link, the text foreground color will be set to |
| 22382 | # ThemeColorType.HYPERLINK and the text will |
| 22383 | # be underlined. If these fields are modified in the same |
| 22384 | # request, those values will be used instead of the link defaults. |
| 22385 | # * Setting a link on a text range that overlaps with an existing link will |
| 22386 | # also update the existing link to point to the new URL. |
| 22387 | # * Links are not settable on newline characters. As a result, setting a link |
| 22388 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 22389 | # will separate the newline character(s) into their own text runs. The |
| 22390 | # link will be applied separately to the runs before and after the newline. |
| 22391 | # * Removing a link will update the text style of the range to match the |
| 22392 | # style of the preceding text (or the default text styles if the preceding |
| 22393 | # text is another link) unless different styles are being set in the same |
| 22394 | # request. |
| 22395 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 22396 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 22397 | # in the presentation. There may not be a slide at this index. |
| 22398 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 22399 | # presentation with this ID. A page with this ID may not exist. |
| 22400 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 22401 | # addressed by its position. |
| 22402 | }, |
| 22403 | "underline": True or False, # Whether or not the text is underlined. |
| 22404 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 22405 | }, |
| 22406 | }, |
| 22407 | }, |
| 22408 | "listId": "A String", # The ID of the list. |
| 22409 | }, |
| 22410 | }, |
| 22411 | }, |
| 22412 | "shapeProperties": { # The properties of a Shape. # The properties of the shape. |
| 22413 | # |
| 22414 | # If the shape is a placeholder shape as determined by the |
| 22415 | # placeholder field, then these |
| 22416 | # properties may be inherited from a parent placeholder shape. |
| 22417 | # Determining the rendered value of the property depends on the corresponding |
| 22418 | # property_state field value. |
| 22419 | "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from |
| 22420 | # a parent placeholder if it exists. If the shape has no parent, then the |
| 22421 | # default shadow matches the defaults for new shapes created in the Slides |
| 22422 | # editor. This property is read-only. |
| 22423 | # |
| 22424 | # If these fields are unset, they may be inherited from a parent placeholder |
| 22425 | # if it exists. If there is no parent, the fields will default to the value |
| 22426 | # used for new page elements created in the Slides editor, which may depend on |
| 22427 | # the page element kind. |
| 22428 | "color": { # A themeable solid color value. # The shadow color value. |
| 22429 | "themeColor": "A String", # An opaque theme color. |
| 22430 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 22431 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22432 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22433 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22434 | }, |
| 22435 | }, |
| 22436 | "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, |
| 22437 | # relative to the alignment position. |
| 22438 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 22439 | # according to: |
| 22440 | # |
| 22441 | # x' x = shear_y scale_y translate_y |
| 22442 | # 1 [ 1 ] |
| 22443 | # |
| 22444 | # After transformation, |
| 22445 | # |
| 22446 | # x' = scale_x * x + shear_x * y + translate_x; |
| 22447 | # y' = scale_y * y + shear_y * x + translate_y; |
| 22448 | # |
| 22449 | # This message is therefore composed of these six matrix elements. |
| 22450 | "translateX": 3.14, # The X coordinate translation element. |
| 22451 | "translateY": 3.14, # The Y coordinate translation element. |
| 22452 | "scaleX": 3.14, # The X coordinate scaling element. |
| 22453 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 22454 | "shearY": 3.14, # The Y coordinate shearing element. |
| 22455 | "shearX": 3.14, # The X coordinate shearing element. |
| 22456 | "unit": "A String", # The units for translate elements. |
| 22457 | }, |
| 22458 | "propertyState": "A String", # The shadow property state. |
| 22459 | # |
| 22460 | # Updating the shadow on a page element will implicitly update this field to |
| 22461 | # `RENDERED`, unless another value is specified in the same request. To have |
| 22462 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| 22463 | # case, any other shadow fields set in the same request will be ignored. |
| 22464 | "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 |
| 22465 | # shadow becomes. |
| 22466 | "magnitude": 3.14, # The magnitude. |
| 22467 | "unit": "A String", # The units for magnitude. |
| 22468 | }, |
| 22469 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| 22470 | "type": "A String", # The type of the shadow. This property is read-only. |
| 22471 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| 22472 | # scale and skew of the shadow. This property is read-only. |
| 22473 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 22474 | # read-only. |
| 22475 | }, |
| 22476 | "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is |
| 22477 | # inherited from a parent placeholder if it exists. If the shape has no |
| 22478 | # parent, then the default background fill depends on the shape type, |
| 22479 | # matching the defaults for new shapes created in the Slides editor. |
| 22480 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 22481 | # specified color value. |
| 22482 | # |
| 22483 | # If any field is unset, its value may be inherited from a parent placeholder |
| 22484 | # if it exists. |
| 22485 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 22486 | "themeColor": "A String", # An opaque theme color. |
| 22487 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 22488 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22489 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22490 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22491 | }, |
| 22492 | }, |
| 22493 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 22494 | # That is, the final pixel color is defined by the equation: |
| 22495 | # |
| 22496 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 22497 | # |
| 22498 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 22499 | # a value of 0.0 corresponds to a completely transparent color. |
| 22500 | }, |
| 22501 | "propertyState": "A String", # The background fill property state. |
| 22502 | # |
| 22503 | # Updating the fill on a shape will implicitly update this field to |
| 22504 | # `RENDERED`, unless another value is specified in the same request. To |
| 22505 | # have no fill on a shape, set this field to `NOT_RENDERED`. In this case, |
| 22506 | # any other fill fields set in the same request will be ignored. |
| 22507 | }, |
| 22508 | "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links |
| 22509 | # are not inherited from parent placeholders. |
| 22510 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 22511 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 22512 | # in the presentation. There may not be a slide at this index. |
| 22513 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 22514 | # presentation with this ID. A page with this ID may not exist. |
| 22515 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 22516 | # addressed by its position. |
| 22517 | }, |
| 22518 | "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a |
| 22519 | # parent placeholder if it exists. If the shape has no parent, then the |
| 22520 | # default outline depends on the shape type, matching the defaults for |
| 22521 | # new shapes created in the Slides editor. |
| 22522 | # |
| 22523 | # If these fields are unset, they may be inherited from a parent placeholder |
| 22524 | # if it exists. If there is no parent, the fields will default to the value |
| 22525 | # used for new page elements created in the Slides editor, which may depend on |
| 22526 | # the page element kind. |
| 22527 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 22528 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 22529 | # specified color value. |
| 22530 | # |
| 22531 | # If any field is unset, its value may be inherited from a parent placeholder |
| 22532 | # if it exists. |
| 22533 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 22534 | "themeColor": "A String", # An opaque theme color. |
| 22535 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 22536 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22537 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22538 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22539 | }, |
| 22540 | }, |
| 22541 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 22542 | # That is, the final pixel color is defined by the equation: |
| 22543 | # |
| 22544 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 22545 | # |
| 22546 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 22547 | # a value of 0.0 corresponds to a completely transparent color. |
| 22548 | }, |
| 22549 | }, |
| 22550 | "propertyState": "A String", # The outline property state. |
| 22551 | # |
| 22552 | # Updating the outline on a page element will implicitly update this field |
| 22553 | # to `RENDERED`, unless another value is specified in the same request. To |
| 22554 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 22555 | # this case, any other outline fields set in the same request will be |
| 22556 | # ignored. |
| 22557 | "dashStyle": "A String", # The dash style of the outline. |
| 22558 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 22559 | "magnitude": 3.14, # The magnitude. |
| 22560 | "unit": "A String", # The units for magnitude. |
| 22561 | }, |
| 22562 | }, |
| 22563 | "contentAlignment": "A String", # The alignment of the content in the shape. If unspecified, |
| 22564 | # the alignment is inherited from a parent placeholder if it exists. If the |
| 22565 | # shape has no parent, the default alignment matches the alignment for new |
| 22566 | # shapes created in the Slides editor. |
| 22567 | }, |
| 22568 | "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on |
| 22569 | # layouts and masters. |
| 22570 | # |
| 22571 | # If set, the shape is a placeholder shape and any inherited properties |
| 22572 | # can be resolved by looking at the parent placeholder identified by the |
| 22573 | # Placeholder.parent_object_id field. |
| 22574 | "parentObjectId": "A String", # The object ID of this shape's parent placeholder. |
| 22575 | # If unset, the parent placeholder shape does not exist, so the shape does |
| 22576 | # not inherit properties from any other shape. |
| 22577 | "index": 42, # The index of the placeholder. If the same placeholder types are present in |
| 22578 | # the same page, they would have different index values. |
| 22579 | "type": "A String", # The type of the placeholder. |
| 22580 | }, |
| 22581 | "shapeType": "A String", # The type of the shape. |
| 22582 | }, |
| 22583 | "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are |
| 22584 | # represented as images. |
| 22585 | # a linked chart embedded from Google Sheets. |
| 22586 | "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30 |
| 22587 | # minutes. This URL is tagged with the account of the requester. Anyone with |
| 22588 | # the URL effectively accesses the image as the original requester. Access to |
| 22589 | # the image may be lost if the presentation's sharing settings change. |
| 22590 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| 22591 | "sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart. |
| 22592 | "chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image. |
| 22593 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| 22594 | # |
| 22595 | # If these fields are unset, they may be inherited from a parent placeholder |
| 22596 | # if it exists. If there is no parent, the fields will default to the value |
| 22597 | # used for new page elements created in the Slides editor, which may depend on |
| 22598 | # the page element kind. |
| 22599 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 22600 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 22601 | # specified color value. |
| 22602 | # |
| 22603 | # If any field is unset, its value may be inherited from a parent placeholder |
| 22604 | # if it exists. |
| 22605 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 22606 | "themeColor": "A String", # An opaque theme color. |
| 22607 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 22608 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22609 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22610 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22611 | }, |
| 22612 | }, |
| 22613 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 22614 | # That is, the final pixel color is defined by the equation: |
| 22615 | # |
| 22616 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 22617 | # |
| 22618 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 22619 | # a value of 0.0 corresponds to a completely transparent color. |
| 22620 | }, |
| 22621 | }, |
| 22622 | "propertyState": "A String", # The outline property state. |
| 22623 | # |
| 22624 | # Updating the outline on a page element will implicitly update this field |
| 22625 | # to `RENDERED`, unless another value is specified in the same request. To |
| 22626 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 22627 | # this case, any other outline fields set in the same request will be |
| 22628 | # ignored. |
| 22629 | "dashStyle": "A String", # The dash style of the outline. |
| 22630 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 22631 | "magnitude": 3.14, # The magnitude. |
| 22632 | "unit": "A String", # The units for magnitude. |
| 22633 | }, |
| 22634 | }, |
| 22635 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 22636 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 22637 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 22638 | # This property is read-only. |
| 22639 | "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color |
| 22640 | # stops. |
| 22641 | # |
| 22642 | # The colors in the gradient will replace the corresponding colors at |
| 22643 | # the same position in the color palette and apply to the image. This |
| 22644 | # property is read-only. |
| 22645 | { # A color and position in a gradient band. |
| 22646 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 22647 | "themeColor": "A String", # An opaque theme color. |
| 22648 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 22649 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22650 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22651 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22652 | }, |
| 22653 | }, |
| 22654 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 22655 | # fully opaque. |
| 22656 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 22657 | # in percentage. The value should be in the interval [0.0, 1.0]. |
| 22658 | }, |
| 22659 | ], |
| 22660 | "name": "A String", # The name of the recolor effect. |
| 22661 | # |
| 22662 | # The name is determined from the `recolor_stops` by matching the gradient |
| 22663 | # against the colors in the page's current color scheme. This property is |
| 22664 | # read-only. |
| 22665 | }, |
| 22666 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 22667 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 22668 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 22669 | # in the presentation. There may not be a slide at this index. |
| 22670 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 22671 | # presentation with this ID. A page with this ID may not exist. |
| 22672 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 22673 | # addressed by its position. |
| 22674 | }, |
| 22675 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 22676 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 22677 | # This property is read-only. |
| 22678 | "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. |
| 22679 | # This property is read-only. |
| 22680 | # Image. |
| 22681 | # |
| 22682 | # The crop properties is represented by the offsets of four edges which define |
| 22683 | # a crop rectangle. The offsets are measured in percentage from the |
| 22684 | # corresponding edges of the object's original bounding rectangle towards |
| 22685 | # inside, relative to the object's original dimensions. |
| 22686 | # |
| 22687 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 22688 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 22689 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 22690 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 22691 | # - If the left edge of the crop rectangle is on the right side of its right |
| 22692 | # edge, the object will be flipped horizontally. |
| 22693 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 22694 | # will be flipped vertically. |
| 22695 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 22696 | # |
| 22697 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 22698 | # its container. |
| 22699 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 22700 | # the right of the original bounding rectangle left edge, relative to the |
| 22701 | # object's original width. |
| 22702 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 22703 | # above the original bounding rectangle bottom edge, relative to the object's |
| 22704 | # original height. |
| 22705 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 22706 | # Rotation angle is applied after the offset. |
| 22707 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 22708 | # to the left of the original bounding rectangle right edge, relative to the |
| 22709 | # object's original width. |
| 22710 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 22711 | # below the original bounding rectangle top edge, relative to the object's |
| 22712 | # original height. |
| 22713 | }, |
| 22714 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 22715 | # is read-only. |
| 22716 | # |
| 22717 | # If these fields are unset, they may be inherited from a parent placeholder |
| 22718 | # if it exists. If there is no parent, the fields will default to the value |
| 22719 | # used for new page elements created in the Slides editor, which may depend on |
| 22720 | # the page element kind. |
| 22721 | "color": { # A themeable solid color value. # The shadow color value. |
| 22722 | "themeColor": "A String", # An opaque theme color. |
| 22723 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 22724 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22725 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22726 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22727 | }, |
| 22728 | }, |
| 22729 | "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, |
| 22730 | # relative to the alignment position. |
| 22731 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 22732 | # according to: |
| 22733 | # |
| 22734 | # x' x = shear_y scale_y translate_y |
| 22735 | # 1 [ 1 ] |
| 22736 | # |
| 22737 | # After transformation, |
| 22738 | # |
| 22739 | # x' = scale_x * x + shear_x * y + translate_x; |
| 22740 | # y' = scale_y * y + shear_y * x + translate_y; |
| 22741 | # |
| 22742 | # This message is therefore composed of these six matrix elements. |
| 22743 | "translateX": 3.14, # The X coordinate translation element. |
| 22744 | "translateY": 3.14, # The Y coordinate translation element. |
| 22745 | "scaleX": 3.14, # The X coordinate scaling element. |
| 22746 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 22747 | "shearY": 3.14, # The Y coordinate shearing element. |
| 22748 | "shearX": 3.14, # The X coordinate shearing element. |
| 22749 | "unit": "A String", # The units for translate elements. |
| 22750 | }, |
| 22751 | "propertyState": "A String", # The shadow property state. |
| 22752 | # |
| 22753 | # Updating the shadow on a page element will implicitly update this field to |
| 22754 | # `RENDERED`, unless another value is specified in the same request. To have |
| 22755 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| 22756 | # case, any other shadow fields set in the same request will be ignored. |
| 22757 | "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 |
| 22758 | # shadow becomes. |
| 22759 | "magnitude": 3.14, # The magnitude. |
| 22760 | "unit": "A String", # The units for magnitude. |
| 22761 | }, |
| 22762 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| 22763 | "type": "A String", # The type of the shadow. This property is read-only. |
| 22764 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| 22765 | # scale and skew of the shadow. This property is read-only. |
| 22766 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 22767 | # read-only. |
| 22768 | }, |
| 22769 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 22770 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 22771 | }, |
| 22772 | }, |
| 22773 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 22774 | # embedded. |
| 22775 | }, |
| 22776 | "video": { # A PageElement kind representing a # A video page element. |
| 22777 | # video. |
| 22778 | "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and |
| 22779 | # sharing settings do not change. |
| 22780 | "videoProperties": { # The properties of the Video. # The properties of the video. |
| 22781 | "start": 42, # The time at which to start playback, measured in seconds from the beginning |
| 22782 | # of the video. |
| 22783 | # If set, the start time should be before the end time. |
| 22784 | # If you set this to a value that exceeds the video's length in seconds, the |
| 22785 | # video will be played from the last second. |
| 22786 | # If not set, the video will be played from the beginning. |
| 22787 | "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present |
| 22788 | # mode. Defaults to false. |
| 22789 | "end": 42, # The time at which to end playback, measured in seconds from the beginning |
| 22790 | # of the video. |
| 22791 | # If set, the end time should be after the start time. |
| 22792 | # If not set or if you set this to a value that exceeds the video's length, |
| 22793 | # the video will be played until its end. |
| 22794 | "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new |
| 22795 | # videos created in the Slides editor. |
| 22796 | # |
| 22797 | # If these fields are unset, they may be inherited from a parent placeholder |
| 22798 | # if it exists. If there is no parent, the fields will default to the value |
| 22799 | # used for new page elements created in the Slides editor, which may depend on |
| 22800 | # the page element kind. |
| 22801 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 22802 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 22803 | # specified color value. |
| 22804 | # |
| 22805 | # If any field is unset, its value may be inherited from a parent placeholder |
| 22806 | # if it exists. |
| 22807 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 22808 | "themeColor": "A String", # An opaque theme color. |
| 22809 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 22810 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22811 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22812 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22813 | }, |
| 22814 | }, |
| 22815 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 22816 | # That is, the final pixel color is defined by the equation: |
| 22817 | # |
| 22818 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 22819 | # |
| 22820 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 22821 | # a value of 0.0 corresponds to a completely transparent color. |
| 22822 | }, |
| 22823 | }, |
| 22824 | "propertyState": "A String", # The outline property state. |
| 22825 | # |
| 22826 | # Updating the outline on a page element will implicitly update this field |
| 22827 | # to `RENDERED`, unless another value is specified in the same request. To |
| 22828 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 22829 | # this case, any other outline fields set in the same request will be |
| 22830 | # ignored. |
| 22831 | "dashStyle": "A String", # The dash style of the outline. |
| 22832 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 22833 | "magnitude": 3.14, # The magnitude. |
| 22834 | "unit": "A String", # The units for magnitude. |
| 22835 | }, |
| 22836 | }, |
| 22837 | "mute": True or False, # Whether to mute the audio during video playback. Defaults to false. |
| 22838 | }, |
| 22839 | "id": "A String", # The video source's unique identifier for this video. |
| 22840 | "source": "A String", # The video source. |
| 22841 | }, |
| 22842 | "table": { # A PageElement kind representing a # A table page element. |
| 22843 | # table. |
| 22844 | "rows": 42, # Number of rows in the table. |
| 22845 | "horizontalBorderRows": [ # Properties of horizontal cell borders. |
| 22846 | # |
| 22847 | # A table's horizontal cell borders are represented as a grid. The grid has |
| 22848 | # one more row than the number of rows in the table and the same number of |
| 22849 | # columns as the table. For example, if the table is 3 x 3, its horizontal |
| 22850 | # borders will be represented as a grid with 4 rows and 3 columns. |
| 22851 | { # Contents of each border row in a table. |
| 22852 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 22853 | # merged, it is not included in the response. |
| 22854 | { # The properties of each border cell. |
| 22855 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 22856 | # TableBorderCell. |
| 22857 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 22858 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 22859 | # specified color value. |
| 22860 | # |
| 22861 | # If any field is unset, its value may be inherited from a parent placeholder |
| 22862 | # if it exists. |
| 22863 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 22864 | "themeColor": "A String", # An opaque theme color. |
| 22865 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 22866 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22867 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22868 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22869 | }, |
| 22870 | }, |
| 22871 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 22872 | # That is, the final pixel color is defined by the equation: |
| 22873 | # |
| 22874 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 22875 | # |
| 22876 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 22877 | # a value of 0.0 corresponds to a completely transparent color. |
| 22878 | }, |
| 22879 | }, |
| 22880 | "dashStyle": "A String", # The dash style of the border. |
| 22881 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 22882 | "magnitude": 3.14, # The magnitude. |
| 22883 | "unit": "A String", # The units for magnitude. |
| 22884 | }, |
| 22885 | }, |
| 22886 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 22887 | "rowIndex": 42, # The 0-based row index. |
| 22888 | "columnIndex": 42, # The 0-based column index. |
| 22889 | }, |
| 22890 | }, |
| 22891 | ], |
| 22892 | }, |
| 22893 | ], |
| 22894 | "verticalBorderRows": [ # Properties of vertical cell borders. |
| 22895 | # |
| 22896 | # A table's vertical cell borders are represented as a grid. The grid has the |
| 22897 | # same number of rows as the table and one more column than the number of |
| 22898 | # columns in the table. For example, if the table is 3 x 3, its vertical |
| 22899 | # borders will be represented as a grid with 3 rows and 4 columns. |
| 22900 | { # Contents of each border row in a table. |
| 22901 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 22902 | # merged, it is not included in the response. |
| 22903 | { # The properties of each border cell. |
| 22904 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 22905 | # TableBorderCell. |
| 22906 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 22907 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 22908 | # specified color value. |
| 22909 | # |
| 22910 | # If any field is unset, its value may be inherited from a parent placeholder |
| 22911 | # if it exists. |
| 22912 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 22913 | "themeColor": "A String", # An opaque theme color. |
| 22914 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 22915 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22916 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22917 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22918 | }, |
| 22919 | }, |
| 22920 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 22921 | # That is, the final pixel color is defined by the equation: |
| 22922 | # |
| 22923 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 22924 | # |
| 22925 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 22926 | # a value of 0.0 corresponds to a completely transparent color. |
| 22927 | }, |
| 22928 | }, |
| 22929 | "dashStyle": "A String", # The dash style of the border. |
| 22930 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 22931 | "magnitude": 3.14, # The magnitude. |
| 22932 | "unit": "A String", # The units for magnitude. |
| 22933 | }, |
| 22934 | }, |
| 22935 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 22936 | "rowIndex": 42, # The 0-based row index. |
| 22937 | "columnIndex": 42, # The 0-based column index. |
| 22938 | }, |
| 22939 | }, |
| 22940 | ], |
| 22941 | }, |
| 22942 | ], |
| 22943 | "tableColumns": [ # Properties of each column. |
| 22944 | { # Properties of each column in a table. |
| 22945 | "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column. |
| 22946 | "magnitude": 3.14, # The magnitude. |
| 22947 | "unit": "A String", # The units for magnitude. |
| 22948 | }, |
| 22949 | }, |
| 22950 | ], |
| 22951 | "tableRows": [ # Properties and contents of each row. |
| 22952 | # |
| 22953 | # Cells that span multiple rows are contained in only one of these rows and |
| 22954 | # have a row_span greater |
| 22955 | # than 1. |
| 22956 | { # Properties and contents of each row in a table. |
| 22957 | "tableCells": [ # Properties and contents of each cell. |
| 22958 | # |
| 22959 | # Cells that span multiple columns are represented only once with a |
| 22960 | # column_span greater |
| 22961 | # than 1. As a result, the length of this collection does not always match |
| 22962 | # the number of columns of the entire table. |
| 22963 | { # Properties and contents of each table cell. |
| 22964 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell. |
| 22965 | # text box or rectangle) or a table cell in a page. |
| 22966 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 22967 | # information. This property is read-only. |
| 22968 | { # A TextElement describes the content of a range of indices in the text content |
| 22969 | # of a Shape or TableCell. |
| 22970 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 22971 | # replaced with content that can change over time. |
| 22972 | "content": "A String", # The rendered content of this auto text, if available. |
| 22973 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 22974 | # |
| 22975 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 22976 | # inherited from the parent. Which text styles are inherited depend on the |
| 22977 | # nesting level of lists: |
| 22978 | # |
| 22979 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 22980 | # from the the newline character in the paragraph at the 0 nesting level of |
| 22981 | # the list inside the parent placeholder. |
| 22982 | # * A text run in a paragraph that is in a list will inherit its text style |
| 22983 | # from the newline character in the paragraph at its corresponding nesting |
| 22984 | # level of the list inside the parent placeholder. |
| 22985 | # |
| 22986 | # Inherited text styles are represented as unset fields in this message. If |
| 22987 | # text is contained in a shape without a parent placeholder, unsetting these |
| 22988 | # fields will revert the style to a value matching the defaults in the Slides |
| 22989 | # editor. |
| 22990 | "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 |
| 22991 | # transparent, depending on if the `opaque_color` field in it is set. |
| 22992 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 22993 | # a transparent color. |
| 22994 | "themeColor": "A String", # An opaque theme color. |
| 22995 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 22996 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22997 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22998 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22999 | }, |
| 23000 | }, |
| 23001 | }, |
| 23002 | "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 |
| 23003 | # transparent, depending on if the `opaque_color` field in it is set. |
| 23004 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 23005 | # a transparent color. |
| 23006 | "themeColor": "A String", # An opaque theme color. |
| 23007 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 23008 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23009 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23010 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23011 | }, |
| 23012 | }, |
| 23013 | }, |
| 23014 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 23015 | # |
| 23016 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 23017 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 23018 | # The `font_size` itself is not affected by changes in this field. |
| 23019 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 23020 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 23021 | # |
| 23022 | # This field is an extension of `font_family` meant to support explicit font |
| 23023 | # weights without breaking backwards compatibility. As such, when reading the |
| 23024 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 23025 | # will always be equal to that of `font_family`. However, when writing, if |
| 23026 | # both fields are included in the field mask (either explicitly or through |
| 23027 | # the wildcard `"*"`), their values are reconciled as follows: |
| 23028 | # |
| 23029 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 23030 | # `font_family` is applied with weight `400` ("normal"). |
| 23031 | # * If both fields are set, the value of `font_family` must match that of |
| 23032 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 23033 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 23034 | # returned. |
| 23035 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 23036 | # family and weight of `weighted_font_family` is applied. |
| 23037 | # * If neither field is set, the font family and weight of the text inherit |
| 23038 | # from the parent. Note that these properties cannot inherit separately |
| 23039 | # from each other. |
| 23040 | # |
| 23041 | # If an update request specifies values for both `weighted_font_family` and |
| 23042 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 23043 | # |
| 23044 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 23045 | # |
| 23046 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 23047 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 23048 | # is returned. |
| 23049 | "fontFamily": "A String", # The font family of the text. |
| 23050 | # |
| 23051 | # The font family can be any font from the Font menu in Slides or from |
| 23052 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 23053 | # unrecognized, the text is rendered in `Arial`. |
| 23054 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 23055 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 23056 | # corresponds to the numerical values described in the CSS 2.1 |
| 23057 | # Specification, |
| 23058 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 23059 | # with non-numerical values disallowed. Weights greater than or equal to |
| 23060 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 23061 | # default value is `400` ("normal"). |
| 23062 | }, |
| 23063 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 23064 | "fontFamily": "A String", # The font family of the text. |
| 23065 | # |
| 23066 | # The font family can be any font from the Font menu in Slides or from |
| 23067 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 23068 | # unrecognized, the text is rendered in `Arial`. |
| 23069 | # |
| 23070 | # Some fonts can affect the weight of the text. If an update request |
| 23071 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 23072 | # `bold` value is used. |
| 23073 | "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 |
| 23074 | # points. |
| 23075 | "magnitude": 3.14, # The magnitude. |
| 23076 | "unit": "A String", # The units for magnitude. |
| 23077 | }, |
| 23078 | "italic": True or False, # Whether or not the text is italicized. |
| 23079 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 23080 | # are not inherited from parent text. |
| 23081 | # |
| 23082 | # Changing the link in an update request causes some other changes to the |
| 23083 | # text style of the range: |
| 23084 | # |
| 23085 | # * When setting a link, the text foreground color will be set to |
| 23086 | # ThemeColorType.HYPERLINK and the text will |
| 23087 | # be underlined. If these fields are modified in the same |
| 23088 | # request, those values will be used instead of the link defaults. |
| 23089 | # * Setting a link on a text range that overlaps with an existing link will |
| 23090 | # also update the existing link to point to the new URL. |
| 23091 | # * Links are not settable on newline characters. As a result, setting a link |
| 23092 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 23093 | # will separate the newline character(s) into their own text runs. The |
| 23094 | # link will be applied separately to the runs before and after the newline. |
| 23095 | # * Removing a link will update the text style of the range to match the |
| 23096 | # style of the preceding text (or the default text styles if the preceding |
| 23097 | # text is another link) unless different styles are being set in the same |
| 23098 | # request. |
| 23099 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 23100 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 23101 | # in the presentation. There may not be a slide at this index. |
| 23102 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 23103 | # presentation with this ID. A page with this ID may not exist. |
| 23104 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 23105 | # addressed by its position. |
| 23106 | }, |
| 23107 | "underline": True or False, # Whether or not the text is underlined. |
| 23108 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 23109 | }, |
| 23110 | "type": "A String", # The type of this auto text. |
| 23111 | }, |
| 23112 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 23113 | # units. |
| 23114 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 23115 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 23116 | # |
| 23117 | # The `start_index` and `end_index` of this TextElement represent the |
| 23118 | # range of the paragraph. Other TextElements with an index range contained |
| 23119 | # inside this paragraph's range are considered to be part of this |
| 23120 | # paragraph. The range of indices of two separate paragraphs will never |
| 23121 | # overlap. |
| 23122 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 23123 | # |
| 23124 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 23125 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 23126 | # nesting level of lists: |
| 23127 | # |
| 23128 | # * A paragraph not in a list will inherit its paragraph style from the |
| 23129 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 23130 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 23131 | # at its corresponding nesting level of the list inside the parent |
| 23132 | # placeholder. |
| 23133 | # |
| 23134 | # Inherited paragraph styles are represented as unset fields in this message. |
| 23135 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 23136 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 23137 | # LEFT_TO_RIGHT since |
| 23138 | # text direction is not inherited. |
| 23139 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 23140 | # inherited from the parent. |
| 23141 | "magnitude": 3.14, # The magnitude. |
| 23142 | "unit": "A String", # The units for magnitude. |
| 23143 | }, |
| 23144 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 23145 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 23146 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 23147 | # the start of the text, based on the current text direction. If unset, the |
| 23148 | # value is inherited from the parent. |
| 23149 | "magnitude": 3.14, # The magnitude. |
| 23150 | "unit": "A String", # The units for magnitude. |
| 23151 | }, |
| 23152 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 23153 | # inherited from the parent. |
| 23154 | "magnitude": 3.14, # The magnitude. |
| 23155 | "unit": "A String", # The units for magnitude. |
| 23156 | }, |
| 23157 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 23158 | # the end of the text, based on the current text direction. If unset, the |
| 23159 | # value is inherited from the parent. |
| 23160 | "magnitude": 3.14, # The magnitude. |
| 23161 | "unit": "A String", # The units for magnitude. |
| 23162 | }, |
| 23163 | "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. |
| 23164 | # If unset, the value is inherited from the parent. |
| 23165 | "magnitude": 3.14, # The magnitude. |
| 23166 | "unit": "A String", # The units for magnitude. |
| 23167 | }, |
| 23168 | "alignment": "A String", # The text alignment for this paragraph. |
| 23169 | }, |
| 23170 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 23171 | # belong to a list. |
| 23172 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 23173 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 23174 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 23175 | # |
| 23176 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 23177 | # inherited from the parent. Which text styles are inherited depend on the |
| 23178 | # nesting level of lists: |
| 23179 | # |
| 23180 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 23181 | # from the the newline character in the paragraph at the 0 nesting level of |
| 23182 | # the list inside the parent placeholder. |
| 23183 | # * A text run in a paragraph that is in a list will inherit its text style |
| 23184 | # from the newline character in the paragraph at its corresponding nesting |
| 23185 | # level of the list inside the parent placeholder. |
| 23186 | # |
| 23187 | # Inherited text styles are represented as unset fields in this message. If |
| 23188 | # text is contained in a shape without a parent placeholder, unsetting these |
| 23189 | # fields will revert the style to a value matching the defaults in the Slides |
| 23190 | # editor. |
| 23191 | "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 |
| 23192 | # transparent, depending on if the `opaque_color` field in it is set. |
| 23193 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 23194 | # a transparent color. |
| 23195 | "themeColor": "A String", # An opaque theme color. |
| 23196 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 23197 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23198 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23199 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23200 | }, |
| 23201 | }, |
| 23202 | }, |
| 23203 | "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 |
| 23204 | # transparent, depending on if the `opaque_color` field in it is set. |
| 23205 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 23206 | # a transparent color. |
| 23207 | "themeColor": "A String", # An opaque theme color. |
| 23208 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 23209 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23210 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23211 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23212 | }, |
| 23213 | }, |
| 23214 | }, |
| 23215 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 23216 | # |
| 23217 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 23218 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 23219 | # The `font_size` itself is not affected by changes in this field. |
| 23220 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 23221 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 23222 | # |
| 23223 | # This field is an extension of `font_family` meant to support explicit font |
| 23224 | # weights without breaking backwards compatibility. As such, when reading the |
| 23225 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 23226 | # will always be equal to that of `font_family`. However, when writing, if |
| 23227 | # both fields are included in the field mask (either explicitly or through |
| 23228 | # the wildcard `"*"`), their values are reconciled as follows: |
| 23229 | # |
| 23230 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 23231 | # `font_family` is applied with weight `400` ("normal"). |
| 23232 | # * If both fields are set, the value of `font_family` must match that of |
| 23233 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 23234 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 23235 | # returned. |
| 23236 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 23237 | # family and weight of `weighted_font_family` is applied. |
| 23238 | # * If neither field is set, the font family and weight of the text inherit |
| 23239 | # from the parent. Note that these properties cannot inherit separately |
| 23240 | # from each other. |
| 23241 | # |
| 23242 | # If an update request specifies values for both `weighted_font_family` and |
| 23243 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 23244 | # |
| 23245 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 23246 | # |
| 23247 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 23248 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 23249 | # is returned. |
| 23250 | "fontFamily": "A String", # The font family of the text. |
| 23251 | # |
| 23252 | # The font family can be any font from the Font menu in Slides or from |
| 23253 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 23254 | # unrecognized, the text is rendered in `Arial`. |
| 23255 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 23256 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 23257 | # corresponds to the numerical values described in the CSS 2.1 |
| 23258 | # Specification, |
| 23259 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 23260 | # with non-numerical values disallowed. Weights greater than or equal to |
| 23261 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 23262 | # default value is `400` ("normal"). |
| 23263 | }, |
| 23264 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 23265 | "fontFamily": "A String", # The font family of the text. |
| 23266 | # |
| 23267 | # The font family can be any font from the Font menu in Slides or from |
| 23268 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 23269 | # unrecognized, the text is rendered in `Arial`. |
| 23270 | # |
| 23271 | # Some fonts can affect the weight of the text. If an update request |
| 23272 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 23273 | # `bold` value is used. |
| 23274 | "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 |
| 23275 | # points. |
| 23276 | "magnitude": 3.14, # The magnitude. |
| 23277 | "unit": "A String", # The units for magnitude. |
| 23278 | }, |
| 23279 | "italic": True or False, # Whether or not the text is italicized. |
| 23280 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 23281 | # are not inherited from parent text. |
| 23282 | # |
| 23283 | # Changing the link in an update request causes some other changes to the |
| 23284 | # text style of the range: |
| 23285 | # |
| 23286 | # * When setting a link, the text foreground color will be set to |
| 23287 | # ThemeColorType.HYPERLINK and the text will |
| 23288 | # be underlined. If these fields are modified in the same |
| 23289 | # request, those values will be used instead of the link defaults. |
| 23290 | # * Setting a link on a text range that overlaps with an existing link will |
| 23291 | # also update the existing link to point to the new URL. |
| 23292 | # * Links are not settable on newline characters. As a result, setting a link |
| 23293 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 23294 | # will separate the newline character(s) into their own text runs. The |
| 23295 | # link will be applied separately to the runs before and after the newline. |
| 23296 | # * Removing a link will update the text style of the range to match the |
| 23297 | # style of the preceding text (or the default text styles if the preceding |
| 23298 | # text is another link) unless different styles are being set in the same |
| 23299 | # request. |
| 23300 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 23301 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 23302 | # in the presentation. There may not be a slide at this index. |
| 23303 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 23304 | # presentation with this ID. A page with this ID may not exist. |
| 23305 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 23306 | # addressed by its position. |
| 23307 | }, |
| 23308 | "underline": True or False, # Whether or not the text is underlined. |
| 23309 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 23310 | }, |
| 23311 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 23312 | }, |
| 23313 | }, |
| 23314 | "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 |
| 23315 | # in the run have the same TextStyle. |
| 23316 | # |
| 23317 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 23318 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 23319 | # In other words, a TextRun will never span multiple paragraphs. |
| 23320 | # styling. |
| 23321 | "content": "A String", # The text of this run. |
| 23322 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 23323 | # |
| 23324 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 23325 | # inherited from the parent. Which text styles are inherited depend on the |
| 23326 | # nesting level of lists: |
| 23327 | # |
| 23328 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 23329 | # from the the newline character in the paragraph at the 0 nesting level of |
| 23330 | # the list inside the parent placeholder. |
| 23331 | # * A text run in a paragraph that is in a list will inherit its text style |
| 23332 | # from the newline character in the paragraph at its corresponding nesting |
| 23333 | # level of the list inside the parent placeholder. |
| 23334 | # |
| 23335 | # Inherited text styles are represented as unset fields in this message. If |
| 23336 | # text is contained in a shape without a parent placeholder, unsetting these |
| 23337 | # fields will revert the style to a value matching the defaults in the Slides |
| 23338 | # editor. |
| 23339 | "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 |
| 23340 | # transparent, depending on if the `opaque_color` field in it is set. |
| 23341 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 23342 | # a transparent color. |
| 23343 | "themeColor": "A String", # An opaque theme color. |
| 23344 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 23345 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23346 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23347 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23348 | }, |
| 23349 | }, |
| 23350 | }, |
| 23351 | "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 |
| 23352 | # transparent, depending on if the `opaque_color` field in it is set. |
| 23353 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 23354 | # a transparent color. |
| 23355 | "themeColor": "A String", # An opaque theme color. |
| 23356 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 23357 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23358 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23359 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23360 | }, |
| 23361 | }, |
| 23362 | }, |
| 23363 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 23364 | # |
| 23365 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 23366 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 23367 | # The `font_size` itself is not affected by changes in this field. |
| 23368 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 23369 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 23370 | # |
| 23371 | # This field is an extension of `font_family` meant to support explicit font |
| 23372 | # weights without breaking backwards compatibility. As such, when reading the |
| 23373 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 23374 | # will always be equal to that of `font_family`. However, when writing, if |
| 23375 | # both fields are included in the field mask (either explicitly or through |
| 23376 | # the wildcard `"*"`), their values are reconciled as follows: |
| 23377 | # |
| 23378 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 23379 | # `font_family` is applied with weight `400` ("normal"). |
| 23380 | # * If both fields are set, the value of `font_family` must match that of |
| 23381 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 23382 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 23383 | # returned. |
| 23384 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 23385 | # family and weight of `weighted_font_family` is applied. |
| 23386 | # * If neither field is set, the font family and weight of the text inherit |
| 23387 | # from the parent. Note that these properties cannot inherit separately |
| 23388 | # from each other. |
| 23389 | # |
| 23390 | # If an update request specifies values for both `weighted_font_family` and |
| 23391 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 23392 | # |
| 23393 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 23394 | # |
| 23395 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 23396 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 23397 | # is returned. |
| 23398 | "fontFamily": "A String", # The font family of the text. |
| 23399 | # |
| 23400 | # The font family can be any font from the Font menu in Slides or from |
| 23401 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 23402 | # unrecognized, the text is rendered in `Arial`. |
| 23403 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 23404 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 23405 | # corresponds to the numerical values described in the CSS 2.1 |
| 23406 | # Specification, |
| 23407 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 23408 | # with non-numerical values disallowed. Weights greater than or equal to |
| 23409 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 23410 | # default value is `400` ("normal"). |
| 23411 | }, |
| 23412 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 23413 | "fontFamily": "A String", # The font family of the text. |
| 23414 | # |
| 23415 | # The font family can be any font from the Font menu in Slides or from |
| 23416 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 23417 | # unrecognized, the text is rendered in `Arial`. |
| 23418 | # |
| 23419 | # Some fonts can affect the weight of the text. If an update request |
| 23420 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 23421 | # `bold` value is used. |
| 23422 | "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 |
| 23423 | # points. |
| 23424 | "magnitude": 3.14, # The magnitude. |
| 23425 | "unit": "A String", # The units for magnitude. |
| 23426 | }, |
| 23427 | "italic": True or False, # Whether or not the text is italicized. |
| 23428 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 23429 | # are not inherited from parent text. |
| 23430 | # |
| 23431 | # Changing the link in an update request causes some other changes to the |
| 23432 | # text style of the range: |
| 23433 | # |
| 23434 | # * When setting a link, the text foreground color will be set to |
| 23435 | # ThemeColorType.HYPERLINK and the text will |
| 23436 | # be underlined. If these fields are modified in the same |
| 23437 | # request, those values will be used instead of the link defaults. |
| 23438 | # * Setting a link on a text range that overlaps with an existing link will |
| 23439 | # also update the existing link to point to the new URL. |
| 23440 | # * Links are not settable on newline characters. As a result, setting a link |
| 23441 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 23442 | # will separate the newline character(s) into their own text runs. The |
| 23443 | # link will be applied separately to the runs before and after the newline. |
| 23444 | # * Removing a link will update the text style of the range to match the |
| 23445 | # style of the preceding text (or the default text styles if the preceding |
| 23446 | # text is another link) unless different styles are being set in the same |
| 23447 | # request. |
| 23448 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 23449 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 23450 | # in the presentation. There may not be a slide at this index. |
| 23451 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 23452 | # presentation with this ID. A page with this ID may not exist. |
| 23453 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 23454 | # addressed by its position. |
| 23455 | }, |
| 23456 | "underline": True or False, # Whether or not the text is underlined. |
| 23457 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 23458 | }, |
| 23459 | }, |
| 23460 | }, |
| 23461 | ], |
| 23462 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 23463 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 23464 | # associated with a list. A paragraph that is part of a list has an implicit |
| 23465 | # reference to that list's ID. |
| 23466 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 23467 | # level. A list has at most nine levels of nesting, so the possible values |
| 23468 | # for the keys of this map are 0 through 8, inclusive. |
| 23469 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 23470 | # level of nesting. |
| 23471 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 23472 | # |
| 23473 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 23474 | # inherited from the parent. Which text styles are inherited depend on the |
| 23475 | # nesting level of lists: |
| 23476 | # |
| 23477 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 23478 | # from the the newline character in the paragraph at the 0 nesting level of |
| 23479 | # the list inside the parent placeholder. |
| 23480 | # * A text run in a paragraph that is in a list will inherit its text style |
| 23481 | # from the newline character in the paragraph at its corresponding nesting |
| 23482 | # level of the list inside the parent placeholder. |
| 23483 | # |
| 23484 | # Inherited text styles are represented as unset fields in this message. If |
| 23485 | # text is contained in a shape without a parent placeholder, unsetting these |
| 23486 | # fields will revert the style to a value matching the defaults in the Slides |
| 23487 | # editor. |
| 23488 | "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 |
| 23489 | # transparent, depending on if the `opaque_color` field in it is set. |
| 23490 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 23491 | # a transparent color. |
| 23492 | "themeColor": "A String", # An opaque theme color. |
| 23493 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 23494 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23495 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23496 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23497 | }, |
| 23498 | }, |
| 23499 | }, |
| 23500 | "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 |
| 23501 | # transparent, depending on if the `opaque_color` field in it is set. |
| 23502 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 23503 | # a transparent color. |
| 23504 | "themeColor": "A String", # An opaque theme color. |
| 23505 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 23506 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23507 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23508 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23509 | }, |
| 23510 | }, |
| 23511 | }, |
| 23512 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 23513 | # |
| 23514 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 23515 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 23516 | # The `font_size` itself is not affected by changes in this field. |
| 23517 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 23518 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 23519 | # |
| 23520 | # This field is an extension of `font_family` meant to support explicit font |
| 23521 | # weights without breaking backwards compatibility. As such, when reading the |
| 23522 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 23523 | # will always be equal to that of `font_family`. However, when writing, if |
| 23524 | # both fields are included in the field mask (either explicitly or through |
| 23525 | # the wildcard `"*"`), their values are reconciled as follows: |
| 23526 | # |
| 23527 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 23528 | # `font_family` is applied with weight `400` ("normal"). |
| 23529 | # * If both fields are set, the value of `font_family` must match that of |
| 23530 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 23531 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 23532 | # returned. |
| 23533 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 23534 | # family and weight of `weighted_font_family` is applied. |
| 23535 | # * If neither field is set, the font family and weight of the text inherit |
| 23536 | # from the parent. Note that these properties cannot inherit separately |
| 23537 | # from each other. |
| 23538 | # |
| 23539 | # If an update request specifies values for both `weighted_font_family` and |
| 23540 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 23541 | # |
| 23542 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 23543 | # |
| 23544 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 23545 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 23546 | # is returned. |
| 23547 | "fontFamily": "A String", # The font family of the text. |
| 23548 | # |
| 23549 | # The font family can be any font from the Font menu in Slides or from |
| 23550 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 23551 | # unrecognized, the text is rendered in `Arial`. |
| 23552 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 23553 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 23554 | # corresponds to the numerical values described in the CSS 2.1 |
| 23555 | # Specification, |
| 23556 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 23557 | # with non-numerical values disallowed. Weights greater than or equal to |
| 23558 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 23559 | # default value is `400` ("normal"). |
| 23560 | }, |
| 23561 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 23562 | "fontFamily": "A String", # The font family of the text. |
| 23563 | # |
| 23564 | # The font family can be any font from the Font menu in Slides or from |
| 23565 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 23566 | # unrecognized, the text is rendered in `Arial`. |
| 23567 | # |
| 23568 | # Some fonts can affect the weight of the text. If an update request |
| 23569 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 23570 | # `bold` value is used. |
| 23571 | "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 |
| 23572 | # points. |
| 23573 | "magnitude": 3.14, # The magnitude. |
| 23574 | "unit": "A String", # The units for magnitude. |
| 23575 | }, |
| 23576 | "italic": True or False, # Whether or not the text is italicized. |
| 23577 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 23578 | # are not inherited from parent text. |
| 23579 | # |
| 23580 | # Changing the link in an update request causes some other changes to the |
| 23581 | # text style of the range: |
| 23582 | # |
| 23583 | # * When setting a link, the text foreground color will be set to |
| 23584 | # ThemeColorType.HYPERLINK and the text will |
| 23585 | # be underlined. If these fields are modified in the same |
| 23586 | # request, those values will be used instead of the link defaults. |
| 23587 | # * Setting a link on a text range that overlaps with an existing link will |
| 23588 | # also update the existing link to point to the new URL. |
| 23589 | # * Links are not settable on newline characters. As a result, setting a link |
| 23590 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 23591 | # will separate the newline character(s) into their own text runs. The |
| 23592 | # link will be applied separately to the runs before and after the newline. |
| 23593 | # * Removing a link will update the text style of the range to match the |
| 23594 | # style of the preceding text (or the default text styles if the preceding |
| 23595 | # text is another link) unless different styles are being set in the same |
| 23596 | # request. |
| 23597 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 23598 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 23599 | # in the presentation. There may not be a slide at this index. |
| 23600 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 23601 | # presentation with this ID. A page with this ID may not exist. |
| 23602 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 23603 | # addressed by its position. |
| 23604 | }, |
| 23605 | "underline": True or False, # Whether or not the text is underlined. |
| 23606 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 23607 | }, |
| 23608 | }, |
| 23609 | }, |
| 23610 | "listId": "A String", # The ID of the list. |
| 23611 | }, |
| 23612 | }, |
| 23613 | }, |
| 23614 | "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell. |
| 23615 | "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill |
| 23616 | # for newly created table cells in the Slides editor. |
| 23617 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 23618 | # specified color value. |
| 23619 | # |
| 23620 | # If any field is unset, its value may be inherited from a parent placeholder |
| 23621 | # if it exists. |
| 23622 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 23623 | "themeColor": "A String", # An opaque theme color. |
| 23624 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 23625 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23626 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23627 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23628 | }, |
| 23629 | }, |
| 23630 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 23631 | # That is, the final pixel color is defined by the equation: |
| 23632 | # |
| 23633 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 23634 | # |
| 23635 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 23636 | # a value of 0.0 corresponds to a completely transparent color. |
| 23637 | }, |
| 23638 | "propertyState": "A String", # The background fill property state. |
| 23639 | # |
| 23640 | # Updating the fill on a table cell will implicitly update this field |
| 23641 | # to `RENDERED`, unless another value is specified in the same request. To |
| 23642 | # have no fill on a table cell, set this field to `NOT_RENDERED`. In this |
| 23643 | # case, any other fill fields set in the same request will be ignored. |
| 23644 | }, |
| 23645 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 23646 | # matches the alignment for newly created table cells in the Slides editor. |
| 23647 | }, |
| 23648 | "rowSpan": 42, # Row span of the cell. |
| 23649 | "columnSpan": 42, # Column span of the cell. |
| 23650 | "location": { # A location of a single table cell within a table. # The location of the cell within the table. |
| 23651 | "rowIndex": 42, # The 0-based row index. |
| 23652 | "columnIndex": 42, # The 0-based column index. |
| 23653 | }, |
| 23654 | }, |
| 23655 | ], |
| 23656 | "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row. |
| 23657 | "magnitude": 3.14, # The magnitude. |
| 23658 | "unit": "A String", # The units for magnitude. |
| 23659 | }, |
| 23660 | "tableRowProperties": { # Properties of each row in a table. # Properties of the row. |
| 23661 | "minRowHeight": { # A magnitude in a single direction in the specified units. # Minimum height of the row. The row will be rendered in the Slides editor at |
| 23662 | # a height equal to or greater than this value in order to show all the text |
| 23663 | # in the row's cell(s). |
| 23664 | "magnitude": 3.14, # The magnitude. |
| 23665 | "unit": "A String", # The units for magnitude. |
| 23666 | }, |
| 23667 | }, |
| 23668 | }, |
| 23669 | ], |
| 23670 | "columns": 42, # Number of columns in the table. |
| 23671 | }, |
| 23672 | "line": { # A PageElement kind representing a # A line page element. |
| 23673 | # non-connector line, straight connector, curved connector, or bent connector. |
| 23674 | "lineCategory": "A String", # The category of the line. |
| 23675 | # |
| 23676 | # It matches the `category` specified in CreateLineRequest, and can be updated with |
| 23677 | # UpdateLineCategoryRequest. |
| 23678 | "lineProperties": { # The properties of the Line. # The properties of the line. |
| 23679 | # |
| 23680 | # When unset, these fields default to values that match the appearance of |
| 23681 | # new lines created in the Slides editor. |
| 23682 | "dashStyle": "A String", # The dash style of the line. |
| 23683 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line. |
| 23684 | "magnitude": 3.14, # The magnitude. |
| 23685 | "unit": "A String", # The units for magnitude. |
| 23686 | }, |
| 23687 | "endArrow": "A String", # The style of the arrow at the end of the line. |
| 23688 | "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link. |
| 23689 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 23690 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 23691 | # in the presentation. There may not be a slide at this index. |
| 23692 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 23693 | # presentation with this ID. A page with this ID may not exist. |
| 23694 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 23695 | # addressed by its position. |
| 23696 | }, |
| 23697 | "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new |
| 23698 | # lines created in the Slides editor. |
| 23699 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 23700 | # specified color value. |
| 23701 | # |
| 23702 | # If any field is unset, its value may be inherited from a parent placeholder |
| 23703 | # if it exists. |
| 23704 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 23705 | "themeColor": "A String", # An opaque theme color. |
| 23706 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 23707 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23708 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23709 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23710 | }, |
| 23711 | }, |
| 23712 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 23713 | # That is, the final pixel color is defined by the equation: |
| 23714 | # |
| 23715 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 23716 | # |
| 23717 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 23718 | # a value of 0.0 corresponds to a completely transparent color. |
| 23719 | }, |
| 23720 | }, |
| 23721 | "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no |
| 23722 | # connection. |
| 23723 | # |
| 23724 | # Only lines with a Type indicating it is |
| 23725 | # a "connector" can have a `start_connection`. |
| 23726 | # connection. |
| 23727 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 23728 | # |
| 23729 | # In most cases, it corresponds to the predefined connection site index from |
| 23730 | # the ECMA-376 standard. More information on those connection sites can be |
| 23731 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 23732 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 23733 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 23734 | # [ECMA-376 5th edition] |
| 23735 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 23736 | # |
| 23737 | # The position of each connection site can also be viewed from Slides editor. |
| 23738 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 23739 | # |
| 23740 | # Some page elements, such as groups, tables, and lines |
| 23741 | # do not have connection sites and therefore cannot be connected to a |
| 23742 | # connector line. |
| 23743 | }, |
| 23744 | "endConnection": { # The properties for one end of a Line # The connection at the end of the line. If unset, there is no connection. |
| 23745 | # |
| 23746 | # Only lines with a Type indicating it is |
| 23747 | # a "connector" can have an `end_connection`. |
| 23748 | # connection. |
| 23749 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 23750 | # |
| 23751 | # In most cases, it corresponds to the predefined connection site index from |
| 23752 | # the ECMA-376 standard. More information on those connection sites can be |
| 23753 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 23754 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 23755 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 23756 | # [ECMA-376 5th edition] |
| 23757 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 23758 | # |
| 23759 | # The position of each connection site can also be viewed from Slides editor. |
| 23760 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 23761 | # |
| 23762 | # Some page elements, such as groups, tables, and lines |
| 23763 | # do not have connection sites and therefore cannot be connected to a |
| 23764 | # connector line. |
| 23765 | }, |
| 23766 | "startArrow": "A String", # The style of the arrow at the beginning of the line. |
| 23767 | }, |
| 23768 | "lineType": "A String", # The type of the line. |
| 23769 | }, |
| 23770 | "size": { # A width and height. # The size of the page element. |
| 23771 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 23772 | "magnitude": 3.14, # The magnitude. |
| 23773 | "unit": "A String", # The units for magnitude. |
| 23774 | }, |
| 23775 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 23776 | "magnitude": 3.14, # The magnitude. |
| 23777 | "unit": "A String", # The units for magnitude. |
| 23778 | }, |
| 23779 | }, |
| 23780 | "description": "A String", # The description of the page element. Combined with title to display alt |
| 23781 | # text. |
| 23782 | }, |
| 23783 | ], |
| 23784 | "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES. |
| 23785 | # relevant for pages with page_type NOTES. |
| 23786 | "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker |
| 23787 | # notes for the corresponding slide. |
| 23788 | # The actual shape may not always exist on the notes page. Inserting text |
| 23789 | # using this object ID will automatically create the shape. In this case, the |
| 23790 | # actual shape may have different object ID. The `GetPresentation` or |
| 23791 | # `GetPage` action will always return the latest object ID. |
| 23792 | }, |
| 23793 | "objectId": "A String", # The object ID for this page. Object IDs used by |
| 23794 | # Page and |
| 23795 | # PageElement share the same namespace. |
| 23796 | "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in |
| 23797 | # update requests to assert that the presentation revision hasn't changed |
| 23798 | # since the last read operation. Only populated if the user has edit access |
| 23799 | # to the presentation. |
| 23800 | # |
| 23801 | # The format of the revision ID may change over time, so it should be treated |
| 23802 | # opaquely. A returned revision ID is only guaranteed to be valid for 24 |
| 23803 | # hours after it has been returned and cannot be shared across users. If the |
| 23804 | # revision ID is unchanged between calls, then the presentation has not |
| 23805 | # changed. Conversely, a changed ID (for the same presentation and user) |
| 23806 | # usually means the presentation has been updated; however, a changed ID can |
| 23807 | # also be due to internal factors such as ID format changes. |
| 23808 | "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER. |
| 23809 | # relevant for pages with page_type MASTER. |
| 23810 | "displayName": "A String", # The human-readable name of the master. |
| 23811 | }, |
| 23812 | "pageProperties": { # The properties of the Page. # The properties of the page. |
| 23813 | # |
| 23814 | # The page will inherit properties from the parent page. Depending on the page |
| 23815 | # type the hierarchy is defined in either |
| 23816 | # SlideProperties or |
| 23817 | # LayoutProperties. |
| 23818 | "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited |
| 23819 | # from a parent page if it exists. If the page has no parent, then the |
| 23820 | # background fill defaults to the corresponding fill in the Slides editor. |
| 23821 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 23822 | # specified color value. |
| 23823 | # |
| 23824 | # If any field is unset, its value may be inherited from a parent placeholder |
| 23825 | # if it exists. |
| 23826 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 23827 | "themeColor": "A String", # An opaque theme color. |
| 23828 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 23829 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23830 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23831 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23832 | }, |
| 23833 | }, |
| 23834 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 23835 | # That is, the final pixel color is defined by the equation: |
| 23836 | # |
| 23837 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 23838 | # |
| 23839 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 23840 | # a value of 0.0 corresponds to a completely transparent color. |
| 23841 | }, |
| 23842 | "propertyState": "A String", # The background fill property state. |
| 23843 | # |
| 23844 | # Updating the fill on a page will implicitly update this field to |
| 23845 | # `RENDERED`, unless another value is specified in the same request. To |
| 23846 | # have no fill on a page, set this field to `NOT_RENDERED`. In this case, |
| 23847 | # any other fill fields set in the same request will be ignored. |
| 23848 | "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill. |
| 23849 | # the specified picture. The picture is stretched to fit its container. |
| 23850 | "contentUrl": "A String", # Reading the content_url: |
| 23851 | # |
| 23852 | # An URL to a picture with a default lifetime of 30 minutes. |
| 23853 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 23854 | # effectively accesses the picture as the original requester. Access to the |
| 23855 | # picture may be lost if the presentation's sharing settings change. |
| 23856 | # |
| 23857 | # Writing the content_url: |
| 23858 | # |
| 23859 | # The picture is fetched once at insertion time and a copy is stored for |
| 23860 | # display inside the presentation. Pictures must be less than 50MB in size, |
| 23861 | # cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF |
| 23862 | # format. |
| 23863 | # |
| 23864 | # The provided URL can be at most 2 kB in length. |
| 23865 | "size": { # A width and height. # The original size of the picture fill. This field is read-only. |
| 23866 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 23867 | "magnitude": 3.14, # The magnitude. |
| 23868 | "unit": "A String", # The units for magnitude. |
| 23869 | }, |
| 23870 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 23871 | "magnitude": 3.14, # The magnitude. |
| 23872 | "unit": "A String", # The units for magnitude. |
| 23873 | }, |
| 23874 | }, |
| 23875 | }, |
| 23876 | }, |
| 23877 | "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from |
| 23878 | # a parent page. If the page has no parent, the color scheme uses a default |
| 23879 | # Slides color scheme. This field is read-only. |
| 23880 | "colors": [ # The ThemeColorType and corresponding concrete color pairs. |
| 23881 | { # A pair mapping a theme color type to the concrete color it represents. |
| 23882 | "color": { # An RGB color. # The concrete color corresponding to the theme color type above. |
| 23883 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23884 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23885 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23886 | }, |
| 23887 | "type": "A String", # The type of the theme color. |
| 23888 | }, |
| 23889 | ], |
| 23890 | }, |
| 23891 | }, |
| 23892 | "pageType": "A String", # The type of the page. |
| 23893 | "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE. |
| 23894 | # relevant for pages with page_type SLIDE. |
| 23895 | "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual |
| 23896 | # appearance of a notes page when printing or exporting slides with speaker |
| 23897 | # notes. A notes page inherits properties from the |
| 23898 | # notes master. |
| 23899 | # The placeholder shape with type BODY on the notes page contains the speaker |
| 23900 | # notes for this slide. The ID of this shape is identified by the |
| 23901 | # speakerNotesObjectId field. |
| 23902 | # The notes page is read-only except for the text content and styles of the |
| 23903 | # speaker notes shape. This property is read-only. |
| 23904 | "masterObjectId": "A String", # The object ID of the master that this slide is based on. This property is |
| 23905 | # read-only. |
| 23906 | "layoutObjectId": "A String", # The object ID of the layout that this slide is based on. This property is |
| 23907 | # read-only. |
| 23908 | }, |
| 23909 | }, |
| 23910 | ], |
| 23911 | "pageSize": { # A width and height. # The size of pages in the presentation. |
| 23912 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 23913 | "magnitude": 3.14, # The magnitude. |
| 23914 | "unit": "A String", # The units for magnitude. |
| 23915 | }, |
| 23916 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 23917 | "magnitude": 3.14, # The magnitude. |
| 23918 | "unit": "A String", # The units for magnitude. |
| 23919 | }, |
| 23920 | }, |
| 23921 | "title": "A String", # The title of the presentation. |
| 23922 | "locale": "A String", # The locale of the presentation, as an IETF BCP 47 language tag. |
| 23923 | "revisionId": "A String", # The revision ID of the presentation. Can be used in update requests |
| 23924 | # to assert that the presentation revision hasn't changed since the last |
| 23925 | # read operation. Only populated if the user has edit access to the |
| 23926 | # presentation. |
| 23927 | # |
| 23928 | # The format of the revision ID may change over time, so it should be treated |
| 23929 | # opaquely. A returned revision ID is only guaranteed to be valid for 24 |
| 23930 | # hours after it has been returned and cannot be shared across users. If the |
| 23931 | # revision ID is unchanged between calls, then the presentation has not |
| 23932 | # changed. Conversely, a changed ID (for the same presentation and user) |
| 23933 | # usually means the presentation has been updated; however, a changed ID can |
| 23934 | # also be due to internal factors such as ID format changes. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 23935 | "notesMaster": { # A page in a presentation. # The notes master in the presentation. It serves three purposes: |
| 23936 | # |
| 23937 | # - Placeholder shapes on a notes master contain the default text styles and |
| 23938 | # shape properties of all placeholder shapes on notes pages. Specifically, |
| 23939 | # a `SLIDE_IMAGE` placeholder shape contains the slide thumbnail, and a |
| 23940 | # `BODY` placeholder shape contains the speaker notes. |
| 23941 | # - The notes master page properties define the common page properties |
| 23942 | # inherited by all notes pages. |
| 23943 | # - Any other shapes on the notes master will appear on all notes pages. |
| 23944 | # |
| 23945 | # The notes master is read-only. |
| 23946 | "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT. |
| 23947 | # relevant for pages with page_type LAYOUT. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 23948 | "displayName": "A String", # The human-readable name of the layout. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 23949 | "name": "A String", # The name of the layout. |
| 23950 | "masterObjectId": "A String", # The object ID of the master that this layout is based on. |
| 23951 | }, |
| 23952 | "pageElements": [ # The page elements rendered on the page. |
| 23953 | { # A visual element rendered on a page. |
| 23954 | "wordArt": { # A PageElement kind representing # A word art page element. |
| 23955 | # word art. |
| 23956 | "renderedText": "A String", # The text rendered as word art. |
| 23957 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 23958 | "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit. |
| 23959 | # joined collection of PageElements. |
| 23960 | "children": [ # The collection of elements in the group. The minimum size of a group is 2. |
| 23961 | # Object with schema name: PageElement |
| 23962 | ], |
| 23963 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 23964 | "objectId": "A String", # The object ID for this page element. Object IDs used by |
| 23965 | # google.apps.slides.v1.Page and |
| 23966 | # google.apps.slides.v1.PageElement share the same namespace. |
| 23967 | "title": "A String", # The title of the page element. Combined with description to display alt |
| 23968 | # text. |
| 23969 | "image": { # A PageElement kind representing an # An image page element. |
| 23970 | # image. |
| 23971 | "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes. |
| 23972 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 23973 | # effectively accesses the image as the original requester. Access to the |
| 23974 | # image may be lost if the presentation's sharing settings change. |
| 23975 | "imageProperties": { # The properties of the Image. # The properties of the image. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 23976 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 23977 | # |
| 23978 | # If these fields are unset, they may be inherited from a parent placeholder |
| 23979 | # if it exists. If there is no parent, the fields will default to the value |
| 23980 | # used for new page elements created in the Slides editor, which may depend on |
| 23981 | # the page element kind. |
| 23982 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 23983 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 23984 | # specified color value. |
| 23985 | # |
| 23986 | # If any field is unset, its value may be inherited from a parent placeholder |
| 23987 | # if it exists. |
| 23988 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 23989 | "themeColor": "A String", # An opaque theme color. |
| 23990 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 23991 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23992 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23993 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23994 | }, |
| 23995 | }, |
| 23996 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 23997 | # That is, the final pixel color is defined by the equation: |
| 23998 | # |
| 23999 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 24000 | # |
| 24001 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 24002 | # a value of 0.0 corresponds to a completely transparent color. |
| 24003 | }, |
| 24004 | }, |
| 24005 | "propertyState": "A String", # The outline property state. |
| 24006 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24007 | # Updating the outline on a page element will implicitly update this field |
| 24008 | # to `RENDERED`, unless another value is specified in the same request. To |
| 24009 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24010 | # this case, any other outline fields set in the same request will be |
| 24011 | # ignored. |
| 24012 | "dashStyle": "A String", # The dash style of the outline. |
| 24013 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 24014 | "magnitude": 3.14, # The magnitude. |
| 24015 | "unit": "A String", # The units for magnitude. |
| 24016 | }, |
| 24017 | }, |
| 24018 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 24019 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 24020 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 24021 | # This property is read-only. |
| 24022 | "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color |
| 24023 | # stops. |
| 24024 | # |
| 24025 | # The colors in the gradient will replace the corresponding colors at |
| 24026 | # the same position in the color palette and apply to the image. This |
| 24027 | # property is read-only. |
| 24028 | { # A color and position in a gradient band. |
| 24029 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 24030 | "themeColor": "A String", # An opaque theme color. |
| 24031 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 24032 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24033 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24034 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24035 | }, |
| 24036 | }, |
| 24037 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 24038 | # fully opaque. |
| 24039 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 24040 | # in percentage. The value should be in the interval [0.0, 1.0]. |
| 24041 | }, |
| 24042 | ], |
| 24043 | "name": "A String", # The name of the recolor effect. |
| 24044 | # |
| 24045 | # The name is determined from the `recolor_stops` by matching the gradient |
| 24046 | # against the colors in the page's current color scheme. This property is |
| 24047 | # read-only. |
| 24048 | }, |
| 24049 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 24050 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 24051 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 24052 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 24053 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 24054 | # presentation with this ID. A page with this ID may not exist. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24055 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 24056 | # addressed by its position. |
| 24057 | }, |
| 24058 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 24059 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 24060 | # This property is read-only. |
| 24061 | "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. |
| 24062 | # This property is read-only. |
| 24063 | # Image. |
| 24064 | # |
| 24065 | # The crop properties is represented by the offsets of four edges which define |
| 24066 | # a crop rectangle. The offsets are measured in percentage from the |
| 24067 | # corresponding edges of the object's original bounding rectangle towards |
| 24068 | # inside, relative to the object's original dimensions. |
| 24069 | # |
| 24070 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 24071 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 24072 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 24073 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 24074 | # - If the left edge of the crop rectangle is on the right side of its right |
| 24075 | # edge, the object will be flipped horizontally. |
| 24076 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 24077 | # will be flipped vertically. |
| 24078 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 24079 | # |
| 24080 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 24081 | # its container. |
| 24082 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 24083 | # the right of the original bounding rectangle left edge, relative to the |
| 24084 | # object's original width. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24085 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 24086 | # above the original bounding rectangle bottom edge, relative to the object's |
| 24087 | # original height. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 24088 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 24089 | # Rotation angle is applied after the offset. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 24090 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 24091 | # to the left of the original bounding rectangle right edge, relative to the |
| 24092 | # object's original width. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 24093 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 24094 | # below the original bounding rectangle top edge, relative to the object's |
| 24095 | # original height. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24096 | }, |
| 24097 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 24098 | # is read-only. |
| 24099 | # |
| 24100 | # If these fields are unset, they may be inherited from a parent placeholder |
| 24101 | # if it exists. If there is no parent, the fields will default to the value |
| 24102 | # used for new page elements created in the Slides editor, which may depend on |
| 24103 | # the page element kind. |
| 24104 | "color": { # A themeable solid color value. # The shadow color value. |
| 24105 | "themeColor": "A String", # An opaque theme color. |
| 24106 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 24107 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24108 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24109 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24110 | }, |
| 24111 | }, |
| 24112 | "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, |
| 24113 | # relative to the alignment position. |
| 24114 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 24115 | # according to: |
| 24116 | # |
| 24117 | # x' x = shear_y scale_y translate_y |
| 24118 | # 1 [ 1 ] |
| 24119 | # |
| 24120 | # After transformation, |
| 24121 | # |
| 24122 | # x' = scale_x * x + shear_x * y + translate_x; |
| 24123 | # y' = scale_y * y + shear_y * x + translate_y; |
| 24124 | # |
| 24125 | # This message is therefore composed of these six matrix elements. |
| 24126 | "translateX": 3.14, # The X coordinate translation element. |
| 24127 | "translateY": 3.14, # The Y coordinate translation element. |
| 24128 | "scaleX": 3.14, # The X coordinate scaling element. |
| 24129 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 24130 | "shearY": 3.14, # The Y coordinate shearing element. |
| 24131 | "shearX": 3.14, # The X coordinate shearing element. |
| 24132 | "unit": "A String", # The units for translate elements. |
| 24133 | }, |
| 24134 | "propertyState": "A String", # The shadow property state. |
| 24135 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24136 | # Updating the shadow on a page element will implicitly update this field to |
| 24137 | # `RENDERED`, unless another value is specified in the same request. To have |
| 24138 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24139 | # case, any other shadow fields set in the same request will be ignored. |
| 24140 | "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 |
| 24141 | # shadow becomes. |
| 24142 | "magnitude": 3.14, # The magnitude. |
| 24143 | "unit": "A String", # The units for magnitude. |
| 24144 | }, |
| 24145 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24146 | "type": "A String", # The type of the shadow. This property is read-only. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24147 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24148 | # scale and skew of the shadow. This property is read-only. |
| 24149 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 24150 | # read-only. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24151 | }, |
| 24152 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 24153 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 24154 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24155 | "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be |
| 24156 | # empty. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24157 | }, |
| 24158 | "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24159 | # |
| 24160 | # The visual appearance of the page element is determined by its absolute |
| 24161 | # transform. To compute the absolute transform, preconcatenate a page |
| 24162 | # element's transform with the transforms of all of its parent groups. If the |
| 24163 | # page element is not in a group, its absolute transform is the same as the |
| 24164 | # value in this field. |
| 24165 | # |
| 24166 | # The initial transform for the newly created Group is always the identity transform. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24167 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 24168 | # according to: |
| 24169 | # |
| 24170 | # x' x = shear_y scale_y translate_y |
| 24171 | # 1 [ 1 ] |
| 24172 | # |
| 24173 | # After transformation, |
| 24174 | # |
| 24175 | # x' = scale_x * x + shear_x * y + translate_x; |
| 24176 | # y' = scale_y * y + shear_y * x + translate_y; |
| 24177 | # |
| 24178 | # This message is therefore composed of these six matrix elements. |
| 24179 | "translateX": 3.14, # The X coordinate translation element. |
| 24180 | "translateY": 3.14, # The Y coordinate translation element. |
| 24181 | "scaleX": 3.14, # The X coordinate scaling element. |
| 24182 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 24183 | "shearY": 3.14, # The Y coordinate shearing element. |
| 24184 | "shearX": 3.14, # The X coordinate shearing element. |
| 24185 | "unit": "A String", # The units for translate elements. |
| 24186 | }, |
| 24187 | "shape": { # A PageElement kind representing a # A generic shape. |
| 24188 | # generic shape that does not have a more specific classification. |
| 24189 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape. |
| 24190 | # text box or rectangle) or a table cell in a page. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24191 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 24192 | # information. This property is read-only. |
| 24193 | { # A TextElement describes the content of a range of indices in the text content |
| 24194 | # of a Shape or TableCell. |
| 24195 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 24196 | # replaced with content that can change over time. |
| 24197 | "content": "A String", # The rendered content of this auto text, if available. |
| 24198 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 24199 | # |
| 24200 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 24201 | # inherited from the parent. Which text styles are inherited depend on the |
| 24202 | # nesting level of lists: |
| 24203 | # |
| 24204 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 24205 | # from the the newline character in the paragraph at the 0 nesting level of |
| 24206 | # the list inside the parent placeholder. |
| 24207 | # * A text run in a paragraph that is in a list will inherit its text style |
| 24208 | # from the newline character in the paragraph at its corresponding nesting |
| 24209 | # level of the list inside the parent placeholder. |
| 24210 | # |
| 24211 | # Inherited text styles are represented as unset fields in this message. If |
| 24212 | # text is contained in a shape without a parent placeholder, unsetting these |
| 24213 | # fields will revert the style to a value matching the defaults in the Slides |
| 24214 | # editor. |
| 24215 | "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 |
| 24216 | # transparent, depending on if the `opaque_color` field in it is set. |
| 24217 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 24218 | # a transparent color. |
| 24219 | "themeColor": "A String", # An opaque theme color. |
| 24220 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 24221 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24222 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24223 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24224 | }, |
| 24225 | }, |
| 24226 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24227 | "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 |
| 24228 | # transparent, depending on if the `opaque_color` field in it is set. |
| 24229 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 24230 | # a transparent color. |
| 24231 | "themeColor": "A String", # An opaque theme color. |
| 24232 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 24233 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24234 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24235 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24236 | }, |
| 24237 | }, |
| 24238 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24239 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 24240 | # |
| 24241 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 24242 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 24243 | # The `font_size` itself is not affected by changes in this field. |
| 24244 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 24245 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 24246 | # |
| 24247 | # This field is an extension of `font_family` meant to support explicit font |
| 24248 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 24249 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 24250 | # will always be equal to that of `font_family`. However, when writing, if |
| 24251 | # both fields are included in the field mask (either explicitly or through |
| 24252 | # the wildcard `"*"`), their values are reconciled as follows: |
| 24253 | # |
| 24254 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 24255 | # `font_family` is applied with weight `400` ("normal"). |
| 24256 | # * If both fields are set, the value of `font_family` must match that of |
| 24257 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 24258 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 24259 | # returned. |
| 24260 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 24261 | # family and weight of `weighted_font_family` is applied. |
| 24262 | # * If neither field is set, the font family and weight of the text inherit |
| 24263 | # from the parent. Note that these properties cannot inherit separately |
| 24264 | # from each other. |
| 24265 | # |
| 24266 | # If an update request specifies values for both `weighted_font_family` and |
| 24267 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 24268 | # |
| 24269 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 24270 | # |
| 24271 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 24272 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 24273 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 24274 | "fontFamily": "A String", # The font family of the text. |
| 24275 | # |
| 24276 | # The font family can be any font from the Font menu in Slides or from |
| 24277 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 24278 | # unrecognized, the text is rendered in `Arial`. |
| 24279 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 24280 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 24281 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24282 | # Specification, |
| 24283 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 24284 | # with non-numerical values disallowed. Weights greater than or equal to |
| 24285 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 24286 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 24287 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24288 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 24289 | "fontFamily": "A String", # The font family of the text. |
| 24290 | # |
| 24291 | # The font family can be any font from the Font menu in Slides or from |
| 24292 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 24293 | # unrecognized, the text is rendered in `Arial`. |
| 24294 | # |
| 24295 | # Some fonts can affect the weight of the text. If an update request |
| 24296 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 24297 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24298 | "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 |
| 24299 | # points. |
| 24300 | "magnitude": 3.14, # The magnitude. |
| 24301 | "unit": "A String", # The units for magnitude. |
| 24302 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24303 | "italic": True or False, # Whether or not the text is italicized. |
| 24304 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 24305 | # are not inherited from parent text. |
| 24306 | # |
| 24307 | # Changing the link in an update request causes some other changes to the |
| 24308 | # text style of the range: |
| 24309 | # |
| 24310 | # * When setting a link, the text foreground color will be set to |
| 24311 | # ThemeColorType.HYPERLINK and the text will |
| 24312 | # be underlined. If these fields are modified in the same |
| 24313 | # request, those values will be used instead of the link defaults. |
| 24314 | # * Setting a link on a text range that overlaps with an existing link will |
| 24315 | # also update the existing link to point to the new URL. |
| 24316 | # * Links are not settable on newline characters. As a result, setting a link |
| 24317 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 24318 | # will separate the newline character(s) into their own text runs. The |
| 24319 | # link will be applied separately to the runs before and after the newline. |
| 24320 | # * Removing a link will update the text style of the range to match the |
| 24321 | # style of the preceding text (or the default text styles if the preceding |
| 24322 | # text is another link) unless different styles are being set in the same |
| 24323 | # request. |
| 24324 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 24325 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 24326 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 24327 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 24328 | # presentation with this ID. A page with this ID may not exist. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24329 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 24330 | # addressed by its position. |
| 24331 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 24332 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24333 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24334 | }, |
| 24335 | "type": "A String", # The type of this auto text. |
| 24336 | }, |
| 24337 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 24338 | # units. |
| 24339 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 24340 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 24341 | # |
| 24342 | # The `start_index` and `end_index` of this TextElement represent the |
| 24343 | # range of the paragraph. Other TextElements with an index range contained |
| 24344 | # inside this paragraph's range are considered to be part of this |
| 24345 | # paragraph. The range of indices of two separate paragraphs will never |
| 24346 | # overlap. |
| 24347 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 24348 | # |
| 24349 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 24350 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 24351 | # nesting level of lists: |
| 24352 | # |
| 24353 | # * A paragraph not in a list will inherit its paragraph style from the |
| 24354 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 24355 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 24356 | # at its corresponding nesting level of the list inside the parent |
| 24357 | # placeholder. |
| 24358 | # |
| 24359 | # Inherited paragraph styles are represented as unset fields in this message. |
| 24360 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 24361 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 24362 | # LEFT_TO_RIGHT since |
| 24363 | # text direction is not inherited. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24364 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24365 | # inherited from the parent. |
| 24366 | "magnitude": 3.14, # The magnitude. |
| 24367 | "unit": "A String", # The units for magnitude. |
| 24368 | }, |
| 24369 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 24370 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 24371 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 24372 | # the start of the text, based on the current text direction. If unset, the |
| 24373 | # value is inherited from the parent. |
| 24374 | "magnitude": 3.14, # The magnitude. |
| 24375 | "unit": "A String", # The units for magnitude. |
| 24376 | }, |
| 24377 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 24378 | # inherited from the parent. |
| 24379 | "magnitude": 3.14, # The magnitude. |
| 24380 | "unit": "A String", # The units for magnitude. |
| 24381 | }, |
| 24382 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 24383 | # the end of the text, based on the current text direction. If unset, the |
| 24384 | # value is inherited from the parent. |
| 24385 | "magnitude": 3.14, # The magnitude. |
| 24386 | "unit": "A String", # The units for magnitude. |
| 24387 | }, |
| 24388 | "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. |
| 24389 | # If unset, the value is inherited from the parent. |
| 24390 | "magnitude": 3.14, # The magnitude. |
| 24391 | "unit": "A String", # The units for magnitude. |
| 24392 | }, |
| 24393 | "alignment": "A String", # The text alignment for this paragraph. |
| 24394 | }, |
| 24395 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 24396 | # belong to a list. |
| 24397 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 24398 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 24399 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 24400 | # |
| 24401 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 24402 | # inherited from the parent. Which text styles are inherited depend on the |
| 24403 | # nesting level of lists: |
| 24404 | # |
| 24405 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 24406 | # from the the newline character in the paragraph at the 0 nesting level of |
| 24407 | # the list inside the parent placeholder. |
| 24408 | # * A text run in a paragraph that is in a list will inherit its text style |
| 24409 | # from the newline character in the paragraph at its corresponding nesting |
| 24410 | # level of the list inside the parent placeholder. |
| 24411 | # |
| 24412 | # Inherited text styles are represented as unset fields in this message. If |
| 24413 | # text is contained in a shape without a parent placeholder, unsetting these |
| 24414 | # fields will revert the style to a value matching the defaults in the Slides |
| 24415 | # editor. |
| 24416 | "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 |
| 24417 | # transparent, depending on if the `opaque_color` field in it is set. |
| 24418 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 24419 | # a transparent color. |
| 24420 | "themeColor": "A String", # An opaque theme color. |
| 24421 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 24422 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24423 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24424 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24425 | }, |
| 24426 | }, |
| 24427 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24428 | "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 |
| 24429 | # transparent, depending on if the `opaque_color` field in it is set. |
| 24430 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 24431 | # a transparent color. |
| 24432 | "themeColor": "A String", # An opaque theme color. |
| 24433 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 24434 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24435 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24436 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24437 | }, |
| 24438 | }, |
| 24439 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24440 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 24441 | # |
| 24442 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 24443 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 24444 | # The `font_size` itself is not affected by changes in this field. |
| 24445 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 24446 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 24447 | # |
| 24448 | # This field is an extension of `font_family` meant to support explicit font |
| 24449 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 24450 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 24451 | # will always be equal to that of `font_family`. However, when writing, if |
| 24452 | # both fields are included in the field mask (either explicitly or through |
| 24453 | # the wildcard `"*"`), their values are reconciled as follows: |
| 24454 | # |
| 24455 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 24456 | # `font_family` is applied with weight `400` ("normal"). |
| 24457 | # * If both fields are set, the value of `font_family` must match that of |
| 24458 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 24459 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 24460 | # returned. |
| 24461 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 24462 | # family and weight of `weighted_font_family` is applied. |
| 24463 | # * If neither field is set, the font family and weight of the text inherit |
| 24464 | # from the parent. Note that these properties cannot inherit separately |
| 24465 | # from each other. |
| 24466 | # |
| 24467 | # If an update request specifies values for both `weighted_font_family` and |
| 24468 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 24469 | # |
| 24470 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 24471 | # |
| 24472 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 24473 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 24474 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 24475 | "fontFamily": "A String", # The font family of the text. |
| 24476 | # |
| 24477 | # The font family can be any font from the Font menu in Slides or from |
| 24478 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 24479 | # unrecognized, the text is rendered in `Arial`. |
| 24480 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 24481 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 24482 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24483 | # Specification, |
| 24484 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 24485 | # with non-numerical values disallowed. Weights greater than or equal to |
| 24486 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 24487 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 24488 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24489 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 24490 | "fontFamily": "A String", # The font family of the text. |
| 24491 | # |
| 24492 | # The font family can be any font from the Font menu in Slides or from |
| 24493 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 24494 | # unrecognized, the text is rendered in `Arial`. |
| 24495 | # |
| 24496 | # Some fonts can affect the weight of the text. If an update request |
| 24497 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 24498 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24499 | "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 |
| 24500 | # points. |
| 24501 | "magnitude": 3.14, # The magnitude. |
| 24502 | "unit": "A String", # The units for magnitude. |
| 24503 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24504 | "italic": True or False, # Whether or not the text is italicized. |
| 24505 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 24506 | # are not inherited from parent text. |
| 24507 | # |
| 24508 | # Changing the link in an update request causes some other changes to the |
| 24509 | # text style of the range: |
| 24510 | # |
| 24511 | # * When setting a link, the text foreground color will be set to |
| 24512 | # ThemeColorType.HYPERLINK and the text will |
| 24513 | # be underlined. If these fields are modified in the same |
| 24514 | # request, those values will be used instead of the link defaults. |
| 24515 | # * Setting a link on a text range that overlaps with an existing link will |
| 24516 | # also update the existing link to point to the new URL. |
| 24517 | # * Links are not settable on newline characters. As a result, setting a link |
| 24518 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 24519 | # will separate the newline character(s) into their own text runs. The |
| 24520 | # link will be applied separately to the runs before and after the newline. |
| 24521 | # * Removing a link will update the text style of the range to match the |
| 24522 | # style of the preceding text (or the default text styles if the preceding |
| 24523 | # text is another link) unless different styles are being set in the same |
| 24524 | # request. |
| 24525 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 24526 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 24527 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 24528 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 24529 | # presentation with this ID. A page with this ID may not exist. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24530 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 24531 | # addressed by its position. |
| 24532 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 24533 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24534 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24535 | }, |
| 24536 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 24537 | }, |
| 24538 | }, |
| 24539 | "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 |
| 24540 | # in the run have the same TextStyle. |
| 24541 | # |
| 24542 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 24543 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 24544 | # In other words, a TextRun will never span multiple paragraphs. |
| 24545 | # styling. |
| 24546 | "content": "A String", # The text of this run. |
| 24547 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 24548 | # |
| 24549 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 24550 | # inherited from the parent. Which text styles are inherited depend on the |
| 24551 | # nesting level of lists: |
| 24552 | # |
| 24553 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 24554 | # from the the newline character in the paragraph at the 0 nesting level of |
| 24555 | # the list inside the parent placeholder. |
| 24556 | # * A text run in a paragraph that is in a list will inherit its text style |
| 24557 | # from the newline character in the paragraph at its corresponding nesting |
| 24558 | # level of the list inside the parent placeholder. |
| 24559 | # |
| 24560 | # Inherited text styles are represented as unset fields in this message. If |
| 24561 | # text is contained in a shape without a parent placeholder, unsetting these |
| 24562 | # fields will revert the style to a value matching the defaults in the Slides |
| 24563 | # editor. |
| 24564 | "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 |
| 24565 | # transparent, depending on if the `opaque_color` field in it is set. |
| 24566 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 24567 | # a transparent color. |
| 24568 | "themeColor": "A String", # An opaque theme color. |
| 24569 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 24570 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24571 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24572 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24573 | }, |
| 24574 | }, |
| 24575 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24576 | "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 |
| 24577 | # transparent, depending on if the `opaque_color` field in it is set. |
| 24578 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 24579 | # a transparent color. |
| 24580 | "themeColor": "A String", # An opaque theme color. |
| 24581 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 24582 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24583 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24584 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24585 | }, |
| 24586 | }, |
| 24587 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24588 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 24589 | # |
| 24590 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 24591 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 24592 | # The `font_size` itself is not affected by changes in this field. |
| 24593 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 24594 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 24595 | # |
| 24596 | # This field is an extension of `font_family` meant to support explicit font |
| 24597 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 24598 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 24599 | # will always be equal to that of `font_family`. However, when writing, if |
| 24600 | # both fields are included in the field mask (either explicitly or through |
| 24601 | # the wildcard `"*"`), their values are reconciled as follows: |
| 24602 | # |
| 24603 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 24604 | # `font_family` is applied with weight `400` ("normal"). |
| 24605 | # * If both fields are set, the value of `font_family` must match that of |
| 24606 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 24607 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 24608 | # returned. |
| 24609 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 24610 | # family and weight of `weighted_font_family` is applied. |
| 24611 | # * If neither field is set, the font family and weight of the text inherit |
| 24612 | # from the parent. Note that these properties cannot inherit separately |
| 24613 | # from each other. |
| 24614 | # |
| 24615 | # If an update request specifies values for both `weighted_font_family` and |
| 24616 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 24617 | # |
| 24618 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 24619 | # |
| 24620 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 24621 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 24622 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 24623 | "fontFamily": "A String", # The font family of the text. |
| 24624 | # |
| 24625 | # The font family can be any font from the Font menu in Slides or from |
| 24626 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 24627 | # unrecognized, the text is rendered in `Arial`. |
| 24628 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 24629 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 24630 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24631 | # Specification, |
| 24632 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 24633 | # with non-numerical values disallowed. Weights greater than or equal to |
| 24634 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 24635 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 24636 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24637 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 24638 | "fontFamily": "A String", # The font family of the text. |
| 24639 | # |
| 24640 | # The font family can be any font from the Font menu in Slides or from |
| 24641 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 24642 | # unrecognized, the text is rendered in `Arial`. |
| 24643 | # |
| 24644 | # Some fonts can affect the weight of the text. If an update request |
| 24645 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 24646 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24647 | "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 |
| 24648 | # points. |
| 24649 | "magnitude": 3.14, # The magnitude. |
| 24650 | "unit": "A String", # The units for magnitude. |
| 24651 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24652 | "italic": True or False, # Whether or not the text is italicized. |
| 24653 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 24654 | # are not inherited from parent text. |
| 24655 | # |
| 24656 | # Changing the link in an update request causes some other changes to the |
| 24657 | # text style of the range: |
| 24658 | # |
| 24659 | # * When setting a link, the text foreground color will be set to |
| 24660 | # ThemeColorType.HYPERLINK and the text will |
| 24661 | # be underlined. If these fields are modified in the same |
| 24662 | # request, those values will be used instead of the link defaults. |
| 24663 | # * Setting a link on a text range that overlaps with an existing link will |
| 24664 | # also update the existing link to point to the new URL. |
| 24665 | # * Links are not settable on newline characters. As a result, setting a link |
| 24666 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 24667 | # will separate the newline character(s) into their own text runs. The |
| 24668 | # link will be applied separately to the runs before and after the newline. |
| 24669 | # * Removing a link will update the text style of the range to match the |
| 24670 | # style of the preceding text (or the default text styles if the preceding |
| 24671 | # text is another link) unless different styles are being set in the same |
| 24672 | # request. |
| 24673 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 24674 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 24675 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 24676 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 24677 | # presentation with this ID. A page with this ID may not exist. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24678 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 24679 | # addressed by its position. |
| 24680 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 24681 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24682 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24683 | }, |
| 24684 | }, |
| 24685 | }, |
| 24686 | ], |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24687 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 24688 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 24689 | # associated with a list. A paragraph that is part of a list has an implicit |
| 24690 | # reference to that list's ID. |
| 24691 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 24692 | # level. A list has at most nine levels of nesting, so the possible values |
| 24693 | # for the keys of this map are 0 through 8, inclusive. |
| 24694 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 24695 | # level of nesting. |
| 24696 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 24697 | # |
| 24698 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 24699 | # inherited from the parent. Which text styles are inherited depend on the |
| 24700 | # nesting level of lists: |
| 24701 | # |
| 24702 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 24703 | # from the the newline character in the paragraph at the 0 nesting level of |
| 24704 | # the list inside the parent placeholder. |
| 24705 | # * A text run in a paragraph that is in a list will inherit its text style |
| 24706 | # from the newline character in the paragraph at its corresponding nesting |
| 24707 | # level of the list inside the parent placeholder. |
| 24708 | # |
| 24709 | # Inherited text styles are represented as unset fields in this message. If |
| 24710 | # text is contained in a shape without a parent placeholder, unsetting these |
| 24711 | # fields will revert the style to a value matching the defaults in the Slides |
| 24712 | # editor. |
| 24713 | "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 |
| 24714 | # transparent, depending on if the `opaque_color` field in it is set. |
| 24715 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 24716 | # a transparent color. |
| 24717 | "themeColor": "A String", # An opaque theme color. |
| 24718 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 24719 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24720 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24721 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24722 | }, |
| 24723 | }, |
| 24724 | }, |
| 24725 | "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 |
| 24726 | # transparent, depending on if the `opaque_color` field in it is set. |
| 24727 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 24728 | # a transparent color. |
| 24729 | "themeColor": "A String", # An opaque theme color. |
| 24730 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 24731 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24732 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24733 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24734 | }, |
| 24735 | }, |
| 24736 | }, |
| 24737 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 24738 | # |
| 24739 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 24740 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 24741 | # The `font_size` itself is not affected by changes in this field. |
| 24742 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 24743 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 24744 | # |
| 24745 | # This field is an extension of `font_family` meant to support explicit font |
| 24746 | # weights without breaking backwards compatibility. As such, when reading the |
| 24747 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 24748 | # will always be equal to that of `font_family`. However, when writing, if |
| 24749 | # both fields are included in the field mask (either explicitly or through |
| 24750 | # the wildcard `"*"`), their values are reconciled as follows: |
| 24751 | # |
| 24752 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 24753 | # `font_family` is applied with weight `400` ("normal"). |
| 24754 | # * If both fields are set, the value of `font_family` must match that of |
| 24755 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 24756 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 24757 | # returned. |
| 24758 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 24759 | # family and weight of `weighted_font_family` is applied. |
| 24760 | # * If neither field is set, the font family and weight of the text inherit |
| 24761 | # from the parent. Note that these properties cannot inherit separately |
| 24762 | # from each other. |
| 24763 | # |
| 24764 | # If an update request specifies values for both `weighted_font_family` and |
| 24765 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 24766 | # |
| 24767 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 24768 | # |
| 24769 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 24770 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 24771 | # is returned. |
| 24772 | "fontFamily": "A String", # The font family of the text. |
| 24773 | # |
| 24774 | # The font family can be any font from the Font menu in Slides or from |
| 24775 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 24776 | # unrecognized, the text is rendered in `Arial`. |
| 24777 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 24778 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 24779 | # corresponds to the numerical values described in the CSS 2.1 |
| 24780 | # Specification, |
| 24781 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 24782 | # with non-numerical values disallowed. Weights greater than or equal to |
| 24783 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 24784 | # default value is `400` ("normal"). |
| 24785 | }, |
| 24786 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 24787 | "fontFamily": "A String", # The font family of the text. |
| 24788 | # |
| 24789 | # The font family can be any font from the Font menu in Slides or from |
| 24790 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 24791 | # unrecognized, the text is rendered in `Arial`. |
| 24792 | # |
| 24793 | # Some fonts can affect the weight of the text. If an update request |
| 24794 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 24795 | # `bold` value is used. |
| 24796 | "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 |
| 24797 | # points. |
| 24798 | "magnitude": 3.14, # The magnitude. |
| 24799 | "unit": "A String", # The units for magnitude. |
| 24800 | }, |
| 24801 | "italic": True or False, # Whether or not the text is italicized. |
| 24802 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 24803 | # are not inherited from parent text. |
| 24804 | # |
| 24805 | # Changing the link in an update request causes some other changes to the |
| 24806 | # text style of the range: |
| 24807 | # |
| 24808 | # * When setting a link, the text foreground color will be set to |
| 24809 | # ThemeColorType.HYPERLINK and the text will |
| 24810 | # be underlined. If these fields are modified in the same |
| 24811 | # request, those values will be used instead of the link defaults. |
| 24812 | # * Setting a link on a text range that overlaps with an existing link will |
| 24813 | # also update the existing link to point to the new URL. |
| 24814 | # * Links are not settable on newline characters. As a result, setting a link |
| 24815 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 24816 | # will separate the newline character(s) into their own text runs. The |
| 24817 | # link will be applied separately to the runs before and after the newline. |
| 24818 | # * Removing a link will update the text style of the range to match the |
| 24819 | # style of the preceding text (or the default text styles if the preceding |
| 24820 | # text is another link) unless different styles are being set in the same |
| 24821 | # request. |
| 24822 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 24823 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 24824 | # in the presentation. There may not be a slide at this index. |
| 24825 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 24826 | # presentation with this ID. A page with this ID may not exist. |
| 24827 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 24828 | # addressed by its position. |
| 24829 | }, |
| 24830 | "underline": True or False, # Whether or not the text is underlined. |
| 24831 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 24832 | }, |
| 24833 | }, |
| 24834 | }, |
| 24835 | "listId": "A String", # The ID of the list. |
| 24836 | }, |
| 24837 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24838 | }, |
| 24839 | "shapeProperties": { # The properties of a Shape. # The properties of the shape. |
| 24840 | # |
| 24841 | # If the shape is a placeholder shape as determined by the |
| 24842 | # placeholder field, then these |
| 24843 | # properties may be inherited from a parent placeholder shape. |
| 24844 | # Determining the rendered value of the property depends on the corresponding |
| 24845 | # property_state field value. |
| 24846 | "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from |
| 24847 | # a parent placeholder if it exists. If the shape has no parent, then the |
| 24848 | # default shadow matches the defaults for new shapes created in the Slides |
| 24849 | # editor. This property is read-only. |
| 24850 | # |
| 24851 | # If these fields are unset, they may be inherited from a parent placeholder |
| 24852 | # if it exists. If there is no parent, the fields will default to the value |
| 24853 | # used for new page elements created in the Slides editor, which may depend on |
| 24854 | # the page element kind. |
| 24855 | "color": { # A themeable solid color value. # The shadow color value. |
| 24856 | "themeColor": "A String", # An opaque theme color. |
| 24857 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 24858 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24859 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24860 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24861 | }, |
| 24862 | }, |
| 24863 | "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, |
| 24864 | # relative to the alignment position. |
| 24865 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 24866 | # according to: |
| 24867 | # |
| 24868 | # x' x = shear_y scale_y translate_y |
| 24869 | # 1 [ 1 ] |
| 24870 | # |
| 24871 | # After transformation, |
| 24872 | # |
| 24873 | # x' = scale_x * x + shear_x * y + translate_x; |
| 24874 | # y' = scale_y * y + shear_y * x + translate_y; |
| 24875 | # |
| 24876 | # This message is therefore composed of these six matrix elements. |
| 24877 | "translateX": 3.14, # The X coordinate translation element. |
| 24878 | "translateY": 3.14, # The Y coordinate translation element. |
| 24879 | "scaleX": 3.14, # The X coordinate scaling element. |
| 24880 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 24881 | "shearY": 3.14, # The Y coordinate shearing element. |
| 24882 | "shearX": 3.14, # The X coordinate shearing element. |
| 24883 | "unit": "A String", # The units for translate elements. |
| 24884 | }, |
| 24885 | "propertyState": "A String", # The shadow property state. |
| 24886 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24887 | # Updating the shadow on a page element will implicitly update this field to |
| 24888 | # `RENDERED`, unless another value is specified in the same request. To have |
| 24889 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24890 | # case, any other shadow fields set in the same request will be ignored. |
| 24891 | "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 |
| 24892 | # shadow becomes. |
| 24893 | "magnitude": 3.14, # The magnitude. |
| 24894 | "unit": "A String", # The units for magnitude. |
| 24895 | }, |
| 24896 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24897 | "type": "A String", # The type of the shadow. This property is read-only. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24898 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24899 | # scale and skew of the shadow. This property is read-only. |
| 24900 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 24901 | # read-only. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24902 | }, |
| 24903 | "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is |
| 24904 | # inherited from a parent placeholder if it exists. If the shape has no |
| 24905 | # parent, then the default background fill depends on the shape type, |
| 24906 | # matching the defaults for new shapes created in the Slides editor. |
| 24907 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 24908 | # specified color value. |
| 24909 | # |
| 24910 | # If any field is unset, its value may be inherited from a parent placeholder |
| 24911 | # if it exists. |
| 24912 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 24913 | "themeColor": "A String", # An opaque theme color. |
| 24914 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 24915 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24916 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24917 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24918 | }, |
| 24919 | }, |
| 24920 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 24921 | # That is, the final pixel color is defined by the equation: |
| 24922 | # |
| 24923 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 24924 | # |
| 24925 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 24926 | # a value of 0.0 corresponds to a completely transparent color. |
| 24927 | }, |
| 24928 | "propertyState": "A String", # The background fill property state. |
| 24929 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24930 | # Updating the fill on a shape will implicitly update this field to |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24931 | # `RENDERED`, unless another value is specified in the same request. To |
| 24932 | # have no fill on a shape, set this field to `NOT_RENDERED`. In this case, |
| 24933 | # any other fill fields set in the same request will be ignored. |
| 24934 | }, |
| 24935 | "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links |
| 24936 | # are not inherited from parent placeholders. |
| 24937 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 24938 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 24939 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 24940 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 24941 | # presentation with this ID. A page with this ID may not exist. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24942 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 24943 | # addressed by its position. |
| 24944 | }, |
| 24945 | "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a |
| 24946 | # parent placeholder if it exists. If the shape has no parent, then the |
| 24947 | # default outline depends on the shape type, matching the defaults for |
| 24948 | # new shapes created in the Slides editor. |
| 24949 | # |
| 24950 | # If these fields are unset, they may be inherited from a parent placeholder |
| 24951 | # if it exists. If there is no parent, the fields will default to the value |
| 24952 | # used for new page elements created in the Slides editor, which may depend on |
| 24953 | # the page element kind. |
| 24954 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 24955 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 24956 | # specified color value. |
| 24957 | # |
| 24958 | # If any field is unset, its value may be inherited from a parent placeholder |
| 24959 | # if it exists. |
| 24960 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 24961 | "themeColor": "A String", # An opaque theme color. |
| 24962 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 24963 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24964 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24965 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24966 | }, |
| 24967 | }, |
| 24968 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 24969 | # That is, the final pixel color is defined by the equation: |
| 24970 | # |
| 24971 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 24972 | # |
| 24973 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 24974 | # a value of 0.0 corresponds to a completely transparent color. |
| 24975 | }, |
| 24976 | }, |
| 24977 | "propertyState": "A String", # The outline property state. |
| 24978 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24979 | # Updating the outline on a page element will implicitly update this field |
| 24980 | # to `RENDERED`, unless another value is specified in the same request. To |
| 24981 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24982 | # this case, any other outline fields set in the same request will be |
| 24983 | # ignored. |
| 24984 | "dashStyle": "A String", # The dash style of the outline. |
| 24985 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 24986 | "magnitude": 3.14, # The magnitude. |
| 24987 | "unit": "A String", # The units for magnitude. |
| 24988 | }, |
| 24989 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 24990 | "contentAlignment": "A String", # The alignment of the content in the shape. If unspecified, |
| 24991 | # the alignment is inherited from a parent placeholder if it exists. If the |
| 24992 | # shape has no parent, the default alignment matches the alignment for new |
| 24993 | # shapes created in the Slides editor. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 24994 | }, |
| 24995 | "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on |
| 24996 | # layouts and masters. |
| 24997 | # |
| 24998 | # If set, the shape is a placeholder shape and any inherited properties |
| 24999 | # can be resolved by looking at the parent placeholder identified by the |
| 25000 | # Placeholder.parent_object_id field. |
| 25001 | "parentObjectId": "A String", # The object ID of this shape's parent placeholder. |
| 25002 | # If unset, the parent placeholder shape does not exist, so the shape does |
| 25003 | # not inherit properties from any other shape. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 25004 | "index": 42, # The index of the placeholder. If the same placeholder types are present in |
| 25005 | # the same page, they would have different index values. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25006 | "type": "A String", # The type of the placeholder. |
| 25007 | }, |
| 25008 | "shapeType": "A String", # The type of the shape. |
| 25009 | }, |
| 25010 | "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are |
| 25011 | # represented as images. |
| 25012 | # a linked chart embedded from Google Sheets. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25013 | "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30 |
| 25014 | # minutes. This URL is tagged with the account of the requester. Anyone with |
| 25015 | # the URL effectively accesses the image as the original requester. Access to |
| 25016 | # the image may be lost if the presentation's sharing settings change. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 25017 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25018 | "sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart. |
| 25019 | "chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25020 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25021 | # |
| 25022 | # If these fields are unset, they may be inherited from a parent placeholder |
| 25023 | # if it exists. If there is no parent, the fields will default to the value |
| 25024 | # used for new page elements created in the Slides editor, which may depend on |
| 25025 | # the page element kind. |
| 25026 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 25027 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 25028 | # specified color value. |
| 25029 | # |
| 25030 | # If any field is unset, its value may be inherited from a parent placeholder |
| 25031 | # if it exists. |
| 25032 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 25033 | "themeColor": "A String", # An opaque theme color. |
| 25034 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 25035 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25036 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25037 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25038 | }, |
| 25039 | }, |
| 25040 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 25041 | # That is, the final pixel color is defined by the equation: |
| 25042 | # |
| 25043 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 25044 | # |
| 25045 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 25046 | # a value of 0.0 corresponds to a completely transparent color. |
| 25047 | }, |
| 25048 | }, |
| 25049 | "propertyState": "A String", # The outline property state. |
| 25050 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25051 | # Updating the outline on a page element will implicitly update this field |
| 25052 | # to `RENDERED`, unless another value is specified in the same request. To |
| 25053 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25054 | # this case, any other outline fields set in the same request will be |
| 25055 | # ignored. |
| 25056 | "dashStyle": "A String", # The dash style of the outline. |
| 25057 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 25058 | "magnitude": 3.14, # The magnitude. |
| 25059 | "unit": "A String", # The units for magnitude. |
| 25060 | }, |
| 25061 | }, |
| 25062 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 25063 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 25064 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 25065 | # This property is read-only. |
| 25066 | "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color |
| 25067 | # stops. |
| 25068 | # |
| 25069 | # The colors in the gradient will replace the corresponding colors at |
| 25070 | # the same position in the color palette and apply to the image. This |
| 25071 | # property is read-only. |
| 25072 | { # A color and position in a gradient band. |
| 25073 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 25074 | "themeColor": "A String", # An opaque theme color. |
| 25075 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 25076 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25077 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25078 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25079 | }, |
| 25080 | }, |
| 25081 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 25082 | # fully opaque. |
| 25083 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 25084 | # in percentage. The value should be in the interval [0.0, 1.0]. |
| 25085 | }, |
| 25086 | ], |
| 25087 | "name": "A String", # The name of the recolor effect. |
| 25088 | # |
| 25089 | # The name is determined from the `recolor_stops` by matching the gradient |
| 25090 | # against the colors in the page's current color scheme. This property is |
| 25091 | # read-only. |
| 25092 | }, |
| 25093 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 25094 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 25095 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 25096 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 25097 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 25098 | # presentation with this ID. A page with this ID may not exist. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25099 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 25100 | # addressed by its position. |
| 25101 | }, |
| 25102 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 25103 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 25104 | # This property is read-only. |
| 25105 | "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. |
| 25106 | # This property is read-only. |
| 25107 | # Image. |
| 25108 | # |
| 25109 | # The crop properties is represented by the offsets of four edges which define |
| 25110 | # a crop rectangle. The offsets are measured in percentage from the |
| 25111 | # corresponding edges of the object's original bounding rectangle towards |
| 25112 | # inside, relative to the object's original dimensions. |
| 25113 | # |
| 25114 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 25115 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 25116 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 25117 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 25118 | # - If the left edge of the crop rectangle is on the right side of its right |
| 25119 | # edge, the object will be flipped horizontally. |
| 25120 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 25121 | # will be flipped vertically. |
| 25122 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 25123 | # |
| 25124 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 25125 | # its container. |
| 25126 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 25127 | # the right of the original bounding rectangle left edge, relative to the |
| 25128 | # object's original width. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25129 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 25130 | # above the original bounding rectangle bottom edge, relative to the object's |
| 25131 | # original height. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 25132 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 25133 | # Rotation angle is applied after the offset. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 25134 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 25135 | # to the left of the original bounding rectangle right edge, relative to the |
| 25136 | # object's original width. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 25137 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 25138 | # below the original bounding rectangle top edge, relative to the object's |
| 25139 | # original height. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25140 | }, |
| 25141 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 25142 | # is read-only. |
| 25143 | # |
| 25144 | # If these fields are unset, they may be inherited from a parent placeholder |
| 25145 | # if it exists. If there is no parent, the fields will default to the value |
| 25146 | # used for new page elements created in the Slides editor, which may depend on |
| 25147 | # the page element kind. |
| 25148 | "color": { # A themeable solid color value. # The shadow color value. |
| 25149 | "themeColor": "A String", # An opaque theme color. |
| 25150 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 25151 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25152 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25153 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25154 | }, |
| 25155 | }, |
| 25156 | "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, |
| 25157 | # relative to the alignment position. |
| 25158 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 25159 | # according to: |
| 25160 | # |
| 25161 | # x' x = shear_y scale_y translate_y |
| 25162 | # 1 [ 1 ] |
| 25163 | # |
| 25164 | # After transformation, |
| 25165 | # |
| 25166 | # x' = scale_x * x + shear_x * y + translate_x; |
| 25167 | # y' = scale_y * y + shear_y * x + translate_y; |
| 25168 | # |
| 25169 | # This message is therefore composed of these six matrix elements. |
| 25170 | "translateX": 3.14, # The X coordinate translation element. |
| 25171 | "translateY": 3.14, # The Y coordinate translation element. |
| 25172 | "scaleX": 3.14, # The X coordinate scaling element. |
| 25173 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 25174 | "shearY": 3.14, # The Y coordinate shearing element. |
| 25175 | "shearX": 3.14, # The X coordinate shearing element. |
| 25176 | "unit": "A String", # The units for translate elements. |
| 25177 | }, |
| 25178 | "propertyState": "A String", # The shadow property state. |
| 25179 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25180 | # Updating the shadow on a page element will implicitly update this field to |
| 25181 | # `RENDERED`, unless another value is specified in the same request. To have |
| 25182 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25183 | # case, any other shadow fields set in the same request will be ignored. |
| 25184 | "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 |
| 25185 | # shadow becomes. |
| 25186 | "magnitude": 3.14, # The magnitude. |
| 25187 | "unit": "A String", # The units for magnitude. |
| 25188 | }, |
| 25189 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25190 | "type": "A String", # The type of the shadow. This property is read-only. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25191 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25192 | # scale and skew of the shadow. This property is read-only. |
| 25193 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 25194 | # read-only. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25195 | }, |
| 25196 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 25197 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 25198 | }, |
| 25199 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 25200 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 25201 | # embedded. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25202 | }, |
| 25203 | "video": { # A PageElement kind representing a # A video page element. |
| 25204 | # video. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25205 | "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and |
| 25206 | # sharing settings do not change. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25207 | "videoProperties": { # The properties of the Video. # The properties of the video. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25208 | "start": 42, # The time at which to start playback, measured in seconds from the beginning |
| 25209 | # of the video. |
| 25210 | # If set, the start time should be before the end time. |
| 25211 | # If you set this to a value that exceeds the video's length in seconds, the |
| 25212 | # video will be played from the last second. |
| 25213 | # If not set, the video will be played from the beginning. |
| 25214 | "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present |
| 25215 | # mode. Defaults to false. |
| 25216 | "end": 42, # The time at which to end playback, measured in seconds from the beginning |
| 25217 | # of the video. |
| 25218 | # If set, the end time should be after the start time. |
| 25219 | # If not set or if you set this to a value that exceeds the video's length, |
| 25220 | # the video will be played until its end. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25221 | "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new |
| 25222 | # videos created in the Slides editor. |
| 25223 | # |
| 25224 | # If these fields are unset, they may be inherited from a parent placeholder |
| 25225 | # if it exists. If there is no parent, the fields will default to the value |
| 25226 | # used for new page elements created in the Slides editor, which may depend on |
| 25227 | # the page element kind. |
| 25228 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 25229 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 25230 | # specified color value. |
| 25231 | # |
| 25232 | # If any field is unset, its value may be inherited from a parent placeholder |
| 25233 | # if it exists. |
| 25234 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 25235 | "themeColor": "A String", # An opaque theme color. |
| 25236 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 25237 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25238 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25239 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25240 | }, |
| 25241 | }, |
| 25242 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 25243 | # That is, the final pixel color is defined by the equation: |
| 25244 | # |
| 25245 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 25246 | # |
| 25247 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 25248 | # a value of 0.0 corresponds to a completely transparent color. |
| 25249 | }, |
| 25250 | }, |
| 25251 | "propertyState": "A String", # The outline property state. |
| 25252 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25253 | # Updating the outline on a page element will implicitly update this field |
| 25254 | # to `RENDERED`, unless another value is specified in the same request. To |
| 25255 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25256 | # this case, any other outline fields set in the same request will be |
| 25257 | # ignored. |
| 25258 | "dashStyle": "A String", # The dash style of the outline. |
| 25259 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 25260 | "magnitude": 3.14, # The magnitude. |
| 25261 | "unit": "A String", # The units for magnitude. |
| 25262 | }, |
| 25263 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25264 | "mute": True or False, # Whether to mute the audio during video playback. Defaults to false. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25265 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 25266 | "id": "A String", # The video source's unique identifier for this video. |
| 25267 | "source": "A String", # The video source. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25268 | }, |
| 25269 | "table": { # A PageElement kind representing a # A table page element. |
| 25270 | # table. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25271 | "rows": 42, # Number of rows in the table. |
| 25272 | "horizontalBorderRows": [ # Properties of horizontal cell borders. |
| 25273 | # |
| 25274 | # A table's horizontal cell borders are represented as a grid. The grid has |
| 25275 | # one more row than the number of rows in the table and the same number of |
| 25276 | # columns as the table. For example, if the table is 3 x 3, its horizontal |
| 25277 | # borders will be represented as a grid with 4 rows and 3 columns. |
| 25278 | { # Contents of each border row in a table. |
| 25279 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 25280 | # merged, it is not included in the response. |
| 25281 | { # The properties of each border cell. |
| 25282 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 25283 | # TableBorderCell. |
| 25284 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 25285 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 25286 | # specified color value. |
| 25287 | # |
| 25288 | # If any field is unset, its value may be inherited from a parent placeholder |
| 25289 | # if it exists. |
| 25290 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 25291 | "themeColor": "A String", # An opaque theme color. |
| 25292 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 25293 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25294 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25295 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25296 | }, |
| 25297 | }, |
| 25298 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 25299 | # That is, the final pixel color is defined by the equation: |
| 25300 | # |
| 25301 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 25302 | # |
| 25303 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 25304 | # a value of 0.0 corresponds to a completely transparent color. |
| 25305 | }, |
| 25306 | }, |
| 25307 | "dashStyle": "A String", # The dash style of the border. |
| 25308 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 25309 | "magnitude": 3.14, # The magnitude. |
| 25310 | "unit": "A String", # The units for magnitude. |
| 25311 | }, |
| 25312 | }, |
| 25313 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 25314 | "rowIndex": 42, # The 0-based row index. |
| 25315 | "columnIndex": 42, # The 0-based column index. |
| 25316 | }, |
| 25317 | }, |
| 25318 | ], |
| 25319 | }, |
| 25320 | ], |
| 25321 | "verticalBorderRows": [ # Properties of vertical cell borders. |
| 25322 | # |
| 25323 | # A table's vertical cell borders are represented as a grid. The grid has the |
| 25324 | # same number of rows as the table and one more column than the number of |
| 25325 | # columns in the table. For example, if the table is 3 x 3, its vertical |
| 25326 | # borders will be represented as a grid with 3 rows and 4 columns. |
| 25327 | { # Contents of each border row in a table. |
| 25328 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 25329 | # merged, it is not included in the response. |
| 25330 | { # The properties of each border cell. |
| 25331 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 25332 | # TableBorderCell. |
| 25333 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 25334 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 25335 | # specified color value. |
| 25336 | # |
| 25337 | # If any field is unset, its value may be inherited from a parent placeholder |
| 25338 | # if it exists. |
| 25339 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 25340 | "themeColor": "A String", # An opaque theme color. |
| 25341 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 25342 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25343 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25344 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25345 | }, |
| 25346 | }, |
| 25347 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 25348 | # That is, the final pixel color is defined by the equation: |
| 25349 | # |
| 25350 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 25351 | # |
| 25352 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 25353 | # a value of 0.0 corresponds to a completely transparent color. |
| 25354 | }, |
| 25355 | }, |
| 25356 | "dashStyle": "A String", # The dash style of the border. |
| 25357 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 25358 | "magnitude": 3.14, # The magnitude. |
| 25359 | "unit": "A String", # The units for magnitude. |
| 25360 | }, |
| 25361 | }, |
| 25362 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 25363 | "rowIndex": 42, # The 0-based row index. |
| 25364 | "columnIndex": 42, # The 0-based column index. |
| 25365 | }, |
| 25366 | }, |
| 25367 | ], |
| 25368 | }, |
| 25369 | ], |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25370 | "tableColumns": [ # Properties of each column. |
| 25371 | { # Properties of each column in a table. |
| 25372 | "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column. |
| 25373 | "magnitude": 3.14, # The magnitude. |
| 25374 | "unit": "A String", # The units for magnitude. |
| 25375 | }, |
| 25376 | }, |
| 25377 | ], |
| 25378 | "tableRows": [ # Properties and contents of each row. |
| 25379 | # |
| 25380 | # Cells that span multiple rows are contained in only one of these rows and |
| 25381 | # have a row_span greater |
| 25382 | # than 1. |
| 25383 | { # Properties and contents of each row in a table. |
| 25384 | "tableCells": [ # Properties and contents of each cell. |
| 25385 | # |
| 25386 | # Cells that span multiple columns are represented only once with a |
| 25387 | # column_span greater |
| 25388 | # than 1. As a result, the length of this collection does not always match |
| 25389 | # the number of columns of the entire table. |
| 25390 | { # Properties and contents of each table cell. |
| 25391 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell. |
| 25392 | # text box or rectangle) or a table cell in a page. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25393 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 25394 | # information. This property is read-only. |
| 25395 | { # A TextElement describes the content of a range of indices in the text content |
| 25396 | # of a Shape or TableCell. |
| 25397 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 25398 | # replaced with content that can change over time. |
| 25399 | "content": "A String", # The rendered content of this auto text, if available. |
| 25400 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 25401 | # |
| 25402 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 25403 | # inherited from the parent. Which text styles are inherited depend on the |
| 25404 | # nesting level of lists: |
| 25405 | # |
| 25406 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 25407 | # from the the newline character in the paragraph at the 0 nesting level of |
| 25408 | # the list inside the parent placeholder. |
| 25409 | # * A text run in a paragraph that is in a list will inherit its text style |
| 25410 | # from the newline character in the paragraph at its corresponding nesting |
| 25411 | # level of the list inside the parent placeholder. |
| 25412 | # |
| 25413 | # Inherited text styles are represented as unset fields in this message. If |
| 25414 | # text is contained in a shape without a parent placeholder, unsetting these |
| 25415 | # fields will revert the style to a value matching the defaults in the Slides |
| 25416 | # editor. |
| 25417 | "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 |
| 25418 | # transparent, depending on if the `opaque_color` field in it is set. |
| 25419 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 25420 | # a transparent color. |
| 25421 | "themeColor": "A String", # An opaque theme color. |
| 25422 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 25423 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25424 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25425 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25426 | }, |
| 25427 | }, |
| 25428 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25429 | "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 |
| 25430 | # transparent, depending on if the `opaque_color` field in it is set. |
| 25431 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 25432 | # a transparent color. |
| 25433 | "themeColor": "A String", # An opaque theme color. |
| 25434 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 25435 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25436 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25437 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25438 | }, |
| 25439 | }, |
| 25440 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25441 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 25442 | # |
| 25443 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 25444 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 25445 | # The `font_size` itself is not affected by changes in this field. |
| 25446 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 25447 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 25448 | # |
| 25449 | # This field is an extension of `font_family` meant to support explicit font |
| 25450 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 25451 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 25452 | # will always be equal to that of `font_family`. However, when writing, if |
| 25453 | # both fields are included in the field mask (either explicitly or through |
| 25454 | # the wildcard `"*"`), their values are reconciled as follows: |
| 25455 | # |
| 25456 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 25457 | # `font_family` is applied with weight `400` ("normal"). |
| 25458 | # * If both fields are set, the value of `font_family` must match that of |
| 25459 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 25460 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 25461 | # returned. |
| 25462 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 25463 | # family and weight of `weighted_font_family` is applied. |
| 25464 | # * If neither field is set, the font family and weight of the text inherit |
| 25465 | # from the parent. Note that these properties cannot inherit separately |
| 25466 | # from each other. |
| 25467 | # |
| 25468 | # If an update request specifies values for both `weighted_font_family` and |
| 25469 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 25470 | # |
| 25471 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 25472 | # |
| 25473 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 25474 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 25475 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 25476 | "fontFamily": "A String", # The font family of the text. |
| 25477 | # |
| 25478 | # The font family can be any font from the Font menu in Slides or from |
| 25479 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 25480 | # unrecognized, the text is rendered in `Arial`. |
| 25481 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 25482 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 25483 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25484 | # Specification, |
| 25485 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 25486 | # with non-numerical values disallowed. Weights greater than or equal to |
| 25487 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 25488 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 25489 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25490 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 25491 | "fontFamily": "A String", # The font family of the text. |
| 25492 | # |
| 25493 | # The font family can be any font from the Font menu in Slides or from |
| 25494 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 25495 | # unrecognized, the text is rendered in `Arial`. |
| 25496 | # |
| 25497 | # Some fonts can affect the weight of the text. If an update request |
| 25498 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 25499 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25500 | "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 |
| 25501 | # points. |
| 25502 | "magnitude": 3.14, # The magnitude. |
| 25503 | "unit": "A String", # The units for magnitude. |
| 25504 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25505 | "italic": True or False, # Whether or not the text is italicized. |
| 25506 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 25507 | # are not inherited from parent text. |
| 25508 | # |
| 25509 | # Changing the link in an update request causes some other changes to the |
| 25510 | # text style of the range: |
| 25511 | # |
| 25512 | # * When setting a link, the text foreground color will be set to |
| 25513 | # ThemeColorType.HYPERLINK and the text will |
| 25514 | # be underlined. If these fields are modified in the same |
| 25515 | # request, those values will be used instead of the link defaults. |
| 25516 | # * Setting a link on a text range that overlaps with an existing link will |
| 25517 | # also update the existing link to point to the new URL. |
| 25518 | # * Links are not settable on newline characters. As a result, setting a link |
| 25519 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 25520 | # will separate the newline character(s) into their own text runs. The |
| 25521 | # link will be applied separately to the runs before and after the newline. |
| 25522 | # * Removing a link will update the text style of the range to match the |
| 25523 | # style of the preceding text (or the default text styles if the preceding |
| 25524 | # text is another link) unless different styles are being set in the same |
| 25525 | # request. |
| 25526 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 25527 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 25528 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 25529 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 25530 | # presentation with this ID. A page with this ID may not exist. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25531 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 25532 | # addressed by its position. |
| 25533 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 25534 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25535 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25536 | }, |
| 25537 | "type": "A String", # The type of this auto text. |
| 25538 | }, |
| 25539 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 25540 | # units. |
| 25541 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 25542 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 25543 | # |
| 25544 | # The `start_index` and `end_index` of this TextElement represent the |
| 25545 | # range of the paragraph. Other TextElements with an index range contained |
| 25546 | # inside this paragraph's range are considered to be part of this |
| 25547 | # paragraph. The range of indices of two separate paragraphs will never |
| 25548 | # overlap. |
| 25549 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 25550 | # |
| 25551 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 25552 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 25553 | # nesting level of lists: |
| 25554 | # |
| 25555 | # * A paragraph not in a list will inherit its paragraph style from the |
| 25556 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 25557 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 25558 | # at its corresponding nesting level of the list inside the parent |
| 25559 | # placeholder. |
| 25560 | # |
| 25561 | # Inherited paragraph styles are represented as unset fields in this message. |
| 25562 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 25563 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 25564 | # LEFT_TO_RIGHT since |
| 25565 | # text direction is not inherited. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25566 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25567 | # inherited from the parent. |
| 25568 | "magnitude": 3.14, # The magnitude. |
| 25569 | "unit": "A String", # The units for magnitude. |
| 25570 | }, |
| 25571 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 25572 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 25573 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 25574 | # the start of the text, based on the current text direction. If unset, the |
| 25575 | # value is inherited from the parent. |
| 25576 | "magnitude": 3.14, # The magnitude. |
| 25577 | "unit": "A String", # The units for magnitude. |
| 25578 | }, |
| 25579 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 25580 | # inherited from the parent. |
| 25581 | "magnitude": 3.14, # The magnitude. |
| 25582 | "unit": "A String", # The units for magnitude. |
| 25583 | }, |
| 25584 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 25585 | # the end of the text, based on the current text direction. If unset, the |
| 25586 | # value is inherited from the parent. |
| 25587 | "magnitude": 3.14, # The magnitude. |
| 25588 | "unit": "A String", # The units for magnitude. |
| 25589 | }, |
| 25590 | "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. |
| 25591 | # If unset, the value is inherited from the parent. |
| 25592 | "magnitude": 3.14, # The magnitude. |
| 25593 | "unit": "A String", # The units for magnitude. |
| 25594 | }, |
| 25595 | "alignment": "A String", # The text alignment for this paragraph. |
| 25596 | }, |
| 25597 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 25598 | # belong to a list. |
| 25599 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 25600 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 25601 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 25602 | # |
| 25603 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 25604 | # inherited from the parent. Which text styles are inherited depend on the |
| 25605 | # nesting level of lists: |
| 25606 | # |
| 25607 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 25608 | # from the the newline character in the paragraph at the 0 nesting level of |
| 25609 | # the list inside the parent placeholder. |
| 25610 | # * A text run in a paragraph that is in a list will inherit its text style |
| 25611 | # from the newline character in the paragraph at its corresponding nesting |
| 25612 | # level of the list inside the parent placeholder. |
| 25613 | # |
| 25614 | # Inherited text styles are represented as unset fields in this message. If |
| 25615 | # text is contained in a shape without a parent placeholder, unsetting these |
| 25616 | # fields will revert the style to a value matching the defaults in the Slides |
| 25617 | # editor. |
| 25618 | "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 |
| 25619 | # transparent, depending on if the `opaque_color` field in it is set. |
| 25620 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 25621 | # a transparent color. |
| 25622 | "themeColor": "A String", # An opaque theme color. |
| 25623 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 25624 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25625 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25626 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25627 | }, |
| 25628 | }, |
| 25629 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25630 | "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 |
| 25631 | # transparent, depending on if the `opaque_color` field in it is set. |
| 25632 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 25633 | # a transparent color. |
| 25634 | "themeColor": "A String", # An opaque theme color. |
| 25635 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 25636 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25637 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25638 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25639 | }, |
| 25640 | }, |
| 25641 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25642 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 25643 | # |
| 25644 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 25645 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 25646 | # The `font_size` itself is not affected by changes in this field. |
| 25647 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 25648 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 25649 | # |
| 25650 | # This field is an extension of `font_family` meant to support explicit font |
| 25651 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 25652 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 25653 | # will always be equal to that of `font_family`. However, when writing, if |
| 25654 | # both fields are included in the field mask (either explicitly or through |
| 25655 | # the wildcard `"*"`), their values are reconciled as follows: |
| 25656 | # |
| 25657 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 25658 | # `font_family` is applied with weight `400` ("normal"). |
| 25659 | # * If both fields are set, the value of `font_family` must match that of |
| 25660 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 25661 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 25662 | # returned. |
| 25663 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 25664 | # family and weight of `weighted_font_family` is applied. |
| 25665 | # * If neither field is set, the font family and weight of the text inherit |
| 25666 | # from the parent. Note that these properties cannot inherit separately |
| 25667 | # from each other. |
| 25668 | # |
| 25669 | # If an update request specifies values for both `weighted_font_family` and |
| 25670 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 25671 | # |
| 25672 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 25673 | # |
| 25674 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 25675 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 25676 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 25677 | "fontFamily": "A String", # The font family of the text. |
| 25678 | # |
| 25679 | # The font family can be any font from the Font menu in Slides or from |
| 25680 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 25681 | # unrecognized, the text is rendered in `Arial`. |
| 25682 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 25683 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 25684 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25685 | # Specification, |
| 25686 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 25687 | # with non-numerical values disallowed. Weights greater than or equal to |
| 25688 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 25689 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 25690 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25691 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 25692 | "fontFamily": "A String", # The font family of the text. |
| 25693 | # |
| 25694 | # The font family can be any font from the Font menu in Slides or from |
| 25695 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 25696 | # unrecognized, the text is rendered in `Arial`. |
| 25697 | # |
| 25698 | # Some fonts can affect the weight of the text. If an update request |
| 25699 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 25700 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25701 | "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 |
| 25702 | # points. |
| 25703 | "magnitude": 3.14, # The magnitude. |
| 25704 | "unit": "A String", # The units for magnitude. |
| 25705 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25706 | "italic": True or False, # Whether or not the text is italicized. |
| 25707 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 25708 | # are not inherited from parent text. |
| 25709 | # |
| 25710 | # Changing the link in an update request causes some other changes to the |
| 25711 | # text style of the range: |
| 25712 | # |
| 25713 | # * When setting a link, the text foreground color will be set to |
| 25714 | # ThemeColorType.HYPERLINK and the text will |
| 25715 | # be underlined. If these fields are modified in the same |
| 25716 | # request, those values will be used instead of the link defaults. |
| 25717 | # * Setting a link on a text range that overlaps with an existing link will |
| 25718 | # also update the existing link to point to the new URL. |
| 25719 | # * Links are not settable on newline characters. As a result, setting a link |
| 25720 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 25721 | # will separate the newline character(s) into their own text runs. The |
| 25722 | # link will be applied separately to the runs before and after the newline. |
| 25723 | # * Removing a link will update the text style of the range to match the |
| 25724 | # style of the preceding text (or the default text styles if the preceding |
| 25725 | # text is another link) unless different styles are being set in the same |
| 25726 | # request. |
| 25727 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 25728 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 25729 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 25730 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 25731 | # presentation with this ID. A page with this ID may not exist. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25732 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 25733 | # addressed by its position. |
| 25734 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 25735 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25736 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25737 | }, |
| 25738 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 25739 | }, |
| 25740 | }, |
| 25741 | "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 |
| 25742 | # in the run have the same TextStyle. |
| 25743 | # |
| 25744 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 25745 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 25746 | # In other words, a TextRun will never span multiple paragraphs. |
| 25747 | # styling. |
| 25748 | "content": "A String", # The text of this run. |
| 25749 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 25750 | # |
| 25751 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 25752 | # inherited from the parent. Which text styles are inherited depend on the |
| 25753 | # nesting level of lists: |
| 25754 | # |
| 25755 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 25756 | # from the the newline character in the paragraph at the 0 nesting level of |
| 25757 | # the list inside the parent placeholder. |
| 25758 | # * A text run in a paragraph that is in a list will inherit its text style |
| 25759 | # from the newline character in the paragraph at its corresponding nesting |
| 25760 | # level of the list inside the parent placeholder. |
| 25761 | # |
| 25762 | # Inherited text styles are represented as unset fields in this message. If |
| 25763 | # text is contained in a shape without a parent placeholder, unsetting these |
| 25764 | # fields will revert the style to a value matching the defaults in the Slides |
| 25765 | # editor. |
| 25766 | "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 |
| 25767 | # transparent, depending on if the `opaque_color` field in it is set. |
| 25768 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 25769 | # a transparent color. |
| 25770 | "themeColor": "A String", # An opaque theme color. |
| 25771 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 25772 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25773 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25774 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25775 | }, |
| 25776 | }, |
| 25777 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25778 | "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 |
| 25779 | # transparent, depending on if the `opaque_color` field in it is set. |
| 25780 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 25781 | # a transparent color. |
| 25782 | "themeColor": "A String", # An opaque theme color. |
| 25783 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 25784 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25785 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25786 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25787 | }, |
| 25788 | }, |
| 25789 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25790 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 25791 | # |
| 25792 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 25793 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 25794 | # The `font_size` itself is not affected by changes in this field. |
| 25795 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 25796 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 25797 | # |
| 25798 | # This field is an extension of `font_family` meant to support explicit font |
| 25799 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 25800 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 25801 | # will always be equal to that of `font_family`. However, when writing, if |
| 25802 | # both fields are included in the field mask (either explicitly or through |
| 25803 | # the wildcard `"*"`), their values are reconciled as follows: |
| 25804 | # |
| 25805 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 25806 | # `font_family` is applied with weight `400` ("normal"). |
| 25807 | # * If both fields are set, the value of `font_family` must match that of |
| 25808 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 25809 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 25810 | # returned. |
| 25811 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 25812 | # family and weight of `weighted_font_family` is applied. |
| 25813 | # * If neither field is set, the font family and weight of the text inherit |
| 25814 | # from the parent. Note that these properties cannot inherit separately |
| 25815 | # from each other. |
| 25816 | # |
| 25817 | # If an update request specifies values for both `weighted_font_family` and |
| 25818 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 25819 | # |
| 25820 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 25821 | # |
| 25822 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 25823 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 25824 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 25825 | "fontFamily": "A String", # The font family of the text. |
| 25826 | # |
| 25827 | # The font family can be any font from the Font menu in Slides or from |
| 25828 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 25829 | # unrecognized, the text is rendered in `Arial`. |
| 25830 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 25831 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 25832 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25833 | # Specification, |
| 25834 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 25835 | # with non-numerical values disallowed. Weights greater than or equal to |
| 25836 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 25837 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 25838 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25839 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 25840 | "fontFamily": "A String", # The font family of the text. |
| 25841 | # |
| 25842 | # The font family can be any font from the Font menu in Slides or from |
| 25843 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 25844 | # unrecognized, the text is rendered in `Arial`. |
| 25845 | # |
| 25846 | # Some fonts can affect the weight of the text. If an update request |
| 25847 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 25848 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25849 | "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 |
| 25850 | # points. |
| 25851 | "magnitude": 3.14, # The magnitude. |
| 25852 | "unit": "A String", # The units for magnitude. |
| 25853 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25854 | "italic": True or False, # Whether or not the text is italicized. |
| 25855 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 25856 | # are not inherited from parent text. |
| 25857 | # |
| 25858 | # Changing the link in an update request causes some other changes to the |
| 25859 | # text style of the range: |
| 25860 | # |
| 25861 | # * When setting a link, the text foreground color will be set to |
| 25862 | # ThemeColorType.HYPERLINK and the text will |
| 25863 | # be underlined. If these fields are modified in the same |
| 25864 | # request, those values will be used instead of the link defaults. |
| 25865 | # * Setting a link on a text range that overlaps with an existing link will |
| 25866 | # also update the existing link to point to the new URL. |
| 25867 | # * Links are not settable on newline characters. As a result, setting a link |
| 25868 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 25869 | # will separate the newline character(s) into their own text runs. The |
| 25870 | # link will be applied separately to the runs before and after the newline. |
| 25871 | # * Removing a link will update the text style of the range to match the |
| 25872 | # style of the preceding text (or the default text styles if the preceding |
| 25873 | # text is another link) unless different styles are being set in the same |
| 25874 | # request. |
| 25875 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 25876 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 25877 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 25878 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 25879 | # presentation with this ID. A page with this ID may not exist. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25880 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 25881 | # addressed by its position. |
| 25882 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 25883 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25884 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 25885 | }, |
| 25886 | }, |
| 25887 | }, |
| 25888 | ], |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 25889 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 25890 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 25891 | # associated with a list. A paragraph that is part of a list has an implicit |
| 25892 | # reference to that list's ID. |
| 25893 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 25894 | # level. A list has at most nine levels of nesting, so the possible values |
| 25895 | # for the keys of this map are 0 through 8, inclusive. |
| 25896 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 25897 | # level of nesting. |
| 25898 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 25899 | # |
| 25900 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 25901 | # inherited from the parent. Which text styles are inherited depend on the |
| 25902 | # nesting level of lists: |
| 25903 | # |
| 25904 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 25905 | # from the the newline character in the paragraph at the 0 nesting level of |
| 25906 | # the list inside the parent placeholder. |
| 25907 | # * A text run in a paragraph that is in a list will inherit its text style |
| 25908 | # from the newline character in the paragraph at its corresponding nesting |
| 25909 | # level of the list inside the parent placeholder. |
| 25910 | # |
| 25911 | # Inherited text styles are represented as unset fields in this message. If |
| 25912 | # text is contained in a shape without a parent placeholder, unsetting these |
| 25913 | # fields will revert the style to a value matching the defaults in the Slides |
| 25914 | # editor. |
| 25915 | "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 |
| 25916 | # transparent, depending on if the `opaque_color` field in it is set. |
| 25917 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 25918 | # a transparent color. |
| 25919 | "themeColor": "A String", # An opaque theme color. |
| 25920 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 25921 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25922 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25923 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25924 | }, |
| 25925 | }, |
| 25926 | }, |
| 25927 | "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 |
| 25928 | # transparent, depending on if the `opaque_color` field in it is set. |
| 25929 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 25930 | # a transparent color. |
| 25931 | "themeColor": "A String", # An opaque theme color. |
| 25932 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 25933 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25934 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25935 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25936 | }, |
| 25937 | }, |
| 25938 | }, |
| 25939 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 25940 | # |
| 25941 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 25942 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 25943 | # The `font_size` itself is not affected by changes in this field. |
| 25944 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 25945 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 25946 | # |
| 25947 | # This field is an extension of `font_family` meant to support explicit font |
| 25948 | # weights without breaking backwards compatibility. As such, when reading the |
| 25949 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 25950 | # will always be equal to that of `font_family`. However, when writing, if |
| 25951 | # both fields are included in the field mask (either explicitly or through |
| 25952 | # the wildcard `"*"`), their values are reconciled as follows: |
| 25953 | # |
| 25954 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 25955 | # `font_family` is applied with weight `400` ("normal"). |
| 25956 | # * If both fields are set, the value of `font_family` must match that of |
| 25957 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 25958 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 25959 | # returned. |
| 25960 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 25961 | # family and weight of `weighted_font_family` is applied. |
| 25962 | # * If neither field is set, the font family and weight of the text inherit |
| 25963 | # from the parent. Note that these properties cannot inherit separately |
| 25964 | # from each other. |
| 25965 | # |
| 25966 | # If an update request specifies values for both `weighted_font_family` and |
| 25967 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 25968 | # |
| 25969 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 25970 | # |
| 25971 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 25972 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 25973 | # is returned. |
| 25974 | "fontFamily": "A String", # The font family of the text. |
| 25975 | # |
| 25976 | # The font family can be any font from the Font menu in Slides or from |
| 25977 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 25978 | # unrecognized, the text is rendered in `Arial`. |
| 25979 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 25980 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 25981 | # corresponds to the numerical values described in the CSS 2.1 |
| 25982 | # Specification, |
| 25983 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 25984 | # with non-numerical values disallowed. Weights greater than or equal to |
| 25985 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 25986 | # default value is `400` ("normal"). |
| 25987 | }, |
| 25988 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 25989 | "fontFamily": "A String", # The font family of the text. |
| 25990 | # |
| 25991 | # The font family can be any font from the Font menu in Slides or from |
| 25992 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 25993 | # unrecognized, the text is rendered in `Arial`. |
| 25994 | # |
| 25995 | # Some fonts can affect the weight of the text. If an update request |
| 25996 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 25997 | # `bold` value is used. |
| 25998 | "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 |
| 25999 | # points. |
| 26000 | "magnitude": 3.14, # The magnitude. |
| 26001 | "unit": "A String", # The units for magnitude. |
| 26002 | }, |
| 26003 | "italic": True or False, # Whether or not the text is italicized. |
| 26004 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 26005 | # are not inherited from parent text. |
| 26006 | # |
| 26007 | # Changing the link in an update request causes some other changes to the |
| 26008 | # text style of the range: |
| 26009 | # |
| 26010 | # * When setting a link, the text foreground color will be set to |
| 26011 | # ThemeColorType.HYPERLINK and the text will |
| 26012 | # be underlined. If these fields are modified in the same |
| 26013 | # request, those values will be used instead of the link defaults. |
| 26014 | # * Setting a link on a text range that overlaps with an existing link will |
| 26015 | # also update the existing link to point to the new URL. |
| 26016 | # * Links are not settable on newline characters. As a result, setting a link |
| 26017 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 26018 | # will separate the newline character(s) into their own text runs. The |
| 26019 | # link will be applied separately to the runs before and after the newline. |
| 26020 | # * Removing a link will update the text style of the range to match the |
| 26021 | # style of the preceding text (or the default text styles if the preceding |
| 26022 | # text is another link) unless different styles are being set in the same |
| 26023 | # request. |
| 26024 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 26025 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 26026 | # in the presentation. There may not be a slide at this index. |
| 26027 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 26028 | # presentation with this ID. A page with this ID may not exist. |
| 26029 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 26030 | # addressed by its position. |
| 26031 | }, |
| 26032 | "underline": True or False, # Whether or not the text is underlined. |
| 26033 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 26034 | }, |
| 26035 | }, |
| 26036 | }, |
| 26037 | "listId": "A String", # The ID of the list. |
| 26038 | }, |
| 26039 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 26040 | }, |
| 26041 | "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell. |
| 26042 | "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill |
| 26043 | # for newly created table cells in the Slides editor. |
| 26044 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 26045 | # specified color value. |
| 26046 | # |
| 26047 | # If any field is unset, its value may be inherited from a parent placeholder |
| 26048 | # if it exists. |
| 26049 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 26050 | "themeColor": "A String", # An opaque theme color. |
| 26051 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 26052 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26053 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26054 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26055 | }, |
| 26056 | }, |
| 26057 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 26058 | # That is, the final pixel color is defined by the equation: |
| 26059 | # |
| 26060 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 26061 | # |
| 26062 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 26063 | # a value of 0.0 corresponds to a completely transparent color. |
| 26064 | }, |
| 26065 | "propertyState": "A String", # The background fill property state. |
| 26066 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26067 | # Updating the fill on a table cell will implicitly update this field |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 26068 | # to `RENDERED`, unless another value is specified in the same request. To |
| 26069 | # have no fill on a table cell, set this field to `NOT_RENDERED`. In this |
| 26070 | # case, any other fill fields set in the same request will be ignored. |
| 26071 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26072 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 26073 | # matches the alignment for newly created table cells in the Slides editor. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 26074 | }, |
| 26075 | "rowSpan": 42, # Row span of the cell. |
| 26076 | "columnSpan": 42, # Column span of the cell. |
| 26077 | "location": { # A location of a single table cell within a table. # The location of the cell within the table. |
| 26078 | "rowIndex": 42, # The 0-based row index. |
| 26079 | "columnIndex": 42, # The 0-based column index. |
| 26080 | }, |
| 26081 | }, |
| 26082 | ], |
| 26083 | "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row. |
| 26084 | "magnitude": 3.14, # The magnitude. |
| 26085 | "unit": "A String", # The units for magnitude. |
| 26086 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26087 | "tableRowProperties": { # Properties of each row in a table. # Properties of the row. |
| 26088 | "minRowHeight": { # A magnitude in a single direction in the specified units. # Minimum height of the row. The row will be rendered in the Slides editor at |
| 26089 | # a height equal to or greater than this value in order to show all the text |
| 26090 | # in the row's cell(s). |
| 26091 | "magnitude": 3.14, # The magnitude. |
| 26092 | "unit": "A String", # The units for magnitude. |
| 26093 | }, |
| 26094 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 26095 | }, |
| 26096 | ], |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 26097 | "columns": 42, # Number of columns in the table. |
| 26098 | }, |
| 26099 | "line": { # A PageElement kind representing a # A line page element. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26100 | # non-connector line, straight connector, curved connector, or bent connector. |
| 26101 | "lineCategory": "A String", # The category of the line. |
| 26102 | # |
| 26103 | # It matches the `category` specified in CreateLineRequest, and can be updated with |
| 26104 | # UpdateLineCategoryRequest. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 26105 | "lineProperties": { # The properties of the Line. # The properties of the line. |
| 26106 | # |
| 26107 | # When unset, these fields default to values that match the appearance of |
| 26108 | # new lines created in the Slides editor. |
| 26109 | "dashStyle": "A String", # The dash style of the line. |
| 26110 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line. |
| 26111 | "magnitude": 3.14, # The magnitude. |
| 26112 | "unit": "A String", # The units for magnitude. |
| 26113 | }, |
| 26114 | "endArrow": "A String", # The style of the arrow at the end of the line. |
| 26115 | "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link. |
| 26116 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 26117 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 26118 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26119 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 26120 | # presentation with this ID. A page with this ID may not exist. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 26121 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 26122 | # addressed by its position. |
| 26123 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 26124 | "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new |
| 26125 | # lines created in the Slides editor. |
| 26126 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 26127 | # specified color value. |
| 26128 | # |
| 26129 | # If any field is unset, its value may be inherited from a parent placeholder |
| 26130 | # if it exists. |
| 26131 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 26132 | "themeColor": "A String", # An opaque theme color. |
| 26133 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 26134 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26135 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26136 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26137 | }, |
| 26138 | }, |
| 26139 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 26140 | # That is, the final pixel color is defined by the equation: |
| 26141 | # |
| 26142 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 26143 | # |
| 26144 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 26145 | # a value of 0.0 corresponds to a completely transparent color. |
| 26146 | }, |
| 26147 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26148 | "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no |
| 26149 | # connection. |
| 26150 | # |
| 26151 | # Only lines with a Type indicating it is |
| 26152 | # a "connector" can have a `start_connection`. |
| 26153 | # connection. |
| 26154 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 26155 | # |
| 26156 | # In most cases, it corresponds to the predefined connection site index from |
| 26157 | # the ECMA-376 standard. More information on those connection sites can be |
| 26158 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 26159 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 26160 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 26161 | # [ECMA-376 5th edition] |
| 26162 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 26163 | # |
| 26164 | # The position of each connection site can also be viewed from Slides editor. |
| 26165 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 26166 | # |
| 26167 | # Some page elements, such as groups, tables, and lines |
| 26168 | # do not have connection sites and therefore cannot be connected to a |
| 26169 | # connector line. |
| 26170 | }, |
| 26171 | "endConnection": { # The properties for one end of a Line # The connection at the end of the line. If unset, there is no connection. |
| 26172 | # |
| 26173 | # Only lines with a Type indicating it is |
| 26174 | # a "connector" can have an `end_connection`. |
| 26175 | # connection. |
| 26176 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 26177 | # |
| 26178 | # In most cases, it corresponds to the predefined connection site index from |
| 26179 | # the ECMA-376 standard. More information on those connection sites can be |
| 26180 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 26181 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 26182 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 26183 | # [ECMA-376 5th edition] |
| 26184 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 26185 | # |
| 26186 | # The position of each connection site can also be viewed from Slides editor. |
| 26187 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 26188 | # |
| 26189 | # Some page elements, such as groups, tables, and lines |
| 26190 | # do not have connection sites and therefore cannot be connected to a |
| 26191 | # connector line. |
| 26192 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 26193 | "startArrow": "A String", # The style of the arrow at the beginning of the line. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 26194 | }, |
| 26195 | "lineType": "A String", # The type of the line. |
| 26196 | }, |
| 26197 | "size": { # A width and height. # The size of the page element. |
| 26198 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 26199 | "magnitude": 3.14, # The magnitude. |
| 26200 | "unit": "A String", # The units for magnitude. |
| 26201 | }, |
| 26202 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 26203 | "magnitude": 3.14, # The magnitude. |
| 26204 | "unit": "A String", # The units for magnitude. |
| 26205 | }, |
| 26206 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26207 | "description": "A String", # The description of the page element. Combined with title to display alt |
| 26208 | # text. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 26209 | }, |
| 26210 | ], |
| 26211 | "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES. |
| 26212 | # relevant for pages with page_type NOTES. |
| 26213 | "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker |
| 26214 | # notes for the corresponding slide. |
| 26215 | # The actual shape may not always exist on the notes page. Inserting text |
| 26216 | # using this object ID will automatically create the shape. In this case, the |
| 26217 | # actual shape may have different object ID. The `GetPresentation` or |
| 26218 | # `GetPage` action will always return the latest object ID. |
| 26219 | }, |
| 26220 | "objectId": "A String", # The object ID for this page. Object IDs used by |
| 26221 | # Page and |
| 26222 | # PageElement share the same namespace. |
| 26223 | "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in |
| 26224 | # update requests to assert that the presentation revision hasn't changed |
| 26225 | # since the last read operation. Only populated if the user has edit access |
| 26226 | # to the presentation. |
| 26227 | # |
| 26228 | # The format of the revision ID may change over time, so it should be treated |
| 26229 | # opaquely. A returned revision ID is only guaranteed to be valid for 24 |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26230 | # hours after it has been returned and cannot be shared across users. If the |
| 26231 | # revision ID is unchanged between calls, then the presentation has not |
| 26232 | # changed. Conversely, a changed ID (for the same presentation and user) |
| 26233 | # usually means the presentation has been updated; however, a changed ID can |
| 26234 | # also be due to internal factors such as ID format changes. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26235 | "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER. |
| 26236 | # relevant for pages with page_type MASTER. |
| 26237 | "displayName": "A String", # The human-readable name of the master. |
| 26238 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 26239 | "pageProperties": { # The properties of the Page. # The properties of the page. |
| 26240 | # |
| 26241 | # The page will inherit properties from the parent page. Depending on the page |
| 26242 | # type the hierarchy is defined in either |
| 26243 | # SlideProperties or |
| 26244 | # LayoutProperties. |
| 26245 | "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited |
| 26246 | # from a parent page if it exists. If the page has no parent, then the |
| 26247 | # background fill defaults to the corresponding fill in the Slides editor. |
| 26248 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 26249 | # specified color value. |
| 26250 | # |
| 26251 | # If any field is unset, its value may be inherited from a parent placeholder |
| 26252 | # if it exists. |
| 26253 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 26254 | "themeColor": "A String", # An opaque theme color. |
| 26255 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 26256 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26257 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26258 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26259 | }, |
| 26260 | }, |
| 26261 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 26262 | # That is, the final pixel color is defined by the equation: |
| 26263 | # |
| 26264 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 26265 | # |
| 26266 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 26267 | # a value of 0.0 corresponds to a completely transparent color. |
| 26268 | }, |
| 26269 | "propertyState": "A String", # The background fill property state. |
| 26270 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26271 | # Updating the fill on a page will implicitly update this field to |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 26272 | # `RENDERED`, unless another value is specified in the same request. To |
| 26273 | # have no fill on a page, set this field to `NOT_RENDERED`. In this case, |
| 26274 | # any other fill fields set in the same request will be ignored. |
| 26275 | "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill. |
| 26276 | # the specified picture. The picture is stretched to fit its container. |
| 26277 | "contentUrl": "A String", # Reading the content_url: |
| 26278 | # |
| 26279 | # An URL to a picture with a default lifetime of 30 minutes. |
| 26280 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 26281 | # effectively accesses the picture as the original requester. Access to the |
| 26282 | # picture may be lost if the presentation's sharing settings change. |
| 26283 | # |
| 26284 | # Writing the content_url: |
| 26285 | # |
| 26286 | # The picture is fetched once at insertion time and a copy is stored for |
| 26287 | # display inside the presentation. Pictures must be less than 50MB in size, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26288 | # cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 26289 | # format. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26290 | # |
| 26291 | # The provided URL can be at most 2 kB in length. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 26292 | "size": { # A width and height. # The original size of the picture fill. This field is read-only. |
| 26293 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 26294 | "magnitude": 3.14, # The magnitude. |
| 26295 | "unit": "A String", # The units for magnitude. |
| 26296 | }, |
| 26297 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 26298 | "magnitude": 3.14, # The magnitude. |
| 26299 | "unit": "A String", # The units for magnitude. |
| 26300 | }, |
| 26301 | }, |
| 26302 | }, |
| 26303 | }, |
| 26304 | "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from |
| 26305 | # a parent page. If the page has no parent, the color scheme uses a default |
| 26306 | # Slides color scheme. This field is read-only. |
| 26307 | "colors": [ # The ThemeColorType and corresponding concrete color pairs. |
| 26308 | { # A pair mapping a theme color type to the concrete color it represents. |
| 26309 | "color": { # An RGB color. # The concrete color corresponding to the theme color type above. |
| 26310 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26311 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26312 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26313 | }, |
| 26314 | "type": "A String", # The type of the theme color. |
| 26315 | }, |
| 26316 | ], |
| 26317 | }, |
| 26318 | }, |
| 26319 | "pageType": "A String", # The type of the page. |
| 26320 | "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE. |
| 26321 | # relevant for pages with page_type SLIDE. |
| 26322 | "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual |
| 26323 | # appearance of a notes page when printing or exporting slides with speaker |
| 26324 | # notes. A notes page inherits properties from the |
| 26325 | # notes master. |
| 26326 | # The placeholder shape with type BODY on the notes page contains the speaker |
| 26327 | # notes for this slide. The ID of this shape is identified by the |
| 26328 | # speakerNotesObjectId field. |
| 26329 | # The notes page is read-only except for the text content and styles of the |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26330 | # speaker notes shape. This property is read-only. |
| 26331 | "masterObjectId": "A String", # The object ID of the master that this slide is based on. This property is |
| 26332 | # read-only. |
| 26333 | "layoutObjectId": "A String", # The object ID of the layout that this slide is based on. This property is |
| 26334 | # read-only. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 26335 | }, |
| 26336 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26337 | "slides": [ # The slides in the presentation. |
| 26338 | # A slide inherits properties from a slide layout. |
| 26339 | { # A page in a presentation. |
| 26340 | "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT. |
| 26341 | # relevant for pages with page_type LAYOUT. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26342 | "displayName": "A String", # The human-readable name of the layout. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26343 | "name": "A String", # The name of the layout. |
| 26344 | "masterObjectId": "A String", # The object ID of the master that this layout is based on. |
| 26345 | }, |
| 26346 | "pageElements": [ # The page elements rendered on the page. |
| 26347 | { # A visual element rendered on a page. |
| 26348 | "wordArt": { # A PageElement kind representing # A word art page element. |
| 26349 | # word art. |
| 26350 | "renderedText": "A String", # The text rendered as word art. |
| 26351 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26352 | "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit. |
| 26353 | # joined collection of PageElements. |
| 26354 | "children": [ # The collection of elements in the group. The minimum size of a group is 2. |
| 26355 | # Object with schema name: PageElement |
| 26356 | ], |
| 26357 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26358 | "objectId": "A String", # The object ID for this page element. Object IDs used by |
| 26359 | # google.apps.slides.v1.Page and |
| 26360 | # google.apps.slides.v1.PageElement share the same namespace. |
| 26361 | "title": "A String", # The title of the page element. Combined with description to display alt |
| 26362 | # text. |
| 26363 | "image": { # A PageElement kind representing an # An image page element. |
| 26364 | # image. |
| 26365 | "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes. |
| 26366 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 26367 | # effectively accesses the image as the original requester. Access to the |
| 26368 | # image may be lost if the presentation's sharing settings change. |
| 26369 | "imageProperties": { # The properties of the Image. # The properties of the image. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26370 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26371 | # |
| 26372 | # If these fields are unset, they may be inherited from a parent placeholder |
| 26373 | # if it exists. If there is no parent, the fields will default to the value |
| 26374 | # used for new page elements created in the Slides editor, which may depend on |
| 26375 | # the page element kind. |
| 26376 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 26377 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 26378 | # specified color value. |
| 26379 | # |
| 26380 | # If any field is unset, its value may be inherited from a parent placeholder |
| 26381 | # if it exists. |
| 26382 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 26383 | "themeColor": "A String", # An opaque theme color. |
| 26384 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 26385 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26386 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26387 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26388 | }, |
| 26389 | }, |
| 26390 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 26391 | # That is, the final pixel color is defined by the equation: |
| 26392 | # |
| 26393 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 26394 | # |
| 26395 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 26396 | # a value of 0.0 corresponds to a completely transparent color. |
| 26397 | }, |
| 26398 | }, |
| 26399 | "propertyState": "A String", # The outline property state. |
| 26400 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26401 | # Updating the outline on a page element will implicitly update this field |
| 26402 | # to `RENDERED`, unless another value is specified in the same request. To |
| 26403 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26404 | # this case, any other outline fields set in the same request will be |
| 26405 | # ignored. |
| 26406 | "dashStyle": "A String", # The dash style of the outline. |
| 26407 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 26408 | "magnitude": 3.14, # The magnitude. |
| 26409 | "unit": "A String", # The units for magnitude. |
| 26410 | }, |
| 26411 | }, |
| 26412 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 26413 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 26414 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 26415 | # This property is read-only. |
| 26416 | "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color |
| 26417 | # stops. |
| 26418 | # |
| 26419 | # The colors in the gradient will replace the corresponding colors at |
| 26420 | # the same position in the color palette and apply to the image. This |
| 26421 | # property is read-only. |
| 26422 | { # A color and position in a gradient band. |
| 26423 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 26424 | "themeColor": "A String", # An opaque theme color. |
| 26425 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 26426 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26427 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26428 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26429 | }, |
| 26430 | }, |
| 26431 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 26432 | # fully opaque. |
| 26433 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 26434 | # in percentage. The value should be in the interval [0.0, 1.0]. |
| 26435 | }, |
| 26436 | ], |
| 26437 | "name": "A String", # The name of the recolor effect. |
| 26438 | # |
| 26439 | # The name is determined from the `recolor_stops` by matching the gradient |
| 26440 | # against the colors in the page's current color scheme. This property is |
| 26441 | # read-only. |
| 26442 | }, |
| 26443 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 26444 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 26445 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 26446 | # in the presentation. There may not be a slide at this index. |
| 26447 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 26448 | # presentation with this ID. A page with this ID may not exist. |
| 26449 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 26450 | # addressed by its position. |
| 26451 | }, |
| 26452 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 26453 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 26454 | # This property is read-only. |
| 26455 | "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. |
| 26456 | # This property is read-only. |
| 26457 | # Image. |
| 26458 | # |
| 26459 | # The crop properties is represented by the offsets of four edges which define |
| 26460 | # a crop rectangle. The offsets are measured in percentage from the |
| 26461 | # corresponding edges of the object's original bounding rectangle towards |
| 26462 | # inside, relative to the object's original dimensions. |
| 26463 | # |
| 26464 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 26465 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 26466 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 26467 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 26468 | # - If the left edge of the crop rectangle is on the right side of its right |
| 26469 | # edge, the object will be flipped horizontally. |
| 26470 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 26471 | # will be flipped vertically. |
| 26472 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 26473 | # |
| 26474 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 26475 | # its container. |
| 26476 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 26477 | # the right of the original bounding rectangle left edge, relative to the |
| 26478 | # object's original width. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26479 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 26480 | # above the original bounding rectangle bottom edge, relative to the object's |
| 26481 | # original height. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26482 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 26483 | # Rotation angle is applied after the offset. |
| 26484 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 26485 | # to the left of the original bounding rectangle right edge, relative to the |
| 26486 | # object's original width. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26487 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 26488 | # below the original bounding rectangle top edge, relative to the object's |
| 26489 | # original height. |
| 26490 | }, |
| 26491 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 26492 | # is read-only. |
| 26493 | # |
| 26494 | # If these fields are unset, they may be inherited from a parent placeholder |
| 26495 | # if it exists. If there is no parent, the fields will default to the value |
| 26496 | # used for new page elements created in the Slides editor, which may depend on |
| 26497 | # the page element kind. |
| 26498 | "color": { # A themeable solid color value. # The shadow color value. |
| 26499 | "themeColor": "A String", # An opaque theme color. |
| 26500 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 26501 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26502 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26503 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26504 | }, |
| 26505 | }, |
| 26506 | "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, |
| 26507 | # relative to the alignment position. |
| 26508 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 26509 | # according to: |
| 26510 | # |
| 26511 | # x' x = shear_y scale_y translate_y |
| 26512 | # 1 [ 1 ] |
| 26513 | # |
| 26514 | # After transformation, |
| 26515 | # |
| 26516 | # x' = scale_x * x + shear_x * y + translate_x; |
| 26517 | # y' = scale_y * y + shear_y * x + translate_y; |
| 26518 | # |
| 26519 | # This message is therefore composed of these six matrix elements. |
| 26520 | "translateX": 3.14, # The X coordinate translation element. |
| 26521 | "translateY": 3.14, # The Y coordinate translation element. |
| 26522 | "scaleX": 3.14, # The X coordinate scaling element. |
| 26523 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 26524 | "shearY": 3.14, # The Y coordinate shearing element. |
| 26525 | "shearX": 3.14, # The X coordinate shearing element. |
| 26526 | "unit": "A String", # The units for translate elements. |
| 26527 | }, |
| 26528 | "propertyState": "A String", # The shadow property state. |
| 26529 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26530 | # Updating the shadow on a page element will implicitly update this field to |
| 26531 | # `RENDERED`, unless another value is specified in the same request. To have |
| 26532 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26533 | # case, any other shadow fields set in the same request will be ignored. |
| 26534 | "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 |
| 26535 | # shadow becomes. |
| 26536 | "magnitude": 3.14, # The magnitude. |
| 26537 | "unit": "A String", # The units for magnitude. |
| 26538 | }, |
| 26539 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26540 | "type": "A String", # The type of the shadow. This property is read-only. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26541 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26542 | # scale and skew of the shadow. This property is read-only. |
| 26543 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 26544 | # read-only. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26545 | }, |
| 26546 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 26547 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 26548 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26549 | "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be |
| 26550 | # empty. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26551 | }, |
| 26552 | "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26553 | # |
| 26554 | # The visual appearance of the page element is determined by its absolute |
| 26555 | # transform. To compute the absolute transform, preconcatenate a page |
| 26556 | # element's transform with the transforms of all of its parent groups. If the |
| 26557 | # page element is not in a group, its absolute transform is the same as the |
| 26558 | # value in this field. |
| 26559 | # |
| 26560 | # The initial transform for the newly created Group is always the identity transform. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26561 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 26562 | # according to: |
| 26563 | # |
| 26564 | # x' x = shear_y scale_y translate_y |
| 26565 | # 1 [ 1 ] |
| 26566 | # |
| 26567 | # After transformation, |
| 26568 | # |
| 26569 | # x' = scale_x * x + shear_x * y + translate_x; |
| 26570 | # y' = scale_y * y + shear_y * x + translate_y; |
| 26571 | # |
| 26572 | # This message is therefore composed of these six matrix elements. |
| 26573 | "translateX": 3.14, # The X coordinate translation element. |
| 26574 | "translateY": 3.14, # The Y coordinate translation element. |
| 26575 | "scaleX": 3.14, # The X coordinate scaling element. |
| 26576 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 26577 | "shearY": 3.14, # The Y coordinate shearing element. |
| 26578 | "shearX": 3.14, # The X coordinate shearing element. |
| 26579 | "unit": "A String", # The units for translate elements. |
| 26580 | }, |
| 26581 | "shape": { # A PageElement kind representing a # A generic shape. |
| 26582 | # generic shape that does not have a more specific classification. |
| 26583 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape. |
| 26584 | # text box or rectangle) or a table cell in a page. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26585 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 26586 | # information. This property is read-only. |
| 26587 | { # A TextElement describes the content of a range of indices in the text content |
| 26588 | # of a Shape or TableCell. |
| 26589 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 26590 | # replaced with content that can change over time. |
| 26591 | "content": "A String", # The rendered content of this auto text, if available. |
| 26592 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 26593 | # |
| 26594 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 26595 | # inherited from the parent. Which text styles are inherited depend on the |
| 26596 | # nesting level of lists: |
| 26597 | # |
| 26598 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 26599 | # from the the newline character in the paragraph at the 0 nesting level of |
| 26600 | # the list inside the parent placeholder. |
| 26601 | # * A text run in a paragraph that is in a list will inherit its text style |
| 26602 | # from the newline character in the paragraph at its corresponding nesting |
| 26603 | # level of the list inside the parent placeholder. |
| 26604 | # |
| 26605 | # Inherited text styles are represented as unset fields in this message. If |
| 26606 | # text is contained in a shape without a parent placeholder, unsetting these |
| 26607 | # fields will revert the style to a value matching the defaults in the Slides |
| 26608 | # editor. |
| 26609 | "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 |
| 26610 | # transparent, depending on if the `opaque_color` field in it is set. |
| 26611 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 26612 | # a transparent color. |
| 26613 | "themeColor": "A String", # An opaque theme color. |
| 26614 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 26615 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26616 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26617 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26618 | }, |
| 26619 | }, |
| 26620 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26621 | "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 |
| 26622 | # transparent, depending on if the `opaque_color` field in it is set. |
| 26623 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 26624 | # a transparent color. |
| 26625 | "themeColor": "A String", # An opaque theme color. |
| 26626 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 26627 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26628 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26629 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26630 | }, |
| 26631 | }, |
| 26632 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26633 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 26634 | # |
| 26635 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 26636 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 26637 | # The `font_size` itself is not affected by changes in this field. |
| 26638 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 26639 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 26640 | # |
| 26641 | # This field is an extension of `font_family` meant to support explicit font |
| 26642 | # weights without breaking backwards compatibility. As such, when reading the |
| 26643 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 26644 | # will always be equal to that of `font_family`. However, when writing, if |
| 26645 | # both fields are included in the field mask (either explicitly or through |
| 26646 | # the wildcard `"*"`), their values are reconciled as follows: |
| 26647 | # |
| 26648 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 26649 | # `font_family` is applied with weight `400` ("normal"). |
| 26650 | # * If both fields are set, the value of `font_family` must match that of |
| 26651 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 26652 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 26653 | # returned. |
| 26654 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 26655 | # family and weight of `weighted_font_family` is applied. |
| 26656 | # * If neither field is set, the font family and weight of the text inherit |
| 26657 | # from the parent. Note that these properties cannot inherit separately |
| 26658 | # from each other. |
| 26659 | # |
| 26660 | # If an update request specifies values for both `weighted_font_family` and |
| 26661 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 26662 | # |
| 26663 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 26664 | # |
| 26665 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 26666 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 26667 | # is returned. |
| 26668 | "fontFamily": "A String", # The font family of the text. |
| 26669 | # |
| 26670 | # The font family can be any font from the Font menu in Slides or from |
| 26671 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 26672 | # unrecognized, the text is rendered in `Arial`. |
| 26673 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 26674 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 26675 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26676 | # Specification, |
| 26677 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26678 | # with non-numerical values disallowed. Weights greater than or equal to |
| 26679 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 26680 | # default value is `400` ("normal"). |
| 26681 | }, |
| 26682 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 26683 | "fontFamily": "A String", # The font family of the text. |
| 26684 | # |
| 26685 | # The font family can be any font from the Font menu in Slides or from |
| 26686 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 26687 | # unrecognized, the text is rendered in `Arial`. |
| 26688 | # |
| 26689 | # Some fonts can affect the weight of the text. If an update request |
| 26690 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 26691 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26692 | "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 |
| 26693 | # points. |
| 26694 | "magnitude": 3.14, # The magnitude. |
| 26695 | "unit": "A String", # The units for magnitude. |
| 26696 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26697 | "italic": True or False, # Whether or not the text is italicized. |
| 26698 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 26699 | # are not inherited from parent text. |
| 26700 | # |
| 26701 | # Changing the link in an update request causes some other changes to the |
| 26702 | # text style of the range: |
| 26703 | # |
| 26704 | # * When setting a link, the text foreground color will be set to |
| 26705 | # ThemeColorType.HYPERLINK and the text will |
| 26706 | # be underlined. If these fields are modified in the same |
| 26707 | # request, those values will be used instead of the link defaults. |
| 26708 | # * Setting a link on a text range that overlaps with an existing link will |
| 26709 | # also update the existing link to point to the new URL. |
| 26710 | # * Links are not settable on newline characters. As a result, setting a link |
| 26711 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 26712 | # will separate the newline character(s) into their own text runs. The |
| 26713 | # link will be applied separately to the runs before and after the newline. |
| 26714 | # * Removing a link will update the text style of the range to match the |
| 26715 | # style of the preceding text (or the default text styles if the preceding |
| 26716 | # text is another link) unless different styles are being set in the same |
| 26717 | # request. |
| 26718 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 26719 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 26720 | # in the presentation. There may not be a slide at this index. |
| 26721 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 26722 | # presentation with this ID. A page with this ID may not exist. |
| 26723 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 26724 | # addressed by its position. |
| 26725 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26726 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26727 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26728 | }, |
| 26729 | "type": "A String", # The type of this auto text. |
| 26730 | }, |
| 26731 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 26732 | # units. |
| 26733 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 26734 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 26735 | # |
| 26736 | # The `start_index` and `end_index` of this TextElement represent the |
| 26737 | # range of the paragraph. Other TextElements with an index range contained |
| 26738 | # inside this paragraph's range are considered to be part of this |
| 26739 | # paragraph. The range of indices of two separate paragraphs will never |
| 26740 | # overlap. |
| 26741 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 26742 | # |
| 26743 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 26744 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 26745 | # nesting level of lists: |
| 26746 | # |
| 26747 | # * A paragraph not in a list will inherit its paragraph style from the |
| 26748 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 26749 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 26750 | # at its corresponding nesting level of the list inside the parent |
| 26751 | # placeholder. |
| 26752 | # |
| 26753 | # Inherited paragraph styles are represented as unset fields in this message. |
| 26754 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 26755 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 26756 | # LEFT_TO_RIGHT since |
| 26757 | # text direction is not inherited. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26758 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26759 | # inherited from the parent. |
| 26760 | "magnitude": 3.14, # The magnitude. |
| 26761 | "unit": "A String", # The units for magnitude. |
| 26762 | }, |
| 26763 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 26764 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 26765 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 26766 | # the start of the text, based on the current text direction. If unset, the |
| 26767 | # value is inherited from the parent. |
| 26768 | "magnitude": 3.14, # The magnitude. |
| 26769 | "unit": "A String", # The units for magnitude. |
| 26770 | }, |
| 26771 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 26772 | # inherited from the parent. |
| 26773 | "magnitude": 3.14, # The magnitude. |
| 26774 | "unit": "A String", # The units for magnitude. |
| 26775 | }, |
| 26776 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 26777 | # the end of the text, based on the current text direction. If unset, the |
| 26778 | # value is inherited from the parent. |
| 26779 | "magnitude": 3.14, # The magnitude. |
| 26780 | "unit": "A String", # The units for magnitude. |
| 26781 | }, |
| 26782 | "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. |
| 26783 | # If unset, the value is inherited from the parent. |
| 26784 | "magnitude": 3.14, # The magnitude. |
| 26785 | "unit": "A String", # The units for magnitude. |
| 26786 | }, |
| 26787 | "alignment": "A String", # The text alignment for this paragraph. |
| 26788 | }, |
| 26789 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 26790 | # belong to a list. |
| 26791 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 26792 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 26793 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 26794 | # |
| 26795 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 26796 | # inherited from the parent. Which text styles are inherited depend on the |
| 26797 | # nesting level of lists: |
| 26798 | # |
| 26799 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 26800 | # from the the newline character in the paragraph at the 0 nesting level of |
| 26801 | # the list inside the parent placeholder. |
| 26802 | # * A text run in a paragraph that is in a list will inherit its text style |
| 26803 | # from the newline character in the paragraph at its corresponding nesting |
| 26804 | # level of the list inside the parent placeholder. |
| 26805 | # |
| 26806 | # Inherited text styles are represented as unset fields in this message. If |
| 26807 | # text is contained in a shape without a parent placeholder, unsetting these |
| 26808 | # fields will revert the style to a value matching the defaults in the Slides |
| 26809 | # editor. |
| 26810 | "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 |
| 26811 | # transparent, depending on if the `opaque_color` field in it is set. |
| 26812 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 26813 | # a transparent color. |
| 26814 | "themeColor": "A String", # An opaque theme color. |
| 26815 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 26816 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26817 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26818 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26819 | }, |
| 26820 | }, |
| 26821 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26822 | "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 |
| 26823 | # transparent, depending on if the `opaque_color` field in it is set. |
| 26824 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 26825 | # a transparent color. |
| 26826 | "themeColor": "A String", # An opaque theme color. |
| 26827 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 26828 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26829 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26830 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26831 | }, |
| 26832 | }, |
| 26833 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26834 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 26835 | # |
| 26836 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 26837 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 26838 | # The `font_size` itself is not affected by changes in this field. |
| 26839 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 26840 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 26841 | # |
| 26842 | # This field is an extension of `font_family` meant to support explicit font |
| 26843 | # weights without breaking backwards compatibility. As such, when reading the |
| 26844 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 26845 | # will always be equal to that of `font_family`. However, when writing, if |
| 26846 | # both fields are included in the field mask (either explicitly or through |
| 26847 | # the wildcard `"*"`), their values are reconciled as follows: |
| 26848 | # |
| 26849 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 26850 | # `font_family` is applied with weight `400` ("normal"). |
| 26851 | # * If both fields are set, the value of `font_family` must match that of |
| 26852 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 26853 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 26854 | # returned. |
| 26855 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 26856 | # family and weight of `weighted_font_family` is applied. |
| 26857 | # * If neither field is set, the font family and weight of the text inherit |
| 26858 | # from the parent. Note that these properties cannot inherit separately |
| 26859 | # from each other. |
| 26860 | # |
| 26861 | # If an update request specifies values for both `weighted_font_family` and |
| 26862 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 26863 | # |
| 26864 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 26865 | # |
| 26866 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 26867 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 26868 | # is returned. |
| 26869 | "fontFamily": "A String", # The font family of the text. |
| 26870 | # |
| 26871 | # The font family can be any font from the Font menu in Slides or from |
| 26872 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 26873 | # unrecognized, the text is rendered in `Arial`. |
| 26874 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 26875 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 26876 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26877 | # Specification, |
| 26878 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26879 | # with non-numerical values disallowed. Weights greater than or equal to |
| 26880 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 26881 | # default value is `400` ("normal"). |
| 26882 | }, |
| 26883 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 26884 | "fontFamily": "A String", # The font family of the text. |
| 26885 | # |
| 26886 | # The font family can be any font from the Font menu in Slides or from |
| 26887 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 26888 | # unrecognized, the text is rendered in `Arial`. |
| 26889 | # |
| 26890 | # Some fonts can affect the weight of the text. If an update request |
| 26891 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 26892 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26893 | "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 |
| 26894 | # points. |
| 26895 | "magnitude": 3.14, # The magnitude. |
| 26896 | "unit": "A String", # The units for magnitude. |
| 26897 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26898 | "italic": True or False, # Whether or not the text is italicized. |
| 26899 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 26900 | # are not inherited from parent text. |
| 26901 | # |
| 26902 | # Changing the link in an update request causes some other changes to the |
| 26903 | # text style of the range: |
| 26904 | # |
| 26905 | # * When setting a link, the text foreground color will be set to |
| 26906 | # ThemeColorType.HYPERLINK and the text will |
| 26907 | # be underlined. If these fields are modified in the same |
| 26908 | # request, those values will be used instead of the link defaults. |
| 26909 | # * Setting a link on a text range that overlaps with an existing link will |
| 26910 | # also update the existing link to point to the new URL. |
| 26911 | # * Links are not settable on newline characters. As a result, setting a link |
| 26912 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 26913 | # will separate the newline character(s) into their own text runs. The |
| 26914 | # link will be applied separately to the runs before and after the newline. |
| 26915 | # * Removing a link will update the text style of the range to match the |
| 26916 | # style of the preceding text (or the default text styles if the preceding |
| 26917 | # text is another link) unless different styles are being set in the same |
| 26918 | # request. |
| 26919 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 26920 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 26921 | # in the presentation. There may not be a slide at this index. |
| 26922 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 26923 | # presentation with this ID. A page with this ID may not exist. |
| 26924 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 26925 | # addressed by its position. |
| 26926 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26927 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26928 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26929 | }, |
| 26930 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 26931 | }, |
| 26932 | }, |
| 26933 | "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 |
| 26934 | # in the run have the same TextStyle. |
| 26935 | # |
| 26936 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 26937 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 26938 | # In other words, a TextRun will never span multiple paragraphs. |
| 26939 | # styling. |
| 26940 | "content": "A String", # The text of this run. |
| 26941 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 26942 | # |
| 26943 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 26944 | # inherited from the parent. Which text styles are inherited depend on the |
| 26945 | # nesting level of lists: |
| 26946 | # |
| 26947 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 26948 | # from the the newline character in the paragraph at the 0 nesting level of |
| 26949 | # the list inside the parent placeholder. |
| 26950 | # * A text run in a paragraph that is in a list will inherit its text style |
| 26951 | # from the newline character in the paragraph at its corresponding nesting |
| 26952 | # level of the list inside the parent placeholder. |
| 26953 | # |
| 26954 | # Inherited text styles are represented as unset fields in this message. If |
| 26955 | # text is contained in a shape without a parent placeholder, unsetting these |
| 26956 | # fields will revert the style to a value matching the defaults in the Slides |
| 26957 | # editor. |
| 26958 | "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 |
| 26959 | # transparent, depending on if the `opaque_color` field in it is set. |
| 26960 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 26961 | # a transparent color. |
| 26962 | "themeColor": "A String", # An opaque theme color. |
| 26963 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 26964 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26965 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26966 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26967 | }, |
| 26968 | }, |
| 26969 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 26970 | "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 |
| 26971 | # transparent, depending on if the `opaque_color` field in it is set. |
| 26972 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 26973 | # a transparent color. |
| 26974 | "themeColor": "A String", # An opaque theme color. |
| 26975 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 26976 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26977 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26978 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26979 | }, |
| 26980 | }, |
| 26981 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 26982 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 26983 | # |
| 26984 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 26985 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 26986 | # The `font_size` itself is not affected by changes in this field. |
| 26987 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 26988 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 26989 | # |
| 26990 | # This field is an extension of `font_family` meant to support explicit font |
| 26991 | # weights without breaking backwards compatibility. As such, when reading the |
| 26992 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 26993 | # will always be equal to that of `font_family`. However, when writing, if |
| 26994 | # both fields are included in the field mask (either explicitly or through |
| 26995 | # the wildcard `"*"`), their values are reconciled as follows: |
| 26996 | # |
| 26997 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 26998 | # `font_family` is applied with weight `400` ("normal"). |
| 26999 | # * If both fields are set, the value of `font_family` must match that of |
| 27000 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 27001 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 27002 | # returned. |
| 27003 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 27004 | # family and weight of `weighted_font_family` is applied. |
| 27005 | # * If neither field is set, the font family and weight of the text inherit |
| 27006 | # from the parent. Note that these properties cannot inherit separately |
| 27007 | # from each other. |
| 27008 | # |
| 27009 | # If an update request specifies values for both `weighted_font_family` and |
| 27010 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 27011 | # |
| 27012 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 27013 | # |
| 27014 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 27015 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 27016 | # is returned. |
| 27017 | "fontFamily": "A String", # The font family of the text. |
| 27018 | # |
| 27019 | # The font family can be any font from the Font menu in Slides or from |
| 27020 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 27021 | # unrecognized, the text is rendered in `Arial`. |
| 27022 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 27023 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 27024 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27025 | # Specification, |
| 27026 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27027 | # with non-numerical values disallowed. Weights greater than or equal to |
| 27028 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 27029 | # default value is `400` ("normal"). |
| 27030 | }, |
| 27031 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 27032 | "fontFamily": "A String", # The font family of the text. |
| 27033 | # |
| 27034 | # The font family can be any font from the Font menu in Slides or from |
| 27035 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 27036 | # unrecognized, the text is rendered in `Arial`. |
| 27037 | # |
| 27038 | # Some fonts can affect the weight of the text. If an update request |
| 27039 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 27040 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27041 | "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 |
| 27042 | # points. |
| 27043 | "magnitude": 3.14, # The magnitude. |
| 27044 | "unit": "A String", # The units for magnitude. |
| 27045 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27046 | "italic": True or False, # Whether or not the text is italicized. |
| 27047 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 27048 | # are not inherited from parent text. |
| 27049 | # |
| 27050 | # Changing the link in an update request causes some other changes to the |
| 27051 | # text style of the range: |
| 27052 | # |
| 27053 | # * When setting a link, the text foreground color will be set to |
| 27054 | # ThemeColorType.HYPERLINK and the text will |
| 27055 | # be underlined. If these fields are modified in the same |
| 27056 | # request, those values will be used instead of the link defaults. |
| 27057 | # * Setting a link on a text range that overlaps with an existing link will |
| 27058 | # also update the existing link to point to the new URL. |
| 27059 | # * Links are not settable on newline characters. As a result, setting a link |
| 27060 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 27061 | # will separate the newline character(s) into their own text runs. The |
| 27062 | # link will be applied separately to the runs before and after the newline. |
| 27063 | # * Removing a link will update the text style of the range to match the |
| 27064 | # style of the preceding text (or the default text styles if the preceding |
| 27065 | # text is another link) unless different styles are being set in the same |
| 27066 | # request. |
| 27067 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 27068 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 27069 | # in the presentation. There may not be a slide at this index. |
| 27070 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 27071 | # presentation with this ID. A page with this ID may not exist. |
| 27072 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 27073 | # addressed by its position. |
| 27074 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27075 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27076 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27077 | }, |
| 27078 | }, |
| 27079 | }, |
| 27080 | ], |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27081 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 27082 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 27083 | # associated with a list. A paragraph that is part of a list has an implicit |
| 27084 | # reference to that list's ID. |
| 27085 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 27086 | # level. A list has at most nine levels of nesting, so the possible values |
| 27087 | # for the keys of this map are 0 through 8, inclusive. |
| 27088 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 27089 | # level of nesting. |
| 27090 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 27091 | # |
| 27092 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 27093 | # inherited from the parent. Which text styles are inherited depend on the |
| 27094 | # nesting level of lists: |
| 27095 | # |
| 27096 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 27097 | # from the the newline character in the paragraph at the 0 nesting level of |
| 27098 | # the list inside the parent placeholder. |
| 27099 | # * A text run in a paragraph that is in a list will inherit its text style |
| 27100 | # from the newline character in the paragraph at its corresponding nesting |
| 27101 | # level of the list inside the parent placeholder. |
| 27102 | # |
| 27103 | # Inherited text styles are represented as unset fields in this message. If |
| 27104 | # text is contained in a shape without a parent placeholder, unsetting these |
| 27105 | # fields will revert the style to a value matching the defaults in the Slides |
| 27106 | # editor. |
| 27107 | "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 |
| 27108 | # transparent, depending on if the `opaque_color` field in it is set. |
| 27109 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 27110 | # a transparent color. |
| 27111 | "themeColor": "A String", # An opaque theme color. |
| 27112 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 27113 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27114 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27115 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27116 | }, |
| 27117 | }, |
| 27118 | }, |
| 27119 | "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 |
| 27120 | # transparent, depending on if the `opaque_color` field in it is set. |
| 27121 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 27122 | # a transparent color. |
| 27123 | "themeColor": "A String", # An opaque theme color. |
| 27124 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 27125 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27126 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27127 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27128 | }, |
| 27129 | }, |
| 27130 | }, |
| 27131 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 27132 | # |
| 27133 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 27134 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 27135 | # The `font_size` itself is not affected by changes in this field. |
| 27136 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 27137 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 27138 | # |
| 27139 | # This field is an extension of `font_family` meant to support explicit font |
| 27140 | # weights without breaking backwards compatibility. As such, when reading the |
| 27141 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 27142 | # will always be equal to that of `font_family`. However, when writing, if |
| 27143 | # both fields are included in the field mask (either explicitly or through |
| 27144 | # the wildcard `"*"`), their values are reconciled as follows: |
| 27145 | # |
| 27146 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 27147 | # `font_family` is applied with weight `400` ("normal"). |
| 27148 | # * If both fields are set, the value of `font_family` must match that of |
| 27149 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 27150 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 27151 | # returned. |
| 27152 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 27153 | # family and weight of `weighted_font_family` is applied. |
| 27154 | # * If neither field is set, the font family and weight of the text inherit |
| 27155 | # from the parent. Note that these properties cannot inherit separately |
| 27156 | # from each other. |
| 27157 | # |
| 27158 | # If an update request specifies values for both `weighted_font_family` and |
| 27159 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 27160 | # |
| 27161 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 27162 | # |
| 27163 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 27164 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 27165 | # is returned. |
| 27166 | "fontFamily": "A String", # The font family of the text. |
| 27167 | # |
| 27168 | # The font family can be any font from the Font menu in Slides or from |
| 27169 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 27170 | # unrecognized, the text is rendered in `Arial`. |
| 27171 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 27172 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 27173 | # corresponds to the numerical values described in the CSS 2.1 |
| 27174 | # Specification, |
| 27175 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 27176 | # with non-numerical values disallowed. Weights greater than or equal to |
| 27177 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 27178 | # default value is `400` ("normal"). |
| 27179 | }, |
| 27180 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 27181 | "fontFamily": "A String", # The font family of the text. |
| 27182 | # |
| 27183 | # The font family can be any font from the Font menu in Slides or from |
| 27184 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 27185 | # unrecognized, the text is rendered in `Arial`. |
| 27186 | # |
| 27187 | # Some fonts can affect the weight of the text. If an update request |
| 27188 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 27189 | # `bold` value is used. |
| 27190 | "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 |
| 27191 | # points. |
| 27192 | "magnitude": 3.14, # The magnitude. |
| 27193 | "unit": "A String", # The units for magnitude. |
| 27194 | }, |
| 27195 | "italic": True or False, # Whether or not the text is italicized. |
| 27196 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 27197 | # are not inherited from parent text. |
| 27198 | # |
| 27199 | # Changing the link in an update request causes some other changes to the |
| 27200 | # text style of the range: |
| 27201 | # |
| 27202 | # * When setting a link, the text foreground color will be set to |
| 27203 | # ThemeColorType.HYPERLINK and the text will |
| 27204 | # be underlined. If these fields are modified in the same |
| 27205 | # request, those values will be used instead of the link defaults. |
| 27206 | # * Setting a link on a text range that overlaps with an existing link will |
| 27207 | # also update the existing link to point to the new URL. |
| 27208 | # * Links are not settable on newline characters. As a result, setting a link |
| 27209 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 27210 | # will separate the newline character(s) into their own text runs. The |
| 27211 | # link will be applied separately to the runs before and after the newline. |
| 27212 | # * Removing a link will update the text style of the range to match the |
| 27213 | # style of the preceding text (or the default text styles if the preceding |
| 27214 | # text is another link) unless different styles are being set in the same |
| 27215 | # request. |
| 27216 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 27217 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 27218 | # in the presentation. There may not be a slide at this index. |
| 27219 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 27220 | # presentation with this ID. A page with this ID may not exist. |
| 27221 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 27222 | # addressed by its position. |
| 27223 | }, |
| 27224 | "underline": True or False, # Whether or not the text is underlined. |
| 27225 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 27226 | }, |
| 27227 | }, |
| 27228 | }, |
| 27229 | "listId": "A String", # The ID of the list. |
| 27230 | }, |
| 27231 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27232 | }, |
| 27233 | "shapeProperties": { # The properties of a Shape. # The properties of the shape. |
| 27234 | # |
| 27235 | # If the shape is a placeholder shape as determined by the |
| 27236 | # placeholder field, then these |
| 27237 | # properties may be inherited from a parent placeholder shape. |
| 27238 | # Determining the rendered value of the property depends on the corresponding |
| 27239 | # property_state field value. |
| 27240 | "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from |
| 27241 | # a parent placeholder if it exists. If the shape has no parent, then the |
| 27242 | # default shadow matches the defaults for new shapes created in the Slides |
| 27243 | # editor. This property is read-only. |
| 27244 | # |
| 27245 | # If these fields are unset, they may be inherited from a parent placeholder |
| 27246 | # if it exists. If there is no parent, the fields will default to the value |
| 27247 | # used for new page elements created in the Slides editor, which may depend on |
| 27248 | # the page element kind. |
| 27249 | "color": { # A themeable solid color value. # The shadow color value. |
| 27250 | "themeColor": "A String", # An opaque theme color. |
| 27251 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 27252 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27253 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27254 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27255 | }, |
| 27256 | }, |
| 27257 | "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, |
| 27258 | # relative to the alignment position. |
| 27259 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 27260 | # according to: |
| 27261 | # |
| 27262 | # x' x = shear_y scale_y translate_y |
| 27263 | # 1 [ 1 ] |
| 27264 | # |
| 27265 | # After transformation, |
| 27266 | # |
| 27267 | # x' = scale_x * x + shear_x * y + translate_x; |
| 27268 | # y' = scale_y * y + shear_y * x + translate_y; |
| 27269 | # |
| 27270 | # This message is therefore composed of these six matrix elements. |
| 27271 | "translateX": 3.14, # The X coordinate translation element. |
| 27272 | "translateY": 3.14, # The Y coordinate translation element. |
| 27273 | "scaleX": 3.14, # The X coordinate scaling element. |
| 27274 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 27275 | "shearY": 3.14, # The Y coordinate shearing element. |
| 27276 | "shearX": 3.14, # The X coordinate shearing element. |
| 27277 | "unit": "A String", # The units for translate elements. |
| 27278 | }, |
| 27279 | "propertyState": "A String", # The shadow property state. |
| 27280 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27281 | # Updating the shadow on a page element will implicitly update this field to |
| 27282 | # `RENDERED`, unless another value is specified in the same request. To have |
| 27283 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27284 | # case, any other shadow fields set in the same request will be ignored. |
| 27285 | "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 |
| 27286 | # shadow becomes. |
| 27287 | "magnitude": 3.14, # The magnitude. |
| 27288 | "unit": "A String", # The units for magnitude. |
| 27289 | }, |
| 27290 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27291 | "type": "A String", # The type of the shadow. This property is read-only. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27292 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27293 | # scale and skew of the shadow. This property is read-only. |
| 27294 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 27295 | # read-only. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27296 | }, |
| 27297 | "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is |
| 27298 | # inherited from a parent placeholder if it exists. If the shape has no |
| 27299 | # parent, then the default background fill depends on the shape type, |
| 27300 | # matching the defaults for new shapes created in the Slides editor. |
| 27301 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 27302 | # specified color value. |
| 27303 | # |
| 27304 | # If any field is unset, its value may be inherited from a parent placeholder |
| 27305 | # if it exists. |
| 27306 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 27307 | "themeColor": "A String", # An opaque theme color. |
| 27308 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 27309 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27310 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27311 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27312 | }, |
| 27313 | }, |
| 27314 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 27315 | # That is, the final pixel color is defined by the equation: |
| 27316 | # |
| 27317 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 27318 | # |
| 27319 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 27320 | # a value of 0.0 corresponds to a completely transparent color. |
| 27321 | }, |
| 27322 | "propertyState": "A String", # The background fill property state. |
| 27323 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27324 | # Updating the fill on a shape will implicitly update this field to |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27325 | # `RENDERED`, unless another value is specified in the same request. To |
| 27326 | # have no fill on a shape, set this field to `NOT_RENDERED`. In this case, |
| 27327 | # any other fill fields set in the same request will be ignored. |
| 27328 | }, |
| 27329 | "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links |
| 27330 | # are not inherited from parent placeholders. |
| 27331 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 27332 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 27333 | # in the presentation. There may not be a slide at this index. |
| 27334 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 27335 | # presentation with this ID. A page with this ID may not exist. |
| 27336 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 27337 | # addressed by its position. |
| 27338 | }, |
| 27339 | "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a |
| 27340 | # parent placeholder if it exists. If the shape has no parent, then the |
| 27341 | # default outline depends on the shape type, matching the defaults for |
| 27342 | # new shapes created in the Slides editor. |
| 27343 | # |
| 27344 | # If these fields are unset, they may be inherited from a parent placeholder |
| 27345 | # if it exists. If there is no parent, the fields will default to the value |
| 27346 | # used for new page elements created in the Slides editor, which may depend on |
| 27347 | # the page element kind. |
| 27348 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 27349 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 27350 | # specified color value. |
| 27351 | # |
| 27352 | # If any field is unset, its value may be inherited from a parent placeholder |
| 27353 | # if it exists. |
| 27354 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 27355 | "themeColor": "A String", # An opaque theme color. |
| 27356 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 27357 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27358 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27359 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27360 | }, |
| 27361 | }, |
| 27362 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 27363 | # That is, the final pixel color is defined by the equation: |
| 27364 | # |
| 27365 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 27366 | # |
| 27367 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 27368 | # a value of 0.0 corresponds to a completely transparent color. |
| 27369 | }, |
| 27370 | }, |
| 27371 | "propertyState": "A String", # The outline property state. |
| 27372 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27373 | # Updating the outline on a page element will implicitly update this field |
| 27374 | # to `RENDERED`, unless another value is specified in the same request. To |
| 27375 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27376 | # this case, any other outline fields set in the same request will be |
| 27377 | # ignored. |
| 27378 | "dashStyle": "A String", # The dash style of the outline. |
| 27379 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 27380 | "magnitude": 3.14, # The magnitude. |
| 27381 | "unit": "A String", # The units for magnitude. |
| 27382 | }, |
| 27383 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27384 | "contentAlignment": "A String", # The alignment of the content in the shape. If unspecified, |
| 27385 | # the alignment is inherited from a parent placeholder if it exists. If the |
| 27386 | # shape has no parent, the default alignment matches the alignment for new |
| 27387 | # shapes created in the Slides editor. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27388 | }, |
| 27389 | "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on |
| 27390 | # layouts and masters. |
| 27391 | # |
| 27392 | # If set, the shape is a placeholder shape and any inherited properties |
| 27393 | # can be resolved by looking at the parent placeholder identified by the |
| 27394 | # Placeholder.parent_object_id field. |
| 27395 | "parentObjectId": "A String", # The object ID of this shape's parent placeholder. |
| 27396 | # If unset, the parent placeholder shape does not exist, so the shape does |
| 27397 | # not inherit properties from any other shape. |
| 27398 | "index": 42, # The index of the placeholder. If the same placeholder types are present in |
| 27399 | # the same page, they would have different index values. |
| 27400 | "type": "A String", # The type of the placeholder. |
| 27401 | }, |
| 27402 | "shapeType": "A String", # The type of the shape. |
| 27403 | }, |
| 27404 | "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are |
| 27405 | # represented as images. |
| 27406 | # a linked chart embedded from Google Sheets. |
| 27407 | "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30 |
| 27408 | # minutes. This URL is tagged with the account of the requester. Anyone with |
| 27409 | # the URL effectively accesses the image as the original requester. Access to |
| 27410 | # the image may be lost if the presentation's sharing settings change. |
| 27411 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| 27412 | "sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart. |
| 27413 | "chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27414 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27415 | # |
| 27416 | # If these fields are unset, they may be inherited from a parent placeholder |
| 27417 | # if it exists. If there is no parent, the fields will default to the value |
| 27418 | # used for new page elements created in the Slides editor, which may depend on |
| 27419 | # the page element kind. |
| 27420 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 27421 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 27422 | # specified color value. |
| 27423 | # |
| 27424 | # If any field is unset, its value may be inherited from a parent placeholder |
| 27425 | # if it exists. |
| 27426 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 27427 | "themeColor": "A String", # An opaque theme color. |
| 27428 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 27429 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27430 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27431 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27432 | }, |
| 27433 | }, |
| 27434 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 27435 | # That is, the final pixel color is defined by the equation: |
| 27436 | # |
| 27437 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 27438 | # |
| 27439 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 27440 | # a value of 0.0 corresponds to a completely transparent color. |
| 27441 | }, |
| 27442 | }, |
| 27443 | "propertyState": "A String", # The outline property state. |
| 27444 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27445 | # Updating the outline on a page element will implicitly update this field |
| 27446 | # to `RENDERED`, unless another value is specified in the same request. To |
| 27447 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27448 | # this case, any other outline fields set in the same request will be |
| 27449 | # ignored. |
| 27450 | "dashStyle": "A String", # The dash style of the outline. |
| 27451 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 27452 | "magnitude": 3.14, # The magnitude. |
| 27453 | "unit": "A String", # The units for magnitude. |
| 27454 | }, |
| 27455 | }, |
| 27456 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 27457 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 27458 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 27459 | # This property is read-only. |
| 27460 | "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color |
| 27461 | # stops. |
| 27462 | # |
| 27463 | # The colors in the gradient will replace the corresponding colors at |
| 27464 | # the same position in the color palette and apply to the image. This |
| 27465 | # property is read-only. |
| 27466 | { # A color and position in a gradient band. |
| 27467 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 27468 | "themeColor": "A String", # An opaque theme color. |
| 27469 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 27470 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27471 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27472 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27473 | }, |
| 27474 | }, |
| 27475 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 27476 | # fully opaque. |
| 27477 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 27478 | # in percentage. The value should be in the interval [0.0, 1.0]. |
| 27479 | }, |
| 27480 | ], |
| 27481 | "name": "A String", # The name of the recolor effect. |
| 27482 | # |
| 27483 | # The name is determined from the `recolor_stops` by matching the gradient |
| 27484 | # against the colors in the page's current color scheme. This property is |
| 27485 | # read-only. |
| 27486 | }, |
| 27487 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 27488 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 27489 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 27490 | # in the presentation. There may not be a slide at this index. |
| 27491 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 27492 | # presentation with this ID. A page with this ID may not exist. |
| 27493 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 27494 | # addressed by its position. |
| 27495 | }, |
| 27496 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 27497 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 27498 | # This property is read-only. |
| 27499 | "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. |
| 27500 | # This property is read-only. |
| 27501 | # Image. |
| 27502 | # |
| 27503 | # The crop properties is represented by the offsets of four edges which define |
| 27504 | # a crop rectangle. The offsets are measured in percentage from the |
| 27505 | # corresponding edges of the object's original bounding rectangle towards |
| 27506 | # inside, relative to the object's original dimensions. |
| 27507 | # |
| 27508 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 27509 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 27510 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 27511 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 27512 | # - If the left edge of the crop rectangle is on the right side of its right |
| 27513 | # edge, the object will be flipped horizontally. |
| 27514 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 27515 | # will be flipped vertically. |
| 27516 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 27517 | # |
| 27518 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 27519 | # its container. |
| 27520 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 27521 | # the right of the original bounding rectangle left edge, relative to the |
| 27522 | # object's original width. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27523 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 27524 | # above the original bounding rectangle bottom edge, relative to the object's |
| 27525 | # original height. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27526 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 27527 | # Rotation angle is applied after the offset. |
| 27528 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 27529 | # to the left of the original bounding rectangle right edge, relative to the |
| 27530 | # object's original width. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27531 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 27532 | # below the original bounding rectangle top edge, relative to the object's |
| 27533 | # original height. |
| 27534 | }, |
| 27535 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 27536 | # is read-only. |
| 27537 | # |
| 27538 | # If these fields are unset, they may be inherited from a parent placeholder |
| 27539 | # if it exists. If there is no parent, the fields will default to the value |
| 27540 | # used for new page elements created in the Slides editor, which may depend on |
| 27541 | # the page element kind. |
| 27542 | "color": { # A themeable solid color value. # The shadow color value. |
| 27543 | "themeColor": "A String", # An opaque theme color. |
| 27544 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 27545 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27546 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27547 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27548 | }, |
| 27549 | }, |
| 27550 | "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, |
| 27551 | # relative to the alignment position. |
| 27552 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 27553 | # according to: |
| 27554 | # |
| 27555 | # x' x = shear_y scale_y translate_y |
| 27556 | # 1 [ 1 ] |
| 27557 | # |
| 27558 | # After transformation, |
| 27559 | # |
| 27560 | # x' = scale_x * x + shear_x * y + translate_x; |
| 27561 | # y' = scale_y * y + shear_y * x + translate_y; |
| 27562 | # |
| 27563 | # This message is therefore composed of these six matrix elements. |
| 27564 | "translateX": 3.14, # The X coordinate translation element. |
| 27565 | "translateY": 3.14, # The Y coordinate translation element. |
| 27566 | "scaleX": 3.14, # The X coordinate scaling element. |
| 27567 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 27568 | "shearY": 3.14, # The Y coordinate shearing element. |
| 27569 | "shearX": 3.14, # The X coordinate shearing element. |
| 27570 | "unit": "A String", # The units for translate elements. |
| 27571 | }, |
| 27572 | "propertyState": "A String", # The shadow property state. |
| 27573 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27574 | # Updating the shadow on a page element will implicitly update this field to |
| 27575 | # `RENDERED`, unless another value is specified in the same request. To have |
| 27576 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27577 | # case, any other shadow fields set in the same request will be ignored. |
| 27578 | "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 |
| 27579 | # shadow becomes. |
| 27580 | "magnitude": 3.14, # The magnitude. |
| 27581 | "unit": "A String", # The units for magnitude. |
| 27582 | }, |
| 27583 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27584 | "type": "A String", # The type of the shadow. This property is read-only. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27585 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27586 | # scale and skew of the shadow. This property is read-only. |
| 27587 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 27588 | # read-only. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27589 | }, |
| 27590 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 27591 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 27592 | }, |
| 27593 | }, |
| 27594 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 27595 | # embedded. |
| 27596 | }, |
| 27597 | "video": { # A PageElement kind representing a # A video page element. |
| 27598 | # video. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27599 | "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and |
| 27600 | # sharing settings do not change. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27601 | "videoProperties": { # The properties of the Video. # The properties of the video. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27602 | "start": 42, # The time at which to start playback, measured in seconds from the beginning |
| 27603 | # of the video. |
| 27604 | # If set, the start time should be before the end time. |
| 27605 | # If you set this to a value that exceeds the video's length in seconds, the |
| 27606 | # video will be played from the last second. |
| 27607 | # If not set, the video will be played from the beginning. |
| 27608 | "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present |
| 27609 | # mode. Defaults to false. |
| 27610 | "end": 42, # The time at which to end playback, measured in seconds from the beginning |
| 27611 | # of the video. |
| 27612 | # If set, the end time should be after the start time. |
| 27613 | # If not set or if you set this to a value that exceeds the video's length, |
| 27614 | # the video will be played until its end. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27615 | "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new |
| 27616 | # videos created in the Slides editor. |
| 27617 | # |
| 27618 | # If these fields are unset, they may be inherited from a parent placeholder |
| 27619 | # if it exists. If there is no parent, the fields will default to the value |
| 27620 | # used for new page elements created in the Slides editor, which may depend on |
| 27621 | # the page element kind. |
| 27622 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 27623 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 27624 | # specified color value. |
| 27625 | # |
| 27626 | # If any field is unset, its value may be inherited from a parent placeholder |
| 27627 | # if it exists. |
| 27628 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 27629 | "themeColor": "A String", # An opaque theme color. |
| 27630 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 27631 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27632 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27633 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27634 | }, |
| 27635 | }, |
| 27636 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 27637 | # That is, the final pixel color is defined by the equation: |
| 27638 | # |
| 27639 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 27640 | # |
| 27641 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 27642 | # a value of 0.0 corresponds to a completely transparent color. |
| 27643 | }, |
| 27644 | }, |
| 27645 | "propertyState": "A String", # The outline property state. |
| 27646 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27647 | # Updating the outline on a page element will implicitly update this field |
| 27648 | # to `RENDERED`, unless another value is specified in the same request. To |
| 27649 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27650 | # this case, any other outline fields set in the same request will be |
| 27651 | # ignored. |
| 27652 | "dashStyle": "A String", # The dash style of the outline. |
| 27653 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 27654 | "magnitude": 3.14, # The magnitude. |
| 27655 | "unit": "A String", # The units for magnitude. |
| 27656 | }, |
| 27657 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27658 | "mute": True or False, # Whether to mute the audio during video playback. Defaults to false. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27659 | }, |
| 27660 | "id": "A String", # The video source's unique identifier for this video. |
| 27661 | "source": "A String", # The video source. |
| 27662 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27663 | "table": { # A PageElement kind representing a # A table page element. |
| 27664 | # table. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27665 | "rows": 42, # Number of rows in the table. |
| 27666 | "horizontalBorderRows": [ # Properties of horizontal cell borders. |
| 27667 | # |
| 27668 | # A table's horizontal cell borders are represented as a grid. The grid has |
| 27669 | # one more row than the number of rows in the table and the same number of |
| 27670 | # columns as the table. For example, if the table is 3 x 3, its horizontal |
| 27671 | # borders will be represented as a grid with 4 rows and 3 columns. |
| 27672 | { # Contents of each border row in a table. |
| 27673 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 27674 | # merged, it is not included in the response. |
| 27675 | { # The properties of each border cell. |
| 27676 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 27677 | # TableBorderCell. |
| 27678 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 27679 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 27680 | # specified color value. |
| 27681 | # |
| 27682 | # If any field is unset, its value may be inherited from a parent placeholder |
| 27683 | # if it exists. |
| 27684 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 27685 | "themeColor": "A String", # An opaque theme color. |
| 27686 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 27687 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27688 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27689 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27690 | }, |
| 27691 | }, |
| 27692 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 27693 | # That is, the final pixel color is defined by the equation: |
| 27694 | # |
| 27695 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 27696 | # |
| 27697 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 27698 | # a value of 0.0 corresponds to a completely transparent color. |
| 27699 | }, |
| 27700 | }, |
| 27701 | "dashStyle": "A String", # The dash style of the border. |
| 27702 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 27703 | "magnitude": 3.14, # The magnitude. |
| 27704 | "unit": "A String", # The units for magnitude. |
| 27705 | }, |
| 27706 | }, |
| 27707 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 27708 | "rowIndex": 42, # The 0-based row index. |
| 27709 | "columnIndex": 42, # The 0-based column index. |
| 27710 | }, |
| 27711 | }, |
| 27712 | ], |
| 27713 | }, |
| 27714 | ], |
| 27715 | "verticalBorderRows": [ # Properties of vertical cell borders. |
| 27716 | # |
| 27717 | # A table's vertical cell borders are represented as a grid. The grid has the |
| 27718 | # same number of rows as the table and one more column than the number of |
| 27719 | # columns in the table. For example, if the table is 3 x 3, its vertical |
| 27720 | # borders will be represented as a grid with 3 rows and 4 columns. |
| 27721 | { # Contents of each border row in a table. |
| 27722 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 27723 | # merged, it is not included in the response. |
| 27724 | { # The properties of each border cell. |
| 27725 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 27726 | # TableBorderCell. |
| 27727 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 27728 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 27729 | # specified color value. |
| 27730 | # |
| 27731 | # If any field is unset, its value may be inherited from a parent placeholder |
| 27732 | # if it exists. |
| 27733 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 27734 | "themeColor": "A String", # An opaque theme color. |
| 27735 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 27736 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27737 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27738 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27739 | }, |
| 27740 | }, |
| 27741 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 27742 | # That is, the final pixel color is defined by the equation: |
| 27743 | # |
| 27744 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 27745 | # |
| 27746 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 27747 | # a value of 0.0 corresponds to a completely transparent color. |
| 27748 | }, |
| 27749 | }, |
| 27750 | "dashStyle": "A String", # The dash style of the border. |
| 27751 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 27752 | "magnitude": 3.14, # The magnitude. |
| 27753 | "unit": "A String", # The units for magnitude. |
| 27754 | }, |
| 27755 | }, |
| 27756 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 27757 | "rowIndex": 42, # The 0-based row index. |
| 27758 | "columnIndex": 42, # The 0-based column index. |
| 27759 | }, |
| 27760 | }, |
| 27761 | ], |
| 27762 | }, |
| 27763 | ], |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27764 | "tableColumns": [ # Properties of each column. |
| 27765 | { # Properties of each column in a table. |
| 27766 | "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column. |
| 27767 | "magnitude": 3.14, # The magnitude. |
| 27768 | "unit": "A String", # The units for magnitude. |
| 27769 | }, |
| 27770 | }, |
| 27771 | ], |
| 27772 | "tableRows": [ # Properties and contents of each row. |
| 27773 | # |
| 27774 | # Cells that span multiple rows are contained in only one of these rows and |
| 27775 | # have a row_span greater |
| 27776 | # than 1. |
| 27777 | { # Properties and contents of each row in a table. |
| 27778 | "tableCells": [ # Properties and contents of each cell. |
| 27779 | # |
| 27780 | # Cells that span multiple columns are represented only once with a |
| 27781 | # column_span greater |
| 27782 | # than 1. As a result, the length of this collection does not always match |
| 27783 | # the number of columns of the entire table. |
| 27784 | { # Properties and contents of each table cell. |
| 27785 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell. |
| 27786 | # text box or rectangle) or a table cell in a page. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27787 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 27788 | # information. This property is read-only. |
| 27789 | { # A TextElement describes the content of a range of indices in the text content |
| 27790 | # of a Shape or TableCell. |
| 27791 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 27792 | # replaced with content that can change over time. |
| 27793 | "content": "A String", # The rendered content of this auto text, if available. |
| 27794 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 27795 | # |
| 27796 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 27797 | # inherited from the parent. Which text styles are inherited depend on the |
| 27798 | # nesting level of lists: |
| 27799 | # |
| 27800 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 27801 | # from the the newline character in the paragraph at the 0 nesting level of |
| 27802 | # the list inside the parent placeholder. |
| 27803 | # * A text run in a paragraph that is in a list will inherit its text style |
| 27804 | # from the newline character in the paragraph at its corresponding nesting |
| 27805 | # level of the list inside the parent placeholder. |
| 27806 | # |
| 27807 | # Inherited text styles are represented as unset fields in this message. If |
| 27808 | # text is contained in a shape without a parent placeholder, unsetting these |
| 27809 | # fields will revert the style to a value matching the defaults in the Slides |
| 27810 | # editor. |
| 27811 | "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 |
| 27812 | # transparent, depending on if the `opaque_color` field in it is set. |
| 27813 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 27814 | # a transparent color. |
| 27815 | "themeColor": "A String", # An opaque theme color. |
| 27816 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 27817 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27818 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27819 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27820 | }, |
| 27821 | }, |
| 27822 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27823 | "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 |
| 27824 | # transparent, depending on if the `opaque_color` field in it is set. |
| 27825 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 27826 | # a transparent color. |
| 27827 | "themeColor": "A String", # An opaque theme color. |
| 27828 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 27829 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27830 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27831 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27832 | }, |
| 27833 | }, |
| 27834 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27835 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 27836 | # |
| 27837 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 27838 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 27839 | # The `font_size` itself is not affected by changes in this field. |
| 27840 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 27841 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 27842 | # |
| 27843 | # This field is an extension of `font_family` meant to support explicit font |
| 27844 | # weights without breaking backwards compatibility. As such, when reading the |
| 27845 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 27846 | # will always be equal to that of `font_family`. However, when writing, if |
| 27847 | # both fields are included in the field mask (either explicitly or through |
| 27848 | # the wildcard `"*"`), their values are reconciled as follows: |
| 27849 | # |
| 27850 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 27851 | # `font_family` is applied with weight `400` ("normal"). |
| 27852 | # * If both fields are set, the value of `font_family` must match that of |
| 27853 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 27854 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 27855 | # returned. |
| 27856 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 27857 | # family and weight of `weighted_font_family` is applied. |
| 27858 | # * If neither field is set, the font family and weight of the text inherit |
| 27859 | # from the parent. Note that these properties cannot inherit separately |
| 27860 | # from each other. |
| 27861 | # |
| 27862 | # If an update request specifies values for both `weighted_font_family` and |
| 27863 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 27864 | # |
| 27865 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 27866 | # |
| 27867 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 27868 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 27869 | # is returned. |
| 27870 | "fontFamily": "A String", # The font family of the text. |
| 27871 | # |
| 27872 | # The font family can be any font from the Font menu in Slides or from |
| 27873 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 27874 | # unrecognized, the text is rendered in `Arial`. |
| 27875 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 27876 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 27877 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27878 | # Specification, |
| 27879 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27880 | # with non-numerical values disallowed. Weights greater than or equal to |
| 27881 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 27882 | # default value is `400` ("normal"). |
| 27883 | }, |
| 27884 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 27885 | "fontFamily": "A String", # The font family of the text. |
| 27886 | # |
| 27887 | # The font family can be any font from the Font menu in Slides or from |
| 27888 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 27889 | # unrecognized, the text is rendered in `Arial`. |
| 27890 | # |
| 27891 | # Some fonts can affect the weight of the text. If an update request |
| 27892 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 27893 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27894 | "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 |
| 27895 | # points. |
| 27896 | "magnitude": 3.14, # The magnitude. |
| 27897 | "unit": "A String", # The units for magnitude. |
| 27898 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27899 | "italic": True or False, # Whether or not the text is italicized. |
| 27900 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 27901 | # are not inherited from parent text. |
| 27902 | # |
| 27903 | # Changing the link in an update request causes some other changes to the |
| 27904 | # text style of the range: |
| 27905 | # |
| 27906 | # * When setting a link, the text foreground color will be set to |
| 27907 | # ThemeColorType.HYPERLINK and the text will |
| 27908 | # be underlined. If these fields are modified in the same |
| 27909 | # request, those values will be used instead of the link defaults. |
| 27910 | # * Setting a link on a text range that overlaps with an existing link will |
| 27911 | # also update the existing link to point to the new URL. |
| 27912 | # * Links are not settable on newline characters. As a result, setting a link |
| 27913 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 27914 | # will separate the newline character(s) into their own text runs. The |
| 27915 | # link will be applied separately to the runs before and after the newline. |
| 27916 | # * Removing a link will update the text style of the range to match the |
| 27917 | # style of the preceding text (or the default text styles if the preceding |
| 27918 | # text is another link) unless different styles are being set in the same |
| 27919 | # request. |
| 27920 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 27921 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 27922 | # in the presentation. There may not be a slide at this index. |
| 27923 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 27924 | # presentation with this ID. A page with this ID may not exist. |
| 27925 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 27926 | # addressed by its position. |
| 27927 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27928 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27929 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27930 | }, |
| 27931 | "type": "A String", # The type of this auto text. |
| 27932 | }, |
| 27933 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 27934 | # units. |
| 27935 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 27936 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 27937 | # |
| 27938 | # The `start_index` and `end_index` of this TextElement represent the |
| 27939 | # range of the paragraph. Other TextElements with an index range contained |
| 27940 | # inside this paragraph's range are considered to be part of this |
| 27941 | # paragraph. The range of indices of two separate paragraphs will never |
| 27942 | # overlap. |
| 27943 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 27944 | # |
| 27945 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 27946 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 27947 | # nesting level of lists: |
| 27948 | # |
| 27949 | # * A paragraph not in a list will inherit its paragraph style from the |
| 27950 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 27951 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 27952 | # at its corresponding nesting level of the list inside the parent |
| 27953 | # placeholder. |
| 27954 | # |
| 27955 | # Inherited paragraph styles are represented as unset fields in this message. |
| 27956 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 27957 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 27958 | # LEFT_TO_RIGHT since |
| 27959 | # text direction is not inherited. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 27960 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 27961 | # inherited from the parent. |
| 27962 | "magnitude": 3.14, # The magnitude. |
| 27963 | "unit": "A String", # The units for magnitude. |
| 27964 | }, |
| 27965 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 27966 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 27967 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 27968 | # the start of the text, based on the current text direction. If unset, the |
| 27969 | # value is inherited from the parent. |
| 27970 | "magnitude": 3.14, # The magnitude. |
| 27971 | "unit": "A String", # The units for magnitude. |
| 27972 | }, |
| 27973 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 27974 | # inherited from the parent. |
| 27975 | "magnitude": 3.14, # The magnitude. |
| 27976 | "unit": "A String", # The units for magnitude. |
| 27977 | }, |
| 27978 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 27979 | # the end of the text, based on the current text direction. If unset, the |
| 27980 | # value is inherited from the parent. |
| 27981 | "magnitude": 3.14, # The magnitude. |
| 27982 | "unit": "A String", # The units for magnitude. |
| 27983 | }, |
| 27984 | "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. |
| 27985 | # If unset, the value is inherited from the parent. |
| 27986 | "magnitude": 3.14, # The magnitude. |
| 27987 | "unit": "A String", # The units for magnitude. |
| 27988 | }, |
| 27989 | "alignment": "A String", # The text alignment for this paragraph. |
| 27990 | }, |
| 27991 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 27992 | # belong to a list. |
| 27993 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 27994 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 27995 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 27996 | # |
| 27997 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 27998 | # inherited from the parent. Which text styles are inherited depend on the |
| 27999 | # nesting level of lists: |
| 28000 | # |
| 28001 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 28002 | # from the the newline character in the paragraph at the 0 nesting level of |
| 28003 | # the list inside the parent placeholder. |
| 28004 | # * A text run in a paragraph that is in a list will inherit its text style |
| 28005 | # from the newline character in the paragraph at its corresponding nesting |
| 28006 | # level of the list inside the parent placeholder. |
| 28007 | # |
| 28008 | # Inherited text styles are represented as unset fields in this message. If |
| 28009 | # text is contained in a shape without a parent placeholder, unsetting these |
| 28010 | # fields will revert the style to a value matching the defaults in the Slides |
| 28011 | # editor. |
| 28012 | "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 |
| 28013 | # transparent, depending on if the `opaque_color` field in it is set. |
| 28014 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 28015 | # a transparent color. |
| 28016 | "themeColor": "A String", # An opaque theme color. |
| 28017 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 28018 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28019 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28020 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28021 | }, |
| 28022 | }, |
| 28023 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28024 | "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 |
| 28025 | # transparent, depending on if the `opaque_color` field in it is set. |
| 28026 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 28027 | # a transparent color. |
| 28028 | "themeColor": "A String", # An opaque theme color. |
| 28029 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 28030 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28031 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28032 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28033 | }, |
| 28034 | }, |
| 28035 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 28036 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 28037 | # |
| 28038 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 28039 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 28040 | # The `font_size` itself is not affected by changes in this field. |
| 28041 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 28042 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 28043 | # |
| 28044 | # This field is an extension of `font_family` meant to support explicit font |
| 28045 | # weights without breaking backwards compatibility. As such, when reading the |
| 28046 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 28047 | # will always be equal to that of `font_family`. However, when writing, if |
| 28048 | # both fields are included in the field mask (either explicitly or through |
| 28049 | # the wildcard `"*"`), their values are reconciled as follows: |
| 28050 | # |
| 28051 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 28052 | # `font_family` is applied with weight `400` ("normal"). |
| 28053 | # * If both fields are set, the value of `font_family` must match that of |
| 28054 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 28055 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 28056 | # returned. |
| 28057 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 28058 | # family and weight of `weighted_font_family` is applied. |
| 28059 | # * If neither field is set, the font family and weight of the text inherit |
| 28060 | # from the parent. Note that these properties cannot inherit separately |
| 28061 | # from each other. |
| 28062 | # |
| 28063 | # If an update request specifies values for both `weighted_font_family` and |
| 28064 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 28065 | # |
| 28066 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 28067 | # |
| 28068 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 28069 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 28070 | # is returned. |
| 28071 | "fontFamily": "A String", # The font family of the text. |
| 28072 | # |
| 28073 | # The font family can be any font from the Font menu in Slides or from |
| 28074 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 28075 | # unrecognized, the text is rendered in `Arial`. |
| 28076 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 28077 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 28078 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28079 | # Specification, |
| 28080 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 28081 | # with non-numerical values disallowed. Weights greater than or equal to |
| 28082 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 28083 | # default value is `400` ("normal"). |
| 28084 | }, |
| 28085 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 28086 | "fontFamily": "A String", # The font family of the text. |
| 28087 | # |
| 28088 | # The font family can be any font from the Font menu in Slides or from |
| 28089 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 28090 | # unrecognized, the text is rendered in `Arial`. |
| 28091 | # |
| 28092 | # Some fonts can affect the weight of the text. If an update request |
| 28093 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 28094 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28095 | "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 |
| 28096 | # points. |
| 28097 | "magnitude": 3.14, # The magnitude. |
| 28098 | "unit": "A String", # The units for magnitude. |
| 28099 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 28100 | "italic": True or False, # Whether or not the text is italicized. |
| 28101 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 28102 | # are not inherited from parent text. |
| 28103 | # |
| 28104 | # Changing the link in an update request causes some other changes to the |
| 28105 | # text style of the range: |
| 28106 | # |
| 28107 | # * When setting a link, the text foreground color will be set to |
| 28108 | # ThemeColorType.HYPERLINK and the text will |
| 28109 | # be underlined. If these fields are modified in the same |
| 28110 | # request, those values will be used instead of the link defaults. |
| 28111 | # * Setting a link on a text range that overlaps with an existing link will |
| 28112 | # also update the existing link to point to the new URL. |
| 28113 | # * Links are not settable on newline characters. As a result, setting a link |
| 28114 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 28115 | # will separate the newline character(s) into their own text runs. The |
| 28116 | # link will be applied separately to the runs before and after the newline. |
| 28117 | # * Removing a link will update the text style of the range to match the |
| 28118 | # style of the preceding text (or the default text styles if the preceding |
| 28119 | # text is another link) unless different styles are being set in the same |
| 28120 | # request. |
| 28121 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 28122 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 28123 | # in the presentation. There may not be a slide at this index. |
| 28124 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 28125 | # presentation with this ID. A page with this ID may not exist. |
| 28126 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 28127 | # addressed by its position. |
| 28128 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 28129 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28130 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 28131 | }, |
| 28132 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 28133 | }, |
| 28134 | }, |
| 28135 | "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 |
| 28136 | # in the run have the same TextStyle. |
| 28137 | # |
| 28138 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 28139 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 28140 | # In other words, a TextRun will never span multiple paragraphs. |
| 28141 | # styling. |
| 28142 | "content": "A String", # The text of this run. |
| 28143 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 28144 | # |
| 28145 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 28146 | # inherited from the parent. Which text styles are inherited depend on the |
| 28147 | # nesting level of lists: |
| 28148 | # |
| 28149 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 28150 | # from the the newline character in the paragraph at the 0 nesting level of |
| 28151 | # the list inside the parent placeholder. |
| 28152 | # * A text run in a paragraph that is in a list will inherit its text style |
| 28153 | # from the newline character in the paragraph at its corresponding nesting |
| 28154 | # level of the list inside the parent placeholder. |
| 28155 | # |
| 28156 | # Inherited text styles are represented as unset fields in this message. If |
| 28157 | # text is contained in a shape without a parent placeholder, unsetting these |
| 28158 | # fields will revert the style to a value matching the defaults in the Slides |
| 28159 | # editor. |
| 28160 | "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 |
| 28161 | # transparent, depending on if the `opaque_color` field in it is set. |
| 28162 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 28163 | # a transparent color. |
| 28164 | "themeColor": "A String", # An opaque theme color. |
| 28165 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 28166 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28167 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28168 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28169 | }, |
| 28170 | }, |
| 28171 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28172 | "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 |
| 28173 | # transparent, depending on if the `opaque_color` field in it is set. |
| 28174 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 28175 | # a transparent color. |
| 28176 | "themeColor": "A String", # An opaque theme color. |
| 28177 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 28178 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28179 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28180 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28181 | }, |
| 28182 | }, |
| 28183 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 28184 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 28185 | # |
| 28186 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 28187 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 28188 | # The `font_size` itself is not affected by changes in this field. |
| 28189 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 28190 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 28191 | # |
| 28192 | # This field is an extension of `font_family` meant to support explicit font |
| 28193 | # weights without breaking backwards compatibility. As such, when reading the |
| 28194 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 28195 | # will always be equal to that of `font_family`. However, when writing, if |
| 28196 | # both fields are included in the field mask (either explicitly or through |
| 28197 | # the wildcard `"*"`), their values are reconciled as follows: |
| 28198 | # |
| 28199 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 28200 | # `font_family` is applied with weight `400` ("normal"). |
| 28201 | # * If both fields are set, the value of `font_family` must match that of |
| 28202 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 28203 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 28204 | # returned. |
| 28205 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 28206 | # family and weight of `weighted_font_family` is applied. |
| 28207 | # * If neither field is set, the font family and weight of the text inherit |
| 28208 | # from the parent. Note that these properties cannot inherit separately |
| 28209 | # from each other. |
| 28210 | # |
| 28211 | # If an update request specifies values for both `weighted_font_family` and |
| 28212 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 28213 | # |
| 28214 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 28215 | # |
| 28216 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 28217 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 28218 | # is returned. |
| 28219 | "fontFamily": "A String", # The font family of the text. |
| 28220 | # |
| 28221 | # The font family can be any font from the Font menu in Slides or from |
| 28222 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 28223 | # unrecognized, the text is rendered in `Arial`. |
| 28224 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 28225 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 28226 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28227 | # Specification, |
| 28228 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 28229 | # with non-numerical values disallowed. Weights greater than or equal to |
| 28230 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 28231 | # default value is `400` ("normal"). |
| 28232 | }, |
| 28233 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 28234 | "fontFamily": "A String", # The font family of the text. |
| 28235 | # |
| 28236 | # The font family can be any font from the Font menu in Slides or from |
| 28237 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 28238 | # unrecognized, the text is rendered in `Arial`. |
| 28239 | # |
| 28240 | # Some fonts can affect the weight of the text. If an update request |
| 28241 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 28242 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28243 | "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 |
| 28244 | # points. |
| 28245 | "magnitude": 3.14, # The magnitude. |
| 28246 | "unit": "A String", # The units for magnitude. |
| 28247 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 28248 | "italic": True or False, # Whether or not the text is italicized. |
| 28249 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 28250 | # are not inherited from parent text. |
| 28251 | # |
| 28252 | # Changing the link in an update request causes some other changes to the |
| 28253 | # text style of the range: |
| 28254 | # |
| 28255 | # * When setting a link, the text foreground color will be set to |
| 28256 | # ThemeColorType.HYPERLINK and the text will |
| 28257 | # be underlined. If these fields are modified in the same |
| 28258 | # request, those values will be used instead of the link defaults. |
| 28259 | # * Setting a link on a text range that overlaps with an existing link will |
| 28260 | # also update the existing link to point to the new URL. |
| 28261 | # * Links are not settable on newline characters. As a result, setting a link |
| 28262 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 28263 | # will separate the newline character(s) into their own text runs. The |
| 28264 | # link will be applied separately to the runs before and after the newline. |
| 28265 | # * Removing a link will update the text style of the range to match the |
| 28266 | # style of the preceding text (or the default text styles if the preceding |
| 28267 | # text is another link) unless different styles are being set in the same |
| 28268 | # request. |
| 28269 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 28270 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 28271 | # in the presentation. There may not be a slide at this index. |
| 28272 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 28273 | # presentation with this ID. A page with this ID may not exist. |
| 28274 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 28275 | # addressed by its position. |
| 28276 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 28277 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28278 | "bold": True or False, # Whether or not the text is rendered as bold. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 28279 | }, |
| 28280 | }, |
| 28281 | }, |
| 28282 | ], |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28283 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 28284 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 28285 | # associated with a list. A paragraph that is part of a list has an implicit |
| 28286 | # reference to that list's ID. |
| 28287 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 28288 | # level. A list has at most nine levels of nesting, so the possible values |
| 28289 | # for the keys of this map are 0 through 8, inclusive. |
| 28290 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 28291 | # level of nesting. |
| 28292 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 28293 | # |
| 28294 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 28295 | # inherited from the parent. Which text styles are inherited depend on the |
| 28296 | # nesting level of lists: |
| 28297 | # |
| 28298 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 28299 | # from the the newline character in the paragraph at the 0 nesting level of |
| 28300 | # the list inside the parent placeholder. |
| 28301 | # * A text run in a paragraph that is in a list will inherit its text style |
| 28302 | # from the newline character in the paragraph at its corresponding nesting |
| 28303 | # level of the list inside the parent placeholder. |
| 28304 | # |
| 28305 | # Inherited text styles are represented as unset fields in this message. If |
| 28306 | # text is contained in a shape without a parent placeholder, unsetting these |
| 28307 | # fields will revert the style to a value matching the defaults in the Slides |
| 28308 | # editor. |
| 28309 | "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 |
| 28310 | # transparent, depending on if the `opaque_color` field in it is set. |
| 28311 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 28312 | # a transparent color. |
| 28313 | "themeColor": "A String", # An opaque theme color. |
| 28314 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 28315 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28316 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28317 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28318 | }, |
| 28319 | }, |
| 28320 | }, |
| 28321 | "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 |
| 28322 | # transparent, depending on if the `opaque_color` field in it is set. |
| 28323 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 28324 | # a transparent color. |
| 28325 | "themeColor": "A String", # An opaque theme color. |
| 28326 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 28327 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28328 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28329 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28330 | }, |
| 28331 | }, |
| 28332 | }, |
| 28333 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 28334 | # |
| 28335 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 28336 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 28337 | # The `font_size` itself is not affected by changes in this field. |
| 28338 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 28339 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 28340 | # |
| 28341 | # This field is an extension of `font_family` meant to support explicit font |
| 28342 | # weights without breaking backwards compatibility. As such, when reading the |
| 28343 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 28344 | # will always be equal to that of `font_family`. However, when writing, if |
| 28345 | # both fields are included in the field mask (either explicitly or through |
| 28346 | # the wildcard `"*"`), their values are reconciled as follows: |
| 28347 | # |
| 28348 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 28349 | # `font_family` is applied with weight `400` ("normal"). |
| 28350 | # * If both fields are set, the value of `font_family` must match that of |
| 28351 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 28352 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 28353 | # returned. |
| 28354 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 28355 | # family and weight of `weighted_font_family` is applied. |
| 28356 | # * If neither field is set, the font family and weight of the text inherit |
| 28357 | # from the parent. Note that these properties cannot inherit separately |
| 28358 | # from each other. |
| 28359 | # |
| 28360 | # If an update request specifies values for both `weighted_font_family` and |
| 28361 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 28362 | # |
| 28363 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 28364 | # |
| 28365 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 28366 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 28367 | # is returned. |
| 28368 | "fontFamily": "A String", # The font family of the text. |
| 28369 | # |
| 28370 | # The font family can be any font from the Font menu in Slides or from |
| 28371 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 28372 | # unrecognized, the text is rendered in `Arial`. |
| 28373 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 28374 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 28375 | # corresponds to the numerical values described in the CSS 2.1 |
| 28376 | # Specification, |
| 28377 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 28378 | # with non-numerical values disallowed. Weights greater than or equal to |
| 28379 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 28380 | # default value is `400` ("normal"). |
| 28381 | }, |
| 28382 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 28383 | "fontFamily": "A String", # The font family of the text. |
| 28384 | # |
| 28385 | # The font family can be any font from the Font menu in Slides or from |
| 28386 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 28387 | # unrecognized, the text is rendered in `Arial`. |
| 28388 | # |
| 28389 | # Some fonts can affect the weight of the text. If an update request |
| 28390 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 28391 | # `bold` value is used. |
| 28392 | "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 |
| 28393 | # points. |
| 28394 | "magnitude": 3.14, # The magnitude. |
| 28395 | "unit": "A String", # The units for magnitude. |
| 28396 | }, |
| 28397 | "italic": True or False, # Whether or not the text is italicized. |
| 28398 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 28399 | # are not inherited from parent text. |
| 28400 | # |
| 28401 | # Changing the link in an update request causes some other changes to the |
| 28402 | # text style of the range: |
| 28403 | # |
| 28404 | # * When setting a link, the text foreground color will be set to |
| 28405 | # ThemeColorType.HYPERLINK and the text will |
| 28406 | # be underlined. If these fields are modified in the same |
| 28407 | # request, those values will be used instead of the link defaults. |
| 28408 | # * Setting a link on a text range that overlaps with an existing link will |
| 28409 | # also update the existing link to point to the new URL. |
| 28410 | # * Links are not settable on newline characters. As a result, setting a link |
| 28411 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 28412 | # will separate the newline character(s) into their own text runs. The |
| 28413 | # link will be applied separately to the runs before and after the newline. |
| 28414 | # * Removing a link will update the text style of the range to match the |
| 28415 | # style of the preceding text (or the default text styles if the preceding |
| 28416 | # text is another link) unless different styles are being set in the same |
| 28417 | # request. |
| 28418 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 28419 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 28420 | # in the presentation. There may not be a slide at this index. |
| 28421 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 28422 | # presentation with this ID. A page with this ID may not exist. |
| 28423 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 28424 | # addressed by its position. |
| 28425 | }, |
| 28426 | "underline": True or False, # Whether or not the text is underlined. |
| 28427 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 28428 | }, |
| 28429 | }, |
| 28430 | }, |
| 28431 | "listId": "A String", # The ID of the list. |
| 28432 | }, |
| 28433 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 28434 | }, |
| 28435 | "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell. |
| 28436 | "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill |
| 28437 | # for newly created table cells in the Slides editor. |
| 28438 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 28439 | # specified color value. |
| 28440 | # |
| 28441 | # If any field is unset, its value may be inherited from a parent placeholder |
| 28442 | # if it exists. |
| 28443 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 28444 | "themeColor": "A String", # An opaque theme color. |
| 28445 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 28446 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28447 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28448 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28449 | }, |
| 28450 | }, |
| 28451 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 28452 | # That is, the final pixel color is defined by the equation: |
| 28453 | # |
| 28454 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 28455 | # |
| 28456 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 28457 | # a value of 0.0 corresponds to a completely transparent color. |
| 28458 | }, |
| 28459 | "propertyState": "A String", # The background fill property state. |
| 28460 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28461 | # Updating the fill on a table cell will implicitly update this field |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 28462 | # to `RENDERED`, unless another value is specified in the same request. To |
| 28463 | # have no fill on a table cell, set this field to `NOT_RENDERED`. In this |
| 28464 | # case, any other fill fields set in the same request will be ignored. |
| 28465 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28466 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 28467 | # matches the alignment for newly created table cells in the Slides editor. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 28468 | }, |
| 28469 | "rowSpan": 42, # Row span of the cell. |
| 28470 | "columnSpan": 42, # Column span of the cell. |
| 28471 | "location": { # A location of a single table cell within a table. # The location of the cell within the table. |
| 28472 | "rowIndex": 42, # The 0-based row index. |
| 28473 | "columnIndex": 42, # The 0-based column index. |
| 28474 | }, |
| 28475 | }, |
| 28476 | ], |
| 28477 | "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row. |
| 28478 | "magnitude": 3.14, # The magnitude. |
| 28479 | "unit": "A String", # The units for magnitude. |
| 28480 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28481 | "tableRowProperties": { # Properties of each row in a table. # Properties of the row. |
| 28482 | "minRowHeight": { # A magnitude in a single direction in the specified units. # Minimum height of the row. The row will be rendered in the Slides editor at |
| 28483 | # a height equal to or greater than this value in order to show all the text |
| 28484 | # in the row's cell(s). |
| 28485 | "magnitude": 3.14, # The magnitude. |
| 28486 | "unit": "A String", # The units for magnitude. |
| 28487 | }, |
| 28488 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 28489 | }, |
| 28490 | ], |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 28491 | "columns": 42, # Number of columns in the table. |
| 28492 | }, |
| 28493 | "line": { # A PageElement kind representing a # A line page element. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28494 | # non-connector line, straight connector, curved connector, or bent connector. |
| 28495 | "lineCategory": "A String", # The category of the line. |
| 28496 | # |
| 28497 | # It matches the `category` specified in CreateLineRequest, and can be updated with |
| 28498 | # UpdateLineCategoryRequest. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 28499 | "lineProperties": { # The properties of the Line. # The properties of the line. |
| 28500 | # |
| 28501 | # When unset, these fields default to values that match the appearance of |
| 28502 | # new lines created in the Slides editor. |
| 28503 | "dashStyle": "A String", # The dash style of the line. |
| 28504 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line. |
| 28505 | "magnitude": 3.14, # The magnitude. |
| 28506 | "unit": "A String", # The units for magnitude. |
| 28507 | }, |
| 28508 | "endArrow": "A String", # The style of the arrow at the end of the line. |
| 28509 | "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link. |
| 28510 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 28511 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 28512 | # in the presentation. There may not be a slide at this index. |
| 28513 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 28514 | # presentation with this ID. A page with this ID may not exist. |
| 28515 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 28516 | # addressed by its position. |
| 28517 | }, |
| 28518 | "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new |
| 28519 | # lines created in the Slides editor. |
| 28520 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 28521 | # specified color value. |
| 28522 | # |
| 28523 | # If any field is unset, its value may be inherited from a parent placeholder |
| 28524 | # if it exists. |
| 28525 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 28526 | "themeColor": "A String", # An opaque theme color. |
| 28527 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 28528 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28529 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28530 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28531 | }, |
| 28532 | }, |
| 28533 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 28534 | # That is, the final pixel color is defined by the equation: |
| 28535 | # |
| 28536 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 28537 | # |
| 28538 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 28539 | # a value of 0.0 corresponds to a completely transparent color. |
| 28540 | }, |
| 28541 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28542 | "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no |
| 28543 | # connection. |
| 28544 | # |
| 28545 | # Only lines with a Type indicating it is |
| 28546 | # a "connector" can have a `start_connection`. |
| 28547 | # connection. |
| 28548 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 28549 | # |
| 28550 | # In most cases, it corresponds to the predefined connection site index from |
| 28551 | # the ECMA-376 standard. More information on those connection sites can be |
| 28552 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 28553 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 28554 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 28555 | # [ECMA-376 5th edition] |
| 28556 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 28557 | # |
| 28558 | # The position of each connection site can also be viewed from Slides editor. |
| 28559 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 28560 | # |
| 28561 | # Some page elements, such as groups, tables, and lines |
| 28562 | # do not have connection sites and therefore cannot be connected to a |
| 28563 | # connector line. |
| 28564 | }, |
| 28565 | "endConnection": { # The properties for one end of a Line # The connection at the end of the line. If unset, there is no connection. |
| 28566 | # |
| 28567 | # Only lines with a Type indicating it is |
| 28568 | # a "connector" can have an `end_connection`. |
| 28569 | # connection. |
| 28570 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 28571 | # |
| 28572 | # In most cases, it corresponds to the predefined connection site index from |
| 28573 | # the ECMA-376 standard. More information on those connection sites can be |
| 28574 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 28575 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 28576 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 28577 | # [ECMA-376 5th edition] |
| 28578 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 28579 | # |
| 28580 | # The position of each connection site can also be viewed from Slides editor. |
| 28581 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 28582 | # |
| 28583 | # Some page elements, such as groups, tables, and lines |
| 28584 | # do not have connection sites and therefore cannot be connected to a |
| 28585 | # connector line. |
| 28586 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 28587 | "startArrow": "A String", # The style of the arrow at the beginning of the line. |
| 28588 | }, |
| 28589 | "lineType": "A String", # The type of the line. |
| 28590 | }, |
| 28591 | "size": { # A width and height. # The size of the page element. |
| 28592 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 28593 | "magnitude": 3.14, # The magnitude. |
| 28594 | "unit": "A String", # The units for magnitude. |
| 28595 | }, |
| 28596 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 28597 | "magnitude": 3.14, # The magnitude. |
| 28598 | "unit": "A String", # The units for magnitude. |
| 28599 | }, |
| 28600 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28601 | "description": "A String", # The description of the page element. Combined with title to display alt |
| 28602 | # text. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 28603 | }, |
| 28604 | ], |
| 28605 | "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES. |
| 28606 | # relevant for pages with page_type NOTES. |
| 28607 | "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker |
| 28608 | # notes for the corresponding slide. |
| 28609 | # The actual shape may not always exist on the notes page. Inserting text |
| 28610 | # using this object ID will automatically create the shape. In this case, the |
| 28611 | # actual shape may have different object ID. The `GetPresentation` or |
| 28612 | # `GetPage` action will always return the latest object ID. |
| 28613 | }, |
| 28614 | "objectId": "A String", # The object ID for this page. Object IDs used by |
| 28615 | # Page and |
| 28616 | # PageElement share the same namespace. |
| 28617 | "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in |
| 28618 | # update requests to assert that the presentation revision hasn't changed |
| 28619 | # since the last read operation. Only populated if the user has edit access |
| 28620 | # to the presentation. |
| 28621 | # |
| 28622 | # The format of the revision ID may change over time, so it should be treated |
| 28623 | # opaquely. A returned revision ID is only guaranteed to be valid for 24 |
| 28624 | # hours after it has been returned and cannot be shared across users. If the |
| 28625 | # revision ID is unchanged between calls, then the presentation has not |
| 28626 | # changed. Conversely, a changed ID (for the same presentation and user) |
| 28627 | # usually means the presentation has been updated; however, a changed ID can |
| 28628 | # also be due to internal factors such as ID format changes. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28629 | "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER. |
| 28630 | # relevant for pages with page_type MASTER. |
| 28631 | "displayName": "A String", # The human-readable name of the master. |
| 28632 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 28633 | "pageProperties": { # The properties of the Page. # The properties of the page. |
| 28634 | # |
| 28635 | # The page will inherit properties from the parent page. Depending on the page |
| 28636 | # type the hierarchy is defined in either |
| 28637 | # SlideProperties or |
| 28638 | # LayoutProperties. |
| 28639 | "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited |
| 28640 | # from a parent page if it exists. If the page has no parent, then the |
| 28641 | # background fill defaults to the corresponding fill in the Slides editor. |
| 28642 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 28643 | # specified color value. |
| 28644 | # |
| 28645 | # If any field is unset, its value may be inherited from a parent placeholder |
| 28646 | # if it exists. |
| 28647 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 28648 | "themeColor": "A String", # An opaque theme color. |
| 28649 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 28650 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28651 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28652 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28653 | }, |
| 28654 | }, |
| 28655 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 28656 | # That is, the final pixel color is defined by the equation: |
| 28657 | # |
| 28658 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 28659 | # |
| 28660 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 28661 | # a value of 0.0 corresponds to a completely transparent color. |
| 28662 | }, |
| 28663 | "propertyState": "A String", # The background fill property state. |
| 28664 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28665 | # Updating the fill on a page will implicitly update this field to |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 28666 | # `RENDERED`, unless another value is specified in the same request. To |
| 28667 | # have no fill on a page, set this field to `NOT_RENDERED`. In this case, |
| 28668 | # any other fill fields set in the same request will be ignored. |
| 28669 | "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill. |
| 28670 | # the specified picture. The picture is stretched to fit its container. |
| 28671 | "contentUrl": "A String", # Reading the content_url: |
| 28672 | # |
| 28673 | # An URL to a picture with a default lifetime of 30 minutes. |
| 28674 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 28675 | # effectively accesses the picture as the original requester. Access to the |
| 28676 | # picture may be lost if the presentation's sharing settings change. |
| 28677 | # |
| 28678 | # Writing the content_url: |
| 28679 | # |
| 28680 | # The picture is fetched once at insertion time and a copy is stored for |
| 28681 | # display inside the presentation. Pictures must be less than 50MB in size, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28682 | # cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 28683 | # format. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28684 | # |
| 28685 | # The provided URL can be at most 2 kB in length. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 28686 | "size": { # A width and height. # The original size of the picture fill. This field is read-only. |
| 28687 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 28688 | "magnitude": 3.14, # The magnitude. |
| 28689 | "unit": "A String", # The units for magnitude. |
| 28690 | }, |
| 28691 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 28692 | "magnitude": 3.14, # The magnitude. |
| 28693 | "unit": "A String", # The units for magnitude. |
| 28694 | }, |
| 28695 | }, |
| 28696 | }, |
| 28697 | }, |
| 28698 | "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from |
| 28699 | # a parent page. If the page has no parent, the color scheme uses a default |
| 28700 | # Slides color scheme. This field is read-only. |
| 28701 | "colors": [ # The ThemeColorType and corresponding concrete color pairs. |
| 28702 | { # A pair mapping a theme color type to the concrete color it represents. |
| 28703 | "color": { # An RGB color. # The concrete color corresponding to the theme color type above. |
| 28704 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28705 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28706 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28707 | }, |
| 28708 | "type": "A String", # The type of the theme color. |
| 28709 | }, |
| 28710 | ], |
| 28711 | }, |
| 28712 | }, |
| 28713 | "pageType": "A String", # The type of the page. |
| 28714 | "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE. |
| 28715 | # relevant for pages with page_type SLIDE. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 28716 | "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual |
| 28717 | # appearance of a notes page when printing or exporting slides with speaker |
| 28718 | # notes. A notes page inherits properties from the |
| 28719 | # notes master. |
| 28720 | # The placeholder shape with type BODY on the notes page contains the speaker |
| 28721 | # notes for this slide. The ID of this shape is identified by the |
| 28722 | # speakerNotesObjectId field. |
| 28723 | # The notes page is read-only except for the text content and styles of the |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28724 | # speaker notes shape. This property is read-only. |
| 28725 | "masterObjectId": "A String", # The object ID of the master that this slide is based on. This property is |
| 28726 | # read-only. |
| 28727 | "layoutObjectId": "A String", # The object ID of the layout that this slide is based on. This property is |
| 28728 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 28729 | }, |
| 28730 | }, |
| 28731 | ], |
| 28732 | "layouts": [ # The layouts in the presentation. A layout is a template that determines |
| 28733 | # how content is arranged and styled on the slides that inherit from that |
| 28734 | # layout. |
| 28735 | { # A page in a presentation. |
| 28736 | "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT. |
| 28737 | # relevant for pages with page_type LAYOUT. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28738 | "displayName": "A String", # The human-readable name of the layout. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 28739 | "name": "A String", # The name of the layout. |
| 28740 | "masterObjectId": "A String", # The object ID of the master that this layout is based on. |
| 28741 | }, |
| 28742 | "pageElements": [ # The page elements rendered on the page. |
| 28743 | { # A visual element rendered on a page. |
| 28744 | "wordArt": { # A PageElement kind representing # A word art page element. |
| 28745 | # word art. |
| 28746 | "renderedText": "A String", # The text rendered as word art. |
| 28747 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28748 | "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit. |
| 28749 | # joined collection of PageElements. |
| 28750 | "children": [ # The collection of elements in the group. The minimum size of a group is 2. |
| 28751 | # Object with schema name: PageElement |
| 28752 | ], |
| 28753 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 28754 | "objectId": "A String", # The object ID for this page element. Object IDs used by |
| 28755 | # google.apps.slides.v1.Page and |
| 28756 | # google.apps.slides.v1.PageElement share the same namespace. |
| 28757 | "title": "A String", # The title of the page element. Combined with description to display alt |
| 28758 | # text. |
| 28759 | "image": { # A PageElement kind representing an # An image page element. |
| 28760 | # image. |
| 28761 | "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes. |
| 28762 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 28763 | # effectively accesses the image as the original requester. Access to the |
| 28764 | # image may be lost if the presentation's sharing settings change. |
| 28765 | "imageProperties": { # The properties of the Image. # The properties of the image. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28766 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 28767 | # |
| 28768 | # If these fields are unset, they may be inherited from a parent placeholder |
| 28769 | # if it exists. If there is no parent, the fields will default to the value |
| 28770 | # used for new page elements created in the Slides editor, which may depend on |
| 28771 | # the page element kind. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 28772 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 28773 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 28774 | # specified color value. |
| 28775 | # |
| 28776 | # If any field is unset, its value may be inherited from a parent placeholder |
| 28777 | # if it exists. |
| 28778 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 28779 | "themeColor": "A String", # An opaque theme color. |
| 28780 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 28781 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28782 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28783 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28784 | }, |
| 28785 | }, |
| 28786 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 28787 | # That is, the final pixel color is defined by the equation: |
| 28788 | # |
| 28789 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 28790 | # |
| 28791 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 28792 | # a value of 0.0 corresponds to a completely transparent color. |
| 28793 | }, |
| 28794 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 28795 | "propertyState": "A String", # The outline property state. |
| 28796 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28797 | # Updating the outline on a page element will implicitly update this field |
| 28798 | # to `RENDERED`, unless another value is specified in the same request. To |
| 28799 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 28800 | # this case, any other outline fields set in the same request will be |
| 28801 | # ignored. |
| 28802 | "dashStyle": "A String", # The dash style of the outline. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 28803 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 28804 | "magnitude": 3.14, # The magnitude. |
| 28805 | "unit": "A String", # The units for magnitude. |
| 28806 | }, |
| 28807 | }, |
| 28808 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 28809 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 28810 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 28811 | # This property is read-only. |
| 28812 | "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] | 28813 | # stops. |
| 28814 | # |
| 28815 | # The colors in the gradient will replace the corresponding colors at |
| 28816 | # the same position in the color palette and apply to the image. This |
| 28817 | # property is read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 28818 | { # A color and position in a gradient band. |
| 28819 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 28820 | "themeColor": "A String", # An opaque theme color. |
| 28821 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 28822 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28823 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28824 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28825 | }, |
| 28826 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 28827 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 28828 | # fully opaque. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 28829 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 28830 | # 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] | 28831 | }, |
| 28832 | ], |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 28833 | "name": "A String", # The name of the recolor effect. |
| 28834 | # |
| 28835 | # The name is determined from the `recolor_stops` by matching the gradient |
| 28836 | # against the colors in the page's current color scheme. This property is |
| 28837 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 28838 | }, |
| 28839 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 28840 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 28841 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 28842 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 28843 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 28844 | # 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] | 28845 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 28846 | # addressed by its position. |
| 28847 | }, |
| 28848 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 28849 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 28850 | # This property is read-only. |
| 28851 | "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. |
| 28852 | # This property is read-only. |
| 28853 | # Image. |
| 28854 | # |
| 28855 | # The crop properties is represented by the offsets of four edges which define |
| 28856 | # a crop rectangle. The offsets are measured in percentage from the |
| 28857 | # corresponding edges of the object's original bounding rectangle towards |
| 28858 | # inside, relative to the object's original dimensions. |
| 28859 | # |
| 28860 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 28861 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 28862 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 28863 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 28864 | # - If the left edge of the crop rectangle is on the right side of its right |
| 28865 | # edge, the object will be flipped horizontally. |
| 28866 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 28867 | # will be flipped vertically. |
| 28868 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 28869 | # |
| 28870 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 28871 | # its container. |
| 28872 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 28873 | # the right of the original bounding rectangle left edge, relative to the |
| 28874 | # object's original width. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28875 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 28876 | # above the original bounding rectangle bottom edge, relative to the object's |
| 28877 | # original height. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 28878 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 28879 | # Rotation angle is applied after the offset. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 28880 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 28881 | # to the left of the original bounding rectangle right edge, relative to the |
| 28882 | # object's original width. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 28883 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 28884 | # below the original bounding rectangle top edge, relative to the object's |
| 28885 | # original height. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 28886 | }, |
| 28887 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 28888 | # is read-only. |
| 28889 | # |
| 28890 | # If these fields are unset, they may be inherited from a parent placeholder |
| 28891 | # if it exists. If there is no parent, the fields will default to the value |
| 28892 | # used for new page elements created in the Slides editor, which may depend on |
| 28893 | # the page element kind. |
| 28894 | "color": { # A themeable solid color value. # The shadow color value. |
| 28895 | "themeColor": "A String", # An opaque theme color. |
| 28896 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 28897 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28898 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28899 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28900 | }, |
| 28901 | }, |
| 28902 | "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, |
| 28903 | # relative to the alignment position. |
| 28904 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 28905 | # according to: |
| 28906 | # |
| 28907 | # x' x = shear_y scale_y translate_y |
| 28908 | # 1 [ 1 ] |
| 28909 | # |
| 28910 | # After transformation, |
| 28911 | # |
| 28912 | # x' = scale_x * x + shear_x * y + translate_x; |
| 28913 | # y' = scale_y * y + shear_y * x + translate_y; |
| 28914 | # |
| 28915 | # This message is therefore composed of these six matrix elements. |
| 28916 | "translateX": 3.14, # The X coordinate translation element. |
| 28917 | "translateY": 3.14, # The Y coordinate translation element. |
| 28918 | "scaleX": 3.14, # The X coordinate scaling element. |
| 28919 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 28920 | "shearY": 3.14, # The Y coordinate shearing element. |
| 28921 | "shearX": 3.14, # The X coordinate shearing element. |
| 28922 | "unit": "A String", # The units for translate elements. |
| 28923 | }, |
| 28924 | "propertyState": "A String", # The shadow property state. |
| 28925 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28926 | # Updating the shadow on a page element will implicitly update this field to |
| 28927 | # `RENDERED`, unless another value is specified in the same request. To have |
| 28928 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 28929 | # case, any other shadow fields set in the same request will be ignored. |
| 28930 | "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 |
| 28931 | # shadow becomes. |
| 28932 | "magnitude": 3.14, # The magnitude. |
| 28933 | "unit": "A String", # The units for magnitude. |
| 28934 | }, |
| 28935 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28936 | "type": "A String", # The type of the shadow. This property is read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 28937 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28938 | # scale and skew of the shadow. This property is read-only. |
| 28939 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 28940 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 28941 | }, |
| 28942 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 28943 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 28944 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28945 | "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be |
| 28946 | # empty. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 28947 | }, |
| 28948 | "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 28949 | # |
| 28950 | # The visual appearance of the page element is determined by its absolute |
| 28951 | # transform. To compute the absolute transform, preconcatenate a page |
| 28952 | # element's transform with the transforms of all of its parent groups. If the |
| 28953 | # page element is not in a group, its absolute transform is the same as the |
| 28954 | # value in this field. |
| 28955 | # |
| 28956 | # The initial transform for the newly created Group is always the identity transform. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 28957 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 28958 | # according to: |
| 28959 | # |
| 28960 | # x' x = shear_y scale_y translate_y |
| 28961 | # 1 [ 1 ] |
| 28962 | # |
| 28963 | # After transformation, |
| 28964 | # |
| 28965 | # x' = scale_x * x + shear_x * y + translate_x; |
| 28966 | # y' = scale_y * y + shear_y * x + translate_y; |
| 28967 | # |
| 28968 | # This message is therefore composed of these six matrix elements. |
| 28969 | "translateX": 3.14, # The X coordinate translation element. |
| 28970 | "translateY": 3.14, # The Y coordinate translation element. |
| 28971 | "scaleX": 3.14, # The X coordinate scaling element. |
| 28972 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 28973 | "shearY": 3.14, # The Y coordinate shearing element. |
| 28974 | "shearX": 3.14, # The X coordinate shearing element. |
| 28975 | "unit": "A String", # The units for translate elements. |
| 28976 | }, |
| 28977 | "shape": { # A PageElement kind representing a # A generic shape. |
| 28978 | # generic shape that does not have a more specific classification. |
| 28979 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape. |
| 28980 | # text box or rectangle) or a table cell in a page. |
| 28981 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 28982 | # information. This property is read-only. |
| 28983 | { # A TextElement describes the content of a range of indices in the text content |
| 28984 | # of a Shape or TableCell. |
| 28985 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 28986 | # replaced with content that can change over time. |
| 28987 | "content": "A String", # The rendered content of this auto text, if available. |
| 28988 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 28989 | # |
| 28990 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 28991 | # inherited from the parent. Which text styles are inherited depend on the |
| 28992 | # nesting level of lists: |
| 28993 | # |
| 28994 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 28995 | # from the the newline character in the paragraph at the 0 nesting level of |
| 28996 | # the list inside the parent placeholder. |
| 28997 | # * A text run in a paragraph that is in a list will inherit its text style |
| 28998 | # from the newline character in the paragraph at its corresponding nesting |
| 28999 | # level of the list inside the parent placeholder. |
| 29000 | # |
| 29001 | # Inherited text styles are represented as unset fields in this message. If |
| 29002 | # text is contained in a shape without a parent placeholder, unsetting these |
| 29003 | # fields will revert the style to a value matching the defaults in the Slides |
| 29004 | # editor. |
| 29005 | "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 |
| 29006 | # transparent, depending on if the `opaque_color` field in it is set. |
| 29007 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 29008 | # a transparent color. |
| 29009 | "themeColor": "A String", # An opaque theme color. |
| 29010 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 29011 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 29012 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 29013 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 29014 | }, |
| 29015 | }, |
| 29016 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29017 | "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 |
| 29018 | # transparent, depending on if the `opaque_color` field in it is set. |
| 29019 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 29020 | # a transparent color. |
| 29021 | "themeColor": "A String", # An opaque theme color. |
| 29022 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 29023 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 29024 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 29025 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 29026 | }, |
| 29027 | }, |
| 29028 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29029 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 29030 | # |
| 29031 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 29032 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 29033 | # The `font_size` itself is not affected by changes in this field. |
| 29034 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 29035 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 29036 | # |
| 29037 | # This field is an extension of `font_family` meant to support explicit font |
| 29038 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 29039 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 29040 | # will always be equal to that of `font_family`. However, when writing, if |
| 29041 | # both fields are included in the field mask (either explicitly or through |
| 29042 | # the wildcard `"*"`), their values are reconciled as follows: |
| 29043 | # |
| 29044 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 29045 | # `font_family` is applied with weight `400` ("normal"). |
| 29046 | # * If both fields are set, the value of `font_family` must match that of |
| 29047 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 29048 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 29049 | # returned. |
| 29050 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 29051 | # family and weight of `weighted_font_family` is applied. |
| 29052 | # * If neither field is set, the font family and weight of the text inherit |
| 29053 | # from the parent. Note that these properties cannot inherit separately |
| 29054 | # from each other. |
| 29055 | # |
| 29056 | # If an update request specifies values for both `weighted_font_family` and |
| 29057 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 29058 | # |
| 29059 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 29060 | # |
| 29061 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 29062 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 29063 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 29064 | "fontFamily": "A String", # The font family of the text. |
| 29065 | # |
| 29066 | # The font family can be any font from the Font menu in Slides or from |
| 29067 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 29068 | # unrecognized, the text is rendered in `Arial`. |
| 29069 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 29070 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 29071 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29072 | # Specification, |
| 29073 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 29074 | # with non-numerical values disallowed. Weights greater than or equal to |
| 29075 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 29076 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 29077 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29078 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 29079 | "fontFamily": "A String", # The font family of the text. |
| 29080 | # |
| 29081 | # The font family can be any font from the Font menu in Slides or from |
| 29082 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 29083 | # unrecognized, the text is rendered in `Arial`. |
| 29084 | # |
| 29085 | # Some fonts can affect the weight of the text. If an update request |
| 29086 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 29087 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29088 | "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 |
| 29089 | # points. |
| 29090 | "magnitude": 3.14, # The magnitude. |
| 29091 | "unit": "A String", # The units for magnitude. |
| 29092 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 29093 | "italic": True or False, # Whether or not the text is italicized. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29094 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 29095 | # are not inherited from parent text. |
| 29096 | # |
| 29097 | # Changing the link in an update request causes some other changes to the |
| 29098 | # text style of the range: |
| 29099 | # |
| 29100 | # * When setting a link, the text foreground color will be set to |
| 29101 | # ThemeColorType.HYPERLINK and the text will |
| 29102 | # be underlined. If these fields are modified in the same |
| 29103 | # request, those values will be used instead of the link defaults. |
| 29104 | # * Setting a link on a text range that overlaps with an existing link will |
| 29105 | # also update the existing link to point to the new URL. |
| 29106 | # * Links are not settable on newline characters. As a result, setting a link |
| 29107 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 29108 | # will separate the newline character(s) into their own text runs. The |
| 29109 | # link will be applied separately to the runs before and after the newline. |
| 29110 | # * Removing a link will update the text style of the range to match the |
| 29111 | # style of the preceding text (or the default text styles if the preceding |
| 29112 | # text is another link) unless different styles are being set in the same |
| 29113 | # request. |
| 29114 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 29115 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 29116 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 29117 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 29118 | # 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] | 29119 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 29120 | # addressed by its position. |
| 29121 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 29122 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29123 | "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] | 29124 | }, |
| 29125 | "type": "A String", # The type of this auto text. |
| 29126 | }, |
| 29127 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 29128 | # units. |
| 29129 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 29130 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 29131 | # |
| 29132 | # The `start_index` and `end_index` of this TextElement represent the |
| 29133 | # range of the paragraph. Other TextElements with an index range contained |
| 29134 | # inside this paragraph's range are considered to be part of this |
| 29135 | # paragraph. The range of indices of two separate paragraphs will never |
| 29136 | # overlap. |
| 29137 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 29138 | # |
| 29139 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 29140 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 29141 | # nesting level of lists: |
| 29142 | # |
| 29143 | # * A paragraph not in a list will inherit its paragraph style from the |
| 29144 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 29145 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 29146 | # at its corresponding nesting level of the list inside the parent |
| 29147 | # placeholder. |
| 29148 | # |
| 29149 | # Inherited paragraph styles are represented as unset fields in this message. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 29150 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 29151 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 29152 | # LEFT_TO_RIGHT since |
| 29153 | # text direction is not inherited. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29154 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 29155 | # inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29156 | "magnitude": 3.14, # The magnitude. |
| 29157 | "unit": "A String", # The units for magnitude. |
| 29158 | }, |
| 29159 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 29160 | # 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] | 29161 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 29162 | # 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] | 29163 | # value is inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29164 | "magnitude": 3.14, # The magnitude. |
| 29165 | "unit": "A String", # The units for magnitude. |
| 29166 | }, |
| 29167 | "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] | 29168 | # inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29169 | "magnitude": 3.14, # The magnitude. |
| 29170 | "unit": "A String", # The units for magnitude. |
| 29171 | }, |
| 29172 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 29173 | # 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] | 29174 | # value is inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29175 | "magnitude": 3.14, # The magnitude. |
| 29176 | "unit": "A String", # The units for magnitude. |
| 29177 | }, |
| 29178 | "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] | 29179 | # If unset, the value is inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29180 | "magnitude": 3.14, # The magnitude. |
| 29181 | "unit": "A String", # The units for magnitude. |
| 29182 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 29183 | "alignment": "A String", # The text alignment for this paragraph. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29184 | }, |
| 29185 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 29186 | # belong to a list. |
| 29187 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 29188 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 29189 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 29190 | # |
| 29191 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 29192 | # inherited from the parent. Which text styles are inherited depend on the |
| 29193 | # nesting level of lists: |
| 29194 | # |
| 29195 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 29196 | # from the the newline character in the paragraph at the 0 nesting level of |
| 29197 | # the list inside the parent placeholder. |
| 29198 | # * A text run in a paragraph that is in a list will inherit its text style |
| 29199 | # from the newline character in the paragraph at its corresponding nesting |
| 29200 | # level of the list inside the parent placeholder. |
| 29201 | # |
| 29202 | # Inherited text styles are represented as unset fields in this message. If |
| 29203 | # text is contained in a shape without a parent placeholder, unsetting these |
| 29204 | # fields will revert the style to a value matching the defaults in the Slides |
| 29205 | # editor. |
| 29206 | "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 |
| 29207 | # transparent, depending on if the `opaque_color` field in it is set. |
| 29208 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 29209 | # a transparent color. |
| 29210 | "themeColor": "A String", # An opaque theme color. |
| 29211 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 29212 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 29213 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 29214 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 29215 | }, |
| 29216 | }, |
| 29217 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29218 | "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 |
| 29219 | # transparent, depending on if the `opaque_color` field in it is set. |
| 29220 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 29221 | # a transparent color. |
| 29222 | "themeColor": "A String", # An opaque theme color. |
| 29223 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 29224 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 29225 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 29226 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 29227 | }, |
| 29228 | }, |
| 29229 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29230 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 29231 | # |
| 29232 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 29233 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 29234 | # The `font_size` itself is not affected by changes in this field. |
| 29235 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 29236 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 29237 | # |
| 29238 | # This field is an extension of `font_family` meant to support explicit font |
| 29239 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 29240 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 29241 | # will always be equal to that of `font_family`. However, when writing, if |
| 29242 | # both fields are included in the field mask (either explicitly or through |
| 29243 | # the wildcard `"*"`), their values are reconciled as follows: |
| 29244 | # |
| 29245 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 29246 | # `font_family` is applied with weight `400` ("normal"). |
| 29247 | # * If both fields are set, the value of `font_family` must match that of |
| 29248 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 29249 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 29250 | # returned. |
| 29251 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 29252 | # family and weight of `weighted_font_family` is applied. |
| 29253 | # * If neither field is set, the font family and weight of the text inherit |
| 29254 | # from the parent. Note that these properties cannot inherit separately |
| 29255 | # from each other. |
| 29256 | # |
| 29257 | # If an update request specifies values for both `weighted_font_family` and |
| 29258 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 29259 | # |
| 29260 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 29261 | # |
| 29262 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 29263 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 29264 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 29265 | "fontFamily": "A String", # The font family of the text. |
| 29266 | # |
| 29267 | # The font family can be any font from the Font menu in Slides or from |
| 29268 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 29269 | # unrecognized, the text is rendered in `Arial`. |
| 29270 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 29271 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 29272 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29273 | # Specification, |
| 29274 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 29275 | # with non-numerical values disallowed. Weights greater than or equal to |
| 29276 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 29277 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 29278 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29279 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 29280 | "fontFamily": "A String", # The font family of the text. |
| 29281 | # |
| 29282 | # The font family can be any font from the Font menu in Slides or from |
| 29283 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 29284 | # unrecognized, the text is rendered in `Arial`. |
| 29285 | # |
| 29286 | # Some fonts can affect the weight of the text. If an update request |
| 29287 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 29288 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29289 | "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 |
| 29290 | # points. |
| 29291 | "magnitude": 3.14, # The magnitude. |
| 29292 | "unit": "A String", # The units for magnitude. |
| 29293 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 29294 | "italic": True or False, # Whether or not the text is italicized. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29295 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 29296 | # are not inherited from parent text. |
| 29297 | # |
| 29298 | # Changing the link in an update request causes some other changes to the |
| 29299 | # text style of the range: |
| 29300 | # |
| 29301 | # * When setting a link, the text foreground color will be set to |
| 29302 | # ThemeColorType.HYPERLINK and the text will |
| 29303 | # be underlined. If these fields are modified in the same |
| 29304 | # request, those values will be used instead of the link defaults. |
| 29305 | # * Setting a link on a text range that overlaps with an existing link will |
| 29306 | # also update the existing link to point to the new URL. |
| 29307 | # * Links are not settable on newline characters. As a result, setting a link |
| 29308 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 29309 | # will separate the newline character(s) into their own text runs. The |
| 29310 | # link will be applied separately to the runs before and after the newline. |
| 29311 | # * Removing a link will update the text style of the range to match the |
| 29312 | # style of the preceding text (or the default text styles if the preceding |
| 29313 | # text is another link) unless different styles are being set in the same |
| 29314 | # request. |
| 29315 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 29316 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 29317 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 29318 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 29319 | # 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] | 29320 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 29321 | # addressed by its position. |
| 29322 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 29323 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29324 | "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] | 29325 | }, |
| 29326 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 29327 | }, |
| 29328 | }, |
| 29329 | "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 |
| 29330 | # in the run have the same TextStyle. |
| 29331 | # |
| 29332 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 29333 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 29334 | # In other words, a TextRun will never span multiple paragraphs. |
| 29335 | # styling. |
| 29336 | "content": "A String", # The text of this run. |
| 29337 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 29338 | # |
| 29339 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 29340 | # inherited from the parent. Which text styles are inherited depend on the |
| 29341 | # nesting level of lists: |
| 29342 | # |
| 29343 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 29344 | # from the the newline character in the paragraph at the 0 nesting level of |
| 29345 | # the list inside the parent placeholder. |
| 29346 | # * A text run in a paragraph that is in a list will inherit its text style |
| 29347 | # from the newline character in the paragraph at its corresponding nesting |
| 29348 | # level of the list inside the parent placeholder. |
| 29349 | # |
| 29350 | # Inherited text styles are represented as unset fields in this message. If |
| 29351 | # text is contained in a shape without a parent placeholder, unsetting these |
| 29352 | # fields will revert the style to a value matching the defaults in the Slides |
| 29353 | # editor. |
| 29354 | "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 |
| 29355 | # transparent, depending on if the `opaque_color` field in it is set. |
| 29356 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 29357 | # a transparent color. |
| 29358 | "themeColor": "A String", # An opaque theme color. |
| 29359 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 29360 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 29361 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 29362 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 29363 | }, |
| 29364 | }, |
| 29365 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29366 | "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 |
| 29367 | # transparent, depending on if the `opaque_color` field in it is set. |
| 29368 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 29369 | # a transparent color. |
| 29370 | "themeColor": "A String", # An opaque theme color. |
| 29371 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 29372 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 29373 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 29374 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 29375 | }, |
| 29376 | }, |
| 29377 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29378 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 29379 | # |
| 29380 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 29381 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 29382 | # The `font_size` itself is not affected by changes in this field. |
| 29383 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 29384 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 29385 | # |
| 29386 | # This field is an extension of `font_family` meant to support explicit font |
| 29387 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 29388 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 29389 | # will always be equal to that of `font_family`. However, when writing, if |
| 29390 | # both fields are included in the field mask (either explicitly or through |
| 29391 | # the wildcard `"*"`), their values are reconciled as follows: |
| 29392 | # |
| 29393 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 29394 | # `font_family` is applied with weight `400` ("normal"). |
| 29395 | # * If both fields are set, the value of `font_family` must match that of |
| 29396 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 29397 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 29398 | # returned. |
| 29399 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 29400 | # family and weight of `weighted_font_family` is applied. |
| 29401 | # * If neither field is set, the font family and weight of the text inherit |
| 29402 | # from the parent. Note that these properties cannot inherit separately |
| 29403 | # from each other. |
| 29404 | # |
| 29405 | # If an update request specifies values for both `weighted_font_family` and |
| 29406 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 29407 | # |
| 29408 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 29409 | # |
| 29410 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 29411 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 29412 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 29413 | "fontFamily": "A String", # The font family of the text. |
| 29414 | # |
| 29415 | # The font family can be any font from the Font menu in Slides or from |
| 29416 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 29417 | # unrecognized, the text is rendered in `Arial`. |
| 29418 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 29419 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 29420 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29421 | # Specification, |
| 29422 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 29423 | # with non-numerical values disallowed. Weights greater than or equal to |
| 29424 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 29425 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 29426 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29427 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 29428 | "fontFamily": "A String", # The font family of the text. |
| 29429 | # |
| 29430 | # The font family can be any font from the Font menu in Slides or from |
| 29431 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 29432 | # unrecognized, the text is rendered in `Arial`. |
| 29433 | # |
| 29434 | # Some fonts can affect the weight of the text. If an update request |
| 29435 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 29436 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29437 | "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 |
| 29438 | # points. |
| 29439 | "magnitude": 3.14, # The magnitude. |
| 29440 | "unit": "A String", # The units for magnitude. |
| 29441 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 29442 | "italic": True or False, # Whether or not the text is italicized. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29443 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 29444 | # are not inherited from parent text. |
| 29445 | # |
| 29446 | # Changing the link in an update request causes some other changes to the |
| 29447 | # text style of the range: |
| 29448 | # |
| 29449 | # * When setting a link, the text foreground color will be set to |
| 29450 | # ThemeColorType.HYPERLINK and the text will |
| 29451 | # be underlined. If these fields are modified in the same |
| 29452 | # request, those values will be used instead of the link defaults. |
| 29453 | # * Setting a link on a text range that overlaps with an existing link will |
| 29454 | # also update the existing link to point to the new URL. |
| 29455 | # * Links are not settable on newline characters. As a result, setting a link |
| 29456 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 29457 | # will separate the newline character(s) into their own text runs. The |
| 29458 | # link will be applied separately to the runs before and after the newline. |
| 29459 | # * Removing a link will update the text style of the range to match the |
| 29460 | # style of the preceding text (or the default text styles if the preceding |
| 29461 | # text is another link) unless different styles are being set in the same |
| 29462 | # request. |
| 29463 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 29464 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 29465 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 29466 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 29467 | # 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] | 29468 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 29469 | # addressed by its position. |
| 29470 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 29471 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29472 | "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] | 29473 | }, |
| 29474 | }, |
| 29475 | }, |
| 29476 | ], |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29477 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 29478 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 29479 | # associated with a list. A paragraph that is part of a list has an implicit |
| 29480 | # reference to that list's ID. |
| 29481 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 29482 | # level. A list has at most nine levels of nesting, so the possible values |
| 29483 | # for the keys of this map are 0 through 8, inclusive. |
| 29484 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 29485 | # level of nesting. |
| 29486 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 29487 | # |
| 29488 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 29489 | # inherited from the parent. Which text styles are inherited depend on the |
| 29490 | # nesting level of lists: |
| 29491 | # |
| 29492 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 29493 | # from the the newline character in the paragraph at the 0 nesting level of |
| 29494 | # the list inside the parent placeholder. |
| 29495 | # * A text run in a paragraph that is in a list will inherit its text style |
| 29496 | # from the newline character in the paragraph at its corresponding nesting |
| 29497 | # level of the list inside the parent placeholder. |
| 29498 | # |
| 29499 | # Inherited text styles are represented as unset fields in this message. If |
| 29500 | # text is contained in a shape without a parent placeholder, unsetting these |
| 29501 | # fields will revert the style to a value matching the defaults in the Slides |
| 29502 | # editor. |
| 29503 | "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 |
| 29504 | # transparent, depending on if the `opaque_color` field in it is set. |
| 29505 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 29506 | # a transparent color. |
| 29507 | "themeColor": "A String", # An opaque theme color. |
| 29508 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 29509 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 29510 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 29511 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 29512 | }, |
| 29513 | }, |
| 29514 | }, |
| 29515 | "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 |
| 29516 | # transparent, depending on if the `opaque_color` field in it is set. |
| 29517 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 29518 | # a transparent color. |
| 29519 | "themeColor": "A String", # An opaque theme color. |
| 29520 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 29521 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 29522 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 29523 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 29524 | }, |
| 29525 | }, |
| 29526 | }, |
| 29527 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 29528 | # |
| 29529 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 29530 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 29531 | # The `font_size` itself is not affected by changes in this field. |
| 29532 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 29533 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 29534 | # |
| 29535 | # This field is an extension of `font_family` meant to support explicit font |
| 29536 | # weights without breaking backwards compatibility. As such, when reading the |
| 29537 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 29538 | # will always be equal to that of `font_family`. However, when writing, if |
| 29539 | # both fields are included in the field mask (either explicitly or through |
| 29540 | # the wildcard `"*"`), their values are reconciled as follows: |
| 29541 | # |
| 29542 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 29543 | # `font_family` is applied with weight `400` ("normal"). |
| 29544 | # * If both fields are set, the value of `font_family` must match that of |
| 29545 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 29546 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 29547 | # returned. |
| 29548 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 29549 | # family and weight of `weighted_font_family` is applied. |
| 29550 | # * If neither field is set, the font family and weight of the text inherit |
| 29551 | # from the parent. Note that these properties cannot inherit separately |
| 29552 | # from each other. |
| 29553 | # |
| 29554 | # If an update request specifies values for both `weighted_font_family` and |
| 29555 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 29556 | # |
| 29557 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 29558 | # |
| 29559 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 29560 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 29561 | # is returned. |
| 29562 | "fontFamily": "A String", # The font family of the text. |
| 29563 | # |
| 29564 | # The font family can be any font from the Font menu in Slides or from |
| 29565 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 29566 | # unrecognized, the text is rendered in `Arial`. |
| 29567 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 29568 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 29569 | # corresponds to the numerical values described in the CSS 2.1 |
| 29570 | # Specification, |
| 29571 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 29572 | # with non-numerical values disallowed. Weights greater than or equal to |
| 29573 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 29574 | # default value is `400` ("normal"). |
| 29575 | }, |
| 29576 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 29577 | "fontFamily": "A String", # The font family of the text. |
| 29578 | # |
| 29579 | # The font family can be any font from the Font menu in Slides or from |
| 29580 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 29581 | # unrecognized, the text is rendered in `Arial`. |
| 29582 | # |
| 29583 | # Some fonts can affect the weight of the text. If an update request |
| 29584 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 29585 | # `bold` value is used. |
| 29586 | "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 |
| 29587 | # points. |
| 29588 | "magnitude": 3.14, # The magnitude. |
| 29589 | "unit": "A String", # The units for magnitude. |
| 29590 | }, |
| 29591 | "italic": True or False, # Whether or not the text is italicized. |
| 29592 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 29593 | # are not inherited from parent text. |
| 29594 | # |
| 29595 | # Changing the link in an update request causes some other changes to the |
| 29596 | # text style of the range: |
| 29597 | # |
| 29598 | # * When setting a link, the text foreground color will be set to |
| 29599 | # ThemeColorType.HYPERLINK and the text will |
| 29600 | # be underlined. If these fields are modified in the same |
| 29601 | # request, those values will be used instead of the link defaults. |
| 29602 | # * Setting a link on a text range that overlaps with an existing link will |
| 29603 | # also update the existing link to point to the new URL. |
| 29604 | # * Links are not settable on newline characters. As a result, setting a link |
| 29605 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 29606 | # will separate the newline character(s) into their own text runs. The |
| 29607 | # link will be applied separately to the runs before and after the newline. |
| 29608 | # * Removing a link will update the text style of the range to match the |
| 29609 | # style of the preceding text (or the default text styles if the preceding |
| 29610 | # text is another link) unless different styles are being set in the same |
| 29611 | # request. |
| 29612 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 29613 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 29614 | # in the presentation. There may not be a slide at this index. |
| 29615 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 29616 | # presentation with this ID. A page with this ID may not exist. |
| 29617 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 29618 | # addressed by its position. |
| 29619 | }, |
| 29620 | "underline": True or False, # Whether or not the text is underlined. |
| 29621 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 29622 | }, |
| 29623 | }, |
| 29624 | }, |
| 29625 | "listId": "A String", # The ID of the list. |
| 29626 | }, |
| 29627 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29628 | }, |
| 29629 | "shapeProperties": { # The properties of a Shape. # The properties of the shape. |
| 29630 | # |
| 29631 | # If the shape is a placeholder shape as determined by the |
| 29632 | # placeholder field, then these |
| 29633 | # properties may be inherited from a parent placeholder shape. |
| 29634 | # Determining the rendered value of the property depends on the corresponding |
| 29635 | # property_state field value. |
| 29636 | "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from |
| 29637 | # a parent placeholder if it exists. If the shape has no parent, then the |
| 29638 | # default shadow matches the defaults for new shapes created in the Slides |
| 29639 | # editor. This property is read-only. |
| 29640 | # |
| 29641 | # If these fields are unset, they may be inherited from a parent placeholder |
| 29642 | # if it exists. If there is no parent, the fields will default to the value |
| 29643 | # used for new page elements created in the Slides editor, which may depend on |
| 29644 | # the page element kind. |
| 29645 | "color": { # A themeable solid color value. # The shadow color value. |
| 29646 | "themeColor": "A String", # An opaque theme color. |
| 29647 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 29648 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 29649 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 29650 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 29651 | }, |
| 29652 | }, |
| 29653 | "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, |
| 29654 | # relative to the alignment position. |
| 29655 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 29656 | # according to: |
| 29657 | # |
| 29658 | # x' x = shear_y scale_y translate_y |
| 29659 | # 1 [ 1 ] |
| 29660 | # |
| 29661 | # After transformation, |
| 29662 | # |
| 29663 | # x' = scale_x * x + shear_x * y + translate_x; |
| 29664 | # y' = scale_y * y + shear_y * x + translate_y; |
| 29665 | # |
| 29666 | # This message is therefore composed of these six matrix elements. |
| 29667 | "translateX": 3.14, # The X coordinate translation element. |
| 29668 | "translateY": 3.14, # The Y coordinate translation element. |
| 29669 | "scaleX": 3.14, # The X coordinate scaling element. |
| 29670 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 29671 | "shearY": 3.14, # The Y coordinate shearing element. |
| 29672 | "shearX": 3.14, # The X coordinate shearing element. |
| 29673 | "unit": "A String", # The units for translate elements. |
| 29674 | }, |
| 29675 | "propertyState": "A String", # The shadow property state. |
| 29676 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29677 | # Updating the shadow on a page element will implicitly update this field to |
| 29678 | # `RENDERED`, unless another value is specified in the same request. To have |
| 29679 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29680 | # case, any other shadow fields set in the same request will be ignored. |
| 29681 | "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 |
| 29682 | # shadow becomes. |
| 29683 | "magnitude": 3.14, # The magnitude. |
| 29684 | "unit": "A String", # The units for magnitude. |
| 29685 | }, |
| 29686 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29687 | "type": "A String", # The type of the shadow. This property is read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29688 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29689 | # scale and skew of the shadow. This property is read-only. |
| 29690 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 29691 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29692 | }, |
| 29693 | "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is |
| 29694 | # inherited from a parent placeholder if it exists. If the shape has no |
| 29695 | # parent, then the default background fill depends on the shape type, |
| 29696 | # matching the defaults for new shapes created in the Slides editor. |
| 29697 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 29698 | # specified color value. |
| 29699 | # |
| 29700 | # If any field is unset, its value may be inherited from a parent placeholder |
| 29701 | # if it exists. |
| 29702 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 29703 | "themeColor": "A String", # An opaque theme color. |
| 29704 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 29705 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 29706 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 29707 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 29708 | }, |
| 29709 | }, |
| 29710 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 29711 | # That is, the final pixel color is defined by the equation: |
| 29712 | # |
| 29713 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 29714 | # |
| 29715 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 29716 | # a value of 0.0 corresponds to a completely transparent color. |
| 29717 | }, |
| 29718 | "propertyState": "A String", # The background fill property state. |
| 29719 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29720 | # Updating the fill on a shape will implicitly update this field to |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29721 | # `RENDERED`, unless another value is specified in the same request. To |
| 29722 | # have no fill on a shape, set this field to `NOT_RENDERED`. In this case, |
| 29723 | # any other fill fields set in the same request will be ignored. |
| 29724 | }, |
| 29725 | "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links |
| 29726 | # are not inherited from parent placeholders. |
| 29727 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 29728 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 29729 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 29730 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 29731 | # 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] | 29732 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 29733 | # addressed by its position. |
| 29734 | }, |
| 29735 | "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a |
| 29736 | # parent placeholder if it exists. If the shape has no parent, then the |
| 29737 | # default outline depends on the shape type, matching the defaults for |
| 29738 | # new shapes created in the Slides editor. |
| 29739 | # |
| 29740 | # If these fields are unset, they may be inherited from a parent placeholder |
| 29741 | # if it exists. If there is no parent, the fields will default to the value |
| 29742 | # used for new page elements created in the Slides editor, which may depend on |
| 29743 | # the page element kind. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29744 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 29745 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 29746 | # specified color value. |
| 29747 | # |
| 29748 | # If any field is unset, its value may be inherited from a parent placeholder |
| 29749 | # if it exists. |
| 29750 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 29751 | "themeColor": "A String", # An opaque theme color. |
| 29752 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 29753 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 29754 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 29755 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 29756 | }, |
| 29757 | }, |
| 29758 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 29759 | # That is, the final pixel color is defined by the equation: |
| 29760 | # |
| 29761 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 29762 | # |
| 29763 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 29764 | # a value of 0.0 corresponds to a completely transparent color. |
| 29765 | }, |
| 29766 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 29767 | "propertyState": "A String", # The outline property state. |
| 29768 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29769 | # Updating the outline on a page element will implicitly update this field |
| 29770 | # to `RENDERED`, unless another value is specified in the same request. To |
| 29771 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 29772 | # this case, any other outline fields set in the same request will be |
| 29773 | # ignored. |
| 29774 | "dashStyle": "A String", # The dash style of the outline. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29775 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 29776 | "magnitude": 3.14, # The magnitude. |
| 29777 | "unit": "A String", # The units for magnitude. |
| 29778 | }, |
| 29779 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29780 | "contentAlignment": "A String", # The alignment of the content in the shape. If unspecified, |
| 29781 | # the alignment is inherited from a parent placeholder if it exists. If the |
| 29782 | # shape has no parent, the default alignment matches the alignment for new |
| 29783 | # shapes created in the Slides editor. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29784 | }, |
| 29785 | "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on |
| 29786 | # layouts and masters. |
| 29787 | # |
| 29788 | # If set, the shape is a placeholder shape and any inherited properties |
| 29789 | # can be resolved by looking at the parent placeholder identified by the |
| 29790 | # Placeholder.parent_object_id field. |
| 29791 | "parentObjectId": "A String", # The object ID of this shape's parent placeholder. |
| 29792 | # If unset, the parent placeholder shape does not exist, so the shape does |
| 29793 | # not inherit properties from any other shape. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 29794 | "index": 42, # The index of the placeholder. If the same placeholder types are present in |
| 29795 | # the same page, they would have different index values. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29796 | "type": "A String", # The type of the placeholder. |
| 29797 | }, |
| 29798 | "shapeType": "A String", # The type of the shape. |
| 29799 | }, |
| 29800 | "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are |
| 29801 | # represented as images. |
| 29802 | # a linked chart embedded from Google Sheets. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 29803 | "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30 |
| 29804 | # minutes. This URL is tagged with the account of the requester. Anyone with |
| 29805 | # the URL effectively accesses the image as the original requester. Access to |
| 29806 | # the image may be lost if the presentation's sharing settings change. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 29807 | "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] | 29808 | "sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart. |
| 29809 | "chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29810 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29811 | # |
| 29812 | # If these fields are unset, they may be inherited from a parent placeholder |
| 29813 | # if it exists. If there is no parent, the fields will default to the value |
| 29814 | # used for new page elements created in the Slides editor, which may depend on |
| 29815 | # the page element kind. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29816 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 29817 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 29818 | # specified color value. |
| 29819 | # |
| 29820 | # If any field is unset, its value may be inherited from a parent placeholder |
| 29821 | # if it exists. |
| 29822 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 29823 | "themeColor": "A String", # An opaque theme color. |
| 29824 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 29825 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 29826 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 29827 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 29828 | }, |
| 29829 | }, |
| 29830 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 29831 | # That is, the final pixel color is defined by the equation: |
| 29832 | # |
| 29833 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 29834 | # |
| 29835 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 29836 | # a value of 0.0 corresponds to a completely transparent color. |
| 29837 | }, |
| 29838 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 29839 | "propertyState": "A String", # The outline property state. |
| 29840 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29841 | # Updating the outline on a page element will implicitly update this field |
| 29842 | # to `RENDERED`, unless another value is specified in the same request. To |
| 29843 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 29844 | # this case, any other outline fields set in the same request will be |
| 29845 | # ignored. |
| 29846 | "dashStyle": "A String", # The dash style of the outline. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29847 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 29848 | "magnitude": 3.14, # The magnitude. |
| 29849 | "unit": "A String", # The units for magnitude. |
| 29850 | }, |
| 29851 | }, |
| 29852 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 29853 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 29854 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 29855 | # This property is read-only. |
| 29856 | "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] | 29857 | # stops. |
| 29858 | # |
| 29859 | # The colors in the gradient will replace the corresponding colors at |
| 29860 | # the same position in the color palette and apply to the image. This |
| 29861 | # property is read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29862 | { # A color and position in a gradient band. |
| 29863 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 29864 | "themeColor": "A String", # An opaque theme color. |
| 29865 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 29866 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 29867 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 29868 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 29869 | }, |
| 29870 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29871 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 29872 | # fully opaque. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 29873 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 29874 | # 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] | 29875 | }, |
| 29876 | ], |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 29877 | "name": "A String", # The name of the recolor effect. |
| 29878 | # |
| 29879 | # The name is determined from the `recolor_stops` by matching the gradient |
| 29880 | # against the colors in the page's current color scheme. This property is |
| 29881 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29882 | }, |
| 29883 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 29884 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 29885 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 29886 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 29887 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 29888 | # 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] | 29889 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 29890 | # addressed by its position. |
| 29891 | }, |
| 29892 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 29893 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 29894 | # This property is read-only. |
| 29895 | "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. |
| 29896 | # This property is read-only. |
| 29897 | # Image. |
| 29898 | # |
| 29899 | # The crop properties is represented by the offsets of four edges which define |
| 29900 | # a crop rectangle. The offsets are measured in percentage from the |
| 29901 | # corresponding edges of the object's original bounding rectangle towards |
| 29902 | # inside, relative to the object's original dimensions. |
| 29903 | # |
| 29904 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 29905 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 29906 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 29907 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 29908 | # - If the left edge of the crop rectangle is on the right side of its right |
| 29909 | # edge, the object will be flipped horizontally. |
| 29910 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 29911 | # will be flipped vertically. |
| 29912 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 29913 | # |
| 29914 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 29915 | # its container. |
| 29916 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 29917 | # the right of the original bounding rectangle left edge, relative to the |
| 29918 | # object's original width. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29919 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 29920 | # above the original bounding rectangle bottom edge, relative to the object's |
| 29921 | # original height. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 29922 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 29923 | # Rotation angle is applied after the offset. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 29924 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 29925 | # to the left of the original bounding rectangle right edge, relative to the |
| 29926 | # object's original width. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 29927 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 29928 | # below the original bounding rectangle top edge, relative to the object's |
| 29929 | # original height. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29930 | }, |
| 29931 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 29932 | # is read-only. |
| 29933 | # |
| 29934 | # If these fields are unset, they may be inherited from a parent placeholder |
| 29935 | # if it exists. If there is no parent, the fields will default to the value |
| 29936 | # used for new page elements created in the Slides editor, which may depend on |
| 29937 | # the page element kind. |
| 29938 | "color": { # A themeable solid color value. # The shadow color value. |
| 29939 | "themeColor": "A String", # An opaque theme color. |
| 29940 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 29941 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 29942 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 29943 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 29944 | }, |
| 29945 | }, |
| 29946 | "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, |
| 29947 | # relative to the alignment position. |
| 29948 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 29949 | # according to: |
| 29950 | # |
| 29951 | # x' x = shear_y scale_y translate_y |
| 29952 | # 1 [ 1 ] |
| 29953 | # |
| 29954 | # After transformation, |
| 29955 | # |
| 29956 | # x' = scale_x * x + shear_x * y + translate_x; |
| 29957 | # y' = scale_y * y + shear_y * x + translate_y; |
| 29958 | # |
| 29959 | # This message is therefore composed of these six matrix elements. |
| 29960 | "translateX": 3.14, # The X coordinate translation element. |
| 29961 | "translateY": 3.14, # The Y coordinate translation element. |
| 29962 | "scaleX": 3.14, # The X coordinate scaling element. |
| 29963 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 29964 | "shearY": 3.14, # The Y coordinate shearing element. |
| 29965 | "shearX": 3.14, # The X coordinate shearing element. |
| 29966 | "unit": "A String", # The units for translate elements. |
| 29967 | }, |
| 29968 | "propertyState": "A String", # The shadow property state. |
| 29969 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29970 | # Updating the shadow on a page element will implicitly update this field to |
| 29971 | # `RENDERED`, unless another value is specified in the same request. To have |
| 29972 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29973 | # case, any other shadow fields set in the same request will be ignored. |
| 29974 | "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 |
| 29975 | # shadow becomes. |
| 29976 | "magnitude": 3.14, # The magnitude. |
| 29977 | "unit": "A String", # The units for magnitude. |
| 29978 | }, |
| 29979 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29980 | "type": "A String", # The type of the shadow. This property is read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29981 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29982 | # scale and skew of the shadow. This property is read-only. |
| 29983 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 29984 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29985 | }, |
| 29986 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 29987 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 29988 | }, |
| 29989 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 29990 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 29991 | # embedded. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29992 | }, |
| 29993 | "video": { # A PageElement kind representing a # A video page element. |
| 29994 | # video. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29995 | "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and |
| 29996 | # sharing settings do not change. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 29997 | "videoProperties": { # The properties of the Video. # The properties of the video. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 29998 | "start": 42, # The time at which to start playback, measured in seconds from the beginning |
| 29999 | # of the video. |
| 30000 | # If set, the start time should be before the end time. |
| 30001 | # If you set this to a value that exceeds the video's length in seconds, the |
| 30002 | # video will be played from the last second. |
| 30003 | # If not set, the video will be played from the beginning. |
| 30004 | "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present |
| 30005 | # mode. Defaults to false. |
| 30006 | "end": 42, # The time at which to end playback, measured in seconds from the beginning |
| 30007 | # of the video. |
| 30008 | # If set, the end time should be after the start time. |
| 30009 | # If not set or if you set this to a value that exceeds the video's length, |
| 30010 | # the video will be played until its end. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30011 | "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new |
| 30012 | # videos created in the Slides editor. |
| 30013 | # |
| 30014 | # If these fields are unset, they may be inherited from a parent placeholder |
| 30015 | # if it exists. If there is no parent, the fields will default to the value |
| 30016 | # used for new page elements created in the Slides editor, which may depend on |
| 30017 | # the page element kind. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30018 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 30019 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 30020 | # specified color value. |
| 30021 | # |
| 30022 | # If any field is unset, its value may be inherited from a parent placeholder |
| 30023 | # if it exists. |
| 30024 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 30025 | "themeColor": "A String", # An opaque theme color. |
| 30026 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 30027 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30028 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30029 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30030 | }, |
| 30031 | }, |
| 30032 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 30033 | # That is, the final pixel color is defined by the equation: |
| 30034 | # |
| 30035 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 30036 | # |
| 30037 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 30038 | # a value of 0.0 corresponds to a completely transparent color. |
| 30039 | }, |
| 30040 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 30041 | "propertyState": "A String", # The outline property state. |
| 30042 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 30043 | # Updating the outline on a page element will implicitly update this field |
| 30044 | # to `RENDERED`, unless another value is specified in the same request. To |
| 30045 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 30046 | # this case, any other outline fields set in the same request will be |
| 30047 | # ignored. |
| 30048 | "dashStyle": "A String", # The dash style of the outline. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30049 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 30050 | "magnitude": 3.14, # The magnitude. |
| 30051 | "unit": "A String", # The units for magnitude. |
| 30052 | }, |
| 30053 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 30054 | "mute": True or False, # Whether to mute the audio during video playback. Defaults to false. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30055 | }, |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 30056 | "id": "A String", # The video source's unique identifier for this video. |
| 30057 | "source": "A String", # The video source. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30058 | }, |
| 30059 | "table": { # A PageElement kind representing a # A table page element. |
| 30060 | # table. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 30061 | "rows": 42, # Number of rows in the table. |
| 30062 | "horizontalBorderRows": [ # Properties of horizontal cell borders. |
| 30063 | # |
| 30064 | # A table's horizontal cell borders are represented as a grid. The grid has |
| 30065 | # one more row than the number of rows in the table and the same number of |
| 30066 | # columns as the table. For example, if the table is 3 x 3, its horizontal |
| 30067 | # borders will be represented as a grid with 4 rows and 3 columns. |
| 30068 | { # Contents of each border row in a table. |
| 30069 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 30070 | # merged, it is not included in the response. |
| 30071 | { # The properties of each border cell. |
| 30072 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 30073 | # TableBorderCell. |
| 30074 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 30075 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 30076 | # specified color value. |
| 30077 | # |
| 30078 | # If any field is unset, its value may be inherited from a parent placeholder |
| 30079 | # if it exists. |
| 30080 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 30081 | "themeColor": "A String", # An opaque theme color. |
| 30082 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 30083 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30084 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30085 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30086 | }, |
| 30087 | }, |
| 30088 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 30089 | # That is, the final pixel color is defined by the equation: |
| 30090 | # |
| 30091 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 30092 | # |
| 30093 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 30094 | # a value of 0.0 corresponds to a completely transparent color. |
| 30095 | }, |
| 30096 | }, |
| 30097 | "dashStyle": "A String", # The dash style of the border. |
| 30098 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 30099 | "magnitude": 3.14, # The magnitude. |
| 30100 | "unit": "A String", # The units for magnitude. |
| 30101 | }, |
| 30102 | }, |
| 30103 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 30104 | "rowIndex": 42, # The 0-based row index. |
| 30105 | "columnIndex": 42, # The 0-based column index. |
| 30106 | }, |
| 30107 | }, |
| 30108 | ], |
| 30109 | }, |
| 30110 | ], |
| 30111 | "verticalBorderRows": [ # Properties of vertical cell borders. |
| 30112 | # |
| 30113 | # A table's vertical cell borders are represented as a grid. The grid has the |
| 30114 | # same number of rows as the table and one more column than the number of |
| 30115 | # columns in the table. For example, if the table is 3 x 3, its vertical |
| 30116 | # borders will be represented as a grid with 3 rows and 4 columns. |
| 30117 | { # Contents of each border row in a table. |
| 30118 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 30119 | # merged, it is not included in the response. |
| 30120 | { # The properties of each border cell. |
| 30121 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 30122 | # TableBorderCell. |
| 30123 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 30124 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 30125 | # specified color value. |
| 30126 | # |
| 30127 | # If any field is unset, its value may be inherited from a parent placeholder |
| 30128 | # if it exists. |
| 30129 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 30130 | "themeColor": "A String", # An opaque theme color. |
| 30131 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 30132 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30133 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30134 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30135 | }, |
| 30136 | }, |
| 30137 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 30138 | # That is, the final pixel color is defined by the equation: |
| 30139 | # |
| 30140 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 30141 | # |
| 30142 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 30143 | # a value of 0.0 corresponds to a completely transparent color. |
| 30144 | }, |
| 30145 | }, |
| 30146 | "dashStyle": "A String", # The dash style of the border. |
| 30147 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 30148 | "magnitude": 3.14, # The magnitude. |
| 30149 | "unit": "A String", # The units for magnitude. |
| 30150 | }, |
| 30151 | }, |
| 30152 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 30153 | "rowIndex": 42, # The 0-based row index. |
| 30154 | "columnIndex": 42, # The 0-based column index. |
| 30155 | }, |
| 30156 | }, |
| 30157 | ], |
| 30158 | }, |
| 30159 | ], |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30160 | "tableColumns": [ # Properties of each column. |
| 30161 | { # Properties of each column in a table. |
| 30162 | "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column. |
| 30163 | "magnitude": 3.14, # The magnitude. |
| 30164 | "unit": "A String", # The units for magnitude. |
| 30165 | }, |
| 30166 | }, |
| 30167 | ], |
| 30168 | "tableRows": [ # Properties and contents of each row. |
| 30169 | # |
| 30170 | # Cells that span multiple rows are contained in only one of these rows and |
| 30171 | # have a row_span greater |
| 30172 | # than 1. |
| 30173 | { # Properties and contents of each row in a table. |
| 30174 | "tableCells": [ # Properties and contents of each cell. |
| 30175 | # |
| 30176 | # Cells that span multiple columns are represented only once with a |
| 30177 | # column_span greater |
| 30178 | # than 1. As a result, the length of this collection does not always match |
| 30179 | # the number of columns of the entire table. |
| 30180 | { # Properties and contents of each table cell. |
| 30181 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell. |
| 30182 | # text box or rectangle) or a table cell in a page. |
| 30183 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 30184 | # information. This property is read-only. |
| 30185 | { # A TextElement describes the content of a range of indices in the text content |
| 30186 | # of a Shape or TableCell. |
| 30187 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 30188 | # replaced with content that can change over time. |
| 30189 | "content": "A String", # The rendered content of this auto text, if available. |
| 30190 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 30191 | # |
| 30192 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 30193 | # inherited from the parent. Which text styles are inherited depend on the |
| 30194 | # nesting level of lists: |
| 30195 | # |
| 30196 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 30197 | # from the the newline character in the paragraph at the 0 nesting level of |
| 30198 | # the list inside the parent placeholder. |
| 30199 | # * A text run in a paragraph that is in a list will inherit its text style |
| 30200 | # from the newline character in the paragraph at its corresponding nesting |
| 30201 | # level of the list inside the parent placeholder. |
| 30202 | # |
| 30203 | # Inherited text styles are represented as unset fields in this message. If |
| 30204 | # text is contained in a shape without a parent placeholder, unsetting these |
| 30205 | # fields will revert the style to a value matching the defaults in the Slides |
| 30206 | # editor. |
| 30207 | "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 |
| 30208 | # transparent, depending on if the `opaque_color` field in it is set. |
| 30209 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 30210 | # a transparent color. |
| 30211 | "themeColor": "A String", # An opaque theme color. |
| 30212 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 30213 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30214 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30215 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30216 | }, |
| 30217 | }, |
| 30218 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 30219 | "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 |
| 30220 | # transparent, depending on if the `opaque_color` field in it is set. |
| 30221 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 30222 | # a transparent color. |
| 30223 | "themeColor": "A String", # An opaque theme color. |
| 30224 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 30225 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30226 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30227 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30228 | }, |
| 30229 | }, |
| 30230 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30231 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 30232 | # |
| 30233 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 30234 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 30235 | # The `font_size` itself is not affected by changes in this field. |
| 30236 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 30237 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 30238 | # |
| 30239 | # This field is an extension of `font_family` meant to support explicit font |
| 30240 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 30241 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 30242 | # will always be equal to that of `font_family`. However, when writing, if |
| 30243 | # both fields are included in the field mask (either explicitly or through |
| 30244 | # the wildcard `"*"`), their values are reconciled as follows: |
| 30245 | # |
| 30246 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 30247 | # `font_family` is applied with weight `400` ("normal"). |
| 30248 | # * If both fields are set, the value of `font_family` must match that of |
| 30249 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 30250 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 30251 | # returned. |
| 30252 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 30253 | # family and weight of `weighted_font_family` is applied. |
| 30254 | # * If neither field is set, the font family and weight of the text inherit |
| 30255 | # from the parent. Note that these properties cannot inherit separately |
| 30256 | # from each other. |
| 30257 | # |
| 30258 | # If an update request specifies values for both `weighted_font_family` and |
| 30259 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 30260 | # |
| 30261 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 30262 | # |
| 30263 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 30264 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 30265 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 30266 | "fontFamily": "A String", # The font family of the text. |
| 30267 | # |
| 30268 | # The font family can be any font from the Font menu in Slides or from |
| 30269 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 30270 | # unrecognized, the text is rendered in `Arial`. |
| 30271 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 30272 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 30273 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 30274 | # Specification, |
| 30275 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 30276 | # with non-numerical values disallowed. Weights greater than or equal to |
| 30277 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 30278 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 30279 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30280 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 30281 | "fontFamily": "A String", # The font family of the text. |
| 30282 | # |
| 30283 | # The font family can be any font from the Font menu in Slides or from |
| 30284 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 30285 | # unrecognized, the text is rendered in `Arial`. |
| 30286 | # |
| 30287 | # Some fonts can affect the weight of the text. If an update request |
| 30288 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 30289 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 30290 | "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 |
| 30291 | # points. |
| 30292 | "magnitude": 3.14, # The magnitude. |
| 30293 | "unit": "A String", # The units for magnitude. |
| 30294 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 30295 | "italic": True or False, # Whether or not the text is italicized. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30296 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 30297 | # are not inherited from parent text. |
| 30298 | # |
| 30299 | # Changing the link in an update request causes some other changes to the |
| 30300 | # text style of the range: |
| 30301 | # |
| 30302 | # * When setting a link, the text foreground color will be set to |
| 30303 | # ThemeColorType.HYPERLINK and the text will |
| 30304 | # be underlined. If these fields are modified in the same |
| 30305 | # request, those values will be used instead of the link defaults. |
| 30306 | # * Setting a link on a text range that overlaps with an existing link will |
| 30307 | # also update the existing link to point to the new URL. |
| 30308 | # * Links are not settable on newline characters. As a result, setting a link |
| 30309 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 30310 | # will separate the newline character(s) into their own text runs. The |
| 30311 | # link will be applied separately to the runs before and after the newline. |
| 30312 | # * Removing a link will update the text style of the range to match the |
| 30313 | # style of the preceding text (or the default text styles if the preceding |
| 30314 | # text is another link) unless different styles are being set in the same |
| 30315 | # request. |
| 30316 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 30317 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 30318 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 30319 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 30320 | # 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] | 30321 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 30322 | # addressed by its position. |
| 30323 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 30324 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 30325 | "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] | 30326 | }, |
| 30327 | "type": "A String", # The type of this auto text. |
| 30328 | }, |
| 30329 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 30330 | # units. |
| 30331 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 30332 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 30333 | # |
| 30334 | # The `start_index` and `end_index` of this TextElement represent the |
| 30335 | # range of the paragraph. Other TextElements with an index range contained |
| 30336 | # inside this paragraph's range are considered to be part of this |
| 30337 | # paragraph. The range of indices of two separate paragraphs will never |
| 30338 | # overlap. |
| 30339 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 30340 | # |
| 30341 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 30342 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 30343 | # nesting level of lists: |
| 30344 | # |
| 30345 | # * A paragraph not in a list will inherit its paragraph style from the |
| 30346 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 30347 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 30348 | # at its corresponding nesting level of the list inside the parent |
| 30349 | # placeholder. |
| 30350 | # |
| 30351 | # Inherited paragraph styles are represented as unset fields in this message. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 30352 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 30353 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 30354 | # LEFT_TO_RIGHT since |
| 30355 | # text direction is not inherited. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 30356 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 30357 | # inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30358 | "magnitude": 3.14, # The magnitude. |
| 30359 | "unit": "A String", # The units for magnitude. |
| 30360 | }, |
| 30361 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 30362 | # 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] | 30363 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 30364 | # 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] | 30365 | # value is inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30366 | "magnitude": 3.14, # The magnitude. |
| 30367 | "unit": "A String", # The units for magnitude. |
| 30368 | }, |
| 30369 | "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] | 30370 | # inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30371 | "magnitude": 3.14, # The magnitude. |
| 30372 | "unit": "A String", # The units for magnitude. |
| 30373 | }, |
| 30374 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 30375 | # 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] | 30376 | # value is inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30377 | "magnitude": 3.14, # The magnitude. |
| 30378 | "unit": "A String", # The units for magnitude. |
| 30379 | }, |
| 30380 | "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] | 30381 | # If unset, the value is inherited from the parent. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30382 | "magnitude": 3.14, # The magnitude. |
| 30383 | "unit": "A String", # The units for magnitude. |
| 30384 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 30385 | "alignment": "A String", # The text alignment for this paragraph. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30386 | }, |
| 30387 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 30388 | # belong to a list. |
| 30389 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 30390 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 30391 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 30392 | # |
| 30393 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 30394 | # inherited from the parent. Which text styles are inherited depend on the |
| 30395 | # nesting level of lists: |
| 30396 | # |
| 30397 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 30398 | # from the the newline character in the paragraph at the 0 nesting level of |
| 30399 | # the list inside the parent placeholder. |
| 30400 | # * A text run in a paragraph that is in a list will inherit its text style |
| 30401 | # from the newline character in the paragraph at its corresponding nesting |
| 30402 | # level of the list inside the parent placeholder. |
| 30403 | # |
| 30404 | # Inherited text styles are represented as unset fields in this message. If |
| 30405 | # text is contained in a shape without a parent placeholder, unsetting these |
| 30406 | # fields will revert the style to a value matching the defaults in the Slides |
| 30407 | # editor. |
| 30408 | "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 |
| 30409 | # transparent, depending on if the `opaque_color` field in it is set. |
| 30410 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 30411 | # a transparent color. |
| 30412 | "themeColor": "A String", # An opaque theme color. |
| 30413 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 30414 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30415 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30416 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30417 | }, |
| 30418 | }, |
| 30419 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 30420 | "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 |
| 30421 | # transparent, depending on if the `opaque_color` field in it is set. |
| 30422 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 30423 | # a transparent color. |
| 30424 | "themeColor": "A String", # An opaque theme color. |
| 30425 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 30426 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30427 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30428 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30429 | }, |
| 30430 | }, |
| 30431 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30432 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 30433 | # |
| 30434 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 30435 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 30436 | # The `font_size` itself is not affected by changes in this field. |
| 30437 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 30438 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 30439 | # |
| 30440 | # This field is an extension of `font_family` meant to support explicit font |
| 30441 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 30442 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 30443 | # will always be equal to that of `font_family`. However, when writing, if |
| 30444 | # both fields are included in the field mask (either explicitly or through |
| 30445 | # the wildcard `"*"`), their values are reconciled as follows: |
| 30446 | # |
| 30447 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 30448 | # `font_family` is applied with weight `400` ("normal"). |
| 30449 | # * If both fields are set, the value of `font_family` must match that of |
| 30450 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 30451 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 30452 | # returned. |
| 30453 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 30454 | # family and weight of `weighted_font_family` is applied. |
| 30455 | # * If neither field is set, the font family and weight of the text inherit |
| 30456 | # from the parent. Note that these properties cannot inherit separately |
| 30457 | # from each other. |
| 30458 | # |
| 30459 | # If an update request specifies values for both `weighted_font_family` and |
| 30460 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 30461 | # |
| 30462 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 30463 | # |
| 30464 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 30465 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 30466 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 30467 | "fontFamily": "A String", # The font family of the text. |
| 30468 | # |
| 30469 | # The font family can be any font from the Font menu in Slides or from |
| 30470 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 30471 | # unrecognized, the text is rendered in `Arial`. |
| 30472 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 30473 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 30474 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 30475 | # Specification, |
| 30476 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 30477 | # with non-numerical values disallowed. Weights greater than or equal to |
| 30478 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 30479 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 30480 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30481 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 30482 | "fontFamily": "A String", # The font family of the text. |
| 30483 | # |
| 30484 | # The font family can be any font from the Font menu in Slides or from |
| 30485 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 30486 | # unrecognized, the text is rendered in `Arial`. |
| 30487 | # |
| 30488 | # Some fonts can affect the weight of the text. If an update request |
| 30489 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 30490 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 30491 | "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 |
| 30492 | # points. |
| 30493 | "magnitude": 3.14, # The magnitude. |
| 30494 | "unit": "A String", # The units for magnitude. |
| 30495 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 30496 | "italic": True or False, # Whether or not the text is italicized. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30497 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 30498 | # are not inherited from parent text. |
| 30499 | # |
| 30500 | # Changing the link in an update request causes some other changes to the |
| 30501 | # text style of the range: |
| 30502 | # |
| 30503 | # * When setting a link, the text foreground color will be set to |
| 30504 | # ThemeColorType.HYPERLINK and the text will |
| 30505 | # be underlined. If these fields are modified in the same |
| 30506 | # request, those values will be used instead of the link defaults. |
| 30507 | # * Setting a link on a text range that overlaps with an existing link will |
| 30508 | # also update the existing link to point to the new URL. |
| 30509 | # * Links are not settable on newline characters. As a result, setting a link |
| 30510 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 30511 | # will separate the newline character(s) into their own text runs. The |
| 30512 | # link will be applied separately to the runs before and after the newline. |
| 30513 | # * Removing a link will update the text style of the range to match the |
| 30514 | # style of the preceding text (or the default text styles if the preceding |
| 30515 | # text is another link) unless different styles are being set in the same |
| 30516 | # request. |
| 30517 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 30518 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 30519 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 30520 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 30521 | # 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] | 30522 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 30523 | # addressed by its position. |
| 30524 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 30525 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 30526 | "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] | 30527 | }, |
| 30528 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 30529 | }, |
| 30530 | }, |
| 30531 | "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 |
| 30532 | # in the run have the same TextStyle. |
| 30533 | # |
| 30534 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 30535 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 30536 | # In other words, a TextRun will never span multiple paragraphs. |
| 30537 | # styling. |
| 30538 | "content": "A String", # The text of this run. |
| 30539 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 30540 | # |
| 30541 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 30542 | # inherited from the parent. Which text styles are inherited depend on the |
| 30543 | # nesting level of lists: |
| 30544 | # |
| 30545 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 30546 | # from the the newline character in the paragraph at the 0 nesting level of |
| 30547 | # the list inside the parent placeholder. |
| 30548 | # * A text run in a paragraph that is in a list will inherit its text style |
| 30549 | # from the newline character in the paragraph at its corresponding nesting |
| 30550 | # level of the list inside the parent placeholder. |
| 30551 | # |
| 30552 | # Inherited text styles are represented as unset fields in this message. If |
| 30553 | # text is contained in a shape without a parent placeholder, unsetting these |
| 30554 | # fields will revert the style to a value matching the defaults in the Slides |
| 30555 | # editor. |
| 30556 | "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 |
| 30557 | # transparent, depending on if the `opaque_color` field in it is set. |
| 30558 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 30559 | # a transparent color. |
| 30560 | "themeColor": "A String", # An opaque theme color. |
| 30561 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 30562 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30563 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30564 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30565 | }, |
| 30566 | }, |
| 30567 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 30568 | "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 |
| 30569 | # transparent, depending on if the `opaque_color` field in it is set. |
| 30570 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 30571 | # a transparent color. |
| 30572 | "themeColor": "A String", # An opaque theme color. |
| 30573 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 30574 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30575 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30576 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30577 | }, |
| 30578 | }, |
| 30579 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30580 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 30581 | # |
| 30582 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 30583 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 30584 | # The `font_size` itself is not affected by changes in this field. |
| 30585 | "strikethrough": True or False, # Whether or not the text is struck through. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 30586 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 30587 | # |
| 30588 | # This field is an extension of `font_family` meant to support explicit font |
| 30589 | # weights without breaking backwards compatibility. As such, when reading the |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 30590 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 30591 | # will always be equal to that of `font_family`. However, when writing, if |
| 30592 | # both fields are included in the field mask (either explicitly or through |
| 30593 | # the wildcard `"*"`), their values are reconciled as follows: |
| 30594 | # |
| 30595 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 30596 | # `font_family` is applied with weight `400` ("normal"). |
| 30597 | # * If both fields are set, the value of `font_family` must match that of |
| 30598 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 30599 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 30600 | # returned. |
| 30601 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 30602 | # family and weight of `weighted_font_family` is applied. |
| 30603 | # * If neither field is set, the font family and weight of the text inherit |
| 30604 | # from the parent. Note that these properties cannot inherit separately |
| 30605 | # from each other. |
| 30606 | # |
| 30607 | # If an update request specifies values for both `weighted_font_family` and |
| 30608 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 30609 | # |
| 30610 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 30611 | # |
| 30612 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 30613 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 30614 | # is returned. |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 30615 | "fontFamily": "A String", # The font family of the text. |
| 30616 | # |
| 30617 | # The font family can be any font from the Font menu in Slides or from |
| 30618 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 30619 | # unrecognized, the text is rendered in `Arial`. |
| 30620 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 30621 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 30622 | # corresponds to the numerical values described in the CSS 2.1 |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 30623 | # Specification, |
| 30624 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 30625 | # with non-numerical values disallowed. Weights greater than or equal to |
| 30626 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 30627 | # default value is `400` ("normal"). |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 30628 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30629 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 30630 | "fontFamily": "A String", # The font family of the text. |
| 30631 | # |
| 30632 | # The font family can be any font from the Font menu in Slides or from |
| 30633 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 30634 | # unrecognized, the text is rendered in `Arial`. |
| 30635 | # |
| 30636 | # Some fonts can affect the weight of the text. If an update request |
| 30637 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 30638 | # `bold` value is used. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 30639 | "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 |
| 30640 | # points. |
| 30641 | "magnitude": 3.14, # The magnitude. |
| 30642 | "unit": "A String", # The units for magnitude. |
| 30643 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 30644 | "italic": True or False, # Whether or not the text is italicized. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30645 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 30646 | # are not inherited from parent text. |
| 30647 | # |
| 30648 | # Changing the link in an update request causes some other changes to the |
| 30649 | # text style of the range: |
| 30650 | # |
| 30651 | # * When setting a link, the text foreground color will be set to |
| 30652 | # ThemeColorType.HYPERLINK and the text will |
| 30653 | # be underlined. If these fields are modified in the same |
| 30654 | # request, those values will be used instead of the link defaults. |
| 30655 | # * Setting a link on a text range that overlaps with an existing link will |
| 30656 | # also update the existing link to point to the new URL. |
| 30657 | # * Links are not settable on newline characters. As a result, setting a link |
| 30658 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 30659 | # will separate the newline character(s) into their own text runs. The |
| 30660 | # link will be applied separately to the runs before and after the newline. |
| 30661 | # * Removing a link will update the text style of the range to match the |
| 30662 | # style of the preceding text (or the default text styles if the preceding |
| 30663 | # text is another link) unless different styles are being set in the same |
| 30664 | # request. |
| 30665 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 30666 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 30667 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 30668 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 30669 | # 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] | 30670 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 30671 | # addressed by its position. |
| 30672 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 30673 | "underline": True or False, # Whether or not the text is underlined. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 30674 | "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] | 30675 | }, |
| 30676 | }, |
| 30677 | }, |
| 30678 | ], |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 30679 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 30680 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 30681 | # associated with a list. A paragraph that is part of a list has an implicit |
| 30682 | # reference to that list's ID. |
| 30683 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 30684 | # level. A list has at most nine levels of nesting, so the possible values |
| 30685 | # for the keys of this map are 0 through 8, inclusive. |
| 30686 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 30687 | # level of nesting. |
| 30688 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 30689 | # |
| 30690 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 30691 | # inherited from the parent. Which text styles are inherited depend on the |
| 30692 | # nesting level of lists: |
| 30693 | # |
| 30694 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 30695 | # from the the newline character in the paragraph at the 0 nesting level of |
| 30696 | # the list inside the parent placeholder. |
| 30697 | # * A text run in a paragraph that is in a list will inherit its text style |
| 30698 | # from the newline character in the paragraph at its corresponding nesting |
| 30699 | # level of the list inside the parent placeholder. |
| 30700 | # |
| 30701 | # Inherited text styles are represented as unset fields in this message. If |
| 30702 | # text is contained in a shape without a parent placeholder, unsetting these |
| 30703 | # fields will revert the style to a value matching the defaults in the Slides |
| 30704 | # editor. |
| 30705 | "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 |
| 30706 | # transparent, depending on if the `opaque_color` field in it is set. |
| 30707 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 30708 | # a transparent color. |
| 30709 | "themeColor": "A String", # An opaque theme color. |
| 30710 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 30711 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30712 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30713 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30714 | }, |
| 30715 | }, |
| 30716 | }, |
| 30717 | "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 |
| 30718 | # transparent, depending on if the `opaque_color` field in it is set. |
| 30719 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 30720 | # a transparent color. |
| 30721 | "themeColor": "A String", # An opaque theme color. |
| 30722 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 30723 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30724 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30725 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30726 | }, |
| 30727 | }, |
| 30728 | }, |
| 30729 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 30730 | # |
| 30731 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 30732 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 30733 | # The `font_size` itself is not affected by changes in this field. |
| 30734 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 30735 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 30736 | # |
| 30737 | # This field is an extension of `font_family` meant to support explicit font |
| 30738 | # weights without breaking backwards compatibility. As such, when reading the |
| 30739 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 30740 | # will always be equal to that of `font_family`. However, when writing, if |
| 30741 | # both fields are included in the field mask (either explicitly or through |
| 30742 | # the wildcard `"*"`), their values are reconciled as follows: |
| 30743 | # |
| 30744 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 30745 | # `font_family` is applied with weight `400` ("normal"). |
| 30746 | # * If both fields are set, the value of `font_family` must match that of |
| 30747 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 30748 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 30749 | # returned. |
| 30750 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 30751 | # family and weight of `weighted_font_family` is applied. |
| 30752 | # * If neither field is set, the font family and weight of the text inherit |
| 30753 | # from the parent. Note that these properties cannot inherit separately |
| 30754 | # from each other. |
| 30755 | # |
| 30756 | # If an update request specifies values for both `weighted_font_family` and |
| 30757 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 30758 | # |
| 30759 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 30760 | # |
| 30761 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 30762 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 30763 | # is returned. |
| 30764 | "fontFamily": "A String", # The font family of the text. |
| 30765 | # |
| 30766 | # The font family can be any font from the Font menu in Slides or from |
| 30767 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 30768 | # unrecognized, the text is rendered in `Arial`. |
| 30769 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 30770 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 30771 | # corresponds to the numerical values described in the CSS 2.1 |
| 30772 | # Specification, |
| 30773 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 30774 | # with non-numerical values disallowed. Weights greater than or equal to |
| 30775 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 30776 | # default value is `400` ("normal"). |
| 30777 | }, |
| 30778 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 30779 | "fontFamily": "A String", # The font family of the text. |
| 30780 | # |
| 30781 | # The font family can be any font from the Font menu in Slides or from |
| 30782 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 30783 | # unrecognized, the text is rendered in `Arial`. |
| 30784 | # |
| 30785 | # Some fonts can affect the weight of the text. If an update request |
| 30786 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 30787 | # `bold` value is used. |
| 30788 | "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 |
| 30789 | # points. |
| 30790 | "magnitude": 3.14, # The magnitude. |
| 30791 | "unit": "A String", # The units for magnitude. |
| 30792 | }, |
| 30793 | "italic": True or False, # Whether or not the text is italicized. |
| 30794 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 30795 | # are not inherited from parent text. |
| 30796 | # |
| 30797 | # Changing the link in an update request causes some other changes to the |
| 30798 | # text style of the range: |
| 30799 | # |
| 30800 | # * When setting a link, the text foreground color will be set to |
| 30801 | # ThemeColorType.HYPERLINK and the text will |
| 30802 | # be underlined. If these fields are modified in the same |
| 30803 | # request, those values will be used instead of the link defaults. |
| 30804 | # * Setting a link on a text range that overlaps with an existing link will |
| 30805 | # also update the existing link to point to the new URL. |
| 30806 | # * Links are not settable on newline characters. As a result, setting a link |
| 30807 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 30808 | # will separate the newline character(s) into their own text runs. The |
| 30809 | # link will be applied separately to the runs before and after the newline. |
| 30810 | # * Removing a link will update the text style of the range to match the |
| 30811 | # style of the preceding text (or the default text styles if the preceding |
| 30812 | # text is another link) unless different styles are being set in the same |
| 30813 | # request. |
| 30814 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 30815 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 30816 | # in the presentation. There may not be a slide at this index. |
| 30817 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 30818 | # presentation with this ID. A page with this ID may not exist. |
| 30819 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 30820 | # addressed by its position. |
| 30821 | }, |
| 30822 | "underline": True or False, # Whether or not the text is underlined. |
| 30823 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 30824 | }, |
| 30825 | }, |
| 30826 | }, |
| 30827 | "listId": "A String", # The ID of the list. |
| 30828 | }, |
| 30829 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30830 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30831 | "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell. |
| 30832 | "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill |
| 30833 | # for newly created table cells in the Slides editor. |
| 30834 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 30835 | # specified color value. |
| 30836 | # |
| 30837 | # If any field is unset, its value may be inherited from a parent placeholder |
| 30838 | # if it exists. |
| 30839 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 30840 | "themeColor": "A String", # An opaque theme color. |
| 30841 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 30842 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30843 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30844 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30845 | }, |
| 30846 | }, |
| 30847 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 30848 | # That is, the final pixel color is defined by the equation: |
| 30849 | # |
| 30850 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 30851 | # |
| 30852 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 30853 | # a value of 0.0 corresponds to a completely transparent color. |
| 30854 | }, |
| 30855 | "propertyState": "A String", # The background fill property state. |
| 30856 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 30857 | # Updating the fill on a table cell will implicitly update this field |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30858 | # to `RENDERED`, unless another value is specified in the same request. To |
| 30859 | # have no fill on a table cell, set this field to `NOT_RENDERED`. In this |
| 30860 | # case, any other fill fields set in the same request will be ignored. |
| 30861 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 30862 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 30863 | # matches the alignment for newly created table cells in the Slides editor. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30864 | }, |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 30865 | "rowSpan": 42, # Row span of the cell. |
| 30866 | "columnSpan": 42, # Column span of the cell. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30867 | "location": { # A location of a single table cell within a table. # The location of the cell within the table. |
| 30868 | "rowIndex": 42, # The 0-based row index. |
| 30869 | "columnIndex": 42, # The 0-based column index. |
| 30870 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30871 | }, |
| 30872 | ], |
| 30873 | "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row. |
| 30874 | "magnitude": 3.14, # The magnitude. |
| 30875 | "unit": "A String", # The units for magnitude. |
| 30876 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 30877 | "tableRowProperties": { # Properties of each row in a table. # Properties of the row. |
| 30878 | "minRowHeight": { # A magnitude in a single direction in the specified units. # Minimum height of the row. The row will be rendered in the Slides editor at |
| 30879 | # a height equal to or greater than this value in order to show all the text |
| 30880 | # in the row's cell(s). |
| 30881 | "magnitude": 3.14, # The magnitude. |
| 30882 | "unit": "A String", # The units for magnitude. |
| 30883 | }, |
| 30884 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30885 | }, |
| 30886 | ], |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30887 | "columns": 42, # Number of columns in the table. |
| 30888 | }, |
| 30889 | "line": { # A PageElement kind representing a # A line page element. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 30890 | # non-connector line, straight connector, curved connector, or bent connector. |
| 30891 | "lineCategory": "A String", # The category of the line. |
| 30892 | # |
| 30893 | # It matches the `category` specified in CreateLineRequest, and can be updated with |
| 30894 | # UpdateLineCategoryRequest. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30895 | "lineProperties": { # The properties of the Line. # The properties of the line. |
| 30896 | # |
| 30897 | # When unset, these fields default to values that match the appearance of |
| 30898 | # new lines created in the Slides editor. |
| 30899 | "dashStyle": "A String", # The dash style of the line. |
| 30900 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line. |
| 30901 | "magnitude": 3.14, # The magnitude. |
| 30902 | "unit": "A String", # The units for magnitude. |
| 30903 | }, |
| 30904 | "endArrow": "A String", # The style of the arrow at the end of the line. |
| 30905 | "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link. |
| 30906 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 30907 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 30908 | # in the presentation. There may not be a slide at this index. |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 30909 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 30910 | # 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] | 30911 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 30912 | # addressed by its position. |
| 30913 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30914 | "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new |
| 30915 | # lines created in the Slides editor. |
| 30916 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 30917 | # specified color value. |
| 30918 | # |
| 30919 | # If any field is unset, its value may be inherited from a parent placeholder |
| 30920 | # if it exists. |
| 30921 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 30922 | "themeColor": "A String", # An opaque theme color. |
| 30923 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 30924 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30925 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30926 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30927 | }, |
| 30928 | }, |
| 30929 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 30930 | # That is, the final pixel color is defined by the equation: |
| 30931 | # |
| 30932 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 30933 | # |
| 30934 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 30935 | # a value of 0.0 corresponds to a completely transparent color. |
| 30936 | }, |
| 30937 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 30938 | "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no |
| 30939 | # connection. |
| 30940 | # |
| 30941 | # Only lines with a Type indicating it is |
| 30942 | # a "connector" can have a `start_connection`. |
| 30943 | # connection. |
| 30944 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 30945 | # |
| 30946 | # In most cases, it corresponds to the predefined connection site index from |
| 30947 | # the ECMA-376 standard. More information on those connection sites can be |
| 30948 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 30949 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 30950 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 30951 | # [ECMA-376 5th edition] |
| 30952 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 30953 | # |
| 30954 | # The position of each connection site can also be viewed from Slides editor. |
| 30955 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 30956 | # |
| 30957 | # Some page elements, such as groups, tables, and lines |
| 30958 | # do not have connection sites and therefore cannot be connected to a |
| 30959 | # connector line. |
| 30960 | }, |
| 30961 | "endConnection": { # The properties for one end of a Line # The connection at the end of the line. If unset, there is no connection. |
| 30962 | # |
| 30963 | # Only lines with a Type indicating it is |
| 30964 | # a "connector" can have an `end_connection`. |
| 30965 | # connection. |
| 30966 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 30967 | # |
| 30968 | # In most cases, it corresponds to the predefined connection site index from |
| 30969 | # the ECMA-376 standard. More information on those connection sites can be |
| 30970 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 30971 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 30972 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 30973 | # [ECMA-376 5th edition] |
| 30974 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 30975 | # |
| 30976 | # The position of each connection site can also be viewed from Slides editor. |
| 30977 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 30978 | # |
| 30979 | # Some page elements, such as groups, tables, and lines |
| 30980 | # do not have connection sites and therefore cannot be connected to a |
| 30981 | # connector line. |
| 30982 | }, |
| Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 30983 | "startArrow": "A String", # The style of the arrow at the beginning of the line. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30984 | }, |
| 30985 | "lineType": "A String", # The type of the line. |
| 30986 | }, |
| 30987 | "size": { # A width and height. # The size of the page element. |
| 30988 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 30989 | "magnitude": 3.14, # The magnitude. |
| 30990 | "unit": "A String", # The units for magnitude. |
| 30991 | }, |
| 30992 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 30993 | "magnitude": 3.14, # The magnitude. |
| 30994 | "unit": "A String", # The units for magnitude. |
| 30995 | }, |
| 30996 | }, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 30997 | "description": "A String", # The description of the page element. Combined with title to display alt |
| 30998 | # text. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 30999 | }, |
| 31000 | ], |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 31001 | "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES. |
| 31002 | # relevant for pages with page_type NOTES. |
| 31003 | "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker |
| 31004 | # notes for the corresponding slide. |
| 31005 | # The actual shape may not always exist on the notes page. Inserting text |
| 31006 | # using this object ID will automatically create the shape. In this case, the |
| 31007 | # actual shape may have different object ID. The `GetPresentation` or |
| 31008 | # `GetPage` action will always return the latest object ID. |
| 31009 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 31010 | "objectId": "A String", # The object ID for this page. Object IDs used by |
| 31011 | # Page and |
| 31012 | # PageElement share the same namespace. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 31013 | "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in |
| 31014 | # update requests to assert that the presentation revision hasn't changed |
| 31015 | # since the last read operation. Only populated if the user has edit access |
| 31016 | # to the presentation. |
| 31017 | # |
| 31018 | # The format of the revision ID may change over time, so it should be treated |
| 31019 | # opaquely. A returned revision ID is only guaranteed to be valid for 24 |
| Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 31020 | # hours after it has been returned and cannot be shared across users. If the |
| 31021 | # revision ID is unchanged between calls, then the presentation has not |
| 31022 | # changed. Conversely, a changed ID (for the same presentation and user) |
| 31023 | # usually means the presentation has been updated; however, a changed ID can |
| 31024 | # also be due to internal factors such as ID format changes. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 31025 | "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER. |
| 31026 | # relevant for pages with page_type MASTER. |
| 31027 | "displayName": "A String", # The human-readable name of the master. |
| 31028 | }, |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 31029 | "pageProperties": { # The properties of the Page. # The properties of the page. |
| 31030 | # |
| 31031 | # The page will inherit properties from the parent page. Depending on the page |
| 31032 | # type the hierarchy is defined in either |
| 31033 | # SlideProperties or |
| 31034 | # LayoutProperties. |
| 31035 | "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited |
| 31036 | # from a parent page if it exists. If the page has no parent, then the |
| 31037 | # background fill defaults to the corresponding fill in the Slides editor. |
| 31038 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 31039 | # specified color value. |
| 31040 | # |
| 31041 | # If any field is unset, its value may be inherited from a parent placeholder |
| 31042 | # if it exists. |
| 31043 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 31044 | "themeColor": "A String", # An opaque theme color. |
| 31045 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 31046 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 31047 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 31048 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 31049 | }, |
| 31050 | }, |
| 31051 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 31052 | # That is, the final pixel color is defined by the equation: |
| 31053 | # |
| 31054 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 31055 | # |
| 31056 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 31057 | # a value of 0.0 corresponds to a completely transparent color. |
| 31058 | }, |
| 31059 | "propertyState": "A String", # The background fill property state. |
| 31060 | # |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 31061 | # Updating the fill on a page will implicitly update this field to |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 31062 | # `RENDERED`, unless another value is specified in the same request. To |
| 31063 | # have no fill on a page, set this field to `NOT_RENDERED`. In this case, |
| 31064 | # any other fill fields set in the same request will be ignored. |
| 31065 | "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill. |
| 31066 | # the specified picture. The picture is stretched to fit its container. |
| 31067 | "contentUrl": "A String", # Reading the content_url: |
| 31068 | # |
| 31069 | # An URL to a picture with a default lifetime of 30 minutes. |
| 31070 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 31071 | # effectively accesses the picture as the original requester. Access to the |
| 31072 | # picture may be lost if the presentation's sharing settings change. |
| 31073 | # |
| 31074 | # Writing the content_url: |
| 31075 | # |
| 31076 | # The picture is fetched once at insertion time and a copy is stored for |
| 31077 | # display inside the presentation. Pictures must be less than 50MB in size, |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 31078 | # cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 31079 | # format. |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 31080 | # |
| 31081 | # The provided URL can be at most 2 kB in length. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 31082 | "size": { # A width and height. # The original size of the picture fill. This field is read-only. |
| 31083 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 31084 | "magnitude": 3.14, # The magnitude. |
| 31085 | "unit": "A String", # The units for magnitude. |
| 31086 | }, |
| 31087 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 31088 | "magnitude": 3.14, # The magnitude. |
| 31089 | "unit": "A String", # The units for magnitude. |
| 31090 | }, |
| 31091 | }, |
| 31092 | }, |
| 31093 | }, |
| 31094 | "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from |
| 31095 | # a parent page. If the page has no parent, the color scheme uses a default |
| 31096 | # Slides color scheme. This field is read-only. |
| 31097 | "colors": [ # The ThemeColorType and corresponding concrete color pairs. |
| 31098 | { # A pair mapping a theme color type to the concrete color it represents. |
| 31099 | "color": { # An RGB color. # The concrete color corresponding to the theme color type above. |
| 31100 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 31101 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 31102 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 31103 | }, |
| 31104 | "type": "A String", # The type of the theme color. |
| 31105 | }, |
| 31106 | ], |
| 31107 | }, |
| 31108 | }, |
| 31109 | "pageType": "A String", # The type of the page. |
| 31110 | "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE. |
| 31111 | # relevant for pages with page_type SLIDE. |
| Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 31112 | "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual |
| 31113 | # appearance of a notes page when printing or exporting slides with speaker |
| 31114 | # notes. A notes page inherits properties from the |
| 31115 | # notes master. |
| 31116 | # The placeholder shape with type BODY on the notes page contains the speaker |
| 31117 | # notes for this slide. The ID of this shape is identified by the |
| 31118 | # speakerNotesObjectId field. |
| 31119 | # The notes page is read-only except for the text content and styles of the |
| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 31120 | # speaker notes shape. This property is read-only. |
| 31121 | "masterObjectId": "A String", # The object ID of the master that this slide is based on. This property is |
| 31122 | # read-only. |
| 31123 | "layoutObjectId": "A String", # The object ID of the layout that this slide is based on. This property is |
| 31124 | # read-only. |
| Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 31125 | }, |
| 31126 | }, |
| 31127 | ], |
| 31128 | }</pre> |
| 31129 | </div> |
| 31130 | |
| 31131 | </body></html> |