| Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [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="docs_v1.html">Google Docs API</a> . <a href="docs_v1.documents.html">documents</a></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
| 78 | <code><a href="#batchUpdate">batchUpdate(documentId, body, x__xgafv=None)</a></code></p> |
| 79 | <p class="firstline">Applies one or more updates to the document.</p> |
| 80 | <p class="toc_element"> |
| 81 | <code><a href="#create">create(body, x__xgafv=None)</a></code></p> |
| 82 | <p class="firstline">Creates a blank document using the title given in the request. Other fields</p> |
| 83 | <p class="toc_element"> |
| 84 | <code><a href="#get">get(documentId, x__xgafv=None, suggestionsViewMode=None)</a></code></p> |
| 85 | <p class="firstline">Gets the latest version of the specified document.</p> |
| 86 | <h3>Method Details</h3> |
| 87 | <div class="method"> |
| 88 | <code class="details" id="batchUpdate">batchUpdate(documentId, body, x__xgafv=None)</code> |
| 89 | <pre>Applies one or more updates to the document. |
| 90 | |
| 91 | Each request is validated before |
| 92 | being applied. If any request is not valid, then the entire request will |
| 93 | fail and nothing will be applied. |
| 94 | |
| 95 | Some requests have replies to |
| 96 | give you some information about how they are applied. Other requests do |
| 97 | not need to return information; these each return an empty reply. |
| 98 | The order of replies matches that of the requests. |
| 99 | |
| 100 | For example, suppose you call batchUpdate with four updates, and only the |
| 101 | third one returns information. The response would have two empty replies, |
| 102 | the reply to the third request, and another empty reply, in that order. |
| 103 | |
| 104 | Because other users may be editing the document, the document |
| 105 | might not exactly reflect your changes: your changes may |
| 106 | be altered with respect to collaborator changes. If there are no |
| 107 | collaborators, the document should reflect your changes. In any case, |
| 108 | the updates in your request are guaranteed to be applied together |
| 109 | atomically. |
| 110 | |
| 111 | Args: |
| 112 | documentId: string, The ID of the document to update. (required) |
| 113 | body: object, The request body. (required) |
| 114 | The object takes the form of: |
| 115 | |
| 116 | { # Request message for BatchUpdateDocument. |
| 117 | "requests": [ # A list of updates to apply to the document. |
| 118 | { # A single update to apply to a document. |
| 119 | "insertText": { # Inserts text at the specified location. # Inserts text at the specified location. |
| 120 | "text": "A String", # The text to be inserted. |
| 121 | # |
| 122 | # Inserting a newline character will implicitly create a new |
| 123 | # Paragraph at that index. |
| 124 | # The paragraph style of the new paragraph will be copied from the paragraph |
| 125 | # at the current insertion index, including lists and bullets. |
| 126 | # |
| 127 | # Text styles for inserted text will be determined automatically, generally |
| 128 | # preserving the styling of neighboring text. In most cases, the text style |
| 129 | # for the inserted text will match the text immediately before the insertion |
| 130 | # index. |
| 131 | # |
| 132 | # Some control characters (U+0000-U+0008, U+000C-U+001F) and characters |
| 133 | # from the Unicode Basic Multilingual Plane Private Use Area (U+E000-U+F8FF) |
| 134 | # will be stripped out of the inserted text. |
| 135 | "endOfSegmentLocation": { # Location at the end of a body, header, footer or footnote. The location is # Inserts the text at the end of a header, footer, footnote or |
| 136 | # the document body. |
| 137 | # immediately before the last newline in the document segment. |
| 138 | "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| 139 | # segment ID signifies the document's body. |
| 140 | }, |
| 141 | "location": { # A particular location in the document. # Inserts the text at a specific index in the document. |
| 142 | # |
| 143 | # Text must be inserted inside the bounds of an existing |
| 144 | # Paragraph. For instance, text cannot be |
| 145 | # inserted at a table's start index (i.e. between the table and its |
| 146 | # preceding paragraph). The text must be inserted in the preceding |
| 147 | # paragraph. |
| 148 | "index": 42, # The zero-based index, in UTF-16 code units. |
| 149 | # |
| 150 | # The index is relative to the beginning of the segment specified by |
| 151 | # segment_id. |
| 152 | "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| 153 | # segment ID signifies the document's body. |
| 154 | }, |
| 155 | }, |
| 156 | "deleteParagraphBullets": { # Deletes bullets from all of the paragraphs that overlap with the given range. # Deletes bullets from paragraphs. |
| 157 | # |
| 158 | # The nesting level of each paragraph will be visually preserved by adding |
| 159 | # indent to the start of the corresponding paragraph. |
| 160 | "range": { # Specifies a contiguous range of text. # The range to delete bullets from. |
| 161 | "endIndex": 42, # The zero-based end index of this range, exclusive, in UTF-16 code units. |
| 162 | # |
| 163 | # In all current uses, an end index must be provided. This field is an |
| 164 | # Int32Value in order to accommodate future use cases with open-ended ranges. |
| 165 | "startIndex": 42, # The zero-based start index of this range, in UTF-16 code units. |
| 166 | # |
| 167 | # In all current uses, a start index must be provided. This field is an |
| 168 | # Int32Value in order to accommodate future use cases with open-ended ranges. |
| 169 | "segmentId": "A String", # The ID of the header, footer or footnote that this range is contained in. |
| 170 | # An empty segment ID signifies the document's body. |
| 171 | }, |
| 172 | }, |
| 173 | "createParagraphBullets": { # Creates bullets for all of the paragraphs that overlap with the given range. # Creates bullets for paragraphs. |
| 174 | # |
| 175 | # The nesting level of each paragraph will be determined by counting leading |
| 176 | # tabs in front of each paragraph. To avoid excess space between the bullet and |
| 177 | # the corresponding paragraph, these leading tabs are removed by this request. |
| 178 | # This may change the indices of parts of the text. |
| 179 | # |
| 180 | # If the paragraph immediately before paragraphs being updated is in a list |
| 181 | # with a matching preset, the paragraphs being updated are added to that |
| 182 | # preceding list. |
| 183 | "bulletPreset": "A String", # The kinds of bullet glyphs to be used. |
| 184 | "range": { # Specifies a contiguous range of text. # The range to apply the bullet preset to. |
| 185 | "endIndex": 42, # The zero-based end index of this range, exclusive, in UTF-16 code units. |
| 186 | # |
| 187 | # In all current uses, an end index must be provided. This field is an |
| 188 | # Int32Value in order to accommodate future use cases with open-ended ranges. |
| 189 | "startIndex": 42, # The zero-based start index of this range, in UTF-16 code units. |
| 190 | # |
| 191 | # In all current uses, a start index must be provided. This field is an |
| 192 | # Int32Value in order to accommodate future use cases with open-ended ranges. |
| 193 | "segmentId": "A String", # The ID of the header, footer or footnote that this range is contained in. |
| 194 | # An empty segment ID signifies the document's body. |
| 195 | }, |
| 196 | }, |
| 197 | "updateTableRowStyle": { # Updates the TableRowStyle of rows in a # Updates the row style in a table. |
| 198 | # table. |
| 199 | "fields": "A String", # The fields that should be updated. |
| 200 | # |
| 201 | # At least one field must be specified. The root `tableRowStyle` is implied |
| 202 | # and should not be specified. A single `"*"` can be used as short-hand for |
| 203 | # listing every field. |
| 204 | # |
| 205 | # For example to update the minimum row height, set `fields` to |
| 206 | # `"min_row_height"`. |
| 207 | "tableRowStyle": { # Styles that apply to a table row. # The styles to be set on the rows. |
| 208 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 209 | # at a height equal to or greater than this value in order to show all the |
| 210 | # content in the row's cells. |
| 211 | "magnitude": 3.14, # The magnitude. |
| 212 | "unit": "A String", # The units for magnitude. |
| 213 | }, |
| 214 | }, |
| 215 | "tableStartLocation": { # A particular location in the document. # The location where the table starts in the document. |
| 216 | "index": 42, # The zero-based index, in UTF-16 code units. |
| 217 | # |
| 218 | # The index is relative to the beginning of the segment specified by |
| 219 | # segment_id. |
| 220 | "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| 221 | # segment ID signifies the document's body. |
| 222 | }, |
| 223 | "rowIndices": [ # The list of zero-based row indices whose style should be updated. If no |
| 224 | # indices are specified, all rows will be updated. |
| 225 | 42, |
| 226 | ], |
| 227 | }, |
| 228 | "updateParagraphStyle": { # Update the styling of all paragraphs that overlap with the given range. # Updates the paragraph style at the specified range. |
| 229 | "fields": "A String", # The fields that should be updated. |
| 230 | # |
| 231 | # At least one field must be specified. The root `paragraph_style` is implied |
| 232 | # and should not be specified. |
| 233 | # |
| 234 | # For example, to update the paragraph style's alignment property, set |
| 235 | # `fields` to `"alignment"`. |
| 236 | # |
| 237 | # To reset a property to its default value, include its field name in the |
| 238 | # field mask but leave the field itself unset. |
| 239 | "range": { # Specifies a contiguous range of text. # The range overlapping the paragraphs to style. |
| 240 | "endIndex": 42, # The zero-based end index of this range, exclusive, in UTF-16 code units. |
| 241 | # |
| 242 | # In all current uses, an end index must be provided. This field is an |
| 243 | # Int32Value in order to accommodate future use cases with open-ended ranges. |
| 244 | "startIndex": 42, # The zero-based start index of this range, in UTF-16 code units. |
| 245 | # |
| 246 | # In all current uses, a start index must be provided. This field is an |
| 247 | # Int32Value in order to accommodate future use cases with open-ended ranges. |
| 248 | "segmentId": "A String", # The ID of the header, footer or footnote that this range is contained in. |
| 249 | # An empty segment ID signifies the document's body. |
| 250 | }, |
| 251 | "paragraphStyle": { # Styles that apply to a whole paragraph. # The styles to set on the paragraphs. |
| 252 | # |
| 253 | # Certain paragraph style changes may cause other changes in order to mirror |
| 254 | # the behavior of the Docs editor. See the documentation of ParagraphStyle for more information. |
| 255 | # |
| 256 | # Inherited paragraph styles are represented as unset fields in this message. |
| 257 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 258 | # |
| 259 | # * The ParagraphStyle on a Paragraph |
| 260 | # inherits from the paragraph's corresponding named style type. |
| 261 | # * The ParagraphStyle on a named style |
| 262 | # inherits from the normal text named style. |
| 263 | # * The ParagraphStyle of the normal text named style inherits |
| 264 | # from the default paragraph style in the Docs editor. |
| 265 | # * The ParagraphStyle on a Paragraph |
| 266 | # element that is contained in a table may inherit its paragraph style from |
| 267 | # the table style. |
| 268 | # |
| 269 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 270 | # revert the style to a value matching the defaults in the Docs editor. |
| 271 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 272 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 273 | # LEFT_TO_RIGHT since |
| 274 | # paragraph direction is not inherited. |
| 275 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 276 | # inherited from the parent. |
| 277 | "magnitude": 3.14, # The magnitude. |
| 278 | "unit": "A String", # The units for magnitude. |
| 279 | }, |
| 280 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 281 | # page or column as the next paragraph if possible. If unset, the value is |
| 282 | # inherited from the parent. |
| 283 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 284 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 285 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 286 | # is inherited from the parent. |
| 287 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 288 | # inherited from the parent. |
| 289 | # |
| 290 | # The bottom border is rendered when the paragraph below has different border |
| 291 | # and indent properties. |
| 292 | # |
| 293 | # Paragraph borders cannot be partially updated. When making |
| 294 | # changes to a paragraph border the new border must be specified in |
| 295 | # its entirety. |
| 296 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 297 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 298 | # a transparent color. |
| 299 | "rgbColor": { # An RGB color. # The RGB color value. |
| 300 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 301 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 302 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 303 | }, |
| 304 | }, |
| 305 | }, |
| 306 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 307 | "magnitude": 3.14, # The magnitude. |
| 308 | "unit": "A String", # The units for magnitude. |
| 309 | }, |
| 310 | "dashStyle": "A String", # The dash style of the border. |
| 311 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 312 | "magnitude": 3.14, # The magnitude. |
| 313 | "unit": "A String", # The units for magnitude. |
| 314 | }, |
| 315 | }, |
| 316 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 317 | # the start of the text, based on the current paragraph direction. If unset, |
| 318 | # the value is inherited from the parent. |
| 319 | "magnitude": 3.14, # The magnitude. |
| 320 | "unit": "A String", # The units for magnitude. |
| 321 | }, |
| 322 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 323 | # If unset, the value is inherited from the parent. |
| 324 | # |
| 325 | # The between border is rendered when the adjacent paragraph has the same |
| 326 | # border and indent properties. |
| 327 | # |
| 328 | # Paragraph borders cannot be partially updated. When making |
| 329 | # changes to a paragraph border the new border must be specified in |
| 330 | # its entirety. |
| 331 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 332 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 333 | # a transparent color. |
| 334 | "rgbColor": { # An RGB color. # The RGB color value. |
| 335 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 336 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 337 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 338 | }, |
| 339 | }, |
| 340 | }, |
| 341 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 342 | "magnitude": 3.14, # The magnitude. |
| 343 | "unit": "A String", # The units for magnitude. |
| 344 | }, |
| 345 | "dashStyle": "A String", # The dash style of the border. |
| 346 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 347 | "magnitude": 3.14, # The magnitude. |
| 348 | "unit": "A String", # The units for magnitude. |
| 349 | }, |
| 350 | }, |
| 351 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 352 | # |
| 353 | # Since updating the named style type affects other properties within |
| 354 | # ParagraphStyle, the named style type is applied before the other properties |
| 355 | # are updated. |
| 356 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 357 | # from the parent. |
| 358 | # |
| 359 | # Paragraph borders cannot be partially updated. When making |
| 360 | # changes to a paragraph border the new border must be specified in |
| 361 | # its entirety. |
| 362 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 363 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 364 | # a transparent color. |
| 365 | "rgbColor": { # An RGB color. # The RGB color value. |
| 366 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 367 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 368 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 369 | }, |
| 370 | }, |
| 371 | }, |
| 372 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 373 | "magnitude": 3.14, # The magnitude. |
| 374 | "unit": "A String", # The units for magnitude. |
| 375 | }, |
| 376 | "dashStyle": "A String", # The dash style of the border. |
| 377 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 378 | "magnitude": 3.14, # The magnitude. |
| 379 | "unit": "A String", # The units for magnitude. |
| 380 | }, |
| 381 | }, |
| 382 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 383 | # the end of the text, based on the current paragraph direction. If unset, |
| 384 | # the value is inherited from the parent. |
| 385 | "magnitude": 3.14, # The magnitude. |
| 386 | "unit": "A String", # The units for magnitude. |
| 387 | }, |
| 388 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 389 | # from the parent. |
| 390 | # |
| 391 | # Paragraph borders cannot be partially updated. When making |
| 392 | # changes to a paragraph border the new border must be specified in |
| 393 | # its entirety. |
| 394 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 395 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 396 | # a transparent color. |
| 397 | "rgbColor": { # An RGB color. # The RGB color value. |
| 398 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 399 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 400 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 401 | }, |
| 402 | }, |
| 403 | }, |
| 404 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 405 | "magnitude": 3.14, # The magnitude. |
| 406 | "unit": "A String", # The units for magnitude. |
| 407 | }, |
| 408 | "dashStyle": "A String", # The dash style of the border. |
| 409 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 410 | "magnitude": 3.14, # The magnitude. |
| 411 | "unit": "A String", # The units for magnitude. |
| 412 | }, |
| 413 | }, |
| 414 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 415 | # inherited from the parent. |
| 416 | "magnitude": 3.14, # The magnitude. |
| 417 | "unit": "A String", # The units for magnitude. |
| 418 | }, |
| 419 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 420 | # heading. This property is read-only. |
| 421 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 422 | # parent. |
| 423 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 424 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 425 | # a transparent color. |
| 426 | "rgbColor": { # An RGB color. # The RGB color value. |
| 427 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 428 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 429 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 430 | }, |
| 431 | }, |
| 432 | }, |
| 433 | }, |
| 434 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 435 | # from the parent. |
| 436 | # |
| 437 | # The top border is rendered when the paragraph above has different border |
| 438 | # and indent properties. |
| 439 | # |
| 440 | # Paragraph borders cannot be partially updated. When making |
| 441 | # changes to a paragraph border the new border must be specified in |
| 442 | # its entirety. |
| 443 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 444 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 445 | # a transparent color. |
| 446 | "rgbColor": { # An RGB color. # The RGB color value. |
| 447 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 448 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 449 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 450 | }, |
| 451 | }, |
| 452 | }, |
| 453 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 454 | "magnitude": 3.14, # The magnitude. |
| 455 | "unit": "A String", # The units for magnitude. |
| 456 | }, |
| 457 | "dashStyle": "A String", # The dash style of the border. |
| 458 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 459 | "magnitude": 3.14, # The magnitude. |
| 460 | "unit": "A String", # The units for magnitude. |
| 461 | }, |
| 462 | }, |
| 463 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 464 | # inherited. This property is read-only. |
| 465 | { # A tab stop within a paragraph. |
| 466 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 467 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 468 | "magnitude": 3.14, # The magnitude. |
| 469 | "unit": "A String", # The units for magnitude. |
| 470 | }, |
| 471 | }, |
| 472 | ], |
| 473 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 474 | # the value is inherited from the parent. |
| 475 | "magnitude": 3.14, # The magnitude. |
| 476 | "unit": "A String", # The units for magnitude. |
| 477 | }, |
| 478 | "alignment": "A String", # The text alignment for this paragraph. |
| 479 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 480 | # column if possible. If unset, the value is inherited from the parent. |
| 481 | }, |
| 482 | }, |
| 483 | "deleteContentRange": { # Deletes content from the document. # Deletes content from the document. |
| 484 | "range": { # Specifies a contiguous range of text. # The range of content to delete. |
| 485 | # |
| 486 | # Deleting text that crosses a paragraph boundary may result in changes |
| 487 | # to paragraph styles, lists, positioned objects and bookmarks as the two |
| 488 | # paragraphs are merged. |
| 489 | # |
| 490 | # Attempting to delete certain ranges can result in an invalid document |
| 491 | # structure in which case a 400 bad request error is returned. |
| 492 | # |
| 493 | # Some examples of invalid delete requests include: |
| 494 | # |
| 495 | # * Deleting one code unit of a surrogate pair. |
| 496 | # * Deleting the last newline character of a Body, Header, |
| 497 | # Footer, Footnote, TableCell or TableOfContents. |
| 498 | # * Deleting the start or end of a Table, |
| 499 | # TableOfContents or Equation without deleting the entire element. |
| 500 | # * Deleting the newline character before a |
| 501 | # Table, |
| 502 | # TableOfContents or |
| 503 | # SectionBreak without deleting the |
| 504 | # element. |
| 505 | # * Deleting individual rows or cells of a table. Deleting the content within |
| 506 | # a table cell is allowed. |
| 507 | "endIndex": 42, # The zero-based end index of this range, exclusive, in UTF-16 code units. |
| 508 | # |
| 509 | # In all current uses, an end index must be provided. This field is an |
| 510 | # Int32Value in order to accommodate future use cases with open-ended ranges. |
| 511 | "startIndex": 42, # The zero-based start index of this range, in UTF-16 code units. |
| 512 | # |
| 513 | # In all current uses, a start index must be provided. This field is an |
| 514 | # Int32Value in order to accommodate future use cases with open-ended ranges. |
| 515 | "segmentId": "A String", # The ID of the header, footer or footnote that this range is contained in. |
| 516 | # An empty segment ID signifies the document's body. |
| 517 | }, |
| 518 | }, |
| 519 | "replaceAllText": { # Replaces all instances of text matching a criteria with replace text. # Replaces all instances of the specified text. |
| 520 | "containsText": { # A criteria that matches a specific string of text in the document. # Finds text in the document matching this substring. |
| 521 | "text": "A String", # The text to search for in the document. |
| 522 | "matchCase": True or False, # Indicates whether the search should respect case: |
| 523 | # |
| 524 | # - `True`: the search is case sensitive. |
| 525 | # - `False`: the search is case insensitive. |
| 526 | }, |
| 527 | "replaceText": "A String", # The text that will replace the matched text. |
| 528 | }, |
| 529 | "deleteNamedRange": { # Deletes a NamedRange. # Deletes a named range. |
| 530 | "namedRangeId": "A String", # The ID of the named range to delete. |
| 531 | "name": "A String", # The name of the range(s) to delete. All named ranges with the given |
| 532 | # name will be deleted. |
| 533 | }, |
| 534 | "insertTable": { # Inserts a table at the specified location. # Inserts a table at the specified location. |
| 535 | # |
| 536 | # A newline character will be inserted before the inserted table. |
| 537 | "endOfSegmentLocation": { # Location at the end of a body, header, footer or footnote. The location is # Inserts the table at the end of the given header, footer or document |
| 538 | # body. A newline character will be inserted before the inserted table. |
| 539 | # |
| 540 | # Tables cannot be inserted inside a footnote. |
| 541 | # immediately before the last newline in the document segment. |
| 542 | "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| 543 | # segment ID signifies the document's body. |
| 544 | }, |
| 545 | "rows": 42, # The number of rows in the table. |
| 546 | "location": { # A particular location in the document. # Inserts the table at a specific model index. |
| 547 | # |
| 548 | # A newline character will be inserted before the inserted table, therefore |
| 549 | # the table start index will be at the specified location index + 1. |
| 550 | # |
| 551 | # The table must be inserted inside the bounds of an existing |
| 552 | # Paragraph. For instance, it cannot be |
| 553 | # inserted at a table's start index (i.e. between an existing table and its |
| 554 | # preceding paragraph). |
| 555 | # |
| 556 | # Tables cannot be inserted inside a footnote or equation. |
| 557 | "index": 42, # The zero-based index, in UTF-16 code units. |
| 558 | # |
| 559 | # The index is relative to the beginning of the segment specified by |
| 560 | # segment_id. |
| 561 | "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| 562 | # segment ID signifies the document's body. |
| 563 | }, |
| 564 | "columns": 42, # The number of columns in the table. |
| 565 | }, |
| 566 | "deleteTableRow": { # Deletes a row from a table. # Deletes a row from a table. |
| 567 | "tableCellLocation": { # Location of a single cell within a table. # The reference table cell location from which the row will be deleted. |
| 568 | # |
| 569 | # The row this cell spans will be deleted. If this is a merged cell that |
| 570 | # spans multiple rows, all rows that the cell spans will be deleted. If no |
| 571 | # rows remain in the table after this deletion, the whole table is deleted. |
| 572 | "rowIndex": 42, # The zero-based row index. For example, the second row in the table has a |
| 573 | # row index of 1. |
| 574 | "columnIndex": 42, # The zero-based column index. For example, the second column in the table |
| 575 | # has a column index of 1. |
| 576 | "tableStartLocation": { # A particular location in the document. # The location where the table starts in the document. |
| 577 | "index": 42, # The zero-based index, in UTF-16 code units. |
| 578 | # |
| 579 | # The index is relative to the beginning of the segment specified by |
| 580 | # segment_id. |
| 581 | "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| 582 | # segment ID signifies the document's body. |
| 583 | }, |
| 584 | }, |
| 585 | }, |
| 586 | "insertPageBreak": { # Inserts a page break followed by a newline at the specified location. # Inserts a page break at the specified location. |
| 587 | "endOfSegmentLocation": { # Location at the end of a body, header, footer or footnote. The location is # Inserts the page break at the end of the document body. |
| 588 | # |
| 589 | # Page breaks cannot be inserted inside a footnote, header or footer. |
| 590 | # Since page breaks can only be inserted inside the body, the segment ID field must be |
| 591 | # empty. |
| 592 | # immediately before the last newline in the document segment. |
| 593 | "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| 594 | # segment ID signifies the document's body. |
| 595 | }, |
| 596 | "location": { # A particular location in the document. # Inserts the page break at a specific index in the document. |
| 597 | # |
| 598 | # The page break must be inserted inside the bounds of an existing |
| 599 | # Paragraph. For instance, it cannot be |
| 600 | # inserted at a table's start index (i.e. between the table and its |
| 601 | # preceding paragraph). |
| 602 | # |
| 603 | # Page breaks cannot be inserted inside a table, equation, footnote, header |
| 604 | # or footer. Since page breaks can only be inserted inside the body, the |
| 605 | # segment ID field must be |
| 606 | # empty. |
| 607 | "index": 42, # The zero-based index, in UTF-16 code units. |
| 608 | # |
| 609 | # The index is relative to the beginning of the segment specified by |
| 610 | # segment_id. |
| 611 | "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| 612 | # segment ID signifies the document's body. |
| 613 | }, |
| 614 | }, |
| 615 | "insertTableRow": { # Inserts an empty row into a table. # Inserts an empty row into a table. |
| 616 | "tableCellLocation": { # Location of a single cell within a table. # The reference table cell location from which rows will be inserted. |
| 617 | # |
| 618 | # A new row will be inserted above (or below) the row where the reference |
| 619 | # cell is. If the reference cell is a merged cell, a new row will be |
| 620 | # inserted above (or below) the merged cell. |
| 621 | "rowIndex": 42, # The zero-based row index. For example, the second row in the table has a |
| 622 | # row index of 1. |
| 623 | "columnIndex": 42, # The zero-based column index. For example, the second column in the table |
| 624 | # has a column index of 1. |
| 625 | "tableStartLocation": { # A particular location in the document. # The location where the table starts in the document. |
| 626 | "index": 42, # The zero-based index, in UTF-16 code units. |
| 627 | # |
| 628 | # The index is relative to the beginning of the segment specified by |
| 629 | # segment_id. |
| 630 | "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| 631 | # segment ID signifies the document's body. |
| 632 | }, |
| 633 | }, |
| 634 | "insertBelow": True or False, # Whether to insert new row below the reference cell location. |
| 635 | # |
| 636 | # - `True`: insert below the cell. |
| 637 | # - `False`: insert above the cell. |
| 638 | }, |
| 639 | "updateTextStyle": { # Update the styling of text. # Updates the text style at the specified range. |
| 640 | "textStyle": { # Represents the styling that can be applied to text. # The styles to set on the text. |
| 641 | # |
| 642 | # If the value for a particular style matches that of the parent, that style |
| 643 | # will be set to inherit. |
| 644 | # |
| 645 | # Certain text style changes may cause other changes in order to to mirror |
| 646 | # the behavior of the Docs editor. See the documentation of |
| 647 | # TextStyle for more information. |
| 648 | # |
| 649 | # Inherited text styles are represented as unset fields in this message. A |
| 650 | # text style's parent depends on where the text style is defined: |
| 651 | # |
| 652 | # * The TextStyle of text in a Paragraph |
| 653 | # inherits from the paragraph's corresponding named style type. |
| 654 | # * The TextStyle on a named style |
| 655 | # inherits from the normal text named style. |
| 656 | # * The TextStyle of the normal text named style inherits |
| 657 | # from the default text style in the Docs editor. |
| 658 | # * The TextStyle on a Paragraph element |
| 659 | # that is contained in a table may inherit its text style from the table |
| 660 | # style. |
| 661 | # |
| 662 | # If the text style does not inherit from a parent, unsetting fields will |
| 663 | # revert the style to a value matching the defaults in the Docs editor. |
| 664 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 665 | # or transparent, depending on the `color` field. |
| 666 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 667 | # a transparent color. |
| 668 | "rgbColor": { # An RGB color. # The RGB color value. |
| 669 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 670 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 671 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 672 | }, |
| 673 | }, |
| 674 | }, |
| 675 | "italic": True or False, # Whether or not the text is italicized. |
| 676 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 677 | # |
| 678 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 679 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 680 | # The `font_size` itself is not affected by changes in this field. |
| 681 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 682 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 683 | # |
| 684 | # If an update request specifies values for both `weighted_font_family` and |
| 685 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 686 | # |
| 687 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 688 | # |
| 689 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 690 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 691 | # is returned. |
| 692 | "fontFamily": "A String", # The font family of the text. |
| 693 | # |
| 694 | # The font family can be any font from the Font menu in Docs or from |
| 695 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 696 | # unrecognized, the text is rendered in `Arial`. |
| 697 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 698 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 699 | # numerical values described in the CSS 2.1 Specification, |
| 700 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 701 | # non-numerical values disallowed. |
| 702 | # |
| 703 | # The default value is `400` ("normal"). |
| 704 | # |
| 705 | # The font weight makes up just one component of the rendered font weight. |
| 706 | # The rendered weight is determined by a combination of the `weight` and the |
| 707 | # text style's resolved `bold` value, after accounting for inheritance: |
| 708 | # |
| 709 | # * If the text is bold and the weight is less than `400`, the rendered |
| 710 | # weight is 400. |
| 711 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 712 | # is less than `700`, the rendered weight is `700`. |
| 713 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 714 | # equal to the weight. |
| 715 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 716 | }, |
| 717 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 718 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 719 | "magnitude": 3.14, # The magnitude. |
| 720 | "unit": "A String", # The units for magnitude. |
| 721 | }, |
| 722 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 723 | # or transparent, depending on the `color` field. |
| 724 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 725 | # a transparent color. |
| 726 | "rgbColor": { # An RGB color. # The RGB color value. |
| 727 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 728 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 729 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 730 | }, |
| 731 | }, |
| 732 | }, |
| 733 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 734 | # are not inherited from parent text. |
| 735 | # |
| 736 | # Changing the link in an update request causes some other changes to the |
| 737 | # text style of the range: |
| 738 | # |
| 739 | # * When setting a link, the text foreground color will be updated to the |
| 740 | # default link color and the text will be underlined. If these fields are |
| 741 | # modified in the same request, those values will be used instead of the |
| 742 | # link defaults. |
| 743 | # * Setting a link on a text range that overlaps with an existing link will |
| 744 | # also update the existing link to point to the new URL. |
| 745 | # * Links are not settable on newline characters. As a result, setting a link |
| 746 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 747 | # will separate the newline character(s) into their own text runs. The |
| 748 | # link will be applied separately to the runs before and after the newline. |
| 749 | # * Removing a link will update the text style of the range to match the |
| 750 | # style of the preceding text (or the default text styles if the preceding |
| 751 | # text is another link) unless different styles are being set in the same |
| 752 | # request. |
| 753 | "headingId": "A String", # The ID of a heading in this document. |
| 754 | "url": "A String", # An external URL. |
| 755 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 756 | }, |
| 757 | "underline": True or False, # Whether or not the text is underlined. |
| 758 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 759 | }, |
| 760 | "range": { # Specifies a contiguous range of text. # The range of text to style. |
| 761 | # |
| 762 | # The range may be extended to include adjacent newlines. |
| 763 | # |
| 764 | # If the range fully contains a paragraph belonging to a list, the |
| 765 | # paragraph's bullet is also updated with the matching text style. |
| 766 | "endIndex": 42, # The zero-based end index of this range, exclusive, in UTF-16 code units. |
| 767 | # |
| 768 | # In all current uses, an end index must be provided. This field is an |
| 769 | # Int32Value in order to accommodate future use cases with open-ended ranges. |
| 770 | "startIndex": 42, # The zero-based start index of this range, in UTF-16 code units. |
| 771 | # |
| 772 | # In all current uses, a start index must be provided. This field is an |
| 773 | # Int32Value in order to accommodate future use cases with open-ended ranges. |
| 774 | "segmentId": "A String", # The ID of the header, footer or footnote that this range is contained in. |
| 775 | # An empty segment ID signifies the document's body. |
| 776 | }, |
| 777 | "fields": "A String", # The fields that should be updated. |
| 778 | # |
| 779 | # At least one field must be specified. The root `text_style` is implied and |
| 780 | # should not be specified. A single `"*"` can be used as short-hand for |
| 781 | # listing every field. |
| 782 | # |
| 783 | # For example, to update the text style to bold, set `fields` to `"bold"`. |
| 784 | # |
| 785 | # To reset a property to its default value, include its field name in the |
| 786 | # field mask but leave the field itself unset. |
| 787 | }, |
| 788 | "updateTableColumnProperties": { # Updates the # Updates the properties of columns in a table. |
| 789 | # TableColumnProperties of columns |
| 790 | # in a table. |
| 791 | "columnIndices": [ # The list of zero-based column indices whose property should be updated. If |
| 792 | # no indices are specified, all columns will be updated. |
| 793 | 42, |
| 794 | ], |
| 795 | "fields": "A String", # The fields that should be updated. |
| 796 | # |
| 797 | # At least one field must be specified. The root `tableColumnProperties` is |
| 798 | # implied and should not be specified. A single `"*"` can be used as |
| 799 | # short-hand for listing every field. |
| 800 | # |
| 801 | # For example to update the column width, set `fields` to `"width"`. |
| 802 | "tableColumnProperties": { # The properties of a column in a table. # The table column properties to update. |
| 803 | # |
| 804 | # If the value of `table_column_properties#width` is less than 5 points |
| 805 | # (5/72 inch), a 400 bad request error is returned. |
| 806 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| 807 | # FIXED_WIDTH. |
| 808 | "magnitude": 3.14, # The magnitude. |
| 809 | "unit": "A String", # The units for magnitude. |
| 810 | }, |
| 811 | "widthType": "A String", # The width type of the column. |
| 812 | }, |
| 813 | "tableStartLocation": { # A particular location in the document. # The location where the table starts in the document. |
| 814 | "index": 42, # The zero-based index, in UTF-16 code units. |
| 815 | # |
| 816 | # The index is relative to the beginning of the segment specified by |
| 817 | # segment_id. |
| 818 | "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| 819 | # segment ID signifies the document's body. |
| 820 | }, |
| 821 | }, |
| 822 | "deleteTableColumn": { # Deletes a column from a table. # Deletes a column from a table. |
| 823 | "tableCellLocation": { # Location of a single cell within a table. # The reference table cell location from which the column will be deleted. |
| 824 | # |
| 825 | # The column this cell spans will be deleted. If this is a merged cell that |
| 826 | # spans multiple columns, all columns that the cell spans will be deleted. If |
| 827 | # no columns remain in the table after this deletion, the whole table is |
| 828 | # deleted. |
| 829 | "rowIndex": 42, # The zero-based row index. For example, the second row in the table has a |
| 830 | # row index of 1. |
| 831 | "columnIndex": 42, # The zero-based column index. For example, the second column in the table |
| 832 | # has a column index of 1. |
| 833 | "tableStartLocation": { # A particular location in the document. # The location where the table starts in the document. |
| 834 | "index": 42, # The zero-based index, in UTF-16 code units. |
| 835 | # |
| 836 | # The index is relative to the beginning of the segment specified by |
| 837 | # segment_id. |
| 838 | "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| 839 | # segment ID signifies the document's body. |
| 840 | }, |
| 841 | }, |
| 842 | }, |
| 843 | "insertTableColumn": { # Inserts an empty column into a table. # Inserts an empty column into a table. |
| 844 | "insertRight": True or False, # Whether to insert new column to the right of the reference cell location. |
| 845 | # |
| 846 | # - `True`: insert to the right. |
| 847 | # - `False`: insert to the left. |
| 848 | "tableCellLocation": { # Location of a single cell within a table. # The reference table cell location from which columns will be inserted. |
| 849 | # |
| 850 | # A new column will be inserted to the left (or right) of the column where |
| 851 | # the reference cell is. If the reference cell is a merged cell, a new |
| 852 | # column will be inserted to the left (or right) of the merged cell. |
| 853 | "rowIndex": 42, # The zero-based row index. For example, the second row in the table has a |
| 854 | # row index of 1. |
| 855 | "columnIndex": 42, # The zero-based column index. For example, the second column in the table |
| 856 | # has a column index of 1. |
| 857 | "tableStartLocation": { # A particular location in the document. # The location where the table starts in the document. |
| 858 | "index": 42, # The zero-based index, in UTF-16 code units. |
| 859 | # |
| 860 | # The index is relative to the beginning of the segment specified by |
| 861 | # segment_id. |
| 862 | "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| 863 | # segment ID signifies the document's body. |
| 864 | }, |
| 865 | }, |
| 866 | }, |
| 867 | "deletePositionedObject": { # Deletes a PositionedObject from the # Deletes a positioned object from the document. |
| 868 | # document. |
| 869 | "objectId": "A String", # The ID of the positioned object to delete. |
| 870 | }, |
| 871 | "createNamedRange": { # Creates a NamedRange referencing the given # Creates a named range. |
| 872 | # range. |
| 873 | "range": { # Specifies a contiguous range of text. # The range to apply the name to. |
| 874 | "endIndex": 42, # The zero-based end index of this range, exclusive, in UTF-16 code units. |
| 875 | # |
| 876 | # In all current uses, an end index must be provided. This field is an |
| 877 | # Int32Value in order to accommodate future use cases with open-ended ranges. |
| 878 | "startIndex": 42, # The zero-based start index of this range, in UTF-16 code units. |
| 879 | # |
| 880 | # In all current uses, a start index must be provided. This field is an |
| 881 | # Int32Value in order to accommodate future use cases with open-ended ranges. |
| 882 | "segmentId": "A String", # The ID of the header, footer or footnote that this range is contained in. |
| 883 | # An empty segment ID signifies the document's body. |
| 884 | }, |
| 885 | "name": "A String", # The name of the NamedRange. Names do not need to be unique. |
| 886 | # |
| 887 | # Names must be at least 1 character and no more than 256 characters, |
| 888 | # measured in UTF-16 code units. |
| 889 | }, |
| 890 | "insertInlineImage": { # Inserts an InlineObject containing an # Inserts an inline image at the specified location. |
| 891 | # image at the given location. |
| 892 | "objectSize": { # A width and height. # The size that the image should appear as in the document. This property is |
| 893 | # optional and the final size of the image in the document is determined by |
| 894 | # the following rules: |
| 895 | # * If neither width nor height is specified, then a default size of the |
| 896 | # image is calculated based on its resolution. |
| 897 | # * If one dimension is specified then the other dimension is calculated to |
| 898 | # preserve the aspect ratio of the image. |
| 899 | # * If both width and height are specified, the image is scaled to fit |
| 900 | # within the provided dimensions while maintaining its aspect ratio. |
| 901 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 902 | "magnitude": 3.14, # The magnitude. |
| 903 | "unit": "A String", # The units for magnitude. |
| 904 | }, |
| 905 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 906 | "magnitude": 3.14, # The magnitude. |
| 907 | "unit": "A String", # The units for magnitude. |
| 908 | }, |
| 909 | }, |
| 910 | "endOfSegmentLocation": { # Location at the end of a body, header, footer or footnote. The location is # Inserts the text at the end of a header, footer or the document body. |
| 911 | # |
| 912 | # Inline images cannot be inserted inside a footnote. |
| 913 | # immediately before the last newline in the document segment. |
| 914 | "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| 915 | # segment ID signifies the document's body. |
| 916 | }, |
| 917 | "location": { # A particular location in the document. # Inserts the image at a specific index in the document. |
| 918 | # |
| 919 | # The image must be inserted inside the bounds of an existing |
| 920 | # Paragraph. For instance, it cannot be |
| 921 | # inserted at a table's start index (i.e. between the table and its |
| 922 | # preceding paragraph). |
| 923 | # |
| 924 | # Inline images cannot be inserted inside a footnote or equation. |
| 925 | "index": 42, # The zero-based index, in UTF-16 code units. |
| 926 | # |
| 927 | # The index is relative to the beginning of the segment specified by |
| 928 | # segment_id. |
| 929 | "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| 930 | # segment ID signifies the document's body. |
| 931 | }, |
| 932 | "uri": "A String", # The image URI. |
| 933 | # |
| 934 | # The image is fetched once at insertion time and a copy is stored for |
| 935 | # display inside the document. Images must be less than 50MB in size, cannot |
| 936 | # exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF format. |
| 937 | # |
| 938 | # The provided URI can be at most 2 kB in length. The URI itself is saved |
| 939 | # with the image, and exposed via the ImageProperties.content_uri field. |
| 940 | }, |
| 941 | }, |
| 942 | ], |
| 943 | "writeControl": { # Provides control over how write requests are executed. # Provides control over how write requests are executed. |
| 944 | "requiredRevisionId": "A String", # The revision ID of the |
| 945 | # document that the write request will be applied to. If this is not the |
| 946 | # latest revision of the document, the request will not be processed and |
| 947 | # will return a 400 bad request error. |
| 948 | # |
| 949 | # When a required revision ID is returned in a response, it indicates the |
| 950 | # revision ID of the document after the request was applied. |
| 951 | "targetRevisionId": "A String", # The target revision ID of the |
| 952 | # document that the write request will be applied to. |
| 953 | # |
| 954 | # If collaborator changes have occurred after the document was read using |
| 955 | # the API, the changes produced by this write request will be transformed |
| 956 | # against the collaborator changes. This results in a new revision of the |
| 957 | # document which incorporates both the changes in the request and the |
| 958 | # collaborator changes, and the Docs server will resolve conflicting |
| 959 | # changes. When using `target_revision_id`, the API client can be thought |
| 960 | # of as another collaborator of the document. |
| 961 | # |
| 962 | # The target revision ID may only be used to write to recent versions of a |
| 963 | # document. If the target revision is too far behind the latest revision, |
| 964 | # the request will not be processed and will return a 400 bad request error |
| 965 | # and the request should be retried after reading the latest version of the |
| 966 | # document. In most cases a `revision_id` will remain valid for use as a |
| 967 | # target revision for several minutes after it is read, but for |
| 968 | # frequently-edited documents this window may be shorter. |
| 969 | }, |
| 970 | } |
| 971 | |
| 972 | x__xgafv: string, V1 error format. |
| 973 | Allowed values |
| 974 | 1 - v1 error format |
| 975 | 2 - v2 error format |
| 976 | |
| 977 | Returns: |
| 978 | An object of the form: |
| 979 | |
| 980 | { # Response message from a BatchUpdateDocument request. |
| 981 | "writeControl": { # Provides control over how write requests are executed. # The updated write control after applying the request. |
| 982 | "requiredRevisionId": "A String", # The revision ID of the |
| 983 | # document that the write request will be applied to. If this is not the |
| 984 | # latest revision of the document, the request will not be processed and |
| 985 | # will return a 400 bad request error. |
| 986 | # |
| 987 | # When a required revision ID is returned in a response, it indicates the |
| 988 | # revision ID of the document after the request was applied. |
| 989 | "targetRevisionId": "A String", # The target revision ID of the |
| 990 | # document that the write request will be applied to. |
| 991 | # |
| 992 | # If collaborator changes have occurred after the document was read using |
| 993 | # the API, the changes produced by this write request will be transformed |
| 994 | # against the collaborator changes. This results in a new revision of the |
| 995 | # document which incorporates both the changes in the request and the |
| 996 | # collaborator changes, and the Docs server will resolve conflicting |
| 997 | # changes. When using `target_revision_id`, the API client can be thought |
| 998 | # of as another collaborator of the document. |
| 999 | # |
| 1000 | # The target revision ID may only be used to write to recent versions of a |
| 1001 | # document. If the target revision is too far behind the latest revision, |
| 1002 | # the request will not be processed and will return a 400 bad request error |
| 1003 | # and the request should be retried after reading the latest version of the |
| 1004 | # document. In most cases a `revision_id` will remain valid for use as a |
| 1005 | # target revision for several minutes after it is read, but for |
| 1006 | # frequently-edited documents this window may be shorter. |
| 1007 | }, |
| 1008 | "documentId": "A String", # The ID of the document to which the updates were applied to. |
| 1009 | "replies": [ # The reply of the updates. This maps 1:1 with the updates, although replies |
| 1010 | # to some requests may be empty. |
| 1011 | { # A single response from an update. |
| 1012 | "createNamedRange": { # The result of creating a named range. # The result of creating a named range. |
| 1013 | "namedRangeId": "A String", # The ID of the created named range. |
| 1014 | }, |
| 1015 | "replaceAllText": { # The result of replacing text. # The result of replacing text. |
| 1016 | "occurrencesChanged": 42, # The number of occurrences changed by replacing all text. |
| 1017 | }, |
| 1018 | "insertInlineSheetsChart": { # The result of inserting an embedded Google Sheets chart. # The result of inserting an inline Google Sheets chart. |
| 1019 | "objectId": "A String", # The object ID of the inserted chart. |
| 1020 | }, |
| 1021 | "insertInlineImage": { # The result of inserting an inline image. # The result of inserting an inline image. |
| 1022 | "objectId": "A String", # The ID of the created InlineObject. |
| 1023 | }, |
| 1024 | }, |
| 1025 | ], |
| 1026 | }</pre> |
| 1027 | </div> |
| 1028 | |
| 1029 | <div class="method"> |
| 1030 | <code class="details" id="create">create(body, x__xgafv=None)</code> |
| 1031 | <pre>Creates a blank document using the title given in the request. Other fields |
| 1032 | in the request, including any provided content, are ignored. |
| 1033 | |
| 1034 | Returns the created document. |
| 1035 | |
| 1036 | Args: |
| 1037 | body: object, The request body. (required) |
| 1038 | The object takes the form of: |
| 1039 | |
| 1040 | { # A Google Docs document. |
| 1041 | "body": { # The document body. # The main body of the document. |
| 1042 | # |
| 1043 | # The body typically contains the full document contents except for |
| 1044 | # headers, footers |
| 1045 | # and footnotes. |
| 1046 | "content": [ # The contents of the body. |
| 1047 | # |
| 1048 | # The indexes for the body's content begin at zero. |
| 1049 | { # A StructuralElement describes content that provides structure to the |
| 1050 | # document. |
| 1051 | "endIndex": 42, # The zero-based end index of this structural element, exclusive, in UTF-16 |
| 1052 | # code units. |
| 1053 | "sectionBreak": { # A StructuralElement representing a # A section break type of structural element. |
| 1054 | # section break. A section is a range of content which has the same |
| 1055 | # SectionStyle. A section break represents |
| 1056 | # the start of a new section, and the section style applies to the section |
| 1057 | # after the section break. |
| 1058 | # |
| 1059 | # The document body always begins with a section break. |
| 1060 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 1061 | # of this content. |
| 1062 | "A String", |
| 1063 | ], |
| 1064 | "sectionStyle": { # The styling that applies to a section. # The style of the section after this section break. |
| 1065 | "contentDirection": "A String", # The content direction of this section. If unset, the value defaults to |
| 1066 | # LEFT_TO_RIGHT. |
| 1067 | "columnProperties": [ # The section's columns properties. |
| 1068 | # |
| 1069 | # If empty, the section contains one column with the default properties in |
| 1070 | # the Docs editor. |
| 1071 | { # Properties that apply to a section's column. |
| 1072 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. |
| 1073 | "magnitude": 3.14, # The magnitude. |
| 1074 | "unit": "A String", # The units for magnitude. |
| 1075 | }, |
| 1076 | "paddingEnd": { # A magnitude in a single direction in the specified units. # The padding at the end of the column. |
| 1077 | "magnitude": 3.14, # The magnitude. |
| 1078 | "unit": "A String", # The units for magnitude. |
| 1079 | }, |
| 1080 | }, |
| 1081 | ], |
| 1082 | "columnSeparatorStyle": "A String", # The style of column separators. |
| 1083 | # |
| 1084 | # This style can be set even when there is one column in the section. |
| 1085 | }, |
| 1086 | "suggestedInsertionIds": [ # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is |
| 1087 | # a nested suggested change. If empty, then this is not a suggested |
| 1088 | # insertion. |
| 1089 | "A String", |
| 1090 | ], |
| 1091 | }, |
| 1092 | "tableOfContents": { # A StructuralElement representing # A table of contents type of structural element. |
| 1093 | # a table of contents. |
| 1094 | "content": [ # The content of the table of contents. |
| 1095 | # Object with schema name: StructuralElement |
| 1096 | ], |
| 1097 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 1098 | # of this content. |
| 1099 | "A String", |
| 1100 | ], |
| 1101 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it |
| 1102 | # is a nested suggested change. If empty, then this is not a suggested |
| 1103 | # insertion. |
| 1104 | "A String", |
| 1105 | ], |
| 1106 | }, |
| 1107 | "startIndex": 42, # The zero-based start index of this structural element, in UTF-16 code |
| 1108 | # units. |
| 1109 | "paragraph": { # A StructuralElement representing a # A paragraph type of structural element. |
| 1110 | # paragraph. A paragraph is a range of content that is terminated with a |
| 1111 | # newline character. |
| 1112 | "elements": [ # The content of the paragraph broken down into its component parts. |
| 1113 | { # A ParagraphElement describes content within a |
| 1114 | # Paragraph. |
| 1115 | "endIndex": 42, # The zero-base end index of this paragraph element, exclusive, in UTF-16 |
| 1116 | # code units. |
| 1117 | "equation": { # A ParagraphElement representing an # An equation paragraph element. |
| 1118 | # equation. |
| 1119 | "suggestedInsertionIds": [ # The suggested insertion IDs. A Equation |
| 1120 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 1121 | # empty, then this is not a suggested insertion. |
| 1122 | "A String", |
| 1123 | ], |
| 1124 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 1125 | # of this content. |
| 1126 | "A String", |
| 1127 | ], |
| 1128 | }, |
| 1129 | "columnBreak": { # A ParagraphElement representing a # A column break paragraph element. |
| 1130 | # column break. A column break makes the subsequent text start at the top of |
| 1131 | # the next column. |
| 1132 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this ColumnBreak. |
| 1133 | # |
| 1134 | # Similar to text content, like text runs and footnote references, the text |
| 1135 | # style of a column break can affect content layout as well as the styling of |
| 1136 | # text inserted adjacent to it. |
| 1137 | # |
| 1138 | # Inherited text styles are represented as unset fields in this message. A |
| 1139 | # text style's parent depends on where the text style is defined: |
| 1140 | # |
| 1141 | # * The TextStyle of text in a Paragraph |
| 1142 | # inherits from the paragraph's corresponding named style type. |
| 1143 | # * The TextStyle on a named style |
| 1144 | # inherits from the normal text named style. |
| 1145 | # * The TextStyle of the normal text named style inherits |
| 1146 | # from the default text style in the Docs editor. |
| 1147 | # * The TextStyle on a Paragraph element |
| 1148 | # that is contained in a table may inherit its text style from the table |
| 1149 | # style. |
| 1150 | # |
| 1151 | # If the text style does not inherit from a parent, unsetting fields will |
| 1152 | # revert the style to a value matching the defaults in the Docs editor. |
| 1153 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 1154 | # or transparent, depending on the `color` field. |
| 1155 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 1156 | # a transparent color. |
| 1157 | "rgbColor": { # An RGB color. # The RGB color value. |
| 1158 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1159 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1160 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1161 | }, |
| 1162 | }, |
| 1163 | }, |
| 1164 | "italic": True or False, # Whether or not the text is italicized. |
| 1165 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 1166 | # |
| 1167 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 1168 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 1169 | # The `font_size` itself is not affected by changes in this field. |
| 1170 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 1171 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 1172 | # |
| 1173 | # If an update request specifies values for both `weighted_font_family` and |
| 1174 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 1175 | # |
| 1176 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 1177 | # |
| 1178 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 1179 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 1180 | # is returned. |
| 1181 | "fontFamily": "A String", # The font family of the text. |
| 1182 | # |
| 1183 | # The font family can be any font from the Font menu in Docs or from |
| 1184 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1185 | # unrecognized, the text is rendered in `Arial`. |
| 1186 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 1187 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 1188 | # numerical values described in the CSS 2.1 Specification, |
| 1189 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 1190 | # non-numerical values disallowed. |
| 1191 | # |
| 1192 | # The default value is `400` ("normal"). |
| 1193 | # |
| 1194 | # The font weight makes up just one component of the rendered font weight. |
| 1195 | # The rendered weight is determined by a combination of the `weight` and the |
| 1196 | # text style's resolved `bold` value, after accounting for inheritance: |
| 1197 | # |
| 1198 | # * If the text is bold and the weight is less than `400`, the rendered |
| 1199 | # weight is 400. |
| 1200 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 1201 | # is less than `700`, the rendered weight is `700`. |
| 1202 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 1203 | # equal to the weight. |
| 1204 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 1205 | }, |
| 1206 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 1207 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 1208 | "magnitude": 3.14, # The magnitude. |
| 1209 | "unit": "A String", # The units for magnitude. |
| 1210 | }, |
| 1211 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 1212 | # or transparent, depending on the `color` field. |
| 1213 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 1214 | # a transparent color. |
| 1215 | "rgbColor": { # An RGB color. # The RGB color value. |
| 1216 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1217 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1218 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1219 | }, |
| 1220 | }, |
| 1221 | }, |
| 1222 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 1223 | # are not inherited from parent text. |
| 1224 | # |
| 1225 | # Changing the link in an update request causes some other changes to the |
| 1226 | # text style of the range: |
| 1227 | # |
| 1228 | # * When setting a link, the text foreground color will be updated to the |
| 1229 | # default link color and the text will be underlined. If these fields are |
| 1230 | # modified in the same request, those values will be used instead of the |
| 1231 | # link defaults. |
| 1232 | # * Setting a link on a text range that overlaps with an existing link will |
| 1233 | # also update the existing link to point to the new URL. |
| 1234 | # * Links are not settable on newline characters. As a result, setting a link |
| 1235 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 1236 | # will separate the newline character(s) into their own text runs. The |
| 1237 | # link will be applied separately to the runs before and after the newline. |
| 1238 | # * Removing a link will update the text style of the range to match the |
| 1239 | # style of the preceding text (or the default text styles if the preceding |
| 1240 | # text is another link) unless different styles are being set in the same |
| 1241 | # request. |
| 1242 | "headingId": "A String", # The ID of a heading in this document. |
| 1243 | "url": "A String", # An external URL. |
| 1244 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 1245 | }, |
| 1246 | "underline": True or False, # Whether or not the text is underlined. |
| 1247 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 1248 | }, |
| 1249 | "suggestedInsertionIds": [ # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is |
| 1250 | # a nested suggested change. If empty, then this is not a suggested |
| 1251 | # insertion. |
| 1252 | "A String", |
| 1253 | ], |
| 1254 | "suggestedTextStyleChanges": { # The suggested text style changes to this ColumnBreak, keyed by suggestion |
| 1255 | # ID. |
| 1256 | "a_key": { # A suggested change to a TextStyle. |
| 1257 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 1258 | # the changes made in this suggestion. This can be used along with the |
| 1259 | # text_style_suggestion_state |
| 1260 | # to see which fields have changed and their new values. |
| 1261 | # |
| 1262 | # Inherited text styles are represented as unset fields in this message. A |
| 1263 | # text style's parent depends on where the text style is defined: |
| 1264 | # |
| 1265 | # * The TextStyle of text in a Paragraph |
| 1266 | # inherits from the paragraph's corresponding named style type. |
| 1267 | # * The TextStyle on a named style |
| 1268 | # inherits from the normal text named style. |
| 1269 | # * The TextStyle of the normal text named style inherits |
| 1270 | # from the default text style in the Docs editor. |
| 1271 | # * The TextStyle on a Paragraph element |
| 1272 | # that is contained in a table may inherit its text style from the table |
| 1273 | # style. |
| 1274 | # |
| 1275 | # If the text style does not inherit from a parent, unsetting fields will |
| 1276 | # revert the style to a value matching the defaults in the Docs editor. |
| 1277 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 1278 | # or transparent, depending on the `color` field. |
| 1279 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 1280 | # a transparent color. |
| 1281 | "rgbColor": { # An RGB color. # The RGB color value. |
| 1282 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1283 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1284 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1285 | }, |
| 1286 | }, |
| 1287 | }, |
| 1288 | "italic": True or False, # Whether or not the text is italicized. |
| 1289 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 1290 | # |
| 1291 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 1292 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 1293 | # The `font_size` itself is not affected by changes in this field. |
| 1294 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 1295 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 1296 | # |
| 1297 | # If an update request specifies values for both `weighted_font_family` and |
| 1298 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 1299 | # |
| 1300 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 1301 | # |
| 1302 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 1303 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 1304 | # is returned. |
| 1305 | "fontFamily": "A String", # The font family of the text. |
| 1306 | # |
| 1307 | # The font family can be any font from the Font menu in Docs or from |
| 1308 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1309 | # unrecognized, the text is rendered in `Arial`. |
| 1310 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 1311 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 1312 | # numerical values described in the CSS 2.1 Specification, |
| 1313 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 1314 | # non-numerical values disallowed. |
| 1315 | # |
| 1316 | # The default value is `400` ("normal"). |
| 1317 | # |
| 1318 | # The font weight makes up just one component of the rendered font weight. |
| 1319 | # The rendered weight is determined by a combination of the `weight` and the |
| 1320 | # text style's resolved `bold` value, after accounting for inheritance: |
| 1321 | # |
| 1322 | # * If the text is bold and the weight is less than `400`, the rendered |
| 1323 | # weight is 400. |
| 1324 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 1325 | # is less than `700`, the rendered weight is `700`. |
| 1326 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 1327 | # equal to the weight. |
| 1328 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 1329 | }, |
| 1330 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 1331 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 1332 | "magnitude": 3.14, # The magnitude. |
| 1333 | "unit": "A String", # The units for magnitude. |
| 1334 | }, |
| 1335 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 1336 | # or transparent, depending on the `color` field. |
| 1337 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 1338 | # a transparent color. |
| 1339 | "rgbColor": { # An RGB color. # The RGB color value. |
| 1340 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1341 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1342 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1343 | }, |
| 1344 | }, |
| 1345 | }, |
| 1346 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 1347 | # are not inherited from parent text. |
| 1348 | # |
| 1349 | # Changing the link in an update request causes some other changes to the |
| 1350 | # text style of the range: |
| 1351 | # |
| 1352 | # * When setting a link, the text foreground color will be updated to the |
| 1353 | # default link color and the text will be underlined. If these fields are |
| 1354 | # modified in the same request, those values will be used instead of the |
| 1355 | # link defaults. |
| 1356 | # * Setting a link on a text range that overlaps with an existing link will |
| 1357 | # also update the existing link to point to the new URL. |
| 1358 | # * Links are not settable on newline characters. As a result, setting a link |
| 1359 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 1360 | # will separate the newline character(s) into their own text runs. The |
| 1361 | # link will be applied separately to the runs before and after the newline. |
| 1362 | # * Removing a link will update the text style of the range to match the |
| 1363 | # style of the preceding text (or the default text styles if the preceding |
| 1364 | # text is another link) unless different styles are being set in the same |
| 1365 | # request. |
| 1366 | "headingId": "A String", # The ID of a heading in this document. |
| 1367 | "url": "A String", # An external URL. |
| 1368 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 1369 | }, |
| 1370 | "underline": True or False, # Whether or not the text is underlined. |
| 1371 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 1372 | }, |
| 1373 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 1374 | # For any field set to true, there is a new suggested value. |
| 1375 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 1376 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 1377 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 1378 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 1379 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 1380 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 1381 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 1382 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 1383 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 1384 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 1385 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 1386 | }, |
| 1387 | }, |
| 1388 | }, |
| 1389 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 1390 | # of this content. |
| 1391 | "A String", |
| 1392 | ], |
| 1393 | }, |
| 1394 | "startIndex": 42, # The zero-based start index of this paragraph element, in UTF-16 code units. |
| 1395 | "pageBreak": { # A ParagraphElement representing a # A page break paragraph element. |
| 1396 | # page break. A page break makes the subsequent text start at the top of the |
| 1397 | # next page. |
| 1398 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this PageBreak. |
| 1399 | # |
| 1400 | # Similar to text content, like text runs and footnote references, the text |
| 1401 | # style of a page break can affect content layout as well as the styling of |
| 1402 | # text inserted adjacent to it. |
| 1403 | # |
| 1404 | # Inherited text styles are represented as unset fields in this message. A |
| 1405 | # text style's parent depends on where the text style is defined: |
| 1406 | # |
| 1407 | # * The TextStyle of text in a Paragraph |
| 1408 | # inherits from the paragraph's corresponding named style type. |
| 1409 | # * The TextStyle on a named style |
| 1410 | # inherits from the normal text named style. |
| 1411 | # * The TextStyle of the normal text named style inherits |
| 1412 | # from the default text style in the Docs editor. |
| 1413 | # * The TextStyle on a Paragraph element |
| 1414 | # that is contained in a table may inherit its text style from the table |
| 1415 | # style. |
| 1416 | # |
| 1417 | # If the text style does not inherit from a parent, unsetting fields will |
| 1418 | # revert the style to a value matching the defaults in the Docs editor. |
| 1419 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 1420 | # or transparent, depending on the `color` field. |
| 1421 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 1422 | # a transparent color. |
| 1423 | "rgbColor": { # An RGB color. # The RGB color value. |
| 1424 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1425 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1426 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1427 | }, |
| 1428 | }, |
| 1429 | }, |
| 1430 | "italic": True or False, # Whether or not the text is italicized. |
| 1431 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 1432 | # |
| 1433 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 1434 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 1435 | # The `font_size` itself is not affected by changes in this field. |
| 1436 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 1437 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 1438 | # |
| 1439 | # If an update request specifies values for both `weighted_font_family` and |
| 1440 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 1441 | # |
| 1442 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 1443 | # |
| 1444 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 1445 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 1446 | # is returned. |
| 1447 | "fontFamily": "A String", # The font family of the text. |
| 1448 | # |
| 1449 | # The font family can be any font from the Font menu in Docs or from |
| 1450 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1451 | # unrecognized, the text is rendered in `Arial`. |
| 1452 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 1453 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 1454 | # numerical values described in the CSS 2.1 Specification, |
| 1455 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 1456 | # non-numerical values disallowed. |
| 1457 | # |
| 1458 | # The default value is `400` ("normal"). |
| 1459 | # |
| 1460 | # The font weight makes up just one component of the rendered font weight. |
| 1461 | # The rendered weight is determined by a combination of the `weight` and the |
| 1462 | # text style's resolved `bold` value, after accounting for inheritance: |
| 1463 | # |
| 1464 | # * If the text is bold and the weight is less than `400`, the rendered |
| 1465 | # weight is 400. |
| 1466 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 1467 | # is less than `700`, the rendered weight is `700`. |
| 1468 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 1469 | # equal to the weight. |
| 1470 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 1471 | }, |
| 1472 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 1473 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 1474 | "magnitude": 3.14, # The magnitude. |
| 1475 | "unit": "A String", # The units for magnitude. |
| 1476 | }, |
| 1477 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 1478 | # or transparent, depending on the `color` field. |
| 1479 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 1480 | # a transparent color. |
| 1481 | "rgbColor": { # An RGB color. # The RGB color value. |
| 1482 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1483 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1484 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1485 | }, |
| 1486 | }, |
| 1487 | }, |
| 1488 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 1489 | # are not inherited from parent text. |
| 1490 | # |
| 1491 | # Changing the link in an update request causes some other changes to the |
| 1492 | # text style of the range: |
| 1493 | # |
| 1494 | # * When setting a link, the text foreground color will be updated to the |
| 1495 | # default link color and the text will be underlined. If these fields are |
| 1496 | # modified in the same request, those values will be used instead of the |
| 1497 | # link defaults. |
| 1498 | # * Setting a link on a text range that overlaps with an existing link will |
| 1499 | # also update the existing link to point to the new URL. |
| 1500 | # * Links are not settable on newline characters. As a result, setting a link |
| 1501 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 1502 | # will separate the newline character(s) into their own text runs. The |
| 1503 | # link will be applied separately to the runs before and after the newline. |
| 1504 | # * Removing a link will update the text style of the range to match the |
| 1505 | # style of the preceding text (or the default text styles if the preceding |
| 1506 | # text is another link) unless different styles are being set in the same |
| 1507 | # request. |
| 1508 | "headingId": "A String", # The ID of a heading in this document. |
| 1509 | "url": "A String", # An external URL. |
| 1510 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 1511 | }, |
| 1512 | "underline": True or False, # Whether or not the text is underlined. |
| 1513 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 1514 | }, |
| 1515 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 1516 | # of this content. |
| 1517 | "A String", |
| 1518 | ], |
| 1519 | "suggestedTextStyleChanges": { # The suggested text style changes to this PageBreak, keyed by suggestion ID. |
| 1520 | "a_key": { # A suggested change to a TextStyle. |
| 1521 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 1522 | # the changes made in this suggestion. This can be used along with the |
| 1523 | # text_style_suggestion_state |
| 1524 | # to see which fields have changed and their new values. |
| 1525 | # |
| 1526 | # Inherited text styles are represented as unset fields in this message. A |
| 1527 | # text style's parent depends on where the text style is defined: |
| 1528 | # |
| 1529 | # * The TextStyle of text in a Paragraph |
| 1530 | # inherits from the paragraph's corresponding named style type. |
| 1531 | # * The TextStyle on a named style |
| 1532 | # inherits from the normal text named style. |
| 1533 | # * The TextStyle of the normal text named style inherits |
| 1534 | # from the default text style in the Docs editor. |
| 1535 | # * The TextStyle on a Paragraph element |
| 1536 | # that is contained in a table may inherit its text style from the table |
| 1537 | # style. |
| 1538 | # |
| 1539 | # If the text style does not inherit from a parent, unsetting fields will |
| 1540 | # revert the style to a value matching the defaults in the Docs editor. |
| 1541 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 1542 | # or transparent, depending on the `color` field. |
| 1543 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 1544 | # a transparent color. |
| 1545 | "rgbColor": { # An RGB color. # The RGB color value. |
| 1546 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1547 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1548 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1549 | }, |
| 1550 | }, |
| 1551 | }, |
| 1552 | "italic": True or False, # Whether or not the text is italicized. |
| 1553 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 1554 | # |
| 1555 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 1556 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 1557 | # The `font_size` itself is not affected by changes in this field. |
| 1558 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 1559 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 1560 | # |
| 1561 | # If an update request specifies values for both `weighted_font_family` and |
| 1562 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 1563 | # |
| 1564 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 1565 | # |
| 1566 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 1567 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 1568 | # is returned. |
| 1569 | "fontFamily": "A String", # The font family of the text. |
| 1570 | # |
| 1571 | # The font family can be any font from the Font menu in Docs or from |
| 1572 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1573 | # unrecognized, the text is rendered in `Arial`. |
| 1574 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 1575 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 1576 | # numerical values described in the CSS 2.1 Specification, |
| 1577 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 1578 | # non-numerical values disallowed. |
| 1579 | # |
| 1580 | # The default value is `400` ("normal"). |
| 1581 | # |
| 1582 | # The font weight makes up just one component of the rendered font weight. |
| 1583 | # The rendered weight is determined by a combination of the `weight` and the |
| 1584 | # text style's resolved `bold` value, after accounting for inheritance: |
| 1585 | # |
| 1586 | # * If the text is bold and the weight is less than `400`, the rendered |
| 1587 | # weight is 400. |
| 1588 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 1589 | # is less than `700`, the rendered weight is `700`. |
| 1590 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 1591 | # equal to the weight. |
| 1592 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 1593 | }, |
| 1594 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 1595 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 1596 | "magnitude": 3.14, # The magnitude. |
| 1597 | "unit": "A String", # The units for magnitude. |
| 1598 | }, |
| 1599 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 1600 | # or transparent, depending on the `color` field. |
| 1601 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 1602 | # a transparent color. |
| 1603 | "rgbColor": { # An RGB color. # The RGB color value. |
| 1604 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1605 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1606 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1607 | }, |
| 1608 | }, |
| 1609 | }, |
| 1610 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 1611 | # are not inherited from parent text. |
| 1612 | # |
| 1613 | # Changing the link in an update request causes some other changes to the |
| 1614 | # text style of the range: |
| 1615 | # |
| 1616 | # * When setting a link, the text foreground color will be updated to the |
| 1617 | # default link color and the text will be underlined. If these fields are |
| 1618 | # modified in the same request, those values will be used instead of the |
| 1619 | # link defaults. |
| 1620 | # * Setting a link on a text range that overlaps with an existing link will |
| 1621 | # also update the existing link to point to the new URL. |
| 1622 | # * Links are not settable on newline characters. As a result, setting a link |
| 1623 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 1624 | # will separate the newline character(s) into their own text runs. The |
| 1625 | # link will be applied separately to the runs before and after the newline. |
| 1626 | # * Removing a link will update the text style of the range to match the |
| 1627 | # style of the preceding text (or the default text styles if the preceding |
| 1628 | # text is another link) unless different styles are being set in the same |
| 1629 | # request. |
| 1630 | "headingId": "A String", # The ID of a heading in this document. |
| 1631 | "url": "A String", # An external URL. |
| 1632 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 1633 | }, |
| 1634 | "underline": True or False, # Whether or not the text is underlined. |
| 1635 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 1636 | }, |
| 1637 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 1638 | # For any field set to true, there is a new suggested value. |
| 1639 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 1640 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 1641 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 1642 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 1643 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 1644 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 1645 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 1646 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 1647 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 1648 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 1649 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 1650 | }, |
| 1651 | }, |
| 1652 | }, |
| 1653 | "suggestedInsertionIds": [ # The suggested insertion IDs. A PageBreak |
| 1654 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 1655 | # empty, then this is not a suggested insertion. |
| 1656 | "A String", |
| 1657 | ], |
| 1658 | }, |
| 1659 | "horizontalRule": { # A ParagraphElement representing a # A horizontal rule paragraph element. |
| 1660 | # horizontal line. |
| 1661 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this HorizontalRule. |
| 1662 | # |
| 1663 | # Similar to text content, like text runs and footnote references, the text |
| 1664 | # style of a horizontal rule can affect content layout as well as the styling |
| 1665 | # of text inserted adjacent to it. |
| 1666 | # |
| 1667 | # Inherited text styles are represented as unset fields in this message. A |
| 1668 | # text style's parent depends on where the text style is defined: |
| 1669 | # |
| 1670 | # * The TextStyle of text in a Paragraph |
| 1671 | # inherits from the paragraph's corresponding named style type. |
| 1672 | # * The TextStyle on a named style |
| 1673 | # inherits from the normal text named style. |
| 1674 | # * The TextStyle of the normal text named style inherits |
| 1675 | # from the default text style in the Docs editor. |
| 1676 | # * The TextStyle on a Paragraph element |
| 1677 | # that is contained in a table may inherit its text style from the table |
| 1678 | # style. |
| 1679 | # |
| 1680 | # If the text style does not inherit from a parent, unsetting fields will |
| 1681 | # revert the style to a value matching the defaults in the Docs editor. |
| 1682 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 1683 | # or transparent, depending on the `color` field. |
| 1684 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 1685 | # a transparent color. |
| 1686 | "rgbColor": { # An RGB color. # The RGB color value. |
| 1687 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1688 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1689 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1690 | }, |
| 1691 | }, |
| 1692 | }, |
| 1693 | "italic": True or False, # Whether or not the text is italicized. |
| 1694 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 1695 | # |
| 1696 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 1697 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 1698 | # The `font_size` itself is not affected by changes in this field. |
| 1699 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 1700 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 1701 | # |
| 1702 | # If an update request specifies values for both `weighted_font_family` and |
| 1703 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 1704 | # |
| 1705 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 1706 | # |
| 1707 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 1708 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 1709 | # is returned. |
| 1710 | "fontFamily": "A String", # The font family of the text. |
| 1711 | # |
| 1712 | # The font family can be any font from the Font menu in Docs or from |
| 1713 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1714 | # unrecognized, the text is rendered in `Arial`. |
| 1715 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 1716 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 1717 | # numerical values described in the CSS 2.1 Specification, |
| 1718 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 1719 | # non-numerical values disallowed. |
| 1720 | # |
| 1721 | # The default value is `400` ("normal"). |
| 1722 | # |
| 1723 | # The font weight makes up just one component of the rendered font weight. |
| 1724 | # The rendered weight is determined by a combination of the `weight` and the |
| 1725 | # text style's resolved `bold` value, after accounting for inheritance: |
| 1726 | # |
| 1727 | # * If the text is bold and the weight is less than `400`, the rendered |
| 1728 | # weight is 400. |
| 1729 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 1730 | # is less than `700`, the rendered weight is `700`. |
| 1731 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 1732 | # equal to the weight. |
| 1733 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 1734 | }, |
| 1735 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 1736 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 1737 | "magnitude": 3.14, # The magnitude. |
| 1738 | "unit": "A String", # The units for magnitude. |
| 1739 | }, |
| 1740 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 1741 | # or transparent, depending on the `color` field. |
| 1742 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 1743 | # a transparent color. |
| 1744 | "rgbColor": { # An RGB color. # The RGB color value. |
| 1745 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1746 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1747 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1748 | }, |
| 1749 | }, |
| 1750 | }, |
| 1751 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 1752 | # are not inherited from parent text. |
| 1753 | # |
| 1754 | # Changing the link in an update request causes some other changes to the |
| 1755 | # text style of the range: |
| 1756 | # |
| 1757 | # * When setting a link, the text foreground color will be updated to the |
| 1758 | # default link color and the text will be underlined. If these fields are |
| 1759 | # modified in the same request, those values will be used instead of the |
| 1760 | # link defaults. |
| 1761 | # * Setting a link on a text range that overlaps with an existing link will |
| 1762 | # also update the existing link to point to the new URL. |
| 1763 | # * Links are not settable on newline characters. As a result, setting a link |
| 1764 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 1765 | # will separate the newline character(s) into their own text runs. The |
| 1766 | # link will be applied separately to the runs before and after the newline. |
| 1767 | # * Removing a link will update the text style of the range to match the |
| 1768 | # style of the preceding text (or the default text styles if the preceding |
| 1769 | # text is another link) unless different styles are being set in the same |
| 1770 | # request. |
| 1771 | "headingId": "A String", # The ID of a heading in this document. |
| 1772 | "url": "A String", # An external URL. |
| 1773 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 1774 | }, |
| 1775 | "underline": True or False, # Whether or not the text is underlined. |
| 1776 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 1777 | }, |
| 1778 | "suggestedInsertionIds": [ # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it |
| 1779 | # is a nested suggested change. If empty, then this is not a suggested |
| 1780 | # insertion. |
| 1781 | "A String", |
| 1782 | ], |
| 1783 | "suggestedTextStyleChanges": { # The suggested text style changes to this HorizontalRule, keyed by |
| 1784 | # suggestion ID. |
| 1785 | "a_key": { # A suggested change to a TextStyle. |
| 1786 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 1787 | # the changes made in this suggestion. This can be used along with the |
| 1788 | # text_style_suggestion_state |
| 1789 | # to see which fields have changed and their new values. |
| 1790 | # |
| 1791 | # Inherited text styles are represented as unset fields in this message. A |
| 1792 | # text style's parent depends on where the text style is defined: |
| 1793 | # |
| 1794 | # * The TextStyle of text in a Paragraph |
| 1795 | # inherits from the paragraph's corresponding named style type. |
| 1796 | # * The TextStyle on a named style |
| 1797 | # inherits from the normal text named style. |
| 1798 | # * The TextStyle of the normal text named style inherits |
| 1799 | # from the default text style in the Docs editor. |
| 1800 | # * The TextStyle on a Paragraph element |
| 1801 | # that is contained in a table may inherit its text style from the table |
| 1802 | # style. |
| 1803 | # |
| 1804 | # If the text style does not inherit from a parent, unsetting fields will |
| 1805 | # revert the style to a value matching the defaults in the Docs editor. |
| 1806 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 1807 | # or transparent, depending on the `color` field. |
| 1808 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 1809 | # a transparent color. |
| 1810 | "rgbColor": { # An RGB color. # The RGB color value. |
| 1811 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1812 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1813 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1814 | }, |
| 1815 | }, |
| 1816 | }, |
| 1817 | "italic": True or False, # Whether or not the text is italicized. |
| 1818 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 1819 | # |
| 1820 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 1821 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 1822 | # The `font_size` itself is not affected by changes in this field. |
| 1823 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 1824 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 1825 | # |
| 1826 | # If an update request specifies values for both `weighted_font_family` and |
| 1827 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 1828 | # |
| 1829 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 1830 | # |
| 1831 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 1832 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 1833 | # is returned. |
| 1834 | "fontFamily": "A String", # The font family of the text. |
| 1835 | # |
| 1836 | # The font family can be any font from the Font menu in Docs or from |
| 1837 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1838 | # unrecognized, the text is rendered in `Arial`. |
| 1839 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 1840 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 1841 | # numerical values described in the CSS 2.1 Specification, |
| 1842 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 1843 | # non-numerical values disallowed. |
| 1844 | # |
| 1845 | # The default value is `400` ("normal"). |
| 1846 | # |
| 1847 | # The font weight makes up just one component of the rendered font weight. |
| 1848 | # The rendered weight is determined by a combination of the `weight` and the |
| 1849 | # text style's resolved `bold` value, after accounting for inheritance: |
| 1850 | # |
| 1851 | # * If the text is bold and the weight is less than `400`, the rendered |
| 1852 | # weight is 400. |
| 1853 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 1854 | # is less than `700`, the rendered weight is `700`. |
| 1855 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 1856 | # equal to the weight. |
| 1857 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 1858 | }, |
| 1859 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 1860 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 1861 | "magnitude": 3.14, # The magnitude. |
| 1862 | "unit": "A String", # The units for magnitude. |
| 1863 | }, |
| 1864 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 1865 | # or transparent, depending on the `color` field. |
| 1866 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 1867 | # a transparent color. |
| 1868 | "rgbColor": { # An RGB color. # The RGB color value. |
| 1869 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1870 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1871 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1872 | }, |
| 1873 | }, |
| 1874 | }, |
| 1875 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 1876 | # are not inherited from parent text. |
| 1877 | # |
| 1878 | # Changing the link in an update request causes some other changes to the |
| 1879 | # text style of the range: |
| 1880 | # |
| 1881 | # * When setting a link, the text foreground color will be updated to the |
| 1882 | # default link color and the text will be underlined. If these fields are |
| 1883 | # modified in the same request, those values will be used instead of the |
| 1884 | # link defaults. |
| 1885 | # * Setting a link on a text range that overlaps with an existing link will |
| 1886 | # also update the existing link to point to the new URL. |
| 1887 | # * Links are not settable on newline characters. As a result, setting a link |
| 1888 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 1889 | # will separate the newline character(s) into their own text runs. The |
| 1890 | # link will be applied separately to the runs before and after the newline. |
| 1891 | # * Removing a link will update the text style of the range to match the |
| 1892 | # style of the preceding text (or the default text styles if the preceding |
| 1893 | # text is another link) unless different styles are being set in the same |
| 1894 | # request. |
| 1895 | "headingId": "A String", # The ID of a heading in this document. |
| 1896 | "url": "A String", # An external URL. |
| 1897 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 1898 | }, |
| 1899 | "underline": True or False, # Whether or not the text is underlined. |
| 1900 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 1901 | }, |
| 1902 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 1903 | # For any field set to true, there is a new suggested value. |
| 1904 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 1905 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 1906 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 1907 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 1908 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 1909 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 1910 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 1911 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 1912 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 1913 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 1914 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 1915 | }, |
| 1916 | }, |
| 1917 | }, |
| 1918 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 1919 | # of this content. |
| 1920 | "A String", |
| 1921 | ], |
| 1922 | }, |
| 1923 | "textRun": { # A ParagraphElement that represents a # A text run paragraph element. |
| 1924 | # run of text that all has the same styling. |
| 1925 | "content": "A String", # The text of this run. |
| 1926 | # |
| 1927 | # Any non-text elements in the run are replaced with the Unicode character |
| 1928 | # U+E907. |
| 1929 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this run. |
| 1930 | # |
| 1931 | # Inherited text styles are represented as unset fields in this message. A |
| 1932 | # text style's parent depends on where the text style is defined: |
| 1933 | # |
| 1934 | # * The TextStyle of text in a Paragraph |
| 1935 | # inherits from the paragraph's corresponding named style type. |
| 1936 | # * The TextStyle on a named style |
| 1937 | # inherits from the normal text named style. |
| 1938 | # * The TextStyle of the normal text named style inherits |
| 1939 | # from the default text style in the Docs editor. |
| 1940 | # * The TextStyle on a Paragraph element |
| 1941 | # that is contained in a table may inherit its text style from the table |
| 1942 | # style. |
| 1943 | # |
| 1944 | # If the text style does not inherit from a parent, unsetting fields will |
| 1945 | # revert the style to a value matching the defaults in the Docs editor. |
| 1946 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 1947 | # or transparent, depending on the `color` field. |
| 1948 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 1949 | # a transparent color. |
| 1950 | "rgbColor": { # An RGB color. # The RGB color value. |
| 1951 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1952 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1953 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1954 | }, |
| 1955 | }, |
| 1956 | }, |
| 1957 | "italic": True or False, # Whether or not the text is italicized. |
| 1958 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 1959 | # |
| 1960 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 1961 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 1962 | # The `font_size` itself is not affected by changes in this field. |
| 1963 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 1964 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 1965 | # |
| 1966 | # If an update request specifies values for both `weighted_font_family` and |
| 1967 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 1968 | # |
| 1969 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 1970 | # |
| 1971 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 1972 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 1973 | # is returned. |
| 1974 | "fontFamily": "A String", # The font family of the text. |
| 1975 | # |
| 1976 | # The font family can be any font from the Font menu in Docs or from |
| 1977 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1978 | # unrecognized, the text is rendered in `Arial`. |
| 1979 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 1980 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 1981 | # numerical values described in the CSS 2.1 Specification, |
| 1982 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 1983 | # non-numerical values disallowed. |
| 1984 | # |
| 1985 | # The default value is `400` ("normal"). |
| 1986 | # |
| 1987 | # The font weight makes up just one component of the rendered font weight. |
| 1988 | # The rendered weight is determined by a combination of the `weight` and the |
| 1989 | # text style's resolved `bold` value, after accounting for inheritance: |
| 1990 | # |
| 1991 | # * If the text is bold and the weight is less than `400`, the rendered |
| 1992 | # weight is 400. |
| 1993 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 1994 | # is less than `700`, the rendered weight is `700`. |
| 1995 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 1996 | # equal to the weight. |
| 1997 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 1998 | }, |
| 1999 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 2000 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 2001 | "magnitude": 3.14, # The magnitude. |
| 2002 | "unit": "A String", # The units for magnitude. |
| 2003 | }, |
| 2004 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 2005 | # or transparent, depending on the `color` field. |
| 2006 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 2007 | # a transparent color. |
| 2008 | "rgbColor": { # An RGB color. # The RGB color value. |
| 2009 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2010 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2011 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2012 | }, |
| 2013 | }, |
| 2014 | }, |
| 2015 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 2016 | # are not inherited from parent text. |
| 2017 | # |
| 2018 | # Changing the link in an update request causes some other changes to the |
| 2019 | # text style of the range: |
| 2020 | # |
| 2021 | # * When setting a link, the text foreground color will be updated to the |
| 2022 | # default link color and the text will be underlined. If these fields are |
| 2023 | # modified in the same request, those values will be used instead of the |
| 2024 | # link defaults. |
| 2025 | # * Setting a link on a text range that overlaps with an existing link will |
| 2026 | # also update the existing link to point to the new URL. |
| 2027 | # * Links are not settable on newline characters. As a result, setting a link |
| 2028 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 2029 | # will separate the newline character(s) into their own text runs. The |
| 2030 | # link will be applied separately to the runs before and after the newline. |
| 2031 | # * Removing a link will update the text style of the range to match the |
| 2032 | # style of the preceding text (or the default text styles if the preceding |
| 2033 | # text is another link) unless different styles are being set in the same |
| 2034 | # request. |
| 2035 | "headingId": "A String", # The ID of a heading in this document. |
| 2036 | "url": "A String", # An external URL. |
| 2037 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 2038 | }, |
| 2039 | "underline": True or False, # Whether or not the text is underlined. |
| 2040 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 2041 | }, |
| 2042 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TextRun may |
| 2043 | # have multiple insertion IDs if it is a nested suggested change. If empty, |
| 2044 | # then this is not a suggested insertion. |
| 2045 | "A String", |
| 2046 | ], |
| 2047 | "suggestedTextStyleChanges": { # The suggested text style changes to this run, keyed by suggestion ID. |
| 2048 | "a_key": { # A suggested change to a TextStyle. |
| 2049 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 2050 | # the changes made in this suggestion. This can be used along with the |
| 2051 | # text_style_suggestion_state |
| 2052 | # to see which fields have changed and their new values. |
| 2053 | # |
| 2054 | # Inherited text styles are represented as unset fields in this message. A |
| 2055 | # text style's parent depends on where the text style is defined: |
| 2056 | # |
| 2057 | # * The TextStyle of text in a Paragraph |
| 2058 | # inherits from the paragraph's corresponding named style type. |
| 2059 | # * The TextStyle on a named style |
| 2060 | # inherits from the normal text named style. |
| 2061 | # * The TextStyle of the normal text named style inherits |
| 2062 | # from the default text style in the Docs editor. |
| 2063 | # * The TextStyle on a Paragraph element |
| 2064 | # that is contained in a table may inherit its text style from the table |
| 2065 | # style. |
| 2066 | # |
| 2067 | # If the text style does not inherit from a parent, unsetting fields will |
| 2068 | # revert the style to a value matching the defaults in the Docs editor. |
| 2069 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 2070 | # or transparent, depending on the `color` field. |
| 2071 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 2072 | # a transparent color. |
| 2073 | "rgbColor": { # An RGB color. # The RGB color value. |
| 2074 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2075 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2076 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2077 | }, |
| 2078 | }, |
| 2079 | }, |
| 2080 | "italic": True or False, # Whether or not the text is italicized. |
| 2081 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 2082 | # |
| 2083 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 2084 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 2085 | # The `font_size` itself is not affected by changes in this field. |
| 2086 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 2087 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 2088 | # |
| 2089 | # If an update request specifies values for both `weighted_font_family` and |
| 2090 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 2091 | # |
| 2092 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 2093 | # |
| 2094 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 2095 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 2096 | # is returned. |
| 2097 | "fontFamily": "A String", # The font family of the text. |
| 2098 | # |
| 2099 | # The font family can be any font from the Font menu in Docs or from |
| 2100 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 2101 | # unrecognized, the text is rendered in `Arial`. |
| 2102 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 2103 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 2104 | # numerical values described in the CSS 2.1 Specification, |
| 2105 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 2106 | # non-numerical values disallowed. |
| 2107 | # |
| 2108 | # The default value is `400` ("normal"). |
| 2109 | # |
| 2110 | # The font weight makes up just one component of the rendered font weight. |
| 2111 | # The rendered weight is determined by a combination of the `weight` and the |
| 2112 | # text style's resolved `bold` value, after accounting for inheritance: |
| 2113 | # |
| 2114 | # * If the text is bold and the weight is less than `400`, the rendered |
| 2115 | # weight is 400. |
| 2116 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 2117 | # is less than `700`, the rendered weight is `700`. |
| 2118 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 2119 | # equal to the weight. |
| 2120 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 2121 | }, |
| 2122 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 2123 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 2124 | "magnitude": 3.14, # The magnitude. |
| 2125 | "unit": "A String", # The units for magnitude. |
| 2126 | }, |
| 2127 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 2128 | # or transparent, depending on the `color` field. |
| 2129 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 2130 | # a transparent color. |
| 2131 | "rgbColor": { # An RGB color. # The RGB color value. |
| 2132 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2133 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2134 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2135 | }, |
| 2136 | }, |
| 2137 | }, |
| 2138 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 2139 | # are not inherited from parent text. |
| 2140 | # |
| 2141 | # Changing the link in an update request causes some other changes to the |
| 2142 | # text style of the range: |
| 2143 | # |
| 2144 | # * When setting a link, the text foreground color will be updated to the |
| 2145 | # default link color and the text will be underlined. If these fields are |
| 2146 | # modified in the same request, those values will be used instead of the |
| 2147 | # link defaults. |
| 2148 | # * Setting a link on a text range that overlaps with an existing link will |
| 2149 | # also update the existing link to point to the new URL. |
| 2150 | # * Links are not settable on newline characters. As a result, setting a link |
| 2151 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 2152 | # will separate the newline character(s) into their own text runs. The |
| 2153 | # link will be applied separately to the runs before and after the newline. |
| 2154 | # * Removing a link will update the text style of the range to match the |
| 2155 | # style of the preceding text (or the default text styles if the preceding |
| 2156 | # text is another link) unless different styles are being set in the same |
| 2157 | # request. |
| 2158 | "headingId": "A String", # The ID of a heading in this document. |
| 2159 | "url": "A String", # An external URL. |
| 2160 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 2161 | }, |
| 2162 | "underline": True or False, # Whether or not the text is underlined. |
| 2163 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 2164 | }, |
| 2165 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 2166 | # For any field set to true, there is a new suggested value. |
| 2167 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 2168 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 2169 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 2170 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 2171 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 2172 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 2173 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 2174 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 2175 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 2176 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 2177 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 2178 | }, |
| 2179 | }, |
| 2180 | }, |
| 2181 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 2182 | # of this content. |
| 2183 | "A String", |
| 2184 | ], |
| 2185 | }, |
| 2186 | "autoText": { # A ParagraphElement representing a # An auto text paragraph element. |
| 2187 | # spot in the text that is dynamically replaced with content that can change |
| 2188 | # over time, like a page number. |
| 2189 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this AutoText. |
| 2190 | # |
| 2191 | # Inherited text styles are represented as unset fields in this message. A |
| 2192 | # text style's parent depends on where the text style is defined: |
| 2193 | # |
| 2194 | # * The TextStyle of text in a Paragraph |
| 2195 | # inherits from the paragraph's corresponding named style type. |
| 2196 | # * The TextStyle on a named style |
| 2197 | # inherits from the normal text named style. |
| 2198 | # * The TextStyle of the normal text named style inherits |
| 2199 | # from the default text style in the Docs editor. |
| 2200 | # * The TextStyle on a Paragraph element |
| 2201 | # that is contained in a table may inherit its text style from the table |
| 2202 | # style. |
| 2203 | # |
| 2204 | # If the text style does not inherit from a parent, unsetting fields will |
| 2205 | # revert the style to a value matching the defaults in the Docs editor. |
| 2206 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 2207 | # or transparent, depending on the `color` field. |
| 2208 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 2209 | # a transparent color. |
| 2210 | "rgbColor": { # An RGB color. # The RGB color value. |
| 2211 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2212 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2213 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2214 | }, |
| 2215 | }, |
| 2216 | }, |
| 2217 | "italic": True or False, # Whether or not the text is italicized. |
| 2218 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 2219 | # |
| 2220 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 2221 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 2222 | # The `font_size` itself is not affected by changes in this field. |
| 2223 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 2224 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 2225 | # |
| 2226 | # If an update request specifies values for both `weighted_font_family` and |
| 2227 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 2228 | # |
| 2229 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 2230 | # |
| 2231 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 2232 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 2233 | # is returned. |
| 2234 | "fontFamily": "A String", # The font family of the text. |
| 2235 | # |
| 2236 | # The font family can be any font from the Font menu in Docs or from |
| 2237 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 2238 | # unrecognized, the text is rendered in `Arial`. |
| 2239 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 2240 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 2241 | # numerical values described in the CSS 2.1 Specification, |
| 2242 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 2243 | # non-numerical values disallowed. |
| 2244 | # |
| 2245 | # The default value is `400` ("normal"). |
| 2246 | # |
| 2247 | # The font weight makes up just one component of the rendered font weight. |
| 2248 | # The rendered weight is determined by a combination of the `weight` and the |
| 2249 | # text style's resolved `bold` value, after accounting for inheritance: |
| 2250 | # |
| 2251 | # * If the text is bold and the weight is less than `400`, the rendered |
| 2252 | # weight is 400. |
| 2253 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 2254 | # is less than `700`, the rendered weight is `700`. |
| 2255 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 2256 | # equal to the weight. |
| 2257 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 2258 | }, |
| 2259 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 2260 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 2261 | "magnitude": 3.14, # The magnitude. |
| 2262 | "unit": "A String", # The units for magnitude. |
| 2263 | }, |
| 2264 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 2265 | # or transparent, depending on the `color` field. |
| 2266 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 2267 | # a transparent color. |
| 2268 | "rgbColor": { # An RGB color. # The RGB color value. |
| 2269 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2270 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2271 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2272 | }, |
| 2273 | }, |
| 2274 | }, |
| 2275 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 2276 | # are not inherited from parent text. |
| 2277 | # |
| 2278 | # Changing the link in an update request causes some other changes to the |
| 2279 | # text style of the range: |
| 2280 | # |
| 2281 | # * When setting a link, the text foreground color will be updated to the |
| 2282 | # default link color and the text will be underlined. If these fields are |
| 2283 | # modified in the same request, those values will be used instead of the |
| 2284 | # link defaults. |
| 2285 | # * Setting a link on a text range that overlaps with an existing link will |
| 2286 | # also update the existing link to point to the new URL. |
| 2287 | # * Links are not settable on newline characters. As a result, setting a link |
| 2288 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 2289 | # will separate the newline character(s) into their own text runs. The |
| 2290 | # link will be applied separately to the runs before and after the newline. |
| 2291 | # * Removing a link will update the text style of the range to match the |
| 2292 | # style of the preceding text (or the default text styles if the preceding |
| 2293 | # text is another link) unless different styles are being set in the same |
| 2294 | # request. |
| 2295 | "headingId": "A String", # The ID of a heading in this document. |
| 2296 | "url": "A String", # An external URL. |
| 2297 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 2298 | }, |
| 2299 | "underline": True or False, # Whether or not the text is underlined. |
| 2300 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 2301 | }, |
| 2302 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 2303 | # of this content. |
| 2304 | "A String", |
| 2305 | ], |
| 2306 | "suggestedTextStyleChanges": { # The suggested text style changes to this AutoText, keyed by suggestion ID. |
| 2307 | "a_key": { # A suggested change to a TextStyle. |
| 2308 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 2309 | # the changes made in this suggestion. This can be used along with the |
| 2310 | # text_style_suggestion_state |
| 2311 | # to see which fields have changed and their new values. |
| 2312 | # |
| 2313 | # Inherited text styles are represented as unset fields in this message. A |
| 2314 | # text style's parent depends on where the text style is defined: |
| 2315 | # |
| 2316 | # * The TextStyle of text in a Paragraph |
| 2317 | # inherits from the paragraph's corresponding named style type. |
| 2318 | # * The TextStyle on a named style |
| 2319 | # inherits from the normal text named style. |
| 2320 | # * The TextStyle of the normal text named style inherits |
| 2321 | # from the default text style in the Docs editor. |
| 2322 | # * The TextStyle on a Paragraph element |
| 2323 | # that is contained in a table may inherit its text style from the table |
| 2324 | # style. |
| 2325 | # |
| 2326 | # If the text style does not inherit from a parent, unsetting fields will |
| 2327 | # revert the style to a value matching the defaults in the Docs editor. |
| 2328 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 2329 | # or transparent, depending on the `color` field. |
| 2330 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 2331 | # a transparent color. |
| 2332 | "rgbColor": { # An RGB color. # The RGB color value. |
| 2333 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2334 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2335 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2336 | }, |
| 2337 | }, |
| 2338 | }, |
| 2339 | "italic": True or False, # Whether or not the text is italicized. |
| 2340 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 2341 | # |
| 2342 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 2343 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 2344 | # The `font_size` itself is not affected by changes in this field. |
| 2345 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 2346 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 2347 | # |
| 2348 | # If an update request specifies values for both `weighted_font_family` and |
| 2349 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 2350 | # |
| 2351 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 2352 | # |
| 2353 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 2354 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 2355 | # is returned. |
| 2356 | "fontFamily": "A String", # The font family of the text. |
| 2357 | # |
| 2358 | # The font family can be any font from the Font menu in Docs or from |
| 2359 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 2360 | # unrecognized, the text is rendered in `Arial`. |
| 2361 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 2362 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 2363 | # numerical values described in the CSS 2.1 Specification, |
| 2364 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 2365 | # non-numerical values disallowed. |
| 2366 | # |
| 2367 | # The default value is `400` ("normal"). |
| 2368 | # |
| 2369 | # The font weight makes up just one component of the rendered font weight. |
| 2370 | # The rendered weight is determined by a combination of the `weight` and the |
| 2371 | # text style's resolved `bold` value, after accounting for inheritance: |
| 2372 | # |
| 2373 | # * If the text is bold and the weight is less than `400`, the rendered |
| 2374 | # weight is 400. |
| 2375 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 2376 | # is less than `700`, the rendered weight is `700`. |
| 2377 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 2378 | # equal to the weight. |
| 2379 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 2380 | }, |
| 2381 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 2382 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 2383 | "magnitude": 3.14, # The magnitude. |
| 2384 | "unit": "A String", # The units for magnitude. |
| 2385 | }, |
| 2386 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 2387 | # or transparent, depending on the `color` field. |
| 2388 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 2389 | # a transparent color. |
| 2390 | "rgbColor": { # An RGB color. # The RGB color value. |
| 2391 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2392 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2393 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2394 | }, |
| 2395 | }, |
| 2396 | }, |
| 2397 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 2398 | # are not inherited from parent text. |
| 2399 | # |
| 2400 | # Changing the link in an update request causes some other changes to the |
| 2401 | # text style of the range: |
| 2402 | # |
| 2403 | # * When setting a link, the text foreground color will be updated to the |
| 2404 | # default link color and the text will be underlined. If these fields are |
| 2405 | # modified in the same request, those values will be used instead of the |
| 2406 | # link defaults. |
| 2407 | # * Setting a link on a text range that overlaps with an existing link will |
| 2408 | # also update the existing link to point to the new URL. |
| 2409 | # * Links are not settable on newline characters. As a result, setting a link |
| 2410 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 2411 | # will separate the newline character(s) into their own text runs. The |
| 2412 | # link will be applied separately to the runs before and after the newline. |
| 2413 | # * Removing a link will update the text style of the range to match the |
| 2414 | # style of the preceding text (or the default text styles if the preceding |
| 2415 | # text is another link) unless different styles are being set in the same |
| 2416 | # request. |
| 2417 | "headingId": "A String", # The ID of a heading in this document. |
| 2418 | "url": "A String", # An external URL. |
| 2419 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 2420 | }, |
| 2421 | "underline": True or False, # Whether or not the text is underlined. |
| 2422 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 2423 | }, |
| 2424 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 2425 | # For any field set to true, there is a new suggested value. |
| 2426 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 2427 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 2428 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 2429 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 2430 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 2431 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 2432 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 2433 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 2434 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 2435 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 2436 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 2437 | }, |
| 2438 | }, |
| 2439 | }, |
| 2440 | "type": "A String", # The type of this auto text. |
| 2441 | "suggestedInsertionIds": [ # The suggested insertion IDs. An AutoText |
| 2442 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 2443 | # empty, then this is not a suggested insertion. |
| 2444 | "A String", |
| 2445 | ], |
| 2446 | }, |
| 2447 | "inlineObjectElement": { # A ParagraphElement that contains # An inline object paragraph element. |
| 2448 | # an InlineObject. |
| 2449 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this InlineObjectElement. |
| 2450 | # |
| 2451 | # Similar to text content, like text runs and footnote references, the text |
| 2452 | # style of an inline object element can affect content layout as well as the |
| 2453 | # styling of text inserted adjacent to it. |
| 2454 | # |
| 2455 | # Inherited text styles are represented as unset fields in this message. A |
| 2456 | # text style's parent depends on where the text style is defined: |
| 2457 | # |
| 2458 | # * The TextStyle of text in a Paragraph |
| 2459 | # inherits from the paragraph's corresponding named style type. |
| 2460 | # * The TextStyle on a named style |
| 2461 | # inherits from the normal text named style. |
| 2462 | # * The TextStyle of the normal text named style inherits |
| 2463 | # from the default text style in the Docs editor. |
| 2464 | # * The TextStyle on a Paragraph element |
| 2465 | # that is contained in a table may inherit its text style from the table |
| 2466 | # style. |
| 2467 | # |
| 2468 | # If the text style does not inherit from a parent, unsetting fields will |
| 2469 | # revert the style to a value matching the defaults in the Docs editor. |
| 2470 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 2471 | # or transparent, depending on the `color` field. |
| 2472 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 2473 | # a transparent color. |
| 2474 | "rgbColor": { # An RGB color. # The RGB color value. |
| 2475 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2476 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2477 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2478 | }, |
| 2479 | }, |
| 2480 | }, |
| 2481 | "italic": True or False, # Whether or not the text is italicized. |
| 2482 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 2483 | # |
| 2484 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 2485 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 2486 | # The `font_size` itself is not affected by changes in this field. |
| 2487 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 2488 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 2489 | # |
| 2490 | # If an update request specifies values for both `weighted_font_family` and |
| 2491 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 2492 | # |
| 2493 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 2494 | # |
| 2495 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 2496 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 2497 | # is returned. |
| 2498 | "fontFamily": "A String", # The font family of the text. |
| 2499 | # |
| 2500 | # The font family can be any font from the Font menu in Docs or from |
| 2501 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 2502 | # unrecognized, the text is rendered in `Arial`. |
| 2503 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 2504 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 2505 | # numerical values described in the CSS 2.1 Specification, |
| 2506 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 2507 | # non-numerical values disallowed. |
| 2508 | # |
| 2509 | # The default value is `400` ("normal"). |
| 2510 | # |
| 2511 | # The font weight makes up just one component of the rendered font weight. |
| 2512 | # The rendered weight is determined by a combination of the `weight` and the |
| 2513 | # text style's resolved `bold` value, after accounting for inheritance: |
| 2514 | # |
| 2515 | # * If the text is bold and the weight is less than `400`, the rendered |
| 2516 | # weight is 400. |
| 2517 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 2518 | # is less than `700`, the rendered weight is `700`. |
| 2519 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 2520 | # equal to the weight. |
| 2521 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 2522 | }, |
| 2523 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 2524 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 2525 | "magnitude": 3.14, # The magnitude. |
| 2526 | "unit": "A String", # The units for magnitude. |
| 2527 | }, |
| 2528 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 2529 | # or transparent, depending on the `color` field. |
| 2530 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 2531 | # a transparent color. |
| 2532 | "rgbColor": { # An RGB color. # The RGB color value. |
| 2533 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2534 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2535 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2536 | }, |
| 2537 | }, |
| 2538 | }, |
| 2539 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 2540 | # are not inherited from parent text. |
| 2541 | # |
| 2542 | # Changing the link in an update request causes some other changes to the |
| 2543 | # text style of the range: |
| 2544 | # |
| 2545 | # * When setting a link, the text foreground color will be updated to the |
| 2546 | # default link color and the text will be underlined. If these fields are |
| 2547 | # modified in the same request, those values will be used instead of the |
| 2548 | # link defaults. |
| 2549 | # * Setting a link on a text range that overlaps with an existing link will |
| 2550 | # also update the existing link to point to the new URL. |
| 2551 | # * Links are not settable on newline characters. As a result, setting a link |
| 2552 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 2553 | # will separate the newline character(s) into their own text runs. The |
| 2554 | # link will be applied separately to the runs before and after the newline. |
| 2555 | # * Removing a link will update the text style of the range to match the |
| 2556 | # style of the preceding text (or the default text styles if the preceding |
| 2557 | # text is another link) unless different styles are being set in the same |
| 2558 | # request. |
| 2559 | "headingId": "A String", # The ID of a heading in this document. |
| 2560 | "url": "A String", # An external URL. |
| 2561 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 2562 | }, |
| 2563 | "underline": True or False, # Whether or not the text is underlined. |
| 2564 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 2565 | }, |
| 2566 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 2567 | # of this content. |
| 2568 | "A String", |
| 2569 | ], |
| 2570 | "suggestedTextStyleChanges": { # The suggested text style changes to this InlineObject, keyed by suggestion |
| 2571 | # ID. |
| 2572 | "a_key": { # A suggested change to a TextStyle. |
| 2573 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 2574 | # the changes made in this suggestion. This can be used along with the |
| 2575 | # text_style_suggestion_state |
| 2576 | # to see which fields have changed and their new values. |
| 2577 | # |
| 2578 | # Inherited text styles are represented as unset fields in this message. A |
| 2579 | # text style's parent depends on where the text style is defined: |
| 2580 | # |
| 2581 | # * The TextStyle of text in a Paragraph |
| 2582 | # inherits from the paragraph's corresponding named style type. |
| 2583 | # * The TextStyle on a named style |
| 2584 | # inherits from the normal text named style. |
| 2585 | # * The TextStyle of the normal text named style inherits |
| 2586 | # from the default text style in the Docs editor. |
| 2587 | # * The TextStyle on a Paragraph element |
| 2588 | # that is contained in a table may inherit its text style from the table |
| 2589 | # style. |
| 2590 | # |
| 2591 | # If the text style does not inherit from a parent, unsetting fields will |
| 2592 | # revert the style to a value matching the defaults in the Docs editor. |
| 2593 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 2594 | # or transparent, depending on the `color` field. |
| 2595 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 2596 | # a transparent color. |
| 2597 | "rgbColor": { # An RGB color. # The RGB color value. |
| 2598 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2599 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2600 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2601 | }, |
| 2602 | }, |
| 2603 | }, |
| 2604 | "italic": True or False, # Whether or not the text is italicized. |
| 2605 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 2606 | # |
| 2607 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 2608 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 2609 | # The `font_size` itself is not affected by changes in this field. |
| 2610 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 2611 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 2612 | # |
| 2613 | # If an update request specifies values for both `weighted_font_family` and |
| 2614 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 2615 | # |
| 2616 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 2617 | # |
| 2618 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 2619 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 2620 | # is returned. |
| 2621 | "fontFamily": "A String", # The font family of the text. |
| 2622 | # |
| 2623 | # The font family can be any font from the Font menu in Docs or from |
| 2624 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 2625 | # unrecognized, the text is rendered in `Arial`. |
| 2626 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 2627 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 2628 | # numerical values described in the CSS 2.1 Specification, |
| 2629 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 2630 | # non-numerical values disallowed. |
| 2631 | # |
| 2632 | # The default value is `400` ("normal"). |
| 2633 | # |
| 2634 | # The font weight makes up just one component of the rendered font weight. |
| 2635 | # The rendered weight is determined by a combination of the `weight` and the |
| 2636 | # text style's resolved `bold` value, after accounting for inheritance: |
| 2637 | # |
| 2638 | # * If the text is bold and the weight is less than `400`, the rendered |
| 2639 | # weight is 400. |
| 2640 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 2641 | # is less than `700`, the rendered weight is `700`. |
| 2642 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 2643 | # equal to the weight. |
| 2644 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 2645 | }, |
| 2646 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 2647 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 2648 | "magnitude": 3.14, # The magnitude. |
| 2649 | "unit": "A String", # The units for magnitude. |
| 2650 | }, |
| 2651 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 2652 | # or transparent, depending on the `color` field. |
| 2653 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 2654 | # a transparent color. |
| 2655 | "rgbColor": { # An RGB color. # The RGB color value. |
| 2656 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2657 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2658 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2659 | }, |
| 2660 | }, |
| 2661 | }, |
| 2662 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 2663 | # are not inherited from parent text. |
| 2664 | # |
| 2665 | # Changing the link in an update request causes some other changes to the |
| 2666 | # text style of the range: |
| 2667 | # |
| 2668 | # * When setting a link, the text foreground color will be updated to the |
| 2669 | # default link color and the text will be underlined. If these fields are |
| 2670 | # modified in the same request, those values will be used instead of the |
| 2671 | # link defaults. |
| 2672 | # * Setting a link on a text range that overlaps with an existing link will |
| 2673 | # also update the existing link to point to the new URL. |
| 2674 | # * Links are not settable on newline characters. As a result, setting a link |
| 2675 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 2676 | # will separate the newline character(s) into their own text runs. The |
| 2677 | # link will be applied separately to the runs before and after the newline. |
| 2678 | # * Removing a link will update the text style of the range to match the |
| 2679 | # style of the preceding text (or the default text styles if the preceding |
| 2680 | # text is another link) unless different styles are being set in the same |
| 2681 | # request. |
| 2682 | "headingId": "A String", # The ID of a heading in this document. |
| 2683 | "url": "A String", # An external URL. |
| 2684 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 2685 | }, |
| 2686 | "underline": True or False, # Whether or not the text is underlined. |
| 2687 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 2688 | }, |
| 2689 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 2690 | # For any field set to true, there is a new suggested value. |
| 2691 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 2692 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 2693 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 2694 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 2695 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 2696 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 2697 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 2698 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 2699 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 2700 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 2701 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 2702 | }, |
| 2703 | }, |
| 2704 | }, |
| 2705 | "inlineObjectId": "A String", # The ID of the InlineObject this |
| 2706 | # element contains. |
| 2707 | "suggestedInsertionIds": [ # The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs |
| 2708 | # if it is a nested suggested change. If empty, then this is not a suggested |
| 2709 | # insertion. |
| 2710 | "A String", |
| 2711 | ], |
| 2712 | }, |
| 2713 | "footnoteReference": { # A ParagraphElement representing a # A footnote reference paragraph element. |
| 2714 | # footnote reference. A footnote reference is the inline content rendered with |
| 2715 | # a number and is used to identify the footnote. |
| 2716 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this FootnoteReference. |
| 2717 | # |
| 2718 | # Inherited text styles are represented as unset fields in this message. A |
| 2719 | # text style's parent depends on where the text style is defined: |
| 2720 | # |
| 2721 | # * The TextStyle of text in a Paragraph |
| 2722 | # inherits from the paragraph's corresponding named style type. |
| 2723 | # * The TextStyle on a named style |
| 2724 | # inherits from the normal text named style. |
| 2725 | # * The TextStyle of the normal text named style inherits |
| 2726 | # from the default text style in the Docs editor. |
| 2727 | # * The TextStyle on a Paragraph element |
| 2728 | # that is contained in a table may inherit its text style from the table |
| 2729 | # style. |
| 2730 | # |
| 2731 | # If the text style does not inherit from a parent, unsetting fields will |
| 2732 | # revert the style to a value matching the defaults in the Docs editor. |
| 2733 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 2734 | # or transparent, depending on the `color` field. |
| 2735 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 2736 | # a transparent color. |
| 2737 | "rgbColor": { # An RGB color. # The RGB color value. |
| 2738 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2739 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2740 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2741 | }, |
| 2742 | }, |
| 2743 | }, |
| 2744 | "italic": True or False, # Whether or not the text is italicized. |
| 2745 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 2746 | # |
| 2747 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 2748 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 2749 | # The `font_size` itself is not affected by changes in this field. |
| 2750 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 2751 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 2752 | # |
| 2753 | # If an update request specifies values for both `weighted_font_family` and |
| 2754 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 2755 | # |
| 2756 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 2757 | # |
| 2758 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 2759 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 2760 | # is returned. |
| 2761 | "fontFamily": "A String", # The font family of the text. |
| 2762 | # |
| 2763 | # The font family can be any font from the Font menu in Docs or from |
| 2764 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 2765 | # unrecognized, the text is rendered in `Arial`. |
| 2766 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 2767 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 2768 | # numerical values described in the CSS 2.1 Specification, |
| 2769 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 2770 | # non-numerical values disallowed. |
| 2771 | # |
| 2772 | # The default value is `400` ("normal"). |
| 2773 | # |
| 2774 | # The font weight makes up just one component of the rendered font weight. |
| 2775 | # The rendered weight is determined by a combination of the `weight` and the |
| 2776 | # text style's resolved `bold` value, after accounting for inheritance: |
| 2777 | # |
| 2778 | # * If the text is bold and the weight is less than `400`, the rendered |
| 2779 | # weight is 400. |
| 2780 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 2781 | # is less than `700`, the rendered weight is `700`. |
| 2782 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 2783 | # equal to the weight. |
| 2784 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 2785 | }, |
| 2786 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 2787 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 2788 | "magnitude": 3.14, # The magnitude. |
| 2789 | "unit": "A String", # The units for magnitude. |
| 2790 | }, |
| 2791 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 2792 | # or transparent, depending on the `color` field. |
| 2793 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 2794 | # a transparent color. |
| 2795 | "rgbColor": { # An RGB color. # The RGB color value. |
| 2796 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2797 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2798 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2799 | }, |
| 2800 | }, |
| 2801 | }, |
| 2802 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 2803 | # are not inherited from parent text. |
| 2804 | # |
| 2805 | # Changing the link in an update request causes some other changes to the |
| 2806 | # text style of the range: |
| 2807 | # |
| 2808 | # * When setting a link, the text foreground color will be updated to the |
| 2809 | # default link color and the text will be underlined. If these fields are |
| 2810 | # modified in the same request, those values will be used instead of the |
| 2811 | # link defaults. |
| 2812 | # * Setting a link on a text range that overlaps with an existing link will |
| 2813 | # also update the existing link to point to the new URL. |
| 2814 | # * Links are not settable on newline characters. As a result, setting a link |
| 2815 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 2816 | # will separate the newline character(s) into their own text runs. The |
| 2817 | # link will be applied separately to the runs before and after the newline. |
| 2818 | # * Removing a link will update the text style of the range to match the |
| 2819 | # style of the preceding text (or the default text styles if the preceding |
| 2820 | # text is another link) unless different styles are being set in the same |
| 2821 | # request. |
| 2822 | "headingId": "A String", # The ID of a heading in this document. |
| 2823 | "url": "A String", # An external URL. |
| 2824 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 2825 | }, |
| 2826 | "underline": True or False, # Whether or not the text is underlined. |
| 2827 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 2828 | }, |
| 2829 | "footnoteNumber": "A String", # The rendered number of this footnote. |
| 2830 | "suggestedInsertionIds": [ # The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if |
| 2831 | # it is a nested suggested change. If empty, then this is not a suggested |
| 2832 | # insertion. |
| 2833 | "A String", |
| 2834 | ], |
| 2835 | "footnoteId": "A String", # The ID of the footnote that |
| 2836 | # contains the content of this footnote reference. |
| 2837 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 2838 | # of this content. |
| 2839 | "A String", |
| 2840 | ], |
| 2841 | "suggestedTextStyleChanges": { # The suggested text style changes to this FootnoteReference, keyed by |
| 2842 | # suggestion ID. |
| 2843 | "a_key": { # A suggested change to a TextStyle. |
| 2844 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 2845 | # the changes made in this suggestion. This can be used along with the |
| 2846 | # text_style_suggestion_state |
| 2847 | # to see which fields have changed and their new values. |
| 2848 | # |
| 2849 | # Inherited text styles are represented as unset fields in this message. A |
| 2850 | # text style's parent depends on where the text style is defined: |
| 2851 | # |
| 2852 | # * The TextStyle of text in a Paragraph |
| 2853 | # inherits from the paragraph's corresponding named style type. |
| 2854 | # * The TextStyle on a named style |
| 2855 | # inherits from the normal text named style. |
| 2856 | # * The TextStyle of the normal text named style inherits |
| 2857 | # from the default text style in the Docs editor. |
| 2858 | # * The TextStyle on a Paragraph element |
| 2859 | # that is contained in a table may inherit its text style from the table |
| 2860 | # style. |
| 2861 | # |
| 2862 | # If the text style does not inherit from a parent, unsetting fields will |
| 2863 | # revert the style to a value matching the defaults in the Docs editor. |
| 2864 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 2865 | # or transparent, depending on the `color` field. |
| 2866 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 2867 | # a transparent color. |
| 2868 | "rgbColor": { # An RGB color. # The RGB color value. |
| 2869 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2870 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2871 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2872 | }, |
| 2873 | }, |
| 2874 | }, |
| 2875 | "italic": True or False, # Whether or not the text is italicized. |
| 2876 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 2877 | # |
| 2878 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 2879 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 2880 | # The `font_size` itself is not affected by changes in this field. |
| 2881 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 2882 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 2883 | # |
| 2884 | # If an update request specifies values for both `weighted_font_family` and |
| 2885 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 2886 | # |
| 2887 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 2888 | # |
| 2889 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 2890 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 2891 | # is returned. |
| 2892 | "fontFamily": "A String", # The font family of the text. |
| 2893 | # |
| 2894 | # The font family can be any font from the Font menu in Docs or from |
| 2895 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 2896 | # unrecognized, the text is rendered in `Arial`. |
| 2897 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 2898 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 2899 | # numerical values described in the CSS 2.1 Specification, |
| 2900 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 2901 | # non-numerical values disallowed. |
| 2902 | # |
| 2903 | # The default value is `400` ("normal"). |
| 2904 | # |
| 2905 | # The font weight makes up just one component of the rendered font weight. |
| 2906 | # The rendered weight is determined by a combination of the `weight` and the |
| 2907 | # text style's resolved `bold` value, after accounting for inheritance: |
| 2908 | # |
| 2909 | # * If the text is bold and the weight is less than `400`, the rendered |
| 2910 | # weight is 400. |
| 2911 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 2912 | # is less than `700`, the rendered weight is `700`. |
| 2913 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 2914 | # equal to the weight. |
| 2915 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 2916 | }, |
| 2917 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 2918 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 2919 | "magnitude": 3.14, # The magnitude. |
| 2920 | "unit": "A String", # The units for magnitude. |
| 2921 | }, |
| 2922 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 2923 | # or transparent, depending on the `color` field. |
| 2924 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 2925 | # a transparent color. |
| 2926 | "rgbColor": { # An RGB color. # The RGB color value. |
| 2927 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2928 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2929 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2930 | }, |
| 2931 | }, |
| 2932 | }, |
| 2933 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 2934 | # are not inherited from parent text. |
| 2935 | # |
| 2936 | # Changing the link in an update request causes some other changes to the |
| 2937 | # text style of the range: |
| 2938 | # |
| 2939 | # * When setting a link, the text foreground color will be updated to the |
| 2940 | # default link color and the text will be underlined. If these fields are |
| 2941 | # modified in the same request, those values will be used instead of the |
| 2942 | # link defaults. |
| 2943 | # * Setting a link on a text range that overlaps with an existing link will |
| 2944 | # also update the existing link to point to the new URL. |
| 2945 | # * Links are not settable on newline characters. As a result, setting a link |
| 2946 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 2947 | # will separate the newline character(s) into their own text runs. The |
| 2948 | # link will be applied separately to the runs before and after the newline. |
| 2949 | # * Removing a link will update the text style of the range to match the |
| 2950 | # style of the preceding text (or the default text styles if the preceding |
| 2951 | # text is another link) unless different styles are being set in the same |
| 2952 | # request. |
| 2953 | "headingId": "A String", # The ID of a heading in this document. |
| 2954 | "url": "A String", # An external URL. |
| 2955 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 2956 | }, |
| 2957 | "underline": True or False, # Whether or not the text is underlined. |
| 2958 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 2959 | }, |
| 2960 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 2961 | # For any field set to true, there is a new suggested value. |
| 2962 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 2963 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 2964 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 2965 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 2966 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 2967 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 2968 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 2969 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 2970 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 2971 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 2972 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 2973 | }, |
| 2974 | }, |
| 2975 | }, |
| 2976 | }, |
| 2977 | }, |
| 2978 | ], |
| 2979 | "suggestedPositionedObjectIds": { # The IDs of the positioned objects that are suggested to be attached to this |
| 2980 | # paragraph, keyed by suggestion ID. |
| 2981 | "a_key": { # A collection of object IDs. |
| 2982 | "objectIds": [ # The object IDs. |
| 2983 | "A String", |
| 2984 | ], |
| 2985 | }, |
| 2986 | }, |
| 2987 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 2988 | # belong to a list. |
| 2989 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 2990 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 2991 | "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| 2992 | # |
| 2993 | # Inherited text styles are represented as unset fields in this message. A |
| 2994 | # text style's parent depends on where the text style is defined: |
| 2995 | # |
| 2996 | # * The TextStyle of text in a Paragraph |
| 2997 | # inherits from the paragraph's corresponding named style type. |
| 2998 | # * The TextStyle on a named style |
| 2999 | # inherits from the normal text named style. |
| 3000 | # * The TextStyle of the normal text named style inherits |
| 3001 | # from the default text style in the Docs editor. |
| 3002 | # * The TextStyle on a Paragraph element |
| 3003 | # that is contained in a table may inherit its text style from the table |
| 3004 | # style. |
| 3005 | # |
| 3006 | # If the text style does not inherit from a parent, unsetting fields will |
| 3007 | # revert the style to a value matching the defaults in the Docs editor. |
| 3008 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 3009 | # or transparent, depending on the `color` field. |
| 3010 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3011 | # a transparent color. |
| 3012 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3013 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3014 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3015 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3016 | }, |
| 3017 | }, |
| 3018 | }, |
| 3019 | "italic": True or False, # Whether or not the text is italicized. |
| 3020 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 3021 | # |
| 3022 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 3023 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 3024 | # The `font_size` itself is not affected by changes in this field. |
| 3025 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 3026 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 3027 | # |
| 3028 | # If an update request specifies values for both `weighted_font_family` and |
| 3029 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 3030 | # |
| 3031 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 3032 | # |
| 3033 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 3034 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 3035 | # is returned. |
| 3036 | "fontFamily": "A String", # The font family of the text. |
| 3037 | # |
| 3038 | # The font family can be any font from the Font menu in Docs or from |
| 3039 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 3040 | # unrecognized, the text is rendered in `Arial`. |
| 3041 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 3042 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 3043 | # numerical values described in the CSS 2.1 Specification, |
| 3044 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 3045 | # non-numerical values disallowed. |
| 3046 | # |
| 3047 | # The default value is `400` ("normal"). |
| 3048 | # |
| 3049 | # The font weight makes up just one component of the rendered font weight. |
| 3050 | # The rendered weight is determined by a combination of the `weight` and the |
| 3051 | # text style's resolved `bold` value, after accounting for inheritance: |
| 3052 | # |
| 3053 | # * If the text is bold and the weight is less than `400`, the rendered |
| 3054 | # weight is 400. |
| 3055 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 3056 | # is less than `700`, the rendered weight is `700`. |
| 3057 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 3058 | # equal to the weight. |
| 3059 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 3060 | }, |
| 3061 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 3062 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 3063 | "magnitude": 3.14, # The magnitude. |
| 3064 | "unit": "A String", # The units for magnitude. |
| 3065 | }, |
| 3066 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 3067 | # or transparent, depending on the `color` field. |
| 3068 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3069 | # a transparent color. |
| 3070 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3071 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3072 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3073 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3074 | }, |
| 3075 | }, |
| 3076 | }, |
| 3077 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 3078 | # are not inherited from parent text. |
| 3079 | # |
| 3080 | # Changing the link in an update request causes some other changes to the |
| 3081 | # text style of the range: |
| 3082 | # |
| 3083 | # * When setting a link, the text foreground color will be updated to the |
| 3084 | # default link color and the text will be underlined. If these fields are |
| 3085 | # modified in the same request, those values will be used instead of the |
| 3086 | # link defaults. |
| 3087 | # * Setting a link on a text range that overlaps with an existing link will |
| 3088 | # also update the existing link to point to the new URL. |
| 3089 | # * Links are not settable on newline characters. As a result, setting a link |
| 3090 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 3091 | # will separate the newline character(s) into their own text runs. The |
| 3092 | # link will be applied separately to the runs before and after the newline. |
| 3093 | # * Removing a link will update the text style of the range to match the |
| 3094 | # style of the preceding text (or the default text styles if the preceding |
| 3095 | # text is another link) unless different styles are being set in the same |
| 3096 | # request. |
| 3097 | "headingId": "A String", # The ID of a heading in this document. |
| 3098 | "url": "A String", # An external URL. |
| 3099 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 3100 | }, |
| 3101 | "underline": True or False, # Whether or not the text is underlined. |
| 3102 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 3103 | }, |
| 3104 | }, |
| 3105 | "suggestedBulletChanges": { # The suggested changes to this paragraph's bullet. |
| 3106 | "a_key": { # A suggested change to a Bullet. |
| 3107 | "bullet": { # Describes the bullet of a paragraph. # A Bullet that only includes the changes made |
| 3108 | # in this suggestion. This can be used along with the |
| 3109 | # bullet_suggestion_state to see which |
| 3110 | # fields have changed and their new values. |
| 3111 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 3112 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 3113 | "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| 3114 | # |
| 3115 | # Inherited text styles are represented as unset fields in this message. A |
| 3116 | # text style's parent depends on where the text style is defined: |
| 3117 | # |
| 3118 | # * The TextStyle of text in a Paragraph |
| 3119 | # inherits from the paragraph's corresponding named style type. |
| 3120 | # * The TextStyle on a named style |
| 3121 | # inherits from the normal text named style. |
| 3122 | # * The TextStyle of the normal text named style inherits |
| 3123 | # from the default text style in the Docs editor. |
| 3124 | # * The TextStyle on a Paragraph element |
| 3125 | # that is contained in a table may inherit its text style from the table |
| 3126 | # style. |
| 3127 | # |
| 3128 | # If the text style does not inherit from a parent, unsetting fields will |
| 3129 | # revert the style to a value matching the defaults in the Docs editor. |
| 3130 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 3131 | # or transparent, depending on the `color` field. |
| 3132 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3133 | # a transparent color. |
| 3134 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3135 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3136 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3137 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3138 | }, |
| 3139 | }, |
| 3140 | }, |
| 3141 | "italic": True or False, # Whether or not the text is italicized. |
| 3142 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 3143 | # |
| 3144 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 3145 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 3146 | # The `font_size` itself is not affected by changes in this field. |
| 3147 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 3148 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 3149 | # |
| 3150 | # If an update request specifies values for both `weighted_font_family` and |
| 3151 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 3152 | # |
| 3153 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 3154 | # |
| 3155 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 3156 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 3157 | # is returned. |
| 3158 | "fontFamily": "A String", # The font family of the text. |
| 3159 | # |
| 3160 | # The font family can be any font from the Font menu in Docs or from |
| 3161 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 3162 | # unrecognized, the text is rendered in `Arial`. |
| 3163 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 3164 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 3165 | # numerical values described in the CSS 2.1 Specification, |
| 3166 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 3167 | # non-numerical values disallowed. |
| 3168 | # |
| 3169 | # The default value is `400` ("normal"). |
| 3170 | # |
| 3171 | # The font weight makes up just one component of the rendered font weight. |
| 3172 | # The rendered weight is determined by a combination of the `weight` and the |
| 3173 | # text style's resolved `bold` value, after accounting for inheritance: |
| 3174 | # |
| 3175 | # * If the text is bold and the weight is less than `400`, the rendered |
| 3176 | # weight is 400. |
| 3177 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 3178 | # is less than `700`, the rendered weight is `700`. |
| 3179 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 3180 | # equal to the weight. |
| 3181 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 3182 | }, |
| 3183 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 3184 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 3185 | "magnitude": 3.14, # The magnitude. |
| 3186 | "unit": "A String", # The units for magnitude. |
| 3187 | }, |
| 3188 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 3189 | # or transparent, depending on the `color` field. |
| 3190 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3191 | # a transparent color. |
| 3192 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3193 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3194 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3195 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3196 | }, |
| 3197 | }, |
| 3198 | }, |
| 3199 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 3200 | # are not inherited from parent text. |
| 3201 | # |
| 3202 | # Changing the link in an update request causes some other changes to the |
| 3203 | # text style of the range: |
| 3204 | # |
| 3205 | # * When setting a link, the text foreground color will be updated to the |
| 3206 | # default link color and the text will be underlined. If these fields are |
| 3207 | # modified in the same request, those values will be used instead of the |
| 3208 | # link defaults. |
| 3209 | # * Setting a link on a text range that overlaps with an existing link will |
| 3210 | # also update the existing link to point to the new URL. |
| 3211 | # * Links are not settable on newline characters. As a result, setting a link |
| 3212 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 3213 | # will separate the newline character(s) into their own text runs. The |
| 3214 | # link will be applied separately to the runs before and after the newline. |
| 3215 | # * Removing a link will update the text style of the range to match the |
| 3216 | # style of the preceding text (or the default text styles if the preceding |
| 3217 | # text is another link) unless different styles are being set in the same |
| 3218 | # request. |
| 3219 | "headingId": "A String", # The ID of a heading in this document. |
| 3220 | "url": "A String", # An external URL. |
| 3221 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 3222 | }, |
| 3223 | "underline": True or False, # Whether or not the text is underlined. |
| 3224 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 3225 | }, |
| 3226 | }, |
| 3227 | "bulletSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| 3228 | # Bullet have been changed in this suggestion. |
| 3229 | # Bullet have been changed in this suggestion. |
| 3230 | # For any field set to true, there is a new suggested value. |
| 3231 | "nestingLevelSuggested": True or False, # Indicates if there was a suggested change to the |
| 3232 | # nesting_level. |
| 3233 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| 3234 | # suggestion. |
| 3235 | # For any field set to true, there is a new suggested value. |
| 3236 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 3237 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 3238 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 3239 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 3240 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 3241 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 3242 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 3243 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 3244 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 3245 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 3246 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 3247 | }, |
| 3248 | "listIdSuggested": True or False, # Indicates if there was a suggested change to the |
| 3249 | # list_id. |
| 3250 | }, |
| 3251 | }, |
| 3252 | }, |
| 3253 | "positionedObjectIds": [ # The IDs of the positioned objects tethered to this paragraph. |
| 3254 | "A String", |
| 3255 | ], |
| 3256 | "suggestedParagraphStyleChanges": { # The suggested paragraph style changes to this paragraph, keyed by |
| 3257 | # suggestion ID. |
| 3258 | "a_key": { # A suggested change to a |
| 3259 | # ParagraphStyle. |
| 3260 | "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. |
| 3261 | # For any field set to true, there is a new suggested value. |
| 3262 | "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| 3263 | "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| 3264 | "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| 3265 | "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| 3266 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 3267 | "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| 3268 | "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| 3269 | "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| 3270 | "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| 3271 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 3272 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 3273 | "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| 3274 | "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| 3275 | "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| 3276 | "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| 3277 | "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| 3278 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 3279 | "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| 3280 | "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| 3281 | "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| 3282 | # this suggestion. |
| 3283 | # suggested change. For any field set to true, there is a new suggested value. |
| 3284 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| 3285 | }, |
| 3286 | }, |
| 3287 | "paragraphStyle": { # Styles that apply to a whole paragraph. # A ParagraphStyle that only includes |
| 3288 | # the changes made in this suggestion. This can be used along with the |
| 3289 | # paragraph_suggestion_state |
| 3290 | # to see which fields have changed and their new values. |
| 3291 | # |
| 3292 | # Inherited paragraph styles are represented as unset fields in this message. |
| 3293 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 3294 | # |
| 3295 | # * The ParagraphStyle on a Paragraph |
| 3296 | # inherits from the paragraph's corresponding named style type. |
| 3297 | # * The ParagraphStyle on a named style |
| 3298 | # inherits from the normal text named style. |
| 3299 | # * The ParagraphStyle of the normal text named style inherits |
| 3300 | # from the default paragraph style in the Docs editor. |
| 3301 | # * The ParagraphStyle on a Paragraph |
| 3302 | # element that is contained in a table may inherit its paragraph style from |
| 3303 | # the table style. |
| 3304 | # |
| 3305 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 3306 | # revert the style to a value matching the defaults in the Docs editor. |
| 3307 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 3308 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 3309 | # LEFT_TO_RIGHT since |
| 3310 | # paragraph direction is not inherited. |
| 3311 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 3312 | # inherited from the parent. |
| 3313 | "magnitude": 3.14, # The magnitude. |
| 3314 | "unit": "A String", # The units for magnitude. |
| 3315 | }, |
| 3316 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 3317 | # page or column as the next paragraph if possible. If unset, the value is |
| 3318 | # inherited from the parent. |
| 3319 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 3320 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 3321 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 3322 | # is inherited from the parent. |
| 3323 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 3324 | # inherited from the parent. |
| 3325 | # |
| 3326 | # The bottom border is rendered when the paragraph below has different border |
| 3327 | # and indent properties. |
| 3328 | # |
| 3329 | # Paragraph borders cannot be partially updated. When making |
| 3330 | # changes to a paragraph border the new border must be specified in |
| 3331 | # its entirety. |
| 3332 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 3333 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3334 | # a transparent color. |
| 3335 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3336 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3337 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3338 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3339 | }, |
| 3340 | }, |
| 3341 | }, |
| 3342 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 3343 | "magnitude": 3.14, # The magnitude. |
| 3344 | "unit": "A String", # The units for magnitude. |
| 3345 | }, |
| 3346 | "dashStyle": "A String", # The dash style of the border. |
| 3347 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 3348 | "magnitude": 3.14, # The magnitude. |
| 3349 | "unit": "A String", # The units for magnitude. |
| 3350 | }, |
| 3351 | }, |
| 3352 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 3353 | # the start of the text, based on the current paragraph direction. If unset, |
| 3354 | # the value is inherited from the parent. |
| 3355 | "magnitude": 3.14, # The magnitude. |
| 3356 | "unit": "A String", # The units for magnitude. |
| 3357 | }, |
| 3358 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 3359 | # If unset, the value is inherited from the parent. |
| 3360 | # |
| 3361 | # The between border is rendered when the adjacent paragraph has the same |
| 3362 | # border and indent properties. |
| 3363 | # |
| 3364 | # Paragraph borders cannot be partially updated. When making |
| 3365 | # changes to a paragraph border the new border must be specified in |
| 3366 | # its entirety. |
| 3367 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 3368 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3369 | # a transparent color. |
| 3370 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3371 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3372 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3373 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3374 | }, |
| 3375 | }, |
| 3376 | }, |
| 3377 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 3378 | "magnitude": 3.14, # The magnitude. |
| 3379 | "unit": "A String", # The units for magnitude. |
| 3380 | }, |
| 3381 | "dashStyle": "A String", # The dash style of the border. |
| 3382 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 3383 | "magnitude": 3.14, # The magnitude. |
| 3384 | "unit": "A String", # The units for magnitude. |
| 3385 | }, |
| 3386 | }, |
| 3387 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 3388 | # |
| 3389 | # Since updating the named style type affects other properties within |
| 3390 | # ParagraphStyle, the named style type is applied before the other properties |
| 3391 | # are updated. |
| 3392 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 3393 | # from the parent. |
| 3394 | # |
| 3395 | # Paragraph borders cannot be partially updated. When making |
| 3396 | # changes to a paragraph border the new border must be specified in |
| 3397 | # its entirety. |
| 3398 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 3399 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3400 | # a transparent color. |
| 3401 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3402 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3403 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3404 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3405 | }, |
| 3406 | }, |
| 3407 | }, |
| 3408 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 3409 | "magnitude": 3.14, # The magnitude. |
| 3410 | "unit": "A String", # The units for magnitude. |
| 3411 | }, |
| 3412 | "dashStyle": "A String", # The dash style of the border. |
| 3413 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 3414 | "magnitude": 3.14, # The magnitude. |
| 3415 | "unit": "A String", # The units for magnitude. |
| 3416 | }, |
| 3417 | }, |
| 3418 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 3419 | # the end of the text, based on the current paragraph direction. If unset, |
| 3420 | # the value is inherited from the parent. |
| 3421 | "magnitude": 3.14, # The magnitude. |
| 3422 | "unit": "A String", # The units for magnitude. |
| 3423 | }, |
| 3424 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 3425 | # from the parent. |
| 3426 | # |
| 3427 | # Paragraph borders cannot be partially updated. When making |
| 3428 | # changes to a paragraph border the new border must be specified in |
| 3429 | # its entirety. |
| 3430 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 3431 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3432 | # a transparent color. |
| 3433 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3434 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3435 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3436 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3437 | }, |
| 3438 | }, |
| 3439 | }, |
| 3440 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 3441 | "magnitude": 3.14, # The magnitude. |
| 3442 | "unit": "A String", # The units for magnitude. |
| 3443 | }, |
| 3444 | "dashStyle": "A String", # The dash style of the border. |
| 3445 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 3446 | "magnitude": 3.14, # The magnitude. |
| 3447 | "unit": "A String", # The units for magnitude. |
| 3448 | }, |
| 3449 | }, |
| 3450 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 3451 | # inherited from the parent. |
| 3452 | "magnitude": 3.14, # The magnitude. |
| 3453 | "unit": "A String", # The units for magnitude. |
| 3454 | }, |
| 3455 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 3456 | # heading. This property is read-only. |
| 3457 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 3458 | # parent. |
| 3459 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 3460 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3461 | # a transparent color. |
| 3462 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3463 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3464 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3465 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3466 | }, |
| 3467 | }, |
| 3468 | }, |
| 3469 | }, |
| 3470 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 3471 | # from the parent. |
| 3472 | # |
| 3473 | # The top border is rendered when the paragraph above has different border |
| 3474 | # and indent properties. |
| 3475 | # |
| 3476 | # Paragraph borders cannot be partially updated. When making |
| 3477 | # changes to a paragraph border the new border must be specified in |
| 3478 | # its entirety. |
| 3479 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 3480 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3481 | # a transparent color. |
| 3482 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3483 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3484 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3485 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3486 | }, |
| 3487 | }, |
| 3488 | }, |
| 3489 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 3490 | "magnitude": 3.14, # The magnitude. |
| 3491 | "unit": "A String", # The units for magnitude. |
| 3492 | }, |
| 3493 | "dashStyle": "A String", # The dash style of the border. |
| 3494 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 3495 | "magnitude": 3.14, # The magnitude. |
| 3496 | "unit": "A String", # The units for magnitude. |
| 3497 | }, |
| 3498 | }, |
| 3499 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 3500 | # inherited. This property is read-only. |
| 3501 | { # A tab stop within a paragraph. |
| 3502 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 3503 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 3504 | "magnitude": 3.14, # The magnitude. |
| 3505 | "unit": "A String", # The units for magnitude. |
| 3506 | }, |
| 3507 | }, |
| 3508 | ], |
| 3509 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 3510 | # the value is inherited from the parent. |
| 3511 | "magnitude": 3.14, # The magnitude. |
| 3512 | "unit": "A String", # The units for magnitude. |
| 3513 | }, |
| 3514 | "alignment": "A String", # The text alignment for this paragraph. |
| 3515 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 3516 | # column if possible. If unset, the value is inherited from the parent. |
| 3517 | }, |
| 3518 | }, |
| 3519 | }, |
| 3520 | "paragraphStyle": { # Styles that apply to a whole paragraph. # The style of this paragraph. |
| 3521 | # |
| 3522 | # Inherited paragraph styles are represented as unset fields in this message. |
| 3523 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 3524 | # |
| 3525 | # * The ParagraphStyle on a Paragraph |
| 3526 | # inherits from the paragraph's corresponding named style type. |
| 3527 | # * The ParagraphStyle on a named style |
| 3528 | # inherits from the normal text named style. |
| 3529 | # * The ParagraphStyle of the normal text named style inherits |
| 3530 | # from the default paragraph style in the Docs editor. |
| 3531 | # * The ParagraphStyle on a Paragraph |
| 3532 | # element that is contained in a table may inherit its paragraph style from |
| 3533 | # the table style. |
| 3534 | # |
| 3535 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 3536 | # revert the style to a value matching the defaults in the Docs editor. |
| 3537 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 3538 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 3539 | # LEFT_TO_RIGHT since |
| 3540 | # paragraph direction is not inherited. |
| 3541 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 3542 | # inherited from the parent. |
| 3543 | "magnitude": 3.14, # The magnitude. |
| 3544 | "unit": "A String", # The units for magnitude. |
| 3545 | }, |
| 3546 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 3547 | # page or column as the next paragraph if possible. If unset, the value is |
| 3548 | # inherited from the parent. |
| 3549 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 3550 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 3551 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 3552 | # is inherited from the parent. |
| 3553 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 3554 | # inherited from the parent. |
| 3555 | # |
| 3556 | # The bottom border is rendered when the paragraph below has different border |
| 3557 | # and indent properties. |
| 3558 | # |
| 3559 | # Paragraph borders cannot be partially updated. When making |
| 3560 | # changes to a paragraph border the new border must be specified in |
| 3561 | # its entirety. |
| 3562 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 3563 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3564 | # a transparent color. |
| 3565 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3566 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3567 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3568 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3569 | }, |
| 3570 | }, |
| 3571 | }, |
| 3572 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 3573 | "magnitude": 3.14, # The magnitude. |
| 3574 | "unit": "A String", # The units for magnitude. |
| 3575 | }, |
| 3576 | "dashStyle": "A String", # The dash style of the border. |
| 3577 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 3578 | "magnitude": 3.14, # The magnitude. |
| 3579 | "unit": "A String", # The units for magnitude. |
| 3580 | }, |
| 3581 | }, |
| 3582 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 3583 | # the start of the text, based on the current paragraph direction. If unset, |
| 3584 | # the value is inherited from the parent. |
| 3585 | "magnitude": 3.14, # The magnitude. |
| 3586 | "unit": "A String", # The units for magnitude. |
| 3587 | }, |
| 3588 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 3589 | # If unset, the value is inherited from the parent. |
| 3590 | # |
| 3591 | # The between border is rendered when the adjacent paragraph has the same |
| 3592 | # border and indent properties. |
| 3593 | # |
| 3594 | # Paragraph borders cannot be partially updated. When making |
| 3595 | # changes to a paragraph border the new border must be specified in |
| 3596 | # its entirety. |
| 3597 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 3598 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3599 | # a transparent color. |
| 3600 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3601 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3602 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3603 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3604 | }, |
| 3605 | }, |
| 3606 | }, |
| 3607 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 3608 | "magnitude": 3.14, # The magnitude. |
| 3609 | "unit": "A String", # The units for magnitude. |
| 3610 | }, |
| 3611 | "dashStyle": "A String", # The dash style of the border. |
| 3612 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 3613 | "magnitude": 3.14, # The magnitude. |
| 3614 | "unit": "A String", # The units for magnitude. |
| 3615 | }, |
| 3616 | }, |
| 3617 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 3618 | # |
| 3619 | # Since updating the named style type affects other properties within |
| 3620 | # ParagraphStyle, the named style type is applied before the other properties |
| 3621 | # are updated. |
| 3622 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 3623 | # from the parent. |
| 3624 | # |
| 3625 | # Paragraph borders cannot be partially updated. When making |
| 3626 | # changes to a paragraph border the new border must be specified in |
| 3627 | # its entirety. |
| 3628 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 3629 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3630 | # a transparent color. |
| 3631 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3632 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3633 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3634 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3635 | }, |
| 3636 | }, |
| 3637 | }, |
| 3638 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 3639 | "magnitude": 3.14, # The magnitude. |
| 3640 | "unit": "A String", # The units for magnitude. |
| 3641 | }, |
| 3642 | "dashStyle": "A String", # The dash style of the border. |
| 3643 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 3644 | "magnitude": 3.14, # The magnitude. |
| 3645 | "unit": "A String", # The units for magnitude. |
| 3646 | }, |
| 3647 | }, |
| 3648 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 3649 | # the end of the text, based on the current paragraph direction. If unset, |
| 3650 | # the value is inherited from the parent. |
| 3651 | "magnitude": 3.14, # The magnitude. |
| 3652 | "unit": "A String", # The units for magnitude. |
| 3653 | }, |
| 3654 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 3655 | # from the parent. |
| 3656 | # |
| 3657 | # Paragraph borders cannot be partially updated. When making |
| 3658 | # changes to a paragraph border the new border must be specified in |
| 3659 | # its entirety. |
| 3660 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 3661 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3662 | # a transparent color. |
| 3663 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3664 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3665 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3666 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3667 | }, |
| 3668 | }, |
| 3669 | }, |
| 3670 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 3671 | "magnitude": 3.14, # The magnitude. |
| 3672 | "unit": "A String", # The units for magnitude. |
| 3673 | }, |
| 3674 | "dashStyle": "A String", # The dash style of the border. |
| 3675 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 3676 | "magnitude": 3.14, # The magnitude. |
| 3677 | "unit": "A String", # The units for magnitude. |
| 3678 | }, |
| 3679 | }, |
| 3680 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 3681 | # inherited from the parent. |
| 3682 | "magnitude": 3.14, # The magnitude. |
| 3683 | "unit": "A String", # The units for magnitude. |
| 3684 | }, |
| 3685 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 3686 | # heading. This property is read-only. |
| 3687 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 3688 | # parent. |
| 3689 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 3690 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3691 | # a transparent color. |
| 3692 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3693 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3694 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3695 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3696 | }, |
| 3697 | }, |
| 3698 | }, |
| 3699 | }, |
| 3700 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 3701 | # from the parent. |
| 3702 | # |
| 3703 | # The top border is rendered when the paragraph above has different border |
| 3704 | # and indent properties. |
| 3705 | # |
| 3706 | # Paragraph borders cannot be partially updated. When making |
| 3707 | # changes to a paragraph border the new border must be specified in |
| 3708 | # its entirety. |
| 3709 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 3710 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3711 | # a transparent color. |
| 3712 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3713 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3714 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3715 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3716 | }, |
| 3717 | }, |
| 3718 | }, |
| 3719 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 3720 | "magnitude": 3.14, # The magnitude. |
| 3721 | "unit": "A String", # The units for magnitude. |
| 3722 | }, |
| 3723 | "dashStyle": "A String", # The dash style of the border. |
| 3724 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 3725 | "magnitude": 3.14, # The magnitude. |
| 3726 | "unit": "A String", # The units for magnitude. |
| 3727 | }, |
| 3728 | }, |
| 3729 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 3730 | # inherited. This property is read-only. |
| 3731 | { # A tab stop within a paragraph. |
| 3732 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 3733 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 3734 | "magnitude": 3.14, # The magnitude. |
| 3735 | "unit": "A String", # The units for magnitude. |
| 3736 | }, |
| 3737 | }, |
| 3738 | ], |
| 3739 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 3740 | # the value is inherited from the parent. |
| 3741 | "magnitude": 3.14, # The magnitude. |
| 3742 | "unit": "A String", # The units for magnitude. |
| 3743 | }, |
| 3744 | "alignment": "A String", # The text alignment for this paragraph. |
| 3745 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 3746 | # column if possible. If unset, the value is inherited from the parent. |
| 3747 | }, |
| 3748 | }, |
| 3749 | "table": { # A StructuralElement representing a # A table type of structural element. |
| 3750 | # table. |
| 3751 | "rows": 42, # Number of rows in the table. |
| 3752 | "tableStyle": { # Styles that apply to a table. # The style of the table. |
| 3753 | "tableColumnProperties": [ # The properties of each column. |
| 3754 | # |
| 3755 | # Note that in Docs, tables contain rows and rows contain cells, similar to |
| 3756 | # HTML. So the properties for a row can be found on the row's |
| 3757 | # table_row_style. |
| 3758 | { # The properties of a column in a table. |
| 3759 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| 3760 | # FIXED_WIDTH. |
| 3761 | "magnitude": 3.14, # The magnitude. |
| 3762 | "unit": "A String", # The units for magnitude. |
| 3763 | }, |
| 3764 | "widthType": "A String", # The width type of the column. |
| 3765 | }, |
| 3766 | ], |
| 3767 | }, |
| 3768 | "suggestedInsertionIds": [ # The suggested insertion IDs. A Table may have |
| 3769 | # multiple insertion IDs if it is a nested suggested change. If empty, then |
| 3770 | # this is not a suggested insertion. |
| 3771 | "A String", |
| 3772 | ], |
| 3773 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 3774 | # of this content. |
| 3775 | "A String", |
| 3776 | ], |
| 3777 | "tableRows": [ # The contents and style of each row. |
| 3778 | { # The contents and style of a row in a Table. |
| 3779 | "endIndex": 42, # The zero-based end index of this row, exclusive, in UTF-16 code units. |
| 3780 | "tableCells": [ # The contents and style of each cell in this row. |
| 3781 | # |
| 3782 | # It is possible for a table to be non-rectangular, so some rows may have a |
| 3783 | # different number of cells than other rows in the same table. |
| 3784 | { # The contents and style of a cell in a Table. |
| 3785 | "endIndex": 42, # The zero-based end index of this cell, exclusive, in UTF-16 code units. |
| 3786 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 3787 | # of this content. |
| 3788 | "A String", |
| 3789 | ], |
| 3790 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableCell |
| 3791 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 3792 | # empty, then this is not a suggested insertion. |
| 3793 | "A String", |
| 3794 | ], |
| 3795 | "content": [ # The content of the cell. |
| 3796 | # Object with schema name: StructuralElement |
| 3797 | ], |
| 3798 | "tableCellStyle": { # The style of a TableCell. # The style of the cell. |
| 3799 | # |
| 3800 | # Inherited table cell styles are represented as unset fields in this message. |
| 3801 | # A table cell style can inherit from the table's style. |
| 3802 | "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| 3803 | "magnitude": 3.14, # The magnitude. |
| 3804 | "unit": "A String", # The units for magnitude. |
| 3805 | }, |
| 3806 | "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| 3807 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 3808 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3809 | # a transparent color. |
| 3810 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3811 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3812 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3813 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3814 | }, |
| 3815 | }, |
| 3816 | }, |
| 3817 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 3818 | "magnitude": 3.14, # The magnitude. |
| 3819 | "unit": "A String", # The units for magnitude. |
| 3820 | }, |
| 3821 | "dashStyle": "A String", # The dash style of the border. |
| 3822 | }, |
| 3823 | "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| 3824 | "magnitude": 3.14, # The magnitude. |
| 3825 | "unit": "A String", # The units for magnitude. |
| 3826 | }, |
| 3827 | "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| 3828 | "magnitude": 3.14, # The magnitude. |
| 3829 | "unit": "A String", # The units for magnitude. |
| 3830 | }, |
| 3831 | "borderLeft": { # A border around a table cell. # The left border of the cell. |
| 3832 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 3833 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3834 | # a transparent color. |
| 3835 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3836 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3837 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3838 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3839 | }, |
| 3840 | }, |
| 3841 | }, |
| 3842 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 3843 | "magnitude": 3.14, # The magnitude. |
| 3844 | "unit": "A String", # The units for magnitude. |
| 3845 | }, |
| 3846 | "dashStyle": "A String", # The dash style of the border. |
| 3847 | }, |
| 3848 | "columnSpan": 42, # The column span of the cell. This property is read-only. |
| 3849 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| 3850 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3851 | # a transparent color. |
| 3852 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3853 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3854 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3855 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3856 | }, |
| 3857 | }, |
| 3858 | }, |
| 3859 | "borderRight": { # A border around a table cell. # The right border of the cell. |
| 3860 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 3861 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3862 | # a transparent color. |
| 3863 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3864 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3865 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3866 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3867 | }, |
| 3868 | }, |
| 3869 | }, |
| 3870 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 3871 | "magnitude": 3.14, # The magnitude. |
| 3872 | "unit": "A String", # The units for magnitude. |
| 3873 | }, |
| 3874 | "dashStyle": "A String", # The dash style of the border. |
| 3875 | }, |
| 3876 | "rowSpan": 42, # The row span of the cell. This property is read-only. |
| 3877 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 3878 | # matches the alignment for newly created table cells in the Docs editor. |
| 3879 | "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| 3880 | "magnitude": 3.14, # The magnitude. |
| 3881 | "unit": "A String", # The units for magnitude. |
| 3882 | }, |
| 3883 | "borderTop": { # A border around a table cell. # The top border of the cell. |
| 3884 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 3885 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3886 | # a transparent color. |
| 3887 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3888 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3889 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3890 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3891 | }, |
| 3892 | }, |
| 3893 | }, |
| 3894 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 3895 | "magnitude": 3.14, # The magnitude. |
| 3896 | "unit": "A String", # The units for magnitude. |
| 3897 | }, |
| 3898 | "dashStyle": "A String", # The dash style of the border. |
| 3899 | }, |
| 3900 | }, |
| 3901 | "startIndex": 42, # The zero-based start index of this cell, in UTF-16 code units. |
| 3902 | "suggestedTableCellStyleChanges": { # The suggested changes to the table cell style, keyed by suggestion ID. |
| 3903 | "a_key": { # A suggested change to a TableCellStyle. |
| 3904 | "tableCellStyle": { # The style of a TableCell. # A TableCellStyle that only includes |
| 3905 | # the changes made in this suggestion. This can be used along with the |
| 3906 | # table_cell_style_suggestion_state |
| 3907 | # to see which fields have changed and their new values. |
| 3908 | # |
| 3909 | # Inherited table cell styles are represented as unset fields in this message. |
| 3910 | # A table cell style can inherit from the table's style. |
| 3911 | "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| 3912 | "magnitude": 3.14, # The magnitude. |
| 3913 | "unit": "A String", # The units for magnitude. |
| 3914 | }, |
| 3915 | "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| 3916 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 3917 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3918 | # a transparent color. |
| 3919 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3920 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3921 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3922 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3923 | }, |
| 3924 | }, |
| 3925 | }, |
| 3926 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 3927 | "magnitude": 3.14, # The magnitude. |
| 3928 | "unit": "A String", # The units for magnitude. |
| 3929 | }, |
| 3930 | "dashStyle": "A String", # The dash style of the border. |
| 3931 | }, |
| 3932 | "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| 3933 | "magnitude": 3.14, # The magnitude. |
| 3934 | "unit": "A String", # The units for magnitude. |
| 3935 | }, |
| 3936 | "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| 3937 | "magnitude": 3.14, # The magnitude. |
| 3938 | "unit": "A String", # The units for magnitude. |
| 3939 | }, |
| 3940 | "borderLeft": { # A border around a table cell. # The left border of the cell. |
| 3941 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 3942 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3943 | # a transparent color. |
| 3944 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3945 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3946 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3947 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3948 | }, |
| 3949 | }, |
| 3950 | }, |
| 3951 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 3952 | "magnitude": 3.14, # The magnitude. |
| 3953 | "unit": "A String", # The units for magnitude. |
| 3954 | }, |
| 3955 | "dashStyle": "A String", # The dash style of the border. |
| 3956 | }, |
| 3957 | "columnSpan": 42, # The column span of the cell. This property is read-only. |
| 3958 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| 3959 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3960 | # a transparent color. |
| 3961 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3962 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3963 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3964 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3965 | }, |
| 3966 | }, |
| 3967 | }, |
| 3968 | "borderRight": { # A border around a table cell. # The right border of the cell. |
| 3969 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 3970 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3971 | # a transparent color. |
| 3972 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3973 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3974 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3975 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 3976 | }, |
| 3977 | }, |
| 3978 | }, |
| 3979 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 3980 | "magnitude": 3.14, # The magnitude. |
| 3981 | "unit": "A String", # The units for magnitude. |
| 3982 | }, |
| 3983 | "dashStyle": "A String", # The dash style of the border. |
| 3984 | }, |
| 3985 | "rowSpan": 42, # The row span of the cell. This property is read-only. |
| 3986 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 3987 | # matches the alignment for newly created table cells in the Docs editor. |
| 3988 | "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| 3989 | "magnitude": 3.14, # The magnitude. |
| 3990 | "unit": "A String", # The units for magnitude. |
| 3991 | }, |
| 3992 | "borderTop": { # A border around a table cell. # The top border of the cell. |
| 3993 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 3994 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 3995 | # a transparent color. |
| 3996 | "rgbColor": { # An RGB color. # The RGB color value. |
| 3997 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 3998 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 3999 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4000 | }, |
| 4001 | }, |
| 4002 | }, |
| 4003 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 4004 | "magnitude": 3.14, # The magnitude. |
| 4005 | "unit": "A String", # The units for magnitude. |
| 4006 | }, |
| 4007 | "dashStyle": "A String", # The dash style of the border. |
| 4008 | }, |
| 4009 | }, |
| 4010 | "tableCellStyleSuggestionState": { # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. |
| 4011 | # For any field set to true, there is a new suggested value. |
| 4012 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 4013 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 4014 | "paddingBottomSuggested": True or False, # Indicates if there was a suggested change to padding_bottom. |
| 4015 | "contentAlignmentSuggested": True or False, # Indicates if there was a suggested change to content_alignment. |
| 4016 | "rowSpanSuggested": True or False, # Indicates if there was a suggested change to row_span. |
| 4017 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 4018 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 4019 | "columnSpanSuggested": True or False, # Indicates if there was a suggested change to column_span. |
| 4020 | "paddingRightSuggested": True or False, # Indicates if there was a suggested change to padding_right. |
| 4021 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 4022 | "paddingLeftSuggested": True or False, # Indicates if there was a suggested change to padding_left. |
| 4023 | "paddingTopSuggested": True or False, # Indicates if there was a suggested change to padding_top. |
| 4024 | }, |
| 4025 | }, |
| 4026 | }, |
| 4027 | }, |
| 4028 | ], |
| 4029 | "tableRowStyle": { # Styles that apply to a table row. # The style of the table row. |
| 4030 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 4031 | # at a height equal to or greater than this value in order to show all the |
| 4032 | # content in the row's cells. |
| 4033 | "magnitude": 3.14, # The magnitude. |
| 4034 | "unit": "A String", # The units for magnitude. |
| 4035 | }, |
| 4036 | }, |
| 4037 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableRow |
| 4038 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 4039 | # empty, then this is not a suggested insertion. |
| 4040 | "A String", |
| 4041 | ], |
| 4042 | "startIndex": 42, # The zero-based start index of this row, in UTF-16 code units. |
| 4043 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 4044 | # of this content. |
| 4045 | "A String", |
| 4046 | ], |
| 4047 | "suggestedTableRowStyleChanges": { # The suggested style changes to this row, keyed by suggestion ID. |
| 4048 | "a_key": { # A suggested change to a |
| 4049 | # TableRowStyle. |
| 4050 | "tableRowStyle": { # Styles that apply to a table row. # A TableRowStyle that only includes |
| 4051 | # the changes made in this suggestion. This can be used along with the |
| 4052 | # table_row_style_suggestion_state |
| 4053 | # to see which fields have changed and their new values. |
| 4054 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 4055 | # at a height equal to or greater than this value in order to show all the |
| 4056 | # content in the row's cells. |
| 4057 | "magnitude": 3.14, # The magnitude. |
| 4058 | "unit": "A String", # The units for magnitude. |
| 4059 | }, |
| 4060 | }, |
| 4061 | "tableRowStyleSuggestionState": { # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. |
| 4062 | # For any field set to true, there is a new suggested value. |
| 4063 | "minRowHeightSuggested": True or False, # Indicates if there was a suggested change to min_row_height. |
| 4064 | }, |
| 4065 | }, |
| 4066 | }, |
| 4067 | }, |
| 4068 | ], |
| 4069 | "columns": 42, # Number of columns in the table. |
| 4070 | # |
| 4071 | # It is possible for a table to be non-rectangular, so some rows may have a |
| 4072 | # different number of cells. |
| 4073 | }, |
| 4074 | }, |
| 4075 | ], |
| 4076 | }, |
| 4077 | "documentStyle": { # The style of the document. # The style of the document. |
| 4078 | "defaultFooterId": "A String", # The ID of the default footer. If not set, there is no default footer. |
| 4079 | "evenPageFooterId": "A String", # The ID of the footer used only for even pages. The value of |
| 4080 | # use_even_page_header_footer determines |
| 4081 | # whether to use the default_footer_id or this value for the |
| 4082 | # footer on even pages. If not set, there is no even page footer. |
| 4083 | "firstPageFooterId": "A String", # The ID of the footer used only for the first page. If not set then |
| 4084 | # a unique footer for the first page does not exist. The value of |
| 4085 | # use_first_page_header_footer determines |
| 4086 | # whether to use the default_footer_id or this value for the |
| 4087 | # footer on the first page. If not set, there is no first page footer. |
| 4088 | "pageSize": { # A width and height. # The size of a page in the document. |
| 4089 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 4090 | "magnitude": 3.14, # The magnitude. |
| 4091 | "unit": "A String", # The units for magnitude. |
| 4092 | }, |
| 4093 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 4094 | "magnitude": 3.14, # The magnitude. |
| 4095 | "unit": "A String", # The units for magnitude. |
| 4096 | }, |
| 4097 | }, |
| 4098 | "defaultHeaderId": "A String", # The ID of the default header. If not set, there is no default header. |
| 4099 | "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom page margin. |
| 4100 | "magnitude": 3.14, # The magnitude. |
| 4101 | "unit": "A String", # The units for magnitude. |
| 4102 | }, |
| 4103 | "firstPageHeaderId": "A String", # The ID of the header used only for the first page. If not set then |
| 4104 | # a unique header for the first page does not exist. |
| 4105 | # The value of use_first_page_header_footer determines |
| 4106 | # whether to use the default_header_id or this value for the |
| 4107 | # header on the first page. If not set, there is no first page header. |
| 4108 | "evenPageHeaderId": "A String", # The ID of the header used only for even pages. The value of |
| 4109 | # use_even_page_header_footer determines |
| 4110 | # whether to use the default_header_id or this value for the |
| 4111 | # header on even pages. If not set, there is no even page header. |
| 4112 | "useFirstPageHeaderFooter": True or False, # Indicates whether to use the first page header / footer IDs for the first |
| 4113 | # page. |
| 4114 | "marginLeft": { # A magnitude in a single direction in the specified units. # The left page margin. |
| 4115 | "magnitude": 3.14, # The magnitude. |
| 4116 | "unit": "A String", # The units for magnitude. |
| 4117 | }, |
| 4118 | "useEvenPageHeaderFooter": True or False, # Indicates whether to use the even page header / footer IDs for the even |
| 4119 | # pages. |
| 4120 | "background": { # Represents the background of a document. # The background of the document. |
| 4121 | "color": { # A color that can either be fully opaque or fully transparent. # The background color. |
| 4122 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 4123 | # a transparent color. |
| 4124 | "rgbColor": { # An RGB color. # The RGB color value. |
| 4125 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4126 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4127 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4128 | }, |
| 4129 | }, |
| 4130 | }, |
| 4131 | }, |
| 4132 | "marginRight": { # A magnitude in a single direction in the specified units. # The right page margin. |
| 4133 | "magnitude": 3.14, # The magnitude. |
| 4134 | "unit": "A String", # The units for magnitude. |
| 4135 | }, |
| 4136 | "pageNumberStart": 42, # The page number from which to start counting the number of pages. |
| 4137 | "marginTop": { # A magnitude in a single direction in the specified units. # The top page margin. |
| 4138 | "magnitude": 3.14, # The magnitude. |
| 4139 | "unit": "A String", # The units for magnitude. |
| 4140 | }, |
| 4141 | }, |
| 4142 | "title": "A String", # The title of the document. |
| 4143 | "namedRanges": { # The named ranges in the document, keyed by name. |
| 4144 | "a_key": { # A collection of all the NamedRanges in the |
| 4145 | # document that share a given name. |
| 4146 | "namedRanges": [ # The NamedRanges that share the same name. |
| 4147 | { # A collection of Ranges with the same named range |
| 4148 | # ID. |
| 4149 | # |
| 4150 | # Named ranges allow developers to associate parts of a document with an |
| 4151 | # arbitrary user-defined label so their contents can be programmatically read |
| 4152 | # or edited at a later time. A document can contain multiple named ranges with |
| 4153 | # the same name, but every named range has a unique ID. |
| 4154 | # |
| 4155 | # A named range is created with a single Range, |
| 4156 | # and content inserted inside a named range generally expands that range. |
| 4157 | # However, certain document changes can cause the range to be split into |
| 4158 | # multiple ranges. |
| 4159 | # |
| 4160 | # Named ranges are not private. All applications and collaborators that have |
| 4161 | # access to the document can see its named ranges. |
| 4162 | "ranges": [ # The ranges that belong to this named range. |
| 4163 | { # Specifies a contiguous range of text. |
| 4164 | "endIndex": 42, # The zero-based end index of this range, exclusive, in UTF-16 code units. |
| 4165 | # |
| 4166 | # In all current uses, an end index must be provided. This field is an |
| 4167 | # Int32Value in order to accommodate future use cases with open-ended ranges. |
| 4168 | "startIndex": 42, # The zero-based start index of this range, in UTF-16 code units. |
| 4169 | # |
| 4170 | # In all current uses, a start index must be provided. This field is an |
| 4171 | # Int32Value in order to accommodate future use cases with open-ended ranges. |
| 4172 | "segmentId": "A String", # The ID of the header, footer or footnote that this range is contained in. |
| 4173 | # An empty segment ID signifies the document's body. |
| 4174 | }, |
| 4175 | ], |
| 4176 | "namedRangeId": "A String", # The ID of the named range. |
| 4177 | "name": "A String", # The name of the named range. |
| 4178 | }, |
| 4179 | ], |
| 4180 | "name": "A String", # The name that all the named ranges share. |
| 4181 | }, |
| 4182 | }, |
| 4183 | "suggestedDocumentStyleChanges": { # The suggested changes to the style of the document, keyed by suggestion ID. |
| 4184 | "a_key": { # A suggested change to the DocumentStyle. |
| 4185 | "documentStyle": { # The style of the document. # A DocumentStyle that only includes |
| 4186 | # the changes made in this suggestion. This can be used along with the |
| 4187 | # document_style_suggestion_state |
| 4188 | # to see which fields have changed and their new values. |
| 4189 | "defaultFooterId": "A String", # The ID of the default footer. If not set, there is no default footer. |
| 4190 | "evenPageFooterId": "A String", # The ID of the footer used only for even pages. The value of |
| 4191 | # use_even_page_header_footer determines |
| 4192 | # whether to use the default_footer_id or this value for the |
| 4193 | # footer on even pages. If not set, there is no even page footer. |
| 4194 | "firstPageFooterId": "A String", # The ID of the footer used only for the first page. If not set then |
| 4195 | # a unique footer for the first page does not exist. The value of |
| 4196 | # use_first_page_header_footer determines |
| 4197 | # whether to use the default_footer_id or this value for the |
| 4198 | # footer on the first page. If not set, there is no first page footer. |
| 4199 | "pageSize": { # A width and height. # The size of a page in the document. |
| 4200 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 4201 | "magnitude": 3.14, # The magnitude. |
| 4202 | "unit": "A String", # The units for magnitude. |
| 4203 | }, |
| 4204 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 4205 | "magnitude": 3.14, # The magnitude. |
| 4206 | "unit": "A String", # The units for magnitude. |
| 4207 | }, |
| 4208 | }, |
| 4209 | "defaultHeaderId": "A String", # The ID of the default header. If not set, there is no default header. |
| 4210 | "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom page margin. |
| 4211 | "magnitude": 3.14, # The magnitude. |
| 4212 | "unit": "A String", # The units for magnitude. |
| 4213 | }, |
| 4214 | "firstPageHeaderId": "A String", # The ID of the header used only for the first page. If not set then |
| 4215 | # a unique header for the first page does not exist. |
| 4216 | # The value of use_first_page_header_footer determines |
| 4217 | # whether to use the default_header_id or this value for the |
| 4218 | # header on the first page. If not set, there is no first page header. |
| 4219 | "evenPageHeaderId": "A String", # The ID of the header used only for even pages. The value of |
| 4220 | # use_even_page_header_footer determines |
| 4221 | # whether to use the default_header_id or this value for the |
| 4222 | # header on even pages. If not set, there is no even page header. |
| 4223 | "useFirstPageHeaderFooter": True or False, # Indicates whether to use the first page header / footer IDs for the first |
| 4224 | # page. |
| 4225 | "marginLeft": { # A magnitude in a single direction in the specified units. # The left page margin. |
| 4226 | "magnitude": 3.14, # The magnitude. |
| 4227 | "unit": "A String", # The units for magnitude. |
| 4228 | }, |
| 4229 | "useEvenPageHeaderFooter": True or False, # Indicates whether to use the even page header / footer IDs for the even |
| 4230 | # pages. |
| 4231 | "background": { # Represents the background of a document. # The background of the document. |
| 4232 | "color": { # A color that can either be fully opaque or fully transparent. # The background color. |
| 4233 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 4234 | # a transparent color. |
| 4235 | "rgbColor": { # An RGB color. # The RGB color value. |
| 4236 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4237 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4238 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4239 | }, |
| 4240 | }, |
| 4241 | }, |
| 4242 | }, |
| 4243 | "marginRight": { # A magnitude in a single direction in the specified units. # The right page margin. |
| 4244 | "magnitude": 3.14, # The magnitude. |
| 4245 | "unit": "A String", # The units for magnitude. |
| 4246 | }, |
| 4247 | "pageNumberStart": 42, # The page number from which to start counting the number of pages. |
| 4248 | "marginTop": { # A magnitude in a single direction in the specified units. # The top page margin. |
| 4249 | "magnitude": 3.14, # The magnitude. |
| 4250 | "unit": "A String", # The units for magnitude. |
| 4251 | }, |
| 4252 | }, |
| 4253 | "documentStyleSuggestionState": { # A mask that indicates which of the fields on the base DocumentStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base DocumentStyle have been changed in this suggestion. |
| 4254 | # For any field set to true, there is a new suggested value. |
| 4255 | "marginRightSuggested": True or False, # Indicates if there was a suggested change to margin_right. |
| 4256 | "evenPageHeaderIdSuggested": True or False, # Indicates if there was a suggested change to even_page_header_id. |
| 4257 | "firstPageHeaderIdSuggested": True or False, # Indicates if there was a suggested change to first_page_header_id. |
| 4258 | "marginBottomSuggested": True or False, # Indicates if there was a suggested change to margin_bottom. |
| 4259 | "pageNumberStartSuggested": True or False, # Indicates if there was a suggested change to page_number_start. |
| 4260 | "defaultHeaderIdSuggested": True or False, # Indicates if there was a suggested change to default_header_id. |
| 4261 | "pageSizeSuggestionState": { # A mask that indicates which of the fields on the base Size have been changed in this suggestion. # A mask that indicates which of the fields in size have been changed in this |
| 4262 | # suggestion. |
| 4263 | # For any field set to true, the Size has |
| 4264 | # a new suggested value. |
| 4265 | "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| 4266 | "heightSuggested": True or False, # Indicates if there was a suggested change to height. |
| 4267 | }, |
| 4268 | "marginLeftSuggested": True or False, # Indicates if there was a suggested change to margin_left. |
| 4269 | "marginTopSuggested": True or False, # Indicates if there was a suggested change to margin_top. |
| 4270 | "firstPageFooterIdSuggested": True or False, # Indicates if there was a suggested change to first_page_footer_id. |
| 4271 | "defaultFooterIdSuggested": True or False, # Indicates if there was a suggested change to default_footer_id. |
| 4272 | "useFirstPageHeaderFooterSuggested": True or False, # Indicates if there was a suggested change to use_first_page_header_footer. |
| 4273 | "evenPageFooterIdSuggested": True or False, # Indicates if there was a suggested change to even_page_footer_id. |
| 4274 | "backgroundSuggestionState": { # A mask that indicates which of the fields on the base Background have been changed in this suggestion. # A mask that indicates which of the fields in background have been changed in this |
| 4275 | # suggestion. |
| 4276 | # For any field set to true, the Backgound has a new suggested value. |
| 4277 | "backgroundColorSuggested": True or False, # Indicates whether the current background color has been modified in this |
| 4278 | # suggestion. |
| 4279 | }, |
| 4280 | "useEvenPageHeaderFooterSuggested": True or False, # Indicates if there was a suggested change to use_even_page_header_footer. |
| 4281 | }, |
| 4282 | }, |
| 4283 | }, |
| 4284 | "suggestedNamedStylesChanges": { # The suggested changes to the named styles of the document, keyed by |
| 4285 | # suggestion ID. |
| 4286 | "a_key": { # A suggested change to the NamedStyles. |
| 4287 | "namedStylesSuggestionState": { # The suggestion state of a NamedStyles # A mask that indicates which of the fields on the base NamedStyles have been changed in this suggestion. |
| 4288 | # message. |
| 4289 | "stylesSuggestionStates": [ # A mask that indicates which of the fields on the corresponding NamedStyle in styles have been changed in this |
| 4290 | # suggestion. |
| 4291 | # |
| 4292 | # The order of these named style suggestion states match the order of the |
| 4293 | # corresponding named style within the named styles suggestion. |
| 4294 | { # A suggestion state of a NamedStyle message. |
| 4295 | "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields in paragraph style have been changed in this |
| 4296 | # suggestion. |
| 4297 | # For any field set to true, there is a new suggested value. |
| 4298 | "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| 4299 | "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| 4300 | "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| 4301 | "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| 4302 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 4303 | "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| 4304 | "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| 4305 | "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| 4306 | "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| 4307 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 4308 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 4309 | "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| 4310 | "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| 4311 | "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| 4312 | "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| 4313 | "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| 4314 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 4315 | "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| 4316 | "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| 4317 | "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| 4318 | # this suggestion. |
| 4319 | # suggested change. For any field set to true, there is a new suggested value. |
| 4320 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| 4321 | }, |
| 4322 | }, |
| 4323 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| 4324 | # suggestion. |
| 4325 | # For any field set to true, there is a new suggested value. |
| 4326 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 4327 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 4328 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 4329 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 4330 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 4331 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 4332 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 4333 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 4334 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 4335 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 4336 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 4337 | }, |
| 4338 | "namedStyleType": "A String", # The named style type that this suggestion state corresponds to. |
| 4339 | # |
| 4340 | # This field is provided as a convenience for matching the |
| 4341 | # NamedStyleSuggestionState with its corresponding NamedStyle. |
| 4342 | }, |
| 4343 | ], |
| 4344 | }, |
| 4345 | "namedStyles": { # The named styles. Paragraphs in the document can inherit their # A NamedStyles that only includes the |
| 4346 | # changes made in this suggestion. This can be used along with the |
| 4347 | # named_styles_suggestion_state to |
| 4348 | # see which fields have changed and their new values. |
| 4349 | # TextStyle and |
| 4350 | # ParagraphStyle from these named styles. |
| 4351 | "styles": [ # The named styles. |
| 4352 | # |
| 4353 | # There is an entry for each of the possible named style types. |
| 4354 | { # A named style. Paragraphs in the document can inherit their |
| 4355 | # TextStyle and |
| 4356 | # ParagraphStyle from this named style |
| 4357 | # when they have the same named style type. |
| 4358 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this named style. |
| 4359 | # |
| 4360 | # Inherited text styles are represented as unset fields in this message. A |
| 4361 | # text style's parent depends on where the text style is defined: |
| 4362 | # |
| 4363 | # * The TextStyle of text in a Paragraph |
| 4364 | # inherits from the paragraph's corresponding named style type. |
| 4365 | # * The TextStyle on a named style |
| 4366 | # inherits from the normal text named style. |
| 4367 | # * The TextStyle of the normal text named style inherits |
| 4368 | # from the default text style in the Docs editor. |
| 4369 | # * The TextStyle on a Paragraph element |
| 4370 | # that is contained in a table may inherit its text style from the table |
| 4371 | # style. |
| 4372 | # |
| 4373 | # If the text style does not inherit from a parent, unsetting fields will |
| 4374 | # revert the style to a value matching the defaults in the Docs editor. |
| 4375 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 4376 | # or transparent, depending on the `color` field. |
| 4377 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 4378 | # a transparent color. |
| 4379 | "rgbColor": { # An RGB color. # The RGB color value. |
| 4380 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4381 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4382 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4383 | }, |
| 4384 | }, |
| 4385 | }, |
| 4386 | "italic": True or False, # Whether or not the text is italicized. |
| 4387 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 4388 | # |
| 4389 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 4390 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 4391 | # The `font_size` itself is not affected by changes in this field. |
| 4392 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 4393 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 4394 | # |
| 4395 | # If an update request specifies values for both `weighted_font_family` and |
| 4396 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 4397 | # |
| 4398 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 4399 | # |
| 4400 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 4401 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 4402 | # is returned. |
| 4403 | "fontFamily": "A String", # The font family of the text. |
| 4404 | # |
| 4405 | # The font family can be any font from the Font menu in Docs or from |
| 4406 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 4407 | # unrecognized, the text is rendered in `Arial`. |
| 4408 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 4409 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 4410 | # numerical values described in the CSS 2.1 Specification, |
| 4411 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 4412 | # non-numerical values disallowed. |
| 4413 | # |
| 4414 | # The default value is `400` ("normal"). |
| 4415 | # |
| 4416 | # The font weight makes up just one component of the rendered font weight. |
| 4417 | # The rendered weight is determined by a combination of the `weight` and the |
| 4418 | # text style's resolved `bold` value, after accounting for inheritance: |
| 4419 | # |
| 4420 | # * If the text is bold and the weight is less than `400`, the rendered |
| 4421 | # weight is 400. |
| 4422 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 4423 | # is less than `700`, the rendered weight is `700`. |
| 4424 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 4425 | # equal to the weight. |
| 4426 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 4427 | }, |
| 4428 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 4429 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 4430 | "magnitude": 3.14, # The magnitude. |
| 4431 | "unit": "A String", # The units for magnitude. |
| 4432 | }, |
| 4433 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 4434 | # or transparent, depending on the `color` field. |
| 4435 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 4436 | # a transparent color. |
| 4437 | "rgbColor": { # An RGB color. # The RGB color value. |
| 4438 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4439 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4440 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4441 | }, |
| 4442 | }, |
| 4443 | }, |
| 4444 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 4445 | # are not inherited from parent text. |
| 4446 | # |
| 4447 | # Changing the link in an update request causes some other changes to the |
| 4448 | # text style of the range: |
| 4449 | # |
| 4450 | # * When setting a link, the text foreground color will be updated to the |
| 4451 | # default link color and the text will be underlined. If these fields are |
| 4452 | # modified in the same request, those values will be used instead of the |
| 4453 | # link defaults. |
| 4454 | # * Setting a link on a text range that overlaps with an existing link will |
| 4455 | # also update the existing link to point to the new URL. |
| 4456 | # * Links are not settable on newline characters. As a result, setting a link |
| 4457 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 4458 | # will separate the newline character(s) into their own text runs. The |
| 4459 | # link will be applied separately to the runs before and after the newline. |
| 4460 | # * Removing a link will update the text style of the range to match the |
| 4461 | # style of the preceding text (or the default text styles if the preceding |
| 4462 | # text is another link) unless different styles are being set in the same |
| 4463 | # request. |
| 4464 | "headingId": "A String", # The ID of a heading in this document. |
| 4465 | "url": "A String", # An external URL. |
| 4466 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 4467 | }, |
| 4468 | "underline": True or False, # Whether or not the text is underlined. |
| 4469 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 4470 | }, |
| 4471 | "namedStyleType": "A String", # The type of this named style. |
| 4472 | "paragraphStyle": { # Styles that apply to a whole paragraph. # The paragraph style of this named style. |
| 4473 | # |
| 4474 | # Inherited paragraph styles are represented as unset fields in this message. |
| 4475 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 4476 | # |
| 4477 | # * The ParagraphStyle on a Paragraph |
| 4478 | # inherits from the paragraph's corresponding named style type. |
| 4479 | # * The ParagraphStyle on a named style |
| 4480 | # inherits from the normal text named style. |
| 4481 | # * The ParagraphStyle of the normal text named style inherits |
| 4482 | # from the default paragraph style in the Docs editor. |
| 4483 | # * The ParagraphStyle on a Paragraph |
| 4484 | # element that is contained in a table may inherit its paragraph style from |
| 4485 | # the table style. |
| 4486 | # |
| 4487 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 4488 | # revert the style to a value matching the defaults in the Docs editor. |
| 4489 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 4490 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 4491 | # LEFT_TO_RIGHT since |
| 4492 | # paragraph direction is not inherited. |
| 4493 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 4494 | # inherited from the parent. |
| 4495 | "magnitude": 3.14, # The magnitude. |
| 4496 | "unit": "A String", # The units for magnitude. |
| 4497 | }, |
| 4498 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 4499 | # page or column as the next paragraph if possible. If unset, the value is |
| 4500 | # inherited from the parent. |
| 4501 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 4502 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 4503 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 4504 | # is inherited from the parent. |
| 4505 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 4506 | # inherited from the parent. |
| 4507 | # |
| 4508 | # The bottom border is rendered when the paragraph below has different border |
| 4509 | # and indent properties. |
| 4510 | # |
| 4511 | # Paragraph borders cannot be partially updated. When making |
| 4512 | # changes to a paragraph border the new border must be specified in |
| 4513 | # its entirety. |
| 4514 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 4515 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 4516 | # a transparent color. |
| 4517 | "rgbColor": { # An RGB color. # The RGB color value. |
| 4518 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4519 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4520 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4521 | }, |
| 4522 | }, |
| 4523 | }, |
| 4524 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 4525 | "magnitude": 3.14, # The magnitude. |
| 4526 | "unit": "A String", # The units for magnitude. |
| 4527 | }, |
| 4528 | "dashStyle": "A String", # The dash style of the border. |
| 4529 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 4530 | "magnitude": 3.14, # The magnitude. |
| 4531 | "unit": "A String", # The units for magnitude. |
| 4532 | }, |
| 4533 | }, |
| 4534 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 4535 | # the start of the text, based on the current paragraph direction. If unset, |
| 4536 | # the value is inherited from the parent. |
| 4537 | "magnitude": 3.14, # The magnitude. |
| 4538 | "unit": "A String", # The units for magnitude. |
| 4539 | }, |
| 4540 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 4541 | # If unset, the value is inherited from the parent. |
| 4542 | # |
| 4543 | # The between border is rendered when the adjacent paragraph has the same |
| 4544 | # border and indent properties. |
| 4545 | # |
| 4546 | # Paragraph borders cannot be partially updated. When making |
| 4547 | # changes to a paragraph border the new border must be specified in |
| 4548 | # its entirety. |
| 4549 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 4550 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 4551 | # a transparent color. |
| 4552 | "rgbColor": { # An RGB color. # The RGB color value. |
| 4553 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4554 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4555 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4556 | }, |
| 4557 | }, |
| 4558 | }, |
| 4559 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 4560 | "magnitude": 3.14, # The magnitude. |
| 4561 | "unit": "A String", # The units for magnitude. |
| 4562 | }, |
| 4563 | "dashStyle": "A String", # The dash style of the border. |
| 4564 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 4565 | "magnitude": 3.14, # The magnitude. |
| 4566 | "unit": "A String", # The units for magnitude. |
| 4567 | }, |
| 4568 | }, |
| 4569 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 4570 | # |
| 4571 | # Since updating the named style type affects other properties within |
| 4572 | # ParagraphStyle, the named style type is applied before the other properties |
| 4573 | # are updated. |
| 4574 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 4575 | # from the parent. |
| 4576 | # |
| 4577 | # Paragraph borders cannot be partially updated. When making |
| 4578 | # changes to a paragraph border the new border must be specified in |
| 4579 | # its entirety. |
| 4580 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 4581 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 4582 | # a transparent color. |
| 4583 | "rgbColor": { # An RGB color. # The RGB color value. |
| 4584 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4585 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4586 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4587 | }, |
| 4588 | }, |
| 4589 | }, |
| 4590 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 4591 | "magnitude": 3.14, # The magnitude. |
| 4592 | "unit": "A String", # The units for magnitude. |
| 4593 | }, |
| 4594 | "dashStyle": "A String", # The dash style of the border. |
| 4595 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 4596 | "magnitude": 3.14, # The magnitude. |
| 4597 | "unit": "A String", # The units for magnitude. |
| 4598 | }, |
| 4599 | }, |
| 4600 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 4601 | # the end of the text, based on the current paragraph direction. If unset, |
| 4602 | # the value is inherited from the parent. |
| 4603 | "magnitude": 3.14, # The magnitude. |
| 4604 | "unit": "A String", # The units for magnitude. |
| 4605 | }, |
| 4606 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 4607 | # from the parent. |
| 4608 | # |
| 4609 | # Paragraph borders cannot be partially updated. When making |
| 4610 | # changes to a paragraph border the new border must be specified in |
| 4611 | # its entirety. |
| 4612 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 4613 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 4614 | # a transparent color. |
| 4615 | "rgbColor": { # An RGB color. # The RGB color value. |
| 4616 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4617 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4618 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4619 | }, |
| 4620 | }, |
| 4621 | }, |
| 4622 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 4623 | "magnitude": 3.14, # The magnitude. |
| 4624 | "unit": "A String", # The units for magnitude. |
| 4625 | }, |
| 4626 | "dashStyle": "A String", # The dash style of the border. |
| 4627 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 4628 | "magnitude": 3.14, # The magnitude. |
| 4629 | "unit": "A String", # The units for magnitude. |
| 4630 | }, |
| 4631 | }, |
| 4632 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 4633 | # inherited from the parent. |
| 4634 | "magnitude": 3.14, # The magnitude. |
| 4635 | "unit": "A String", # The units for magnitude. |
| 4636 | }, |
| 4637 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 4638 | # heading. This property is read-only. |
| 4639 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 4640 | # parent. |
| 4641 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 4642 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 4643 | # a transparent color. |
| 4644 | "rgbColor": { # An RGB color. # The RGB color value. |
| 4645 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4646 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4647 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4648 | }, |
| 4649 | }, |
| 4650 | }, |
| 4651 | }, |
| 4652 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 4653 | # from the parent. |
| 4654 | # |
| 4655 | # The top border is rendered when the paragraph above has different border |
| 4656 | # and indent properties. |
| 4657 | # |
| 4658 | # Paragraph borders cannot be partially updated. When making |
| 4659 | # changes to a paragraph border the new border must be specified in |
| 4660 | # its entirety. |
| 4661 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 4662 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 4663 | # a transparent color. |
| 4664 | "rgbColor": { # An RGB color. # The RGB color value. |
| 4665 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4666 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4667 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4668 | }, |
| 4669 | }, |
| 4670 | }, |
| 4671 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 4672 | "magnitude": 3.14, # The magnitude. |
| 4673 | "unit": "A String", # The units for magnitude. |
| 4674 | }, |
| 4675 | "dashStyle": "A String", # The dash style of the border. |
| 4676 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 4677 | "magnitude": 3.14, # The magnitude. |
| 4678 | "unit": "A String", # The units for magnitude. |
| 4679 | }, |
| 4680 | }, |
| 4681 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 4682 | # inherited. This property is read-only. |
| 4683 | { # A tab stop within a paragraph. |
| 4684 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 4685 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 4686 | "magnitude": 3.14, # The magnitude. |
| 4687 | "unit": "A String", # The units for magnitude. |
| 4688 | }, |
| 4689 | }, |
| 4690 | ], |
| 4691 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 4692 | # the value is inherited from the parent. |
| 4693 | "magnitude": 3.14, # The magnitude. |
| 4694 | "unit": "A String", # The units for magnitude. |
| 4695 | }, |
| 4696 | "alignment": "A String", # The text alignment for this paragraph. |
| 4697 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 4698 | # column if possible. If unset, the value is inherited from the parent. |
| 4699 | }, |
| 4700 | }, |
| 4701 | ], |
| 4702 | }, |
| 4703 | }, |
| 4704 | }, |
| 4705 | "suggestionsViewMode": "A String", # The suggestions view mode applied to the document. |
| 4706 | # |
| 4707 | # Note: When editing a document, changes must be based on a document with |
| 4708 | # SUGGESTIONS_INLINE. |
| 4709 | "lists": { # The lists in the document, keyed by list ID. |
| 4710 | "a_key": { # A List represents the list attributes for a group of paragraphs that all |
| 4711 | # belong to the same list. A paragraph that is part of a list has a reference |
| 4712 | # to the list's ID in its bullet. |
| 4713 | "listProperties": { # The properties of a list which describe the look # The properties of the list. |
| 4714 | # and feel of bullets belonging to paragraphs associated with a list. |
| 4715 | "nestingLevels": [ # Describes the properties of the bullets at the associated level. |
| 4716 | # |
| 4717 | # A list has at most nine levels of nesting with nesting level 0 |
| 4718 | # corresponding to the top-most level and nesting level 8 corresponding to |
| 4719 | # the most nested level. The nesting levels are returned in ascending order |
| 4720 | # with the least nested returned first. |
| 4721 | { # Contains properties describing the look and feel of a list bullet at a given |
| 4722 | # level of nesting. |
| 4723 | "textStyle": { # Represents the styling that can be applied to text. # The text style of bullets at this level of nesting. |
| 4724 | # |
| 4725 | # Inherited text styles are represented as unset fields in this message. A |
| 4726 | # text style's parent depends on where the text style is defined: |
| 4727 | # |
| 4728 | # * The TextStyle of text in a Paragraph |
| 4729 | # inherits from the paragraph's corresponding named style type. |
| 4730 | # * The TextStyle on a named style |
| 4731 | # inherits from the normal text named style. |
| 4732 | # * The TextStyle of the normal text named style inherits |
| 4733 | # from the default text style in the Docs editor. |
| 4734 | # * The TextStyle on a Paragraph element |
| 4735 | # that is contained in a table may inherit its text style from the table |
| 4736 | # style. |
| 4737 | # |
| 4738 | # If the text style does not inherit from a parent, unsetting fields will |
| 4739 | # revert the style to a value matching the defaults in the Docs editor. |
| 4740 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 4741 | # or transparent, depending on the `color` field. |
| 4742 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 4743 | # a transparent color. |
| 4744 | "rgbColor": { # An RGB color. # The RGB color value. |
| 4745 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4746 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4747 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4748 | }, |
| 4749 | }, |
| 4750 | }, |
| 4751 | "italic": True or False, # Whether or not the text is italicized. |
| 4752 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 4753 | # |
| 4754 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 4755 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 4756 | # The `font_size` itself is not affected by changes in this field. |
| 4757 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 4758 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 4759 | # |
| 4760 | # If an update request specifies values for both `weighted_font_family` and |
| 4761 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 4762 | # |
| 4763 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 4764 | # |
| 4765 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 4766 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 4767 | # is returned. |
| 4768 | "fontFamily": "A String", # The font family of the text. |
| 4769 | # |
| 4770 | # The font family can be any font from the Font menu in Docs or from |
| 4771 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 4772 | # unrecognized, the text is rendered in `Arial`. |
| 4773 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 4774 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 4775 | # numerical values described in the CSS 2.1 Specification, |
| 4776 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 4777 | # non-numerical values disallowed. |
| 4778 | # |
| 4779 | # The default value is `400` ("normal"). |
| 4780 | # |
| 4781 | # The font weight makes up just one component of the rendered font weight. |
| 4782 | # The rendered weight is determined by a combination of the `weight` and the |
| 4783 | # text style's resolved `bold` value, after accounting for inheritance: |
| 4784 | # |
| 4785 | # * If the text is bold and the weight is less than `400`, the rendered |
| 4786 | # weight is 400. |
| 4787 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 4788 | # is less than `700`, the rendered weight is `700`. |
| 4789 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 4790 | # equal to the weight. |
| 4791 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 4792 | }, |
| 4793 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 4794 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 4795 | "magnitude": 3.14, # The magnitude. |
| 4796 | "unit": "A String", # The units for magnitude. |
| 4797 | }, |
| 4798 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 4799 | # or transparent, depending on the `color` field. |
| 4800 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 4801 | # a transparent color. |
| 4802 | "rgbColor": { # An RGB color. # The RGB color value. |
| 4803 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4804 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4805 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4806 | }, |
| 4807 | }, |
| 4808 | }, |
| 4809 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 4810 | # are not inherited from parent text. |
| 4811 | # |
| 4812 | # Changing the link in an update request causes some other changes to the |
| 4813 | # text style of the range: |
| 4814 | # |
| 4815 | # * When setting a link, the text foreground color will be updated to the |
| 4816 | # default link color and the text will be underlined. If these fields are |
| 4817 | # modified in the same request, those values will be used instead of the |
| 4818 | # link defaults. |
| 4819 | # * Setting a link on a text range that overlaps with an existing link will |
| 4820 | # also update the existing link to point to the new URL. |
| 4821 | # * Links are not settable on newline characters. As a result, setting a link |
| 4822 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 4823 | # will separate the newline character(s) into their own text runs. The |
| 4824 | # link will be applied separately to the runs before and after the newline. |
| 4825 | # * Removing a link will update the text style of the range to match the |
| 4826 | # style of the preceding text (or the default text styles if the preceding |
| 4827 | # text is another link) unless different styles are being set in the same |
| 4828 | # request. |
| 4829 | "headingId": "A String", # The ID of a heading in this document. |
| 4830 | "url": "A String", # An external URL. |
| 4831 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 4832 | }, |
| 4833 | "underline": True or False, # Whether or not the text is underlined. |
| 4834 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 4835 | }, |
| 4836 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for paragraphs at this level of nesting. Applied |
| 4837 | # to the side that corresponds to the start of the text, based on the |
| 4838 | # paragraph's content direction. |
| 4839 | "magnitude": 3.14, # The magnitude. |
| 4840 | "unit": "A String", # The units for magnitude. |
| 4841 | }, |
| 4842 | "glyphFormat": "A String", # The format string used by bullets at this level of nesting. |
| 4843 | # |
| 4844 | # The glyph format contains one or more placeholders, and these placeholder |
| 4845 | # are replaced with the appropriate values depending on the glyph_type or glyph_symbol. The placeholders follow |
| 4846 | # the pattern `%[nesting_level]`. Furthermore, placeholders can have prefixes |
| 4847 | # and suffixes. Thus, the glyph format follows the pattern |
| 4848 | # `<prefix>%[nesting_level]<suffix>`. Note that the prefix and suffix are |
| 4849 | # optional and can be arbitrary strings. |
| 4850 | # |
| 4851 | # For example, the glyph format `%0.` indicates that the rendered glyph will |
| 4852 | # replace the placeholder with the corresponding glyph for nesting level 0 |
| 4853 | # followed by a period as the suffix. So a list with a glyph type of |
| 4854 | # UPPER_ALPHA and |
| 4855 | # glyph format `%0.` at nesting level 0 will result in a list with rendered |
| 4856 | # glyphs |
| 4857 | # <p>`A.` |
| 4858 | # <p>`B.` |
| 4859 | # <p>`C.` |
| 4860 | # |
| 4861 | # The glyph format can contain placeholders for the current nesting level as |
| 4862 | # well as placeholders for parent nesting levels. For example, a |
| 4863 | # list can have a glyph format of `%0.` at nesting level 0 and a |
| 4864 | # glyph format of `%0.%1.` at nesting level 1. Assuming both nesting levels |
| 4865 | # have DECIMAL glyph |
| 4866 | # types, this would result in a list with rendered glyphs |
| 4867 | # <p>`1.` |
| 4868 | # <p>`2.` |
| 4869 | # <p>` 2.1.` |
| 4870 | # <p>` 2.2.` |
| 4871 | # <p>`3.` |
| 4872 | # |
| 4873 | # For nesting levels that are ordered, the string that replaces a placeholder |
| 4874 | # in the glyph format for a particular paragraph depends on the paragraph's |
| 4875 | # order within the list. |
| 4876 | "glyphType": "A String", # The type of glyph used by bullets when paragraphs at this level of |
| 4877 | # nesting are ordered. |
| 4878 | # |
| 4879 | # The glyph type determines the type of glyph used to replace placeholders |
| 4880 | # within the glyph_format |
| 4881 | # when paragraphs at this level of nesting are ordered. For example, if the |
| 4882 | # nesting level is 0, the glyph_format is `%0.` and the glyph |
| 4883 | # type is DECIMAL, |
| 4884 | # then the rendered glyph would replace the placeholder `%0` in the glyph |
| 4885 | # format with a number corresponding to list item's order within the list. |
| 4886 | "startNumber": 42, # The number of the first list item at this nesting level. |
| 4887 | # |
| 4888 | # A value of 0 is treated as a value of 1 for lettered lists and roman |
| 4889 | # numeraled lists, i.e. for values of both 0 and 1, lettered and roman |
| 4890 | # numeraled lists will begin at `a` and `i` respectively. |
| 4891 | # |
| 4892 | # This value is ignored for nesting levels with unordered glyphs. |
| 4893 | "bulletAlignment": "A String", # The alignment of the bullet within the space allotted for rendering the |
| 4894 | # bullet. |
| 4895 | "glyphSymbol": "A String", # A custom glyph symbol used by bullets when paragraphs at this level of |
| 4896 | # nesting are unordered. |
| 4897 | # |
| 4898 | # The glyph symbol replaces placeholders within the glyph_format. For example, if the |
| 4899 | # glyph_symbol is the solid circle corresponding to Unicode U+25cf code |
| 4900 | # point and the glyph_format is `%0`, the rendered |
| 4901 | # glyph would be the solid circle. |
| 4902 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of paragraphs at this level of |
| 4903 | # nesting. |
| 4904 | "magnitude": 3.14, # The magnitude. |
| 4905 | "unit": "A String", # The units for magnitude. |
| 4906 | }, |
| 4907 | }, |
| 4908 | ], |
| 4909 | }, |
| 4910 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 4911 | # of this list. |
| 4912 | "A String", |
| 4913 | ], |
| 4914 | "suggestedListPropertiesChanges": { # The suggested changes to the list properties, keyed by suggestion |
| 4915 | # ID. |
| 4916 | "a_key": { # A suggested change to ListProperties. |
| 4917 | "listProperties": { # The properties of a list which describe the look # A ListProperties that only includes |
| 4918 | # the changes made in this suggestion. This can be used along with the |
| 4919 | # list_properties_suggestion_state |
| 4920 | # to see which fields have changed and their new values. |
| 4921 | # and feel of bullets belonging to paragraphs associated with a list. |
| 4922 | "nestingLevels": [ # Describes the properties of the bullets at the associated level. |
| 4923 | # |
| 4924 | # A list has at most nine levels of nesting with nesting level 0 |
| 4925 | # corresponding to the top-most level and nesting level 8 corresponding to |
| 4926 | # the most nested level. The nesting levels are returned in ascending order |
| 4927 | # with the least nested returned first. |
| 4928 | { # Contains properties describing the look and feel of a list bullet at a given |
| 4929 | # level of nesting. |
| 4930 | "textStyle": { # Represents the styling that can be applied to text. # The text style of bullets at this level of nesting. |
| 4931 | # |
| 4932 | # Inherited text styles are represented as unset fields in this message. A |
| 4933 | # text style's parent depends on where the text style is defined: |
| 4934 | # |
| 4935 | # * The TextStyle of text in a Paragraph |
| 4936 | # inherits from the paragraph's corresponding named style type. |
| 4937 | # * The TextStyle on a named style |
| 4938 | # inherits from the normal text named style. |
| 4939 | # * The TextStyle of the normal text named style inherits |
| 4940 | # from the default text style in the Docs editor. |
| 4941 | # * The TextStyle on a Paragraph element |
| 4942 | # that is contained in a table may inherit its text style from the table |
| 4943 | # style. |
| 4944 | # |
| 4945 | # If the text style does not inherit from a parent, unsetting fields will |
| 4946 | # revert the style to a value matching the defaults in the Docs editor. |
| 4947 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 4948 | # or transparent, depending on the `color` field. |
| 4949 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 4950 | # a transparent color. |
| 4951 | "rgbColor": { # An RGB color. # The RGB color value. |
| 4952 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 4953 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 4954 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 4955 | }, |
| 4956 | }, |
| 4957 | }, |
| 4958 | "italic": True or False, # Whether or not the text is italicized. |
| 4959 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 4960 | # |
| 4961 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 4962 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 4963 | # The `font_size` itself is not affected by changes in this field. |
| 4964 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 4965 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 4966 | # |
| 4967 | # If an update request specifies values for both `weighted_font_family` and |
| 4968 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 4969 | # |
| 4970 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 4971 | # |
| 4972 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 4973 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 4974 | # is returned. |
| 4975 | "fontFamily": "A String", # The font family of the text. |
| 4976 | # |
| 4977 | # The font family can be any font from the Font menu in Docs or from |
| 4978 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 4979 | # unrecognized, the text is rendered in `Arial`. |
| 4980 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 4981 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 4982 | # numerical values described in the CSS 2.1 Specification, |
| 4983 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 4984 | # non-numerical values disallowed. |
| 4985 | # |
| 4986 | # The default value is `400` ("normal"). |
| 4987 | # |
| 4988 | # The font weight makes up just one component of the rendered font weight. |
| 4989 | # The rendered weight is determined by a combination of the `weight` and the |
| 4990 | # text style's resolved `bold` value, after accounting for inheritance: |
| 4991 | # |
| 4992 | # * If the text is bold and the weight is less than `400`, the rendered |
| 4993 | # weight is 400. |
| 4994 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 4995 | # is less than `700`, the rendered weight is `700`. |
| 4996 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 4997 | # equal to the weight. |
| 4998 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 4999 | }, |
| 5000 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 5001 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 5002 | "magnitude": 3.14, # The magnitude. |
| 5003 | "unit": "A String", # The units for magnitude. |
| 5004 | }, |
| 5005 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 5006 | # or transparent, depending on the `color` field. |
| 5007 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 5008 | # a transparent color. |
| 5009 | "rgbColor": { # An RGB color. # The RGB color value. |
| 5010 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5011 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5012 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5013 | }, |
| 5014 | }, |
| 5015 | }, |
| 5016 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 5017 | # are not inherited from parent text. |
| 5018 | # |
| 5019 | # Changing the link in an update request causes some other changes to the |
| 5020 | # text style of the range: |
| 5021 | # |
| 5022 | # * When setting a link, the text foreground color will be updated to the |
| 5023 | # default link color and the text will be underlined. If these fields are |
| 5024 | # modified in the same request, those values will be used instead of the |
| 5025 | # link defaults. |
| 5026 | # * Setting a link on a text range that overlaps with an existing link will |
| 5027 | # also update the existing link to point to the new URL. |
| 5028 | # * Links are not settable on newline characters. As a result, setting a link |
| 5029 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 5030 | # will separate the newline character(s) into their own text runs. The |
| 5031 | # link will be applied separately to the runs before and after the newline. |
| 5032 | # * Removing a link will update the text style of the range to match the |
| 5033 | # style of the preceding text (or the default text styles if the preceding |
| 5034 | # text is another link) unless different styles are being set in the same |
| 5035 | # request. |
| 5036 | "headingId": "A String", # The ID of a heading in this document. |
| 5037 | "url": "A String", # An external URL. |
| 5038 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 5039 | }, |
| 5040 | "underline": True or False, # Whether or not the text is underlined. |
| 5041 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 5042 | }, |
| 5043 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for paragraphs at this level of nesting. Applied |
| 5044 | # to the side that corresponds to the start of the text, based on the |
| 5045 | # paragraph's content direction. |
| 5046 | "magnitude": 3.14, # The magnitude. |
| 5047 | "unit": "A String", # The units for magnitude. |
| 5048 | }, |
| 5049 | "glyphFormat": "A String", # The format string used by bullets at this level of nesting. |
| 5050 | # |
| 5051 | # The glyph format contains one or more placeholders, and these placeholder |
| 5052 | # are replaced with the appropriate values depending on the glyph_type or glyph_symbol. The placeholders follow |
| 5053 | # the pattern `%[nesting_level]`. Furthermore, placeholders can have prefixes |
| 5054 | # and suffixes. Thus, the glyph format follows the pattern |
| 5055 | # `<prefix>%[nesting_level]<suffix>`. Note that the prefix and suffix are |
| 5056 | # optional and can be arbitrary strings. |
| 5057 | # |
| 5058 | # For example, the glyph format `%0.` indicates that the rendered glyph will |
| 5059 | # replace the placeholder with the corresponding glyph for nesting level 0 |
| 5060 | # followed by a period as the suffix. So a list with a glyph type of |
| 5061 | # UPPER_ALPHA and |
| 5062 | # glyph format `%0.` at nesting level 0 will result in a list with rendered |
| 5063 | # glyphs |
| 5064 | # <p>`A.` |
| 5065 | # <p>`B.` |
| 5066 | # <p>`C.` |
| 5067 | # |
| 5068 | # The glyph format can contain placeholders for the current nesting level as |
| 5069 | # well as placeholders for parent nesting levels. For example, a |
| 5070 | # list can have a glyph format of `%0.` at nesting level 0 and a |
| 5071 | # glyph format of `%0.%1.` at nesting level 1. Assuming both nesting levels |
| 5072 | # have DECIMAL glyph |
| 5073 | # types, this would result in a list with rendered glyphs |
| 5074 | # <p>`1.` |
| 5075 | # <p>`2.` |
| 5076 | # <p>` 2.1.` |
| 5077 | # <p>` 2.2.` |
| 5078 | # <p>`3.` |
| 5079 | # |
| 5080 | # For nesting levels that are ordered, the string that replaces a placeholder |
| 5081 | # in the glyph format for a particular paragraph depends on the paragraph's |
| 5082 | # order within the list. |
| 5083 | "glyphType": "A String", # The type of glyph used by bullets when paragraphs at this level of |
| 5084 | # nesting are ordered. |
| 5085 | # |
| 5086 | # The glyph type determines the type of glyph used to replace placeholders |
| 5087 | # within the glyph_format |
| 5088 | # when paragraphs at this level of nesting are ordered. For example, if the |
| 5089 | # nesting level is 0, the glyph_format is `%0.` and the glyph |
| 5090 | # type is DECIMAL, |
| 5091 | # then the rendered glyph would replace the placeholder `%0` in the glyph |
| 5092 | # format with a number corresponding to list item's order within the list. |
| 5093 | "startNumber": 42, # The number of the first list item at this nesting level. |
| 5094 | # |
| 5095 | # A value of 0 is treated as a value of 1 for lettered lists and roman |
| 5096 | # numeraled lists, i.e. for values of both 0 and 1, lettered and roman |
| 5097 | # numeraled lists will begin at `a` and `i` respectively. |
| 5098 | # |
| 5099 | # This value is ignored for nesting levels with unordered glyphs. |
| 5100 | "bulletAlignment": "A String", # The alignment of the bullet within the space allotted for rendering the |
| 5101 | # bullet. |
| 5102 | "glyphSymbol": "A String", # A custom glyph symbol used by bullets when paragraphs at this level of |
| 5103 | # nesting are unordered. |
| 5104 | # |
| 5105 | # The glyph symbol replaces placeholders within the glyph_format. For example, if the |
| 5106 | # glyph_symbol is the solid circle corresponding to Unicode U+25cf code |
| 5107 | # point and the glyph_format is `%0`, the rendered |
| 5108 | # glyph would be the solid circle. |
| 5109 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of paragraphs at this level of |
| 5110 | # nesting. |
| 5111 | "magnitude": 3.14, # The magnitude. |
| 5112 | "unit": "A String", # The units for magnitude. |
| 5113 | }, |
| 5114 | }, |
| 5115 | ], |
| 5116 | }, |
| 5117 | "listPropertiesSuggestionState": { # A mask that indicates which of the fields on the base ListProperties have been changed in this suggestion. # A mask that indicates which of the fields on the base ListProperties have been changed in this suggestion. |
| 5118 | # For any field set to true, there is a new suggested value. |
| 5119 | "nestingLevelsSuggestionStates": [ # A mask that indicates which of the fields on the corresponding |
| 5120 | # NestingLevel in nesting_levels have been changed in |
| 5121 | # this suggestion. |
| 5122 | # |
| 5123 | # The nesting level suggestion states are returned in ascending order of the |
| 5124 | # nesting level with the least nested returned first. |
| 5125 | { # A mask that indicates which of the fields on the base NestingLevel have been changed in this suggestion. For |
| 5126 | # any field set to true, there is a new suggested value. |
| 5127 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| 5128 | # suggestion. |
| 5129 | # For any field set to true, there is a new suggested value. |
| 5130 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 5131 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 5132 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 5133 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 5134 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 5135 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 5136 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 5137 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 5138 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 5139 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 5140 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 5141 | }, |
| 5142 | "glyphFormatSuggested": True or False, # Indicates if there was a suggested change to |
| 5143 | # glyph_format. |
| 5144 | "indentStartSuggested": True or False, # Indicates if there was a suggested change to |
| 5145 | # indent_start. |
| 5146 | "startNumberSuggested": True or False, # Indicates if there was a suggested change to |
| 5147 | # start_number. |
| 5148 | "glyphTypeSuggested": True or False, # Indicates if there was a suggested change to |
| 5149 | # glyph_type. |
| 5150 | "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to |
| 5151 | # indent_first_line. |
| 5152 | "glyphSymbolSuggested": True or False, # Indicates if there was a suggested change to |
| 5153 | # glyph_symbol. |
| 5154 | "bulletAlignmentSuggested": True or False, # Indicates if there was a suggested change to |
| 5155 | # bullet_alignment. |
| 5156 | }, |
| 5157 | ], |
| 5158 | }, |
| 5159 | }, |
| 5160 | }, |
| 5161 | "suggestedInsertionId": "A String", # The suggested insertion ID. If empty, then this is not a suggested |
| 5162 | # insertion. |
| 5163 | }, |
| 5164 | }, |
| 5165 | "headers": { # The headers in the document, keyed by header ID. |
| 5166 | "a_key": { # A document header. |
| 5167 | "headerId": "A String", # The ID of the header. |
| 5168 | "content": [ # The contents of the header. |
| 5169 | # |
| 5170 | # The indexes for a header's content begin at zero. |
| 5171 | { # A StructuralElement describes content that provides structure to the |
| 5172 | # document. |
| 5173 | "endIndex": 42, # The zero-based end index of this structural element, exclusive, in UTF-16 |
| 5174 | # code units. |
| 5175 | "sectionBreak": { # A StructuralElement representing a # A section break type of structural element. |
| 5176 | # section break. A section is a range of content which has the same |
| 5177 | # SectionStyle. A section break represents |
| 5178 | # the start of a new section, and the section style applies to the section |
| 5179 | # after the section break. |
| 5180 | # |
| 5181 | # The document body always begins with a section break. |
| 5182 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 5183 | # of this content. |
| 5184 | "A String", |
| 5185 | ], |
| 5186 | "sectionStyle": { # The styling that applies to a section. # The style of the section after this section break. |
| 5187 | "contentDirection": "A String", # The content direction of this section. If unset, the value defaults to |
| 5188 | # LEFT_TO_RIGHT. |
| 5189 | "columnProperties": [ # The section's columns properties. |
| 5190 | # |
| 5191 | # If empty, the section contains one column with the default properties in |
| 5192 | # the Docs editor. |
| 5193 | { # Properties that apply to a section's column. |
| 5194 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. |
| 5195 | "magnitude": 3.14, # The magnitude. |
| 5196 | "unit": "A String", # The units for magnitude. |
| 5197 | }, |
| 5198 | "paddingEnd": { # A magnitude in a single direction in the specified units. # The padding at the end of the column. |
| 5199 | "magnitude": 3.14, # The magnitude. |
| 5200 | "unit": "A String", # The units for magnitude. |
| 5201 | }, |
| 5202 | }, |
| 5203 | ], |
| 5204 | "columnSeparatorStyle": "A String", # The style of column separators. |
| 5205 | # |
| 5206 | # This style can be set even when there is one column in the section. |
| 5207 | }, |
| 5208 | "suggestedInsertionIds": [ # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is |
| 5209 | # a nested suggested change. If empty, then this is not a suggested |
| 5210 | # insertion. |
| 5211 | "A String", |
| 5212 | ], |
| 5213 | }, |
| 5214 | "tableOfContents": { # A StructuralElement representing # A table of contents type of structural element. |
| 5215 | # a table of contents. |
| 5216 | "content": [ # The content of the table of contents. |
| 5217 | # Object with schema name: StructuralElement |
| 5218 | ], |
| 5219 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 5220 | # of this content. |
| 5221 | "A String", |
| 5222 | ], |
| 5223 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it |
| 5224 | # is a nested suggested change. If empty, then this is not a suggested |
| 5225 | # insertion. |
| 5226 | "A String", |
| 5227 | ], |
| 5228 | }, |
| 5229 | "startIndex": 42, # The zero-based start index of this structural element, in UTF-16 code |
| 5230 | # units. |
| 5231 | "paragraph": { # A StructuralElement representing a # A paragraph type of structural element. |
| 5232 | # paragraph. A paragraph is a range of content that is terminated with a |
| 5233 | # newline character. |
| 5234 | "elements": [ # The content of the paragraph broken down into its component parts. |
| 5235 | { # A ParagraphElement describes content within a |
| 5236 | # Paragraph. |
| 5237 | "endIndex": 42, # The zero-base end index of this paragraph element, exclusive, in UTF-16 |
| 5238 | # code units. |
| 5239 | "equation": { # A ParagraphElement representing an # An equation paragraph element. |
| 5240 | # equation. |
| 5241 | "suggestedInsertionIds": [ # The suggested insertion IDs. A Equation |
| 5242 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 5243 | # empty, then this is not a suggested insertion. |
| 5244 | "A String", |
| 5245 | ], |
| 5246 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 5247 | # of this content. |
| 5248 | "A String", |
| 5249 | ], |
| 5250 | }, |
| 5251 | "columnBreak": { # A ParagraphElement representing a # A column break paragraph element. |
| 5252 | # column break. A column break makes the subsequent text start at the top of |
| 5253 | # the next column. |
| 5254 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this ColumnBreak. |
| 5255 | # |
| 5256 | # Similar to text content, like text runs and footnote references, the text |
| 5257 | # style of a column break can affect content layout as well as the styling of |
| 5258 | # text inserted adjacent to it. |
| 5259 | # |
| 5260 | # Inherited text styles are represented as unset fields in this message. A |
| 5261 | # text style's parent depends on where the text style is defined: |
| 5262 | # |
| 5263 | # * The TextStyle of text in a Paragraph |
| 5264 | # inherits from the paragraph's corresponding named style type. |
| 5265 | # * The TextStyle on a named style |
| 5266 | # inherits from the normal text named style. |
| 5267 | # * The TextStyle of the normal text named style inherits |
| 5268 | # from the default text style in the Docs editor. |
| 5269 | # * The TextStyle on a Paragraph element |
| 5270 | # that is contained in a table may inherit its text style from the table |
| 5271 | # style. |
| 5272 | # |
| 5273 | # If the text style does not inherit from a parent, unsetting fields will |
| 5274 | # revert the style to a value matching the defaults in the Docs editor. |
| 5275 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 5276 | # or transparent, depending on the `color` field. |
| 5277 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 5278 | # a transparent color. |
| 5279 | "rgbColor": { # An RGB color. # The RGB color value. |
| 5280 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5281 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5282 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5283 | }, |
| 5284 | }, |
| 5285 | }, |
| 5286 | "italic": True or False, # Whether or not the text is italicized. |
| 5287 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 5288 | # |
| 5289 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 5290 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 5291 | # The `font_size` itself is not affected by changes in this field. |
| 5292 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 5293 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 5294 | # |
| 5295 | # If an update request specifies values for both `weighted_font_family` and |
| 5296 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 5297 | # |
| 5298 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 5299 | # |
| 5300 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 5301 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 5302 | # is returned. |
| 5303 | "fontFamily": "A String", # The font family of the text. |
| 5304 | # |
| 5305 | # The font family can be any font from the Font menu in Docs or from |
| 5306 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 5307 | # unrecognized, the text is rendered in `Arial`. |
| 5308 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 5309 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 5310 | # numerical values described in the CSS 2.1 Specification, |
| 5311 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 5312 | # non-numerical values disallowed. |
| 5313 | # |
| 5314 | # The default value is `400` ("normal"). |
| 5315 | # |
| 5316 | # The font weight makes up just one component of the rendered font weight. |
| 5317 | # The rendered weight is determined by a combination of the `weight` and the |
| 5318 | # text style's resolved `bold` value, after accounting for inheritance: |
| 5319 | # |
| 5320 | # * If the text is bold and the weight is less than `400`, the rendered |
| 5321 | # weight is 400. |
| 5322 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 5323 | # is less than `700`, the rendered weight is `700`. |
| 5324 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 5325 | # equal to the weight. |
| 5326 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 5327 | }, |
| 5328 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 5329 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 5330 | "magnitude": 3.14, # The magnitude. |
| 5331 | "unit": "A String", # The units for magnitude. |
| 5332 | }, |
| 5333 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 5334 | # or transparent, depending on the `color` field. |
| 5335 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 5336 | # a transparent color. |
| 5337 | "rgbColor": { # An RGB color. # The RGB color value. |
| 5338 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5339 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5340 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5341 | }, |
| 5342 | }, |
| 5343 | }, |
| 5344 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 5345 | # are not inherited from parent text. |
| 5346 | # |
| 5347 | # Changing the link in an update request causes some other changes to the |
| 5348 | # text style of the range: |
| 5349 | # |
| 5350 | # * When setting a link, the text foreground color will be updated to the |
| 5351 | # default link color and the text will be underlined. If these fields are |
| 5352 | # modified in the same request, those values will be used instead of the |
| 5353 | # link defaults. |
| 5354 | # * Setting a link on a text range that overlaps with an existing link will |
| 5355 | # also update the existing link to point to the new URL. |
| 5356 | # * Links are not settable on newline characters. As a result, setting a link |
| 5357 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 5358 | # will separate the newline character(s) into their own text runs. The |
| 5359 | # link will be applied separately to the runs before and after the newline. |
| 5360 | # * Removing a link will update the text style of the range to match the |
| 5361 | # style of the preceding text (or the default text styles if the preceding |
| 5362 | # text is another link) unless different styles are being set in the same |
| 5363 | # request. |
| 5364 | "headingId": "A String", # The ID of a heading in this document. |
| 5365 | "url": "A String", # An external URL. |
| 5366 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 5367 | }, |
| 5368 | "underline": True or False, # Whether or not the text is underlined. |
| 5369 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 5370 | }, |
| 5371 | "suggestedInsertionIds": [ # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is |
| 5372 | # a nested suggested change. If empty, then this is not a suggested |
| 5373 | # insertion. |
| 5374 | "A String", |
| 5375 | ], |
| 5376 | "suggestedTextStyleChanges": { # The suggested text style changes to this ColumnBreak, keyed by suggestion |
| 5377 | # ID. |
| 5378 | "a_key": { # A suggested change to a TextStyle. |
| 5379 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 5380 | # the changes made in this suggestion. This can be used along with the |
| 5381 | # text_style_suggestion_state |
| 5382 | # to see which fields have changed and their new values. |
| 5383 | # |
| 5384 | # Inherited text styles are represented as unset fields in this message. A |
| 5385 | # text style's parent depends on where the text style is defined: |
| 5386 | # |
| 5387 | # * The TextStyle of text in a Paragraph |
| 5388 | # inherits from the paragraph's corresponding named style type. |
| 5389 | # * The TextStyle on a named style |
| 5390 | # inherits from the normal text named style. |
| 5391 | # * The TextStyle of the normal text named style inherits |
| 5392 | # from the default text style in the Docs editor. |
| 5393 | # * The TextStyle on a Paragraph element |
| 5394 | # that is contained in a table may inherit its text style from the table |
| 5395 | # style. |
| 5396 | # |
| 5397 | # If the text style does not inherit from a parent, unsetting fields will |
| 5398 | # revert the style to a value matching the defaults in the Docs editor. |
| 5399 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 5400 | # or transparent, depending on the `color` field. |
| 5401 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 5402 | # a transparent color. |
| 5403 | "rgbColor": { # An RGB color. # The RGB color value. |
| 5404 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5405 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5406 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5407 | }, |
| 5408 | }, |
| 5409 | }, |
| 5410 | "italic": True or False, # Whether or not the text is italicized. |
| 5411 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 5412 | # |
| 5413 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 5414 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 5415 | # The `font_size` itself is not affected by changes in this field. |
| 5416 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 5417 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 5418 | # |
| 5419 | # If an update request specifies values for both `weighted_font_family` and |
| 5420 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 5421 | # |
| 5422 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 5423 | # |
| 5424 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 5425 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 5426 | # is returned. |
| 5427 | "fontFamily": "A String", # The font family of the text. |
| 5428 | # |
| 5429 | # The font family can be any font from the Font menu in Docs or from |
| 5430 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 5431 | # unrecognized, the text is rendered in `Arial`. |
| 5432 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 5433 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 5434 | # numerical values described in the CSS 2.1 Specification, |
| 5435 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 5436 | # non-numerical values disallowed. |
| 5437 | # |
| 5438 | # The default value is `400` ("normal"). |
| 5439 | # |
| 5440 | # The font weight makes up just one component of the rendered font weight. |
| 5441 | # The rendered weight is determined by a combination of the `weight` and the |
| 5442 | # text style's resolved `bold` value, after accounting for inheritance: |
| 5443 | # |
| 5444 | # * If the text is bold and the weight is less than `400`, the rendered |
| 5445 | # weight is 400. |
| 5446 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 5447 | # is less than `700`, the rendered weight is `700`. |
| 5448 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 5449 | # equal to the weight. |
| 5450 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 5451 | }, |
| 5452 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 5453 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 5454 | "magnitude": 3.14, # The magnitude. |
| 5455 | "unit": "A String", # The units for magnitude. |
| 5456 | }, |
| 5457 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 5458 | # or transparent, depending on the `color` field. |
| 5459 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 5460 | # a transparent color. |
| 5461 | "rgbColor": { # An RGB color. # The RGB color value. |
| 5462 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5463 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5464 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5465 | }, |
| 5466 | }, |
| 5467 | }, |
| 5468 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 5469 | # are not inherited from parent text. |
| 5470 | # |
| 5471 | # Changing the link in an update request causes some other changes to the |
| 5472 | # text style of the range: |
| 5473 | # |
| 5474 | # * When setting a link, the text foreground color will be updated to the |
| 5475 | # default link color and the text will be underlined. If these fields are |
| 5476 | # modified in the same request, those values will be used instead of the |
| 5477 | # link defaults. |
| 5478 | # * Setting a link on a text range that overlaps with an existing link will |
| 5479 | # also update the existing link to point to the new URL. |
| 5480 | # * Links are not settable on newline characters. As a result, setting a link |
| 5481 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 5482 | # will separate the newline character(s) into their own text runs. The |
| 5483 | # link will be applied separately to the runs before and after the newline. |
| 5484 | # * Removing a link will update the text style of the range to match the |
| 5485 | # style of the preceding text (or the default text styles if the preceding |
| 5486 | # text is another link) unless different styles are being set in the same |
| 5487 | # request. |
| 5488 | "headingId": "A String", # The ID of a heading in this document. |
| 5489 | "url": "A String", # An external URL. |
| 5490 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 5491 | }, |
| 5492 | "underline": True or False, # Whether or not the text is underlined. |
| 5493 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 5494 | }, |
| 5495 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 5496 | # For any field set to true, there is a new suggested value. |
| 5497 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 5498 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 5499 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 5500 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 5501 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 5502 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 5503 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 5504 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 5505 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 5506 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 5507 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 5508 | }, |
| 5509 | }, |
| 5510 | }, |
| 5511 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 5512 | # of this content. |
| 5513 | "A String", |
| 5514 | ], |
| 5515 | }, |
| 5516 | "startIndex": 42, # The zero-based start index of this paragraph element, in UTF-16 code units. |
| 5517 | "pageBreak": { # A ParagraphElement representing a # A page break paragraph element. |
| 5518 | # page break. A page break makes the subsequent text start at the top of the |
| 5519 | # next page. |
| 5520 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this PageBreak. |
| 5521 | # |
| 5522 | # Similar to text content, like text runs and footnote references, the text |
| 5523 | # style of a page break can affect content layout as well as the styling of |
| 5524 | # text inserted adjacent to it. |
| 5525 | # |
| 5526 | # Inherited text styles are represented as unset fields in this message. A |
| 5527 | # text style's parent depends on where the text style is defined: |
| 5528 | # |
| 5529 | # * The TextStyle of text in a Paragraph |
| 5530 | # inherits from the paragraph's corresponding named style type. |
| 5531 | # * The TextStyle on a named style |
| 5532 | # inherits from the normal text named style. |
| 5533 | # * The TextStyle of the normal text named style inherits |
| 5534 | # from the default text style in the Docs editor. |
| 5535 | # * The TextStyle on a Paragraph element |
| 5536 | # that is contained in a table may inherit its text style from the table |
| 5537 | # style. |
| 5538 | # |
| 5539 | # If the text style does not inherit from a parent, unsetting fields will |
| 5540 | # revert the style to a value matching the defaults in the Docs editor. |
| 5541 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 5542 | # or transparent, depending on the `color` field. |
| 5543 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 5544 | # a transparent color. |
| 5545 | "rgbColor": { # An RGB color. # The RGB color value. |
| 5546 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5547 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5548 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5549 | }, |
| 5550 | }, |
| 5551 | }, |
| 5552 | "italic": True or False, # Whether or not the text is italicized. |
| 5553 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 5554 | # |
| 5555 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 5556 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 5557 | # The `font_size` itself is not affected by changes in this field. |
| 5558 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 5559 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 5560 | # |
| 5561 | # If an update request specifies values for both `weighted_font_family` and |
| 5562 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 5563 | # |
| 5564 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 5565 | # |
| 5566 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 5567 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 5568 | # is returned. |
| 5569 | "fontFamily": "A String", # The font family of the text. |
| 5570 | # |
| 5571 | # The font family can be any font from the Font menu in Docs or from |
| 5572 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 5573 | # unrecognized, the text is rendered in `Arial`. |
| 5574 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 5575 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 5576 | # numerical values described in the CSS 2.1 Specification, |
| 5577 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 5578 | # non-numerical values disallowed. |
| 5579 | # |
| 5580 | # The default value is `400` ("normal"). |
| 5581 | # |
| 5582 | # The font weight makes up just one component of the rendered font weight. |
| 5583 | # The rendered weight is determined by a combination of the `weight` and the |
| 5584 | # text style's resolved `bold` value, after accounting for inheritance: |
| 5585 | # |
| 5586 | # * If the text is bold and the weight is less than `400`, the rendered |
| 5587 | # weight is 400. |
| 5588 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 5589 | # is less than `700`, the rendered weight is `700`. |
| 5590 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 5591 | # equal to the weight. |
| 5592 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 5593 | }, |
| 5594 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 5595 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 5596 | "magnitude": 3.14, # The magnitude. |
| 5597 | "unit": "A String", # The units for magnitude. |
| 5598 | }, |
| 5599 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 5600 | # or transparent, depending on the `color` field. |
| 5601 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 5602 | # a transparent color. |
| 5603 | "rgbColor": { # An RGB color. # The RGB color value. |
| 5604 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5605 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5606 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5607 | }, |
| 5608 | }, |
| 5609 | }, |
| 5610 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 5611 | # are not inherited from parent text. |
| 5612 | # |
| 5613 | # Changing the link in an update request causes some other changes to the |
| 5614 | # text style of the range: |
| 5615 | # |
| 5616 | # * When setting a link, the text foreground color will be updated to the |
| 5617 | # default link color and the text will be underlined. If these fields are |
| 5618 | # modified in the same request, those values will be used instead of the |
| 5619 | # link defaults. |
| 5620 | # * Setting a link on a text range that overlaps with an existing link will |
| 5621 | # also update the existing link to point to the new URL. |
| 5622 | # * Links are not settable on newline characters. As a result, setting a link |
| 5623 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 5624 | # will separate the newline character(s) into their own text runs. The |
| 5625 | # link will be applied separately to the runs before and after the newline. |
| 5626 | # * Removing a link will update the text style of the range to match the |
| 5627 | # style of the preceding text (or the default text styles if the preceding |
| 5628 | # text is another link) unless different styles are being set in the same |
| 5629 | # request. |
| 5630 | "headingId": "A String", # The ID of a heading in this document. |
| 5631 | "url": "A String", # An external URL. |
| 5632 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 5633 | }, |
| 5634 | "underline": True or False, # Whether or not the text is underlined. |
| 5635 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 5636 | }, |
| 5637 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 5638 | # of this content. |
| 5639 | "A String", |
| 5640 | ], |
| 5641 | "suggestedTextStyleChanges": { # The suggested text style changes to this PageBreak, keyed by suggestion ID. |
| 5642 | "a_key": { # A suggested change to a TextStyle. |
| 5643 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 5644 | # the changes made in this suggestion. This can be used along with the |
| 5645 | # text_style_suggestion_state |
| 5646 | # to see which fields have changed and their new values. |
| 5647 | # |
| 5648 | # Inherited text styles are represented as unset fields in this message. A |
| 5649 | # text style's parent depends on where the text style is defined: |
| 5650 | # |
| 5651 | # * The TextStyle of text in a Paragraph |
| 5652 | # inherits from the paragraph's corresponding named style type. |
| 5653 | # * The TextStyle on a named style |
| 5654 | # inherits from the normal text named style. |
| 5655 | # * The TextStyle of the normal text named style inherits |
| 5656 | # from the default text style in the Docs editor. |
| 5657 | # * The TextStyle on a Paragraph element |
| 5658 | # that is contained in a table may inherit its text style from the table |
| 5659 | # style. |
| 5660 | # |
| 5661 | # If the text style does not inherit from a parent, unsetting fields will |
| 5662 | # revert the style to a value matching the defaults in the Docs editor. |
| 5663 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 5664 | # or transparent, depending on the `color` field. |
| 5665 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 5666 | # a transparent color. |
| 5667 | "rgbColor": { # An RGB color. # The RGB color value. |
| 5668 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5669 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5670 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5671 | }, |
| 5672 | }, |
| 5673 | }, |
| 5674 | "italic": True or False, # Whether or not the text is italicized. |
| 5675 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 5676 | # |
| 5677 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 5678 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 5679 | # The `font_size` itself is not affected by changes in this field. |
| 5680 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 5681 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 5682 | # |
| 5683 | # If an update request specifies values for both `weighted_font_family` and |
| 5684 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 5685 | # |
| 5686 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 5687 | # |
| 5688 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 5689 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 5690 | # is returned. |
| 5691 | "fontFamily": "A String", # The font family of the text. |
| 5692 | # |
| 5693 | # The font family can be any font from the Font menu in Docs or from |
| 5694 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 5695 | # unrecognized, the text is rendered in `Arial`. |
| 5696 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 5697 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 5698 | # numerical values described in the CSS 2.1 Specification, |
| 5699 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 5700 | # non-numerical values disallowed. |
| 5701 | # |
| 5702 | # The default value is `400` ("normal"). |
| 5703 | # |
| 5704 | # The font weight makes up just one component of the rendered font weight. |
| 5705 | # The rendered weight is determined by a combination of the `weight` and the |
| 5706 | # text style's resolved `bold` value, after accounting for inheritance: |
| 5707 | # |
| 5708 | # * If the text is bold and the weight is less than `400`, the rendered |
| 5709 | # weight is 400. |
| 5710 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 5711 | # is less than `700`, the rendered weight is `700`. |
| 5712 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 5713 | # equal to the weight. |
| 5714 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 5715 | }, |
| 5716 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 5717 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 5718 | "magnitude": 3.14, # The magnitude. |
| 5719 | "unit": "A String", # The units for magnitude. |
| 5720 | }, |
| 5721 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 5722 | # or transparent, depending on the `color` field. |
| 5723 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 5724 | # a transparent color. |
| 5725 | "rgbColor": { # An RGB color. # The RGB color value. |
| 5726 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5727 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5728 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5729 | }, |
| 5730 | }, |
| 5731 | }, |
| 5732 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 5733 | # are not inherited from parent text. |
| 5734 | # |
| 5735 | # Changing the link in an update request causes some other changes to the |
| 5736 | # text style of the range: |
| 5737 | # |
| 5738 | # * When setting a link, the text foreground color will be updated to the |
| 5739 | # default link color and the text will be underlined. If these fields are |
| 5740 | # modified in the same request, those values will be used instead of the |
| 5741 | # link defaults. |
| 5742 | # * Setting a link on a text range that overlaps with an existing link will |
| 5743 | # also update the existing link to point to the new URL. |
| 5744 | # * Links are not settable on newline characters. As a result, setting a link |
| 5745 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 5746 | # will separate the newline character(s) into their own text runs. The |
| 5747 | # link will be applied separately to the runs before and after the newline. |
| 5748 | # * Removing a link will update the text style of the range to match the |
| 5749 | # style of the preceding text (or the default text styles if the preceding |
| 5750 | # text is another link) unless different styles are being set in the same |
| 5751 | # request. |
| 5752 | "headingId": "A String", # The ID of a heading in this document. |
| 5753 | "url": "A String", # An external URL. |
| 5754 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 5755 | }, |
| 5756 | "underline": True or False, # Whether or not the text is underlined. |
| 5757 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 5758 | }, |
| 5759 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 5760 | # For any field set to true, there is a new suggested value. |
| 5761 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 5762 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 5763 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 5764 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 5765 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 5766 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 5767 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 5768 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 5769 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 5770 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 5771 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 5772 | }, |
| 5773 | }, |
| 5774 | }, |
| 5775 | "suggestedInsertionIds": [ # The suggested insertion IDs. A PageBreak |
| 5776 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 5777 | # empty, then this is not a suggested insertion. |
| 5778 | "A String", |
| 5779 | ], |
| 5780 | }, |
| 5781 | "horizontalRule": { # A ParagraphElement representing a # A horizontal rule paragraph element. |
| 5782 | # horizontal line. |
| 5783 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this HorizontalRule. |
| 5784 | # |
| 5785 | # Similar to text content, like text runs and footnote references, the text |
| 5786 | # style of a horizontal rule can affect content layout as well as the styling |
| 5787 | # of text inserted adjacent to it. |
| 5788 | # |
| 5789 | # Inherited text styles are represented as unset fields in this message. A |
| 5790 | # text style's parent depends on where the text style is defined: |
| 5791 | # |
| 5792 | # * The TextStyle of text in a Paragraph |
| 5793 | # inherits from the paragraph's corresponding named style type. |
| 5794 | # * The TextStyle on a named style |
| 5795 | # inherits from the normal text named style. |
| 5796 | # * The TextStyle of the normal text named style inherits |
| 5797 | # from the default text style in the Docs editor. |
| 5798 | # * The TextStyle on a Paragraph element |
| 5799 | # that is contained in a table may inherit its text style from the table |
| 5800 | # style. |
| 5801 | # |
| 5802 | # If the text style does not inherit from a parent, unsetting fields will |
| 5803 | # revert the style to a value matching the defaults in the Docs editor. |
| 5804 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 5805 | # or transparent, depending on the `color` field. |
| 5806 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 5807 | # a transparent color. |
| 5808 | "rgbColor": { # An RGB color. # The RGB color value. |
| 5809 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5810 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5811 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5812 | }, |
| 5813 | }, |
| 5814 | }, |
| 5815 | "italic": True or False, # Whether or not the text is italicized. |
| 5816 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 5817 | # |
| 5818 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 5819 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 5820 | # The `font_size` itself is not affected by changes in this field. |
| 5821 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 5822 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 5823 | # |
| 5824 | # If an update request specifies values for both `weighted_font_family` and |
| 5825 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 5826 | # |
| 5827 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 5828 | # |
| 5829 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 5830 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 5831 | # is returned. |
| 5832 | "fontFamily": "A String", # The font family of the text. |
| 5833 | # |
| 5834 | # The font family can be any font from the Font menu in Docs or from |
| 5835 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 5836 | # unrecognized, the text is rendered in `Arial`. |
| 5837 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 5838 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 5839 | # numerical values described in the CSS 2.1 Specification, |
| 5840 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 5841 | # non-numerical values disallowed. |
| 5842 | # |
| 5843 | # The default value is `400` ("normal"). |
| 5844 | # |
| 5845 | # The font weight makes up just one component of the rendered font weight. |
| 5846 | # The rendered weight is determined by a combination of the `weight` and the |
| 5847 | # text style's resolved `bold` value, after accounting for inheritance: |
| 5848 | # |
| 5849 | # * If the text is bold and the weight is less than `400`, the rendered |
| 5850 | # weight is 400. |
| 5851 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 5852 | # is less than `700`, the rendered weight is `700`. |
| 5853 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 5854 | # equal to the weight. |
| 5855 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 5856 | }, |
| 5857 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 5858 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 5859 | "magnitude": 3.14, # The magnitude. |
| 5860 | "unit": "A String", # The units for magnitude. |
| 5861 | }, |
| 5862 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 5863 | # or transparent, depending on the `color` field. |
| 5864 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 5865 | # a transparent color. |
| 5866 | "rgbColor": { # An RGB color. # The RGB color value. |
| 5867 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5868 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5869 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5870 | }, |
| 5871 | }, |
| 5872 | }, |
| 5873 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 5874 | # are not inherited from parent text. |
| 5875 | # |
| 5876 | # Changing the link in an update request causes some other changes to the |
| 5877 | # text style of the range: |
| 5878 | # |
| 5879 | # * When setting a link, the text foreground color will be updated to the |
| 5880 | # default link color and the text will be underlined. If these fields are |
| 5881 | # modified in the same request, those values will be used instead of the |
| 5882 | # link defaults. |
| 5883 | # * Setting a link on a text range that overlaps with an existing link will |
| 5884 | # also update the existing link to point to the new URL. |
| 5885 | # * Links are not settable on newline characters. As a result, setting a link |
| 5886 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 5887 | # will separate the newline character(s) into their own text runs. The |
| 5888 | # link will be applied separately to the runs before and after the newline. |
| 5889 | # * Removing a link will update the text style of the range to match the |
| 5890 | # style of the preceding text (or the default text styles if the preceding |
| 5891 | # text is another link) unless different styles are being set in the same |
| 5892 | # request. |
| 5893 | "headingId": "A String", # The ID of a heading in this document. |
| 5894 | "url": "A String", # An external URL. |
| 5895 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 5896 | }, |
| 5897 | "underline": True or False, # Whether or not the text is underlined. |
| 5898 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 5899 | }, |
| 5900 | "suggestedInsertionIds": [ # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it |
| 5901 | # is a nested suggested change. If empty, then this is not a suggested |
| 5902 | # insertion. |
| 5903 | "A String", |
| 5904 | ], |
| 5905 | "suggestedTextStyleChanges": { # The suggested text style changes to this HorizontalRule, keyed by |
| 5906 | # suggestion ID. |
| 5907 | "a_key": { # A suggested change to a TextStyle. |
| 5908 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 5909 | # the changes made in this suggestion. This can be used along with the |
| 5910 | # text_style_suggestion_state |
| 5911 | # to see which fields have changed and their new values. |
| 5912 | # |
| 5913 | # Inherited text styles are represented as unset fields in this message. A |
| 5914 | # text style's parent depends on where the text style is defined: |
| 5915 | # |
| 5916 | # * The TextStyle of text in a Paragraph |
| 5917 | # inherits from the paragraph's corresponding named style type. |
| 5918 | # * The TextStyle on a named style |
| 5919 | # inherits from the normal text named style. |
| 5920 | # * The TextStyle of the normal text named style inherits |
| 5921 | # from the default text style in the Docs editor. |
| 5922 | # * The TextStyle on a Paragraph element |
| 5923 | # that is contained in a table may inherit its text style from the table |
| 5924 | # style. |
| 5925 | # |
| 5926 | # If the text style does not inherit from a parent, unsetting fields will |
| 5927 | # revert the style to a value matching the defaults in the Docs editor. |
| 5928 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 5929 | # or transparent, depending on the `color` field. |
| 5930 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 5931 | # a transparent color. |
| 5932 | "rgbColor": { # An RGB color. # The RGB color value. |
| 5933 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5934 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5935 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5936 | }, |
| 5937 | }, |
| 5938 | }, |
| 5939 | "italic": True or False, # Whether or not the text is italicized. |
| 5940 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 5941 | # |
| 5942 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 5943 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 5944 | # The `font_size` itself is not affected by changes in this field. |
| 5945 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 5946 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 5947 | # |
| 5948 | # If an update request specifies values for both `weighted_font_family` and |
| 5949 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 5950 | # |
| 5951 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 5952 | # |
| 5953 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 5954 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 5955 | # is returned. |
| 5956 | "fontFamily": "A String", # The font family of the text. |
| 5957 | # |
| 5958 | # The font family can be any font from the Font menu in Docs or from |
| 5959 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 5960 | # unrecognized, the text is rendered in `Arial`. |
| 5961 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 5962 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 5963 | # numerical values described in the CSS 2.1 Specification, |
| 5964 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 5965 | # non-numerical values disallowed. |
| 5966 | # |
| 5967 | # The default value is `400` ("normal"). |
| 5968 | # |
| 5969 | # The font weight makes up just one component of the rendered font weight. |
| 5970 | # The rendered weight is determined by a combination of the `weight` and the |
| 5971 | # text style's resolved `bold` value, after accounting for inheritance: |
| 5972 | # |
| 5973 | # * If the text is bold and the weight is less than `400`, the rendered |
| 5974 | # weight is 400. |
| 5975 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 5976 | # is less than `700`, the rendered weight is `700`. |
| 5977 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 5978 | # equal to the weight. |
| 5979 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 5980 | }, |
| 5981 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 5982 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 5983 | "magnitude": 3.14, # The magnitude. |
| 5984 | "unit": "A String", # The units for magnitude. |
| 5985 | }, |
| 5986 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 5987 | # or transparent, depending on the `color` field. |
| 5988 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 5989 | # a transparent color. |
| 5990 | "rgbColor": { # An RGB color. # The RGB color value. |
| 5991 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 5992 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 5993 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 5994 | }, |
| 5995 | }, |
| 5996 | }, |
| 5997 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 5998 | # are not inherited from parent text. |
| 5999 | # |
| 6000 | # Changing the link in an update request causes some other changes to the |
| 6001 | # text style of the range: |
| 6002 | # |
| 6003 | # * When setting a link, the text foreground color will be updated to the |
| 6004 | # default link color and the text will be underlined. If these fields are |
| 6005 | # modified in the same request, those values will be used instead of the |
| 6006 | # link defaults. |
| 6007 | # * Setting a link on a text range that overlaps with an existing link will |
| 6008 | # also update the existing link to point to the new URL. |
| 6009 | # * Links are not settable on newline characters. As a result, setting a link |
| 6010 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 6011 | # will separate the newline character(s) into their own text runs. The |
| 6012 | # link will be applied separately to the runs before and after the newline. |
| 6013 | # * Removing a link will update the text style of the range to match the |
| 6014 | # style of the preceding text (or the default text styles if the preceding |
| 6015 | # text is another link) unless different styles are being set in the same |
| 6016 | # request. |
| 6017 | "headingId": "A String", # The ID of a heading in this document. |
| 6018 | "url": "A String", # An external URL. |
| 6019 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 6020 | }, |
| 6021 | "underline": True or False, # Whether or not the text is underlined. |
| 6022 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 6023 | }, |
| 6024 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 6025 | # For any field set to true, there is a new suggested value. |
| 6026 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 6027 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 6028 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 6029 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 6030 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 6031 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 6032 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 6033 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 6034 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 6035 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 6036 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 6037 | }, |
| 6038 | }, |
| 6039 | }, |
| 6040 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 6041 | # of this content. |
| 6042 | "A String", |
| 6043 | ], |
| 6044 | }, |
| 6045 | "textRun": { # A ParagraphElement that represents a # A text run paragraph element. |
| 6046 | # run of text that all has the same styling. |
| 6047 | "content": "A String", # The text of this run. |
| 6048 | # |
| 6049 | # Any non-text elements in the run are replaced with the Unicode character |
| 6050 | # U+E907. |
| 6051 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this run. |
| 6052 | # |
| 6053 | # Inherited text styles are represented as unset fields in this message. A |
| 6054 | # text style's parent depends on where the text style is defined: |
| 6055 | # |
| 6056 | # * The TextStyle of text in a Paragraph |
| 6057 | # inherits from the paragraph's corresponding named style type. |
| 6058 | # * The TextStyle on a named style |
| 6059 | # inherits from the normal text named style. |
| 6060 | # * The TextStyle of the normal text named style inherits |
| 6061 | # from the default text style in the Docs editor. |
| 6062 | # * The TextStyle on a Paragraph element |
| 6063 | # that is contained in a table may inherit its text style from the table |
| 6064 | # style. |
| 6065 | # |
| 6066 | # If the text style does not inherit from a parent, unsetting fields will |
| 6067 | # revert the style to a value matching the defaults in the Docs editor. |
| 6068 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 6069 | # or transparent, depending on the `color` field. |
| 6070 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 6071 | # a transparent color. |
| 6072 | "rgbColor": { # An RGB color. # The RGB color value. |
| 6073 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6074 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6075 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6076 | }, |
| 6077 | }, |
| 6078 | }, |
| 6079 | "italic": True or False, # Whether or not the text is italicized. |
| 6080 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 6081 | # |
| 6082 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 6083 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 6084 | # The `font_size` itself is not affected by changes in this field. |
| 6085 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 6086 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 6087 | # |
| 6088 | # If an update request specifies values for both `weighted_font_family` and |
| 6089 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 6090 | # |
| 6091 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 6092 | # |
| 6093 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 6094 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 6095 | # is returned. |
| 6096 | "fontFamily": "A String", # The font family of the text. |
| 6097 | # |
| 6098 | # The font family can be any font from the Font menu in Docs or from |
| 6099 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 6100 | # unrecognized, the text is rendered in `Arial`. |
| 6101 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 6102 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 6103 | # numerical values described in the CSS 2.1 Specification, |
| 6104 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 6105 | # non-numerical values disallowed. |
| 6106 | # |
| 6107 | # The default value is `400` ("normal"). |
| 6108 | # |
| 6109 | # The font weight makes up just one component of the rendered font weight. |
| 6110 | # The rendered weight is determined by a combination of the `weight` and the |
| 6111 | # text style's resolved `bold` value, after accounting for inheritance: |
| 6112 | # |
| 6113 | # * If the text is bold and the weight is less than `400`, the rendered |
| 6114 | # weight is 400. |
| 6115 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 6116 | # is less than `700`, the rendered weight is `700`. |
| 6117 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 6118 | # equal to the weight. |
| 6119 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 6120 | }, |
| 6121 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 6122 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 6123 | "magnitude": 3.14, # The magnitude. |
| 6124 | "unit": "A String", # The units for magnitude. |
| 6125 | }, |
| 6126 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 6127 | # or transparent, depending on the `color` field. |
| 6128 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 6129 | # a transparent color. |
| 6130 | "rgbColor": { # An RGB color. # The RGB color value. |
| 6131 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6132 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6133 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6134 | }, |
| 6135 | }, |
| 6136 | }, |
| 6137 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 6138 | # are not inherited from parent text. |
| 6139 | # |
| 6140 | # Changing the link in an update request causes some other changes to the |
| 6141 | # text style of the range: |
| 6142 | # |
| 6143 | # * When setting a link, the text foreground color will be updated to the |
| 6144 | # default link color and the text will be underlined. If these fields are |
| 6145 | # modified in the same request, those values will be used instead of the |
| 6146 | # link defaults. |
| 6147 | # * Setting a link on a text range that overlaps with an existing link will |
| 6148 | # also update the existing link to point to the new URL. |
| 6149 | # * Links are not settable on newline characters. As a result, setting a link |
| 6150 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 6151 | # will separate the newline character(s) into their own text runs. The |
| 6152 | # link will be applied separately to the runs before and after the newline. |
| 6153 | # * Removing a link will update the text style of the range to match the |
| 6154 | # style of the preceding text (or the default text styles if the preceding |
| 6155 | # text is another link) unless different styles are being set in the same |
| 6156 | # request. |
| 6157 | "headingId": "A String", # The ID of a heading in this document. |
| 6158 | "url": "A String", # An external URL. |
| 6159 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 6160 | }, |
| 6161 | "underline": True or False, # Whether or not the text is underlined. |
| 6162 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 6163 | }, |
| 6164 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TextRun may |
| 6165 | # have multiple insertion IDs if it is a nested suggested change. If empty, |
| 6166 | # then this is not a suggested insertion. |
| 6167 | "A String", |
| 6168 | ], |
| 6169 | "suggestedTextStyleChanges": { # The suggested text style changes to this run, keyed by suggestion ID. |
| 6170 | "a_key": { # A suggested change to a TextStyle. |
| 6171 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 6172 | # the changes made in this suggestion. This can be used along with the |
| 6173 | # text_style_suggestion_state |
| 6174 | # to see which fields have changed and their new values. |
| 6175 | # |
| 6176 | # Inherited text styles are represented as unset fields in this message. A |
| 6177 | # text style's parent depends on where the text style is defined: |
| 6178 | # |
| 6179 | # * The TextStyle of text in a Paragraph |
| 6180 | # inherits from the paragraph's corresponding named style type. |
| 6181 | # * The TextStyle on a named style |
| 6182 | # inherits from the normal text named style. |
| 6183 | # * The TextStyle of the normal text named style inherits |
| 6184 | # from the default text style in the Docs editor. |
| 6185 | # * The TextStyle on a Paragraph element |
| 6186 | # that is contained in a table may inherit its text style from the table |
| 6187 | # style. |
| 6188 | # |
| 6189 | # If the text style does not inherit from a parent, unsetting fields will |
| 6190 | # revert the style to a value matching the defaults in the Docs editor. |
| 6191 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 6192 | # or transparent, depending on the `color` field. |
| 6193 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 6194 | # a transparent color. |
| 6195 | "rgbColor": { # An RGB color. # The RGB color value. |
| 6196 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6197 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6198 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6199 | }, |
| 6200 | }, |
| 6201 | }, |
| 6202 | "italic": True or False, # Whether or not the text is italicized. |
| 6203 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 6204 | # |
| 6205 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 6206 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 6207 | # The `font_size` itself is not affected by changes in this field. |
| 6208 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 6209 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 6210 | # |
| 6211 | # If an update request specifies values for both `weighted_font_family` and |
| 6212 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 6213 | # |
| 6214 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 6215 | # |
| 6216 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 6217 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 6218 | # is returned. |
| 6219 | "fontFamily": "A String", # The font family of the text. |
| 6220 | # |
| 6221 | # The font family can be any font from the Font menu in Docs or from |
| 6222 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 6223 | # unrecognized, the text is rendered in `Arial`. |
| 6224 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 6225 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 6226 | # numerical values described in the CSS 2.1 Specification, |
| 6227 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 6228 | # non-numerical values disallowed. |
| 6229 | # |
| 6230 | # The default value is `400` ("normal"). |
| 6231 | # |
| 6232 | # The font weight makes up just one component of the rendered font weight. |
| 6233 | # The rendered weight is determined by a combination of the `weight` and the |
| 6234 | # text style's resolved `bold` value, after accounting for inheritance: |
| 6235 | # |
| 6236 | # * If the text is bold and the weight is less than `400`, the rendered |
| 6237 | # weight is 400. |
| 6238 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 6239 | # is less than `700`, the rendered weight is `700`. |
| 6240 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 6241 | # equal to the weight. |
| 6242 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 6243 | }, |
| 6244 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 6245 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 6246 | "magnitude": 3.14, # The magnitude. |
| 6247 | "unit": "A String", # The units for magnitude. |
| 6248 | }, |
| 6249 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 6250 | # or transparent, depending on the `color` field. |
| 6251 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 6252 | # a transparent color. |
| 6253 | "rgbColor": { # An RGB color. # The RGB color value. |
| 6254 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6255 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6256 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6257 | }, |
| 6258 | }, |
| 6259 | }, |
| 6260 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 6261 | # are not inherited from parent text. |
| 6262 | # |
| 6263 | # Changing the link in an update request causes some other changes to the |
| 6264 | # text style of the range: |
| 6265 | # |
| 6266 | # * When setting a link, the text foreground color will be updated to the |
| 6267 | # default link color and the text will be underlined. If these fields are |
| 6268 | # modified in the same request, those values will be used instead of the |
| 6269 | # link defaults. |
| 6270 | # * Setting a link on a text range that overlaps with an existing link will |
| 6271 | # also update the existing link to point to the new URL. |
| 6272 | # * Links are not settable on newline characters. As a result, setting a link |
| 6273 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 6274 | # will separate the newline character(s) into their own text runs. The |
| 6275 | # link will be applied separately to the runs before and after the newline. |
| 6276 | # * Removing a link will update the text style of the range to match the |
| 6277 | # style of the preceding text (or the default text styles if the preceding |
| 6278 | # text is another link) unless different styles are being set in the same |
| 6279 | # request. |
| 6280 | "headingId": "A String", # The ID of a heading in this document. |
| 6281 | "url": "A String", # An external URL. |
| 6282 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 6283 | }, |
| 6284 | "underline": True or False, # Whether or not the text is underlined. |
| 6285 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 6286 | }, |
| 6287 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 6288 | # For any field set to true, there is a new suggested value. |
| 6289 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 6290 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 6291 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 6292 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 6293 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 6294 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 6295 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 6296 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 6297 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 6298 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 6299 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 6300 | }, |
| 6301 | }, |
| 6302 | }, |
| 6303 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 6304 | # of this content. |
| 6305 | "A String", |
| 6306 | ], |
| 6307 | }, |
| 6308 | "autoText": { # A ParagraphElement representing a # An auto text paragraph element. |
| 6309 | # spot in the text that is dynamically replaced with content that can change |
| 6310 | # over time, like a page number. |
| 6311 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this AutoText. |
| 6312 | # |
| 6313 | # Inherited text styles are represented as unset fields in this message. A |
| 6314 | # text style's parent depends on where the text style is defined: |
| 6315 | # |
| 6316 | # * The TextStyle of text in a Paragraph |
| 6317 | # inherits from the paragraph's corresponding named style type. |
| 6318 | # * The TextStyle on a named style |
| 6319 | # inherits from the normal text named style. |
| 6320 | # * The TextStyle of the normal text named style inherits |
| 6321 | # from the default text style in the Docs editor. |
| 6322 | # * The TextStyle on a Paragraph element |
| 6323 | # that is contained in a table may inherit its text style from the table |
| 6324 | # style. |
| 6325 | # |
| 6326 | # If the text style does not inherit from a parent, unsetting fields will |
| 6327 | # revert the style to a value matching the defaults in the Docs editor. |
| 6328 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 6329 | # or transparent, depending on the `color` field. |
| 6330 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 6331 | # a transparent color. |
| 6332 | "rgbColor": { # An RGB color. # The RGB color value. |
| 6333 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6334 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6335 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6336 | }, |
| 6337 | }, |
| 6338 | }, |
| 6339 | "italic": True or False, # Whether or not the text is italicized. |
| 6340 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 6341 | # |
| 6342 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 6343 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 6344 | # The `font_size` itself is not affected by changes in this field. |
| 6345 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 6346 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 6347 | # |
| 6348 | # If an update request specifies values for both `weighted_font_family` and |
| 6349 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 6350 | # |
| 6351 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 6352 | # |
| 6353 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 6354 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 6355 | # is returned. |
| 6356 | "fontFamily": "A String", # The font family of the text. |
| 6357 | # |
| 6358 | # The font family can be any font from the Font menu in Docs or from |
| 6359 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 6360 | # unrecognized, the text is rendered in `Arial`. |
| 6361 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 6362 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 6363 | # numerical values described in the CSS 2.1 Specification, |
| 6364 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 6365 | # non-numerical values disallowed. |
| 6366 | # |
| 6367 | # The default value is `400` ("normal"). |
| 6368 | # |
| 6369 | # The font weight makes up just one component of the rendered font weight. |
| 6370 | # The rendered weight is determined by a combination of the `weight` and the |
| 6371 | # text style's resolved `bold` value, after accounting for inheritance: |
| 6372 | # |
| 6373 | # * If the text is bold and the weight is less than `400`, the rendered |
| 6374 | # weight is 400. |
| 6375 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 6376 | # is less than `700`, the rendered weight is `700`. |
| 6377 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 6378 | # equal to the weight. |
| 6379 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 6380 | }, |
| 6381 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 6382 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 6383 | "magnitude": 3.14, # The magnitude. |
| 6384 | "unit": "A String", # The units for magnitude. |
| 6385 | }, |
| 6386 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 6387 | # or transparent, depending on the `color` field. |
| 6388 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 6389 | # a transparent color. |
| 6390 | "rgbColor": { # An RGB color. # The RGB color value. |
| 6391 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6392 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6393 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6394 | }, |
| 6395 | }, |
| 6396 | }, |
| 6397 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 6398 | # are not inherited from parent text. |
| 6399 | # |
| 6400 | # Changing the link in an update request causes some other changes to the |
| 6401 | # text style of the range: |
| 6402 | # |
| 6403 | # * When setting a link, the text foreground color will be updated to the |
| 6404 | # default link color and the text will be underlined. If these fields are |
| 6405 | # modified in the same request, those values will be used instead of the |
| 6406 | # link defaults. |
| 6407 | # * Setting a link on a text range that overlaps with an existing link will |
| 6408 | # also update the existing link to point to the new URL. |
| 6409 | # * Links are not settable on newline characters. As a result, setting a link |
| 6410 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 6411 | # will separate the newline character(s) into their own text runs. The |
| 6412 | # link will be applied separately to the runs before and after the newline. |
| 6413 | # * Removing a link will update the text style of the range to match the |
| 6414 | # style of the preceding text (or the default text styles if the preceding |
| 6415 | # text is another link) unless different styles are being set in the same |
| 6416 | # request. |
| 6417 | "headingId": "A String", # The ID of a heading in this document. |
| 6418 | "url": "A String", # An external URL. |
| 6419 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 6420 | }, |
| 6421 | "underline": True or False, # Whether or not the text is underlined. |
| 6422 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 6423 | }, |
| 6424 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 6425 | # of this content. |
| 6426 | "A String", |
| 6427 | ], |
| 6428 | "suggestedTextStyleChanges": { # The suggested text style changes to this AutoText, keyed by suggestion ID. |
| 6429 | "a_key": { # A suggested change to a TextStyle. |
| 6430 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 6431 | # the changes made in this suggestion. This can be used along with the |
| 6432 | # text_style_suggestion_state |
| 6433 | # to see which fields have changed and their new values. |
| 6434 | # |
| 6435 | # Inherited text styles are represented as unset fields in this message. A |
| 6436 | # text style's parent depends on where the text style is defined: |
| 6437 | # |
| 6438 | # * The TextStyle of text in a Paragraph |
| 6439 | # inherits from the paragraph's corresponding named style type. |
| 6440 | # * The TextStyle on a named style |
| 6441 | # inherits from the normal text named style. |
| 6442 | # * The TextStyle of the normal text named style inherits |
| 6443 | # from the default text style in the Docs editor. |
| 6444 | # * The TextStyle on a Paragraph element |
| 6445 | # that is contained in a table may inherit its text style from the table |
| 6446 | # style. |
| 6447 | # |
| 6448 | # If the text style does not inherit from a parent, unsetting fields will |
| 6449 | # revert the style to a value matching the defaults in the Docs editor. |
| 6450 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 6451 | # or transparent, depending on the `color` field. |
| 6452 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 6453 | # a transparent color. |
| 6454 | "rgbColor": { # An RGB color. # The RGB color value. |
| 6455 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6456 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6457 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6458 | }, |
| 6459 | }, |
| 6460 | }, |
| 6461 | "italic": True or False, # Whether or not the text is italicized. |
| 6462 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 6463 | # |
| 6464 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 6465 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 6466 | # The `font_size` itself is not affected by changes in this field. |
| 6467 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 6468 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 6469 | # |
| 6470 | # If an update request specifies values for both `weighted_font_family` and |
| 6471 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 6472 | # |
| 6473 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 6474 | # |
| 6475 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 6476 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 6477 | # is returned. |
| 6478 | "fontFamily": "A String", # The font family of the text. |
| 6479 | # |
| 6480 | # The font family can be any font from the Font menu in Docs or from |
| 6481 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 6482 | # unrecognized, the text is rendered in `Arial`. |
| 6483 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 6484 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 6485 | # numerical values described in the CSS 2.1 Specification, |
| 6486 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 6487 | # non-numerical values disallowed. |
| 6488 | # |
| 6489 | # The default value is `400` ("normal"). |
| 6490 | # |
| 6491 | # The font weight makes up just one component of the rendered font weight. |
| 6492 | # The rendered weight is determined by a combination of the `weight` and the |
| 6493 | # text style's resolved `bold` value, after accounting for inheritance: |
| 6494 | # |
| 6495 | # * If the text is bold and the weight is less than `400`, the rendered |
| 6496 | # weight is 400. |
| 6497 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 6498 | # is less than `700`, the rendered weight is `700`. |
| 6499 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 6500 | # equal to the weight. |
| 6501 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 6502 | }, |
| 6503 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 6504 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 6505 | "magnitude": 3.14, # The magnitude. |
| 6506 | "unit": "A String", # The units for magnitude. |
| 6507 | }, |
| 6508 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 6509 | # or transparent, depending on the `color` field. |
| 6510 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 6511 | # a transparent color. |
| 6512 | "rgbColor": { # An RGB color. # The RGB color value. |
| 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 | }, |
| 6519 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 6520 | # are not inherited from parent text. |
| 6521 | # |
| 6522 | # Changing the link in an update request causes some other changes to the |
| 6523 | # text style of the range: |
| 6524 | # |
| 6525 | # * When setting a link, the text foreground color will be updated to the |
| 6526 | # default link color and the text will be underlined. If these fields are |
| 6527 | # modified in the same request, those values will be used instead of the |
| 6528 | # link defaults. |
| 6529 | # * Setting a link on a text range that overlaps with an existing link will |
| 6530 | # also update the existing link to point to the new URL. |
| 6531 | # * Links are not settable on newline characters. As a result, setting a link |
| 6532 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 6533 | # will separate the newline character(s) into their own text runs. The |
| 6534 | # link will be applied separately to the runs before and after the newline. |
| 6535 | # * Removing a link will update the text style of the range to match the |
| 6536 | # style of the preceding text (or the default text styles if the preceding |
| 6537 | # text is another link) unless different styles are being set in the same |
| 6538 | # request. |
| 6539 | "headingId": "A String", # The ID of a heading in this document. |
| 6540 | "url": "A String", # An external URL. |
| 6541 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 6542 | }, |
| 6543 | "underline": True or False, # Whether or not the text is underlined. |
| 6544 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 6545 | }, |
| 6546 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 6547 | # For any field set to true, there is a new suggested value. |
| 6548 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 6549 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 6550 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 6551 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 6552 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 6553 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 6554 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 6555 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 6556 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 6557 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 6558 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 6559 | }, |
| 6560 | }, |
| 6561 | }, |
| 6562 | "type": "A String", # The type of this auto text. |
| 6563 | "suggestedInsertionIds": [ # The suggested insertion IDs. An AutoText |
| 6564 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 6565 | # empty, then this is not a suggested insertion. |
| 6566 | "A String", |
| 6567 | ], |
| 6568 | }, |
| 6569 | "inlineObjectElement": { # A ParagraphElement that contains # An inline object paragraph element. |
| 6570 | # an InlineObject. |
| 6571 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this InlineObjectElement. |
| 6572 | # |
| 6573 | # Similar to text content, like text runs and footnote references, the text |
| 6574 | # style of an inline object element can affect content layout as well as the |
| 6575 | # styling of text inserted adjacent to it. |
| 6576 | # |
| 6577 | # Inherited text styles are represented as unset fields in this message. A |
| 6578 | # text style's parent depends on where the text style is defined: |
| 6579 | # |
| 6580 | # * The TextStyle of text in a Paragraph |
| 6581 | # inherits from the paragraph's corresponding named style type. |
| 6582 | # * The TextStyle on a named style |
| 6583 | # inherits from the normal text named style. |
| 6584 | # * The TextStyle of the normal text named style inherits |
| 6585 | # from the default text style in the Docs editor. |
| 6586 | # * The TextStyle on a Paragraph element |
| 6587 | # that is contained in a table may inherit its text style from the table |
| 6588 | # style. |
| 6589 | # |
| 6590 | # If the text style does not inherit from a parent, unsetting fields will |
| 6591 | # revert the style to a value matching the defaults in the Docs editor. |
| 6592 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 6593 | # or transparent, depending on the `color` field. |
| 6594 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 6595 | # a transparent color. |
| 6596 | "rgbColor": { # An RGB color. # The RGB color value. |
| 6597 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6598 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6599 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6600 | }, |
| 6601 | }, |
| 6602 | }, |
| 6603 | "italic": True or False, # Whether or not the text is italicized. |
| 6604 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 6605 | # |
| 6606 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 6607 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 6608 | # The `font_size` itself is not affected by changes in this field. |
| 6609 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 6610 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 6611 | # |
| 6612 | # If an update request specifies values for both `weighted_font_family` and |
| 6613 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 6614 | # |
| 6615 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 6616 | # |
| 6617 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 6618 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 6619 | # is returned. |
| 6620 | "fontFamily": "A String", # The font family of the text. |
| 6621 | # |
| 6622 | # The font family can be any font from the Font menu in Docs or from |
| 6623 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 6624 | # unrecognized, the text is rendered in `Arial`. |
| 6625 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 6626 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 6627 | # numerical values described in the CSS 2.1 Specification, |
| 6628 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 6629 | # non-numerical values disallowed. |
| 6630 | # |
| 6631 | # The default value is `400` ("normal"). |
| 6632 | # |
| 6633 | # The font weight makes up just one component of the rendered font weight. |
| 6634 | # The rendered weight is determined by a combination of the `weight` and the |
| 6635 | # text style's resolved `bold` value, after accounting for inheritance: |
| 6636 | # |
| 6637 | # * If the text is bold and the weight is less than `400`, the rendered |
| 6638 | # weight is 400. |
| 6639 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 6640 | # is less than `700`, the rendered weight is `700`. |
| 6641 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 6642 | # equal to the weight. |
| 6643 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 6644 | }, |
| 6645 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 6646 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 6647 | "magnitude": 3.14, # The magnitude. |
| 6648 | "unit": "A String", # The units for magnitude. |
| 6649 | }, |
| 6650 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 6651 | # or transparent, depending on the `color` field. |
| 6652 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 6653 | # a transparent color. |
| 6654 | "rgbColor": { # An RGB color. # The RGB color value. |
| 6655 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6656 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6657 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6658 | }, |
| 6659 | }, |
| 6660 | }, |
| 6661 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 6662 | # are not inherited from parent text. |
| 6663 | # |
| 6664 | # Changing the link in an update request causes some other changes to the |
| 6665 | # text style of the range: |
| 6666 | # |
| 6667 | # * When setting a link, the text foreground color will be updated to the |
| 6668 | # default link color and the text will be underlined. If these fields are |
| 6669 | # modified in the same request, those values will be used instead of the |
| 6670 | # link defaults. |
| 6671 | # * Setting a link on a text range that overlaps with an existing link will |
| 6672 | # also update the existing link to point to the new URL. |
| 6673 | # * Links are not settable on newline characters. As a result, setting a link |
| 6674 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 6675 | # will separate the newline character(s) into their own text runs. The |
| 6676 | # link will be applied separately to the runs before and after the newline. |
| 6677 | # * Removing a link will update the text style of the range to match the |
| 6678 | # style of the preceding text (or the default text styles if the preceding |
| 6679 | # text is another link) unless different styles are being set in the same |
| 6680 | # request. |
| 6681 | "headingId": "A String", # The ID of a heading in this document. |
| 6682 | "url": "A String", # An external URL. |
| 6683 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 6684 | }, |
| 6685 | "underline": True or False, # Whether or not the text is underlined. |
| 6686 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 6687 | }, |
| 6688 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 6689 | # of this content. |
| 6690 | "A String", |
| 6691 | ], |
| 6692 | "suggestedTextStyleChanges": { # The suggested text style changes to this InlineObject, keyed by suggestion |
| 6693 | # ID. |
| 6694 | "a_key": { # A suggested change to a TextStyle. |
| 6695 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 6696 | # the changes made in this suggestion. This can be used along with the |
| 6697 | # text_style_suggestion_state |
| 6698 | # to see which fields have changed and their new values. |
| 6699 | # |
| 6700 | # Inherited text styles are represented as unset fields in this message. A |
| 6701 | # text style's parent depends on where the text style is defined: |
| 6702 | # |
| 6703 | # * The TextStyle of text in a Paragraph |
| 6704 | # inherits from the paragraph's corresponding named style type. |
| 6705 | # * The TextStyle on a named style |
| 6706 | # inherits from the normal text named style. |
| 6707 | # * The TextStyle of the normal text named style inherits |
| 6708 | # from the default text style in the Docs editor. |
| 6709 | # * The TextStyle on a Paragraph element |
| 6710 | # that is contained in a table may inherit its text style from the table |
| 6711 | # style. |
| 6712 | # |
| 6713 | # If the text style does not inherit from a parent, unsetting fields will |
| 6714 | # revert the style to a value matching the defaults in the Docs editor. |
| 6715 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 6716 | # or transparent, depending on the `color` field. |
| 6717 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 6718 | # a transparent color. |
| 6719 | "rgbColor": { # An RGB color. # The RGB color value. |
| 6720 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6721 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6722 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6723 | }, |
| 6724 | }, |
| 6725 | }, |
| 6726 | "italic": True or False, # Whether or not the text is italicized. |
| 6727 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 6728 | # |
| 6729 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 6730 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 6731 | # The `font_size` itself is not affected by changes in this field. |
| 6732 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 6733 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 6734 | # |
| 6735 | # If an update request specifies values for both `weighted_font_family` and |
| 6736 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 6737 | # |
| 6738 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 6739 | # |
| 6740 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 6741 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 6742 | # is returned. |
| 6743 | "fontFamily": "A String", # The font family of the text. |
| 6744 | # |
| 6745 | # The font family can be any font from the Font menu in Docs or from |
| 6746 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 6747 | # unrecognized, the text is rendered in `Arial`. |
| 6748 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 6749 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 6750 | # numerical values described in the CSS 2.1 Specification, |
| 6751 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 6752 | # non-numerical values disallowed. |
| 6753 | # |
| 6754 | # The default value is `400` ("normal"). |
| 6755 | # |
| 6756 | # The font weight makes up just one component of the rendered font weight. |
| 6757 | # The rendered weight is determined by a combination of the `weight` and the |
| 6758 | # text style's resolved `bold` value, after accounting for inheritance: |
| 6759 | # |
| 6760 | # * If the text is bold and the weight is less than `400`, the rendered |
| 6761 | # weight is 400. |
| 6762 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 6763 | # is less than `700`, the rendered weight is `700`. |
| 6764 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 6765 | # equal to the weight. |
| 6766 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 6767 | }, |
| 6768 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 6769 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 6770 | "magnitude": 3.14, # The magnitude. |
| 6771 | "unit": "A String", # The units for magnitude. |
| 6772 | }, |
| 6773 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 6774 | # or transparent, depending on the `color` field. |
| 6775 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 6776 | # a transparent color. |
| 6777 | "rgbColor": { # An RGB color. # The RGB color value. |
| 6778 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6779 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6780 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6781 | }, |
| 6782 | }, |
| 6783 | }, |
| 6784 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 6785 | # are not inherited from parent text. |
| 6786 | # |
| 6787 | # Changing the link in an update request causes some other changes to the |
| 6788 | # text style of the range: |
| 6789 | # |
| 6790 | # * When setting a link, the text foreground color will be updated to the |
| 6791 | # default link color and the text will be underlined. If these fields are |
| 6792 | # modified in the same request, those values will be used instead of the |
| 6793 | # link defaults. |
| 6794 | # * Setting a link on a text range that overlaps with an existing link will |
| 6795 | # also update the existing link to point to the new URL. |
| 6796 | # * Links are not settable on newline characters. As a result, setting a link |
| 6797 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 6798 | # will separate the newline character(s) into their own text runs. The |
| 6799 | # link will be applied separately to the runs before and after the newline. |
| 6800 | # * Removing a link will update the text style of the range to match the |
| 6801 | # style of the preceding text (or the default text styles if the preceding |
| 6802 | # text is another link) unless different styles are being set in the same |
| 6803 | # request. |
| 6804 | "headingId": "A String", # The ID of a heading in this document. |
| 6805 | "url": "A String", # An external URL. |
| 6806 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 6807 | }, |
| 6808 | "underline": True or False, # Whether or not the text is underlined. |
| 6809 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 6810 | }, |
| 6811 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 6812 | # For any field set to true, there is a new suggested value. |
| 6813 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 6814 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 6815 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 6816 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 6817 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 6818 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 6819 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 6820 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 6821 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 6822 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 6823 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 6824 | }, |
| 6825 | }, |
| 6826 | }, |
| 6827 | "inlineObjectId": "A String", # The ID of the InlineObject this |
| 6828 | # element contains. |
| 6829 | "suggestedInsertionIds": [ # The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs |
| 6830 | # if it is a nested suggested change. If empty, then this is not a suggested |
| 6831 | # insertion. |
| 6832 | "A String", |
| 6833 | ], |
| 6834 | }, |
| 6835 | "footnoteReference": { # A ParagraphElement representing a # A footnote reference paragraph element. |
| 6836 | # footnote reference. A footnote reference is the inline content rendered with |
| 6837 | # a number and is used to identify the footnote. |
| 6838 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this FootnoteReference. |
| 6839 | # |
| 6840 | # Inherited text styles are represented as unset fields in this message. A |
| 6841 | # text style's parent depends on where the text style is defined: |
| 6842 | # |
| 6843 | # * The TextStyle of text in a Paragraph |
| 6844 | # inherits from the paragraph's corresponding named style type. |
| 6845 | # * The TextStyle on a named style |
| 6846 | # inherits from the normal text named style. |
| 6847 | # * The TextStyle of the normal text named style inherits |
| 6848 | # from the default text style in the Docs editor. |
| 6849 | # * The TextStyle on a Paragraph element |
| 6850 | # that is contained in a table may inherit its text style from the table |
| 6851 | # style. |
| 6852 | # |
| 6853 | # If the text style does not inherit from a parent, unsetting fields will |
| 6854 | # revert the style to a value matching the defaults in the Docs editor. |
| 6855 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 6856 | # or transparent, depending on the `color` field. |
| 6857 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 6858 | # a transparent color. |
| 6859 | "rgbColor": { # An RGB color. # The RGB color value. |
| 6860 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6861 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6862 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6863 | }, |
| 6864 | }, |
| 6865 | }, |
| 6866 | "italic": True or False, # Whether or not the text is italicized. |
| 6867 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 6868 | # |
| 6869 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 6870 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 6871 | # The `font_size` itself is not affected by changes in this field. |
| 6872 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 6873 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 6874 | # |
| 6875 | # If an update request specifies values for both `weighted_font_family` and |
| 6876 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 6877 | # |
| 6878 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 6879 | # |
| 6880 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 6881 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 6882 | # is returned. |
| 6883 | "fontFamily": "A String", # The font family of the text. |
| 6884 | # |
| 6885 | # The font family can be any font from the Font menu in Docs or from |
| 6886 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 6887 | # unrecognized, the text is rendered in `Arial`. |
| 6888 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 6889 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 6890 | # numerical values described in the CSS 2.1 Specification, |
| 6891 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 6892 | # non-numerical values disallowed. |
| 6893 | # |
| 6894 | # The default value is `400` ("normal"). |
| 6895 | # |
| 6896 | # The font weight makes up just one component of the rendered font weight. |
| 6897 | # The rendered weight is determined by a combination of the `weight` and the |
| 6898 | # text style's resolved `bold` value, after accounting for inheritance: |
| 6899 | # |
| 6900 | # * If the text is bold and the weight is less than `400`, the rendered |
| 6901 | # weight is 400. |
| 6902 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 6903 | # is less than `700`, the rendered weight is `700`. |
| 6904 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 6905 | # equal to the weight. |
| 6906 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 6907 | }, |
| 6908 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 6909 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 6910 | "magnitude": 3.14, # The magnitude. |
| 6911 | "unit": "A String", # The units for magnitude. |
| 6912 | }, |
| 6913 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 6914 | # or transparent, depending on the `color` field. |
| 6915 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 6916 | # a transparent color. |
| 6917 | "rgbColor": { # An RGB color. # The RGB color value. |
| 6918 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6919 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6920 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6921 | }, |
| 6922 | }, |
| 6923 | }, |
| 6924 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 6925 | # are not inherited from parent text. |
| 6926 | # |
| 6927 | # Changing the link in an update request causes some other changes to the |
| 6928 | # text style of the range: |
| 6929 | # |
| 6930 | # * When setting a link, the text foreground color will be updated to the |
| 6931 | # default link color and the text will be underlined. If these fields are |
| 6932 | # modified in the same request, those values will be used instead of the |
| 6933 | # link defaults. |
| 6934 | # * Setting a link on a text range that overlaps with an existing link will |
| 6935 | # also update the existing link to point to the new URL. |
| 6936 | # * Links are not settable on newline characters. As a result, setting a link |
| 6937 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 6938 | # will separate the newline character(s) into their own text runs. The |
| 6939 | # link will be applied separately to the runs before and after the newline. |
| 6940 | # * Removing a link will update the text style of the range to match the |
| 6941 | # style of the preceding text (or the default text styles if the preceding |
| 6942 | # text is another link) unless different styles are being set in the same |
| 6943 | # request. |
| 6944 | "headingId": "A String", # The ID of a heading in this document. |
| 6945 | "url": "A String", # An external URL. |
| 6946 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 6947 | }, |
| 6948 | "underline": True or False, # Whether or not the text is underlined. |
| 6949 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 6950 | }, |
| 6951 | "footnoteNumber": "A String", # The rendered number of this footnote. |
| 6952 | "suggestedInsertionIds": [ # The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if |
| 6953 | # it is a nested suggested change. If empty, then this is not a suggested |
| 6954 | # insertion. |
| 6955 | "A String", |
| 6956 | ], |
| 6957 | "footnoteId": "A String", # The ID of the footnote that |
| 6958 | # contains the content of this footnote reference. |
| 6959 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 6960 | # of this content. |
| 6961 | "A String", |
| 6962 | ], |
| 6963 | "suggestedTextStyleChanges": { # The suggested text style changes to this FootnoteReference, keyed by |
| 6964 | # suggestion ID. |
| 6965 | "a_key": { # A suggested change to a TextStyle. |
| 6966 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 6967 | # the changes made in this suggestion. This can be used along with the |
| 6968 | # text_style_suggestion_state |
| 6969 | # to see which fields have changed and their new values. |
| 6970 | # |
| 6971 | # Inherited text styles are represented as unset fields in this message. A |
| 6972 | # text style's parent depends on where the text style is defined: |
| 6973 | # |
| 6974 | # * The TextStyle of text in a Paragraph |
| 6975 | # inherits from the paragraph's corresponding named style type. |
| 6976 | # * The TextStyle on a named style |
| 6977 | # inherits from the normal text named style. |
| 6978 | # * The TextStyle of the normal text named style inherits |
| 6979 | # from the default text style in the Docs editor. |
| 6980 | # * The TextStyle on a Paragraph element |
| 6981 | # that is contained in a table may inherit its text style from the table |
| 6982 | # style. |
| 6983 | # |
| 6984 | # If the text style does not inherit from a parent, unsetting fields will |
| 6985 | # revert the style to a value matching the defaults in the Docs editor. |
| 6986 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 6987 | # or transparent, depending on the `color` field. |
| 6988 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 6989 | # a transparent color. |
| 6990 | "rgbColor": { # An RGB color. # The RGB color value. |
| 6991 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 6992 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 6993 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 6994 | }, |
| 6995 | }, |
| 6996 | }, |
| 6997 | "italic": True or False, # Whether or not the text is italicized. |
| 6998 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 6999 | # |
| 7000 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 7001 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 7002 | # The `font_size` itself is not affected by changes in this field. |
| 7003 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 7004 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 7005 | # |
| 7006 | # If an update request specifies values for both `weighted_font_family` and |
| 7007 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 7008 | # |
| 7009 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 7010 | # |
| 7011 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 7012 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 7013 | # is returned. |
| 7014 | "fontFamily": "A String", # The font family of the text. |
| 7015 | # |
| 7016 | # The font family can be any font from the Font menu in Docs or from |
| 7017 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 7018 | # unrecognized, the text is rendered in `Arial`. |
| 7019 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 7020 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 7021 | # numerical values described in the CSS 2.1 Specification, |
| 7022 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 7023 | # non-numerical values disallowed. |
| 7024 | # |
| 7025 | # The default value is `400` ("normal"). |
| 7026 | # |
| 7027 | # The font weight makes up just one component of the rendered font weight. |
| 7028 | # The rendered weight is determined by a combination of the `weight` and the |
| 7029 | # text style's resolved `bold` value, after accounting for inheritance: |
| 7030 | # |
| 7031 | # * If the text is bold and the weight is less than `400`, the rendered |
| 7032 | # weight is 400. |
| 7033 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 7034 | # is less than `700`, the rendered weight is `700`. |
| 7035 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 7036 | # equal to the weight. |
| 7037 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 7038 | }, |
| 7039 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 7040 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 7041 | "magnitude": 3.14, # The magnitude. |
| 7042 | "unit": "A String", # The units for magnitude. |
| 7043 | }, |
| 7044 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 7045 | # or transparent, depending on the `color` field. |
| 7046 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 7047 | # a transparent color. |
| 7048 | "rgbColor": { # An RGB color. # The RGB color value. |
| 7049 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7050 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7051 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7052 | }, |
| 7053 | }, |
| 7054 | }, |
| 7055 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 7056 | # are not inherited from parent text. |
| 7057 | # |
| 7058 | # Changing the link in an update request causes some other changes to the |
| 7059 | # text style of the range: |
| 7060 | # |
| 7061 | # * When setting a link, the text foreground color will be updated to the |
| 7062 | # default link color and the text will be underlined. If these fields are |
| 7063 | # modified in the same request, those values will be used instead of the |
| 7064 | # link defaults. |
| 7065 | # * Setting a link on a text range that overlaps with an existing link will |
| 7066 | # also update the existing link to point to the new URL. |
| 7067 | # * Links are not settable on newline characters. As a result, setting a link |
| 7068 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 7069 | # will separate the newline character(s) into their own text runs. The |
| 7070 | # link will be applied separately to the runs before and after the newline. |
| 7071 | # * Removing a link will update the text style of the range to match the |
| 7072 | # style of the preceding text (or the default text styles if the preceding |
| 7073 | # text is another link) unless different styles are being set in the same |
| 7074 | # request. |
| 7075 | "headingId": "A String", # The ID of a heading in this document. |
| 7076 | "url": "A String", # An external URL. |
| 7077 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 7078 | }, |
| 7079 | "underline": True or False, # Whether or not the text is underlined. |
| 7080 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 7081 | }, |
| 7082 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 7083 | # For any field set to true, there is a new suggested value. |
| 7084 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 7085 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 7086 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 7087 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 7088 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 7089 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 7090 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 7091 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 7092 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 7093 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 7094 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 7095 | }, |
| 7096 | }, |
| 7097 | }, |
| 7098 | }, |
| 7099 | }, |
| 7100 | ], |
| 7101 | "suggestedPositionedObjectIds": { # The IDs of the positioned objects that are suggested to be attached to this |
| 7102 | # paragraph, keyed by suggestion ID. |
| 7103 | "a_key": { # A collection of object IDs. |
| 7104 | "objectIds": [ # The object IDs. |
| 7105 | "A String", |
| 7106 | ], |
| 7107 | }, |
| 7108 | }, |
| 7109 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 7110 | # belong to a list. |
| 7111 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 7112 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 7113 | "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| 7114 | # |
| 7115 | # Inherited text styles are represented as unset fields in this message. A |
| 7116 | # text style's parent depends on where the text style is defined: |
| 7117 | # |
| 7118 | # * The TextStyle of text in a Paragraph |
| 7119 | # inherits from the paragraph's corresponding named style type. |
| 7120 | # * The TextStyle on a named style |
| 7121 | # inherits from the normal text named style. |
| 7122 | # * The TextStyle of the normal text named style inherits |
| 7123 | # from the default text style in the Docs editor. |
| 7124 | # * The TextStyle on a Paragraph element |
| 7125 | # that is contained in a table may inherit its text style from the table |
| 7126 | # style. |
| 7127 | # |
| 7128 | # If the text style does not inherit from a parent, unsetting fields will |
| 7129 | # revert the style to a value matching the defaults in the Docs editor. |
| 7130 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 7131 | # or transparent, depending on the `color` field. |
| 7132 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 7133 | # a transparent color. |
| 7134 | "rgbColor": { # An RGB color. # The RGB color value. |
| 7135 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7136 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7137 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7138 | }, |
| 7139 | }, |
| 7140 | }, |
| 7141 | "italic": True or False, # Whether or not the text is italicized. |
| 7142 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 7143 | # |
| 7144 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 7145 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 7146 | # The `font_size` itself is not affected by changes in this field. |
| 7147 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 7148 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 7149 | # |
| 7150 | # If an update request specifies values for both `weighted_font_family` and |
| 7151 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 7152 | # |
| 7153 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 7154 | # |
| 7155 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 7156 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 7157 | # is returned. |
| 7158 | "fontFamily": "A String", # The font family of the text. |
| 7159 | # |
| 7160 | # The font family can be any font from the Font menu in Docs or from |
| 7161 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 7162 | # unrecognized, the text is rendered in `Arial`. |
| 7163 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 7164 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 7165 | # numerical values described in the CSS 2.1 Specification, |
| 7166 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 7167 | # non-numerical values disallowed. |
| 7168 | # |
| 7169 | # The default value is `400` ("normal"). |
| 7170 | # |
| 7171 | # The font weight makes up just one component of the rendered font weight. |
| 7172 | # The rendered weight is determined by a combination of the `weight` and the |
| 7173 | # text style's resolved `bold` value, after accounting for inheritance: |
| 7174 | # |
| 7175 | # * If the text is bold and the weight is less than `400`, the rendered |
| 7176 | # weight is 400. |
| 7177 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 7178 | # is less than `700`, the rendered weight is `700`. |
| 7179 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 7180 | # equal to the weight. |
| 7181 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 7182 | }, |
| 7183 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 7184 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 7185 | "magnitude": 3.14, # The magnitude. |
| 7186 | "unit": "A String", # The units for magnitude. |
| 7187 | }, |
| 7188 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 7189 | # or transparent, depending on the `color` field. |
| 7190 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 7191 | # a transparent color. |
| 7192 | "rgbColor": { # An RGB color. # The RGB color value. |
| 7193 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7194 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7195 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7196 | }, |
| 7197 | }, |
| 7198 | }, |
| 7199 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 7200 | # are not inherited from parent text. |
| 7201 | # |
| 7202 | # Changing the link in an update request causes some other changes to the |
| 7203 | # text style of the range: |
| 7204 | # |
| 7205 | # * When setting a link, the text foreground color will be updated to the |
| 7206 | # default link color and the text will be underlined. If these fields are |
| 7207 | # modified in the same request, those values will be used instead of the |
| 7208 | # link defaults. |
| 7209 | # * Setting a link on a text range that overlaps with an existing link will |
| 7210 | # also update the existing link to point to the new URL. |
| 7211 | # * Links are not settable on newline characters. As a result, setting a link |
| 7212 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 7213 | # will separate the newline character(s) into their own text runs. The |
| 7214 | # link will be applied separately to the runs before and after the newline. |
| 7215 | # * Removing a link will update the text style of the range to match the |
| 7216 | # style of the preceding text (or the default text styles if the preceding |
| 7217 | # text is another link) unless different styles are being set in the same |
| 7218 | # request. |
| 7219 | "headingId": "A String", # The ID of a heading in this document. |
| 7220 | "url": "A String", # An external URL. |
| 7221 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 7222 | }, |
| 7223 | "underline": True or False, # Whether or not the text is underlined. |
| 7224 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 7225 | }, |
| 7226 | }, |
| 7227 | "suggestedBulletChanges": { # The suggested changes to this paragraph's bullet. |
| 7228 | "a_key": { # A suggested change to a Bullet. |
| 7229 | "bullet": { # Describes the bullet of a paragraph. # A Bullet that only includes the changes made |
| 7230 | # in this suggestion. This can be used along with the |
| 7231 | # bullet_suggestion_state to see which |
| 7232 | # fields have changed and their new values. |
| 7233 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 7234 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 7235 | "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| 7236 | # |
| 7237 | # Inherited text styles are represented as unset fields in this message. A |
| 7238 | # text style's parent depends on where the text style is defined: |
| 7239 | # |
| 7240 | # * The TextStyle of text in a Paragraph |
| 7241 | # inherits from the paragraph's corresponding named style type. |
| 7242 | # * The TextStyle on a named style |
| 7243 | # inherits from the normal text named style. |
| 7244 | # * The TextStyle of the normal text named style inherits |
| 7245 | # from the default text style in the Docs editor. |
| 7246 | # * The TextStyle on a Paragraph element |
| 7247 | # that is contained in a table may inherit its text style from the table |
| 7248 | # style. |
| 7249 | # |
| 7250 | # If the text style does not inherit from a parent, unsetting fields will |
| 7251 | # revert the style to a value matching the defaults in the Docs editor. |
| 7252 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 7253 | # or transparent, depending on the `color` field. |
| 7254 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 7255 | # a transparent color. |
| 7256 | "rgbColor": { # An RGB color. # The RGB color value. |
| 7257 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7258 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7259 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7260 | }, |
| 7261 | }, |
| 7262 | }, |
| 7263 | "italic": True or False, # Whether or not the text is italicized. |
| 7264 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 7265 | # |
| 7266 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 7267 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 7268 | # The `font_size` itself is not affected by changes in this field. |
| 7269 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 7270 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 7271 | # |
| 7272 | # If an update request specifies values for both `weighted_font_family` and |
| 7273 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 7274 | # |
| 7275 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 7276 | # |
| 7277 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 7278 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 7279 | # is returned. |
| 7280 | "fontFamily": "A String", # The font family of the text. |
| 7281 | # |
| 7282 | # The font family can be any font from the Font menu in Docs or from |
| 7283 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 7284 | # unrecognized, the text is rendered in `Arial`. |
| 7285 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 7286 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 7287 | # numerical values described in the CSS 2.1 Specification, |
| 7288 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 7289 | # non-numerical values disallowed. |
| 7290 | # |
| 7291 | # The default value is `400` ("normal"). |
| 7292 | # |
| 7293 | # The font weight makes up just one component of the rendered font weight. |
| 7294 | # The rendered weight is determined by a combination of the `weight` and the |
| 7295 | # text style's resolved `bold` value, after accounting for inheritance: |
| 7296 | # |
| 7297 | # * If the text is bold and the weight is less than `400`, the rendered |
| 7298 | # weight is 400. |
| 7299 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 7300 | # is less than `700`, the rendered weight is `700`. |
| 7301 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 7302 | # equal to the weight. |
| 7303 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 7304 | }, |
| 7305 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 7306 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 7307 | "magnitude": 3.14, # The magnitude. |
| 7308 | "unit": "A String", # The units for magnitude. |
| 7309 | }, |
| 7310 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 7311 | # or transparent, depending on the `color` field. |
| 7312 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 7313 | # a transparent color. |
| 7314 | "rgbColor": { # An RGB color. # The RGB color value. |
| 7315 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7316 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7317 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7318 | }, |
| 7319 | }, |
| 7320 | }, |
| 7321 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 7322 | # are not inherited from parent text. |
| 7323 | # |
| 7324 | # Changing the link in an update request causes some other changes to the |
| 7325 | # text style of the range: |
| 7326 | # |
| 7327 | # * When setting a link, the text foreground color will be updated to the |
| 7328 | # default link color and the text will be underlined. If these fields are |
| 7329 | # modified in the same request, those values will be used instead of the |
| 7330 | # link defaults. |
| 7331 | # * Setting a link on a text range that overlaps with an existing link will |
| 7332 | # also update the existing link to point to the new URL. |
| 7333 | # * Links are not settable on newline characters. As a result, setting a link |
| 7334 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 7335 | # will separate the newline character(s) into their own text runs. The |
| 7336 | # link will be applied separately to the runs before and after the newline. |
| 7337 | # * Removing a link will update the text style of the range to match the |
| 7338 | # style of the preceding text (or the default text styles if the preceding |
| 7339 | # text is another link) unless different styles are being set in the same |
| 7340 | # request. |
| 7341 | "headingId": "A String", # The ID of a heading in this document. |
| 7342 | "url": "A String", # An external URL. |
| 7343 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 7344 | }, |
| 7345 | "underline": True or False, # Whether or not the text is underlined. |
| 7346 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 7347 | }, |
| 7348 | }, |
| 7349 | "bulletSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| 7350 | # Bullet have been changed in this suggestion. |
| 7351 | # Bullet have been changed in this suggestion. |
| 7352 | # For any field set to true, there is a new suggested value. |
| 7353 | "nestingLevelSuggested": True or False, # Indicates if there was a suggested change to the |
| 7354 | # nesting_level. |
| 7355 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| 7356 | # suggestion. |
| 7357 | # For any field set to true, there is a new suggested value. |
| 7358 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 7359 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 7360 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 7361 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 7362 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 7363 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 7364 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 7365 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 7366 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 7367 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 7368 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 7369 | }, |
| 7370 | "listIdSuggested": True or False, # Indicates if there was a suggested change to the |
| 7371 | # list_id. |
| 7372 | }, |
| 7373 | }, |
| 7374 | }, |
| 7375 | "positionedObjectIds": [ # The IDs of the positioned objects tethered to this paragraph. |
| 7376 | "A String", |
| 7377 | ], |
| 7378 | "suggestedParagraphStyleChanges": { # The suggested paragraph style changes to this paragraph, keyed by |
| 7379 | # suggestion ID. |
| 7380 | "a_key": { # A suggested change to a |
| 7381 | # ParagraphStyle. |
| 7382 | "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. |
| 7383 | # For any field set to true, there is a new suggested value. |
| 7384 | "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| 7385 | "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| 7386 | "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| 7387 | "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| 7388 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 7389 | "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| 7390 | "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| 7391 | "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| 7392 | "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| 7393 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 7394 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 7395 | "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| 7396 | "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| 7397 | "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| 7398 | "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| 7399 | "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| 7400 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 7401 | "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| 7402 | "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| 7403 | "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| 7404 | # this suggestion. |
| 7405 | # suggested change. For any field set to true, there is a new suggested value. |
| 7406 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| 7407 | }, |
| 7408 | }, |
| 7409 | "paragraphStyle": { # Styles that apply to a whole paragraph. # A ParagraphStyle that only includes |
| 7410 | # the changes made in this suggestion. This can be used along with the |
| 7411 | # paragraph_suggestion_state |
| 7412 | # to see which fields have changed and their new values. |
| 7413 | # |
| 7414 | # Inherited paragraph styles are represented as unset fields in this message. |
| 7415 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 7416 | # |
| 7417 | # * The ParagraphStyle on a Paragraph |
| 7418 | # inherits from the paragraph's corresponding named style type. |
| 7419 | # * The ParagraphStyle on a named style |
| 7420 | # inherits from the normal text named style. |
| 7421 | # * The ParagraphStyle of the normal text named style inherits |
| 7422 | # from the default paragraph style in the Docs editor. |
| 7423 | # * The ParagraphStyle on a Paragraph |
| 7424 | # element that is contained in a table may inherit its paragraph style from |
| 7425 | # the table style. |
| 7426 | # |
| 7427 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 7428 | # revert the style to a value matching the defaults in the Docs editor. |
| 7429 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 7430 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 7431 | # LEFT_TO_RIGHT since |
| 7432 | # paragraph direction is not inherited. |
| 7433 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 7434 | # inherited from the parent. |
| 7435 | "magnitude": 3.14, # The magnitude. |
| 7436 | "unit": "A String", # The units for magnitude. |
| 7437 | }, |
| 7438 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 7439 | # page or column as the next paragraph if possible. If unset, the value is |
| 7440 | # inherited from the parent. |
| 7441 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 7442 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 7443 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 7444 | # is inherited from the parent. |
| 7445 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 7446 | # inherited from the parent. |
| 7447 | # |
| 7448 | # The bottom border is rendered when the paragraph below has different border |
| 7449 | # and indent properties. |
| 7450 | # |
| 7451 | # Paragraph borders cannot be partially updated. When making |
| 7452 | # changes to a paragraph border the new border must be specified in |
| 7453 | # its entirety. |
| 7454 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 7455 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 7456 | # a transparent color. |
| 7457 | "rgbColor": { # An RGB color. # The RGB color value. |
| 7458 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7459 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7460 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7461 | }, |
| 7462 | }, |
| 7463 | }, |
| 7464 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 7465 | "magnitude": 3.14, # The magnitude. |
| 7466 | "unit": "A String", # The units for magnitude. |
| 7467 | }, |
| 7468 | "dashStyle": "A String", # The dash style of the border. |
| 7469 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 7470 | "magnitude": 3.14, # The magnitude. |
| 7471 | "unit": "A String", # The units for magnitude. |
| 7472 | }, |
| 7473 | }, |
| 7474 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 7475 | # the start of the text, based on the current paragraph direction. If unset, |
| 7476 | # the value is inherited from the parent. |
| 7477 | "magnitude": 3.14, # The magnitude. |
| 7478 | "unit": "A String", # The units for magnitude. |
| 7479 | }, |
| 7480 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 7481 | # If unset, the value is inherited from the parent. |
| 7482 | # |
| 7483 | # The between border is rendered when the adjacent paragraph has the same |
| 7484 | # border and indent properties. |
| 7485 | # |
| 7486 | # Paragraph borders cannot be partially updated. When making |
| 7487 | # changes to a paragraph border the new border must be specified in |
| 7488 | # its entirety. |
| 7489 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 7490 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 7491 | # a transparent color. |
| 7492 | "rgbColor": { # An RGB color. # The RGB color value. |
| 7493 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7494 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7495 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7496 | }, |
| 7497 | }, |
| 7498 | }, |
| 7499 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 7500 | "magnitude": 3.14, # The magnitude. |
| 7501 | "unit": "A String", # The units for magnitude. |
| 7502 | }, |
| 7503 | "dashStyle": "A String", # The dash style of the border. |
| 7504 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 7505 | "magnitude": 3.14, # The magnitude. |
| 7506 | "unit": "A String", # The units for magnitude. |
| 7507 | }, |
| 7508 | }, |
| 7509 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 7510 | # |
| 7511 | # Since updating the named style type affects other properties within |
| 7512 | # ParagraphStyle, the named style type is applied before the other properties |
| 7513 | # are updated. |
| 7514 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 7515 | # from the parent. |
| 7516 | # |
| 7517 | # Paragraph borders cannot be partially updated. When making |
| 7518 | # changes to a paragraph border the new border must be specified in |
| 7519 | # its entirety. |
| 7520 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 7521 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 7522 | # a transparent color. |
| 7523 | "rgbColor": { # An RGB color. # The RGB color value. |
| 7524 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7525 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7526 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7527 | }, |
| 7528 | }, |
| 7529 | }, |
| 7530 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 7531 | "magnitude": 3.14, # The magnitude. |
| 7532 | "unit": "A String", # The units for magnitude. |
| 7533 | }, |
| 7534 | "dashStyle": "A String", # The dash style of the border. |
| 7535 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 7536 | "magnitude": 3.14, # The magnitude. |
| 7537 | "unit": "A String", # The units for magnitude. |
| 7538 | }, |
| 7539 | }, |
| 7540 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 7541 | # the end of the text, based on the current paragraph direction. If unset, |
| 7542 | # the value is inherited from the parent. |
| 7543 | "magnitude": 3.14, # The magnitude. |
| 7544 | "unit": "A String", # The units for magnitude. |
| 7545 | }, |
| 7546 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 7547 | # from the parent. |
| 7548 | # |
| 7549 | # Paragraph borders cannot be partially updated. When making |
| 7550 | # changes to a paragraph border the new border must be specified in |
| 7551 | # its entirety. |
| 7552 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 7553 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 7554 | # a transparent color. |
| 7555 | "rgbColor": { # An RGB color. # The RGB color value. |
| 7556 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7557 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7558 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7559 | }, |
| 7560 | }, |
| 7561 | }, |
| 7562 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 7563 | "magnitude": 3.14, # The magnitude. |
| 7564 | "unit": "A String", # The units for magnitude. |
| 7565 | }, |
| 7566 | "dashStyle": "A String", # The dash style of the border. |
| 7567 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 7568 | "magnitude": 3.14, # The magnitude. |
| 7569 | "unit": "A String", # The units for magnitude. |
| 7570 | }, |
| 7571 | }, |
| 7572 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 7573 | # inherited from the parent. |
| 7574 | "magnitude": 3.14, # The magnitude. |
| 7575 | "unit": "A String", # The units for magnitude. |
| 7576 | }, |
| 7577 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 7578 | # heading. This property is read-only. |
| 7579 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 7580 | # parent. |
| 7581 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 7582 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 7583 | # a transparent color. |
| 7584 | "rgbColor": { # An RGB color. # The RGB color value. |
| 7585 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7586 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7587 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7588 | }, |
| 7589 | }, |
| 7590 | }, |
| 7591 | }, |
| 7592 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 7593 | # from the parent. |
| 7594 | # |
| 7595 | # The top border is rendered when the paragraph above has different border |
| 7596 | # and indent properties. |
| 7597 | # |
| 7598 | # Paragraph borders cannot be partially updated. When making |
| 7599 | # changes to a paragraph border the new border must be specified in |
| 7600 | # its entirety. |
| 7601 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 7602 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 7603 | # a transparent color. |
| 7604 | "rgbColor": { # An RGB color. # The RGB color value. |
| 7605 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7606 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7607 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7608 | }, |
| 7609 | }, |
| 7610 | }, |
| 7611 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 7612 | "magnitude": 3.14, # The magnitude. |
| 7613 | "unit": "A String", # The units for magnitude. |
| 7614 | }, |
| 7615 | "dashStyle": "A String", # The dash style of the border. |
| 7616 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 7617 | "magnitude": 3.14, # The magnitude. |
| 7618 | "unit": "A String", # The units for magnitude. |
| 7619 | }, |
| 7620 | }, |
| 7621 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 7622 | # inherited. This property is read-only. |
| 7623 | { # A tab stop within a paragraph. |
| 7624 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 7625 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 7626 | "magnitude": 3.14, # The magnitude. |
| 7627 | "unit": "A String", # The units for magnitude. |
| 7628 | }, |
| 7629 | }, |
| 7630 | ], |
| 7631 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 7632 | # the value is inherited from the parent. |
| 7633 | "magnitude": 3.14, # The magnitude. |
| 7634 | "unit": "A String", # The units for magnitude. |
| 7635 | }, |
| 7636 | "alignment": "A String", # The text alignment for this paragraph. |
| 7637 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 7638 | # column if possible. If unset, the value is inherited from the parent. |
| 7639 | }, |
| 7640 | }, |
| 7641 | }, |
| 7642 | "paragraphStyle": { # Styles that apply to a whole paragraph. # The style of this paragraph. |
| 7643 | # |
| 7644 | # Inherited paragraph styles are represented as unset fields in this message. |
| 7645 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 7646 | # |
| 7647 | # * The ParagraphStyle on a Paragraph |
| 7648 | # inherits from the paragraph's corresponding named style type. |
| 7649 | # * The ParagraphStyle on a named style |
| 7650 | # inherits from the normal text named style. |
| 7651 | # * The ParagraphStyle of the normal text named style inherits |
| 7652 | # from the default paragraph style in the Docs editor. |
| 7653 | # * The ParagraphStyle on a Paragraph |
| 7654 | # element that is contained in a table may inherit its paragraph style from |
| 7655 | # the table style. |
| 7656 | # |
| 7657 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 7658 | # revert the style to a value matching the defaults in the Docs editor. |
| 7659 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 7660 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 7661 | # LEFT_TO_RIGHT since |
| 7662 | # paragraph direction is not inherited. |
| 7663 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 7664 | # inherited from the parent. |
| 7665 | "magnitude": 3.14, # The magnitude. |
| 7666 | "unit": "A String", # The units for magnitude. |
| 7667 | }, |
| 7668 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 7669 | # page or column as the next paragraph if possible. If unset, the value is |
| 7670 | # inherited from the parent. |
| 7671 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 7672 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 7673 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 7674 | # is inherited from the parent. |
| 7675 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 7676 | # inherited from the parent. |
| 7677 | # |
| 7678 | # The bottom border is rendered when the paragraph below has different border |
| 7679 | # and indent properties. |
| 7680 | # |
| 7681 | # Paragraph borders cannot be partially updated. When making |
| 7682 | # changes to a paragraph border the new border must be specified in |
| 7683 | # its entirety. |
| 7684 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 7685 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 7686 | # a transparent color. |
| 7687 | "rgbColor": { # An RGB color. # The RGB color value. |
| 7688 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7689 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7690 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7691 | }, |
| 7692 | }, |
| 7693 | }, |
| 7694 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 7695 | "magnitude": 3.14, # The magnitude. |
| 7696 | "unit": "A String", # The units for magnitude. |
| 7697 | }, |
| 7698 | "dashStyle": "A String", # The dash style of the border. |
| 7699 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 7700 | "magnitude": 3.14, # The magnitude. |
| 7701 | "unit": "A String", # The units for magnitude. |
| 7702 | }, |
| 7703 | }, |
| 7704 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 7705 | # the start of the text, based on the current paragraph direction. If unset, |
| 7706 | # the value is inherited from the parent. |
| 7707 | "magnitude": 3.14, # The magnitude. |
| 7708 | "unit": "A String", # The units for magnitude. |
| 7709 | }, |
| 7710 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 7711 | # If unset, the value is inherited from the parent. |
| 7712 | # |
| 7713 | # The between border is rendered when the adjacent paragraph has the same |
| 7714 | # border and indent properties. |
| 7715 | # |
| 7716 | # Paragraph borders cannot be partially updated. When making |
| 7717 | # changes to a paragraph border the new border must be specified in |
| 7718 | # its entirety. |
| 7719 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 7720 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 7721 | # a transparent color. |
| 7722 | "rgbColor": { # An RGB color. # The RGB color value. |
| 7723 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7724 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7725 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7726 | }, |
| 7727 | }, |
| 7728 | }, |
| 7729 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 7730 | "magnitude": 3.14, # The magnitude. |
| 7731 | "unit": "A String", # The units for magnitude. |
| 7732 | }, |
| 7733 | "dashStyle": "A String", # The dash style of the border. |
| 7734 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 7735 | "magnitude": 3.14, # The magnitude. |
| 7736 | "unit": "A String", # The units for magnitude. |
| 7737 | }, |
| 7738 | }, |
| 7739 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 7740 | # |
| 7741 | # Since updating the named style type affects other properties within |
| 7742 | # ParagraphStyle, the named style type is applied before the other properties |
| 7743 | # are updated. |
| 7744 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 7745 | # from the parent. |
| 7746 | # |
| 7747 | # Paragraph borders cannot be partially updated. When making |
| 7748 | # changes to a paragraph border the new border must be specified in |
| 7749 | # its entirety. |
| 7750 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 7751 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 7752 | # a transparent color. |
| 7753 | "rgbColor": { # An RGB color. # The RGB color value. |
| 7754 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7755 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7756 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7757 | }, |
| 7758 | }, |
| 7759 | }, |
| 7760 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 7761 | "magnitude": 3.14, # The magnitude. |
| 7762 | "unit": "A String", # The units for magnitude. |
| 7763 | }, |
| 7764 | "dashStyle": "A String", # The dash style of the border. |
| 7765 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 7766 | "magnitude": 3.14, # The magnitude. |
| 7767 | "unit": "A String", # The units for magnitude. |
| 7768 | }, |
| 7769 | }, |
| 7770 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 7771 | # the end of the text, based on the current paragraph direction. If unset, |
| 7772 | # the value is inherited from the parent. |
| 7773 | "magnitude": 3.14, # The magnitude. |
| 7774 | "unit": "A String", # The units for magnitude. |
| 7775 | }, |
| 7776 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 7777 | # from the parent. |
| 7778 | # |
| 7779 | # Paragraph borders cannot be partially updated. When making |
| 7780 | # changes to a paragraph border the new border must be specified in |
| 7781 | # its entirety. |
| 7782 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 7783 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 7784 | # a transparent color. |
| 7785 | "rgbColor": { # An RGB color. # The RGB color value. |
| 7786 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7787 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7788 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7789 | }, |
| 7790 | }, |
| 7791 | }, |
| 7792 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 7793 | "magnitude": 3.14, # The magnitude. |
| 7794 | "unit": "A String", # The units for magnitude. |
| 7795 | }, |
| 7796 | "dashStyle": "A String", # The dash style of the border. |
| 7797 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 7798 | "magnitude": 3.14, # The magnitude. |
| 7799 | "unit": "A String", # The units for magnitude. |
| 7800 | }, |
| 7801 | }, |
| 7802 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 7803 | # inherited from the parent. |
| 7804 | "magnitude": 3.14, # The magnitude. |
| 7805 | "unit": "A String", # The units for magnitude. |
| 7806 | }, |
| 7807 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 7808 | # heading. This property is read-only. |
| 7809 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 7810 | # parent. |
| 7811 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 7812 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 7813 | # a transparent color. |
| 7814 | "rgbColor": { # An RGB color. # The RGB color value. |
| 7815 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7816 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7817 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7818 | }, |
| 7819 | }, |
| 7820 | }, |
| 7821 | }, |
| 7822 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 7823 | # from the parent. |
| 7824 | # |
| 7825 | # The top border is rendered when the paragraph above has different border |
| 7826 | # and indent properties. |
| 7827 | # |
| 7828 | # Paragraph borders cannot be partially updated. When making |
| 7829 | # changes to a paragraph border the new border must be specified in |
| 7830 | # its entirety. |
| 7831 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 7832 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 7833 | # a transparent color. |
| 7834 | "rgbColor": { # An RGB color. # The RGB color value. |
| 7835 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7836 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7837 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7838 | }, |
| 7839 | }, |
| 7840 | }, |
| 7841 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 7842 | "magnitude": 3.14, # The magnitude. |
| 7843 | "unit": "A String", # The units for magnitude. |
| 7844 | }, |
| 7845 | "dashStyle": "A String", # The dash style of the border. |
| 7846 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 7847 | "magnitude": 3.14, # The magnitude. |
| 7848 | "unit": "A String", # The units for magnitude. |
| 7849 | }, |
| 7850 | }, |
| 7851 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 7852 | # inherited. This property is read-only. |
| 7853 | { # A tab stop within a paragraph. |
| 7854 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 7855 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 7856 | "magnitude": 3.14, # The magnitude. |
| 7857 | "unit": "A String", # The units for magnitude. |
| 7858 | }, |
| 7859 | }, |
| 7860 | ], |
| 7861 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 7862 | # the value is inherited from the parent. |
| 7863 | "magnitude": 3.14, # The magnitude. |
| 7864 | "unit": "A String", # The units for magnitude. |
| 7865 | }, |
| 7866 | "alignment": "A String", # The text alignment for this paragraph. |
| 7867 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 7868 | # column if possible. If unset, the value is inherited from the parent. |
| 7869 | }, |
| 7870 | }, |
| 7871 | "table": { # A StructuralElement representing a # A table type of structural element. |
| 7872 | # table. |
| 7873 | "rows": 42, # Number of rows in the table. |
| 7874 | "tableStyle": { # Styles that apply to a table. # The style of the table. |
| 7875 | "tableColumnProperties": [ # The properties of each column. |
| 7876 | # |
| 7877 | # Note that in Docs, tables contain rows and rows contain cells, similar to |
| 7878 | # HTML. So the properties for a row can be found on the row's |
| 7879 | # table_row_style. |
| 7880 | { # The properties of a column in a table. |
| 7881 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| 7882 | # FIXED_WIDTH. |
| 7883 | "magnitude": 3.14, # The magnitude. |
| 7884 | "unit": "A String", # The units for magnitude. |
| 7885 | }, |
| 7886 | "widthType": "A String", # The width type of the column. |
| 7887 | }, |
| 7888 | ], |
| 7889 | }, |
| 7890 | "suggestedInsertionIds": [ # The suggested insertion IDs. A Table may have |
| 7891 | # multiple insertion IDs if it is a nested suggested change. If empty, then |
| 7892 | # this is not a suggested insertion. |
| 7893 | "A String", |
| 7894 | ], |
| 7895 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 7896 | # of this content. |
| 7897 | "A String", |
| 7898 | ], |
| 7899 | "tableRows": [ # The contents and style of each row. |
| 7900 | { # The contents and style of a row in a Table. |
| 7901 | "endIndex": 42, # The zero-based end index of this row, exclusive, in UTF-16 code units. |
| 7902 | "tableCells": [ # The contents and style of each cell in this row. |
| 7903 | # |
| 7904 | # It is possible for a table to be non-rectangular, so some rows may have a |
| 7905 | # different number of cells than other rows in the same table. |
| 7906 | { # The contents and style of a cell in a Table. |
| 7907 | "endIndex": 42, # The zero-based end index of this cell, exclusive, in UTF-16 code units. |
| 7908 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 7909 | # of this content. |
| 7910 | "A String", |
| 7911 | ], |
| 7912 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableCell |
| 7913 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 7914 | # empty, then this is not a suggested insertion. |
| 7915 | "A String", |
| 7916 | ], |
| 7917 | "content": [ # The content of the cell. |
| 7918 | # Object with schema name: StructuralElement |
| 7919 | ], |
| 7920 | "tableCellStyle": { # The style of a TableCell. # The style of the cell. |
| 7921 | # |
| 7922 | # Inherited table cell styles are represented as unset fields in this message. |
| 7923 | # A table cell style can inherit from the table's style. |
| 7924 | "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| 7925 | "magnitude": 3.14, # The magnitude. |
| 7926 | "unit": "A String", # The units for magnitude. |
| 7927 | }, |
| 7928 | "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| 7929 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 7930 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 7931 | # a transparent color. |
| 7932 | "rgbColor": { # An RGB color. # The RGB color value. |
| 7933 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7934 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7935 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7936 | }, |
| 7937 | }, |
| 7938 | }, |
| 7939 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 7940 | "magnitude": 3.14, # The magnitude. |
| 7941 | "unit": "A String", # The units for magnitude. |
| 7942 | }, |
| 7943 | "dashStyle": "A String", # The dash style of the border. |
| 7944 | }, |
| 7945 | "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| 7946 | "magnitude": 3.14, # The magnitude. |
| 7947 | "unit": "A String", # The units for magnitude. |
| 7948 | }, |
| 7949 | "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| 7950 | "magnitude": 3.14, # The magnitude. |
| 7951 | "unit": "A String", # The units for magnitude. |
| 7952 | }, |
| 7953 | "borderLeft": { # A border around a table cell. # The left border of the cell. |
| 7954 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 7955 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 7956 | # a transparent color. |
| 7957 | "rgbColor": { # An RGB color. # The RGB color value. |
| 7958 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7959 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7960 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7961 | }, |
| 7962 | }, |
| 7963 | }, |
| 7964 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 7965 | "magnitude": 3.14, # The magnitude. |
| 7966 | "unit": "A String", # The units for magnitude. |
| 7967 | }, |
| 7968 | "dashStyle": "A String", # The dash style of the border. |
| 7969 | }, |
| 7970 | "columnSpan": 42, # The column span of the cell. This property is read-only. |
| 7971 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| 7972 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 7973 | # a transparent color. |
| 7974 | "rgbColor": { # An RGB color. # The RGB color value. |
| 7975 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7976 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7977 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7978 | }, |
| 7979 | }, |
| 7980 | }, |
| 7981 | "borderRight": { # A border around a table cell. # The right border of the cell. |
| 7982 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 7983 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 7984 | # a transparent color. |
| 7985 | "rgbColor": { # An RGB color. # The RGB color value. |
| 7986 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 7987 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 7988 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 7989 | }, |
| 7990 | }, |
| 7991 | }, |
| 7992 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 7993 | "magnitude": 3.14, # The magnitude. |
| 7994 | "unit": "A String", # The units for magnitude. |
| 7995 | }, |
| 7996 | "dashStyle": "A String", # The dash style of the border. |
| 7997 | }, |
| 7998 | "rowSpan": 42, # The row span of the cell. This property is read-only. |
| 7999 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 8000 | # matches the alignment for newly created table cells in the Docs editor. |
| 8001 | "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| 8002 | "magnitude": 3.14, # The magnitude. |
| 8003 | "unit": "A String", # The units for magnitude. |
| 8004 | }, |
| 8005 | "borderTop": { # A border around a table cell. # The top border of the cell. |
| 8006 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 8007 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 8008 | # a transparent color. |
| 8009 | "rgbColor": { # An RGB color. # The RGB color value. |
| 8010 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8011 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8012 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8013 | }, |
| 8014 | }, |
| 8015 | }, |
| 8016 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 8017 | "magnitude": 3.14, # The magnitude. |
| 8018 | "unit": "A String", # The units for magnitude. |
| 8019 | }, |
| 8020 | "dashStyle": "A String", # The dash style of the border. |
| 8021 | }, |
| 8022 | }, |
| 8023 | "startIndex": 42, # The zero-based start index of this cell, in UTF-16 code units. |
| 8024 | "suggestedTableCellStyleChanges": { # The suggested changes to the table cell style, keyed by suggestion ID. |
| 8025 | "a_key": { # A suggested change to a TableCellStyle. |
| 8026 | "tableCellStyle": { # The style of a TableCell. # A TableCellStyle that only includes |
| 8027 | # the changes made in this suggestion. This can be used along with the |
| 8028 | # table_cell_style_suggestion_state |
| 8029 | # to see which fields have changed and their new values. |
| 8030 | # |
| 8031 | # Inherited table cell styles are represented as unset fields in this message. |
| 8032 | # A table cell style can inherit from the table's style. |
| 8033 | "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| 8034 | "magnitude": 3.14, # The magnitude. |
| 8035 | "unit": "A String", # The units for magnitude. |
| 8036 | }, |
| 8037 | "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| 8038 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 8039 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 8040 | # a transparent color. |
| 8041 | "rgbColor": { # An RGB color. # The RGB color value. |
| 8042 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8043 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8044 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8045 | }, |
| 8046 | }, |
| 8047 | }, |
| 8048 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 8049 | "magnitude": 3.14, # The magnitude. |
| 8050 | "unit": "A String", # The units for magnitude. |
| 8051 | }, |
| 8052 | "dashStyle": "A String", # The dash style of the border. |
| 8053 | }, |
| 8054 | "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| 8055 | "magnitude": 3.14, # The magnitude. |
| 8056 | "unit": "A String", # The units for magnitude. |
| 8057 | }, |
| 8058 | "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| 8059 | "magnitude": 3.14, # The magnitude. |
| 8060 | "unit": "A String", # The units for magnitude. |
| 8061 | }, |
| 8062 | "borderLeft": { # A border around a table cell. # The left border of the cell. |
| 8063 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 8064 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 8065 | # a transparent color. |
| 8066 | "rgbColor": { # An RGB color. # The RGB color value. |
| 8067 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8068 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8069 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8070 | }, |
| 8071 | }, |
| 8072 | }, |
| 8073 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 8074 | "magnitude": 3.14, # The magnitude. |
| 8075 | "unit": "A String", # The units for magnitude. |
| 8076 | }, |
| 8077 | "dashStyle": "A String", # The dash style of the border. |
| 8078 | }, |
| 8079 | "columnSpan": 42, # The column span of the cell. This property is read-only. |
| 8080 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| 8081 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 8082 | # a transparent color. |
| 8083 | "rgbColor": { # An RGB color. # The RGB color value. |
| 8084 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8085 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8086 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8087 | }, |
| 8088 | }, |
| 8089 | }, |
| 8090 | "borderRight": { # A border around a table cell. # The right border of the cell. |
| 8091 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 8092 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 8093 | # a transparent color. |
| 8094 | "rgbColor": { # An RGB color. # The RGB color value. |
| 8095 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8096 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8097 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8098 | }, |
| 8099 | }, |
| 8100 | }, |
| 8101 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 8102 | "magnitude": 3.14, # The magnitude. |
| 8103 | "unit": "A String", # The units for magnitude. |
| 8104 | }, |
| 8105 | "dashStyle": "A String", # The dash style of the border. |
| 8106 | }, |
| 8107 | "rowSpan": 42, # The row span of the cell. This property is read-only. |
| 8108 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 8109 | # matches the alignment for newly created table cells in the Docs editor. |
| 8110 | "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| 8111 | "magnitude": 3.14, # The magnitude. |
| 8112 | "unit": "A String", # The units for magnitude. |
| 8113 | }, |
| 8114 | "borderTop": { # A border around a table cell. # The top border of the cell. |
| 8115 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 8116 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 8117 | # a transparent color. |
| 8118 | "rgbColor": { # An RGB color. # The RGB color value. |
| 8119 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8120 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8121 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8122 | }, |
| 8123 | }, |
| 8124 | }, |
| 8125 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 8126 | "magnitude": 3.14, # The magnitude. |
| 8127 | "unit": "A String", # The units for magnitude. |
| 8128 | }, |
| 8129 | "dashStyle": "A String", # The dash style of the border. |
| 8130 | }, |
| 8131 | }, |
| 8132 | "tableCellStyleSuggestionState": { # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. |
| 8133 | # For any field set to true, there is a new suggested value. |
| 8134 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 8135 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 8136 | "paddingBottomSuggested": True or False, # Indicates if there was a suggested change to padding_bottom. |
| 8137 | "contentAlignmentSuggested": True or False, # Indicates if there was a suggested change to content_alignment. |
| 8138 | "rowSpanSuggested": True or False, # Indicates if there was a suggested change to row_span. |
| 8139 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 8140 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 8141 | "columnSpanSuggested": True or False, # Indicates if there was a suggested change to column_span. |
| 8142 | "paddingRightSuggested": True or False, # Indicates if there was a suggested change to padding_right. |
| 8143 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 8144 | "paddingLeftSuggested": True or False, # Indicates if there was a suggested change to padding_left. |
| 8145 | "paddingTopSuggested": True or False, # Indicates if there was a suggested change to padding_top. |
| 8146 | }, |
| 8147 | }, |
| 8148 | }, |
| 8149 | }, |
| 8150 | ], |
| 8151 | "tableRowStyle": { # Styles that apply to a table row. # The style of the table row. |
| 8152 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 8153 | # at a height equal to or greater than this value in order to show all the |
| 8154 | # content in the row's cells. |
| 8155 | "magnitude": 3.14, # The magnitude. |
| 8156 | "unit": "A String", # The units for magnitude. |
| 8157 | }, |
| 8158 | }, |
| 8159 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableRow |
| 8160 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 8161 | # empty, then this is not a suggested insertion. |
| 8162 | "A String", |
| 8163 | ], |
| 8164 | "startIndex": 42, # The zero-based start index of this row, in UTF-16 code units. |
| 8165 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 8166 | # of this content. |
| 8167 | "A String", |
| 8168 | ], |
| 8169 | "suggestedTableRowStyleChanges": { # The suggested style changes to this row, keyed by suggestion ID. |
| 8170 | "a_key": { # A suggested change to a |
| 8171 | # TableRowStyle. |
| 8172 | "tableRowStyle": { # Styles that apply to a table row. # A TableRowStyle that only includes |
| 8173 | # the changes made in this suggestion. This can be used along with the |
| 8174 | # table_row_style_suggestion_state |
| 8175 | # to see which fields have changed and their new values. |
| 8176 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 8177 | # at a height equal to or greater than this value in order to show all the |
| 8178 | # content in the row's cells. |
| 8179 | "magnitude": 3.14, # The magnitude. |
| 8180 | "unit": "A String", # The units for magnitude. |
| 8181 | }, |
| 8182 | }, |
| 8183 | "tableRowStyleSuggestionState": { # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. |
| 8184 | # For any field set to true, there is a new suggested value. |
| 8185 | "minRowHeightSuggested": True or False, # Indicates if there was a suggested change to min_row_height. |
| 8186 | }, |
| 8187 | }, |
| 8188 | }, |
| 8189 | }, |
| 8190 | ], |
| 8191 | "columns": 42, # Number of columns in the table. |
| 8192 | # |
| 8193 | # It is possible for a table to be non-rectangular, so some rows may have a |
| 8194 | # different number of cells. |
| 8195 | }, |
| 8196 | }, |
| 8197 | ], |
| 8198 | }, |
| 8199 | }, |
| 8200 | "namedStyles": { # The named styles. Paragraphs in the document can inherit their # The named styles of the document. |
| 8201 | # TextStyle and |
| 8202 | # ParagraphStyle from these named styles. |
| 8203 | "styles": [ # The named styles. |
| 8204 | # |
| 8205 | # There is an entry for each of the possible named style types. |
| 8206 | { # A named style. Paragraphs in the document can inherit their |
| 8207 | # TextStyle and |
| 8208 | # ParagraphStyle from this named style |
| 8209 | # when they have the same named style type. |
| 8210 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this named style. |
| 8211 | # |
| 8212 | # Inherited text styles are represented as unset fields in this message. A |
| 8213 | # text style's parent depends on where the text style is defined: |
| 8214 | # |
| 8215 | # * The TextStyle of text in a Paragraph |
| 8216 | # inherits from the paragraph's corresponding named style type. |
| 8217 | # * The TextStyle on a named style |
| 8218 | # inherits from the normal text named style. |
| 8219 | # * The TextStyle of the normal text named style inherits |
| 8220 | # from the default text style in the Docs editor. |
| 8221 | # * The TextStyle on a Paragraph element |
| 8222 | # that is contained in a table may inherit its text style from the table |
| 8223 | # style. |
| 8224 | # |
| 8225 | # If the text style does not inherit from a parent, unsetting fields will |
| 8226 | # revert the style to a value matching the defaults in the Docs editor. |
| 8227 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 8228 | # or transparent, depending on the `color` field. |
| 8229 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 8230 | # a transparent color. |
| 8231 | "rgbColor": { # An RGB color. # The RGB color value. |
| 8232 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8233 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8234 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8235 | }, |
| 8236 | }, |
| 8237 | }, |
| 8238 | "italic": True or False, # Whether or not the text is italicized. |
| 8239 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 8240 | # |
| 8241 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 8242 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 8243 | # The `font_size` itself is not affected by changes in this field. |
| 8244 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 8245 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 8246 | # |
| 8247 | # If an update request specifies values for both `weighted_font_family` and |
| 8248 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 8249 | # |
| 8250 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 8251 | # |
| 8252 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 8253 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 8254 | # is returned. |
| 8255 | "fontFamily": "A String", # The font family of the text. |
| 8256 | # |
| 8257 | # The font family can be any font from the Font menu in Docs or from |
| 8258 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 8259 | # unrecognized, the text is rendered in `Arial`. |
| 8260 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 8261 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 8262 | # numerical values described in the CSS 2.1 Specification, |
| 8263 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 8264 | # non-numerical values disallowed. |
| 8265 | # |
| 8266 | # The default value is `400` ("normal"). |
| 8267 | # |
| 8268 | # The font weight makes up just one component of the rendered font weight. |
| 8269 | # The rendered weight is determined by a combination of the `weight` and the |
| 8270 | # text style's resolved `bold` value, after accounting for inheritance: |
| 8271 | # |
| 8272 | # * If the text is bold and the weight is less than `400`, the rendered |
| 8273 | # weight is 400. |
| 8274 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 8275 | # is less than `700`, the rendered weight is `700`. |
| 8276 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 8277 | # equal to the weight. |
| 8278 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 8279 | }, |
| 8280 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 8281 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 8282 | "magnitude": 3.14, # The magnitude. |
| 8283 | "unit": "A String", # The units for magnitude. |
| 8284 | }, |
| 8285 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 8286 | # or transparent, depending on the `color` field. |
| 8287 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 8288 | # a transparent color. |
| 8289 | "rgbColor": { # An RGB color. # The RGB color value. |
| 8290 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8291 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8292 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8293 | }, |
| 8294 | }, |
| 8295 | }, |
| 8296 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 8297 | # are not inherited from parent text. |
| 8298 | # |
| 8299 | # Changing the link in an update request causes some other changes to the |
| 8300 | # text style of the range: |
| 8301 | # |
| 8302 | # * When setting a link, the text foreground color will be updated to the |
| 8303 | # default link color and the text will be underlined. If these fields are |
| 8304 | # modified in the same request, those values will be used instead of the |
| 8305 | # link defaults. |
| 8306 | # * Setting a link on a text range that overlaps with an existing link will |
| 8307 | # also update the existing link to point to the new URL. |
| 8308 | # * Links are not settable on newline characters. As a result, setting a link |
| 8309 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 8310 | # will separate the newline character(s) into their own text runs. The |
| 8311 | # link will be applied separately to the runs before and after the newline. |
| 8312 | # * Removing a link will update the text style of the range to match the |
| 8313 | # style of the preceding text (or the default text styles if the preceding |
| 8314 | # text is another link) unless different styles are being set in the same |
| 8315 | # request. |
| 8316 | "headingId": "A String", # The ID of a heading in this document. |
| 8317 | "url": "A String", # An external URL. |
| 8318 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 8319 | }, |
| 8320 | "underline": True or False, # Whether or not the text is underlined. |
| 8321 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 8322 | }, |
| 8323 | "namedStyleType": "A String", # The type of this named style. |
| 8324 | "paragraphStyle": { # Styles that apply to a whole paragraph. # The paragraph style of this named style. |
| 8325 | # |
| 8326 | # Inherited paragraph styles are represented as unset fields in this message. |
| 8327 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 8328 | # |
| 8329 | # * The ParagraphStyle on a Paragraph |
| 8330 | # inherits from the paragraph's corresponding named style type. |
| 8331 | # * The ParagraphStyle on a named style |
| 8332 | # inherits from the normal text named style. |
| 8333 | # * The ParagraphStyle of the normal text named style inherits |
| 8334 | # from the default paragraph style in the Docs editor. |
| 8335 | # * The ParagraphStyle on a Paragraph |
| 8336 | # element that is contained in a table may inherit its paragraph style from |
| 8337 | # the table style. |
| 8338 | # |
| 8339 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 8340 | # revert the style to a value matching the defaults in the Docs editor. |
| 8341 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 8342 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 8343 | # LEFT_TO_RIGHT since |
| 8344 | # paragraph direction is not inherited. |
| 8345 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 8346 | # inherited from the parent. |
| 8347 | "magnitude": 3.14, # The magnitude. |
| 8348 | "unit": "A String", # The units for magnitude. |
| 8349 | }, |
| 8350 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 8351 | # page or column as the next paragraph if possible. If unset, the value is |
| 8352 | # inherited from the parent. |
| 8353 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 8354 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 8355 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 8356 | # is inherited from the parent. |
| 8357 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 8358 | # inherited from the parent. |
| 8359 | # |
| 8360 | # The bottom border is rendered when the paragraph below has different border |
| 8361 | # and indent properties. |
| 8362 | # |
| 8363 | # Paragraph borders cannot be partially updated. When making |
| 8364 | # changes to a paragraph border the new border must be specified in |
| 8365 | # its entirety. |
| 8366 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 8367 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 8368 | # a transparent color. |
| 8369 | "rgbColor": { # An RGB color. # The RGB color value. |
| 8370 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8371 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8372 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8373 | }, |
| 8374 | }, |
| 8375 | }, |
| 8376 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 8377 | "magnitude": 3.14, # The magnitude. |
| 8378 | "unit": "A String", # The units for magnitude. |
| 8379 | }, |
| 8380 | "dashStyle": "A String", # The dash style of the border. |
| 8381 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 8382 | "magnitude": 3.14, # The magnitude. |
| 8383 | "unit": "A String", # The units for magnitude. |
| 8384 | }, |
| 8385 | }, |
| 8386 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 8387 | # the start of the text, based on the current paragraph direction. If unset, |
| 8388 | # the value is inherited from the parent. |
| 8389 | "magnitude": 3.14, # The magnitude. |
| 8390 | "unit": "A String", # The units for magnitude. |
| 8391 | }, |
| 8392 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 8393 | # If unset, the value is inherited from the parent. |
| 8394 | # |
| 8395 | # The between border is rendered when the adjacent paragraph has the same |
| 8396 | # border and indent properties. |
| 8397 | # |
| 8398 | # Paragraph borders cannot be partially updated. When making |
| 8399 | # changes to a paragraph border the new border must be specified in |
| 8400 | # its entirety. |
| 8401 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 8402 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 8403 | # a transparent color. |
| 8404 | "rgbColor": { # An RGB color. # The RGB color value. |
| 8405 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8406 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8407 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8408 | }, |
| 8409 | }, |
| 8410 | }, |
| 8411 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 8412 | "magnitude": 3.14, # The magnitude. |
| 8413 | "unit": "A String", # The units for magnitude. |
| 8414 | }, |
| 8415 | "dashStyle": "A String", # The dash style of the border. |
| 8416 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 8417 | "magnitude": 3.14, # The magnitude. |
| 8418 | "unit": "A String", # The units for magnitude. |
| 8419 | }, |
| 8420 | }, |
| 8421 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 8422 | # |
| 8423 | # Since updating the named style type affects other properties within |
| 8424 | # ParagraphStyle, the named style type is applied before the other properties |
| 8425 | # are updated. |
| 8426 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 8427 | # from the parent. |
| 8428 | # |
| 8429 | # Paragraph borders cannot be partially updated. When making |
| 8430 | # changes to a paragraph border the new border must be specified in |
| 8431 | # its entirety. |
| 8432 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 8433 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 8434 | # a transparent color. |
| 8435 | "rgbColor": { # An RGB color. # The RGB color value. |
| 8436 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8437 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8438 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8439 | }, |
| 8440 | }, |
| 8441 | }, |
| 8442 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 8443 | "magnitude": 3.14, # The magnitude. |
| 8444 | "unit": "A String", # The units for magnitude. |
| 8445 | }, |
| 8446 | "dashStyle": "A String", # The dash style of the border. |
| 8447 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 8448 | "magnitude": 3.14, # The magnitude. |
| 8449 | "unit": "A String", # The units for magnitude. |
| 8450 | }, |
| 8451 | }, |
| 8452 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 8453 | # the end of the text, based on the current paragraph direction. If unset, |
| 8454 | # the value is inherited from the parent. |
| 8455 | "magnitude": 3.14, # The magnitude. |
| 8456 | "unit": "A String", # The units for magnitude. |
| 8457 | }, |
| 8458 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 8459 | # from the parent. |
| 8460 | # |
| 8461 | # Paragraph borders cannot be partially updated. When making |
| 8462 | # changes to a paragraph border the new border must be specified in |
| 8463 | # its entirety. |
| 8464 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 8465 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 8466 | # a transparent color. |
| 8467 | "rgbColor": { # An RGB color. # The RGB color value. |
| 8468 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8469 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8470 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8471 | }, |
| 8472 | }, |
| 8473 | }, |
| 8474 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 8475 | "magnitude": 3.14, # The magnitude. |
| 8476 | "unit": "A String", # The units for magnitude. |
| 8477 | }, |
| 8478 | "dashStyle": "A String", # The dash style of the border. |
| 8479 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 8480 | "magnitude": 3.14, # The magnitude. |
| 8481 | "unit": "A String", # The units for magnitude. |
| 8482 | }, |
| 8483 | }, |
| 8484 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 8485 | # inherited from the parent. |
| 8486 | "magnitude": 3.14, # The magnitude. |
| 8487 | "unit": "A String", # The units for magnitude. |
| 8488 | }, |
| 8489 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 8490 | # heading. This property is read-only. |
| 8491 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 8492 | # parent. |
| 8493 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 8494 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 8495 | # a transparent color. |
| 8496 | "rgbColor": { # An RGB color. # The RGB color value. |
| 8497 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8498 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8499 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8500 | }, |
| 8501 | }, |
| 8502 | }, |
| 8503 | }, |
| 8504 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 8505 | # from the parent. |
| 8506 | # |
| 8507 | # The top border is rendered when the paragraph above has different border |
| 8508 | # and indent properties. |
| 8509 | # |
| 8510 | # Paragraph borders cannot be partially updated. When making |
| 8511 | # changes to a paragraph border the new border must be specified in |
| 8512 | # its entirety. |
| 8513 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 8514 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 8515 | # a transparent color. |
| 8516 | "rgbColor": { # An RGB color. # The RGB color value. |
| 8517 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8518 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8519 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8520 | }, |
| 8521 | }, |
| 8522 | }, |
| 8523 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 8524 | "magnitude": 3.14, # The magnitude. |
| 8525 | "unit": "A String", # The units for magnitude. |
| 8526 | }, |
| 8527 | "dashStyle": "A String", # The dash style of the border. |
| 8528 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 8529 | "magnitude": 3.14, # The magnitude. |
| 8530 | "unit": "A String", # The units for magnitude. |
| 8531 | }, |
| 8532 | }, |
| 8533 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 8534 | # inherited. This property is read-only. |
| 8535 | { # A tab stop within a paragraph. |
| 8536 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 8537 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 8538 | "magnitude": 3.14, # The magnitude. |
| 8539 | "unit": "A String", # The units for magnitude. |
| 8540 | }, |
| 8541 | }, |
| 8542 | ], |
| 8543 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 8544 | # the value is inherited from the parent. |
| 8545 | "magnitude": 3.14, # The magnitude. |
| 8546 | "unit": "A String", # The units for magnitude. |
| 8547 | }, |
| 8548 | "alignment": "A String", # The text alignment for this paragraph. |
| 8549 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 8550 | # column if possible. If unset, the value is inherited from the parent. |
| 8551 | }, |
| 8552 | }, |
| 8553 | ], |
| 8554 | }, |
| 8555 | "footers": { # The footers in the document, keyed by footer ID. |
| 8556 | "a_key": { # A document footer. |
| 8557 | "content": [ # The contents of the footer. |
| 8558 | # |
| 8559 | # The indexes for a footer's content begin at zero. |
| 8560 | { # A StructuralElement describes content that provides structure to the |
| 8561 | # document. |
| 8562 | "endIndex": 42, # The zero-based end index of this structural element, exclusive, in UTF-16 |
| 8563 | # code units. |
| 8564 | "sectionBreak": { # A StructuralElement representing a # A section break type of structural element. |
| 8565 | # section break. A section is a range of content which has the same |
| 8566 | # SectionStyle. A section break represents |
| 8567 | # the start of a new section, and the section style applies to the section |
| 8568 | # after the section break. |
| 8569 | # |
| 8570 | # The document body always begins with a section break. |
| 8571 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 8572 | # of this content. |
| 8573 | "A String", |
| 8574 | ], |
| 8575 | "sectionStyle": { # The styling that applies to a section. # The style of the section after this section break. |
| 8576 | "contentDirection": "A String", # The content direction of this section. If unset, the value defaults to |
| 8577 | # LEFT_TO_RIGHT. |
| 8578 | "columnProperties": [ # The section's columns properties. |
| 8579 | # |
| 8580 | # If empty, the section contains one column with the default properties in |
| 8581 | # the Docs editor. |
| 8582 | { # Properties that apply to a section's column. |
| 8583 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. |
| 8584 | "magnitude": 3.14, # The magnitude. |
| 8585 | "unit": "A String", # The units for magnitude. |
| 8586 | }, |
| 8587 | "paddingEnd": { # A magnitude in a single direction in the specified units. # The padding at the end of the column. |
| 8588 | "magnitude": 3.14, # The magnitude. |
| 8589 | "unit": "A String", # The units for magnitude. |
| 8590 | }, |
| 8591 | }, |
| 8592 | ], |
| 8593 | "columnSeparatorStyle": "A String", # The style of column separators. |
| 8594 | # |
| 8595 | # This style can be set even when there is one column in the section. |
| 8596 | }, |
| 8597 | "suggestedInsertionIds": [ # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is |
| 8598 | # a nested suggested change. If empty, then this is not a suggested |
| 8599 | # insertion. |
| 8600 | "A String", |
| 8601 | ], |
| 8602 | }, |
| 8603 | "tableOfContents": { # A StructuralElement representing # A table of contents type of structural element. |
| 8604 | # a table of contents. |
| 8605 | "content": [ # The content of the table of contents. |
| 8606 | # Object with schema name: StructuralElement |
| 8607 | ], |
| 8608 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 8609 | # of this content. |
| 8610 | "A String", |
| 8611 | ], |
| 8612 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it |
| 8613 | # is a nested suggested change. If empty, then this is not a suggested |
| 8614 | # insertion. |
| 8615 | "A String", |
| 8616 | ], |
| 8617 | }, |
| 8618 | "startIndex": 42, # The zero-based start index of this structural element, in UTF-16 code |
| 8619 | # units. |
| 8620 | "paragraph": { # A StructuralElement representing a # A paragraph type of structural element. |
| 8621 | # paragraph. A paragraph is a range of content that is terminated with a |
| 8622 | # newline character. |
| 8623 | "elements": [ # The content of the paragraph broken down into its component parts. |
| 8624 | { # A ParagraphElement describes content within a |
| 8625 | # Paragraph. |
| 8626 | "endIndex": 42, # The zero-base end index of this paragraph element, exclusive, in UTF-16 |
| 8627 | # code units. |
| 8628 | "equation": { # A ParagraphElement representing an # An equation paragraph element. |
| 8629 | # equation. |
| 8630 | "suggestedInsertionIds": [ # The suggested insertion IDs. A Equation |
| 8631 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 8632 | # empty, then this is not a suggested insertion. |
| 8633 | "A String", |
| 8634 | ], |
| 8635 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 8636 | # of this content. |
| 8637 | "A String", |
| 8638 | ], |
| 8639 | }, |
| 8640 | "columnBreak": { # A ParagraphElement representing a # A column break paragraph element. |
| 8641 | # column break. A column break makes the subsequent text start at the top of |
| 8642 | # the next column. |
| 8643 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this ColumnBreak. |
| 8644 | # |
| 8645 | # Similar to text content, like text runs and footnote references, the text |
| 8646 | # style of a column break can affect content layout as well as the styling of |
| 8647 | # text inserted adjacent to it. |
| 8648 | # |
| 8649 | # Inherited text styles are represented as unset fields in this message. A |
| 8650 | # text style's parent depends on where the text style is defined: |
| 8651 | # |
| 8652 | # * The TextStyle of text in a Paragraph |
| 8653 | # inherits from the paragraph's corresponding named style type. |
| 8654 | # * The TextStyle on a named style |
| 8655 | # inherits from the normal text named style. |
| 8656 | # * The TextStyle of the normal text named style inherits |
| 8657 | # from the default text style in the Docs editor. |
| 8658 | # * The TextStyle on a Paragraph element |
| 8659 | # that is contained in a table may inherit its text style from the table |
| 8660 | # style. |
| 8661 | # |
| 8662 | # If the text style does not inherit from a parent, unsetting fields will |
| 8663 | # revert the style to a value matching the defaults in the Docs editor. |
| 8664 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 8665 | # or transparent, depending on the `color` field. |
| 8666 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 8667 | # a transparent color. |
| 8668 | "rgbColor": { # An RGB color. # The RGB color value. |
| 8669 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8670 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8671 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8672 | }, |
| 8673 | }, |
| 8674 | }, |
| 8675 | "italic": True or False, # Whether or not the text is italicized. |
| 8676 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 8677 | # |
| 8678 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 8679 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 8680 | # The `font_size` itself is not affected by changes in this field. |
| 8681 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 8682 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 8683 | # |
| 8684 | # If an update request specifies values for both `weighted_font_family` and |
| 8685 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 8686 | # |
| 8687 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 8688 | # |
| 8689 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 8690 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 8691 | # is returned. |
| 8692 | "fontFamily": "A String", # The font family of the text. |
| 8693 | # |
| 8694 | # The font family can be any font from the Font menu in Docs or from |
| 8695 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 8696 | # unrecognized, the text is rendered in `Arial`. |
| 8697 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 8698 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 8699 | # numerical values described in the CSS 2.1 Specification, |
| 8700 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 8701 | # non-numerical values disallowed. |
| 8702 | # |
| 8703 | # The default value is `400` ("normal"). |
| 8704 | # |
| 8705 | # The font weight makes up just one component of the rendered font weight. |
| 8706 | # The rendered weight is determined by a combination of the `weight` and the |
| 8707 | # text style's resolved `bold` value, after accounting for inheritance: |
| 8708 | # |
| 8709 | # * If the text is bold and the weight is less than `400`, the rendered |
| 8710 | # weight is 400. |
| 8711 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 8712 | # is less than `700`, the rendered weight is `700`. |
| 8713 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 8714 | # equal to the weight. |
| 8715 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 8716 | }, |
| 8717 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 8718 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 8719 | "magnitude": 3.14, # The magnitude. |
| 8720 | "unit": "A String", # The units for magnitude. |
| 8721 | }, |
| 8722 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 8723 | # or transparent, depending on the `color` field. |
| 8724 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 8725 | # a transparent color. |
| 8726 | "rgbColor": { # An RGB color. # The RGB color value. |
| 8727 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8728 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8729 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8730 | }, |
| 8731 | }, |
| 8732 | }, |
| 8733 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 8734 | # are not inherited from parent text. |
| 8735 | # |
| 8736 | # Changing the link in an update request causes some other changes to the |
| 8737 | # text style of the range: |
| 8738 | # |
| 8739 | # * When setting a link, the text foreground color will be updated to the |
| 8740 | # default link color and the text will be underlined. If these fields are |
| 8741 | # modified in the same request, those values will be used instead of the |
| 8742 | # link defaults. |
| 8743 | # * Setting a link on a text range that overlaps with an existing link will |
| 8744 | # also update the existing link to point to the new URL. |
| 8745 | # * Links are not settable on newline characters. As a result, setting a link |
| 8746 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 8747 | # will separate the newline character(s) into their own text runs. The |
| 8748 | # link will be applied separately to the runs before and after the newline. |
| 8749 | # * Removing a link will update the text style of the range to match the |
| 8750 | # style of the preceding text (or the default text styles if the preceding |
| 8751 | # text is another link) unless different styles are being set in the same |
| 8752 | # request. |
| 8753 | "headingId": "A String", # The ID of a heading in this document. |
| 8754 | "url": "A String", # An external URL. |
| 8755 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 8756 | }, |
| 8757 | "underline": True or False, # Whether or not the text is underlined. |
| 8758 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 8759 | }, |
| 8760 | "suggestedInsertionIds": [ # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is |
| 8761 | # a nested suggested change. If empty, then this is not a suggested |
| 8762 | # insertion. |
| 8763 | "A String", |
| 8764 | ], |
| 8765 | "suggestedTextStyleChanges": { # The suggested text style changes to this ColumnBreak, keyed by suggestion |
| 8766 | # ID. |
| 8767 | "a_key": { # A suggested change to a TextStyle. |
| 8768 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 8769 | # the changes made in this suggestion. This can be used along with the |
| 8770 | # text_style_suggestion_state |
| 8771 | # to see which fields have changed and their new values. |
| 8772 | # |
| 8773 | # Inherited text styles are represented as unset fields in this message. A |
| 8774 | # text style's parent depends on where the text style is defined: |
| 8775 | # |
| 8776 | # * The TextStyle of text in a Paragraph |
| 8777 | # inherits from the paragraph's corresponding named style type. |
| 8778 | # * The TextStyle on a named style |
| 8779 | # inherits from the normal text named style. |
| 8780 | # * The TextStyle of the normal text named style inherits |
| 8781 | # from the default text style in the Docs editor. |
| 8782 | # * The TextStyle on a Paragraph element |
| 8783 | # that is contained in a table may inherit its text style from the table |
| 8784 | # style. |
| 8785 | # |
| 8786 | # If the text style does not inherit from a parent, unsetting fields will |
| 8787 | # revert the style to a value matching the defaults in the Docs editor. |
| 8788 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 8789 | # or transparent, depending on the `color` field. |
| 8790 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 8791 | # a transparent color. |
| 8792 | "rgbColor": { # An RGB color. # The RGB color value. |
| 8793 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8794 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8795 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8796 | }, |
| 8797 | }, |
| 8798 | }, |
| 8799 | "italic": True or False, # Whether or not the text is italicized. |
| 8800 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 8801 | # |
| 8802 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 8803 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 8804 | # The `font_size` itself is not affected by changes in this field. |
| 8805 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 8806 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 8807 | # |
| 8808 | # If an update request specifies values for both `weighted_font_family` and |
| 8809 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 8810 | # |
| 8811 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 8812 | # |
| 8813 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 8814 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 8815 | # is returned. |
| 8816 | "fontFamily": "A String", # The font family of the text. |
| 8817 | # |
| 8818 | # The font family can be any font from the Font menu in Docs or from |
| 8819 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 8820 | # unrecognized, the text is rendered in `Arial`. |
| 8821 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 8822 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 8823 | # numerical values described in the CSS 2.1 Specification, |
| 8824 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 8825 | # non-numerical values disallowed. |
| 8826 | # |
| 8827 | # The default value is `400` ("normal"). |
| 8828 | # |
| 8829 | # The font weight makes up just one component of the rendered font weight. |
| 8830 | # The rendered weight is determined by a combination of the `weight` and the |
| 8831 | # text style's resolved `bold` value, after accounting for inheritance: |
| 8832 | # |
| 8833 | # * If the text is bold and the weight is less than `400`, the rendered |
| 8834 | # weight is 400. |
| 8835 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 8836 | # is less than `700`, the rendered weight is `700`. |
| 8837 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 8838 | # equal to the weight. |
| 8839 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 8840 | }, |
| 8841 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 8842 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 8843 | "magnitude": 3.14, # The magnitude. |
| 8844 | "unit": "A String", # The units for magnitude. |
| 8845 | }, |
| 8846 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 8847 | # or transparent, depending on the `color` field. |
| 8848 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 8849 | # a transparent color. |
| 8850 | "rgbColor": { # An RGB color. # The RGB color value. |
| 8851 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8852 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8853 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8854 | }, |
| 8855 | }, |
| 8856 | }, |
| 8857 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 8858 | # are not inherited from parent text. |
| 8859 | # |
| 8860 | # Changing the link in an update request causes some other changes to the |
| 8861 | # text style of the range: |
| 8862 | # |
| 8863 | # * When setting a link, the text foreground color will be updated to the |
| 8864 | # default link color and the text will be underlined. If these fields are |
| 8865 | # modified in the same request, those values will be used instead of the |
| 8866 | # link defaults. |
| 8867 | # * Setting a link on a text range that overlaps with an existing link will |
| 8868 | # also update the existing link to point to the new URL. |
| 8869 | # * Links are not settable on newline characters. As a result, setting a link |
| 8870 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 8871 | # will separate the newline character(s) into their own text runs. The |
| 8872 | # link will be applied separately to the runs before and after the newline. |
| 8873 | # * Removing a link will update the text style of the range to match the |
| 8874 | # style of the preceding text (or the default text styles if the preceding |
| 8875 | # text is another link) unless different styles are being set in the same |
| 8876 | # request. |
| 8877 | "headingId": "A String", # The ID of a heading in this document. |
| 8878 | "url": "A String", # An external URL. |
| 8879 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 8880 | }, |
| 8881 | "underline": True or False, # Whether or not the text is underlined. |
| 8882 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 8883 | }, |
| 8884 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 8885 | # For any field set to true, there is a new suggested value. |
| 8886 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 8887 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 8888 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 8889 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 8890 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 8891 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 8892 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 8893 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 8894 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 8895 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 8896 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 8897 | }, |
| 8898 | }, |
| 8899 | }, |
| 8900 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 8901 | # of this content. |
| 8902 | "A String", |
| 8903 | ], |
| 8904 | }, |
| 8905 | "startIndex": 42, # The zero-based start index of this paragraph element, in UTF-16 code units. |
| 8906 | "pageBreak": { # A ParagraphElement representing a # A page break paragraph element. |
| 8907 | # page break. A page break makes the subsequent text start at the top of the |
| 8908 | # next page. |
| 8909 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this PageBreak. |
| 8910 | # |
| 8911 | # Similar to text content, like text runs and footnote references, the text |
| 8912 | # style of a page break can affect content layout as well as the styling of |
| 8913 | # text inserted adjacent to it. |
| 8914 | # |
| 8915 | # Inherited text styles are represented as unset fields in this message. A |
| 8916 | # text style's parent depends on where the text style is defined: |
| 8917 | # |
| 8918 | # * The TextStyle of text in a Paragraph |
| 8919 | # inherits from the paragraph's corresponding named style type. |
| 8920 | # * The TextStyle on a named style |
| 8921 | # inherits from the normal text named style. |
| 8922 | # * The TextStyle of the normal text named style inherits |
| 8923 | # from the default text style in the Docs editor. |
| 8924 | # * The TextStyle on a Paragraph element |
| 8925 | # that is contained in a table may inherit its text style from the table |
| 8926 | # style. |
| 8927 | # |
| 8928 | # If the text style does not inherit from a parent, unsetting fields will |
| 8929 | # revert the style to a value matching the defaults in the Docs editor. |
| 8930 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 8931 | # or transparent, depending on the `color` field. |
| 8932 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 8933 | # a transparent color. |
| 8934 | "rgbColor": { # An RGB color. # The RGB color value. |
| 8935 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8936 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8937 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8938 | }, |
| 8939 | }, |
| 8940 | }, |
| 8941 | "italic": True or False, # Whether or not the text is italicized. |
| 8942 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 8943 | # |
| 8944 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 8945 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 8946 | # The `font_size` itself is not affected by changes in this field. |
| 8947 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 8948 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 8949 | # |
| 8950 | # If an update request specifies values for both `weighted_font_family` and |
| 8951 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 8952 | # |
| 8953 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 8954 | # |
| 8955 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 8956 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 8957 | # is returned. |
| 8958 | "fontFamily": "A String", # The font family of the text. |
| 8959 | # |
| 8960 | # The font family can be any font from the Font menu in Docs or from |
| 8961 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 8962 | # unrecognized, the text is rendered in `Arial`. |
| 8963 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 8964 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 8965 | # numerical values described in the CSS 2.1 Specification, |
| 8966 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 8967 | # non-numerical values disallowed. |
| 8968 | # |
| 8969 | # The default value is `400` ("normal"). |
| 8970 | # |
| 8971 | # The font weight makes up just one component of the rendered font weight. |
| 8972 | # The rendered weight is determined by a combination of the `weight` and the |
| 8973 | # text style's resolved `bold` value, after accounting for inheritance: |
| 8974 | # |
| 8975 | # * If the text is bold and the weight is less than `400`, the rendered |
| 8976 | # weight is 400. |
| 8977 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 8978 | # is less than `700`, the rendered weight is `700`. |
| 8979 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 8980 | # equal to the weight. |
| 8981 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 8982 | }, |
| 8983 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 8984 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 8985 | "magnitude": 3.14, # The magnitude. |
| 8986 | "unit": "A String", # The units for magnitude. |
| 8987 | }, |
| 8988 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 8989 | # or transparent, depending on the `color` field. |
| 8990 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 8991 | # a transparent color. |
| 8992 | "rgbColor": { # An RGB color. # The RGB color value. |
| 8993 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 8994 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 8995 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 8996 | }, |
| 8997 | }, |
| 8998 | }, |
| 8999 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 9000 | # are not inherited from parent text. |
| 9001 | # |
| 9002 | # Changing the link in an update request causes some other changes to the |
| 9003 | # text style of the range: |
| 9004 | # |
| 9005 | # * When setting a link, the text foreground color will be updated to the |
| 9006 | # default link color and the text will be underlined. If these fields are |
| 9007 | # modified in the same request, those values will be used instead of the |
| 9008 | # link defaults. |
| 9009 | # * Setting a link on a text range that overlaps with an existing link will |
| 9010 | # also update the existing link to point to the new URL. |
| 9011 | # * Links are not settable on newline characters. As a result, setting a link |
| 9012 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 9013 | # will separate the newline character(s) into their own text runs. The |
| 9014 | # link will be applied separately to the runs before and after the newline. |
| 9015 | # * Removing a link will update the text style of the range to match the |
| 9016 | # style of the preceding text (or the default text styles if the preceding |
| 9017 | # text is another link) unless different styles are being set in the same |
| 9018 | # request. |
| 9019 | "headingId": "A String", # The ID of a heading in this document. |
| 9020 | "url": "A String", # An external URL. |
| 9021 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 9022 | }, |
| 9023 | "underline": True or False, # Whether or not the text is underlined. |
| 9024 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 9025 | }, |
| 9026 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 9027 | # of this content. |
| 9028 | "A String", |
| 9029 | ], |
| 9030 | "suggestedTextStyleChanges": { # The suggested text style changes to this PageBreak, keyed by suggestion ID. |
| 9031 | "a_key": { # A suggested change to a TextStyle. |
| 9032 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 9033 | # the changes made in this suggestion. This can be used along with the |
| 9034 | # text_style_suggestion_state |
| 9035 | # to see which fields have changed and their new values. |
| 9036 | # |
| 9037 | # Inherited text styles are represented as unset fields in this message. A |
| 9038 | # text style's parent depends on where the text style is defined: |
| 9039 | # |
| 9040 | # * The TextStyle of text in a Paragraph |
| 9041 | # inherits from the paragraph's corresponding named style type. |
| 9042 | # * The TextStyle on a named style |
| 9043 | # inherits from the normal text named style. |
| 9044 | # * The TextStyle of the normal text named style inherits |
| 9045 | # from the default text style in the Docs editor. |
| 9046 | # * The TextStyle on a Paragraph element |
| 9047 | # that is contained in a table may inherit its text style from the table |
| 9048 | # style. |
| 9049 | # |
| 9050 | # If the text style does not inherit from a parent, unsetting fields will |
| 9051 | # revert the style to a value matching the defaults in the Docs editor. |
| 9052 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 9053 | # or transparent, depending on the `color` field. |
| 9054 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 9055 | # a transparent color. |
| 9056 | "rgbColor": { # An RGB color. # The RGB color value. |
| 9057 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9058 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9059 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9060 | }, |
| 9061 | }, |
| 9062 | }, |
| 9063 | "italic": True or False, # Whether or not the text is italicized. |
| 9064 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 9065 | # |
| 9066 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 9067 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 9068 | # The `font_size` itself is not affected by changes in this field. |
| 9069 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 9070 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 9071 | # |
| 9072 | # If an update request specifies values for both `weighted_font_family` and |
| 9073 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 9074 | # |
| 9075 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 9076 | # |
| 9077 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 9078 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 9079 | # is returned. |
| 9080 | "fontFamily": "A String", # The font family of the text. |
| 9081 | # |
| 9082 | # The font family can be any font from the Font menu in Docs or from |
| 9083 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 9084 | # unrecognized, the text is rendered in `Arial`. |
| 9085 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 9086 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 9087 | # numerical values described in the CSS 2.1 Specification, |
| 9088 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 9089 | # non-numerical values disallowed. |
| 9090 | # |
| 9091 | # The default value is `400` ("normal"). |
| 9092 | # |
| 9093 | # The font weight makes up just one component of the rendered font weight. |
| 9094 | # The rendered weight is determined by a combination of the `weight` and the |
| 9095 | # text style's resolved `bold` value, after accounting for inheritance: |
| 9096 | # |
| 9097 | # * If the text is bold and the weight is less than `400`, the rendered |
| 9098 | # weight is 400. |
| 9099 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 9100 | # is less than `700`, the rendered weight is `700`. |
| 9101 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 9102 | # equal to the weight. |
| 9103 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 9104 | }, |
| 9105 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 9106 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 9107 | "magnitude": 3.14, # The magnitude. |
| 9108 | "unit": "A String", # The units for magnitude. |
| 9109 | }, |
| 9110 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 9111 | # or transparent, depending on the `color` field. |
| 9112 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 9113 | # a transparent color. |
| 9114 | "rgbColor": { # An RGB color. # The RGB color value. |
| 9115 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9116 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9117 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9118 | }, |
| 9119 | }, |
| 9120 | }, |
| 9121 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 9122 | # are not inherited from parent text. |
| 9123 | # |
| 9124 | # Changing the link in an update request causes some other changes to the |
| 9125 | # text style of the range: |
| 9126 | # |
| 9127 | # * When setting a link, the text foreground color will be updated to the |
| 9128 | # default link color and the text will be underlined. If these fields are |
| 9129 | # modified in the same request, those values will be used instead of the |
| 9130 | # link defaults. |
| 9131 | # * Setting a link on a text range that overlaps with an existing link will |
| 9132 | # also update the existing link to point to the new URL. |
| 9133 | # * Links are not settable on newline characters. As a result, setting a link |
| 9134 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 9135 | # will separate the newline character(s) into their own text runs. The |
| 9136 | # link will be applied separately to the runs before and after the newline. |
| 9137 | # * Removing a link will update the text style of the range to match the |
| 9138 | # style of the preceding text (or the default text styles if the preceding |
| 9139 | # text is another link) unless different styles are being set in the same |
| 9140 | # request. |
| 9141 | "headingId": "A String", # The ID of a heading in this document. |
| 9142 | "url": "A String", # An external URL. |
| 9143 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 9144 | }, |
| 9145 | "underline": True or False, # Whether or not the text is underlined. |
| 9146 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 9147 | }, |
| 9148 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 9149 | # For any field set to true, there is a new suggested value. |
| 9150 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 9151 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 9152 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 9153 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 9154 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 9155 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 9156 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 9157 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 9158 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 9159 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 9160 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 9161 | }, |
| 9162 | }, |
| 9163 | }, |
| 9164 | "suggestedInsertionIds": [ # The suggested insertion IDs. A PageBreak |
| 9165 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 9166 | # empty, then this is not a suggested insertion. |
| 9167 | "A String", |
| 9168 | ], |
| 9169 | }, |
| 9170 | "horizontalRule": { # A ParagraphElement representing a # A horizontal rule paragraph element. |
| 9171 | # horizontal line. |
| 9172 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this HorizontalRule. |
| 9173 | # |
| 9174 | # Similar to text content, like text runs and footnote references, the text |
| 9175 | # style of a horizontal rule can affect content layout as well as the styling |
| 9176 | # of text inserted adjacent to it. |
| 9177 | # |
| 9178 | # Inherited text styles are represented as unset fields in this message. A |
| 9179 | # text style's parent depends on where the text style is defined: |
| 9180 | # |
| 9181 | # * The TextStyle of text in a Paragraph |
| 9182 | # inherits from the paragraph's corresponding named style type. |
| 9183 | # * The TextStyle on a named style |
| 9184 | # inherits from the normal text named style. |
| 9185 | # * The TextStyle of the normal text named style inherits |
| 9186 | # from the default text style in the Docs editor. |
| 9187 | # * The TextStyle on a Paragraph element |
| 9188 | # that is contained in a table may inherit its text style from the table |
| 9189 | # style. |
| 9190 | # |
| 9191 | # If the text style does not inherit from a parent, unsetting fields will |
| 9192 | # revert the style to a value matching the defaults in the Docs editor. |
| 9193 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 9194 | # or transparent, depending on the `color` field. |
| 9195 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 9196 | # a transparent color. |
| 9197 | "rgbColor": { # An RGB color. # The RGB color value. |
| 9198 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9199 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9200 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9201 | }, |
| 9202 | }, |
| 9203 | }, |
| 9204 | "italic": True or False, # Whether or not the text is italicized. |
| 9205 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 9206 | # |
| 9207 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 9208 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 9209 | # The `font_size` itself is not affected by changes in this field. |
| 9210 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 9211 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 9212 | # |
| 9213 | # If an update request specifies values for both `weighted_font_family` and |
| 9214 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 9215 | # |
| 9216 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 9217 | # |
| 9218 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 9219 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 9220 | # is returned. |
| 9221 | "fontFamily": "A String", # The font family of the text. |
| 9222 | # |
| 9223 | # The font family can be any font from the Font menu in Docs or from |
| 9224 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 9225 | # unrecognized, the text is rendered in `Arial`. |
| 9226 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 9227 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 9228 | # numerical values described in the CSS 2.1 Specification, |
| 9229 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 9230 | # non-numerical values disallowed. |
| 9231 | # |
| 9232 | # The default value is `400` ("normal"). |
| 9233 | # |
| 9234 | # The font weight makes up just one component of the rendered font weight. |
| 9235 | # The rendered weight is determined by a combination of the `weight` and the |
| 9236 | # text style's resolved `bold` value, after accounting for inheritance: |
| 9237 | # |
| 9238 | # * If the text is bold and the weight is less than `400`, the rendered |
| 9239 | # weight is 400. |
| 9240 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 9241 | # is less than `700`, the rendered weight is `700`. |
| 9242 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 9243 | # equal to the weight. |
| 9244 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 9245 | }, |
| 9246 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 9247 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 9248 | "magnitude": 3.14, # The magnitude. |
| 9249 | "unit": "A String", # The units for magnitude. |
| 9250 | }, |
| 9251 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 9252 | # or transparent, depending on the `color` field. |
| 9253 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 9254 | # a transparent color. |
| 9255 | "rgbColor": { # An RGB color. # The RGB color value. |
| 9256 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9257 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9258 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9259 | }, |
| 9260 | }, |
| 9261 | }, |
| 9262 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 9263 | # are not inherited from parent text. |
| 9264 | # |
| 9265 | # Changing the link in an update request causes some other changes to the |
| 9266 | # text style of the range: |
| 9267 | # |
| 9268 | # * When setting a link, the text foreground color will be updated to the |
| 9269 | # default link color and the text will be underlined. If these fields are |
| 9270 | # modified in the same request, those values will be used instead of the |
| 9271 | # link defaults. |
| 9272 | # * Setting a link on a text range that overlaps with an existing link will |
| 9273 | # also update the existing link to point to the new URL. |
| 9274 | # * Links are not settable on newline characters. As a result, setting a link |
| 9275 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 9276 | # will separate the newline character(s) into their own text runs. The |
| 9277 | # link will be applied separately to the runs before and after the newline. |
| 9278 | # * Removing a link will update the text style of the range to match the |
| 9279 | # style of the preceding text (or the default text styles if the preceding |
| 9280 | # text is another link) unless different styles are being set in the same |
| 9281 | # request. |
| 9282 | "headingId": "A String", # The ID of a heading in this document. |
| 9283 | "url": "A String", # An external URL. |
| 9284 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 9285 | }, |
| 9286 | "underline": True or False, # Whether or not the text is underlined. |
| 9287 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 9288 | }, |
| 9289 | "suggestedInsertionIds": [ # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it |
| 9290 | # is a nested suggested change. If empty, then this is not a suggested |
| 9291 | # insertion. |
| 9292 | "A String", |
| 9293 | ], |
| 9294 | "suggestedTextStyleChanges": { # The suggested text style changes to this HorizontalRule, keyed by |
| 9295 | # suggestion ID. |
| 9296 | "a_key": { # A suggested change to a TextStyle. |
| 9297 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 9298 | # the changes made in this suggestion. This can be used along with the |
| 9299 | # text_style_suggestion_state |
| 9300 | # to see which fields have changed and their new values. |
| 9301 | # |
| 9302 | # Inherited text styles are represented as unset fields in this message. A |
| 9303 | # text style's parent depends on where the text style is defined: |
| 9304 | # |
| 9305 | # * The TextStyle of text in a Paragraph |
| 9306 | # inherits from the paragraph's corresponding named style type. |
| 9307 | # * The TextStyle on a named style |
| 9308 | # inherits from the normal text named style. |
| 9309 | # * The TextStyle of the normal text named style inherits |
| 9310 | # from the default text style in the Docs editor. |
| 9311 | # * The TextStyle on a Paragraph element |
| 9312 | # that is contained in a table may inherit its text style from the table |
| 9313 | # style. |
| 9314 | # |
| 9315 | # If the text style does not inherit from a parent, unsetting fields will |
| 9316 | # revert the style to a value matching the defaults in the Docs editor. |
| 9317 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 9318 | # or transparent, depending on the `color` field. |
| 9319 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 9320 | # a transparent color. |
| 9321 | "rgbColor": { # An RGB color. # The RGB color value. |
| 9322 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9323 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9324 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9325 | }, |
| 9326 | }, |
| 9327 | }, |
| 9328 | "italic": True or False, # Whether or not the text is italicized. |
| 9329 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 9330 | # |
| 9331 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 9332 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 9333 | # The `font_size` itself is not affected by changes in this field. |
| 9334 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 9335 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 9336 | # |
| 9337 | # If an update request specifies values for both `weighted_font_family` and |
| 9338 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 9339 | # |
| 9340 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 9341 | # |
| 9342 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 9343 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 9344 | # is returned. |
| 9345 | "fontFamily": "A String", # The font family of the text. |
| 9346 | # |
| 9347 | # The font family can be any font from the Font menu in Docs or from |
| 9348 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 9349 | # unrecognized, the text is rendered in `Arial`. |
| 9350 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 9351 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 9352 | # numerical values described in the CSS 2.1 Specification, |
| 9353 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 9354 | # non-numerical values disallowed. |
| 9355 | # |
| 9356 | # The default value is `400` ("normal"). |
| 9357 | # |
| 9358 | # The font weight makes up just one component of the rendered font weight. |
| 9359 | # The rendered weight is determined by a combination of the `weight` and the |
| 9360 | # text style's resolved `bold` value, after accounting for inheritance: |
| 9361 | # |
| 9362 | # * If the text is bold and the weight is less than `400`, the rendered |
| 9363 | # weight is 400. |
| 9364 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 9365 | # is less than `700`, the rendered weight is `700`. |
| 9366 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 9367 | # equal to the weight. |
| 9368 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 9369 | }, |
| 9370 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 9371 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 9372 | "magnitude": 3.14, # The magnitude. |
| 9373 | "unit": "A String", # The units for magnitude. |
| 9374 | }, |
| 9375 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 9376 | # or transparent, depending on the `color` field. |
| 9377 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 9378 | # a transparent color. |
| 9379 | "rgbColor": { # An RGB color. # The RGB color value. |
| 9380 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9381 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9382 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9383 | }, |
| 9384 | }, |
| 9385 | }, |
| 9386 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 9387 | # are not inherited from parent text. |
| 9388 | # |
| 9389 | # Changing the link in an update request causes some other changes to the |
| 9390 | # text style of the range: |
| 9391 | # |
| 9392 | # * When setting a link, the text foreground color will be updated to the |
| 9393 | # default link color and the text will be underlined. If these fields are |
| 9394 | # modified in the same request, those values will be used instead of the |
| 9395 | # link defaults. |
| 9396 | # * Setting a link on a text range that overlaps with an existing link will |
| 9397 | # also update the existing link to point to the new URL. |
| 9398 | # * Links are not settable on newline characters. As a result, setting a link |
| 9399 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 9400 | # will separate the newline character(s) into their own text runs. The |
| 9401 | # link will be applied separately to the runs before and after the newline. |
| 9402 | # * Removing a link will update the text style of the range to match the |
| 9403 | # style of the preceding text (or the default text styles if the preceding |
| 9404 | # text is another link) unless different styles are being set in the same |
| 9405 | # request. |
| 9406 | "headingId": "A String", # The ID of a heading in this document. |
| 9407 | "url": "A String", # An external URL. |
| 9408 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 9409 | }, |
| 9410 | "underline": True or False, # Whether or not the text is underlined. |
| 9411 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 9412 | }, |
| 9413 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 9414 | # For any field set to true, there is a new suggested value. |
| 9415 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 9416 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 9417 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 9418 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 9419 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 9420 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 9421 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 9422 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 9423 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 9424 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 9425 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 9426 | }, |
| 9427 | }, |
| 9428 | }, |
| 9429 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 9430 | # of this content. |
| 9431 | "A String", |
| 9432 | ], |
| 9433 | }, |
| 9434 | "textRun": { # A ParagraphElement that represents a # A text run paragraph element. |
| 9435 | # run of text that all has the same styling. |
| 9436 | "content": "A String", # The text of this run. |
| 9437 | # |
| 9438 | # Any non-text elements in the run are replaced with the Unicode character |
| 9439 | # U+E907. |
| 9440 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this run. |
| 9441 | # |
| 9442 | # Inherited text styles are represented as unset fields in this message. A |
| 9443 | # text style's parent depends on where the text style is defined: |
| 9444 | # |
| 9445 | # * The TextStyle of text in a Paragraph |
| 9446 | # inherits from the paragraph's corresponding named style type. |
| 9447 | # * The TextStyle on a named style |
| 9448 | # inherits from the normal text named style. |
| 9449 | # * The TextStyle of the normal text named style inherits |
| 9450 | # from the default text style in the Docs editor. |
| 9451 | # * The TextStyle on a Paragraph element |
| 9452 | # that is contained in a table may inherit its text style from the table |
| 9453 | # style. |
| 9454 | # |
| 9455 | # If the text style does not inherit from a parent, unsetting fields will |
| 9456 | # revert the style to a value matching the defaults in the Docs editor. |
| 9457 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 9458 | # or transparent, depending on the `color` field. |
| 9459 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 9460 | # a transparent color. |
| 9461 | "rgbColor": { # An RGB color. # The RGB color value. |
| 9462 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9463 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9464 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9465 | }, |
| 9466 | }, |
| 9467 | }, |
| 9468 | "italic": True or False, # Whether or not the text is italicized. |
| 9469 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 9470 | # |
| 9471 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 9472 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 9473 | # The `font_size` itself is not affected by changes in this field. |
| 9474 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 9475 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 9476 | # |
| 9477 | # If an update request specifies values for both `weighted_font_family` and |
| 9478 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 9479 | # |
| 9480 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 9481 | # |
| 9482 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 9483 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 9484 | # is returned. |
| 9485 | "fontFamily": "A String", # The font family of the text. |
| 9486 | # |
| 9487 | # The font family can be any font from the Font menu in Docs or from |
| 9488 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 9489 | # unrecognized, the text is rendered in `Arial`. |
| 9490 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 9491 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 9492 | # numerical values described in the CSS 2.1 Specification, |
| 9493 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 9494 | # non-numerical values disallowed. |
| 9495 | # |
| 9496 | # The default value is `400` ("normal"). |
| 9497 | # |
| 9498 | # The font weight makes up just one component of the rendered font weight. |
| 9499 | # The rendered weight is determined by a combination of the `weight` and the |
| 9500 | # text style's resolved `bold` value, after accounting for inheritance: |
| 9501 | # |
| 9502 | # * If the text is bold and the weight is less than `400`, the rendered |
| 9503 | # weight is 400. |
| 9504 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 9505 | # is less than `700`, the rendered weight is `700`. |
| 9506 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 9507 | # equal to the weight. |
| 9508 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 9509 | }, |
| 9510 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 9511 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 9512 | "magnitude": 3.14, # The magnitude. |
| 9513 | "unit": "A String", # The units for magnitude. |
| 9514 | }, |
| 9515 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 9516 | # or transparent, depending on the `color` field. |
| 9517 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 9518 | # a transparent color. |
| 9519 | "rgbColor": { # An RGB color. # The RGB color value. |
| 9520 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9521 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9522 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9523 | }, |
| 9524 | }, |
| 9525 | }, |
| 9526 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 9527 | # are not inherited from parent text. |
| 9528 | # |
| 9529 | # Changing the link in an update request causes some other changes to the |
| 9530 | # text style of the range: |
| 9531 | # |
| 9532 | # * When setting a link, the text foreground color will be updated to the |
| 9533 | # default link color and the text will be underlined. If these fields are |
| 9534 | # modified in the same request, those values will be used instead of the |
| 9535 | # link defaults. |
| 9536 | # * Setting a link on a text range that overlaps with an existing link will |
| 9537 | # also update the existing link to point to the new URL. |
| 9538 | # * Links are not settable on newline characters. As a result, setting a link |
| 9539 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 9540 | # will separate the newline character(s) into their own text runs. The |
| 9541 | # link will be applied separately to the runs before and after the newline. |
| 9542 | # * Removing a link will update the text style of the range to match the |
| 9543 | # style of the preceding text (or the default text styles if the preceding |
| 9544 | # text is another link) unless different styles are being set in the same |
| 9545 | # request. |
| 9546 | "headingId": "A String", # The ID of a heading in this document. |
| 9547 | "url": "A String", # An external URL. |
| 9548 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 9549 | }, |
| 9550 | "underline": True or False, # Whether or not the text is underlined. |
| 9551 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 9552 | }, |
| 9553 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TextRun may |
| 9554 | # have multiple insertion IDs if it is a nested suggested change. If empty, |
| 9555 | # then this is not a suggested insertion. |
| 9556 | "A String", |
| 9557 | ], |
| 9558 | "suggestedTextStyleChanges": { # The suggested text style changes to this run, keyed by suggestion ID. |
| 9559 | "a_key": { # A suggested change to a TextStyle. |
| 9560 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 9561 | # the changes made in this suggestion. This can be used along with the |
| 9562 | # text_style_suggestion_state |
| 9563 | # to see which fields have changed and their new values. |
| 9564 | # |
| 9565 | # Inherited text styles are represented as unset fields in this message. A |
| 9566 | # text style's parent depends on where the text style is defined: |
| 9567 | # |
| 9568 | # * The TextStyle of text in a Paragraph |
| 9569 | # inherits from the paragraph's corresponding named style type. |
| 9570 | # * The TextStyle on a named style |
| 9571 | # inherits from the normal text named style. |
| 9572 | # * The TextStyle of the normal text named style inherits |
| 9573 | # from the default text style in the Docs editor. |
| 9574 | # * The TextStyle on a Paragraph element |
| 9575 | # that is contained in a table may inherit its text style from the table |
| 9576 | # style. |
| 9577 | # |
| 9578 | # If the text style does not inherit from a parent, unsetting fields will |
| 9579 | # revert the style to a value matching the defaults in the Docs editor. |
| 9580 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 9581 | # or transparent, depending on the `color` field. |
| 9582 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 9583 | # a transparent color. |
| 9584 | "rgbColor": { # An RGB color. # The RGB color value. |
| 9585 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9586 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9587 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9588 | }, |
| 9589 | }, |
| 9590 | }, |
| 9591 | "italic": True or False, # Whether or not the text is italicized. |
| 9592 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 9593 | # |
| 9594 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 9595 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 9596 | # The `font_size` itself is not affected by changes in this field. |
| 9597 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 9598 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 9599 | # |
| 9600 | # If an update request specifies values for both `weighted_font_family` and |
| 9601 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 9602 | # |
| 9603 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 9604 | # |
| 9605 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 9606 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 9607 | # is returned. |
| 9608 | "fontFamily": "A String", # The font family of the text. |
| 9609 | # |
| 9610 | # The font family can be any font from the Font menu in Docs or from |
| 9611 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 9612 | # unrecognized, the text is rendered in `Arial`. |
| 9613 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 9614 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 9615 | # numerical values described in the CSS 2.1 Specification, |
| 9616 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 9617 | # non-numerical values disallowed. |
| 9618 | # |
| 9619 | # The default value is `400` ("normal"). |
| 9620 | # |
| 9621 | # The font weight makes up just one component of the rendered font weight. |
| 9622 | # The rendered weight is determined by a combination of the `weight` and the |
| 9623 | # text style's resolved `bold` value, after accounting for inheritance: |
| 9624 | # |
| 9625 | # * If the text is bold and the weight is less than `400`, the rendered |
| 9626 | # weight is 400. |
| 9627 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 9628 | # is less than `700`, the rendered weight is `700`. |
| 9629 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 9630 | # equal to the weight. |
| 9631 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 9632 | }, |
| 9633 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 9634 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 9635 | "magnitude": 3.14, # The magnitude. |
| 9636 | "unit": "A String", # The units for magnitude. |
| 9637 | }, |
| 9638 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 9639 | # or transparent, depending on the `color` field. |
| 9640 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 9641 | # a transparent color. |
| 9642 | "rgbColor": { # An RGB color. # The RGB color value. |
| 9643 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9644 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9645 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9646 | }, |
| 9647 | }, |
| 9648 | }, |
| 9649 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 9650 | # are not inherited from parent text. |
| 9651 | # |
| 9652 | # Changing the link in an update request causes some other changes to the |
| 9653 | # text style of the range: |
| 9654 | # |
| 9655 | # * When setting a link, the text foreground color will be updated to the |
| 9656 | # default link color and the text will be underlined. If these fields are |
| 9657 | # modified in the same request, those values will be used instead of the |
| 9658 | # link defaults. |
| 9659 | # * Setting a link on a text range that overlaps with an existing link will |
| 9660 | # also update the existing link to point to the new URL. |
| 9661 | # * Links are not settable on newline characters. As a result, setting a link |
| 9662 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 9663 | # will separate the newline character(s) into their own text runs. The |
| 9664 | # link will be applied separately to the runs before and after the newline. |
| 9665 | # * Removing a link will update the text style of the range to match the |
| 9666 | # style of the preceding text (or the default text styles if the preceding |
| 9667 | # text is another link) unless different styles are being set in the same |
| 9668 | # request. |
| 9669 | "headingId": "A String", # The ID of a heading in this document. |
| 9670 | "url": "A String", # An external URL. |
| 9671 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 9672 | }, |
| 9673 | "underline": True or False, # Whether or not the text is underlined. |
| 9674 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 9675 | }, |
| 9676 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 9677 | # For any field set to true, there is a new suggested value. |
| 9678 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 9679 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 9680 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 9681 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 9682 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 9683 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 9684 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 9685 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 9686 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 9687 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 9688 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 9689 | }, |
| 9690 | }, |
| 9691 | }, |
| 9692 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 9693 | # of this content. |
| 9694 | "A String", |
| 9695 | ], |
| 9696 | }, |
| 9697 | "autoText": { # A ParagraphElement representing a # An auto text paragraph element. |
| 9698 | # spot in the text that is dynamically replaced with content that can change |
| 9699 | # over time, like a page number. |
| 9700 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this AutoText. |
| 9701 | # |
| 9702 | # Inherited text styles are represented as unset fields in this message. A |
| 9703 | # text style's parent depends on where the text style is defined: |
| 9704 | # |
| 9705 | # * The TextStyle of text in a Paragraph |
| 9706 | # inherits from the paragraph's corresponding named style type. |
| 9707 | # * The TextStyle on a named style |
| 9708 | # inherits from the normal text named style. |
| 9709 | # * The TextStyle of the normal text named style inherits |
| 9710 | # from the default text style in the Docs editor. |
| 9711 | # * The TextStyle on a Paragraph element |
| 9712 | # that is contained in a table may inherit its text style from the table |
| 9713 | # style. |
| 9714 | # |
| 9715 | # If the text style does not inherit from a parent, unsetting fields will |
| 9716 | # revert the style to a value matching the defaults in the Docs editor. |
| 9717 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 9718 | # or transparent, depending on the `color` field. |
| 9719 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 9720 | # a transparent color. |
| 9721 | "rgbColor": { # An RGB color. # The RGB color value. |
| 9722 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9723 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9724 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9725 | }, |
| 9726 | }, |
| 9727 | }, |
| 9728 | "italic": True or False, # Whether or not the text is italicized. |
| 9729 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 9730 | # |
| 9731 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 9732 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 9733 | # The `font_size` itself is not affected by changes in this field. |
| 9734 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 9735 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 9736 | # |
| 9737 | # If an update request specifies values for both `weighted_font_family` and |
| 9738 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 9739 | # |
| 9740 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 9741 | # |
| 9742 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 9743 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 9744 | # is returned. |
| 9745 | "fontFamily": "A String", # The font family of the text. |
| 9746 | # |
| 9747 | # The font family can be any font from the Font menu in Docs or from |
| 9748 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 9749 | # unrecognized, the text is rendered in `Arial`. |
| 9750 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 9751 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 9752 | # numerical values described in the CSS 2.1 Specification, |
| 9753 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 9754 | # non-numerical values disallowed. |
| 9755 | # |
| 9756 | # The default value is `400` ("normal"). |
| 9757 | # |
| 9758 | # The font weight makes up just one component of the rendered font weight. |
| 9759 | # The rendered weight is determined by a combination of the `weight` and the |
| 9760 | # text style's resolved `bold` value, after accounting for inheritance: |
| 9761 | # |
| 9762 | # * If the text is bold and the weight is less than `400`, the rendered |
| 9763 | # weight is 400. |
| 9764 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 9765 | # is less than `700`, the rendered weight is `700`. |
| 9766 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 9767 | # equal to the weight. |
| 9768 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 9769 | }, |
| 9770 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 9771 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 9772 | "magnitude": 3.14, # The magnitude. |
| 9773 | "unit": "A String", # The units for magnitude. |
| 9774 | }, |
| 9775 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 9776 | # or transparent, depending on the `color` field. |
| 9777 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 9778 | # a transparent color. |
| 9779 | "rgbColor": { # An RGB color. # The RGB color value. |
| 9780 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9781 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9782 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9783 | }, |
| 9784 | }, |
| 9785 | }, |
| 9786 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 9787 | # are not inherited from parent text. |
| 9788 | # |
| 9789 | # Changing the link in an update request causes some other changes to the |
| 9790 | # text style of the range: |
| 9791 | # |
| 9792 | # * When setting a link, the text foreground color will be updated to the |
| 9793 | # default link color and the text will be underlined. If these fields are |
| 9794 | # modified in the same request, those values will be used instead of the |
| 9795 | # link defaults. |
| 9796 | # * Setting a link on a text range that overlaps with an existing link will |
| 9797 | # also update the existing link to point to the new URL. |
| 9798 | # * Links are not settable on newline characters. As a result, setting a link |
| 9799 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 9800 | # will separate the newline character(s) into their own text runs. The |
| 9801 | # link will be applied separately to the runs before and after the newline. |
| 9802 | # * Removing a link will update the text style of the range to match the |
| 9803 | # style of the preceding text (or the default text styles if the preceding |
| 9804 | # text is another link) unless different styles are being set in the same |
| 9805 | # request. |
| 9806 | "headingId": "A String", # The ID of a heading in this document. |
| 9807 | "url": "A String", # An external URL. |
| 9808 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 9809 | }, |
| 9810 | "underline": True or False, # Whether or not the text is underlined. |
| 9811 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 9812 | }, |
| 9813 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 9814 | # of this content. |
| 9815 | "A String", |
| 9816 | ], |
| 9817 | "suggestedTextStyleChanges": { # The suggested text style changes to this AutoText, keyed by suggestion ID. |
| 9818 | "a_key": { # A suggested change to a TextStyle. |
| 9819 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 9820 | # the changes made in this suggestion. This can be used along with the |
| 9821 | # text_style_suggestion_state |
| 9822 | # to see which fields have changed and their new values. |
| 9823 | # |
| 9824 | # Inherited text styles are represented as unset fields in this message. A |
| 9825 | # text style's parent depends on where the text style is defined: |
| 9826 | # |
| 9827 | # * The TextStyle of text in a Paragraph |
| 9828 | # inherits from the paragraph's corresponding named style type. |
| 9829 | # * The TextStyle on a named style |
| 9830 | # inherits from the normal text named style. |
| 9831 | # * The TextStyle of the normal text named style inherits |
| 9832 | # from the default text style in the Docs editor. |
| 9833 | # * The TextStyle on a Paragraph element |
| 9834 | # that is contained in a table may inherit its text style from the table |
| 9835 | # style. |
| 9836 | # |
| 9837 | # If the text style does not inherit from a parent, unsetting fields will |
| 9838 | # revert the style to a value matching the defaults in the Docs editor. |
| 9839 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 9840 | # or transparent, depending on the `color` field. |
| 9841 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 9842 | # a transparent color. |
| 9843 | "rgbColor": { # An RGB color. # The RGB color value. |
| 9844 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9845 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9846 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9847 | }, |
| 9848 | }, |
| 9849 | }, |
| 9850 | "italic": True or False, # Whether or not the text is italicized. |
| 9851 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 9852 | # |
| 9853 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 9854 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 9855 | # The `font_size` itself is not affected by changes in this field. |
| 9856 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 9857 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 9858 | # |
| 9859 | # If an update request specifies values for both `weighted_font_family` and |
| 9860 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 9861 | # |
| 9862 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 9863 | # |
| 9864 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 9865 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 9866 | # is returned. |
| 9867 | "fontFamily": "A String", # The font family of the text. |
| 9868 | # |
| 9869 | # The font family can be any font from the Font menu in Docs or from |
| 9870 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 9871 | # unrecognized, the text is rendered in `Arial`. |
| 9872 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 9873 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 9874 | # numerical values described in the CSS 2.1 Specification, |
| 9875 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 9876 | # non-numerical values disallowed. |
| 9877 | # |
| 9878 | # The default value is `400` ("normal"). |
| 9879 | # |
| 9880 | # The font weight makes up just one component of the rendered font weight. |
| 9881 | # The rendered weight is determined by a combination of the `weight` and the |
| 9882 | # text style's resolved `bold` value, after accounting for inheritance: |
| 9883 | # |
| 9884 | # * If the text is bold and the weight is less than `400`, the rendered |
| 9885 | # weight is 400. |
| 9886 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 9887 | # is less than `700`, the rendered weight is `700`. |
| 9888 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 9889 | # equal to the weight. |
| 9890 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 9891 | }, |
| 9892 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 9893 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 9894 | "magnitude": 3.14, # The magnitude. |
| 9895 | "unit": "A String", # The units for magnitude. |
| 9896 | }, |
| 9897 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 9898 | # or transparent, depending on the `color` field. |
| 9899 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 9900 | # a transparent color. |
| 9901 | "rgbColor": { # An RGB color. # The RGB color value. |
| 9902 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9903 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9904 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9905 | }, |
| 9906 | }, |
| 9907 | }, |
| 9908 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 9909 | # are not inherited from parent text. |
| 9910 | # |
| 9911 | # Changing the link in an update request causes some other changes to the |
| 9912 | # text style of the range: |
| 9913 | # |
| 9914 | # * When setting a link, the text foreground color will be updated to the |
| 9915 | # default link color and the text will be underlined. If these fields are |
| 9916 | # modified in the same request, those values will be used instead of the |
| 9917 | # link defaults. |
| 9918 | # * Setting a link on a text range that overlaps with an existing link will |
| 9919 | # also update the existing link to point to the new URL. |
| 9920 | # * Links are not settable on newline characters. As a result, setting a link |
| 9921 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 9922 | # will separate the newline character(s) into their own text runs. The |
| 9923 | # link will be applied separately to the runs before and after the newline. |
| 9924 | # * Removing a link will update the text style of the range to match the |
| 9925 | # style of the preceding text (or the default text styles if the preceding |
| 9926 | # text is another link) unless different styles are being set in the same |
| 9927 | # request. |
| 9928 | "headingId": "A String", # The ID of a heading in this document. |
| 9929 | "url": "A String", # An external URL. |
| 9930 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 9931 | }, |
| 9932 | "underline": True or False, # Whether or not the text is underlined. |
| 9933 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 9934 | }, |
| 9935 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 9936 | # For any field set to true, there is a new suggested value. |
| 9937 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 9938 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 9939 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 9940 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 9941 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 9942 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 9943 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 9944 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 9945 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 9946 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 9947 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 9948 | }, |
| 9949 | }, |
| 9950 | }, |
| 9951 | "type": "A String", # The type of this auto text. |
| 9952 | "suggestedInsertionIds": [ # The suggested insertion IDs. An AutoText |
| 9953 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 9954 | # empty, then this is not a suggested insertion. |
| 9955 | "A String", |
| 9956 | ], |
| 9957 | }, |
| 9958 | "inlineObjectElement": { # A ParagraphElement that contains # An inline object paragraph element. |
| 9959 | # an InlineObject. |
| 9960 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this InlineObjectElement. |
| 9961 | # |
| 9962 | # Similar to text content, like text runs and footnote references, the text |
| 9963 | # style of an inline object element can affect content layout as well as the |
| 9964 | # styling of text inserted adjacent to it. |
| 9965 | # |
| 9966 | # Inherited text styles are represented as unset fields in this message. A |
| 9967 | # text style's parent depends on where the text style is defined: |
| 9968 | # |
| 9969 | # * The TextStyle of text in a Paragraph |
| 9970 | # inherits from the paragraph's corresponding named style type. |
| 9971 | # * The TextStyle on a named style |
| 9972 | # inherits from the normal text named style. |
| 9973 | # * The TextStyle of the normal text named style inherits |
| 9974 | # from the default text style in the Docs editor. |
| 9975 | # * The TextStyle on a Paragraph element |
| 9976 | # that is contained in a table may inherit its text style from the table |
| 9977 | # style. |
| 9978 | # |
| 9979 | # If the text style does not inherit from a parent, unsetting fields will |
| 9980 | # revert the style to a value matching the defaults in the Docs editor. |
| 9981 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 9982 | # or transparent, depending on the `color` field. |
| 9983 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 9984 | # a transparent color. |
| 9985 | "rgbColor": { # An RGB color. # The RGB color value. |
| 9986 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 9987 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 9988 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 9989 | }, |
| 9990 | }, |
| 9991 | }, |
| 9992 | "italic": True or False, # Whether or not the text is italicized. |
| 9993 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 9994 | # |
| 9995 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 9996 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 9997 | # The `font_size` itself is not affected by changes in this field. |
| 9998 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 9999 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 10000 | # |
| 10001 | # If an update request specifies values for both `weighted_font_family` and |
| 10002 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 10003 | # |
| 10004 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 10005 | # |
| 10006 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 10007 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 10008 | # is returned. |
| 10009 | "fontFamily": "A String", # The font family of the text. |
| 10010 | # |
| 10011 | # The font family can be any font from the Font menu in Docs or from |
| 10012 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 10013 | # unrecognized, the text is rendered in `Arial`. |
| 10014 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 10015 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 10016 | # numerical values described in the CSS 2.1 Specification, |
| 10017 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 10018 | # non-numerical values disallowed. |
| 10019 | # |
| 10020 | # The default value is `400` ("normal"). |
| 10021 | # |
| 10022 | # The font weight makes up just one component of the rendered font weight. |
| 10023 | # The rendered weight is determined by a combination of the `weight` and the |
| 10024 | # text style's resolved `bold` value, after accounting for inheritance: |
| 10025 | # |
| 10026 | # * If the text is bold and the weight is less than `400`, the rendered |
| 10027 | # weight is 400. |
| 10028 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 10029 | # is less than `700`, the rendered weight is `700`. |
| 10030 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 10031 | # equal to the weight. |
| 10032 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 10033 | }, |
| 10034 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 10035 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 10036 | "magnitude": 3.14, # The magnitude. |
| 10037 | "unit": "A String", # The units for magnitude. |
| 10038 | }, |
| 10039 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 10040 | # or transparent, depending on the `color` field. |
| 10041 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 10042 | # a transparent color. |
| 10043 | "rgbColor": { # An RGB color. # The RGB color value. |
| 10044 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10045 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10046 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10047 | }, |
| 10048 | }, |
| 10049 | }, |
| 10050 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 10051 | # are not inherited from parent text. |
| 10052 | # |
| 10053 | # Changing the link in an update request causes some other changes to the |
| 10054 | # text style of the range: |
| 10055 | # |
| 10056 | # * When setting a link, the text foreground color will be updated to the |
| 10057 | # default link color and the text will be underlined. If these fields are |
| 10058 | # modified in the same request, those values will be used instead of the |
| 10059 | # link defaults. |
| 10060 | # * Setting a link on a text range that overlaps with an existing link will |
| 10061 | # also update the existing link to point to the new URL. |
| 10062 | # * Links are not settable on newline characters. As a result, setting a link |
| 10063 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 10064 | # will separate the newline character(s) into their own text runs. The |
| 10065 | # link will be applied separately to the runs before and after the newline. |
| 10066 | # * Removing a link will update the text style of the range to match the |
| 10067 | # style of the preceding text (or the default text styles if the preceding |
| 10068 | # text is another link) unless different styles are being set in the same |
| 10069 | # request. |
| 10070 | "headingId": "A String", # The ID of a heading in this document. |
| 10071 | "url": "A String", # An external URL. |
| 10072 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 10073 | }, |
| 10074 | "underline": True or False, # Whether or not the text is underlined. |
| 10075 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 10076 | }, |
| 10077 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 10078 | # of this content. |
| 10079 | "A String", |
| 10080 | ], |
| 10081 | "suggestedTextStyleChanges": { # The suggested text style changes to this InlineObject, keyed by suggestion |
| 10082 | # ID. |
| 10083 | "a_key": { # A suggested change to a TextStyle. |
| 10084 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 10085 | # the changes made in this suggestion. This can be used along with the |
| 10086 | # text_style_suggestion_state |
| 10087 | # to see which fields have changed and their new values. |
| 10088 | # |
| 10089 | # Inherited text styles are represented as unset fields in this message. A |
| 10090 | # text style's parent depends on where the text style is defined: |
| 10091 | # |
| 10092 | # * The TextStyle of text in a Paragraph |
| 10093 | # inherits from the paragraph's corresponding named style type. |
| 10094 | # * The TextStyle on a named style |
| 10095 | # inherits from the normal text named style. |
| 10096 | # * The TextStyle of the normal text named style inherits |
| 10097 | # from the default text style in the Docs editor. |
| 10098 | # * The TextStyle on a Paragraph element |
| 10099 | # that is contained in a table may inherit its text style from the table |
| 10100 | # style. |
| 10101 | # |
| 10102 | # If the text style does not inherit from a parent, unsetting fields will |
| 10103 | # revert the style to a value matching the defaults in the Docs editor. |
| 10104 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 10105 | # or transparent, depending on the `color` field. |
| 10106 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 10107 | # a transparent color. |
| 10108 | "rgbColor": { # An RGB color. # The RGB color value. |
| 10109 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10110 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10111 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10112 | }, |
| 10113 | }, |
| 10114 | }, |
| 10115 | "italic": True or False, # Whether or not the text is italicized. |
| 10116 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 10117 | # |
| 10118 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 10119 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 10120 | # The `font_size` itself is not affected by changes in this field. |
| 10121 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 10122 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 10123 | # |
| 10124 | # If an update request specifies values for both `weighted_font_family` and |
| 10125 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 10126 | # |
| 10127 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 10128 | # |
| 10129 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 10130 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 10131 | # is returned. |
| 10132 | "fontFamily": "A String", # The font family of the text. |
| 10133 | # |
| 10134 | # The font family can be any font from the Font menu in Docs or from |
| 10135 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 10136 | # unrecognized, the text is rendered in `Arial`. |
| 10137 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 10138 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 10139 | # numerical values described in the CSS 2.1 Specification, |
| 10140 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 10141 | # non-numerical values disallowed. |
| 10142 | # |
| 10143 | # The default value is `400` ("normal"). |
| 10144 | # |
| 10145 | # The font weight makes up just one component of the rendered font weight. |
| 10146 | # The rendered weight is determined by a combination of the `weight` and the |
| 10147 | # text style's resolved `bold` value, after accounting for inheritance: |
| 10148 | # |
| 10149 | # * If the text is bold and the weight is less than `400`, the rendered |
| 10150 | # weight is 400. |
| 10151 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 10152 | # is less than `700`, the rendered weight is `700`. |
| 10153 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 10154 | # equal to the weight. |
| 10155 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 10156 | }, |
| 10157 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 10158 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 10159 | "magnitude": 3.14, # The magnitude. |
| 10160 | "unit": "A String", # The units for magnitude. |
| 10161 | }, |
| 10162 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 10163 | # or transparent, depending on the `color` field. |
| 10164 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 10165 | # a transparent color. |
| 10166 | "rgbColor": { # An RGB color. # The RGB color value. |
| 10167 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10168 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10169 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10170 | }, |
| 10171 | }, |
| 10172 | }, |
| 10173 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 10174 | # are not inherited from parent text. |
| 10175 | # |
| 10176 | # Changing the link in an update request causes some other changes to the |
| 10177 | # text style of the range: |
| 10178 | # |
| 10179 | # * When setting a link, the text foreground color will be updated to the |
| 10180 | # default link color and the text will be underlined. If these fields are |
| 10181 | # modified in the same request, those values will be used instead of the |
| 10182 | # link defaults. |
| 10183 | # * Setting a link on a text range that overlaps with an existing link will |
| 10184 | # also update the existing link to point to the new URL. |
| 10185 | # * Links are not settable on newline characters. As a result, setting a link |
| 10186 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 10187 | # will separate the newline character(s) into their own text runs. The |
| 10188 | # link will be applied separately to the runs before and after the newline. |
| 10189 | # * Removing a link will update the text style of the range to match the |
| 10190 | # style of the preceding text (or the default text styles if the preceding |
| 10191 | # text is another link) unless different styles are being set in the same |
| 10192 | # request. |
| 10193 | "headingId": "A String", # The ID of a heading in this document. |
| 10194 | "url": "A String", # An external URL. |
| 10195 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 10196 | }, |
| 10197 | "underline": True or False, # Whether or not the text is underlined. |
| 10198 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 10199 | }, |
| 10200 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 10201 | # For any field set to true, there is a new suggested value. |
| 10202 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 10203 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 10204 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 10205 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 10206 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 10207 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 10208 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 10209 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 10210 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 10211 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 10212 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 10213 | }, |
| 10214 | }, |
| 10215 | }, |
| 10216 | "inlineObjectId": "A String", # The ID of the InlineObject this |
| 10217 | # element contains. |
| 10218 | "suggestedInsertionIds": [ # The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs |
| 10219 | # if it is a nested suggested change. If empty, then this is not a suggested |
| 10220 | # insertion. |
| 10221 | "A String", |
| 10222 | ], |
| 10223 | }, |
| 10224 | "footnoteReference": { # A ParagraphElement representing a # A footnote reference paragraph element. |
| 10225 | # footnote reference. A footnote reference is the inline content rendered with |
| 10226 | # a number and is used to identify the footnote. |
| 10227 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this FootnoteReference. |
| 10228 | # |
| 10229 | # Inherited text styles are represented as unset fields in this message. A |
| 10230 | # text style's parent depends on where the text style is defined: |
| 10231 | # |
| 10232 | # * The TextStyle of text in a Paragraph |
| 10233 | # inherits from the paragraph's corresponding named style type. |
| 10234 | # * The TextStyle on a named style |
| 10235 | # inherits from the normal text named style. |
| 10236 | # * The TextStyle of the normal text named style inherits |
| 10237 | # from the default text style in the Docs editor. |
| 10238 | # * The TextStyle on a Paragraph element |
| 10239 | # that is contained in a table may inherit its text style from the table |
| 10240 | # style. |
| 10241 | # |
| 10242 | # If the text style does not inherit from a parent, unsetting fields will |
| 10243 | # revert the style to a value matching the defaults in the Docs editor. |
| 10244 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 10245 | # or transparent, depending on the `color` field. |
| 10246 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 10247 | # a transparent color. |
| 10248 | "rgbColor": { # An RGB color. # The RGB color value. |
| 10249 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10250 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10251 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10252 | }, |
| 10253 | }, |
| 10254 | }, |
| 10255 | "italic": True or False, # Whether or not the text is italicized. |
| 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 of text. # The font family and rendered weight of the text. |
| 10263 | # |
| 10264 | # If an update request specifies values for both `weighted_font_family` and |
| 10265 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 10266 | # |
| 10267 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 10268 | # |
| 10269 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 10270 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 10271 | # is returned. |
| 10272 | "fontFamily": "A String", # The font family of the text. |
| 10273 | # |
| 10274 | # The font family can be any font from the Font menu in Docs or from |
| 10275 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 10276 | # unrecognized, the text is rendered in `Arial`. |
| 10277 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 10278 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 10279 | # numerical values described in the CSS 2.1 Specification, |
| 10280 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 10281 | # non-numerical values disallowed. |
| 10282 | # |
| 10283 | # The default value is `400` ("normal"). |
| 10284 | # |
| 10285 | # The font weight makes up just one component of the rendered font weight. |
| 10286 | # The rendered weight is determined by a combination of the `weight` and the |
| 10287 | # text style's resolved `bold` value, after accounting for inheritance: |
| 10288 | # |
| 10289 | # * If the text is bold and the weight is less than `400`, the rendered |
| 10290 | # weight is 400. |
| 10291 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 10292 | # is less than `700`, the rendered weight is `700`. |
| 10293 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 10294 | # equal to the weight. |
| 10295 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 10296 | }, |
| 10297 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 10298 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 10299 | "magnitude": 3.14, # The magnitude. |
| 10300 | "unit": "A String", # The units for magnitude. |
| 10301 | }, |
| 10302 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 10303 | # or transparent, depending on the `color` field. |
| 10304 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 10305 | # a transparent color. |
| 10306 | "rgbColor": { # An RGB color. # The RGB color value. |
| 10307 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10308 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10309 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10310 | }, |
| 10311 | }, |
| 10312 | }, |
| 10313 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 10314 | # are not inherited from parent text. |
| 10315 | # |
| 10316 | # Changing the link in an update request causes some other changes to the |
| 10317 | # text style of the range: |
| 10318 | # |
| 10319 | # * When setting a link, the text foreground color will be updated to the |
| 10320 | # default link color and the text will be underlined. If these fields are |
| 10321 | # modified in the same request, those values will be used instead of the |
| 10322 | # link defaults. |
| 10323 | # * Setting a link on a text range that overlaps with an existing link will |
| 10324 | # also update the existing link to point to the new URL. |
| 10325 | # * Links are not settable on newline characters. As a result, setting a link |
| 10326 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 10327 | # will separate the newline character(s) into their own text runs. The |
| 10328 | # link will be applied separately to the runs before and after the newline. |
| 10329 | # * Removing a link will update the text style of the range to match the |
| 10330 | # style of the preceding text (or the default text styles if the preceding |
| 10331 | # text is another link) unless different styles are being set in the same |
| 10332 | # request. |
| 10333 | "headingId": "A String", # The ID of a heading in this document. |
| 10334 | "url": "A String", # An external URL. |
| 10335 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 10336 | }, |
| 10337 | "underline": True or False, # Whether or not the text is underlined. |
| 10338 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 10339 | }, |
| 10340 | "footnoteNumber": "A String", # The rendered number of this footnote. |
| 10341 | "suggestedInsertionIds": [ # The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if |
| 10342 | # it is a nested suggested change. If empty, then this is not a suggested |
| 10343 | # insertion. |
| 10344 | "A String", |
| 10345 | ], |
| 10346 | "footnoteId": "A String", # The ID of the footnote that |
| 10347 | # contains the content of this footnote reference. |
| 10348 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 10349 | # of this content. |
| 10350 | "A String", |
| 10351 | ], |
| 10352 | "suggestedTextStyleChanges": { # The suggested text style changes to this FootnoteReference, keyed by |
| 10353 | # suggestion ID. |
| 10354 | "a_key": { # A suggested change to a TextStyle. |
| 10355 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 10356 | # the changes made in this suggestion. This can be used along with the |
| 10357 | # text_style_suggestion_state |
| 10358 | # to see which fields have changed and their new values. |
| 10359 | # |
| 10360 | # Inherited text styles are represented as unset fields in this message. A |
| 10361 | # text style's parent depends on where the text style is defined: |
| 10362 | # |
| 10363 | # * The TextStyle of text in a Paragraph |
| 10364 | # inherits from the paragraph's corresponding named style type. |
| 10365 | # * The TextStyle on a named style |
| 10366 | # inherits from the normal text named style. |
| 10367 | # * The TextStyle of the normal text named style inherits |
| 10368 | # from the default text style in the Docs editor. |
| 10369 | # * The TextStyle on a Paragraph element |
| 10370 | # that is contained in a table may inherit its text style from the table |
| 10371 | # style. |
| 10372 | # |
| 10373 | # If the text style does not inherit from a parent, unsetting fields will |
| 10374 | # revert the style to a value matching the defaults in the Docs editor. |
| 10375 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 10376 | # or transparent, depending on the `color` field. |
| 10377 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 10378 | # a transparent color. |
| 10379 | "rgbColor": { # An RGB color. # The RGB color value. |
| 10380 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10381 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10382 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10383 | }, |
| 10384 | }, |
| 10385 | }, |
| 10386 | "italic": True or False, # Whether or not the text is italicized. |
| 10387 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 10388 | # |
| 10389 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 10390 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 10391 | # The `font_size` itself is not affected by changes in this field. |
| 10392 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 10393 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 10394 | # |
| 10395 | # If an update request specifies values for both `weighted_font_family` and |
| 10396 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 10397 | # |
| 10398 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 10399 | # |
| 10400 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 10401 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 10402 | # is returned. |
| 10403 | "fontFamily": "A String", # The font family of the text. |
| 10404 | # |
| 10405 | # The font family can be any font from the Font menu in Docs or from |
| 10406 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 10407 | # unrecognized, the text is rendered in `Arial`. |
| 10408 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 10409 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 10410 | # numerical values described in the CSS 2.1 Specification, |
| 10411 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 10412 | # non-numerical values disallowed. |
| 10413 | # |
| 10414 | # The default value is `400` ("normal"). |
| 10415 | # |
| 10416 | # The font weight makes up just one component of the rendered font weight. |
| 10417 | # The rendered weight is determined by a combination of the `weight` and the |
| 10418 | # text style's resolved `bold` value, after accounting for inheritance: |
| 10419 | # |
| 10420 | # * If the text is bold and the weight is less than `400`, the rendered |
| 10421 | # weight is 400. |
| 10422 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 10423 | # is less than `700`, the rendered weight is `700`. |
| 10424 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 10425 | # equal to the weight. |
| 10426 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 10427 | }, |
| 10428 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 10429 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 10430 | "magnitude": 3.14, # The magnitude. |
| 10431 | "unit": "A String", # The units for magnitude. |
| 10432 | }, |
| 10433 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 10434 | # or transparent, depending on the `color` field. |
| 10435 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 10436 | # a transparent color. |
| 10437 | "rgbColor": { # An RGB color. # The RGB color value. |
| 10438 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10439 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10440 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10441 | }, |
| 10442 | }, |
| 10443 | }, |
| 10444 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 10445 | # are not inherited from parent text. |
| 10446 | # |
| 10447 | # Changing the link in an update request causes some other changes to the |
| 10448 | # text style of the range: |
| 10449 | # |
| 10450 | # * When setting a link, the text foreground color will be updated to the |
| 10451 | # default link color and the text will be underlined. If these fields are |
| 10452 | # modified in the same request, those values will be used instead of the |
| 10453 | # link defaults. |
| 10454 | # * Setting a link on a text range that overlaps with an existing link will |
| 10455 | # also update the existing link to point to the new URL. |
| 10456 | # * Links are not settable on newline characters. As a result, setting a link |
| 10457 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 10458 | # will separate the newline character(s) into their own text runs. The |
| 10459 | # link will be applied separately to the runs before and after the newline. |
| 10460 | # * Removing a link will update the text style of the range to match the |
| 10461 | # style of the preceding text (or the default text styles if the preceding |
| 10462 | # text is another link) unless different styles are being set in the same |
| 10463 | # request. |
| 10464 | "headingId": "A String", # The ID of a heading in this document. |
| 10465 | "url": "A String", # An external URL. |
| 10466 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 10467 | }, |
| 10468 | "underline": True or False, # Whether or not the text is underlined. |
| 10469 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 10470 | }, |
| 10471 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 10472 | # For any field set to true, there is a new suggested value. |
| 10473 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 10474 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 10475 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 10476 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 10477 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 10478 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 10479 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 10480 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 10481 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 10482 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 10483 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 10484 | }, |
| 10485 | }, |
| 10486 | }, |
| 10487 | }, |
| 10488 | }, |
| 10489 | ], |
| 10490 | "suggestedPositionedObjectIds": { # The IDs of the positioned objects that are suggested to be attached to this |
| 10491 | # paragraph, keyed by suggestion ID. |
| 10492 | "a_key": { # A collection of object IDs. |
| 10493 | "objectIds": [ # The object IDs. |
| 10494 | "A String", |
| 10495 | ], |
| 10496 | }, |
| 10497 | }, |
| 10498 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 10499 | # belong to a list. |
| 10500 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 10501 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 10502 | "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| 10503 | # |
| 10504 | # Inherited text styles are represented as unset fields in this message. A |
| 10505 | # text style's parent depends on where the text style is defined: |
| 10506 | # |
| 10507 | # * The TextStyle of text in a Paragraph |
| 10508 | # inherits from the paragraph's corresponding named style type. |
| 10509 | # * The TextStyle on a named style |
| 10510 | # inherits from the normal text named style. |
| 10511 | # * The TextStyle of the normal text named style inherits |
| 10512 | # from the default text style in the Docs editor. |
| 10513 | # * The TextStyle on a Paragraph element |
| 10514 | # that is contained in a table may inherit its text style from the table |
| 10515 | # style. |
| 10516 | # |
| 10517 | # If the text style does not inherit from a parent, unsetting fields will |
| 10518 | # revert the style to a value matching the defaults in the Docs editor. |
| 10519 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 10520 | # or transparent, depending on the `color` field. |
| 10521 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 10522 | # a transparent color. |
| 10523 | "rgbColor": { # An RGB color. # The RGB color value. |
| 10524 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10525 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10526 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10527 | }, |
| 10528 | }, |
| 10529 | }, |
| 10530 | "italic": True or False, # Whether or not the text is italicized. |
| 10531 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 10532 | # |
| 10533 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 10534 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 10535 | # The `font_size` itself is not affected by changes in this field. |
| 10536 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 10537 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 10538 | # |
| 10539 | # If an update request specifies values for both `weighted_font_family` and |
| 10540 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 10541 | # |
| 10542 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 10543 | # |
| 10544 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 10545 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 10546 | # is returned. |
| 10547 | "fontFamily": "A String", # The font family of the text. |
| 10548 | # |
| 10549 | # The font family can be any font from the Font menu in Docs or from |
| 10550 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 10551 | # unrecognized, the text is rendered in `Arial`. |
| 10552 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 10553 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 10554 | # numerical values described in the CSS 2.1 Specification, |
| 10555 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 10556 | # non-numerical values disallowed. |
| 10557 | # |
| 10558 | # The default value is `400` ("normal"). |
| 10559 | # |
| 10560 | # The font weight makes up just one component of the rendered font weight. |
| 10561 | # The rendered weight is determined by a combination of the `weight` and the |
| 10562 | # text style's resolved `bold` value, after accounting for inheritance: |
| 10563 | # |
| 10564 | # * If the text is bold and the weight is less than `400`, the rendered |
| 10565 | # weight is 400. |
| 10566 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 10567 | # is less than `700`, the rendered weight is `700`. |
| 10568 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 10569 | # equal to the weight. |
| 10570 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 10571 | }, |
| 10572 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 10573 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 10574 | "magnitude": 3.14, # The magnitude. |
| 10575 | "unit": "A String", # The units for magnitude. |
| 10576 | }, |
| 10577 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 10578 | # or transparent, depending on the `color` field. |
| 10579 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 10580 | # a transparent color. |
| 10581 | "rgbColor": { # An RGB color. # The RGB color value. |
| 10582 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10583 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10584 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10585 | }, |
| 10586 | }, |
| 10587 | }, |
| 10588 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 10589 | # are not inherited from parent text. |
| 10590 | # |
| 10591 | # Changing the link in an update request causes some other changes to the |
| 10592 | # text style of the range: |
| 10593 | # |
| 10594 | # * When setting a link, the text foreground color will be updated to the |
| 10595 | # default link color and the text will be underlined. If these fields are |
| 10596 | # modified in the same request, those values will be used instead of the |
| 10597 | # link defaults. |
| 10598 | # * Setting a link on a text range that overlaps with an existing link will |
| 10599 | # also update the existing link to point to the new URL. |
| 10600 | # * Links are not settable on newline characters. As a result, setting a link |
| 10601 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 10602 | # will separate the newline character(s) into their own text runs. The |
| 10603 | # link will be applied separately to the runs before and after the newline. |
| 10604 | # * Removing a link will update the text style of the range to match the |
| 10605 | # style of the preceding text (or the default text styles if the preceding |
| 10606 | # text is another link) unless different styles are being set in the same |
| 10607 | # request. |
| 10608 | "headingId": "A String", # The ID of a heading in this document. |
| 10609 | "url": "A String", # An external URL. |
| 10610 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 10611 | }, |
| 10612 | "underline": True or False, # Whether or not the text is underlined. |
| 10613 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 10614 | }, |
| 10615 | }, |
| 10616 | "suggestedBulletChanges": { # The suggested changes to this paragraph's bullet. |
| 10617 | "a_key": { # A suggested change to a Bullet. |
| 10618 | "bullet": { # Describes the bullet of a paragraph. # A Bullet that only includes the changes made |
| 10619 | # in this suggestion. This can be used along with the |
| 10620 | # bullet_suggestion_state to see which |
| 10621 | # fields have changed and their new values. |
| 10622 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 10623 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 10624 | "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| 10625 | # |
| 10626 | # Inherited text styles are represented as unset fields in this message. A |
| 10627 | # text style's parent depends on where the text style is defined: |
| 10628 | # |
| 10629 | # * The TextStyle of text in a Paragraph |
| 10630 | # inherits from the paragraph's corresponding named style type. |
| 10631 | # * The TextStyle on a named style |
| 10632 | # inherits from the normal text named style. |
| 10633 | # * The TextStyle of the normal text named style inherits |
| 10634 | # from the default text style in the Docs editor. |
| 10635 | # * The TextStyle on a Paragraph element |
| 10636 | # that is contained in a table may inherit its text style from the table |
| 10637 | # style. |
| 10638 | # |
| 10639 | # If the text style does not inherit from a parent, unsetting fields will |
| 10640 | # revert the style to a value matching the defaults in the Docs editor. |
| 10641 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 10642 | # or transparent, depending on the `color` field. |
| 10643 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 10644 | # a transparent color. |
| 10645 | "rgbColor": { # An RGB color. # The RGB color value. |
| 10646 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10647 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10648 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10649 | }, |
| 10650 | }, |
| 10651 | }, |
| 10652 | "italic": True or False, # Whether or not the text is italicized. |
| 10653 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 10654 | # |
| 10655 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 10656 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 10657 | # The `font_size` itself is not affected by changes in this field. |
| 10658 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 10659 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 10660 | # |
| 10661 | # If an update request specifies values for both `weighted_font_family` and |
| 10662 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 10663 | # |
| 10664 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 10665 | # |
| 10666 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 10667 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 10668 | # is returned. |
| 10669 | "fontFamily": "A String", # The font family of the text. |
| 10670 | # |
| 10671 | # The font family can be any font from the Font menu in Docs or from |
| 10672 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 10673 | # unrecognized, the text is rendered in `Arial`. |
| 10674 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 10675 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 10676 | # numerical values described in the CSS 2.1 Specification, |
| 10677 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 10678 | # non-numerical values disallowed. |
| 10679 | # |
| 10680 | # The default value is `400` ("normal"). |
| 10681 | # |
| 10682 | # The font weight makes up just one component of the rendered font weight. |
| 10683 | # The rendered weight is determined by a combination of the `weight` and the |
| 10684 | # text style's resolved `bold` value, after accounting for inheritance: |
| 10685 | # |
| 10686 | # * If the text is bold and the weight is less than `400`, the rendered |
| 10687 | # weight is 400. |
| 10688 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 10689 | # is less than `700`, the rendered weight is `700`. |
| 10690 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 10691 | # equal to the weight. |
| 10692 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 10693 | }, |
| 10694 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 10695 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 10696 | "magnitude": 3.14, # The magnitude. |
| 10697 | "unit": "A String", # The units for magnitude. |
| 10698 | }, |
| 10699 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 10700 | # or transparent, depending on the `color` field. |
| 10701 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 10702 | # a transparent color. |
| 10703 | "rgbColor": { # An RGB color. # The RGB color value. |
| 10704 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10705 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10706 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10707 | }, |
| 10708 | }, |
| 10709 | }, |
| 10710 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 10711 | # are not inherited from parent text. |
| 10712 | # |
| 10713 | # Changing the link in an update request causes some other changes to the |
| 10714 | # text style of the range: |
| 10715 | # |
| 10716 | # * When setting a link, the text foreground color will be updated to the |
| 10717 | # default link color and the text will be underlined. If these fields are |
| 10718 | # modified in the same request, those values will be used instead of the |
| 10719 | # link defaults. |
| 10720 | # * Setting a link on a text range that overlaps with an existing link will |
| 10721 | # also update the existing link to point to the new URL. |
| 10722 | # * Links are not settable on newline characters. As a result, setting a link |
| 10723 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 10724 | # will separate the newline character(s) into their own text runs. The |
| 10725 | # link will be applied separately to the runs before and after the newline. |
| 10726 | # * Removing a link will update the text style of the range to match the |
| 10727 | # style of the preceding text (or the default text styles if the preceding |
| 10728 | # text is another link) unless different styles are being set in the same |
| 10729 | # request. |
| 10730 | "headingId": "A String", # The ID of a heading in this document. |
| 10731 | "url": "A String", # An external URL. |
| 10732 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 10733 | }, |
| 10734 | "underline": True or False, # Whether or not the text is underlined. |
| 10735 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 10736 | }, |
| 10737 | }, |
| 10738 | "bulletSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| 10739 | # Bullet have been changed in this suggestion. |
| 10740 | # Bullet have been changed in this suggestion. |
| 10741 | # For any field set to true, there is a new suggested value. |
| 10742 | "nestingLevelSuggested": True or False, # Indicates if there was a suggested change to the |
| 10743 | # nesting_level. |
| 10744 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| 10745 | # suggestion. |
| 10746 | # For any field set to true, there is a new suggested value. |
| 10747 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 10748 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 10749 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 10750 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 10751 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 10752 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 10753 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 10754 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 10755 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 10756 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 10757 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 10758 | }, |
| 10759 | "listIdSuggested": True or False, # Indicates if there was a suggested change to the |
| 10760 | # list_id. |
| 10761 | }, |
| 10762 | }, |
| 10763 | }, |
| 10764 | "positionedObjectIds": [ # The IDs of the positioned objects tethered to this paragraph. |
| 10765 | "A String", |
| 10766 | ], |
| 10767 | "suggestedParagraphStyleChanges": { # The suggested paragraph style changes to this paragraph, keyed by |
| 10768 | # suggestion ID. |
| 10769 | "a_key": { # A suggested change to a |
| 10770 | # ParagraphStyle. |
| 10771 | "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. |
| 10772 | # For any field set to true, there is a new suggested value. |
| 10773 | "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| 10774 | "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| 10775 | "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| 10776 | "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| 10777 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 10778 | "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| 10779 | "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| 10780 | "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| 10781 | "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| 10782 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 10783 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 10784 | "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| 10785 | "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| 10786 | "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| 10787 | "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| 10788 | "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| 10789 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 10790 | "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| 10791 | "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| 10792 | "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| 10793 | # this suggestion. |
| 10794 | # suggested change. For any field set to true, there is a new suggested value. |
| 10795 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| 10796 | }, |
| 10797 | }, |
| 10798 | "paragraphStyle": { # Styles that apply to a whole paragraph. # A ParagraphStyle that only includes |
| 10799 | # the changes made in this suggestion. This can be used along with the |
| 10800 | # paragraph_suggestion_state |
| 10801 | # to see which fields have changed and their new values. |
| 10802 | # |
| 10803 | # Inherited paragraph styles are represented as unset fields in this message. |
| 10804 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 10805 | # |
| 10806 | # * The ParagraphStyle on a Paragraph |
| 10807 | # inherits from the paragraph's corresponding named style type. |
| 10808 | # * The ParagraphStyle on a named style |
| 10809 | # inherits from the normal text named style. |
| 10810 | # * The ParagraphStyle of the normal text named style inherits |
| 10811 | # from the default paragraph style in the Docs editor. |
| 10812 | # * The ParagraphStyle on a Paragraph |
| 10813 | # element that is contained in a table may inherit its paragraph style from |
| 10814 | # the table style. |
| 10815 | # |
| 10816 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 10817 | # revert the style to a value matching the defaults in the Docs editor. |
| 10818 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 10819 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 10820 | # LEFT_TO_RIGHT since |
| 10821 | # paragraph direction is not inherited. |
| 10822 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 10823 | # inherited from the parent. |
| 10824 | "magnitude": 3.14, # The magnitude. |
| 10825 | "unit": "A String", # The units for magnitude. |
| 10826 | }, |
| 10827 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 10828 | # page or column as the next paragraph if possible. If unset, the value is |
| 10829 | # inherited from the parent. |
| 10830 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 10831 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 10832 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 10833 | # is inherited from the parent. |
| 10834 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 10835 | # inherited from the parent. |
| 10836 | # |
| 10837 | # The bottom border is rendered when the paragraph below has different border |
| 10838 | # and indent properties. |
| 10839 | # |
| 10840 | # Paragraph borders cannot be partially updated. When making |
| 10841 | # changes to a paragraph border the new border must be specified in |
| 10842 | # its entirety. |
| 10843 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 10844 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 10845 | # a transparent color. |
| 10846 | "rgbColor": { # An RGB color. # The RGB color value. |
| 10847 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10848 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10849 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10850 | }, |
| 10851 | }, |
| 10852 | }, |
| 10853 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 10854 | "magnitude": 3.14, # The magnitude. |
| 10855 | "unit": "A String", # The units for magnitude. |
| 10856 | }, |
| 10857 | "dashStyle": "A String", # The dash style of the border. |
| 10858 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 10859 | "magnitude": 3.14, # The magnitude. |
| 10860 | "unit": "A String", # The units for magnitude. |
| 10861 | }, |
| 10862 | }, |
| 10863 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 10864 | # the start of the text, based on the current paragraph direction. If unset, |
| 10865 | # the value is inherited from the parent. |
| 10866 | "magnitude": 3.14, # The magnitude. |
| 10867 | "unit": "A String", # The units for magnitude. |
| 10868 | }, |
| 10869 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 10870 | # If unset, the value is inherited from the parent. |
| 10871 | # |
| 10872 | # The between border is rendered when the adjacent paragraph has the same |
| 10873 | # border and indent properties. |
| 10874 | # |
| 10875 | # Paragraph borders cannot be partially updated. When making |
| 10876 | # changes to a paragraph border the new border must be specified in |
| 10877 | # its entirety. |
| 10878 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 10879 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 10880 | # a transparent color. |
| 10881 | "rgbColor": { # An RGB color. # The RGB color value. |
| 10882 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10883 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10884 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10885 | }, |
| 10886 | }, |
| 10887 | }, |
| 10888 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 10889 | "magnitude": 3.14, # The magnitude. |
| 10890 | "unit": "A String", # The units for magnitude. |
| 10891 | }, |
| 10892 | "dashStyle": "A String", # The dash style of the border. |
| 10893 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 10894 | "magnitude": 3.14, # The magnitude. |
| 10895 | "unit": "A String", # The units for magnitude. |
| 10896 | }, |
| 10897 | }, |
| 10898 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 10899 | # |
| 10900 | # Since updating the named style type affects other properties within |
| 10901 | # ParagraphStyle, the named style type is applied before the other properties |
| 10902 | # are updated. |
| 10903 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 10904 | # from the parent. |
| 10905 | # |
| 10906 | # Paragraph borders cannot be partially updated. When making |
| 10907 | # changes to a paragraph border the new border must be specified in |
| 10908 | # its entirety. |
| 10909 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 10910 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 10911 | # a transparent color. |
| 10912 | "rgbColor": { # An RGB color. # The RGB color value. |
| 10913 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10914 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10915 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10916 | }, |
| 10917 | }, |
| 10918 | }, |
| 10919 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 10920 | "magnitude": 3.14, # The magnitude. |
| 10921 | "unit": "A String", # The units for magnitude. |
| 10922 | }, |
| 10923 | "dashStyle": "A String", # The dash style of the border. |
| 10924 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 10925 | "magnitude": 3.14, # The magnitude. |
| 10926 | "unit": "A String", # The units for magnitude. |
| 10927 | }, |
| 10928 | }, |
| 10929 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 10930 | # the end of the text, based on the current paragraph direction. If unset, |
| 10931 | # the value is inherited from the parent. |
| 10932 | "magnitude": 3.14, # The magnitude. |
| 10933 | "unit": "A String", # The units for magnitude. |
| 10934 | }, |
| 10935 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 10936 | # from the parent. |
| 10937 | # |
| 10938 | # Paragraph borders cannot be partially updated. When making |
| 10939 | # changes to a paragraph border the new border must be specified in |
| 10940 | # its entirety. |
| 10941 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 10942 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 10943 | # a transparent color. |
| 10944 | "rgbColor": { # An RGB color. # The RGB color value. |
| 10945 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10946 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10947 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10948 | }, |
| 10949 | }, |
| 10950 | }, |
| 10951 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 10952 | "magnitude": 3.14, # The magnitude. |
| 10953 | "unit": "A String", # The units for magnitude. |
| 10954 | }, |
| 10955 | "dashStyle": "A String", # The dash style of the border. |
| 10956 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 10957 | "magnitude": 3.14, # The magnitude. |
| 10958 | "unit": "A String", # The units for magnitude. |
| 10959 | }, |
| 10960 | }, |
| 10961 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 10962 | # inherited from the parent. |
| 10963 | "magnitude": 3.14, # The magnitude. |
| 10964 | "unit": "A String", # The units for magnitude. |
| 10965 | }, |
| 10966 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 10967 | # heading. This property is read-only. |
| 10968 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 10969 | # parent. |
| 10970 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 10971 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 10972 | # a transparent color. |
| 10973 | "rgbColor": { # An RGB color. # The RGB color value. |
| 10974 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10975 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10976 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10977 | }, |
| 10978 | }, |
| 10979 | }, |
| 10980 | }, |
| 10981 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 10982 | # from the parent. |
| 10983 | # |
| 10984 | # The top border is rendered when the paragraph above has different border |
| 10985 | # and indent properties. |
| 10986 | # |
| 10987 | # Paragraph borders cannot be partially updated. When making |
| 10988 | # changes to a paragraph border the new border must be specified in |
| 10989 | # its entirety. |
| 10990 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 10991 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 10992 | # a transparent color. |
| 10993 | "rgbColor": { # An RGB color. # The RGB color value. |
| 10994 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 10995 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 10996 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 10997 | }, |
| 10998 | }, |
| 10999 | }, |
| 11000 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 11001 | "magnitude": 3.14, # The magnitude. |
| 11002 | "unit": "A String", # The units for magnitude. |
| 11003 | }, |
| 11004 | "dashStyle": "A String", # The dash style of the border. |
| 11005 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 11006 | "magnitude": 3.14, # The magnitude. |
| 11007 | "unit": "A String", # The units for magnitude. |
| 11008 | }, |
| 11009 | }, |
| 11010 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 11011 | # inherited. This property is read-only. |
| 11012 | { # A tab stop within a paragraph. |
| 11013 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 11014 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 11015 | "magnitude": 3.14, # The magnitude. |
| 11016 | "unit": "A String", # The units for magnitude. |
| 11017 | }, |
| 11018 | }, |
| 11019 | ], |
| 11020 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 11021 | # the value is inherited from the parent. |
| 11022 | "magnitude": 3.14, # The magnitude. |
| 11023 | "unit": "A String", # The units for magnitude. |
| 11024 | }, |
| 11025 | "alignment": "A String", # The text alignment for this paragraph. |
| 11026 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 11027 | # column if possible. If unset, the value is inherited from the parent. |
| 11028 | }, |
| 11029 | }, |
| 11030 | }, |
| 11031 | "paragraphStyle": { # Styles that apply to a whole paragraph. # The style of this paragraph. |
| 11032 | # |
| 11033 | # Inherited paragraph styles are represented as unset fields in this message. |
| 11034 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 11035 | # |
| 11036 | # * The ParagraphStyle on a Paragraph |
| 11037 | # inherits from the paragraph's corresponding named style type. |
| 11038 | # * The ParagraphStyle on a named style |
| 11039 | # inherits from the normal text named style. |
| 11040 | # * The ParagraphStyle of the normal text named style inherits |
| 11041 | # from the default paragraph style in the Docs editor. |
| 11042 | # * The ParagraphStyle on a Paragraph |
| 11043 | # element that is contained in a table may inherit its paragraph style from |
| 11044 | # the table style. |
| 11045 | # |
| 11046 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 11047 | # revert the style to a value matching the defaults in the Docs editor. |
| 11048 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 11049 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 11050 | # LEFT_TO_RIGHT since |
| 11051 | # paragraph direction is not inherited. |
| 11052 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 11053 | # inherited from the parent. |
| 11054 | "magnitude": 3.14, # The magnitude. |
| 11055 | "unit": "A String", # The units for magnitude. |
| 11056 | }, |
| 11057 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 11058 | # page or column as the next paragraph if possible. If unset, the value is |
| 11059 | # inherited from the parent. |
| 11060 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 11061 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 11062 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 11063 | # is inherited from the parent. |
| 11064 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 11065 | # inherited from the parent. |
| 11066 | # |
| 11067 | # The bottom border is rendered when the paragraph below has different border |
| 11068 | # and indent properties. |
| 11069 | # |
| 11070 | # Paragraph borders cannot be partially updated. When making |
| 11071 | # changes to a paragraph border the new border must be specified in |
| 11072 | # its entirety. |
| 11073 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 11074 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 11075 | # a transparent color. |
| 11076 | "rgbColor": { # An RGB color. # The RGB color value. |
| 11077 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11078 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11079 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11080 | }, |
| 11081 | }, |
| 11082 | }, |
| 11083 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 11084 | "magnitude": 3.14, # The magnitude. |
| 11085 | "unit": "A String", # The units for magnitude. |
| 11086 | }, |
| 11087 | "dashStyle": "A String", # The dash style of the border. |
| 11088 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 11089 | "magnitude": 3.14, # The magnitude. |
| 11090 | "unit": "A String", # The units for magnitude. |
| 11091 | }, |
| 11092 | }, |
| 11093 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 11094 | # the start of the text, based on the current paragraph direction. If unset, |
| 11095 | # the value is inherited from the parent. |
| 11096 | "magnitude": 3.14, # The magnitude. |
| 11097 | "unit": "A String", # The units for magnitude. |
| 11098 | }, |
| 11099 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 11100 | # If unset, the value is inherited from the parent. |
| 11101 | # |
| 11102 | # The between border is rendered when the adjacent paragraph has the same |
| 11103 | # border and indent properties. |
| 11104 | # |
| 11105 | # Paragraph borders cannot be partially updated. When making |
| 11106 | # changes to a paragraph border the new border must be specified in |
| 11107 | # its entirety. |
| 11108 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 11109 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 11110 | # a transparent color. |
| 11111 | "rgbColor": { # An RGB color. # The RGB color value. |
| 11112 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11113 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11114 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11115 | }, |
| 11116 | }, |
| 11117 | }, |
| 11118 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 11119 | "magnitude": 3.14, # The magnitude. |
| 11120 | "unit": "A String", # The units for magnitude. |
| 11121 | }, |
| 11122 | "dashStyle": "A String", # The dash style of the border. |
| 11123 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 11124 | "magnitude": 3.14, # The magnitude. |
| 11125 | "unit": "A String", # The units for magnitude. |
| 11126 | }, |
| 11127 | }, |
| 11128 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 11129 | # |
| 11130 | # Since updating the named style type affects other properties within |
| 11131 | # ParagraphStyle, the named style type is applied before the other properties |
| 11132 | # are updated. |
| 11133 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 11134 | # from the parent. |
| 11135 | # |
| 11136 | # Paragraph borders cannot be partially updated. When making |
| 11137 | # changes to a paragraph border the new border must be specified in |
| 11138 | # its entirety. |
| 11139 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 11140 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 11141 | # a transparent color. |
| 11142 | "rgbColor": { # An RGB color. # The RGB color value. |
| 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 | }, |
| 11149 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 11150 | "magnitude": 3.14, # The magnitude. |
| 11151 | "unit": "A String", # The units for magnitude. |
| 11152 | }, |
| 11153 | "dashStyle": "A String", # The dash style of the border. |
| 11154 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 11155 | "magnitude": 3.14, # The magnitude. |
| 11156 | "unit": "A String", # The units for magnitude. |
| 11157 | }, |
| 11158 | }, |
| 11159 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 11160 | # the end of the text, based on the current paragraph direction. If unset, |
| 11161 | # the value is inherited from the parent. |
| 11162 | "magnitude": 3.14, # The magnitude. |
| 11163 | "unit": "A String", # The units for magnitude. |
| 11164 | }, |
| 11165 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 11166 | # from the parent. |
| 11167 | # |
| 11168 | # Paragraph borders cannot be partially updated. When making |
| 11169 | # changes to a paragraph border the new border must be specified in |
| 11170 | # its entirety. |
| 11171 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 11172 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 11173 | # a transparent color. |
| 11174 | "rgbColor": { # An RGB color. # The RGB color value. |
| 11175 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11176 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11177 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11178 | }, |
| 11179 | }, |
| 11180 | }, |
| 11181 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 11182 | "magnitude": 3.14, # The magnitude. |
| 11183 | "unit": "A String", # The units for magnitude. |
| 11184 | }, |
| 11185 | "dashStyle": "A String", # The dash style of the border. |
| 11186 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 11187 | "magnitude": 3.14, # The magnitude. |
| 11188 | "unit": "A String", # The units for magnitude. |
| 11189 | }, |
| 11190 | }, |
| 11191 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 11192 | # inherited from the parent. |
| 11193 | "magnitude": 3.14, # The magnitude. |
| 11194 | "unit": "A String", # The units for magnitude. |
| 11195 | }, |
| 11196 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 11197 | # heading. This property is read-only. |
| 11198 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 11199 | # parent. |
| 11200 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 11201 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 11202 | # a transparent color. |
| 11203 | "rgbColor": { # An RGB color. # The RGB color value. |
| 11204 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11205 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11206 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11207 | }, |
| 11208 | }, |
| 11209 | }, |
| 11210 | }, |
| 11211 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 11212 | # from the parent. |
| 11213 | # |
| 11214 | # The top border is rendered when the paragraph above has different border |
| 11215 | # and indent properties. |
| 11216 | # |
| 11217 | # Paragraph borders cannot be partially updated. When making |
| 11218 | # changes to a paragraph border the new border must be specified in |
| 11219 | # its entirety. |
| 11220 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 11221 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 11222 | # a transparent color. |
| 11223 | "rgbColor": { # An RGB color. # The RGB color value. |
| 11224 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11225 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11226 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11227 | }, |
| 11228 | }, |
| 11229 | }, |
| 11230 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 11231 | "magnitude": 3.14, # The magnitude. |
| 11232 | "unit": "A String", # The units for magnitude. |
| 11233 | }, |
| 11234 | "dashStyle": "A String", # The dash style of the border. |
| 11235 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 11236 | "magnitude": 3.14, # The magnitude. |
| 11237 | "unit": "A String", # The units for magnitude. |
| 11238 | }, |
| 11239 | }, |
| 11240 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 11241 | # inherited. This property is read-only. |
| 11242 | { # A tab stop within a paragraph. |
| 11243 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 11244 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 11245 | "magnitude": 3.14, # The magnitude. |
| 11246 | "unit": "A String", # The units for magnitude. |
| 11247 | }, |
| 11248 | }, |
| 11249 | ], |
| 11250 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 11251 | # the value is inherited from the parent. |
| 11252 | "magnitude": 3.14, # The magnitude. |
| 11253 | "unit": "A String", # The units for magnitude. |
| 11254 | }, |
| 11255 | "alignment": "A String", # The text alignment for this paragraph. |
| 11256 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 11257 | # column if possible. If unset, the value is inherited from the parent. |
| 11258 | }, |
| 11259 | }, |
| 11260 | "table": { # A StructuralElement representing a # A table type of structural element. |
| 11261 | # table. |
| 11262 | "rows": 42, # Number of rows in the table. |
| 11263 | "tableStyle": { # Styles that apply to a table. # The style of the table. |
| 11264 | "tableColumnProperties": [ # The properties of each column. |
| 11265 | # |
| 11266 | # Note that in Docs, tables contain rows and rows contain cells, similar to |
| 11267 | # HTML. So the properties for a row can be found on the row's |
| 11268 | # table_row_style. |
| 11269 | { # The properties of a column in a table. |
| 11270 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| 11271 | # FIXED_WIDTH. |
| 11272 | "magnitude": 3.14, # The magnitude. |
| 11273 | "unit": "A String", # The units for magnitude. |
| 11274 | }, |
| 11275 | "widthType": "A String", # The width type of the column. |
| 11276 | }, |
| 11277 | ], |
| 11278 | }, |
| 11279 | "suggestedInsertionIds": [ # The suggested insertion IDs. A Table may have |
| 11280 | # multiple insertion IDs if it is a nested suggested change. If empty, then |
| 11281 | # this is not a suggested insertion. |
| 11282 | "A String", |
| 11283 | ], |
| 11284 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 11285 | # of this content. |
| 11286 | "A String", |
| 11287 | ], |
| 11288 | "tableRows": [ # The contents and style of each row. |
| 11289 | { # The contents and style of a row in a Table. |
| 11290 | "endIndex": 42, # The zero-based end index of this row, exclusive, in UTF-16 code units. |
| 11291 | "tableCells": [ # The contents and style of each cell in this row. |
| 11292 | # |
| 11293 | # It is possible for a table to be non-rectangular, so some rows may have a |
| 11294 | # different number of cells than other rows in the same table. |
| 11295 | { # The contents and style of a cell in a Table. |
| 11296 | "endIndex": 42, # The zero-based end index of this cell, exclusive, in UTF-16 code units. |
| 11297 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 11298 | # of this content. |
| 11299 | "A String", |
| 11300 | ], |
| 11301 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableCell |
| 11302 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 11303 | # empty, then this is not a suggested insertion. |
| 11304 | "A String", |
| 11305 | ], |
| 11306 | "content": [ # The content of the cell. |
| 11307 | # Object with schema name: StructuralElement |
| 11308 | ], |
| 11309 | "tableCellStyle": { # The style of a TableCell. # The style of the cell. |
| 11310 | # |
| 11311 | # Inherited table cell styles are represented as unset fields in this message. |
| 11312 | # A table cell style can inherit from the table's style. |
| 11313 | "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| 11314 | "magnitude": 3.14, # The magnitude. |
| 11315 | "unit": "A String", # The units for magnitude. |
| 11316 | }, |
| 11317 | "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| 11318 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 11319 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 11320 | # a transparent color. |
| 11321 | "rgbColor": { # An RGB color. # The RGB color value. |
| 11322 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11323 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11324 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11325 | }, |
| 11326 | }, |
| 11327 | }, |
| 11328 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 11329 | "magnitude": 3.14, # The magnitude. |
| 11330 | "unit": "A String", # The units for magnitude. |
| 11331 | }, |
| 11332 | "dashStyle": "A String", # The dash style of the border. |
| 11333 | }, |
| 11334 | "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| 11335 | "magnitude": 3.14, # The magnitude. |
| 11336 | "unit": "A String", # The units for magnitude. |
| 11337 | }, |
| 11338 | "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| 11339 | "magnitude": 3.14, # The magnitude. |
| 11340 | "unit": "A String", # The units for magnitude. |
| 11341 | }, |
| 11342 | "borderLeft": { # A border around a table cell. # The left border of the cell. |
| 11343 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 11344 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 11345 | # a transparent color. |
| 11346 | "rgbColor": { # An RGB color. # The RGB color value. |
| 11347 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11348 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11349 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11350 | }, |
| 11351 | }, |
| 11352 | }, |
| 11353 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 11354 | "magnitude": 3.14, # The magnitude. |
| 11355 | "unit": "A String", # The units for magnitude. |
| 11356 | }, |
| 11357 | "dashStyle": "A String", # The dash style of the border. |
| 11358 | }, |
| 11359 | "columnSpan": 42, # The column span of the cell. This property is read-only. |
| 11360 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| 11361 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 11362 | # a transparent color. |
| 11363 | "rgbColor": { # An RGB color. # The RGB color value. |
| 11364 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11365 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11366 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11367 | }, |
| 11368 | }, |
| 11369 | }, |
| 11370 | "borderRight": { # A border around a table cell. # The right border of the cell. |
| 11371 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 11372 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 11373 | # a transparent color. |
| 11374 | "rgbColor": { # An RGB color. # The RGB color value. |
| 11375 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11376 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11377 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11378 | }, |
| 11379 | }, |
| 11380 | }, |
| 11381 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 11382 | "magnitude": 3.14, # The magnitude. |
| 11383 | "unit": "A String", # The units for magnitude. |
| 11384 | }, |
| 11385 | "dashStyle": "A String", # The dash style of the border. |
| 11386 | }, |
| 11387 | "rowSpan": 42, # The row span of the cell. This property is read-only. |
| 11388 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 11389 | # matches the alignment for newly created table cells in the Docs editor. |
| 11390 | "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| 11391 | "magnitude": 3.14, # The magnitude. |
| 11392 | "unit": "A String", # The units for magnitude. |
| 11393 | }, |
| 11394 | "borderTop": { # A border around a table cell. # The top border of the cell. |
| 11395 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 11396 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 11397 | # a transparent color. |
| 11398 | "rgbColor": { # An RGB color. # The RGB color value. |
| 11399 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11400 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11401 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11402 | }, |
| 11403 | }, |
| 11404 | }, |
| 11405 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 11406 | "magnitude": 3.14, # The magnitude. |
| 11407 | "unit": "A String", # The units for magnitude. |
| 11408 | }, |
| 11409 | "dashStyle": "A String", # The dash style of the border. |
| 11410 | }, |
| 11411 | }, |
| 11412 | "startIndex": 42, # The zero-based start index of this cell, in UTF-16 code units. |
| 11413 | "suggestedTableCellStyleChanges": { # The suggested changes to the table cell style, keyed by suggestion ID. |
| 11414 | "a_key": { # A suggested change to a TableCellStyle. |
| 11415 | "tableCellStyle": { # The style of a TableCell. # A TableCellStyle that only includes |
| 11416 | # the changes made in this suggestion. This can be used along with the |
| 11417 | # table_cell_style_suggestion_state |
| 11418 | # to see which fields have changed and their new values. |
| 11419 | # |
| 11420 | # Inherited table cell styles are represented as unset fields in this message. |
| 11421 | # A table cell style can inherit from the table's style. |
| 11422 | "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| 11423 | "magnitude": 3.14, # The magnitude. |
| 11424 | "unit": "A String", # The units for magnitude. |
| 11425 | }, |
| 11426 | "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| 11427 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 11428 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 11429 | # a transparent color. |
| 11430 | "rgbColor": { # An RGB color. # The RGB color value. |
| 11431 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11432 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11433 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11434 | }, |
| 11435 | }, |
| 11436 | }, |
| 11437 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 11438 | "magnitude": 3.14, # The magnitude. |
| 11439 | "unit": "A String", # The units for magnitude. |
| 11440 | }, |
| 11441 | "dashStyle": "A String", # The dash style of the border. |
| 11442 | }, |
| 11443 | "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| 11444 | "magnitude": 3.14, # The magnitude. |
| 11445 | "unit": "A String", # The units for magnitude. |
| 11446 | }, |
| 11447 | "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| 11448 | "magnitude": 3.14, # The magnitude. |
| 11449 | "unit": "A String", # The units for magnitude. |
| 11450 | }, |
| 11451 | "borderLeft": { # A border around a table cell. # The left border of the cell. |
| 11452 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 11453 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 11454 | # a transparent color. |
| 11455 | "rgbColor": { # An RGB color. # The RGB color value. |
| 11456 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11457 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11458 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11459 | }, |
| 11460 | }, |
| 11461 | }, |
| 11462 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 11463 | "magnitude": 3.14, # The magnitude. |
| 11464 | "unit": "A String", # The units for magnitude. |
| 11465 | }, |
| 11466 | "dashStyle": "A String", # The dash style of the border. |
| 11467 | }, |
| 11468 | "columnSpan": 42, # The column span of the cell. This property is read-only. |
| 11469 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| 11470 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 11471 | # a transparent color. |
| 11472 | "rgbColor": { # An RGB color. # The RGB color value. |
| 11473 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11474 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11475 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11476 | }, |
| 11477 | }, |
| 11478 | }, |
| 11479 | "borderRight": { # A border around a table cell. # The right border of the cell. |
| 11480 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 11481 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 11482 | # a transparent color. |
| 11483 | "rgbColor": { # An RGB color. # The RGB color value. |
| 11484 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11485 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11486 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11487 | }, |
| 11488 | }, |
| 11489 | }, |
| 11490 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 11491 | "magnitude": 3.14, # The magnitude. |
| 11492 | "unit": "A String", # The units for magnitude. |
| 11493 | }, |
| 11494 | "dashStyle": "A String", # The dash style of the border. |
| 11495 | }, |
| 11496 | "rowSpan": 42, # The row span of the cell. This property is read-only. |
| 11497 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 11498 | # matches the alignment for newly created table cells in the Docs editor. |
| 11499 | "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| 11500 | "magnitude": 3.14, # The magnitude. |
| 11501 | "unit": "A String", # The units for magnitude. |
| 11502 | }, |
| 11503 | "borderTop": { # A border around a table cell. # The top border of the cell. |
| 11504 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 11505 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 11506 | # a transparent color. |
| 11507 | "rgbColor": { # An RGB color. # The RGB color value. |
| 11508 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11509 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11510 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11511 | }, |
| 11512 | }, |
| 11513 | }, |
| 11514 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 11515 | "magnitude": 3.14, # The magnitude. |
| 11516 | "unit": "A String", # The units for magnitude. |
| 11517 | }, |
| 11518 | "dashStyle": "A String", # The dash style of the border. |
| 11519 | }, |
| 11520 | }, |
| 11521 | "tableCellStyleSuggestionState": { # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. |
| 11522 | # For any field set to true, there is a new suggested value. |
| 11523 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 11524 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 11525 | "paddingBottomSuggested": True or False, # Indicates if there was a suggested change to padding_bottom. |
| 11526 | "contentAlignmentSuggested": True or False, # Indicates if there was a suggested change to content_alignment. |
| 11527 | "rowSpanSuggested": True or False, # Indicates if there was a suggested change to row_span. |
| 11528 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 11529 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 11530 | "columnSpanSuggested": True or False, # Indicates if there was a suggested change to column_span. |
| 11531 | "paddingRightSuggested": True or False, # Indicates if there was a suggested change to padding_right. |
| 11532 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 11533 | "paddingLeftSuggested": True or False, # Indicates if there was a suggested change to padding_left. |
| 11534 | "paddingTopSuggested": True or False, # Indicates if there was a suggested change to padding_top. |
| 11535 | }, |
| 11536 | }, |
| 11537 | }, |
| 11538 | }, |
| 11539 | ], |
| 11540 | "tableRowStyle": { # Styles that apply to a table row. # The style of the table row. |
| 11541 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 11542 | # at a height equal to or greater than this value in order to show all the |
| 11543 | # content in the row's cells. |
| 11544 | "magnitude": 3.14, # The magnitude. |
| 11545 | "unit": "A String", # The units for magnitude. |
| 11546 | }, |
| 11547 | }, |
| 11548 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableRow |
| 11549 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 11550 | # empty, then this is not a suggested insertion. |
| 11551 | "A String", |
| 11552 | ], |
| 11553 | "startIndex": 42, # The zero-based start index of this row, in UTF-16 code units. |
| 11554 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 11555 | # of this content. |
| 11556 | "A String", |
| 11557 | ], |
| 11558 | "suggestedTableRowStyleChanges": { # The suggested style changes to this row, keyed by suggestion ID. |
| 11559 | "a_key": { # A suggested change to a |
| 11560 | # TableRowStyle. |
| 11561 | "tableRowStyle": { # Styles that apply to a table row. # A TableRowStyle that only includes |
| 11562 | # the changes made in this suggestion. This can be used along with the |
| 11563 | # table_row_style_suggestion_state |
| 11564 | # to see which fields have changed and their new values. |
| 11565 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 11566 | # at a height equal to or greater than this value in order to show all the |
| 11567 | # content in the row's cells. |
| 11568 | "magnitude": 3.14, # The magnitude. |
| 11569 | "unit": "A String", # The units for magnitude. |
| 11570 | }, |
| 11571 | }, |
| 11572 | "tableRowStyleSuggestionState": { # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. |
| 11573 | # For any field set to true, there is a new suggested value. |
| 11574 | "minRowHeightSuggested": True or False, # Indicates if there was a suggested change to min_row_height. |
| 11575 | }, |
| 11576 | }, |
| 11577 | }, |
| 11578 | }, |
| 11579 | ], |
| 11580 | "columns": 42, # Number of columns in the table. |
| 11581 | # |
| 11582 | # It is possible for a table to be non-rectangular, so some rows may have a |
| 11583 | # different number of cells. |
| 11584 | }, |
| 11585 | }, |
| 11586 | ], |
| 11587 | "footerId": "A String", # The ID of the footer. |
| 11588 | }, |
| 11589 | }, |
| 11590 | "footnotes": { # The footnotes in the document, keyed by footnote ID. |
| 11591 | "a_key": { # A document footnote. |
| 11592 | "content": [ # The contents of the footnote. |
| 11593 | # |
| 11594 | # The indexes for a footnote's content begin at zero. |
| 11595 | { # A StructuralElement describes content that provides structure to the |
| 11596 | # document. |
| 11597 | "endIndex": 42, # The zero-based end index of this structural element, exclusive, in UTF-16 |
| 11598 | # code units. |
| 11599 | "sectionBreak": { # A StructuralElement representing a # A section break type of structural element. |
| 11600 | # section break. A section is a range of content which has the same |
| 11601 | # SectionStyle. A section break represents |
| 11602 | # the start of a new section, and the section style applies to the section |
| 11603 | # after the section break. |
| 11604 | # |
| 11605 | # The document body always begins with a section break. |
| 11606 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 11607 | # of this content. |
| 11608 | "A String", |
| 11609 | ], |
| 11610 | "sectionStyle": { # The styling that applies to a section. # The style of the section after this section break. |
| 11611 | "contentDirection": "A String", # The content direction of this section. If unset, the value defaults to |
| 11612 | # LEFT_TO_RIGHT. |
| 11613 | "columnProperties": [ # The section's columns properties. |
| 11614 | # |
| 11615 | # If empty, the section contains one column with the default properties in |
| 11616 | # the Docs editor. |
| 11617 | { # Properties that apply to a section's column. |
| 11618 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. |
| 11619 | "magnitude": 3.14, # The magnitude. |
| 11620 | "unit": "A String", # The units for magnitude. |
| 11621 | }, |
| 11622 | "paddingEnd": { # A magnitude in a single direction in the specified units. # The padding at the end of the column. |
| 11623 | "magnitude": 3.14, # The magnitude. |
| 11624 | "unit": "A String", # The units for magnitude. |
| 11625 | }, |
| 11626 | }, |
| 11627 | ], |
| 11628 | "columnSeparatorStyle": "A String", # The style of column separators. |
| 11629 | # |
| 11630 | # This style can be set even when there is one column in the section. |
| 11631 | }, |
| 11632 | "suggestedInsertionIds": [ # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is |
| 11633 | # a nested suggested change. If empty, then this is not a suggested |
| 11634 | # insertion. |
| 11635 | "A String", |
| 11636 | ], |
| 11637 | }, |
| 11638 | "tableOfContents": { # A StructuralElement representing # A table of contents type of structural element. |
| 11639 | # a table of contents. |
| 11640 | "content": [ # The content of the table of contents. |
| 11641 | # Object with schema name: StructuralElement |
| 11642 | ], |
| 11643 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 11644 | # of this content. |
| 11645 | "A String", |
| 11646 | ], |
| 11647 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it |
| 11648 | # is a nested suggested change. If empty, then this is not a suggested |
| 11649 | # insertion. |
| 11650 | "A String", |
| 11651 | ], |
| 11652 | }, |
| 11653 | "startIndex": 42, # The zero-based start index of this structural element, in UTF-16 code |
| 11654 | # units. |
| 11655 | "paragraph": { # A StructuralElement representing a # A paragraph type of structural element. |
| 11656 | # paragraph. A paragraph is a range of content that is terminated with a |
| 11657 | # newline character. |
| 11658 | "elements": [ # The content of the paragraph broken down into its component parts. |
| 11659 | { # A ParagraphElement describes content within a |
| 11660 | # Paragraph. |
| 11661 | "endIndex": 42, # The zero-base end index of this paragraph element, exclusive, in UTF-16 |
| 11662 | # code units. |
| 11663 | "equation": { # A ParagraphElement representing an # An equation paragraph element. |
| 11664 | # equation. |
| 11665 | "suggestedInsertionIds": [ # The suggested insertion IDs. A Equation |
| 11666 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 11667 | # empty, then this is not a suggested insertion. |
| 11668 | "A String", |
| 11669 | ], |
| 11670 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 11671 | # of this content. |
| 11672 | "A String", |
| 11673 | ], |
| 11674 | }, |
| 11675 | "columnBreak": { # A ParagraphElement representing a # A column break paragraph element. |
| 11676 | # column break. A column break makes the subsequent text start at the top of |
| 11677 | # the next column. |
| 11678 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this ColumnBreak. |
| 11679 | # |
| 11680 | # Similar to text content, like text runs and footnote references, the text |
| 11681 | # style of a column break can affect content layout as well as the styling of |
| 11682 | # text inserted adjacent to it. |
| 11683 | # |
| 11684 | # Inherited text styles are represented as unset fields in this message. A |
| 11685 | # text style's parent depends on where the text style is defined: |
| 11686 | # |
| 11687 | # * The TextStyle of text in a Paragraph |
| 11688 | # inherits from the paragraph's corresponding named style type. |
| 11689 | # * The TextStyle on a named style |
| 11690 | # inherits from the normal text named style. |
| 11691 | # * The TextStyle of the normal text named style inherits |
| 11692 | # from the default text style in the Docs editor. |
| 11693 | # * The TextStyle on a Paragraph element |
| 11694 | # that is contained in a table may inherit its text style from the table |
| 11695 | # style. |
| 11696 | # |
| 11697 | # If the text style does not inherit from a parent, unsetting fields will |
| 11698 | # revert the style to a value matching the defaults in the Docs editor. |
| 11699 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 11700 | # or transparent, depending on the `color` field. |
| 11701 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 11702 | # a transparent color. |
| 11703 | "rgbColor": { # An RGB color. # The RGB color value. |
| 11704 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11705 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11706 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11707 | }, |
| 11708 | }, |
| 11709 | }, |
| 11710 | "italic": True or False, # Whether or not the text is italicized. |
| 11711 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 11712 | # |
| 11713 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 11714 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 11715 | # The `font_size` itself is not affected by changes in this field. |
| 11716 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 11717 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 11718 | # |
| 11719 | # If an update request specifies values for both `weighted_font_family` and |
| 11720 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 11721 | # |
| 11722 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 11723 | # |
| 11724 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 11725 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 11726 | # is returned. |
| 11727 | "fontFamily": "A String", # The font family of the text. |
| 11728 | # |
| 11729 | # The font family can be any font from the Font menu in Docs or from |
| 11730 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 11731 | # unrecognized, the text is rendered in `Arial`. |
| 11732 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 11733 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 11734 | # numerical values described in the CSS 2.1 Specification, |
| 11735 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 11736 | # non-numerical values disallowed. |
| 11737 | # |
| 11738 | # The default value is `400` ("normal"). |
| 11739 | # |
| 11740 | # The font weight makes up just one component of the rendered font weight. |
| 11741 | # The rendered weight is determined by a combination of the `weight` and the |
| 11742 | # text style's resolved `bold` value, after accounting for inheritance: |
| 11743 | # |
| 11744 | # * If the text is bold and the weight is less than `400`, the rendered |
| 11745 | # weight is 400. |
| 11746 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 11747 | # is less than `700`, the rendered weight is `700`. |
| 11748 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 11749 | # equal to the weight. |
| 11750 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 11751 | }, |
| 11752 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 11753 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 11754 | "magnitude": 3.14, # The magnitude. |
| 11755 | "unit": "A String", # The units for magnitude. |
| 11756 | }, |
| 11757 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 11758 | # or transparent, depending on the `color` field. |
| 11759 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 11760 | # a transparent color. |
| 11761 | "rgbColor": { # An RGB color. # The RGB color value. |
| 11762 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11763 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11764 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11765 | }, |
| 11766 | }, |
| 11767 | }, |
| 11768 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 11769 | # are not inherited from parent text. |
| 11770 | # |
| 11771 | # Changing the link in an update request causes some other changes to the |
| 11772 | # text style of the range: |
| 11773 | # |
| 11774 | # * When setting a link, the text foreground color will be updated to the |
| 11775 | # default link color and the text will be underlined. If these fields are |
| 11776 | # modified in the same request, those values will be used instead of the |
| 11777 | # link defaults. |
| 11778 | # * Setting a link on a text range that overlaps with an existing link will |
| 11779 | # also update the existing link to point to the new URL. |
| 11780 | # * Links are not settable on newline characters. As a result, setting a link |
| 11781 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 11782 | # will separate the newline character(s) into their own text runs. The |
| 11783 | # link will be applied separately to the runs before and after the newline. |
| 11784 | # * Removing a link will update the text style of the range to match the |
| 11785 | # style of the preceding text (or the default text styles if the preceding |
| 11786 | # text is another link) unless different styles are being set in the same |
| 11787 | # request. |
| 11788 | "headingId": "A String", # The ID of a heading in this document. |
| 11789 | "url": "A String", # An external URL. |
| 11790 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 11791 | }, |
| 11792 | "underline": True or False, # Whether or not the text is underlined. |
| 11793 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 11794 | }, |
| 11795 | "suggestedInsertionIds": [ # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is |
| 11796 | # a nested suggested change. If empty, then this is not a suggested |
| 11797 | # insertion. |
| 11798 | "A String", |
| 11799 | ], |
| 11800 | "suggestedTextStyleChanges": { # The suggested text style changes to this ColumnBreak, keyed by suggestion |
| 11801 | # ID. |
| 11802 | "a_key": { # A suggested change to a TextStyle. |
| 11803 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 11804 | # the changes made in this suggestion. This can be used along with the |
| 11805 | # text_style_suggestion_state |
| 11806 | # to see which fields have changed and their new values. |
| 11807 | # |
| 11808 | # Inherited text styles are represented as unset fields in this message. A |
| 11809 | # text style's parent depends on where the text style is defined: |
| 11810 | # |
| 11811 | # * The TextStyle of text in a Paragraph |
| 11812 | # inherits from the paragraph's corresponding named style type. |
| 11813 | # * The TextStyle on a named style |
| 11814 | # inherits from the normal text named style. |
| 11815 | # * The TextStyle of the normal text named style inherits |
| 11816 | # from the default text style in the Docs editor. |
| 11817 | # * The TextStyle on a Paragraph element |
| 11818 | # that is contained in a table may inherit its text style from the table |
| 11819 | # style. |
| 11820 | # |
| 11821 | # If the text style does not inherit from a parent, unsetting fields will |
| 11822 | # revert the style to a value matching the defaults in the Docs editor. |
| 11823 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 11824 | # or transparent, depending on the `color` field. |
| 11825 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 11826 | # a transparent color. |
| 11827 | "rgbColor": { # An RGB color. # The RGB color value. |
| 11828 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11829 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11830 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11831 | }, |
| 11832 | }, |
| 11833 | }, |
| 11834 | "italic": True or False, # Whether or not the text is italicized. |
| 11835 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 11836 | # |
| 11837 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 11838 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 11839 | # The `font_size` itself is not affected by changes in this field. |
| 11840 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 11841 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 11842 | # |
| 11843 | # If an update request specifies values for both `weighted_font_family` and |
| 11844 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 11845 | # |
| 11846 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 11847 | # |
| 11848 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 11849 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 11850 | # is returned. |
| 11851 | "fontFamily": "A String", # The font family of the text. |
| 11852 | # |
| 11853 | # The font family can be any font from the Font menu in Docs or from |
| 11854 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 11855 | # unrecognized, the text is rendered in `Arial`. |
| 11856 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 11857 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 11858 | # numerical values described in the CSS 2.1 Specification, |
| 11859 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 11860 | # non-numerical values disallowed. |
| 11861 | # |
| 11862 | # The default value is `400` ("normal"). |
| 11863 | # |
| 11864 | # The font weight makes up just one component of the rendered font weight. |
| 11865 | # The rendered weight is determined by a combination of the `weight` and the |
| 11866 | # text style's resolved `bold` value, after accounting for inheritance: |
| 11867 | # |
| 11868 | # * If the text is bold and the weight is less than `400`, the rendered |
| 11869 | # weight is 400. |
| 11870 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 11871 | # is less than `700`, the rendered weight is `700`. |
| 11872 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 11873 | # equal to the weight. |
| 11874 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 11875 | }, |
| 11876 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 11877 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 11878 | "magnitude": 3.14, # The magnitude. |
| 11879 | "unit": "A String", # The units for magnitude. |
| 11880 | }, |
| 11881 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 11882 | # or transparent, depending on the `color` field. |
| 11883 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 11884 | # a transparent color. |
| 11885 | "rgbColor": { # An RGB color. # The RGB color value. |
| 11886 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11887 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11888 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11889 | }, |
| 11890 | }, |
| 11891 | }, |
| 11892 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 11893 | # are not inherited from parent text. |
| 11894 | # |
| 11895 | # Changing the link in an update request causes some other changes to the |
| 11896 | # text style of the range: |
| 11897 | # |
| 11898 | # * When setting a link, the text foreground color will be updated to the |
| 11899 | # default link color and the text will be underlined. If these fields are |
| 11900 | # modified in the same request, those values will be used instead of the |
| 11901 | # link defaults. |
| 11902 | # * Setting a link on a text range that overlaps with an existing link will |
| 11903 | # also update the existing link to point to the new URL. |
| 11904 | # * Links are not settable on newline characters. As a result, setting a link |
| 11905 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 11906 | # will separate the newline character(s) into their own text runs. The |
| 11907 | # link will be applied separately to the runs before and after the newline. |
| 11908 | # * Removing a link will update the text style of the range to match the |
| 11909 | # style of the preceding text (or the default text styles if the preceding |
| 11910 | # text is another link) unless different styles are being set in the same |
| 11911 | # request. |
| 11912 | "headingId": "A String", # The ID of a heading in this document. |
| 11913 | "url": "A String", # An external URL. |
| 11914 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 11915 | }, |
| 11916 | "underline": True or False, # Whether or not the text is underlined. |
| 11917 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 11918 | }, |
| 11919 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 11920 | # For any field set to true, there is a new suggested value. |
| 11921 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 11922 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 11923 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 11924 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 11925 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 11926 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 11927 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 11928 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 11929 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 11930 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 11931 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 11932 | }, |
| 11933 | }, |
| 11934 | }, |
| 11935 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 11936 | # of this content. |
| 11937 | "A String", |
| 11938 | ], |
| 11939 | }, |
| 11940 | "startIndex": 42, # The zero-based start index of this paragraph element, in UTF-16 code units. |
| 11941 | "pageBreak": { # A ParagraphElement representing a # A page break paragraph element. |
| 11942 | # page break. A page break makes the subsequent text start at the top of the |
| 11943 | # next page. |
| 11944 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this PageBreak. |
| 11945 | # |
| 11946 | # Similar to text content, like text runs and footnote references, the text |
| 11947 | # style of a page break can affect content layout as well as the styling of |
| 11948 | # text inserted adjacent to it. |
| 11949 | # |
| 11950 | # Inherited text styles are represented as unset fields in this message. A |
| 11951 | # text style's parent depends on where the text style is defined: |
| 11952 | # |
| 11953 | # * The TextStyle of text in a Paragraph |
| 11954 | # inherits from the paragraph's corresponding named style type. |
| 11955 | # * The TextStyle on a named style |
| 11956 | # inherits from the normal text named style. |
| 11957 | # * The TextStyle of the normal text named style inherits |
| 11958 | # from the default text style in the Docs editor. |
| 11959 | # * The TextStyle on a Paragraph element |
| 11960 | # that is contained in a table may inherit its text style from the table |
| 11961 | # style. |
| 11962 | # |
| 11963 | # If the text style does not inherit from a parent, unsetting fields will |
| 11964 | # revert the style to a value matching the defaults in the Docs editor. |
| 11965 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 11966 | # or transparent, depending on the `color` field. |
| 11967 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 11968 | # a transparent color. |
| 11969 | "rgbColor": { # An RGB color. # The RGB color value. |
| 11970 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 11971 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 11972 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 11973 | }, |
| 11974 | }, |
| 11975 | }, |
| 11976 | "italic": True or False, # Whether or not the text is italicized. |
| 11977 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 11978 | # |
| 11979 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 11980 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 11981 | # The `font_size` itself is not affected by changes in this field. |
| 11982 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 11983 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 11984 | # |
| 11985 | # If an update request specifies values for both `weighted_font_family` and |
| 11986 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 11987 | # |
| 11988 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 11989 | # |
| 11990 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 11991 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 11992 | # is returned. |
| 11993 | "fontFamily": "A String", # The font family of the text. |
| 11994 | # |
| 11995 | # The font family can be any font from the Font menu in Docs or from |
| 11996 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 11997 | # unrecognized, the text is rendered in `Arial`. |
| 11998 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 11999 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 12000 | # numerical values described in the CSS 2.1 Specification, |
| 12001 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 12002 | # non-numerical values disallowed. |
| 12003 | # |
| 12004 | # The default value is `400` ("normal"). |
| 12005 | # |
| 12006 | # The font weight makes up just one component of the rendered font weight. |
| 12007 | # The rendered weight is determined by a combination of the `weight` and the |
| 12008 | # text style's resolved `bold` value, after accounting for inheritance: |
| 12009 | # |
| 12010 | # * If the text is bold and the weight is less than `400`, the rendered |
| 12011 | # weight is 400. |
| 12012 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 12013 | # is less than `700`, the rendered weight is `700`. |
| 12014 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 12015 | # equal to the weight. |
| 12016 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 12017 | }, |
| 12018 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 12019 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 12020 | "magnitude": 3.14, # The magnitude. |
| 12021 | "unit": "A String", # The units for magnitude. |
| 12022 | }, |
| 12023 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 12024 | # or transparent, depending on the `color` field. |
| 12025 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 12026 | # a transparent color. |
| 12027 | "rgbColor": { # An RGB color. # The RGB color value. |
| 12028 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12029 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12030 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12031 | }, |
| 12032 | }, |
| 12033 | }, |
| 12034 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 12035 | # are not inherited from parent text. |
| 12036 | # |
| 12037 | # Changing the link in an update request causes some other changes to the |
| 12038 | # text style of the range: |
| 12039 | # |
| 12040 | # * When setting a link, the text foreground color will be updated to the |
| 12041 | # default link color and the text will be underlined. If these fields are |
| 12042 | # modified in the same request, those values will be used instead of the |
| 12043 | # link defaults. |
| 12044 | # * Setting a link on a text range that overlaps with an existing link will |
| 12045 | # also update the existing link to point to the new URL. |
| 12046 | # * Links are not settable on newline characters. As a result, setting a link |
| 12047 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 12048 | # will separate the newline character(s) into their own text runs. The |
| 12049 | # link will be applied separately to the runs before and after the newline. |
| 12050 | # * Removing a link will update the text style of the range to match the |
| 12051 | # style of the preceding text (or the default text styles if the preceding |
| 12052 | # text is another link) unless different styles are being set in the same |
| 12053 | # request. |
| 12054 | "headingId": "A String", # The ID of a heading in this document. |
| 12055 | "url": "A String", # An external URL. |
| 12056 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 12057 | }, |
| 12058 | "underline": True or False, # Whether or not the text is underlined. |
| 12059 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 12060 | }, |
| 12061 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 12062 | # of this content. |
| 12063 | "A String", |
| 12064 | ], |
| 12065 | "suggestedTextStyleChanges": { # The suggested text style changes to this PageBreak, keyed by suggestion ID. |
| 12066 | "a_key": { # A suggested change to a TextStyle. |
| 12067 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 12068 | # the changes made in this suggestion. This can be used along with the |
| 12069 | # text_style_suggestion_state |
| 12070 | # to see which fields have changed and their new values. |
| 12071 | # |
| 12072 | # Inherited text styles are represented as unset fields in this message. A |
| 12073 | # text style's parent depends on where the text style is defined: |
| 12074 | # |
| 12075 | # * The TextStyle of text in a Paragraph |
| 12076 | # inherits from the paragraph's corresponding named style type. |
| 12077 | # * The TextStyle on a named style |
| 12078 | # inherits from the normal text named style. |
| 12079 | # * The TextStyle of the normal text named style inherits |
| 12080 | # from the default text style in the Docs editor. |
| 12081 | # * The TextStyle on a Paragraph element |
| 12082 | # that is contained in a table may inherit its text style from the table |
| 12083 | # style. |
| 12084 | # |
| 12085 | # If the text style does not inherit from a parent, unsetting fields will |
| 12086 | # revert the style to a value matching the defaults in the Docs editor. |
| 12087 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 12088 | # or transparent, depending on the `color` field. |
| 12089 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 12090 | # a transparent color. |
| 12091 | "rgbColor": { # An RGB color. # The RGB color value. |
| 12092 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12093 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12094 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12095 | }, |
| 12096 | }, |
| 12097 | }, |
| 12098 | "italic": True or False, # Whether or not the text is italicized. |
| 12099 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 12100 | # |
| 12101 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 12102 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 12103 | # The `font_size` itself is not affected by changes in this field. |
| 12104 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 12105 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 12106 | # |
| 12107 | # If an update request specifies values for both `weighted_font_family` and |
| 12108 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 12109 | # |
| 12110 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 12111 | # |
| 12112 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 12113 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 12114 | # is returned. |
| 12115 | "fontFamily": "A String", # The font family of the text. |
| 12116 | # |
| 12117 | # The font family can be any font from the Font menu in Docs or from |
| 12118 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 12119 | # unrecognized, the text is rendered in `Arial`. |
| 12120 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 12121 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 12122 | # numerical values described in the CSS 2.1 Specification, |
| 12123 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 12124 | # non-numerical values disallowed. |
| 12125 | # |
| 12126 | # The default value is `400` ("normal"). |
| 12127 | # |
| 12128 | # The font weight makes up just one component of the rendered font weight. |
| 12129 | # The rendered weight is determined by a combination of the `weight` and the |
| 12130 | # text style's resolved `bold` value, after accounting for inheritance: |
| 12131 | # |
| 12132 | # * If the text is bold and the weight is less than `400`, the rendered |
| 12133 | # weight is 400. |
| 12134 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 12135 | # is less than `700`, the rendered weight is `700`. |
| 12136 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 12137 | # equal to the weight. |
| 12138 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 12139 | }, |
| 12140 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 12141 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 12142 | "magnitude": 3.14, # The magnitude. |
| 12143 | "unit": "A String", # The units for magnitude. |
| 12144 | }, |
| 12145 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 12146 | # or transparent, depending on the `color` field. |
| 12147 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 12148 | # a transparent color. |
| 12149 | "rgbColor": { # An RGB color. # The RGB color value. |
| 12150 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12151 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12152 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12153 | }, |
| 12154 | }, |
| 12155 | }, |
| 12156 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 12157 | # are not inherited from parent text. |
| 12158 | # |
| 12159 | # Changing the link in an update request causes some other changes to the |
| 12160 | # text style of the range: |
| 12161 | # |
| 12162 | # * When setting a link, the text foreground color will be updated to the |
| 12163 | # default link color and the text will be underlined. If these fields are |
| 12164 | # modified in the same request, those values will be used instead of the |
| 12165 | # link defaults. |
| 12166 | # * Setting a link on a text range that overlaps with an existing link will |
| 12167 | # also update the existing link to point to the new URL. |
| 12168 | # * Links are not settable on newline characters. As a result, setting a link |
| 12169 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 12170 | # will separate the newline character(s) into their own text runs. The |
| 12171 | # link will be applied separately to the runs before and after the newline. |
| 12172 | # * Removing a link will update the text style of the range to match the |
| 12173 | # style of the preceding text (or the default text styles if the preceding |
| 12174 | # text is another link) unless different styles are being set in the same |
| 12175 | # request. |
| 12176 | "headingId": "A String", # The ID of a heading in this document. |
| 12177 | "url": "A String", # An external URL. |
| 12178 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 12179 | }, |
| 12180 | "underline": True or False, # Whether or not the text is underlined. |
| 12181 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 12182 | }, |
| 12183 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 12184 | # For any field set to true, there is a new suggested value. |
| 12185 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 12186 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 12187 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 12188 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 12189 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 12190 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 12191 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 12192 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 12193 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 12194 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 12195 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 12196 | }, |
| 12197 | }, |
| 12198 | }, |
| 12199 | "suggestedInsertionIds": [ # The suggested insertion IDs. A PageBreak |
| 12200 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 12201 | # empty, then this is not a suggested insertion. |
| 12202 | "A String", |
| 12203 | ], |
| 12204 | }, |
| 12205 | "horizontalRule": { # A ParagraphElement representing a # A horizontal rule paragraph element. |
| 12206 | # horizontal line. |
| 12207 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this HorizontalRule. |
| 12208 | # |
| 12209 | # Similar to text content, like text runs and footnote references, the text |
| 12210 | # style of a horizontal rule can affect content layout as well as the styling |
| 12211 | # of text inserted adjacent to it. |
| 12212 | # |
| 12213 | # Inherited text styles are represented as unset fields in this message. A |
| 12214 | # text style's parent depends on where the text style is defined: |
| 12215 | # |
| 12216 | # * The TextStyle of text in a Paragraph |
| 12217 | # inherits from the paragraph's corresponding named style type. |
| 12218 | # * The TextStyle on a named style |
| 12219 | # inherits from the normal text named style. |
| 12220 | # * The TextStyle of the normal text named style inherits |
| 12221 | # from the default text style in the Docs editor. |
| 12222 | # * The TextStyle on a Paragraph element |
| 12223 | # that is contained in a table may inherit its text style from the table |
| 12224 | # style. |
| 12225 | # |
| 12226 | # If the text style does not inherit from a parent, unsetting fields will |
| 12227 | # revert the style to a value matching the defaults in the Docs editor. |
| 12228 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 12229 | # or transparent, depending on the `color` field. |
| 12230 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 12231 | # a transparent color. |
| 12232 | "rgbColor": { # An RGB color. # The RGB color value. |
| 12233 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12234 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12235 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12236 | }, |
| 12237 | }, |
| 12238 | }, |
| 12239 | "italic": True or False, # Whether or not the text is italicized. |
| 12240 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 12241 | # |
| 12242 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 12243 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 12244 | # The `font_size` itself is not affected by changes in this field. |
| 12245 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 12246 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 12247 | # |
| 12248 | # If an update request specifies values for both `weighted_font_family` and |
| 12249 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 12250 | # |
| 12251 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 12252 | # |
| 12253 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 12254 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 12255 | # is returned. |
| 12256 | "fontFamily": "A String", # The font family of the text. |
| 12257 | # |
| 12258 | # The font family can be any font from the Font menu in Docs or from |
| 12259 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 12260 | # unrecognized, the text is rendered in `Arial`. |
| 12261 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 12262 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 12263 | # numerical values described in the CSS 2.1 Specification, |
| 12264 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 12265 | # non-numerical values disallowed. |
| 12266 | # |
| 12267 | # The default value is `400` ("normal"). |
| 12268 | # |
| 12269 | # The font weight makes up just one component of the rendered font weight. |
| 12270 | # The rendered weight is determined by a combination of the `weight` and the |
| 12271 | # text style's resolved `bold` value, after accounting for inheritance: |
| 12272 | # |
| 12273 | # * If the text is bold and the weight is less than `400`, the rendered |
| 12274 | # weight is 400. |
| 12275 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 12276 | # is less than `700`, the rendered weight is `700`. |
| 12277 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 12278 | # equal to the weight. |
| 12279 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 12280 | }, |
| 12281 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 12282 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 12283 | "magnitude": 3.14, # The magnitude. |
| 12284 | "unit": "A String", # The units for magnitude. |
| 12285 | }, |
| 12286 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 12287 | # or transparent, depending on the `color` field. |
| 12288 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 12289 | # a transparent color. |
| 12290 | "rgbColor": { # An RGB color. # The RGB color value. |
| 12291 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12292 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12293 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12294 | }, |
| 12295 | }, |
| 12296 | }, |
| 12297 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 12298 | # are not inherited from parent text. |
| 12299 | # |
| 12300 | # Changing the link in an update request causes some other changes to the |
| 12301 | # text style of the range: |
| 12302 | # |
| 12303 | # * When setting a link, the text foreground color will be updated to the |
| 12304 | # default link color and the text will be underlined. If these fields are |
| 12305 | # modified in the same request, those values will be used instead of the |
| 12306 | # link defaults. |
| 12307 | # * Setting a link on a text range that overlaps with an existing link will |
| 12308 | # also update the existing link to point to the new URL. |
| 12309 | # * Links are not settable on newline characters. As a result, setting a link |
| 12310 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 12311 | # will separate the newline character(s) into their own text runs. The |
| 12312 | # link will be applied separately to the runs before and after the newline. |
| 12313 | # * Removing a link will update the text style of the range to match the |
| 12314 | # style of the preceding text (or the default text styles if the preceding |
| 12315 | # text is another link) unless different styles are being set in the same |
| 12316 | # request. |
| 12317 | "headingId": "A String", # The ID of a heading in this document. |
| 12318 | "url": "A String", # An external URL. |
| 12319 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 12320 | }, |
| 12321 | "underline": True or False, # Whether or not the text is underlined. |
| 12322 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 12323 | }, |
| 12324 | "suggestedInsertionIds": [ # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it |
| 12325 | # is a nested suggested change. If empty, then this is not a suggested |
| 12326 | # insertion. |
| 12327 | "A String", |
| 12328 | ], |
| 12329 | "suggestedTextStyleChanges": { # The suggested text style changes to this HorizontalRule, keyed by |
| 12330 | # suggestion ID. |
| 12331 | "a_key": { # A suggested change to a TextStyle. |
| 12332 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 12333 | # the changes made in this suggestion. This can be used along with the |
| 12334 | # text_style_suggestion_state |
| 12335 | # to see which fields have changed and their new values. |
| 12336 | # |
| 12337 | # Inherited text styles are represented as unset fields in this message. A |
| 12338 | # text style's parent depends on where the text style is defined: |
| 12339 | # |
| 12340 | # * The TextStyle of text in a Paragraph |
| 12341 | # inherits from the paragraph's corresponding named style type. |
| 12342 | # * The TextStyle on a named style |
| 12343 | # inherits from the normal text named style. |
| 12344 | # * The TextStyle of the normal text named style inherits |
| 12345 | # from the default text style in the Docs editor. |
| 12346 | # * The TextStyle on a Paragraph element |
| 12347 | # that is contained in a table may inherit its text style from the table |
| 12348 | # style. |
| 12349 | # |
| 12350 | # If the text style does not inherit from a parent, unsetting fields will |
| 12351 | # revert the style to a value matching the defaults in the Docs editor. |
| 12352 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 12353 | # or transparent, depending on the `color` field. |
| 12354 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 12355 | # a transparent color. |
| 12356 | "rgbColor": { # An RGB color. # The RGB color value. |
| 12357 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12358 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12359 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12360 | }, |
| 12361 | }, |
| 12362 | }, |
| 12363 | "italic": True or False, # Whether or not the text is italicized. |
| 12364 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 12365 | # |
| 12366 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 12367 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 12368 | # The `font_size` itself is not affected by changes in this field. |
| 12369 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 12370 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 12371 | # |
| 12372 | # If an update request specifies values for both `weighted_font_family` and |
| 12373 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 12374 | # |
| 12375 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 12376 | # |
| 12377 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 12378 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 12379 | # is returned. |
| 12380 | "fontFamily": "A String", # The font family of the text. |
| 12381 | # |
| 12382 | # The font family can be any font from the Font menu in Docs or from |
| 12383 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 12384 | # unrecognized, the text is rendered in `Arial`. |
| 12385 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 12386 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 12387 | # numerical values described in the CSS 2.1 Specification, |
| 12388 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 12389 | # non-numerical values disallowed. |
| 12390 | # |
| 12391 | # The default value is `400` ("normal"). |
| 12392 | # |
| 12393 | # The font weight makes up just one component of the rendered font weight. |
| 12394 | # The rendered weight is determined by a combination of the `weight` and the |
| 12395 | # text style's resolved `bold` value, after accounting for inheritance: |
| 12396 | # |
| 12397 | # * If the text is bold and the weight is less than `400`, the rendered |
| 12398 | # weight is 400. |
| 12399 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 12400 | # is less than `700`, the rendered weight is `700`. |
| 12401 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 12402 | # equal to the weight. |
| 12403 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 12404 | }, |
| 12405 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 12406 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 12407 | "magnitude": 3.14, # The magnitude. |
| 12408 | "unit": "A String", # The units for magnitude. |
| 12409 | }, |
| 12410 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 12411 | # or transparent, depending on the `color` field. |
| 12412 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 12413 | # a transparent color. |
| 12414 | "rgbColor": { # An RGB color. # The RGB color value. |
| 12415 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12416 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12417 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12418 | }, |
| 12419 | }, |
| 12420 | }, |
| 12421 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 12422 | # are not inherited from parent text. |
| 12423 | # |
| 12424 | # Changing the link in an update request causes some other changes to the |
| 12425 | # text style of the range: |
| 12426 | # |
| 12427 | # * When setting a link, the text foreground color will be updated to the |
| 12428 | # default link color and the text will be underlined. If these fields are |
| 12429 | # modified in the same request, those values will be used instead of the |
| 12430 | # link defaults. |
| 12431 | # * Setting a link on a text range that overlaps with an existing link will |
| 12432 | # also update the existing link to point to the new URL. |
| 12433 | # * Links are not settable on newline characters. As a result, setting a link |
| 12434 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 12435 | # will separate the newline character(s) into their own text runs. The |
| 12436 | # link will be applied separately to the runs before and after the newline. |
| 12437 | # * Removing a link will update the text style of the range to match the |
| 12438 | # style of the preceding text (or the default text styles if the preceding |
| 12439 | # text is another link) unless different styles are being set in the same |
| 12440 | # request. |
| 12441 | "headingId": "A String", # The ID of a heading in this document. |
| 12442 | "url": "A String", # An external URL. |
| 12443 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 12444 | }, |
| 12445 | "underline": True or False, # Whether or not the text is underlined. |
| 12446 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 12447 | }, |
| 12448 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 12449 | # For any field set to true, there is a new suggested value. |
| 12450 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 12451 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 12452 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 12453 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 12454 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 12455 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 12456 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 12457 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 12458 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 12459 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 12460 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 12461 | }, |
| 12462 | }, |
| 12463 | }, |
| 12464 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 12465 | # of this content. |
| 12466 | "A String", |
| 12467 | ], |
| 12468 | }, |
| 12469 | "textRun": { # A ParagraphElement that represents a # A text run paragraph element. |
| 12470 | # run of text that all has the same styling. |
| 12471 | "content": "A String", # The text of this run. |
| 12472 | # |
| 12473 | # Any non-text elements in the run are replaced with the Unicode character |
| 12474 | # U+E907. |
| 12475 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this run. |
| 12476 | # |
| 12477 | # Inherited text styles are represented as unset fields in this message. A |
| 12478 | # text style's parent depends on where the text style is defined: |
| 12479 | # |
| 12480 | # * The TextStyle of text in a Paragraph |
| 12481 | # inherits from the paragraph's corresponding named style type. |
| 12482 | # * The TextStyle on a named style |
| 12483 | # inherits from the normal text named style. |
| 12484 | # * The TextStyle of the normal text named style inherits |
| 12485 | # from the default text style in the Docs editor. |
| 12486 | # * The TextStyle on a Paragraph element |
| 12487 | # that is contained in a table may inherit its text style from the table |
| 12488 | # style. |
| 12489 | # |
| 12490 | # If the text style does not inherit from a parent, unsetting fields will |
| 12491 | # revert the style to a value matching the defaults in the Docs editor. |
| 12492 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 12493 | # or transparent, depending on the `color` field. |
| 12494 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 12495 | # a transparent color. |
| 12496 | "rgbColor": { # An RGB color. # The RGB color value. |
| 12497 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12498 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12499 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12500 | }, |
| 12501 | }, |
| 12502 | }, |
| 12503 | "italic": True or False, # Whether or not the text is italicized. |
| 12504 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 12505 | # |
| 12506 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 12507 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 12508 | # The `font_size` itself is not affected by changes in this field. |
| 12509 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 12510 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 12511 | # |
| 12512 | # If an update request specifies values for both `weighted_font_family` and |
| 12513 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 12514 | # |
| 12515 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 12516 | # |
| 12517 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 12518 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 12519 | # is returned. |
| 12520 | "fontFamily": "A String", # The font family of the text. |
| 12521 | # |
| 12522 | # The font family can be any font from the Font menu in Docs or from |
| 12523 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 12524 | # unrecognized, the text is rendered in `Arial`. |
| 12525 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 12526 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 12527 | # numerical values described in the CSS 2.1 Specification, |
| 12528 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 12529 | # non-numerical values disallowed. |
| 12530 | # |
| 12531 | # The default value is `400` ("normal"). |
| 12532 | # |
| 12533 | # The font weight makes up just one component of the rendered font weight. |
| 12534 | # The rendered weight is determined by a combination of the `weight` and the |
| 12535 | # text style's resolved `bold` value, after accounting for inheritance: |
| 12536 | # |
| 12537 | # * If the text is bold and the weight is less than `400`, the rendered |
| 12538 | # weight is 400. |
| 12539 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 12540 | # is less than `700`, the rendered weight is `700`. |
| 12541 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 12542 | # equal to the weight. |
| 12543 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 12544 | }, |
| 12545 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 12546 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 12547 | "magnitude": 3.14, # The magnitude. |
| 12548 | "unit": "A String", # The units for magnitude. |
| 12549 | }, |
| 12550 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 12551 | # or transparent, depending on the `color` field. |
| 12552 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 12553 | # a transparent color. |
| 12554 | "rgbColor": { # An RGB color. # The RGB color value. |
| 12555 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12556 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12557 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12558 | }, |
| 12559 | }, |
| 12560 | }, |
| 12561 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 12562 | # are not inherited from parent text. |
| 12563 | # |
| 12564 | # Changing the link in an update request causes some other changes to the |
| 12565 | # text style of the range: |
| 12566 | # |
| 12567 | # * When setting a link, the text foreground color will be updated to the |
| 12568 | # default link color and the text will be underlined. If these fields are |
| 12569 | # modified in the same request, those values will be used instead of the |
| 12570 | # link defaults. |
| 12571 | # * Setting a link on a text range that overlaps with an existing link will |
| 12572 | # also update the existing link to point to the new URL. |
| 12573 | # * Links are not settable on newline characters. As a result, setting a link |
| 12574 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 12575 | # will separate the newline character(s) into their own text runs. The |
| 12576 | # link will be applied separately to the runs before and after the newline. |
| 12577 | # * Removing a link will update the text style of the range to match the |
| 12578 | # style of the preceding text (or the default text styles if the preceding |
| 12579 | # text is another link) unless different styles are being set in the same |
| 12580 | # request. |
| 12581 | "headingId": "A String", # The ID of a heading in this document. |
| 12582 | "url": "A String", # An external URL. |
| 12583 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 12584 | }, |
| 12585 | "underline": True or False, # Whether or not the text is underlined. |
| 12586 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 12587 | }, |
| 12588 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TextRun may |
| 12589 | # have multiple insertion IDs if it is a nested suggested change. If empty, |
| 12590 | # then this is not a suggested insertion. |
| 12591 | "A String", |
| 12592 | ], |
| 12593 | "suggestedTextStyleChanges": { # The suggested text style changes to this run, keyed by suggestion ID. |
| 12594 | "a_key": { # A suggested change to a TextStyle. |
| 12595 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 12596 | # the changes made in this suggestion. This can be used along with the |
| 12597 | # text_style_suggestion_state |
| 12598 | # to see which fields have changed and their new values. |
| 12599 | # |
| 12600 | # Inherited text styles are represented as unset fields in this message. A |
| 12601 | # text style's parent depends on where the text style is defined: |
| 12602 | # |
| 12603 | # * The TextStyle of text in a Paragraph |
| 12604 | # inherits from the paragraph's corresponding named style type. |
| 12605 | # * The TextStyle on a named style |
| 12606 | # inherits from the normal text named style. |
| 12607 | # * The TextStyle of the normal text named style inherits |
| 12608 | # from the default text style in the Docs editor. |
| 12609 | # * The TextStyle on a Paragraph element |
| 12610 | # that is contained in a table may inherit its text style from the table |
| 12611 | # style. |
| 12612 | # |
| 12613 | # If the text style does not inherit from a parent, unsetting fields will |
| 12614 | # revert the style to a value matching the defaults in the Docs editor. |
| 12615 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 12616 | # or transparent, depending on the `color` field. |
| 12617 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 12618 | # a transparent color. |
| 12619 | "rgbColor": { # An RGB color. # The RGB color value. |
| 12620 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12621 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12622 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12623 | }, |
| 12624 | }, |
| 12625 | }, |
| 12626 | "italic": True or False, # Whether or not the text is italicized. |
| 12627 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 12628 | # |
| 12629 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 12630 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 12631 | # The `font_size` itself is not affected by changes in this field. |
| 12632 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 12633 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 12634 | # |
| 12635 | # If an update request specifies values for both `weighted_font_family` and |
| 12636 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 12637 | # |
| 12638 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 12639 | # |
| 12640 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 12641 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 12642 | # is returned. |
| 12643 | "fontFamily": "A String", # The font family of the text. |
| 12644 | # |
| 12645 | # The font family can be any font from the Font menu in Docs or from |
| 12646 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 12647 | # unrecognized, the text is rendered in `Arial`. |
| 12648 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 12649 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 12650 | # numerical values described in the CSS 2.1 Specification, |
| 12651 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 12652 | # non-numerical values disallowed. |
| 12653 | # |
| 12654 | # The default value is `400` ("normal"). |
| 12655 | # |
| 12656 | # The font weight makes up just one component of the rendered font weight. |
| 12657 | # The rendered weight is determined by a combination of the `weight` and the |
| 12658 | # text style's resolved `bold` value, after accounting for inheritance: |
| 12659 | # |
| 12660 | # * If the text is bold and the weight is less than `400`, the rendered |
| 12661 | # weight is 400. |
| 12662 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 12663 | # is less than `700`, the rendered weight is `700`. |
| 12664 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 12665 | # equal to the weight. |
| 12666 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 12667 | }, |
| 12668 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 12669 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 12670 | "magnitude": 3.14, # The magnitude. |
| 12671 | "unit": "A String", # The units for magnitude. |
| 12672 | }, |
| 12673 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 12674 | # or transparent, depending on the `color` field. |
| 12675 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 12676 | # a transparent color. |
| 12677 | "rgbColor": { # An RGB color. # The RGB color value. |
| 12678 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12679 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12680 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12681 | }, |
| 12682 | }, |
| 12683 | }, |
| 12684 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 12685 | # are not inherited from parent text. |
| 12686 | # |
| 12687 | # Changing the link in an update request causes some other changes to the |
| 12688 | # text style of the range: |
| 12689 | # |
| 12690 | # * When setting a link, the text foreground color will be updated to the |
| 12691 | # default link color and the text will be underlined. If these fields are |
| 12692 | # modified in the same request, those values will be used instead of the |
| 12693 | # link defaults. |
| 12694 | # * Setting a link on a text range that overlaps with an existing link will |
| 12695 | # also update the existing link to point to the new URL. |
| 12696 | # * Links are not settable on newline characters. As a result, setting a link |
| 12697 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 12698 | # will separate the newline character(s) into their own text runs. The |
| 12699 | # link will be applied separately to the runs before and after the newline. |
| 12700 | # * Removing a link will update the text style of the range to match the |
| 12701 | # style of the preceding text (or the default text styles if the preceding |
| 12702 | # text is another link) unless different styles are being set in the same |
| 12703 | # request. |
| 12704 | "headingId": "A String", # The ID of a heading in this document. |
| 12705 | "url": "A String", # An external URL. |
| 12706 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 12707 | }, |
| 12708 | "underline": True or False, # Whether or not the text is underlined. |
| 12709 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 12710 | }, |
| 12711 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 12712 | # For any field set to true, there is a new suggested value. |
| 12713 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 12714 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 12715 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 12716 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 12717 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 12718 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 12719 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 12720 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 12721 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 12722 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 12723 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 12724 | }, |
| 12725 | }, |
| 12726 | }, |
| 12727 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 12728 | # of this content. |
| 12729 | "A String", |
| 12730 | ], |
| 12731 | }, |
| 12732 | "autoText": { # A ParagraphElement representing a # An auto text paragraph element. |
| 12733 | # spot in the text that is dynamically replaced with content that can change |
| 12734 | # over time, like a page number. |
| 12735 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this AutoText. |
| 12736 | # |
| 12737 | # Inherited text styles are represented as unset fields in this message. A |
| 12738 | # text style's parent depends on where the text style is defined: |
| 12739 | # |
| 12740 | # * The TextStyle of text in a Paragraph |
| 12741 | # inherits from the paragraph's corresponding named style type. |
| 12742 | # * The TextStyle on a named style |
| 12743 | # inherits from the normal text named style. |
| 12744 | # * The TextStyle of the normal text named style inherits |
| 12745 | # from the default text style in the Docs editor. |
| 12746 | # * The TextStyle on a Paragraph element |
| 12747 | # that is contained in a table may inherit its text style from the table |
| 12748 | # style. |
| 12749 | # |
| 12750 | # If the text style does not inherit from a parent, unsetting fields will |
| 12751 | # revert the style to a value matching the defaults in the Docs editor. |
| 12752 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 12753 | # or transparent, depending on the `color` field. |
| 12754 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 12755 | # a transparent color. |
| 12756 | "rgbColor": { # An RGB color. # The RGB color value. |
| 12757 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12758 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12759 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12760 | }, |
| 12761 | }, |
| 12762 | }, |
| 12763 | "italic": True or False, # Whether or not the text is italicized. |
| 12764 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 12765 | # |
| 12766 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 12767 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 12768 | # The `font_size` itself is not affected by changes in this field. |
| 12769 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 12770 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 12771 | # |
| 12772 | # If an update request specifies values for both `weighted_font_family` and |
| 12773 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 12774 | # |
| 12775 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 12776 | # |
| 12777 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 12778 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 12779 | # is returned. |
| 12780 | "fontFamily": "A String", # The font family of the text. |
| 12781 | # |
| 12782 | # The font family can be any font from the Font menu in Docs or from |
| 12783 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 12784 | # unrecognized, the text is rendered in `Arial`. |
| 12785 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 12786 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 12787 | # numerical values described in the CSS 2.1 Specification, |
| 12788 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 12789 | # non-numerical values disallowed. |
| 12790 | # |
| 12791 | # The default value is `400` ("normal"). |
| 12792 | # |
| 12793 | # The font weight makes up just one component of the rendered font weight. |
| 12794 | # The rendered weight is determined by a combination of the `weight` and the |
| 12795 | # text style's resolved `bold` value, after accounting for inheritance: |
| 12796 | # |
| 12797 | # * If the text is bold and the weight is less than `400`, the rendered |
| 12798 | # weight is 400. |
| 12799 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 12800 | # is less than `700`, the rendered weight is `700`. |
| 12801 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 12802 | # equal to the weight. |
| 12803 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 12804 | }, |
| 12805 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 12806 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 12807 | "magnitude": 3.14, # The magnitude. |
| 12808 | "unit": "A String", # The units for magnitude. |
| 12809 | }, |
| 12810 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 12811 | # or transparent, depending on the `color` field. |
| 12812 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 12813 | # a transparent color. |
| 12814 | "rgbColor": { # An RGB color. # The RGB color value. |
| 12815 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12816 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12817 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12818 | }, |
| 12819 | }, |
| 12820 | }, |
| 12821 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 12822 | # are not inherited from parent text. |
| 12823 | # |
| 12824 | # Changing the link in an update request causes some other changes to the |
| 12825 | # text style of the range: |
| 12826 | # |
| 12827 | # * When setting a link, the text foreground color will be updated to the |
| 12828 | # default link color and the text will be underlined. If these fields are |
| 12829 | # modified in the same request, those values will be used instead of the |
| 12830 | # link defaults. |
| 12831 | # * Setting a link on a text range that overlaps with an existing link will |
| 12832 | # also update the existing link to point to the new URL. |
| 12833 | # * Links are not settable on newline characters. As a result, setting a link |
| 12834 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 12835 | # will separate the newline character(s) into their own text runs. The |
| 12836 | # link will be applied separately to the runs before and after the newline. |
| 12837 | # * Removing a link will update the text style of the range to match the |
| 12838 | # style of the preceding text (or the default text styles if the preceding |
| 12839 | # text is another link) unless different styles are being set in the same |
| 12840 | # request. |
| 12841 | "headingId": "A String", # The ID of a heading in this document. |
| 12842 | "url": "A String", # An external URL. |
| 12843 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 12844 | }, |
| 12845 | "underline": True or False, # Whether or not the text is underlined. |
| 12846 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 12847 | }, |
| 12848 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 12849 | # of this content. |
| 12850 | "A String", |
| 12851 | ], |
| 12852 | "suggestedTextStyleChanges": { # The suggested text style changes to this AutoText, keyed by suggestion ID. |
| 12853 | "a_key": { # A suggested change to a TextStyle. |
| 12854 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 12855 | # the changes made in this suggestion. This can be used along with the |
| 12856 | # text_style_suggestion_state |
| 12857 | # to see which fields have changed and their new values. |
| 12858 | # |
| 12859 | # Inherited text styles are represented as unset fields in this message. A |
| 12860 | # text style's parent depends on where the text style is defined: |
| 12861 | # |
| 12862 | # * The TextStyle of text in a Paragraph |
| 12863 | # inherits from the paragraph's corresponding named style type. |
| 12864 | # * The TextStyle on a named style |
| 12865 | # inherits from the normal text named style. |
| 12866 | # * The TextStyle of the normal text named style inherits |
| 12867 | # from the default text style in the Docs editor. |
| 12868 | # * The TextStyle on a Paragraph element |
| 12869 | # that is contained in a table may inherit its text style from the table |
| 12870 | # style. |
| 12871 | # |
| 12872 | # If the text style does not inherit from a parent, unsetting fields will |
| 12873 | # revert the style to a value matching the defaults in the Docs editor. |
| 12874 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 12875 | # or transparent, depending on the `color` field. |
| 12876 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 12877 | # a transparent color. |
| 12878 | "rgbColor": { # An RGB color. # The RGB color value. |
| 12879 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12880 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12881 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12882 | }, |
| 12883 | }, |
| 12884 | }, |
| 12885 | "italic": True or False, # Whether or not the text is italicized. |
| 12886 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 12887 | # |
| 12888 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 12889 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 12890 | # The `font_size` itself is not affected by changes in this field. |
| 12891 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 12892 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 12893 | # |
| 12894 | # If an update request specifies values for both `weighted_font_family` and |
| 12895 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 12896 | # |
| 12897 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 12898 | # |
| 12899 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 12900 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 12901 | # is returned. |
| 12902 | "fontFamily": "A String", # The font family of the text. |
| 12903 | # |
| 12904 | # The font family can be any font from the Font menu in Docs or from |
| 12905 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 12906 | # unrecognized, the text is rendered in `Arial`. |
| 12907 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 12908 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 12909 | # numerical values described in the CSS 2.1 Specification, |
| 12910 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 12911 | # non-numerical values disallowed. |
| 12912 | # |
| 12913 | # The default value is `400` ("normal"). |
| 12914 | # |
| 12915 | # The font weight makes up just one component of the rendered font weight. |
| 12916 | # The rendered weight is determined by a combination of the `weight` and the |
| 12917 | # text style's resolved `bold` value, after accounting for inheritance: |
| 12918 | # |
| 12919 | # * If the text is bold and the weight is less than `400`, the rendered |
| 12920 | # weight is 400. |
| 12921 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 12922 | # is less than `700`, the rendered weight is `700`. |
| 12923 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 12924 | # equal to the weight. |
| 12925 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 12926 | }, |
| 12927 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 12928 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 12929 | "magnitude": 3.14, # The magnitude. |
| 12930 | "unit": "A String", # The units for magnitude. |
| 12931 | }, |
| 12932 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 12933 | # or transparent, depending on the `color` field. |
| 12934 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 12935 | # a transparent color. |
| 12936 | "rgbColor": { # An RGB color. # The RGB color value. |
| 12937 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 12938 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 12939 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 12940 | }, |
| 12941 | }, |
| 12942 | }, |
| 12943 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 12944 | # are not inherited from parent text. |
| 12945 | # |
| 12946 | # Changing the link in an update request causes some other changes to the |
| 12947 | # text style of the range: |
| 12948 | # |
| 12949 | # * When setting a link, the text foreground color will be updated to the |
| 12950 | # default link color and the text will be underlined. If these fields are |
| 12951 | # modified in the same request, those values will be used instead of the |
| 12952 | # link defaults. |
| 12953 | # * Setting a link on a text range that overlaps with an existing link will |
| 12954 | # also update the existing link to point to the new URL. |
| 12955 | # * Links are not settable on newline characters. As a result, setting a link |
| 12956 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 12957 | # will separate the newline character(s) into their own text runs. The |
| 12958 | # link will be applied separately to the runs before and after the newline. |
| 12959 | # * Removing a link will update the text style of the range to match the |
| 12960 | # style of the preceding text (or the default text styles if the preceding |
| 12961 | # text is another link) unless different styles are being set in the same |
| 12962 | # request. |
| 12963 | "headingId": "A String", # The ID of a heading in this document. |
| 12964 | "url": "A String", # An external URL. |
| 12965 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 12966 | }, |
| 12967 | "underline": True or False, # Whether or not the text is underlined. |
| 12968 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 12969 | }, |
| 12970 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 12971 | # For any field set to true, there is a new suggested value. |
| 12972 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 12973 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 12974 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 12975 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 12976 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 12977 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 12978 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 12979 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 12980 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 12981 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 12982 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 12983 | }, |
| 12984 | }, |
| 12985 | }, |
| 12986 | "type": "A String", # The type of this auto text. |
| 12987 | "suggestedInsertionIds": [ # The suggested insertion IDs. An AutoText |
| 12988 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 12989 | # empty, then this is not a suggested insertion. |
| 12990 | "A String", |
| 12991 | ], |
| 12992 | }, |
| 12993 | "inlineObjectElement": { # A ParagraphElement that contains # An inline object paragraph element. |
| 12994 | # an InlineObject. |
| 12995 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this InlineObjectElement. |
| 12996 | # |
| 12997 | # Similar to text content, like text runs and footnote references, the text |
| 12998 | # style of an inline object element can affect content layout as well as the |
| 12999 | # styling of text inserted adjacent to it. |
| 13000 | # |
| 13001 | # Inherited text styles are represented as unset fields in this message. A |
| 13002 | # text style's parent depends on where the text style is defined: |
| 13003 | # |
| 13004 | # * The TextStyle of text in a Paragraph |
| 13005 | # inherits from the paragraph's corresponding named style type. |
| 13006 | # * The TextStyle on a named style |
| 13007 | # inherits from the normal text named style. |
| 13008 | # * The TextStyle of the normal text named style inherits |
| 13009 | # from the default text style in the Docs editor. |
| 13010 | # * The TextStyle on a Paragraph element |
| 13011 | # that is contained in a table may inherit its text style from the table |
| 13012 | # style. |
| 13013 | # |
| 13014 | # If the text style does not inherit from a parent, unsetting fields will |
| 13015 | # revert the style to a value matching the defaults in the Docs editor. |
| 13016 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 13017 | # or transparent, depending on the `color` field. |
| 13018 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 13019 | # a transparent color. |
| 13020 | "rgbColor": { # An RGB color. # The RGB color value. |
| 13021 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13022 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13023 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13024 | }, |
| 13025 | }, |
| 13026 | }, |
| 13027 | "italic": True or False, # Whether or not the text is italicized. |
| 13028 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 13029 | # |
| 13030 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 13031 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 13032 | # The `font_size` itself is not affected by changes in this field. |
| 13033 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 13034 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 13035 | # |
| 13036 | # If an update request specifies values for both `weighted_font_family` and |
| 13037 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 13038 | # |
| 13039 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 13040 | # |
| 13041 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 13042 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 13043 | # is returned. |
| 13044 | "fontFamily": "A String", # The font family of the text. |
| 13045 | # |
| 13046 | # The font family can be any font from the Font menu in Docs or from |
| 13047 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 13048 | # unrecognized, the text is rendered in `Arial`. |
| 13049 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 13050 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 13051 | # numerical values described in the CSS 2.1 Specification, |
| 13052 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 13053 | # non-numerical values disallowed. |
| 13054 | # |
| 13055 | # The default value is `400` ("normal"). |
| 13056 | # |
| 13057 | # The font weight makes up just one component of the rendered font weight. |
| 13058 | # The rendered weight is determined by a combination of the `weight` and the |
| 13059 | # text style's resolved `bold` value, after accounting for inheritance: |
| 13060 | # |
| 13061 | # * If the text is bold and the weight is less than `400`, the rendered |
| 13062 | # weight is 400. |
| 13063 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 13064 | # is less than `700`, the rendered weight is `700`. |
| 13065 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 13066 | # equal to the weight. |
| 13067 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 13068 | }, |
| 13069 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 13070 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 13071 | "magnitude": 3.14, # The magnitude. |
| 13072 | "unit": "A String", # The units for magnitude. |
| 13073 | }, |
| 13074 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 13075 | # or transparent, depending on the `color` field. |
| 13076 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 13077 | # a transparent color. |
| 13078 | "rgbColor": { # An RGB color. # The RGB color value. |
| 13079 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13080 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13081 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13082 | }, |
| 13083 | }, |
| 13084 | }, |
| 13085 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 13086 | # are not inherited from parent text. |
| 13087 | # |
| 13088 | # Changing the link in an update request causes some other changes to the |
| 13089 | # text style of the range: |
| 13090 | # |
| 13091 | # * When setting a link, the text foreground color will be updated to the |
| 13092 | # default link color and the text will be underlined. If these fields are |
| 13093 | # modified in the same request, those values will be used instead of the |
| 13094 | # link defaults. |
| 13095 | # * Setting a link on a text range that overlaps with an existing link will |
| 13096 | # also update the existing link to point to the new URL. |
| 13097 | # * Links are not settable on newline characters. As a result, setting a link |
| 13098 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 13099 | # will separate the newline character(s) into their own text runs. The |
| 13100 | # link will be applied separately to the runs before and after the newline. |
| 13101 | # * Removing a link will update the text style of the range to match the |
| 13102 | # style of the preceding text (or the default text styles if the preceding |
| 13103 | # text is another link) unless different styles are being set in the same |
| 13104 | # request. |
| 13105 | "headingId": "A String", # The ID of a heading in this document. |
| 13106 | "url": "A String", # An external URL. |
| 13107 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 13108 | }, |
| 13109 | "underline": True or False, # Whether or not the text is underlined. |
| 13110 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 13111 | }, |
| 13112 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 13113 | # of this content. |
| 13114 | "A String", |
| 13115 | ], |
| 13116 | "suggestedTextStyleChanges": { # The suggested text style changes to this InlineObject, keyed by suggestion |
| 13117 | # ID. |
| 13118 | "a_key": { # A suggested change to a TextStyle. |
| 13119 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 13120 | # the changes made in this suggestion. This can be used along with the |
| 13121 | # text_style_suggestion_state |
| 13122 | # to see which fields have changed and their new values. |
| 13123 | # |
| 13124 | # Inherited text styles are represented as unset fields in this message. A |
| 13125 | # text style's parent depends on where the text style is defined: |
| 13126 | # |
| 13127 | # * The TextStyle of text in a Paragraph |
| 13128 | # inherits from the paragraph's corresponding named style type. |
| 13129 | # * The TextStyle on a named style |
| 13130 | # inherits from the normal text named style. |
| 13131 | # * The TextStyle of the normal text named style inherits |
| 13132 | # from the default text style in the Docs editor. |
| 13133 | # * The TextStyle on a Paragraph element |
| 13134 | # that is contained in a table may inherit its text style from the table |
| 13135 | # style. |
| 13136 | # |
| 13137 | # If the text style does not inherit from a parent, unsetting fields will |
| 13138 | # revert the style to a value matching the defaults in the Docs editor. |
| 13139 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 13140 | # or transparent, depending on the `color` field. |
| 13141 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 13142 | # a transparent color. |
| 13143 | "rgbColor": { # An RGB color. # The RGB color value. |
| 13144 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13145 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13146 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13147 | }, |
| 13148 | }, |
| 13149 | }, |
| 13150 | "italic": True or False, # Whether or not the text is italicized. |
| 13151 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 13152 | # |
| 13153 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 13154 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 13155 | # The `font_size` itself is not affected by changes in this field. |
| 13156 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 13157 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 13158 | # |
| 13159 | # If an update request specifies values for both `weighted_font_family` and |
| 13160 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 13161 | # |
| 13162 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 13163 | # |
| 13164 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 13165 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 13166 | # is returned. |
| 13167 | "fontFamily": "A String", # The font family of the text. |
| 13168 | # |
| 13169 | # The font family can be any font from the Font menu in Docs or from |
| 13170 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 13171 | # unrecognized, the text is rendered in `Arial`. |
| 13172 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 13173 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 13174 | # numerical values described in the CSS 2.1 Specification, |
| 13175 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 13176 | # non-numerical values disallowed. |
| 13177 | # |
| 13178 | # The default value is `400` ("normal"). |
| 13179 | # |
| 13180 | # The font weight makes up just one component of the rendered font weight. |
| 13181 | # The rendered weight is determined by a combination of the `weight` and the |
| 13182 | # text style's resolved `bold` value, after accounting for inheritance: |
| 13183 | # |
| 13184 | # * If the text is bold and the weight is less than `400`, the rendered |
| 13185 | # weight is 400. |
| 13186 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 13187 | # is less than `700`, the rendered weight is `700`. |
| 13188 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 13189 | # equal to the weight. |
| 13190 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 13191 | }, |
| 13192 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 13193 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 13194 | "magnitude": 3.14, # The magnitude. |
| 13195 | "unit": "A String", # The units for magnitude. |
| 13196 | }, |
| 13197 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 13198 | # or transparent, depending on the `color` field. |
| 13199 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 13200 | # a transparent color. |
| 13201 | "rgbColor": { # An RGB color. # The RGB color value. |
| 13202 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13203 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13204 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13205 | }, |
| 13206 | }, |
| 13207 | }, |
| 13208 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 13209 | # are not inherited from parent text. |
| 13210 | # |
| 13211 | # Changing the link in an update request causes some other changes to the |
| 13212 | # text style of the range: |
| 13213 | # |
| 13214 | # * When setting a link, the text foreground color will be updated to the |
| 13215 | # default link color and the text will be underlined. If these fields are |
| 13216 | # modified in the same request, those values will be used instead of the |
| 13217 | # link defaults. |
| 13218 | # * Setting a link on a text range that overlaps with an existing link will |
| 13219 | # also update the existing link to point to the new URL. |
| 13220 | # * Links are not settable on newline characters. As a result, setting a link |
| 13221 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 13222 | # will separate the newline character(s) into their own text runs. The |
| 13223 | # link will be applied separately to the runs before and after the newline. |
| 13224 | # * Removing a link will update the text style of the range to match the |
| 13225 | # style of the preceding text (or the default text styles if the preceding |
| 13226 | # text is another link) unless different styles are being set in the same |
| 13227 | # request. |
| 13228 | "headingId": "A String", # The ID of a heading in this document. |
| 13229 | "url": "A String", # An external URL. |
| 13230 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 13231 | }, |
| 13232 | "underline": True or False, # Whether or not the text is underlined. |
| 13233 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 13234 | }, |
| 13235 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 13236 | # For any field set to true, there is a new suggested value. |
| 13237 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 13238 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 13239 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 13240 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 13241 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 13242 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 13243 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 13244 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 13245 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 13246 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 13247 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 13248 | }, |
| 13249 | }, |
| 13250 | }, |
| 13251 | "inlineObjectId": "A String", # The ID of the InlineObject this |
| 13252 | # element contains. |
| 13253 | "suggestedInsertionIds": [ # The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs |
| 13254 | # if it is a nested suggested change. If empty, then this is not a suggested |
| 13255 | # insertion. |
| 13256 | "A String", |
| 13257 | ], |
| 13258 | }, |
| 13259 | "footnoteReference": { # A ParagraphElement representing a # A footnote reference paragraph element. |
| 13260 | # footnote reference. A footnote reference is the inline content rendered with |
| 13261 | # a number and is used to identify the footnote. |
| 13262 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this FootnoteReference. |
| 13263 | # |
| 13264 | # Inherited text styles are represented as unset fields in this message. A |
| 13265 | # text style's parent depends on where the text style is defined: |
| 13266 | # |
| 13267 | # * The TextStyle of text in a Paragraph |
| 13268 | # inherits from the paragraph's corresponding named style type. |
| 13269 | # * The TextStyle on a named style |
| 13270 | # inherits from the normal text named style. |
| 13271 | # * The TextStyle of the normal text named style inherits |
| 13272 | # from the default text style in the Docs editor. |
| 13273 | # * The TextStyle on a Paragraph element |
| 13274 | # that is contained in a table may inherit its text style from the table |
| 13275 | # style. |
| 13276 | # |
| 13277 | # If the text style does not inherit from a parent, unsetting fields will |
| 13278 | # revert the style to a value matching the defaults in the Docs editor. |
| 13279 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 13280 | # or transparent, depending on the `color` field. |
| 13281 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 13282 | # a transparent color. |
| 13283 | "rgbColor": { # An RGB color. # The RGB color value. |
| 13284 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13285 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13286 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13287 | }, |
| 13288 | }, |
| 13289 | }, |
| 13290 | "italic": True or False, # Whether or not the text is italicized. |
| 13291 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 13292 | # |
| 13293 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 13294 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 13295 | # The `font_size` itself is not affected by changes in this field. |
| 13296 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 13297 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 13298 | # |
| 13299 | # If an update request specifies values for both `weighted_font_family` and |
| 13300 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 13301 | # |
| 13302 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 13303 | # |
| 13304 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 13305 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 13306 | # is returned. |
| 13307 | "fontFamily": "A String", # The font family of the text. |
| 13308 | # |
| 13309 | # The font family can be any font from the Font menu in Docs or from |
| 13310 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 13311 | # unrecognized, the text is rendered in `Arial`. |
| 13312 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 13313 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 13314 | # numerical values described in the CSS 2.1 Specification, |
| 13315 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 13316 | # non-numerical values disallowed. |
| 13317 | # |
| 13318 | # The default value is `400` ("normal"). |
| 13319 | # |
| 13320 | # The font weight makes up just one component of the rendered font weight. |
| 13321 | # The rendered weight is determined by a combination of the `weight` and the |
| 13322 | # text style's resolved `bold` value, after accounting for inheritance: |
| 13323 | # |
| 13324 | # * If the text is bold and the weight is less than `400`, the rendered |
| 13325 | # weight is 400. |
| 13326 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 13327 | # is less than `700`, the rendered weight is `700`. |
| 13328 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 13329 | # equal to the weight. |
| 13330 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 13331 | }, |
| 13332 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 13333 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 13334 | "magnitude": 3.14, # The magnitude. |
| 13335 | "unit": "A String", # The units for magnitude. |
| 13336 | }, |
| 13337 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 13338 | # or transparent, depending on the `color` field. |
| 13339 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 13340 | # a transparent color. |
| 13341 | "rgbColor": { # An RGB color. # The RGB color value. |
| 13342 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13343 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13344 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13345 | }, |
| 13346 | }, |
| 13347 | }, |
| 13348 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 13349 | # are not inherited from parent text. |
| 13350 | # |
| 13351 | # Changing the link in an update request causes some other changes to the |
| 13352 | # text style of the range: |
| 13353 | # |
| 13354 | # * When setting a link, the text foreground color will be updated to the |
| 13355 | # default link color and the text will be underlined. If these fields are |
| 13356 | # modified in the same request, those values will be used instead of the |
| 13357 | # link defaults. |
| 13358 | # * Setting a link on a text range that overlaps with an existing link will |
| 13359 | # also update the existing link to point to the new URL. |
| 13360 | # * Links are not settable on newline characters. As a result, setting a link |
| 13361 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 13362 | # will separate the newline character(s) into their own text runs. The |
| 13363 | # link will be applied separately to the runs before and after the newline. |
| 13364 | # * Removing a link will update the text style of the range to match the |
| 13365 | # style of the preceding text (or the default text styles if the preceding |
| 13366 | # text is another link) unless different styles are being set in the same |
| 13367 | # request. |
| 13368 | "headingId": "A String", # The ID of a heading in this document. |
| 13369 | "url": "A String", # An external URL. |
| 13370 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 13371 | }, |
| 13372 | "underline": True or False, # Whether or not the text is underlined. |
| 13373 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 13374 | }, |
| 13375 | "footnoteNumber": "A String", # The rendered number of this footnote. |
| 13376 | "suggestedInsertionIds": [ # The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if |
| 13377 | # it is a nested suggested change. If empty, then this is not a suggested |
| 13378 | # insertion. |
| 13379 | "A String", |
| 13380 | ], |
| 13381 | "footnoteId": "A String", # The ID of the footnote that |
| 13382 | # contains the content of this footnote reference. |
| 13383 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 13384 | # of this content. |
| 13385 | "A String", |
| 13386 | ], |
| 13387 | "suggestedTextStyleChanges": { # The suggested text style changes to this FootnoteReference, keyed by |
| 13388 | # suggestion ID. |
| 13389 | "a_key": { # A suggested change to a TextStyle. |
| 13390 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 13391 | # the changes made in this suggestion. This can be used along with the |
| 13392 | # text_style_suggestion_state |
| 13393 | # to see which fields have changed and their new values. |
| 13394 | # |
| 13395 | # Inherited text styles are represented as unset fields in this message. A |
| 13396 | # text style's parent depends on where the text style is defined: |
| 13397 | # |
| 13398 | # * The TextStyle of text in a Paragraph |
| 13399 | # inherits from the paragraph's corresponding named style type. |
| 13400 | # * The TextStyle on a named style |
| 13401 | # inherits from the normal text named style. |
| 13402 | # * The TextStyle of the normal text named style inherits |
| 13403 | # from the default text style in the Docs editor. |
| 13404 | # * The TextStyle on a Paragraph element |
| 13405 | # that is contained in a table may inherit its text style from the table |
| 13406 | # style. |
| 13407 | # |
| 13408 | # If the text style does not inherit from a parent, unsetting fields will |
| 13409 | # revert the style to a value matching the defaults in the Docs editor. |
| 13410 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 13411 | # or transparent, depending on the `color` field. |
| 13412 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 13413 | # a transparent color. |
| 13414 | "rgbColor": { # An RGB color. # The RGB color value. |
| 13415 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13416 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13417 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13418 | }, |
| 13419 | }, |
| 13420 | }, |
| 13421 | "italic": True or False, # Whether or not the text is italicized. |
| 13422 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 13423 | # |
| 13424 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 13425 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 13426 | # The `font_size` itself is not affected by changes in this field. |
| 13427 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 13428 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 13429 | # |
| 13430 | # If an update request specifies values for both `weighted_font_family` and |
| 13431 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 13432 | # |
| 13433 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 13434 | # |
| 13435 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 13436 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 13437 | # is returned. |
| 13438 | "fontFamily": "A String", # The font family of the text. |
| 13439 | # |
| 13440 | # The font family can be any font from the Font menu in Docs or from |
| 13441 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 13442 | # unrecognized, the text is rendered in `Arial`. |
| 13443 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 13444 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 13445 | # numerical values described in the CSS 2.1 Specification, |
| 13446 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 13447 | # non-numerical values disallowed. |
| 13448 | # |
| 13449 | # The default value is `400` ("normal"). |
| 13450 | # |
| 13451 | # The font weight makes up just one component of the rendered font weight. |
| 13452 | # The rendered weight is determined by a combination of the `weight` and the |
| 13453 | # text style's resolved `bold` value, after accounting for inheritance: |
| 13454 | # |
| 13455 | # * If the text is bold and the weight is less than `400`, the rendered |
| 13456 | # weight is 400. |
| 13457 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 13458 | # is less than `700`, the rendered weight is `700`. |
| 13459 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 13460 | # equal to the weight. |
| 13461 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 13462 | }, |
| 13463 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 13464 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 13465 | "magnitude": 3.14, # The magnitude. |
| 13466 | "unit": "A String", # The units for magnitude. |
| 13467 | }, |
| 13468 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 13469 | # or transparent, depending on the `color` field. |
| 13470 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 13471 | # a transparent color. |
| 13472 | "rgbColor": { # An RGB color. # The RGB color value. |
| 13473 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13474 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13475 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13476 | }, |
| 13477 | }, |
| 13478 | }, |
| 13479 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 13480 | # are not inherited from parent text. |
| 13481 | # |
| 13482 | # Changing the link in an update request causes some other changes to the |
| 13483 | # text style of the range: |
| 13484 | # |
| 13485 | # * When setting a link, the text foreground color will be updated to the |
| 13486 | # default link color and the text will be underlined. If these fields are |
| 13487 | # modified in the same request, those values will be used instead of the |
| 13488 | # link defaults. |
| 13489 | # * Setting a link on a text range that overlaps with an existing link will |
| 13490 | # also update the existing link to point to the new URL. |
| 13491 | # * Links are not settable on newline characters. As a result, setting a link |
| 13492 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 13493 | # will separate the newline character(s) into their own text runs. The |
| 13494 | # link will be applied separately to the runs before and after the newline. |
| 13495 | # * Removing a link will update the text style of the range to match the |
| 13496 | # style of the preceding text (or the default text styles if the preceding |
| 13497 | # text is another link) unless different styles are being set in the same |
| 13498 | # request. |
| 13499 | "headingId": "A String", # The ID of a heading in this document. |
| 13500 | "url": "A String", # An external URL. |
| 13501 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 13502 | }, |
| 13503 | "underline": True or False, # Whether or not the text is underlined. |
| 13504 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 13505 | }, |
| 13506 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 13507 | # For any field set to true, there is a new suggested value. |
| 13508 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 13509 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 13510 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 13511 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 13512 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 13513 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 13514 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 13515 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 13516 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 13517 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 13518 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 13519 | }, |
| 13520 | }, |
| 13521 | }, |
| 13522 | }, |
| 13523 | }, |
| 13524 | ], |
| 13525 | "suggestedPositionedObjectIds": { # The IDs of the positioned objects that are suggested to be attached to this |
| 13526 | # paragraph, keyed by suggestion ID. |
| 13527 | "a_key": { # A collection of object IDs. |
| 13528 | "objectIds": [ # The object IDs. |
| 13529 | "A String", |
| 13530 | ], |
| 13531 | }, |
| 13532 | }, |
| 13533 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 13534 | # belong to a list. |
| 13535 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 13536 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 13537 | "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| 13538 | # |
| 13539 | # Inherited text styles are represented as unset fields in this message. A |
| 13540 | # text style's parent depends on where the text style is defined: |
| 13541 | # |
| 13542 | # * The TextStyle of text in a Paragraph |
| 13543 | # inherits from the paragraph's corresponding named style type. |
| 13544 | # * The TextStyle on a named style |
| 13545 | # inherits from the normal text named style. |
| 13546 | # * The TextStyle of the normal text named style inherits |
| 13547 | # from the default text style in the Docs editor. |
| 13548 | # * The TextStyle on a Paragraph element |
| 13549 | # that is contained in a table may inherit its text style from the table |
| 13550 | # style. |
| 13551 | # |
| 13552 | # If the text style does not inherit from a parent, unsetting fields will |
| 13553 | # revert the style to a value matching the defaults in the Docs editor. |
| 13554 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 13555 | # or transparent, depending on the `color` field. |
| 13556 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 13557 | # a transparent color. |
| 13558 | "rgbColor": { # An RGB color. # The RGB color value. |
| 13559 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13560 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13561 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13562 | }, |
| 13563 | }, |
| 13564 | }, |
| 13565 | "italic": True or False, # Whether or not the text is italicized. |
| 13566 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 13567 | # |
| 13568 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 13569 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 13570 | # The `font_size` itself is not affected by changes in this field. |
| 13571 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 13572 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 13573 | # |
| 13574 | # If an update request specifies values for both `weighted_font_family` and |
| 13575 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 13576 | # |
| 13577 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 13578 | # |
| 13579 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 13580 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 13581 | # is returned. |
| 13582 | "fontFamily": "A String", # The font family of the text. |
| 13583 | # |
| 13584 | # The font family can be any font from the Font menu in Docs or from |
| 13585 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 13586 | # unrecognized, the text is rendered in `Arial`. |
| 13587 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 13588 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 13589 | # numerical values described in the CSS 2.1 Specification, |
| 13590 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 13591 | # non-numerical values disallowed. |
| 13592 | # |
| 13593 | # The default value is `400` ("normal"). |
| 13594 | # |
| 13595 | # The font weight makes up just one component of the rendered font weight. |
| 13596 | # The rendered weight is determined by a combination of the `weight` and the |
| 13597 | # text style's resolved `bold` value, after accounting for inheritance: |
| 13598 | # |
| 13599 | # * If the text is bold and the weight is less than `400`, the rendered |
| 13600 | # weight is 400. |
| 13601 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 13602 | # is less than `700`, the rendered weight is `700`. |
| 13603 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 13604 | # equal to the weight. |
| 13605 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 13606 | }, |
| 13607 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 13608 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 13609 | "magnitude": 3.14, # The magnitude. |
| 13610 | "unit": "A String", # The units for magnitude. |
| 13611 | }, |
| 13612 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 13613 | # or transparent, depending on the `color` field. |
| 13614 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 13615 | # a transparent color. |
| 13616 | "rgbColor": { # An RGB color. # The RGB color value. |
| 13617 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13618 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13619 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13620 | }, |
| 13621 | }, |
| 13622 | }, |
| 13623 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 13624 | # are not inherited from parent text. |
| 13625 | # |
| 13626 | # Changing the link in an update request causes some other changes to the |
| 13627 | # text style of the range: |
| 13628 | # |
| 13629 | # * When setting a link, the text foreground color will be updated to the |
| 13630 | # default link color and the text will be underlined. If these fields are |
| 13631 | # modified in the same request, those values will be used instead of the |
| 13632 | # link defaults. |
| 13633 | # * Setting a link on a text range that overlaps with an existing link will |
| 13634 | # also update the existing link to point to the new URL. |
| 13635 | # * Links are not settable on newline characters. As a result, setting a link |
| 13636 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 13637 | # will separate the newline character(s) into their own text runs. The |
| 13638 | # link will be applied separately to the runs before and after the newline. |
| 13639 | # * Removing a link will update the text style of the range to match the |
| 13640 | # style of the preceding text (or the default text styles if the preceding |
| 13641 | # text is another link) unless different styles are being set in the same |
| 13642 | # request. |
| 13643 | "headingId": "A String", # The ID of a heading in this document. |
| 13644 | "url": "A String", # An external URL. |
| 13645 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 13646 | }, |
| 13647 | "underline": True or False, # Whether or not the text is underlined. |
| 13648 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 13649 | }, |
| 13650 | }, |
| 13651 | "suggestedBulletChanges": { # The suggested changes to this paragraph's bullet. |
| 13652 | "a_key": { # A suggested change to a Bullet. |
| 13653 | "bullet": { # Describes the bullet of a paragraph. # A Bullet that only includes the changes made |
| 13654 | # in this suggestion. This can be used along with the |
| 13655 | # bullet_suggestion_state to see which |
| 13656 | # fields have changed and their new values. |
| 13657 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 13658 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 13659 | "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| 13660 | # |
| 13661 | # Inherited text styles are represented as unset fields in this message. A |
| 13662 | # text style's parent depends on where the text style is defined: |
| 13663 | # |
| 13664 | # * The TextStyle of text in a Paragraph |
| 13665 | # inherits from the paragraph's corresponding named style type. |
| 13666 | # * The TextStyle on a named style |
| 13667 | # inherits from the normal text named style. |
| 13668 | # * The TextStyle of the normal text named style inherits |
| 13669 | # from the default text style in the Docs editor. |
| 13670 | # * The TextStyle on a Paragraph element |
| 13671 | # that is contained in a table may inherit its text style from the table |
| 13672 | # style. |
| 13673 | # |
| 13674 | # If the text style does not inherit from a parent, unsetting fields will |
| 13675 | # revert the style to a value matching the defaults in the Docs editor. |
| 13676 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 13677 | # or transparent, depending on the `color` field. |
| 13678 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 13679 | # a transparent color. |
| 13680 | "rgbColor": { # An RGB color. # The RGB color value. |
| 13681 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13682 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13683 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13684 | }, |
| 13685 | }, |
| 13686 | }, |
| 13687 | "italic": True or False, # Whether or not the text is italicized. |
| 13688 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 13689 | # |
| 13690 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 13691 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 13692 | # The `font_size` itself is not affected by changes in this field. |
| 13693 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 13694 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 13695 | # |
| 13696 | # If an update request specifies values for both `weighted_font_family` and |
| 13697 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 13698 | # |
| 13699 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 13700 | # |
| 13701 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 13702 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 13703 | # is returned. |
| 13704 | "fontFamily": "A String", # The font family of the text. |
| 13705 | # |
| 13706 | # The font family can be any font from the Font menu in Docs or from |
| 13707 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 13708 | # unrecognized, the text is rendered in `Arial`. |
| 13709 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 13710 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 13711 | # numerical values described in the CSS 2.1 Specification, |
| 13712 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 13713 | # non-numerical values disallowed. |
| 13714 | # |
| 13715 | # The default value is `400` ("normal"). |
| 13716 | # |
| 13717 | # The font weight makes up just one component of the rendered font weight. |
| 13718 | # The rendered weight is determined by a combination of the `weight` and the |
| 13719 | # text style's resolved `bold` value, after accounting for inheritance: |
| 13720 | # |
| 13721 | # * If the text is bold and the weight is less than `400`, the rendered |
| 13722 | # weight is 400. |
| 13723 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 13724 | # is less than `700`, the rendered weight is `700`. |
| 13725 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 13726 | # equal to the weight. |
| 13727 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 13728 | }, |
| 13729 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 13730 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 13731 | "magnitude": 3.14, # The magnitude. |
| 13732 | "unit": "A String", # The units for magnitude. |
| 13733 | }, |
| 13734 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 13735 | # or transparent, depending on the `color` field. |
| 13736 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 13737 | # a transparent color. |
| 13738 | "rgbColor": { # An RGB color. # The RGB color value. |
| 13739 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13740 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13741 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13742 | }, |
| 13743 | }, |
| 13744 | }, |
| 13745 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 13746 | # are not inherited from parent text. |
| 13747 | # |
| 13748 | # Changing the link in an update request causes some other changes to the |
| 13749 | # text style of the range: |
| 13750 | # |
| 13751 | # * When setting a link, the text foreground color will be updated to the |
| 13752 | # default link color and the text will be underlined. If these fields are |
| 13753 | # modified in the same request, those values will be used instead of the |
| 13754 | # link defaults. |
| 13755 | # * Setting a link on a text range that overlaps with an existing link will |
| 13756 | # also update the existing link to point to the new URL. |
| 13757 | # * Links are not settable on newline characters. As a result, setting a link |
| 13758 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 13759 | # will separate the newline character(s) into their own text runs. The |
| 13760 | # link will be applied separately to the runs before and after the newline. |
| 13761 | # * Removing a link will update the text style of the range to match the |
| 13762 | # style of the preceding text (or the default text styles if the preceding |
| 13763 | # text is another link) unless different styles are being set in the same |
| 13764 | # request. |
| 13765 | "headingId": "A String", # The ID of a heading in this document. |
| 13766 | "url": "A String", # An external URL. |
| 13767 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 13768 | }, |
| 13769 | "underline": True or False, # Whether or not the text is underlined. |
| 13770 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 13771 | }, |
| 13772 | }, |
| 13773 | "bulletSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| 13774 | # Bullet have been changed in this suggestion. |
| 13775 | # Bullet have been changed in this suggestion. |
| 13776 | # For any field set to true, there is a new suggested value. |
| 13777 | "nestingLevelSuggested": True or False, # Indicates if there was a suggested change to the |
| 13778 | # nesting_level. |
| 13779 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| 13780 | # suggestion. |
| 13781 | # For any field set to true, there is a new suggested value. |
| 13782 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 13783 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 13784 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 13785 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 13786 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 13787 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 13788 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 13789 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 13790 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 13791 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 13792 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 13793 | }, |
| 13794 | "listIdSuggested": True or False, # Indicates if there was a suggested change to the |
| 13795 | # list_id. |
| 13796 | }, |
| 13797 | }, |
| 13798 | }, |
| 13799 | "positionedObjectIds": [ # The IDs of the positioned objects tethered to this paragraph. |
| 13800 | "A String", |
| 13801 | ], |
| 13802 | "suggestedParagraphStyleChanges": { # The suggested paragraph style changes to this paragraph, keyed by |
| 13803 | # suggestion ID. |
| 13804 | "a_key": { # A suggested change to a |
| 13805 | # ParagraphStyle. |
| 13806 | "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. |
| 13807 | # For any field set to true, there is a new suggested value. |
| 13808 | "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| 13809 | "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| 13810 | "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| 13811 | "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| 13812 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 13813 | "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| 13814 | "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| 13815 | "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| 13816 | "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| 13817 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 13818 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 13819 | "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| 13820 | "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| 13821 | "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| 13822 | "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| 13823 | "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| 13824 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 13825 | "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| 13826 | "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| 13827 | "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| 13828 | # this suggestion. |
| 13829 | # suggested change. For any field set to true, there is a new suggested value. |
| 13830 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| 13831 | }, |
| 13832 | }, |
| 13833 | "paragraphStyle": { # Styles that apply to a whole paragraph. # A ParagraphStyle that only includes |
| 13834 | # the changes made in this suggestion. This can be used along with the |
| 13835 | # paragraph_suggestion_state |
| 13836 | # to see which fields have changed and their new values. |
| 13837 | # |
| 13838 | # Inherited paragraph styles are represented as unset fields in this message. |
| 13839 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 13840 | # |
| 13841 | # * The ParagraphStyle on a Paragraph |
| 13842 | # inherits from the paragraph's corresponding named style type. |
| 13843 | # * The ParagraphStyle on a named style |
| 13844 | # inherits from the normal text named style. |
| 13845 | # * The ParagraphStyle of the normal text named style inherits |
| 13846 | # from the default paragraph style in the Docs editor. |
| 13847 | # * The ParagraphStyle on a Paragraph |
| 13848 | # element that is contained in a table may inherit its paragraph style from |
| 13849 | # the table style. |
| 13850 | # |
| 13851 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 13852 | # revert the style to a value matching the defaults in the Docs editor. |
| 13853 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 13854 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 13855 | # LEFT_TO_RIGHT since |
| 13856 | # paragraph direction is not inherited. |
| 13857 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 13858 | # inherited from the parent. |
| 13859 | "magnitude": 3.14, # The magnitude. |
| 13860 | "unit": "A String", # The units for magnitude. |
| 13861 | }, |
| 13862 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 13863 | # page or column as the next paragraph if possible. If unset, the value is |
| 13864 | # inherited from the parent. |
| 13865 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 13866 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 13867 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 13868 | # is inherited from the parent. |
| 13869 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 13870 | # inherited from the parent. |
| 13871 | # |
| 13872 | # The bottom border is rendered when the paragraph below has different border |
| 13873 | # and indent properties. |
| 13874 | # |
| 13875 | # Paragraph borders cannot be partially updated. When making |
| 13876 | # changes to a paragraph border the new border must be specified in |
| 13877 | # its entirety. |
| 13878 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 13879 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 13880 | # a transparent color. |
| 13881 | "rgbColor": { # An RGB color. # The RGB color value. |
| 13882 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13883 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13884 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13885 | }, |
| 13886 | }, |
| 13887 | }, |
| 13888 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 13889 | "magnitude": 3.14, # The magnitude. |
| 13890 | "unit": "A String", # The units for magnitude. |
| 13891 | }, |
| 13892 | "dashStyle": "A String", # The dash style of the border. |
| 13893 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 13894 | "magnitude": 3.14, # The magnitude. |
| 13895 | "unit": "A String", # The units for magnitude. |
| 13896 | }, |
| 13897 | }, |
| 13898 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 13899 | # the start of the text, based on the current paragraph direction. If unset, |
| 13900 | # the value is inherited from the parent. |
| 13901 | "magnitude": 3.14, # The magnitude. |
| 13902 | "unit": "A String", # The units for magnitude. |
| 13903 | }, |
| 13904 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 13905 | # If unset, the value is inherited from the parent. |
| 13906 | # |
| 13907 | # The between border is rendered when the adjacent paragraph has the same |
| 13908 | # border and indent properties. |
| 13909 | # |
| 13910 | # Paragraph borders cannot be partially updated. When making |
| 13911 | # changes to a paragraph border the new border must be specified in |
| 13912 | # its entirety. |
| 13913 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 13914 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 13915 | # a transparent color. |
| 13916 | "rgbColor": { # An RGB color. # The RGB color value. |
| 13917 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13918 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13919 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13920 | }, |
| 13921 | }, |
| 13922 | }, |
| 13923 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 13924 | "magnitude": 3.14, # The magnitude. |
| 13925 | "unit": "A String", # The units for magnitude. |
| 13926 | }, |
| 13927 | "dashStyle": "A String", # The dash style of the border. |
| 13928 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 13929 | "magnitude": 3.14, # The magnitude. |
| 13930 | "unit": "A String", # The units for magnitude. |
| 13931 | }, |
| 13932 | }, |
| 13933 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 13934 | # |
| 13935 | # Since updating the named style type affects other properties within |
| 13936 | # ParagraphStyle, the named style type is applied before the other properties |
| 13937 | # are updated. |
| 13938 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 13939 | # from the parent. |
| 13940 | # |
| 13941 | # Paragraph borders cannot be partially updated. When making |
| 13942 | # changes to a paragraph border the new border must be specified in |
| 13943 | # its entirety. |
| 13944 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 13945 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 13946 | # a transparent color. |
| 13947 | "rgbColor": { # An RGB color. # The RGB color value. |
| 13948 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13949 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13950 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13951 | }, |
| 13952 | }, |
| 13953 | }, |
| 13954 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 13955 | "magnitude": 3.14, # The magnitude. |
| 13956 | "unit": "A String", # The units for magnitude. |
| 13957 | }, |
| 13958 | "dashStyle": "A String", # The dash style of the border. |
| 13959 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 13960 | "magnitude": 3.14, # The magnitude. |
| 13961 | "unit": "A String", # The units for magnitude. |
| 13962 | }, |
| 13963 | }, |
| 13964 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 13965 | # the end of the text, based on the current paragraph direction. If unset, |
| 13966 | # the value is inherited from the parent. |
| 13967 | "magnitude": 3.14, # The magnitude. |
| 13968 | "unit": "A String", # The units for magnitude. |
| 13969 | }, |
| 13970 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 13971 | # from the parent. |
| 13972 | # |
| 13973 | # Paragraph borders cannot be partially updated. When making |
| 13974 | # changes to a paragraph border the new border must be specified in |
| 13975 | # its entirety. |
| 13976 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 13977 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 13978 | # a transparent color. |
| 13979 | "rgbColor": { # An RGB color. # The RGB color value. |
| 13980 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 13981 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 13982 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 13983 | }, |
| 13984 | }, |
| 13985 | }, |
| 13986 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 13987 | "magnitude": 3.14, # The magnitude. |
| 13988 | "unit": "A String", # The units for magnitude. |
| 13989 | }, |
| 13990 | "dashStyle": "A String", # The dash style of the border. |
| 13991 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 13992 | "magnitude": 3.14, # The magnitude. |
| 13993 | "unit": "A String", # The units for magnitude. |
| 13994 | }, |
| 13995 | }, |
| 13996 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 13997 | # inherited from the parent. |
| 13998 | "magnitude": 3.14, # The magnitude. |
| 13999 | "unit": "A String", # The units for magnitude. |
| 14000 | }, |
| 14001 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 14002 | # heading. This property is read-only. |
| 14003 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 14004 | # parent. |
| 14005 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 14006 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 14007 | # a transparent color. |
| 14008 | "rgbColor": { # An RGB color. # The RGB color value. |
| 14009 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14010 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14011 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14012 | }, |
| 14013 | }, |
| 14014 | }, |
| 14015 | }, |
| 14016 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 14017 | # from the parent. |
| 14018 | # |
| 14019 | # The top border is rendered when the paragraph above has different border |
| 14020 | # and indent properties. |
| 14021 | # |
| 14022 | # Paragraph borders cannot be partially updated. When making |
| 14023 | # changes to a paragraph border the new border must be specified in |
| 14024 | # its entirety. |
| 14025 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 14026 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 14027 | # a transparent color. |
| 14028 | "rgbColor": { # An RGB color. # The RGB color value. |
| 14029 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14030 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14031 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14032 | }, |
| 14033 | }, |
| 14034 | }, |
| 14035 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 14036 | "magnitude": 3.14, # The magnitude. |
| 14037 | "unit": "A String", # The units for magnitude. |
| 14038 | }, |
| 14039 | "dashStyle": "A String", # The dash style of the border. |
| 14040 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 14041 | "magnitude": 3.14, # The magnitude. |
| 14042 | "unit": "A String", # The units for magnitude. |
| 14043 | }, |
| 14044 | }, |
| 14045 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 14046 | # inherited. This property is read-only. |
| 14047 | { # A tab stop within a paragraph. |
| 14048 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 14049 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 14050 | "magnitude": 3.14, # The magnitude. |
| 14051 | "unit": "A String", # The units for magnitude. |
| 14052 | }, |
| 14053 | }, |
| 14054 | ], |
| 14055 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 14056 | # the value is inherited from the parent. |
| 14057 | "magnitude": 3.14, # The magnitude. |
| 14058 | "unit": "A String", # The units for magnitude. |
| 14059 | }, |
| 14060 | "alignment": "A String", # The text alignment for this paragraph. |
| 14061 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 14062 | # column if possible. If unset, the value is inherited from the parent. |
| 14063 | }, |
| 14064 | }, |
| 14065 | }, |
| 14066 | "paragraphStyle": { # Styles that apply to a whole paragraph. # The style of this paragraph. |
| 14067 | # |
| 14068 | # Inherited paragraph styles are represented as unset fields in this message. |
| 14069 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 14070 | # |
| 14071 | # * The ParagraphStyle on a Paragraph |
| 14072 | # inherits from the paragraph's corresponding named style type. |
| 14073 | # * The ParagraphStyle on a named style |
| 14074 | # inherits from the normal text named style. |
| 14075 | # * The ParagraphStyle of the normal text named style inherits |
| 14076 | # from the default paragraph style in the Docs editor. |
| 14077 | # * The ParagraphStyle on a Paragraph |
| 14078 | # element that is contained in a table may inherit its paragraph style from |
| 14079 | # the table style. |
| 14080 | # |
| 14081 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 14082 | # revert the style to a value matching the defaults in the Docs editor. |
| 14083 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 14084 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 14085 | # LEFT_TO_RIGHT since |
| 14086 | # paragraph direction is not inherited. |
| 14087 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 14088 | # inherited from the parent. |
| 14089 | "magnitude": 3.14, # The magnitude. |
| 14090 | "unit": "A String", # The units for magnitude. |
| 14091 | }, |
| 14092 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 14093 | # page or column as the next paragraph if possible. If unset, the value is |
| 14094 | # inherited from the parent. |
| 14095 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 14096 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 14097 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 14098 | # is inherited from the parent. |
| 14099 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 14100 | # inherited from the parent. |
| 14101 | # |
| 14102 | # The bottom border is rendered when the paragraph below has different border |
| 14103 | # and indent properties. |
| 14104 | # |
| 14105 | # Paragraph borders cannot be partially updated. When making |
| 14106 | # changes to a paragraph border the new border must be specified in |
| 14107 | # its entirety. |
| 14108 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 14109 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 14110 | # a transparent color. |
| 14111 | "rgbColor": { # An RGB color. # The RGB color value. |
| 14112 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14113 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14114 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14115 | }, |
| 14116 | }, |
| 14117 | }, |
| 14118 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 14119 | "magnitude": 3.14, # The magnitude. |
| 14120 | "unit": "A String", # The units for magnitude. |
| 14121 | }, |
| 14122 | "dashStyle": "A String", # The dash style of the border. |
| 14123 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 14124 | "magnitude": 3.14, # The magnitude. |
| 14125 | "unit": "A String", # The units for magnitude. |
| 14126 | }, |
| 14127 | }, |
| 14128 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 14129 | # the start of the text, based on the current paragraph direction. If unset, |
| 14130 | # the value is inherited from the parent. |
| 14131 | "magnitude": 3.14, # The magnitude. |
| 14132 | "unit": "A String", # The units for magnitude. |
| 14133 | }, |
| 14134 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 14135 | # If unset, the value is inherited from the parent. |
| 14136 | # |
| 14137 | # The between border is rendered when the adjacent paragraph has the same |
| 14138 | # border and indent properties. |
| 14139 | # |
| 14140 | # Paragraph borders cannot be partially updated. When making |
| 14141 | # changes to a paragraph border the new border must be specified in |
| 14142 | # its entirety. |
| 14143 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 14144 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 14145 | # a transparent color. |
| 14146 | "rgbColor": { # An RGB color. # The RGB color value. |
| 14147 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14148 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14149 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14150 | }, |
| 14151 | }, |
| 14152 | }, |
| 14153 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 14154 | "magnitude": 3.14, # The magnitude. |
| 14155 | "unit": "A String", # The units for magnitude. |
| 14156 | }, |
| 14157 | "dashStyle": "A String", # The dash style of the border. |
| 14158 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 14159 | "magnitude": 3.14, # The magnitude. |
| 14160 | "unit": "A String", # The units for magnitude. |
| 14161 | }, |
| 14162 | }, |
| 14163 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 14164 | # |
| 14165 | # Since updating the named style type affects other properties within |
| 14166 | # ParagraphStyle, the named style type is applied before the other properties |
| 14167 | # are updated. |
| 14168 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 14169 | # from the parent. |
| 14170 | # |
| 14171 | # Paragraph borders cannot be partially updated. When making |
| 14172 | # changes to a paragraph border the new border must be specified in |
| 14173 | # its entirety. |
| 14174 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 14175 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 14176 | # a transparent color. |
| 14177 | "rgbColor": { # An RGB color. # The RGB color value. |
| 14178 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14179 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14180 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14181 | }, |
| 14182 | }, |
| 14183 | }, |
| 14184 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 14185 | "magnitude": 3.14, # The magnitude. |
| 14186 | "unit": "A String", # The units for magnitude. |
| 14187 | }, |
| 14188 | "dashStyle": "A String", # The dash style of the border. |
| 14189 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 14190 | "magnitude": 3.14, # The magnitude. |
| 14191 | "unit": "A String", # The units for magnitude. |
| 14192 | }, |
| 14193 | }, |
| 14194 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 14195 | # the end of the text, based on the current paragraph direction. If unset, |
| 14196 | # the value is inherited from the parent. |
| 14197 | "magnitude": 3.14, # The magnitude. |
| 14198 | "unit": "A String", # The units for magnitude. |
| 14199 | }, |
| 14200 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 14201 | # from the parent. |
| 14202 | # |
| 14203 | # Paragraph borders cannot be partially updated. When making |
| 14204 | # changes to a paragraph border the new border must be specified in |
| 14205 | # its entirety. |
| 14206 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 14207 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 14208 | # a transparent color. |
| 14209 | "rgbColor": { # An RGB color. # The RGB color value. |
| 14210 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14211 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14212 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14213 | }, |
| 14214 | }, |
| 14215 | }, |
| 14216 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 14217 | "magnitude": 3.14, # The magnitude. |
| 14218 | "unit": "A String", # The units for magnitude. |
| 14219 | }, |
| 14220 | "dashStyle": "A String", # The dash style of the border. |
| 14221 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 14222 | "magnitude": 3.14, # The magnitude. |
| 14223 | "unit": "A String", # The units for magnitude. |
| 14224 | }, |
| 14225 | }, |
| 14226 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 14227 | # inherited from the parent. |
| 14228 | "magnitude": 3.14, # The magnitude. |
| 14229 | "unit": "A String", # The units for magnitude. |
| 14230 | }, |
| 14231 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 14232 | # heading. This property is read-only. |
| 14233 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 14234 | # parent. |
| 14235 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 14236 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 14237 | # a transparent color. |
| 14238 | "rgbColor": { # An RGB color. # The RGB color value. |
| 14239 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14240 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14241 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14242 | }, |
| 14243 | }, |
| 14244 | }, |
| 14245 | }, |
| 14246 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 14247 | # from the parent. |
| 14248 | # |
| 14249 | # The top border is rendered when the paragraph above has different border |
| 14250 | # and indent properties. |
| 14251 | # |
| 14252 | # Paragraph borders cannot be partially updated. When making |
| 14253 | # changes to a paragraph border the new border must be specified in |
| 14254 | # its entirety. |
| 14255 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 14256 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 14257 | # a transparent color. |
| 14258 | "rgbColor": { # An RGB color. # The RGB color value. |
| 14259 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14260 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14261 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14262 | }, |
| 14263 | }, |
| 14264 | }, |
| 14265 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 14266 | "magnitude": 3.14, # The magnitude. |
| 14267 | "unit": "A String", # The units for magnitude. |
| 14268 | }, |
| 14269 | "dashStyle": "A String", # The dash style of the border. |
| 14270 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 14271 | "magnitude": 3.14, # The magnitude. |
| 14272 | "unit": "A String", # The units for magnitude. |
| 14273 | }, |
| 14274 | }, |
| 14275 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 14276 | # inherited. This property is read-only. |
| 14277 | { # A tab stop within a paragraph. |
| 14278 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 14279 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 14280 | "magnitude": 3.14, # The magnitude. |
| 14281 | "unit": "A String", # The units for magnitude. |
| 14282 | }, |
| 14283 | }, |
| 14284 | ], |
| 14285 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 14286 | # the value is inherited from the parent. |
| 14287 | "magnitude": 3.14, # The magnitude. |
| 14288 | "unit": "A String", # The units for magnitude. |
| 14289 | }, |
| 14290 | "alignment": "A String", # The text alignment for this paragraph. |
| 14291 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 14292 | # column if possible. If unset, the value is inherited from the parent. |
| 14293 | }, |
| 14294 | }, |
| 14295 | "table": { # A StructuralElement representing a # A table type of structural element. |
| 14296 | # table. |
| 14297 | "rows": 42, # Number of rows in the table. |
| 14298 | "tableStyle": { # Styles that apply to a table. # The style of the table. |
| 14299 | "tableColumnProperties": [ # The properties of each column. |
| 14300 | # |
| 14301 | # Note that in Docs, tables contain rows and rows contain cells, similar to |
| 14302 | # HTML. So the properties for a row can be found on the row's |
| 14303 | # table_row_style. |
| 14304 | { # The properties of a column in a table. |
| 14305 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| 14306 | # FIXED_WIDTH. |
| 14307 | "magnitude": 3.14, # The magnitude. |
| 14308 | "unit": "A String", # The units for magnitude. |
| 14309 | }, |
| 14310 | "widthType": "A String", # The width type of the column. |
| 14311 | }, |
| 14312 | ], |
| 14313 | }, |
| 14314 | "suggestedInsertionIds": [ # The suggested insertion IDs. A Table may have |
| 14315 | # multiple insertion IDs if it is a nested suggested change. If empty, then |
| 14316 | # this is not a suggested insertion. |
| 14317 | "A String", |
| 14318 | ], |
| 14319 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 14320 | # of this content. |
| 14321 | "A String", |
| 14322 | ], |
| 14323 | "tableRows": [ # The contents and style of each row. |
| 14324 | { # The contents and style of a row in a Table. |
| 14325 | "endIndex": 42, # The zero-based end index of this row, exclusive, in UTF-16 code units. |
| 14326 | "tableCells": [ # The contents and style of each cell in this row. |
| 14327 | # |
| 14328 | # It is possible for a table to be non-rectangular, so some rows may have a |
| 14329 | # different number of cells than other rows in the same table. |
| 14330 | { # The contents and style of a cell in a Table. |
| 14331 | "endIndex": 42, # The zero-based end index of this cell, exclusive, in UTF-16 code units. |
| 14332 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 14333 | # of this content. |
| 14334 | "A String", |
| 14335 | ], |
| 14336 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableCell |
| 14337 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 14338 | # empty, then this is not a suggested insertion. |
| 14339 | "A String", |
| 14340 | ], |
| 14341 | "content": [ # The content of the cell. |
| 14342 | # Object with schema name: StructuralElement |
| 14343 | ], |
| 14344 | "tableCellStyle": { # The style of a TableCell. # The style of the cell. |
| 14345 | # |
| 14346 | # Inherited table cell styles are represented as unset fields in this message. |
| 14347 | # A table cell style can inherit from the table's style. |
| 14348 | "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| 14349 | "magnitude": 3.14, # The magnitude. |
| 14350 | "unit": "A String", # The units for magnitude. |
| 14351 | }, |
| 14352 | "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| 14353 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 14354 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 14355 | # a transparent color. |
| 14356 | "rgbColor": { # An RGB color. # The RGB color value. |
| 14357 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14358 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14359 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14360 | }, |
| 14361 | }, |
| 14362 | }, |
| 14363 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 14364 | "magnitude": 3.14, # The magnitude. |
| 14365 | "unit": "A String", # The units for magnitude. |
| 14366 | }, |
| 14367 | "dashStyle": "A String", # The dash style of the border. |
| 14368 | }, |
| 14369 | "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| 14370 | "magnitude": 3.14, # The magnitude. |
| 14371 | "unit": "A String", # The units for magnitude. |
| 14372 | }, |
| 14373 | "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| 14374 | "magnitude": 3.14, # The magnitude. |
| 14375 | "unit": "A String", # The units for magnitude. |
| 14376 | }, |
| 14377 | "borderLeft": { # A border around a table cell. # The left border of the cell. |
| 14378 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 14379 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 14380 | # a transparent color. |
| 14381 | "rgbColor": { # An RGB color. # The RGB color value. |
| 14382 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14383 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14384 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14385 | }, |
| 14386 | }, |
| 14387 | }, |
| 14388 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 14389 | "magnitude": 3.14, # The magnitude. |
| 14390 | "unit": "A String", # The units for magnitude. |
| 14391 | }, |
| 14392 | "dashStyle": "A String", # The dash style of the border. |
| 14393 | }, |
| 14394 | "columnSpan": 42, # The column span of the cell. This property is read-only. |
| 14395 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| 14396 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 14397 | # a transparent color. |
| 14398 | "rgbColor": { # An RGB color. # The RGB color value. |
| 14399 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14400 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14401 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14402 | }, |
| 14403 | }, |
| 14404 | }, |
| 14405 | "borderRight": { # A border around a table cell. # The right border of the cell. |
| 14406 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 14407 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 14408 | # a transparent color. |
| 14409 | "rgbColor": { # An RGB color. # The RGB color value. |
| 14410 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14411 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14412 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14413 | }, |
| 14414 | }, |
| 14415 | }, |
| 14416 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 14417 | "magnitude": 3.14, # The magnitude. |
| 14418 | "unit": "A String", # The units for magnitude. |
| 14419 | }, |
| 14420 | "dashStyle": "A String", # The dash style of the border. |
| 14421 | }, |
| 14422 | "rowSpan": 42, # The row span of the cell. This property is read-only. |
| 14423 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 14424 | # matches the alignment for newly created table cells in the Docs editor. |
| 14425 | "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| 14426 | "magnitude": 3.14, # The magnitude. |
| 14427 | "unit": "A String", # The units for magnitude. |
| 14428 | }, |
| 14429 | "borderTop": { # A border around a table cell. # The top border of the cell. |
| 14430 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 14431 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 14432 | # a transparent color. |
| 14433 | "rgbColor": { # An RGB color. # The RGB color value. |
| 14434 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14435 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14436 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14437 | }, |
| 14438 | }, |
| 14439 | }, |
| 14440 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 14441 | "magnitude": 3.14, # The magnitude. |
| 14442 | "unit": "A String", # The units for magnitude. |
| 14443 | }, |
| 14444 | "dashStyle": "A String", # The dash style of the border. |
| 14445 | }, |
| 14446 | }, |
| 14447 | "startIndex": 42, # The zero-based start index of this cell, in UTF-16 code units. |
| 14448 | "suggestedTableCellStyleChanges": { # The suggested changes to the table cell style, keyed by suggestion ID. |
| 14449 | "a_key": { # A suggested change to a TableCellStyle. |
| 14450 | "tableCellStyle": { # The style of a TableCell. # A TableCellStyle that only includes |
| 14451 | # the changes made in this suggestion. This can be used along with the |
| 14452 | # table_cell_style_suggestion_state |
| 14453 | # to see which fields have changed and their new values. |
| 14454 | # |
| 14455 | # Inherited table cell styles are represented as unset fields in this message. |
| 14456 | # A table cell style can inherit from the table's style. |
| 14457 | "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| 14458 | "magnitude": 3.14, # The magnitude. |
| 14459 | "unit": "A String", # The units for magnitude. |
| 14460 | }, |
| 14461 | "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| 14462 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 14463 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 14464 | # a transparent color. |
| 14465 | "rgbColor": { # An RGB color. # The RGB color value. |
| 14466 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14467 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14468 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14469 | }, |
| 14470 | }, |
| 14471 | }, |
| 14472 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 14473 | "magnitude": 3.14, # The magnitude. |
| 14474 | "unit": "A String", # The units for magnitude. |
| 14475 | }, |
| 14476 | "dashStyle": "A String", # The dash style of the border. |
| 14477 | }, |
| 14478 | "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| 14479 | "magnitude": 3.14, # The magnitude. |
| 14480 | "unit": "A String", # The units for magnitude. |
| 14481 | }, |
| 14482 | "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| 14483 | "magnitude": 3.14, # The magnitude. |
| 14484 | "unit": "A String", # The units for magnitude. |
| 14485 | }, |
| 14486 | "borderLeft": { # A border around a table cell. # The left border of the cell. |
| 14487 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 14488 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 14489 | # a transparent color. |
| 14490 | "rgbColor": { # An RGB color. # The RGB color value. |
| 14491 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14492 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14493 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14494 | }, |
| 14495 | }, |
| 14496 | }, |
| 14497 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 14498 | "magnitude": 3.14, # The magnitude. |
| 14499 | "unit": "A String", # The units for magnitude. |
| 14500 | }, |
| 14501 | "dashStyle": "A String", # The dash style of the border. |
| 14502 | }, |
| 14503 | "columnSpan": 42, # The column span of the cell. This property is read-only. |
| 14504 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| 14505 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 14506 | # a transparent color. |
| 14507 | "rgbColor": { # An RGB color. # The RGB color value. |
| 14508 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14509 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14510 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14511 | }, |
| 14512 | }, |
| 14513 | }, |
| 14514 | "borderRight": { # A border around a table cell. # The right border of the cell. |
| 14515 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 14516 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 14517 | # a transparent color. |
| 14518 | "rgbColor": { # An RGB color. # The RGB color value. |
| 14519 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14520 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14521 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14522 | }, |
| 14523 | }, |
| 14524 | }, |
| 14525 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 14526 | "magnitude": 3.14, # The magnitude. |
| 14527 | "unit": "A String", # The units for magnitude. |
| 14528 | }, |
| 14529 | "dashStyle": "A String", # The dash style of the border. |
| 14530 | }, |
| 14531 | "rowSpan": 42, # The row span of the cell. This property is read-only. |
| 14532 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 14533 | # matches the alignment for newly created table cells in the Docs editor. |
| 14534 | "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| 14535 | "magnitude": 3.14, # The magnitude. |
| 14536 | "unit": "A String", # The units for magnitude. |
| 14537 | }, |
| 14538 | "borderTop": { # A border around a table cell. # The top border of the cell. |
| 14539 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 14540 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 14541 | # a transparent color. |
| 14542 | "rgbColor": { # An RGB color. # The RGB color value. |
| 14543 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14544 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14545 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14546 | }, |
| 14547 | }, |
| 14548 | }, |
| 14549 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 14550 | "magnitude": 3.14, # The magnitude. |
| 14551 | "unit": "A String", # The units for magnitude. |
| 14552 | }, |
| 14553 | "dashStyle": "A String", # The dash style of the border. |
| 14554 | }, |
| 14555 | }, |
| 14556 | "tableCellStyleSuggestionState": { # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. |
| 14557 | # For any field set to true, there is a new suggested value. |
| 14558 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 14559 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 14560 | "paddingBottomSuggested": True or False, # Indicates if there was a suggested change to padding_bottom. |
| 14561 | "contentAlignmentSuggested": True or False, # Indicates if there was a suggested change to content_alignment. |
| 14562 | "rowSpanSuggested": True or False, # Indicates if there was a suggested change to row_span. |
| 14563 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 14564 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 14565 | "columnSpanSuggested": True or False, # Indicates if there was a suggested change to column_span. |
| 14566 | "paddingRightSuggested": True or False, # Indicates if there was a suggested change to padding_right. |
| 14567 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 14568 | "paddingLeftSuggested": True or False, # Indicates if there was a suggested change to padding_left. |
| 14569 | "paddingTopSuggested": True or False, # Indicates if there was a suggested change to padding_top. |
| 14570 | }, |
| 14571 | }, |
| 14572 | }, |
| 14573 | }, |
| 14574 | ], |
| 14575 | "tableRowStyle": { # Styles that apply to a table row. # The style of the table row. |
| 14576 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 14577 | # at a height equal to or greater than this value in order to show all the |
| 14578 | # content in the row's cells. |
| 14579 | "magnitude": 3.14, # The magnitude. |
| 14580 | "unit": "A String", # The units for magnitude. |
| 14581 | }, |
| 14582 | }, |
| 14583 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableRow |
| 14584 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 14585 | # empty, then this is not a suggested insertion. |
| 14586 | "A String", |
| 14587 | ], |
| 14588 | "startIndex": 42, # The zero-based start index of this row, in UTF-16 code units. |
| 14589 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 14590 | # of this content. |
| 14591 | "A String", |
| 14592 | ], |
| 14593 | "suggestedTableRowStyleChanges": { # The suggested style changes to this row, keyed by suggestion ID. |
| 14594 | "a_key": { # A suggested change to a |
| 14595 | # TableRowStyle. |
| 14596 | "tableRowStyle": { # Styles that apply to a table row. # A TableRowStyle that only includes |
| 14597 | # the changes made in this suggestion. This can be used along with the |
| 14598 | # table_row_style_suggestion_state |
| 14599 | # to see which fields have changed and their new values. |
| 14600 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 14601 | # at a height equal to or greater than this value in order to show all the |
| 14602 | # content in the row's cells. |
| 14603 | "magnitude": 3.14, # The magnitude. |
| 14604 | "unit": "A String", # The units for magnitude. |
| 14605 | }, |
| 14606 | }, |
| 14607 | "tableRowStyleSuggestionState": { # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. |
| 14608 | # For any field set to true, there is a new suggested value. |
| 14609 | "minRowHeightSuggested": True or False, # Indicates if there was a suggested change to min_row_height. |
| 14610 | }, |
| 14611 | }, |
| 14612 | }, |
| 14613 | }, |
| 14614 | ], |
| 14615 | "columns": 42, # Number of columns in the table. |
| 14616 | # |
| 14617 | # It is possible for a table to be non-rectangular, so some rows may have a |
| 14618 | # different number of cells. |
| 14619 | }, |
| 14620 | }, |
| 14621 | ], |
| 14622 | "footnoteId": "A String", # The ID of the footnote. |
| 14623 | }, |
| 14624 | }, |
| 14625 | "positionedObjects": { # The positioned objects in the document, keyed by object ID. |
| 14626 | "a_key": { # An object that is tethered to a Paragraph |
| 14627 | # and positioned relative to the beginning of the paragraph. A PositionedObject |
| 14628 | # contains an EmbeddedObject such as an |
| 14629 | # image. |
| 14630 | "positionedObjectProperties": { # Properties of a PositionedObject. # The properties of this positioned object. |
| 14631 | "positioning": { # The positioning of a PositionedObject. The positioned object is positioned # The positioning of this positioned object relative to the newline of the |
| 14632 | # Paragraph that references this positioned |
| 14633 | # object. |
| 14634 | # relative to the beginning of the Paragraph |
| 14635 | # it is tethered to. |
| 14636 | "leftOffset": { # A magnitude in a single direction in the specified units. # The offset of the left edge of the positioned object relative to the |
| 14637 | # beginning of the Paragraph it is tethered |
| 14638 | # to. The exact positioning of the object can depend on other content in the |
| 14639 | # document and the document's styling. |
| 14640 | "magnitude": 3.14, # The magnitude. |
| 14641 | "unit": "A String", # The units for magnitude. |
| 14642 | }, |
| 14643 | "topOffset": { # A magnitude in a single direction in the specified units. # The offset of the top edge of the positioned object relative to the |
| 14644 | # beginning of the Paragraph it is tethered |
| 14645 | # to. The exact positioning of the object can depend on other content in the |
| 14646 | # document and the document's styling. |
| 14647 | "magnitude": 3.14, # The magnitude. |
| 14648 | "unit": "A String", # The units for magnitude. |
| 14649 | }, |
| 14650 | "layout": "A String", # The layout of this positioned object. |
| 14651 | }, |
| 14652 | "embeddedObject": { # An embedded object in the document. # The embedded object of this positioned object. |
| 14653 | "imageProperties": { # The properties of an image. # The properties of an image. |
| 14654 | "angle": 3.14, # The clockwise rotation angle of the image, in radians. |
| 14655 | "contentUri": "A String", # A URI to the image with a default lifetime of 30 minutes. |
| 14656 | # This URI is tagged with the account of the requester. Anyone with the URI |
| 14657 | # effectively accesses the image as the original requester. Access to the |
| 14658 | # image may be lost if the document's sharing settings change. |
| 14659 | "sourceUri": "A String", # The source URI is the URI used to insert the image. The source URI can be |
| 14660 | # empty. |
| 14661 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 14662 | # [-1.0, 1.0], where 0 means no effect. |
| 14663 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 14664 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 14665 | "cropProperties": { # The crop properties of an image. # The crop properties of the image. |
| 14666 | # |
| 14667 | # The crop rectangle is represented using fractional offsets from the original |
| 14668 | # content's four edges. |
| 14669 | # |
| 14670 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 14671 | # rectangle is positioned inside of the image's original bounding rectangle. |
| 14672 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 14673 | # rectangle is positioned outside of the image's original bounding rectangle. |
| 14674 | # - If all offsets and rotation angle are 0, the image is not cropped. |
| 14675 | "offsetBottom": 3.14, # The offset specifies how far inwards the bottom edge of the crop rectangle |
| 14676 | # is from the bottom edge of the original content as a fraction of the |
| 14677 | # original content's height. |
| 14678 | "angle": 3.14, # The clockwise rotation angle of the crop rectangle around its center, in |
| 14679 | # radians. Rotation is applied after the offsets. |
| 14680 | "offsetLeft": 3.14, # The offset specifies how far inwards the left edge of the crop rectangle is |
| 14681 | # from the left edge of the original content as a fraction of the original |
| 14682 | # content's width. |
| 14683 | "offsetRight": 3.14, # The offset specifies how far inwards the right edge of the crop rectangle |
| 14684 | # is from the right edge of the original content as a fraction of the |
| 14685 | # original content's width. |
| 14686 | "offsetTop": 3.14, # The offset specifies how far inwards the top edge of the crop rectangle is |
| 14687 | # from the top edge of the original content as a fraction of the original |
| 14688 | # content's height. |
| 14689 | }, |
| 14690 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 14691 | # [-1.0, 1.0], where 0 means no effect. |
| 14692 | }, |
| 14693 | "description": "A String", # The description of the embedded object. The `title` and `description` are |
| 14694 | # both combined to display alt text. |
| 14695 | "title": "A String", # The title of the embedded object. The `title` and `description` are both |
| 14696 | # combined to display alt text. |
| 14697 | "embeddedDrawingProperties": { # The properties of an embedded drawing. # The properties of an embedded drawing. |
| 14698 | }, |
| 14699 | "linkedContentReference": { # A reference to the external linked source content. # A reference to the external linked source content. For example, it contains |
| 14700 | # a reference to the source Sheets chart when the embedded object is a linked |
| 14701 | # chart. |
| 14702 | # |
| 14703 | # If unset, then the embedded object is not linked. |
| 14704 | "sheetsChartReference": { # A reference to a linked chart embedded from Google Sheets. # A reference to the linked chart. |
| 14705 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| 14706 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 14707 | # embedded. |
| 14708 | }, |
| 14709 | }, |
| 14710 | "embeddedObjectBorder": { # A border around an EmbeddedObject. # The border of the embedded object. |
| 14711 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 14712 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 14713 | # a transparent color. |
| 14714 | "rgbColor": { # An RGB color. # The RGB color value. |
| 14715 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14716 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14717 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14718 | }, |
| 14719 | }, |
| 14720 | }, |
| 14721 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 14722 | "magnitude": 3.14, # The magnitude. |
| 14723 | "unit": "A String", # The units for magnitude. |
| 14724 | }, |
| 14725 | "dashStyle": "A String", # The dash style of the border. |
| 14726 | "propertyState": "A String", # The property state of the border property. |
| 14727 | }, |
| 14728 | "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom margin of the embedded object. |
| 14729 | "magnitude": 3.14, # The magnitude. |
| 14730 | "unit": "A String", # The units for magnitude. |
| 14731 | }, |
| 14732 | "marginLeft": { # A magnitude in a single direction in the specified units. # The left margin of the embedded object. |
| 14733 | "magnitude": 3.14, # The magnitude. |
| 14734 | "unit": "A String", # The units for magnitude. |
| 14735 | }, |
| 14736 | "marginRight": { # A magnitude in a single direction in the specified units. # The right margin of the embedded object. |
| 14737 | "magnitude": 3.14, # The magnitude. |
| 14738 | "unit": "A String", # The units for magnitude. |
| 14739 | }, |
| 14740 | "marginTop": { # A magnitude in a single direction in the specified units. # The top margin of the embedded object. |
| 14741 | "magnitude": 3.14, # The magnitude. |
| 14742 | "unit": "A String", # The units for magnitude. |
| 14743 | }, |
| 14744 | "size": { # A width and height. # The visible size of the image after cropping. |
| 14745 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 14746 | "magnitude": 3.14, # The magnitude. |
| 14747 | "unit": "A String", # The units for magnitude. |
| 14748 | }, |
| 14749 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 14750 | "magnitude": 3.14, # The magnitude. |
| 14751 | "unit": "A String", # The units for magnitude. |
| 14752 | }, |
| 14753 | }, |
| 14754 | }, |
| 14755 | }, |
| 14756 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 14757 | # of this content. |
| 14758 | "A String", |
| 14759 | ], |
| 14760 | "suggestedPositionedObjectPropertiesChanges": { # The suggested changes to the positioned object properties, keyed by |
| 14761 | # suggestion ID. |
| 14762 | "a_key": { # A suggested change to PositionedObjectProperties. |
| 14763 | "positionedObjectPropertiesSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| 14764 | # PositionedObjectProperties have been changed in this |
| 14765 | # suggestion. |
| 14766 | # PositionedObjectProperties |
| 14767 | # have been changed in this suggestion. For any field set to true, there is a |
| 14768 | # new suggested value. |
| 14769 | "positioningSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in positioning have been |
| 14770 | # changed in this suggestion. |
| 14771 | # PositionedObjectPositioning have been changed in this |
| 14772 | # suggestion. For any field set to true, there is a new suggested value. |
| 14773 | "layoutSuggested": True or False, # Indicates if there was a suggested change to layout. |
| 14774 | "topOffsetSuggested": True or False, # Indicates if there was a suggested change to top_offset. |
| 14775 | "leftOffsetSuggested": True or False, # Indicates if there was a suggested change to left_offset. |
| 14776 | }, |
| 14777 | "embeddedObjectSuggestionState": { # A mask that indicates which of the fields on the base EmbeddedObject have been changed in this suggestion. # A mask that indicates which of the fields in embedded_object have been |
| 14778 | # changed in this suggestion. |
| 14779 | # For any field set to true, there is a new suggested value. |
| 14780 | "linkedContentReferenceSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in linked_content_reference have been |
| 14781 | # changed in this suggestion. |
| 14782 | # LinkedContentReference have |
| 14783 | # been changed in this suggestion. For any field set to true, there is a new |
| 14784 | # suggested value. |
| 14785 | "sheetsChartReferenceSuggestionState": { # A mask that indicates which of the fields on the base SheetsChartReference have been changed in this # A mask that indicates which of the fields in sheets_chart_reference have |
| 14786 | # been changed in this suggestion. |
| 14787 | # suggestion. For any field set to true, there is a new suggested value. |
| 14788 | "spreadsheetIdSuggested": True or False, # Indicates if there was a suggested change to spreadsheet_id. |
| 14789 | "chartIdSuggested": True or False, # Indicates if there was a suggested change to chart_id. |
| 14790 | }, |
| 14791 | }, |
| 14792 | "sizeSuggestionState": { # A mask that indicates which of the fields on the base Size have been changed in this suggestion. # A mask that indicates which of the fields in size have been changed in this |
| 14793 | # suggestion. |
| 14794 | # For any field set to true, the Size has |
| 14795 | # a new suggested value. |
| 14796 | "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| 14797 | "heightSuggested": True or False, # Indicates if there was a suggested change to height. |
| 14798 | }, |
| 14799 | "embeddedDrawingPropertiesSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in embedded_drawing_properties have been |
| 14800 | # changed in this suggestion. |
| 14801 | # EmbeddedDrawingProperties |
| 14802 | # have been changed in this suggestion. For any field set to true, there is a |
| 14803 | # new suggested value. |
| 14804 | }, |
| 14805 | "marginRightSuggested": True or False, # Indicates if there was a suggested change to margin_right. |
| 14806 | "imagePropertiesSuggestionState": { # A mask that indicates which of the fields on the base ImageProperties have been changed in this suggestion. # A mask that indicates which of the fields in image_properties have been changed in |
| 14807 | # this suggestion. |
| 14808 | # For any field set to true, there is a new suggested value. |
| 14809 | "cropPropertiesSuggestionState": { # A mask that indicates which of the fields on the base CropProperties have been changed in this suggestion. # A mask that indicates which of the fields in crop_properties have been changed in |
| 14810 | # this suggestion. |
| 14811 | # For any field set to true, there is a new suggested value. |
| 14812 | "offsetLeftSuggested": True or False, # Indicates if there was a suggested change to offset_left. |
| 14813 | "offsetBottomSuggested": True or False, # Indicates if there was a suggested change to offset_bottom. |
| 14814 | "offsetRightSuggested": True or False, # Indicates if there was a suggested change to offset_right. |
| 14815 | "angleSuggested": True or False, # Indicates if there was a suggested change to angle. |
| 14816 | "offsetTopSuggested": True or False, # Indicates if there was a suggested change to offset_top. |
| 14817 | }, |
| 14818 | "contrastSuggested": True or False, # Indicates if there was a suggested change to contrast. |
| 14819 | "brightnessSuggested": True or False, # Indicates if there was a suggested change to brightness. |
| 14820 | "transparencySuggested": True or False, # Indicates if there was a suggested change to transparency. |
| 14821 | "angleSuggested": True or False, # Indicates if there was a suggested change to angle. |
| 14822 | "sourceUriSuggested": True or False, # Indicates if there was a suggested change to source_uri. |
| 14823 | "contentUriSuggested": True or False, # Indicates if there was a suggested change to |
| 14824 | # content_uri. |
| 14825 | }, |
| 14826 | "descriptionSuggested": True or False, # Indicates if there was a suggested change to description. |
| 14827 | "titleSuggested": True or False, # Indicates if there was a suggested change to title. |
| 14828 | "marginTopSuggested": True or False, # Indicates if there was a suggested change to margin_top. |
| 14829 | "marginLeftSuggested": True or False, # Indicates if there was a suggested change to margin_left. |
| 14830 | "marginBottomSuggested": True or False, # Indicates if there was a suggested change to margin_bottom. |
| 14831 | "embeddedObjectBorderSuggestionState": { # A mask that indicates which of the fields on the base EmbeddedObjectBorder have been changed in this # A mask that indicates which of the fields in embedded_object_border have been |
| 14832 | # changed in this suggestion. |
| 14833 | # suggestion. For any field set to true, there is a new suggested value. |
| 14834 | "colorSuggested": True or False, # Indicates if there was a suggested change to color. |
| 14835 | "dashStyleSuggested": True or False, # Indicates if there was a suggested change to dash_style. |
| 14836 | "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| 14837 | "propertyStateSuggested": True or False, # Indicates if there was a suggested change to property_state. |
| 14838 | }, |
| 14839 | }, |
| 14840 | }, |
| 14841 | "positionedObjectProperties": { # Properties of a PositionedObject. # A PositionedObjectProperties that only includes the |
| 14842 | # changes made in this suggestion. This can be used along with the |
| 14843 | # positioned_object_properties_suggestion_state |
| 14844 | # to see which fields have changed and their new values. |
| 14845 | "positioning": { # The positioning of a PositionedObject. The positioned object is positioned # The positioning of this positioned object relative to the newline of the |
| 14846 | # Paragraph that references this positioned |
| 14847 | # object. |
| 14848 | # relative to the beginning of the Paragraph |
| 14849 | # it is tethered to. |
| 14850 | "leftOffset": { # A magnitude in a single direction in the specified units. # The offset of the left edge of the positioned object relative to the |
| 14851 | # beginning of the Paragraph it is tethered |
| 14852 | # to. The exact positioning of the object can depend on other content in the |
| 14853 | # document and the document's styling. |
| 14854 | "magnitude": 3.14, # The magnitude. |
| 14855 | "unit": "A String", # The units for magnitude. |
| 14856 | }, |
| 14857 | "topOffset": { # A magnitude in a single direction in the specified units. # The offset of the top edge of the positioned object relative to the |
| 14858 | # beginning of the Paragraph it is tethered |
| 14859 | # to. The exact positioning of the object can depend on other content in the |
| 14860 | # document and the document's styling. |
| 14861 | "magnitude": 3.14, # The magnitude. |
| 14862 | "unit": "A String", # The units for magnitude. |
| 14863 | }, |
| 14864 | "layout": "A String", # The layout of this positioned object. |
| 14865 | }, |
| 14866 | "embeddedObject": { # An embedded object in the document. # The embedded object of this positioned object. |
| 14867 | "imageProperties": { # The properties of an image. # The properties of an image. |
| 14868 | "angle": 3.14, # The clockwise rotation angle of the image, in radians. |
| 14869 | "contentUri": "A String", # A URI to the image with a default lifetime of 30 minutes. |
| 14870 | # This URI is tagged with the account of the requester. Anyone with the URI |
| 14871 | # effectively accesses the image as the original requester. Access to the |
| 14872 | # image may be lost if the document's sharing settings change. |
| 14873 | "sourceUri": "A String", # The source URI is the URI used to insert the image. The source URI can be |
| 14874 | # empty. |
| 14875 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 14876 | # [-1.0, 1.0], where 0 means no effect. |
| 14877 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 14878 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 14879 | "cropProperties": { # The crop properties of an image. # The crop properties of the image. |
| 14880 | # |
| 14881 | # The crop rectangle is represented using fractional offsets from the original |
| 14882 | # content's four edges. |
| 14883 | # |
| 14884 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 14885 | # rectangle is positioned inside of the image's original bounding rectangle. |
| 14886 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 14887 | # rectangle is positioned outside of the image's original bounding rectangle. |
| 14888 | # - If all offsets and rotation angle are 0, the image is not cropped. |
| 14889 | "offsetBottom": 3.14, # The offset specifies how far inwards the bottom edge of the crop rectangle |
| 14890 | # is from the bottom edge of the original content as a fraction of the |
| 14891 | # original content's height. |
| 14892 | "angle": 3.14, # The clockwise rotation angle of the crop rectangle around its center, in |
| 14893 | # radians. Rotation is applied after the offsets. |
| 14894 | "offsetLeft": 3.14, # The offset specifies how far inwards the left edge of the crop rectangle is |
| 14895 | # from the left edge of the original content as a fraction of the original |
| 14896 | # content's width. |
| 14897 | "offsetRight": 3.14, # The offset specifies how far inwards the right edge of the crop rectangle |
| 14898 | # is from the right edge of the original content as a fraction of the |
| 14899 | # original content's width. |
| 14900 | "offsetTop": 3.14, # The offset specifies how far inwards the top edge of the crop rectangle is |
| 14901 | # from the top edge of the original content as a fraction of the original |
| 14902 | # content's height. |
| 14903 | }, |
| 14904 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 14905 | # [-1.0, 1.0], where 0 means no effect. |
| 14906 | }, |
| 14907 | "description": "A String", # The description of the embedded object. The `title` and `description` are |
| 14908 | # both combined to display alt text. |
| 14909 | "title": "A String", # The title of the embedded object. The `title` and `description` are both |
| 14910 | # combined to display alt text. |
| 14911 | "embeddedDrawingProperties": { # The properties of an embedded drawing. # The properties of an embedded drawing. |
| 14912 | }, |
| 14913 | "linkedContentReference": { # A reference to the external linked source content. # A reference to the external linked source content. For example, it contains |
| 14914 | # a reference to the source Sheets chart when the embedded object is a linked |
| 14915 | # chart. |
| 14916 | # |
| 14917 | # If unset, then the embedded object is not linked. |
| 14918 | "sheetsChartReference": { # A reference to a linked chart embedded from Google Sheets. # A reference to the linked chart. |
| 14919 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| 14920 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 14921 | # embedded. |
| 14922 | }, |
| 14923 | }, |
| 14924 | "embeddedObjectBorder": { # A border around an EmbeddedObject. # The border of the embedded object. |
| 14925 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 14926 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 14927 | # a transparent color. |
| 14928 | "rgbColor": { # An RGB color. # The RGB color value. |
| 14929 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 14930 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 14931 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 14932 | }, |
| 14933 | }, |
| 14934 | }, |
| 14935 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 14936 | "magnitude": 3.14, # The magnitude. |
| 14937 | "unit": "A String", # The units for magnitude. |
| 14938 | }, |
| 14939 | "dashStyle": "A String", # The dash style of the border. |
| 14940 | "propertyState": "A String", # The property state of the border property. |
| 14941 | }, |
| 14942 | "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom margin of the embedded object. |
| 14943 | "magnitude": 3.14, # The magnitude. |
| 14944 | "unit": "A String", # The units for magnitude. |
| 14945 | }, |
| 14946 | "marginLeft": { # A magnitude in a single direction in the specified units. # The left margin of the embedded object. |
| 14947 | "magnitude": 3.14, # The magnitude. |
| 14948 | "unit": "A String", # The units for magnitude. |
| 14949 | }, |
| 14950 | "marginRight": { # A magnitude in a single direction in the specified units. # The right margin of the embedded object. |
| 14951 | "magnitude": 3.14, # The magnitude. |
| 14952 | "unit": "A String", # The units for magnitude. |
| 14953 | }, |
| 14954 | "marginTop": { # A magnitude in a single direction in the specified units. # The top margin of the embedded object. |
| 14955 | "magnitude": 3.14, # The magnitude. |
| 14956 | "unit": "A String", # The units for magnitude. |
| 14957 | }, |
| 14958 | "size": { # A width and height. # The visible size of the image after cropping. |
| 14959 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 14960 | "magnitude": 3.14, # The magnitude. |
| 14961 | "unit": "A String", # The units for magnitude. |
| 14962 | }, |
| 14963 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 14964 | "magnitude": 3.14, # The magnitude. |
| 14965 | "unit": "A String", # The units for magnitude. |
| 14966 | }, |
| 14967 | }, |
| 14968 | }, |
| 14969 | }, |
| 14970 | }, |
| 14971 | }, |
| 14972 | "objectId": "A String", # The ID of this positioned object. |
| 14973 | "suggestedInsertionId": "A String", # The suggested insertion ID. If empty, then this is not a suggested |
| 14974 | # insertion. |
| 14975 | }, |
| 14976 | }, |
| 14977 | "inlineObjects": { # The inline objects in the document, keyed by object ID. |
| 14978 | "a_key": { # An object that appears inline with text. An InlineObject contains |
| 14979 | # an EmbeddedObject such as an image. |
| 14980 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 14981 | # of this content. |
| 14982 | "A String", |
| 14983 | ], |
| 14984 | "inlineObjectProperties": { # Properties of an InlineObject. # The properties of this inline object. |
| 14985 | "embeddedObject": { # An embedded object in the document. # The embedded object of this inline object. |
| 14986 | "imageProperties": { # The properties of an image. # The properties of an image. |
| 14987 | "angle": 3.14, # The clockwise rotation angle of the image, in radians. |
| 14988 | "contentUri": "A String", # A URI to the image with a default lifetime of 30 minutes. |
| 14989 | # This URI is tagged with the account of the requester. Anyone with the URI |
| 14990 | # effectively accesses the image as the original requester. Access to the |
| 14991 | # image may be lost if the document's sharing settings change. |
| 14992 | "sourceUri": "A String", # The source URI is the URI used to insert the image. The source URI can be |
| 14993 | # empty. |
| 14994 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 14995 | # [-1.0, 1.0], where 0 means no effect. |
| 14996 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 14997 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 14998 | "cropProperties": { # The crop properties of an image. # The crop properties of the image. |
| 14999 | # |
| 15000 | # The crop rectangle is represented using fractional offsets from the original |
| 15001 | # content's four edges. |
| 15002 | # |
| 15003 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 15004 | # rectangle is positioned inside of the image's original bounding rectangle. |
| 15005 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 15006 | # rectangle is positioned outside of the image's original bounding rectangle. |
| 15007 | # - If all offsets and rotation angle are 0, the image is not cropped. |
| 15008 | "offsetBottom": 3.14, # The offset specifies how far inwards the bottom edge of the crop rectangle |
| 15009 | # is from the bottom edge of the original content as a fraction of the |
| 15010 | # original content's height. |
| 15011 | "angle": 3.14, # The clockwise rotation angle of the crop rectangle around its center, in |
| 15012 | # radians. Rotation is applied after the offsets. |
| 15013 | "offsetLeft": 3.14, # The offset specifies how far inwards the left edge of the crop rectangle is |
| 15014 | # from the left edge of the original content as a fraction of the original |
| 15015 | # content's width. |
| 15016 | "offsetRight": 3.14, # The offset specifies how far inwards the right edge of the crop rectangle |
| 15017 | # is from the right edge of the original content as a fraction of the |
| 15018 | # original content's width. |
| 15019 | "offsetTop": 3.14, # The offset specifies how far inwards the top edge of the crop rectangle is |
| 15020 | # from the top edge of the original content as a fraction of the original |
| 15021 | # content's height. |
| 15022 | }, |
| 15023 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 15024 | # [-1.0, 1.0], where 0 means no effect. |
| 15025 | }, |
| 15026 | "description": "A String", # The description of the embedded object. The `title` and `description` are |
| 15027 | # both combined to display alt text. |
| 15028 | "title": "A String", # The title of the embedded object. The `title` and `description` are both |
| 15029 | # combined to display alt text. |
| 15030 | "embeddedDrawingProperties": { # The properties of an embedded drawing. # The properties of an embedded drawing. |
| 15031 | }, |
| 15032 | "linkedContentReference": { # A reference to the external linked source content. # A reference to the external linked source content. For example, it contains |
| 15033 | # a reference to the source Sheets chart when the embedded object is a linked |
| 15034 | # chart. |
| 15035 | # |
| 15036 | # If unset, then the embedded object is not linked. |
| 15037 | "sheetsChartReference": { # A reference to a linked chart embedded from Google Sheets. # A reference to the linked chart. |
| 15038 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| 15039 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 15040 | # embedded. |
| 15041 | }, |
| 15042 | }, |
| 15043 | "embeddedObjectBorder": { # A border around an EmbeddedObject. # The border of the embedded object. |
| 15044 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 15045 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 15046 | # a transparent color. |
| 15047 | "rgbColor": { # An RGB color. # The RGB color value. |
| 15048 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15049 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15050 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 15051 | }, |
| 15052 | }, |
| 15053 | }, |
| 15054 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 15055 | "magnitude": 3.14, # The magnitude. |
| 15056 | "unit": "A String", # The units for magnitude. |
| 15057 | }, |
| 15058 | "dashStyle": "A String", # The dash style of the border. |
| 15059 | "propertyState": "A String", # The property state of the border property. |
| 15060 | }, |
| 15061 | "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom margin of the embedded object. |
| 15062 | "magnitude": 3.14, # The magnitude. |
| 15063 | "unit": "A String", # The units for magnitude. |
| 15064 | }, |
| 15065 | "marginLeft": { # A magnitude in a single direction in the specified units. # The left margin of the embedded object. |
| 15066 | "magnitude": 3.14, # The magnitude. |
| 15067 | "unit": "A String", # The units for magnitude. |
| 15068 | }, |
| 15069 | "marginRight": { # A magnitude in a single direction in the specified units. # The right margin of the embedded object. |
| 15070 | "magnitude": 3.14, # The magnitude. |
| 15071 | "unit": "A String", # The units for magnitude. |
| 15072 | }, |
| 15073 | "marginTop": { # A magnitude in a single direction in the specified units. # The top margin of the embedded object. |
| 15074 | "magnitude": 3.14, # The magnitude. |
| 15075 | "unit": "A String", # The units for magnitude. |
| 15076 | }, |
| 15077 | "size": { # A width and height. # The visible size of the image after cropping. |
| 15078 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 15079 | "magnitude": 3.14, # The magnitude. |
| 15080 | "unit": "A String", # The units for magnitude. |
| 15081 | }, |
| 15082 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 15083 | "magnitude": 3.14, # The magnitude. |
| 15084 | "unit": "A String", # The units for magnitude. |
| 15085 | }, |
| 15086 | }, |
| 15087 | }, |
| 15088 | }, |
| 15089 | "suggestedInlineObjectPropertiesChanges": { # The suggested changes to the inline object properties, keyed by suggestion |
| 15090 | # ID. |
| 15091 | "a_key": { # A suggested change to InlineObjectProperties. |
| 15092 | "inlineObjectProperties": { # Properties of an InlineObject. # An InlineObjectProperties |
| 15093 | # that only includes the changes made in this suggestion. This can be used |
| 15094 | # along with the inline_object_properties_suggestion_state |
| 15095 | # to see which fields have changed and their new values. |
| 15096 | "embeddedObject": { # An embedded object in the document. # The embedded object of this inline object. |
| 15097 | "imageProperties": { # The properties of an image. # The properties of an image. |
| 15098 | "angle": 3.14, # The clockwise rotation angle of the image, in radians. |
| 15099 | "contentUri": "A String", # A URI to the image with a default lifetime of 30 minutes. |
| 15100 | # This URI is tagged with the account of the requester. Anyone with the URI |
| 15101 | # effectively accesses the image as the original requester. Access to the |
| 15102 | # image may be lost if the document's sharing settings change. |
| 15103 | "sourceUri": "A String", # The source URI is the URI used to insert the image. The source URI can be |
| 15104 | # empty. |
| 15105 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 15106 | # [-1.0, 1.0], where 0 means no effect. |
| 15107 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 15108 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 15109 | "cropProperties": { # The crop properties of an image. # The crop properties of the image. |
| 15110 | # |
| 15111 | # The crop rectangle is represented using fractional offsets from the original |
| 15112 | # content's four edges. |
| 15113 | # |
| 15114 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 15115 | # rectangle is positioned inside of the image's original bounding rectangle. |
| 15116 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 15117 | # rectangle is positioned outside of the image's original bounding rectangle. |
| 15118 | # - If all offsets and rotation angle are 0, the image is not cropped. |
| 15119 | "offsetBottom": 3.14, # The offset specifies how far inwards the bottom edge of the crop rectangle |
| 15120 | # is from the bottom edge of the original content as a fraction of the |
| 15121 | # original content's height. |
| 15122 | "angle": 3.14, # The clockwise rotation angle of the crop rectangle around its center, in |
| 15123 | # radians. Rotation is applied after the offsets. |
| 15124 | "offsetLeft": 3.14, # The offset specifies how far inwards the left edge of the crop rectangle is |
| 15125 | # from the left edge of the original content as a fraction of the original |
| 15126 | # content's width. |
| 15127 | "offsetRight": 3.14, # The offset specifies how far inwards the right edge of the crop rectangle |
| 15128 | # is from the right edge of the original content as a fraction of the |
| 15129 | # original content's width. |
| 15130 | "offsetTop": 3.14, # The offset specifies how far inwards the top edge of the crop rectangle is |
| 15131 | # from the top edge of the original content as a fraction of the original |
| 15132 | # content's height. |
| 15133 | }, |
| 15134 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 15135 | # [-1.0, 1.0], where 0 means no effect. |
| 15136 | }, |
| 15137 | "description": "A String", # The description of the embedded object. The `title` and `description` are |
| 15138 | # both combined to display alt text. |
| 15139 | "title": "A String", # The title of the embedded object. The `title` and `description` are both |
| 15140 | # combined to display alt text. |
| 15141 | "embeddedDrawingProperties": { # The properties of an embedded drawing. # The properties of an embedded drawing. |
| 15142 | }, |
| 15143 | "linkedContentReference": { # A reference to the external linked source content. # A reference to the external linked source content. For example, it contains |
| 15144 | # a reference to the source Sheets chart when the embedded object is a linked |
| 15145 | # chart. |
| 15146 | # |
| 15147 | # If unset, then the embedded object is not linked. |
| 15148 | "sheetsChartReference": { # A reference to a linked chart embedded from Google Sheets. # A reference to the linked chart. |
| 15149 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| 15150 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 15151 | # embedded. |
| 15152 | }, |
| 15153 | }, |
| 15154 | "embeddedObjectBorder": { # A border around an EmbeddedObject. # The border of the embedded object. |
| 15155 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 15156 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 15157 | # a transparent color. |
| 15158 | "rgbColor": { # An RGB color. # The RGB color value. |
| 15159 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15160 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15161 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 15162 | }, |
| 15163 | }, |
| 15164 | }, |
| 15165 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 15166 | "magnitude": 3.14, # The magnitude. |
| 15167 | "unit": "A String", # The units for magnitude. |
| 15168 | }, |
| 15169 | "dashStyle": "A String", # The dash style of the border. |
| 15170 | "propertyState": "A String", # The property state of the border property. |
| 15171 | }, |
| 15172 | "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom margin of the embedded object. |
| 15173 | "magnitude": 3.14, # The magnitude. |
| 15174 | "unit": "A String", # The units for magnitude. |
| 15175 | }, |
| 15176 | "marginLeft": { # A magnitude in a single direction in the specified units. # The left margin of the embedded object. |
| 15177 | "magnitude": 3.14, # The magnitude. |
| 15178 | "unit": "A String", # The units for magnitude. |
| 15179 | }, |
| 15180 | "marginRight": { # A magnitude in a single direction in the specified units. # The right margin of the embedded object. |
| 15181 | "magnitude": 3.14, # The magnitude. |
| 15182 | "unit": "A String", # The units for magnitude. |
| 15183 | }, |
| 15184 | "marginTop": { # A magnitude in a single direction in the specified units. # The top margin of the embedded object. |
| 15185 | "magnitude": 3.14, # The magnitude. |
| 15186 | "unit": "A String", # The units for magnitude. |
| 15187 | }, |
| 15188 | "size": { # A width and height. # The visible size of the image after cropping. |
| 15189 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 15190 | "magnitude": 3.14, # The magnitude. |
| 15191 | "unit": "A String", # The units for magnitude. |
| 15192 | }, |
| 15193 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 15194 | "magnitude": 3.14, # The magnitude. |
| 15195 | "unit": "A String", # The units for magnitude. |
| 15196 | }, |
| 15197 | }, |
| 15198 | }, |
| 15199 | }, |
| 15200 | "inlineObjectPropertiesSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| 15201 | # InlineObjectProperties have |
| 15202 | # been changed in this suggestion. |
| 15203 | # InlineObjectProperties have |
| 15204 | # been changed in this suggestion. For any field set to true, there is a new |
| 15205 | # suggested value. |
| 15206 | "embeddedObjectSuggestionState": { # A mask that indicates which of the fields on the base EmbeddedObject have been changed in this suggestion. # A mask that indicates which of the fields in embedded_object have been |
| 15207 | # changed in this suggestion. |
| 15208 | # For any field set to true, there is a new suggested value. |
| 15209 | "linkedContentReferenceSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in linked_content_reference have been |
| 15210 | # changed in this suggestion. |
| 15211 | # LinkedContentReference have |
| 15212 | # been changed in this suggestion. For any field set to true, there is a new |
| 15213 | # suggested value. |
| 15214 | "sheetsChartReferenceSuggestionState": { # A mask that indicates which of the fields on the base SheetsChartReference have been changed in this # A mask that indicates which of the fields in sheets_chart_reference have |
| 15215 | # been changed in this suggestion. |
| 15216 | # suggestion. For any field set to true, there is a new suggested value. |
| 15217 | "spreadsheetIdSuggested": True or False, # Indicates if there was a suggested change to spreadsheet_id. |
| 15218 | "chartIdSuggested": True or False, # Indicates if there was a suggested change to chart_id. |
| 15219 | }, |
| 15220 | }, |
| 15221 | "sizeSuggestionState": { # A mask that indicates which of the fields on the base Size have been changed in this suggestion. # A mask that indicates which of the fields in size have been changed in this |
| 15222 | # suggestion. |
| 15223 | # For any field set to true, the Size has |
| 15224 | # a new suggested value. |
| 15225 | "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| 15226 | "heightSuggested": True or False, # Indicates if there was a suggested change to height. |
| 15227 | }, |
| 15228 | "embeddedDrawingPropertiesSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in embedded_drawing_properties have been |
| 15229 | # changed in this suggestion. |
| 15230 | # EmbeddedDrawingProperties |
| 15231 | # have been changed in this suggestion. For any field set to true, there is a |
| 15232 | # new suggested value. |
| 15233 | }, |
| 15234 | "marginRightSuggested": True or False, # Indicates if there was a suggested change to margin_right. |
| 15235 | "imagePropertiesSuggestionState": { # A mask that indicates which of the fields on the base ImageProperties have been changed in this suggestion. # A mask that indicates which of the fields in image_properties have been changed in |
| 15236 | # this suggestion. |
| 15237 | # For any field set to true, there is a new suggested value. |
| 15238 | "cropPropertiesSuggestionState": { # A mask that indicates which of the fields on the base CropProperties have been changed in this suggestion. # A mask that indicates which of the fields in crop_properties have been changed in |
| 15239 | # this suggestion. |
| 15240 | # For any field set to true, there is a new suggested value. |
| 15241 | "offsetLeftSuggested": True or False, # Indicates if there was a suggested change to offset_left. |
| 15242 | "offsetBottomSuggested": True or False, # Indicates if there was a suggested change to offset_bottom. |
| 15243 | "offsetRightSuggested": True or False, # Indicates if there was a suggested change to offset_right. |
| 15244 | "angleSuggested": True or False, # Indicates if there was a suggested change to angle. |
| 15245 | "offsetTopSuggested": True or False, # Indicates if there was a suggested change to offset_top. |
| 15246 | }, |
| 15247 | "contrastSuggested": True or False, # Indicates if there was a suggested change to contrast. |
| 15248 | "brightnessSuggested": True or False, # Indicates if there was a suggested change to brightness. |
| 15249 | "transparencySuggested": True or False, # Indicates if there was a suggested change to transparency. |
| 15250 | "angleSuggested": True or False, # Indicates if there was a suggested change to angle. |
| 15251 | "sourceUriSuggested": True or False, # Indicates if there was a suggested change to source_uri. |
| 15252 | "contentUriSuggested": True or False, # Indicates if there was a suggested change to |
| 15253 | # content_uri. |
| 15254 | }, |
| 15255 | "descriptionSuggested": True or False, # Indicates if there was a suggested change to description. |
| 15256 | "titleSuggested": True or False, # Indicates if there was a suggested change to title. |
| 15257 | "marginTopSuggested": True or False, # Indicates if there was a suggested change to margin_top. |
| 15258 | "marginLeftSuggested": True or False, # Indicates if there was a suggested change to margin_left. |
| 15259 | "marginBottomSuggested": True or False, # Indicates if there was a suggested change to margin_bottom. |
| 15260 | "embeddedObjectBorderSuggestionState": { # A mask that indicates which of the fields on the base EmbeddedObjectBorder have been changed in this # A mask that indicates which of the fields in embedded_object_border have been |
| 15261 | # changed in this suggestion. |
| 15262 | # suggestion. For any field set to true, there is a new suggested value. |
| 15263 | "colorSuggested": True or False, # Indicates if there was a suggested change to color. |
| 15264 | "dashStyleSuggested": True or False, # Indicates if there was a suggested change to dash_style. |
| 15265 | "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| 15266 | "propertyStateSuggested": True or False, # Indicates if there was a suggested change to property_state. |
| 15267 | }, |
| 15268 | }, |
| 15269 | }, |
| 15270 | }, |
| 15271 | }, |
| 15272 | "objectId": "A String", # The ID of this inline object. |
| 15273 | "suggestedInsertionId": "A String", # The suggested insertion ID. If empty, then this is not a suggested |
| 15274 | # insertion. |
| 15275 | }, |
| 15276 | }, |
| 15277 | "revisionId": "A String", # The revision ID of the document. Can be used in update requests to specify |
| 15278 | # which revision of a document to apply updates to and how the request should |
| 15279 | # behave if the document has been edited since that revision. Only populated |
| 15280 | # if the user has edit access to the document. |
| 15281 | # |
| 15282 | # The format of the revision ID may change over time, so it should be treated |
| 15283 | # opaquely. A returned revision ID is only guaranteed to be valid for 24 |
| 15284 | # hours after it has been returned and cannot be shared across users. If the |
| 15285 | # revision ID is unchanged between calls, then the document has not changed. |
| 15286 | # Conversely, a changed ID (for the same document and user) usually means the |
| 15287 | # document has been updated; however, a changed ID can also be due to |
| 15288 | # internal factors such as ID format changes. |
| 15289 | "documentId": "A String", # The ID of the document. |
| 15290 | } |
| 15291 | |
| 15292 | x__xgafv: string, V1 error format. |
| 15293 | Allowed values |
| 15294 | 1 - v1 error format |
| 15295 | 2 - v2 error format |
| 15296 | |
| 15297 | Returns: |
| 15298 | An object of the form: |
| 15299 | |
| 15300 | { # A Google Docs document. |
| 15301 | "body": { # The document body. # The main body of the document. |
| 15302 | # |
| 15303 | # The body typically contains the full document contents except for |
| 15304 | # headers, footers |
| 15305 | # and footnotes. |
| 15306 | "content": [ # The contents of the body. |
| 15307 | # |
| 15308 | # The indexes for the body's content begin at zero. |
| 15309 | { # A StructuralElement describes content that provides structure to the |
| 15310 | # document. |
| 15311 | "endIndex": 42, # The zero-based end index of this structural element, exclusive, in UTF-16 |
| 15312 | # code units. |
| 15313 | "sectionBreak": { # A StructuralElement representing a # A section break type of structural element. |
| 15314 | # section break. A section is a range of content which has the same |
| 15315 | # SectionStyle. A section break represents |
| 15316 | # the start of a new section, and the section style applies to the section |
| 15317 | # after the section break. |
| 15318 | # |
| 15319 | # The document body always begins with a section break. |
| 15320 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 15321 | # of this content. |
| 15322 | "A String", |
| 15323 | ], |
| 15324 | "sectionStyle": { # The styling that applies to a section. # The style of the section after this section break. |
| 15325 | "contentDirection": "A String", # The content direction of this section. If unset, the value defaults to |
| 15326 | # LEFT_TO_RIGHT. |
| 15327 | "columnProperties": [ # The section's columns properties. |
| 15328 | # |
| 15329 | # If empty, the section contains one column with the default properties in |
| 15330 | # the Docs editor. |
| 15331 | { # Properties that apply to a section's column. |
| 15332 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. |
| 15333 | "magnitude": 3.14, # The magnitude. |
| 15334 | "unit": "A String", # The units for magnitude. |
| 15335 | }, |
| 15336 | "paddingEnd": { # A magnitude in a single direction in the specified units. # The padding at the end of the column. |
| 15337 | "magnitude": 3.14, # The magnitude. |
| 15338 | "unit": "A String", # The units for magnitude. |
| 15339 | }, |
| 15340 | }, |
| 15341 | ], |
| 15342 | "columnSeparatorStyle": "A String", # The style of column separators. |
| 15343 | # |
| 15344 | # This style can be set even when there is one column in the section. |
| 15345 | }, |
| 15346 | "suggestedInsertionIds": [ # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is |
| 15347 | # a nested suggested change. If empty, then this is not a suggested |
| 15348 | # insertion. |
| 15349 | "A String", |
| 15350 | ], |
| 15351 | }, |
| 15352 | "tableOfContents": { # A StructuralElement representing # A table of contents type of structural element. |
| 15353 | # a table of contents. |
| 15354 | "content": [ # The content of the table of contents. |
| 15355 | # Object with schema name: StructuralElement |
| 15356 | ], |
| 15357 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 15358 | # of this content. |
| 15359 | "A String", |
| 15360 | ], |
| 15361 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it |
| 15362 | # is a nested suggested change. If empty, then this is not a suggested |
| 15363 | # insertion. |
| 15364 | "A String", |
| 15365 | ], |
| 15366 | }, |
| 15367 | "startIndex": 42, # The zero-based start index of this structural element, in UTF-16 code |
| 15368 | # units. |
| 15369 | "paragraph": { # A StructuralElement representing a # A paragraph type of structural element. |
| 15370 | # paragraph. A paragraph is a range of content that is terminated with a |
| 15371 | # newline character. |
| 15372 | "elements": [ # The content of the paragraph broken down into its component parts. |
| 15373 | { # A ParagraphElement describes content within a |
| 15374 | # Paragraph. |
| 15375 | "endIndex": 42, # The zero-base end index of this paragraph element, exclusive, in UTF-16 |
| 15376 | # code units. |
| 15377 | "equation": { # A ParagraphElement representing an # An equation paragraph element. |
| 15378 | # equation. |
| 15379 | "suggestedInsertionIds": [ # The suggested insertion IDs. A Equation |
| 15380 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 15381 | # empty, then this is not a suggested insertion. |
| 15382 | "A String", |
| 15383 | ], |
| 15384 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 15385 | # of this content. |
| 15386 | "A String", |
| 15387 | ], |
| 15388 | }, |
| 15389 | "columnBreak": { # A ParagraphElement representing a # A column break paragraph element. |
| 15390 | # column break. A column break makes the subsequent text start at the top of |
| 15391 | # the next column. |
| 15392 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this ColumnBreak. |
| 15393 | # |
| 15394 | # Similar to text content, like text runs and footnote references, the text |
| 15395 | # style of a column break can affect content layout as well as the styling of |
| 15396 | # text inserted adjacent to it. |
| 15397 | # |
| 15398 | # Inherited text styles are represented as unset fields in this message. A |
| 15399 | # text style's parent depends on where the text style is defined: |
| 15400 | # |
| 15401 | # * The TextStyle of text in a Paragraph |
| 15402 | # inherits from the paragraph's corresponding named style type. |
| 15403 | # * The TextStyle on a named style |
| 15404 | # inherits from the normal text named style. |
| 15405 | # * The TextStyle of the normal text named style inherits |
| 15406 | # from the default text style in the Docs editor. |
| 15407 | # * The TextStyle on a Paragraph element |
| 15408 | # that is contained in a table may inherit its text style from the table |
| 15409 | # style. |
| 15410 | # |
| 15411 | # If the text style does not inherit from a parent, unsetting fields will |
| 15412 | # revert the style to a value matching the defaults in the Docs editor. |
| 15413 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 15414 | # or transparent, depending on the `color` field. |
| 15415 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 15416 | # a transparent color. |
| 15417 | "rgbColor": { # An RGB color. # The RGB color value. |
| 15418 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15419 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15420 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 15421 | }, |
| 15422 | }, |
| 15423 | }, |
| 15424 | "italic": True or False, # Whether or not the text is italicized. |
| 15425 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 15426 | # |
| 15427 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 15428 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 15429 | # The `font_size` itself is not affected by changes in this field. |
| 15430 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 15431 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 15432 | # |
| 15433 | # If an update request specifies values for both `weighted_font_family` and |
| 15434 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 15435 | # |
| 15436 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 15437 | # |
| 15438 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 15439 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 15440 | # is returned. |
| 15441 | "fontFamily": "A String", # The font family of the text. |
| 15442 | # |
| 15443 | # The font family can be any font from the Font menu in Docs or from |
| 15444 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 15445 | # unrecognized, the text is rendered in `Arial`. |
| 15446 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 15447 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 15448 | # numerical values described in the CSS 2.1 Specification, |
| 15449 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 15450 | # non-numerical values disallowed. |
| 15451 | # |
| 15452 | # The default value is `400` ("normal"). |
| 15453 | # |
| 15454 | # The font weight makes up just one component of the rendered font weight. |
| 15455 | # The rendered weight is determined by a combination of the `weight` and the |
| 15456 | # text style's resolved `bold` value, after accounting for inheritance: |
| 15457 | # |
| 15458 | # * If the text is bold and the weight is less than `400`, the rendered |
| 15459 | # weight is 400. |
| 15460 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 15461 | # is less than `700`, the rendered weight is `700`. |
| 15462 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 15463 | # equal to the weight. |
| 15464 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 15465 | }, |
| 15466 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 15467 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 15468 | "magnitude": 3.14, # The magnitude. |
| 15469 | "unit": "A String", # The units for magnitude. |
| 15470 | }, |
| 15471 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 15472 | # or transparent, depending on the `color` field. |
| 15473 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 15474 | # a transparent color. |
| 15475 | "rgbColor": { # An RGB color. # The RGB color value. |
| 15476 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15477 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15478 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 15479 | }, |
| 15480 | }, |
| 15481 | }, |
| 15482 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 15483 | # are not inherited from parent text. |
| 15484 | # |
| 15485 | # Changing the link in an update request causes some other changes to the |
| 15486 | # text style of the range: |
| 15487 | # |
| 15488 | # * When setting a link, the text foreground color will be updated to the |
| 15489 | # default link color and the text will be underlined. If these fields are |
| 15490 | # modified in the same request, those values will be used instead of the |
| 15491 | # link defaults. |
| 15492 | # * Setting a link on a text range that overlaps with an existing link will |
| 15493 | # also update the existing link to point to the new URL. |
| 15494 | # * Links are not settable on newline characters. As a result, setting a link |
| 15495 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 15496 | # will separate the newline character(s) into their own text runs. The |
| 15497 | # link will be applied separately to the runs before and after the newline. |
| 15498 | # * Removing a link will update the text style of the range to match the |
| 15499 | # style of the preceding text (or the default text styles if the preceding |
| 15500 | # text is another link) unless different styles are being set in the same |
| 15501 | # request. |
| 15502 | "headingId": "A String", # The ID of a heading in this document. |
| 15503 | "url": "A String", # An external URL. |
| 15504 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 15505 | }, |
| 15506 | "underline": True or False, # Whether or not the text is underlined. |
| 15507 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 15508 | }, |
| 15509 | "suggestedInsertionIds": [ # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is |
| 15510 | # a nested suggested change. If empty, then this is not a suggested |
| 15511 | # insertion. |
| 15512 | "A String", |
| 15513 | ], |
| 15514 | "suggestedTextStyleChanges": { # The suggested text style changes to this ColumnBreak, keyed by suggestion |
| 15515 | # ID. |
| 15516 | "a_key": { # A suggested change to a TextStyle. |
| 15517 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 15518 | # the changes made in this suggestion. This can be used along with the |
| 15519 | # text_style_suggestion_state |
| 15520 | # to see which fields have changed and their new values. |
| 15521 | # |
| 15522 | # Inherited text styles are represented as unset fields in this message. A |
| 15523 | # text style's parent depends on where the text style is defined: |
| 15524 | # |
| 15525 | # * The TextStyle of text in a Paragraph |
| 15526 | # inherits from the paragraph's corresponding named style type. |
| 15527 | # * The TextStyle on a named style |
| 15528 | # inherits from the normal text named style. |
| 15529 | # * The TextStyle of the normal text named style inherits |
| 15530 | # from the default text style in the Docs editor. |
| 15531 | # * The TextStyle on a Paragraph element |
| 15532 | # that is contained in a table may inherit its text style from the table |
| 15533 | # style. |
| 15534 | # |
| 15535 | # If the text style does not inherit from a parent, unsetting fields will |
| 15536 | # revert the style to a value matching the defaults in the Docs editor. |
| 15537 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 15538 | # or transparent, depending on the `color` field. |
| 15539 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 15540 | # a transparent color. |
| 15541 | "rgbColor": { # An RGB color. # The RGB color value. |
| 15542 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15543 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15544 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 15545 | }, |
| 15546 | }, |
| 15547 | }, |
| 15548 | "italic": True or False, # Whether or not the text is italicized. |
| 15549 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 15550 | # |
| 15551 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 15552 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 15553 | # The `font_size` itself is not affected by changes in this field. |
| 15554 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 15555 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 15556 | # |
| 15557 | # If an update request specifies values for both `weighted_font_family` and |
| 15558 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 15559 | # |
| 15560 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 15561 | # |
| 15562 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 15563 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 15564 | # is returned. |
| 15565 | "fontFamily": "A String", # The font family of the text. |
| 15566 | # |
| 15567 | # The font family can be any font from the Font menu in Docs or from |
| 15568 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 15569 | # unrecognized, the text is rendered in `Arial`. |
| 15570 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 15571 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 15572 | # numerical values described in the CSS 2.1 Specification, |
| 15573 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 15574 | # non-numerical values disallowed. |
| 15575 | # |
| 15576 | # The default value is `400` ("normal"). |
| 15577 | # |
| 15578 | # The font weight makes up just one component of the rendered font weight. |
| 15579 | # The rendered weight is determined by a combination of the `weight` and the |
| 15580 | # text style's resolved `bold` value, after accounting for inheritance: |
| 15581 | # |
| 15582 | # * If the text is bold and the weight is less than `400`, the rendered |
| 15583 | # weight is 400. |
| 15584 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 15585 | # is less than `700`, the rendered weight is `700`. |
| 15586 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 15587 | # equal to the weight. |
| 15588 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 15589 | }, |
| 15590 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 15591 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 15592 | "magnitude": 3.14, # The magnitude. |
| 15593 | "unit": "A String", # The units for magnitude. |
| 15594 | }, |
| 15595 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 15596 | # or transparent, depending on the `color` field. |
| 15597 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 15598 | # a transparent color. |
| 15599 | "rgbColor": { # An RGB color. # The RGB color value. |
| 15600 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15601 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15602 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 15603 | }, |
| 15604 | }, |
| 15605 | }, |
| 15606 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 15607 | # are not inherited from parent text. |
| 15608 | # |
| 15609 | # Changing the link in an update request causes some other changes to the |
| 15610 | # text style of the range: |
| 15611 | # |
| 15612 | # * When setting a link, the text foreground color will be updated to the |
| 15613 | # default link color and the text will be underlined. If these fields are |
| 15614 | # modified in the same request, those values will be used instead of the |
| 15615 | # link defaults. |
| 15616 | # * Setting a link on a text range that overlaps with an existing link will |
| 15617 | # also update the existing link to point to the new URL. |
| 15618 | # * Links are not settable on newline characters. As a result, setting a link |
| 15619 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 15620 | # will separate the newline character(s) into their own text runs. The |
| 15621 | # link will be applied separately to the runs before and after the newline. |
| 15622 | # * Removing a link will update the text style of the range to match the |
| 15623 | # style of the preceding text (or the default text styles if the preceding |
| 15624 | # text is another link) unless different styles are being set in the same |
| 15625 | # request. |
| 15626 | "headingId": "A String", # The ID of a heading in this document. |
| 15627 | "url": "A String", # An external URL. |
| 15628 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 15629 | }, |
| 15630 | "underline": True or False, # Whether or not the text is underlined. |
| 15631 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 15632 | }, |
| 15633 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 15634 | # For any field set to true, there is a new suggested value. |
| 15635 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 15636 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 15637 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 15638 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 15639 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 15640 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 15641 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 15642 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 15643 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 15644 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 15645 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 15646 | }, |
| 15647 | }, |
| 15648 | }, |
| 15649 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 15650 | # of this content. |
| 15651 | "A String", |
| 15652 | ], |
| 15653 | }, |
| 15654 | "startIndex": 42, # The zero-based start index of this paragraph element, in UTF-16 code units. |
| 15655 | "pageBreak": { # A ParagraphElement representing a # A page break paragraph element. |
| 15656 | # page break. A page break makes the subsequent text start at the top of the |
| 15657 | # next page. |
| 15658 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this PageBreak. |
| 15659 | # |
| 15660 | # Similar to text content, like text runs and footnote references, the text |
| 15661 | # style of a page break can affect content layout as well as the styling of |
| 15662 | # text inserted adjacent to it. |
| 15663 | # |
| 15664 | # Inherited text styles are represented as unset fields in this message. A |
| 15665 | # text style's parent depends on where the text style is defined: |
| 15666 | # |
| 15667 | # * The TextStyle of text in a Paragraph |
| 15668 | # inherits from the paragraph's corresponding named style type. |
| 15669 | # * The TextStyle on a named style |
| 15670 | # inherits from the normal text named style. |
| 15671 | # * The TextStyle of the normal text named style inherits |
| 15672 | # from the default text style in the Docs editor. |
| 15673 | # * The TextStyle on a Paragraph element |
| 15674 | # that is contained in a table may inherit its text style from the table |
| 15675 | # style. |
| 15676 | # |
| 15677 | # If the text style does not inherit from a parent, unsetting fields will |
| 15678 | # revert the style to a value matching the defaults in the Docs editor. |
| 15679 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 15680 | # or transparent, depending on the `color` field. |
| 15681 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 15682 | # a transparent color. |
| 15683 | "rgbColor": { # An RGB color. # The RGB color value. |
| 15684 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15685 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15686 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 15687 | }, |
| 15688 | }, |
| 15689 | }, |
| 15690 | "italic": True or False, # Whether or not the text is italicized. |
| 15691 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 15692 | # |
| 15693 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 15694 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 15695 | # The `font_size` itself is not affected by changes in this field. |
| 15696 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 15697 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 15698 | # |
| 15699 | # If an update request specifies values for both `weighted_font_family` and |
| 15700 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 15701 | # |
| 15702 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 15703 | # |
| 15704 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 15705 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 15706 | # is returned. |
| 15707 | "fontFamily": "A String", # The font family of the text. |
| 15708 | # |
| 15709 | # The font family can be any font from the Font menu in Docs or from |
| 15710 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 15711 | # unrecognized, the text is rendered in `Arial`. |
| 15712 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 15713 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 15714 | # numerical values described in the CSS 2.1 Specification, |
| 15715 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 15716 | # non-numerical values disallowed. |
| 15717 | # |
| 15718 | # The default value is `400` ("normal"). |
| 15719 | # |
| 15720 | # The font weight makes up just one component of the rendered font weight. |
| 15721 | # The rendered weight is determined by a combination of the `weight` and the |
| 15722 | # text style's resolved `bold` value, after accounting for inheritance: |
| 15723 | # |
| 15724 | # * If the text is bold and the weight is less than `400`, the rendered |
| 15725 | # weight is 400. |
| 15726 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 15727 | # is less than `700`, the rendered weight is `700`. |
| 15728 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 15729 | # equal to the weight. |
| 15730 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 15731 | }, |
| 15732 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 15733 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 15734 | "magnitude": 3.14, # The magnitude. |
| 15735 | "unit": "A String", # The units for magnitude. |
| 15736 | }, |
| 15737 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 15738 | # or transparent, depending on the `color` field. |
| 15739 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 15740 | # a transparent color. |
| 15741 | "rgbColor": { # An RGB color. # The RGB color value. |
| 15742 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15743 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15744 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 15745 | }, |
| 15746 | }, |
| 15747 | }, |
| 15748 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 15749 | # are not inherited from parent text. |
| 15750 | # |
| 15751 | # Changing the link in an update request causes some other changes to the |
| 15752 | # text style of the range: |
| 15753 | # |
| 15754 | # * When setting a link, the text foreground color will be updated to the |
| 15755 | # default link color and the text will be underlined. If these fields are |
| 15756 | # modified in the same request, those values will be used instead of the |
| 15757 | # link defaults. |
| 15758 | # * Setting a link on a text range that overlaps with an existing link will |
| 15759 | # also update the existing link to point to the new URL. |
| 15760 | # * Links are not settable on newline characters. As a result, setting a link |
| 15761 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 15762 | # will separate the newline character(s) into their own text runs. The |
| 15763 | # link will be applied separately to the runs before and after the newline. |
| 15764 | # * Removing a link will update the text style of the range to match the |
| 15765 | # style of the preceding text (or the default text styles if the preceding |
| 15766 | # text is another link) unless different styles are being set in the same |
| 15767 | # request. |
| 15768 | "headingId": "A String", # The ID of a heading in this document. |
| 15769 | "url": "A String", # An external URL. |
| 15770 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 15771 | }, |
| 15772 | "underline": True or False, # Whether or not the text is underlined. |
| 15773 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 15774 | }, |
| 15775 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 15776 | # of this content. |
| 15777 | "A String", |
| 15778 | ], |
| 15779 | "suggestedTextStyleChanges": { # The suggested text style changes to this PageBreak, keyed by suggestion ID. |
| 15780 | "a_key": { # A suggested change to a TextStyle. |
| 15781 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 15782 | # the changes made in this suggestion. This can be used along with the |
| 15783 | # text_style_suggestion_state |
| 15784 | # to see which fields have changed and their new values. |
| 15785 | # |
| 15786 | # Inherited text styles are represented as unset fields in this message. A |
| 15787 | # text style's parent depends on where the text style is defined: |
| 15788 | # |
| 15789 | # * The TextStyle of text in a Paragraph |
| 15790 | # inherits from the paragraph's corresponding named style type. |
| 15791 | # * The TextStyle on a named style |
| 15792 | # inherits from the normal text named style. |
| 15793 | # * The TextStyle of the normal text named style inherits |
| 15794 | # from the default text style in the Docs editor. |
| 15795 | # * The TextStyle on a Paragraph element |
| 15796 | # that is contained in a table may inherit its text style from the table |
| 15797 | # style. |
| 15798 | # |
| 15799 | # If the text style does not inherit from a parent, unsetting fields will |
| 15800 | # revert the style to a value matching the defaults in the Docs editor. |
| 15801 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 15802 | # or transparent, depending on the `color` field. |
| 15803 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 15804 | # a transparent color. |
| 15805 | "rgbColor": { # An RGB color. # The RGB color value. |
| 15806 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15807 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15808 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 15809 | }, |
| 15810 | }, |
| 15811 | }, |
| 15812 | "italic": True or False, # Whether or not the text is italicized. |
| 15813 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 15814 | # |
| 15815 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 15816 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 15817 | # The `font_size` itself is not affected by changes in this field. |
| 15818 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 15819 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 15820 | # |
| 15821 | # If an update request specifies values for both `weighted_font_family` and |
| 15822 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 15823 | # |
| 15824 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 15825 | # |
| 15826 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 15827 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 15828 | # is returned. |
| 15829 | "fontFamily": "A String", # The font family of the text. |
| 15830 | # |
| 15831 | # The font family can be any font from the Font menu in Docs or from |
| 15832 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 15833 | # unrecognized, the text is rendered in `Arial`. |
| 15834 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 15835 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 15836 | # numerical values described in the CSS 2.1 Specification, |
| 15837 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 15838 | # non-numerical values disallowed. |
| 15839 | # |
| 15840 | # The default value is `400` ("normal"). |
| 15841 | # |
| 15842 | # The font weight makes up just one component of the rendered font weight. |
| 15843 | # The rendered weight is determined by a combination of the `weight` and the |
| 15844 | # text style's resolved `bold` value, after accounting for inheritance: |
| 15845 | # |
| 15846 | # * If the text is bold and the weight is less than `400`, the rendered |
| 15847 | # weight is 400. |
| 15848 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 15849 | # is less than `700`, the rendered weight is `700`. |
| 15850 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 15851 | # equal to the weight. |
| 15852 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 15853 | }, |
| 15854 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 15855 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 15856 | "magnitude": 3.14, # The magnitude. |
| 15857 | "unit": "A String", # The units for magnitude. |
| 15858 | }, |
| 15859 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 15860 | # or transparent, depending on the `color` field. |
| 15861 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 15862 | # a transparent color. |
| 15863 | "rgbColor": { # An RGB color. # The RGB color value. |
| 15864 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15865 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15866 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 15867 | }, |
| 15868 | }, |
| 15869 | }, |
| 15870 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 15871 | # are not inherited from parent text. |
| 15872 | # |
| 15873 | # Changing the link in an update request causes some other changes to the |
| 15874 | # text style of the range: |
| 15875 | # |
| 15876 | # * When setting a link, the text foreground color will be updated to the |
| 15877 | # default link color and the text will be underlined. If these fields are |
| 15878 | # modified in the same request, those values will be used instead of the |
| 15879 | # link defaults. |
| 15880 | # * Setting a link on a text range that overlaps with an existing link will |
| 15881 | # also update the existing link to point to the new URL. |
| 15882 | # * Links are not settable on newline characters. As a result, setting a link |
| 15883 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 15884 | # will separate the newline character(s) into their own text runs. The |
| 15885 | # link will be applied separately to the runs before and after the newline. |
| 15886 | # * Removing a link will update the text style of the range to match the |
| 15887 | # style of the preceding text (or the default text styles if the preceding |
| 15888 | # text is another link) unless different styles are being set in the same |
| 15889 | # request. |
| 15890 | "headingId": "A String", # The ID of a heading in this document. |
| 15891 | "url": "A String", # An external URL. |
| 15892 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 15893 | }, |
| 15894 | "underline": True or False, # Whether or not the text is underlined. |
| 15895 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 15896 | }, |
| 15897 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 15898 | # For any field set to true, there is a new suggested value. |
| 15899 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 15900 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 15901 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 15902 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 15903 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 15904 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 15905 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 15906 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 15907 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 15908 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 15909 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 15910 | }, |
| 15911 | }, |
| 15912 | }, |
| 15913 | "suggestedInsertionIds": [ # The suggested insertion IDs. A PageBreak |
| 15914 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 15915 | # empty, then this is not a suggested insertion. |
| 15916 | "A String", |
| 15917 | ], |
| 15918 | }, |
| 15919 | "horizontalRule": { # A ParagraphElement representing a # A horizontal rule paragraph element. |
| 15920 | # horizontal line. |
| 15921 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this HorizontalRule. |
| 15922 | # |
| 15923 | # Similar to text content, like text runs and footnote references, the text |
| 15924 | # style of a horizontal rule can affect content layout as well as the styling |
| 15925 | # of text inserted adjacent to it. |
| 15926 | # |
| 15927 | # Inherited text styles are represented as unset fields in this message. A |
| 15928 | # text style's parent depends on where the text style is defined: |
| 15929 | # |
| 15930 | # * The TextStyle of text in a Paragraph |
| 15931 | # inherits from the paragraph's corresponding named style type. |
| 15932 | # * The TextStyle on a named style |
| 15933 | # inherits from the normal text named style. |
| 15934 | # * The TextStyle of the normal text named style inherits |
| 15935 | # from the default text style in the Docs editor. |
| 15936 | # * The TextStyle on a Paragraph element |
| 15937 | # that is contained in a table may inherit its text style from the table |
| 15938 | # style. |
| 15939 | # |
| 15940 | # If the text style does not inherit from a parent, unsetting fields will |
| 15941 | # revert the style to a value matching the defaults in the Docs editor. |
| 15942 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 15943 | # or transparent, depending on the `color` field. |
| 15944 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 15945 | # a transparent color. |
| 15946 | "rgbColor": { # An RGB color. # The RGB color value. |
| 15947 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 15948 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 15949 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 15950 | }, |
| 15951 | }, |
| 15952 | }, |
| 15953 | "italic": True or False, # Whether or not the text is italicized. |
| 15954 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 15955 | # |
| 15956 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 15957 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 15958 | # The `font_size` itself is not affected by changes in this field. |
| 15959 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 15960 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 15961 | # |
| 15962 | # If an update request specifies values for both `weighted_font_family` and |
| 15963 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 15964 | # |
| 15965 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 15966 | # |
| 15967 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 15968 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 15969 | # is returned. |
| 15970 | "fontFamily": "A String", # The font family of the text. |
| 15971 | # |
| 15972 | # The font family can be any font from the Font menu in Docs or from |
| 15973 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 15974 | # unrecognized, the text is rendered in `Arial`. |
| 15975 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 15976 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 15977 | # numerical values described in the CSS 2.1 Specification, |
| 15978 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 15979 | # non-numerical values disallowed. |
| 15980 | # |
| 15981 | # The default value is `400` ("normal"). |
| 15982 | # |
| 15983 | # The font weight makes up just one component of the rendered font weight. |
| 15984 | # The rendered weight is determined by a combination of the `weight` and the |
| 15985 | # text style's resolved `bold` value, after accounting for inheritance: |
| 15986 | # |
| 15987 | # * If the text is bold and the weight is less than `400`, the rendered |
| 15988 | # weight is 400. |
| 15989 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 15990 | # is less than `700`, the rendered weight is `700`. |
| 15991 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 15992 | # equal to the weight. |
| 15993 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 15994 | }, |
| 15995 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 15996 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 15997 | "magnitude": 3.14, # The magnitude. |
| 15998 | "unit": "A String", # The units for magnitude. |
| 15999 | }, |
| 16000 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 16001 | # or transparent, depending on the `color` field. |
| 16002 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 16003 | # a transparent color. |
| 16004 | "rgbColor": { # An RGB color. # The RGB color value. |
| 16005 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16006 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16007 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16008 | }, |
| 16009 | }, |
| 16010 | }, |
| 16011 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 16012 | # are not inherited from parent text. |
| 16013 | # |
| 16014 | # Changing the link in an update request causes some other changes to the |
| 16015 | # text style of the range: |
| 16016 | # |
| 16017 | # * When setting a link, the text foreground color will be updated to the |
| 16018 | # default link color and the text will be underlined. If these fields are |
| 16019 | # modified in the same request, those values will be used instead of the |
| 16020 | # link defaults. |
| 16021 | # * Setting a link on a text range that overlaps with an existing link will |
| 16022 | # also update the existing link to point to the new URL. |
| 16023 | # * Links are not settable on newline characters. As a result, setting a link |
| 16024 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 16025 | # will separate the newline character(s) into their own text runs. The |
| 16026 | # link will be applied separately to the runs before and after the newline. |
| 16027 | # * Removing a link will update the text style of the range to match the |
| 16028 | # style of the preceding text (or the default text styles if the preceding |
| 16029 | # text is another link) unless different styles are being set in the same |
| 16030 | # request. |
| 16031 | "headingId": "A String", # The ID of a heading in this document. |
| 16032 | "url": "A String", # An external URL. |
| 16033 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 16034 | }, |
| 16035 | "underline": True or False, # Whether or not the text is underlined. |
| 16036 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 16037 | }, |
| 16038 | "suggestedInsertionIds": [ # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it |
| 16039 | # is a nested suggested change. If empty, then this is not a suggested |
| 16040 | # insertion. |
| 16041 | "A String", |
| 16042 | ], |
| 16043 | "suggestedTextStyleChanges": { # The suggested text style changes to this HorizontalRule, keyed by |
| 16044 | # suggestion ID. |
| 16045 | "a_key": { # A suggested change to a TextStyle. |
| 16046 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 16047 | # the changes made in this suggestion. This can be used along with the |
| 16048 | # text_style_suggestion_state |
| 16049 | # to see which fields have changed and their new values. |
| 16050 | # |
| 16051 | # Inherited text styles are represented as unset fields in this message. A |
| 16052 | # text style's parent depends on where the text style is defined: |
| 16053 | # |
| 16054 | # * The TextStyle of text in a Paragraph |
| 16055 | # inherits from the paragraph's corresponding named style type. |
| 16056 | # * The TextStyle on a named style |
| 16057 | # inherits from the normal text named style. |
| 16058 | # * The TextStyle of the normal text named style inherits |
| 16059 | # from the default text style in the Docs editor. |
| 16060 | # * The TextStyle on a Paragraph element |
| 16061 | # that is contained in a table may inherit its text style from the table |
| 16062 | # style. |
| 16063 | # |
| 16064 | # If the text style does not inherit from a parent, unsetting fields will |
| 16065 | # revert the style to a value matching the defaults in the Docs editor. |
| 16066 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 16067 | # or transparent, depending on the `color` field. |
| 16068 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 16069 | # a transparent color. |
| 16070 | "rgbColor": { # An RGB color. # The RGB color value. |
| 16071 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16072 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16073 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16074 | }, |
| 16075 | }, |
| 16076 | }, |
| 16077 | "italic": True or False, # Whether or not the text is italicized. |
| 16078 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 16079 | # |
| 16080 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 16081 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 16082 | # The `font_size` itself is not affected by changes in this field. |
| 16083 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 16084 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 16085 | # |
| 16086 | # If an update request specifies values for both `weighted_font_family` and |
| 16087 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 16088 | # |
| 16089 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 16090 | # |
| 16091 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 16092 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 16093 | # is returned. |
| 16094 | "fontFamily": "A String", # The font family of the text. |
| 16095 | # |
| 16096 | # The font family can be any font from the Font menu in Docs or from |
| 16097 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 16098 | # unrecognized, the text is rendered in `Arial`. |
| 16099 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 16100 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 16101 | # numerical values described in the CSS 2.1 Specification, |
| 16102 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 16103 | # non-numerical values disallowed. |
| 16104 | # |
| 16105 | # The default value is `400` ("normal"). |
| 16106 | # |
| 16107 | # The font weight makes up just one component of the rendered font weight. |
| 16108 | # The rendered weight is determined by a combination of the `weight` and the |
| 16109 | # text style's resolved `bold` value, after accounting for inheritance: |
| 16110 | # |
| 16111 | # * If the text is bold and the weight is less than `400`, the rendered |
| 16112 | # weight is 400. |
| 16113 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 16114 | # is less than `700`, the rendered weight is `700`. |
| 16115 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 16116 | # equal to the weight. |
| 16117 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 16118 | }, |
| 16119 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 16120 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 16121 | "magnitude": 3.14, # The magnitude. |
| 16122 | "unit": "A String", # The units for magnitude. |
| 16123 | }, |
| 16124 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 16125 | # or transparent, depending on the `color` field. |
| 16126 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 16127 | # a transparent color. |
| 16128 | "rgbColor": { # An RGB color. # The RGB color value. |
| 16129 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16130 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16131 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16132 | }, |
| 16133 | }, |
| 16134 | }, |
| 16135 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 16136 | # are not inherited from parent text. |
| 16137 | # |
| 16138 | # Changing the link in an update request causes some other changes to the |
| 16139 | # text style of the range: |
| 16140 | # |
| 16141 | # * When setting a link, the text foreground color will be updated to the |
| 16142 | # default link color and the text will be underlined. If these fields are |
| 16143 | # modified in the same request, those values will be used instead of the |
| 16144 | # link defaults. |
| 16145 | # * Setting a link on a text range that overlaps with an existing link will |
| 16146 | # also update the existing link to point to the new URL. |
| 16147 | # * Links are not settable on newline characters. As a result, setting a link |
| 16148 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 16149 | # will separate the newline character(s) into their own text runs. The |
| 16150 | # link will be applied separately to the runs before and after the newline. |
| 16151 | # * Removing a link will update the text style of the range to match the |
| 16152 | # style of the preceding text (or the default text styles if the preceding |
| 16153 | # text is another link) unless different styles are being set in the same |
| 16154 | # request. |
| 16155 | "headingId": "A String", # The ID of a heading in this document. |
| 16156 | "url": "A String", # An external URL. |
| 16157 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 16158 | }, |
| 16159 | "underline": True or False, # Whether or not the text is underlined. |
| 16160 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 16161 | }, |
| 16162 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 16163 | # For any field set to true, there is a new suggested value. |
| 16164 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 16165 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 16166 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 16167 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 16168 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 16169 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 16170 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 16171 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 16172 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 16173 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 16174 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 16175 | }, |
| 16176 | }, |
| 16177 | }, |
| 16178 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 16179 | # of this content. |
| 16180 | "A String", |
| 16181 | ], |
| 16182 | }, |
| 16183 | "textRun": { # A ParagraphElement that represents a # A text run paragraph element. |
| 16184 | # run of text that all has the same styling. |
| 16185 | "content": "A String", # The text of this run. |
| 16186 | # |
| 16187 | # Any non-text elements in the run are replaced with the Unicode character |
| 16188 | # U+E907. |
| 16189 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this run. |
| 16190 | # |
| 16191 | # Inherited text styles are represented as unset fields in this message. A |
| 16192 | # text style's parent depends on where the text style is defined: |
| 16193 | # |
| 16194 | # * The TextStyle of text in a Paragraph |
| 16195 | # inherits from the paragraph's corresponding named style type. |
| 16196 | # * The TextStyle on a named style |
| 16197 | # inherits from the normal text named style. |
| 16198 | # * The TextStyle of the normal text named style inherits |
| 16199 | # from the default text style in the Docs editor. |
| 16200 | # * The TextStyle on a Paragraph element |
| 16201 | # that is contained in a table may inherit its text style from the table |
| 16202 | # style. |
| 16203 | # |
| 16204 | # If the text style does not inherit from a parent, unsetting fields will |
| 16205 | # revert the style to a value matching the defaults in the Docs editor. |
| 16206 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 16207 | # or transparent, depending on the `color` field. |
| 16208 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 16209 | # a transparent color. |
| 16210 | "rgbColor": { # An RGB color. # The RGB color value. |
| 16211 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16212 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16213 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16214 | }, |
| 16215 | }, |
| 16216 | }, |
| 16217 | "italic": True or False, # Whether or not the text is italicized. |
| 16218 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 16219 | # |
| 16220 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 16221 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 16222 | # The `font_size` itself is not affected by changes in this field. |
| 16223 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 16224 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 16225 | # |
| 16226 | # If an update request specifies values for both `weighted_font_family` and |
| 16227 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 16228 | # |
| 16229 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 16230 | # |
| 16231 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 16232 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 16233 | # is returned. |
| 16234 | "fontFamily": "A String", # The font family of the text. |
| 16235 | # |
| 16236 | # The font family can be any font from the Font menu in Docs or from |
| 16237 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 16238 | # unrecognized, the text is rendered in `Arial`. |
| 16239 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 16240 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 16241 | # numerical values described in the CSS 2.1 Specification, |
| 16242 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 16243 | # non-numerical values disallowed. |
| 16244 | # |
| 16245 | # The default value is `400` ("normal"). |
| 16246 | # |
| 16247 | # The font weight makes up just one component of the rendered font weight. |
| 16248 | # The rendered weight is determined by a combination of the `weight` and the |
| 16249 | # text style's resolved `bold` value, after accounting for inheritance: |
| 16250 | # |
| 16251 | # * If the text is bold and the weight is less than `400`, the rendered |
| 16252 | # weight is 400. |
| 16253 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 16254 | # is less than `700`, the rendered weight is `700`. |
| 16255 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 16256 | # equal to the weight. |
| 16257 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 16258 | }, |
| 16259 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 16260 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 16261 | "magnitude": 3.14, # The magnitude. |
| 16262 | "unit": "A String", # The units for magnitude. |
| 16263 | }, |
| 16264 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 16265 | # or transparent, depending on the `color` field. |
| 16266 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 16267 | # a transparent color. |
| 16268 | "rgbColor": { # An RGB color. # The RGB color value. |
| 16269 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16270 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16271 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16272 | }, |
| 16273 | }, |
| 16274 | }, |
| 16275 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 16276 | # are not inherited from parent text. |
| 16277 | # |
| 16278 | # Changing the link in an update request causes some other changes to the |
| 16279 | # text style of the range: |
| 16280 | # |
| 16281 | # * When setting a link, the text foreground color will be updated to the |
| 16282 | # default link color and the text will be underlined. If these fields are |
| 16283 | # modified in the same request, those values will be used instead of the |
| 16284 | # link defaults. |
| 16285 | # * Setting a link on a text range that overlaps with an existing link will |
| 16286 | # also update the existing link to point to the new URL. |
| 16287 | # * Links are not settable on newline characters. As a result, setting a link |
| 16288 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 16289 | # will separate the newline character(s) into their own text runs. The |
| 16290 | # link will be applied separately to the runs before and after the newline. |
| 16291 | # * Removing a link will update the text style of the range to match the |
| 16292 | # style of the preceding text (or the default text styles if the preceding |
| 16293 | # text is another link) unless different styles are being set in the same |
| 16294 | # request. |
| 16295 | "headingId": "A String", # The ID of a heading in this document. |
| 16296 | "url": "A String", # An external URL. |
| 16297 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 16298 | }, |
| 16299 | "underline": True or False, # Whether or not the text is underlined. |
| 16300 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 16301 | }, |
| 16302 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TextRun may |
| 16303 | # have multiple insertion IDs if it is a nested suggested change. If empty, |
| 16304 | # then this is not a suggested insertion. |
| 16305 | "A String", |
| 16306 | ], |
| 16307 | "suggestedTextStyleChanges": { # The suggested text style changes to this run, keyed by suggestion ID. |
| 16308 | "a_key": { # A suggested change to a TextStyle. |
| 16309 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 16310 | # the changes made in this suggestion. This can be used along with the |
| 16311 | # text_style_suggestion_state |
| 16312 | # to see which fields have changed and their new values. |
| 16313 | # |
| 16314 | # Inherited text styles are represented as unset fields in this message. A |
| 16315 | # text style's parent depends on where the text style is defined: |
| 16316 | # |
| 16317 | # * The TextStyle of text in a Paragraph |
| 16318 | # inherits from the paragraph's corresponding named style type. |
| 16319 | # * The TextStyle on a named style |
| 16320 | # inherits from the normal text named style. |
| 16321 | # * The TextStyle of the normal text named style inherits |
| 16322 | # from the default text style in the Docs editor. |
| 16323 | # * The TextStyle on a Paragraph element |
| 16324 | # that is contained in a table may inherit its text style from the table |
| 16325 | # style. |
| 16326 | # |
| 16327 | # If the text style does not inherit from a parent, unsetting fields will |
| 16328 | # revert the style to a value matching the defaults in the Docs editor. |
| 16329 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 16330 | # or transparent, depending on the `color` field. |
| 16331 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 16332 | # a transparent color. |
| 16333 | "rgbColor": { # An RGB color. # The RGB color value. |
| 16334 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16335 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16336 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16337 | }, |
| 16338 | }, |
| 16339 | }, |
| 16340 | "italic": True or False, # Whether or not the text is italicized. |
| 16341 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 16342 | # |
| 16343 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 16344 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 16345 | # The `font_size` itself is not affected by changes in this field. |
| 16346 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 16347 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 16348 | # |
| 16349 | # If an update request specifies values for both `weighted_font_family` and |
| 16350 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 16351 | # |
| 16352 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 16353 | # |
| 16354 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 16355 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 16356 | # is returned. |
| 16357 | "fontFamily": "A String", # The font family of the text. |
| 16358 | # |
| 16359 | # The font family can be any font from the Font menu in Docs or from |
| 16360 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 16361 | # unrecognized, the text is rendered in `Arial`. |
| 16362 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 16363 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 16364 | # numerical values described in the CSS 2.1 Specification, |
| 16365 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 16366 | # non-numerical values disallowed. |
| 16367 | # |
| 16368 | # The default value is `400` ("normal"). |
| 16369 | # |
| 16370 | # The font weight makes up just one component of the rendered font weight. |
| 16371 | # The rendered weight is determined by a combination of the `weight` and the |
| 16372 | # text style's resolved `bold` value, after accounting for inheritance: |
| 16373 | # |
| 16374 | # * If the text is bold and the weight is less than `400`, the rendered |
| 16375 | # weight is 400. |
| 16376 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 16377 | # is less than `700`, the rendered weight is `700`. |
| 16378 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 16379 | # equal to the weight. |
| 16380 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 16381 | }, |
| 16382 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 16383 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 16384 | "magnitude": 3.14, # The magnitude. |
| 16385 | "unit": "A String", # The units for magnitude. |
| 16386 | }, |
| 16387 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 16388 | # or transparent, depending on the `color` field. |
| 16389 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 16390 | # a transparent color. |
| 16391 | "rgbColor": { # An RGB color. # The RGB color value. |
| 16392 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16393 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16394 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16395 | }, |
| 16396 | }, |
| 16397 | }, |
| 16398 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 16399 | # are not inherited from parent text. |
| 16400 | # |
| 16401 | # Changing the link in an update request causes some other changes to the |
| 16402 | # text style of the range: |
| 16403 | # |
| 16404 | # * When setting a link, the text foreground color will be updated to the |
| 16405 | # default link color and the text will be underlined. If these fields are |
| 16406 | # modified in the same request, those values will be used instead of the |
| 16407 | # link defaults. |
| 16408 | # * Setting a link on a text range that overlaps with an existing link will |
| 16409 | # also update the existing link to point to the new URL. |
| 16410 | # * Links are not settable on newline characters. As a result, setting a link |
| 16411 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 16412 | # will separate the newline character(s) into their own text runs. The |
| 16413 | # link will be applied separately to the runs before and after the newline. |
| 16414 | # * Removing a link will update the text style of the range to match the |
| 16415 | # style of the preceding text (or the default text styles if the preceding |
| 16416 | # text is another link) unless different styles are being set in the same |
| 16417 | # request. |
| 16418 | "headingId": "A String", # The ID of a heading in this document. |
| 16419 | "url": "A String", # An external URL. |
| 16420 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 16421 | }, |
| 16422 | "underline": True or False, # Whether or not the text is underlined. |
| 16423 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 16424 | }, |
| 16425 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 16426 | # For any field set to true, there is a new suggested value. |
| 16427 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 16428 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 16429 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 16430 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 16431 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 16432 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 16433 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 16434 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 16435 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 16436 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 16437 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 16438 | }, |
| 16439 | }, |
| 16440 | }, |
| 16441 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 16442 | # of this content. |
| 16443 | "A String", |
| 16444 | ], |
| 16445 | }, |
| 16446 | "autoText": { # A ParagraphElement representing a # An auto text paragraph element. |
| 16447 | # spot in the text that is dynamically replaced with content that can change |
| 16448 | # over time, like a page number. |
| 16449 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this AutoText. |
| 16450 | # |
| 16451 | # Inherited text styles are represented as unset fields in this message. A |
| 16452 | # text style's parent depends on where the text style is defined: |
| 16453 | # |
| 16454 | # * The TextStyle of text in a Paragraph |
| 16455 | # inherits from the paragraph's corresponding named style type. |
| 16456 | # * The TextStyle on a named style |
| 16457 | # inherits from the normal text named style. |
| 16458 | # * The TextStyle of the normal text named style inherits |
| 16459 | # from the default text style in the Docs editor. |
| 16460 | # * The TextStyle on a Paragraph element |
| 16461 | # that is contained in a table may inherit its text style from the table |
| 16462 | # style. |
| 16463 | # |
| 16464 | # If the text style does not inherit from a parent, unsetting fields will |
| 16465 | # revert the style to a value matching the defaults in the Docs editor. |
| 16466 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 16467 | # or transparent, depending on the `color` field. |
| 16468 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 16469 | # a transparent color. |
| 16470 | "rgbColor": { # An RGB color. # The RGB color value. |
| 16471 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16472 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16473 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16474 | }, |
| 16475 | }, |
| 16476 | }, |
| 16477 | "italic": True or False, # Whether or not the text is italicized. |
| 16478 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 16479 | # |
| 16480 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 16481 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 16482 | # The `font_size` itself is not affected by changes in this field. |
| 16483 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 16484 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 16485 | # |
| 16486 | # If an update request specifies values for both `weighted_font_family` and |
| 16487 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 16488 | # |
| 16489 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 16490 | # |
| 16491 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 16492 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 16493 | # is returned. |
| 16494 | "fontFamily": "A String", # The font family of the text. |
| 16495 | # |
| 16496 | # The font family can be any font from the Font menu in Docs or from |
| 16497 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 16498 | # unrecognized, the text is rendered in `Arial`. |
| 16499 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 16500 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 16501 | # numerical values described in the CSS 2.1 Specification, |
| 16502 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 16503 | # non-numerical values disallowed. |
| 16504 | # |
| 16505 | # The default value is `400` ("normal"). |
| 16506 | # |
| 16507 | # The font weight makes up just one component of the rendered font weight. |
| 16508 | # The rendered weight is determined by a combination of the `weight` and the |
| 16509 | # text style's resolved `bold` value, after accounting for inheritance: |
| 16510 | # |
| 16511 | # * If the text is bold and the weight is less than `400`, the rendered |
| 16512 | # weight is 400. |
| 16513 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 16514 | # is less than `700`, the rendered weight is `700`. |
| 16515 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 16516 | # equal to the weight. |
| 16517 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 16518 | }, |
| 16519 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 16520 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 16521 | "magnitude": 3.14, # The magnitude. |
| 16522 | "unit": "A String", # The units for magnitude. |
| 16523 | }, |
| 16524 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 16525 | # or transparent, depending on the `color` field. |
| 16526 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 16527 | # a transparent color. |
| 16528 | "rgbColor": { # An RGB color. # The RGB color value. |
| 16529 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16530 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16531 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16532 | }, |
| 16533 | }, |
| 16534 | }, |
| 16535 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 16536 | # are not inherited from parent text. |
| 16537 | # |
| 16538 | # Changing the link in an update request causes some other changes to the |
| 16539 | # text style of the range: |
| 16540 | # |
| 16541 | # * When setting a link, the text foreground color will be updated to the |
| 16542 | # default link color and the text will be underlined. If these fields are |
| 16543 | # modified in the same request, those values will be used instead of the |
| 16544 | # link defaults. |
| 16545 | # * Setting a link on a text range that overlaps with an existing link will |
| 16546 | # also update the existing link to point to the new URL. |
| 16547 | # * Links are not settable on newline characters. As a result, setting a link |
| 16548 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 16549 | # will separate the newline character(s) into their own text runs. The |
| 16550 | # link will be applied separately to the runs before and after the newline. |
| 16551 | # * Removing a link will update the text style of the range to match the |
| 16552 | # style of the preceding text (or the default text styles if the preceding |
| 16553 | # text is another link) unless different styles are being set in the same |
| 16554 | # request. |
| 16555 | "headingId": "A String", # The ID of a heading in this document. |
| 16556 | "url": "A String", # An external URL. |
| 16557 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 16558 | }, |
| 16559 | "underline": True or False, # Whether or not the text is underlined. |
| 16560 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 16561 | }, |
| 16562 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 16563 | # of this content. |
| 16564 | "A String", |
| 16565 | ], |
| 16566 | "suggestedTextStyleChanges": { # The suggested text style changes to this AutoText, keyed by suggestion ID. |
| 16567 | "a_key": { # A suggested change to a TextStyle. |
| 16568 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 16569 | # the changes made in this suggestion. This can be used along with the |
| 16570 | # text_style_suggestion_state |
| 16571 | # to see which fields have changed and their new values. |
| 16572 | # |
| 16573 | # Inherited text styles are represented as unset fields in this message. A |
| 16574 | # text style's parent depends on where the text style is defined: |
| 16575 | # |
| 16576 | # * The TextStyle of text in a Paragraph |
| 16577 | # inherits from the paragraph's corresponding named style type. |
| 16578 | # * The TextStyle on a named style |
| 16579 | # inherits from the normal text named style. |
| 16580 | # * The TextStyle of the normal text named style inherits |
| 16581 | # from the default text style in the Docs editor. |
| 16582 | # * The TextStyle on a Paragraph element |
| 16583 | # that is contained in a table may inherit its text style from the table |
| 16584 | # style. |
| 16585 | # |
| 16586 | # If the text style does not inherit from a parent, unsetting fields will |
| 16587 | # revert the style to a value matching the defaults in the Docs editor. |
| 16588 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 16589 | # or transparent, depending on the `color` field. |
| 16590 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 16591 | # a transparent color. |
| 16592 | "rgbColor": { # An RGB color. # The RGB color value. |
| 16593 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16594 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16595 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16596 | }, |
| 16597 | }, |
| 16598 | }, |
| 16599 | "italic": True or False, # Whether or not the text is italicized. |
| 16600 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 16601 | # |
| 16602 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 16603 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 16604 | # The `font_size` itself is not affected by changes in this field. |
| 16605 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 16606 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 16607 | # |
| 16608 | # If an update request specifies values for both `weighted_font_family` and |
| 16609 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 16610 | # |
| 16611 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 16612 | # |
| 16613 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 16614 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 16615 | # is returned. |
| 16616 | "fontFamily": "A String", # The font family of the text. |
| 16617 | # |
| 16618 | # The font family can be any font from the Font menu in Docs or from |
| 16619 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 16620 | # unrecognized, the text is rendered in `Arial`. |
| 16621 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 16622 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 16623 | # numerical values described in the CSS 2.1 Specification, |
| 16624 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 16625 | # non-numerical values disallowed. |
| 16626 | # |
| 16627 | # The default value is `400` ("normal"). |
| 16628 | # |
| 16629 | # The font weight makes up just one component of the rendered font weight. |
| 16630 | # The rendered weight is determined by a combination of the `weight` and the |
| 16631 | # text style's resolved `bold` value, after accounting for inheritance: |
| 16632 | # |
| 16633 | # * If the text is bold and the weight is less than `400`, the rendered |
| 16634 | # weight is 400. |
| 16635 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 16636 | # is less than `700`, the rendered weight is `700`. |
| 16637 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 16638 | # equal to the weight. |
| 16639 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 16640 | }, |
| 16641 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 16642 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 16643 | "magnitude": 3.14, # The magnitude. |
| 16644 | "unit": "A String", # The units for magnitude. |
| 16645 | }, |
| 16646 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 16647 | # or transparent, depending on the `color` field. |
| 16648 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 16649 | # a transparent color. |
| 16650 | "rgbColor": { # An RGB color. # The RGB color value. |
| 16651 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16652 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16653 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16654 | }, |
| 16655 | }, |
| 16656 | }, |
| 16657 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 16658 | # are not inherited from parent text. |
| 16659 | # |
| 16660 | # Changing the link in an update request causes some other changes to the |
| 16661 | # text style of the range: |
| 16662 | # |
| 16663 | # * When setting a link, the text foreground color will be updated to the |
| 16664 | # default link color and the text will be underlined. If these fields are |
| 16665 | # modified in the same request, those values will be used instead of the |
| 16666 | # link defaults. |
| 16667 | # * Setting a link on a text range that overlaps with an existing link will |
| 16668 | # also update the existing link to point to the new URL. |
| 16669 | # * Links are not settable on newline characters. As a result, setting a link |
| 16670 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 16671 | # will separate the newline character(s) into their own text runs. The |
| 16672 | # link will be applied separately to the runs before and after the newline. |
| 16673 | # * Removing a link will update the text style of the range to match the |
| 16674 | # style of the preceding text (or the default text styles if the preceding |
| 16675 | # text is another link) unless different styles are being set in the same |
| 16676 | # request. |
| 16677 | "headingId": "A String", # The ID of a heading in this document. |
| 16678 | "url": "A String", # An external URL. |
| 16679 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 16680 | }, |
| 16681 | "underline": True or False, # Whether or not the text is underlined. |
| 16682 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 16683 | }, |
| 16684 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 16685 | # For any field set to true, there is a new suggested value. |
| 16686 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 16687 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 16688 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 16689 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 16690 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 16691 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 16692 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 16693 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 16694 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 16695 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 16696 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 16697 | }, |
| 16698 | }, |
| 16699 | }, |
| 16700 | "type": "A String", # The type of this auto text. |
| 16701 | "suggestedInsertionIds": [ # The suggested insertion IDs. An AutoText |
| 16702 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 16703 | # empty, then this is not a suggested insertion. |
| 16704 | "A String", |
| 16705 | ], |
| 16706 | }, |
| 16707 | "inlineObjectElement": { # A ParagraphElement that contains # An inline object paragraph element. |
| 16708 | # an InlineObject. |
| 16709 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this InlineObjectElement. |
| 16710 | # |
| 16711 | # Similar to text content, like text runs and footnote references, the text |
| 16712 | # style of an inline object element can affect content layout as well as the |
| 16713 | # styling of text inserted adjacent to it. |
| 16714 | # |
| 16715 | # Inherited text styles are represented as unset fields in this message. A |
| 16716 | # text style's parent depends on where the text style is defined: |
| 16717 | # |
| 16718 | # * The TextStyle of text in a Paragraph |
| 16719 | # inherits from the paragraph's corresponding named style type. |
| 16720 | # * The TextStyle on a named style |
| 16721 | # inherits from the normal text named style. |
| 16722 | # * The TextStyle of the normal text named style inherits |
| 16723 | # from the default text style in the Docs editor. |
| 16724 | # * The TextStyle on a Paragraph element |
| 16725 | # that is contained in a table may inherit its text style from the table |
| 16726 | # style. |
| 16727 | # |
| 16728 | # If the text style does not inherit from a parent, unsetting fields will |
| 16729 | # revert the style to a value matching the defaults in the Docs editor. |
| 16730 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 16731 | # or transparent, depending on the `color` field. |
| 16732 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 16733 | # a transparent color. |
| 16734 | "rgbColor": { # An RGB color. # The RGB color value. |
| 16735 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16736 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16737 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16738 | }, |
| 16739 | }, |
| 16740 | }, |
| 16741 | "italic": True or False, # Whether or not the text is italicized. |
| 16742 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 16743 | # |
| 16744 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 16745 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 16746 | # The `font_size` itself is not affected by changes in this field. |
| 16747 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 16748 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 16749 | # |
| 16750 | # If an update request specifies values for both `weighted_font_family` and |
| 16751 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 16752 | # |
| 16753 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 16754 | # |
| 16755 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 16756 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 16757 | # is returned. |
| 16758 | "fontFamily": "A String", # The font family of the text. |
| 16759 | # |
| 16760 | # The font family can be any font from the Font menu in Docs or from |
| 16761 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 16762 | # unrecognized, the text is rendered in `Arial`. |
| 16763 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 16764 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 16765 | # numerical values described in the CSS 2.1 Specification, |
| 16766 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 16767 | # non-numerical values disallowed. |
| 16768 | # |
| 16769 | # The default value is `400` ("normal"). |
| 16770 | # |
| 16771 | # The font weight makes up just one component of the rendered font weight. |
| 16772 | # The rendered weight is determined by a combination of the `weight` and the |
| 16773 | # text style's resolved `bold` value, after accounting for inheritance: |
| 16774 | # |
| 16775 | # * If the text is bold and the weight is less than `400`, the rendered |
| 16776 | # weight is 400. |
| 16777 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 16778 | # is less than `700`, the rendered weight is `700`. |
| 16779 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 16780 | # equal to the weight. |
| 16781 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 16782 | }, |
| 16783 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 16784 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 16785 | "magnitude": 3.14, # The magnitude. |
| 16786 | "unit": "A String", # The units for magnitude. |
| 16787 | }, |
| 16788 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 16789 | # or transparent, depending on the `color` field. |
| 16790 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 16791 | # a transparent color. |
| 16792 | "rgbColor": { # An RGB color. # The RGB color value. |
| 16793 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16794 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16795 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16796 | }, |
| 16797 | }, |
| 16798 | }, |
| 16799 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 16800 | # are not inherited from parent text. |
| 16801 | # |
| 16802 | # Changing the link in an update request causes some other changes to the |
| 16803 | # text style of the range: |
| 16804 | # |
| 16805 | # * When setting a link, the text foreground color will be updated to the |
| 16806 | # default link color and the text will be underlined. If these fields are |
| 16807 | # modified in the same request, those values will be used instead of the |
| 16808 | # link defaults. |
| 16809 | # * Setting a link on a text range that overlaps with an existing link will |
| 16810 | # also update the existing link to point to the new URL. |
| 16811 | # * Links are not settable on newline characters. As a result, setting a link |
| 16812 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 16813 | # will separate the newline character(s) into their own text runs. The |
| 16814 | # link will be applied separately to the runs before and after the newline. |
| 16815 | # * Removing a link will update the text style of the range to match the |
| 16816 | # style of the preceding text (or the default text styles if the preceding |
| 16817 | # text is another link) unless different styles are being set in the same |
| 16818 | # request. |
| 16819 | "headingId": "A String", # The ID of a heading in this document. |
| 16820 | "url": "A String", # An external URL. |
| 16821 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 16822 | }, |
| 16823 | "underline": True or False, # Whether or not the text is underlined. |
| 16824 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 16825 | }, |
| 16826 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 16827 | # of this content. |
| 16828 | "A String", |
| 16829 | ], |
| 16830 | "suggestedTextStyleChanges": { # The suggested text style changes to this InlineObject, keyed by suggestion |
| 16831 | # ID. |
| 16832 | "a_key": { # A suggested change to a TextStyle. |
| 16833 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 16834 | # the changes made in this suggestion. This can be used along with the |
| 16835 | # text_style_suggestion_state |
| 16836 | # to see which fields have changed and their new values. |
| 16837 | # |
| 16838 | # Inherited text styles are represented as unset fields in this message. A |
| 16839 | # text style's parent depends on where the text style is defined: |
| 16840 | # |
| 16841 | # * The TextStyle of text in a Paragraph |
| 16842 | # inherits from the paragraph's corresponding named style type. |
| 16843 | # * The TextStyle on a named style |
| 16844 | # inherits from the normal text named style. |
| 16845 | # * The TextStyle of the normal text named style inherits |
| 16846 | # from the default text style in the Docs editor. |
| 16847 | # * The TextStyle on a Paragraph element |
| 16848 | # that is contained in a table may inherit its text style from the table |
| 16849 | # style. |
| 16850 | # |
| 16851 | # If the text style does not inherit from a parent, unsetting fields will |
| 16852 | # revert the style to a value matching the defaults in the Docs editor. |
| 16853 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 16854 | # or transparent, depending on the `color` field. |
| 16855 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 16856 | # a transparent color. |
| 16857 | "rgbColor": { # An RGB color. # The RGB color value. |
| 16858 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16859 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16860 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16861 | }, |
| 16862 | }, |
| 16863 | }, |
| 16864 | "italic": True or False, # Whether or not the text is italicized. |
| 16865 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 16866 | # |
| 16867 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 16868 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 16869 | # The `font_size` itself is not affected by changes in this field. |
| 16870 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 16871 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 16872 | # |
| 16873 | # If an update request specifies values for both `weighted_font_family` and |
| 16874 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 16875 | # |
| 16876 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 16877 | # |
| 16878 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 16879 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 16880 | # is returned. |
| 16881 | "fontFamily": "A String", # The font family of the text. |
| 16882 | # |
| 16883 | # The font family can be any font from the Font menu in Docs or from |
| 16884 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 16885 | # unrecognized, the text is rendered in `Arial`. |
| 16886 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 16887 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 16888 | # numerical values described in the CSS 2.1 Specification, |
| 16889 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 16890 | # non-numerical values disallowed. |
| 16891 | # |
| 16892 | # The default value is `400` ("normal"). |
| 16893 | # |
| 16894 | # The font weight makes up just one component of the rendered font weight. |
| 16895 | # The rendered weight is determined by a combination of the `weight` and the |
| 16896 | # text style's resolved `bold` value, after accounting for inheritance: |
| 16897 | # |
| 16898 | # * If the text is bold and the weight is less than `400`, the rendered |
| 16899 | # weight is 400. |
| 16900 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 16901 | # is less than `700`, the rendered weight is `700`. |
| 16902 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 16903 | # equal to the weight. |
| 16904 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 16905 | }, |
| 16906 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 16907 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 16908 | "magnitude": 3.14, # The magnitude. |
| 16909 | "unit": "A String", # The units for magnitude. |
| 16910 | }, |
| 16911 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 16912 | # or transparent, depending on the `color` field. |
| 16913 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 16914 | # a transparent color. |
| 16915 | "rgbColor": { # An RGB color. # The RGB color value. |
| 16916 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16917 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 16918 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 16919 | }, |
| 16920 | }, |
| 16921 | }, |
| 16922 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 16923 | # are not inherited from parent text. |
| 16924 | # |
| 16925 | # Changing the link in an update request causes some other changes to the |
| 16926 | # text style of the range: |
| 16927 | # |
| 16928 | # * When setting a link, the text foreground color will be updated to the |
| 16929 | # default link color and the text will be underlined. If these fields are |
| 16930 | # modified in the same request, those values will be used instead of the |
| 16931 | # link defaults. |
| 16932 | # * Setting a link on a text range that overlaps with an existing link will |
| 16933 | # also update the existing link to point to the new URL. |
| 16934 | # * Links are not settable on newline characters. As a result, setting a link |
| 16935 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 16936 | # will separate the newline character(s) into their own text runs. The |
| 16937 | # link will be applied separately to the runs before and after the newline. |
| 16938 | # * Removing a link will update the text style of the range to match the |
| 16939 | # style of the preceding text (or the default text styles if the preceding |
| 16940 | # text is another link) unless different styles are being set in the same |
| 16941 | # request. |
| 16942 | "headingId": "A String", # The ID of a heading in this document. |
| 16943 | "url": "A String", # An external URL. |
| 16944 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 16945 | }, |
| 16946 | "underline": True or False, # Whether or not the text is underlined. |
| 16947 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 16948 | }, |
| 16949 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 16950 | # For any field set to true, there is a new suggested value. |
| 16951 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 16952 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 16953 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 16954 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 16955 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 16956 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 16957 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 16958 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 16959 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 16960 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 16961 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 16962 | }, |
| 16963 | }, |
| 16964 | }, |
| 16965 | "inlineObjectId": "A String", # The ID of the InlineObject this |
| 16966 | # element contains. |
| 16967 | "suggestedInsertionIds": [ # The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs |
| 16968 | # if it is a nested suggested change. If empty, then this is not a suggested |
| 16969 | # insertion. |
| 16970 | "A String", |
| 16971 | ], |
| 16972 | }, |
| 16973 | "footnoteReference": { # A ParagraphElement representing a # A footnote reference paragraph element. |
| 16974 | # footnote reference. A footnote reference is the inline content rendered with |
| 16975 | # a number and is used to identify the footnote. |
| 16976 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this FootnoteReference. |
| 16977 | # |
| 16978 | # Inherited text styles are represented as unset fields in this message. A |
| 16979 | # text style's parent depends on where the text style is defined: |
| 16980 | # |
| 16981 | # * The TextStyle of text in a Paragraph |
| 16982 | # inherits from the paragraph's corresponding named style type. |
| 16983 | # * The TextStyle on a named style |
| 16984 | # inherits from the normal text named style. |
| 16985 | # * The TextStyle of the normal text named style inherits |
| 16986 | # from the default text style in the Docs editor. |
| 16987 | # * The TextStyle on a Paragraph element |
| 16988 | # that is contained in a table may inherit its text style from the table |
| 16989 | # style. |
| 16990 | # |
| 16991 | # If the text style does not inherit from a parent, unsetting fields will |
| 16992 | # revert the style to a value matching the defaults in the Docs editor. |
| 16993 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 16994 | # or transparent, depending on the `color` field. |
| 16995 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 16996 | # a transparent color. |
| 16997 | "rgbColor": { # An RGB color. # The RGB color value. |
| 16998 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 16999 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17000 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17001 | }, |
| 17002 | }, |
| 17003 | }, |
| 17004 | "italic": True or False, # Whether or not the text is italicized. |
| 17005 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 17006 | # |
| 17007 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 17008 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 17009 | # The `font_size` itself is not affected by changes in this field. |
| 17010 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 17011 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 17012 | # |
| 17013 | # If an update request specifies values for both `weighted_font_family` and |
| 17014 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 17015 | # |
| 17016 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 17017 | # |
| 17018 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 17019 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 17020 | # is returned. |
| 17021 | "fontFamily": "A String", # The font family of the text. |
| 17022 | # |
| 17023 | # The font family can be any font from the Font menu in Docs or from |
| 17024 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 17025 | # unrecognized, the text is rendered in `Arial`. |
| 17026 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 17027 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 17028 | # numerical values described in the CSS 2.1 Specification, |
| 17029 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 17030 | # non-numerical values disallowed. |
| 17031 | # |
| 17032 | # The default value is `400` ("normal"). |
| 17033 | # |
| 17034 | # The font weight makes up just one component of the rendered font weight. |
| 17035 | # The rendered weight is determined by a combination of the `weight` and the |
| 17036 | # text style's resolved `bold` value, after accounting for inheritance: |
| 17037 | # |
| 17038 | # * If the text is bold and the weight is less than `400`, the rendered |
| 17039 | # weight is 400. |
| 17040 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 17041 | # is less than `700`, the rendered weight is `700`. |
| 17042 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 17043 | # equal to the weight. |
| 17044 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 17045 | }, |
| 17046 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 17047 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 17048 | "magnitude": 3.14, # The magnitude. |
| 17049 | "unit": "A String", # The units for magnitude. |
| 17050 | }, |
| 17051 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 17052 | # or transparent, depending on the `color` field. |
| 17053 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 17054 | # a transparent color. |
| 17055 | "rgbColor": { # An RGB color. # The RGB color value. |
| 17056 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17057 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17058 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17059 | }, |
| 17060 | }, |
| 17061 | }, |
| 17062 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 17063 | # are not inherited from parent text. |
| 17064 | # |
| 17065 | # Changing the link in an update request causes some other changes to the |
| 17066 | # text style of the range: |
| 17067 | # |
| 17068 | # * When setting a link, the text foreground color will be updated to the |
| 17069 | # default link color and the text will be underlined. If these fields are |
| 17070 | # modified in the same request, those values will be used instead of the |
| 17071 | # link defaults. |
| 17072 | # * Setting a link on a text range that overlaps with an existing link will |
| 17073 | # also update the existing link to point to the new URL. |
| 17074 | # * Links are not settable on newline characters. As a result, setting a link |
| 17075 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 17076 | # will separate the newline character(s) into their own text runs. The |
| 17077 | # link will be applied separately to the runs before and after the newline. |
| 17078 | # * Removing a link will update the text style of the range to match the |
| 17079 | # style of the preceding text (or the default text styles if the preceding |
| 17080 | # text is another link) unless different styles are being set in the same |
| 17081 | # request. |
| 17082 | "headingId": "A String", # The ID of a heading in this document. |
| 17083 | "url": "A String", # An external URL. |
| 17084 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 17085 | }, |
| 17086 | "underline": True or False, # Whether or not the text is underlined. |
| 17087 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 17088 | }, |
| 17089 | "footnoteNumber": "A String", # The rendered number of this footnote. |
| 17090 | "suggestedInsertionIds": [ # The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if |
| 17091 | # it is a nested suggested change. If empty, then this is not a suggested |
| 17092 | # insertion. |
| 17093 | "A String", |
| 17094 | ], |
| 17095 | "footnoteId": "A String", # The ID of the footnote that |
| 17096 | # contains the content of this footnote reference. |
| 17097 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 17098 | # of this content. |
| 17099 | "A String", |
| 17100 | ], |
| 17101 | "suggestedTextStyleChanges": { # The suggested text style changes to this FootnoteReference, keyed by |
| 17102 | # suggestion ID. |
| 17103 | "a_key": { # A suggested change to a TextStyle. |
| 17104 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 17105 | # the changes made in this suggestion. This can be used along with the |
| 17106 | # text_style_suggestion_state |
| 17107 | # to see which fields have changed and their new values. |
| 17108 | # |
| 17109 | # Inherited text styles are represented as unset fields in this message. A |
| 17110 | # text style's parent depends on where the text style is defined: |
| 17111 | # |
| 17112 | # * The TextStyle of text in a Paragraph |
| 17113 | # inherits from the paragraph's corresponding named style type. |
| 17114 | # * The TextStyle on a named style |
| 17115 | # inherits from the normal text named style. |
| 17116 | # * The TextStyle of the normal text named style inherits |
| 17117 | # from the default text style in the Docs editor. |
| 17118 | # * The TextStyle on a Paragraph element |
| 17119 | # that is contained in a table may inherit its text style from the table |
| 17120 | # style. |
| 17121 | # |
| 17122 | # If the text style does not inherit from a parent, unsetting fields will |
| 17123 | # revert the style to a value matching the defaults in the Docs editor. |
| 17124 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 17125 | # or transparent, depending on the `color` field. |
| 17126 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 17127 | # a transparent color. |
| 17128 | "rgbColor": { # An RGB color. # The RGB color value. |
| 17129 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17130 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17131 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17132 | }, |
| 17133 | }, |
| 17134 | }, |
| 17135 | "italic": True or False, # Whether or not the text is italicized. |
| 17136 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 17137 | # |
| 17138 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 17139 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 17140 | # The `font_size` itself is not affected by changes in this field. |
| 17141 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 17142 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 17143 | # |
| 17144 | # If an update request specifies values for both `weighted_font_family` and |
| 17145 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 17146 | # |
| 17147 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 17148 | # |
| 17149 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 17150 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 17151 | # is returned. |
| 17152 | "fontFamily": "A String", # The font family of the text. |
| 17153 | # |
| 17154 | # The font family can be any font from the Font menu in Docs or from |
| 17155 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 17156 | # unrecognized, the text is rendered in `Arial`. |
| 17157 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 17158 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 17159 | # numerical values described in the CSS 2.1 Specification, |
| 17160 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 17161 | # non-numerical values disallowed. |
| 17162 | # |
| 17163 | # The default value is `400` ("normal"). |
| 17164 | # |
| 17165 | # The font weight makes up just one component of the rendered font weight. |
| 17166 | # The rendered weight is determined by a combination of the `weight` and the |
| 17167 | # text style's resolved `bold` value, after accounting for inheritance: |
| 17168 | # |
| 17169 | # * If the text is bold and the weight is less than `400`, the rendered |
| 17170 | # weight is 400. |
| 17171 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 17172 | # is less than `700`, the rendered weight is `700`. |
| 17173 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 17174 | # equal to the weight. |
| 17175 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 17176 | }, |
| 17177 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 17178 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 17179 | "magnitude": 3.14, # The magnitude. |
| 17180 | "unit": "A String", # The units for magnitude. |
| 17181 | }, |
| 17182 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 17183 | # or transparent, depending on the `color` field. |
| 17184 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 17185 | # a transparent color. |
| 17186 | "rgbColor": { # An RGB color. # The RGB color value. |
| 17187 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17188 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17189 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17190 | }, |
| 17191 | }, |
| 17192 | }, |
| 17193 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 17194 | # are not inherited from parent text. |
| 17195 | # |
| 17196 | # Changing the link in an update request causes some other changes to the |
| 17197 | # text style of the range: |
| 17198 | # |
| 17199 | # * When setting a link, the text foreground color will be updated to the |
| 17200 | # default link color and the text will be underlined. If these fields are |
| 17201 | # modified in the same request, those values will be used instead of the |
| 17202 | # link defaults. |
| 17203 | # * Setting a link on a text range that overlaps with an existing link will |
| 17204 | # also update the existing link to point to the new URL. |
| 17205 | # * Links are not settable on newline characters. As a result, setting a link |
| 17206 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 17207 | # will separate the newline character(s) into their own text runs. The |
| 17208 | # link will be applied separately to the runs before and after the newline. |
| 17209 | # * Removing a link will update the text style of the range to match the |
| 17210 | # style of the preceding text (or the default text styles if the preceding |
| 17211 | # text is another link) unless different styles are being set in the same |
| 17212 | # request. |
| 17213 | "headingId": "A String", # The ID of a heading in this document. |
| 17214 | "url": "A String", # An external URL. |
| 17215 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 17216 | }, |
| 17217 | "underline": True or False, # Whether or not the text is underlined. |
| 17218 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 17219 | }, |
| 17220 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 17221 | # For any field set to true, there is a new suggested value. |
| 17222 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 17223 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 17224 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 17225 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 17226 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 17227 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 17228 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 17229 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 17230 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 17231 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 17232 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 17233 | }, |
| 17234 | }, |
| 17235 | }, |
| 17236 | }, |
| 17237 | }, |
| 17238 | ], |
| 17239 | "suggestedPositionedObjectIds": { # The IDs of the positioned objects that are suggested to be attached to this |
| 17240 | # paragraph, keyed by suggestion ID. |
| 17241 | "a_key": { # A collection of object IDs. |
| 17242 | "objectIds": [ # The object IDs. |
| 17243 | "A String", |
| 17244 | ], |
| 17245 | }, |
| 17246 | }, |
| 17247 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 17248 | # belong to a list. |
| 17249 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 17250 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 17251 | "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| 17252 | # |
| 17253 | # Inherited text styles are represented as unset fields in this message. A |
| 17254 | # text style's parent depends on where the text style is defined: |
| 17255 | # |
| 17256 | # * The TextStyle of text in a Paragraph |
| 17257 | # inherits from the paragraph's corresponding named style type. |
| 17258 | # * The TextStyle on a named style |
| 17259 | # inherits from the normal text named style. |
| 17260 | # * The TextStyle of the normal text named style inherits |
| 17261 | # from the default text style in the Docs editor. |
| 17262 | # * The TextStyle on a Paragraph element |
| 17263 | # that is contained in a table may inherit its text style from the table |
| 17264 | # style. |
| 17265 | # |
| 17266 | # If the text style does not inherit from a parent, unsetting fields will |
| 17267 | # revert the style to a value matching the defaults in the Docs editor. |
| 17268 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 17269 | # or transparent, depending on the `color` field. |
| 17270 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 17271 | # a transparent color. |
| 17272 | "rgbColor": { # An RGB color. # The RGB color value. |
| 17273 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17274 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17275 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17276 | }, |
| 17277 | }, |
| 17278 | }, |
| 17279 | "italic": True or False, # Whether or not the text is italicized. |
| 17280 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 17281 | # |
| 17282 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 17283 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 17284 | # The `font_size` itself is not affected by changes in this field. |
| 17285 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 17286 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 17287 | # |
| 17288 | # If an update request specifies values for both `weighted_font_family` and |
| 17289 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 17290 | # |
| 17291 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 17292 | # |
| 17293 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 17294 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 17295 | # is returned. |
| 17296 | "fontFamily": "A String", # The font family of the text. |
| 17297 | # |
| 17298 | # The font family can be any font from the Font menu in Docs or from |
| 17299 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 17300 | # unrecognized, the text is rendered in `Arial`. |
| 17301 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 17302 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 17303 | # numerical values described in the CSS 2.1 Specification, |
| 17304 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 17305 | # non-numerical values disallowed. |
| 17306 | # |
| 17307 | # The default value is `400` ("normal"). |
| 17308 | # |
| 17309 | # The font weight makes up just one component of the rendered font weight. |
| 17310 | # The rendered weight is determined by a combination of the `weight` and the |
| 17311 | # text style's resolved `bold` value, after accounting for inheritance: |
| 17312 | # |
| 17313 | # * If the text is bold and the weight is less than `400`, the rendered |
| 17314 | # weight is 400. |
| 17315 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 17316 | # is less than `700`, the rendered weight is `700`. |
| 17317 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 17318 | # equal to the weight. |
| 17319 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 17320 | }, |
| 17321 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 17322 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 17323 | "magnitude": 3.14, # The magnitude. |
| 17324 | "unit": "A String", # The units for magnitude. |
| 17325 | }, |
| 17326 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 17327 | # or transparent, depending on the `color` field. |
| 17328 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 17329 | # a transparent color. |
| 17330 | "rgbColor": { # An RGB color. # The RGB color value. |
| 17331 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17332 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17333 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17334 | }, |
| 17335 | }, |
| 17336 | }, |
| 17337 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 17338 | # are not inherited from parent text. |
| 17339 | # |
| 17340 | # Changing the link in an update request causes some other changes to the |
| 17341 | # text style of the range: |
| 17342 | # |
| 17343 | # * When setting a link, the text foreground color will be updated to the |
| 17344 | # default link color and the text will be underlined. If these fields are |
| 17345 | # modified in the same request, those values will be used instead of the |
| 17346 | # link defaults. |
| 17347 | # * Setting a link on a text range that overlaps with an existing link will |
| 17348 | # also update the existing link to point to the new URL. |
| 17349 | # * Links are not settable on newline characters. As a result, setting a link |
| 17350 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 17351 | # will separate the newline character(s) into their own text runs. The |
| 17352 | # link will be applied separately to the runs before and after the newline. |
| 17353 | # * Removing a link will update the text style of the range to match the |
| 17354 | # style of the preceding text (or the default text styles if the preceding |
| 17355 | # text is another link) unless different styles are being set in the same |
| 17356 | # request. |
| 17357 | "headingId": "A String", # The ID of a heading in this document. |
| 17358 | "url": "A String", # An external URL. |
| 17359 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 17360 | }, |
| 17361 | "underline": True or False, # Whether or not the text is underlined. |
| 17362 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 17363 | }, |
| 17364 | }, |
| 17365 | "suggestedBulletChanges": { # The suggested changes to this paragraph's bullet. |
| 17366 | "a_key": { # A suggested change to a Bullet. |
| 17367 | "bullet": { # Describes the bullet of a paragraph. # A Bullet that only includes the changes made |
| 17368 | # in this suggestion. This can be used along with the |
| 17369 | # bullet_suggestion_state to see which |
| 17370 | # fields have changed and their new values. |
| 17371 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 17372 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 17373 | "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| 17374 | # |
| 17375 | # Inherited text styles are represented as unset fields in this message. A |
| 17376 | # text style's parent depends on where the text style is defined: |
| 17377 | # |
| 17378 | # * The TextStyle of text in a Paragraph |
| 17379 | # inherits from the paragraph's corresponding named style type. |
| 17380 | # * The TextStyle on a named style |
| 17381 | # inherits from the normal text named style. |
| 17382 | # * The TextStyle of the normal text named style inherits |
| 17383 | # from the default text style in the Docs editor. |
| 17384 | # * The TextStyle on a Paragraph element |
| 17385 | # that is contained in a table may inherit its text style from the table |
| 17386 | # style. |
| 17387 | # |
| 17388 | # If the text style does not inherit from a parent, unsetting fields will |
| 17389 | # revert the style to a value matching the defaults in the Docs editor. |
| 17390 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 17391 | # or transparent, depending on the `color` field. |
| 17392 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 17393 | # a transparent color. |
| 17394 | "rgbColor": { # An RGB color. # The RGB color value. |
| 17395 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17396 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17397 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17398 | }, |
| 17399 | }, |
| 17400 | }, |
| 17401 | "italic": True or False, # Whether or not the text is italicized. |
| 17402 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 17403 | # |
| 17404 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 17405 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 17406 | # The `font_size` itself is not affected by changes in this field. |
| 17407 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 17408 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 17409 | # |
| 17410 | # If an update request specifies values for both `weighted_font_family` and |
| 17411 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 17412 | # |
| 17413 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 17414 | # |
| 17415 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 17416 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 17417 | # is returned. |
| 17418 | "fontFamily": "A String", # The font family of the text. |
| 17419 | # |
| 17420 | # The font family can be any font from the Font menu in Docs or from |
| 17421 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 17422 | # unrecognized, the text is rendered in `Arial`. |
| 17423 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 17424 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 17425 | # numerical values described in the CSS 2.1 Specification, |
| 17426 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 17427 | # non-numerical values disallowed. |
| 17428 | # |
| 17429 | # The default value is `400` ("normal"). |
| 17430 | # |
| 17431 | # The font weight makes up just one component of the rendered font weight. |
| 17432 | # The rendered weight is determined by a combination of the `weight` and the |
| 17433 | # text style's resolved `bold` value, after accounting for inheritance: |
| 17434 | # |
| 17435 | # * If the text is bold and the weight is less than `400`, the rendered |
| 17436 | # weight is 400. |
| 17437 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 17438 | # is less than `700`, the rendered weight is `700`. |
| 17439 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 17440 | # equal to the weight. |
| 17441 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 17442 | }, |
| 17443 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 17444 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 17445 | "magnitude": 3.14, # The magnitude. |
| 17446 | "unit": "A String", # The units for magnitude. |
| 17447 | }, |
| 17448 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 17449 | # or transparent, depending on the `color` field. |
| 17450 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 17451 | # a transparent color. |
| 17452 | "rgbColor": { # An RGB color. # The RGB color value. |
| 17453 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17454 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17455 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17456 | }, |
| 17457 | }, |
| 17458 | }, |
| 17459 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 17460 | # are not inherited from parent text. |
| 17461 | # |
| 17462 | # Changing the link in an update request causes some other changes to the |
| 17463 | # text style of the range: |
| 17464 | # |
| 17465 | # * When setting a link, the text foreground color will be updated to the |
| 17466 | # default link color and the text will be underlined. If these fields are |
| 17467 | # modified in the same request, those values will be used instead of the |
| 17468 | # link defaults. |
| 17469 | # * Setting a link on a text range that overlaps with an existing link will |
| 17470 | # also update the existing link to point to the new URL. |
| 17471 | # * Links are not settable on newline characters. As a result, setting a link |
| 17472 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 17473 | # will separate the newline character(s) into their own text runs. The |
| 17474 | # link will be applied separately to the runs before and after the newline. |
| 17475 | # * Removing a link will update the text style of the range to match the |
| 17476 | # style of the preceding text (or the default text styles if the preceding |
| 17477 | # text is another link) unless different styles are being set in the same |
| 17478 | # request. |
| 17479 | "headingId": "A String", # The ID of a heading in this document. |
| 17480 | "url": "A String", # An external URL. |
| 17481 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 17482 | }, |
| 17483 | "underline": True or False, # Whether or not the text is underlined. |
| 17484 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 17485 | }, |
| 17486 | }, |
| 17487 | "bulletSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| 17488 | # Bullet have been changed in this suggestion. |
| 17489 | # Bullet have been changed in this suggestion. |
| 17490 | # For any field set to true, there is a new suggested value. |
| 17491 | "nestingLevelSuggested": True or False, # Indicates if there was a suggested change to the |
| 17492 | # nesting_level. |
| 17493 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| 17494 | # suggestion. |
| 17495 | # For any field set to true, there is a new suggested value. |
| 17496 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 17497 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 17498 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 17499 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 17500 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 17501 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 17502 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 17503 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 17504 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 17505 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 17506 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 17507 | }, |
| 17508 | "listIdSuggested": True or False, # Indicates if there was a suggested change to the |
| 17509 | # list_id. |
| 17510 | }, |
| 17511 | }, |
| 17512 | }, |
| 17513 | "positionedObjectIds": [ # The IDs of the positioned objects tethered to this paragraph. |
| 17514 | "A String", |
| 17515 | ], |
| 17516 | "suggestedParagraphStyleChanges": { # The suggested paragraph style changes to this paragraph, keyed by |
| 17517 | # suggestion ID. |
| 17518 | "a_key": { # A suggested change to a |
| 17519 | # ParagraphStyle. |
| 17520 | "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. |
| 17521 | # For any field set to true, there is a new suggested value. |
| 17522 | "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| 17523 | "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| 17524 | "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| 17525 | "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| 17526 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 17527 | "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| 17528 | "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| 17529 | "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| 17530 | "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| 17531 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 17532 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 17533 | "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| 17534 | "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| 17535 | "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| 17536 | "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| 17537 | "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| 17538 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 17539 | "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| 17540 | "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| 17541 | "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| 17542 | # this suggestion. |
| 17543 | # suggested change. For any field set to true, there is a new suggested value. |
| 17544 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| 17545 | }, |
| 17546 | }, |
| 17547 | "paragraphStyle": { # Styles that apply to a whole paragraph. # A ParagraphStyle that only includes |
| 17548 | # the changes made in this suggestion. This can be used along with the |
| 17549 | # paragraph_suggestion_state |
| 17550 | # to see which fields have changed and their new values. |
| 17551 | # |
| 17552 | # Inherited paragraph styles are represented as unset fields in this message. |
| 17553 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 17554 | # |
| 17555 | # * The ParagraphStyle on a Paragraph |
| 17556 | # inherits from the paragraph's corresponding named style type. |
| 17557 | # * The ParagraphStyle on a named style |
| 17558 | # inherits from the normal text named style. |
| 17559 | # * The ParagraphStyle of the normal text named style inherits |
| 17560 | # from the default paragraph style in the Docs editor. |
| 17561 | # * The ParagraphStyle on a Paragraph |
| 17562 | # element that is contained in a table may inherit its paragraph style from |
| 17563 | # the table style. |
| 17564 | # |
| 17565 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 17566 | # revert the style to a value matching the defaults in the Docs editor. |
| 17567 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 17568 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 17569 | # LEFT_TO_RIGHT since |
| 17570 | # paragraph direction is not inherited. |
| 17571 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 17572 | # inherited from the parent. |
| 17573 | "magnitude": 3.14, # The magnitude. |
| 17574 | "unit": "A String", # The units for magnitude. |
| 17575 | }, |
| 17576 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 17577 | # page or column as the next paragraph if possible. If unset, the value is |
| 17578 | # inherited from the parent. |
| 17579 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 17580 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 17581 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 17582 | # is inherited from the parent. |
| 17583 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 17584 | # inherited from the parent. |
| 17585 | # |
| 17586 | # The bottom border is rendered when the paragraph below has different border |
| 17587 | # and indent properties. |
| 17588 | # |
| 17589 | # Paragraph borders cannot be partially updated. When making |
| 17590 | # changes to a paragraph border the new border must be specified in |
| 17591 | # its entirety. |
| 17592 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 17593 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 17594 | # a transparent color. |
| 17595 | "rgbColor": { # An RGB color. # The RGB color value. |
| 17596 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17597 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17598 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17599 | }, |
| 17600 | }, |
| 17601 | }, |
| 17602 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 17603 | "magnitude": 3.14, # The magnitude. |
| 17604 | "unit": "A String", # The units for magnitude. |
| 17605 | }, |
| 17606 | "dashStyle": "A String", # The dash style of the border. |
| 17607 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 17608 | "magnitude": 3.14, # The magnitude. |
| 17609 | "unit": "A String", # The units for magnitude. |
| 17610 | }, |
| 17611 | }, |
| 17612 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 17613 | # the start of the text, based on the current paragraph direction. If unset, |
| 17614 | # the value is inherited from the parent. |
| 17615 | "magnitude": 3.14, # The magnitude. |
| 17616 | "unit": "A String", # The units for magnitude. |
| 17617 | }, |
| 17618 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 17619 | # If unset, the value is inherited from the parent. |
| 17620 | # |
| 17621 | # The between border is rendered when the adjacent paragraph has the same |
| 17622 | # border and indent properties. |
| 17623 | # |
| 17624 | # Paragraph borders cannot be partially updated. When making |
| 17625 | # changes to a paragraph border the new border must be specified in |
| 17626 | # its entirety. |
| 17627 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 17628 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 17629 | # a transparent color. |
| 17630 | "rgbColor": { # An RGB color. # The RGB color value. |
| 17631 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17632 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17633 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17634 | }, |
| 17635 | }, |
| 17636 | }, |
| 17637 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 17638 | "magnitude": 3.14, # The magnitude. |
| 17639 | "unit": "A String", # The units for magnitude. |
| 17640 | }, |
| 17641 | "dashStyle": "A String", # The dash style of the border. |
| 17642 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 17643 | "magnitude": 3.14, # The magnitude. |
| 17644 | "unit": "A String", # The units for magnitude. |
| 17645 | }, |
| 17646 | }, |
| 17647 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 17648 | # |
| 17649 | # Since updating the named style type affects other properties within |
| 17650 | # ParagraphStyle, the named style type is applied before the other properties |
| 17651 | # are updated. |
| 17652 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 17653 | # from the parent. |
| 17654 | # |
| 17655 | # Paragraph borders cannot be partially updated. When making |
| 17656 | # changes to a paragraph border the new border must be specified in |
| 17657 | # its entirety. |
| 17658 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 17659 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 17660 | # a transparent color. |
| 17661 | "rgbColor": { # An RGB color. # The RGB color value. |
| 17662 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17663 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17664 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17665 | }, |
| 17666 | }, |
| 17667 | }, |
| 17668 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 17669 | "magnitude": 3.14, # The magnitude. |
| 17670 | "unit": "A String", # The units for magnitude. |
| 17671 | }, |
| 17672 | "dashStyle": "A String", # The dash style of the border. |
| 17673 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 17674 | "magnitude": 3.14, # The magnitude. |
| 17675 | "unit": "A String", # The units for magnitude. |
| 17676 | }, |
| 17677 | }, |
| 17678 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 17679 | # the end of the text, based on the current paragraph direction. If unset, |
| 17680 | # the value is inherited from the parent. |
| 17681 | "magnitude": 3.14, # The magnitude. |
| 17682 | "unit": "A String", # The units for magnitude. |
| 17683 | }, |
| 17684 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 17685 | # from the parent. |
| 17686 | # |
| 17687 | # Paragraph borders cannot be partially updated. When making |
| 17688 | # changes to a paragraph border the new border must be specified in |
| 17689 | # its entirety. |
| 17690 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 17691 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 17692 | # a transparent color. |
| 17693 | "rgbColor": { # An RGB color. # The RGB color value. |
| 17694 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17695 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17696 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17697 | }, |
| 17698 | }, |
| 17699 | }, |
| 17700 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 17701 | "magnitude": 3.14, # The magnitude. |
| 17702 | "unit": "A String", # The units for magnitude. |
| 17703 | }, |
| 17704 | "dashStyle": "A String", # The dash style of the border. |
| 17705 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 17706 | "magnitude": 3.14, # The magnitude. |
| 17707 | "unit": "A String", # The units for magnitude. |
| 17708 | }, |
| 17709 | }, |
| 17710 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 17711 | # inherited from the parent. |
| 17712 | "magnitude": 3.14, # The magnitude. |
| 17713 | "unit": "A String", # The units for magnitude. |
| 17714 | }, |
| 17715 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 17716 | # heading. This property is read-only. |
| 17717 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 17718 | # parent. |
| 17719 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 17720 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 17721 | # a transparent color. |
| 17722 | "rgbColor": { # An RGB color. # The RGB color value. |
| 17723 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17724 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17725 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17726 | }, |
| 17727 | }, |
| 17728 | }, |
| 17729 | }, |
| 17730 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 17731 | # from the parent. |
| 17732 | # |
| 17733 | # The top border is rendered when the paragraph above has different border |
| 17734 | # and indent properties. |
| 17735 | # |
| 17736 | # Paragraph borders cannot be partially updated. When making |
| 17737 | # changes to a paragraph border the new border must be specified in |
| 17738 | # its entirety. |
| 17739 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 17740 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 17741 | # a transparent color. |
| 17742 | "rgbColor": { # An RGB color. # The RGB color value. |
| 17743 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17744 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17745 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17746 | }, |
| 17747 | }, |
| 17748 | }, |
| 17749 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 17750 | "magnitude": 3.14, # The magnitude. |
| 17751 | "unit": "A String", # The units for magnitude. |
| 17752 | }, |
| 17753 | "dashStyle": "A String", # The dash style of the border. |
| 17754 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 17755 | "magnitude": 3.14, # The magnitude. |
| 17756 | "unit": "A String", # The units for magnitude. |
| 17757 | }, |
| 17758 | }, |
| 17759 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 17760 | # inherited. This property is read-only. |
| 17761 | { # A tab stop within a paragraph. |
| 17762 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 17763 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 17764 | "magnitude": 3.14, # The magnitude. |
| 17765 | "unit": "A String", # The units for magnitude. |
| 17766 | }, |
| 17767 | }, |
| 17768 | ], |
| 17769 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 17770 | # the value is inherited from the parent. |
| 17771 | "magnitude": 3.14, # The magnitude. |
| 17772 | "unit": "A String", # The units for magnitude. |
| 17773 | }, |
| 17774 | "alignment": "A String", # The text alignment for this paragraph. |
| 17775 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 17776 | # column if possible. If unset, the value is inherited from the parent. |
| 17777 | }, |
| 17778 | }, |
| 17779 | }, |
| 17780 | "paragraphStyle": { # Styles that apply to a whole paragraph. # The style of this paragraph. |
| 17781 | # |
| 17782 | # Inherited paragraph styles are represented as unset fields in this message. |
| 17783 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 17784 | # |
| 17785 | # * The ParagraphStyle on a Paragraph |
| 17786 | # inherits from the paragraph's corresponding named style type. |
| 17787 | # * The ParagraphStyle on a named style |
| 17788 | # inherits from the normal text named style. |
| 17789 | # * The ParagraphStyle of the normal text named style inherits |
| 17790 | # from the default paragraph style in the Docs editor. |
| 17791 | # * The ParagraphStyle on a Paragraph |
| 17792 | # element that is contained in a table may inherit its paragraph style from |
| 17793 | # the table style. |
| 17794 | # |
| 17795 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 17796 | # revert the style to a value matching the defaults in the Docs editor. |
| 17797 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 17798 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 17799 | # LEFT_TO_RIGHT since |
| 17800 | # paragraph direction is not inherited. |
| 17801 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 17802 | # inherited from the parent. |
| 17803 | "magnitude": 3.14, # The magnitude. |
| 17804 | "unit": "A String", # The units for magnitude. |
| 17805 | }, |
| 17806 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 17807 | # page or column as the next paragraph if possible. If unset, the value is |
| 17808 | # inherited from the parent. |
| 17809 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 17810 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 17811 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 17812 | # is inherited from the parent. |
| 17813 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 17814 | # inherited from the parent. |
| 17815 | # |
| 17816 | # The bottom border is rendered when the paragraph below has different border |
| 17817 | # and indent properties. |
| 17818 | # |
| 17819 | # Paragraph borders cannot be partially updated. When making |
| 17820 | # changes to a paragraph border the new border must be specified in |
| 17821 | # its entirety. |
| 17822 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 17823 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 17824 | # a transparent color. |
| 17825 | "rgbColor": { # An RGB color. # The RGB color value. |
| 17826 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17827 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17828 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17829 | }, |
| 17830 | }, |
| 17831 | }, |
| 17832 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 17833 | "magnitude": 3.14, # The magnitude. |
| 17834 | "unit": "A String", # The units for magnitude. |
| 17835 | }, |
| 17836 | "dashStyle": "A String", # The dash style of the border. |
| 17837 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 17838 | "magnitude": 3.14, # The magnitude. |
| 17839 | "unit": "A String", # The units for magnitude. |
| 17840 | }, |
| 17841 | }, |
| 17842 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 17843 | # the start of the text, based on the current paragraph direction. If unset, |
| 17844 | # the value is inherited from the parent. |
| 17845 | "magnitude": 3.14, # The magnitude. |
| 17846 | "unit": "A String", # The units for magnitude. |
| 17847 | }, |
| 17848 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 17849 | # If unset, the value is inherited from the parent. |
| 17850 | # |
| 17851 | # The between border is rendered when the adjacent paragraph has the same |
| 17852 | # border and indent properties. |
| 17853 | # |
| 17854 | # Paragraph borders cannot be partially updated. When making |
| 17855 | # changes to a paragraph border the new border must be specified in |
| 17856 | # its entirety. |
| 17857 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 17858 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 17859 | # a transparent color. |
| 17860 | "rgbColor": { # An RGB color. # The RGB color value. |
| 17861 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17862 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17863 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17864 | }, |
| 17865 | }, |
| 17866 | }, |
| 17867 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 17868 | "magnitude": 3.14, # The magnitude. |
| 17869 | "unit": "A String", # The units for magnitude. |
| 17870 | }, |
| 17871 | "dashStyle": "A String", # The dash style of the border. |
| 17872 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 17873 | "magnitude": 3.14, # The magnitude. |
| 17874 | "unit": "A String", # The units for magnitude. |
| 17875 | }, |
| 17876 | }, |
| 17877 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 17878 | # |
| 17879 | # Since updating the named style type affects other properties within |
| 17880 | # ParagraphStyle, the named style type is applied before the other properties |
| 17881 | # are updated. |
| 17882 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 17883 | # from the parent. |
| 17884 | # |
| 17885 | # Paragraph borders cannot be partially updated. When making |
| 17886 | # changes to a paragraph border the new border must be specified in |
| 17887 | # its entirety. |
| 17888 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 17889 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 17890 | # a transparent color. |
| 17891 | "rgbColor": { # An RGB color. # The RGB color value. |
| 17892 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17893 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17894 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17895 | }, |
| 17896 | }, |
| 17897 | }, |
| 17898 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 17899 | "magnitude": 3.14, # The magnitude. |
| 17900 | "unit": "A String", # The units for magnitude. |
| 17901 | }, |
| 17902 | "dashStyle": "A String", # The dash style of the border. |
| 17903 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 17904 | "magnitude": 3.14, # The magnitude. |
| 17905 | "unit": "A String", # The units for magnitude. |
| 17906 | }, |
| 17907 | }, |
| 17908 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 17909 | # the end of the text, based on the current paragraph direction. If unset, |
| 17910 | # the value is inherited from the parent. |
| 17911 | "magnitude": 3.14, # The magnitude. |
| 17912 | "unit": "A String", # The units for magnitude. |
| 17913 | }, |
| 17914 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 17915 | # from the parent. |
| 17916 | # |
| 17917 | # Paragraph borders cannot be partially updated. When making |
| 17918 | # changes to a paragraph border the new border must be specified in |
| 17919 | # its entirety. |
| 17920 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 17921 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 17922 | # a transparent color. |
| 17923 | "rgbColor": { # An RGB color. # The RGB color value. |
| 17924 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17925 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17926 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17927 | }, |
| 17928 | }, |
| 17929 | }, |
| 17930 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 17931 | "magnitude": 3.14, # The magnitude. |
| 17932 | "unit": "A String", # The units for magnitude. |
| 17933 | }, |
| 17934 | "dashStyle": "A String", # The dash style of the border. |
| 17935 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 17936 | "magnitude": 3.14, # The magnitude. |
| 17937 | "unit": "A String", # The units for magnitude. |
| 17938 | }, |
| 17939 | }, |
| 17940 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 17941 | # inherited from the parent. |
| 17942 | "magnitude": 3.14, # The magnitude. |
| 17943 | "unit": "A String", # The units for magnitude. |
| 17944 | }, |
| 17945 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 17946 | # heading. This property is read-only. |
| 17947 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 17948 | # parent. |
| 17949 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 17950 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 17951 | # a transparent color. |
| 17952 | "rgbColor": { # An RGB color. # The RGB color value. |
| 17953 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17954 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17955 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17956 | }, |
| 17957 | }, |
| 17958 | }, |
| 17959 | }, |
| 17960 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 17961 | # from the parent. |
| 17962 | # |
| 17963 | # The top border is rendered when the paragraph above has different border |
| 17964 | # and indent properties. |
| 17965 | # |
| 17966 | # Paragraph borders cannot be partially updated. When making |
| 17967 | # changes to a paragraph border the new border must be specified in |
| 17968 | # its entirety. |
| 17969 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 17970 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 17971 | # a transparent color. |
| 17972 | "rgbColor": { # An RGB color. # The RGB color value. |
| 17973 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 17974 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 17975 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 17976 | }, |
| 17977 | }, |
| 17978 | }, |
| 17979 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 17980 | "magnitude": 3.14, # The magnitude. |
| 17981 | "unit": "A String", # The units for magnitude. |
| 17982 | }, |
| 17983 | "dashStyle": "A String", # The dash style of the border. |
| 17984 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 17985 | "magnitude": 3.14, # The magnitude. |
| 17986 | "unit": "A String", # The units for magnitude. |
| 17987 | }, |
| 17988 | }, |
| 17989 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 17990 | # inherited. This property is read-only. |
| 17991 | { # A tab stop within a paragraph. |
| 17992 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 17993 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 17994 | "magnitude": 3.14, # The magnitude. |
| 17995 | "unit": "A String", # The units for magnitude. |
| 17996 | }, |
| 17997 | }, |
| 17998 | ], |
| 17999 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 18000 | # the value is inherited from the parent. |
| 18001 | "magnitude": 3.14, # The magnitude. |
| 18002 | "unit": "A String", # The units for magnitude. |
| 18003 | }, |
| 18004 | "alignment": "A String", # The text alignment for this paragraph. |
| 18005 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 18006 | # column if possible. If unset, the value is inherited from the parent. |
| 18007 | }, |
| 18008 | }, |
| 18009 | "table": { # A StructuralElement representing a # A table type of structural element. |
| 18010 | # table. |
| 18011 | "rows": 42, # Number of rows in the table. |
| 18012 | "tableStyle": { # Styles that apply to a table. # The style of the table. |
| 18013 | "tableColumnProperties": [ # The properties of each column. |
| 18014 | # |
| 18015 | # Note that in Docs, tables contain rows and rows contain cells, similar to |
| 18016 | # HTML. So the properties for a row can be found on the row's |
| 18017 | # table_row_style. |
| 18018 | { # The properties of a column in a table. |
| 18019 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| 18020 | # FIXED_WIDTH. |
| 18021 | "magnitude": 3.14, # The magnitude. |
| 18022 | "unit": "A String", # The units for magnitude. |
| 18023 | }, |
| 18024 | "widthType": "A String", # The width type of the column. |
| 18025 | }, |
| 18026 | ], |
| 18027 | }, |
| 18028 | "suggestedInsertionIds": [ # The suggested insertion IDs. A Table may have |
| 18029 | # multiple insertion IDs if it is a nested suggested change. If empty, then |
| 18030 | # this is not a suggested insertion. |
| 18031 | "A String", |
| 18032 | ], |
| 18033 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 18034 | # of this content. |
| 18035 | "A String", |
| 18036 | ], |
| 18037 | "tableRows": [ # The contents and style of each row. |
| 18038 | { # The contents and style of a row in a Table. |
| 18039 | "endIndex": 42, # The zero-based end index of this row, exclusive, in UTF-16 code units. |
| 18040 | "tableCells": [ # The contents and style of each cell in this row. |
| 18041 | # |
| 18042 | # It is possible for a table to be non-rectangular, so some rows may have a |
| 18043 | # different number of cells than other rows in the same table. |
| 18044 | { # The contents and style of a cell in a Table. |
| 18045 | "endIndex": 42, # The zero-based end index of this cell, exclusive, in UTF-16 code units. |
| 18046 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 18047 | # of this content. |
| 18048 | "A String", |
| 18049 | ], |
| 18050 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableCell |
| 18051 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 18052 | # empty, then this is not a suggested insertion. |
| 18053 | "A String", |
| 18054 | ], |
| 18055 | "content": [ # The content of the cell. |
| 18056 | # Object with schema name: StructuralElement |
| 18057 | ], |
| 18058 | "tableCellStyle": { # The style of a TableCell. # The style of the cell. |
| 18059 | # |
| 18060 | # Inherited table cell styles are represented as unset fields in this message. |
| 18061 | # A table cell style can inherit from the table's style. |
| 18062 | "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| 18063 | "magnitude": 3.14, # The magnitude. |
| 18064 | "unit": "A String", # The units for magnitude. |
| 18065 | }, |
| 18066 | "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| 18067 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 18068 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 18069 | # a transparent color. |
| 18070 | "rgbColor": { # An RGB color. # The RGB color value. |
| 18071 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18072 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18073 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18074 | }, |
| 18075 | }, |
| 18076 | }, |
| 18077 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 18078 | "magnitude": 3.14, # The magnitude. |
| 18079 | "unit": "A String", # The units for magnitude. |
| 18080 | }, |
| 18081 | "dashStyle": "A String", # The dash style of the border. |
| 18082 | }, |
| 18083 | "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| 18084 | "magnitude": 3.14, # The magnitude. |
| 18085 | "unit": "A String", # The units for magnitude. |
| 18086 | }, |
| 18087 | "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| 18088 | "magnitude": 3.14, # The magnitude. |
| 18089 | "unit": "A String", # The units for magnitude. |
| 18090 | }, |
| 18091 | "borderLeft": { # A border around a table cell. # The left border of the cell. |
| 18092 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 18093 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 18094 | # a transparent color. |
| 18095 | "rgbColor": { # An RGB color. # The RGB color value. |
| 18096 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18097 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18098 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18099 | }, |
| 18100 | }, |
| 18101 | }, |
| 18102 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 18103 | "magnitude": 3.14, # The magnitude. |
| 18104 | "unit": "A String", # The units for magnitude. |
| 18105 | }, |
| 18106 | "dashStyle": "A String", # The dash style of the border. |
| 18107 | }, |
| 18108 | "columnSpan": 42, # The column span of the cell. This property is read-only. |
| 18109 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| 18110 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 18111 | # a transparent color. |
| 18112 | "rgbColor": { # An RGB color. # The RGB color value. |
| 18113 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18114 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18115 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18116 | }, |
| 18117 | }, |
| 18118 | }, |
| 18119 | "borderRight": { # A border around a table cell. # The right border of the cell. |
| 18120 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 18121 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 18122 | # a transparent color. |
| 18123 | "rgbColor": { # An RGB color. # The RGB color value. |
| 18124 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18125 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18126 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18127 | }, |
| 18128 | }, |
| 18129 | }, |
| 18130 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 18131 | "magnitude": 3.14, # The magnitude. |
| 18132 | "unit": "A String", # The units for magnitude. |
| 18133 | }, |
| 18134 | "dashStyle": "A String", # The dash style of the border. |
| 18135 | }, |
| 18136 | "rowSpan": 42, # The row span of the cell. This property is read-only. |
| 18137 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 18138 | # matches the alignment for newly created table cells in the Docs editor. |
| 18139 | "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| 18140 | "magnitude": 3.14, # The magnitude. |
| 18141 | "unit": "A String", # The units for magnitude. |
| 18142 | }, |
| 18143 | "borderTop": { # A border around a table cell. # The top border of the cell. |
| 18144 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 18145 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 18146 | # a transparent color. |
| 18147 | "rgbColor": { # An RGB color. # The RGB color value. |
| 18148 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18149 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18150 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18151 | }, |
| 18152 | }, |
| 18153 | }, |
| 18154 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 18155 | "magnitude": 3.14, # The magnitude. |
| 18156 | "unit": "A String", # The units for magnitude. |
| 18157 | }, |
| 18158 | "dashStyle": "A String", # The dash style of the border. |
| 18159 | }, |
| 18160 | }, |
| 18161 | "startIndex": 42, # The zero-based start index of this cell, in UTF-16 code units. |
| 18162 | "suggestedTableCellStyleChanges": { # The suggested changes to the table cell style, keyed by suggestion ID. |
| 18163 | "a_key": { # A suggested change to a TableCellStyle. |
| 18164 | "tableCellStyle": { # The style of a TableCell. # A TableCellStyle that only includes |
| 18165 | # the changes made in this suggestion. This can be used along with the |
| 18166 | # table_cell_style_suggestion_state |
| 18167 | # to see which fields have changed and their new values. |
| 18168 | # |
| 18169 | # Inherited table cell styles are represented as unset fields in this message. |
| 18170 | # A table cell style can inherit from the table's style. |
| 18171 | "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| 18172 | "magnitude": 3.14, # The magnitude. |
| 18173 | "unit": "A String", # The units for magnitude. |
| 18174 | }, |
| 18175 | "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| 18176 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 18177 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 18178 | # a transparent color. |
| 18179 | "rgbColor": { # An RGB color. # The RGB color value. |
| 18180 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18181 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18182 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18183 | }, |
| 18184 | }, |
| 18185 | }, |
| 18186 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 18187 | "magnitude": 3.14, # The magnitude. |
| 18188 | "unit": "A String", # The units for magnitude. |
| 18189 | }, |
| 18190 | "dashStyle": "A String", # The dash style of the border. |
| 18191 | }, |
| 18192 | "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| 18193 | "magnitude": 3.14, # The magnitude. |
| 18194 | "unit": "A String", # The units for magnitude. |
| 18195 | }, |
| 18196 | "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| 18197 | "magnitude": 3.14, # The magnitude. |
| 18198 | "unit": "A String", # The units for magnitude. |
| 18199 | }, |
| 18200 | "borderLeft": { # A border around a table cell. # The left border of the cell. |
| 18201 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 18202 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 18203 | # a transparent color. |
| 18204 | "rgbColor": { # An RGB color. # The RGB color value. |
| 18205 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18206 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18207 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18208 | }, |
| 18209 | }, |
| 18210 | }, |
| 18211 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 18212 | "magnitude": 3.14, # The magnitude. |
| 18213 | "unit": "A String", # The units for magnitude. |
| 18214 | }, |
| 18215 | "dashStyle": "A String", # The dash style of the border. |
| 18216 | }, |
| 18217 | "columnSpan": 42, # The column span of the cell. This property is read-only. |
| 18218 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| 18219 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 18220 | # a transparent color. |
| 18221 | "rgbColor": { # An RGB color. # The RGB color value. |
| 18222 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18223 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18224 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18225 | }, |
| 18226 | }, |
| 18227 | }, |
| 18228 | "borderRight": { # A border around a table cell. # The right border of the cell. |
| 18229 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 18230 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 18231 | # a transparent color. |
| 18232 | "rgbColor": { # An RGB color. # The RGB color value. |
| 18233 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18234 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18235 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18236 | }, |
| 18237 | }, |
| 18238 | }, |
| 18239 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 18240 | "magnitude": 3.14, # The magnitude. |
| 18241 | "unit": "A String", # The units for magnitude. |
| 18242 | }, |
| 18243 | "dashStyle": "A String", # The dash style of the border. |
| 18244 | }, |
| 18245 | "rowSpan": 42, # The row span of the cell. This property is read-only. |
| 18246 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 18247 | # matches the alignment for newly created table cells in the Docs editor. |
| 18248 | "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| 18249 | "magnitude": 3.14, # The magnitude. |
| 18250 | "unit": "A String", # The units for magnitude. |
| 18251 | }, |
| 18252 | "borderTop": { # A border around a table cell. # The top border of the cell. |
| 18253 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 18254 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 18255 | # a transparent color. |
| 18256 | "rgbColor": { # An RGB color. # The RGB color value. |
| 18257 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18258 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18259 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18260 | }, |
| 18261 | }, |
| 18262 | }, |
| 18263 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 18264 | "magnitude": 3.14, # The magnitude. |
| 18265 | "unit": "A String", # The units for magnitude. |
| 18266 | }, |
| 18267 | "dashStyle": "A String", # The dash style of the border. |
| 18268 | }, |
| 18269 | }, |
| 18270 | "tableCellStyleSuggestionState": { # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. |
| 18271 | # For any field set to true, there is a new suggested value. |
| 18272 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 18273 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 18274 | "paddingBottomSuggested": True or False, # Indicates if there was a suggested change to padding_bottom. |
| 18275 | "contentAlignmentSuggested": True or False, # Indicates if there was a suggested change to content_alignment. |
| 18276 | "rowSpanSuggested": True or False, # Indicates if there was a suggested change to row_span. |
| 18277 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 18278 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 18279 | "columnSpanSuggested": True or False, # Indicates if there was a suggested change to column_span. |
| 18280 | "paddingRightSuggested": True or False, # Indicates if there was a suggested change to padding_right. |
| 18281 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 18282 | "paddingLeftSuggested": True or False, # Indicates if there was a suggested change to padding_left. |
| 18283 | "paddingTopSuggested": True or False, # Indicates if there was a suggested change to padding_top. |
| 18284 | }, |
| 18285 | }, |
| 18286 | }, |
| 18287 | }, |
| 18288 | ], |
| 18289 | "tableRowStyle": { # Styles that apply to a table row. # The style of the table row. |
| 18290 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 18291 | # at a height equal to or greater than this value in order to show all the |
| 18292 | # content in the row's cells. |
| 18293 | "magnitude": 3.14, # The magnitude. |
| 18294 | "unit": "A String", # The units for magnitude. |
| 18295 | }, |
| 18296 | }, |
| 18297 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableRow |
| 18298 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 18299 | # empty, then this is not a suggested insertion. |
| 18300 | "A String", |
| 18301 | ], |
| 18302 | "startIndex": 42, # The zero-based start index of this row, in UTF-16 code units. |
| 18303 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 18304 | # of this content. |
| 18305 | "A String", |
| 18306 | ], |
| 18307 | "suggestedTableRowStyleChanges": { # The suggested style changes to this row, keyed by suggestion ID. |
| 18308 | "a_key": { # A suggested change to a |
| 18309 | # TableRowStyle. |
| 18310 | "tableRowStyle": { # Styles that apply to a table row. # A TableRowStyle that only includes |
| 18311 | # the changes made in this suggestion. This can be used along with the |
| 18312 | # table_row_style_suggestion_state |
| 18313 | # to see which fields have changed and their new values. |
| 18314 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 18315 | # at a height equal to or greater than this value in order to show all the |
| 18316 | # content in the row's cells. |
| 18317 | "magnitude": 3.14, # The magnitude. |
| 18318 | "unit": "A String", # The units for magnitude. |
| 18319 | }, |
| 18320 | }, |
| 18321 | "tableRowStyleSuggestionState": { # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. |
| 18322 | # For any field set to true, there is a new suggested value. |
| 18323 | "minRowHeightSuggested": True or False, # Indicates if there was a suggested change to min_row_height. |
| 18324 | }, |
| 18325 | }, |
| 18326 | }, |
| 18327 | }, |
| 18328 | ], |
| 18329 | "columns": 42, # Number of columns in the table. |
| 18330 | # |
| 18331 | # It is possible for a table to be non-rectangular, so some rows may have a |
| 18332 | # different number of cells. |
| 18333 | }, |
| 18334 | }, |
| 18335 | ], |
| 18336 | }, |
| 18337 | "documentStyle": { # The style of the document. # The style of the document. |
| 18338 | "defaultFooterId": "A String", # The ID of the default footer. If not set, there is no default footer. |
| 18339 | "evenPageFooterId": "A String", # The ID of the footer used only for even pages. The value of |
| 18340 | # use_even_page_header_footer determines |
| 18341 | # whether to use the default_footer_id or this value for the |
| 18342 | # footer on even pages. If not set, there is no even page footer. |
| 18343 | "firstPageFooterId": "A String", # The ID of the footer used only for the first page. If not set then |
| 18344 | # a unique footer for the first page does not exist. The value of |
| 18345 | # use_first_page_header_footer determines |
| 18346 | # whether to use the default_footer_id or this value for the |
| 18347 | # footer on the first page. If not set, there is no first page footer. |
| 18348 | "pageSize": { # A width and height. # The size of a page in the document. |
| 18349 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 18350 | "magnitude": 3.14, # The magnitude. |
| 18351 | "unit": "A String", # The units for magnitude. |
| 18352 | }, |
| 18353 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 18354 | "magnitude": 3.14, # The magnitude. |
| 18355 | "unit": "A String", # The units for magnitude. |
| 18356 | }, |
| 18357 | }, |
| 18358 | "defaultHeaderId": "A String", # The ID of the default header. If not set, there is no default header. |
| 18359 | "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom page margin. |
| 18360 | "magnitude": 3.14, # The magnitude. |
| 18361 | "unit": "A String", # The units for magnitude. |
| 18362 | }, |
| 18363 | "firstPageHeaderId": "A String", # The ID of the header used only for the first page. If not set then |
| 18364 | # a unique header for the first page does not exist. |
| 18365 | # The value of use_first_page_header_footer determines |
| 18366 | # whether to use the default_header_id or this value for the |
| 18367 | # header on the first page. If not set, there is no first page header. |
| 18368 | "evenPageHeaderId": "A String", # The ID of the header used only for even pages. The value of |
| 18369 | # use_even_page_header_footer determines |
| 18370 | # whether to use the default_header_id or this value for the |
| 18371 | # header on even pages. If not set, there is no even page header. |
| 18372 | "useFirstPageHeaderFooter": True or False, # Indicates whether to use the first page header / footer IDs for the first |
| 18373 | # page. |
| 18374 | "marginLeft": { # A magnitude in a single direction in the specified units. # The left page margin. |
| 18375 | "magnitude": 3.14, # The magnitude. |
| 18376 | "unit": "A String", # The units for magnitude. |
| 18377 | }, |
| 18378 | "useEvenPageHeaderFooter": True or False, # Indicates whether to use the even page header / footer IDs for the even |
| 18379 | # pages. |
| 18380 | "background": { # Represents the background of a document. # The background of the document. |
| 18381 | "color": { # A color that can either be fully opaque or fully transparent. # The background color. |
| 18382 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 18383 | # a transparent color. |
| 18384 | "rgbColor": { # An RGB color. # The RGB color value. |
| 18385 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18386 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18387 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18388 | }, |
| 18389 | }, |
| 18390 | }, |
| 18391 | }, |
| 18392 | "marginRight": { # A magnitude in a single direction in the specified units. # The right page margin. |
| 18393 | "magnitude": 3.14, # The magnitude. |
| 18394 | "unit": "A String", # The units for magnitude. |
| 18395 | }, |
| 18396 | "pageNumberStart": 42, # The page number from which to start counting the number of pages. |
| 18397 | "marginTop": { # A magnitude in a single direction in the specified units. # The top page margin. |
| 18398 | "magnitude": 3.14, # The magnitude. |
| 18399 | "unit": "A String", # The units for magnitude. |
| 18400 | }, |
| 18401 | }, |
| 18402 | "title": "A String", # The title of the document. |
| 18403 | "namedRanges": { # The named ranges in the document, keyed by name. |
| 18404 | "a_key": { # A collection of all the NamedRanges in the |
| 18405 | # document that share a given name. |
| 18406 | "namedRanges": [ # The NamedRanges that share the same name. |
| 18407 | { # A collection of Ranges with the same named range |
| 18408 | # ID. |
| 18409 | # |
| 18410 | # Named ranges allow developers to associate parts of a document with an |
| 18411 | # arbitrary user-defined label so their contents can be programmatically read |
| 18412 | # or edited at a later time. A document can contain multiple named ranges with |
| 18413 | # the same name, but every named range has a unique ID. |
| 18414 | # |
| 18415 | # A named range is created with a single Range, |
| 18416 | # and content inserted inside a named range generally expands that range. |
| 18417 | # However, certain document changes can cause the range to be split into |
| 18418 | # multiple ranges. |
| 18419 | # |
| 18420 | # Named ranges are not private. All applications and collaborators that have |
| 18421 | # access to the document can see its named ranges. |
| 18422 | "ranges": [ # The ranges that belong to this named range. |
| 18423 | { # Specifies a contiguous range of text. |
| 18424 | "endIndex": 42, # The zero-based end index of this range, exclusive, in UTF-16 code units. |
| 18425 | # |
| 18426 | # In all current uses, an end index must be provided. This field is an |
| 18427 | # Int32Value in order to accommodate future use cases with open-ended ranges. |
| 18428 | "startIndex": 42, # The zero-based start index of this range, in UTF-16 code units. |
| 18429 | # |
| 18430 | # In all current uses, a start index must be provided. This field is an |
| 18431 | # Int32Value in order to accommodate future use cases with open-ended ranges. |
| 18432 | "segmentId": "A String", # The ID of the header, footer or footnote that this range is contained in. |
| 18433 | # An empty segment ID signifies the document's body. |
| 18434 | }, |
| 18435 | ], |
| 18436 | "namedRangeId": "A String", # The ID of the named range. |
| 18437 | "name": "A String", # The name of the named range. |
| 18438 | }, |
| 18439 | ], |
| 18440 | "name": "A String", # The name that all the named ranges share. |
| 18441 | }, |
| 18442 | }, |
| 18443 | "suggestedDocumentStyleChanges": { # The suggested changes to the style of the document, keyed by suggestion ID. |
| 18444 | "a_key": { # A suggested change to the DocumentStyle. |
| 18445 | "documentStyle": { # The style of the document. # A DocumentStyle that only includes |
| 18446 | # the changes made in this suggestion. This can be used along with the |
| 18447 | # document_style_suggestion_state |
| 18448 | # to see which fields have changed and their new values. |
| 18449 | "defaultFooterId": "A String", # The ID of the default footer. If not set, there is no default footer. |
| 18450 | "evenPageFooterId": "A String", # The ID of the footer used only for even pages. The value of |
| 18451 | # use_even_page_header_footer determines |
| 18452 | # whether to use the default_footer_id or this value for the |
| 18453 | # footer on even pages. If not set, there is no even page footer. |
| 18454 | "firstPageFooterId": "A String", # The ID of the footer used only for the first page. If not set then |
| 18455 | # a unique footer for the first page does not exist. The value of |
| 18456 | # use_first_page_header_footer determines |
| 18457 | # whether to use the default_footer_id or this value for the |
| 18458 | # footer on the first page. If not set, there is no first page footer. |
| 18459 | "pageSize": { # A width and height. # The size of a page in the document. |
| 18460 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 18461 | "magnitude": 3.14, # The magnitude. |
| 18462 | "unit": "A String", # The units for magnitude. |
| 18463 | }, |
| 18464 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 18465 | "magnitude": 3.14, # The magnitude. |
| 18466 | "unit": "A String", # The units for magnitude. |
| 18467 | }, |
| 18468 | }, |
| 18469 | "defaultHeaderId": "A String", # The ID of the default header. If not set, there is no default header. |
| 18470 | "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom page margin. |
| 18471 | "magnitude": 3.14, # The magnitude. |
| 18472 | "unit": "A String", # The units for magnitude. |
| 18473 | }, |
| 18474 | "firstPageHeaderId": "A String", # The ID of the header used only for the first page. If not set then |
| 18475 | # a unique header for the first page does not exist. |
| 18476 | # The value of use_first_page_header_footer determines |
| 18477 | # whether to use the default_header_id or this value for the |
| 18478 | # header on the first page. If not set, there is no first page header. |
| 18479 | "evenPageHeaderId": "A String", # The ID of the header used only for even pages. The value of |
| 18480 | # use_even_page_header_footer determines |
| 18481 | # whether to use the default_header_id or this value for the |
| 18482 | # header on even pages. If not set, there is no even page header. |
| 18483 | "useFirstPageHeaderFooter": True or False, # Indicates whether to use the first page header / footer IDs for the first |
| 18484 | # page. |
| 18485 | "marginLeft": { # A magnitude in a single direction in the specified units. # The left page margin. |
| 18486 | "magnitude": 3.14, # The magnitude. |
| 18487 | "unit": "A String", # The units for magnitude. |
| 18488 | }, |
| 18489 | "useEvenPageHeaderFooter": True or False, # Indicates whether to use the even page header / footer IDs for the even |
| 18490 | # pages. |
| 18491 | "background": { # Represents the background of a document. # The background of the document. |
| 18492 | "color": { # A color that can either be fully opaque or fully transparent. # The background color. |
| 18493 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 18494 | # a transparent color. |
| 18495 | "rgbColor": { # An RGB color. # The RGB color value. |
| 18496 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18497 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18498 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18499 | }, |
| 18500 | }, |
| 18501 | }, |
| 18502 | }, |
| 18503 | "marginRight": { # A magnitude in a single direction in the specified units. # The right page margin. |
| 18504 | "magnitude": 3.14, # The magnitude. |
| 18505 | "unit": "A String", # The units for magnitude. |
| 18506 | }, |
| 18507 | "pageNumberStart": 42, # The page number from which to start counting the number of pages. |
| 18508 | "marginTop": { # A magnitude in a single direction in the specified units. # The top page margin. |
| 18509 | "magnitude": 3.14, # The magnitude. |
| 18510 | "unit": "A String", # The units for magnitude. |
| 18511 | }, |
| 18512 | }, |
| 18513 | "documentStyleSuggestionState": { # A mask that indicates which of the fields on the base DocumentStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base DocumentStyle have been changed in this suggestion. |
| 18514 | # For any field set to true, there is a new suggested value. |
| 18515 | "marginRightSuggested": True or False, # Indicates if there was a suggested change to margin_right. |
| 18516 | "evenPageHeaderIdSuggested": True or False, # Indicates if there was a suggested change to even_page_header_id. |
| 18517 | "firstPageHeaderIdSuggested": True or False, # Indicates if there was a suggested change to first_page_header_id. |
| 18518 | "marginBottomSuggested": True or False, # Indicates if there was a suggested change to margin_bottom. |
| 18519 | "pageNumberStartSuggested": True or False, # Indicates if there was a suggested change to page_number_start. |
| 18520 | "defaultHeaderIdSuggested": True or False, # Indicates if there was a suggested change to default_header_id. |
| 18521 | "pageSizeSuggestionState": { # A mask that indicates which of the fields on the base Size have been changed in this suggestion. # A mask that indicates which of the fields in size have been changed in this |
| 18522 | # suggestion. |
| 18523 | # For any field set to true, the Size has |
| 18524 | # a new suggested value. |
| 18525 | "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| 18526 | "heightSuggested": True or False, # Indicates if there was a suggested change to height. |
| 18527 | }, |
| 18528 | "marginLeftSuggested": True or False, # Indicates if there was a suggested change to margin_left. |
| 18529 | "marginTopSuggested": True or False, # Indicates if there was a suggested change to margin_top. |
| 18530 | "firstPageFooterIdSuggested": True or False, # Indicates if there was a suggested change to first_page_footer_id. |
| 18531 | "defaultFooterIdSuggested": True or False, # Indicates if there was a suggested change to default_footer_id. |
| 18532 | "useFirstPageHeaderFooterSuggested": True or False, # Indicates if there was a suggested change to use_first_page_header_footer. |
| 18533 | "evenPageFooterIdSuggested": True or False, # Indicates if there was a suggested change to even_page_footer_id. |
| 18534 | "backgroundSuggestionState": { # A mask that indicates which of the fields on the base Background have been changed in this suggestion. # A mask that indicates which of the fields in background have been changed in this |
| 18535 | # suggestion. |
| 18536 | # For any field set to true, the Backgound has a new suggested value. |
| 18537 | "backgroundColorSuggested": True or False, # Indicates whether the current background color has been modified in this |
| 18538 | # suggestion. |
| 18539 | }, |
| 18540 | "useEvenPageHeaderFooterSuggested": True or False, # Indicates if there was a suggested change to use_even_page_header_footer. |
| 18541 | }, |
| 18542 | }, |
| 18543 | }, |
| 18544 | "suggestedNamedStylesChanges": { # The suggested changes to the named styles of the document, keyed by |
| 18545 | # suggestion ID. |
| 18546 | "a_key": { # A suggested change to the NamedStyles. |
| 18547 | "namedStylesSuggestionState": { # The suggestion state of a NamedStyles # A mask that indicates which of the fields on the base NamedStyles have been changed in this suggestion. |
| 18548 | # message. |
| 18549 | "stylesSuggestionStates": [ # A mask that indicates which of the fields on the corresponding NamedStyle in styles have been changed in this |
| 18550 | # suggestion. |
| 18551 | # |
| 18552 | # The order of these named style suggestion states match the order of the |
| 18553 | # corresponding named style within the named styles suggestion. |
| 18554 | { # A suggestion state of a NamedStyle message. |
| 18555 | "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields in paragraph style have been changed in this |
| 18556 | # suggestion. |
| 18557 | # For any field set to true, there is a new suggested value. |
| 18558 | "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| 18559 | "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| 18560 | "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| 18561 | "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| 18562 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 18563 | "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| 18564 | "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| 18565 | "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| 18566 | "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| 18567 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 18568 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 18569 | "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| 18570 | "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| 18571 | "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| 18572 | "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| 18573 | "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| 18574 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 18575 | "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| 18576 | "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| 18577 | "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| 18578 | # this suggestion. |
| 18579 | # suggested change. For any field set to true, there is a new suggested value. |
| 18580 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| 18581 | }, |
| 18582 | }, |
| 18583 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| 18584 | # suggestion. |
| 18585 | # For any field set to true, there is a new suggested value. |
| 18586 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 18587 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 18588 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 18589 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 18590 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 18591 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 18592 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 18593 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 18594 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 18595 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 18596 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 18597 | }, |
| 18598 | "namedStyleType": "A String", # The named style type that this suggestion state corresponds to. |
| 18599 | # |
| 18600 | # This field is provided as a convenience for matching the |
| 18601 | # NamedStyleSuggestionState with its corresponding NamedStyle. |
| 18602 | }, |
| 18603 | ], |
| 18604 | }, |
| 18605 | "namedStyles": { # The named styles. Paragraphs in the document can inherit their # A NamedStyles that only includes the |
| 18606 | # changes made in this suggestion. This can be used along with the |
| 18607 | # named_styles_suggestion_state to |
| 18608 | # see which fields have changed and their new values. |
| 18609 | # TextStyle and |
| 18610 | # ParagraphStyle from these named styles. |
| 18611 | "styles": [ # The named styles. |
| 18612 | # |
| 18613 | # There is an entry for each of the possible named style types. |
| 18614 | { # A named style. Paragraphs in the document can inherit their |
| 18615 | # TextStyle and |
| 18616 | # ParagraphStyle from this named style |
| 18617 | # when they have the same named style type. |
| 18618 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this named style. |
| 18619 | # |
| 18620 | # Inherited text styles are represented as unset fields in this message. A |
| 18621 | # text style's parent depends on where the text style is defined: |
| 18622 | # |
| 18623 | # * The TextStyle of text in a Paragraph |
| 18624 | # inherits from the paragraph's corresponding named style type. |
| 18625 | # * The TextStyle on a named style |
| 18626 | # inherits from the normal text named style. |
| 18627 | # * The TextStyle of the normal text named style inherits |
| 18628 | # from the default text style in the Docs editor. |
| 18629 | # * The TextStyle on a Paragraph element |
| 18630 | # that is contained in a table may inherit its text style from the table |
| 18631 | # style. |
| 18632 | # |
| 18633 | # If the text style does not inherit from a parent, unsetting fields will |
| 18634 | # revert the style to a value matching the defaults in the Docs editor. |
| 18635 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 18636 | # or transparent, depending on the `color` field. |
| 18637 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 18638 | # a transparent color. |
| 18639 | "rgbColor": { # An RGB color. # The RGB color value. |
| 18640 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18641 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18642 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18643 | }, |
| 18644 | }, |
| 18645 | }, |
| 18646 | "italic": True or False, # Whether or not the text is italicized. |
| 18647 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 18648 | # |
| 18649 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 18650 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 18651 | # The `font_size` itself is not affected by changes in this field. |
| 18652 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 18653 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 18654 | # |
| 18655 | # If an update request specifies values for both `weighted_font_family` and |
| 18656 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 18657 | # |
| 18658 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 18659 | # |
| 18660 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 18661 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 18662 | # is returned. |
| 18663 | "fontFamily": "A String", # The font family of the text. |
| 18664 | # |
| 18665 | # The font family can be any font from the Font menu in Docs or from |
| 18666 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 18667 | # unrecognized, the text is rendered in `Arial`. |
| 18668 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 18669 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 18670 | # numerical values described in the CSS 2.1 Specification, |
| 18671 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 18672 | # non-numerical values disallowed. |
| 18673 | # |
| 18674 | # The default value is `400` ("normal"). |
| 18675 | # |
| 18676 | # The font weight makes up just one component of the rendered font weight. |
| 18677 | # The rendered weight is determined by a combination of the `weight` and the |
| 18678 | # text style's resolved `bold` value, after accounting for inheritance: |
| 18679 | # |
| 18680 | # * If the text is bold and the weight is less than `400`, the rendered |
| 18681 | # weight is 400. |
| 18682 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 18683 | # is less than `700`, the rendered weight is `700`. |
| 18684 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 18685 | # equal to the weight. |
| 18686 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 18687 | }, |
| 18688 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 18689 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 18690 | "magnitude": 3.14, # The magnitude. |
| 18691 | "unit": "A String", # The units for magnitude. |
| 18692 | }, |
| 18693 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 18694 | # or transparent, depending on the `color` field. |
| 18695 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 18696 | # a transparent color. |
| 18697 | "rgbColor": { # An RGB color. # The RGB color value. |
| 18698 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18699 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18700 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18701 | }, |
| 18702 | }, |
| 18703 | }, |
| 18704 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 18705 | # are not inherited from parent text. |
| 18706 | # |
| 18707 | # Changing the link in an update request causes some other changes to the |
| 18708 | # text style of the range: |
| 18709 | # |
| 18710 | # * When setting a link, the text foreground color will be updated to the |
| 18711 | # default link color and the text will be underlined. If these fields are |
| 18712 | # modified in the same request, those values will be used instead of the |
| 18713 | # link defaults. |
| 18714 | # * Setting a link on a text range that overlaps with an existing link will |
| 18715 | # also update the existing link to point to the new URL. |
| 18716 | # * Links are not settable on newline characters. As a result, setting a link |
| 18717 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 18718 | # will separate the newline character(s) into their own text runs. The |
| 18719 | # link will be applied separately to the runs before and after the newline. |
| 18720 | # * Removing a link will update the text style of the range to match the |
| 18721 | # style of the preceding text (or the default text styles if the preceding |
| 18722 | # text is another link) unless different styles are being set in the same |
| 18723 | # request. |
| 18724 | "headingId": "A String", # The ID of a heading in this document. |
| 18725 | "url": "A String", # An external URL. |
| 18726 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 18727 | }, |
| 18728 | "underline": True or False, # Whether or not the text is underlined. |
| 18729 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 18730 | }, |
| 18731 | "namedStyleType": "A String", # The type of this named style. |
| 18732 | "paragraphStyle": { # Styles that apply to a whole paragraph. # The paragraph style of this named style. |
| 18733 | # |
| 18734 | # Inherited paragraph styles are represented as unset fields in this message. |
| 18735 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 18736 | # |
| 18737 | # * The ParagraphStyle on a Paragraph |
| 18738 | # inherits from the paragraph's corresponding named style type. |
| 18739 | # * The ParagraphStyle on a named style |
| 18740 | # inherits from the normal text named style. |
| 18741 | # * The ParagraphStyle of the normal text named style inherits |
| 18742 | # from the default paragraph style in the Docs editor. |
| 18743 | # * The ParagraphStyle on a Paragraph |
| 18744 | # element that is contained in a table may inherit its paragraph style from |
| 18745 | # the table style. |
| 18746 | # |
| 18747 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 18748 | # revert the style to a value matching the defaults in the Docs editor. |
| 18749 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 18750 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 18751 | # LEFT_TO_RIGHT since |
| 18752 | # paragraph direction is not inherited. |
| 18753 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 18754 | # inherited from the parent. |
| 18755 | "magnitude": 3.14, # The magnitude. |
| 18756 | "unit": "A String", # The units for magnitude. |
| 18757 | }, |
| 18758 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 18759 | # page or column as the next paragraph if possible. If unset, the value is |
| 18760 | # inherited from the parent. |
| 18761 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 18762 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 18763 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 18764 | # is inherited from the parent. |
| 18765 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 18766 | # inherited from the parent. |
| 18767 | # |
| 18768 | # The bottom border is rendered when the paragraph below has different border |
| 18769 | # and indent properties. |
| 18770 | # |
| 18771 | # Paragraph borders cannot be partially updated. When making |
| 18772 | # changes to a paragraph border the new border must be specified in |
| 18773 | # its entirety. |
| 18774 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 18775 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 18776 | # a transparent color. |
| 18777 | "rgbColor": { # An RGB color. # The RGB color value. |
| 18778 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18779 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18780 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18781 | }, |
| 18782 | }, |
| 18783 | }, |
| 18784 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 18785 | "magnitude": 3.14, # The magnitude. |
| 18786 | "unit": "A String", # The units for magnitude. |
| 18787 | }, |
| 18788 | "dashStyle": "A String", # The dash style of the border. |
| 18789 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 18790 | "magnitude": 3.14, # The magnitude. |
| 18791 | "unit": "A String", # The units for magnitude. |
| 18792 | }, |
| 18793 | }, |
| 18794 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 18795 | # the start of the text, based on the current paragraph direction. If unset, |
| 18796 | # the value is inherited from the parent. |
| 18797 | "magnitude": 3.14, # The magnitude. |
| 18798 | "unit": "A String", # The units for magnitude. |
| 18799 | }, |
| 18800 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 18801 | # If unset, the value is inherited from the parent. |
| 18802 | # |
| 18803 | # The between border is rendered when the adjacent paragraph has the same |
| 18804 | # border and indent properties. |
| 18805 | # |
| 18806 | # Paragraph borders cannot be partially updated. When making |
| 18807 | # changes to a paragraph border the new border must be specified in |
| 18808 | # its entirety. |
| 18809 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 18810 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 18811 | # a transparent color. |
| 18812 | "rgbColor": { # An RGB color. # The RGB color value. |
| 18813 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18814 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18815 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18816 | }, |
| 18817 | }, |
| 18818 | }, |
| 18819 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 18820 | "magnitude": 3.14, # The magnitude. |
| 18821 | "unit": "A String", # The units for magnitude. |
| 18822 | }, |
| 18823 | "dashStyle": "A String", # The dash style of the border. |
| 18824 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 18825 | "magnitude": 3.14, # The magnitude. |
| 18826 | "unit": "A String", # The units for magnitude. |
| 18827 | }, |
| 18828 | }, |
| 18829 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 18830 | # |
| 18831 | # Since updating the named style type affects other properties within |
| 18832 | # ParagraphStyle, the named style type is applied before the other properties |
| 18833 | # are updated. |
| 18834 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 18835 | # from the parent. |
| 18836 | # |
| 18837 | # Paragraph borders cannot be partially updated. When making |
| 18838 | # changes to a paragraph border the new border must be specified in |
| 18839 | # its entirety. |
| 18840 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 18841 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 18842 | # a transparent color. |
| 18843 | "rgbColor": { # An RGB color. # The RGB color value. |
| 18844 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18845 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18846 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18847 | }, |
| 18848 | }, |
| 18849 | }, |
| 18850 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 18851 | "magnitude": 3.14, # The magnitude. |
| 18852 | "unit": "A String", # The units for magnitude. |
| 18853 | }, |
| 18854 | "dashStyle": "A String", # The dash style of the border. |
| 18855 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 18856 | "magnitude": 3.14, # The magnitude. |
| 18857 | "unit": "A String", # The units for magnitude. |
| 18858 | }, |
| 18859 | }, |
| 18860 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 18861 | # the end of the text, based on the current paragraph direction. If unset, |
| 18862 | # the value is inherited from the parent. |
| 18863 | "magnitude": 3.14, # The magnitude. |
| 18864 | "unit": "A String", # The units for magnitude. |
| 18865 | }, |
| 18866 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 18867 | # from the parent. |
| 18868 | # |
| 18869 | # Paragraph borders cannot be partially updated. When making |
| 18870 | # changes to a paragraph border the new border must be specified in |
| 18871 | # its entirety. |
| 18872 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 18873 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 18874 | # a transparent color. |
| 18875 | "rgbColor": { # An RGB color. # The RGB color value. |
| 18876 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18877 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18878 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18879 | }, |
| 18880 | }, |
| 18881 | }, |
| 18882 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 18883 | "magnitude": 3.14, # The magnitude. |
| 18884 | "unit": "A String", # The units for magnitude. |
| 18885 | }, |
| 18886 | "dashStyle": "A String", # The dash style of the border. |
| 18887 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 18888 | "magnitude": 3.14, # The magnitude. |
| 18889 | "unit": "A String", # The units for magnitude. |
| 18890 | }, |
| 18891 | }, |
| 18892 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 18893 | # inherited from the parent. |
| 18894 | "magnitude": 3.14, # The magnitude. |
| 18895 | "unit": "A String", # The units for magnitude. |
| 18896 | }, |
| 18897 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 18898 | # heading. This property is read-only. |
| 18899 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 18900 | # parent. |
| 18901 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 18902 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 18903 | # a transparent color. |
| 18904 | "rgbColor": { # An RGB color. # The RGB color value. |
| 18905 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18906 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18907 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18908 | }, |
| 18909 | }, |
| 18910 | }, |
| 18911 | }, |
| 18912 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 18913 | # from the parent. |
| 18914 | # |
| 18915 | # The top border is rendered when the paragraph above has different border |
| 18916 | # and indent properties. |
| 18917 | # |
| 18918 | # Paragraph borders cannot be partially updated. When making |
| 18919 | # changes to a paragraph border the new border must be specified in |
| 18920 | # its entirety. |
| 18921 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 18922 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 18923 | # a transparent color. |
| 18924 | "rgbColor": { # An RGB color. # The RGB color value. |
| 18925 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 18926 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 18927 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 18928 | }, |
| 18929 | }, |
| 18930 | }, |
| 18931 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 18932 | "magnitude": 3.14, # The magnitude. |
| 18933 | "unit": "A String", # The units for magnitude. |
| 18934 | }, |
| 18935 | "dashStyle": "A String", # The dash style of the border. |
| 18936 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 18937 | "magnitude": 3.14, # The magnitude. |
| 18938 | "unit": "A String", # The units for magnitude. |
| 18939 | }, |
| 18940 | }, |
| 18941 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 18942 | # inherited. This property is read-only. |
| 18943 | { # A tab stop within a paragraph. |
| 18944 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 18945 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 18946 | "magnitude": 3.14, # The magnitude. |
| 18947 | "unit": "A String", # The units for magnitude. |
| 18948 | }, |
| 18949 | }, |
| 18950 | ], |
| 18951 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 18952 | # the value is inherited from the parent. |
| 18953 | "magnitude": 3.14, # The magnitude. |
| 18954 | "unit": "A String", # The units for magnitude. |
| 18955 | }, |
| 18956 | "alignment": "A String", # The text alignment for this paragraph. |
| 18957 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 18958 | # column if possible. If unset, the value is inherited from the parent. |
| 18959 | }, |
| 18960 | }, |
| 18961 | ], |
| 18962 | }, |
| 18963 | }, |
| 18964 | }, |
| 18965 | "suggestionsViewMode": "A String", # The suggestions view mode applied to the document. |
| 18966 | # |
| 18967 | # Note: When editing a document, changes must be based on a document with |
| 18968 | # SUGGESTIONS_INLINE. |
| 18969 | "lists": { # The lists in the document, keyed by list ID. |
| 18970 | "a_key": { # A List represents the list attributes for a group of paragraphs that all |
| 18971 | # belong to the same list. A paragraph that is part of a list has a reference |
| 18972 | # to the list's ID in its bullet. |
| 18973 | "listProperties": { # The properties of a list which describe the look # The properties of the list. |
| 18974 | # and feel of bullets belonging to paragraphs associated with a list. |
| 18975 | "nestingLevels": [ # Describes the properties of the bullets at the associated level. |
| 18976 | # |
| 18977 | # A list has at most nine levels of nesting with nesting level 0 |
| 18978 | # corresponding to the top-most level and nesting level 8 corresponding to |
| 18979 | # the most nested level. The nesting levels are returned in ascending order |
| 18980 | # with the least nested returned first. |
| 18981 | { # Contains properties describing the look and feel of a list bullet at a given |
| 18982 | # level of nesting. |
| 18983 | "textStyle": { # Represents the styling that can be applied to text. # The text style of bullets at this level of nesting. |
| 18984 | # |
| 18985 | # Inherited text styles are represented as unset fields in this message. A |
| 18986 | # text style's parent depends on where the text style is defined: |
| 18987 | # |
| 18988 | # * The TextStyle of text in a Paragraph |
| 18989 | # inherits from the paragraph's corresponding named style type. |
| 18990 | # * The TextStyle on a named style |
| 18991 | # inherits from the normal text named style. |
| 18992 | # * The TextStyle of the normal text named style inherits |
| 18993 | # from the default text style in the Docs editor. |
| 18994 | # * The TextStyle on a Paragraph element |
| 18995 | # that is contained in a table may inherit its text style from the table |
| 18996 | # style. |
| 18997 | # |
| 18998 | # If the text style does not inherit from a parent, unsetting fields will |
| 18999 | # revert the style to a value matching the defaults in the Docs editor. |
| 19000 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 19001 | # or transparent, depending on the `color` field. |
| 19002 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 19003 | # a transparent color. |
| 19004 | "rgbColor": { # An RGB color. # The RGB color value. |
| 19005 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19006 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19007 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19008 | }, |
| 19009 | }, |
| 19010 | }, |
| 19011 | "italic": True or False, # Whether or not the text is italicized. |
| 19012 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 19013 | # |
| 19014 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 19015 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 19016 | # The `font_size` itself is not affected by changes in this field. |
| 19017 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 19018 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 19019 | # |
| 19020 | # If an update request specifies values for both `weighted_font_family` and |
| 19021 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 19022 | # |
| 19023 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 19024 | # |
| 19025 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 19026 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 19027 | # is returned. |
| 19028 | "fontFamily": "A String", # The font family of the text. |
| 19029 | # |
| 19030 | # The font family can be any font from the Font menu in Docs or from |
| 19031 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 19032 | # unrecognized, the text is rendered in `Arial`. |
| 19033 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 19034 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 19035 | # numerical values described in the CSS 2.1 Specification, |
| 19036 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 19037 | # non-numerical values disallowed. |
| 19038 | # |
| 19039 | # The default value is `400` ("normal"). |
| 19040 | # |
| 19041 | # The font weight makes up just one component of the rendered font weight. |
| 19042 | # The rendered weight is determined by a combination of the `weight` and the |
| 19043 | # text style's resolved `bold` value, after accounting for inheritance: |
| 19044 | # |
| 19045 | # * If the text is bold and the weight is less than `400`, the rendered |
| 19046 | # weight is 400. |
| 19047 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 19048 | # is less than `700`, the rendered weight is `700`. |
| 19049 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 19050 | # equal to the weight. |
| 19051 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 19052 | }, |
| 19053 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 19054 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 19055 | "magnitude": 3.14, # The magnitude. |
| 19056 | "unit": "A String", # The units for magnitude. |
| 19057 | }, |
| 19058 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 19059 | # or transparent, depending on the `color` field. |
| 19060 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 19061 | # a transparent color. |
| 19062 | "rgbColor": { # An RGB color. # The RGB color value. |
| 19063 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19064 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19065 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19066 | }, |
| 19067 | }, |
| 19068 | }, |
| 19069 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 19070 | # are not inherited from parent text. |
| 19071 | # |
| 19072 | # Changing the link in an update request causes some other changes to the |
| 19073 | # text style of the range: |
| 19074 | # |
| 19075 | # * When setting a link, the text foreground color will be updated to the |
| 19076 | # default link color and the text will be underlined. If these fields are |
| 19077 | # modified in the same request, those values will be used instead of the |
| 19078 | # link defaults. |
| 19079 | # * Setting a link on a text range that overlaps with an existing link will |
| 19080 | # also update the existing link to point to the new URL. |
| 19081 | # * Links are not settable on newline characters. As a result, setting a link |
| 19082 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 19083 | # will separate the newline character(s) into their own text runs. The |
| 19084 | # link will be applied separately to the runs before and after the newline. |
| 19085 | # * Removing a link will update the text style of the range to match the |
| 19086 | # style of the preceding text (or the default text styles if the preceding |
| 19087 | # text is another link) unless different styles are being set in the same |
| 19088 | # request. |
| 19089 | "headingId": "A String", # The ID of a heading in this document. |
| 19090 | "url": "A String", # An external URL. |
| 19091 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 19092 | }, |
| 19093 | "underline": True or False, # Whether or not the text is underlined. |
| 19094 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 19095 | }, |
| 19096 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for paragraphs at this level of nesting. Applied |
| 19097 | # to the side that corresponds to the start of the text, based on the |
| 19098 | # paragraph's content direction. |
| 19099 | "magnitude": 3.14, # The magnitude. |
| 19100 | "unit": "A String", # The units for magnitude. |
| 19101 | }, |
| 19102 | "glyphFormat": "A String", # The format string used by bullets at this level of nesting. |
| 19103 | # |
| 19104 | # The glyph format contains one or more placeholders, and these placeholder |
| 19105 | # are replaced with the appropriate values depending on the glyph_type or glyph_symbol. The placeholders follow |
| 19106 | # the pattern `%[nesting_level]`. Furthermore, placeholders can have prefixes |
| 19107 | # and suffixes. Thus, the glyph format follows the pattern |
| 19108 | # `<prefix>%[nesting_level]<suffix>`. Note that the prefix and suffix are |
| 19109 | # optional and can be arbitrary strings. |
| 19110 | # |
| 19111 | # For example, the glyph format `%0.` indicates that the rendered glyph will |
| 19112 | # replace the placeholder with the corresponding glyph for nesting level 0 |
| 19113 | # followed by a period as the suffix. So a list with a glyph type of |
| 19114 | # UPPER_ALPHA and |
| 19115 | # glyph format `%0.` at nesting level 0 will result in a list with rendered |
| 19116 | # glyphs |
| 19117 | # <p>`A.` |
| 19118 | # <p>`B.` |
| 19119 | # <p>`C.` |
| 19120 | # |
| 19121 | # The glyph format can contain placeholders for the current nesting level as |
| 19122 | # well as placeholders for parent nesting levels. For example, a |
| 19123 | # list can have a glyph format of `%0.` at nesting level 0 and a |
| 19124 | # glyph format of `%0.%1.` at nesting level 1. Assuming both nesting levels |
| 19125 | # have DECIMAL glyph |
| 19126 | # types, this would result in a list with rendered glyphs |
| 19127 | # <p>`1.` |
| 19128 | # <p>`2.` |
| 19129 | # <p>` 2.1.` |
| 19130 | # <p>` 2.2.` |
| 19131 | # <p>`3.` |
| 19132 | # |
| 19133 | # For nesting levels that are ordered, the string that replaces a placeholder |
| 19134 | # in the glyph format for a particular paragraph depends on the paragraph's |
| 19135 | # order within the list. |
| 19136 | "glyphType": "A String", # The type of glyph used by bullets when paragraphs at this level of |
| 19137 | # nesting are ordered. |
| 19138 | # |
| 19139 | # The glyph type determines the type of glyph used to replace placeholders |
| 19140 | # within the glyph_format |
| 19141 | # when paragraphs at this level of nesting are ordered. For example, if the |
| 19142 | # nesting level is 0, the glyph_format is `%0.` and the glyph |
| 19143 | # type is DECIMAL, |
| 19144 | # then the rendered glyph would replace the placeholder `%0` in the glyph |
| 19145 | # format with a number corresponding to list item's order within the list. |
| 19146 | "startNumber": 42, # The number of the first list item at this nesting level. |
| 19147 | # |
| 19148 | # A value of 0 is treated as a value of 1 for lettered lists and roman |
| 19149 | # numeraled lists, i.e. for values of both 0 and 1, lettered and roman |
| 19150 | # numeraled lists will begin at `a` and `i` respectively. |
| 19151 | # |
| 19152 | # This value is ignored for nesting levels with unordered glyphs. |
| 19153 | "bulletAlignment": "A String", # The alignment of the bullet within the space allotted for rendering the |
| 19154 | # bullet. |
| 19155 | "glyphSymbol": "A String", # A custom glyph symbol used by bullets when paragraphs at this level of |
| 19156 | # nesting are unordered. |
| 19157 | # |
| 19158 | # The glyph symbol replaces placeholders within the glyph_format. For example, if the |
| 19159 | # glyph_symbol is the solid circle corresponding to Unicode U+25cf code |
| 19160 | # point and the glyph_format is `%0`, the rendered |
| 19161 | # glyph would be the solid circle. |
| 19162 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of paragraphs at this level of |
| 19163 | # nesting. |
| 19164 | "magnitude": 3.14, # The magnitude. |
| 19165 | "unit": "A String", # The units for magnitude. |
| 19166 | }, |
| 19167 | }, |
| 19168 | ], |
| 19169 | }, |
| 19170 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 19171 | # of this list. |
| 19172 | "A String", |
| 19173 | ], |
| 19174 | "suggestedListPropertiesChanges": { # The suggested changes to the list properties, keyed by suggestion |
| 19175 | # ID. |
| 19176 | "a_key": { # A suggested change to ListProperties. |
| 19177 | "listProperties": { # The properties of a list which describe the look # A ListProperties that only includes |
| 19178 | # the changes made in this suggestion. This can be used along with the |
| 19179 | # list_properties_suggestion_state |
| 19180 | # to see which fields have changed and their new values. |
| 19181 | # and feel of bullets belonging to paragraphs associated with a list. |
| 19182 | "nestingLevels": [ # Describes the properties of the bullets at the associated level. |
| 19183 | # |
| 19184 | # A list has at most nine levels of nesting with nesting level 0 |
| 19185 | # corresponding to the top-most level and nesting level 8 corresponding to |
| 19186 | # the most nested level. The nesting levels are returned in ascending order |
| 19187 | # with the least nested returned first. |
| 19188 | { # Contains properties describing the look and feel of a list bullet at a given |
| 19189 | # level of nesting. |
| 19190 | "textStyle": { # Represents the styling that can be applied to text. # The text style of bullets at this level of nesting. |
| 19191 | # |
| 19192 | # Inherited text styles are represented as unset fields in this message. A |
| 19193 | # text style's parent depends on where the text style is defined: |
| 19194 | # |
| 19195 | # * The TextStyle of text in a Paragraph |
| 19196 | # inherits from the paragraph's corresponding named style type. |
| 19197 | # * The TextStyle on a named style |
| 19198 | # inherits from the normal text named style. |
| 19199 | # * The TextStyle of the normal text named style inherits |
| 19200 | # from the default text style in the Docs editor. |
| 19201 | # * The TextStyle on a Paragraph element |
| 19202 | # that is contained in a table may inherit its text style from the table |
| 19203 | # style. |
| 19204 | # |
| 19205 | # If the text style does not inherit from a parent, unsetting fields will |
| 19206 | # revert the style to a value matching the defaults in the Docs editor. |
| 19207 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 19208 | # or transparent, depending on the `color` field. |
| 19209 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 19210 | # a transparent color. |
| 19211 | "rgbColor": { # An RGB color. # The RGB color value. |
| 19212 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19213 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19214 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19215 | }, |
| 19216 | }, |
| 19217 | }, |
| 19218 | "italic": True or False, # Whether or not the text is italicized. |
| 19219 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 19220 | # |
| 19221 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 19222 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 19223 | # The `font_size` itself is not affected by changes in this field. |
| 19224 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 19225 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 19226 | # |
| 19227 | # If an update request specifies values for both `weighted_font_family` and |
| 19228 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 19229 | # |
| 19230 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 19231 | # |
| 19232 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 19233 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 19234 | # is returned. |
| 19235 | "fontFamily": "A String", # The font family of the text. |
| 19236 | # |
| 19237 | # The font family can be any font from the Font menu in Docs or from |
| 19238 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 19239 | # unrecognized, the text is rendered in `Arial`. |
| 19240 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 19241 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 19242 | # numerical values described in the CSS 2.1 Specification, |
| 19243 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 19244 | # non-numerical values disallowed. |
| 19245 | # |
| 19246 | # The default value is `400` ("normal"). |
| 19247 | # |
| 19248 | # The font weight makes up just one component of the rendered font weight. |
| 19249 | # The rendered weight is determined by a combination of the `weight` and the |
| 19250 | # text style's resolved `bold` value, after accounting for inheritance: |
| 19251 | # |
| 19252 | # * If the text is bold and the weight is less than `400`, the rendered |
| 19253 | # weight is 400. |
| 19254 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 19255 | # is less than `700`, the rendered weight is `700`. |
| 19256 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 19257 | # equal to the weight. |
| 19258 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 19259 | }, |
| 19260 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 19261 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 19262 | "magnitude": 3.14, # The magnitude. |
| 19263 | "unit": "A String", # The units for magnitude. |
| 19264 | }, |
| 19265 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 19266 | # or transparent, depending on the `color` field. |
| 19267 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 19268 | # a transparent color. |
| 19269 | "rgbColor": { # An RGB color. # The RGB color value. |
| 19270 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19271 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19272 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19273 | }, |
| 19274 | }, |
| 19275 | }, |
| 19276 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 19277 | # are not inherited from parent text. |
| 19278 | # |
| 19279 | # Changing the link in an update request causes some other changes to the |
| 19280 | # text style of the range: |
| 19281 | # |
| 19282 | # * When setting a link, the text foreground color will be updated to the |
| 19283 | # default link color and the text will be underlined. If these fields are |
| 19284 | # modified in the same request, those values will be used instead of the |
| 19285 | # link defaults. |
| 19286 | # * Setting a link on a text range that overlaps with an existing link will |
| 19287 | # also update the existing link to point to the new URL. |
| 19288 | # * Links are not settable on newline characters. As a result, setting a link |
| 19289 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 19290 | # will separate the newline character(s) into their own text runs. The |
| 19291 | # link will be applied separately to the runs before and after the newline. |
| 19292 | # * Removing a link will update the text style of the range to match the |
| 19293 | # style of the preceding text (or the default text styles if the preceding |
| 19294 | # text is another link) unless different styles are being set in the same |
| 19295 | # request. |
| 19296 | "headingId": "A String", # The ID of a heading in this document. |
| 19297 | "url": "A String", # An external URL. |
| 19298 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 19299 | }, |
| 19300 | "underline": True or False, # Whether or not the text is underlined. |
| 19301 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 19302 | }, |
| 19303 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for paragraphs at this level of nesting. Applied |
| 19304 | # to the side that corresponds to the start of the text, based on the |
| 19305 | # paragraph's content direction. |
| 19306 | "magnitude": 3.14, # The magnitude. |
| 19307 | "unit": "A String", # The units for magnitude. |
| 19308 | }, |
| 19309 | "glyphFormat": "A String", # The format string used by bullets at this level of nesting. |
| 19310 | # |
| 19311 | # The glyph format contains one or more placeholders, and these placeholder |
| 19312 | # are replaced with the appropriate values depending on the glyph_type or glyph_symbol. The placeholders follow |
| 19313 | # the pattern `%[nesting_level]`. Furthermore, placeholders can have prefixes |
| 19314 | # and suffixes. Thus, the glyph format follows the pattern |
| 19315 | # `<prefix>%[nesting_level]<suffix>`. Note that the prefix and suffix are |
| 19316 | # optional and can be arbitrary strings. |
| 19317 | # |
| 19318 | # For example, the glyph format `%0.` indicates that the rendered glyph will |
| 19319 | # replace the placeholder with the corresponding glyph for nesting level 0 |
| 19320 | # followed by a period as the suffix. So a list with a glyph type of |
| 19321 | # UPPER_ALPHA and |
| 19322 | # glyph format `%0.` at nesting level 0 will result in a list with rendered |
| 19323 | # glyphs |
| 19324 | # <p>`A.` |
| 19325 | # <p>`B.` |
| 19326 | # <p>`C.` |
| 19327 | # |
| 19328 | # The glyph format can contain placeholders for the current nesting level as |
| 19329 | # well as placeholders for parent nesting levels. For example, a |
| 19330 | # list can have a glyph format of `%0.` at nesting level 0 and a |
| 19331 | # glyph format of `%0.%1.` at nesting level 1. Assuming both nesting levels |
| 19332 | # have DECIMAL glyph |
| 19333 | # types, this would result in a list with rendered glyphs |
| 19334 | # <p>`1.` |
| 19335 | # <p>`2.` |
| 19336 | # <p>` 2.1.` |
| 19337 | # <p>` 2.2.` |
| 19338 | # <p>`3.` |
| 19339 | # |
| 19340 | # For nesting levels that are ordered, the string that replaces a placeholder |
| 19341 | # in the glyph format for a particular paragraph depends on the paragraph's |
| 19342 | # order within the list. |
| 19343 | "glyphType": "A String", # The type of glyph used by bullets when paragraphs at this level of |
| 19344 | # nesting are ordered. |
| 19345 | # |
| 19346 | # The glyph type determines the type of glyph used to replace placeholders |
| 19347 | # within the glyph_format |
| 19348 | # when paragraphs at this level of nesting are ordered. For example, if the |
| 19349 | # nesting level is 0, the glyph_format is `%0.` and the glyph |
| 19350 | # type is DECIMAL, |
| 19351 | # then the rendered glyph would replace the placeholder `%0` in the glyph |
| 19352 | # format with a number corresponding to list item's order within the list. |
| 19353 | "startNumber": 42, # The number of the first list item at this nesting level. |
| 19354 | # |
| 19355 | # A value of 0 is treated as a value of 1 for lettered lists and roman |
| 19356 | # numeraled lists, i.e. for values of both 0 and 1, lettered and roman |
| 19357 | # numeraled lists will begin at `a` and `i` respectively. |
| 19358 | # |
| 19359 | # This value is ignored for nesting levels with unordered glyphs. |
| 19360 | "bulletAlignment": "A String", # The alignment of the bullet within the space allotted for rendering the |
| 19361 | # bullet. |
| 19362 | "glyphSymbol": "A String", # A custom glyph symbol used by bullets when paragraphs at this level of |
| 19363 | # nesting are unordered. |
| 19364 | # |
| 19365 | # The glyph symbol replaces placeholders within the glyph_format. For example, if the |
| 19366 | # glyph_symbol is the solid circle corresponding to Unicode U+25cf code |
| 19367 | # point and the glyph_format is `%0`, the rendered |
| 19368 | # glyph would be the solid circle. |
| 19369 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of paragraphs at this level of |
| 19370 | # nesting. |
| 19371 | "magnitude": 3.14, # The magnitude. |
| 19372 | "unit": "A String", # The units for magnitude. |
| 19373 | }, |
| 19374 | }, |
| 19375 | ], |
| 19376 | }, |
| 19377 | "listPropertiesSuggestionState": { # A mask that indicates which of the fields on the base ListProperties have been changed in this suggestion. # A mask that indicates which of the fields on the base ListProperties have been changed in this suggestion. |
| 19378 | # For any field set to true, there is a new suggested value. |
| 19379 | "nestingLevelsSuggestionStates": [ # A mask that indicates which of the fields on the corresponding |
| 19380 | # NestingLevel in nesting_levels have been changed in |
| 19381 | # this suggestion. |
| 19382 | # |
| 19383 | # The nesting level suggestion states are returned in ascending order of the |
| 19384 | # nesting level with the least nested returned first. |
| 19385 | { # A mask that indicates which of the fields on the base NestingLevel have been changed in this suggestion. For |
| 19386 | # any field set to true, there is a new suggested value. |
| 19387 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| 19388 | # suggestion. |
| 19389 | # For any field set to true, there is a new suggested value. |
| 19390 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 19391 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 19392 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 19393 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 19394 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 19395 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 19396 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 19397 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 19398 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 19399 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 19400 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 19401 | }, |
| 19402 | "glyphFormatSuggested": True or False, # Indicates if there was a suggested change to |
| 19403 | # glyph_format. |
| 19404 | "indentStartSuggested": True or False, # Indicates if there was a suggested change to |
| 19405 | # indent_start. |
| 19406 | "startNumberSuggested": True or False, # Indicates if there was a suggested change to |
| 19407 | # start_number. |
| 19408 | "glyphTypeSuggested": True or False, # Indicates if there was a suggested change to |
| 19409 | # glyph_type. |
| 19410 | "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to |
| 19411 | # indent_first_line. |
| 19412 | "glyphSymbolSuggested": True or False, # Indicates if there was a suggested change to |
| 19413 | # glyph_symbol. |
| 19414 | "bulletAlignmentSuggested": True or False, # Indicates if there was a suggested change to |
| 19415 | # bullet_alignment. |
| 19416 | }, |
| 19417 | ], |
| 19418 | }, |
| 19419 | }, |
| 19420 | }, |
| 19421 | "suggestedInsertionId": "A String", # The suggested insertion ID. If empty, then this is not a suggested |
| 19422 | # insertion. |
| 19423 | }, |
| 19424 | }, |
| 19425 | "headers": { # The headers in the document, keyed by header ID. |
| 19426 | "a_key": { # A document header. |
| 19427 | "headerId": "A String", # The ID of the header. |
| 19428 | "content": [ # The contents of the header. |
| 19429 | # |
| 19430 | # The indexes for a header's content begin at zero. |
| 19431 | { # A StructuralElement describes content that provides structure to the |
| 19432 | # document. |
| 19433 | "endIndex": 42, # The zero-based end index of this structural element, exclusive, in UTF-16 |
| 19434 | # code units. |
| 19435 | "sectionBreak": { # A StructuralElement representing a # A section break type of structural element. |
| 19436 | # section break. A section is a range of content which has the same |
| 19437 | # SectionStyle. A section break represents |
| 19438 | # the start of a new section, and the section style applies to the section |
| 19439 | # after the section break. |
| 19440 | # |
| 19441 | # The document body always begins with a section break. |
| 19442 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 19443 | # of this content. |
| 19444 | "A String", |
| 19445 | ], |
| 19446 | "sectionStyle": { # The styling that applies to a section. # The style of the section after this section break. |
| 19447 | "contentDirection": "A String", # The content direction of this section. If unset, the value defaults to |
| 19448 | # LEFT_TO_RIGHT. |
| 19449 | "columnProperties": [ # The section's columns properties. |
| 19450 | # |
| 19451 | # If empty, the section contains one column with the default properties in |
| 19452 | # the Docs editor. |
| 19453 | { # Properties that apply to a section's column. |
| 19454 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. |
| 19455 | "magnitude": 3.14, # The magnitude. |
| 19456 | "unit": "A String", # The units for magnitude. |
| 19457 | }, |
| 19458 | "paddingEnd": { # A magnitude in a single direction in the specified units. # The padding at the end of the column. |
| 19459 | "magnitude": 3.14, # The magnitude. |
| 19460 | "unit": "A String", # The units for magnitude. |
| 19461 | }, |
| 19462 | }, |
| 19463 | ], |
| 19464 | "columnSeparatorStyle": "A String", # The style of column separators. |
| 19465 | # |
| 19466 | # This style can be set even when there is one column in the section. |
| 19467 | }, |
| 19468 | "suggestedInsertionIds": [ # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is |
| 19469 | # a nested suggested change. If empty, then this is not a suggested |
| 19470 | # insertion. |
| 19471 | "A String", |
| 19472 | ], |
| 19473 | }, |
| 19474 | "tableOfContents": { # A StructuralElement representing # A table of contents type of structural element. |
| 19475 | # a table of contents. |
| 19476 | "content": [ # The content of the table of contents. |
| 19477 | # Object with schema name: StructuralElement |
| 19478 | ], |
| 19479 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 19480 | # of this content. |
| 19481 | "A String", |
| 19482 | ], |
| 19483 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it |
| 19484 | # is a nested suggested change. If empty, then this is not a suggested |
| 19485 | # insertion. |
| 19486 | "A String", |
| 19487 | ], |
| 19488 | }, |
| 19489 | "startIndex": 42, # The zero-based start index of this structural element, in UTF-16 code |
| 19490 | # units. |
| 19491 | "paragraph": { # A StructuralElement representing a # A paragraph type of structural element. |
| 19492 | # paragraph. A paragraph is a range of content that is terminated with a |
| 19493 | # newline character. |
| 19494 | "elements": [ # The content of the paragraph broken down into its component parts. |
| 19495 | { # A ParagraphElement describes content within a |
| 19496 | # Paragraph. |
| 19497 | "endIndex": 42, # The zero-base end index of this paragraph element, exclusive, in UTF-16 |
| 19498 | # code units. |
| 19499 | "equation": { # A ParagraphElement representing an # An equation paragraph element. |
| 19500 | # equation. |
| 19501 | "suggestedInsertionIds": [ # The suggested insertion IDs. A Equation |
| 19502 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 19503 | # empty, then this is not a suggested insertion. |
| 19504 | "A String", |
| 19505 | ], |
| 19506 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 19507 | # of this content. |
| 19508 | "A String", |
| 19509 | ], |
| 19510 | }, |
| 19511 | "columnBreak": { # A ParagraphElement representing a # A column break paragraph element. |
| 19512 | # column break. A column break makes the subsequent text start at the top of |
| 19513 | # the next column. |
| 19514 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this ColumnBreak. |
| 19515 | # |
| 19516 | # Similar to text content, like text runs and footnote references, the text |
| 19517 | # style of a column break can affect content layout as well as the styling of |
| 19518 | # text inserted adjacent to it. |
| 19519 | # |
| 19520 | # Inherited text styles are represented as unset fields in this message. A |
| 19521 | # text style's parent depends on where the text style is defined: |
| 19522 | # |
| 19523 | # * The TextStyle of text in a Paragraph |
| 19524 | # inherits from the paragraph's corresponding named style type. |
| 19525 | # * The TextStyle on a named style |
| 19526 | # inherits from the normal text named style. |
| 19527 | # * The TextStyle of the normal text named style inherits |
| 19528 | # from the default text style in the Docs editor. |
| 19529 | # * The TextStyle on a Paragraph element |
| 19530 | # that is contained in a table may inherit its text style from the table |
| 19531 | # style. |
| 19532 | # |
| 19533 | # If the text style does not inherit from a parent, unsetting fields will |
| 19534 | # revert the style to a value matching the defaults in the Docs editor. |
| 19535 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 19536 | # or transparent, depending on the `color` field. |
| 19537 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 19538 | # a transparent color. |
| 19539 | "rgbColor": { # An RGB color. # The RGB color value. |
| 19540 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19541 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19542 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19543 | }, |
| 19544 | }, |
| 19545 | }, |
| 19546 | "italic": True or False, # Whether or not the text is italicized. |
| 19547 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 19548 | # |
| 19549 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 19550 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 19551 | # The `font_size` itself is not affected by changes in this field. |
| 19552 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 19553 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 19554 | # |
| 19555 | # If an update request specifies values for both `weighted_font_family` and |
| 19556 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 19557 | # |
| 19558 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 19559 | # |
| 19560 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 19561 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 19562 | # is returned. |
| 19563 | "fontFamily": "A String", # The font family of the text. |
| 19564 | # |
| 19565 | # The font family can be any font from the Font menu in Docs or from |
| 19566 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 19567 | # unrecognized, the text is rendered in `Arial`. |
| 19568 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 19569 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 19570 | # numerical values described in the CSS 2.1 Specification, |
| 19571 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 19572 | # non-numerical values disallowed. |
| 19573 | # |
| 19574 | # The default value is `400` ("normal"). |
| 19575 | # |
| 19576 | # The font weight makes up just one component of the rendered font weight. |
| 19577 | # The rendered weight is determined by a combination of the `weight` and the |
| 19578 | # text style's resolved `bold` value, after accounting for inheritance: |
| 19579 | # |
| 19580 | # * If the text is bold and the weight is less than `400`, the rendered |
| 19581 | # weight is 400. |
| 19582 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 19583 | # is less than `700`, the rendered weight is `700`. |
| 19584 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 19585 | # equal to the weight. |
| 19586 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 19587 | }, |
| 19588 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 19589 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 19590 | "magnitude": 3.14, # The magnitude. |
| 19591 | "unit": "A String", # The units for magnitude. |
| 19592 | }, |
| 19593 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 19594 | # or transparent, depending on the `color` field. |
| 19595 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 19596 | # a transparent color. |
| 19597 | "rgbColor": { # An RGB color. # The RGB color value. |
| 19598 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19599 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19600 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19601 | }, |
| 19602 | }, |
| 19603 | }, |
| 19604 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 19605 | # are not inherited from parent text. |
| 19606 | # |
| 19607 | # Changing the link in an update request causes some other changes to the |
| 19608 | # text style of the range: |
| 19609 | # |
| 19610 | # * When setting a link, the text foreground color will be updated to the |
| 19611 | # default link color and the text will be underlined. If these fields are |
| 19612 | # modified in the same request, those values will be used instead of the |
| 19613 | # link defaults. |
| 19614 | # * Setting a link on a text range that overlaps with an existing link will |
| 19615 | # also update the existing link to point to the new URL. |
| 19616 | # * Links are not settable on newline characters. As a result, setting a link |
| 19617 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 19618 | # will separate the newline character(s) into their own text runs. The |
| 19619 | # link will be applied separately to the runs before and after the newline. |
| 19620 | # * Removing a link will update the text style of the range to match the |
| 19621 | # style of the preceding text (or the default text styles if the preceding |
| 19622 | # text is another link) unless different styles are being set in the same |
| 19623 | # request. |
| 19624 | "headingId": "A String", # The ID of a heading in this document. |
| 19625 | "url": "A String", # An external URL. |
| 19626 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 19627 | }, |
| 19628 | "underline": True or False, # Whether or not the text is underlined. |
| 19629 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 19630 | }, |
| 19631 | "suggestedInsertionIds": [ # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is |
| 19632 | # a nested suggested change. If empty, then this is not a suggested |
| 19633 | # insertion. |
| 19634 | "A String", |
| 19635 | ], |
| 19636 | "suggestedTextStyleChanges": { # The suggested text style changes to this ColumnBreak, keyed by suggestion |
| 19637 | # ID. |
| 19638 | "a_key": { # A suggested change to a TextStyle. |
| 19639 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 19640 | # the changes made in this suggestion. This can be used along with the |
| 19641 | # text_style_suggestion_state |
| 19642 | # to see which fields have changed and their new values. |
| 19643 | # |
| 19644 | # Inherited text styles are represented as unset fields in this message. A |
| 19645 | # text style's parent depends on where the text style is defined: |
| 19646 | # |
| 19647 | # * The TextStyle of text in a Paragraph |
| 19648 | # inherits from the paragraph's corresponding named style type. |
| 19649 | # * The TextStyle on a named style |
| 19650 | # inherits from the normal text named style. |
| 19651 | # * The TextStyle of the normal text named style inherits |
| 19652 | # from the default text style in the Docs editor. |
| 19653 | # * The TextStyle on a Paragraph element |
| 19654 | # that is contained in a table may inherit its text style from the table |
| 19655 | # style. |
| 19656 | # |
| 19657 | # If the text style does not inherit from a parent, unsetting fields will |
| 19658 | # revert the style to a value matching the defaults in the Docs editor. |
| 19659 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 19660 | # or transparent, depending on the `color` field. |
| 19661 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 19662 | # a transparent color. |
| 19663 | "rgbColor": { # An RGB color. # The RGB color value. |
| 19664 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19665 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19666 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19667 | }, |
| 19668 | }, |
| 19669 | }, |
| 19670 | "italic": True or False, # Whether or not the text is italicized. |
| 19671 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 19672 | # |
| 19673 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 19674 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 19675 | # The `font_size` itself is not affected by changes in this field. |
| 19676 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 19677 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 19678 | # |
| 19679 | # If an update request specifies values for both `weighted_font_family` and |
| 19680 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 19681 | # |
| 19682 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 19683 | # |
| 19684 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 19685 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 19686 | # is returned. |
| 19687 | "fontFamily": "A String", # The font family of the text. |
| 19688 | # |
| 19689 | # The font family can be any font from the Font menu in Docs or from |
| 19690 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 19691 | # unrecognized, the text is rendered in `Arial`. |
| 19692 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 19693 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 19694 | # numerical values described in the CSS 2.1 Specification, |
| 19695 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 19696 | # non-numerical values disallowed. |
| 19697 | # |
| 19698 | # The default value is `400` ("normal"). |
| 19699 | # |
| 19700 | # The font weight makes up just one component of the rendered font weight. |
| 19701 | # The rendered weight is determined by a combination of the `weight` and the |
| 19702 | # text style's resolved `bold` value, after accounting for inheritance: |
| 19703 | # |
| 19704 | # * If the text is bold and the weight is less than `400`, the rendered |
| 19705 | # weight is 400. |
| 19706 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 19707 | # is less than `700`, the rendered weight is `700`. |
| 19708 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 19709 | # equal to the weight. |
| 19710 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 19711 | }, |
| 19712 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 19713 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 19714 | "magnitude": 3.14, # The magnitude. |
| 19715 | "unit": "A String", # The units for magnitude. |
| 19716 | }, |
| 19717 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 19718 | # or transparent, depending on the `color` field. |
| 19719 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 19720 | # a transparent color. |
| 19721 | "rgbColor": { # An RGB color. # The RGB color value. |
| 19722 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19723 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19724 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19725 | }, |
| 19726 | }, |
| 19727 | }, |
| 19728 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 19729 | # are not inherited from parent text. |
| 19730 | # |
| 19731 | # Changing the link in an update request causes some other changes to the |
| 19732 | # text style of the range: |
| 19733 | # |
| 19734 | # * When setting a link, the text foreground color will be updated to the |
| 19735 | # default link color and the text will be underlined. If these fields are |
| 19736 | # modified in the same request, those values will be used instead of the |
| 19737 | # link defaults. |
| 19738 | # * Setting a link on a text range that overlaps with an existing link will |
| 19739 | # also update the existing link to point to the new URL. |
| 19740 | # * Links are not settable on newline characters. As a result, setting a link |
| 19741 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 19742 | # will separate the newline character(s) into their own text runs. The |
| 19743 | # link will be applied separately to the runs before and after the newline. |
| 19744 | # * Removing a link will update the text style of the range to match the |
| 19745 | # style of the preceding text (or the default text styles if the preceding |
| 19746 | # text is another link) unless different styles are being set in the same |
| 19747 | # request. |
| 19748 | "headingId": "A String", # The ID of a heading in this document. |
| 19749 | "url": "A String", # An external URL. |
| 19750 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 19751 | }, |
| 19752 | "underline": True or False, # Whether or not the text is underlined. |
| 19753 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 19754 | }, |
| 19755 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 19756 | # For any field set to true, there is a new suggested value. |
| 19757 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 19758 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 19759 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 19760 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 19761 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 19762 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 19763 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 19764 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 19765 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 19766 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 19767 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 19768 | }, |
| 19769 | }, |
| 19770 | }, |
| 19771 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 19772 | # of this content. |
| 19773 | "A String", |
| 19774 | ], |
| 19775 | }, |
| 19776 | "startIndex": 42, # The zero-based start index of this paragraph element, in UTF-16 code units. |
| 19777 | "pageBreak": { # A ParagraphElement representing a # A page break paragraph element. |
| 19778 | # page break. A page break makes the subsequent text start at the top of the |
| 19779 | # next page. |
| 19780 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this PageBreak. |
| 19781 | # |
| 19782 | # Similar to text content, like text runs and footnote references, the text |
| 19783 | # style of a page break can affect content layout as well as the styling of |
| 19784 | # text inserted adjacent to it. |
| 19785 | # |
| 19786 | # Inherited text styles are represented as unset fields in this message. A |
| 19787 | # text style's parent depends on where the text style is defined: |
| 19788 | # |
| 19789 | # * The TextStyle of text in a Paragraph |
| 19790 | # inherits from the paragraph's corresponding named style type. |
| 19791 | # * The TextStyle on a named style |
| 19792 | # inherits from the normal text named style. |
| 19793 | # * The TextStyle of the normal text named style inherits |
| 19794 | # from the default text style in the Docs editor. |
| 19795 | # * The TextStyle on a Paragraph element |
| 19796 | # that is contained in a table may inherit its text style from the table |
| 19797 | # style. |
| 19798 | # |
| 19799 | # If the text style does not inherit from a parent, unsetting fields will |
| 19800 | # revert the style to a value matching the defaults in the Docs editor. |
| 19801 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 19802 | # or transparent, depending on the `color` field. |
| 19803 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 19804 | # a transparent color. |
| 19805 | "rgbColor": { # An RGB color. # The RGB color value. |
| 19806 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19807 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19808 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19809 | }, |
| 19810 | }, |
| 19811 | }, |
| 19812 | "italic": True or False, # Whether or not the text is italicized. |
| 19813 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 19814 | # |
| 19815 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 19816 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 19817 | # The `font_size` itself is not affected by changes in this field. |
| 19818 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 19819 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 19820 | # |
| 19821 | # If an update request specifies values for both `weighted_font_family` and |
| 19822 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 19823 | # |
| 19824 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 19825 | # |
| 19826 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 19827 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 19828 | # is returned. |
| 19829 | "fontFamily": "A String", # The font family of the text. |
| 19830 | # |
| 19831 | # The font family can be any font from the Font menu in Docs or from |
| 19832 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 19833 | # unrecognized, the text is rendered in `Arial`. |
| 19834 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 19835 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 19836 | # numerical values described in the CSS 2.1 Specification, |
| 19837 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 19838 | # non-numerical values disallowed. |
| 19839 | # |
| 19840 | # The default value is `400` ("normal"). |
| 19841 | # |
| 19842 | # The font weight makes up just one component of the rendered font weight. |
| 19843 | # The rendered weight is determined by a combination of the `weight` and the |
| 19844 | # text style's resolved `bold` value, after accounting for inheritance: |
| 19845 | # |
| 19846 | # * If the text is bold and the weight is less than `400`, the rendered |
| 19847 | # weight is 400. |
| 19848 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 19849 | # is less than `700`, the rendered weight is `700`. |
| 19850 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 19851 | # equal to the weight. |
| 19852 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 19853 | }, |
| 19854 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 19855 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 19856 | "magnitude": 3.14, # The magnitude. |
| 19857 | "unit": "A String", # The units for magnitude. |
| 19858 | }, |
| 19859 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 19860 | # or transparent, depending on the `color` field. |
| 19861 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 19862 | # a transparent color. |
| 19863 | "rgbColor": { # An RGB color. # The RGB color value. |
| 19864 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19865 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19866 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19867 | }, |
| 19868 | }, |
| 19869 | }, |
| 19870 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 19871 | # are not inherited from parent text. |
| 19872 | # |
| 19873 | # Changing the link in an update request causes some other changes to the |
| 19874 | # text style of the range: |
| 19875 | # |
| 19876 | # * When setting a link, the text foreground color will be updated to the |
| 19877 | # default link color and the text will be underlined. If these fields are |
| 19878 | # modified in the same request, those values will be used instead of the |
| 19879 | # link defaults. |
| 19880 | # * Setting a link on a text range that overlaps with an existing link will |
| 19881 | # also update the existing link to point to the new URL. |
| 19882 | # * Links are not settable on newline characters. As a result, setting a link |
| 19883 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 19884 | # will separate the newline character(s) into their own text runs. The |
| 19885 | # link will be applied separately to the runs before and after the newline. |
| 19886 | # * Removing a link will update the text style of the range to match the |
| 19887 | # style of the preceding text (or the default text styles if the preceding |
| 19888 | # text is another link) unless different styles are being set in the same |
| 19889 | # request. |
| 19890 | "headingId": "A String", # The ID of a heading in this document. |
| 19891 | "url": "A String", # An external URL. |
| 19892 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 19893 | }, |
| 19894 | "underline": True or False, # Whether or not the text is underlined. |
| 19895 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 19896 | }, |
| 19897 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 19898 | # of this content. |
| 19899 | "A String", |
| 19900 | ], |
| 19901 | "suggestedTextStyleChanges": { # The suggested text style changes to this PageBreak, keyed by suggestion ID. |
| 19902 | "a_key": { # A suggested change to a TextStyle. |
| 19903 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 19904 | # the changes made in this suggestion. This can be used along with the |
| 19905 | # text_style_suggestion_state |
| 19906 | # to see which fields have changed and their new values. |
| 19907 | # |
| 19908 | # Inherited text styles are represented as unset fields in this message. A |
| 19909 | # text style's parent depends on where the text style is defined: |
| 19910 | # |
| 19911 | # * The TextStyle of text in a Paragraph |
| 19912 | # inherits from the paragraph's corresponding named style type. |
| 19913 | # * The TextStyle on a named style |
| 19914 | # inherits from the normal text named style. |
| 19915 | # * The TextStyle of the normal text named style inherits |
| 19916 | # from the default text style in the Docs editor. |
| 19917 | # * The TextStyle on a Paragraph element |
| 19918 | # that is contained in a table may inherit its text style from the table |
| 19919 | # style. |
| 19920 | # |
| 19921 | # If the text style does not inherit from a parent, unsetting fields will |
| 19922 | # revert the style to a value matching the defaults in the Docs editor. |
| 19923 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 19924 | # or transparent, depending on the `color` field. |
| 19925 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 19926 | # a transparent color. |
| 19927 | "rgbColor": { # An RGB color. # The RGB color value. |
| 19928 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19929 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19930 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19931 | }, |
| 19932 | }, |
| 19933 | }, |
| 19934 | "italic": True or False, # Whether or not the text is italicized. |
| 19935 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 19936 | # |
| 19937 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 19938 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 19939 | # The `font_size` itself is not affected by changes in this field. |
| 19940 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 19941 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 19942 | # |
| 19943 | # If an update request specifies values for both `weighted_font_family` and |
| 19944 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 19945 | # |
| 19946 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 19947 | # |
| 19948 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 19949 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 19950 | # is returned. |
| 19951 | "fontFamily": "A String", # The font family of the text. |
| 19952 | # |
| 19953 | # The font family can be any font from the Font menu in Docs or from |
| 19954 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 19955 | # unrecognized, the text is rendered in `Arial`. |
| 19956 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 19957 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 19958 | # numerical values described in the CSS 2.1 Specification, |
| 19959 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 19960 | # non-numerical values disallowed. |
| 19961 | # |
| 19962 | # The default value is `400` ("normal"). |
| 19963 | # |
| 19964 | # The font weight makes up just one component of the rendered font weight. |
| 19965 | # The rendered weight is determined by a combination of the `weight` and the |
| 19966 | # text style's resolved `bold` value, after accounting for inheritance: |
| 19967 | # |
| 19968 | # * If the text is bold and the weight is less than `400`, the rendered |
| 19969 | # weight is 400. |
| 19970 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 19971 | # is less than `700`, the rendered weight is `700`. |
| 19972 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 19973 | # equal to the weight. |
| 19974 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 19975 | }, |
| 19976 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 19977 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 19978 | "magnitude": 3.14, # The magnitude. |
| 19979 | "unit": "A String", # The units for magnitude. |
| 19980 | }, |
| 19981 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 19982 | # or transparent, depending on the `color` field. |
| 19983 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 19984 | # a transparent color. |
| 19985 | "rgbColor": { # An RGB color. # The RGB color value. |
| 19986 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 19987 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 19988 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 19989 | }, |
| 19990 | }, |
| 19991 | }, |
| 19992 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 19993 | # are not inherited from parent text. |
| 19994 | # |
| 19995 | # Changing the link in an update request causes some other changes to the |
| 19996 | # text style of the range: |
| 19997 | # |
| 19998 | # * When setting a link, the text foreground color will be updated to the |
| 19999 | # default link color and the text will be underlined. If these fields are |
| 20000 | # modified in the same request, those values will be used instead of the |
| 20001 | # link defaults. |
| 20002 | # * Setting a link on a text range that overlaps with an existing link will |
| 20003 | # also update the existing link to point to the new URL. |
| 20004 | # * Links are not settable on newline characters. As a result, setting a link |
| 20005 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 20006 | # will separate the newline character(s) into their own text runs. The |
| 20007 | # link will be applied separately to the runs before and after the newline. |
| 20008 | # * Removing a link will update the text style of the range to match the |
| 20009 | # style of the preceding text (or the default text styles if the preceding |
| 20010 | # text is another link) unless different styles are being set in the same |
| 20011 | # request. |
| 20012 | "headingId": "A String", # The ID of a heading in this document. |
| 20013 | "url": "A String", # An external URL. |
| 20014 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 20015 | }, |
| 20016 | "underline": True or False, # Whether or not the text is underlined. |
| 20017 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 20018 | }, |
| 20019 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 20020 | # For any field set to true, there is a new suggested value. |
| 20021 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 20022 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 20023 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 20024 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 20025 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 20026 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 20027 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 20028 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 20029 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 20030 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 20031 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 20032 | }, |
| 20033 | }, |
| 20034 | }, |
| 20035 | "suggestedInsertionIds": [ # The suggested insertion IDs. A PageBreak |
| 20036 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 20037 | # empty, then this is not a suggested insertion. |
| 20038 | "A String", |
| 20039 | ], |
| 20040 | }, |
| 20041 | "horizontalRule": { # A ParagraphElement representing a # A horizontal rule paragraph element. |
| 20042 | # horizontal line. |
| 20043 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this HorizontalRule. |
| 20044 | # |
| 20045 | # Similar to text content, like text runs and footnote references, the text |
| 20046 | # style of a horizontal rule can affect content layout as well as the styling |
| 20047 | # of text inserted adjacent to it. |
| 20048 | # |
| 20049 | # Inherited text styles are represented as unset fields in this message. A |
| 20050 | # text style's parent depends on where the text style is defined: |
| 20051 | # |
| 20052 | # * The TextStyle of text in a Paragraph |
| 20053 | # inherits from the paragraph's corresponding named style type. |
| 20054 | # * The TextStyle on a named style |
| 20055 | # inherits from the normal text named style. |
| 20056 | # * The TextStyle of the normal text named style inherits |
| 20057 | # from the default text style in the Docs editor. |
| 20058 | # * The TextStyle on a Paragraph element |
| 20059 | # that is contained in a table may inherit its text style from the table |
| 20060 | # style. |
| 20061 | # |
| 20062 | # If the text style does not inherit from a parent, unsetting fields will |
| 20063 | # revert the style to a value matching the defaults in the Docs editor. |
| 20064 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 20065 | # or transparent, depending on the `color` field. |
| 20066 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 20067 | # a transparent color. |
| 20068 | "rgbColor": { # An RGB color. # The RGB color value. |
| 20069 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20070 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20071 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20072 | }, |
| 20073 | }, |
| 20074 | }, |
| 20075 | "italic": True or False, # Whether or not the text is italicized. |
| 20076 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 20077 | # |
| 20078 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 20079 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 20080 | # The `font_size` itself is not affected by changes in this field. |
| 20081 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 20082 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 20083 | # |
| 20084 | # If an update request specifies values for both `weighted_font_family` and |
| 20085 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 20086 | # |
| 20087 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 20088 | # |
| 20089 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 20090 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 20091 | # is returned. |
| 20092 | "fontFamily": "A String", # The font family of the text. |
| 20093 | # |
| 20094 | # The font family can be any font from the Font menu in Docs or from |
| 20095 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 20096 | # unrecognized, the text is rendered in `Arial`. |
| 20097 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 20098 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 20099 | # numerical values described in the CSS 2.1 Specification, |
| 20100 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 20101 | # non-numerical values disallowed. |
| 20102 | # |
| 20103 | # The default value is `400` ("normal"). |
| 20104 | # |
| 20105 | # The font weight makes up just one component of the rendered font weight. |
| 20106 | # The rendered weight is determined by a combination of the `weight` and the |
| 20107 | # text style's resolved `bold` value, after accounting for inheritance: |
| 20108 | # |
| 20109 | # * If the text is bold and the weight is less than `400`, the rendered |
| 20110 | # weight is 400. |
| 20111 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 20112 | # is less than `700`, the rendered weight is `700`. |
| 20113 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 20114 | # equal to the weight. |
| 20115 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 20116 | }, |
| 20117 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 20118 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 20119 | "magnitude": 3.14, # The magnitude. |
| 20120 | "unit": "A String", # The units for magnitude. |
| 20121 | }, |
| 20122 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 20123 | # or transparent, depending on the `color` field. |
| 20124 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 20125 | # a transparent color. |
| 20126 | "rgbColor": { # An RGB color. # The RGB color value. |
| 20127 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20128 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20129 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20130 | }, |
| 20131 | }, |
| 20132 | }, |
| 20133 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 20134 | # are not inherited from parent text. |
| 20135 | # |
| 20136 | # Changing the link in an update request causes some other changes to the |
| 20137 | # text style of the range: |
| 20138 | # |
| 20139 | # * When setting a link, the text foreground color will be updated to the |
| 20140 | # default link color and the text will be underlined. If these fields are |
| 20141 | # modified in the same request, those values will be used instead of the |
| 20142 | # link defaults. |
| 20143 | # * Setting a link on a text range that overlaps with an existing link will |
| 20144 | # also update the existing link to point to the new URL. |
| 20145 | # * Links are not settable on newline characters. As a result, setting a link |
| 20146 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 20147 | # will separate the newline character(s) into their own text runs. The |
| 20148 | # link will be applied separately to the runs before and after the newline. |
| 20149 | # * Removing a link will update the text style of the range to match the |
| 20150 | # style of the preceding text (or the default text styles if the preceding |
| 20151 | # text is another link) unless different styles are being set in the same |
| 20152 | # request. |
| 20153 | "headingId": "A String", # The ID of a heading in this document. |
| 20154 | "url": "A String", # An external URL. |
| 20155 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 20156 | }, |
| 20157 | "underline": True or False, # Whether or not the text is underlined. |
| 20158 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 20159 | }, |
| 20160 | "suggestedInsertionIds": [ # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it |
| 20161 | # is a nested suggested change. If empty, then this is not a suggested |
| 20162 | # insertion. |
| 20163 | "A String", |
| 20164 | ], |
| 20165 | "suggestedTextStyleChanges": { # The suggested text style changes to this HorizontalRule, keyed by |
| 20166 | # suggestion ID. |
| 20167 | "a_key": { # A suggested change to a TextStyle. |
| 20168 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 20169 | # the changes made in this suggestion. This can be used along with the |
| 20170 | # text_style_suggestion_state |
| 20171 | # to see which fields have changed and their new values. |
| 20172 | # |
| 20173 | # Inherited text styles are represented as unset fields in this message. A |
| 20174 | # text style's parent depends on where the text style is defined: |
| 20175 | # |
| 20176 | # * The TextStyle of text in a Paragraph |
| 20177 | # inherits from the paragraph's corresponding named style type. |
| 20178 | # * The TextStyle on a named style |
| 20179 | # inherits from the normal text named style. |
| 20180 | # * The TextStyle of the normal text named style inherits |
| 20181 | # from the default text style in the Docs editor. |
| 20182 | # * The TextStyle on a Paragraph element |
| 20183 | # that is contained in a table may inherit its text style from the table |
| 20184 | # style. |
| 20185 | # |
| 20186 | # If the text style does not inherit from a parent, unsetting fields will |
| 20187 | # revert the style to a value matching the defaults in the Docs editor. |
| 20188 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 20189 | # or transparent, depending on the `color` field. |
| 20190 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 20191 | # a transparent color. |
| 20192 | "rgbColor": { # An RGB color. # The RGB color value. |
| 20193 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20194 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20195 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20196 | }, |
| 20197 | }, |
| 20198 | }, |
| 20199 | "italic": True or False, # Whether or not the text is italicized. |
| 20200 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 20201 | # |
| 20202 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 20203 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 20204 | # The `font_size` itself is not affected by changes in this field. |
| 20205 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 20206 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 20207 | # |
| 20208 | # If an update request specifies values for both `weighted_font_family` and |
| 20209 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 20210 | # |
| 20211 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 20212 | # |
| 20213 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 20214 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 20215 | # is returned. |
| 20216 | "fontFamily": "A String", # The font family of the text. |
| 20217 | # |
| 20218 | # The font family can be any font from the Font menu in Docs or from |
| 20219 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 20220 | # unrecognized, the text is rendered in `Arial`. |
| 20221 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 20222 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 20223 | # numerical values described in the CSS 2.1 Specification, |
| 20224 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 20225 | # non-numerical values disallowed. |
| 20226 | # |
| 20227 | # The default value is `400` ("normal"). |
| 20228 | # |
| 20229 | # The font weight makes up just one component of the rendered font weight. |
| 20230 | # The rendered weight is determined by a combination of the `weight` and the |
| 20231 | # text style's resolved `bold` value, after accounting for inheritance: |
| 20232 | # |
| 20233 | # * If the text is bold and the weight is less than `400`, the rendered |
| 20234 | # weight is 400. |
| 20235 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 20236 | # is less than `700`, the rendered weight is `700`. |
| 20237 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 20238 | # equal to the weight. |
| 20239 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 20240 | }, |
| 20241 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 20242 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 20243 | "magnitude": 3.14, # The magnitude. |
| 20244 | "unit": "A String", # The units for magnitude. |
| 20245 | }, |
| 20246 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 20247 | # or transparent, depending on the `color` field. |
| 20248 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 20249 | # a transparent color. |
| 20250 | "rgbColor": { # An RGB color. # The RGB color value. |
| 20251 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20252 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20253 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20254 | }, |
| 20255 | }, |
| 20256 | }, |
| 20257 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 20258 | # are not inherited from parent text. |
| 20259 | # |
| 20260 | # Changing the link in an update request causes some other changes to the |
| 20261 | # text style of the range: |
| 20262 | # |
| 20263 | # * When setting a link, the text foreground color will be updated to the |
| 20264 | # default link color and the text will be underlined. If these fields are |
| 20265 | # modified in the same request, those values will be used instead of the |
| 20266 | # link defaults. |
| 20267 | # * Setting a link on a text range that overlaps with an existing link will |
| 20268 | # also update the existing link to point to the new URL. |
| 20269 | # * Links are not settable on newline characters. As a result, setting a link |
| 20270 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 20271 | # will separate the newline character(s) into their own text runs. The |
| 20272 | # link will be applied separately to the runs before and after the newline. |
| 20273 | # * Removing a link will update the text style of the range to match the |
| 20274 | # style of the preceding text (or the default text styles if the preceding |
| 20275 | # text is another link) unless different styles are being set in the same |
| 20276 | # request. |
| 20277 | "headingId": "A String", # The ID of a heading in this document. |
| 20278 | "url": "A String", # An external URL. |
| 20279 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 20280 | }, |
| 20281 | "underline": True or False, # Whether or not the text is underlined. |
| 20282 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 20283 | }, |
| 20284 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 20285 | # For any field set to true, there is a new suggested value. |
| 20286 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 20287 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 20288 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 20289 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 20290 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 20291 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 20292 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 20293 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 20294 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 20295 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 20296 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 20297 | }, |
| 20298 | }, |
| 20299 | }, |
| 20300 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 20301 | # of this content. |
| 20302 | "A String", |
| 20303 | ], |
| 20304 | }, |
| 20305 | "textRun": { # A ParagraphElement that represents a # A text run paragraph element. |
| 20306 | # run of text that all has the same styling. |
| 20307 | "content": "A String", # The text of this run. |
| 20308 | # |
| 20309 | # Any non-text elements in the run are replaced with the Unicode character |
| 20310 | # U+E907. |
| 20311 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this run. |
| 20312 | # |
| 20313 | # Inherited text styles are represented as unset fields in this message. A |
| 20314 | # text style's parent depends on where the text style is defined: |
| 20315 | # |
| 20316 | # * The TextStyle of text in a Paragraph |
| 20317 | # inherits from the paragraph's corresponding named style type. |
| 20318 | # * The TextStyle on a named style |
| 20319 | # inherits from the normal text named style. |
| 20320 | # * The TextStyle of the normal text named style inherits |
| 20321 | # from the default text style in the Docs editor. |
| 20322 | # * The TextStyle on a Paragraph element |
| 20323 | # that is contained in a table may inherit its text style from the table |
| 20324 | # style. |
| 20325 | # |
| 20326 | # If the text style does not inherit from a parent, unsetting fields will |
| 20327 | # revert the style to a value matching the defaults in the Docs editor. |
| 20328 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 20329 | # or transparent, depending on the `color` field. |
| 20330 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 20331 | # a transparent color. |
| 20332 | "rgbColor": { # An RGB color. # The RGB color value. |
| 20333 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20334 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20335 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20336 | }, |
| 20337 | }, |
| 20338 | }, |
| 20339 | "italic": True or False, # Whether or not the text is italicized. |
| 20340 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 20341 | # |
| 20342 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 20343 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 20344 | # The `font_size` itself is not affected by changes in this field. |
| 20345 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 20346 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 20347 | # |
| 20348 | # If an update request specifies values for both `weighted_font_family` and |
| 20349 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 20350 | # |
| 20351 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 20352 | # |
| 20353 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 20354 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 20355 | # is returned. |
| 20356 | "fontFamily": "A String", # The font family of the text. |
| 20357 | # |
| 20358 | # The font family can be any font from the Font menu in Docs or from |
| 20359 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 20360 | # unrecognized, the text is rendered in `Arial`. |
| 20361 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 20362 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 20363 | # numerical values described in the CSS 2.1 Specification, |
| 20364 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 20365 | # non-numerical values disallowed. |
| 20366 | # |
| 20367 | # The default value is `400` ("normal"). |
| 20368 | # |
| 20369 | # The font weight makes up just one component of the rendered font weight. |
| 20370 | # The rendered weight is determined by a combination of the `weight` and the |
| 20371 | # text style's resolved `bold` value, after accounting for inheritance: |
| 20372 | # |
| 20373 | # * If the text is bold and the weight is less than `400`, the rendered |
| 20374 | # weight is 400. |
| 20375 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 20376 | # is less than `700`, the rendered weight is `700`. |
| 20377 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 20378 | # equal to the weight. |
| 20379 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 20380 | }, |
| 20381 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 20382 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 20383 | "magnitude": 3.14, # The magnitude. |
| 20384 | "unit": "A String", # The units for magnitude. |
| 20385 | }, |
| 20386 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 20387 | # or transparent, depending on the `color` field. |
| 20388 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 20389 | # a transparent color. |
| 20390 | "rgbColor": { # An RGB color. # The RGB color value. |
| 20391 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20392 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20393 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20394 | }, |
| 20395 | }, |
| 20396 | }, |
| 20397 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 20398 | # are not inherited from parent text. |
| 20399 | # |
| 20400 | # Changing the link in an update request causes some other changes to the |
| 20401 | # text style of the range: |
| 20402 | # |
| 20403 | # * When setting a link, the text foreground color will be updated to the |
| 20404 | # default link color and the text will be underlined. If these fields are |
| 20405 | # modified in the same request, those values will be used instead of the |
| 20406 | # link defaults. |
| 20407 | # * Setting a link on a text range that overlaps with an existing link will |
| 20408 | # also update the existing link to point to the new URL. |
| 20409 | # * Links are not settable on newline characters. As a result, setting a link |
| 20410 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 20411 | # will separate the newline character(s) into their own text runs. The |
| 20412 | # link will be applied separately to the runs before and after the newline. |
| 20413 | # * Removing a link will update the text style of the range to match the |
| 20414 | # style of the preceding text (or the default text styles if the preceding |
| 20415 | # text is another link) unless different styles are being set in the same |
| 20416 | # request. |
| 20417 | "headingId": "A String", # The ID of a heading in this document. |
| 20418 | "url": "A String", # An external URL. |
| 20419 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 20420 | }, |
| 20421 | "underline": True or False, # Whether or not the text is underlined. |
| 20422 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 20423 | }, |
| 20424 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TextRun may |
| 20425 | # have multiple insertion IDs if it is a nested suggested change. If empty, |
| 20426 | # then this is not a suggested insertion. |
| 20427 | "A String", |
| 20428 | ], |
| 20429 | "suggestedTextStyleChanges": { # The suggested text style changes to this run, keyed by suggestion ID. |
| 20430 | "a_key": { # A suggested change to a TextStyle. |
| 20431 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 20432 | # the changes made in this suggestion. This can be used along with the |
| 20433 | # text_style_suggestion_state |
| 20434 | # to see which fields have changed and their new values. |
| 20435 | # |
| 20436 | # Inherited text styles are represented as unset fields in this message. A |
| 20437 | # text style's parent depends on where the text style is defined: |
| 20438 | # |
| 20439 | # * The TextStyle of text in a Paragraph |
| 20440 | # inherits from the paragraph's corresponding named style type. |
| 20441 | # * The TextStyle on a named style |
| 20442 | # inherits from the normal text named style. |
| 20443 | # * The TextStyle of the normal text named style inherits |
| 20444 | # from the default text style in the Docs editor. |
| 20445 | # * The TextStyle on a Paragraph element |
| 20446 | # that is contained in a table may inherit its text style from the table |
| 20447 | # style. |
| 20448 | # |
| 20449 | # If the text style does not inherit from a parent, unsetting fields will |
| 20450 | # revert the style to a value matching the defaults in the Docs editor. |
| 20451 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 20452 | # or transparent, depending on the `color` field. |
| 20453 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 20454 | # a transparent color. |
| 20455 | "rgbColor": { # An RGB color. # The RGB color value. |
| 20456 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20457 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20458 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20459 | }, |
| 20460 | }, |
| 20461 | }, |
| 20462 | "italic": True or False, # Whether or not the text is italicized. |
| 20463 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 20464 | # |
| 20465 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 20466 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 20467 | # The `font_size` itself is not affected by changes in this field. |
| 20468 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 20469 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 20470 | # |
| 20471 | # If an update request specifies values for both `weighted_font_family` and |
| 20472 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 20473 | # |
| 20474 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 20475 | # |
| 20476 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 20477 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 20478 | # is returned. |
| 20479 | "fontFamily": "A String", # The font family of the text. |
| 20480 | # |
| 20481 | # The font family can be any font from the Font menu in Docs or from |
| 20482 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 20483 | # unrecognized, the text is rendered in `Arial`. |
| 20484 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 20485 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 20486 | # numerical values described in the CSS 2.1 Specification, |
| 20487 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 20488 | # non-numerical values disallowed. |
| 20489 | # |
| 20490 | # The default value is `400` ("normal"). |
| 20491 | # |
| 20492 | # The font weight makes up just one component of the rendered font weight. |
| 20493 | # The rendered weight is determined by a combination of the `weight` and the |
| 20494 | # text style's resolved `bold` value, after accounting for inheritance: |
| 20495 | # |
| 20496 | # * If the text is bold and the weight is less than `400`, the rendered |
| 20497 | # weight is 400. |
| 20498 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 20499 | # is less than `700`, the rendered weight is `700`. |
| 20500 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 20501 | # equal to the weight. |
| 20502 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 20503 | }, |
| 20504 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 20505 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 20506 | "magnitude": 3.14, # The magnitude. |
| 20507 | "unit": "A String", # The units for magnitude. |
| 20508 | }, |
| 20509 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 20510 | # or transparent, depending on the `color` field. |
| 20511 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 20512 | # a transparent color. |
| 20513 | "rgbColor": { # An RGB color. # The RGB color value. |
| 20514 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20515 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20516 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20517 | }, |
| 20518 | }, |
| 20519 | }, |
| 20520 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 20521 | # are not inherited from parent text. |
| 20522 | # |
| 20523 | # Changing the link in an update request causes some other changes to the |
| 20524 | # text style of the range: |
| 20525 | # |
| 20526 | # * When setting a link, the text foreground color will be updated to the |
| 20527 | # default link color and the text will be underlined. If these fields are |
| 20528 | # modified in the same request, those values will be used instead of the |
| 20529 | # link defaults. |
| 20530 | # * Setting a link on a text range that overlaps with an existing link will |
| 20531 | # also update the existing link to point to the new URL. |
| 20532 | # * Links are not settable on newline characters. As a result, setting a link |
| 20533 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 20534 | # will separate the newline character(s) into their own text runs. The |
| 20535 | # link will be applied separately to the runs before and after the newline. |
| 20536 | # * Removing a link will update the text style of the range to match the |
| 20537 | # style of the preceding text (or the default text styles if the preceding |
| 20538 | # text is another link) unless different styles are being set in the same |
| 20539 | # request. |
| 20540 | "headingId": "A String", # The ID of a heading in this document. |
| 20541 | "url": "A String", # An external URL. |
| 20542 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 20543 | }, |
| 20544 | "underline": True or False, # Whether or not the text is underlined. |
| 20545 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 20546 | }, |
| 20547 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 20548 | # For any field set to true, there is a new suggested value. |
| 20549 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 20550 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 20551 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 20552 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 20553 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 20554 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 20555 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 20556 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 20557 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 20558 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 20559 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 20560 | }, |
| 20561 | }, |
| 20562 | }, |
| 20563 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 20564 | # of this content. |
| 20565 | "A String", |
| 20566 | ], |
| 20567 | }, |
| 20568 | "autoText": { # A ParagraphElement representing a # An auto text paragraph element. |
| 20569 | # spot in the text that is dynamically replaced with content that can change |
| 20570 | # over time, like a page number. |
| 20571 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this AutoText. |
| 20572 | # |
| 20573 | # Inherited text styles are represented as unset fields in this message. A |
| 20574 | # text style's parent depends on where the text style is defined: |
| 20575 | # |
| 20576 | # * The TextStyle of text in a Paragraph |
| 20577 | # inherits from the paragraph's corresponding named style type. |
| 20578 | # * The TextStyle on a named style |
| 20579 | # inherits from the normal text named style. |
| 20580 | # * The TextStyle of the normal text named style inherits |
| 20581 | # from the default text style in the Docs editor. |
| 20582 | # * The TextStyle on a Paragraph element |
| 20583 | # that is contained in a table may inherit its text style from the table |
| 20584 | # style. |
| 20585 | # |
| 20586 | # If the text style does not inherit from a parent, unsetting fields will |
| 20587 | # revert the style to a value matching the defaults in the Docs editor. |
| 20588 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 20589 | # or transparent, depending on the `color` field. |
| 20590 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 20591 | # a transparent color. |
| 20592 | "rgbColor": { # An RGB color. # The RGB color value. |
| 20593 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20594 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20595 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20596 | }, |
| 20597 | }, |
| 20598 | }, |
| 20599 | "italic": True or False, # Whether or not the text is italicized. |
| 20600 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 20601 | # |
| 20602 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 20603 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 20604 | # The `font_size` itself is not affected by changes in this field. |
| 20605 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 20606 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 20607 | # |
| 20608 | # If an update request specifies values for both `weighted_font_family` and |
| 20609 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 20610 | # |
| 20611 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 20612 | # |
| 20613 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 20614 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 20615 | # is returned. |
| 20616 | "fontFamily": "A String", # The font family of the text. |
| 20617 | # |
| 20618 | # The font family can be any font from the Font menu in Docs or from |
| 20619 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 20620 | # unrecognized, the text is rendered in `Arial`. |
| 20621 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 20622 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 20623 | # numerical values described in the CSS 2.1 Specification, |
| 20624 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 20625 | # non-numerical values disallowed. |
| 20626 | # |
| 20627 | # The default value is `400` ("normal"). |
| 20628 | # |
| 20629 | # The font weight makes up just one component of the rendered font weight. |
| 20630 | # The rendered weight is determined by a combination of the `weight` and the |
| 20631 | # text style's resolved `bold` value, after accounting for inheritance: |
| 20632 | # |
| 20633 | # * If the text is bold and the weight is less than `400`, the rendered |
| 20634 | # weight is 400. |
| 20635 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 20636 | # is less than `700`, the rendered weight is `700`. |
| 20637 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 20638 | # equal to the weight. |
| 20639 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 20640 | }, |
| 20641 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 20642 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 20643 | "magnitude": 3.14, # The magnitude. |
| 20644 | "unit": "A String", # The units for magnitude. |
| 20645 | }, |
| 20646 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 20647 | # or transparent, depending on the `color` field. |
| 20648 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 20649 | # a transparent color. |
| 20650 | "rgbColor": { # An RGB color. # The RGB color value. |
| 20651 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20652 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20653 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20654 | }, |
| 20655 | }, |
| 20656 | }, |
| 20657 | "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| 20664 | # default link color and the text will be underlined. If these fields are |
| 20665 | # modified in the same request, those values will be used instead of the |
| 20666 | # 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 | "headingId": "A String", # The ID of a heading in this document. |
| 20678 | "url": "A String", # An external URL. |
| 20679 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 20680 | }, |
| 20681 | "underline": True or False, # Whether or not the text is underlined. |
| 20682 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 20683 | }, |
| 20684 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 20685 | # of this content. |
| 20686 | "A String", |
| 20687 | ], |
| 20688 | "suggestedTextStyleChanges": { # The suggested text style changes to this AutoText, keyed by suggestion ID. |
| 20689 | "a_key": { # A suggested change to a TextStyle. |
| 20690 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 20691 | # the changes made in this suggestion. This can be used along with the |
| 20692 | # text_style_suggestion_state |
| 20693 | # to see which fields have changed and their new values. |
| 20694 | # |
| 20695 | # Inherited text styles are represented as unset fields in this message. A |
| 20696 | # text style's parent depends on where the text style is defined: |
| 20697 | # |
| 20698 | # * The TextStyle of text in a Paragraph |
| 20699 | # inherits from the paragraph's corresponding named style type. |
| 20700 | # * The TextStyle on a named style |
| 20701 | # inherits from the normal text named style. |
| 20702 | # * The TextStyle of the normal text named style inherits |
| 20703 | # from the default text style in the Docs editor. |
| 20704 | # * The TextStyle on a Paragraph element |
| 20705 | # that is contained in a table may inherit its text style from the table |
| 20706 | # style. |
| 20707 | # |
| 20708 | # If the text style does not inherit from a parent, unsetting fields will |
| 20709 | # revert the style to a value matching the defaults in the Docs editor. |
| 20710 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 20711 | # or transparent, depending on the `color` field. |
| 20712 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 20713 | # a transparent color. |
| 20714 | "rgbColor": { # An RGB color. # The RGB color value. |
| 20715 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20716 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20717 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20718 | }, |
| 20719 | }, |
| 20720 | }, |
| 20721 | "italic": True or False, # Whether or not the text is italicized. |
| 20722 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 20723 | # |
| 20724 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 20725 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 20726 | # The `font_size` itself is not affected by changes in this field. |
| 20727 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 20728 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 20729 | # |
| 20730 | # If an update request specifies values for both `weighted_font_family` and |
| 20731 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 20732 | # |
| 20733 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 20734 | # |
| 20735 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 20736 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 20737 | # is returned. |
| 20738 | "fontFamily": "A String", # The font family of the text. |
| 20739 | # |
| 20740 | # The font family can be any font from the Font menu in Docs or from |
| 20741 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 20742 | # unrecognized, the text is rendered in `Arial`. |
| 20743 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 20744 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 20745 | # numerical values described in the CSS 2.1 Specification, |
| 20746 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 20747 | # non-numerical values disallowed. |
| 20748 | # |
| 20749 | # The default value is `400` ("normal"). |
| 20750 | # |
| 20751 | # The font weight makes up just one component of the rendered font weight. |
| 20752 | # The rendered weight is determined by a combination of the `weight` and the |
| 20753 | # text style's resolved `bold` value, after accounting for inheritance: |
| 20754 | # |
| 20755 | # * If the text is bold and the weight is less than `400`, the rendered |
| 20756 | # weight is 400. |
| 20757 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 20758 | # is less than `700`, the rendered weight is `700`. |
| 20759 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 20760 | # equal to the weight. |
| 20761 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 20762 | }, |
| 20763 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 20764 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 20765 | "magnitude": 3.14, # The magnitude. |
| 20766 | "unit": "A String", # The units for magnitude. |
| 20767 | }, |
| 20768 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 20769 | # or transparent, depending on the `color` field. |
| 20770 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 20771 | # a transparent color. |
| 20772 | "rgbColor": { # An RGB color. # The RGB color value. |
| 20773 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20774 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20775 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20776 | }, |
| 20777 | }, |
| 20778 | }, |
| 20779 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 20780 | # are not inherited from parent text. |
| 20781 | # |
| 20782 | # Changing the link in an update request causes some other changes to the |
| 20783 | # text style of the range: |
| 20784 | # |
| 20785 | # * When setting a link, the text foreground color will be updated to the |
| 20786 | # default link color and the text will be underlined. If these fields are |
| 20787 | # modified in the same request, those values will be used instead of the |
| 20788 | # link defaults. |
| 20789 | # * Setting a link on a text range that overlaps with an existing link will |
| 20790 | # also update the existing link to point to the new URL. |
| 20791 | # * Links are not settable on newline characters. As a result, setting a link |
| 20792 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 20793 | # will separate the newline character(s) into their own text runs. The |
| 20794 | # link will be applied separately to the runs before and after the newline. |
| 20795 | # * Removing a link will update the text style of the range to match the |
| 20796 | # style of the preceding text (or the default text styles if the preceding |
| 20797 | # text is another link) unless different styles are being set in the same |
| 20798 | # request. |
| 20799 | "headingId": "A String", # The ID of a heading in this document. |
| 20800 | "url": "A String", # An external URL. |
| 20801 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 20802 | }, |
| 20803 | "underline": True or False, # Whether or not the text is underlined. |
| 20804 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 20805 | }, |
| 20806 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 20807 | # For any field set to true, there is a new suggested value. |
| 20808 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 20809 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 20810 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 20811 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 20812 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 20813 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 20814 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 20815 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 20816 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 20817 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 20818 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 20819 | }, |
| 20820 | }, |
| 20821 | }, |
| 20822 | "type": "A String", # The type of this auto text. |
| 20823 | "suggestedInsertionIds": [ # The suggested insertion IDs. An AutoText |
| 20824 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 20825 | # empty, then this is not a suggested insertion. |
| 20826 | "A String", |
| 20827 | ], |
| 20828 | }, |
| 20829 | "inlineObjectElement": { # A ParagraphElement that contains # An inline object paragraph element. |
| 20830 | # an InlineObject. |
| 20831 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this InlineObjectElement. |
| 20832 | # |
| 20833 | # Similar to text content, like text runs and footnote references, the text |
| 20834 | # style of an inline object element can affect content layout as well as the |
| 20835 | # styling of text inserted adjacent to it. |
| 20836 | # |
| 20837 | # Inherited text styles are represented as unset fields in this message. A |
| 20838 | # text style's parent depends on where the text style is defined: |
| 20839 | # |
| 20840 | # * The TextStyle of text in a Paragraph |
| 20841 | # inherits from the paragraph's corresponding named style type. |
| 20842 | # * The TextStyle on a named style |
| 20843 | # inherits from the normal text named style. |
| 20844 | # * The TextStyle of the normal text named style inherits |
| 20845 | # from the default text style in the Docs editor. |
| 20846 | # * The TextStyle on a Paragraph element |
| 20847 | # that is contained in a table may inherit its text style from the table |
| 20848 | # style. |
| 20849 | # |
| 20850 | # If the text style does not inherit from a parent, unsetting fields will |
| 20851 | # revert the style to a value matching the defaults in the Docs editor. |
| 20852 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 20853 | # or transparent, depending on the `color` field. |
| 20854 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 20855 | # a transparent color. |
| 20856 | "rgbColor": { # An RGB color. # The RGB color value. |
| 20857 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20858 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20859 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20860 | }, |
| 20861 | }, |
| 20862 | }, |
| 20863 | "italic": True or False, # Whether or not the text is italicized. |
| 20864 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 20865 | # |
| 20866 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 20867 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 20868 | # The `font_size` itself is not affected by changes in this field. |
| 20869 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 20870 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 20871 | # |
| 20872 | # If an update request specifies values for both `weighted_font_family` and |
| 20873 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 20874 | # |
| 20875 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 20876 | # |
| 20877 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 20878 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 20879 | # is returned. |
| 20880 | "fontFamily": "A String", # The font family of the text. |
| 20881 | # |
| 20882 | # The font family can be any font from the Font menu in Docs or from |
| 20883 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 20884 | # unrecognized, the text is rendered in `Arial`. |
| 20885 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 20886 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 20887 | # numerical values described in the CSS 2.1 Specification, |
| 20888 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 20889 | # non-numerical values disallowed. |
| 20890 | # |
| 20891 | # The default value is `400` ("normal"). |
| 20892 | # |
| 20893 | # The font weight makes up just one component of the rendered font weight. |
| 20894 | # The rendered weight is determined by a combination of the `weight` and the |
| 20895 | # text style's resolved `bold` value, after accounting for inheritance: |
| 20896 | # |
| 20897 | # * If the text is bold and the weight is less than `400`, the rendered |
| 20898 | # weight is 400. |
| 20899 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 20900 | # is less than `700`, the rendered weight is `700`. |
| 20901 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 20902 | # equal to the weight. |
| 20903 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 20904 | }, |
| 20905 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 20906 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 20907 | "magnitude": 3.14, # The magnitude. |
| 20908 | "unit": "A String", # The units for magnitude. |
| 20909 | }, |
| 20910 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 20911 | # or transparent, depending on the `color` field. |
| 20912 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 20913 | # a transparent color. |
| 20914 | "rgbColor": { # An RGB color. # The RGB color value. |
| 20915 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20916 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20917 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20918 | }, |
| 20919 | }, |
| 20920 | }, |
| 20921 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 20922 | # are not inherited from parent text. |
| 20923 | # |
| 20924 | # Changing the link in an update request causes some other changes to the |
| 20925 | # text style of the range: |
| 20926 | # |
| 20927 | # * When setting a link, the text foreground color will be updated to the |
| 20928 | # default link color and the text will be underlined. If these fields are |
| 20929 | # modified in the same request, those values will be used instead of the |
| 20930 | # link defaults. |
| 20931 | # * Setting a link on a text range that overlaps with an existing link will |
| 20932 | # also update the existing link to point to the new URL. |
| 20933 | # * Links are not settable on newline characters. As a result, setting a link |
| 20934 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 20935 | # will separate the newline character(s) into their own text runs. The |
| 20936 | # link will be applied separately to the runs before and after the newline. |
| 20937 | # * Removing a link will update the text style of the range to match the |
| 20938 | # style of the preceding text (or the default text styles if the preceding |
| 20939 | # text is another link) unless different styles are being set in the same |
| 20940 | # request. |
| 20941 | "headingId": "A String", # The ID of a heading in this document. |
| 20942 | "url": "A String", # An external URL. |
| 20943 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 20944 | }, |
| 20945 | "underline": True or False, # Whether or not the text is underlined. |
| 20946 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 20947 | }, |
| 20948 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 20949 | # of this content. |
| 20950 | "A String", |
| 20951 | ], |
| 20952 | "suggestedTextStyleChanges": { # The suggested text style changes to this InlineObject, keyed by suggestion |
| 20953 | # ID. |
| 20954 | "a_key": { # A suggested change to a TextStyle. |
| 20955 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 20956 | # the changes made in this suggestion. This can be used along with the |
| 20957 | # text_style_suggestion_state |
| 20958 | # to see which fields have changed and their new values. |
| 20959 | # |
| 20960 | # Inherited text styles are represented as unset fields in this message. A |
| 20961 | # text style's parent depends on where the text style is defined: |
| 20962 | # |
| 20963 | # * The TextStyle of text in a Paragraph |
| 20964 | # inherits from the paragraph's corresponding named style type. |
| 20965 | # * The TextStyle on a named style |
| 20966 | # inherits from the normal text named style. |
| 20967 | # * The TextStyle of the normal text named style inherits |
| 20968 | # from the default text style in the Docs editor. |
| 20969 | # * The TextStyle on a Paragraph element |
| 20970 | # that is contained in a table may inherit its text style from the table |
| 20971 | # style. |
| 20972 | # |
| 20973 | # If the text style does not inherit from a parent, unsetting fields will |
| 20974 | # revert the style to a value matching the defaults in the Docs editor. |
| 20975 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 20976 | # or transparent, depending on the `color` field. |
| 20977 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 20978 | # a transparent color. |
| 20979 | "rgbColor": { # An RGB color. # The RGB color value. |
| 20980 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 20981 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 20982 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 20983 | }, |
| 20984 | }, |
| 20985 | }, |
| 20986 | "italic": True or False, # Whether or not the text is italicized. |
| 20987 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 20988 | # |
| 20989 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 20990 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 20991 | # The `font_size` itself is not affected by changes in this field. |
| 20992 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 20993 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 20994 | # |
| 20995 | # If an update request specifies values for both `weighted_font_family` and |
| 20996 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 20997 | # |
| 20998 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 20999 | # |
| 21000 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 21001 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 21002 | # is returned. |
| 21003 | "fontFamily": "A String", # The font family of the text. |
| 21004 | # |
| 21005 | # The font family can be any font from the Font menu in Docs or from |
| 21006 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 21007 | # unrecognized, the text is rendered in `Arial`. |
| 21008 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 21009 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 21010 | # numerical values described in the CSS 2.1 Specification, |
| 21011 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 21012 | # non-numerical values disallowed. |
| 21013 | # |
| 21014 | # The default value is `400` ("normal"). |
| 21015 | # |
| 21016 | # The font weight makes up just one component of the rendered font weight. |
| 21017 | # The rendered weight is determined by a combination of the `weight` and the |
| 21018 | # text style's resolved `bold` value, after accounting for inheritance: |
| 21019 | # |
| 21020 | # * If the text is bold and the weight is less than `400`, the rendered |
| 21021 | # weight is 400. |
| 21022 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 21023 | # is less than `700`, the rendered weight is `700`. |
| 21024 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 21025 | # equal to the weight. |
| 21026 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 21027 | }, |
| 21028 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 21029 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 21030 | "magnitude": 3.14, # The magnitude. |
| 21031 | "unit": "A String", # The units for magnitude. |
| 21032 | }, |
| 21033 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 21034 | # or transparent, depending on the `color` field. |
| 21035 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 21036 | # a transparent color. |
| 21037 | "rgbColor": { # An RGB color. # The RGB color value. |
| 21038 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21039 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21040 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21041 | }, |
| 21042 | }, |
| 21043 | }, |
| 21044 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 21045 | # are not inherited from parent text. |
| 21046 | # |
| 21047 | # Changing the link in an update request causes some other changes to the |
| 21048 | # text style of the range: |
| 21049 | # |
| 21050 | # * When setting a link, the text foreground color will be updated to the |
| 21051 | # default link color and the text will be underlined. If these fields are |
| 21052 | # modified in the same request, those values will be used instead of the |
| 21053 | # link defaults. |
| 21054 | # * Setting a link on a text range that overlaps with an existing link will |
| 21055 | # also update the existing link to point to the new URL. |
| 21056 | # * Links are not settable on newline characters. As a result, setting a link |
| 21057 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 21058 | # will separate the newline character(s) into their own text runs. The |
| 21059 | # link will be applied separately to the runs before and after the newline. |
| 21060 | # * Removing a link will update the text style of the range to match the |
| 21061 | # style of the preceding text (or the default text styles if the preceding |
| 21062 | # text is another link) unless different styles are being set in the same |
| 21063 | # request. |
| 21064 | "headingId": "A String", # The ID of a heading in this document. |
| 21065 | "url": "A String", # An external URL. |
| 21066 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 21067 | }, |
| 21068 | "underline": True or False, # Whether or not the text is underlined. |
| 21069 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 21070 | }, |
| 21071 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 21072 | # For any field set to true, there is a new suggested value. |
| 21073 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 21074 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 21075 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 21076 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 21077 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 21078 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 21079 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 21080 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 21081 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 21082 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 21083 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 21084 | }, |
| 21085 | }, |
| 21086 | }, |
| 21087 | "inlineObjectId": "A String", # The ID of the InlineObject this |
| 21088 | # element contains. |
| 21089 | "suggestedInsertionIds": [ # The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs |
| 21090 | # if it is a nested suggested change. If empty, then this is not a suggested |
| 21091 | # insertion. |
| 21092 | "A String", |
| 21093 | ], |
| 21094 | }, |
| 21095 | "footnoteReference": { # A ParagraphElement representing a # A footnote reference paragraph element. |
| 21096 | # footnote reference. A footnote reference is the inline content rendered with |
| 21097 | # a number and is used to identify the footnote. |
| 21098 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this FootnoteReference. |
| 21099 | # |
| 21100 | # Inherited text styles are represented as unset fields in this message. A |
| 21101 | # text style's parent depends on where the text style is defined: |
| 21102 | # |
| 21103 | # * The TextStyle of text in a Paragraph |
| 21104 | # inherits from the paragraph's corresponding named style type. |
| 21105 | # * The TextStyle on a named style |
| 21106 | # inherits from the normal text named style. |
| 21107 | # * The TextStyle of the normal text named style inherits |
| 21108 | # from the default text style in the Docs editor. |
| 21109 | # * The TextStyle on a Paragraph element |
| 21110 | # that is contained in a table may inherit its text style from the table |
| 21111 | # style. |
| 21112 | # |
| 21113 | # If the text style does not inherit from a parent, unsetting fields will |
| 21114 | # revert the style to a value matching the defaults in the Docs editor. |
| 21115 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 21116 | # or transparent, depending on the `color` field. |
| 21117 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 21118 | # a transparent color. |
| 21119 | "rgbColor": { # An RGB color. # The RGB color value. |
| 21120 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21121 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21122 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21123 | }, |
| 21124 | }, |
| 21125 | }, |
| 21126 | "italic": True or False, # Whether or not the text is italicized. |
| 21127 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 21128 | # |
| 21129 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 21130 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 21131 | # The `font_size` itself is not affected by changes in this field. |
| 21132 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 21133 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 21134 | # |
| 21135 | # If an update request specifies values for both `weighted_font_family` and |
| 21136 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 21137 | # |
| 21138 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 21139 | # |
| 21140 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 21141 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 21142 | # is returned. |
| 21143 | "fontFamily": "A String", # The font family of the text. |
| 21144 | # |
| 21145 | # The font family can be any font from the Font menu in Docs or from |
| 21146 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 21147 | # unrecognized, the text is rendered in `Arial`. |
| 21148 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 21149 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 21150 | # numerical values described in the CSS 2.1 Specification, |
| 21151 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 21152 | # non-numerical values disallowed. |
| 21153 | # |
| 21154 | # The default value is `400` ("normal"). |
| 21155 | # |
| 21156 | # The font weight makes up just one component of the rendered font weight. |
| 21157 | # The rendered weight is determined by a combination of the `weight` and the |
| 21158 | # text style's resolved `bold` value, after accounting for inheritance: |
| 21159 | # |
| 21160 | # * If the text is bold and the weight is less than `400`, the rendered |
| 21161 | # weight is 400. |
| 21162 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 21163 | # is less than `700`, the rendered weight is `700`. |
| 21164 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 21165 | # equal to the weight. |
| 21166 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 21167 | }, |
| 21168 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 21169 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 21170 | "magnitude": 3.14, # The magnitude. |
| 21171 | "unit": "A String", # The units for magnitude. |
| 21172 | }, |
| 21173 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 21174 | # or transparent, depending on the `color` field. |
| 21175 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 21176 | # a transparent color. |
| 21177 | "rgbColor": { # An RGB color. # The RGB color value. |
| 21178 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21179 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21180 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21181 | }, |
| 21182 | }, |
| 21183 | }, |
| 21184 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 21185 | # are not inherited from parent text. |
| 21186 | # |
| 21187 | # Changing the link in an update request causes some other changes to the |
| 21188 | # text style of the range: |
| 21189 | # |
| 21190 | # * When setting a link, the text foreground color will be updated to the |
| 21191 | # default link color and the text will be underlined. If these fields are |
| 21192 | # modified in the same request, those values will be used instead of the |
| 21193 | # link defaults. |
| 21194 | # * Setting a link on a text range that overlaps with an existing link will |
| 21195 | # also update the existing link to point to the new URL. |
| 21196 | # * Links are not settable on newline characters. As a result, setting a link |
| 21197 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 21198 | # will separate the newline character(s) into their own text runs. The |
| 21199 | # link will be applied separately to the runs before and after the newline. |
| 21200 | # * Removing a link will update the text style of the range to match the |
| 21201 | # style of the preceding text (or the default text styles if the preceding |
| 21202 | # text is another link) unless different styles are being set in the same |
| 21203 | # request. |
| 21204 | "headingId": "A String", # The ID of a heading in this document. |
| 21205 | "url": "A String", # An external URL. |
| 21206 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 21207 | }, |
| 21208 | "underline": True or False, # Whether or not the text is underlined. |
| 21209 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 21210 | }, |
| 21211 | "footnoteNumber": "A String", # The rendered number of this footnote. |
| 21212 | "suggestedInsertionIds": [ # The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if |
| 21213 | # it is a nested suggested change. If empty, then this is not a suggested |
| 21214 | # insertion. |
| 21215 | "A String", |
| 21216 | ], |
| 21217 | "footnoteId": "A String", # The ID of the footnote that |
| 21218 | # contains the content of this footnote reference. |
| 21219 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 21220 | # of this content. |
| 21221 | "A String", |
| 21222 | ], |
| 21223 | "suggestedTextStyleChanges": { # The suggested text style changes to this FootnoteReference, keyed by |
| 21224 | # suggestion ID. |
| 21225 | "a_key": { # A suggested change to a TextStyle. |
| 21226 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 21227 | # the changes made in this suggestion. This can be used along with the |
| 21228 | # text_style_suggestion_state |
| 21229 | # to see which fields have changed and their new values. |
| 21230 | # |
| 21231 | # Inherited text styles are represented as unset fields in this message. A |
| 21232 | # text style's parent depends on where the text style is defined: |
| 21233 | # |
| 21234 | # * The TextStyle of text in a Paragraph |
| 21235 | # inherits from the paragraph's corresponding named style type. |
| 21236 | # * The TextStyle on a named style |
| 21237 | # inherits from the normal text named style. |
| 21238 | # * The TextStyle of the normal text named style inherits |
| 21239 | # from the default text style in the Docs editor. |
| 21240 | # * The TextStyle on a Paragraph element |
| 21241 | # that is contained in a table may inherit its text style from the table |
| 21242 | # style. |
| 21243 | # |
| 21244 | # If the text style does not inherit from a parent, unsetting fields will |
| 21245 | # revert the style to a value matching the defaults in the Docs editor. |
| 21246 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 21247 | # or transparent, depending on the `color` field. |
| 21248 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 21249 | # a transparent color. |
| 21250 | "rgbColor": { # An RGB color. # The RGB color value. |
| 21251 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21252 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21253 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21254 | }, |
| 21255 | }, |
| 21256 | }, |
| 21257 | "italic": True or False, # Whether or not the text is italicized. |
| 21258 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 21259 | # |
| 21260 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 21261 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 21262 | # The `font_size` itself is not affected by changes in this field. |
| 21263 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 21264 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 21265 | # |
| 21266 | # If an update request specifies values for both `weighted_font_family` and |
| 21267 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 21268 | # |
| 21269 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 21270 | # |
| 21271 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 21272 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 21273 | # is returned. |
| 21274 | "fontFamily": "A String", # The font family of the text. |
| 21275 | # |
| 21276 | # The font family can be any font from the Font menu in Docs or from |
| 21277 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 21278 | # unrecognized, the text is rendered in `Arial`. |
| 21279 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 21280 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 21281 | # numerical values described in the CSS 2.1 Specification, |
| 21282 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 21283 | # non-numerical values disallowed. |
| 21284 | # |
| 21285 | # The default value is `400` ("normal"). |
| 21286 | # |
| 21287 | # The font weight makes up just one component of the rendered font weight. |
| 21288 | # The rendered weight is determined by a combination of the `weight` and the |
| 21289 | # text style's resolved `bold` value, after accounting for inheritance: |
| 21290 | # |
| 21291 | # * If the text is bold and the weight is less than `400`, the rendered |
| 21292 | # weight is 400. |
| 21293 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 21294 | # is less than `700`, the rendered weight is `700`. |
| 21295 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 21296 | # equal to the weight. |
| 21297 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 21298 | }, |
| 21299 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 21300 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 21301 | "magnitude": 3.14, # The magnitude. |
| 21302 | "unit": "A String", # The units for magnitude. |
| 21303 | }, |
| 21304 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 21305 | # or transparent, depending on the `color` field. |
| 21306 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 21307 | # a transparent color. |
| 21308 | "rgbColor": { # An RGB color. # The RGB color value. |
| 21309 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21310 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21311 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21312 | }, |
| 21313 | }, |
| 21314 | }, |
| 21315 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 21316 | # are not inherited from parent text. |
| 21317 | # |
| 21318 | # Changing the link in an update request causes some other changes to the |
| 21319 | # text style of the range: |
| 21320 | # |
| 21321 | # * When setting a link, the text foreground color will be updated to the |
| 21322 | # default link color and the text will be underlined. If these fields are |
| 21323 | # modified in the same request, those values will be used instead of the |
| 21324 | # link defaults. |
| 21325 | # * Setting a link on a text range that overlaps with an existing link will |
| 21326 | # also update the existing link to point to the new URL. |
| 21327 | # * Links are not settable on newline characters. As a result, setting a link |
| 21328 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 21329 | # will separate the newline character(s) into their own text runs. The |
| 21330 | # link will be applied separately to the runs before and after the newline. |
| 21331 | # * Removing a link will update the text style of the range to match the |
| 21332 | # style of the preceding text (or the default text styles if the preceding |
| 21333 | # text is another link) unless different styles are being set in the same |
| 21334 | # request. |
| 21335 | "headingId": "A String", # The ID of a heading in this document. |
| 21336 | "url": "A String", # An external URL. |
| 21337 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 21338 | }, |
| 21339 | "underline": True or False, # Whether or not the text is underlined. |
| 21340 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 21341 | }, |
| 21342 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 21343 | # For any field set to true, there is a new suggested value. |
| 21344 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 21345 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 21346 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 21347 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 21348 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 21349 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 21350 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 21351 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 21352 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 21353 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 21354 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 21355 | }, |
| 21356 | }, |
| 21357 | }, |
| 21358 | }, |
| 21359 | }, |
| 21360 | ], |
| 21361 | "suggestedPositionedObjectIds": { # The IDs of the positioned objects that are suggested to be attached to this |
| 21362 | # paragraph, keyed by suggestion ID. |
| 21363 | "a_key": { # A collection of object IDs. |
| 21364 | "objectIds": [ # The object IDs. |
| 21365 | "A String", |
| 21366 | ], |
| 21367 | }, |
| 21368 | }, |
| 21369 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 21370 | # belong to a list. |
| 21371 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 21372 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 21373 | "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| 21374 | # |
| 21375 | # Inherited text styles are represented as unset fields in this message. A |
| 21376 | # text style's parent depends on where the text style is defined: |
| 21377 | # |
| 21378 | # * The TextStyle of text in a Paragraph |
| 21379 | # inherits from the paragraph's corresponding named style type. |
| 21380 | # * The TextStyle on a named style |
| 21381 | # inherits from the normal text named style. |
| 21382 | # * The TextStyle of the normal text named style inherits |
| 21383 | # from the default text style in the Docs editor. |
| 21384 | # * The TextStyle on a Paragraph element |
| 21385 | # that is contained in a table may inherit its text style from the table |
| 21386 | # style. |
| 21387 | # |
| 21388 | # If the text style does not inherit from a parent, unsetting fields will |
| 21389 | # revert the style to a value matching the defaults in the Docs editor. |
| 21390 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 21391 | # or transparent, depending on the `color` field. |
| 21392 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 21393 | # a transparent color. |
| 21394 | "rgbColor": { # An RGB color. # The RGB color value. |
| 21395 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21396 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21397 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21398 | }, |
| 21399 | }, |
| 21400 | }, |
| 21401 | "italic": True or False, # Whether or not the text is italicized. |
| 21402 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 21403 | # |
| 21404 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 21405 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 21406 | # The `font_size` itself is not affected by changes in this field. |
| 21407 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 21408 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 21409 | # |
| 21410 | # If an update request specifies values for both `weighted_font_family` and |
| 21411 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 21412 | # |
| 21413 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 21414 | # |
| 21415 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 21416 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 21417 | # is returned. |
| 21418 | "fontFamily": "A String", # The font family of the text. |
| 21419 | # |
| 21420 | # The font family can be any font from the Font menu in Docs or from |
| 21421 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 21422 | # unrecognized, the text is rendered in `Arial`. |
| 21423 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 21424 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 21425 | # numerical values described in the CSS 2.1 Specification, |
| 21426 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 21427 | # non-numerical values disallowed. |
| 21428 | # |
| 21429 | # The default value is `400` ("normal"). |
| 21430 | # |
| 21431 | # The font weight makes up just one component of the rendered font weight. |
| 21432 | # The rendered weight is determined by a combination of the `weight` and the |
| 21433 | # text style's resolved `bold` value, after accounting for inheritance: |
| 21434 | # |
| 21435 | # * If the text is bold and the weight is less than `400`, the rendered |
| 21436 | # weight is 400. |
| 21437 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 21438 | # is less than `700`, the rendered weight is `700`. |
| 21439 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 21440 | # equal to the weight. |
| 21441 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 21442 | }, |
| 21443 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 21444 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 21445 | "magnitude": 3.14, # The magnitude. |
| 21446 | "unit": "A String", # The units for magnitude. |
| 21447 | }, |
| 21448 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 21449 | # or transparent, depending on the `color` field. |
| 21450 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 21451 | # a transparent color. |
| 21452 | "rgbColor": { # An RGB color. # The RGB color value. |
| 21453 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21454 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21455 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21456 | }, |
| 21457 | }, |
| 21458 | }, |
| 21459 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 21460 | # are not inherited from parent text. |
| 21461 | # |
| 21462 | # Changing the link in an update request causes some other changes to the |
| 21463 | # text style of the range: |
| 21464 | # |
| 21465 | # * When setting a link, the text foreground color will be updated to the |
| 21466 | # default link color and the text will be underlined. If these fields are |
| 21467 | # modified in the same request, those values will be used instead of the |
| 21468 | # link defaults. |
| 21469 | # * Setting a link on a text range that overlaps with an existing link will |
| 21470 | # also update the existing link to point to the new URL. |
| 21471 | # * Links are not settable on newline characters. As a result, setting a link |
| 21472 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 21473 | # will separate the newline character(s) into their own text runs. The |
| 21474 | # link will be applied separately to the runs before and after the newline. |
| 21475 | # * Removing a link will update the text style of the range to match the |
| 21476 | # style of the preceding text (or the default text styles if the preceding |
| 21477 | # text is another link) unless different styles are being set in the same |
| 21478 | # request. |
| 21479 | "headingId": "A String", # The ID of a heading in this document. |
| 21480 | "url": "A String", # An external URL. |
| 21481 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 21482 | }, |
| 21483 | "underline": True or False, # Whether or not the text is underlined. |
| 21484 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 21485 | }, |
| 21486 | }, |
| 21487 | "suggestedBulletChanges": { # The suggested changes to this paragraph's bullet. |
| 21488 | "a_key": { # A suggested change to a Bullet. |
| 21489 | "bullet": { # Describes the bullet of a paragraph. # A Bullet that only includes the changes made |
| 21490 | # in this suggestion. This can be used along with the |
| 21491 | # bullet_suggestion_state to see which |
| 21492 | # fields have changed and their new values. |
| 21493 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 21494 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 21495 | "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| 21496 | # |
| 21497 | # Inherited text styles are represented as unset fields in this message. A |
| 21498 | # text style's parent depends on where the text style is defined: |
| 21499 | # |
| 21500 | # * The TextStyle of text in a Paragraph |
| 21501 | # inherits from the paragraph's corresponding named style type. |
| 21502 | # * The TextStyle on a named style |
| 21503 | # inherits from the normal text named style. |
| 21504 | # * The TextStyle of the normal text named style inherits |
| 21505 | # from the default text style in the Docs editor. |
| 21506 | # * The TextStyle on a Paragraph element |
| 21507 | # that is contained in a table may inherit its text style from the table |
| 21508 | # style. |
| 21509 | # |
| 21510 | # If the text style does not inherit from a parent, unsetting fields will |
| 21511 | # revert the style to a value matching the defaults in the Docs editor. |
| 21512 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 21513 | # or transparent, depending on the `color` field. |
| 21514 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 21515 | # a transparent color. |
| 21516 | "rgbColor": { # An RGB color. # The RGB color value. |
| 21517 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21518 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21519 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21520 | }, |
| 21521 | }, |
| 21522 | }, |
| 21523 | "italic": True or False, # Whether or not the text is italicized. |
| 21524 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 21525 | # |
| 21526 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 21527 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 21528 | # The `font_size` itself is not affected by changes in this field. |
| 21529 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 21530 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 21531 | # |
| 21532 | # If an update request specifies values for both `weighted_font_family` and |
| 21533 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 21534 | # |
| 21535 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 21536 | # |
| 21537 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 21538 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 21539 | # is returned. |
| 21540 | "fontFamily": "A String", # The font family of the text. |
| 21541 | # |
| 21542 | # The font family can be any font from the Font menu in Docs or from |
| 21543 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 21544 | # unrecognized, the text is rendered in `Arial`. |
| 21545 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 21546 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 21547 | # numerical values described in the CSS 2.1 Specification, |
| 21548 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 21549 | # non-numerical values disallowed. |
| 21550 | # |
| 21551 | # The default value is `400` ("normal"). |
| 21552 | # |
| 21553 | # The font weight makes up just one component of the rendered font weight. |
| 21554 | # The rendered weight is determined by a combination of the `weight` and the |
| 21555 | # text style's resolved `bold` value, after accounting for inheritance: |
| 21556 | # |
| 21557 | # * If the text is bold and the weight is less than `400`, the rendered |
| 21558 | # weight is 400. |
| 21559 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 21560 | # is less than `700`, the rendered weight is `700`. |
| 21561 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 21562 | # equal to the weight. |
| 21563 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 21564 | }, |
| 21565 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 21566 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 21567 | "magnitude": 3.14, # The magnitude. |
| 21568 | "unit": "A String", # The units for magnitude. |
| 21569 | }, |
| 21570 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 21571 | # or transparent, depending on the `color` field. |
| 21572 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 21573 | # a transparent color. |
| 21574 | "rgbColor": { # An RGB color. # The RGB color value. |
| 21575 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21576 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21577 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21578 | }, |
| 21579 | }, |
| 21580 | }, |
| 21581 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 21582 | # are not inherited from parent text. |
| 21583 | # |
| 21584 | # Changing the link in an update request causes some other changes to the |
| 21585 | # text style of the range: |
| 21586 | # |
| 21587 | # * When setting a link, the text foreground color will be updated to the |
| 21588 | # default link color and the text will be underlined. If these fields are |
| 21589 | # modified in the same request, those values will be used instead of the |
| 21590 | # link defaults. |
| 21591 | # * Setting a link on a text range that overlaps with an existing link will |
| 21592 | # also update the existing link to point to the new URL. |
| 21593 | # * Links are not settable on newline characters. As a result, setting a link |
| 21594 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 21595 | # will separate the newline character(s) into their own text runs. The |
| 21596 | # link will be applied separately to the runs before and after the newline. |
| 21597 | # * Removing a link will update the text style of the range to match the |
| 21598 | # style of the preceding text (or the default text styles if the preceding |
| 21599 | # text is another link) unless different styles are being set in the same |
| 21600 | # request. |
| 21601 | "headingId": "A String", # The ID of a heading in this document. |
| 21602 | "url": "A String", # An external URL. |
| 21603 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 21604 | }, |
| 21605 | "underline": True or False, # Whether or not the text is underlined. |
| 21606 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 21607 | }, |
| 21608 | }, |
| 21609 | "bulletSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| 21610 | # Bullet have been changed in this suggestion. |
| 21611 | # Bullet have been changed in this suggestion. |
| 21612 | # For any field set to true, there is a new suggested value. |
| 21613 | "nestingLevelSuggested": True or False, # Indicates if there was a suggested change to the |
| 21614 | # nesting_level. |
| 21615 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| 21616 | # suggestion. |
| 21617 | # For any field set to true, there is a new suggested value. |
| 21618 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 21619 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 21620 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 21621 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 21622 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 21623 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 21624 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 21625 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 21626 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 21627 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 21628 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 21629 | }, |
| 21630 | "listIdSuggested": True or False, # Indicates if there was a suggested change to the |
| 21631 | # list_id. |
| 21632 | }, |
| 21633 | }, |
| 21634 | }, |
| 21635 | "positionedObjectIds": [ # The IDs of the positioned objects tethered to this paragraph. |
| 21636 | "A String", |
| 21637 | ], |
| 21638 | "suggestedParagraphStyleChanges": { # The suggested paragraph style changes to this paragraph, keyed by |
| 21639 | # suggestion ID. |
| 21640 | "a_key": { # A suggested change to a |
| 21641 | # ParagraphStyle. |
| 21642 | "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. |
| 21643 | # For any field set to true, there is a new suggested value. |
| 21644 | "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| 21645 | "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| 21646 | "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| 21647 | "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| 21648 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 21649 | "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| 21650 | "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| 21651 | "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| 21652 | "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| 21653 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 21654 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 21655 | "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| 21656 | "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| 21657 | "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| 21658 | "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| 21659 | "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| 21660 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 21661 | "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| 21662 | "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| 21663 | "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| 21664 | # this suggestion. |
| 21665 | # suggested change. For any field set to true, there is a new suggested value. |
| 21666 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| 21667 | }, |
| 21668 | }, |
| 21669 | "paragraphStyle": { # Styles that apply to a whole paragraph. # A ParagraphStyle that only includes |
| 21670 | # the changes made in this suggestion. This can be used along with the |
| 21671 | # paragraph_suggestion_state |
| 21672 | # to see which fields have changed and their new values. |
| 21673 | # |
| 21674 | # Inherited paragraph styles are represented as unset fields in this message. |
| 21675 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 21676 | # |
| 21677 | # * The ParagraphStyle on a Paragraph |
| 21678 | # inherits from the paragraph's corresponding named style type. |
| 21679 | # * The ParagraphStyle on a named style |
| 21680 | # inherits from the normal text named style. |
| 21681 | # * The ParagraphStyle of the normal text named style inherits |
| 21682 | # from the default paragraph style in the Docs editor. |
| 21683 | # * The ParagraphStyle on a Paragraph |
| 21684 | # element that is contained in a table may inherit its paragraph style from |
| 21685 | # the table style. |
| 21686 | # |
| 21687 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 21688 | # revert the style to a value matching the defaults in the Docs editor. |
| 21689 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 21690 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 21691 | # LEFT_TO_RIGHT since |
| 21692 | # paragraph direction is not inherited. |
| 21693 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 21694 | # inherited from the parent. |
| 21695 | "magnitude": 3.14, # The magnitude. |
| 21696 | "unit": "A String", # The units for magnitude. |
| 21697 | }, |
| 21698 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 21699 | # page or column as the next paragraph if possible. If unset, the value is |
| 21700 | # inherited from the parent. |
| 21701 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 21702 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 21703 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 21704 | # is inherited from the parent. |
| 21705 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 21706 | # inherited from the parent. |
| 21707 | # |
| 21708 | # The bottom border is rendered when the paragraph below has different border |
| 21709 | # and indent properties. |
| 21710 | # |
| 21711 | # Paragraph borders cannot be partially updated. When making |
| 21712 | # changes to a paragraph border the new border must be specified in |
| 21713 | # its entirety. |
| 21714 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 21715 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 21716 | # a transparent color. |
| 21717 | "rgbColor": { # An RGB color. # The RGB color value. |
| 21718 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21719 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21720 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21721 | }, |
| 21722 | }, |
| 21723 | }, |
| 21724 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 21725 | "magnitude": 3.14, # The magnitude. |
| 21726 | "unit": "A String", # The units for magnitude. |
| 21727 | }, |
| 21728 | "dashStyle": "A String", # The dash style of the border. |
| 21729 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 21730 | "magnitude": 3.14, # The magnitude. |
| 21731 | "unit": "A String", # The units for magnitude. |
| 21732 | }, |
| 21733 | }, |
| 21734 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 21735 | # the start of the text, based on the current paragraph direction. If unset, |
| 21736 | # the value is inherited from the parent. |
| 21737 | "magnitude": 3.14, # The magnitude. |
| 21738 | "unit": "A String", # The units for magnitude. |
| 21739 | }, |
| 21740 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 21741 | # If unset, the value is inherited from the parent. |
| 21742 | # |
| 21743 | # The between border is rendered when the adjacent paragraph has the same |
| 21744 | # border and indent properties. |
| 21745 | # |
| 21746 | # Paragraph borders cannot be partially updated. When making |
| 21747 | # changes to a paragraph border the new border must be specified in |
| 21748 | # its entirety. |
| 21749 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 21750 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 21751 | # a transparent color. |
| 21752 | "rgbColor": { # An RGB color. # The RGB color value. |
| 21753 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21754 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21755 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21756 | }, |
| 21757 | }, |
| 21758 | }, |
| 21759 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 21760 | "magnitude": 3.14, # The magnitude. |
| 21761 | "unit": "A String", # The units for magnitude. |
| 21762 | }, |
| 21763 | "dashStyle": "A String", # The dash style of the border. |
| 21764 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 21765 | "magnitude": 3.14, # The magnitude. |
| 21766 | "unit": "A String", # The units for magnitude. |
| 21767 | }, |
| 21768 | }, |
| 21769 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 21770 | # |
| 21771 | # Since updating the named style type affects other properties within |
| 21772 | # ParagraphStyle, the named style type is applied before the other properties |
| 21773 | # are updated. |
| 21774 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 21775 | # from the parent. |
| 21776 | # |
| 21777 | # Paragraph borders cannot be partially updated. When making |
| 21778 | # changes to a paragraph border the new border must be specified in |
| 21779 | # its entirety. |
| 21780 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 21781 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 21782 | # a transparent color. |
| 21783 | "rgbColor": { # An RGB color. # The RGB color value. |
| 21784 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21785 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21786 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21787 | }, |
| 21788 | }, |
| 21789 | }, |
| 21790 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 21791 | "magnitude": 3.14, # The magnitude. |
| 21792 | "unit": "A String", # The units for magnitude. |
| 21793 | }, |
| 21794 | "dashStyle": "A String", # The dash style of the border. |
| 21795 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 21796 | "magnitude": 3.14, # The magnitude. |
| 21797 | "unit": "A String", # The units for magnitude. |
| 21798 | }, |
| 21799 | }, |
| 21800 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 21801 | # the end of the text, based on the current paragraph direction. If unset, |
| 21802 | # the value is inherited from the parent. |
| 21803 | "magnitude": 3.14, # The magnitude. |
| 21804 | "unit": "A String", # The units for magnitude. |
| 21805 | }, |
| 21806 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 21807 | # from the parent. |
| 21808 | # |
| 21809 | # Paragraph borders cannot be partially updated. When making |
| 21810 | # changes to a paragraph border the new border must be specified in |
| 21811 | # its entirety. |
| 21812 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 21813 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 21814 | # a transparent color. |
| 21815 | "rgbColor": { # An RGB color. # The RGB color value. |
| 21816 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21817 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21818 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21819 | }, |
| 21820 | }, |
| 21821 | }, |
| 21822 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 21823 | "magnitude": 3.14, # The magnitude. |
| 21824 | "unit": "A String", # The units for magnitude. |
| 21825 | }, |
| 21826 | "dashStyle": "A String", # The dash style of the border. |
| 21827 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 21828 | "magnitude": 3.14, # The magnitude. |
| 21829 | "unit": "A String", # The units for magnitude. |
| 21830 | }, |
| 21831 | }, |
| 21832 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 21833 | # inherited from the parent. |
| 21834 | "magnitude": 3.14, # The magnitude. |
| 21835 | "unit": "A String", # The units for magnitude. |
| 21836 | }, |
| 21837 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 21838 | # heading. This property is read-only. |
| 21839 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 21840 | # parent. |
| 21841 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 21842 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 21843 | # a transparent color. |
| 21844 | "rgbColor": { # An RGB color. # The RGB color value. |
| 21845 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21846 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21847 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21848 | }, |
| 21849 | }, |
| 21850 | }, |
| 21851 | }, |
| 21852 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 21853 | # from the parent. |
| 21854 | # |
| 21855 | # The top border is rendered when the paragraph above has different border |
| 21856 | # and indent properties. |
| 21857 | # |
| 21858 | # Paragraph borders cannot be partially updated. When making |
| 21859 | # changes to a paragraph border the new border must be specified in |
| 21860 | # its entirety. |
| 21861 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 21862 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 21863 | # a transparent color. |
| 21864 | "rgbColor": { # An RGB color. # The RGB color value. |
| 21865 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21866 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21867 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21868 | }, |
| 21869 | }, |
| 21870 | }, |
| 21871 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 21872 | "magnitude": 3.14, # The magnitude. |
| 21873 | "unit": "A String", # The units for magnitude. |
| 21874 | }, |
| 21875 | "dashStyle": "A String", # The dash style of the border. |
| 21876 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 21877 | "magnitude": 3.14, # The magnitude. |
| 21878 | "unit": "A String", # The units for magnitude. |
| 21879 | }, |
| 21880 | }, |
| 21881 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 21882 | # inherited. This property is read-only. |
| 21883 | { # A tab stop within a paragraph. |
| 21884 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 21885 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 21886 | "magnitude": 3.14, # The magnitude. |
| 21887 | "unit": "A String", # The units for magnitude. |
| 21888 | }, |
| 21889 | }, |
| 21890 | ], |
| 21891 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 21892 | # the value is inherited from the parent. |
| 21893 | "magnitude": 3.14, # The magnitude. |
| 21894 | "unit": "A String", # The units for magnitude. |
| 21895 | }, |
| 21896 | "alignment": "A String", # The text alignment for this paragraph. |
| 21897 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 21898 | # column if possible. If unset, the value is inherited from the parent. |
| 21899 | }, |
| 21900 | }, |
| 21901 | }, |
| 21902 | "paragraphStyle": { # Styles that apply to a whole paragraph. # The style of this paragraph. |
| 21903 | # |
| 21904 | # Inherited paragraph styles are represented as unset fields in this message. |
| 21905 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 21906 | # |
| 21907 | # * The ParagraphStyle on a Paragraph |
| 21908 | # inherits from the paragraph's corresponding named style type. |
| 21909 | # * The ParagraphStyle on a named style |
| 21910 | # inherits from the normal text named style. |
| 21911 | # * The ParagraphStyle of the normal text named style inherits |
| 21912 | # from the default paragraph style in the Docs editor. |
| 21913 | # * The ParagraphStyle on a Paragraph |
| 21914 | # element that is contained in a table may inherit its paragraph style from |
| 21915 | # the table style. |
| 21916 | # |
| 21917 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 21918 | # revert the style to a value matching the defaults in the Docs editor. |
| 21919 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 21920 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 21921 | # LEFT_TO_RIGHT since |
| 21922 | # paragraph direction is not inherited. |
| 21923 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 21924 | # inherited from the parent. |
| 21925 | "magnitude": 3.14, # The magnitude. |
| 21926 | "unit": "A String", # The units for magnitude. |
| 21927 | }, |
| 21928 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 21929 | # page or column as the next paragraph if possible. If unset, the value is |
| 21930 | # inherited from the parent. |
| 21931 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 21932 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 21933 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 21934 | # is inherited from the parent. |
| 21935 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 21936 | # inherited from the parent. |
| 21937 | # |
| 21938 | # The bottom border is rendered when the paragraph below has different border |
| 21939 | # and indent properties. |
| 21940 | # |
| 21941 | # Paragraph borders cannot be partially updated. When making |
| 21942 | # changes to a paragraph border the new border must be specified in |
| 21943 | # its entirety. |
| 21944 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 21945 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 21946 | # a transparent color. |
| 21947 | "rgbColor": { # An RGB color. # The RGB color value. |
| 21948 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21949 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21950 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21951 | }, |
| 21952 | }, |
| 21953 | }, |
| 21954 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 21955 | "magnitude": 3.14, # The magnitude. |
| 21956 | "unit": "A String", # The units for magnitude. |
| 21957 | }, |
| 21958 | "dashStyle": "A String", # The dash style of the border. |
| 21959 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 21960 | "magnitude": 3.14, # The magnitude. |
| 21961 | "unit": "A String", # The units for magnitude. |
| 21962 | }, |
| 21963 | }, |
| 21964 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 21965 | # the start of the text, based on the current paragraph direction. If unset, |
| 21966 | # the value is inherited from the parent. |
| 21967 | "magnitude": 3.14, # The magnitude. |
| 21968 | "unit": "A String", # The units for magnitude. |
| 21969 | }, |
| 21970 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 21971 | # If unset, the value is inherited from the parent. |
| 21972 | # |
| 21973 | # The between border is rendered when the adjacent paragraph has the same |
| 21974 | # border and indent properties. |
| 21975 | # |
| 21976 | # Paragraph borders cannot be partially updated. When making |
| 21977 | # changes to a paragraph border the new border must be specified in |
| 21978 | # its entirety. |
| 21979 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 21980 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 21981 | # a transparent color. |
| 21982 | "rgbColor": { # An RGB color. # The RGB color value. |
| 21983 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 21984 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 21985 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 21986 | }, |
| 21987 | }, |
| 21988 | }, |
| 21989 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 21990 | "magnitude": 3.14, # The magnitude. |
| 21991 | "unit": "A String", # The units for magnitude. |
| 21992 | }, |
| 21993 | "dashStyle": "A String", # The dash style of the border. |
| 21994 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 21995 | "magnitude": 3.14, # The magnitude. |
| 21996 | "unit": "A String", # The units for magnitude. |
| 21997 | }, |
| 21998 | }, |
| 21999 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 22000 | # |
| 22001 | # Since updating the named style type affects other properties within |
| 22002 | # ParagraphStyle, the named style type is applied before the other properties |
| 22003 | # are updated. |
| 22004 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 22005 | # from the parent. |
| 22006 | # |
| 22007 | # Paragraph borders cannot be partially updated. When making |
| 22008 | # changes to a paragraph border the new border must be specified in |
| 22009 | # its entirety. |
| 22010 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 22011 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 22012 | # a transparent color. |
| 22013 | "rgbColor": { # An RGB color. # The RGB color value. |
| 22014 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22015 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22016 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22017 | }, |
| 22018 | }, |
| 22019 | }, |
| 22020 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 22021 | "magnitude": 3.14, # The magnitude. |
| 22022 | "unit": "A String", # The units for magnitude. |
| 22023 | }, |
| 22024 | "dashStyle": "A String", # The dash style of the border. |
| 22025 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 22026 | "magnitude": 3.14, # The magnitude. |
| 22027 | "unit": "A String", # The units for magnitude. |
| 22028 | }, |
| 22029 | }, |
| 22030 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 22031 | # the end of the text, based on the current paragraph direction. If unset, |
| 22032 | # the value is inherited from the parent. |
| 22033 | "magnitude": 3.14, # The magnitude. |
| 22034 | "unit": "A String", # The units for magnitude. |
| 22035 | }, |
| 22036 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 22037 | # from the parent. |
| 22038 | # |
| 22039 | # Paragraph borders cannot be partially updated. When making |
| 22040 | # changes to a paragraph border the new border must be specified in |
| 22041 | # its entirety. |
| 22042 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 22043 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 22044 | # a transparent color. |
| 22045 | "rgbColor": { # An RGB color. # The RGB color value. |
| 22046 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22047 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22048 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22049 | }, |
| 22050 | }, |
| 22051 | }, |
| 22052 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 22053 | "magnitude": 3.14, # The magnitude. |
| 22054 | "unit": "A String", # The units for magnitude. |
| 22055 | }, |
| 22056 | "dashStyle": "A String", # The dash style of the border. |
| 22057 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 22058 | "magnitude": 3.14, # The magnitude. |
| 22059 | "unit": "A String", # The units for magnitude. |
| 22060 | }, |
| 22061 | }, |
| 22062 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 22063 | # inherited from the parent. |
| 22064 | "magnitude": 3.14, # The magnitude. |
| 22065 | "unit": "A String", # The units for magnitude. |
| 22066 | }, |
| 22067 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 22068 | # heading. This property is read-only. |
| 22069 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 22070 | # parent. |
| 22071 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 22072 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 22073 | # a transparent color. |
| 22074 | "rgbColor": { # An RGB color. # The RGB color value. |
| 22075 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22076 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22077 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22078 | }, |
| 22079 | }, |
| 22080 | }, |
| 22081 | }, |
| 22082 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 22083 | # from the parent. |
| 22084 | # |
| 22085 | # The top border is rendered when the paragraph above has different border |
| 22086 | # and indent properties. |
| 22087 | # |
| 22088 | # Paragraph borders cannot be partially updated. When making |
| 22089 | # changes to a paragraph border the new border must be specified in |
| 22090 | # its entirety. |
| 22091 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 22092 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 22093 | # a transparent color. |
| 22094 | "rgbColor": { # An RGB color. # The RGB color value. |
| 22095 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22096 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22097 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22098 | }, |
| 22099 | }, |
| 22100 | }, |
| 22101 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 22102 | "magnitude": 3.14, # The magnitude. |
| 22103 | "unit": "A String", # The units for magnitude. |
| 22104 | }, |
| 22105 | "dashStyle": "A String", # The dash style of the border. |
| 22106 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 22107 | "magnitude": 3.14, # The magnitude. |
| 22108 | "unit": "A String", # The units for magnitude. |
| 22109 | }, |
| 22110 | }, |
| 22111 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 22112 | # inherited. This property is read-only. |
| 22113 | { # A tab stop within a paragraph. |
| 22114 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 22115 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 22116 | "magnitude": 3.14, # The magnitude. |
| 22117 | "unit": "A String", # The units for magnitude. |
| 22118 | }, |
| 22119 | }, |
| 22120 | ], |
| 22121 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 22122 | # the value is inherited from the parent. |
| 22123 | "magnitude": 3.14, # The magnitude. |
| 22124 | "unit": "A String", # The units for magnitude. |
| 22125 | }, |
| 22126 | "alignment": "A String", # The text alignment for this paragraph. |
| 22127 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 22128 | # column if possible. If unset, the value is inherited from the parent. |
| 22129 | }, |
| 22130 | }, |
| 22131 | "table": { # A StructuralElement representing a # A table type of structural element. |
| 22132 | # table. |
| 22133 | "rows": 42, # Number of rows in the table. |
| 22134 | "tableStyle": { # Styles that apply to a table. # The style of the table. |
| 22135 | "tableColumnProperties": [ # The properties of each column. |
| 22136 | # |
| 22137 | # Note that in Docs, tables contain rows and rows contain cells, similar to |
| 22138 | # HTML. So the properties for a row can be found on the row's |
| 22139 | # table_row_style. |
| 22140 | { # The properties of a column in a table. |
| 22141 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| 22142 | # FIXED_WIDTH. |
| 22143 | "magnitude": 3.14, # The magnitude. |
| 22144 | "unit": "A String", # The units for magnitude. |
| 22145 | }, |
| 22146 | "widthType": "A String", # The width type of the column. |
| 22147 | }, |
| 22148 | ], |
| 22149 | }, |
| 22150 | "suggestedInsertionIds": [ # The suggested insertion IDs. A Table may have |
| 22151 | # multiple insertion IDs if it is a nested suggested change. If empty, then |
| 22152 | # this is not a suggested insertion. |
| 22153 | "A String", |
| 22154 | ], |
| 22155 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 22156 | # of this content. |
| 22157 | "A String", |
| 22158 | ], |
| 22159 | "tableRows": [ # The contents and style of each row. |
| 22160 | { # The contents and style of a row in a Table. |
| 22161 | "endIndex": 42, # The zero-based end index of this row, exclusive, in UTF-16 code units. |
| 22162 | "tableCells": [ # The contents and style of each cell in this row. |
| 22163 | # |
| 22164 | # It is possible for a table to be non-rectangular, so some rows may have a |
| 22165 | # different number of cells than other rows in the same table. |
| 22166 | { # The contents and style of a cell in a Table. |
| 22167 | "endIndex": 42, # The zero-based end index of this cell, exclusive, in UTF-16 code units. |
| 22168 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 22169 | # of this content. |
| 22170 | "A String", |
| 22171 | ], |
| 22172 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableCell |
| 22173 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 22174 | # empty, then this is not a suggested insertion. |
| 22175 | "A String", |
| 22176 | ], |
| 22177 | "content": [ # The content of the cell. |
| 22178 | # Object with schema name: StructuralElement |
| 22179 | ], |
| 22180 | "tableCellStyle": { # The style of a TableCell. # The style of the cell. |
| 22181 | # |
| 22182 | # Inherited table cell styles are represented as unset fields in this message. |
| 22183 | # A table cell style can inherit from the table's style. |
| 22184 | "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| 22185 | "magnitude": 3.14, # The magnitude. |
| 22186 | "unit": "A String", # The units for magnitude. |
| 22187 | }, |
| 22188 | "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| 22189 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 22190 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 22191 | # a transparent color. |
| 22192 | "rgbColor": { # An RGB color. # The RGB color value. |
| 22193 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22194 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22195 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22196 | }, |
| 22197 | }, |
| 22198 | }, |
| 22199 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 22200 | "magnitude": 3.14, # The magnitude. |
| 22201 | "unit": "A String", # The units for magnitude. |
| 22202 | }, |
| 22203 | "dashStyle": "A String", # The dash style of the border. |
| 22204 | }, |
| 22205 | "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| 22206 | "magnitude": 3.14, # The magnitude. |
| 22207 | "unit": "A String", # The units for magnitude. |
| 22208 | }, |
| 22209 | "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| 22210 | "magnitude": 3.14, # The magnitude. |
| 22211 | "unit": "A String", # The units for magnitude. |
| 22212 | }, |
| 22213 | "borderLeft": { # A border around a table cell. # The left border of the cell. |
| 22214 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 22215 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 22216 | # a transparent color. |
| 22217 | "rgbColor": { # An RGB color. # The RGB color value. |
| 22218 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22219 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22220 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22221 | }, |
| 22222 | }, |
| 22223 | }, |
| 22224 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 22225 | "magnitude": 3.14, # The magnitude. |
| 22226 | "unit": "A String", # The units for magnitude. |
| 22227 | }, |
| 22228 | "dashStyle": "A String", # The dash style of the border. |
| 22229 | }, |
| 22230 | "columnSpan": 42, # The column span of the cell. This property is read-only. |
| 22231 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| 22232 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 22233 | # a transparent color. |
| 22234 | "rgbColor": { # An RGB color. # The RGB color value. |
| 22235 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22236 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22237 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22238 | }, |
| 22239 | }, |
| 22240 | }, |
| 22241 | "borderRight": { # A border around a table cell. # The right border of the cell. |
| 22242 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 22243 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 22244 | # a transparent color. |
| 22245 | "rgbColor": { # An RGB color. # The RGB color value. |
| 22246 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22247 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22248 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22249 | }, |
| 22250 | }, |
| 22251 | }, |
| 22252 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 22253 | "magnitude": 3.14, # The magnitude. |
| 22254 | "unit": "A String", # The units for magnitude. |
| 22255 | }, |
| 22256 | "dashStyle": "A String", # The dash style of the border. |
| 22257 | }, |
| 22258 | "rowSpan": 42, # The row span of the cell. This property is read-only. |
| 22259 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 22260 | # matches the alignment for newly created table cells in the Docs editor. |
| 22261 | "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| 22262 | "magnitude": 3.14, # The magnitude. |
| 22263 | "unit": "A String", # The units for magnitude. |
| 22264 | }, |
| 22265 | "borderTop": { # A border around a table cell. # The top border of the cell. |
| 22266 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 22267 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 22268 | # a transparent color. |
| 22269 | "rgbColor": { # An RGB color. # The RGB color value. |
| 22270 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22271 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22272 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22273 | }, |
| 22274 | }, |
| 22275 | }, |
| 22276 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 22277 | "magnitude": 3.14, # The magnitude. |
| 22278 | "unit": "A String", # The units for magnitude. |
| 22279 | }, |
| 22280 | "dashStyle": "A String", # The dash style of the border. |
| 22281 | }, |
| 22282 | }, |
| 22283 | "startIndex": 42, # The zero-based start index of this cell, in UTF-16 code units. |
| 22284 | "suggestedTableCellStyleChanges": { # The suggested changes to the table cell style, keyed by suggestion ID. |
| 22285 | "a_key": { # A suggested change to a TableCellStyle. |
| 22286 | "tableCellStyle": { # The style of a TableCell. # A TableCellStyle that only includes |
| 22287 | # the changes made in this suggestion. This can be used along with the |
| 22288 | # table_cell_style_suggestion_state |
| 22289 | # to see which fields have changed and their new values. |
| 22290 | # |
| 22291 | # Inherited table cell styles are represented as unset fields in this message. |
| 22292 | # A table cell style can inherit from the table's style. |
| 22293 | "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| 22294 | "magnitude": 3.14, # The magnitude. |
| 22295 | "unit": "A String", # The units for magnitude. |
| 22296 | }, |
| 22297 | "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| 22298 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 22299 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 22300 | # a transparent color. |
| 22301 | "rgbColor": { # An RGB color. # The RGB color value. |
| 22302 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22303 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22304 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22305 | }, |
| 22306 | }, |
| 22307 | }, |
| 22308 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 22309 | "magnitude": 3.14, # The magnitude. |
| 22310 | "unit": "A String", # The units for magnitude. |
| 22311 | }, |
| 22312 | "dashStyle": "A String", # The dash style of the border. |
| 22313 | }, |
| 22314 | "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| 22315 | "magnitude": 3.14, # The magnitude. |
| 22316 | "unit": "A String", # The units for magnitude. |
| 22317 | }, |
| 22318 | "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| 22319 | "magnitude": 3.14, # The magnitude. |
| 22320 | "unit": "A String", # The units for magnitude. |
| 22321 | }, |
| 22322 | "borderLeft": { # A border around a table cell. # The left border of the cell. |
| 22323 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 22324 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 22325 | # a transparent color. |
| 22326 | "rgbColor": { # An RGB color. # The RGB color value. |
| 22327 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22328 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22329 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22330 | }, |
| 22331 | }, |
| 22332 | }, |
| 22333 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 22334 | "magnitude": 3.14, # The magnitude. |
| 22335 | "unit": "A String", # The units for magnitude. |
| 22336 | }, |
| 22337 | "dashStyle": "A String", # The dash style of the border. |
| 22338 | }, |
| 22339 | "columnSpan": 42, # The column span of the cell. This property is read-only. |
| 22340 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| 22341 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 22342 | # a transparent color. |
| 22343 | "rgbColor": { # An RGB color. # The RGB color value. |
| 22344 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22345 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22346 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22347 | }, |
| 22348 | }, |
| 22349 | }, |
| 22350 | "borderRight": { # A border around a table cell. # The right border of the cell. |
| 22351 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 22352 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 22353 | # a transparent color. |
| 22354 | "rgbColor": { # An RGB color. # The RGB color value. |
| 22355 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22356 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22357 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22358 | }, |
| 22359 | }, |
| 22360 | }, |
| 22361 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 22362 | "magnitude": 3.14, # The magnitude. |
| 22363 | "unit": "A String", # The units for magnitude. |
| 22364 | }, |
| 22365 | "dashStyle": "A String", # The dash style of the border. |
| 22366 | }, |
| 22367 | "rowSpan": 42, # The row span of the cell. This property is read-only. |
| 22368 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 22369 | # matches the alignment for newly created table cells in the Docs editor. |
| 22370 | "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| 22371 | "magnitude": 3.14, # The magnitude. |
| 22372 | "unit": "A String", # The units for magnitude. |
| 22373 | }, |
| 22374 | "borderTop": { # A border around a table cell. # The top border of the cell. |
| 22375 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 22376 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 22377 | # a transparent color. |
| 22378 | "rgbColor": { # An RGB color. # The RGB color value. |
| 22379 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22380 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22381 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22382 | }, |
| 22383 | }, |
| 22384 | }, |
| 22385 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 22386 | "magnitude": 3.14, # The magnitude. |
| 22387 | "unit": "A String", # The units for magnitude. |
| 22388 | }, |
| 22389 | "dashStyle": "A String", # The dash style of the border. |
| 22390 | }, |
| 22391 | }, |
| 22392 | "tableCellStyleSuggestionState": { # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. |
| 22393 | # For any field set to true, there is a new suggested value. |
| 22394 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 22395 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 22396 | "paddingBottomSuggested": True or False, # Indicates if there was a suggested change to padding_bottom. |
| 22397 | "contentAlignmentSuggested": True or False, # Indicates if there was a suggested change to content_alignment. |
| 22398 | "rowSpanSuggested": True or False, # Indicates if there was a suggested change to row_span. |
| 22399 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 22400 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 22401 | "columnSpanSuggested": True or False, # Indicates if there was a suggested change to column_span. |
| 22402 | "paddingRightSuggested": True or False, # Indicates if there was a suggested change to padding_right. |
| 22403 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 22404 | "paddingLeftSuggested": True or False, # Indicates if there was a suggested change to padding_left. |
| 22405 | "paddingTopSuggested": True or False, # Indicates if there was a suggested change to padding_top. |
| 22406 | }, |
| 22407 | }, |
| 22408 | }, |
| 22409 | }, |
| 22410 | ], |
| 22411 | "tableRowStyle": { # Styles that apply to a table row. # The style of the table row. |
| 22412 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 22413 | # at a height equal to or greater than this value in order to show all the |
| 22414 | # content in the row's cells. |
| 22415 | "magnitude": 3.14, # The magnitude. |
| 22416 | "unit": "A String", # The units for magnitude. |
| 22417 | }, |
| 22418 | }, |
| 22419 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableRow |
| 22420 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 22421 | # empty, then this is not a suggested insertion. |
| 22422 | "A String", |
| 22423 | ], |
| 22424 | "startIndex": 42, # The zero-based start index of this row, in UTF-16 code units. |
| 22425 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 22426 | # of this content. |
| 22427 | "A String", |
| 22428 | ], |
| 22429 | "suggestedTableRowStyleChanges": { # The suggested style changes to this row, keyed by suggestion ID. |
| 22430 | "a_key": { # A suggested change to a |
| 22431 | # TableRowStyle. |
| 22432 | "tableRowStyle": { # Styles that apply to a table row. # A TableRowStyle that only includes |
| 22433 | # the changes made in this suggestion. This can be used along with the |
| 22434 | # table_row_style_suggestion_state |
| 22435 | # to see which fields have changed and their new values. |
| 22436 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 22437 | # at a height equal to or greater than this value in order to show all the |
| 22438 | # content in the row's cells. |
| 22439 | "magnitude": 3.14, # The magnitude. |
| 22440 | "unit": "A String", # The units for magnitude. |
| 22441 | }, |
| 22442 | }, |
| 22443 | "tableRowStyleSuggestionState": { # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. |
| 22444 | # For any field set to true, there is a new suggested value. |
| 22445 | "minRowHeightSuggested": True or False, # Indicates if there was a suggested change to min_row_height. |
| 22446 | }, |
| 22447 | }, |
| 22448 | }, |
| 22449 | }, |
| 22450 | ], |
| 22451 | "columns": 42, # Number of columns in the table. |
| 22452 | # |
| 22453 | # It is possible for a table to be non-rectangular, so some rows may have a |
| 22454 | # different number of cells. |
| 22455 | }, |
| 22456 | }, |
| 22457 | ], |
| 22458 | }, |
| 22459 | }, |
| 22460 | "namedStyles": { # The named styles. Paragraphs in the document can inherit their # The named styles of the document. |
| 22461 | # TextStyle and |
| 22462 | # ParagraphStyle from these named styles. |
| 22463 | "styles": [ # The named styles. |
| 22464 | # |
| 22465 | # There is an entry for each of the possible named style types. |
| 22466 | { # A named style. Paragraphs in the document can inherit their |
| 22467 | # TextStyle and |
| 22468 | # ParagraphStyle from this named style |
| 22469 | # when they have the same named style type. |
| 22470 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this named style. |
| 22471 | # |
| 22472 | # Inherited text styles are represented as unset fields in this message. A |
| 22473 | # text style's parent depends on where the text style is defined: |
| 22474 | # |
| 22475 | # * The TextStyle of text in a Paragraph |
| 22476 | # inherits from the paragraph's corresponding named style type. |
| 22477 | # * The TextStyle on a named style |
| 22478 | # inherits from the normal text named style. |
| 22479 | # * The TextStyle of the normal text named style inherits |
| 22480 | # from the default text style in the Docs editor. |
| 22481 | # * The TextStyle on a Paragraph element |
| 22482 | # that is contained in a table may inherit its text style from the table |
| 22483 | # style. |
| 22484 | # |
| 22485 | # If the text style does not inherit from a parent, unsetting fields will |
| 22486 | # revert the style to a value matching the defaults in the Docs editor. |
| 22487 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 22488 | # or transparent, depending on the `color` field. |
| 22489 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 22490 | # a transparent color. |
| 22491 | "rgbColor": { # An RGB color. # The RGB color value. |
| 22492 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22493 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22494 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22495 | }, |
| 22496 | }, |
| 22497 | }, |
| 22498 | "italic": True or False, # Whether or not the text is italicized. |
| 22499 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 22500 | # |
| 22501 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 22502 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 22503 | # The `font_size` itself is not affected by changes in this field. |
| 22504 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 22505 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 22506 | # |
| 22507 | # If an update request specifies values for both `weighted_font_family` and |
| 22508 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 22509 | # |
| 22510 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 22511 | # |
| 22512 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 22513 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 22514 | # is returned. |
| 22515 | "fontFamily": "A String", # The font family of the text. |
| 22516 | # |
| 22517 | # The font family can be any font from the Font menu in Docs or from |
| 22518 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 22519 | # unrecognized, the text is rendered in `Arial`. |
| 22520 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 22521 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 22522 | # numerical values described in the CSS 2.1 Specification, |
| 22523 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 22524 | # non-numerical values disallowed. |
| 22525 | # |
| 22526 | # The default value is `400` ("normal"). |
| 22527 | # |
| 22528 | # The font weight makes up just one component of the rendered font weight. |
| 22529 | # The rendered weight is determined by a combination of the `weight` and the |
| 22530 | # text style's resolved `bold` value, after accounting for inheritance: |
| 22531 | # |
| 22532 | # * If the text is bold and the weight is less than `400`, the rendered |
| 22533 | # weight is 400. |
| 22534 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 22535 | # is less than `700`, the rendered weight is `700`. |
| 22536 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 22537 | # equal to the weight. |
| 22538 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 22539 | }, |
| 22540 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 22541 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 22542 | "magnitude": 3.14, # The magnitude. |
| 22543 | "unit": "A String", # The units for magnitude. |
| 22544 | }, |
| 22545 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 22546 | # or transparent, depending on the `color` field. |
| 22547 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 22548 | # a transparent color. |
| 22549 | "rgbColor": { # An RGB color. # The RGB color value. |
| 22550 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22551 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22552 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22553 | }, |
| 22554 | }, |
| 22555 | }, |
| 22556 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 22557 | # are not inherited from parent text. |
| 22558 | # |
| 22559 | # Changing the link in an update request causes some other changes to the |
| 22560 | # text style of the range: |
| 22561 | # |
| 22562 | # * When setting a link, the text foreground color will be updated to the |
| 22563 | # default link color and the text will be underlined. If these fields are |
| 22564 | # modified in the same request, those values will be used instead of the |
| 22565 | # link defaults. |
| 22566 | # * Setting a link on a text range that overlaps with an existing link will |
| 22567 | # also update the existing link to point to the new URL. |
| 22568 | # * Links are not settable on newline characters. As a result, setting a link |
| 22569 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 22570 | # will separate the newline character(s) into their own text runs. The |
| 22571 | # link will be applied separately to the runs before and after the newline. |
| 22572 | # * Removing a link will update the text style of the range to match the |
| 22573 | # style of the preceding text (or the default text styles if the preceding |
| 22574 | # text is another link) unless different styles are being set in the same |
| 22575 | # request. |
| 22576 | "headingId": "A String", # The ID of a heading in this document. |
| 22577 | "url": "A String", # An external URL. |
| 22578 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 22579 | }, |
| 22580 | "underline": True or False, # Whether or not the text is underlined. |
| 22581 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 22582 | }, |
| 22583 | "namedStyleType": "A String", # The type of this named style. |
| 22584 | "paragraphStyle": { # Styles that apply to a whole paragraph. # The paragraph style of this named style. |
| 22585 | # |
| 22586 | # Inherited paragraph styles are represented as unset fields in this message. |
| 22587 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 22588 | # |
| 22589 | # * The ParagraphStyle on a Paragraph |
| 22590 | # inherits from the paragraph's corresponding named style type. |
| 22591 | # * The ParagraphStyle on a named style |
| 22592 | # inherits from the normal text named style. |
| 22593 | # * The ParagraphStyle of the normal text named style inherits |
| 22594 | # from the default paragraph style in the Docs editor. |
| 22595 | # * The ParagraphStyle on a Paragraph |
| 22596 | # element that is contained in a table may inherit its paragraph style from |
| 22597 | # the table style. |
| 22598 | # |
| 22599 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 22600 | # revert the style to a value matching the defaults in the Docs editor. |
| 22601 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 22602 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 22603 | # LEFT_TO_RIGHT since |
| 22604 | # paragraph direction is not inherited. |
| 22605 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 22606 | # inherited from the parent. |
| 22607 | "magnitude": 3.14, # The magnitude. |
| 22608 | "unit": "A String", # The units for magnitude. |
| 22609 | }, |
| 22610 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 22611 | # page or column as the next paragraph if possible. If unset, the value is |
| 22612 | # inherited from the parent. |
| 22613 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 22614 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 22615 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 22616 | # is inherited from the parent. |
| 22617 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 22618 | # inherited from the parent. |
| 22619 | # |
| 22620 | # The bottom border is rendered when the paragraph below has different border |
| 22621 | # and indent properties. |
| 22622 | # |
| 22623 | # Paragraph borders cannot be partially updated. When making |
| 22624 | # changes to a paragraph border the new border must be specified in |
| 22625 | # its entirety. |
| 22626 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 22627 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 22628 | # a transparent color. |
| 22629 | "rgbColor": { # An RGB color. # The RGB color value. |
| 22630 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22631 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22632 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22633 | }, |
| 22634 | }, |
| 22635 | }, |
| 22636 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 22637 | "magnitude": 3.14, # The magnitude. |
| 22638 | "unit": "A String", # The units for magnitude. |
| 22639 | }, |
| 22640 | "dashStyle": "A String", # The dash style of the border. |
| 22641 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 22642 | "magnitude": 3.14, # The magnitude. |
| 22643 | "unit": "A String", # The units for magnitude. |
| 22644 | }, |
| 22645 | }, |
| 22646 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 22647 | # the start of the text, based on the current paragraph direction. If unset, |
| 22648 | # the value is inherited from the parent. |
| 22649 | "magnitude": 3.14, # The magnitude. |
| 22650 | "unit": "A String", # The units for magnitude. |
| 22651 | }, |
| 22652 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 22653 | # If unset, the value is inherited from the parent. |
| 22654 | # |
| 22655 | # The between border is rendered when the adjacent paragraph has the same |
| 22656 | # border and indent properties. |
| 22657 | # |
| 22658 | # Paragraph borders cannot be partially updated. When making |
| 22659 | # changes to a paragraph border the new border must be specified in |
| 22660 | # its entirety. |
| 22661 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 22662 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 22663 | # a transparent color. |
| 22664 | "rgbColor": { # An RGB color. # The RGB color value. |
| 22665 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22666 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22667 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22668 | }, |
| 22669 | }, |
| 22670 | }, |
| 22671 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 22672 | "magnitude": 3.14, # The magnitude. |
| 22673 | "unit": "A String", # The units for magnitude. |
| 22674 | }, |
| 22675 | "dashStyle": "A String", # The dash style of the border. |
| 22676 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 22677 | "magnitude": 3.14, # The magnitude. |
| 22678 | "unit": "A String", # The units for magnitude. |
| 22679 | }, |
| 22680 | }, |
| 22681 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 22682 | # |
| 22683 | # Since updating the named style type affects other properties within |
| 22684 | # ParagraphStyle, the named style type is applied before the other properties |
| 22685 | # are updated. |
| 22686 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 22687 | # from the parent. |
| 22688 | # |
| 22689 | # Paragraph borders cannot be partially updated. When making |
| 22690 | # changes to a paragraph border the new border must be specified in |
| 22691 | # its entirety. |
| 22692 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 22693 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 22694 | # a transparent color. |
| 22695 | "rgbColor": { # An RGB color. # The RGB color value. |
| 22696 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22697 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22698 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22699 | }, |
| 22700 | }, |
| 22701 | }, |
| 22702 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 22703 | "magnitude": 3.14, # The magnitude. |
| 22704 | "unit": "A String", # The units for magnitude. |
| 22705 | }, |
| 22706 | "dashStyle": "A String", # The dash style of the border. |
| 22707 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 22708 | "magnitude": 3.14, # The magnitude. |
| 22709 | "unit": "A String", # The units for magnitude. |
| 22710 | }, |
| 22711 | }, |
| 22712 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 22713 | # the end of the text, based on the current paragraph direction. If unset, |
| 22714 | # the value is inherited from the parent. |
| 22715 | "magnitude": 3.14, # The magnitude. |
| 22716 | "unit": "A String", # The units for magnitude. |
| 22717 | }, |
| 22718 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 22719 | # from the parent. |
| 22720 | # |
| 22721 | # Paragraph borders cannot be partially updated. When making |
| 22722 | # changes to a paragraph border the new border must be specified in |
| 22723 | # its entirety. |
| 22724 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 22725 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 22726 | # a transparent color. |
| 22727 | "rgbColor": { # An RGB color. # The RGB color value. |
| 22728 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22729 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22730 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22731 | }, |
| 22732 | }, |
| 22733 | }, |
| 22734 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 22735 | "magnitude": 3.14, # The magnitude. |
| 22736 | "unit": "A String", # The units for magnitude. |
| 22737 | }, |
| 22738 | "dashStyle": "A String", # The dash style of the border. |
| 22739 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 22740 | "magnitude": 3.14, # The magnitude. |
| 22741 | "unit": "A String", # The units for magnitude. |
| 22742 | }, |
| 22743 | }, |
| 22744 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 22745 | # inherited from the parent. |
| 22746 | "magnitude": 3.14, # The magnitude. |
| 22747 | "unit": "A String", # The units for magnitude. |
| 22748 | }, |
| 22749 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 22750 | # heading. This property is read-only. |
| 22751 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 22752 | # parent. |
| 22753 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 22754 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 22755 | # a transparent color. |
| 22756 | "rgbColor": { # An RGB color. # The RGB color value. |
| 22757 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22758 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22759 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22760 | }, |
| 22761 | }, |
| 22762 | }, |
| 22763 | }, |
| 22764 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 22765 | # from the parent. |
| 22766 | # |
| 22767 | # The top border is rendered when the paragraph above has different border |
| 22768 | # and indent properties. |
| 22769 | # |
| 22770 | # Paragraph borders cannot be partially updated. When making |
| 22771 | # changes to a paragraph border the new border must be specified in |
| 22772 | # its entirety. |
| 22773 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 22774 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 22775 | # a transparent color. |
| 22776 | "rgbColor": { # An RGB color. # The RGB color value. |
| 22777 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22778 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22779 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22780 | }, |
| 22781 | }, |
| 22782 | }, |
| 22783 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 22784 | "magnitude": 3.14, # The magnitude. |
| 22785 | "unit": "A String", # The units for magnitude. |
| 22786 | }, |
| 22787 | "dashStyle": "A String", # The dash style of the border. |
| 22788 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 22789 | "magnitude": 3.14, # The magnitude. |
| 22790 | "unit": "A String", # The units for magnitude. |
| 22791 | }, |
| 22792 | }, |
| 22793 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 22794 | # inherited. This property is read-only. |
| 22795 | { # A tab stop within a paragraph. |
| 22796 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 22797 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 22798 | "magnitude": 3.14, # The magnitude. |
| 22799 | "unit": "A String", # The units for magnitude. |
| 22800 | }, |
| 22801 | }, |
| 22802 | ], |
| 22803 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 22804 | # the value is inherited from the parent. |
| 22805 | "magnitude": 3.14, # The magnitude. |
| 22806 | "unit": "A String", # The units for magnitude. |
| 22807 | }, |
| 22808 | "alignment": "A String", # The text alignment for this paragraph. |
| 22809 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 22810 | # column if possible. If unset, the value is inherited from the parent. |
| 22811 | }, |
| 22812 | }, |
| 22813 | ], |
| 22814 | }, |
| 22815 | "footers": { # The footers in the document, keyed by footer ID. |
| 22816 | "a_key": { # A document footer. |
| 22817 | "content": [ # The contents of the footer. |
| 22818 | # |
| 22819 | # The indexes for a footer's content begin at zero. |
| 22820 | { # A StructuralElement describes content that provides structure to the |
| 22821 | # document. |
| 22822 | "endIndex": 42, # The zero-based end index of this structural element, exclusive, in UTF-16 |
| 22823 | # code units. |
| 22824 | "sectionBreak": { # A StructuralElement representing a # A section break type of structural element. |
| 22825 | # section break. A section is a range of content which has the same |
| 22826 | # SectionStyle. A section break represents |
| 22827 | # the start of a new section, and the section style applies to the section |
| 22828 | # after the section break. |
| 22829 | # |
| 22830 | # The document body always begins with a section break. |
| 22831 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 22832 | # of this content. |
| 22833 | "A String", |
| 22834 | ], |
| 22835 | "sectionStyle": { # The styling that applies to a section. # The style of the section after this section break. |
| 22836 | "contentDirection": "A String", # The content direction of this section. If unset, the value defaults to |
| 22837 | # LEFT_TO_RIGHT. |
| 22838 | "columnProperties": [ # The section's columns properties. |
| 22839 | # |
| 22840 | # If empty, the section contains one column with the default properties in |
| 22841 | # the Docs editor. |
| 22842 | { # Properties that apply to a section's column. |
| 22843 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. |
| 22844 | "magnitude": 3.14, # The magnitude. |
| 22845 | "unit": "A String", # The units for magnitude. |
| 22846 | }, |
| 22847 | "paddingEnd": { # A magnitude in a single direction in the specified units. # The padding at the end of the column. |
| 22848 | "magnitude": 3.14, # The magnitude. |
| 22849 | "unit": "A String", # The units for magnitude. |
| 22850 | }, |
| 22851 | }, |
| 22852 | ], |
| 22853 | "columnSeparatorStyle": "A String", # The style of column separators. |
| 22854 | # |
| 22855 | # This style can be set even when there is one column in the section. |
| 22856 | }, |
| 22857 | "suggestedInsertionIds": [ # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is |
| 22858 | # a nested suggested change. If empty, then this is not a suggested |
| 22859 | # insertion. |
| 22860 | "A String", |
| 22861 | ], |
| 22862 | }, |
| 22863 | "tableOfContents": { # A StructuralElement representing # A table of contents type of structural element. |
| 22864 | # a table of contents. |
| 22865 | "content": [ # The content of the table of contents. |
| 22866 | # Object with schema name: StructuralElement |
| 22867 | ], |
| 22868 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 22869 | # of this content. |
| 22870 | "A String", |
| 22871 | ], |
| 22872 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it |
| 22873 | # is a nested suggested change. If empty, then this is not a suggested |
| 22874 | # insertion. |
| 22875 | "A String", |
| 22876 | ], |
| 22877 | }, |
| 22878 | "startIndex": 42, # The zero-based start index of this structural element, in UTF-16 code |
| 22879 | # units. |
| 22880 | "paragraph": { # A StructuralElement representing a # A paragraph type of structural element. |
| 22881 | # paragraph. A paragraph is a range of content that is terminated with a |
| 22882 | # newline character. |
| 22883 | "elements": [ # The content of the paragraph broken down into its component parts. |
| 22884 | { # A ParagraphElement describes content within a |
| 22885 | # Paragraph. |
| 22886 | "endIndex": 42, # The zero-base end index of this paragraph element, exclusive, in UTF-16 |
| 22887 | # code units. |
| 22888 | "equation": { # A ParagraphElement representing an # An equation paragraph element. |
| 22889 | # equation. |
| 22890 | "suggestedInsertionIds": [ # The suggested insertion IDs. A Equation |
| 22891 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 22892 | # empty, then this is not a suggested insertion. |
| 22893 | "A String", |
| 22894 | ], |
| 22895 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 22896 | # of this content. |
| 22897 | "A String", |
| 22898 | ], |
| 22899 | }, |
| 22900 | "columnBreak": { # A ParagraphElement representing a # A column break paragraph element. |
| 22901 | # column break. A column break makes the subsequent text start at the top of |
| 22902 | # the next column. |
| 22903 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this ColumnBreak. |
| 22904 | # |
| 22905 | # Similar to text content, like text runs and footnote references, the text |
| 22906 | # style of a column break can affect content layout as well as the styling of |
| 22907 | # text inserted adjacent to it. |
| 22908 | # |
| 22909 | # Inherited text styles are represented as unset fields in this message. A |
| 22910 | # text style's parent depends on where the text style is defined: |
| 22911 | # |
| 22912 | # * The TextStyle of text in a Paragraph |
| 22913 | # inherits from the paragraph's corresponding named style type. |
| 22914 | # * The TextStyle on a named style |
| 22915 | # inherits from the normal text named style. |
| 22916 | # * The TextStyle of the normal text named style inherits |
| 22917 | # from the default text style in the Docs editor. |
| 22918 | # * The TextStyle on a Paragraph element |
| 22919 | # that is contained in a table may inherit its text style from the table |
| 22920 | # style. |
| 22921 | # |
| 22922 | # If the text style does not inherit from a parent, unsetting fields will |
| 22923 | # revert the style to a value matching the defaults in the Docs editor. |
| 22924 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 22925 | # or transparent, depending on the `color` field. |
| 22926 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 22927 | # a transparent color. |
| 22928 | "rgbColor": { # An RGB color. # The RGB color value. |
| 22929 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22930 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22931 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22932 | }, |
| 22933 | }, |
| 22934 | }, |
| 22935 | "italic": True or False, # Whether or not the text is italicized. |
| 22936 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 22937 | # |
| 22938 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 22939 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 22940 | # The `font_size` itself is not affected by changes in this field. |
| 22941 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 22942 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 22943 | # |
| 22944 | # If an update request specifies values for both `weighted_font_family` and |
| 22945 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 22946 | # |
| 22947 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 22948 | # |
| 22949 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 22950 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 22951 | # is returned. |
| 22952 | "fontFamily": "A String", # The font family of the text. |
| 22953 | # |
| 22954 | # The font family can be any font from the Font menu in Docs or from |
| 22955 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 22956 | # unrecognized, the text is rendered in `Arial`. |
| 22957 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 22958 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 22959 | # numerical values described in the CSS 2.1 Specification, |
| 22960 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 22961 | # non-numerical values disallowed. |
| 22962 | # |
| 22963 | # The default value is `400` ("normal"). |
| 22964 | # |
| 22965 | # The font weight makes up just one component of the rendered font weight. |
| 22966 | # The rendered weight is determined by a combination of the `weight` and the |
| 22967 | # text style's resolved `bold` value, after accounting for inheritance: |
| 22968 | # |
| 22969 | # * If the text is bold and the weight is less than `400`, the rendered |
| 22970 | # weight is 400. |
| 22971 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 22972 | # is less than `700`, the rendered weight is `700`. |
| 22973 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 22974 | # equal to the weight. |
| 22975 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 22976 | }, |
| 22977 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 22978 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 22979 | "magnitude": 3.14, # The magnitude. |
| 22980 | "unit": "A String", # The units for magnitude. |
| 22981 | }, |
| 22982 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 22983 | # or transparent, depending on the `color` field. |
| 22984 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 22985 | # a transparent color. |
| 22986 | "rgbColor": { # An RGB color. # The RGB color value. |
| 22987 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 22988 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 22989 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 22990 | }, |
| 22991 | }, |
| 22992 | }, |
| 22993 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 22994 | # are not inherited from parent text. |
| 22995 | # |
| 22996 | # Changing the link in an update request causes some other changes to the |
| 22997 | # text style of the range: |
| 22998 | # |
| 22999 | # * When setting a link, the text foreground color will be updated to the |
| 23000 | # default link color and the text will be underlined. If these fields are |
| 23001 | # modified in the same request, those values will be used instead of the |
| 23002 | # link defaults. |
| 23003 | # * Setting a link on a text range that overlaps with an existing link will |
| 23004 | # also update the existing link to point to the new URL. |
| 23005 | # * Links are not settable on newline characters. As a result, setting a link |
| 23006 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 23007 | # will separate the newline character(s) into their own text runs. The |
| 23008 | # link will be applied separately to the runs before and after the newline. |
| 23009 | # * Removing a link will update the text style of the range to match the |
| 23010 | # style of the preceding text (or the default text styles if the preceding |
| 23011 | # text is another link) unless different styles are being set in the same |
| 23012 | # request. |
| 23013 | "headingId": "A String", # The ID of a heading in this document. |
| 23014 | "url": "A String", # An external URL. |
| 23015 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 23016 | }, |
| 23017 | "underline": True or False, # Whether or not the text is underlined. |
| 23018 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 23019 | }, |
| 23020 | "suggestedInsertionIds": [ # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is |
| 23021 | # a nested suggested change. If empty, then this is not a suggested |
| 23022 | # insertion. |
| 23023 | "A String", |
| 23024 | ], |
| 23025 | "suggestedTextStyleChanges": { # The suggested text style changes to this ColumnBreak, keyed by suggestion |
| 23026 | # ID. |
| 23027 | "a_key": { # A suggested change to a TextStyle. |
| 23028 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 23029 | # the changes made in this suggestion. This can be used along with the |
| 23030 | # text_style_suggestion_state |
| 23031 | # to see which fields have changed and their new values. |
| 23032 | # |
| 23033 | # Inherited text styles are represented as unset fields in this message. A |
| 23034 | # text style's parent depends on where the text style is defined: |
| 23035 | # |
| 23036 | # * The TextStyle of text in a Paragraph |
| 23037 | # inherits from the paragraph's corresponding named style type. |
| 23038 | # * The TextStyle on a named style |
| 23039 | # inherits from the normal text named style. |
| 23040 | # * The TextStyle of the normal text named style inherits |
| 23041 | # from the default text style in the Docs editor. |
| 23042 | # * The TextStyle on a Paragraph element |
| 23043 | # that is contained in a table may inherit its text style from the table |
| 23044 | # style. |
| 23045 | # |
| 23046 | # If the text style does not inherit from a parent, unsetting fields will |
| 23047 | # revert the style to a value matching the defaults in the Docs editor. |
| 23048 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 23049 | # or transparent, depending on the `color` field. |
| 23050 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 23051 | # a transparent color. |
| 23052 | "rgbColor": { # An RGB color. # The RGB color value. |
| 23053 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23054 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23055 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23056 | }, |
| 23057 | }, |
| 23058 | }, |
| 23059 | "italic": True or False, # Whether or not the text is italicized. |
| 23060 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 23061 | # |
| 23062 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 23063 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 23064 | # The `font_size` itself is not affected by changes in this field. |
| 23065 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 23066 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 23067 | # |
| 23068 | # If an update request specifies values for both `weighted_font_family` and |
| 23069 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 23070 | # |
| 23071 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 23072 | # |
| 23073 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 23074 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 23075 | # is returned. |
| 23076 | "fontFamily": "A String", # The font family of the text. |
| 23077 | # |
| 23078 | # The font family can be any font from the Font menu in Docs or from |
| 23079 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 23080 | # unrecognized, the text is rendered in `Arial`. |
| 23081 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 23082 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 23083 | # numerical values described in the CSS 2.1 Specification, |
| 23084 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 23085 | # non-numerical values disallowed. |
| 23086 | # |
| 23087 | # The default value is `400` ("normal"). |
| 23088 | # |
| 23089 | # The font weight makes up just one component of the rendered font weight. |
| 23090 | # The rendered weight is determined by a combination of the `weight` and the |
| 23091 | # text style's resolved `bold` value, after accounting for inheritance: |
| 23092 | # |
| 23093 | # * If the text is bold and the weight is less than `400`, the rendered |
| 23094 | # weight is 400. |
| 23095 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 23096 | # is less than `700`, the rendered weight is `700`. |
| 23097 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 23098 | # equal to the weight. |
| 23099 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 23100 | }, |
| 23101 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 23102 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 23103 | "magnitude": 3.14, # The magnitude. |
| 23104 | "unit": "A String", # The units for magnitude. |
| 23105 | }, |
| 23106 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 23107 | # or transparent, depending on the `color` field. |
| 23108 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 23109 | # a transparent color. |
| 23110 | "rgbColor": { # An RGB color. # The RGB color value. |
| 23111 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23112 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23113 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23114 | }, |
| 23115 | }, |
| 23116 | }, |
| 23117 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 23118 | # are not inherited from parent text. |
| 23119 | # |
| 23120 | # Changing the link in an update request causes some other changes to the |
| 23121 | # text style of the range: |
| 23122 | # |
| 23123 | # * When setting a link, the text foreground color will be updated to the |
| 23124 | # default link color and the text will be underlined. If these fields are |
| 23125 | # modified in the same request, those values will be used instead of the |
| 23126 | # link defaults. |
| 23127 | # * Setting a link on a text range that overlaps with an existing link will |
| 23128 | # also update the existing link to point to the new URL. |
| 23129 | # * Links are not settable on newline characters. As a result, setting a link |
| 23130 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 23131 | # will separate the newline character(s) into their own text runs. The |
| 23132 | # link will be applied separately to the runs before and after the newline. |
| 23133 | # * Removing a link will update the text style of the range to match the |
| 23134 | # style of the preceding text (or the default text styles if the preceding |
| 23135 | # text is another link) unless different styles are being set in the same |
| 23136 | # request. |
| 23137 | "headingId": "A String", # The ID of a heading in this document. |
| 23138 | "url": "A String", # An external URL. |
| 23139 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 23140 | }, |
| 23141 | "underline": True or False, # Whether or not the text is underlined. |
| 23142 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 23143 | }, |
| 23144 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 23145 | # For any field set to true, there is a new suggested value. |
| 23146 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 23147 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 23148 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 23149 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 23150 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 23151 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 23152 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 23153 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 23154 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 23155 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 23156 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 23157 | }, |
| 23158 | }, |
| 23159 | }, |
| 23160 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 23161 | # of this content. |
| 23162 | "A String", |
| 23163 | ], |
| 23164 | }, |
| 23165 | "startIndex": 42, # The zero-based start index of this paragraph element, in UTF-16 code units. |
| 23166 | "pageBreak": { # A ParagraphElement representing a # A page break paragraph element. |
| 23167 | # page break. A page break makes the subsequent text start at the top of the |
| 23168 | # next page. |
| 23169 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this PageBreak. |
| 23170 | # |
| 23171 | # Similar to text content, like text runs and footnote references, the text |
| 23172 | # style of a page break can affect content layout as well as the styling of |
| 23173 | # text inserted adjacent to it. |
| 23174 | # |
| 23175 | # Inherited text styles are represented as unset fields in this message. A |
| 23176 | # text style's parent depends on where the text style is defined: |
| 23177 | # |
| 23178 | # * The TextStyle of text in a Paragraph |
| 23179 | # inherits from the paragraph's corresponding named style type. |
| 23180 | # * The TextStyle on a named style |
| 23181 | # inherits from the normal text named style. |
| 23182 | # * The TextStyle of the normal text named style inherits |
| 23183 | # from the default text style in the Docs editor. |
| 23184 | # * The TextStyle on a Paragraph element |
| 23185 | # that is contained in a table may inherit its text style from the table |
| 23186 | # style. |
| 23187 | # |
| 23188 | # If the text style does not inherit from a parent, unsetting fields will |
| 23189 | # revert the style to a value matching the defaults in the Docs editor. |
| 23190 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 23191 | # or transparent, depending on the `color` field. |
| 23192 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 23193 | # a transparent color. |
| 23194 | "rgbColor": { # An RGB color. # The RGB color value. |
| 23195 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23196 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23197 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23198 | }, |
| 23199 | }, |
| 23200 | }, |
| 23201 | "italic": True or False, # Whether or not the text is italicized. |
| 23202 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 23203 | # |
| 23204 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 23205 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 23206 | # The `font_size` itself is not affected by changes in this field. |
| 23207 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 23208 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 23209 | # |
| 23210 | # If an update request specifies values for both `weighted_font_family` and |
| 23211 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 23212 | # |
| 23213 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 23214 | # |
| 23215 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 23216 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 23217 | # is returned. |
| 23218 | "fontFamily": "A String", # The font family of the text. |
| 23219 | # |
| 23220 | # The font family can be any font from the Font menu in Docs or from |
| 23221 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 23222 | # unrecognized, the text is rendered in `Arial`. |
| 23223 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 23224 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 23225 | # numerical values described in the CSS 2.1 Specification, |
| 23226 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 23227 | # non-numerical values disallowed. |
| 23228 | # |
| 23229 | # The default value is `400` ("normal"). |
| 23230 | # |
| 23231 | # The font weight makes up just one component of the rendered font weight. |
| 23232 | # The rendered weight is determined by a combination of the `weight` and the |
| 23233 | # text style's resolved `bold` value, after accounting for inheritance: |
| 23234 | # |
| 23235 | # * If the text is bold and the weight is less than `400`, the rendered |
| 23236 | # weight is 400. |
| 23237 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 23238 | # is less than `700`, the rendered weight is `700`. |
| 23239 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 23240 | # equal to the weight. |
| 23241 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 23242 | }, |
| 23243 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 23244 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 23245 | "magnitude": 3.14, # The magnitude. |
| 23246 | "unit": "A String", # The units for magnitude. |
| 23247 | }, |
| 23248 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 23249 | # or transparent, depending on the `color` field. |
| 23250 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 23251 | # a transparent color. |
| 23252 | "rgbColor": { # An RGB color. # The RGB color value. |
| 23253 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23254 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23255 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23256 | }, |
| 23257 | }, |
| 23258 | }, |
| 23259 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 23260 | # are not inherited from parent text. |
| 23261 | # |
| 23262 | # Changing the link in an update request causes some other changes to the |
| 23263 | # text style of the range: |
| 23264 | # |
| 23265 | # * When setting a link, the text foreground color will be updated to the |
| 23266 | # default link color and the text will be underlined. If these fields are |
| 23267 | # modified in the same request, those values will be used instead of the |
| 23268 | # link defaults. |
| 23269 | # * Setting a link on a text range that overlaps with an existing link will |
| 23270 | # also update the existing link to point to the new URL. |
| 23271 | # * Links are not settable on newline characters. As a result, setting a link |
| 23272 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 23273 | # will separate the newline character(s) into their own text runs. The |
| 23274 | # link will be applied separately to the runs before and after the newline. |
| 23275 | # * Removing a link will update the text style of the range to match the |
| 23276 | # style of the preceding text (or the default text styles if the preceding |
| 23277 | # text is another link) unless different styles are being set in the same |
| 23278 | # request. |
| 23279 | "headingId": "A String", # The ID of a heading in this document. |
| 23280 | "url": "A String", # An external URL. |
| 23281 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 23282 | }, |
| 23283 | "underline": True or False, # Whether or not the text is underlined. |
| 23284 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 23285 | }, |
| 23286 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 23287 | # of this content. |
| 23288 | "A String", |
| 23289 | ], |
| 23290 | "suggestedTextStyleChanges": { # The suggested text style changes to this PageBreak, keyed by suggestion ID. |
| 23291 | "a_key": { # A suggested change to a TextStyle. |
| 23292 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 23293 | # the changes made in this suggestion. This can be used along with the |
| 23294 | # text_style_suggestion_state |
| 23295 | # to see which fields have changed and their new values. |
| 23296 | # |
| 23297 | # Inherited text styles are represented as unset fields in this message. A |
| 23298 | # text style's parent depends on where the text style is defined: |
| 23299 | # |
| 23300 | # * The TextStyle of text in a Paragraph |
| 23301 | # inherits from the paragraph's corresponding named style type. |
| 23302 | # * The TextStyle on a named style |
| 23303 | # inherits from the normal text named style. |
| 23304 | # * The TextStyle of the normal text named style inherits |
| 23305 | # from the default text style in the Docs editor. |
| 23306 | # * The TextStyle on a Paragraph element |
| 23307 | # that is contained in a table may inherit its text style from the table |
| 23308 | # style. |
| 23309 | # |
| 23310 | # If the text style does not inherit from a parent, unsetting fields will |
| 23311 | # revert the style to a value matching the defaults in the Docs editor. |
| 23312 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 23313 | # or transparent, depending on the `color` field. |
| 23314 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 23315 | # a transparent color. |
| 23316 | "rgbColor": { # An RGB color. # The RGB color value. |
| 23317 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23318 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23319 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23320 | }, |
| 23321 | }, |
| 23322 | }, |
| 23323 | "italic": True or False, # Whether or not the text is italicized. |
| 23324 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 23325 | # |
| 23326 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 23327 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 23328 | # The `font_size` itself is not affected by changes in this field. |
| 23329 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 23330 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 23331 | # |
| 23332 | # If an update request specifies values for both `weighted_font_family` and |
| 23333 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 23334 | # |
| 23335 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 23336 | # |
| 23337 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 23338 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 23339 | # is returned. |
| 23340 | "fontFamily": "A String", # The font family of the text. |
| 23341 | # |
| 23342 | # The font family can be any font from the Font menu in Docs or from |
| 23343 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 23344 | # unrecognized, the text is rendered in `Arial`. |
| 23345 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 23346 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 23347 | # numerical values described in the CSS 2.1 Specification, |
| 23348 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 23349 | # non-numerical values disallowed. |
| 23350 | # |
| 23351 | # The default value is `400` ("normal"). |
| 23352 | # |
| 23353 | # The font weight makes up just one component of the rendered font weight. |
| 23354 | # The rendered weight is determined by a combination of the `weight` and the |
| 23355 | # text style's resolved `bold` value, after accounting for inheritance: |
| 23356 | # |
| 23357 | # * If the text is bold and the weight is less than `400`, the rendered |
| 23358 | # weight is 400. |
| 23359 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 23360 | # is less than `700`, the rendered weight is `700`. |
| 23361 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 23362 | # equal to the weight. |
| 23363 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 23364 | }, |
| 23365 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 23366 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 23367 | "magnitude": 3.14, # The magnitude. |
| 23368 | "unit": "A String", # The units for magnitude. |
| 23369 | }, |
| 23370 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 23371 | # or transparent, depending on the `color` field. |
| 23372 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 23373 | # a transparent color. |
| 23374 | "rgbColor": { # An RGB color. # The RGB color value. |
| 23375 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23376 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23377 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23378 | }, |
| 23379 | }, |
| 23380 | }, |
| 23381 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 23382 | # are not inherited from parent text. |
| 23383 | # |
| 23384 | # Changing the link in an update request causes some other changes to the |
| 23385 | # text style of the range: |
| 23386 | # |
| 23387 | # * When setting a link, the text foreground color will be updated to the |
| 23388 | # default link color and the text will be underlined. If these fields are |
| 23389 | # modified in the same request, those values will be used instead of the |
| 23390 | # link defaults. |
| 23391 | # * Setting a link on a text range that overlaps with an existing link will |
| 23392 | # also update the existing link to point to the new URL. |
| 23393 | # * Links are not settable on newline characters. As a result, setting a link |
| 23394 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 23395 | # will separate the newline character(s) into their own text runs. The |
| 23396 | # link will be applied separately to the runs before and after the newline. |
| 23397 | # * Removing a link will update the text style of the range to match the |
| 23398 | # style of the preceding text (or the default text styles if the preceding |
| 23399 | # text is another link) unless different styles are being set in the same |
| 23400 | # request. |
| 23401 | "headingId": "A String", # The ID of a heading in this document. |
| 23402 | "url": "A String", # An external URL. |
| 23403 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 23404 | }, |
| 23405 | "underline": True or False, # Whether or not the text is underlined. |
| 23406 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 23407 | }, |
| 23408 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 23409 | # For any field set to true, there is a new suggested value. |
| 23410 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 23411 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 23412 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 23413 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 23414 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 23415 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 23416 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 23417 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 23418 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 23419 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 23420 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 23421 | }, |
| 23422 | }, |
| 23423 | }, |
| 23424 | "suggestedInsertionIds": [ # The suggested insertion IDs. A PageBreak |
| 23425 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 23426 | # empty, then this is not a suggested insertion. |
| 23427 | "A String", |
| 23428 | ], |
| 23429 | }, |
| 23430 | "horizontalRule": { # A ParagraphElement representing a # A horizontal rule paragraph element. |
| 23431 | # horizontal line. |
| 23432 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this HorizontalRule. |
| 23433 | # |
| 23434 | # Similar to text content, like text runs and footnote references, the text |
| 23435 | # style of a horizontal rule can affect content layout as well as the styling |
| 23436 | # of text inserted adjacent to it. |
| 23437 | # |
| 23438 | # Inherited text styles are represented as unset fields in this message. A |
| 23439 | # text style's parent depends on where the text style is defined: |
| 23440 | # |
| 23441 | # * The TextStyle of text in a Paragraph |
| 23442 | # inherits from the paragraph's corresponding named style type. |
| 23443 | # * The TextStyle on a named style |
| 23444 | # inherits from the normal text named style. |
| 23445 | # * The TextStyle of the normal text named style inherits |
| 23446 | # from the default text style in the Docs editor. |
| 23447 | # * The TextStyle on a Paragraph element |
| 23448 | # that is contained in a table may inherit its text style from the table |
| 23449 | # style. |
| 23450 | # |
| 23451 | # If the text style does not inherit from a parent, unsetting fields will |
| 23452 | # revert the style to a value matching the defaults in the Docs editor. |
| 23453 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 23454 | # or transparent, depending on the `color` field. |
| 23455 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 23456 | # a transparent color. |
| 23457 | "rgbColor": { # An RGB color. # The RGB color value. |
| 23458 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23459 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23460 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23461 | }, |
| 23462 | }, |
| 23463 | }, |
| 23464 | "italic": True or False, # Whether or not the text is italicized. |
| 23465 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 23466 | # |
| 23467 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 23468 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 23469 | # The `font_size` itself is not affected by changes in this field. |
| 23470 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 23471 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 23472 | # |
| 23473 | # If an update request specifies values for both `weighted_font_family` and |
| 23474 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 23475 | # |
| 23476 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 23477 | # |
| 23478 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 23479 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 23480 | # is returned. |
| 23481 | "fontFamily": "A String", # The font family of the text. |
| 23482 | # |
| 23483 | # The font family can be any font from the Font menu in Docs or from |
| 23484 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 23485 | # unrecognized, the text is rendered in `Arial`. |
| 23486 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 23487 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 23488 | # numerical values described in the CSS 2.1 Specification, |
| 23489 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 23490 | # non-numerical values disallowed. |
| 23491 | # |
| 23492 | # The default value is `400` ("normal"). |
| 23493 | # |
| 23494 | # The font weight makes up just one component of the rendered font weight. |
| 23495 | # The rendered weight is determined by a combination of the `weight` and the |
| 23496 | # text style's resolved `bold` value, after accounting for inheritance: |
| 23497 | # |
| 23498 | # * If the text is bold and the weight is less than `400`, the rendered |
| 23499 | # weight is 400. |
| 23500 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 23501 | # is less than `700`, the rendered weight is `700`. |
| 23502 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 23503 | # equal to the weight. |
| 23504 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 23505 | }, |
| 23506 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 23507 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 23508 | "magnitude": 3.14, # The magnitude. |
| 23509 | "unit": "A String", # The units for magnitude. |
| 23510 | }, |
| 23511 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 23512 | # or transparent, depending on the `color` field. |
| 23513 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 23514 | # a transparent color. |
| 23515 | "rgbColor": { # An RGB color. # The RGB color value. |
| 23516 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23517 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23518 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23519 | }, |
| 23520 | }, |
| 23521 | }, |
| 23522 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 23523 | # are not inherited from parent text. |
| 23524 | # |
| 23525 | # Changing the link in an update request causes some other changes to the |
| 23526 | # text style of the range: |
| 23527 | # |
| 23528 | # * When setting a link, the text foreground color will be updated to the |
| 23529 | # default link color and the text will be underlined. If these fields are |
| 23530 | # modified in the same request, those values will be used instead of the |
| 23531 | # link defaults. |
| 23532 | # * Setting a link on a text range that overlaps with an existing link will |
| 23533 | # also update the existing link to point to the new URL. |
| 23534 | # * Links are not settable on newline characters. As a result, setting a link |
| 23535 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 23536 | # will separate the newline character(s) into their own text runs. The |
| 23537 | # link will be applied separately to the runs before and after the newline. |
| 23538 | # * Removing a link will update the text style of the range to match the |
| 23539 | # style of the preceding text (or the default text styles if the preceding |
| 23540 | # text is another link) unless different styles are being set in the same |
| 23541 | # request. |
| 23542 | "headingId": "A String", # The ID of a heading in this document. |
| 23543 | "url": "A String", # An external URL. |
| 23544 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 23545 | }, |
| 23546 | "underline": True or False, # Whether or not the text is underlined. |
| 23547 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 23548 | }, |
| 23549 | "suggestedInsertionIds": [ # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it |
| 23550 | # is a nested suggested change. If empty, then this is not a suggested |
| 23551 | # insertion. |
| 23552 | "A String", |
| 23553 | ], |
| 23554 | "suggestedTextStyleChanges": { # The suggested text style changes to this HorizontalRule, keyed by |
| 23555 | # suggestion ID. |
| 23556 | "a_key": { # A suggested change to a TextStyle. |
| 23557 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 23558 | # the changes made in this suggestion. This can be used along with the |
| 23559 | # text_style_suggestion_state |
| 23560 | # to see which fields have changed and their new values. |
| 23561 | # |
| 23562 | # Inherited text styles are represented as unset fields in this message. A |
| 23563 | # text style's parent depends on where the text style is defined: |
| 23564 | # |
| 23565 | # * The TextStyle of text in a Paragraph |
| 23566 | # inherits from the paragraph's corresponding named style type. |
| 23567 | # * The TextStyle on a named style |
| 23568 | # inherits from the normal text named style. |
| 23569 | # * The TextStyle of the normal text named style inherits |
| 23570 | # from the default text style in the Docs editor. |
| 23571 | # * The TextStyle on a Paragraph element |
| 23572 | # that is contained in a table may inherit its text style from the table |
| 23573 | # style. |
| 23574 | # |
| 23575 | # If the text style does not inherit from a parent, unsetting fields will |
| 23576 | # revert the style to a value matching the defaults in the Docs editor. |
| 23577 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 23578 | # or transparent, depending on the `color` field. |
| 23579 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 23580 | # a transparent color. |
| 23581 | "rgbColor": { # An RGB color. # The RGB color value. |
| 23582 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23583 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23584 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23585 | }, |
| 23586 | }, |
| 23587 | }, |
| 23588 | "italic": True or False, # Whether or not the text is italicized. |
| 23589 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 23590 | # |
| 23591 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 23592 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 23593 | # The `font_size` itself is not affected by changes in this field. |
| 23594 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 23595 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 23596 | # |
| 23597 | # If an update request specifies values for both `weighted_font_family` and |
| 23598 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 23599 | # |
| 23600 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 23601 | # |
| 23602 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 23603 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 23604 | # is returned. |
| 23605 | "fontFamily": "A String", # The font family of the text. |
| 23606 | # |
| 23607 | # The font family can be any font from the Font menu in Docs or from |
| 23608 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 23609 | # unrecognized, the text is rendered in `Arial`. |
| 23610 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 23611 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 23612 | # numerical values described in the CSS 2.1 Specification, |
| 23613 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 23614 | # non-numerical values disallowed. |
| 23615 | # |
| 23616 | # The default value is `400` ("normal"). |
| 23617 | # |
| 23618 | # The font weight makes up just one component of the rendered font weight. |
| 23619 | # The rendered weight is determined by a combination of the `weight` and the |
| 23620 | # text style's resolved `bold` value, after accounting for inheritance: |
| 23621 | # |
| 23622 | # * If the text is bold and the weight is less than `400`, the rendered |
| 23623 | # weight is 400. |
| 23624 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 23625 | # is less than `700`, the rendered weight is `700`. |
| 23626 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 23627 | # equal to the weight. |
| 23628 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 23629 | }, |
| 23630 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 23631 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 23632 | "magnitude": 3.14, # The magnitude. |
| 23633 | "unit": "A String", # The units for magnitude. |
| 23634 | }, |
| 23635 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 23636 | # or transparent, depending on the `color` field. |
| 23637 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 23638 | # a transparent color. |
| 23639 | "rgbColor": { # An RGB color. # The RGB color value. |
| 23640 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23641 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23642 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23643 | }, |
| 23644 | }, |
| 23645 | }, |
| 23646 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 23647 | # are not inherited from parent text. |
| 23648 | # |
| 23649 | # Changing the link in an update request causes some other changes to the |
| 23650 | # text style of the range: |
| 23651 | # |
| 23652 | # * When setting a link, the text foreground color will be updated to the |
| 23653 | # default link color and the text will be underlined. If these fields are |
| 23654 | # modified in the same request, those values will be used instead of the |
| 23655 | # link defaults. |
| 23656 | # * Setting a link on a text range that overlaps with an existing link will |
| 23657 | # also update the existing link to point to the new URL. |
| 23658 | # * Links are not settable on newline characters. As a result, setting a link |
| 23659 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 23660 | # will separate the newline character(s) into their own text runs. The |
| 23661 | # link will be applied separately to the runs before and after the newline. |
| 23662 | # * Removing a link will update the text style of the range to match the |
| 23663 | # style of the preceding text (or the default text styles if the preceding |
| 23664 | # text is another link) unless different styles are being set in the same |
| 23665 | # request. |
| 23666 | "headingId": "A String", # The ID of a heading in this document. |
| 23667 | "url": "A String", # An external URL. |
| 23668 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 23669 | }, |
| 23670 | "underline": True or False, # Whether or not the text is underlined. |
| 23671 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 23672 | }, |
| 23673 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 23674 | # For any field set to true, there is a new suggested value. |
| 23675 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 23676 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 23677 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 23678 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 23679 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 23680 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 23681 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 23682 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 23683 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 23684 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 23685 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 23686 | }, |
| 23687 | }, |
| 23688 | }, |
| 23689 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 23690 | # of this content. |
| 23691 | "A String", |
| 23692 | ], |
| 23693 | }, |
| 23694 | "textRun": { # A ParagraphElement that represents a # A text run paragraph element. |
| 23695 | # run of text that all has the same styling. |
| 23696 | "content": "A String", # The text of this run. |
| 23697 | # |
| 23698 | # Any non-text elements in the run are replaced with the Unicode character |
| 23699 | # U+E907. |
| 23700 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this run. |
| 23701 | # |
| 23702 | # Inherited text styles are represented as unset fields in this message. A |
| 23703 | # text style's parent depends on where the text style is defined: |
| 23704 | # |
| 23705 | # * The TextStyle of text in a Paragraph |
| 23706 | # inherits from the paragraph's corresponding named style type. |
| 23707 | # * The TextStyle on a named style |
| 23708 | # inherits from the normal text named style. |
| 23709 | # * The TextStyle of the normal text named style inherits |
| 23710 | # from the default text style in the Docs editor. |
| 23711 | # * The TextStyle on a Paragraph element |
| 23712 | # that is contained in a table may inherit its text style from the table |
| 23713 | # style. |
| 23714 | # |
| 23715 | # If the text style does not inherit from a parent, unsetting fields will |
| 23716 | # revert the style to a value matching the defaults in the Docs editor. |
| 23717 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 23718 | # or transparent, depending on the `color` field. |
| 23719 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 23720 | # a transparent color. |
| 23721 | "rgbColor": { # An RGB color. # The RGB color value. |
| 23722 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23723 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23724 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23725 | }, |
| 23726 | }, |
| 23727 | }, |
| 23728 | "italic": True or False, # Whether or not the text is italicized. |
| 23729 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 23730 | # |
| 23731 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 23732 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 23733 | # The `font_size` itself is not affected by changes in this field. |
| 23734 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 23735 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 23736 | # |
| 23737 | # If an update request specifies values for both `weighted_font_family` and |
| 23738 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 23739 | # |
| 23740 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 23741 | # |
| 23742 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 23743 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 23744 | # is returned. |
| 23745 | "fontFamily": "A String", # The font family of the text. |
| 23746 | # |
| 23747 | # The font family can be any font from the Font menu in Docs or from |
| 23748 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 23749 | # unrecognized, the text is rendered in `Arial`. |
| 23750 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 23751 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 23752 | # numerical values described in the CSS 2.1 Specification, |
| 23753 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 23754 | # non-numerical values disallowed. |
| 23755 | # |
| 23756 | # The default value is `400` ("normal"). |
| 23757 | # |
| 23758 | # The font weight makes up just one component of the rendered font weight. |
| 23759 | # The rendered weight is determined by a combination of the `weight` and the |
| 23760 | # text style's resolved `bold` value, after accounting for inheritance: |
| 23761 | # |
| 23762 | # * If the text is bold and the weight is less than `400`, the rendered |
| 23763 | # weight is 400. |
| 23764 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 23765 | # is less than `700`, the rendered weight is `700`. |
| 23766 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 23767 | # equal to the weight. |
| 23768 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 23769 | }, |
| 23770 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 23771 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 23772 | "magnitude": 3.14, # The magnitude. |
| 23773 | "unit": "A String", # The units for magnitude. |
| 23774 | }, |
| 23775 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 23776 | # or transparent, depending on the `color` field. |
| 23777 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 23778 | # a transparent color. |
| 23779 | "rgbColor": { # An RGB color. # The RGB color value. |
| 23780 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23781 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23782 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23783 | }, |
| 23784 | }, |
| 23785 | }, |
| 23786 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 23787 | # are not inherited from parent text. |
| 23788 | # |
| 23789 | # Changing the link in an update request causes some other changes to the |
| 23790 | # text style of the range: |
| 23791 | # |
| 23792 | # * When setting a link, the text foreground color will be updated to the |
| 23793 | # default link color and the text will be underlined. If these fields are |
| 23794 | # modified in the same request, those values will be used instead of the |
| 23795 | # link defaults. |
| 23796 | # * Setting a link on a text range that overlaps with an existing link will |
| 23797 | # also update the existing link to point to the new URL. |
| 23798 | # * Links are not settable on newline characters. As a result, setting a link |
| 23799 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 23800 | # will separate the newline character(s) into their own text runs. The |
| 23801 | # link will be applied separately to the runs before and after the newline. |
| 23802 | # * Removing a link will update the text style of the range to match the |
| 23803 | # style of the preceding text (or the default text styles if the preceding |
| 23804 | # text is another link) unless different styles are being set in the same |
| 23805 | # request. |
| 23806 | "headingId": "A String", # The ID of a heading in this document. |
| 23807 | "url": "A String", # An external URL. |
| 23808 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 23809 | }, |
| 23810 | "underline": True or False, # Whether or not the text is underlined. |
| 23811 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 23812 | }, |
| 23813 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TextRun may |
| 23814 | # have multiple insertion IDs if it is a nested suggested change. If empty, |
| 23815 | # then this is not a suggested insertion. |
| 23816 | "A String", |
| 23817 | ], |
| 23818 | "suggestedTextStyleChanges": { # The suggested text style changes to this run, keyed by suggestion ID. |
| 23819 | "a_key": { # A suggested change to a TextStyle. |
| 23820 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 23821 | # the changes made in this suggestion. This can be used along with the |
| 23822 | # text_style_suggestion_state |
| 23823 | # to see which fields have changed and their new values. |
| 23824 | # |
| 23825 | # Inherited text styles are represented as unset fields in this message. A |
| 23826 | # text style's parent depends on where the text style is defined: |
| 23827 | # |
| 23828 | # * The TextStyle of text in a Paragraph |
| 23829 | # inherits from the paragraph's corresponding named style type. |
| 23830 | # * The TextStyle on a named style |
| 23831 | # inherits from the normal text named style. |
| 23832 | # * The TextStyle of the normal text named style inherits |
| 23833 | # from the default text style in the Docs editor. |
| 23834 | # * The TextStyle on a Paragraph element |
| 23835 | # that is contained in a table may inherit its text style from the table |
| 23836 | # style. |
| 23837 | # |
| 23838 | # If the text style does not inherit from a parent, unsetting fields will |
| 23839 | # revert the style to a value matching the defaults in the Docs editor. |
| 23840 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 23841 | # or transparent, depending on the `color` field. |
| 23842 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 23843 | # a transparent color. |
| 23844 | "rgbColor": { # An RGB color. # The RGB color value. |
| 23845 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23846 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23847 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23848 | }, |
| 23849 | }, |
| 23850 | }, |
| 23851 | "italic": True or False, # Whether or not the text is italicized. |
| 23852 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 23853 | # |
| 23854 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 23855 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 23856 | # The `font_size` itself is not affected by changes in this field. |
| 23857 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 23858 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 23859 | # |
| 23860 | # If an update request specifies values for both `weighted_font_family` and |
| 23861 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 23862 | # |
| 23863 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 23864 | # |
| 23865 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 23866 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 23867 | # is returned. |
| 23868 | "fontFamily": "A String", # The font family of the text. |
| 23869 | # |
| 23870 | # The font family can be any font from the Font menu in Docs or from |
| 23871 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 23872 | # unrecognized, the text is rendered in `Arial`. |
| 23873 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 23874 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 23875 | # numerical values described in the CSS 2.1 Specification, |
| 23876 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 23877 | # non-numerical values disallowed. |
| 23878 | # |
| 23879 | # The default value is `400` ("normal"). |
| 23880 | # |
| 23881 | # The font weight makes up just one component of the rendered font weight. |
| 23882 | # The rendered weight is determined by a combination of the `weight` and the |
| 23883 | # text style's resolved `bold` value, after accounting for inheritance: |
| 23884 | # |
| 23885 | # * If the text is bold and the weight is less than `400`, the rendered |
| 23886 | # weight is 400. |
| 23887 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 23888 | # is less than `700`, the rendered weight is `700`. |
| 23889 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 23890 | # equal to the weight. |
| 23891 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 23892 | }, |
| 23893 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 23894 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 23895 | "magnitude": 3.14, # The magnitude. |
| 23896 | "unit": "A String", # The units for magnitude. |
| 23897 | }, |
| 23898 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 23899 | # or transparent, depending on the `color` field. |
| 23900 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 23901 | # a transparent color. |
| 23902 | "rgbColor": { # An RGB color. # The RGB color value. |
| 23903 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23904 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23905 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23906 | }, |
| 23907 | }, |
| 23908 | }, |
| 23909 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 23910 | # are not inherited from parent text. |
| 23911 | # |
| 23912 | # Changing the link in an update request causes some other changes to the |
| 23913 | # text style of the range: |
| 23914 | # |
| 23915 | # * When setting a link, the text foreground color will be updated to the |
| 23916 | # default link color and the text will be underlined. If these fields are |
| 23917 | # modified in the same request, those values will be used instead of the |
| 23918 | # link defaults. |
| 23919 | # * Setting a link on a text range that overlaps with an existing link will |
| 23920 | # also update the existing link to point to the new URL. |
| 23921 | # * Links are not settable on newline characters. As a result, setting a link |
| 23922 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 23923 | # will separate the newline character(s) into their own text runs. The |
| 23924 | # link will be applied separately to the runs before and after the newline. |
| 23925 | # * Removing a link will update the text style of the range to match the |
| 23926 | # style of the preceding text (or the default text styles if the preceding |
| 23927 | # text is another link) unless different styles are being set in the same |
| 23928 | # request. |
| 23929 | "headingId": "A String", # The ID of a heading in this document. |
| 23930 | "url": "A String", # An external URL. |
| 23931 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 23932 | }, |
| 23933 | "underline": True or False, # Whether or not the text is underlined. |
| 23934 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 23935 | }, |
| 23936 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 23937 | # For any field set to true, there is a new suggested value. |
| 23938 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 23939 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 23940 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 23941 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 23942 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 23943 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 23944 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 23945 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 23946 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 23947 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 23948 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 23949 | }, |
| 23950 | }, |
| 23951 | }, |
| 23952 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 23953 | # of this content. |
| 23954 | "A String", |
| 23955 | ], |
| 23956 | }, |
| 23957 | "autoText": { # A ParagraphElement representing a # An auto text paragraph element. |
| 23958 | # spot in the text that is dynamically replaced with content that can change |
| 23959 | # over time, like a page number. |
| 23960 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this AutoText. |
| 23961 | # |
| 23962 | # Inherited text styles are represented as unset fields in this message. A |
| 23963 | # text style's parent depends on where the text style is defined: |
| 23964 | # |
| 23965 | # * The TextStyle of text in a Paragraph |
| 23966 | # inherits from the paragraph's corresponding named style type. |
| 23967 | # * The TextStyle on a named style |
| 23968 | # inherits from the normal text named style. |
| 23969 | # * The TextStyle of the normal text named style inherits |
| 23970 | # from the default text style in the Docs editor. |
| 23971 | # * The TextStyle on a Paragraph element |
| 23972 | # that is contained in a table may inherit its text style from the table |
| 23973 | # style. |
| 23974 | # |
| 23975 | # If the text style does not inherit from a parent, unsetting fields will |
| 23976 | # revert the style to a value matching the defaults in the Docs editor. |
| 23977 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 23978 | # or transparent, depending on the `color` field. |
| 23979 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 23980 | # a transparent color. |
| 23981 | "rgbColor": { # An RGB color. # The RGB color value. |
| 23982 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 23983 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 23984 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 23985 | }, |
| 23986 | }, |
| 23987 | }, |
| 23988 | "italic": True or False, # Whether or not the text is italicized. |
| 23989 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 23990 | # |
| 23991 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 23992 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 23993 | # The `font_size` itself is not affected by changes in this field. |
| 23994 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 23995 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 23996 | # |
| 23997 | # If an update request specifies values for both `weighted_font_family` and |
| 23998 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 23999 | # |
| 24000 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 24001 | # |
| 24002 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 24003 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 24004 | # is returned. |
| 24005 | "fontFamily": "A String", # The font family of the text. |
| 24006 | # |
| 24007 | # The font family can be any font from the Font menu in Docs or from |
| 24008 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 24009 | # unrecognized, the text is rendered in `Arial`. |
| 24010 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 24011 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 24012 | # numerical values described in the CSS 2.1 Specification, |
| 24013 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 24014 | # non-numerical values disallowed. |
| 24015 | # |
| 24016 | # The default value is `400` ("normal"). |
| 24017 | # |
| 24018 | # The font weight makes up just one component of the rendered font weight. |
| 24019 | # The rendered weight is determined by a combination of the `weight` and the |
| 24020 | # text style's resolved `bold` value, after accounting for inheritance: |
| 24021 | # |
| 24022 | # * If the text is bold and the weight is less than `400`, the rendered |
| 24023 | # weight is 400. |
| 24024 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 24025 | # is less than `700`, the rendered weight is `700`. |
| 24026 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 24027 | # equal to the weight. |
| 24028 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 24029 | }, |
| 24030 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 24031 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 24032 | "magnitude": 3.14, # The magnitude. |
| 24033 | "unit": "A String", # The units for magnitude. |
| 24034 | }, |
| 24035 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 24036 | # or transparent, depending on the `color` field. |
| 24037 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 24038 | # a transparent color. |
| 24039 | "rgbColor": { # An RGB color. # The RGB color value. |
| 24040 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24041 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24042 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24043 | }, |
| 24044 | }, |
| 24045 | }, |
| 24046 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 24047 | # are not inherited from parent text. |
| 24048 | # |
| 24049 | # Changing the link in an update request causes some other changes to the |
| 24050 | # text style of the range: |
| 24051 | # |
| 24052 | # * When setting a link, the text foreground color will be updated to the |
| 24053 | # default link color and the text will be underlined. If these fields are |
| 24054 | # modified in the same request, those values will be used instead of the |
| 24055 | # link defaults. |
| 24056 | # * Setting a link on a text range that overlaps with an existing link will |
| 24057 | # also update the existing link to point to the new URL. |
| 24058 | # * Links are not settable on newline characters. As a result, setting a link |
| 24059 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 24060 | # will separate the newline character(s) into their own text runs. The |
| 24061 | # link will be applied separately to the runs before and after the newline. |
| 24062 | # * Removing a link will update the text style of the range to match the |
| 24063 | # style of the preceding text (or the default text styles if the preceding |
| 24064 | # text is another link) unless different styles are being set in the same |
| 24065 | # request. |
| 24066 | "headingId": "A String", # The ID of a heading in this document. |
| 24067 | "url": "A String", # An external URL. |
| 24068 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 24069 | }, |
| 24070 | "underline": True or False, # Whether or not the text is underlined. |
| 24071 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 24072 | }, |
| 24073 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 24074 | # of this content. |
| 24075 | "A String", |
| 24076 | ], |
| 24077 | "suggestedTextStyleChanges": { # The suggested text style changes to this AutoText, keyed by suggestion ID. |
| 24078 | "a_key": { # A suggested change to a TextStyle. |
| 24079 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 24080 | # the changes made in this suggestion. This can be used along with the |
| 24081 | # text_style_suggestion_state |
| 24082 | # to see which fields have changed and their new values. |
| 24083 | # |
| 24084 | # Inherited text styles are represented as unset fields in this message. A |
| 24085 | # text style's parent depends on where the text style is defined: |
| 24086 | # |
| 24087 | # * The TextStyle of text in a Paragraph |
| 24088 | # inherits from the paragraph's corresponding named style type. |
| 24089 | # * The TextStyle on a named style |
| 24090 | # inherits from the normal text named style. |
| 24091 | # * The TextStyle of the normal text named style inherits |
| 24092 | # from the default text style in the Docs editor. |
| 24093 | # * The TextStyle on a Paragraph element |
| 24094 | # that is contained in a table may inherit its text style from the table |
| 24095 | # style. |
| 24096 | # |
| 24097 | # If the text style does not inherit from a parent, unsetting fields will |
| 24098 | # revert the style to a value matching the defaults in the Docs editor. |
| 24099 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 24100 | # or transparent, depending on the `color` field. |
| 24101 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 24102 | # a transparent color. |
| 24103 | "rgbColor": { # An RGB color. # The RGB color value. |
| 24104 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24105 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24106 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24107 | }, |
| 24108 | }, |
| 24109 | }, |
| 24110 | "italic": True or False, # Whether or not the text is italicized. |
| 24111 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 24112 | # |
| 24113 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 24114 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 24115 | # The `font_size` itself is not affected by changes in this field. |
| 24116 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 24117 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 24118 | # |
| 24119 | # If an update request specifies values for both `weighted_font_family` and |
| 24120 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 24121 | # |
| 24122 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 24123 | # |
| 24124 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 24125 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 24126 | # is returned. |
| 24127 | "fontFamily": "A String", # The font family of the text. |
| 24128 | # |
| 24129 | # The font family can be any font from the Font menu in Docs or from |
| 24130 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 24131 | # unrecognized, the text is rendered in `Arial`. |
| 24132 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 24133 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 24134 | # numerical values described in the CSS 2.1 Specification, |
| 24135 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 24136 | # non-numerical values disallowed. |
| 24137 | # |
| 24138 | # The default value is `400` ("normal"). |
| 24139 | # |
| 24140 | # The font weight makes up just one component of the rendered font weight. |
| 24141 | # The rendered weight is determined by a combination of the `weight` and the |
| 24142 | # text style's resolved `bold` value, after accounting for inheritance: |
| 24143 | # |
| 24144 | # * If the text is bold and the weight is less than `400`, the rendered |
| 24145 | # weight is 400. |
| 24146 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 24147 | # is less than `700`, the rendered weight is `700`. |
| 24148 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 24149 | # equal to the weight. |
| 24150 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 24151 | }, |
| 24152 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 24153 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 24154 | "magnitude": 3.14, # The magnitude. |
| 24155 | "unit": "A String", # The units for magnitude. |
| 24156 | }, |
| 24157 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 24158 | # or transparent, depending on the `color` field. |
| 24159 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 24160 | # a transparent color. |
| 24161 | "rgbColor": { # An RGB color. # The RGB color value. |
| 24162 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24163 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24164 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24165 | }, |
| 24166 | }, |
| 24167 | }, |
| 24168 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 24169 | # are not inherited from parent text. |
| 24170 | # |
| 24171 | # Changing the link in an update request causes some other changes to the |
| 24172 | # text style of the range: |
| 24173 | # |
| 24174 | # * When setting a link, the text foreground color will be updated to the |
| 24175 | # default link color and the text will be underlined. If these fields are |
| 24176 | # modified in the same request, those values will be used instead of the |
| 24177 | # link defaults. |
| 24178 | # * Setting a link on a text range that overlaps with an existing link will |
| 24179 | # also update the existing link to point to the new URL. |
| 24180 | # * Links are not settable on newline characters. As a result, setting a link |
| 24181 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 24182 | # will separate the newline character(s) into their own text runs. The |
| 24183 | # link will be applied separately to the runs before and after the newline. |
| 24184 | # * Removing a link will update the text style of the range to match the |
| 24185 | # style of the preceding text (or the default text styles if the preceding |
| 24186 | # text is another link) unless different styles are being set in the same |
| 24187 | # request. |
| 24188 | "headingId": "A String", # The ID of a heading in this document. |
| 24189 | "url": "A String", # An external URL. |
| 24190 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 24191 | }, |
| 24192 | "underline": True or False, # Whether or not the text is underlined. |
| 24193 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 24194 | }, |
| 24195 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 24196 | # For any field set to true, there is a new suggested value. |
| 24197 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 24198 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 24199 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 24200 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 24201 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 24202 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 24203 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 24204 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 24205 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 24206 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 24207 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 24208 | }, |
| 24209 | }, |
| 24210 | }, |
| 24211 | "type": "A String", # The type of this auto text. |
| 24212 | "suggestedInsertionIds": [ # The suggested insertion IDs. An AutoText |
| 24213 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 24214 | # empty, then this is not a suggested insertion. |
| 24215 | "A String", |
| 24216 | ], |
| 24217 | }, |
| 24218 | "inlineObjectElement": { # A ParagraphElement that contains # An inline object paragraph element. |
| 24219 | # an InlineObject. |
| 24220 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this InlineObjectElement. |
| 24221 | # |
| 24222 | # Similar to text content, like text runs and footnote references, the text |
| 24223 | # style of an inline object element can affect content layout as well as the |
| 24224 | # styling of text inserted adjacent to it. |
| 24225 | # |
| 24226 | # Inherited text styles are represented as unset fields in this message. A |
| 24227 | # text style's parent depends on where the text style is defined: |
| 24228 | # |
| 24229 | # * The TextStyle of text in a Paragraph |
| 24230 | # inherits from the paragraph's corresponding named style type. |
| 24231 | # * The TextStyle on a named style |
| 24232 | # inherits from the normal text named style. |
| 24233 | # * The TextStyle of the normal text named style inherits |
| 24234 | # from the default text style in the Docs editor. |
| 24235 | # * The TextStyle on a Paragraph element |
| 24236 | # that is contained in a table may inherit its text style from the table |
| 24237 | # style. |
| 24238 | # |
| 24239 | # If the text style does not inherit from a parent, unsetting fields will |
| 24240 | # revert the style to a value matching the defaults in the Docs editor. |
| 24241 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 24242 | # or transparent, depending on the `color` field. |
| 24243 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 24244 | # a transparent color. |
| 24245 | "rgbColor": { # An RGB color. # The RGB color value. |
| 24246 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24247 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24248 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24249 | }, |
| 24250 | }, |
| 24251 | }, |
| 24252 | "italic": True or False, # Whether or not the text is italicized. |
| 24253 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 24254 | # |
| 24255 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 24256 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 24257 | # The `font_size` itself is not affected by changes in this field. |
| 24258 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 24259 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 24260 | # |
| 24261 | # If an update request specifies values for both `weighted_font_family` and |
| 24262 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 24263 | # |
| 24264 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 24265 | # |
| 24266 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 24267 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 24268 | # is returned. |
| 24269 | "fontFamily": "A String", # The font family of the text. |
| 24270 | # |
| 24271 | # The font family can be any font from the Font menu in Docs or from |
| 24272 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 24273 | # unrecognized, the text is rendered in `Arial`. |
| 24274 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 24275 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 24276 | # numerical values described in the CSS 2.1 Specification, |
| 24277 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 24278 | # non-numerical values disallowed. |
| 24279 | # |
| 24280 | # The default value is `400` ("normal"). |
| 24281 | # |
| 24282 | # The font weight makes up just one component of the rendered font weight. |
| 24283 | # The rendered weight is determined by a combination of the `weight` and the |
| 24284 | # text style's resolved `bold` value, after accounting for inheritance: |
| 24285 | # |
| 24286 | # * If the text is bold and the weight is less than `400`, the rendered |
| 24287 | # weight is 400. |
| 24288 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 24289 | # is less than `700`, the rendered weight is `700`. |
| 24290 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 24291 | # equal to the weight. |
| 24292 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 24293 | }, |
| 24294 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 24295 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 24296 | "magnitude": 3.14, # The magnitude. |
| 24297 | "unit": "A String", # The units for magnitude. |
| 24298 | }, |
| 24299 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 24300 | # or transparent, depending on the `color` field. |
| 24301 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 24302 | # a transparent color. |
| 24303 | "rgbColor": { # An RGB color. # The RGB color value. |
| 24304 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24305 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24306 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24307 | }, |
| 24308 | }, |
| 24309 | }, |
| 24310 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 24311 | # are not inherited from parent text. |
| 24312 | # |
| 24313 | # Changing the link in an update request causes some other changes to the |
| 24314 | # text style of the range: |
| 24315 | # |
| 24316 | # * When setting a link, the text foreground color will be updated to the |
| 24317 | # default link color and the text will be underlined. If these fields are |
| 24318 | # modified in the same request, those values will be used instead of the |
| 24319 | # link defaults. |
| 24320 | # * Setting a link on a text range that overlaps with an existing link will |
| 24321 | # also update the existing link to point to the new URL. |
| 24322 | # * Links are not settable on newline characters. As a result, setting a link |
| 24323 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 24324 | # will separate the newline character(s) into their own text runs. The |
| 24325 | # link will be applied separately to the runs before and after the newline. |
| 24326 | # * Removing a link will update the text style of the range to match the |
| 24327 | # style of the preceding text (or the default text styles if the preceding |
| 24328 | # text is another link) unless different styles are being set in the same |
| 24329 | # request. |
| 24330 | "headingId": "A String", # The ID of a heading in this document. |
| 24331 | "url": "A String", # An external URL. |
| 24332 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 24333 | }, |
| 24334 | "underline": True or False, # Whether or not the text is underlined. |
| 24335 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 24336 | }, |
| 24337 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 24338 | # of this content. |
| 24339 | "A String", |
| 24340 | ], |
| 24341 | "suggestedTextStyleChanges": { # The suggested text style changes to this InlineObject, keyed by suggestion |
| 24342 | # ID. |
| 24343 | "a_key": { # A suggested change to a TextStyle. |
| 24344 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 24345 | # the changes made in this suggestion. This can be used along with the |
| 24346 | # text_style_suggestion_state |
| 24347 | # to see which fields have changed and their new values. |
| 24348 | # |
| 24349 | # Inherited text styles are represented as unset fields in this message. A |
| 24350 | # text style's parent depends on where the text style is defined: |
| 24351 | # |
| 24352 | # * The TextStyle of text in a Paragraph |
| 24353 | # inherits from the paragraph's corresponding named style type. |
| 24354 | # * The TextStyle on a named style |
| 24355 | # inherits from the normal text named style. |
| 24356 | # * The TextStyle of the normal text named style inherits |
| 24357 | # from the default text style in the Docs editor. |
| 24358 | # * The TextStyle on a Paragraph element |
| 24359 | # that is contained in a table may inherit its text style from the table |
| 24360 | # style. |
| 24361 | # |
| 24362 | # If the text style does not inherit from a parent, unsetting fields will |
| 24363 | # revert the style to a value matching the defaults in the Docs editor. |
| 24364 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 24365 | # or transparent, depending on the `color` field. |
| 24366 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 24367 | # a transparent color. |
| 24368 | "rgbColor": { # An RGB color. # The RGB color value. |
| 24369 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24370 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24371 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24372 | }, |
| 24373 | }, |
| 24374 | }, |
| 24375 | "italic": True or False, # Whether or not the text is italicized. |
| 24376 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 24377 | # |
| 24378 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 24379 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 24380 | # The `font_size` itself is not affected by changes in this field. |
| 24381 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 24382 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 24383 | # |
| 24384 | # If an update request specifies values for both `weighted_font_family` and |
| 24385 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 24386 | # |
| 24387 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 24388 | # |
| 24389 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 24390 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 24391 | # is returned. |
| 24392 | "fontFamily": "A String", # The font family of the text. |
| 24393 | # |
| 24394 | # The font family can be any font from the Font menu in Docs or from |
| 24395 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 24396 | # unrecognized, the text is rendered in `Arial`. |
| 24397 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 24398 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 24399 | # numerical values described in the CSS 2.1 Specification, |
| 24400 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 24401 | # non-numerical values disallowed. |
| 24402 | # |
| 24403 | # The default value is `400` ("normal"). |
| 24404 | # |
| 24405 | # The font weight makes up just one component of the rendered font weight. |
| 24406 | # The rendered weight is determined by a combination of the `weight` and the |
| 24407 | # text style's resolved `bold` value, after accounting for inheritance: |
| 24408 | # |
| 24409 | # * If the text is bold and the weight is less than `400`, the rendered |
| 24410 | # weight is 400. |
| 24411 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 24412 | # is less than `700`, the rendered weight is `700`. |
| 24413 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 24414 | # equal to the weight. |
| 24415 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 24416 | }, |
| 24417 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 24418 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 24419 | "magnitude": 3.14, # The magnitude. |
| 24420 | "unit": "A String", # The units for magnitude. |
| 24421 | }, |
| 24422 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 24423 | # or transparent, depending on the `color` field. |
| 24424 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 24425 | # a transparent color. |
| 24426 | "rgbColor": { # An RGB color. # The RGB color value. |
| 24427 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24428 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24429 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24430 | }, |
| 24431 | }, |
| 24432 | }, |
| 24433 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 24434 | # are not inherited from parent text. |
| 24435 | # |
| 24436 | # Changing the link in an update request causes some other changes to the |
| 24437 | # text style of the range: |
| 24438 | # |
| 24439 | # * When setting a link, the text foreground color will be updated to the |
| 24440 | # default link color and the text will be underlined. If these fields are |
| 24441 | # modified in the same request, those values will be used instead of the |
| 24442 | # link defaults. |
| 24443 | # * Setting a link on a text range that overlaps with an existing link will |
| 24444 | # also update the existing link to point to the new URL. |
| 24445 | # * Links are not settable on newline characters. As a result, setting a link |
| 24446 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 24447 | # will separate the newline character(s) into their own text runs. The |
| 24448 | # link will be applied separately to the runs before and after the newline. |
| 24449 | # * Removing a link will update the text style of the range to match the |
| 24450 | # style of the preceding text (or the default text styles if the preceding |
| 24451 | # text is another link) unless different styles are being set in the same |
| 24452 | # request. |
| 24453 | "headingId": "A String", # The ID of a heading in this document. |
| 24454 | "url": "A String", # An external URL. |
| 24455 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 24456 | }, |
| 24457 | "underline": True or False, # Whether or not the text is underlined. |
| 24458 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 24459 | }, |
| 24460 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 24461 | # For any field set to true, there is a new suggested value. |
| 24462 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 24463 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 24464 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 24465 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 24466 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 24467 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 24468 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 24469 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 24470 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 24471 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 24472 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 24473 | }, |
| 24474 | }, |
| 24475 | }, |
| 24476 | "inlineObjectId": "A String", # The ID of the InlineObject this |
| 24477 | # element contains. |
| 24478 | "suggestedInsertionIds": [ # The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs |
| 24479 | # if it is a nested suggested change. If empty, then this is not a suggested |
| 24480 | # insertion. |
| 24481 | "A String", |
| 24482 | ], |
| 24483 | }, |
| 24484 | "footnoteReference": { # A ParagraphElement representing a # A footnote reference paragraph element. |
| 24485 | # footnote reference. A footnote reference is the inline content rendered with |
| 24486 | # a number and is used to identify the footnote. |
| 24487 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this FootnoteReference. |
| 24488 | # |
| 24489 | # Inherited text styles are represented as unset fields in this message. A |
| 24490 | # text style's parent depends on where the text style is defined: |
| 24491 | # |
| 24492 | # * The TextStyle of text in a Paragraph |
| 24493 | # inherits from the paragraph's corresponding named style type. |
| 24494 | # * The TextStyle on a named style |
| 24495 | # inherits from the normal text named style. |
| 24496 | # * The TextStyle of the normal text named style inherits |
| 24497 | # from the default text style in the Docs editor. |
| 24498 | # * The TextStyle on a Paragraph element |
| 24499 | # that is contained in a table may inherit its text style from the table |
| 24500 | # style. |
| 24501 | # |
| 24502 | # If the text style does not inherit from a parent, unsetting fields will |
| 24503 | # revert the style to a value matching the defaults in the Docs editor. |
| 24504 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 24505 | # or transparent, depending on the `color` field. |
| 24506 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 24507 | # a transparent color. |
| 24508 | "rgbColor": { # An RGB color. # The RGB color value. |
| 24509 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24510 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24511 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24512 | }, |
| 24513 | }, |
| 24514 | }, |
| 24515 | "italic": True or False, # Whether or not the text is italicized. |
| 24516 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 24517 | # |
| 24518 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 24519 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 24520 | # The `font_size` itself is not affected by changes in this field. |
| 24521 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 24522 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 24523 | # |
| 24524 | # If an update request specifies values for both `weighted_font_family` and |
| 24525 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 24526 | # |
| 24527 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 24528 | # |
| 24529 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 24530 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 24531 | # is returned. |
| 24532 | "fontFamily": "A String", # The font family of the text. |
| 24533 | # |
| 24534 | # The font family can be any font from the Font menu in Docs or from |
| 24535 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 24536 | # unrecognized, the text is rendered in `Arial`. |
| 24537 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 24538 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 24539 | # numerical values described in the CSS 2.1 Specification, |
| 24540 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 24541 | # non-numerical values disallowed. |
| 24542 | # |
| 24543 | # The default value is `400` ("normal"). |
| 24544 | # |
| 24545 | # The font weight makes up just one component of the rendered font weight. |
| 24546 | # The rendered weight is determined by a combination of the `weight` and the |
| 24547 | # text style's resolved `bold` value, after accounting for inheritance: |
| 24548 | # |
| 24549 | # * If the text is bold and the weight is less than `400`, the rendered |
| 24550 | # weight is 400. |
| 24551 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 24552 | # is less than `700`, the rendered weight is `700`. |
| 24553 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 24554 | # equal to the weight. |
| 24555 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 24556 | }, |
| 24557 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 24558 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 24559 | "magnitude": 3.14, # The magnitude. |
| 24560 | "unit": "A String", # The units for magnitude. |
| 24561 | }, |
| 24562 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 24563 | # or transparent, depending on the `color` field. |
| 24564 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 24565 | # a transparent color. |
| 24566 | "rgbColor": { # An RGB color. # The RGB color value. |
| 24567 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24568 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24569 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24570 | }, |
| 24571 | }, |
| 24572 | }, |
| 24573 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 24574 | # are not inherited from parent text. |
| 24575 | # |
| 24576 | # Changing the link in an update request causes some other changes to the |
| 24577 | # text style of the range: |
| 24578 | # |
| 24579 | # * When setting a link, the text foreground color will be updated to the |
| 24580 | # default link color and the text will be underlined. If these fields are |
| 24581 | # modified in the same request, those values will be used instead of the |
| 24582 | # link defaults. |
| 24583 | # * Setting a link on a text range that overlaps with an existing link will |
| 24584 | # also update the existing link to point to the new URL. |
| 24585 | # * Links are not settable on newline characters. As a result, setting a link |
| 24586 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 24587 | # will separate the newline character(s) into their own text runs. The |
| 24588 | # link will be applied separately to the runs before and after the newline. |
| 24589 | # * Removing a link will update the text style of the range to match the |
| 24590 | # style of the preceding text (or the default text styles if the preceding |
| 24591 | # text is another link) unless different styles are being set in the same |
| 24592 | # request. |
| 24593 | "headingId": "A String", # The ID of a heading in this document. |
| 24594 | "url": "A String", # An external URL. |
| 24595 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 24596 | }, |
| 24597 | "underline": True or False, # Whether or not the text is underlined. |
| 24598 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 24599 | }, |
| 24600 | "footnoteNumber": "A String", # The rendered number of this footnote. |
| 24601 | "suggestedInsertionIds": [ # The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if |
| 24602 | # it is a nested suggested change. If empty, then this is not a suggested |
| 24603 | # insertion. |
| 24604 | "A String", |
| 24605 | ], |
| 24606 | "footnoteId": "A String", # The ID of the footnote that |
| 24607 | # contains the content of this footnote reference. |
| 24608 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 24609 | # of this content. |
| 24610 | "A String", |
| 24611 | ], |
| 24612 | "suggestedTextStyleChanges": { # The suggested text style changes to this FootnoteReference, keyed by |
| 24613 | # suggestion ID. |
| 24614 | "a_key": { # A suggested change to a TextStyle. |
| 24615 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 24616 | # the changes made in this suggestion. This can be used along with the |
| 24617 | # text_style_suggestion_state |
| 24618 | # to see which fields have changed and their new values. |
| 24619 | # |
| 24620 | # Inherited text styles are represented as unset fields in this message. A |
| 24621 | # text style's parent depends on where the text style is defined: |
| 24622 | # |
| 24623 | # * The TextStyle of text in a Paragraph |
| 24624 | # inherits from the paragraph's corresponding named style type. |
| 24625 | # * The TextStyle on a named style |
| 24626 | # inherits from the normal text named style. |
| 24627 | # * The TextStyle of the normal text named style inherits |
| 24628 | # from the default text style in the Docs editor. |
| 24629 | # * The TextStyle on a Paragraph element |
| 24630 | # that is contained in a table may inherit its text style from the table |
| 24631 | # style. |
| 24632 | # |
| 24633 | # If the text style does not inherit from a parent, unsetting fields will |
| 24634 | # revert the style to a value matching the defaults in the Docs editor. |
| 24635 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 24636 | # or transparent, depending on the `color` field. |
| 24637 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 24638 | # a transparent color. |
| 24639 | "rgbColor": { # An RGB color. # The RGB color value. |
| 24640 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24641 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24642 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24643 | }, |
| 24644 | }, |
| 24645 | }, |
| 24646 | "italic": True or False, # Whether or not the text is italicized. |
| 24647 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 24648 | # |
| 24649 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 24650 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 24651 | # The `font_size` itself is not affected by changes in this field. |
| 24652 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 24653 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 24654 | # |
| 24655 | # If an update request specifies values for both `weighted_font_family` and |
| 24656 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 24657 | # |
| 24658 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 24659 | # |
| 24660 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 24661 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 24662 | # is returned. |
| 24663 | "fontFamily": "A String", # The font family of the text. |
| 24664 | # |
| 24665 | # The font family can be any font from the Font menu in Docs or from |
| 24666 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 24667 | # unrecognized, the text is rendered in `Arial`. |
| 24668 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 24669 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 24670 | # numerical values described in the CSS 2.1 Specification, |
| 24671 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 24672 | # non-numerical values disallowed. |
| 24673 | # |
| 24674 | # The default value is `400` ("normal"). |
| 24675 | # |
| 24676 | # The font weight makes up just one component of the rendered font weight. |
| 24677 | # The rendered weight is determined by a combination of the `weight` and the |
| 24678 | # text style's resolved `bold` value, after accounting for inheritance: |
| 24679 | # |
| 24680 | # * If the text is bold and the weight is less than `400`, the rendered |
| 24681 | # weight is 400. |
| 24682 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 24683 | # is less than `700`, the rendered weight is `700`. |
| 24684 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 24685 | # equal to the weight. |
| 24686 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 24687 | }, |
| 24688 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 24689 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 24690 | "magnitude": 3.14, # The magnitude. |
| 24691 | "unit": "A String", # The units for magnitude. |
| 24692 | }, |
| 24693 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 24694 | # or transparent, depending on the `color` field. |
| 24695 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 24696 | # a transparent color. |
| 24697 | "rgbColor": { # An RGB color. # The RGB color value. |
| 24698 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24699 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24700 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24701 | }, |
| 24702 | }, |
| 24703 | }, |
| 24704 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 24705 | # are not inherited from parent text. |
| 24706 | # |
| 24707 | # Changing the link in an update request causes some other changes to the |
| 24708 | # text style of the range: |
| 24709 | # |
| 24710 | # * When setting a link, the text foreground color will be updated to the |
| 24711 | # default link color and the text will be underlined. If these fields are |
| 24712 | # modified in the same request, those values will be used instead of the |
| 24713 | # link defaults. |
| 24714 | # * Setting a link on a text range that overlaps with an existing link will |
| 24715 | # also update the existing link to point to the new URL. |
| 24716 | # * Links are not settable on newline characters. As a result, setting a link |
| 24717 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 24718 | # will separate the newline character(s) into their own text runs. The |
| 24719 | # link will be applied separately to the runs before and after the newline. |
| 24720 | # * Removing a link will update the text style of the range to match the |
| 24721 | # style of the preceding text (or the default text styles if the preceding |
| 24722 | # text is another link) unless different styles are being set in the same |
| 24723 | # request. |
| 24724 | "headingId": "A String", # The ID of a heading in this document. |
| 24725 | "url": "A String", # An external URL. |
| 24726 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 24727 | }, |
| 24728 | "underline": True or False, # Whether or not the text is underlined. |
| 24729 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 24730 | }, |
| 24731 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 24732 | # For any field set to true, there is a new suggested value. |
| 24733 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 24734 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 24735 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 24736 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 24737 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 24738 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 24739 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 24740 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 24741 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 24742 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 24743 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 24744 | }, |
| 24745 | }, |
| 24746 | }, |
| 24747 | }, |
| 24748 | }, |
| 24749 | ], |
| 24750 | "suggestedPositionedObjectIds": { # The IDs of the positioned objects that are suggested to be attached to this |
| 24751 | # paragraph, keyed by suggestion ID. |
| 24752 | "a_key": { # A collection of object IDs. |
| 24753 | "objectIds": [ # The object IDs. |
| 24754 | "A String", |
| 24755 | ], |
| 24756 | }, |
| 24757 | }, |
| 24758 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 24759 | # belong to a list. |
| 24760 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 24761 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 24762 | "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| 24763 | # |
| 24764 | # Inherited text styles are represented as unset fields in this message. A |
| 24765 | # text style's parent depends on where the text style is defined: |
| 24766 | # |
| 24767 | # * The TextStyle of text in a Paragraph |
| 24768 | # inherits from the paragraph's corresponding named style type. |
| 24769 | # * The TextStyle on a named style |
| 24770 | # inherits from the normal text named style. |
| 24771 | # * The TextStyle of the normal text named style inherits |
| 24772 | # from the default text style in the Docs editor. |
| 24773 | # * The TextStyle on a Paragraph element |
| 24774 | # that is contained in a table may inherit its text style from the table |
| 24775 | # style. |
| 24776 | # |
| 24777 | # If the text style does not inherit from a parent, unsetting fields will |
| 24778 | # revert the style to a value matching the defaults in the Docs editor. |
| 24779 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 24780 | # or transparent, depending on the `color` field. |
| 24781 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 24782 | # a transparent color. |
| 24783 | "rgbColor": { # An RGB color. # The RGB color value. |
| 24784 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24785 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24786 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24787 | }, |
| 24788 | }, |
| 24789 | }, |
| 24790 | "italic": True or False, # Whether or not the text is italicized. |
| 24791 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 24792 | # |
| 24793 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 24794 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 24795 | # The `font_size` itself is not affected by changes in this field. |
| 24796 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 24797 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 24798 | # |
| 24799 | # If an update request specifies values for both `weighted_font_family` and |
| 24800 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 24801 | # |
| 24802 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 24803 | # |
| 24804 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 24805 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 24806 | # is returned. |
| 24807 | "fontFamily": "A String", # The font family of the text. |
| 24808 | # |
| 24809 | # The font family can be any font from the Font menu in Docs or from |
| 24810 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 24811 | # unrecognized, the text is rendered in `Arial`. |
| 24812 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 24813 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 24814 | # numerical values described in the CSS 2.1 Specification, |
| 24815 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 24816 | # non-numerical values disallowed. |
| 24817 | # |
| 24818 | # The default value is `400` ("normal"). |
| 24819 | # |
| 24820 | # The font weight makes up just one component of the rendered font weight. |
| 24821 | # The rendered weight is determined by a combination of the `weight` and the |
| 24822 | # text style's resolved `bold` value, after accounting for inheritance: |
| 24823 | # |
| 24824 | # * If the text is bold and the weight is less than `400`, the rendered |
| 24825 | # weight is 400. |
| 24826 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 24827 | # is less than `700`, the rendered weight is `700`. |
| 24828 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 24829 | # equal to the weight. |
| 24830 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 24831 | }, |
| 24832 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 24833 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 24834 | "magnitude": 3.14, # The magnitude. |
| 24835 | "unit": "A String", # The units for magnitude. |
| 24836 | }, |
| 24837 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 24838 | # or transparent, depending on the `color` field. |
| 24839 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 24840 | # a transparent color. |
| 24841 | "rgbColor": { # An RGB color. # The RGB color value. |
| 24842 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24843 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24844 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24845 | }, |
| 24846 | }, |
| 24847 | }, |
| 24848 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 24849 | # are not inherited from parent text. |
| 24850 | # |
| 24851 | # Changing the link in an update request causes some other changes to the |
| 24852 | # text style of the range: |
| 24853 | # |
| 24854 | # * When setting a link, the text foreground color will be updated to the |
| 24855 | # default link color and the text will be underlined. If these fields are |
| 24856 | # modified in the same request, those values will be used instead of the |
| 24857 | # link defaults. |
| 24858 | # * Setting a link on a text range that overlaps with an existing link will |
| 24859 | # also update the existing link to point to the new URL. |
| 24860 | # * Links are not settable on newline characters. As a result, setting a link |
| 24861 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 24862 | # will separate the newline character(s) into their own text runs. The |
| 24863 | # link will be applied separately to the runs before and after the newline. |
| 24864 | # * Removing a link will update the text style of the range to match the |
| 24865 | # style of the preceding text (or the default text styles if the preceding |
| 24866 | # text is another link) unless different styles are being set in the same |
| 24867 | # request. |
| 24868 | "headingId": "A String", # The ID of a heading in this document. |
| 24869 | "url": "A String", # An external URL. |
| 24870 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 24871 | }, |
| 24872 | "underline": True or False, # Whether or not the text is underlined. |
| 24873 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 24874 | }, |
| 24875 | }, |
| 24876 | "suggestedBulletChanges": { # The suggested changes to this paragraph's bullet. |
| 24877 | "a_key": { # A suggested change to a Bullet. |
| 24878 | "bullet": { # Describes the bullet of a paragraph. # A Bullet that only includes the changes made |
| 24879 | # in this suggestion. This can be used along with the |
| 24880 | # bullet_suggestion_state to see which |
| 24881 | # fields have changed and their new values. |
| 24882 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 24883 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 24884 | "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| 24885 | # |
| 24886 | # Inherited text styles are represented as unset fields in this message. A |
| 24887 | # text style's parent depends on where the text style is defined: |
| 24888 | # |
| 24889 | # * The TextStyle of text in a Paragraph |
| 24890 | # inherits from the paragraph's corresponding named style type. |
| 24891 | # * The TextStyle on a named style |
| 24892 | # inherits from the normal text named style. |
| 24893 | # * The TextStyle of the normal text named style inherits |
| 24894 | # from the default text style in the Docs editor. |
| 24895 | # * The TextStyle on a Paragraph element |
| 24896 | # that is contained in a table may inherit its text style from the table |
| 24897 | # style. |
| 24898 | # |
| 24899 | # If the text style does not inherit from a parent, unsetting fields will |
| 24900 | # revert the style to a value matching the defaults in the Docs editor. |
| 24901 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 24902 | # or transparent, depending on the `color` field. |
| 24903 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 24904 | # a transparent color. |
| 24905 | "rgbColor": { # An RGB color. # The RGB color value. |
| 24906 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24907 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24908 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24909 | }, |
| 24910 | }, |
| 24911 | }, |
| 24912 | "italic": True or False, # Whether or not the text is italicized. |
| 24913 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 24914 | # |
| 24915 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 24916 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 24917 | # The `font_size` itself is not affected by changes in this field. |
| 24918 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 24919 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 24920 | # |
| 24921 | # If an update request specifies values for both `weighted_font_family` and |
| 24922 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 24923 | # |
| 24924 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 24925 | # |
| 24926 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 24927 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 24928 | # is returned. |
| 24929 | "fontFamily": "A String", # The font family of the text. |
| 24930 | # |
| 24931 | # The font family can be any font from the Font menu in Docs or from |
| 24932 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 24933 | # unrecognized, the text is rendered in `Arial`. |
| 24934 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 24935 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 24936 | # numerical values described in the CSS 2.1 Specification, |
| 24937 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 24938 | # non-numerical values disallowed. |
| 24939 | # |
| 24940 | # The default value is `400` ("normal"). |
| 24941 | # |
| 24942 | # The font weight makes up just one component of the rendered font weight. |
| 24943 | # The rendered weight is determined by a combination of the `weight` and the |
| 24944 | # text style's resolved `bold` value, after accounting for inheritance: |
| 24945 | # |
| 24946 | # * If the text is bold and the weight is less than `400`, the rendered |
| 24947 | # weight is 400. |
| 24948 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 24949 | # is less than `700`, the rendered weight is `700`. |
| 24950 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 24951 | # equal to the weight. |
| 24952 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 24953 | }, |
| 24954 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 24955 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 24956 | "magnitude": 3.14, # The magnitude. |
| 24957 | "unit": "A String", # The units for magnitude. |
| 24958 | }, |
| 24959 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 24960 | # or transparent, depending on the `color` field. |
| 24961 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 24962 | # a transparent color. |
| 24963 | "rgbColor": { # An RGB color. # The RGB color value. |
| 24964 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 24965 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 24966 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 24967 | }, |
| 24968 | }, |
| 24969 | }, |
| 24970 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 24971 | # are not inherited from parent text. |
| 24972 | # |
| 24973 | # Changing the link in an update request causes some other changes to the |
| 24974 | # text style of the range: |
| 24975 | # |
| 24976 | # * When setting a link, the text foreground color will be updated to the |
| 24977 | # default link color and the text will be underlined. If these fields are |
| 24978 | # modified in the same request, those values will be used instead of the |
| 24979 | # link defaults. |
| 24980 | # * Setting a link on a text range that overlaps with an existing link will |
| 24981 | # also update the existing link to point to the new URL. |
| 24982 | # * Links are not settable on newline characters. As a result, setting a link |
| 24983 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 24984 | # will separate the newline character(s) into their own text runs. The |
| 24985 | # link will be applied separately to the runs before and after the newline. |
| 24986 | # * Removing a link will update the text style of the range to match the |
| 24987 | # style of the preceding text (or the default text styles if the preceding |
| 24988 | # text is another link) unless different styles are being set in the same |
| 24989 | # request. |
| 24990 | "headingId": "A String", # The ID of a heading in this document. |
| 24991 | "url": "A String", # An external URL. |
| 24992 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 24993 | }, |
| 24994 | "underline": True or False, # Whether or not the text is underlined. |
| 24995 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 24996 | }, |
| 24997 | }, |
| 24998 | "bulletSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| 24999 | # Bullet have been changed in this suggestion. |
| 25000 | # Bullet have been changed in this suggestion. |
| 25001 | # For any field set to true, there is a new suggested value. |
| 25002 | "nestingLevelSuggested": True or False, # Indicates if there was a suggested change to the |
| 25003 | # nesting_level. |
| 25004 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| 25005 | # suggestion. |
| 25006 | # For any field set to true, there is a new suggested value. |
| 25007 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 25008 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 25009 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 25010 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 25011 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 25012 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 25013 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 25014 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 25015 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 25016 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 25017 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 25018 | }, |
| 25019 | "listIdSuggested": True or False, # Indicates if there was a suggested change to the |
| 25020 | # list_id. |
| 25021 | }, |
| 25022 | }, |
| 25023 | }, |
| 25024 | "positionedObjectIds": [ # The IDs of the positioned objects tethered to this paragraph. |
| 25025 | "A String", |
| 25026 | ], |
| 25027 | "suggestedParagraphStyleChanges": { # The suggested paragraph style changes to this paragraph, keyed by |
| 25028 | # suggestion ID. |
| 25029 | "a_key": { # A suggested change to a |
| 25030 | # ParagraphStyle. |
| 25031 | "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. |
| 25032 | # For any field set to true, there is a new suggested value. |
| 25033 | "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| 25034 | "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| 25035 | "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| 25036 | "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| 25037 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 25038 | "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| 25039 | "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| 25040 | "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| 25041 | "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| 25042 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 25043 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 25044 | "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| 25045 | "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| 25046 | "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| 25047 | "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| 25048 | "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| 25049 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 25050 | "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| 25051 | "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| 25052 | "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| 25053 | # this suggestion. |
| 25054 | # suggested change. For any field set to true, there is a new suggested value. |
| 25055 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| 25056 | }, |
| 25057 | }, |
| 25058 | "paragraphStyle": { # Styles that apply to a whole paragraph. # A ParagraphStyle that only includes |
| 25059 | # the changes made in this suggestion. This can be used along with the |
| 25060 | # paragraph_suggestion_state |
| 25061 | # to see which fields have changed and their new values. |
| 25062 | # |
| 25063 | # Inherited paragraph styles are represented as unset fields in this message. |
| 25064 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 25065 | # |
| 25066 | # * The ParagraphStyle on a Paragraph |
| 25067 | # inherits from the paragraph's corresponding named style type. |
| 25068 | # * The ParagraphStyle on a named style |
| 25069 | # inherits from the normal text named style. |
| 25070 | # * The ParagraphStyle of the normal text named style inherits |
| 25071 | # from the default paragraph style in the Docs editor. |
| 25072 | # * The ParagraphStyle on a Paragraph |
| 25073 | # element that is contained in a table may inherit its paragraph style from |
| 25074 | # the table style. |
| 25075 | # |
| 25076 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 25077 | # revert the style to a value matching the defaults in the Docs editor. |
| 25078 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 25079 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 25080 | # LEFT_TO_RIGHT since |
| 25081 | # paragraph direction is not inherited. |
| 25082 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 25083 | # inherited from the parent. |
| 25084 | "magnitude": 3.14, # The magnitude. |
| 25085 | "unit": "A String", # The units for magnitude. |
| 25086 | }, |
| 25087 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 25088 | # page or column as the next paragraph if possible. If unset, the value is |
| 25089 | # inherited from the parent. |
| 25090 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 25091 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 25092 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 25093 | # is inherited from the parent. |
| 25094 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 25095 | # inherited from the parent. |
| 25096 | # |
| 25097 | # The bottom border is rendered when the paragraph below has different border |
| 25098 | # and indent properties. |
| 25099 | # |
| 25100 | # Paragraph borders cannot be partially updated. When making |
| 25101 | # changes to a paragraph border the new border must be specified in |
| 25102 | # its entirety. |
| 25103 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 25104 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 25105 | # a transparent color. |
| 25106 | "rgbColor": { # An RGB color. # The RGB color value. |
| 25107 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25108 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25109 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25110 | }, |
| 25111 | }, |
| 25112 | }, |
| 25113 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 25114 | "magnitude": 3.14, # The magnitude. |
| 25115 | "unit": "A String", # The units for magnitude. |
| 25116 | }, |
| 25117 | "dashStyle": "A String", # The dash style of the border. |
| 25118 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 25119 | "magnitude": 3.14, # The magnitude. |
| 25120 | "unit": "A String", # The units for magnitude. |
| 25121 | }, |
| 25122 | }, |
| 25123 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 25124 | # the start of the text, based on the current paragraph direction. If unset, |
| 25125 | # the value is inherited from the parent. |
| 25126 | "magnitude": 3.14, # The magnitude. |
| 25127 | "unit": "A String", # The units for magnitude. |
| 25128 | }, |
| 25129 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 25130 | # If unset, the value is inherited from the parent. |
| 25131 | # |
| 25132 | # The between border is rendered when the adjacent paragraph has the same |
| 25133 | # border and indent properties. |
| 25134 | # |
| 25135 | # Paragraph borders cannot be partially updated. When making |
| 25136 | # changes to a paragraph border the new border must be specified in |
| 25137 | # its entirety. |
| 25138 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 25139 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 25140 | # a transparent color. |
| 25141 | "rgbColor": { # An RGB color. # The RGB color value. |
| 25142 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25143 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25144 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25145 | }, |
| 25146 | }, |
| 25147 | }, |
| 25148 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 25149 | "magnitude": 3.14, # The magnitude. |
| 25150 | "unit": "A String", # The units for magnitude. |
| 25151 | }, |
| 25152 | "dashStyle": "A String", # The dash style of the border. |
| 25153 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 25154 | "magnitude": 3.14, # The magnitude. |
| 25155 | "unit": "A String", # The units for magnitude. |
| 25156 | }, |
| 25157 | }, |
| 25158 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 25159 | # |
| 25160 | # Since updating the named style type affects other properties within |
| 25161 | # ParagraphStyle, the named style type is applied before the other properties |
| 25162 | # are updated. |
| 25163 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 25164 | # from the parent. |
| 25165 | # |
| 25166 | # Paragraph borders cannot be partially updated. When making |
| 25167 | # changes to a paragraph border the new border must be specified in |
| 25168 | # its entirety. |
| 25169 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 25170 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 25171 | # a transparent color. |
| 25172 | "rgbColor": { # An RGB color. # The RGB color value. |
| 25173 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25174 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25175 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25176 | }, |
| 25177 | }, |
| 25178 | }, |
| 25179 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 25180 | "magnitude": 3.14, # The magnitude. |
| 25181 | "unit": "A String", # The units for magnitude. |
| 25182 | }, |
| 25183 | "dashStyle": "A String", # The dash style of the border. |
| 25184 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 25185 | "magnitude": 3.14, # The magnitude. |
| 25186 | "unit": "A String", # The units for magnitude. |
| 25187 | }, |
| 25188 | }, |
| 25189 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 25190 | # the end of the text, based on the current paragraph direction. If unset, |
| 25191 | # the value is inherited from the parent. |
| 25192 | "magnitude": 3.14, # The magnitude. |
| 25193 | "unit": "A String", # The units for magnitude. |
| 25194 | }, |
| 25195 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 25196 | # from the parent. |
| 25197 | # |
| 25198 | # Paragraph borders cannot be partially updated. When making |
| 25199 | # changes to a paragraph border the new border must be specified in |
| 25200 | # its entirety. |
| 25201 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 25202 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 25203 | # a transparent color. |
| 25204 | "rgbColor": { # An RGB color. # The RGB color value. |
| 25205 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25206 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25207 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25208 | }, |
| 25209 | }, |
| 25210 | }, |
| 25211 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 25212 | "magnitude": 3.14, # The magnitude. |
| 25213 | "unit": "A String", # The units for magnitude. |
| 25214 | }, |
| 25215 | "dashStyle": "A String", # The dash style of the border. |
| 25216 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 25217 | "magnitude": 3.14, # The magnitude. |
| 25218 | "unit": "A String", # The units for magnitude. |
| 25219 | }, |
| 25220 | }, |
| 25221 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 25222 | # inherited from the parent. |
| 25223 | "magnitude": 3.14, # The magnitude. |
| 25224 | "unit": "A String", # The units for magnitude. |
| 25225 | }, |
| 25226 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 25227 | # heading. This property is read-only. |
| 25228 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 25229 | # parent. |
| 25230 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 25231 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 25232 | # a transparent color. |
| 25233 | "rgbColor": { # An RGB color. # The RGB color value. |
| 25234 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25235 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25236 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25237 | }, |
| 25238 | }, |
| 25239 | }, |
| 25240 | }, |
| 25241 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 25242 | # from the parent. |
| 25243 | # |
| 25244 | # The top border is rendered when the paragraph above has different border |
| 25245 | # and indent properties. |
| 25246 | # |
| 25247 | # Paragraph borders cannot be partially updated. When making |
| 25248 | # changes to a paragraph border the new border must be specified in |
| 25249 | # its entirety. |
| 25250 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 25251 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 25252 | # a transparent color. |
| 25253 | "rgbColor": { # An RGB color. # The RGB color value. |
| 25254 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25255 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25256 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25257 | }, |
| 25258 | }, |
| 25259 | }, |
| 25260 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 25261 | "magnitude": 3.14, # The magnitude. |
| 25262 | "unit": "A String", # The units for magnitude. |
| 25263 | }, |
| 25264 | "dashStyle": "A String", # The dash style of the border. |
| 25265 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 25266 | "magnitude": 3.14, # The magnitude. |
| 25267 | "unit": "A String", # The units for magnitude. |
| 25268 | }, |
| 25269 | }, |
| 25270 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 25271 | # inherited. This property is read-only. |
| 25272 | { # A tab stop within a paragraph. |
| 25273 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 25274 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 25275 | "magnitude": 3.14, # The magnitude. |
| 25276 | "unit": "A String", # The units for magnitude. |
| 25277 | }, |
| 25278 | }, |
| 25279 | ], |
| 25280 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 25281 | # the value is inherited from the parent. |
| 25282 | "magnitude": 3.14, # The magnitude. |
| 25283 | "unit": "A String", # The units for magnitude. |
| 25284 | }, |
| 25285 | "alignment": "A String", # The text alignment for this paragraph. |
| 25286 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 25287 | # column if possible. If unset, the value is inherited from the parent. |
| 25288 | }, |
| 25289 | }, |
| 25290 | }, |
| 25291 | "paragraphStyle": { # Styles that apply to a whole paragraph. # The style of this paragraph. |
| 25292 | # |
| 25293 | # Inherited paragraph styles are represented as unset fields in this message. |
| 25294 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 25295 | # |
| 25296 | # * The ParagraphStyle on a Paragraph |
| 25297 | # inherits from the paragraph's corresponding named style type. |
| 25298 | # * The ParagraphStyle on a named style |
| 25299 | # inherits from the normal text named style. |
| 25300 | # * The ParagraphStyle of the normal text named style inherits |
| 25301 | # from the default paragraph style in the Docs editor. |
| 25302 | # * The ParagraphStyle on a Paragraph |
| 25303 | # element that is contained in a table may inherit its paragraph style from |
| 25304 | # the table style. |
| 25305 | # |
| 25306 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 25307 | # revert the style to a value matching the defaults in the Docs editor. |
| 25308 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 25309 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 25310 | # LEFT_TO_RIGHT since |
| 25311 | # paragraph direction is not inherited. |
| 25312 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 25313 | # inherited from the parent. |
| 25314 | "magnitude": 3.14, # The magnitude. |
| 25315 | "unit": "A String", # The units for magnitude. |
| 25316 | }, |
| 25317 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 25318 | # page or column as the next paragraph if possible. If unset, the value is |
| 25319 | # inherited from the parent. |
| 25320 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 25321 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 25322 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 25323 | # is inherited from the parent. |
| 25324 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 25325 | # inherited from the parent. |
| 25326 | # |
| 25327 | # The bottom border is rendered when the paragraph below has different border |
| 25328 | # and indent properties. |
| 25329 | # |
| 25330 | # Paragraph borders cannot be partially updated. When making |
| 25331 | # changes to a paragraph border the new border must be specified in |
| 25332 | # its entirety. |
| 25333 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 25334 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 25335 | # a transparent color. |
| 25336 | "rgbColor": { # An RGB color. # The RGB color value. |
| 25337 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25338 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25339 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25340 | }, |
| 25341 | }, |
| 25342 | }, |
| 25343 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 25344 | "magnitude": 3.14, # The magnitude. |
| 25345 | "unit": "A String", # The units for magnitude. |
| 25346 | }, |
| 25347 | "dashStyle": "A String", # The dash style of the border. |
| 25348 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 25349 | "magnitude": 3.14, # The magnitude. |
| 25350 | "unit": "A String", # The units for magnitude. |
| 25351 | }, |
| 25352 | }, |
| 25353 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 25354 | # the start of the text, based on the current paragraph direction. If unset, |
| 25355 | # the value is inherited from the parent. |
| 25356 | "magnitude": 3.14, # The magnitude. |
| 25357 | "unit": "A String", # The units for magnitude. |
| 25358 | }, |
| 25359 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 25360 | # If unset, the value is inherited from the parent. |
| 25361 | # |
| 25362 | # The between border is rendered when the adjacent paragraph has the same |
| 25363 | # border and indent properties. |
| 25364 | # |
| 25365 | # Paragraph borders cannot be partially updated. When making |
| 25366 | # changes to a paragraph border the new border must be specified in |
| 25367 | # its entirety. |
| 25368 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 25369 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 25370 | # a transparent color. |
| 25371 | "rgbColor": { # An RGB color. # The RGB color value. |
| 25372 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25373 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25374 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25375 | }, |
| 25376 | }, |
| 25377 | }, |
| 25378 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 25379 | "magnitude": 3.14, # The magnitude. |
| 25380 | "unit": "A String", # The units for magnitude. |
| 25381 | }, |
| 25382 | "dashStyle": "A String", # The dash style of the border. |
| 25383 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 25384 | "magnitude": 3.14, # The magnitude. |
| 25385 | "unit": "A String", # The units for magnitude. |
| 25386 | }, |
| 25387 | }, |
| 25388 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 25389 | # |
| 25390 | # Since updating the named style type affects other properties within |
| 25391 | # ParagraphStyle, the named style type is applied before the other properties |
| 25392 | # are updated. |
| 25393 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 25394 | # from the parent. |
| 25395 | # |
| 25396 | # Paragraph borders cannot be partially updated. When making |
| 25397 | # changes to a paragraph border the new border must be specified in |
| 25398 | # its entirety. |
| 25399 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 25400 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 25401 | # a transparent color. |
| 25402 | "rgbColor": { # An RGB color. # The RGB color value. |
| 25403 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25404 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25405 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25406 | }, |
| 25407 | }, |
| 25408 | }, |
| 25409 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 25410 | "magnitude": 3.14, # The magnitude. |
| 25411 | "unit": "A String", # The units for magnitude. |
| 25412 | }, |
| 25413 | "dashStyle": "A String", # The dash style of the border. |
| 25414 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 25415 | "magnitude": 3.14, # The magnitude. |
| 25416 | "unit": "A String", # The units for magnitude. |
| 25417 | }, |
| 25418 | }, |
| 25419 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 25420 | # the end of the text, based on the current paragraph direction. If unset, |
| 25421 | # the value is inherited from the parent. |
| 25422 | "magnitude": 3.14, # The magnitude. |
| 25423 | "unit": "A String", # The units for magnitude. |
| 25424 | }, |
| 25425 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 25426 | # from the parent. |
| 25427 | # |
| 25428 | # Paragraph borders cannot be partially updated. When making |
| 25429 | # changes to a paragraph border the new border must be specified in |
| 25430 | # its entirety. |
| 25431 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 25432 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 25433 | # a transparent color. |
| 25434 | "rgbColor": { # An RGB color. # The RGB color value. |
| 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 | }, |
| 25441 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 25442 | "magnitude": 3.14, # The magnitude. |
| 25443 | "unit": "A String", # The units for magnitude. |
| 25444 | }, |
| 25445 | "dashStyle": "A String", # The dash style of the border. |
| 25446 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 25447 | "magnitude": 3.14, # The magnitude. |
| 25448 | "unit": "A String", # The units for magnitude. |
| 25449 | }, |
| 25450 | }, |
| 25451 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 25452 | # inherited from the parent. |
| 25453 | "magnitude": 3.14, # The magnitude. |
| 25454 | "unit": "A String", # The units for magnitude. |
| 25455 | }, |
| 25456 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 25457 | # heading. This property is read-only. |
| 25458 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 25459 | # parent. |
| 25460 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 25461 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 25462 | # a transparent color. |
| 25463 | "rgbColor": { # An RGB color. # The RGB color value. |
| 25464 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25465 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25466 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25467 | }, |
| 25468 | }, |
| 25469 | }, |
| 25470 | }, |
| 25471 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 25472 | # from the parent. |
| 25473 | # |
| 25474 | # The top border is rendered when the paragraph above has different border |
| 25475 | # and indent properties. |
| 25476 | # |
| 25477 | # Paragraph borders cannot be partially updated. When making |
| 25478 | # changes to a paragraph border the new border must be specified in |
| 25479 | # its entirety. |
| 25480 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 25481 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 25482 | # a transparent color. |
| 25483 | "rgbColor": { # An RGB color. # The RGB color value. |
| 25484 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25485 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25486 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25487 | }, |
| 25488 | }, |
| 25489 | }, |
| 25490 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 25491 | "magnitude": 3.14, # The magnitude. |
| 25492 | "unit": "A String", # The units for magnitude. |
| 25493 | }, |
| 25494 | "dashStyle": "A String", # The dash style of the border. |
| 25495 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 25496 | "magnitude": 3.14, # The magnitude. |
| 25497 | "unit": "A String", # The units for magnitude. |
| 25498 | }, |
| 25499 | }, |
| 25500 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 25501 | # inherited. This property is read-only. |
| 25502 | { # A tab stop within a paragraph. |
| 25503 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 25504 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 25505 | "magnitude": 3.14, # The magnitude. |
| 25506 | "unit": "A String", # The units for magnitude. |
| 25507 | }, |
| 25508 | }, |
| 25509 | ], |
| 25510 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 25511 | # the value is inherited from the parent. |
| 25512 | "magnitude": 3.14, # The magnitude. |
| 25513 | "unit": "A String", # The units for magnitude. |
| 25514 | }, |
| 25515 | "alignment": "A String", # The text alignment for this paragraph. |
| 25516 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 25517 | # column if possible. If unset, the value is inherited from the parent. |
| 25518 | }, |
| 25519 | }, |
| 25520 | "table": { # A StructuralElement representing a # A table type of structural element. |
| 25521 | # table. |
| 25522 | "rows": 42, # Number of rows in the table. |
| 25523 | "tableStyle": { # Styles that apply to a table. # The style of the table. |
| 25524 | "tableColumnProperties": [ # The properties of each column. |
| 25525 | # |
| 25526 | # Note that in Docs, tables contain rows and rows contain cells, similar to |
| 25527 | # HTML. So the properties for a row can be found on the row's |
| 25528 | # table_row_style. |
| 25529 | { # The properties of a column in a table. |
| 25530 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| 25531 | # FIXED_WIDTH. |
| 25532 | "magnitude": 3.14, # The magnitude. |
| 25533 | "unit": "A String", # The units for magnitude. |
| 25534 | }, |
| 25535 | "widthType": "A String", # The width type of the column. |
| 25536 | }, |
| 25537 | ], |
| 25538 | }, |
| 25539 | "suggestedInsertionIds": [ # The suggested insertion IDs. A Table may have |
| 25540 | # multiple insertion IDs if it is a nested suggested change. If empty, then |
| 25541 | # this is not a suggested insertion. |
| 25542 | "A String", |
| 25543 | ], |
| 25544 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 25545 | # of this content. |
| 25546 | "A String", |
| 25547 | ], |
| 25548 | "tableRows": [ # The contents and style of each row. |
| 25549 | { # The contents and style of a row in a Table. |
| 25550 | "endIndex": 42, # The zero-based end index of this row, exclusive, in UTF-16 code units. |
| 25551 | "tableCells": [ # The contents and style of each cell in this row. |
| 25552 | # |
| 25553 | # It is possible for a table to be non-rectangular, so some rows may have a |
| 25554 | # different number of cells than other rows in the same table. |
| 25555 | { # The contents and style of a cell in a Table. |
| 25556 | "endIndex": 42, # The zero-based end index of this cell, exclusive, in UTF-16 code units. |
| 25557 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 25558 | # of this content. |
| 25559 | "A String", |
| 25560 | ], |
| 25561 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableCell |
| 25562 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 25563 | # empty, then this is not a suggested insertion. |
| 25564 | "A String", |
| 25565 | ], |
| 25566 | "content": [ # The content of the cell. |
| 25567 | # Object with schema name: StructuralElement |
| 25568 | ], |
| 25569 | "tableCellStyle": { # The style of a TableCell. # The style of the cell. |
| 25570 | # |
| 25571 | # Inherited table cell styles are represented as unset fields in this message. |
| 25572 | # A table cell style can inherit from the table's style. |
| 25573 | "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| 25574 | "magnitude": 3.14, # The magnitude. |
| 25575 | "unit": "A String", # The units for magnitude. |
| 25576 | }, |
| 25577 | "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| 25578 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 25579 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 25580 | # a transparent color. |
| 25581 | "rgbColor": { # An RGB color. # The RGB color value. |
| 25582 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25583 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25584 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25585 | }, |
| 25586 | }, |
| 25587 | }, |
| 25588 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 25589 | "magnitude": 3.14, # The magnitude. |
| 25590 | "unit": "A String", # The units for magnitude. |
| 25591 | }, |
| 25592 | "dashStyle": "A String", # The dash style of the border. |
| 25593 | }, |
| 25594 | "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| 25595 | "magnitude": 3.14, # The magnitude. |
| 25596 | "unit": "A String", # The units for magnitude. |
| 25597 | }, |
| 25598 | "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| 25599 | "magnitude": 3.14, # The magnitude. |
| 25600 | "unit": "A String", # The units for magnitude. |
| 25601 | }, |
| 25602 | "borderLeft": { # A border around a table cell. # The left border of the cell. |
| 25603 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 25604 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 25605 | # a transparent color. |
| 25606 | "rgbColor": { # An RGB color. # The RGB color value. |
| 25607 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25608 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25609 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25610 | }, |
| 25611 | }, |
| 25612 | }, |
| 25613 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 25614 | "magnitude": 3.14, # The magnitude. |
| 25615 | "unit": "A String", # The units for magnitude. |
| 25616 | }, |
| 25617 | "dashStyle": "A String", # The dash style of the border. |
| 25618 | }, |
| 25619 | "columnSpan": 42, # The column span of the cell. This property is read-only. |
| 25620 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| 25621 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 25622 | # a transparent color. |
| 25623 | "rgbColor": { # An RGB color. # The RGB color value. |
| 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 | }, |
| 25630 | "borderRight": { # A border around a table cell. # The right border of the cell. |
| 25631 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 25632 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 25633 | # a transparent color. |
| 25634 | "rgbColor": { # An RGB color. # The RGB color value. |
| 25635 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25636 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25637 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25638 | }, |
| 25639 | }, |
| 25640 | }, |
| 25641 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 25642 | "magnitude": 3.14, # The magnitude. |
| 25643 | "unit": "A String", # The units for magnitude. |
| 25644 | }, |
| 25645 | "dashStyle": "A String", # The dash style of the border. |
| 25646 | }, |
| 25647 | "rowSpan": 42, # The row span of the cell. This property is read-only. |
| 25648 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 25649 | # matches the alignment for newly created table cells in the Docs editor. |
| 25650 | "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| 25651 | "magnitude": 3.14, # The magnitude. |
| 25652 | "unit": "A String", # The units for magnitude. |
| 25653 | }, |
| 25654 | "borderTop": { # A border around a table cell. # The top border of the cell. |
| 25655 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 25656 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 25657 | # a transparent color. |
| 25658 | "rgbColor": { # An RGB color. # The RGB color value. |
| 25659 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25660 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25661 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25662 | }, |
| 25663 | }, |
| 25664 | }, |
| 25665 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 25666 | "magnitude": 3.14, # The magnitude. |
| 25667 | "unit": "A String", # The units for magnitude. |
| 25668 | }, |
| 25669 | "dashStyle": "A String", # The dash style of the border. |
| 25670 | }, |
| 25671 | }, |
| 25672 | "startIndex": 42, # The zero-based start index of this cell, in UTF-16 code units. |
| 25673 | "suggestedTableCellStyleChanges": { # The suggested changes to the table cell style, keyed by suggestion ID. |
| 25674 | "a_key": { # A suggested change to a TableCellStyle. |
| 25675 | "tableCellStyle": { # The style of a TableCell. # A TableCellStyle that only includes |
| 25676 | # the changes made in this suggestion. This can be used along with the |
| 25677 | # table_cell_style_suggestion_state |
| 25678 | # to see which fields have changed and their new values. |
| 25679 | # |
| 25680 | # Inherited table cell styles are represented as unset fields in this message. |
| 25681 | # A table cell style can inherit from the table's style. |
| 25682 | "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| 25683 | "magnitude": 3.14, # The magnitude. |
| 25684 | "unit": "A String", # The units for magnitude. |
| 25685 | }, |
| 25686 | "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| 25687 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 25688 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 25689 | # a transparent color. |
| 25690 | "rgbColor": { # An RGB color. # The RGB color value. |
| 25691 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25692 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25693 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25694 | }, |
| 25695 | }, |
| 25696 | }, |
| 25697 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 25698 | "magnitude": 3.14, # The magnitude. |
| 25699 | "unit": "A String", # The units for magnitude. |
| 25700 | }, |
| 25701 | "dashStyle": "A String", # The dash style of the border. |
| 25702 | }, |
| 25703 | "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| 25704 | "magnitude": 3.14, # The magnitude. |
| 25705 | "unit": "A String", # The units for magnitude. |
| 25706 | }, |
| 25707 | "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| 25708 | "magnitude": 3.14, # The magnitude. |
| 25709 | "unit": "A String", # The units for magnitude. |
| 25710 | }, |
| 25711 | "borderLeft": { # A border around a table cell. # The left border of the cell. |
| 25712 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 25713 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 25714 | # a transparent color. |
| 25715 | "rgbColor": { # An RGB color. # The RGB color value. |
| 25716 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25717 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25718 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25719 | }, |
| 25720 | }, |
| 25721 | }, |
| 25722 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 25723 | "magnitude": 3.14, # The magnitude. |
| 25724 | "unit": "A String", # The units for magnitude. |
| 25725 | }, |
| 25726 | "dashStyle": "A String", # The dash style of the border. |
| 25727 | }, |
| 25728 | "columnSpan": 42, # The column span of the cell. This property is read-only. |
| 25729 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| 25730 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 25731 | # a transparent color. |
| 25732 | "rgbColor": { # An RGB color. # The RGB color value. |
| 25733 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25734 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25735 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25736 | }, |
| 25737 | }, |
| 25738 | }, |
| 25739 | "borderRight": { # A border around a table cell. # The right border of the cell. |
| 25740 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 25741 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 25742 | # a transparent color. |
| 25743 | "rgbColor": { # An RGB color. # The RGB color value. |
| 25744 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25745 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25746 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25747 | }, |
| 25748 | }, |
| 25749 | }, |
| 25750 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 25751 | "magnitude": 3.14, # The magnitude. |
| 25752 | "unit": "A String", # The units for magnitude. |
| 25753 | }, |
| 25754 | "dashStyle": "A String", # The dash style of the border. |
| 25755 | }, |
| 25756 | "rowSpan": 42, # The row span of the cell. This property is read-only. |
| 25757 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 25758 | # matches the alignment for newly created table cells in the Docs editor. |
| 25759 | "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| 25760 | "magnitude": 3.14, # The magnitude. |
| 25761 | "unit": "A String", # The units for magnitude. |
| 25762 | }, |
| 25763 | "borderTop": { # A border around a table cell. # The top border of the cell. |
| 25764 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 25765 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 25766 | # a transparent color. |
| 25767 | "rgbColor": { # An RGB color. # The RGB color value. |
| 25768 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25769 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25770 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25771 | }, |
| 25772 | }, |
| 25773 | }, |
| 25774 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 25775 | "magnitude": 3.14, # The magnitude. |
| 25776 | "unit": "A String", # The units for magnitude. |
| 25777 | }, |
| 25778 | "dashStyle": "A String", # The dash style of the border. |
| 25779 | }, |
| 25780 | }, |
| 25781 | "tableCellStyleSuggestionState": { # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. |
| 25782 | # For any field set to true, there is a new suggested value. |
| 25783 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 25784 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 25785 | "paddingBottomSuggested": True or False, # Indicates if there was a suggested change to padding_bottom. |
| 25786 | "contentAlignmentSuggested": True or False, # Indicates if there was a suggested change to content_alignment. |
| 25787 | "rowSpanSuggested": True or False, # Indicates if there was a suggested change to row_span. |
| 25788 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 25789 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 25790 | "columnSpanSuggested": True or False, # Indicates if there was a suggested change to column_span. |
| 25791 | "paddingRightSuggested": True or False, # Indicates if there was a suggested change to padding_right. |
| 25792 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 25793 | "paddingLeftSuggested": True or False, # Indicates if there was a suggested change to padding_left. |
| 25794 | "paddingTopSuggested": True or False, # Indicates if there was a suggested change to padding_top. |
| 25795 | }, |
| 25796 | }, |
| 25797 | }, |
| 25798 | }, |
| 25799 | ], |
| 25800 | "tableRowStyle": { # Styles that apply to a table row. # The style of the table row. |
| 25801 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 25802 | # at a height equal to or greater than this value in order to show all the |
| 25803 | # content in the row's cells. |
| 25804 | "magnitude": 3.14, # The magnitude. |
| 25805 | "unit": "A String", # The units for magnitude. |
| 25806 | }, |
| 25807 | }, |
| 25808 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableRow |
| 25809 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 25810 | # empty, then this is not a suggested insertion. |
| 25811 | "A String", |
| 25812 | ], |
| 25813 | "startIndex": 42, # The zero-based start index of this row, in UTF-16 code units. |
| 25814 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 25815 | # of this content. |
| 25816 | "A String", |
| 25817 | ], |
| 25818 | "suggestedTableRowStyleChanges": { # The suggested style changes to this row, keyed by suggestion ID. |
| 25819 | "a_key": { # A suggested change to a |
| 25820 | # TableRowStyle. |
| 25821 | "tableRowStyle": { # Styles that apply to a table row. # A TableRowStyle that only includes |
| 25822 | # the changes made in this suggestion. This can be used along with the |
| 25823 | # table_row_style_suggestion_state |
| 25824 | # to see which fields have changed and their new values. |
| 25825 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 25826 | # at a height equal to or greater than this value in order to show all the |
| 25827 | # content in the row's cells. |
| 25828 | "magnitude": 3.14, # The magnitude. |
| 25829 | "unit": "A String", # The units for magnitude. |
| 25830 | }, |
| 25831 | }, |
| 25832 | "tableRowStyleSuggestionState": { # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. |
| 25833 | # For any field set to true, there is a new suggested value. |
| 25834 | "minRowHeightSuggested": True or False, # Indicates if there was a suggested change to min_row_height. |
| 25835 | }, |
| 25836 | }, |
| 25837 | }, |
| 25838 | }, |
| 25839 | ], |
| 25840 | "columns": 42, # Number of columns in the table. |
| 25841 | # |
| 25842 | # It is possible for a table to be non-rectangular, so some rows may have a |
| 25843 | # different number of cells. |
| 25844 | }, |
| 25845 | }, |
| 25846 | ], |
| 25847 | "footerId": "A String", # The ID of the footer. |
| 25848 | }, |
| 25849 | }, |
| 25850 | "footnotes": { # The footnotes in the document, keyed by footnote ID. |
| 25851 | "a_key": { # A document footnote. |
| 25852 | "content": [ # The contents of the footnote. |
| 25853 | # |
| 25854 | # The indexes for a footnote's content begin at zero. |
| 25855 | { # A StructuralElement describes content that provides structure to the |
| 25856 | # document. |
| 25857 | "endIndex": 42, # The zero-based end index of this structural element, exclusive, in UTF-16 |
| 25858 | # code units. |
| 25859 | "sectionBreak": { # A StructuralElement representing a # A section break type of structural element. |
| 25860 | # section break. A section is a range of content which has the same |
| 25861 | # SectionStyle. A section break represents |
| 25862 | # the start of a new section, and the section style applies to the section |
| 25863 | # after the section break. |
| 25864 | # |
| 25865 | # The document body always begins with a section break. |
| 25866 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 25867 | # of this content. |
| 25868 | "A String", |
| 25869 | ], |
| 25870 | "sectionStyle": { # The styling that applies to a section. # The style of the section after this section break. |
| 25871 | "contentDirection": "A String", # The content direction of this section. If unset, the value defaults to |
| 25872 | # LEFT_TO_RIGHT. |
| 25873 | "columnProperties": [ # The section's columns properties. |
| 25874 | # |
| 25875 | # If empty, the section contains one column with the default properties in |
| 25876 | # the Docs editor. |
| 25877 | { # Properties that apply to a section's column. |
| 25878 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. |
| 25879 | "magnitude": 3.14, # The magnitude. |
| 25880 | "unit": "A String", # The units for magnitude. |
| 25881 | }, |
| 25882 | "paddingEnd": { # A magnitude in a single direction in the specified units. # The padding at the end of the column. |
| 25883 | "magnitude": 3.14, # The magnitude. |
| 25884 | "unit": "A String", # The units for magnitude. |
| 25885 | }, |
| 25886 | }, |
| 25887 | ], |
| 25888 | "columnSeparatorStyle": "A String", # The style of column separators. |
| 25889 | # |
| 25890 | # This style can be set even when there is one column in the section. |
| 25891 | }, |
| 25892 | "suggestedInsertionIds": [ # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is |
| 25893 | # a nested suggested change. If empty, then this is not a suggested |
| 25894 | # insertion. |
| 25895 | "A String", |
| 25896 | ], |
| 25897 | }, |
| 25898 | "tableOfContents": { # A StructuralElement representing # A table of contents type of structural element. |
| 25899 | # a table of contents. |
| 25900 | "content": [ # The content of the table of contents. |
| 25901 | # Object with schema name: StructuralElement |
| 25902 | ], |
| 25903 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 25904 | # of this content. |
| 25905 | "A String", |
| 25906 | ], |
| 25907 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it |
| 25908 | # is a nested suggested change. If empty, then this is not a suggested |
| 25909 | # insertion. |
| 25910 | "A String", |
| 25911 | ], |
| 25912 | }, |
| 25913 | "startIndex": 42, # The zero-based start index of this structural element, in UTF-16 code |
| 25914 | # units. |
| 25915 | "paragraph": { # A StructuralElement representing a # A paragraph type of structural element. |
| 25916 | # paragraph. A paragraph is a range of content that is terminated with a |
| 25917 | # newline character. |
| 25918 | "elements": [ # The content of the paragraph broken down into its component parts. |
| 25919 | { # A ParagraphElement describes content within a |
| 25920 | # Paragraph. |
| 25921 | "endIndex": 42, # The zero-base end index of this paragraph element, exclusive, in UTF-16 |
| 25922 | # code units. |
| 25923 | "equation": { # A ParagraphElement representing an # An equation paragraph element. |
| 25924 | # equation. |
| 25925 | "suggestedInsertionIds": [ # The suggested insertion IDs. A Equation |
| 25926 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 25927 | # empty, then this is not a suggested insertion. |
| 25928 | "A String", |
| 25929 | ], |
| 25930 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 25931 | # of this content. |
| 25932 | "A String", |
| 25933 | ], |
| 25934 | }, |
| 25935 | "columnBreak": { # A ParagraphElement representing a # A column break paragraph element. |
| 25936 | # column break. A column break makes the subsequent text start at the top of |
| 25937 | # the next column. |
| 25938 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this ColumnBreak. |
| 25939 | # |
| 25940 | # Similar to text content, like text runs and footnote references, the text |
| 25941 | # style of a column break can affect content layout as well as the styling of |
| 25942 | # text inserted adjacent to it. |
| 25943 | # |
| 25944 | # Inherited text styles are represented as unset fields in this message. A |
| 25945 | # text style's parent depends on where the text style is defined: |
| 25946 | # |
| 25947 | # * The TextStyle of text in a Paragraph |
| 25948 | # inherits from the paragraph's corresponding named style type. |
| 25949 | # * The TextStyle on a named style |
| 25950 | # inherits from the normal text named style. |
| 25951 | # * The TextStyle of the normal text named style inherits |
| 25952 | # from the default text style in the Docs editor. |
| 25953 | # * The TextStyle on a Paragraph element |
| 25954 | # that is contained in a table may inherit its text style from the table |
| 25955 | # style. |
| 25956 | # |
| 25957 | # If the text style does not inherit from a parent, unsetting fields will |
| 25958 | # revert the style to a value matching the defaults in the Docs editor. |
| 25959 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 25960 | # or transparent, depending on the `color` field. |
| 25961 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 25962 | # a transparent color. |
| 25963 | "rgbColor": { # An RGB color. # The RGB color value. |
| 25964 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 25965 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 25966 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 25967 | }, |
| 25968 | }, |
| 25969 | }, |
| 25970 | "italic": True or False, # Whether or not the text is italicized. |
| 25971 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 25972 | # |
| 25973 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 25974 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 25975 | # The `font_size` itself is not affected by changes in this field. |
| 25976 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 25977 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 25978 | # |
| 25979 | # If an update request specifies values for both `weighted_font_family` and |
| 25980 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 25981 | # |
| 25982 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 25983 | # |
| 25984 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 25985 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 25986 | # is returned. |
| 25987 | "fontFamily": "A String", # The font family of the text. |
| 25988 | # |
| 25989 | # The font family can be any font from the Font menu in Docs or from |
| 25990 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 25991 | # unrecognized, the text is rendered in `Arial`. |
| 25992 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 25993 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 25994 | # numerical values described in the CSS 2.1 Specification, |
| 25995 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 25996 | # non-numerical values disallowed. |
| 25997 | # |
| 25998 | # The default value is `400` ("normal"). |
| 25999 | # |
| 26000 | # The font weight makes up just one component of the rendered font weight. |
| 26001 | # The rendered weight is determined by a combination of the `weight` and the |
| 26002 | # text style's resolved `bold` value, after accounting for inheritance: |
| 26003 | # |
| 26004 | # * If the text is bold and the weight is less than `400`, the rendered |
| 26005 | # weight is 400. |
| 26006 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 26007 | # is less than `700`, the rendered weight is `700`. |
| 26008 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 26009 | # equal to the weight. |
| 26010 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 26011 | }, |
| 26012 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 26013 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 26014 | "magnitude": 3.14, # The magnitude. |
| 26015 | "unit": "A String", # The units for magnitude. |
| 26016 | }, |
| 26017 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 26018 | # or transparent, depending on the `color` field. |
| 26019 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 26020 | # a transparent color. |
| 26021 | "rgbColor": { # An RGB color. # The RGB color value. |
| 26022 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26023 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26024 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26025 | }, |
| 26026 | }, |
| 26027 | }, |
| 26028 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 26029 | # are not inherited from parent text. |
| 26030 | # |
| 26031 | # Changing the link in an update request causes some other changes to the |
| 26032 | # text style of the range: |
| 26033 | # |
| 26034 | # * When setting a link, the text foreground color will be updated to the |
| 26035 | # default link color and the text will be underlined. If these fields are |
| 26036 | # modified in the same request, those values will be used instead of the |
| 26037 | # link defaults. |
| 26038 | # * Setting a link on a text range that overlaps with an existing link will |
| 26039 | # also update the existing link to point to the new URL. |
| 26040 | # * Links are not settable on newline characters. As a result, setting a link |
| 26041 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 26042 | # will separate the newline character(s) into their own text runs. The |
| 26043 | # link will be applied separately to the runs before and after the newline. |
| 26044 | # * Removing a link will update the text style of the range to match the |
| 26045 | # style of the preceding text (or the default text styles if the preceding |
| 26046 | # text is another link) unless different styles are being set in the same |
| 26047 | # request. |
| 26048 | "headingId": "A String", # The ID of a heading in this document. |
| 26049 | "url": "A String", # An external URL. |
| 26050 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 26051 | }, |
| 26052 | "underline": True or False, # Whether or not the text is underlined. |
| 26053 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 26054 | }, |
| 26055 | "suggestedInsertionIds": [ # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is |
| 26056 | # a nested suggested change. If empty, then this is not a suggested |
| 26057 | # insertion. |
| 26058 | "A String", |
| 26059 | ], |
| 26060 | "suggestedTextStyleChanges": { # The suggested text style changes to this ColumnBreak, keyed by suggestion |
| 26061 | # ID. |
| 26062 | "a_key": { # A suggested change to a TextStyle. |
| 26063 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 26064 | # the changes made in this suggestion. This can be used along with the |
| 26065 | # text_style_suggestion_state |
| 26066 | # to see which fields have changed and their new values. |
| 26067 | # |
| 26068 | # Inherited text styles are represented as unset fields in this message. A |
| 26069 | # text style's parent depends on where the text style is defined: |
| 26070 | # |
| 26071 | # * The TextStyle of text in a Paragraph |
| 26072 | # inherits from the paragraph's corresponding named style type. |
| 26073 | # * The TextStyle on a named style |
| 26074 | # inherits from the normal text named style. |
| 26075 | # * The TextStyle of the normal text named style inherits |
| 26076 | # from the default text style in the Docs editor. |
| 26077 | # * The TextStyle on a Paragraph element |
| 26078 | # that is contained in a table may inherit its text style from the table |
| 26079 | # style. |
| 26080 | # |
| 26081 | # If the text style does not inherit from a parent, unsetting fields will |
| 26082 | # revert the style to a value matching the defaults in the Docs editor. |
| 26083 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 26084 | # or transparent, depending on the `color` field. |
| 26085 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 26086 | # a transparent color. |
| 26087 | "rgbColor": { # An RGB color. # The RGB color value. |
| 26088 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26089 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26090 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26091 | }, |
| 26092 | }, |
| 26093 | }, |
| 26094 | "italic": True or False, # Whether or not the text is italicized. |
| 26095 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 26096 | # |
| 26097 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 26098 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 26099 | # The `font_size` itself is not affected by changes in this field. |
| 26100 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 26101 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 26102 | # |
| 26103 | # If an update request specifies values for both `weighted_font_family` and |
| 26104 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 26105 | # |
| 26106 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 26107 | # |
| 26108 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 26109 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 26110 | # is returned. |
| 26111 | "fontFamily": "A String", # The font family of the text. |
| 26112 | # |
| 26113 | # The font family can be any font from the Font menu in Docs or from |
| 26114 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 26115 | # unrecognized, the text is rendered in `Arial`. |
| 26116 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 26117 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 26118 | # numerical values described in the CSS 2.1 Specification, |
| 26119 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 26120 | # non-numerical values disallowed. |
| 26121 | # |
| 26122 | # The default value is `400` ("normal"). |
| 26123 | # |
| 26124 | # The font weight makes up just one component of the rendered font weight. |
| 26125 | # The rendered weight is determined by a combination of the `weight` and the |
| 26126 | # text style's resolved `bold` value, after accounting for inheritance: |
| 26127 | # |
| 26128 | # * If the text is bold and the weight is less than `400`, the rendered |
| 26129 | # weight is 400. |
| 26130 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 26131 | # is less than `700`, the rendered weight is `700`. |
| 26132 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 26133 | # equal to the weight. |
| 26134 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 26135 | }, |
| 26136 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 26137 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 26138 | "magnitude": 3.14, # The magnitude. |
| 26139 | "unit": "A String", # The units for magnitude. |
| 26140 | }, |
| 26141 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 26142 | # or transparent, depending on the `color` field. |
| 26143 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 26144 | # a transparent color. |
| 26145 | "rgbColor": { # An RGB color. # The RGB color value. |
| 26146 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26147 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26148 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26149 | }, |
| 26150 | }, |
| 26151 | }, |
| 26152 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 26153 | # are not inherited from parent text. |
| 26154 | # |
| 26155 | # Changing the link in an update request causes some other changes to the |
| 26156 | # text style of the range: |
| 26157 | # |
| 26158 | # * When setting a link, the text foreground color will be updated to the |
| 26159 | # default link color and the text will be underlined. If these fields are |
| 26160 | # modified in the same request, those values will be used instead of the |
| 26161 | # link defaults. |
| 26162 | # * Setting a link on a text range that overlaps with an existing link will |
| 26163 | # also update the existing link to point to the new URL. |
| 26164 | # * Links are not settable on newline characters. As a result, setting a link |
| 26165 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 26166 | # will separate the newline character(s) into their own text runs. The |
| 26167 | # link will be applied separately to the runs before and after the newline. |
| 26168 | # * Removing a link will update the text style of the range to match the |
| 26169 | # style of the preceding text (or the default text styles if the preceding |
| 26170 | # text is another link) unless different styles are being set in the same |
| 26171 | # request. |
| 26172 | "headingId": "A String", # The ID of a heading in this document. |
| 26173 | "url": "A String", # An external URL. |
| 26174 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 26175 | }, |
| 26176 | "underline": True or False, # Whether or not the text is underlined. |
| 26177 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 26178 | }, |
| 26179 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 26180 | # For any field set to true, there is a new suggested value. |
| 26181 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 26182 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 26183 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 26184 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 26185 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 26186 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 26187 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 26188 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 26189 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 26190 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 26191 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 26192 | }, |
| 26193 | }, |
| 26194 | }, |
| 26195 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 26196 | # of this content. |
| 26197 | "A String", |
| 26198 | ], |
| 26199 | }, |
| 26200 | "startIndex": 42, # The zero-based start index of this paragraph element, in UTF-16 code units. |
| 26201 | "pageBreak": { # A ParagraphElement representing a # A page break paragraph element. |
| 26202 | # page break. A page break makes the subsequent text start at the top of the |
| 26203 | # next page. |
| 26204 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this PageBreak. |
| 26205 | # |
| 26206 | # Similar to text content, like text runs and footnote references, the text |
| 26207 | # style of a page break can affect content layout as well as the styling of |
| 26208 | # text inserted adjacent to it. |
| 26209 | # |
| 26210 | # Inherited text styles are represented as unset fields in this message. A |
| 26211 | # text style's parent depends on where the text style is defined: |
| 26212 | # |
| 26213 | # * The TextStyle of text in a Paragraph |
| 26214 | # inherits from the paragraph's corresponding named style type. |
| 26215 | # * The TextStyle on a named style |
| 26216 | # inherits from the normal text named style. |
| 26217 | # * The TextStyle of the normal text named style inherits |
| 26218 | # from the default text style in the Docs editor. |
| 26219 | # * The TextStyle on a Paragraph element |
| 26220 | # that is contained in a table may inherit its text style from the table |
| 26221 | # style. |
| 26222 | # |
| 26223 | # If the text style does not inherit from a parent, unsetting fields will |
| 26224 | # revert the style to a value matching the defaults in the Docs editor. |
| 26225 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 26226 | # or transparent, depending on the `color` field. |
| 26227 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 26228 | # a transparent color. |
| 26229 | "rgbColor": { # An RGB color. # The RGB color value. |
| 26230 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26231 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26232 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26233 | }, |
| 26234 | }, |
| 26235 | }, |
| 26236 | "italic": True or False, # Whether or not the text is italicized. |
| 26237 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 26238 | # |
| 26239 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 26240 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 26241 | # The `font_size` itself is not affected by changes in this field. |
| 26242 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 26243 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 26244 | # |
| 26245 | # If an update request specifies values for both `weighted_font_family` and |
| 26246 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 26247 | # |
| 26248 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 26249 | # |
| 26250 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 26251 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 26252 | # is returned. |
| 26253 | "fontFamily": "A String", # The font family of the text. |
| 26254 | # |
| 26255 | # The font family can be any font from the Font menu in Docs or from |
| 26256 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 26257 | # unrecognized, the text is rendered in `Arial`. |
| 26258 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 26259 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 26260 | # numerical values described in the CSS 2.1 Specification, |
| 26261 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 26262 | # non-numerical values disallowed. |
| 26263 | # |
| 26264 | # The default value is `400` ("normal"). |
| 26265 | # |
| 26266 | # The font weight makes up just one component of the rendered font weight. |
| 26267 | # The rendered weight is determined by a combination of the `weight` and the |
| 26268 | # text style's resolved `bold` value, after accounting for inheritance: |
| 26269 | # |
| 26270 | # * If the text is bold and the weight is less than `400`, the rendered |
| 26271 | # weight is 400. |
| 26272 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 26273 | # is less than `700`, the rendered weight is `700`. |
| 26274 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 26275 | # equal to the weight. |
| 26276 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 26277 | }, |
| 26278 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 26279 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 26280 | "magnitude": 3.14, # The magnitude. |
| 26281 | "unit": "A String", # The units for magnitude. |
| 26282 | }, |
| 26283 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 26284 | # or transparent, depending on the `color` field. |
| 26285 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 26286 | # a transparent color. |
| 26287 | "rgbColor": { # An RGB color. # The RGB color value. |
| 26288 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26289 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26290 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26291 | }, |
| 26292 | }, |
| 26293 | }, |
| 26294 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 26295 | # are not inherited from parent text. |
| 26296 | # |
| 26297 | # Changing the link in an update request causes some other changes to the |
| 26298 | # text style of the range: |
| 26299 | # |
| 26300 | # * When setting a link, the text foreground color will be updated to the |
| 26301 | # default link color and the text will be underlined. If these fields are |
| 26302 | # modified in the same request, those values will be used instead of the |
| 26303 | # link defaults. |
| 26304 | # * Setting a link on a text range that overlaps with an existing link will |
| 26305 | # also update the existing link to point to the new URL. |
| 26306 | # * Links are not settable on newline characters. As a result, setting a link |
| 26307 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 26308 | # will separate the newline character(s) into their own text runs. The |
| 26309 | # link will be applied separately to the runs before and after the newline. |
| 26310 | # * Removing a link will update the text style of the range to match the |
| 26311 | # style of the preceding text (or the default text styles if the preceding |
| 26312 | # text is another link) unless different styles are being set in the same |
| 26313 | # request. |
| 26314 | "headingId": "A String", # The ID of a heading in this document. |
| 26315 | "url": "A String", # An external URL. |
| 26316 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 26317 | }, |
| 26318 | "underline": True or False, # Whether or not the text is underlined. |
| 26319 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 26320 | }, |
| 26321 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 26322 | # of this content. |
| 26323 | "A String", |
| 26324 | ], |
| 26325 | "suggestedTextStyleChanges": { # The suggested text style changes to this PageBreak, keyed by suggestion ID. |
| 26326 | "a_key": { # A suggested change to a TextStyle. |
| 26327 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 26328 | # the changes made in this suggestion. This can be used along with the |
| 26329 | # text_style_suggestion_state |
| 26330 | # to see which fields have changed and their new values. |
| 26331 | # |
| 26332 | # Inherited text styles are represented as unset fields in this message. A |
| 26333 | # text style's parent depends on where the text style is defined: |
| 26334 | # |
| 26335 | # * The TextStyle of text in a Paragraph |
| 26336 | # inherits from the paragraph's corresponding named style type. |
| 26337 | # * The TextStyle on a named style |
| 26338 | # inherits from the normal text named style. |
| 26339 | # * The TextStyle of the normal text named style inherits |
| 26340 | # from the default text style in the Docs editor. |
| 26341 | # * The TextStyle on a Paragraph element |
| 26342 | # that is contained in a table may inherit its text style from the table |
| 26343 | # style. |
| 26344 | # |
| 26345 | # If the text style does not inherit from a parent, unsetting fields will |
| 26346 | # revert the style to a value matching the defaults in the Docs editor. |
| 26347 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 26348 | # or transparent, depending on the `color` field. |
| 26349 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 26350 | # a transparent color. |
| 26351 | "rgbColor": { # An RGB color. # The RGB color value. |
| 26352 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26353 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26354 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26355 | }, |
| 26356 | }, |
| 26357 | }, |
| 26358 | "italic": True or False, # Whether or not the text is italicized. |
| 26359 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 26360 | # |
| 26361 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 26362 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 26363 | # The `font_size` itself is not affected by changes in this field. |
| 26364 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 26365 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 26366 | # |
| 26367 | # If an update request specifies values for both `weighted_font_family` and |
| 26368 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 26369 | # |
| 26370 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 26371 | # |
| 26372 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 26373 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 26374 | # is returned. |
| 26375 | "fontFamily": "A String", # The font family of the text. |
| 26376 | # |
| 26377 | # The font family can be any font from the Font menu in Docs or from |
| 26378 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 26379 | # unrecognized, the text is rendered in `Arial`. |
| 26380 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 26381 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 26382 | # numerical values described in the CSS 2.1 Specification, |
| 26383 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 26384 | # non-numerical values disallowed. |
| 26385 | # |
| 26386 | # The default value is `400` ("normal"). |
| 26387 | # |
| 26388 | # The font weight makes up just one component of the rendered font weight. |
| 26389 | # The rendered weight is determined by a combination of the `weight` and the |
| 26390 | # text style's resolved `bold` value, after accounting for inheritance: |
| 26391 | # |
| 26392 | # * If the text is bold and the weight is less than `400`, the rendered |
| 26393 | # weight is 400. |
| 26394 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 26395 | # is less than `700`, the rendered weight is `700`. |
| 26396 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 26397 | # equal to the weight. |
| 26398 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 26399 | }, |
| 26400 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 26401 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 26402 | "magnitude": 3.14, # The magnitude. |
| 26403 | "unit": "A String", # The units for magnitude. |
| 26404 | }, |
| 26405 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 26406 | # or transparent, depending on the `color` field. |
| 26407 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 26408 | # a transparent color. |
| 26409 | "rgbColor": { # An RGB color. # The RGB color value. |
| 26410 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26411 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26412 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26413 | }, |
| 26414 | }, |
| 26415 | }, |
| 26416 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 26417 | # are not inherited from parent text. |
| 26418 | # |
| 26419 | # Changing the link in an update request causes some other changes to the |
| 26420 | # text style of the range: |
| 26421 | # |
| 26422 | # * When setting a link, the text foreground color will be updated to the |
| 26423 | # default link color and the text will be underlined. If these fields are |
| 26424 | # modified in the same request, those values will be used instead of the |
| 26425 | # link defaults. |
| 26426 | # * Setting a link on a text range that overlaps with an existing link will |
| 26427 | # also update the existing link to point to the new URL. |
| 26428 | # * Links are not settable on newline characters. As a result, setting a link |
| 26429 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 26430 | # will separate the newline character(s) into their own text runs. The |
| 26431 | # link will be applied separately to the runs before and after the newline. |
| 26432 | # * Removing a link will update the text style of the range to match the |
| 26433 | # style of the preceding text (or the default text styles if the preceding |
| 26434 | # text is another link) unless different styles are being set in the same |
| 26435 | # request. |
| 26436 | "headingId": "A String", # The ID of a heading in this document. |
| 26437 | "url": "A String", # An external URL. |
| 26438 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 26439 | }, |
| 26440 | "underline": True or False, # Whether or not the text is underlined. |
| 26441 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 26442 | }, |
| 26443 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 26444 | # For any field set to true, there is a new suggested value. |
| 26445 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 26446 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 26447 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 26448 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 26449 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 26450 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 26451 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 26452 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 26453 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 26454 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 26455 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 26456 | }, |
| 26457 | }, |
| 26458 | }, |
| 26459 | "suggestedInsertionIds": [ # The suggested insertion IDs. A PageBreak |
| 26460 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 26461 | # empty, then this is not a suggested insertion. |
| 26462 | "A String", |
| 26463 | ], |
| 26464 | }, |
| 26465 | "horizontalRule": { # A ParagraphElement representing a # A horizontal rule paragraph element. |
| 26466 | # horizontal line. |
| 26467 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this HorizontalRule. |
| 26468 | # |
| 26469 | # Similar to text content, like text runs and footnote references, the text |
| 26470 | # style of a horizontal rule can affect content layout as well as the styling |
| 26471 | # of text inserted adjacent to it. |
| 26472 | # |
| 26473 | # Inherited text styles are represented as unset fields in this message. A |
| 26474 | # text style's parent depends on where the text style is defined: |
| 26475 | # |
| 26476 | # * The TextStyle of text in a Paragraph |
| 26477 | # inherits from the paragraph's corresponding named style type. |
| 26478 | # * The TextStyle on a named style |
| 26479 | # inherits from the normal text named style. |
| 26480 | # * The TextStyle of the normal text named style inherits |
| 26481 | # from the default text style in the Docs editor. |
| 26482 | # * The TextStyle on a Paragraph element |
| 26483 | # that is contained in a table may inherit its text style from the table |
| 26484 | # style. |
| 26485 | # |
| 26486 | # If the text style does not inherit from a parent, unsetting fields will |
| 26487 | # revert the style to a value matching the defaults in the Docs editor. |
| 26488 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 26489 | # or transparent, depending on the `color` field. |
| 26490 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 26491 | # a transparent color. |
| 26492 | "rgbColor": { # An RGB color. # The RGB color value. |
| 26493 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26494 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26495 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26496 | }, |
| 26497 | }, |
| 26498 | }, |
| 26499 | "italic": True or False, # Whether or not the text is italicized. |
| 26500 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 26501 | # |
| 26502 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 26503 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 26504 | # The `font_size` itself is not affected by changes in this field. |
| 26505 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 26506 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 26507 | # |
| 26508 | # If an update request specifies values for both `weighted_font_family` and |
| 26509 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 26510 | # |
| 26511 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 26512 | # |
| 26513 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 26514 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 26515 | # is returned. |
| 26516 | "fontFamily": "A String", # The font family of the text. |
| 26517 | # |
| 26518 | # The font family can be any font from the Font menu in Docs or from |
| 26519 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 26520 | # unrecognized, the text is rendered in `Arial`. |
| 26521 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 26522 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 26523 | # numerical values described in the CSS 2.1 Specification, |
| 26524 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 26525 | # non-numerical values disallowed. |
| 26526 | # |
| 26527 | # The default value is `400` ("normal"). |
| 26528 | # |
| 26529 | # The font weight makes up just one component of the rendered font weight. |
| 26530 | # The rendered weight is determined by a combination of the `weight` and the |
| 26531 | # text style's resolved `bold` value, after accounting for inheritance: |
| 26532 | # |
| 26533 | # * If the text is bold and the weight is less than `400`, the rendered |
| 26534 | # weight is 400. |
| 26535 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 26536 | # is less than `700`, the rendered weight is `700`. |
| 26537 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 26538 | # equal to the weight. |
| 26539 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 26540 | }, |
| 26541 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 26542 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 26543 | "magnitude": 3.14, # The magnitude. |
| 26544 | "unit": "A String", # The units for magnitude. |
| 26545 | }, |
| 26546 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 26547 | # or transparent, depending on the `color` field. |
| 26548 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 26549 | # a transparent color. |
| 26550 | "rgbColor": { # An RGB color. # The RGB color value. |
| 26551 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26552 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26553 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26554 | }, |
| 26555 | }, |
| 26556 | }, |
| 26557 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 26558 | # are not inherited from parent text. |
| 26559 | # |
| 26560 | # Changing the link in an update request causes some other changes to the |
| 26561 | # text style of the range: |
| 26562 | # |
| 26563 | # * When setting a link, the text foreground color will be updated to the |
| 26564 | # default link color and the text will be underlined. If these fields are |
| 26565 | # modified in the same request, those values will be used instead of the |
| 26566 | # link defaults. |
| 26567 | # * Setting a link on a text range that overlaps with an existing link will |
| 26568 | # also update the existing link to point to the new URL. |
| 26569 | # * Links are not settable on newline characters. As a result, setting a link |
| 26570 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 26571 | # will separate the newline character(s) into their own text runs. The |
| 26572 | # link will be applied separately to the runs before and after the newline. |
| 26573 | # * Removing a link will update the text style of the range to match the |
| 26574 | # style of the preceding text (or the default text styles if the preceding |
| 26575 | # text is another link) unless different styles are being set in the same |
| 26576 | # request. |
| 26577 | "headingId": "A String", # The ID of a heading in this document. |
| 26578 | "url": "A String", # An external URL. |
| 26579 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 26580 | }, |
| 26581 | "underline": True or False, # Whether or not the text is underlined. |
| 26582 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 26583 | }, |
| 26584 | "suggestedInsertionIds": [ # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it |
| 26585 | # is a nested suggested change. If empty, then this is not a suggested |
| 26586 | # insertion. |
| 26587 | "A String", |
| 26588 | ], |
| 26589 | "suggestedTextStyleChanges": { # The suggested text style changes to this HorizontalRule, keyed by |
| 26590 | # suggestion ID. |
| 26591 | "a_key": { # A suggested change to a TextStyle. |
| 26592 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 26593 | # the changes made in this suggestion. This can be used along with the |
| 26594 | # text_style_suggestion_state |
| 26595 | # to see which fields have changed and their new values. |
| 26596 | # |
| 26597 | # Inherited text styles are represented as unset fields in this message. A |
| 26598 | # text style's parent depends on where the text style is defined: |
| 26599 | # |
| 26600 | # * The TextStyle of text in a Paragraph |
| 26601 | # inherits from the paragraph's corresponding named style type. |
| 26602 | # * The TextStyle on a named style |
| 26603 | # inherits from the normal text named style. |
| 26604 | # * The TextStyle of the normal text named style inherits |
| 26605 | # from the default text style in the Docs editor. |
| 26606 | # * The TextStyle on a Paragraph element |
| 26607 | # that is contained in a table may inherit its text style from the table |
| 26608 | # style. |
| 26609 | # |
| 26610 | # If the text style does not inherit from a parent, unsetting fields will |
| 26611 | # revert the style to a value matching the defaults in the Docs editor. |
| 26612 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 26613 | # or transparent, depending on the `color` field. |
| 26614 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 26615 | # a transparent color. |
| 26616 | "rgbColor": { # An RGB color. # The RGB color value. |
| 26617 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26618 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26619 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26620 | }, |
| 26621 | }, |
| 26622 | }, |
| 26623 | "italic": True or False, # Whether or not the text is italicized. |
| 26624 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 26625 | # |
| 26626 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 26627 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 26628 | # The `font_size` itself is not affected by changes in this field. |
| 26629 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 26630 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 26631 | # |
| 26632 | # If an update request specifies values for both `weighted_font_family` and |
| 26633 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 26634 | # |
| 26635 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 26636 | # |
| 26637 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 26638 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 26639 | # is returned. |
| 26640 | "fontFamily": "A String", # The font family of the text. |
| 26641 | # |
| 26642 | # The font family can be any font from the Font menu in Docs or from |
| 26643 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 26644 | # unrecognized, the text is rendered in `Arial`. |
| 26645 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 26646 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 26647 | # numerical values described in the CSS 2.1 Specification, |
| 26648 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 26649 | # non-numerical values disallowed. |
| 26650 | # |
| 26651 | # The default value is `400` ("normal"). |
| 26652 | # |
| 26653 | # The font weight makes up just one component of the rendered font weight. |
| 26654 | # The rendered weight is determined by a combination of the `weight` and the |
| 26655 | # text style's resolved `bold` value, after accounting for inheritance: |
| 26656 | # |
| 26657 | # * If the text is bold and the weight is less than `400`, the rendered |
| 26658 | # weight is 400. |
| 26659 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 26660 | # is less than `700`, the rendered weight is `700`. |
| 26661 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 26662 | # equal to the weight. |
| 26663 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 26664 | }, |
| 26665 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 26666 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 26667 | "magnitude": 3.14, # The magnitude. |
| 26668 | "unit": "A String", # The units for magnitude. |
| 26669 | }, |
| 26670 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 26671 | # or transparent, depending on the `color` field. |
| 26672 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 26673 | # a transparent color. |
| 26674 | "rgbColor": { # An RGB color. # The RGB color value. |
| 26675 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26676 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26677 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26678 | }, |
| 26679 | }, |
| 26680 | }, |
| 26681 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 26682 | # are not inherited from parent text. |
| 26683 | # |
| 26684 | # Changing the link in an update request causes some other changes to the |
| 26685 | # text style of the range: |
| 26686 | # |
| 26687 | # * When setting a link, the text foreground color will be updated to the |
| 26688 | # default link color and the text will be underlined. If these fields are |
| 26689 | # modified in the same request, those values will be used instead of the |
| 26690 | # link defaults. |
| 26691 | # * Setting a link on a text range that overlaps with an existing link will |
| 26692 | # also update the existing link to point to the new URL. |
| 26693 | # * Links are not settable on newline characters. As a result, setting a link |
| 26694 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 26695 | # will separate the newline character(s) into their own text runs. The |
| 26696 | # link will be applied separately to the runs before and after the newline. |
| 26697 | # * Removing a link will update the text style of the range to match the |
| 26698 | # style of the preceding text (or the default text styles if the preceding |
| 26699 | # text is another link) unless different styles are being set in the same |
| 26700 | # request. |
| 26701 | "headingId": "A String", # The ID of a heading in this document. |
| 26702 | "url": "A String", # An external URL. |
| 26703 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 26704 | }, |
| 26705 | "underline": True or False, # Whether or not the text is underlined. |
| 26706 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 26707 | }, |
| 26708 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 26709 | # For any field set to true, there is a new suggested value. |
| 26710 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 26711 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 26712 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 26713 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 26714 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 26715 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 26716 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 26717 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 26718 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 26719 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 26720 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 26721 | }, |
| 26722 | }, |
| 26723 | }, |
| 26724 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 26725 | # of this content. |
| 26726 | "A String", |
| 26727 | ], |
| 26728 | }, |
| 26729 | "textRun": { # A ParagraphElement that represents a # A text run paragraph element. |
| 26730 | # run of text that all has the same styling. |
| 26731 | "content": "A String", # The text of this run. |
| 26732 | # |
| 26733 | # Any non-text elements in the run are replaced with the Unicode character |
| 26734 | # U+E907. |
| 26735 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this run. |
| 26736 | # |
| 26737 | # Inherited text styles are represented as unset fields in this message. A |
| 26738 | # text style's parent depends on where the text style is defined: |
| 26739 | # |
| 26740 | # * The TextStyle of text in a Paragraph |
| 26741 | # inherits from the paragraph's corresponding named style type. |
| 26742 | # * The TextStyle on a named style |
| 26743 | # inherits from the normal text named style. |
| 26744 | # * The TextStyle of the normal text named style inherits |
| 26745 | # from the default text style in the Docs editor. |
| 26746 | # * The TextStyle on a Paragraph element |
| 26747 | # that is contained in a table may inherit its text style from the table |
| 26748 | # style. |
| 26749 | # |
| 26750 | # If the text style does not inherit from a parent, unsetting fields will |
| 26751 | # revert the style to a value matching the defaults in the Docs editor. |
| 26752 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 26753 | # or transparent, depending on the `color` field. |
| 26754 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 26755 | # a transparent color. |
| 26756 | "rgbColor": { # An RGB color. # The RGB color value. |
| 26757 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26758 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26759 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26760 | }, |
| 26761 | }, |
| 26762 | }, |
| 26763 | "italic": True or False, # Whether or not the text is italicized. |
| 26764 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 26765 | # |
| 26766 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 26767 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 26768 | # The `font_size` itself is not affected by changes in this field. |
| 26769 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 26770 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 26771 | # |
| 26772 | # If an update request specifies values for both `weighted_font_family` and |
| 26773 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 26774 | # |
| 26775 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 26776 | # |
| 26777 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 26778 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 26779 | # is returned. |
| 26780 | "fontFamily": "A String", # The font family of the text. |
| 26781 | # |
| 26782 | # The font family can be any font from the Font menu in Docs or from |
| 26783 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 26784 | # unrecognized, the text is rendered in `Arial`. |
| 26785 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 26786 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 26787 | # numerical values described in the CSS 2.1 Specification, |
| 26788 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 26789 | # non-numerical values disallowed. |
| 26790 | # |
| 26791 | # The default value is `400` ("normal"). |
| 26792 | # |
| 26793 | # The font weight makes up just one component of the rendered font weight. |
| 26794 | # The rendered weight is determined by a combination of the `weight` and the |
| 26795 | # text style's resolved `bold` value, after accounting for inheritance: |
| 26796 | # |
| 26797 | # * If the text is bold and the weight is less than `400`, the rendered |
| 26798 | # weight is 400. |
| 26799 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 26800 | # is less than `700`, the rendered weight is `700`. |
| 26801 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 26802 | # equal to the weight. |
| 26803 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 26804 | }, |
| 26805 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 26806 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 26807 | "magnitude": 3.14, # The magnitude. |
| 26808 | "unit": "A String", # The units for magnitude. |
| 26809 | }, |
| 26810 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 26811 | # or transparent, depending on the `color` field. |
| 26812 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 26813 | # a transparent color. |
| 26814 | "rgbColor": { # An RGB color. # The RGB color value. |
| 26815 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26816 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26817 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26818 | }, |
| 26819 | }, |
| 26820 | }, |
| 26821 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 26822 | # are not inherited from parent text. |
| 26823 | # |
| 26824 | # Changing the link in an update request causes some other changes to the |
| 26825 | # text style of the range: |
| 26826 | # |
| 26827 | # * When setting a link, the text foreground color will be updated to the |
| 26828 | # default link color and the text will be underlined. If these fields are |
| 26829 | # modified in the same request, those values will be used instead of the |
| 26830 | # link defaults. |
| 26831 | # * Setting a link on a text range that overlaps with an existing link will |
| 26832 | # also update the existing link to point to the new URL. |
| 26833 | # * Links are not settable on newline characters. As a result, setting a link |
| 26834 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 26835 | # will separate the newline character(s) into their own text runs. The |
| 26836 | # link will be applied separately to the runs before and after the newline. |
| 26837 | # * Removing a link will update the text style of the range to match the |
| 26838 | # style of the preceding text (or the default text styles if the preceding |
| 26839 | # text is another link) unless different styles are being set in the same |
| 26840 | # request. |
| 26841 | "headingId": "A String", # The ID of a heading in this document. |
| 26842 | "url": "A String", # An external URL. |
| 26843 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 26844 | }, |
| 26845 | "underline": True or False, # Whether or not the text is underlined. |
| 26846 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 26847 | }, |
| 26848 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TextRun may |
| 26849 | # have multiple insertion IDs if it is a nested suggested change. If empty, |
| 26850 | # then this is not a suggested insertion. |
| 26851 | "A String", |
| 26852 | ], |
| 26853 | "suggestedTextStyleChanges": { # The suggested text style changes to this run, keyed by suggestion ID. |
| 26854 | "a_key": { # A suggested change to a TextStyle. |
| 26855 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 26856 | # the changes made in this suggestion. This can be used along with the |
| 26857 | # text_style_suggestion_state |
| 26858 | # to see which fields have changed and their new values. |
| 26859 | # |
| 26860 | # Inherited text styles are represented as unset fields in this message. A |
| 26861 | # text style's parent depends on where the text style is defined: |
| 26862 | # |
| 26863 | # * The TextStyle of text in a Paragraph |
| 26864 | # inherits from the paragraph's corresponding named style type. |
| 26865 | # * The TextStyle on a named style |
| 26866 | # inherits from the normal text named style. |
| 26867 | # * The TextStyle of the normal text named style inherits |
| 26868 | # from the default text style in the Docs editor. |
| 26869 | # * The TextStyle on a Paragraph element |
| 26870 | # that is contained in a table may inherit its text style from the table |
| 26871 | # style. |
| 26872 | # |
| 26873 | # If the text style does not inherit from a parent, unsetting fields will |
| 26874 | # revert the style to a value matching the defaults in the Docs editor. |
| 26875 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 26876 | # or transparent, depending on the `color` field. |
| 26877 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 26878 | # a transparent color. |
| 26879 | "rgbColor": { # An RGB color. # The RGB color value. |
| 26880 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26881 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26882 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26883 | }, |
| 26884 | }, |
| 26885 | }, |
| 26886 | "italic": True or False, # Whether or not the text is italicized. |
| 26887 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 26888 | # |
| 26889 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 26890 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 26891 | # The `font_size` itself is not affected by changes in this field. |
| 26892 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 26893 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 26894 | # |
| 26895 | # If an update request specifies values for both `weighted_font_family` and |
| 26896 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 26897 | # |
| 26898 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 26899 | # |
| 26900 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 26901 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 26902 | # is returned. |
| 26903 | "fontFamily": "A String", # The font family of the text. |
| 26904 | # |
| 26905 | # The font family can be any font from the Font menu in Docs or from |
| 26906 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 26907 | # unrecognized, the text is rendered in `Arial`. |
| 26908 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 26909 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 26910 | # numerical values described in the CSS 2.1 Specification, |
| 26911 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 26912 | # non-numerical values disallowed. |
| 26913 | # |
| 26914 | # The default value is `400` ("normal"). |
| 26915 | # |
| 26916 | # The font weight makes up just one component of the rendered font weight. |
| 26917 | # The rendered weight is determined by a combination of the `weight` and the |
| 26918 | # text style's resolved `bold` value, after accounting for inheritance: |
| 26919 | # |
| 26920 | # * If the text is bold and the weight is less than `400`, the rendered |
| 26921 | # weight is 400. |
| 26922 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 26923 | # is less than `700`, the rendered weight is `700`. |
| 26924 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 26925 | # equal to the weight. |
| 26926 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 26927 | }, |
| 26928 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 26929 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 26930 | "magnitude": 3.14, # The magnitude. |
| 26931 | "unit": "A String", # The units for magnitude. |
| 26932 | }, |
| 26933 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 26934 | # or transparent, depending on the `color` field. |
| 26935 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 26936 | # a transparent color. |
| 26937 | "rgbColor": { # An RGB color. # The RGB color value. |
| 26938 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 26939 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 26940 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 26941 | }, |
| 26942 | }, |
| 26943 | }, |
| 26944 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 26945 | # are not inherited from parent text. |
| 26946 | # |
| 26947 | # Changing the link in an update request causes some other changes to the |
| 26948 | # text style of the range: |
| 26949 | # |
| 26950 | # * When setting a link, the text foreground color will be updated to the |
| 26951 | # default link color and the text will be underlined. If these fields are |
| 26952 | # modified in the same request, those values will be used instead of the |
| 26953 | # link defaults. |
| 26954 | # * Setting a link on a text range that overlaps with an existing link will |
| 26955 | # also update the existing link to point to the new URL. |
| 26956 | # * Links are not settable on newline characters. As a result, setting a link |
| 26957 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 26958 | # will separate the newline character(s) into their own text runs. The |
| 26959 | # link will be applied separately to the runs before and after the newline. |
| 26960 | # * Removing a link will update the text style of the range to match the |
| 26961 | # style of the preceding text (or the default text styles if the preceding |
| 26962 | # text is another link) unless different styles are being set in the same |
| 26963 | # request. |
| 26964 | "headingId": "A String", # The ID of a heading in this document. |
| 26965 | "url": "A String", # An external URL. |
| 26966 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 26967 | }, |
| 26968 | "underline": True or False, # Whether or not the text is underlined. |
| 26969 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 26970 | }, |
| 26971 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 26972 | # For any field set to true, there is a new suggested value. |
| 26973 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 26974 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 26975 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 26976 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 26977 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 26978 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 26979 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 26980 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 26981 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 26982 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 26983 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 26984 | }, |
| 26985 | }, |
| 26986 | }, |
| 26987 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 26988 | # of this content. |
| 26989 | "A String", |
| 26990 | ], |
| 26991 | }, |
| 26992 | "autoText": { # A ParagraphElement representing a # An auto text paragraph element. |
| 26993 | # spot in the text that is dynamically replaced with content that can change |
| 26994 | # over time, like a page number. |
| 26995 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this AutoText. |
| 26996 | # |
| 26997 | # Inherited text styles are represented as unset fields in this message. A |
| 26998 | # text style's parent depends on where the text style is defined: |
| 26999 | # |
| 27000 | # * The TextStyle of text in a Paragraph |
| 27001 | # inherits from the paragraph's corresponding named style type. |
| 27002 | # * The TextStyle on a named style |
| 27003 | # inherits from the normal text named style. |
| 27004 | # * The TextStyle of the normal text named style inherits |
| 27005 | # from the default text style in the Docs editor. |
| 27006 | # * The TextStyle on a Paragraph element |
| 27007 | # that is contained in a table may inherit its text style from the table |
| 27008 | # style. |
| 27009 | # |
| 27010 | # If the text style does not inherit from a parent, unsetting fields will |
| 27011 | # revert the style to a value matching the defaults in the Docs editor. |
| 27012 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 27013 | # or transparent, depending on the `color` field. |
| 27014 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 27015 | # a transparent color. |
| 27016 | "rgbColor": { # An RGB color. # The RGB color value. |
| 27017 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27018 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27019 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27020 | }, |
| 27021 | }, |
| 27022 | }, |
| 27023 | "italic": True or False, # Whether or not the text is italicized. |
| 27024 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 27025 | # |
| 27026 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 27027 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 27028 | # The `font_size` itself is not affected by changes in this field. |
| 27029 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 27030 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 27031 | # |
| 27032 | # If an update request specifies values for both `weighted_font_family` and |
| 27033 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 27034 | # |
| 27035 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 27036 | # |
| 27037 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 27038 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 27039 | # is returned. |
| 27040 | "fontFamily": "A String", # The font family of the text. |
| 27041 | # |
| 27042 | # The font family can be any font from the Font menu in Docs or from |
| 27043 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 27044 | # unrecognized, the text is rendered in `Arial`. |
| 27045 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 27046 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 27047 | # numerical values described in the CSS 2.1 Specification, |
| 27048 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 27049 | # non-numerical values disallowed. |
| 27050 | # |
| 27051 | # The default value is `400` ("normal"). |
| 27052 | # |
| 27053 | # The font weight makes up just one component of the rendered font weight. |
| 27054 | # The rendered weight is determined by a combination of the `weight` and the |
| 27055 | # text style's resolved `bold` value, after accounting for inheritance: |
| 27056 | # |
| 27057 | # * If the text is bold and the weight is less than `400`, the rendered |
| 27058 | # weight is 400. |
| 27059 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 27060 | # is less than `700`, the rendered weight is `700`. |
| 27061 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 27062 | # equal to the weight. |
| 27063 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 27064 | }, |
| 27065 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 27066 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 27067 | "magnitude": 3.14, # The magnitude. |
| 27068 | "unit": "A String", # The units for magnitude. |
| 27069 | }, |
| 27070 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 27071 | # or transparent, depending on the `color` field. |
| 27072 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 27073 | # a transparent color. |
| 27074 | "rgbColor": { # An RGB color. # The RGB color value. |
| 27075 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27076 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27077 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27078 | }, |
| 27079 | }, |
| 27080 | }, |
| 27081 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 27082 | # are not inherited from parent text. |
| 27083 | # |
| 27084 | # Changing the link in an update request causes some other changes to the |
| 27085 | # text style of the range: |
| 27086 | # |
| 27087 | # * When setting a link, the text foreground color will be updated to the |
| 27088 | # default link color and the text will be underlined. If these fields are |
| 27089 | # modified in the same request, those values will be used instead of the |
| 27090 | # link defaults. |
| 27091 | # * Setting a link on a text range that overlaps with an existing link will |
| 27092 | # also update the existing link to point to the new URL. |
| 27093 | # * Links are not settable on newline characters. As a result, setting a link |
| 27094 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 27095 | # will separate the newline character(s) into their own text runs. The |
| 27096 | # link will be applied separately to the runs before and after the newline. |
| 27097 | # * Removing a link will update the text style of the range to match the |
| 27098 | # style of the preceding text (or the default text styles if the preceding |
| 27099 | # text is another link) unless different styles are being set in the same |
| 27100 | # request. |
| 27101 | "headingId": "A String", # The ID of a heading in this document. |
| 27102 | "url": "A String", # An external URL. |
| 27103 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 27104 | }, |
| 27105 | "underline": True or False, # Whether or not the text is underlined. |
| 27106 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 27107 | }, |
| 27108 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 27109 | # of this content. |
| 27110 | "A String", |
| 27111 | ], |
| 27112 | "suggestedTextStyleChanges": { # The suggested text style changes to this AutoText, keyed by suggestion ID. |
| 27113 | "a_key": { # A suggested change to a TextStyle. |
| 27114 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 27115 | # the changes made in this suggestion. This can be used along with the |
| 27116 | # text_style_suggestion_state |
| 27117 | # to see which fields have changed and their new values. |
| 27118 | # |
| 27119 | # Inherited text styles are represented as unset fields in this message. A |
| 27120 | # text style's parent depends on where the text style is defined: |
| 27121 | # |
| 27122 | # * The TextStyle of text in a Paragraph |
| 27123 | # inherits from the paragraph's corresponding named style type. |
| 27124 | # * The TextStyle on a named style |
| 27125 | # inherits from the normal text named style. |
| 27126 | # * The TextStyle of the normal text named style inherits |
| 27127 | # from the default text style in the Docs editor. |
| 27128 | # * The TextStyle on a Paragraph element |
| 27129 | # that is contained in a table may inherit its text style from the table |
| 27130 | # style. |
| 27131 | # |
| 27132 | # If the text style does not inherit from a parent, unsetting fields will |
| 27133 | # revert the style to a value matching the defaults in the Docs editor. |
| 27134 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 27135 | # or transparent, depending on the `color` field. |
| 27136 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 27137 | # a transparent color. |
| 27138 | "rgbColor": { # An RGB color. # The RGB color value. |
| 27139 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27140 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27141 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27142 | }, |
| 27143 | }, |
| 27144 | }, |
| 27145 | "italic": True or False, # Whether or not the text is italicized. |
| 27146 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 27147 | # |
| 27148 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 27149 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 27150 | # The `font_size` itself is not affected by changes in this field. |
| 27151 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 27152 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 27153 | # |
| 27154 | # If an update request specifies values for both `weighted_font_family` and |
| 27155 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 27156 | # |
| 27157 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 27158 | # |
| 27159 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 27160 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 27161 | # is returned. |
| 27162 | "fontFamily": "A String", # The font family of the text. |
| 27163 | # |
| 27164 | # The font family can be any font from the Font menu in Docs or from |
| 27165 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 27166 | # unrecognized, the text is rendered in `Arial`. |
| 27167 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 27168 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 27169 | # numerical values described in the CSS 2.1 Specification, |
| 27170 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 27171 | # non-numerical values disallowed. |
| 27172 | # |
| 27173 | # The default value is `400` ("normal"). |
| 27174 | # |
| 27175 | # The font weight makes up just one component of the rendered font weight. |
| 27176 | # The rendered weight is determined by a combination of the `weight` and the |
| 27177 | # text style's resolved `bold` value, after accounting for inheritance: |
| 27178 | # |
| 27179 | # * If the text is bold and the weight is less than `400`, the rendered |
| 27180 | # weight is 400. |
| 27181 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 27182 | # is less than `700`, the rendered weight is `700`. |
| 27183 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 27184 | # equal to the weight. |
| 27185 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 27186 | }, |
| 27187 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 27188 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 27189 | "magnitude": 3.14, # The magnitude. |
| 27190 | "unit": "A String", # The units for magnitude. |
| 27191 | }, |
| 27192 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 27193 | # or transparent, depending on the `color` field. |
| 27194 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 27195 | # a transparent color. |
| 27196 | "rgbColor": { # An RGB color. # The RGB color value. |
| 27197 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27198 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27199 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27200 | }, |
| 27201 | }, |
| 27202 | }, |
| 27203 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 27204 | # are not inherited from parent text. |
| 27205 | # |
| 27206 | # Changing the link in an update request causes some other changes to the |
| 27207 | # text style of the range: |
| 27208 | # |
| 27209 | # * When setting a link, the text foreground color will be updated to the |
| 27210 | # default link color and the text will be underlined. If these fields are |
| 27211 | # modified in the same request, those values will be used instead of the |
| 27212 | # link defaults. |
| 27213 | # * Setting a link on a text range that overlaps with an existing link will |
| 27214 | # also update the existing link to point to the new URL. |
| 27215 | # * Links are not settable on newline characters. As a result, setting a link |
| 27216 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 27217 | # will separate the newline character(s) into their own text runs. The |
| 27218 | # link will be applied separately to the runs before and after the newline. |
| 27219 | # * Removing a link will update the text style of the range to match the |
| 27220 | # style of the preceding text (or the default text styles if the preceding |
| 27221 | # text is another link) unless different styles are being set in the same |
| 27222 | # request. |
| 27223 | "headingId": "A String", # The ID of a heading in this document. |
| 27224 | "url": "A String", # An external URL. |
| 27225 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 27226 | }, |
| 27227 | "underline": True or False, # Whether or not the text is underlined. |
| 27228 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 27229 | }, |
| 27230 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 27231 | # For any field set to true, there is a new suggested value. |
| 27232 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 27233 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 27234 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 27235 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 27236 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 27237 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 27238 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 27239 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 27240 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 27241 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 27242 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 27243 | }, |
| 27244 | }, |
| 27245 | }, |
| 27246 | "type": "A String", # The type of this auto text. |
| 27247 | "suggestedInsertionIds": [ # The suggested insertion IDs. An AutoText |
| 27248 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 27249 | # empty, then this is not a suggested insertion. |
| 27250 | "A String", |
| 27251 | ], |
| 27252 | }, |
| 27253 | "inlineObjectElement": { # A ParagraphElement that contains # An inline object paragraph element. |
| 27254 | # an InlineObject. |
| 27255 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this InlineObjectElement. |
| 27256 | # |
| 27257 | # Similar to text content, like text runs and footnote references, the text |
| 27258 | # style of an inline object element can affect content layout as well as the |
| 27259 | # styling of text inserted adjacent to it. |
| 27260 | # |
| 27261 | # Inherited text styles are represented as unset fields in this message. A |
| 27262 | # text style's parent depends on where the text style is defined: |
| 27263 | # |
| 27264 | # * The TextStyle of text in a Paragraph |
| 27265 | # inherits from the paragraph's corresponding named style type. |
| 27266 | # * The TextStyle on a named style |
| 27267 | # inherits from the normal text named style. |
| 27268 | # * The TextStyle of the normal text named style inherits |
| 27269 | # from the default text style in the Docs editor. |
| 27270 | # * The TextStyle on a Paragraph element |
| 27271 | # that is contained in a table may inherit its text style from the table |
| 27272 | # style. |
| 27273 | # |
| 27274 | # If the text style does not inherit from a parent, unsetting fields will |
| 27275 | # revert the style to a value matching the defaults in the Docs editor. |
| 27276 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 27277 | # or transparent, depending on the `color` field. |
| 27278 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 27279 | # a transparent color. |
| 27280 | "rgbColor": { # An RGB color. # The RGB color value. |
| 27281 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27282 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27283 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27284 | }, |
| 27285 | }, |
| 27286 | }, |
| 27287 | "italic": True or False, # Whether or not the text is italicized. |
| 27288 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 27289 | # |
| 27290 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 27291 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 27292 | # The `font_size` itself is not affected by changes in this field. |
| 27293 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 27294 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 27295 | # |
| 27296 | # If an update request specifies values for both `weighted_font_family` and |
| 27297 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 27298 | # |
| 27299 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 27300 | # |
| 27301 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 27302 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 27303 | # is returned. |
| 27304 | "fontFamily": "A String", # The font family of the text. |
| 27305 | # |
| 27306 | # The font family can be any font from the Font menu in Docs or from |
| 27307 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 27308 | # unrecognized, the text is rendered in `Arial`. |
| 27309 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 27310 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 27311 | # numerical values described in the CSS 2.1 Specification, |
| 27312 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 27313 | # non-numerical values disallowed. |
| 27314 | # |
| 27315 | # The default value is `400` ("normal"). |
| 27316 | # |
| 27317 | # The font weight makes up just one component of the rendered font weight. |
| 27318 | # The rendered weight is determined by a combination of the `weight` and the |
| 27319 | # text style's resolved `bold` value, after accounting for inheritance: |
| 27320 | # |
| 27321 | # * If the text is bold and the weight is less than `400`, the rendered |
| 27322 | # weight is 400. |
| 27323 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 27324 | # is less than `700`, the rendered weight is `700`. |
| 27325 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 27326 | # equal to the weight. |
| 27327 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 27328 | }, |
| 27329 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 27330 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 27331 | "magnitude": 3.14, # The magnitude. |
| 27332 | "unit": "A String", # The units for magnitude. |
| 27333 | }, |
| 27334 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 27335 | # or transparent, depending on the `color` field. |
| 27336 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 27337 | # a transparent color. |
| 27338 | "rgbColor": { # An RGB color. # The RGB color value. |
| 27339 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27340 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27341 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27342 | }, |
| 27343 | }, |
| 27344 | }, |
| 27345 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 27346 | # are not inherited from parent text. |
| 27347 | # |
| 27348 | # Changing the link in an update request causes some other changes to the |
| 27349 | # text style of the range: |
| 27350 | # |
| 27351 | # * When setting a link, the text foreground color will be updated to the |
| 27352 | # default link color and the text will be underlined. If these fields are |
| 27353 | # modified in the same request, those values will be used instead of the |
| 27354 | # link defaults. |
| 27355 | # * Setting a link on a text range that overlaps with an existing link will |
| 27356 | # also update the existing link to point to the new URL. |
| 27357 | # * Links are not settable on newline characters. As a result, setting a link |
| 27358 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 27359 | # will separate the newline character(s) into their own text runs. The |
| 27360 | # link will be applied separately to the runs before and after the newline. |
| 27361 | # * Removing a link will update the text style of the range to match the |
| 27362 | # style of the preceding text (or the default text styles if the preceding |
| 27363 | # text is another link) unless different styles are being set in the same |
| 27364 | # request. |
| 27365 | "headingId": "A String", # The ID of a heading in this document. |
| 27366 | "url": "A String", # An external URL. |
| 27367 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 27368 | }, |
| 27369 | "underline": True or False, # Whether or not the text is underlined. |
| 27370 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 27371 | }, |
| 27372 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 27373 | # of this content. |
| 27374 | "A String", |
| 27375 | ], |
| 27376 | "suggestedTextStyleChanges": { # The suggested text style changes to this InlineObject, keyed by suggestion |
| 27377 | # ID. |
| 27378 | "a_key": { # A suggested change to a TextStyle. |
| 27379 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 27380 | # the changes made in this suggestion. This can be used along with the |
| 27381 | # text_style_suggestion_state |
| 27382 | # to see which fields have changed and their new values. |
| 27383 | # |
| 27384 | # Inherited text styles are represented as unset fields in this message. A |
| 27385 | # text style's parent depends on where the text style is defined: |
| 27386 | # |
| 27387 | # * The TextStyle of text in a Paragraph |
| 27388 | # inherits from the paragraph's corresponding named style type. |
| 27389 | # * The TextStyle on a named style |
| 27390 | # inherits from the normal text named style. |
| 27391 | # * The TextStyle of the normal text named style inherits |
| 27392 | # from the default text style in the Docs editor. |
| 27393 | # * The TextStyle on a Paragraph element |
| 27394 | # that is contained in a table may inherit its text style from the table |
| 27395 | # style. |
| 27396 | # |
| 27397 | # If the text style does not inherit from a parent, unsetting fields will |
| 27398 | # revert the style to a value matching the defaults in the Docs editor. |
| 27399 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 27400 | # or transparent, depending on the `color` field. |
| 27401 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 27402 | # a transparent color. |
| 27403 | "rgbColor": { # An RGB color. # The RGB color value. |
| 27404 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27405 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27406 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27407 | }, |
| 27408 | }, |
| 27409 | }, |
| 27410 | "italic": True or False, # Whether or not the text is italicized. |
| 27411 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 27412 | # |
| 27413 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 27414 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 27415 | # The `font_size` itself is not affected by changes in this field. |
| 27416 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 27417 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 27418 | # |
| 27419 | # If an update request specifies values for both `weighted_font_family` and |
| 27420 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 27421 | # |
| 27422 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 27423 | # |
| 27424 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 27425 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 27426 | # is returned. |
| 27427 | "fontFamily": "A String", # The font family of the text. |
| 27428 | # |
| 27429 | # The font family can be any font from the Font menu in Docs or from |
| 27430 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 27431 | # unrecognized, the text is rendered in `Arial`. |
| 27432 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 27433 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 27434 | # numerical values described in the CSS 2.1 Specification, |
| 27435 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 27436 | # non-numerical values disallowed. |
| 27437 | # |
| 27438 | # The default value is `400` ("normal"). |
| 27439 | # |
| 27440 | # The font weight makes up just one component of the rendered font weight. |
| 27441 | # The rendered weight is determined by a combination of the `weight` and the |
| 27442 | # text style's resolved `bold` value, after accounting for inheritance: |
| 27443 | # |
| 27444 | # * If the text is bold and the weight is less than `400`, the rendered |
| 27445 | # weight is 400. |
| 27446 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 27447 | # is less than `700`, the rendered weight is `700`. |
| 27448 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 27449 | # equal to the weight. |
| 27450 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 27451 | }, |
| 27452 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 27453 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 27454 | "magnitude": 3.14, # The magnitude. |
| 27455 | "unit": "A String", # The units for magnitude. |
| 27456 | }, |
| 27457 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 27458 | # or transparent, depending on the `color` field. |
| 27459 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 27460 | # a transparent color. |
| 27461 | "rgbColor": { # An RGB color. # The RGB color value. |
| 27462 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27463 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27464 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27465 | }, |
| 27466 | }, |
| 27467 | }, |
| 27468 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 27469 | # are not inherited from parent text. |
| 27470 | # |
| 27471 | # Changing the link in an update request causes some other changes to the |
| 27472 | # text style of the range: |
| 27473 | # |
| 27474 | # * When setting a link, the text foreground color will be updated to the |
| 27475 | # default link color and the text will be underlined. If these fields are |
| 27476 | # modified in the same request, those values will be used instead of the |
| 27477 | # link defaults. |
| 27478 | # * Setting a link on a text range that overlaps with an existing link will |
| 27479 | # also update the existing link to point to the new URL. |
| 27480 | # * Links are not settable on newline characters. As a result, setting a link |
| 27481 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 27482 | # will separate the newline character(s) into their own text runs. The |
| 27483 | # link will be applied separately to the runs before and after the newline. |
| 27484 | # * Removing a link will update the text style of the range to match the |
| 27485 | # style of the preceding text (or the default text styles if the preceding |
| 27486 | # text is another link) unless different styles are being set in the same |
| 27487 | # request. |
| 27488 | "headingId": "A String", # The ID of a heading in this document. |
| 27489 | "url": "A String", # An external URL. |
| 27490 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 27491 | }, |
| 27492 | "underline": True or False, # Whether or not the text is underlined. |
| 27493 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 27494 | }, |
| 27495 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 27496 | # For any field set to true, there is a new suggested value. |
| 27497 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 27498 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 27499 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 27500 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 27501 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 27502 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 27503 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 27504 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 27505 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 27506 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 27507 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 27508 | }, |
| 27509 | }, |
| 27510 | }, |
| 27511 | "inlineObjectId": "A String", # The ID of the InlineObject this |
| 27512 | # element contains. |
| 27513 | "suggestedInsertionIds": [ # The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs |
| 27514 | # if it is a nested suggested change. If empty, then this is not a suggested |
| 27515 | # insertion. |
| 27516 | "A String", |
| 27517 | ], |
| 27518 | }, |
| 27519 | "footnoteReference": { # A ParagraphElement representing a # A footnote reference paragraph element. |
| 27520 | # footnote reference. A footnote reference is the inline content rendered with |
| 27521 | # a number and is used to identify the footnote. |
| 27522 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this FootnoteReference. |
| 27523 | # |
| 27524 | # Inherited text styles are represented as unset fields in this message. A |
| 27525 | # text style's parent depends on where the text style is defined: |
| 27526 | # |
| 27527 | # * The TextStyle of text in a Paragraph |
| 27528 | # inherits from the paragraph's corresponding named style type. |
| 27529 | # * The TextStyle on a named style |
| 27530 | # inherits from the normal text named style. |
| 27531 | # * The TextStyle of the normal text named style inherits |
| 27532 | # from the default text style in the Docs editor. |
| 27533 | # * The TextStyle on a Paragraph element |
| 27534 | # that is contained in a table may inherit its text style from the table |
| 27535 | # style. |
| 27536 | # |
| 27537 | # If the text style does not inherit from a parent, unsetting fields will |
| 27538 | # revert the style to a value matching the defaults in the Docs editor. |
| 27539 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 27540 | # or transparent, depending on the `color` field. |
| 27541 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 27542 | # a transparent color. |
| 27543 | "rgbColor": { # An RGB color. # The RGB color value. |
| 27544 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27545 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27546 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27547 | }, |
| 27548 | }, |
| 27549 | }, |
| 27550 | "italic": True or False, # Whether or not the text is italicized. |
| 27551 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 27552 | # |
| 27553 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 27554 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 27555 | # The `font_size` itself is not affected by changes in this field. |
| 27556 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 27557 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 27558 | # |
| 27559 | # If an update request specifies values for both `weighted_font_family` and |
| 27560 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 27561 | # |
| 27562 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 27563 | # |
| 27564 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 27565 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 27566 | # is returned. |
| 27567 | "fontFamily": "A String", # The font family of the text. |
| 27568 | # |
| 27569 | # The font family can be any font from the Font menu in Docs or from |
| 27570 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 27571 | # unrecognized, the text is rendered in `Arial`. |
| 27572 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 27573 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 27574 | # numerical values described in the CSS 2.1 Specification, |
| 27575 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 27576 | # non-numerical values disallowed. |
| 27577 | # |
| 27578 | # The default value is `400` ("normal"). |
| 27579 | # |
| 27580 | # The font weight makes up just one component of the rendered font weight. |
| 27581 | # The rendered weight is determined by a combination of the `weight` and the |
| 27582 | # text style's resolved `bold` value, after accounting for inheritance: |
| 27583 | # |
| 27584 | # * If the text is bold and the weight is less than `400`, the rendered |
| 27585 | # weight is 400. |
| 27586 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 27587 | # is less than `700`, the rendered weight is `700`. |
| 27588 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 27589 | # equal to the weight. |
| 27590 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 27591 | }, |
| 27592 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 27593 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 27594 | "magnitude": 3.14, # The magnitude. |
| 27595 | "unit": "A String", # The units for magnitude. |
| 27596 | }, |
| 27597 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 27598 | # or transparent, depending on the `color` field. |
| 27599 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 27600 | # a transparent color. |
| 27601 | "rgbColor": { # An RGB color. # The RGB color value. |
| 27602 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27603 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27604 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27605 | }, |
| 27606 | }, |
| 27607 | }, |
| 27608 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 27609 | # are not inherited from parent text. |
| 27610 | # |
| 27611 | # Changing the link in an update request causes some other changes to the |
| 27612 | # text style of the range: |
| 27613 | # |
| 27614 | # * When setting a link, the text foreground color will be updated to the |
| 27615 | # default link color and the text will be underlined. If these fields are |
| 27616 | # modified in the same request, those values will be used instead of the |
| 27617 | # link defaults. |
| 27618 | # * Setting a link on a text range that overlaps with an existing link will |
| 27619 | # also update the existing link to point to the new URL. |
| 27620 | # * Links are not settable on newline characters. As a result, setting a link |
| 27621 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 27622 | # will separate the newline character(s) into their own text runs. The |
| 27623 | # link will be applied separately to the runs before and after the newline. |
| 27624 | # * Removing a link will update the text style of the range to match the |
| 27625 | # style of the preceding text (or the default text styles if the preceding |
| 27626 | # text is another link) unless different styles are being set in the same |
| 27627 | # request. |
| 27628 | "headingId": "A String", # The ID of a heading in this document. |
| 27629 | "url": "A String", # An external URL. |
| 27630 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 27631 | }, |
| 27632 | "underline": True or False, # Whether or not the text is underlined. |
| 27633 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 27634 | }, |
| 27635 | "footnoteNumber": "A String", # The rendered number of this footnote. |
| 27636 | "suggestedInsertionIds": [ # The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if |
| 27637 | # it is a nested suggested change. If empty, then this is not a suggested |
| 27638 | # insertion. |
| 27639 | "A String", |
| 27640 | ], |
| 27641 | "footnoteId": "A String", # The ID of the footnote that |
| 27642 | # contains the content of this footnote reference. |
| 27643 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 27644 | # of this content. |
| 27645 | "A String", |
| 27646 | ], |
| 27647 | "suggestedTextStyleChanges": { # The suggested text style changes to this FootnoteReference, keyed by |
| 27648 | # suggestion ID. |
| 27649 | "a_key": { # A suggested change to a TextStyle. |
| 27650 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 27651 | # the changes made in this suggestion. This can be used along with the |
| 27652 | # text_style_suggestion_state |
| 27653 | # to see which fields have changed and their new values. |
| 27654 | # |
| 27655 | # Inherited text styles are represented as unset fields in this message. A |
| 27656 | # text style's parent depends on where the text style is defined: |
| 27657 | # |
| 27658 | # * The TextStyle of text in a Paragraph |
| 27659 | # inherits from the paragraph's corresponding named style type. |
| 27660 | # * The TextStyle on a named style |
| 27661 | # inherits from the normal text named style. |
| 27662 | # * The TextStyle of the normal text named style inherits |
| 27663 | # from the default text style in the Docs editor. |
| 27664 | # * The TextStyle on a Paragraph element |
| 27665 | # that is contained in a table may inherit its text style from the table |
| 27666 | # style. |
| 27667 | # |
| 27668 | # If the text style does not inherit from a parent, unsetting fields will |
| 27669 | # revert the style to a value matching the defaults in the Docs editor. |
| 27670 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 27671 | # or transparent, depending on the `color` field. |
| 27672 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 27673 | # a transparent color. |
| 27674 | "rgbColor": { # An RGB color. # The RGB color value. |
| 27675 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27676 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27677 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27678 | }, |
| 27679 | }, |
| 27680 | }, |
| 27681 | "italic": True or False, # Whether or not the text is italicized. |
| 27682 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 27683 | # |
| 27684 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 27685 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 27686 | # The `font_size` itself is not affected by changes in this field. |
| 27687 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 27688 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 27689 | # |
| 27690 | # If an update request specifies values for both `weighted_font_family` and |
| 27691 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 27692 | # |
| 27693 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 27694 | # |
| 27695 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 27696 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 27697 | # is returned. |
| 27698 | "fontFamily": "A String", # The font family of the text. |
| 27699 | # |
| 27700 | # The font family can be any font from the Font menu in Docs or from |
| 27701 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 27702 | # unrecognized, the text is rendered in `Arial`. |
| 27703 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 27704 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 27705 | # numerical values described in the CSS 2.1 Specification, |
| 27706 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 27707 | # non-numerical values disallowed. |
| 27708 | # |
| 27709 | # The default value is `400` ("normal"). |
| 27710 | # |
| 27711 | # The font weight makes up just one component of the rendered font weight. |
| 27712 | # The rendered weight is determined by a combination of the `weight` and the |
| 27713 | # text style's resolved `bold` value, after accounting for inheritance: |
| 27714 | # |
| 27715 | # * If the text is bold and the weight is less than `400`, the rendered |
| 27716 | # weight is 400. |
| 27717 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 27718 | # is less than `700`, the rendered weight is `700`. |
| 27719 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 27720 | # equal to the weight. |
| 27721 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 27722 | }, |
| 27723 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 27724 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 27725 | "magnitude": 3.14, # The magnitude. |
| 27726 | "unit": "A String", # The units for magnitude. |
| 27727 | }, |
| 27728 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 27729 | # or transparent, depending on the `color` field. |
| 27730 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 27731 | # a transparent color. |
| 27732 | "rgbColor": { # An RGB color. # The RGB color value. |
| 27733 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27734 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27735 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27736 | }, |
| 27737 | }, |
| 27738 | }, |
| 27739 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 27740 | # are not inherited from parent text. |
| 27741 | # |
| 27742 | # Changing the link in an update request causes some other changes to the |
| 27743 | # text style of the range: |
| 27744 | # |
| 27745 | # * When setting a link, the text foreground color will be updated to the |
| 27746 | # default link color and the text will be underlined. If these fields are |
| 27747 | # modified in the same request, those values will be used instead of the |
| 27748 | # link defaults. |
| 27749 | # * Setting a link on a text range that overlaps with an existing link will |
| 27750 | # also update the existing link to point to the new URL. |
| 27751 | # * Links are not settable on newline characters. As a result, setting a link |
| 27752 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 27753 | # will separate the newline character(s) into their own text runs. The |
| 27754 | # link will be applied separately to the runs before and after the newline. |
| 27755 | # * Removing a link will update the text style of the range to match the |
| 27756 | # style of the preceding text (or the default text styles if the preceding |
| 27757 | # text is another link) unless different styles are being set in the same |
| 27758 | # request. |
| 27759 | "headingId": "A String", # The ID of a heading in this document. |
| 27760 | "url": "A String", # An external URL. |
| 27761 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 27762 | }, |
| 27763 | "underline": True or False, # Whether or not the text is underlined. |
| 27764 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 27765 | }, |
| 27766 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 27767 | # For any field set to true, there is a new suggested value. |
| 27768 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 27769 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 27770 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 27771 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 27772 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 27773 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 27774 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 27775 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 27776 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 27777 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 27778 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 27779 | }, |
| 27780 | }, |
| 27781 | }, |
| 27782 | }, |
| 27783 | }, |
| 27784 | ], |
| 27785 | "suggestedPositionedObjectIds": { # The IDs of the positioned objects that are suggested to be attached to this |
| 27786 | # paragraph, keyed by suggestion ID. |
| 27787 | "a_key": { # A collection of object IDs. |
| 27788 | "objectIds": [ # The object IDs. |
| 27789 | "A String", |
| 27790 | ], |
| 27791 | }, |
| 27792 | }, |
| 27793 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 27794 | # belong to a list. |
| 27795 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 27796 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 27797 | "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| 27798 | # |
| 27799 | # Inherited text styles are represented as unset fields in this message. A |
| 27800 | # text style's parent depends on where the text style is defined: |
| 27801 | # |
| 27802 | # * The TextStyle of text in a Paragraph |
| 27803 | # inherits from the paragraph's corresponding named style type. |
| 27804 | # * The TextStyle on a named style |
| 27805 | # inherits from the normal text named style. |
| 27806 | # * The TextStyle of the normal text named style inherits |
| 27807 | # from the default text style in the Docs editor. |
| 27808 | # * The TextStyle on a Paragraph element |
| 27809 | # that is contained in a table may inherit its text style from the table |
| 27810 | # style. |
| 27811 | # |
| 27812 | # If the text style does not inherit from a parent, unsetting fields will |
| 27813 | # revert the style to a value matching the defaults in the Docs editor. |
| 27814 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 27815 | # or transparent, depending on the `color` field. |
| 27816 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 27817 | # a transparent color. |
| 27818 | "rgbColor": { # An RGB color. # The RGB color value. |
| 27819 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27820 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27821 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27822 | }, |
| 27823 | }, |
| 27824 | }, |
| 27825 | "italic": True or False, # Whether or not the text is italicized. |
| 27826 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 27827 | # |
| 27828 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 27829 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 27830 | # The `font_size` itself is not affected by changes in this field. |
| 27831 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 27832 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 27833 | # |
| 27834 | # If an update request specifies values for both `weighted_font_family` and |
| 27835 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 27836 | # |
| 27837 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 27838 | # |
| 27839 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 27840 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 27841 | # is returned. |
| 27842 | "fontFamily": "A String", # The font family of the text. |
| 27843 | # |
| 27844 | # The font family can be any font from the Font menu in Docs or from |
| 27845 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 27846 | # unrecognized, the text is rendered in `Arial`. |
| 27847 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 27848 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 27849 | # numerical values described in the CSS 2.1 Specification, |
| 27850 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 27851 | # non-numerical values disallowed. |
| 27852 | # |
| 27853 | # The default value is `400` ("normal"). |
| 27854 | # |
| 27855 | # The font weight makes up just one component of the rendered font weight. |
| 27856 | # The rendered weight is determined by a combination of the `weight` and the |
| 27857 | # text style's resolved `bold` value, after accounting for inheritance: |
| 27858 | # |
| 27859 | # * If the text is bold and the weight is less than `400`, the rendered |
| 27860 | # weight is 400. |
| 27861 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 27862 | # is less than `700`, the rendered weight is `700`. |
| 27863 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 27864 | # equal to the weight. |
| 27865 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 27866 | }, |
| 27867 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 27868 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 27869 | "magnitude": 3.14, # The magnitude. |
| 27870 | "unit": "A String", # The units for magnitude. |
| 27871 | }, |
| 27872 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 27873 | # or transparent, depending on the `color` field. |
| 27874 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 27875 | # a transparent color. |
| 27876 | "rgbColor": { # An RGB color. # The RGB color value. |
| 27877 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27878 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27879 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27880 | }, |
| 27881 | }, |
| 27882 | }, |
| 27883 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 27884 | # are not inherited from parent text. |
| 27885 | # |
| 27886 | # Changing the link in an update request causes some other changes to the |
| 27887 | # text style of the range: |
| 27888 | # |
| 27889 | # * When setting a link, the text foreground color will be updated to the |
| 27890 | # default link color and the text will be underlined. If these fields are |
| 27891 | # modified in the same request, those values will be used instead of the |
| 27892 | # link defaults. |
| 27893 | # * Setting a link on a text range that overlaps with an existing link will |
| 27894 | # also update the existing link to point to the new URL. |
| 27895 | # * Links are not settable on newline characters. As a result, setting a link |
| 27896 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 27897 | # will separate the newline character(s) into their own text runs. The |
| 27898 | # link will be applied separately to the runs before and after the newline. |
| 27899 | # * Removing a link will update the text style of the range to match the |
| 27900 | # style of the preceding text (or the default text styles if the preceding |
| 27901 | # text is another link) unless different styles are being set in the same |
| 27902 | # request. |
| 27903 | "headingId": "A String", # The ID of a heading in this document. |
| 27904 | "url": "A String", # An external URL. |
| 27905 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 27906 | }, |
| 27907 | "underline": True or False, # Whether or not the text is underlined. |
| 27908 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 27909 | }, |
| 27910 | }, |
| 27911 | "suggestedBulletChanges": { # The suggested changes to this paragraph's bullet. |
| 27912 | "a_key": { # A suggested change to a Bullet. |
| 27913 | "bullet": { # Describes the bullet of a paragraph. # A Bullet that only includes the changes made |
| 27914 | # in this suggestion. This can be used along with the |
| 27915 | # bullet_suggestion_state to see which |
| 27916 | # fields have changed and their new values. |
| 27917 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 27918 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 27919 | "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| 27920 | # |
| 27921 | # Inherited text styles are represented as unset fields in this message. A |
| 27922 | # text style's parent depends on where the text style is defined: |
| 27923 | # |
| 27924 | # * The TextStyle of text in a Paragraph |
| 27925 | # inherits from the paragraph's corresponding named style type. |
| 27926 | # * The TextStyle on a named style |
| 27927 | # inherits from the normal text named style. |
| 27928 | # * The TextStyle of the normal text named style inherits |
| 27929 | # from the default text style in the Docs editor. |
| 27930 | # * The TextStyle on a Paragraph element |
| 27931 | # that is contained in a table may inherit its text style from the table |
| 27932 | # style. |
| 27933 | # |
| 27934 | # If the text style does not inherit from a parent, unsetting fields will |
| 27935 | # revert the style to a value matching the defaults in the Docs editor. |
| 27936 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 27937 | # or transparent, depending on the `color` field. |
| 27938 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 27939 | # a transparent color. |
| 27940 | "rgbColor": { # An RGB color. # The RGB color value. |
| 27941 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 27942 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 27943 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 27944 | }, |
| 27945 | }, |
| 27946 | }, |
| 27947 | "italic": True or False, # Whether or not the text is italicized. |
| 27948 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 27949 | # |
| 27950 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 27951 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 27952 | # The `font_size` itself is not affected by changes in this field. |
| 27953 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 27954 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 27955 | # |
| 27956 | # If an update request specifies values for both `weighted_font_family` and |
| 27957 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 27958 | # |
| 27959 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 27960 | # |
| 27961 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 27962 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 27963 | # is returned. |
| 27964 | "fontFamily": "A String", # The font family of the text. |
| 27965 | # |
| 27966 | # The font family can be any font from the Font menu in Docs or from |
| 27967 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 27968 | # unrecognized, the text is rendered in `Arial`. |
| 27969 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 27970 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 27971 | # numerical values described in the CSS 2.1 Specification, |
| 27972 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 27973 | # non-numerical values disallowed. |
| 27974 | # |
| 27975 | # The default value is `400` ("normal"). |
| 27976 | # |
| 27977 | # The font weight makes up just one component of the rendered font weight. |
| 27978 | # The rendered weight is determined by a combination of the `weight` and the |
| 27979 | # text style's resolved `bold` value, after accounting for inheritance: |
| 27980 | # |
| 27981 | # * If the text is bold and the weight is less than `400`, the rendered |
| 27982 | # weight is 400. |
| 27983 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 27984 | # is less than `700`, the rendered weight is `700`. |
| 27985 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 27986 | # equal to the weight. |
| 27987 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 27988 | }, |
| 27989 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 27990 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 27991 | "magnitude": 3.14, # The magnitude. |
| 27992 | "unit": "A String", # The units for magnitude. |
| 27993 | }, |
| 27994 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 27995 | # or transparent, depending on the `color` field. |
| 27996 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 27997 | # a transparent color. |
| 27998 | "rgbColor": { # An RGB color. # The RGB color value. |
| 27999 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28000 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28001 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28002 | }, |
| 28003 | }, |
| 28004 | }, |
| 28005 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 28006 | # are not inherited from parent text. |
| 28007 | # |
| 28008 | # Changing the link in an update request causes some other changes to the |
| 28009 | # text style of the range: |
| 28010 | # |
| 28011 | # * When setting a link, the text foreground color will be updated to the |
| 28012 | # default link color and the text will be underlined. If these fields are |
| 28013 | # modified in the same request, those values will be used instead of the |
| 28014 | # link defaults. |
| 28015 | # * Setting a link on a text range that overlaps with an existing link will |
| 28016 | # also update the existing link to point to the new URL. |
| 28017 | # * Links are not settable on newline characters. As a result, setting a link |
| 28018 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 28019 | # will separate the newline character(s) into their own text runs. The |
| 28020 | # link will be applied separately to the runs before and after the newline. |
| 28021 | # * Removing a link will update the text style of the range to match the |
| 28022 | # style of the preceding text (or the default text styles if the preceding |
| 28023 | # text is another link) unless different styles are being set in the same |
| 28024 | # request. |
| 28025 | "headingId": "A String", # The ID of a heading in this document. |
| 28026 | "url": "A String", # An external URL. |
| 28027 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 28028 | }, |
| 28029 | "underline": True or False, # Whether or not the text is underlined. |
| 28030 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 28031 | }, |
| 28032 | }, |
| 28033 | "bulletSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| 28034 | # Bullet have been changed in this suggestion. |
| 28035 | # Bullet have been changed in this suggestion. |
| 28036 | # For any field set to true, there is a new suggested value. |
| 28037 | "nestingLevelSuggested": True or False, # Indicates if there was a suggested change to the |
| 28038 | # nesting_level. |
| 28039 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| 28040 | # suggestion. |
| 28041 | # For any field set to true, there is a new suggested value. |
| 28042 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 28043 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 28044 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 28045 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 28046 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 28047 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 28048 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 28049 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 28050 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 28051 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 28052 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 28053 | }, |
| 28054 | "listIdSuggested": True or False, # Indicates if there was a suggested change to the |
| 28055 | # list_id. |
| 28056 | }, |
| 28057 | }, |
| 28058 | }, |
| 28059 | "positionedObjectIds": [ # The IDs of the positioned objects tethered to this paragraph. |
| 28060 | "A String", |
| 28061 | ], |
| 28062 | "suggestedParagraphStyleChanges": { # The suggested paragraph style changes to this paragraph, keyed by |
| 28063 | # suggestion ID. |
| 28064 | "a_key": { # A suggested change to a |
| 28065 | # ParagraphStyle. |
| 28066 | "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. |
| 28067 | # For any field set to true, there is a new suggested value. |
| 28068 | "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| 28069 | "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| 28070 | "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| 28071 | "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| 28072 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 28073 | "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| 28074 | "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| 28075 | "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| 28076 | "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| 28077 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 28078 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 28079 | "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| 28080 | "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| 28081 | "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| 28082 | "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| 28083 | "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| 28084 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 28085 | "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| 28086 | "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| 28087 | "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| 28088 | # this suggestion. |
| 28089 | # suggested change. For any field set to true, there is a new suggested value. |
| 28090 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| 28091 | }, |
| 28092 | }, |
| 28093 | "paragraphStyle": { # Styles that apply to a whole paragraph. # A ParagraphStyle that only includes |
| 28094 | # the changes made in this suggestion. This can be used along with the |
| 28095 | # paragraph_suggestion_state |
| 28096 | # to see which fields have changed and their new values. |
| 28097 | # |
| 28098 | # Inherited paragraph styles are represented as unset fields in this message. |
| 28099 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 28100 | # |
| 28101 | # * The ParagraphStyle on a Paragraph |
| 28102 | # inherits from the paragraph's corresponding named style type. |
| 28103 | # * The ParagraphStyle on a named style |
| 28104 | # inherits from the normal text named style. |
| 28105 | # * The ParagraphStyle of the normal text named style inherits |
| 28106 | # from the default paragraph style in the Docs editor. |
| 28107 | # * The ParagraphStyle on a Paragraph |
| 28108 | # element that is contained in a table may inherit its paragraph style from |
| 28109 | # the table style. |
| 28110 | # |
| 28111 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 28112 | # revert the style to a value matching the defaults in the Docs editor. |
| 28113 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 28114 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 28115 | # LEFT_TO_RIGHT since |
| 28116 | # paragraph direction is not inherited. |
| 28117 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 28118 | # inherited from the parent. |
| 28119 | "magnitude": 3.14, # The magnitude. |
| 28120 | "unit": "A String", # The units for magnitude. |
| 28121 | }, |
| 28122 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 28123 | # page or column as the next paragraph if possible. If unset, the value is |
| 28124 | # inherited from the parent. |
| 28125 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 28126 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 28127 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 28128 | # is inherited from the parent. |
| 28129 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 28130 | # inherited from the parent. |
| 28131 | # |
| 28132 | # The bottom border is rendered when the paragraph below has different border |
| 28133 | # and indent properties. |
| 28134 | # |
| 28135 | # Paragraph borders cannot be partially updated. When making |
| 28136 | # changes to a paragraph border the new border must be specified in |
| 28137 | # its entirety. |
| 28138 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 28139 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 28140 | # a transparent color. |
| 28141 | "rgbColor": { # An RGB color. # The RGB color value. |
| 28142 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28143 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28144 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28145 | }, |
| 28146 | }, |
| 28147 | }, |
| 28148 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 28149 | "magnitude": 3.14, # The magnitude. |
| 28150 | "unit": "A String", # The units for magnitude. |
| 28151 | }, |
| 28152 | "dashStyle": "A String", # The dash style of the border. |
| 28153 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 28154 | "magnitude": 3.14, # The magnitude. |
| 28155 | "unit": "A String", # The units for magnitude. |
| 28156 | }, |
| 28157 | }, |
| 28158 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 28159 | # the start of the text, based on the current paragraph direction. If unset, |
| 28160 | # the value is inherited from the parent. |
| 28161 | "magnitude": 3.14, # The magnitude. |
| 28162 | "unit": "A String", # The units for magnitude. |
| 28163 | }, |
| 28164 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 28165 | # If unset, the value is inherited from the parent. |
| 28166 | # |
| 28167 | # The between border is rendered when the adjacent paragraph has the same |
| 28168 | # border and indent properties. |
| 28169 | # |
| 28170 | # Paragraph borders cannot be partially updated. When making |
| 28171 | # changes to a paragraph border the new border must be specified in |
| 28172 | # its entirety. |
| 28173 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 28174 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 28175 | # a transparent color. |
| 28176 | "rgbColor": { # An RGB color. # The RGB color value. |
| 28177 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28178 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28179 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28180 | }, |
| 28181 | }, |
| 28182 | }, |
| 28183 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 28184 | "magnitude": 3.14, # The magnitude. |
| 28185 | "unit": "A String", # The units for magnitude. |
| 28186 | }, |
| 28187 | "dashStyle": "A String", # The dash style of the border. |
| 28188 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 28189 | "magnitude": 3.14, # The magnitude. |
| 28190 | "unit": "A String", # The units for magnitude. |
| 28191 | }, |
| 28192 | }, |
| 28193 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 28194 | # |
| 28195 | # Since updating the named style type affects other properties within |
| 28196 | # ParagraphStyle, the named style type is applied before the other properties |
| 28197 | # are updated. |
| 28198 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 28199 | # from the parent. |
| 28200 | # |
| 28201 | # Paragraph borders cannot be partially updated. When making |
| 28202 | # changes to a paragraph border the new border must be specified in |
| 28203 | # its entirety. |
| 28204 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 28205 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 28206 | # a transparent color. |
| 28207 | "rgbColor": { # An RGB color. # The RGB color value. |
| 28208 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28209 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28210 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28211 | }, |
| 28212 | }, |
| 28213 | }, |
| 28214 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 28215 | "magnitude": 3.14, # The magnitude. |
| 28216 | "unit": "A String", # The units for magnitude. |
| 28217 | }, |
| 28218 | "dashStyle": "A String", # The dash style of the border. |
| 28219 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 28220 | "magnitude": 3.14, # The magnitude. |
| 28221 | "unit": "A String", # The units for magnitude. |
| 28222 | }, |
| 28223 | }, |
| 28224 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 28225 | # the end of the text, based on the current paragraph direction. If unset, |
| 28226 | # the value is inherited from the parent. |
| 28227 | "magnitude": 3.14, # The magnitude. |
| 28228 | "unit": "A String", # The units for magnitude. |
| 28229 | }, |
| 28230 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 28231 | # from the parent. |
| 28232 | # |
| 28233 | # Paragraph borders cannot be partially updated. When making |
| 28234 | # changes to a paragraph border the new border must be specified in |
| 28235 | # its entirety. |
| 28236 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 28237 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 28238 | # a transparent color. |
| 28239 | "rgbColor": { # An RGB color. # The RGB color value. |
| 28240 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28241 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28242 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28243 | }, |
| 28244 | }, |
| 28245 | }, |
| 28246 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 28247 | "magnitude": 3.14, # The magnitude. |
| 28248 | "unit": "A String", # The units for magnitude. |
| 28249 | }, |
| 28250 | "dashStyle": "A String", # The dash style of the border. |
| 28251 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 28252 | "magnitude": 3.14, # The magnitude. |
| 28253 | "unit": "A String", # The units for magnitude. |
| 28254 | }, |
| 28255 | }, |
| 28256 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 28257 | # inherited from the parent. |
| 28258 | "magnitude": 3.14, # The magnitude. |
| 28259 | "unit": "A String", # The units for magnitude. |
| 28260 | }, |
| 28261 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 28262 | # heading. This property is read-only. |
| 28263 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 28264 | # parent. |
| 28265 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 28266 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 28267 | # a transparent color. |
| 28268 | "rgbColor": { # An RGB color. # The RGB color value. |
| 28269 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28270 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28271 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28272 | }, |
| 28273 | }, |
| 28274 | }, |
| 28275 | }, |
| 28276 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 28277 | # from the parent. |
| 28278 | # |
| 28279 | # The top border is rendered when the paragraph above has different border |
| 28280 | # and indent properties. |
| 28281 | # |
| 28282 | # Paragraph borders cannot be partially updated. When making |
| 28283 | # changes to a paragraph border the new border must be specified in |
| 28284 | # its entirety. |
| 28285 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 28286 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 28287 | # a transparent color. |
| 28288 | "rgbColor": { # An RGB color. # The RGB color value. |
| 28289 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28290 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28291 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28292 | }, |
| 28293 | }, |
| 28294 | }, |
| 28295 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 28296 | "magnitude": 3.14, # The magnitude. |
| 28297 | "unit": "A String", # The units for magnitude. |
| 28298 | }, |
| 28299 | "dashStyle": "A String", # The dash style of the border. |
| 28300 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 28301 | "magnitude": 3.14, # The magnitude. |
| 28302 | "unit": "A String", # The units for magnitude. |
| 28303 | }, |
| 28304 | }, |
| 28305 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 28306 | # inherited. This property is read-only. |
| 28307 | { # A tab stop within a paragraph. |
| 28308 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 28309 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 28310 | "magnitude": 3.14, # The magnitude. |
| 28311 | "unit": "A String", # The units for magnitude. |
| 28312 | }, |
| 28313 | }, |
| 28314 | ], |
| 28315 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 28316 | # the value is inherited from the parent. |
| 28317 | "magnitude": 3.14, # The magnitude. |
| 28318 | "unit": "A String", # The units for magnitude. |
| 28319 | }, |
| 28320 | "alignment": "A String", # The text alignment for this paragraph. |
| 28321 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 28322 | # column if possible. If unset, the value is inherited from the parent. |
| 28323 | }, |
| 28324 | }, |
| 28325 | }, |
| 28326 | "paragraphStyle": { # Styles that apply to a whole paragraph. # The style of this paragraph. |
| 28327 | # |
| 28328 | # Inherited paragraph styles are represented as unset fields in this message. |
| 28329 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 28330 | # |
| 28331 | # * The ParagraphStyle on a Paragraph |
| 28332 | # inherits from the paragraph's corresponding named style type. |
| 28333 | # * The ParagraphStyle on a named style |
| 28334 | # inherits from the normal text named style. |
| 28335 | # * The ParagraphStyle of the normal text named style inherits |
| 28336 | # from the default paragraph style in the Docs editor. |
| 28337 | # * The ParagraphStyle on a Paragraph |
| 28338 | # element that is contained in a table may inherit its paragraph style from |
| 28339 | # the table style. |
| 28340 | # |
| 28341 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 28342 | # revert the style to a value matching the defaults in the Docs editor. |
| 28343 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 28344 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 28345 | # LEFT_TO_RIGHT since |
| 28346 | # paragraph direction is not inherited. |
| 28347 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 28348 | # inherited from the parent. |
| 28349 | "magnitude": 3.14, # The magnitude. |
| 28350 | "unit": "A String", # The units for magnitude. |
| 28351 | }, |
| 28352 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 28353 | # page or column as the next paragraph if possible. If unset, the value is |
| 28354 | # inherited from the parent. |
| 28355 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 28356 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 28357 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 28358 | # is inherited from the parent. |
| 28359 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 28360 | # inherited from the parent. |
| 28361 | # |
| 28362 | # The bottom border is rendered when the paragraph below has different border |
| 28363 | # and indent properties. |
| 28364 | # |
| 28365 | # Paragraph borders cannot be partially updated. When making |
| 28366 | # changes to a paragraph border the new border must be specified in |
| 28367 | # its entirety. |
| 28368 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 28369 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 28370 | # a transparent color. |
| 28371 | "rgbColor": { # An RGB color. # The RGB color value. |
| 28372 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28373 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28374 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28375 | }, |
| 28376 | }, |
| 28377 | }, |
| 28378 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 28379 | "magnitude": 3.14, # The magnitude. |
| 28380 | "unit": "A String", # The units for magnitude. |
| 28381 | }, |
| 28382 | "dashStyle": "A String", # The dash style of the border. |
| 28383 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 28384 | "magnitude": 3.14, # The magnitude. |
| 28385 | "unit": "A String", # The units for magnitude. |
| 28386 | }, |
| 28387 | }, |
| 28388 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 28389 | # the start of the text, based on the current paragraph direction. If unset, |
| 28390 | # the value is inherited from the parent. |
| 28391 | "magnitude": 3.14, # The magnitude. |
| 28392 | "unit": "A String", # The units for magnitude. |
| 28393 | }, |
| 28394 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 28395 | # If unset, the value is inherited from the parent. |
| 28396 | # |
| 28397 | # The between border is rendered when the adjacent paragraph has the same |
| 28398 | # border and indent properties. |
| 28399 | # |
| 28400 | # Paragraph borders cannot be partially updated. When making |
| 28401 | # changes to a paragraph border the new border must be specified in |
| 28402 | # its entirety. |
| 28403 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 28404 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 28405 | # a transparent color. |
| 28406 | "rgbColor": { # An RGB color. # The RGB color value. |
| 28407 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28408 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28409 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28410 | }, |
| 28411 | }, |
| 28412 | }, |
| 28413 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 28414 | "magnitude": 3.14, # The magnitude. |
| 28415 | "unit": "A String", # The units for magnitude. |
| 28416 | }, |
| 28417 | "dashStyle": "A String", # The dash style of the border. |
| 28418 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 28419 | "magnitude": 3.14, # The magnitude. |
| 28420 | "unit": "A String", # The units for magnitude. |
| 28421 | }, |
| 28422 | }, |
| 28423 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 28424 | # |
| 28425 | # Since updating the named style type affects other properties within |
| 28426 | # ParagraphStyle, the named style type is applied before the other properties |
| 28427 | # are updated. |
| 28428 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 28429 | # from the parent. |
| 28430 | # |
| 28431 | # Paragraph borders cannot be partially updated. When making |
| 28432 | # changes to a paragraph border the new border must be specified in |
| 28433 | # its entirety. |
| 28434 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 28435 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 28436 | # a transparent color. |
| 28437 | "rgbColor": { # An RGB color. # The RGB color value. |
| 28438 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28439 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28440 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28441 | }, |
| 28442 | }, |
| 28443 | }, |
| 28444 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 28445 | "magnitude": 3.14, # The magnitude. |
| 28446 | "unit": "A String", # The units for magnitude. |
| 28447 | }, |
| 28448 | "dashStyle": "A String", # The dash style of the border. |
| 28449 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 28450 | "magnitude": 3.14, # The magnitude. |
| 28451 | "unit": "A String", # The units for magnitude. |
| 28452 | }, |
| 28453 | }, |
| 28454 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 28455 | # the end of the text, based on the current paragraph direction. If unset, |
| 28456 | # the value is inherited from the parent. |
| 28457 | "magnitude": 3.14, # The magnitude. |
| 28458 | "unit": "A String", # The units for magnitude. |
| 28459 | }, |
| 28460 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 28461 | # from the parent. |
| 28462 | # |
| 28463 | # Paragraph borders cannot be partially updated. When making |
| 28464 | # changes to a paragraph border the new border must be specified in |
| 28465 | # its entirety. |
| 28466 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 28467 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 28468 | # a transparent color. |
| 28469 | "rgbColor": { # An RGB color. # The RGB color value. |
| 28470 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28471 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28472 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28473 | }, |
| 28474 | }, |
| 28475 | }, |
| 28476 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 28477 | "magnitude": 3.14, # The magnitude. |
| 28478 | "unit": "A String", # The units for magnitude. |
| 28479 | }, |
| 28480 | "dashStyle": "A String", # The dash style of the border. |
| 28481 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 28482 | "magnitude": 3.14, # The magnitude. |
| 28483 | "unit": "A String", # The units for magnitude. |
| 28484 | }, |
| 28485 | }, |
| 28486 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 28487 | # inherited from the parent. |
| 28488 | "magnitude": 3.14, # The magnitude. |
| 28489 | "unit": "A String", # The units for magnitude. |
| 28490 | }, |
| 28491 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 28492 | # heading. This property is read-only. |
| 28493 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 28494 | # parent. |
| 28495 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 28496 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 28497 | # a transparent color. |
| 28498 | "rgbColor": { # An RGB color. # The RGB color value. |
| 28499 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28500 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28501 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28502 | }, |
| 28503 | }, |
| 28504 | }, |
| 28505 | }, |
| 28506 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 28507 | # from the parent. |
| 28508 | # |
| 28509 | # The top border is rendered when the paragraph above has different border |
| 28510 | # and indent properties. |
| 28511 | # |
| 28512 | # Paragraph borders cannot be partially updated. When making |
| 28513 | # changes to a paragraph border the new border must be specified in |
| 28514 | # its entirety. |
| 28515 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 28516 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 28517 | # a transparent color. |
| 28518 | "rgbColor": { # An RGB color. # The RGB color value. |
| 28519 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28520 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28521 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28522 | }, |
| 28523 | }, |
| 28524 | }, |
| 28525 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 28526 | "magnitude": 3.14, # The magnitude. |
| 28527 | "unit": "A String", # The units for magnitude. |
| 28528 | }, |
| 28529 | "dashStyle": "A String", # The dash style of the border. |
| 28530 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 28531 | "magnitude": 3.14, # The magnitude. |
| 28532 | "unit": "A String", # The units for magnitude. |
| 28533 | }, |
| 28534 | }, |
| 28535 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 28536 | # inherited. This property is read-only. |
| 28537 | { # A tab stop within a paragraph. |
| 28538 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 28539 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 28540 | "magnitude": 3.14, # The magnitude. |
| 28541 | "unit": "A String", # The units for magnitude. |
| 28542 | }, |
| 28543 | }, |
| 28544 | ], |
| 28545 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 28546 | # the value is inherited from the parent. |
| 28547 | "magnitude": 3.14, # The magnitude. |
| 28548 | "unit": "A String", # The units for magnitude. |
| 28549 | }, |
| 28550 | "alignment": "A String", # The text alignment for this paragraph. |
| 28551 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 28552 | # column if possible. If unset, the value is inherited from the parent. |
| 28553 | }, |
| 28554 | }, |
| 28555 | "table": { # A StructuralElement representing a # A table type of structural element. |
| 28556 | # table. |
| 28557 | "rows": 42, # Number of rows in the table. |
| 28558 | "tableStyle": { # Styles that apply to a table. # The style of the table. |
| 28559 | "tableColumnProperties": [ # The properties of each column. |
| 28560 | # |
| 28561 | # Note that in Docs, tables contain rows and rows contain cells, similar to |
| 28562 | # HTML. So the properties for a row can be found on the row's |
| 28563 | # table_row_style. |
| 28564 | { # The properties of a column in a table. |
| 28565 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| 28566 | # FIXED_WIDTH. |
| 28567 | "magnitude": 3.14, # The magnitude. |
| 28568 | "unit": "A String", # The units for magnitude. |
| 28569 | }, |
| 28570 | "widthType": "A String", # The width type of the column. |
| 28571 | }, |
| 28572 | ], |
| 28573 | }, |
| 28574 | "suggestedInsertionIds": [ # The suggested insertion IDs. A Table may have |
| 28575 | # multiple insertion IDs if it is a nested suggested change. If empty, then |
| 28576 | # this is not a suggested insertion. |
| 28577 | "A String", |
| 28578 | ], |
| 28579 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 28580 | # of this content. |
| 28581 | "A String", |
| 28582 | ], |
| 28583 | "tableRows": [ # The contents and style of each row. |
| 28584 | { # The contents and style of a row in a Table. |
| 28585 | "endIndex": 42, # The zero-based end index of this row, exclusive, in UTF-16 code units. |
| 28586 | "tableCells": [ # The contents and style of each cell in this row. |
| 28587 | # |
| 28588 | # It is possible for a table to be non-rectangular, so some rows may have a |
| 28589 | # different number of cells than other rows in the same table. |
| 28590 | { # The contents and style of a cell in a Table. |
| 28591 | "endIndex": 42, # The zero-based end index of this cell, exclusive, in UTF-16 code units. |
| 28592 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 28593 | # of this content. |
| 28594 | "A String", |
| 28595 | ], |
| 28596 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableCell |
| 28597 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 28598 | # empty, then this is not a suggested insertion. |
| 28599 | "A String", |
| 28600 | ], |
| 28601 | "content": [ # The content of the cell. |
| 28602 | # Object with schema name: StructuralElement |
| 28603 | ], |
| 28604 | "tableCellStyle": { # The style of a TableCell. # The style of the cell. |
| 28605 | # |
| 28606 | # Inherited table cell styles are represented as unset fields in this message. |
| 28607 | # A table cell style can inherit from the table's style. |
| 28608 | "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| 28609 | "magnitude": 3.14, # The magnitude. |
| 28610 | "unit": "A String", # The units for magnitude. |
| 28611 | }, |
| 28612 | "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| 28613 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 28614 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 28615 | # a transparent color. |
| 28616 | "rgbColor": { # An RGB color. # The RGB color value. |
| 28617 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28618 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28619 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28620 | }, |
| 28621 | }, |
| 28622 | }, |
| 28623 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 28624 | "magnitude": 3.14, # The magnitude. |
| 28625 | "unit": "A String", # The units for magnitude. |
| 28626 | }, |
| 28627 | "dashStyle": "A String", # The dash style of the border. |
| 28628 | }, |
| 28629 | "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| 28630 | "magnitude": 3.14, # The magnitude. |
| 28631 | "unit": "A String", # The units for magnitude. |
| 28632 | }, |
| 28633 | "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| 28634 | "magnitude": 3.14, # The magnitude. |
| 28635 | "unit": "A String", # The units for magnitude. |
| 28636 | }, |
| 28637 | "borderLeft": { # A border around a table cell. # The left border of the cell. |
| 28638 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 28639 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 28640 | # a transparent color. |
| 28641 | "rgbColor": { # An RGB color. # The RGB color value. |
| 28642 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28643 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28644 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28645 | }, |
| 28646 | }, |
| 28647 | }, |
| 28648 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 28649 | "magnitude": 3.14, # The magnitude. |
| 28650 | "unit": "A String", # The units for magnitude. |
| 28651 | }, |
| 28652 | "dashStyle": "A String", # The dash style of the border. |
| 28653 | }, |
| 28654 | "columnSpan": 42, # The column span of the cell. This property is read-only. |
| 28655 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| 28656 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 28657 | # a transparent color. |
| 28658 | "rgbColor": { # An RGB color. # The RGB color value. |
| 28659 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28660 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28661 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28662 | }, |
| 28663 | }, |
| 28664 | }, |
| 28665 | "borderRight": { # A border around a table cell. # The right border of the cell. |
| 28666 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 28667 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 28668 | # a transparent color. |
| 28669 | "rgbColor": { # An RGB color. # The RGB color value. |
| 28670 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28671 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28672 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28673 | }, |
| 28674 | }, |
| 28675 | }, |
| 28676 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 28677 | "magnitude": 3.14, # The magnitude. |
| 28678 | "unit": "A String", # The units for magnitude. |
| 28679 | }, |
| 28680 | "dashStyle": "A String", # The dash style of the border. |
| 28681 | }, |
| 28682 | "rowSpan": 42, # The row span of the cell. This property is read-only. |
| 28683 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 28684 | # matches the alignment for newly created table cells in the Docs editor. |
| 28685 | "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| 28686 | "magnitude": 3.14, # The magnitude. |
| 28687 | "unit": "A String", # The units for magnitude. |
| 28688 | }, |
| 28689 | "borderTop": { # A border around a table cell. # The top border of the cell. |
| 28690 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 28691 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 28692 | # a transparent color. |
| 28693 | "rgbColor": { # An RGB color. # The RGB color value. |
| 28694 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28695 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28696 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28697 | }, |
| 28698 | }, |
| 28699 | }, |
| 28700 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 28701 | "magnitude": 3.14, # The magnitude. |
| 28702 | "unit": "A String", # The units for magnitude. |
| 28703 | }, |
| 28704 | "dashStyle": "A String", # The dash style of the border. |
| 28705 | }, |
| 28706 | }, |
| 28707 | "startIndex": 42, # The zero-based start index of this cell, in UTF-16 code units. |
| 28708 | "suggestedTableCellStyleChanges": { # The suggested changes to the table cell style, keyed by suggestion ID. |
| 28709 | "a_key": { # A suggested change to a TableCellStyle. |
| 28710 | "tableCellStyle": { # The style of a TableCell. # A TableCellStyle that only includes |
| 28711 | # the changes made in this suggestion. This can be used along with the |
| 28712 | # table_cell_style_suggestion_state |
| 28713 | # to see which fields have changed and their new values. |
| 28714 | # |
| 28715 | # Inherited table cell styles are represented as unset fields in this message. |
| 28716 | # A table cell style can inherit from the table's style. |
| 28717 | "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| 28718 | "magnitude": 3.14, # The magnitude. |
| 28719 | "unit": "A String", # The units for magnitude. |
| 28720 | }, |
| 28721 | "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| 28722 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 28723 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 28724 | # a transparent color. |
| 28725 | "rgbColor": { # An RGB color. # The RGB color value. |
| 28726 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28727 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28728 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28729 | }, |
| 28730 | }, |
| 28731 | }, |
| 28732 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 28733 | "magnitude": 3.14, # The magnitude. |
| 28734 | "unit": "A String", # The units for magnitude. |
| 28735 | }, |
| 28736 | "dashStyle": "A String", # The dash style of the border. |
| 28737 | }, |
| 28738 | "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| 28739 | "magnitude": 3.14, # The magnitude. |
| 28740 | "unit": "A String", # The units for magnitude. |
| 28741 | }, |
| 28742 | "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| 28743 | "magnitude": 3.14, # The magnitude. |
| 28744 | "unit": "A String", # The units for magnitude. |
| 28745 | }, |
| 28746 | "borderLeft": { # A border around a table cell. # The left border of the cell. |
| 28747 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 28748 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 28749 | # a transparent color. |
| 28750 | "rgbColor": { # An RGB color. # The RGB color value. |
| 28751 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28752 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28753 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28754 | }, |
| 28755 | }, |
| 28756 | }, |
| 28757 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 28758 | "magnitude": 3.14, # The magnitude. |
| 28759 | "unit": "A String", # The units for magnitude. |
| 28760 | }, |
| 28761 | "dashStyle": "A String", # The dash style of the border. |
| 28762 | }, |
| 28763 | "columnSpan": 42, # The column span of the cell. This property is read-only. |
| 28764 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| 28765 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 28766 | # a transparent color. |
| 28767 | "rgbColor": { # An RGB color. # The RGB color value. |
| 28768 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28769 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28770 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28771 | }, |
| 28772 | }, |
| 28773 | }, |
| 28774 | "borderRight": { # A border around a table cell. # The right border of the cell. |
| 28775 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 28776 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 28777 | # a transparent color. |
| 28778 | "rgbColor": { # An RGB color. # The RGB color value. |
| 28779 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28780 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28781 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28782 | }, |
| 28783 | }, |
| 28784 | }, |
| 28785 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 28786 | "magnitude": 3.14, # The magnitude. |
| 28787 | "unit": "A String", # The units for magnitude. |
| 28788 | }, |
| 28789 | "dashStyle": "A String", # The dash style of the border. |
| 28790 | }, |
| 28791 | "rowSpan": 42, # The row span of the cell. This property is read-only. |
| 28792 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 28793 | # matches the alignment for newly created table cells in the Docs editor. |
| 28794 | "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| 28795 | "magnitude": 3.14, # The magnitude. |
| 28796 | "unit": "A String", # The units for magnitude. |
| 28797 | }, |
| 28798 | "borderTop": { # A border around a table cell. # The top border of the cell. |
| 28799 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 28800 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 28801 | # a transparent color. |
| 28802 | "rgbColor": { # An RGB color. # The RGB color value. |
| 28803 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28804 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28805 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28806 | }, |
| 28807 | }, |
| 28808 | }, |
| 28809 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 28810 | "magnitude": 3.14, # The magnitude. |
| 28811 | "unit": "A String", # The units for magnitude. |
| 28812 | }, |
| 28813 | "dashStyle": "A String", # The dash style of the border. |
| 28814 | }, |
| 28815 | }, |
| 28816 | "tableCellStyleSuggestionState": { # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. |
| 28817 | # For any field set to true, there is a new suggested value. |
| 28818 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 28819 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 28820 | "paddingBottomSuggested": True or False, # Indicates if there was a suggested change to padding_bottom. |
| 28821 | "contentAlignmentSuggested": True or False, # Indicates if there was a suggested change to content_alignment. |
| 28822 | "rowSpanSuggested": True or False, # Indicates if there was a suggested change to row_span. |
| 28823 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 28824 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 28825 | "columnSpanSuggested": True or False, # Indicates if there was a suggested change to column_span. |
| 28826 | "paddingRightSuggested": True or False, # Indicates if there was a suggested change to padding_right. |
| 28827 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 28828 | "paddingLeftSuggested": True or False, # Indicates if there was a suggested change to padding_left. |
| 28829 | "paddingTopSuggested": True or False, # Indicates if there was a suggested change to padding_top. |
| 28830 | }, |
| 28831 | }, |
| 28832 | }, |
| 28833 | }, |
| 28834 | ], |
| 28835 | "tableRowStyle": { # Styles that apply to a table row. # The style of the table row. |
| 28836 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 28837 | # at a height equal to or greater than this value in order to show all the |
| 28838 | # content in the row's cells. |
| 28839 | "magnitude": 3.14, # The magnitude. |
| 28840 | "unit": "A String", # The units for magnitude. |
| 28841 | }, |
| 28842 | }, |
| 28843 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableRow |
| 28844 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 28845 | # empty, then this is not a suggested insertion. |
| 28846 | "A String", |
| 28847 | ], |
| 28848 | "startIndex": 42, # The zero-based start index of this row, in UTF-16 code units. |
| 28849 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 28850 | # of this content. |
| 28851 | "A String", |
| 28852 | ], |
| 28853 | "suggestedTableRowStyleChanges": { # The suggested style changes to this row, keyed by suggestion ID. |
| 28854 | "a_key": { # A suggested change to a |
| 28855 | # TableRowStyle. |
| 28856 | "tableRowStyle": { # Styles that apply to a table row. # A TableRowStyle that only includes |
| 28857 | # the changes made in this suggestion. This can be used along with the |
| 28858 | # table_row_style_suggestion_state |
| 28859 | # to see which fields have changed and their new values. |
| 28860 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 28861 | # at a height equal to or greater than this value in order to show all the |
| 28862 | # content in the row's cells. |
| 28863 | "magnitude": 3.14, # The magnitude. |
| 28864 | "unit": "A String", # The units for magnitude. |
| 28865 | }, |
| 28866 | }, |
| 28867 | "tableRowStyleSuggestionState": { # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. |
| 28868 | # For any field set to true, there is a new suggested value. |
| 28869 | "minRowHeightSuggested": True or False, # Indicates if there was a suggested change to min_row_height. |
| 28870 | }, |
| 28871 | }, |
| 28872 | }, |
| 28873 | }, |
| 28874 | ], |
| 28875 | "columns": 42, # Number of columns in the table. |
| 28876 | # |
| 28877 | # It is possible for a table to be non-rectangular, so some rows may have a |
| 28878 | # different number of cells. |
| 28879 | }, |
| 28880 | }, |
| 28881 | ], |
| 28882 | "footnoteId": "A String", # The ID of the footnote. |
| 28883 | }, |
| 28884 | }, |
| 28885 | "positionedObjects": { # The positioned objects in the document, keyed by object ID. |
| 28886 | "a_key": { # An object that is tethered to a Paragraph |
| 28887 | # and positioned relative to the beginning of the paragraph. A PositionedObject |
| 28888 | # contains an EmbeddedObject such as an |
| 28889 | # image. |
| 28890 | "positionedObjectProperties": { # Properties of a PositionedObject. # The properties of this positioned object. |
| 28891 | "positioning": { # The positioning of a PositionedObject. The positioned object is positioned # The positioning of this positioned object relative to the newline of the |
| 28892 | # Paragraph that references this positioned |
| 28893 | # object. |
| 28894 | # relative to the beginning of the Paragraph |
| 28895 | # it is tethered to. |
| 28896 | "leftOffset": { # A magnitude in a single direction in the specified units. # The offset of the left edge of the positioned object relative to the |
| 28897 | # beginning of the Paragraph it is tethered |
| 28898 | # to. The exact positioning of the object can depend on other content in the |
| 28899 | # document and the document's styling. |
| 28900 | "magnitude": 3.14, # The magnitude. |
| 28901 | "unit": "A String", # The units for magnitude. |
| 28902 | }, |
| 28903 | "topOffset": { # A magnitude in a single direction in the specified units. # The offset of the top edge of the positioned object relative to the |
| 28904 | # beginning of the Paragraph it is tethered |
| 28905 | # to. The exact positioning of the object can depend on other content in the |
| 28906 | # document and the document's styling. |
| 28907 | "magnitude": 3.14, # The magnitude. |
| 28908 | "unit": "A String", # The units for magnitude. |
| 28909 | }, |
| 28910 | "layout": "A String", # The layout of this positioned object. |
| 28911 | }, |
| 28912 | "embeddedObject": { # An embedded object in the document. # The embedded object of this positioned object. |
| 28913 | "imageProperties": { # The properties of an image. # The properties of an image. |
| 28914 | "angle": 3.14, # The clockwise rotation angle of the image, in radians. |
| 28915 | "contentUri": "A String", # A URI to the image with a default lifetime of 30 minutes. |
| 28916 | # This URI is tagged with the account of the requester. Anyone with the URI |
| 28917 | # effectively accesses the image as the original requester. Access to the |
| 28918 | # image may be lost if the document's sharing settings change. |
| 28919 | "sourceUri": "A String", # The source URI is the URI used to insert the image. The source URI can be |
| 28920 | # empty. |
| 28921 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 28922 | # [-1.0, 1.0], where 0 means no effect. |
| 28923 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 28924 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 28925 | "cropProperties": { # The crop properties of an image. # The crop properties of the image. |
| 28926 | # |
| 28927 | # The crop rectangle is represented using fractional offsets from the original |
| 28928 | # content's four edges. |
| 28929 | # |
| 28930 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 28931 | # rectangle is positioned inside of the image's original bounding rectangle. |
| 28932 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 28933 | # rectangle is positioned outside of the image's original bounding rectangle. |
| 28934 | # - If all offsets and rotation angle are 0, the image is not cropped. |
| 28935 | "offsetBottom": 3.14, # The offset specifies how far inwards the bottom edge of the crop rectangle |
| 28936 | # is from the bottom edge of the original content as a fraction of the |
| 28937 | # original content's height. |
| 28938 | "angle": 3.14, # The clockwise rotation angle of the crop rectangle around its center, in |
| 28939 | # radians. Rotation is applied after the offsets. |
| 28940 | "offsetLeft": 3.14, # The offset specifies how far inwards the left edge of the crop rectangle is |
| 28941 | # from the left edge of the original content as a fraction of the original |
| 28942 | # content's width. |
| 28943 | "offsetRight": 3.14, # The offset specifies how far inwards the right edge of the crop rectangle |
| 28944 | # is from the right edge of the original content as a fraction of the |
| 28945 | # original content's width. |
| 28946 | "offsetTop": 3.14, # The offset specifies how far inwards the top edge of the crop rectangle is |
| 28947 | # from the top edge of the original content as a fraction of the original |
| 28948 | # content's height. |
| 28949 | }, |
| 28950 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 28951 | # [-1.0, 1.0], where 0 means no effect. |
| 28952 | }, |
| 28953 | "description": "A String", # The description of the embedded object. The `title` and `description` are |
| 28954 | # both combined to display alt text. |
| 28955 | "title": "A String", # The title of the embedded object. The `title` and `description` are both |
| 28956 | # combined to display alt text. |
| 28957 | "embeddedDrawingProperties": { # The properties of an embedded drawing. # The properties of an embedded drawing. |
| 28958 | }, |
| 28959 | "linkedContentReference": { # A reference to the external linked source content. # A reference to the external linked source content. For example, it contains |
| 28960 | # a reference to the source Sheets chart when the embedded object is a linked |
| 28961 | # chart. |
| 28962 | # |
| 28963 | # If unset, then the embedded object is not linked. |
| 28964 | "sheetsChartReference": { # A reference to a linked chart embedded from Google Sheets. # A reference to the linked chart. |
| 28965 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| 28966 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 28967 | # embedded. |
| 28968 | }, |
| 28969 | }, |
| 28970 | "embeddedObjectBorder": { # A border around an EmbeddedObject. # The border of the embedded object. |
| 28971 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 28972 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 28973 | # a transparent color. |
| 28974 | "rgbColor": { # An RGB color. # The RGB color value. |
| 28975 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 28976 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 28977 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 28978 | }, |
| 28979 | }, |
| 28980 | }, |
| 28981 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 28982 | "magnitude": 3.14, # The magnitude. |
| 28983 | "unit": "A String", # The units for magnitude. |
| 28984 | }, |
| 28985 | "dashStyle": "A String", # The dash style of the border. |
| 28986 | "propertyState": "A String", # The property state of the border property. |
| 28987 | }, |
| 28988 | "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom margin of the embedded object. |
| 28989 | "magnitude": 3.14, # The magnitude. |
| 28990 | "unit": "A String", # The units for magnitude. |
| 28991 | }, |
| 28992 | "marginLeft": { # A magnitude in a single direction in the specified units. # The left margin of the embedded object. |
| 28993 | "magnitude": 3.14, # The magnitude. |
| 28994 | "unit": "A String", # The units for magnitude. |
| 28995 | }, |
| 28996 | "marginRight": { # A magnitude in a single direction in the specified units. # The right margin of the embedded object. |
| 28997 | "magnitude": 3.14, # The magnitude. |
| 28998 | "unit": "A String", # The units for magnitude. |
| 28999 | }, |
| 29000 | "marginTop": { # A magnitude in a single direction in the specified units. # The top margin of the embedded object. |
| 29001 | "magnitude": 3.14, # The magnitude. |
| 29002 | "unit": "A String", # The units for magnitude. |
| 29003 | }, |
| 29004 | "size": { # A width and height. # The visible size of the image after cropping. |
| 29005 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 29006 | "magnitude": 3.14, # The magnitude. |
| 29007 | "unit": "A String", # The units for magnitude. |
| 29008 | }, |
| 29009 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 29010 | "magnitude": 3.14, # The magnitude. |
| 29011 | "unit": "A String", # The units for magnitude. |
| 29012 | }, |
| 29013 | }, |
| 29014 | }, |
| 29015 | }, |
| 29016 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 29017 | # of this content. |
| 29018 | "A String", |
| 29019 | ], |
| 29020 | "suggestedPositionedObjectPropertiesChanges": { # The suggested changes to the positioned object properties, keyed by |
| 29021 | # suggestion ID. |
| 29022 | "a_key": { # A suggested change to PositionedObjectProperties. |
| 29023 | "positionedObjectPropertiesSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| 29024 | # PositionedObjectProperties have been changed in this |
| 29025 | # suggestion. |
| 29026 | # PositionedObjectProperties |
| 29027 | # have been changed in this suggestion. For any field set to true, there is a |
| 29028 | # new suggested value. |
| 29029 | "positioningSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in positioning have been |
| 29030 | # changed in this suggestion. |
| 29031 | # PositionedObjectPositioning have been changed in this |
| 29032 | # suggestion. For any field set to true, there is a new suggested value. |
| 29033 | "layoutSuggested": True or False, # Indicates if there was a suggested change to layout. |
| 29034 | "topOffsetSuggested": True or False, # Indicates if there was a suggested change to top_offset. |
| 29035 | "leftOffsetSuggested": True or False, # Indicates if there was a suggested change to left_offset. |
| 29036 | }, |
| 29037 | "embeddedObjectSuggestionState": { # A mask that indicates which of the fields on the base EmbeddedObject have been changed in this suggestion. # A mask that indicates which of the fields in embedded_object have been |
| 29038 | # changed in this suggestion. |
| 29039 | # For any field set to true, there is a new suggested value. |
| 29040 | "linkedContentReferenceSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in linked_content_reference have been |
| 29041 | # changed in this suggestion. |
| 29042 | # LinkedContentReference have |
| 29043 | # been changed in this suggestion. For any field set to true, there is a new |
| 29044 | # suggested value. |
| 29045 | "sheetsChartReferenceSuggestionState": { # A mask that indicates which of the fields on the base SheetsChartReference have been changed in this # A mask that indicates which of the fields in sheets_chart_reference have |
| 29046 | # been changed in this suggestion. |
| 29047 | # suggestion. For any field set to true, there is a new suggested value. |
| 29048 | "spreadsheetIdSuggested": True or False, # Indicates if there was a suggested change to spreadsheet_id. |
| 29049 | "chartIdSuggested": True or False, # Indicates if there was a suggested change to chart_id. |
| 29050 | }, |
| 29051 | }, |
| 29052 | "sizeSuggestionState": { # A mask that indicates which of the fields on the base Size have been changed in this suggestion. # A mask that indicates which of the fields in size have been changed in this |
| 29053 | # suggestion. |
| 29054 | # For any field set to true, the Size has |
| 29055 | # a new suggested value. |
| 29056 | "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| 29057 | "heightSuggested": True or False, # Indicates if there was a suggested change to height. |
| 29058 | }, |
| 29059 | "embeddedDrawingPropertiesSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in embedded_drawing_properties have been |
| 29060 | # changed in this suggestion. |
| 29061 | # EmbeddedDrawingProperties |
| 29062 | # have been changed in this suggestion. For any field set to true, there is a |
| 29063 | # new suggested value. |
| 29064 | }, |
| 29065 | "marginRightSuggested": True or False, # Indicates if there was a suggested change to margin_right. |
| 29066 | "imagePropertiesSuggestionState": { # A mask that indicates which of the fields on the base ImageProperties have been changed in this suggestion. # A mask that indicates which of the fields in image_properties have been changed in |
| 29067 | # this suggestion. |
| 29068 | # For any field set to true, there is a new suggested value. |
| 29069 | "cropPropertiesSuggestionState": { # A mask that indicates which of the fields on the base CropProperties have been changed in this suggestion. # A mask that indicates which of the fields in crop_properties have been changed in |
| 29070 | # this suggestion. |
| 29071 | # For any field set to true, there is a new suggested value. |
| 29072 | "offsetLeftSuggested": True or False, # Indicates if there was a suggested change to offset_left. |
| 29073 | "offsetBottomSuggested": True or False, # Indicates if there was a suggested change to offset_bottom. |
| 29074 | "offsetRightSuggested": True or False, # Indicates if there was a suggested change to offset_right. |
| 29075 | "angleSuggested": True or False, # Indicates if there was a suggested change to angle. |
| 29076 | "offsetTopSuggested": True or False, # Indicates if there was a suggested change to offset_top. |
| 29077 | }, |
| 29078 | "contrastSuggested": True or False, # Indicates if there was a suggested change to contrast. |
| 29079 | "brightnessSuggested": True or False, # Indicates if there was a suggested change to brightness. |
| 29080 | "transparencySuggested": True or False, # Indicates if there was a suggested change to transparency. |
| 29081 | "angleSuggested": True or False, # Indicates if there was a suggested change to angle. |
| 29082 | "sourceUriSuggested": True or False, # Indicates if there was a suggested change to source_uri. |
| 29083 | "contentUriSuggested": True or False, # Indicates if there was a suggested change to |
| 29084 | # content_uri. |
| 29085 | }, |
| 29086 | "descriptionSuggested": True or False, # Indicates if there was a suggested change to description. |
| 29087 | "titleSuggested": True or False, # Indicates if there was a suggested change to title. |
| 29088 | "marginTopSuggested": True or False, # Indicates if there was a suggested change to margin_top. |
| 29089 | "marginLeftSuggested": True or False, # Indicates if there was a suggested change to margin_left. |
| 29090 | "marginBottomSuggested": True or False, # Indicates if there was a suggested change to margin_bottom. |
| 29091 | "embeddedObjectBorderSuggestionState": { # A mask that indicates which of the fields on the base EmbeddedObjectBorder have been changed in this # A mask that indicates which of the fields in embedded_object_border have been |
| 29092 | # changed in this suggestion. |
| 29093 | # suggestion. For any field set to true, there is a new suggested value. |
| 29094 | "colorSuggested": True or False, # Indicates if there was a suggested change to color. |
| 29095 | "dashStyleSuggested": True or False, # Indicates if there was a suggested change to dash_style. |
| 29096 | "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| 29097 | "propertyStateSuggested": True or False, # Indicates if there was a suggested change to property_state. |
| 29098 | }, |
| 29099 | }, |
| 29100 | }, |
| 29101 | "positionedObjectProperties": { # Properties of a PositionedObject. # A PositionedObjectProperties that only includes the |
| 29102 | # changes made in this suggestion. This can be used along with the |
| 29103 | # positioned_object_properties_suggestion_state |
| 29104 | # to see which fields have changed and their new values. |
| 29105 | "positioning": { # The positioning of a PositionedObject. The positioned object is positioned # The positioning of this positioned object relative to the newline of the |
| 29106 | # Paragraph that references this positioned |
| 29107 | # object. |
| 29108 | # relative to the beginning of the Paragraph |
| 29109 | # it is tethered to. |
| 29110 | "leftOffset": { # A magnitude in a single direction in the specified units. # The offset of the left edge of the positioned object relative to the |
| 29111 | # beginning of the Paragraph it is tethered |
| 29112 | # to. The exact positioning of the object can depend on other content in the |
| 29113 | # document and the document's styling. |
| 29114 | "magnitude": 3.14, # The magnitude. |
| 29115 | "unit": "A String", # The units for magnitude. |
| 29116 | }, |
| 29117 | "topOffset": { # A magnitude in a single direction in the specified units. # The offset of the top edge of the positioned object relative to the |
| 29118 | # beginning of the Paragraph it is tethered |
| 29119 | # to. The exact positioning of the object can depend on other content in the |
| 29120 | # document and the document's styling. |
| 29121 | "magnitude": 3.14, # The magnitude. |
| 29122 | "unit": "A String", # The units for magnitude. |
| 29123 | }, |
| 29124 | "layout": "A String", # The layout of this positioned object. |
| 29125 | }, |
| 29126 | "embeddedObject": { # An embedded object in the document. # The embedded object of this positioned object. |
| 29127 | "imageProperties": { # The properties of an image. # The properties of an image. |
| 29128 | "angle": 3.14, # The clockwise rotation angle of the image, in radians. |
| 29129 | "contentUri": "A String", # A URI to the image with a default lifetime of 30 minutes. |
| 29130 | # This URI is tagged with the account of the requester. Anyone with the URI |
| 29131 | # effectively accesses the image as the original requester. Access to the |
| 29132 | # image may be lost if the document's sharing settings change. |
| 29133 | "sourceUri": "A String", # The source URI is the URI used to insert the image. The source URI can be |
| 29134 | # empty. |
| 29135 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 29136 | # [-1.0, 1.0], where 0 means no effect. |
| 29137 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 29138 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 29139 | "cropProperties": { # The crop properties of an image. # The crop properties of the image. |
| 29140 | # |
| 29141 | # The crop rectangle is represented using fractional offsets from the original |
| 29142 | # content's four edges. |
| 29143 | # |
| 29144 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 29145 | # rectangle is positioned inside of the image's original bounding rectangle. |
| 29146 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 29147 | # rectangle is positioned outside of the image's original bounding rectangle. |
| 29148 | # - If all offsets and rotation angle are 0, the image is not cropped. |
| 29149 | "offsetBottom": 3.14, # The offset specifies how far inwards the bottom edge of the crop rectangle |
| 29150 | # is from the bottom edge of the original content as a fraction of the |
| 29151 | # original content's height. |
| 29152 | "angle": 3.14, # The clockwise rotation angle of the crop rectangle around its center, in |
| 29153 | # radians. Rotation is applied after the offsets. |
| 29154 | "offsetLeft": 3.14, # The offset specifies how far inwards the left edge of the crop rectangle is |
| 29155 | # from the left edge of the original content as a fraction of the original |
| 29156 | # content's width. |
| 29157 | "offsetRight": 3.14, # The offset specifies how far inwards the right edge of the crop rectangle |
| 29158 | # is from the right edge of the original content as a fraction of the |
| 29159 | # original content's width. |
| 29160 | "offsetTop": 3.14, # The offset specifies how far inwards the top edge of the crop rectangle is |
| 29161 | # from the top edge of the original content as a fraction of the original |
| 29162 | # content's height. |
| 29163 | }, |
| 29164 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 29165 | # [-1.0, 1.0], where 0 means no effect. |
| 29166 | }, |
| 29167 | "description": "A String", # The description of the embedded object. The `title` and `description` are |
| 29168 | # both combined to display alt text. |
| 29169 | "title": "A String", # The title of the embedded object. The `title` and `description` are both |
| 29170 | # combined to display alt text. |
| 29171 | "embeddedDrawingProperties": { # The properties of an embedded drawing. # The properties of an embedded drawing. |
| 29172 | }, |
| 29173 | "linkedContentReference": { # A reference to the external linked source content. # A reference to the external linked source content. For example, it contains |
| 29174 | # a reference to the source Sheets chart when the embedded object is a linked |
| 29175 | # chart. |
| 29176 | # |
| 29177 | # If unset, then the embedded object is not linked. |
| 29178 | "sheetsChartReference": { # A reference to a linked chart embedded from Google Sheets. # A reference to the linked chart. |
| 29179 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| 29180 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 29181 | # embedded. |
| 29182 | }, |
| 29183 | }, |
| 29184 | "embeddedObjectBorder": { # A border around an EmbeddedObject. # The border of the embedded object. |
| 29185 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 29186 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 29187 | # a transparent color. |
| 29188 | "rgbColor": { # An RGB color. # The RGB color value. |
| 29189 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 29190 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 29191 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 29192 | }, |
| 29193 | }, |
| 29194 | }, |
| 29195 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 29196 | "magnitude": 3.14, # The magnitude. |
| 29197 | "unit": "A String", # The units for magnitude. |
| 29198 | }, |
| 29199 | "dashStyle": "A String", # The dash style of the border. |
| 29200 | "propertyState": "A String", # The property state of the border property. |
| 29201 | }, |
| 29202 | "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom margin of the embedded object. |
| 29203 | "magnitude": 3.14, # The magnitude. |
| 29204 | "unit": "A String", # The units for magnitude. |
| 29205 | }, |
| 29206 | "marginLeft": { # A magnitude in a single direction in the specified units. # The left margin of the embedded object. |
| 29207 | "magnitude": 3.14, # The magnitude. |
| 29208 | "unit": "A String", # The units for magnitude. |
| 29209 | }, |
| 29210 | "marginRight": { # A magnitude in a single direction in the specified units. # The right margin of the embedded object. |
| 29211 | "magnitude": 3.14, # The magnitude. |
| 29212 | "unit": "A String", # The units for magnitude. |
| 29213 | }, |
| 29214 | "marginTop": { # A magnitude in a single direction in the specified units. # The top margin of the embedded object. |
| 29215 | "magnitude": 3.14, # The magnitude. |
| 29216 | "unit": "A String", # The units for magnitude. |
| 29217 | }, |
| 29218 | "size": { # A width and height. # The visible size of the image after cropping. |
| 29219 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 29220 | "magnitude": 3.14, # The magnitude. |
| 29221 | "unit": "A String", # The units for magnitude. |
| 29222 | }, |
| 29223 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 29224 | "magnitude": 3.14, # The magnitude. |
| 29225 | "unit": "A String", # The units for magnitude. |
| 29226 | }, |
| 29227 | }, |
| 29228 | }, |
| 29229 | }, |
| 29230 | }, |
| 29231 | }, |
| 29232 | "objectId": "A String", # The ID of this positioned object. |
| 29233 | "suggestedInsertionId": "A String", # The suggested insertion ID. If empty, then this is not a suggested |
| 29234 | # insertion. |
| 29235 | }, |
| 29236 | }, |
| 29237 | "inlineObjects": { # The inline objects in the document, keyed by object ID. |
| 29238 | "a_key": { # An object that appears inline with text. An InlineObject contains |
| 29239 | # an EmbeddedObject such as an image. |
| 29240 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 29241 | # of this content. |
| 29242 | "A String", |
| 29243 | ], |
| 29244 | "inlineObjectProperties": { # Properties of an InlineObject. # The properties of this inline object. |
| 29245 | "embeddedObject": { # An embedded object in the document. # The embedded object of this inline object. |
| 29246 | "imageProperties": { # The properties of an image. # The properties of an image. |
| 29247 | "angle": 3.14, # The clockwise rotation angle of the image, in radians. |
| 29248 | "contentUri": "A String", # A URI to the image with a default lifetime of 30 minutes. |
| 29249 | # This URI is tagged with the account of the requester. Anyone with the URI |
| 29250 | # effectively accesses the image as the original requester. Access to the |
| 29251 | # image may be lost if the document's sharing settings change. |
| 29252 | "sourceUri": "A String", # The source URI is the URI used to insert the image. The source URI can be |
| 29253 | # empty. |
| 29254 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 29255 | # [-1.0, 1.0], where 0 means no effect. |
| 29256 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 29257 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 29258 | "cropProperties": { # The crop properties of an image. # The crop properties of the image. |
| 29259 | # |
| 29260 | # The crop rectangle is represented using fractional offsets from the original |
| 29261 | # content's four edges. |
| 29262 | # |
| 29263 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 29264 | # rectangle is positioned inside of the image's original bounding rectangle. |
| 29265 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 29266 | # rectangle is positioned outside of the image's original bounding rectangle. |
| 29267 | # - If all offsets and rotation angle are 0, the image is not cropped. |
| 29268 | "offsetBottom": 3.14, # The offset specifies how far inwards the bottom edge of the crop rectangle |
| 29269 | # is from the bottom edge of the original content as a fraction of the |
| 29270 | # original content's height. |
| 29271 | "angle": 3.14, # The clockwise rotation angle of the crop rectangle around its center, in |
| 29272 | # radians. Rotation is applied after the offsets. |
| 29273 | "offsetLeft": 3.14, # The offset specifies how far inwards the left edge of the crop rectangle is |
| 29274 | # from the left edge of the original content as a fraction of the original |
| 29275 | # content's width. |
| 29276 | "offsetRight": 3.14, # The offset specifies how far inwards the right edge of the crop rectangle |
| 29277 | # is from the right edge of the original content as a fraction of the |
| 29278 | # original content's width. |
| 29279 | "offsetTop": 3.14, # The offset specifies how far inwards the top edge of the crop rectangle is |
| 29280 | # from the top edge of the original content as a fraction of the original |
| 29281 | # content's height. |
| 29282 | }, |
| 29283 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 29284 | # [-1.0, 1.0], where 0 means no effect. |
| 29285 | }, |
| 29286 | "description": "A String", # The description of the embedded object. The `title` and `description` are |
| 29287 | # both combined to display alt text. |
| 29288 | "title": "A String", # The title of the embedded object. The `title` and `description` are both |
| 29289 | # combined to display alt text. |
| 29290 | "embeddedDrawingProperties": { # The properties of an embedded drawing. # The properties of an embedded drawing. |
| 29291 | }, |
| 29292 | "linkedContentReference": { # A reference to the external linked source content. # A reference to the external linked source content. For example, it contains |
| 29293 | # a reference to the source Sheets chart when the embedded object is a linked |
| 29294 | # chart. |
| 29295 | # |
| 29296 | # If unset, then the embedded object is not linked. |
| 29297 | "sheetsChartReference": { # A reference to a linked chart embedded from Google Sheets. # A reference to the linked chart. |
| 29298 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| 29299 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 29300 | # embedded. |
| 29301 | }, |
| 29302 | }, |
| 29303 | "embeddedObjectBorder": { # A border around an EmbeddedObject. # The border of the embedded object. |
| 29304 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 29305 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 29306 | # a transparent color. |
| 29307 | "rgbColor": { # An RGB color. # The RGB color value. |
| 29308 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 29309 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 29310 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 29311 | }, |
| 29312 | }, |
| 29313 | }, |
| 29314 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 29315 | "magnitude": 3.14, # The magnitude. |
| 29316 | "unit": "A String", # The units for magnitude. |
| 29317 | }, |
| 29318 | "dashStyle": "A String", # The dash style of the border. |
| 29319 | "propertyState": "A String", # The property state of the border property. |
| 29320 | }, |
| 29321 | "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom margin of the embedded object. |
| 29322 | "magnitude": 3.14, # The magnitude. |
| 29323 | "unit": "A String", # The units for magnitude. |
| 29324 | }, |
| 29325 | "marginLeft": { # A magnitude in a single direction in the specified units. # The left margin of the embedded object. |
| 29326 | "magnitude": 3.14, # The magnitude. |
| 29327 | "unit": "A String", # The units for magnitude. |
| 29328 | }, |
| 29329 | "marginRight": { # A magnitude in a single direction in the specified units. # The right margin of the embedded object. |
| 29330 | "magnitude": 3.14, # The magnitude. |
| 29331 | "unit": "A String", # The units for magnitude. |
| 29332 | }, |
| 29333 | "marginTop": { # A magnitude in a single direction in the specified units. # The top margin of the embedded object. |
| 29334 | "magnitude": 3.14, # The magnitude. |
| 29335 | "unit": "A String", # The units for magnitude. |
| 29336 | }, |
| 29337 | "size": { # A width and height. # The visible size of the image after cropping. |
| 29338 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 29339 | "magnitude": 3.14, # The magnitude. |
| 29340 | "unit": "A String", # The units for magnitude. |
| 29341 | }, |
| 29342 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 29343 | "magnitude": 3.14, # The magnitude. |
| 29344 | "unit": "A String", # The units for magnitude. |
| 29345 | }, |
| 29346 | }, |
| 29347 | }, |
| 29348 | }, |
| 29349 | "suggestedInlineObjectPropertiesChanges": { # The suggested changes to the inline object properties, keyed by suggestion |
| 29350 | # ID. |
| 29351 | "a_key": { # A suggested change to InlineObjectProperties. |
| 29352 | "inlineObjectProperties": { # Properties of an InlineObject. # An InlineObjectProperties |
| 29353 | # that only includes the changes made in this suggestion. This can be used |
| 29354 | # along with the inline_object_properties_suggestion_state |
| 29355 | # to see which fields have changed and their new values. |
| 29356 | "embeddedObject": { # An embedded object in the document. # The embedded object of this inline object. |
| 29357 | "imageProperties": { # The properties of an image. # The properties of an image. |
| 29358 | "angle": 3.14, # The clockwise rotation angle of the image, in radians. |
| 29359 | "contentUri": "A String", # A URI to the image with a default lifetime of 30 minutes. |
| 29360 | # This URI is tagged with the account of the requester. Anyone with the URI |
| 29361 | # effectively accesses the image as the original requester. Access to the |
| 29362 | # image may be lost if the document's sharing settings change. |
| 29363 | "sourceUri": "A String", # The source URI is the URI used to insert the image. The source URI can be |
| 29364 | # empty. |
| 29365 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 29366 | # [-1.0, 1.0], where 0 means no effect. |
| 29367 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 29368 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 29369 | "cropProperties": { # The crop properties of an image. # The crop properties of the image. |
| 29370 | # |
| 29371 | # The crop rectangle is represented using fractional offsets from the original |
| 29372 | # content's four edges. |
| 29373 | # |
| 29374 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 29375 | # rectangle is positioned inside of the image's original bounding rectangle. |
| 29376 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 29377 | # rectangle is positioned outside of the image's original bounding rectangle. |
| 29378 | # - If all offsets and rotation angle are 0, the image is not cropped. |
| 29379 | "offsetBottom": 3.14, # The offset specifies how far inwards the bottom edge of the crop rectangle |
| 29380 | # is from the bottom edge of the original content as a fraction of the |
| 29381 | # original content's height. |
| 29382 | "angle": 3.14, # The clockwise rotation angle of the crop rectangle around its center, in |
| 29383 | # radians. Rotation is applied after the offsets. |
| 29384 | "offsetLeft": 3.14, # The offset specifies how far inwards the left edge of the crop rectangle is |
| 29385 | # from the left edge of the original content as a fraction of the original |
| 29386 | # content's width. |
| 29387 | "offsetRight": 3.14, # The offset specifies how far inwards the right edge of the crop rectangle |
| 29388 | # is from the right edge of the original content as a fraction of the |
| 29389 | # original content's width. |
| 29390 | "offsetTop": 3.14, # The offset specifies how far inwards the top edge of the crop rectangle is |
| 29391 | # from the top edge of the original content as a fraction of the original |
| 29392 | # content's height. |
| 29393 | }, |
| 29394 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 29395 | # [-1.0, 1.0], where 0 means no effect. |
| 29396 | }, |
| 29397 | "description": "A String", # The description of the embedded object. The `title` and `description` are |
| 29398 | # both combined to display alt text. |
| 29399 | "title": "A String", # The title of the embedded object. The `title` and `description` are both |
| 29400 | # combined to display alt text. |
| 29401 | "embeddedDrawingProperties": { # The properties of an embedded drawing. # The properties of an embedded drawing. |
| 29402 | }, |
| 29403 | "linkedContentReference": { # A reference to the external linked source content. # A reference to the external linked source content. For example, it contains |
| 29404 | # a reference to the source Sheets chart when the embedded object is a linked |
| 29405 | # chart. |
| 29406 | # |
| 29407 | # If unset, then the embedded object is not linked. |
| 29408 | "sheetsChartReference": { # A reference to a linked chart embedded from Google Sheets. # A reference to the linked chart. |
| 29409 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| 29410 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 29411 | # embedded. |
| 29412 | }, |
| 29413 | }, |
| 29414 | "embeddedObjectBorder": { # A border around an EmbeddedObject. # The border of the embedded object. |
| 29415 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 29416 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 29417 | # a transparent color. |
| 29418 | "rgbColor": { # An RGB color. # The RGB color value. |
| 29419 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 29420 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 29421 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 29422 | }, |
| 29423 | }, |
| 29424 | }, |
| 29425 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 29426 | "magnitude": 3.14, # The magnitude. |
| 29427 | "unit": "A String", # The units for magnitude. |
| 29428 | }, |
| 29429 | "dashStyle": "A String", # The dash style of the border. |
| 29430 | "propertyState": "A String", # The property state of the border property. |
| 29431 | }, |
| 29432 | "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom margin of the embedded object. |
| 29433 | "magnitude": 3.14, # The magnitude. |
| 29434 | "unit": "A String", # The units for magnitude. |
| 29435 | }, |
| 29436 | "marginLeft": { # A magnitude in a single direction in the specified units. # The left margin of the embedded object. |
| 29437 | "magnitude": 3.14, # The magnitude. |
| 29438 | "unit": "A String", # The units for magnitude. |
| 29439 | }, |
| 29440 | "marginRight": { # A magnitude in a single direction in the specified units. # The right margin of the embedded object. |
| 29441 | "magnitude": 3.14, # The magnitude. |
| 29442 | "unit": "A String", # The units for magnitude. |
| 29443 | }, |
| 29444 | "marginTop": { # A magnitude in a single direction in the specified units. # The top margin of the embedded object. |
| 29445 | "magnitude": 3.14, # The magnitude. |
| 29446 | "unit": "A String", # The units for magnitude. |
| 29447 | }, |
| 29448 | "size": { # A width and height. # The visible size of the image after cropping. |
| 29449 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 29450 | "magnitude": 3.14, # The magnitude. |
| 29451 | "unit": "A String", # The units for magnitude. |
| 29452 | }, |
| 29453 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 29454 | "magnitude": 3.14, # The magnitude. |
| 29455 | "unit": "A String", # The units for magnitude. |
| 29456 | }, |
| 29457 | }, |
| 29458 | }, |
| 29459 | }, |
| 29460 | "inlineObjectPropertiesSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| 29461 | # InlineObjectProperties have |
| 29462 | # been changed in this suggestion. |
| 29463 | # InlineObjectProperties have |
| 29464 | # been changed in this suggestion. For any field set to true, there is a new |
| 29465 | # suggested value. |
| 29466 | "embeddedObjectSuggestionState": { # A mask that indicates which of the fields on the base EmbeddedObject have been changed in this suggestion. # A mask that indicates which of the fields in embedded_object have been |
| 29467 | # changed in this suggestion. |
| 29468 | # For any field set to true, there is a new suggested value. |
| 29469 | "linkedContentReferenceSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in linked_content_reference have been |
| 29470 | # changed in this suggestion. |
| 29471 | # LinkedContentReference have |
| 29472 | # been changed in this suggestion. For any field set to true, there is a new |
| 29473 | # suggested value. |
| 29474 | "sheetsChartReferenceSuggestionState": { # A mask that indicates which of the fields on the base SheetsChartReference have been changed in this # A mask that indicates which of the fields in sheets_chart_reference have |
| 29475 | # been changed in this suggestion. |
| 29476 | # suggestion. For any field set to true, there is a new suggested value. |
| 29477 | "spreadsheetIdSuggested": True or False, # Indicates if there was a suggested change to spreadsheet_id. |
| 29478 | "chartIdSuggested": True or False, # Indicates if there was a suggested change to chart_id. |
| 29479 | }, |
| 29480 | }, |
| 29481 | "sizeSuggestionState": { # A mask that indicates which of the fields on the base Size have been changed in this suggestion. # A mask that indicates which of the fields in size have been changed in this |
| 29482 | # suggestion. |
| 29483 | # For any field set to true, the Size has |
| 29484 | # a new suggested value. |
| 29485 | "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| 29486 | "heightSuggested": True or False, # Indicates if there was a suggested change to height. |
| 29487 | }, |
| 29488 | "embeddedDrawingPropertiesSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in embedded_drawing_properties have been |
| 29489 | # changed in this suggestion. |
| 29490 | # EmbeddedDrawingProperties |
| 29491 | # have been changed in this suggestion. For any field set to true, there is a |
| 29492 | # new suggested value. |
| 29493 | }, |
| 29494 | "marginRightSuggested": True or False, # Indicates if there was a suggested change to margin_right. |
| 29495 | "imagePropertiesSuggestionState": { # A mask that indicates which of the fields on the base ImageProperties have been changed in this suggestion. # A mask that indicates which of the fields in image_properties have been changed in |
| 29496 | # this suggestion. |
| 29497 | # For any field set to true, there is a new suggested value. |
| 29498 | "cropPropertiesSuggestionState": { # A mask that indicates which of the fields on the base CropProperties have been changed in this suggestion. # A mask that indicates which of the fields in crop_properties have been changed in |
| 29499 | # this suggestion. |
| 29500 | # For any field set to true, there is a new suggested value. |
| 29501 | "offsetLeftSuggested": True or False, # Indicates if there was a suggested change to offset_left. |
| 29502 | "offsetBottomSuggested": True or False, # Indicates if there was a suggested change to offset_bottom. |
| 29503 | "offsetRightSuggested": True or False, # Indicates if there was a suggested change to offset_right. |
| 29504 | "angleSuggested": True or False, # Indicates if there was a suggested change to angle. |
| 29505 | "offsetTopSuggested": True or False, # Indicates if there was a suggested change to offset_top. |
| 29506 | }, |
| 29507 | "contrastSuggested": True or False, # Indicates if there was a suggested change to contrast. |
| 29508 | "brightnessSuggested": True or False, # Indicates if there was a suggested change to brightness. |
| 29509 | "transparencySuggested": True or False, # Indicates if there was a suggested change to transparency. |
| 29510 | "angleSuggested": True or False, # Indicates if there was a suggested change to angle. |
| 29511 | "sourceUriSuggested": True or False, # Indicates if there was a suggested change to source_uri. |
| 29512 | "contentUriSuggested": True or False, # Indicates if there was a suggested change to |
| 29513 | # content_uri. |
| 29514 | }, |
| 29515 | "descriptionSuggested": True or False, # Indicates if there was a suggested change to description. |
| 29516 | "titleSuggested": True or False, # Indicates if there was a suggested change to title. |
| 29517 | "marginTopSuggested": True or False, # Indicates if there was a suggested change to margin_top. |
| 29518 | "marginLeftSuggested": True or False, # Indicates if there was a suggested change to margin_left. |
| 29519 | "marginBottomSuggested": True or False, # Indicates if there was a suggested change to margin_bottom. |
| 29520 | "embeddedObjectBorderSuggestionState": { # A mask that indicates which of the fields on the base EmbeddedObjectBorder have been changed in this # A mask that indicates which of the fields in embedded_object_border have been |
| 29521 | # changed in this suggestion. |
| 29522 | # suggestion. For any field set to true, there is a new suggested value. |
| 29523 | "colorSuggested": True or False, # Indicates if there was a suggested change to color. |
| 29524 | "dashStyleSuggested": True or False, # Indicates if there was a suggested change to dash_style. |
| 29525 | "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| 29526 | "propertyStateSuggested": True or False, # Indicates if there was a suggested change to property_state. |
| 29527 | }, |
| 29528 | }, |
| 29529 | }, |
| 29530 | }, |
| 29531 | }, |
| 29532 | "objectId": "A String", # The ID of this inline object. |
| 29533 | "suggestedInsertionId": "A String", # The suggested insertion ID. If empty, then this is not a suggested |
| 29534 | # insertion. |
| 29535 | }, |
| 29536 | }, |
| 29537 | "revisionId": "A String", # The revision ID of the document. Can be used in update requests to specify |
| 29538 | # which revision of a document to apply updates to and how the request should |
| 29539 | # behave if the document has been edited since that revision. Only populated |
| 29540 | # if the user has edit access to the document. |
| 29541 | # |
| 29542 | # The format of the revision ID may change over time, so it should be treated |
| 29543 | # opaquely. A returned revision ID is only guaranteed to be valid for 24 |
| 29544 | # hours after it has been returned and cannot be shared across users. If the |
| 29545 | # revision ID is unchanged between calls, then the document has not changed. |
| 29546 | # Conversely, a changed ID (for the same document and user) usually means the |
| 29547 | # document has been updated; however, a changed ID can also be due to |
| 29548 | # internal factors such as ID format changes. |
| 29549 | "documentId": "A String", # The ID of the document. |
| 29550 | }</pre> |
| 29551 | </div> |
| 29552 | |
| 29553 | <div class="method"> |
| 29554 | <code class="details" id="get">get(documentId, x__xgafv=None, suggestionsViewMode=None)</code> |
| 29555 | <pre>Gets the latest version of the specified document. |
| 29556 | |
| 29557 | Args: |
| 29558 | documentId: string, The ID of the document to retrieve. (required) |
| 29559 | x__xgafv: string, V1 error format. |
| 29560 | Allowed values |
| 29561 | 1 - v1 error format |
| 29562 | 2 - v2 error format |
| 29563 | suggestionsViewMode: string, The suggestions view mode to apply to the document. This allows viewing the |
| 29564 | document with all suggestions inline, accepted or rejected. If one is not |
| 29565 | specified, DEFAULT_FOR_CURRENT_ACCESS is |
| 29566 | used. |
| 29567 | |
| 29568 | Returns: |
| 29569 | An object of the form: |
| 29570 | |
| 29571 | { # A Google Docs document. |
| 29572 | "body": { # The document body. # The main body of the document. |
| 29573 | # |
| 29574 | # The body typically contains the full document contents except for |
| 29575 | # headers, footers |
| 29576 | # and footnotes. |
| 29577 | "content": [ # The contents of the body. |
| 29578 | # |
| 29579 | # The indexes for the body's content begin at zero. |
| 29580 | { # A StructuralElement describes content that provides structure to the |
| 29581 | # document. |
| 29582 | "endIndex": 42, # The zero-based end index of this structural element, exclusive, in UTF-16 |
| 29583 | # code units. |
| 29584 | "sectionBreak": { # A StructuralElement representing a # A section break type of structural element. |
| 29585 | # section break. A section is a range of content which has the same |
| 29586 | # SectionStyle. A section break represents |
| 29587 | # the start of a new section, and the section style applies to the section |
| 29588 | # after the section break. |
| 29589 | # |
| 29590 | # The document body always begins with a section break. |
| 29591 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 29592 | # of this content. |
| 29593 | "A String", |
| 29594 | ], |
| 29595 | "sectionStyle": { # The styling that applies to a section. # The style of the section after this section break. |
| 29596 | "contentDirection": "A String", # The content direction of this section. If unset, the value defaults to |
| 29597 | # LEFT_TO_RIGHT. |
| 29598 | "columnProperties": [ # The section's columns properties. |
| 29599 | # |
| 29600 | # If empty, the section contains one column with the default properties in |
| 29601 | # the Docs editor. |
| 29602 | { # Properties that apply to a section's column. |
| 29603 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. |
| 29604 | "magnitude": 3.14, # The magnitude. |
| 29605 | "unit": "A String", # The units for magnitude. |
| 29606 | }, |
| 29607 | "paddingEnd": { # A magnitude in a single direction in the specified units. # The padding at the end of the column. |
| 29608 | "magnitude": 3.14, # The magnitude. |
| 29609 | "unit": "A String", # The units for magnitude. |
| 29610 | }, |
| 29611 | }, |
| 29612 | ], |
| 29613 | "columnSeparatorStyle": "A String", # The style of column separators. |
| 29614 | # |
| 29615 | # This style can be set even when there is one column in the section. |
| 29616 | }, |
| 29617 | "suggestedInsertionIds": [ # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is |
| 29618 | # a nested suggested change. If empty, then this is not a suggested |
| 29619 | # insertion. |
| 29620 | "A String", |
| 29621 | ], |
| 29622 | }, |
| 29623 | "tableOfContents": { # A StructuralElement representing # A table of contents type of structural element. |
| 29624 | # a table of contents. |
| 29625 | "content": [ # The content of the table of contents. |
| 29626 | # Object with schema name: StructuralElement |
| 29627 | ], |
| 29628 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 29629 | # of this content. |
| 29630 | "A String", |
| 29631 | ], |
| 29632 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it |
| 29633 | # is a nested suggested change. If empty, then this is not a suggested |
| 29634 | # insertion. |
| 29635 | "A String", |
| 29636 | ], |
| 29637 | }, |
| 29638 | "startIndex": 42, # The zero-based start index of this structural element, in UTF-16 code |
| 29639 | # units. |
| 29640 | "paragraph": { # A StructuralElement representing a # A paragraph type of structural element. |
| 29641 | # paragraph. A paragraph is a range of content that is terminated with a |
| 29642 | # newline character. |
| 29643 | "elements": [ # The content of the paragraph broken down into its component parts. |
| 29644 | { # A ParagraphElement describes content within a |
| 29645 | # Paragraph. |
| 29646 | "endIndex": 42, # The zero-base end index of this paragraph element, exclusive, in UTF-16 |
| 29647 | # code units. |
| 29648 | "equation": { # A ParagraphElement representing an # An equation paragraph element. |
| 29649 | # equation. |
| 29650 | "suggestedInsertionIds": [ # The suggested insertion IDs. A Equation |
| 29651 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 29652 | # empty, then this is not a suggested insertion. |
| 29653 | "A String", |
| 29654 | ], |
| 29655 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 29656 | # of this content. |
| 29657 | "A String", |
| 29658 | ], |
| 29659 | }, |
| 29660 | "columnBreak": { # A ParagraphElement representing a # A column break paragraph element. |
| 29661 | # column break. A column break makes the subsequent text start at the top of |
| 29662 | # the next column. |
| 29663 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this ColumnBreak. |
| 29664 | # |
| 29665 | # Similar to text content, like text runs and footnote references, the text |
| 29666 | # style of a column break can affect content layout as well as the styling of |
| 29667 | # text inserted adjacent to it. |
| 29668 | # |
| 29669 | # Inherited text styles are represented as unset fields in this message. A |
| 29670 | # text style's parent depends on where the text style is defined: |
| 29671 | # |
| 29672 | # * The TextStyle of text in a Paragraph |
| 29673 | # inherits from the paragraph's corresponding named style type. |
| 29674 | # * The TextStyle on a named style |
| 29675 | # inherits from the normal text named style. |
| 29676 | # * The TextStyle of the normal text named style inherits |
| 29677 | # from the default text style in the Docs editor. |
| 29678 | # * The TextStyle on a Paragraph element |
| 29679 | # that is contained in a table may inherit its text style from the table |
| 29680 | # style. |
| 29681 | # |
| 29682 | # If the text style does not inherit from a parent, unsetting fields will |
| 29683 | # revert the style to a value matching the defaults in the Docs editor. |
| 29684 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 29685 | # or transparent, depending on the `color` field. |
| 29686 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 29687 | # a transparent color. |
| 29688 | "rgbColor": { # An RGB color. # The RGB color value. |
| 29689 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 29690 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 29691 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 29692 | }, |
| 29693 | }, |
| 29694 | }, |
| 29695 | "italic": True or False, # Whether or not the text is italicized. |
| 29696 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 29697 | # |
| 29698 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 29699 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 29700 | # The `font_size` itself is not affected by changes in this field. |
| 29701 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 29702 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 29703 | # |
| 29704 | # If an update request specifies values for both `weighted_font_family` and |
| 29705 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 29706 | # |
| 29707 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 29708 | # |
| 29709 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 29710 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 29711 | # is returned. |
| 29712 | "fontFamily": "A String", # The font family of the text. |
| 29713 | # |
| 29714 | # The font family can be any font from the Font menu in Docs or from |
| 29715 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 29716 | # unrecognized, the text is rendered in `Arial`. |
| 29717 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 29718 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 29719 | # numerical values described in the CSS 2.1 Specification, |
| 29720 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 29721 | # non-numerical values disallowed. |
| 29722 | # |
| 29723 | # The default value is `400` ("normal"). |
| 29724 | # |
| 29725 | # The font weight makes up just one component of the rendered font weight. |
| 29726 | # The rendered weight is determined by a combination of the `weight` and the |
| 29727 | # text style's resolved `bold` value, after accounting for inheritance: |
| 29728 | # |
| 29729 | # * If the text is bold and the weight is less than `400`, the rendered |
| 29730 | # weight is 400. |
| 29731 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 29732 | # is less than `700`, the rendered weight is `700`. |
| 29733 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 29734 | # equal to the weight. |
| 29735 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 29736 | }, |
| 29737 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 29738 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 29739 | "magnitude": 3.14, # The magnitude. |
| 29740 | "unit": "A String", # The units for magnitude. |
| 29741 | }, |
| 29742 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 29743 | # or transparent, depending on the `color` field. |
| 29744 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 29745 | # a transparent color. |
| 29746 | "rgbColor": { # An RGB color. # The RGB color value. |
| 29747 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 29748 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 29749 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 29750 | }, |
| 29751 | }, |
| 29752 | }, |
| 29753 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 29754 | # are not inherited from parent text. |
| 29755 | # |
| 29756 | # Changing the link in an update request causes some other changes to the |
| 29757 | # text style of the range: |
| 29758 | # |
| 29759 | # * When setting a link, the text foreground color will be updated to the |
| 29760 | # default link color and the text will be underlined. If these fields are |
| 29761 | # modified in the same request, those values will be used instead of the |
| 29762 | # link defaults. |
| 29763 | # * Setting a link on a text range that overlaps with an existing link will |
| 29764 | # also update the existing link to point to the new URL. |
| 29765 | # * Links are not settable on newline characters. As a result, setting a link |
| 29766 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 29767 | # will separate the newline character(s) into their own text runs. The |
| 29768 | # link will be applied separately to the runs before and after the newline. |
| 29769 | # * Removing a link will update the text style of the range to match the |
| 29770 | # style of the preceding text (or the default text styles if the preceding |
| 29771 | # text is another link) unless different styles are being set in the same |
| 29772 | # request. |
| 29773 | "headingId": "A String", # The ID of a heading in this document. |
| 29774 | "url": "A String", # An external URL. |
| 29775 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 29776 | }, |
| 29777 | "underline": True or False, # Whether or not the text is underlined. |
| 29778 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 29779 | }, |
| 29780 | "suggestedInsertionIds": [ # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is |
| 29781 | # a nested suggested change. If empty, then this is not a suggested |
| 29782 | # insertion. |
| 29783 | "A String", |
| 29784 | ], |
| 29785 | "suggestedTextStyleChanges": { # The suggested text style changes to this ColumnBreak, keyed by suggestion |
| 29786 | # ID. |
| 29787 | "a_key": { # A suggested change to a TextStyle. |
| 29788 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 29789 | # the changes made in this suggestion. This can be used along with the |
| 29790 | # text_style_suggestion_state |
| 29791 | # to see which fields have changed and their new values. |
| 29792 | # |
| 29793 | # Inherited text styles are represented as unset fields in this message. A |
| 29794 | # text style's parent depends on where the text style is defined: |
| 29795 | # |
| 29796 | # * The TextStyle of text in a Paragraph |
| 29797 | # inherits from the paragraph's corresponding named style type. |
| 29798 | # * The TextStyle on a named style |
| 29799 | # inherits from the normal text named style. |
| 29800 | # * The TextStyle of the normal text named style inherits |
| 29801 | # from the default text style in the Docs editor. |
| 29802 | # * The TextStyle on a Paragraph element |
| 29803 | # that is contained in a table may inherit its text style from the table |
| 29804 | # style. |
| 29805 | # |
| 29806 | # If the text style does not inherit from a parent, unsetting fields will |
| 29807 | # revert the style to a value matching the defaults in the Docs editor. |
| 29808 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 29809 | # or transparent, depending on the `color` field. |
| 29810 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 29811 | # a transparent color. |
| 29812 | "rgbColor": { # An RGB color. # The RGB color value. |
| 29813 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 29814 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 29815 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 29816 | }, |
| 29817 | }, |
| 29818 | }, |
| 29819 | "italic": True or False, # Whether or not the text is italicized. |
| 29820 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 29821 | # |
| 29822 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 29823 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 29824 | # The `font_size` itself is not affected by changes in this field. |
| 29825 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 29826 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 29827 | # |
| 29828 | # If an update request specifies values for both `weighted_font_family` and |
| 29829 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 29830 | # |
| 29831 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 29832 | # |
| 29833 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 29834 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 29835 | # is returned. |
| 29836 | "fontFamily": "A String", # The font family of the text. |
| 29837 | # |
| 29838 | # The font family can be any font from the Font menu in Docs or from |
| 29839 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 29840 | # unrecognized, the text is rendered in `Arial`. |
| 29841 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 29842 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 29843 | # numerical values described in the CSS 2.1 Specification, |
| 29844 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 29845 | # non-numerical values disallowed. |
| 29846 | # |
| 29847 | # The default value is `400` ("normal"). |
| 29848 | # |
| 29849 | # The font weight makes up just one component of the rendered font weight. |
| 29850 | # The rendered weight is determined by a combination of the `weight` and the |
| 29851 | # text style's resolved `bold` value, after accounting for inheritance: |
| 29852 | # |
| 29853 | # * If the text is bold and the weight is less than `400`, the rendered |
| 29854 | # weight is 400. |
| 29855 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 29856 | # is less than `700`, the rendered weight is `700`. |
| 29857 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 29858 | # equal to the weight. |
| 29859 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 29860 | }, |
| 29861 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 29862 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 29863 | "magnitude": 3.14, # The magnitude. |
| 29864 | "unit": "A String", # The units for magnitude. |
| 29865 | }, |
| 29866 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 29867 | # or transparent, depending on the `color` field. |
| 29868 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 29869 | # a transparent color. |
| 29870 | "rgbColor": { # An RGB color. # The RGB color value. |
| 29871 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 29872 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 29873 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 29874 | }, |
| 29875 | }, |
| 29876 | }, |
| 29877 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 29878 | # are not inherited from parent text. |
| 29879 | # |
| 29880 | # Changing the link in an update request causes some other changes to the |
| 29881 | # text style of the range: |
| 29882 | # |
| 29883 | # * When setting a link, the text foreground color will be updated to the |
| 29884 | # default link color and the text will be underlined. If these fields are |
| 29885 | # modified in the same request, those values will be used instead of the |
| 29886 | # link defaults. |
| 29887 | # * Setting a link on a text range that overlaps with an existing link will |
| 29888 | # also update the existing link to point to the new URL. |
| 29889 | # * Links are not settable on newline characters. As a result, setting a link |
| 29890 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 29891 | # will separate the newline character(s) into their own text runs. The |
| 29892 | # link will be applied separately to the runs before and after the newline. |
| 29893 | # * Removing a link will update the text style of the range to match the |
| 29894 | # style of the preceding text (or the default text styles if the preceding |
| 29895 | # text is another link) unless different styles are being set in the same |
| 29896 | # request. |
| 29897 | "headingId": "A String", # The ID of a heading in this document. |
| 29898 | "url": "A String", # An external URL. |
| 29899 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 29900 | }, |
| 29901 | "underline": True or False, # Whether or not the text is underlined. |
| 29902 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 29903 | }, |
| 29904 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 29905 | # For any field set to true, there is a new suggested value. |
| 29906 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 29907 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 29908 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 29909 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 29910 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 29911 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 29912 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 29913 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 29914 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 29915 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 29916 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 29917 | }, |
| 29918 | }, |
| 29919 | }, |
| 29920 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 29921 | # of this content. |
| 29922 | "A String", |
| 29923 | ], |
| 29924 | }, |
| 29925 | "startIndex": 42, # The zero-based start index of this paragraph element, in UTF-16 code units. |
| 29926 | "pageBreak": { # A ParagraphElement representing a # A page break paragraph element. |
| 29927 | # page break. A page break makes the subsequent text start at the top of the |
| 29928 | # next page. |
| 29929 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this PageBreak. |
| 29930 | # |
| 29931 | # Similar to text content, like text runs and footnote references, the text |
| 29932 | # style of a page break can affect content layout as well as the styling of |
| 29933 | # text inserted adjacent to it. |
| 29934 | # |
| 29935 | # Inherited text styles are represented as unset fields in this message. A |
| 29936 | # text style's parent depends on where the text style is defined: |
| 29937 | # |
| 29938 | # * The TextStyle of text in a Paragraph |
| 29939 | # inherits from the paragraph's corresponding named style type. |
| 29940 | # * The TextStyle on a named style |
| 29941 | # inherits from the normal text named style. |
| 29942 | # * The TextStyle of the normal text named style inherits |
| 29943 | # from the default text style in the Docs editor. |
| 29944 | # * The TextStyle on a Paragraph element |
| 29945 | # that is contained in a table may inherit its text style from the table |
| 29946 | # style. |
| 29947 | # |
| 29948 | # If the text style does not inherit from a parent, unsetting fields will |
| 29949 | # revert the style to a value matching the defaults in the Docs editor. |
| 29950 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 29951 | # or transparent, depending on the `color` field. |
| 29952 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 29953 | # a transparent color. |
| 29954 | "rgbColor": { # An RGB color. # The RGB color value. |
| 29955 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 29956 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 29957 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 29958 | }, |
| 29959 | }, |
| 29960 | }, |
| 29961 | "italic": True or False, # Whether or not the text is italicized. |
| 29962 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 29963 | # |
| 29964 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 29965 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 29966 | # The `font_size` itself is not affected by changes in this field. |
| 29967 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 29968 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 29969 | # |
| 29970 | # If an update request specifies values for both `weighted_font_family` and |
| 29971 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 29972 | # |
| 29973 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 29974 | # |
| 29975 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 29976 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 29977 | # is returned. |
| 29978 | "fontFamily": "A String", # The font family of the text. |
| 29979 | # |
| 29980 | # The font family can be any font from the Font menu in Docs or from |
| 29981 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 29982 | # unrecognized, the text is rendered in `Arial`. |
| 29983 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 29984 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 29985 | # numerical values described in the CSS 2.1 Specification, |
| 29986 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 29987 | # non-numerical values disallowed. |
| 29988 | # |
| 29989 | # The default value is `400` ("normal"). |
| 29990 | # |
| 29991 | # The font weight makes up just one component of the rendered font weight. |
| 29992 | # The rendered weight is determined by a combination of the `weight` and the |
| 29993 | # text style's resolved `bold` value, after accounting for inheritance: |
| 29994 | # |
| 29995 | # * If the text is bold and the weight is less than `400`, the rendered |
| 29996 | # weight is 400. |
| 29997 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 29998 | # is less than `700`, the rendered weight is `700`. |
| 29999 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 30000 | # equal to the weight. |
| 30001 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 30002 | }, |
| 30003 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 30004 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 30005 | "magnitude": 3.14, # The magnitude. |
| 30006 | "unit": "A String", # The units for magnitude. |
| 30007 | }, |
| 30008 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 30009 | # or transparent, depending on the `color` field. |
| 30010 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 30011 | # a transparent color. |
| 30012 | "rgbColor": { # An RGB color. # The RGB color value. |
| 30013 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30014 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30015 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30016 | }, |
| 30017 | }, |
| 30018 | }, |
| 30019 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 30020 | # are not inherited from parent text. |
| 30021 | # |
| 30022 | # Changing the link in an update request causes some other changes to the |
| 30023 | # text style of the range: |
| 30024 | # |
| 30025 | # * When setting a link, the text foreground color will be updated to the |
| 30026 | # default link color and the text will be underlined. If these fields are |
| 30027 | # modified in the same request, those values will be used instead of the |
| 30028 | # link defaults. |
| 30029 | # * Setting a link on a text range that overlaps with an existing link will |
| 30030 | # also update the existing link to point to the new URL. |
| 30031 | # * Links are not settable on newline characters. As a result, setting a link |
| 30032 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 30033 | # will separate the newline character(s) into their own text runs. The |
| 30034 | # link will be applied separately to the runs before and after the newline. |
| 30035 | # * Removing a link will update the text style of the range to match the |
| 30036 | # style of the preceding text (or the default text styles if the preceding |
| 30037 | # text is another link) unless different styles are being set in the same |
| 30038 | # request. |
| 30039 | "headingId": "A String", # The ID of a heading in this document. |
| 30040 | "url": "A String", # An external URL. |
| 30041 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 30042 | }, |
| 30043 | "underline": True or False, # Whether or not the text is underlined. |
| 30044 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 30045 | }, |
| 30046 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 30047 | # of this content. |
| 30048 | "A String", |
| 30049 | ], |
| 30050 | "suggestedTextStyleChanges": { # The suggested text style changes to this PageBreak, keyed by suggestion ID. |
| 30051 | "a_key": { # A suggested change to a TextStyle. |
| 30052 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 30053 | # the changes made in this suggestion. This can be used along with the |
| 30054 | # text_style_suggestion_state |
| 30055 | # to see which fields have changed and their new values. |
| 30056 | # |
| 30057 | # Inherited text styles are represented as unset fields in this message. A |
| 30058 | # text style's parent depends on where the text style is defined: |
| 30059 | # |
| 30060 | # * The TextStyle of text in a Paragraph |
| 30061 | # inherits from the paragraph's corresponding named style type. |
| 30062 | # * The TextStyle on a named style |
| 30063 | # inherits from the normal text named style. |
| 30064 | # * The TextStyle of the normal text named style inherits |
| 30065 | # from the default text style in the Docs editor. |
| 30066 | # * The TextStyle on a Paragraph element |
| 30067 | # that is contained in a table may inherit its text style from the table |
| 30068 | # style. |
| 30069 | # |
| 30070 | # If the text style does not inherit from a parent, unsetting fields will |
| 30071 | # revert the style to a value matching the defaults in the Docs editor. |
| 30072 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 30073 | # or transparent, depending on the `color` field. |
| 30074 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 30075 | # a transparent color. |
| 30076 | "rgbColor": { # An RGB color. # The RGB color value. |
| 30077 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30078 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30079 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30080 | }, |
| 30081 | }, |
| 30082 | }, |
| 30083 | "italic": True or False, # Whether or not the text is italicized. |
| 30084 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 30085 | # |
| 30086 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 30087 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 30088 | # The `font_size` itself is not affected by changes in this field. |
| 30089 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 30090 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 30091 | # |
| 30092 | # If an update request specifies values for both `weighted_font_family` and |
| 30093 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 30094 | # |
| 30095 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 30096 | # |
| 30097 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 30098 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 30099 | # is returned. |
| 30100 | "fontFamily": "A String", # The font family of the text. |
| 30101 | # |
| 30102 | # The font family can be any font from the Font menu in Docs or from |
| 30103 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 30104 | # unrecognized, the text is rendered in `Arial`. |
| 30105 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 30106 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 30107 | # numerical values described in the CSS 2.1 Specification, |
| 30108 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 30109 | # non-numerical values disallowed. |
| 30110 | # |
| 30111 | # The default value is `400` ("normal"). |
| 30112 | # |
| 30113 | # The font weight makes up just one component of the rendered font weight. |
| 30114 | # The rendered weight is determined by a combination of the `weight` and the |
| 30115 | # text style's resolved `bold` value, after accounting for inheritance: |
| 30116 | # |
| 30117 | # * If the text is bold and the weight is less than `400`, the rendered |
| 30118 | # weight is 400. |
| 30119 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 30120 | # is less than `700`, the rendered weight is `700`. |
| 30121 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 30122 | # equal to the weight. |
| 30123 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 30124 | }, |
| 30125 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 30126 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 30127 | "magnitude": 3.14, # The magnitude. |
| 30128 | "unit": "A String", # The units for magnitude. |
| 30129 | }, |
| 30130 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 30131 | # or transparent, depending on the `color` field. |
| 30132 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 30133 | # a transparent color. |
| 30134 | "rgbColor": { # An RGB color. # The RGB color value. |
| 30135 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30136 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30137 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30138 | }, |
| 30139 | }, |
| 30140 | }, |
| 30141 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 30142 | # are not inherited from parent text. |
| 30143 | # |
| 30144 | # Changing the link in an update request causes some other changes to the |
| 30145 | # text style of the range: |
| 30146 | # |
| 30147 | # * When setting a link, the text foreground color will be updated to the |
| 30148 | # default link color and the text will be underlined. If these fields are |
| 30149 | # modified in the same request, those values will be used instead of the |
| 30150 | # link defaults. |
| 30151 | # * Setting a link on a text range that overlaps with an existing link will |
| 30152 | # also update the existing link to point to the new URL. |
| 30153 | # * Links are not settable on newline characters. As a result, setting a link |
| 30154 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 30155 | # will separate the newline character(s) into their own text runs. The |
| 30156 | # link will be applied separately to the runs before and after the newline. |
| 30157 | # * Removing a link will update the text style of the range to match the |
| 30158 | # style of the preceding text (or the default text styles if the preceding |
| 30159 | # text is another link) unless different styles are being set in the same |
| 30160 | # request. |
| 30161 | "headingId": "A String", # The ID of a heading in this document. |
| 30162 | "url": "A String", # An external URL. |
| 30163 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 30164 | }, |
| 30165 | "underline": True or False, # Whether or not the text is underlined. |
| 30166 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 30167 | }, |
| 30168 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 30169 | # For any field set to true, there is a new suggested value. |
| 30170 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 30171 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 30172 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 30173 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 30174 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 30175 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 30176 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 30177 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 30178 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 30179 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 30180 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 30181 | }, |
| 30182 | }, |
| 30183 | }, |
| 30184 | "suggestedInsertionIds": [ # The suggested insertion IDs. A PageBreak |
| 30185 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 30186 | # empty, then this is not a suggested insertion. |
| 30187 | "A String", |
| 30188 | ], |
| 30189 | }, |
| 30190 | "horizontalRule": { # A ParagraphElement representing a # A horizontal rule paragraph element. |
| 30191 | # horizontal line. |
| 30192 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this HorizontalRule. |
| 30193 | # |
| 30194 | # Similar to text content, like text runs and footnote references, the text |
| 30195 | # style of a horizontal rule can affect content layout as well as the styling |
| 30196 | # of text inserted adjacent to it. |
| 30197 | # |
| 30198 | # Inherited text styles are represented as unset fields in this message. A |
| 30199 | # text style's parent depends on where the text style is defined: |
| 30200 | # |
| 30201 | # * The TextStyle of text in a Paragraph |
| 30202 | # inherits from the paragraph's corresponding named style type. |
| 30203 | # * The TextStyle on a named style |
| 30204 | # inherits from the normal text named style. |
| 30205 | # * The TextStyle of the normal text named style inherits |
| 30206 | # from the default text style in the Docs editor. |
| 30207 | # * The TextStyle on a Paragraph element |
| 30208 | # that is contained in a table may inherit its text style from the table |
| 30209 | # style. |
| 30210 | # |
| 30211 | # If the text style does not inherit from a parent, unsetting fields will |
| 30212 | # revert the style to a value matching the defaults in the Docs editor. |
| 30213 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 30214 | # or transparent, depending on the `color` field. |
| 30215 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 30216 | # a transparent color. |
| 30217 | "rgbColor": { # An RGB color. # The RGB color value. |
| 30218 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30219 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30220 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30221 | }, |
| 30222 | }, |
| 30223 | }, |
| 30224 | "italic": True or False, # Whether or not the text is italicized. |
| 30225 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 30226 | # |
| 30227 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 30228 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 30229 | # The `font_size` itself is not affected by changes in this field. |
| 30230 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 30231 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 30232 | # |
| 30233 | # If an update request specifies values for both `weighted_font_family` and |
| 30234 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 30235 | # |
| 30236 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 30237 | # |
| 30238 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 30239 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 30240 | # is returned. |
| 30241 | "fontFamily": "A String", # The font family of the text. |
| 30242 | # |
| 30243 | # The font family can be any font from the Font menu in Docs or from |
| 30244 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 30245 | # unrecognized, the text is rendered in `Arial`. |
| 30246 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 30247 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 30248 | # numerical values described in the CSS 2.1 Specification, |
| 30249 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 30250 | # non-numerical values disallowed. |
| 30251 | # |
| 30252 | # The default value is `400` ("normal"). |
| 30253 | # |
| 30254 | # The font weight makes up just one component of the rendered font weight. |
| 30255 | # The rendered weight is determined by a combination of the `weight` and the |
| 30256 | # text style's resolved `bold` value, after accounting for inheritance: |
| 30257 | # |
| 30258 | # * If the text is bold and the weight is less than `400`, the rendered |
| 30259 | # weight is 400. |
| 30260 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 30261 | # is less than `700`, the rendered weight is `700`. |
| 30262 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 30263 | # equal to the weight. |
| 30264 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 30265 | }, |
| 30266 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 30267 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 30268 | "magnitude": 3.14, # The magnitude. |
| 30269 | "unit": "A String", # The units for magnitude. |
| 30270 | }, |
| 30271 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 30272 | # or transparent, depending on the `color` field. |
| 30273 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 30274 | # a transparent color. |
| 30275 | "rgbColor": { # An RGB color. # The RGB color value. |
| 30276 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30277 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30278 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30279 | }, |
| 30280 | }, |
| 30281 | }, |
| 30282 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 30283 | # are not inherited from parent text. |
| 30284 | # |
| 30285 | # Changing the link in an update request causes some other changes to the |
| 30286 | # text style of the range: |
| 30287 | # |
| 30288 | # * When setting a link, the text foreground color will be updated to the |
| 30289 | # default link color and the text will be underlined. If these fields are |
| 30290 | # modified in the same request, those values will be used instead of the |
| 30291 | # link defaults. |
| 30292 | # * Setting a link on a text range that overlaps with an existing link will |
| 30293 | # also update the existing link to point to the new URL. |
| 30294 | # * Links are not settable on newline characters. As a result, setting a link |
| 30295 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 30296 | # will separate the newline character(s) into their own text runs. The |
| 30297 | # link will be applied separately to the runs before and after the newline. |
| 30298 | # * Removing a link will update the text style of the range to match the |
| 30299 | # style of the preceding text (or the default text styles if the preceding |
| 30300 | # text is another link) unless different styles are being set in the same |
| 30301 | # request. |
| 30302 | "headingId": "A String", # The ID of a heading in this document. |
| 30303 | "url": "A String", # An external URL. |
| 30304 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 30305 | }, |
| 30306 | "underline": True or False, # Whether or not the text is underlined. |
| 30307 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 30308 | }, |
| 30309 | "suggestedInsertionIds": [ # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it |
| 30310 | # is a nested suggested change. If empty, then this is not a suggested |
| 30311 | # insertion. |
| 30312 | "A String", |
| 30313 | ], |
| 30314 | "suggestedTextStyleChanges": { # The suggested text style changes to this HorizontalRule, keyed by |
| 30315 | # suggestion ID. |
| 30316 | "a_key": { # A suggested change to a TextStyle. |
| 30317 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 30318 | # the changes made in this suggestion. This can be used along with the |
| 30319 | # text_style_suggestion_state |
| 30320 | # to see which fields have changed and their new values. |
| 30321 | # |
| 30322 | # Inherited text styles are represented as unset fields in this message. A |
| 30323 | # text style's parent depends on where the text style is defined: |
| 30324 | # |
| 30325 | # * The TextStyle of text in a Paragraph |
| 30326 | # inherits from the paragraph's corresponding named style type. |
| 30327 | # * The TextStyle on a named style |
| 30328 | # inherits from the normal text named style. |
| 30329 | # * The TextStyle of the normal text named style inherits |
| 30330 | # from the default text style in the Docs editor. |
| 30331 | # * The TextStyle on a Paragraph element |
| 30332 | # that is contained in a table may inherit its text style from the table |
| 30333 | # style. |
| 30334 | # |
| 30335 | # If the text style does not inherit from a parent, unsetting fields will |
| 30336 | # revert the style to a value matching the defaults in the Docs editor. |
| 30337 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 30338 | # or transparent, depending on the `color` field. |
| 30339 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 30340 | # a transparent color. |
| 30341 | "rgbColor": { # An RGB color. # The RGB color value. |
| 30342 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30343 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30344 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30345 | }, |
| 30346 | }, |
| 30347 | }, |
| 30348 | "italic": True or False, # Whether or not the text is italicized. |
| 30349 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 30350 | # |
| 30351 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 30352 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 30353 | # The `font_size` itself is not affected by changes in this field. |
| 30354 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 30355 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 30356 | # |
| 30357 | # If an update request specifies values for both `weighted_font_family` and |
| 30358 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 30359 | # |
| 30360 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 30361 | # |
| 30362 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 30363 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 30364 | # is returned. |
| 30365 | "fontFamily": "A String", # The font family of the text. |
| 30366 | # |
| 30367 | # The font family can be any font from the Font menu in Docs or from |
| 30368 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 30369 | # unrecognized, the text is rendered in `Arial`. |
| 30370 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 30371 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 30372 | # numerical values described in the CSS 2.1 Specification, |
| 30373 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 30374 | # non-numerical values disallowed. |
| 30375 | # |
| 30376 | # The default value is `400` ("normal"). |
| 30377 | # |
| 30378 | # The font weight makes up just one component of the rendered font weight. |
| 30379 | # The rendered weight is determined by a combination of the `weight` and the |
| 30380 | # text style's resolved `bold` value, after accounting for inheritance: |
| 30381 | # |
| 30382 | # * If the text is bold and the weight is less than `400`, the rendered |
| 30383 | # weight is 400. |
| 30384 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 30385 | # is less than `700`, the rendered weight is `700`. |
| 30386 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 30387 | # equal to the weight. |
| 30388 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 30389 | }, |
| 30390 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 30391 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 30392 | "magnitude": 3.14, # The magnitude. |
| 30393 | "unit": "A String", # The units for magnitude. |
| 30394 | }, |
| 30395 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 30396 | # or transparent, depending on the `color` field. |
| 30397 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 30398 | # a transparent color. |
| 30399 | "rgbColor": { # An RGB color. # The RGB color value. |
| 30400 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30401 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30402 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30403 | }, |
| 30404 | }, |
| 30405 | }, |
| 30406 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 30407 | # are not inherited from parent text. |
| 30408 | # |
| 30409 | # Changing the link in an update request causes some other changes to the |
| 30410 | # text style of the range: |
| 30411 | # |
| 30412 | # * When setting a link, the text foreground color will be updated to the |
| 30413 | # default link color and the text will be underlined. If these fields are |
| 30414 | # modified in the same request, those values will be used instead of the |
| 30415 | # link defaults. |
| 30416 | # * Setting a link on a text range that overlaps with an existing link will |
| 30417 | # also update the existing link to point to the new URL. |
| 30418 | # * Links are not settable on newline characters. As a result, setting a link |
| 30419 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 30420 | # will separate the newline character(s) into their own text runs. The |
| 30421 | # link will be applied separately to the runs before and after the newline. |
| 30422 | # * Removing a link will update the text style of the range to match the |
| 30423 | # style of the preceding text (or the default text styles if the preceding |
| 30424 | # text is another link) unless different styles are being set in the same |
| 30425 | # request. |
| 30426 | "headingId": "A String", # The ID of a heading in this document. |
| 30427 | "url": "A String", # An external URL. |
| 30428 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 30429 | }, |
| 30430 | "underline": True or False, # Whether or not the text is underlined. |
| 30431 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 30432 | }, |
| 30433 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 30434 | # For any field set to true, there is a new suggested value. |
| 30435 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 30436 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 30437 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 30438 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 30439 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 30440 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 30441 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 30442 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 30443 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 30444 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 30445 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 30446 | }, |
| 30447 | }, |
| 30448 | }, |
| 30449 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 30450 | # of this content. |
| 30451 | "A String", |
| 30452 | ], |
| 30453 | }, |
| 30454 | "textRun": { # A ParagraphElement that represents a # A text run paragraph element. |
| 30455 | # run of text that all has the same styling. |
| 30456 | "content": "A String", # The text of this run. |
| 30457 | # |
| 30458 | # Any non-text elements in the run are replaced with the Unicode character |
| 30459 | # U+E907. |
| 30460 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this run. |
| 30461 | # |
| 30462 | # Inherited text styles are represented as unset fields in this message. A |
| 30463 | # text style's parent depends on where the text style is defined: |
| 30464 | # |
| 30465 | # * The TextStyle of text in a Paragraph |
| 30466 | # inherits from the paragraph's corresponding named style type. |
| 30467 | # * The TextStyle on a named style |
| 30468 | # inherits from the normal text named style. |
| 30469 | # * The TextStyle of the normal text named style inherits |
| 30470 | # from the default text style in the Docs editor. |
| 30471 | # * The TextStyle on a Paragraph element |
| 30472 | # that is contained in a table may inherit its text style from the table |
| 30473 | # style. |
| 30474 | # |
| 30475 | # If the text style does not inherit from a parent, unsetting fields will |
| 30476 | # revert the style to a value matching the defaults in the Docs editor. |
| 30477 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 30478 | # or transparent, depending on the `color` field. |
| 30479 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 30480 | # a transparent color. |
| 30481 | "rgbColor": { # An RGB color. # The RGB color value. |
| 30482 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30483 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30484 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30485 | }, |
| 30486 | }, |
| 30487 | }, |
| 30488 | "italic": True or False, # Whether or not the text is italicized. |
| 30489 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 30490 | # |
| 30491 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 30492 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 30493 | # The `font_size` itself is not affected by changes in this field. |
| 30494 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 30495 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 30496 | # |
| 30497 | # If an update request specifies values for both `weighted_font_family` and |
| 30498 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 30499 | # |
| 30500 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 30501 | # |
| 30502 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 30503 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 30504 | # is returned. |
| 30505 | "fontFamily": "A String", # The font family of the text. |
| 30506 | # |
| 30507 | # The font family can be any font from the Font menu in Docs or from |
| 30508 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 30509 | # unrecognized, the text is rendered in `Arial`. |
| 30510 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 30511 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 30512 | # numerical values described in the CSS 2.1 Specification, |
| 30513 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 30514 | # non-numerical values disallowed. |
| 30515 | # |
| 30516 | # The default value is `400` ("normal"). |
| 30517 | # |
| 30518 | # The font weight makes up just one component of the rendered font weight. |
| 30519 | # The rendered weight is determined by a combination of the `weight` and the |
| 30520 | # text style's resolved `bold` value, after accounting for inheritance: |
| 30521 | # |
| 30522 | # * If the text is bold and the weight is less than `400`, the rendered |
| 30523 | # weight is 400. |
| 30524 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 30525 | # is less than `700`, the rendered weight is `700`. |
| 30526 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 30527 | # equal to the weight. |
| 30528 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 30529 | }, |
| 30530 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 30531 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 30532 | "magnitude": 3.14, # The magnitude. |
| 30533 | "unit": "A String", # The units for magnitude. |
| 30534 | }, |
| 30535 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 30536 | # or transparent, depending on the `color` field. |
| 30537 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 30538 | # a transparent color. |
| 30539 | "rgbColor": { # An RGB color. # The RGB color value. |
| 30540 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30541 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30542 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30543 | }, |
| 30544 | }, |
| 30545 | }, |
| 30546 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 30547 | # are not inherited from parent text. |
| 30548 | # |
| 30549 | # Changing the link in an update request causes some other changes to the |
| 30550 | # text style of the range: |
| 30551 | # |
| 30552 | # * When setting a link, the text foreground color will be updated to the |
| 30553 | # default link color and the text will be underlined. If these fields are |
| 30554 | # modified in the same request, those values will be used instead of the |
| 30555 | # link defaults. |
| 30556 | # * Setting a link on a text range that overlaps with an existing link will |
| 30557 | # also update the existing link to point to the new URL. |
| 30558 | # * Links are not settable on newline characters. As a result, setting a link |
| 30559 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 30560 | # will separate the newline character(s) into their own text runs. The |
| 30561 | # link will be applied separately to the runs before and after the newline. |
| 30562 | # * Removing a link will update the text style of the range to match the |
| 30563 | # style of the preceding text (or the default text styles if the preceding |
| 30564 | # text is another link) unless different styles are being set in the same |
| 30565 | # request. |
| 30566 | "headingId": "A String", # The ID of a heading in this document. |
| 30567 | "url": "A String", # An external URL. |
| 30568 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 30569 | }, |
| 30570 | "underline": True or False, # Whether or not the text is underlined. |
| 30571 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 30572 | }, |
| 30573 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TextRun may |
| 30574 | # have multiple insertion IDs if it is a nested suggested change. If empty, |
| 30575 | # then this is not a suggested insertion. |
| 30576 | "A String", |
| 30577 | ], |
| 30578 | "suggestedTextStyleChanges": { # The suggested text style changes to this run, keyed by suggestion ID. |
| 30579 | "a_key": { # A suggested change to a TextStyle. |
| 30580 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 30581 | # the changes made in this suggestion. This can be used along with the |
| 30582 | # text_style_suggestion_state |
| 30583 | # to see which fields have changed and their new values. |
| 30584 | # |
| 30585 | # Inherited text styles are represented as unset fields in this message. A |
| 30586 | # text style's parent depends on where the text style is defined: |
| 30587 | # |
| 30588 | # * The TextStyle of text in a Paragraph |
| 30589 | # inherits from the paragraph's corresponding named style type. |
| 30590 | # * The TextStyle on a named style |
| 30591 | # inherits from the normal text named style. |
| 30592 | # * The TextStyle of the normal text named style inherits |
| 30593 | # from the default text style in the Docs editor. |
| 30594 | # * The TextStyle on a Paragraph element |
| 30595 | # that is contained in a table may inherit its text style from the table |
| 30596 | # style. |
| 30597 | # |
| 30598 | # If the text style does not inherit from a parent, unsetting fields will |
| 30599 | # revert the style to a value matching the defaults in the Docs editor. |
| 30600 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 30601 | # or transparent, depending on the `color` field. |
| 30602 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 30603 | # a transparent color. |
| 30604 | "rgbColor": { # An RGB color. # The RGB color value. |
| 30605 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30606 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30607 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30608 | }, |
| 30609 | }, |
| 30610 | }, |
| 30611 | "italic": True or False, # Whether or not the text is italicized. |
| 30612 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 30613 | # |
| 30614 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 30615 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 30616 | # The `font_size` itself is not affected by changes in this field. |
| 30617 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 30618 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 30619 | # |
| 30620 | # If an update request specifies values for both `weighted_font_family` and |
| 30621 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 30622 | # |
| 30623 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 30624 | # |
| 30625 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 30626 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 30627 | # is returned. |
| 30628 | "fontFamily": "A String", # The font family of the text. |
| 30629 | # |
| 30630 | # The font family can be any font from the Font menu in Docs or from |
| 30631 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 30632 | # unrecognized, the text is rendered in `Arial`. |
| 30633 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 30634 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 30635 | # numerical values described in the CSS 2.1 Specification, |
| 30636 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 30637 | # non-numerical values disallowed. |
| 30638 | # |
| 30639 | # The default value is `400` ("normal"). |
| 30640 | # |
| 30641 | # The font weight makes up just one component of the rendered font weight. |
| 30642 | # The rendered weight is determined by a combination of the `weight` and the |
| 30643 | # text style's resolved `bold` value, after accounting for inheritance: |
| 30644 | # |
| 30645 | # * If the text is bold and the weight is less than `400`, the rendered |
| 30646 | # weight is 400. |
| 30647 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 30648 | # is less than `700`, the rendered weight is `700`. |
| 30649 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 30650 | # equal to the weight. |
| 30651 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 30652 | }, |
| 30653 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 30654 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 30655 | "magnitude": 3.14, # The magnitude. |
| 30656 | "unit": "A String", # The units for magnitude. |
| 30657 | }, |
| 30658 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 30659 | # or transparent, depending on the `color` field. |
| 30660 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 30661 | # a transparent color. |
| 30662 | "rgbColor": { # An RGB color. # The RGB color value. |
| 30663 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30664 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30665 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30666 | }, |
| 30667 | }, |
| 30668 | }, |
| 30669 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 30670 | # are not inherited from parent text. |
| 30671 | # |
| 30672 | # Changing the link in an update request causes some other changes to the |
| 30673 | # text style of the range: |
| 30674 | # |
| 30675 | # * When setting a link, the text foreground color will be updated to the |
| 30676 | # default link color and the text will be underlined. If these fields are |
| 30677 | # modified in the same request, those values will be used instead of the |
| 30678 | # link defaults. |
| 30679 | # * Setting a link on a text range that overlaps with an existing link will |
| 30680 | # also update the existing link to point to the new URL. |
| 30681 | # * Links are not settable on newline characters. As a result, setting a link |
| 30682 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 30683 | # will separate the newline character(s) into their own text runs. The |
| 30684 | # link will be applied separately to the runs before and after the newline. |
| 30685 | # * Removing a link will update the text style of the range to match the |
| 30686 | # style of the preceding text (or the default text styles if the preceding |
| 30687 | # text is another link) unless different styles are being set in the same |
| 30688 | # request. |
| 30689 | "headingId": "A String", # The ID of a heading in this document. |
| 30690 | "url": "A String", # An external URL. |
| 30691 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 30692 | }, |
| 30693 | "underline": True or False, # Whether or not the text is underlined. |
| 30694 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 30695 | }, |
| 30696 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 30697 | # For any field set to true, there is a new suggested value. |
| 30698 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 30699 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 30700 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 30701 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 30702 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 30703 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 30704 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 30705 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 30706 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 30707 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 30708 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 30709 | }, |
| 30710 | }, |
| 30711 | }, |
| 30712 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 30713 | # of this content. |
| 30714 | "A String", |
| 30715 | ], |
| 30716 | }, |
| 30717 | "autoText": { # A ParagraphElement representing a # An auto text paragraph element. |
| 30718 | # spot in the text that is dynamically replaced with content that can change |
| 30719 | # over time, like a page number. |
| 30720 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this AutoText. |
| 30721 | # |
| 30722 | # Inherited text styles are represented as unset fields in this message. A |
| 30723 | # text style's parent depends on where the text style is defined: |
| 30724 | # |
| 30725 | # * The TextStyle of text in a Paragraph |
| 30726 | # inherits from the paragraph's corresponding named style type. |
| 30727 | # * The TextStyle on a named style |
| 30728 | # inherits from the normal text named style. |
| 30729 | # * The TextStyle of the normal text named style inherits |
| 30730 | # from the default text style in the Docs editor. |
| 30731 | # * The TextStyle on a Paragraph element |
| 30732 | # that is contained in a table may inherit its text style from the table |
| 30733 | # style. |
| 30734 | # |
| 30735 | # If the text style does not inherit from a parent, unsetting fields will |
| 30736 | # revert the style to a value matching the defaults in the Docs editor. |
| 30737 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 30738 | # or transparent, depending on the `color` field. |
| 30739 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 30740 | # a transparent color. |
| 30741 | "rgbColor": { # An RGB color. # The RGB color value. |
| 30742 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30743 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30744 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30745 | }, |
| 30746 | }, |
| 30747 | }, |
| 30748 | "italic": True or False, # Whether or not the text is italicized. |
| 30749 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 30750 | # |
| 30751 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 30752 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 30753 | # The `font_size` itself is not affected by changes in this field. |
| 30754 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 30755 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 30756 | # |
| 30757 | # If an update request specifies values for both `weighted_font_family` and |
| 30758 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 30759 | # |
| 30760 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 30761 | # |
| 30762 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 30763 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 30764 | # is returned. |
| 30765 | "fontFamily": "A String", # The font family of the text. |
| 30766 | # |
| 30767 | # The font family can be any font from the Font menu in Docs or from |
| 30768 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 30769 | # unrecognized, the text is rendered in `Arial`. |
| 30770 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 30771 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 30772 | # numerical values described in the CSS 2.1 Specification, |
| 30773 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 30774 | # non-numerical values disallowed. |
| 30775 | # |
| 30776 | # The default value is `400` ("normal"). |
| 30777 | # |
| 30778 | # The font weight makes up just one component of the rendered font weight. |
| 30779 | # The rendered weight is determined by a combination of the `weight` and the |
| 30780 | # text style's resolved `bold` value, after accounting for inheritance: |
| 30781 | # |
| 30782 | # * If the text is bold and the weight is less than `400`, the rendered |
| 30783 | # weight is 400. |
| 30784 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 30785 | # is less than `700`, the rendered weight is `700`. |
| 30786 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 30787 | # equal to the weight. |
| 30788 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 30789 | }, |
| 30790 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 30791 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 30792 | "magnitude": 3.14, # The magnitude. |
| 30793 | "unit": "A String", # The units for magnitude. |
| 30794 | }, |
| 30795 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 30796 | # or transparent, depending on the `color` field. |
| 30797 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 30798 | # a transparent color. |
| 30799 | "rgbColor": { # An RGB color. # The RGB color value. |
| 30800 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30801 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30802 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30803 | }, |
| 30804 | }, |
| 30805 | }, |
| 30806 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 30807 | # are not inherited from parent text. |
| 30808 | # |
| 30809 | # Changing the link in an update request causes some other changes to the |
| 30810 | # text style of the range: |
| 30811 | # |
| 30812 | # * When setting a link, the text foreground color will be updated to the |
| 30813 | # default link color and the text will be underlined. If these fields are |
| 30814 | # modified in the same request, those values will be used instead of the |
| 30815 | # link defaults. |
| 30816 | # * Setting a link on a text range that overlaps with an existing link will |
| 30817 | # also update the existing link to point to the new URL. |
| 30818 | # * Links are not settable on newline characters. As a result, setting a link |
| 30819 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 30820 | # will separate the newline character(s) into their own text runs. The |
| 30821 | # link will be applied separately to the runs before and after the newline. |
| 30822 | # * Removing a link will update the text style of the range to match the |
| 30823 | # style of the preceding text (or the default text styles if the preceding |
| 30824 | # text is another link) unless different styles are being set in the same |
| 30825 | # request. |
| 30826 | "headingId": "A String", # The ID of a heading in this document. |
| 30827 | "url": "A String", # An external URL. |
| 30828 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 30829 | }, |
| 30830 | "underline": True or False, # Whether or not the text is underlined. |
| 30831 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 30832 | }, |
| 30833 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 30834 | # of this content. |
| 30835 | "A String", |
| 30836 | ], |
| 30837 | "suggestedTextStyleChanges": { # The suggested text style changes to this AutoText, keyed by suggestion ID. |
| 30838 | "a_key": { # A suggested change to a TextStyle. |
| 30839 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 30840 | # the changes made in this suggestion. This can be used along with the |
| 30841 | # text_style_suggestion_state |
| 30842 | # to see which fields have changed and their new values. |
| 30843 | # |
| 30844 | # Inherited text styles are represented as unset fields in this message. A |
| 30845 | # text style's parent depends on where the text style is defined: |
| 30846 | # |
| 30847 | # * The TextStyle of text in a Paragraph |
| 30848 | # inherits from the paragraph's corresponding named style type. |
| 30849 | # * The TextStyle on a named style |
| 30850 | # inherits from the normal text named style. |
| 30851 | # * The TextStyle of the normal text named style inherits |
| 30852 | # from the default text style in the Docs editor. |
| 30853 | # * The TextStyle on a Paragraph element |
| 30854 | # that is contained in a table may inherit its text style from the table |
| 30855 | # style. |
| 30856 | # |
| 30857 | # If the text style does not inherit from a parent, unsetting fields will |
| 30858 | # revert the style to a value matching the defaults in the Docs editor. |
| 30859 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 30860 | # or transparent, depending on the `color` field. |
| 30861 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 30862 | # a transparent color. |
| 30863 | "rgbColor": { # An RGB color. # The RGB color value. |
| 30864 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30865 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30866 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30867 | }, |
| 30868 | }, |
| 30869 | }, |
| 30870 | "italic": True or False, # Whether or not the text is italicized. |
| 30871 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 30872 | # |
| 30873 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 30874 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 30875 | # The `font_size` itself is not affected by changes in this field. |
| 30876 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 30877 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 30878 | # |
| 30879 | # If an update request specifies values for both `weighted_font_family` and |
| 30880 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 30881 | # |
| 30882 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 30883 | # |
| 30884 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 30885 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 30886 | # is returned. |
| 30887 | "fontFamily": "A String", # The font family of the text. |
| 30888 | # |
| 30889 | # The font family can be any font from the Font menu in Docs or from |
| 30890 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 30891 | # unrecognized, the text is rendered in `Arial`. |
| 30892 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 30893 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 30894 | # numerical values described in the CSS 2.1 Specification, |
| 30895 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 30896 | # non-numerical values disallowed. |
| 30897 | # |
| 30898 | # The default value is `400` ("normal"). |
| 30899 | # |
| 30900 | # The font weight makes up just one component of the rendered font weight. |
| 30901 | # The rendered weight is determined by a combination of the `weight` and the |
| 30902 | # text style's resolved `bold` value, after accounting for inheritance: |
| 30903 | # |
| 30904 | # * If the text is bold and the weight is less than `400`, the rendered |
| 30905 | # weight is 400. |
| 30906 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 30907 | # is less than `700`, the rendered weight is `700`. |
| 30908 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 30909 | # equal to the weight. |
| 30910 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 30911 | }, |
| 30912 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 30913 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 30914 | "magnitude": 3.14, # The magnitude. |
| 30915 | "unit": "A String", # The units for magnitude. |
| 30916 | }, |
| 30917 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 30918 | # or transparent, depending on the `color` field. |
| 30919 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 30920 | # a transparent color. |
| 30921 | "rgbColor": { # An RGB color. # The RGB color value. |
| 30922 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 30923 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 30924 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 30925 | }, |
| 30926 | }, |
| 30927 | }, |
| 30928 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 30929 | # are not inherited from parent text. |
| 30930 | # |
| 30931 | # Changing the link in an update request causes some other changes to the |
| 30932 | # text style of the range: |
| 30933 | # |
| 30934 | # * When setting a link, the text foreground color will be updated to the |
| 30935 | # default link color and the text will be underlined. If these fields are |
| 30936 | # modified in the same request, those values will be used instead of the |
| 30937 | # link defaults. |
| 30938 | # * Setting a link on a text range that overlaps with an existing link will |
| 30939 | # also update the existing link to point to the new URL. |
| 30940 | # * Links are not settable on newline characters. As a result, setting a link |
| 30941 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 30942 | # will separate the newline character(s) into their own text runs. The |
| 30943 | # link will be applied separately to the runs before and after the newline. |
| 30944 | # * Removing a link will update the text style of the range to match the |
| 30945 | # style of the preceding text (or the default text styles if the preceding |
| 30946 | # text is another link) unless different styles are being set in the same |
| 30947 | # request. |
| 30948 | "headingId": "A String", # The ID of a heading in this document. |
| 30949 | "url": "A String", # An external URL. |
| 30950 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 30951 | }, |
| 30952 | "underline": True or False, # Whether or not the text is underlined. |
| 30953 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 30954 | }, |
| 30955 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 30956 | # For any field set to true, there is a new suggested value. |
| 30957 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 30958 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 30959 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 30960 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 30961 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 30962 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 30963 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 30964 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 30965 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 30966 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 30967 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 30968 | }, |
| 30969 | }, |
| 30970 | }, |
| 30971 | "type": "A String", # The type of this auto text. |
| 30972 | "suggestedInsertionIds": [ # The suggested insertion IDs. An AutoText |
| 30973 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 30974 | # empty, then this is not a suggested insertion. |
| 30975 | "A String", |
| 30976 | ], |
| 30977 | }, |
| 30978 | "inlineObjectElement": { # A ParagraphElement that contains # An inline object paragraph element. |
| 30979 | # an InlineObject. |
| 30980 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this InlineObjectElement. |
| 30981 | # |
| 30982 | # Similar to text content, like text runs and footnote references, the text |
| 30983 | # style of an inline object element can affect content layout as well as the |
| 30984 | # styling of text inserted adjacent to it. |
| 30985 | # |
| 30986 | # Inherited text styles are represented as unset fields in this message. A |
| 30987 | # text style's parent depends on where the text style is defined: |
| 30988 | # |
| 30989 | # * The TextStyle of text in a Paragraph |
| 30990 | # inherits from the paragraph's corresponding named style type. |
| 30991 | # * The TextStyle on a named style |
| 30992 | # inherits from the normal text named style. |
| 30993 | # * The TextStyle of the normal text named style inherits |
| 30994 | # from the default text style in the Docs editor. |
| 30995 | # * The TextStyle on a Paragraph element |
| 30996 | # that is contained in a table may inherit its text style from the table |
| 30997 | # style. |
| 30998 | # |
| 30999 | # If the text style does not inherit from a parent, unsetting fields will |
| 31000 | # revert the style to a value matching the defaults in the Docs editor. |
| 31001 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 31002 | # or transparent, depending on the `color` field. |
| 31003 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 31004 | # a transparent color. |
| 31005 | "rgbColor": { # An RGB color. # The RGB color value. |
| 31006 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 31007 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 31008 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 31009 | }, |
| 31010 | }, |
| 31011 | }, |
| 31012 | "italic": True or False, # Whether or not the text is italicized. |
| 31013 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 31014 | # |
| 31015 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 31016 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 31017 | # The `font_size` itself is not affected by changes in this field. |
| 31018 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 31019 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 31020 | # |
| 31021 | # If an update request specifies values for both `weighted_font_family` and |
| 31022 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 31023 | # |
| 31024 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 31025 | # |
| 31026 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 31027 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 31028 | # is returned. |
| 31029 | "fontFamily": "A String", # The font family of the text. |
| 31030 | # |
| 31031 | # The font family can be any font from the Font menu in Docs or from |
| 31032 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 31033 | # unrecognized, the text is rendered in `Arial`. |
| 31034 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 31035 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 31036 | # numerical values described in the CSS 2.1 Specification, |
| 31037 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 31038 | # non-numerical values disallowed. |
| 31039 | # |
| 31040 | # The default value is `400` ("normal"). |
| 31041 | # |
| 31042 | # The font weight makes up just one component of the rendered font weight. |
| 31043 | # The rendered weight is determined by a combination of the `weight` and the |
| 31044 | # text style's resolved `bold` value, after accounting for inheritance: |
| 31045 | # |
| 31046 | # * If the text is bold and the weight is less than `400`, the rendered |
| 31047 | # weight is 400. |
| 31048 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 31049 | # is less than `700`, the rendered weight is `700`. |
| 31050 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 31051 | # equal to the weight. |
| 31052 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 31053 | }, |
| 31054 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 31055 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 31056 | "magnitude": 3.14, # The magnitude. |
| 31057 | "unit": "A String", # The units for magnitude. |
| 31058 | }, |
| 31059 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 31060 | # or transparent, depending on the `color` field. |
| 31061 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 31062 | # a transparent color. |
| 31063 | "rgbColor": { # An RGB color. # The RGB color value. |
| 31064 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 31065 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 31066 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 31067 | }, |
| 31068 | }, |
| 31069 | }, |
| 31070 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 31071 | # are not inherited from parent text. |
| 31072 | # |
| 31073 | # Changing the link in an update request causes some other changes to the |
| 31074 | # text style of the range: |
| 31075 | # |
| 31076 | # * When setting a link, the text foreground color will be updated to the |
| 31077 | # default link color and the text will be underlined. If these fields are |
| 31078 | # modified in the same request, those values will be used instead of the |
| 31079 | # link defaults. |
| 31080 | # * Setting a link on a text range that overlaps with an existing link will |
| 31081 | # also update the existing link to point to the new URL. |
| 31082 | # * Links are not settable on newline characters. As a result, setting a link |
| 31083 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 31084 | # will separate the newline character(s) into their own text runs. The |
| 31085 | # link will be applied separately to the runs before and after the newline. |
| 31086 | # * Removing a link will update the text style of the range to match the |
| 31087 | # style of the preceding text (or the default text styles if the preceding |
| 31088 | # text is another link) unless different styles are being set in the same |
| 31089 | # request. |
| 31090 | "headingId": "A String", # The ID of a heading in this document. |
| 31091 | "url": "A String", # An external URL. |
| 31092 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 31093 | }, |
| 31094 | "underline": True or False, # Whether or not the text is underlined. |
| 31095 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 31096 | }, |
| 31097 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 31098 | # of this content. |
| 31099 | "A String", |
| 31100 | ], |
| 31101 | "suggestedTextStyleChanges": { # The suggested text style changes to this InlineObject, keyed by suggestion |
| 31102 | # ID. |
| 31103 | "a_key": { # A suggested change to a TextStyle. |
| 31104 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 31105 | # the changes made in this suggestion. This can be used along with the |
| 31106 | # text_style_suggestion_state |
| 31107 | # to see which fields have changed and their new values. |
| 31108 | # |
| 31109 | # Inherited text styles are represented as unset fields in this message. A |
| 31110 | # text style's parent depends on where the text style is defined: |
| 31111 | # |
| 31112 | # * The TextStyle of text in a Paragraph |
| 31113 | # inherits from the paragraph's corresponding named style type. |
| 31114 | # * The TextStyle on a named style |
| 31115 | # inherits from the normal text named style. |
| 31116 | # * The TextStyle of the normal text named style inherits |
| 31117 | # from the default text style in the Docs editor. |
| 31118 | # * The TextStyle on a Paragraph element |
| 31119 | # that is contained in a table may inherit its text style from the table |
| 31120 | # style. |
| 31121 | # |
| 31122 | # If the text style does not inherit from a parent, unsetting fields will |
| 31123 | # revert the style to a value matching the defaults in the Docs editor. |
| 31124 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 31125 | # or transparent, depending on the `color` field. |
| 31126 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 31127 | # a transparent color. |
| 31128 | "rgbColor": { # An RGB color. # The RGB color value. |
| 31129 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 31130 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 31131 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 31132 | }, |
| 31133 | }, |
| 31134 | }, |
| 31135 | "italic": True or False, # Whether or not the text is italicized. |
| 31136 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 31137 | # |
| 31138 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 31139 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 31140 | # The `font_size` itself is not affected by changes in this field. |
| 31141 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 31142 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 31143 | # |
| 31144 | # If an update request specifies values for both `weighted_font_family` and |
| 31145 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 31146 | # |
| 31147 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 31148 | # |
| 31149 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 31150 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 31151 | # is returned. |
| 31152 | "fontFamily": "A String", # The font family of the text. |
| 31153 | # |
| 31154 | # The font family can be any font from the Font menu in Docs or from |
| 31155 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 31156 | # unrecognized, the text is rendered in `Arial`. |
| 31157 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 31158 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 31159 | # numerical values described in the CSS 2.1 Specification, |
| 31160 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 31161 | # non-numerical values disallowed. |
| 31162 | # |
| 31163 | # The default value is `400` ("normal"). |
| 31164 | # |
| 31165 | # The font weight makes up just one component of the rendered font weight. |
| 31166 | # The rendered weight is determined by a combination of the `weight` and the |
| 31167 | # text style's resolved `bold` value, after accounting for inheritance: |
| 31168 | # |
| 31169 | # * If the text is bold and the weight is less than `400`, the rendered |
| 31170 | # weight is 400. |
| 31171 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 31172 | # is less than `700`, the rendered weight is `700`. |
| 31173 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 31174 | # equal to the weight. |
| 31175 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 31176 | }, |
| 31177 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 31178 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 31179 | "magnitude": 3.14, # The magnitude. |
| 31180 | "unit": "A String", # The units for magnitude. |
| 31181 | }, |
| 31182 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 31183 | # or transparent, depending on the `color` field. |
| 31184 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 31185 | # a transparent color. |
| 31186 | "rgbColor": { # An RGB color. # The RGB color value. |
| 31187 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 31188 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 31189 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 31190 | }, |
| 31191 | }, |
| 31192 | }, |
| 31193 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 31194 | # are not inherited from parent text. |
| 31195 | # |
| 31196 | # Changing the link in an update request causes some other changes to the |
| 31197 | # text style of the range: |
| 31198 | # |
| 31199 | # * When setting a link, the text foreground color will be updated to the |
| 31200 | # default link color and the text will be underlined. If these fields are |
| 31201 | # modified in the same request, those values will be used instead of the |
| 31202 | # link defaults. |
| 31203 | # * Setting a link on a text range that overlaps with an existing link will |
| 31204 | # also update the existing link to point to the new URL. |
| 31205 | # * Links are not settable on newline characters. As a result, setting a link |
| 31206 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 31207 | # will separate the newline character(s) into their own text runs. The |
| 31208 | # link will be applied separately to the runs before and after the newline. |
| 31209 | # * Removing a link will update the text style of the range to match the |
| 31210 | # style of the preceding text (or the default text styles if the preceding |
| 31211 | # text is another link) unless different styles are being set in the same |
| 31212 | # request. |
| 31213 | "headingId": "A String", # The ID of a heading in this document. |
| 31214 | "url": "A String", # An external URL. |
| 31215 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 31216 | }, |
| 31217 | "underline": True or False, # Whether or not the text is underlined. |
| 31218 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 31219 | }, |
| 31220 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 31221 | # For any field set to true, there is a new suggested value. |
| 31222 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 31223 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 31224 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 31225 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 31226 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 31227 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 31228 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 31229 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 31230 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 31231 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 31232 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 31233 | }, |
| 31234 | }, |
| 31235 | }, |
| 31236 | "inlineObjectId": "A String", # The ID of the InlineObject this |
| 31237 | # element contains. |
| 31238 | "suggestedInsertionIds": [ # The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs |
| 31239 | # if it is a nested suggested change. If empty, then this is not a suggested |
| 31240 | # insertion. |
| 31241 | "A String", |
| 31242 | ], |
| 31243 | }, |
| 31244 | "footnoteReference": { # A ParagraphElement representing a # A footnote reference paragraph element. |
| 31245 | # footnote reference. A footnote reference is the inline content rendered with |
| 31246 | # a number and is used to identify the footnote. |
| 31247 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this FootnoteReference. |
| 31248 | # |
| 31249 | # Inherited text styles are represented as unset fields in this message. A |
| 31250 | # text style's parent depends on where the text style is defined: |
| 31251 | # |
| 31252 | # * The TextStyle of text in a Paragraph |
| 31253 | # inherits from the paragraph's corresponding named style type. |
| 31254 | # * The TextStyle on a named style |
| 31255 | # inherits from the normal text named style. |
| 31256 | # * The TextStyle of the normal text named style inherits |
| 31257 | # from the default text style in the Docs editor. |
| 31258 | # * The TextStyle on a Paragraph element |
| 31259 | # that is contained in a table may inherit its text style from the table |
| 31260 | # style. |
| 31261 | # |
| 31262 | # If the text style does not inherit from a parent, unsetting fields will |
| 31263 | # revert the style to a value matching the defaults in the Docs editor. |
| 31264 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 31265 | # or transparent, depending on the `color` field. |
| 31266 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 31267 | # a transparent color. |
| 31268 | "rgbColor": { # An RGB color. # The RGB color value. |
| 31269 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 31270 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 31271 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 31272 | }, |
| 31273 | }, |
| 31274 | }, |
| 31275 | "italic": True or False, # Whether or not the text is italicized. |
| 31276 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 31277 | # |
| 31278 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 31279 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 31280 | # The `font_size` itself is not affected by changes in this field. |
| 31281 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 31282 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 31283 | # |
| 31284 | # If an update request specifies values for both `weighted_font_family` and |
| 31285 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 31286 | # |
| 31287 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 31288 | # |
| 31289 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 31290 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 31291 | # is returned. |
| 31292 | "fontFamily": "A String", # The font family of the text. |
| 31293 | # |
| 31294 | # The font family can be any font from the Font menu in Docs or from |
| 31295 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 31296 | # unrecognized, the text is rendered in `Arial`. |
| 31297 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 31298 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 31299 | # numerical values described in the CSS 2.1 Specification, |
| 31300 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 31301 | # non-numerical values disallowed. |
| 31302 | # |
| 31303 | # The default value is `400` ("normal"). |
| 31304 | # |
| 31305 | # The font weight makes up just one component of the rendered font weight. |
| 31306 | # The rendered weight is determined by a combination of the `weight` and the |
| 31307 | # text style's resolved `bold` value, after accounting for inheritance: |
| 31308 | # |
| 31309 | # * If the text is bold and the weight is less than `400`, the rendered |
| 31310 | # weight is 400. |
| 31311 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 31312 | # is less than `700`, the rendered weight is `700`. |
| 31313 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 31314 | # equal to the weight. |
| 31315 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 31316 | }, |
| 31317 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 31318 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 31319 | "magnitude": 3.14, # The magnitude. |
| 31320 | "unit": "A String", # The units for magnitude. |
| 31321 | }, |
| 31322 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 31323 | # or transparent, depending on the `color` field. |
| 31324 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 31325 | # a transparent color. |
| 31326 | "rgbColor": { # An RGB color. # The RGB color value. |
| 31327 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 31328 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 31329 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 31330 | }, |
| 31331 | }, |
| 31332 | }, |
| 31333 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 31334 | # are not inherited from parent text. |
| 31335 | # |
| 31336 | # Changing the link in an update request causes some other changes to the |
| 31337 | # text style of the range: |
| 31338 | # |
| 31339 | # * When setting a link, the text foreground color will be updated to the |
| 31340 | # default link color and the text will be underlined. If these fields are |
| 31341 | # modified in the same request, those values will be used instead of the |
| 31342 | # link defaults. |
| 31343 | # * Setting a link on a text range that overlaps with an existing link will |
| 31344 | # also update the existing link to point to the new URL. |
| 31345 | # * Links are not settable on newline characters. As a result, setting a link |
| 31346 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 31347 | # will separate the newline character(s) into their own text runs. The |
| 31348 | # link will be applied separately to the runs before and after the newline. |
| 31349 | # * Removing a link will update the text style of the range to match the |
| 31350 | # style of the preceding text (or the default text styles if the preceding |
| 31351 | # text is another link) unless different styles are being set in the same |
| 31352 | # request. |
| 31353 | "headingId": "A String", # The ID of a heading in this document. |
| 31354 | "url": "A String", # An external URL. |
| 31355 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 31356 | }, |
| 31357 | "underline": True or False, # Whether or not the text is underlined. |
| 31358 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 31359 | }, |
| 31360 | "footnoteNumber": "A String", # The rendered number of this footnote. |
| 31361 | "suggestedInsertionIds": [ # The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if |
| 31362 | # it is a nested suggested change. If empty, then this is not a suggested |
| 31363 | # insertion. |
| 31364 | "A String", |
| 31365 | ], |
| 31366 | "footnoteId": "A String", # The ID of the footnote that |
| 31367 | # contains the content of this footnote reference. |
| 31368 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 31369 | # of this content. |
| 31370 | "A String", |
| 31371 | ], |
| 31372 | "suggestedTextStyleChanges": { # The suggested text style changes to this FootnoteReference, keyed by |
| 31373 | # suggestion ID. |
| 31374 | "a_key": { # A suggested change to a TextStyle. |
| 31375 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 31376 | # the changes made in this suggestion. This can be used along with the |
| 31377 | # text_style_suggestion_state |
| 31378 | # to see which fields have changed and their new values. |
| 31379 | # |
| 31380 | # Inherited text styles are represented as unset fields in this message. A |
| 31381 | # text style's parent depends on where the text style is defined: |
| 31382 | # |
| 31383 | # * The TextStyle of text in a Paragraph |
| 31384 | # inherits from the paragraph's corresponding named style type. |
| 31385 | # * The TextStyle on a named style |
| 31386 | # inherits from the normal text named style. |
| 31387 | # * The TextStyle of the normal text named style inherits |
| 31388 | # from the default text style in the Docs editor. |
| 31389 | # * The TextStyle on a Paragraph element |
| 31390 | # that is contained in a table may inherit its text style from the table |
| 31391 | # style. |
| 31392 | # |
| 31393 | # If the text style does not inherit from a parent, unsetting fields will |
| 31394 | # revert the style to a value matching the defaults in the Docs editor. |
| 31395 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 31396 | # or transparent, depending on the `color` field. |
| 31397 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 31398 | # a transparent color. |
| 31399 | "rgbColor": { # An RGB color. # The RGB color value. |
| 31400 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 31401 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 31402 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 31403 | }, |
| 31404 | }, |
| 31405 | }, |
| 31406 | "italic": True or False, # Whether or not the text is italicized. |
| 31407 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 31408 | # |
| 31409 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 31410 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 31411 | # The `font_size` itself is not affected by changes in this field. |
| 31412 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 31413 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 31414 | # |
| 31415 | # If an update request specifies values for both `weighted_font_family` and |
| 31416 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 31417 | # |
| 31418 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 31419 | # |
| 31420 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 31421 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 31422 | # is returned. |
| 31423 | "fontFamily": "A String", # The font family of the text. |
| 31424 | # |
| 31425 | # The font family can be any font from the Font menu in Docs or from |
| 31426 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 31427 | # unrecognized, the text is rendered in `Arial`. |
| 31428 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 31429 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 31430 | # numerical values described in the CSS 2.1 Specification, |
| 31431 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 31432 | # non-numerical values disallowed. |
| 31433 | # |
| 31434 | # The default value is `400` ("normal"). |
| 31435 | # |
| 31436 | # The font weight makes up just one component of the rendered font weight. |
| 31437 | # The rendered weight is determined by a combination of the `weight` and the |
| 31438 | # text style's resolved `bold` value, after accounting for inheritance: |
| 31439 | # |
| 31440 | # * If the text is bold and the weight is less than `400`, the rendered |
| 31441 | # weight is 400. |
| 31442 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 31443 | # is less than `700`, the rendered weight is `700`. |
| 31444 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 31445 | # equal to the weight. |
| 31446 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 31447 | }, |
| 31448 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 31449 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 31450 | "magnitude": 3.14, # The magnitude. |
| 31451 | "unit": "A String", # The units for magnitude. |
| 31452 | }, |
| 31453 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 31454 | # or transparent, depending on the `color` field. |
| 31455 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 31456 | # a transparent color. |
| 31457 | "rgbColor": { # An RGB color. # The RGB color value. |
| 31458 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 31459 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 31460 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 31461 | }, |
| 31462 | }, |
| 31463 | }, |
| 31464 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 31465 | # are not inherited from parent text. |
| 31466 | # |
| 31467 | # Changing the link in an update request causes some other changes to the |
| 31468 | # text style of the range: |
| 31469 | # |
| 31470 | # * When setting a link, the text foreground color will be updated to the |
| 31471 | # default link color and the text will be underlined. If these fields are |
| 31472 | # modified in the same request, those values will be used instead of the |
| 31473 | # link defaults. |
| 31474 | # * Setting a link on a text range that overlaps with an existing link will |
| 31475 | # also update the existing link to point to the new URL. |
| 31476 | # * Links are not settable on newline characters. As a result, setting a link |
| 31477 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 31478 | # will separate the newline character(s) into their own text runs. The |
| 31479 | # link will be applied separately to the runs before and after the newline. |
| 31480 | # * Removing a link will update the text style of the range to match the |
| 31481 | # style of the preceding text (or the default text styles if the preceding |
| 31482 | # text is another link) unless different styles are being set in the same |
| 31483 | # request. |
| 31484 | "headingId": "A String", # The ID of a heading in this document. |
| 31485 | "url": "A String", # An external URL. |
| 31486 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 31487 | }, |
| 31488 | "underline": True or False, # Whether or not the text is underlined. |
| 31489 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 31490 | }, |
| 31491 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 31492 | # For any field set to true, there is a new suggested value. |
| 31493 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 31494 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 31495 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 31496 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 31497 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 31498 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 31499 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 31500 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 31501 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 31502 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 31503 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 31504 | }, |
| 31505 | }, |
| 31506 | }, |
| 31507 | }, |
| 31508 | }, |
| 31509 | ], |
| 31510 | "suggestedPositionedObjectIds": { # The IDs of the positioned objects that are suggested to be attached to this |
| 31511 | # paragraph, keyed by suggestion ID. |
| 31512 | "a_key": { # A collection of object IDs. |
| 31513 | "objectIds": [ # The object IDs. |
| 31514 | "A String", |
| 31515 | ], |
| 31516 | }, |
| 31517 | }, |
| 31518 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 31519 | # belong to a list. |
| 31520 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 31521 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 31522 | "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| 31523 | # |
| 31524 | # Inherited text styles are represented as unset fields in this message. A |
| 31525 | # text style's parent depends on where the text style is defined: |
| 31526 | # |
| 31527 | # * The TextStyle of text in a Paragraph |
| 31528 | # inherits from the paragraph's corresponding named style type. |
| 31529 | # * The TextStyle on a named style |
| 31530 | # inherits from the normal text named style. |
| 31531 | # * The TextStyle of the normal text named style inherits |
| 31532 | # from the default text style in the Docs editor. |
| 31533 | # * The TextStyle on a Paragraph element |
| 31534 | # that is contained in a table may inherit its text style from the table |
| 31535 | # style. |
| 31536 | # |
| 31537 | # If the text style does not inherit from a parent, unsetting fields will |
| 31538 | # revert the style to a value matching the defaults in the Docs editor. |
| 31539 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 31540 | # or transparent, depending on the `color` field. |
| 31541 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 31542 | # a transparent color. |
| 31543 | "rgbColor": { # An RGB color. # The RGB color value. |
| 31544 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 31545 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 31546 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 31547 | }, |
| 31548 | }, |
| 31549 | }, |
| 31550 | "italic": True or False, # Whether or not the text is italicized. |
| 31551 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 31552 | # |
| 31553 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 31554 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 31555 | # The `font_size` itself is not affected by changes in this field. |
| 31556 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 31557 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 31558 | # |
| 31559 | # If an update request specifies values for both `weighted_font_family` and |
| 31560 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 31561 | # |
| 31562 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 31563 | # |
| 31564 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 31565 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 31566 | # is returned. |
| 31567 | "fontFamily": "A String", # The font family of the text. |
| 31568 | # |
| 31569 | # The font family can be any font from the Font menu in Docs or from |
| 31570 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 31571 | # unrecognized, the text is rendered in `Arial`. |
| 31572 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 31573 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 31574 | # numerical values described in the CSS 2.1 Specification, |
| 31575 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 31576 | # non-numerical values disallowed. |
| 31577 | # |
| 31578 | # The default value is `400` ("normal"). |
| 31579 | # |
| 31580 | # The font weight makes up just one component of the rendered font weight. |
| 31581 | # The rendered weight is determined by a combination of the `weight` and the |
| 31582 | # text style's resolved `bold` value, after accounting for inheritance: |
| 31583 | # |
| 31584 | # * If the text is bold and the weight is less than `400`, the rendered |
| 31585 | # weight is 400. |
| 31586 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 31587 | # is less than `700`, the rendered weight is `700`. |
| 31588 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 31589 | # equal to the weight. |
| 31590 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 31591 | }, |
| 31592 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 31593 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 31594 | "magnitude": 3.14, # The magnitude. |
| 31595 | "unit": "A String", # The units for magnitude. |
| 31596 | }, |
| 31597 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 31598 | # or transparent, depending on the `color` field. |
| 31599 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 31600 | # a transparent color. |
| 31601 | "rgbColor": { # An RGB color. # The RGB color value. |
| 31602 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 31603 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 31604 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 31605 | }, |
| 31606 | }, |
| 31607 | }, |
| 31608 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 31609 | # are not inherited from parent text. |
| 31610 | # |
| 31611 | # Changing the link in an update request causes some other changes to the |
| 31612 | # text style of the range: |
| 31613 | # |
| 31614 | # * When setting a link, the text foreground color will be updated to the |
| 31615 | # default link color and the text will be underlined. If these fields are |
| 31616 | # modified in the same request, those values will be used instead of the |
| 31617 | # link defaults. |
| 31618 | # * Setting a link on a text range that overlaps with an existing link will |
| 31619 | # also update the existing link to point to the new URL. |
| 31620 | # * Links are not settable on newline characters. As a result, setting a link |
| 31621 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 31622 | # will separate the newline character(s) into their own text runs. The |
| 31623 | # link will be applied separately to the runs before and after the newline. |
| 31624 | # * Removing a link will update the text style of the range to match the |
| 31625 | # style of the preceding text (or the default text styles if the preceding |
| 31626 | # text is another link) unless different styles are being set in the same |
| 31627 | # request. |
| 31628 | "headingId": "A String", # The ID of a heading in this document. |
| 31629 | "url": "A String", # An external URL. |
| 31630 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 31631 | }, |
| 31632 | "underline": True or False, # Whether or not the text is underlined. |
| 31633 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 31634 | }, |
| 31635 | }, |
| 31636 | "suggestedBulletChanges": { # The suggested changes to this paragraph's bullet. |
| 31637 | "a_key": { # A suggested change to a Bullet. |
| 31638 | "bullet": { # Describes the bullet of a paragraph. # A Bullet that only includes the changes made |
| 31639 | # in this suggestion. This can be used along with the |
| 31640 | # bullet_suggestion_state to see which |
| 31641 | # fields have changed and their new values. |
| 31642 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 31643 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 31644 | "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| 31645 | # |
| 31646 | # Inherited text styles are represented as unset fields in this message. A |
| 31647 | # text style's parent depends on where the text style is defined: |
| 31648 | # |
| 31649 | # * The TextStyle of text in a Paragraph |
| 31650 | # inherits from the paragraph's corresponding named style type. |
| 31651 | # * The TextStyle on a named style |
| 31652 | # inherits from the normal text named style. |
| 31653 | # * The TextStyle of the normal text named style inherits |
| 31654 | # from the default text style in the Docs editor. |
| 31655 | # * The TextStyle on a Paragraph element |
| 31656 | # that is contained in a table may inherit its text style from the table |
| 31657 | # style. |
| 31658 | # |
| 31659 | # If the text style does not inherit from a parent, unsetting fields will |
| 31660 | # revert the style to a value matching the defaults in the Docs editor. |
| 31661 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 31662 | # or transparent, depending on the `color` field. |
| 31663 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 31664 | # a transparent color. |
| 31665 | "rgbColor": { # An RGB color. # The RGB color value. |
| 31666 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 31667 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 31668 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 31669 | }, |
| 31670 | }, |
| 31671 | }, |
| 31672 | "italic": True or False, # Whether or not the text is italicized. |
| 31673 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 31674 | # |
| 31675 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 31676 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 31677 | # The `font_size` itself is not affected by changes in this field. |
| 31678 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 31679 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 31680 | # |
| 31681 | # If an update request specifies values for both `weighted_font_family` and |
| 31682 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 31683 | # |
| 31684 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 31685 | # |
| 31686 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 31687 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 31688 | # is returned. |
| 31689 | "fontFamily": "A String", # The font family of the text. |
| 31690 | # |
| 31691 | # The font family can be any font from the Font menu in Docs or from |
| 31692 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 31693 | # unrecognized, the text is rendered in `Arial`. |
| 31694 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 31695 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 31696 | # numerical values described in the CSS 2.1 Specification, |
| 31697 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 31698 | # non-numerical values disallowed. |
| 31699 | # |
| 31700 | # The default value is `400` ("normal"). |
| 31701 | # |
| 31702 | # The font weight makes up just one component of the rendered font weight. |
| 31703 | # The rendered weight is determined by a combination of the `weight` and the |
| 31704 | # text style's resolved `bold` value, after accounting for inheritance: |
| 31705 | # |
| 31706 | # * If the text is bold and the weight is less than `400`, the rendered |
| 31707 | # weight is 400. |
| 31708 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 31709 | # is less than `700`, the rendered weight is `700`. |
| 31710 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 31711 | # equal to the weight. |
| 31712 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 31713 | }, |
| 31714 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 31715 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 31716 | "magnitude": 3.14, # The magnitude. |
| 31717 | "unit": "A String", # The units for magnitude. |
| 31718 | }, |
| 31719 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 31720 | # or transparent, depending on the `color` field. |
| 31721 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 31722 | # a transparent color. |
| 31723 | "rgbColor": { # An RGB color. # The RGB color value. |
| 31724 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 31725 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 31726 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 31727 | }, |
| 31728 | }, |
| 31729 | }, |
| 31730 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 31731 | # are not inherited from parent text. |
| 31732 | # |
| 31733 | # Changing the link in an update request causes some other changes to the |
| 31734 | # text style of the range: |
| 31735 | # |
| 31736 | # * When setting a link, the text foreground color will be updated to the |
| 31737 | # default link color and the text will be underlined. If these fields are |
| 31738 | # modified in the same request, those values will be used instead of the |
| 31739 | # link defaults. |
| 31740 | # * Setting a link on a text range that overlaps with an existing link will |
| 31741 | # also update the existing link to point to the new URL. |
| 31742 | # * Links are not settable on newline characters. As a result, setting a link |
| 31743 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 31744 | # will separate the newline character(s) into their own text runs. The |
| 31745 | # link will be applied separately to the runs before and after the newline. |
| 31746 | # * Removing a link will update the text style of the range to match the |
| 31747 | # style of the preceding text (or the default text styles if the preceding |
| 31748 | # text is another link) unless different styles are being set in the same |
| 31749 | # request. |
| 31750 | "headingId": "A String", # The ID of a heading in this document. |
| 31751 | "url": "A String", # An external URL. |
| 31752 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 31753 | }, |
| 31754 | "underline": True or False, # Whether or not the text is underlined. |
| 31755 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 31756 | }, |
| 31757 | }, |
| 31758 | "bulletSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| 31759 | # Bullet have been changed in this suggestion. |
| 31760 | # Bullet have been changed in this suggestion. |
| 31761 | # For any field set to true, there is a new suggested value. |
| 31762 | "nestingLevelSuggested": True or False, # Indicates if there was a suggested change to the |
| 31763 | # nesting_level. |
| 31764 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| 31765 | # suggestion. |
| 31766 | # For any field set to true, there is a new suggested value. |
| 31767 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 31768 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 31769 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 31770 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 31771 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 31772 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 31773 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 31774 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 31775 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 31776 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 31777 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 31778 | }, |
| 31779 | "listIdSuggested": True or False, # Indicates if there was a suggested change to the |
| 31780 | # list_id. |
| 31781 | }, |
| 31782 | }, |
| 31783 | }, |
| 31784 | "positionedObjectIds": [ # The IDs of the positioned objects tethered to this paragraph. |
| 31785 | "A String", |
| 31786 | ], |
| 31787 | "suggestedParagraphStyleChanges": { # The suggested paragraph style changes to this paragraph, keyed by |
| 31788 | # suggestion ID. |
| 31789 | "a_key": { # A suggested change to a |
| 31790 | # ParagraphStyle. |
| 31791 | "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. |
| 31792 | # For any field set to true, there is a new suggested value. |
| 31793 | "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| 31794 | "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| 31795 | "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| 31796 | "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| 31797 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 31798 | "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| 31799 | "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| 31800 | "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| 31801 | "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| 31802 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 31803 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 31804 | "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| 31805 | "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| 31806 | "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| 31807 | "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| 31808 | "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| 31809 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 31810 | "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| 31811 | "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| 31812 | "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| 31813 | # this suggestion. |
| 31814 | # suggested change. For any field set to true, there is a new suggested value. |
| 31815 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| 31816 | }, |
| 31817 | }, |
| 31818 | "paragraphStyle": { # Styles that apply to a whole paragraph. # A ParagraphStyle that only includes |
| 31819 | # the changes made in this suggestion. This can be used along with the |
| 31820 | # paragraph_suggestion_state |
| 31821 | # to see which fields have changed and their new values. |
| 31822 | # |
| 31823 | # Inherited paragraph styles are represented as unset fields in this message. |
| 31824 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 31825 | # |
| 31826 | # * The ParagraphStyle on a Paragraph |
| 31827 | # inherits from the paragraph's corresponding named style type. |
| 31828 | # * The ParagraphStyle on a named style |
| 31829 | # inherits from the normal text named style. |
| 31830 | # * The ParagraphStyle of the normal text named style inherits |
| 31831 | # from the default paragraph style in the Docs editor. |
| 31832 | # * The ParagraphStyle on a Paragraph |
| 31833 | # element that is contained in a table may inherit its paragraph style from |
| 31834 | # the table style. |
| 31835 | # |
| 31836 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 31837 | # revert the style to a value matching the defaults in the Docs editor. |
| 31838 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 31839 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 31840 | # LEFT_TO_RIGHT since |
| 31841 | # paragraph direction is not inherited. |
| 31842 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 31843 | # inherited from the parent. |
| 31844 | "magnitude": 3.14, # The magnitude. |
| 31845 | "unit": "A String", # The units for magnitude. |
| 31846 | }, |
| 31847 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 31848 | # page or column as the next paragraph if possible. If unset, the value is |
| 31849 | # inherited from the parent. |
| 31850 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 31851 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 31852 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 31853 | # is inherited from the parent. |
| 31854 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 31855 | # inherited from the parent. |
| 31856 | # |
| 31857 | # The bottom border is rendered when the paragraph below has different border |
| 31858 | # and indent properties. |
| 31859 | # |
| 31860 | # Paragraph borders cannot be partially updated. When making |
| 31861 | # changes to a paragraph border the new border must be specified in |
| 31862 | # its entirety. |
| 31863 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 31864 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 31865 | # a transparent color. |
| 31866 | "rgbColor": { # An RGB color. # The RGB color value. |
| 31867 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 31868 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 31869 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 31870 | }, |
| 31871 | }, |
| 31872 | }, |
| 31873 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 31874 | "magnitude": 3.14, # The magnitude. |
| 31875 | "unit": "A String", # The units for magnitude. |
| 31876 | }, |
| 31877 | "dashStyle": "A String", # The dash style of the border. |
| 31878 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 31879 | "magnitude": 3.14, # The magnitude. |
| 31880 | "unit": "A String", # The units for magnitude. |
| 31881 | }, |
| 31882 | }, |
| 31883 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 31884 | # the start of the text, based on the current paragraph direction. If unset, |
| 31885 | # the value is inherited from the parent. |
| 31886 | "magnitude": 3.14, # The magnitude. |
| 31887 | "unit": "A String", # The units for magnitude. |
| 31888 | }, |
| 31889 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 31890 | # If unset, the value is inherited from the parent. |
| 31891 | # |
| 31892 | # The between border is rendered when the adjacent paragraph has the same |
| 31893 | # border and indent properties. |
| 31894 | # |
| 31895 | # Paragraph borders cannot be partially updated. When making |
| 31896 | # changes to a paragraph border the new border must be specified in |
| 31897 | # its entirety. |
| 31898 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 31899 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 31900 | # a transparent color. |
| 31901 | "rgbColor": { # An RGB color. # The RGB color value. |
| 31902 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 31903 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 31904 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 31905 | }, |
| 31906 | }, |
| 31907 | }, |
| 31908 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 31909 | "magnitude": 3.14, # The magnitude. |
| 31910 | "unit": "A String", # The units for magnitude. |
| 31911 | }, |
| 31912 | "dashStyle": "A String", # The dash style of the border. |
| 31913 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 31914 | "magnitude": 3.14, # The magnitude. |
| 31915 | "unit": "A String", # The units for magnitude. |
| 31916 | }, |
| 31917 | }, |
| 31918 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 31919 | # |
| 31920 | # Since updating the named style type affects other properties within |
| 31921 | # ParagraphStyle, the named style type is applied before the other properties |
| 31922 | # are updated. |
| 31923 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 31924 | # from the parent. |
| 31925 | # |
| 31926 | # Paragraph borders cannot be partially updated. When making |
| 31927 | # changes to a paragraph border the new border must be specified in |
| 31928 | # its entirety. |
| 31929 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 31930 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 31931 | # a transparent color. |
| 31932 | "rgbColor": { # An RGB color. # The RGB color value. |
| 31933 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 31934 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 31935 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 31936 | }, |
| 31937 | }, |
| 31938 | }, |
| 31939 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 31940 | "magnitude": 3.14, # The magnitude. |
| 31941 | "unit": "A String", # The units for magnitude. |
| 31942 | }, |
| 31943 | "dashStyle": "A String", # The dash style of the border. |
| 31944 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 31945 | "magnitude": 3.14, # The magnitude. |
| 31946 | "unit": "A String", # The units for magnitude. |
| 31947 | }, |
| 31948 | }, |
| 31949 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 31950 | # the end of the text, based on the current paragraph direction. If unset, |
| 31951 | # the value is inherited from the parent. |
| 31952 | "magnitude": 3.14, # The magnitude. |
| 31953 | "unit": "A String", # The units for magnitude. |
| 31954 | }, |
| 31955 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 31956 | # from the parent. |
| 31957 | # |
| 31958 | # Paragraph borders cannot be partially updated. When making |
| 31959 | # changes to a paragraph border the new border must be specified in |
| 31960 | # its entirety. |
| 31961 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 31962 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 31963 | # a transparent color. |
| 31964 | "rgbColor": { # An RGB color. # The RGB color value. |
| 31965 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 31966 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 31967 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 31968 | }, |
| 31969 | }, |
| 31970 | }, |
| 31971 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 31972 | "magnitude": 3.14, # The magnitude. |
| 31973 | "unit": "A String", # The units for magnitude. |
| 31974 | }, |
| 31975 | "dashStyle": "A String", # The dash style of the border. |
| 31976 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 31977 | "magnitude": 3.14, # The magnitude. |
| 31978 | "unit": "A String", # The units for magnitude. |
| 31979 | }, |
| 31980 | }, |
| 31981 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 31982 | # inherited from the parent. |
| 31983 | "magnitude": 3.14, # The magnitude. |
| 31984 | "unit": "A String", # The units for magnitude. |
| 31985 | }, |
| 31986 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 31987 | # heading. This property is read-only. |
| 31988 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 31989 | # parent. |
| 31990 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 31991 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 31992 | # a transparent color. |
| 31993 | "rgbColor": { # An RGB color. # The RGB color value. |
| 31994 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 31995 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 31996 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 31997 | }, |
| 31998 | }, |
| 31999 | }, |
| 32000 | }, |
| 32001 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 32002 | # from the parent. |
| 32003 | # |
| 32004 | # The top border is rendered when the paragraph above has different border |
| 32005 | # and indent properties. |
| 32006 | # |
| 32007 | # Paragraph borders cannot be partially updated. When making |
| 32008 | # changes to a paragraph border the new border must be specified in |
| 32009 | # its entirety. |
| 32010 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 32011 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 32012 | # a transparent color. |
| 32013 | "rgbColor": { # An RGB color. # The RGB color value. |
| 32014 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 32015 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 32016 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 32017 | }, |
| 32018 | }, |
| 32019 | }, |
| 32020 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 32021 | "magnitude": 3.14, # The magnitude. |
| 32022 | "unit": "A String", # The units for magnitude. |
| 32023 | }, |
| 32024 | "dashStyle": "A String", # The dash style of the border. |
| 32025 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 32026 | "magnitude": 3.14, # The magnitude. |
| 32027 | "unit": "A String", # The units for magnitude. |
| 32028 | }, |
| 32029 | }, |
| 32030 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 32031 | # inherited. This property is read-only. |
| 32032 | { # A tab stop within a paragraph. |
| 32033 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 32034 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 32035 | "magnitude": 3.14, # The magnitude. |
| 32036 | "unit": "A String", # The units for magnitude. |
| 32037 | }, |
| 32038 | }, |
| 32039 | ], |
| 32040 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 32041 | # the value is inherited from the parent. |
| 32042 | "magnitude": 3.14, # The magnitude. |
| 32043 | "unit": "A String", # The units for magnitude. |
| 32044 | }, |
| 32045 | "alignment": "A String", # The text alignment for this paragraph. |
| 32046 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 32047 | # column if possible. If unset, the value is inherited from the parent. |
| 32048 | }, |
| 32049 | }, |
| 32050 | }, |
| 32051 | "paragraphStyle": { # Styles that apply to a whole paragraph. # The style of this paragraph. |
| 32052 | # |
| 32053 | # Inherited paragraph styles are represented as unset fields in this message. |
| 32054 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 32055 | # |
| 32056 | # * The ParagraphStyle on a Paragraph |
| 32057 | # inherits from the paragraph's corresponding named style type. |
| 32058 | # * The ParagraphStyle on a named style |
| 32059 | # inherits from the normal text named style. |
| 32060 | # * The ParagraphStyle of the normal text named style inherits |
| 32061 | # from the default paragraph style in the Docs editor. |
| 32062 | # * The ParagraphStyle on a Paragraph |
| 32063 | # element that is contained in a table may inherit its paragraph style from |
| 32064 | # the table style. |
| 32065 | # |
| 32066 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 32067 | # revert the style to a value matching the defaults in the Docs editor. |
| 32068 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 32069 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 32070 | # LEFT_TO_RIGHT since |
| 32071 | # paragraph direction is not inherited. |
| 32072 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 32073 | # inherited from the parent. |
| 32074 | "magnitude": 3.14, # The magnitude. |
| 32075 | "unit": "A String", # The units for magnitude. |
| 32076 | }, |
| 32077 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 32078 | # page or column as the next paragraph if possible. If unset, the value is |
| 32079 | # inherited from the parent. |
| 32080 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 32081 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 32082 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 32083 | # is inherited from the parent. |
| 32084 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 32085 | # inherited from the parent. |
| 32086 | # |
| 32087 | # The bottom border is rendered when the paragraph below has different border |
| 32088 | # and indent properties. |
| 32089 | # |
| 32090 | # Paragraph borders cannot be partially updated. When making |
| 32091 | # changes to a paragraph border the new border must be specified in |
| 32092 | # its entirety. |
| 32093 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 32094 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 32095 | # a transparent color. |
| 32096 | "rgbColor": { # An RGB color. # The RGB color value. |
| 32097 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 32098 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 32099 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 32100 | }, |
| 32101 | }, |
| 32102 | }, |
| 32103 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 32104 | "magnitude": 3.14, # The magnitude. |
| 32105 | "unit": "A String", # The units for magnitude. |
| 32106 | }, |
| 32107 | "dashStyle": "A String", # The dash style of the border. |
| 32108 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 32109 | "magnitude": 3.14, # The magnitude. |
| 32110 | "unit": "A String", # The units for magnitude. |
| 32111 | }, |
| 32112 | }, |
| 32113 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 32114 | # the start of the text, based on the current paragraph direction. If unset, |
| 32115 | # the value is inherited from the parent. |
| 32116 | "magnitude": 3.14, # The magnitude. |
| 32117 | "unit": "A String", # The units for magnitude. |
| 32118 | }, |
| 32119 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 32120 | # If unset, the value is inherited from the parent. |
| 32121 | # |
| 32122 | # The between border is rendered when the adjacent paragraph has the same |
| 32123 | # border and indent properties. |
| 32124 | # |
| 32125 | # Paragraph borders cannot be partially updated. When making |
| 32126 | # changes to a paragraph border the new border must be specified in |
| 32127 | # its entirety. |
| 32128 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 32129 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 32130 | # a transparent color. |
| 32131 | "rgbColor": { # An RGB color. # The RGB color value. |
| 32132 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 32133 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 32134 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 32135 | }, |
| 32136 | }, |
| 32137 | }, |
| 32138 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 32139 | "magnitude": 3.14, # The magnitude. |
| 32140 | "unit": "A String", # The units for magnitude. |
| 32141 | }, |
| 32142 | "dashStyle": "A String", # The dash style of the border. |
| 32143 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 32144 | "magnitude": 3.14, # The magnitude. |
| 32145 | "unit": "A String", # The units for magnitude. |
| 32146 | }, |
| 32147 | }, |
| 32148 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 32149 | # |
| 32150 | # Since updating the named style type affects other properties within |
| 32151 | # ParagraphStyle, the named style type is applied before the other properties |
| 32152 | # are updated. |
| 32153 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 32154 | # from the parent. |
| 32155 | # |
| 32156 | # Paragraph borders cannot be partially updated. When making |
| 32157 | # changes to a paragraph border the new border must be specified in |
| 32158 | # its entirety. |
| 32159 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 32160 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 32161 | # a transparent color. |
| 32162 | "rgbColor": { # An RGB color. # The RGB color value. |
| 32163 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 32164 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 32165 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 32166 | }, |
| 32167 | }, |
| 32168 | }, |
| 32169 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 32170 | "magnitude": 3.14, # The magnitude. |
| 32171 | "unit": "A String", # The units for magnitude. |
| 32172 | }, |
| 32173 | "dashStyle": "A String", # The dash style of the border. |
| 32174 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 32175 | "magnitude": 3.14, # The magnitude. |
| 32176 | "unit": "A String", # The units for magnitude. |
| 32177 | }, |
| 32178 | }, |
| 32179 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 32180 | # the end of the text, based on the current paragraph direction. If unset, |
| 32181 | # the value is inherited from the parent. |
| 32182 | "magnitude": 3.14, # The magnitude. |
| 32183 | "unit": "A String", # The units for magnitude. |
| 32184 | }, |
| 32185 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 32186 | # from the parent. |
| 32187 | # |
| 32188 | # Paragraph borders cannot be partially updated. When making |
| 32189 | # changes to a paragraph border the new border must be specified in |
| 32190 | # its entirety. |
| 32191 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 32192 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 32193 | # a transparent color. |
| 32194 | "rgbColor": { # An RGB color. # The RGB color value. |
| 32195 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 32196 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 32197 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 32198 | }, |
| 32199 | }, |
| 32200 | }, |
| 32201 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 32202 | "magnitude": 3.14, # The magnitude. |
| 32203 | "unit": "A String", # The units for magnitude. |
| 32204 | }, |
| 32205 | "dashStyle": "A String", # The dash style of the border. |
| 32206 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 32207 | "magnitude": 3.14, # The magnitude. |
| 32208 | "unit": "A String", # The units for magnitude. |
| 32209 | }, |
| 32210 | }, |
| 32211 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 32212 | # inherited from the parent. |
| 32213 | "magnitude": 3.14, # The magnitude. |
| 32214 | "unit": "A String", # The units for magnitude. |
| 32215 | }, |
| 32216 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 32217 | # heading. This property is read-only. |
| 32218 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 32219 | # parent. |
| 32220 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 32221 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 32222 | # a transparent color. |
| 32223 | "rgbColor": { # An RGB color. # The RGB color value. |
| 32224 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 32225 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 32226 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 32227 | }, |
| 32228 | }, |
| 32229 | }, |
| 32230 | }, |
| 32231 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 32232 | # from the parent. |
| 32233 | # |
| 32234 | # The top border is rendered when the paragraph above has different border |
| 32235 | # and indent properties. |
| 32236 | # |
| 32237 | # Paragraph borders cannot be partially updated. When making |
| 32238 | # changes to a paragraph border the new border must be specified in |
| 32239 | # its entirety. |
| 32240 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 32241 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 32242 | # a transparent color. |
| 32243 | "rgbColor": { # An RGB color. # The RGB color value. |
| 32244 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 32245 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 32246 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 32247 | }, |
| 32248 | }, |
| 32249 | }, |
| 32250 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 32251 | "magnitude": 3.14, # The magnitude. |
| 32252 | "unit": "A String", # The units for magnitude. |
| 32253 | }, |
| 32254 | "dashStyle": "A String", # The dash style of the border. |
| 32255 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 32256 | "magnitude": 3.14, # The magnitude. |
| 32257 | "unit": "A String", # The units for magnitude. |
| 32258 | }, |
| 32259 | }, |
| 32260 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 32261 | # inherited. This property is read-only. |
| 32262 | { # A tab stop within a paragraph. |
| 32263 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 32264 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 32265 | "magnitude": 3.14, # The magnitude. |
| 32266 | "unit": "A String", # The units for magnitude. |
| 32267 | }, |
| 32268 | }, |
| 32269 | ], |
| 32270 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 32271 | # the value is inherited from the parent. |
| 32272 | "magnitude": 3.14, # The magnitude. |
| 32273 | "unit": "A String", # The units for magnitude. |
| 32274 | }, |
| 32275 | "alignment": "A String", # The text alignment for this paragraph. |
| 32276 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 32277 | # column if possible. If unset, the value is inherited from the parent. |
| 32278 | }, |
| 32279 | }, |
| 32280 | "table": { # A StructuralElement representing a # A table type of structural element. |
| 32281 | # table. |
| 32282 | "rows": 42, # Number of rows in the table. |
| 32283 | "tableStyle": { # Styles that apply to a table. # The style of the table. |
| 32284 | "tableColumnProperties": [ # The properties of each column. |
| 32285 | # |
| 32286 | # Note that in Docs, tables contain rows and rows contain cells, similar to |
| 32287 | # HTML. So the properties for a row can be found on the row's |
| 32288 | # table_row_style. |
| 32289 | { # The properties of a column in a table. |
| 32290 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| 32291 | # FIXED_WIDTH. |
| 32292 | "magnitude": 3.14, # The magnitude. |
| 32293 | "unit": "A String", # The units for magnitude. |
| 32294 | }, |
| 32295 | "widthType": "A String", # The width type of the column. |
| 32296 | }, |
| 32297 | ], |
| 32298 | }, |
| 32299 | "suggestedInsertionIds": [ # The suggested insertion IDs. A Table may have |
| 32300 | # multiple insertion IDs if it is a nested suggested change. If empty, then |
| 32301 | # this is not a suggested insertion. |
| 32302 | "A String", |
| 32303 | ], |
| 32304 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 32305 | # of this content. |
| 32306 | "A String", |
| 32307 | ], |
| 32308 | "tableRows": [ # The contents and style of each row. |
| 32309 | { # The contents and style of a row in a Table. |
| 32310 | "endIndex": 42, # The zero-based end index of this row, exclusive, in UTF-16 code units. |
| 32311 | "tableCells": [ # The contents and style of each cell in this row. |
| 32312 | # |
| 32313 | # It is possible for a table to be non-rectangular, so some rows may have a |
| 32314 | # different number of cells than other rows in the same table. |
| 32315 | { # The contents and style of a cell in a Table. |
| 32316 | "endIndex": 42, # The zero-based end index of this cell, exclusive, in UTF-16 code units. |
| 32317 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 32318 | # of this content. |
| 32319 | "A String", |
| 32320 | ], |
| 32321 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableCell |
| 32322 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 32323 | # empty, then this is not a suggested insertion. |
| 32324 | "A String", |
| 32325 | ], |
| 32326 | "content": [ # The content of the cell. |
| 32327 | # Object with schema name: StructuralElement |
| 32328 | ], |
| 32329 | "tableCellStyle": { # The style of a TableCell. # The style of the cell. |
| 32330 | # |
| 32331 | # Inherited table cell styles are represented as unset fields in this message. |
| 32332 | # A table cell style can inherit from the table's style. |
| 32333 | "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| 32334 | "magnitude": 3.14, # The magnitude. |
| 32335 | "unit": "A String", # The units for magnitude. |
| 32336 | }, |
| 32337 | "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| 32338 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 32339 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 32340 | # a transparent color. |
| 32341 | "rgbColor": { # An RGB color. # The RGB color value. |
| 32342 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 32343 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 32344 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 32345 | }, |
| 32346 | }, |
| 32347 | }, |
| 32348 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 32349 | "magnitude": 3.14, # The magnitude. |
| 32350 | "unit": "A String", # The units for magnitude. |
| 32351 | }, |
| 32352 | "dashStyle": "A String", # The dash style of the border. |
| 32353 | }, |
| 32354 | "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| 32355 | "magnitude": 3.14, # The magnitude. |
| 32356 | "unit": "A String", # The units for magnitude. |
| 32357 | }, |
| 32358 | "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| 32359 | "magnitude": 3.14, # The magnitude. |
| 32360 | "unit": "A String", # The units for magnitude. |
| 32361 | }, |
| 32362 | "borderLeft": { # A border around a table cell. # The left border of the cell. |
| 32363 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 32364 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 32365 | # a transparent color. |
| 32366 | "rgbColor": { # An RGB color. # The RGB color value. |
| 32367 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 32368 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 32369 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 32370 | }, |
| 32371 | }, |
| 32372 | }, |
| 32373 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 32374 | "magnitude": 3.14, # The magnitude. |
| 32375 | "unit": "A String", # The units for magnitude. |
| 32376 | }, |
| 32377 | "dashStyle": "A String", # The dash style of the border. |
| 32378 | }, |
| 32379 | "columnSpan": 42, # The column span of the cell. This property is read-only. |
| 32380 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| 32381 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 32382 | # a transparent color. |
| 32383 | "rgbColor": { # An RGB color. # The RGB color value. |
| 32384 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 32385 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 32386 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 32387 | }, |
| 32388 | }, |
| 32389 | }, |
| 32390 | "borderRight": { # A border around a table cell. # The right border of the cell. |
| 32391 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 32392 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 32393 | # a transparent color. |
| 32394 | "rgbColor": { # An RGB color. # The RGB color value. |
| 32395 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 32396 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 32397 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 32398 | }, |
| 32399 | }, |
| 32400 | }, |
| 32401 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 32402 | "magnitude": 3.14, # The magnitude. |
| 32403 | "unit": "A String", # The units for magnitude. |
| 32404 | }, |
| 32405 | "dashStyle": "A String", # The dash style of the border. |
| 32406 | }, |
| 32407 | "rowSpan": 42, # The row span of the cell. This property is read-only. |
| 32408 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 32409 | # matches the alignment for newly created table cells in the Docs editor. |
| 32410 | "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| 32411 | "magnitude": 3.14, # The magnitude. |
| 32412 | "unit": "A String", # The units for magnitude. |
| 32413 | }, |
| 32414 | "borderTop": { # A border around a table cell. # The top border of the cell. |
| 32415 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 32416 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 32417 | # a transparent color. |
| 32418 | "rgbColor": { # An RGB color. # The RGB color value. |
| 32419 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 32420 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 32421 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 32422 | }, |
| 32423 | }, |
| 32424 | }, |
| 32425 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 32426 | "magnitude": 3.14, # The magnitude. |
| 32427 | "unit": "A String", # The units for magnitude. |
| 32428 | }, |
| 32429 | "dashStyle": "A String", # The dash style of the border. |
| 32430 | }, |
| 32431 | }, |
| 32432 | "startIndex": 42, # The zero-based start index of this cell, in UTF-16 code units. |
| 32433 | "suggestedTableCellStyleChanges": { # The suggested changes to the table cell style, keyed by suggestion ID. |
| 32434 | "a_key": { # A suggested change to a TableCellStyle. |
| 32435 | "tableCellStyle": { # The style of a TableCell. # A TableCellStyle that only includes |
| 32436 | # the changes made in this suggestion. This can be used along with the |
| 32437 | # table_cell_style_suggestion_state |
| 32438 | # to see which fields have changed and their new values. |
| 32439 | # |
| 32440 | # Inherited table cell styles are represented as unset fields in this message. |
| 32441 | # A table cell style can inherit from the table's style. |
| 32442 | "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| 32443 | "magnitude": 3.14, # The magnitude. |
| 32444 | "unit": "A String", # The units for magnitude. |
| 32445 | }, |
| 32446 | "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| 32447 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 32448 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 32449 | # a transparent color. |
| 32450 | "rgbColor": { # An RGB color. # The RGB color value. |
| 32451 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 32452 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 32453 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 32454 | }, |
| 32455 | }, |
| 32456 | }, |
| 32457 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 32458 | "magnitude": 3.14, # The magnitude. |
| 32459 | "unit": "A String", # The units for magnitude. |
| 32460 | }, |
| 32461 | "dashStyle": "A String", # The dash style of the border. |
| 32462 | }, |
| 32463 | "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| 32464 | "magnitude": 3.14, # The magnitude. |
| 32465 | "unit": "A String", # The units for magnitude. |
| 32466 | }, |
| 32467 | "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| 32468 | "magnitude": 3.14, # The magnitude. |
| 32469 | "unit": "A String", # The units for magnitude. |
| 32470 | }, |
| 32471 | "borderLeft": { # A border around a table cell. # The left border of the cell. |
| 32472 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 32473 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 32474 | # a transparent color. |
| 32475 | "rgbColor": { # An RGB color. # The RGB color value. |
| 32476 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 32477 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 32478 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 32479 | }, |
| 32480 | }, |
| 32481 | }, |
| 32482 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 32483 | "magnitude": 3.14, # The magnitude. |
| 32484 | "unit": "A String", # The units for magnitude. |
| 32485 | }, |
| 32486 | "dashStyle": "A String", # The dash style of the border. |
| 32487 | }, |
| 32488 | "columnSpan": 42, # The column span of the cell. This property is read-only. |
| 32489 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| 32490 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 32491 | # a transparent color. |
| 32492 | "rgbColor": { # An RGB color. # The RGB color value. |
| 32493 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 32494 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 32495 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 32496 | }, |
| 32497 | }, |
| 32498 | }, |
| 32499 | "borderRight": { # A border around a table cell. # The right border of the cell. |
| 32500 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 32501 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 32502 | # a transparent color. |
| 32503 | "rgbColor": { # An RGB color. # The RGB color value. |
| 32504 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 32505 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 32506 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 32507 | }, |
| 32508 | }, |
| 32509 | }, |
| 32510 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 32511 | "magnitude": 3.14, # The magnitude. |
| 32512 | "unit": "A String", # The units for magnitude. |
| 32513 | }, |
| 32514 | "dashStyle": "A String", # The dash style of the border. |
| 32515 | }, |
| 32516 | "rowSpan": 42, # The row span of the cell. This property is read-only. |
| 32517 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 32518 | # matches the alignment for newly created table cells in the Docs editor. |
| 32519 | "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| 32520 | "magnitude": 3.14, # The magnitude. |
| 32521 | "unit": "A String", # The units for magnitude. |
| 32522 | }, |
| 32523 | "borderTop": { # A border around a table cell. # The top border of the cell. |
| 32524 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 32525 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 32526 | # a transparent color. |
| 32527 | "rgbColor": { # An RGB color. # The RGB color value. |
| 32528 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 32529 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 32530 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 32531 | }, |
| 32532 | }, |
| 32533 | }, |
| 32534 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 32535 | "magnitude": 3.14, # The magnitude. |
| 32536 | "unit": "A String", # The units for magnitude. |
| 32537 | }, |
| 32538 | "dashStyle": "A String", # The dash style of the border. |
| 32539 | }, |
| 32540 | }, |
| 32541 | "tableCellStyleSuggestionState": { # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. |
| 32542 | # For any field set to true, there is a new suggested value. |
| 32543 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 32544 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 32545 | "paddingBottomSuggested": True or False, # Indicates if there was a suggested change to padding_bottom. |
| 32546 | "contentAlignmentSuggested": True or False, # Indicates if there was a suggested change to content_alignment. |
| 32547 | "rowSpanSuggested": True or False, # Indicates if there was a suggested change to row_span. |
| 32548 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 32549 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 32550 | "columnSpanSuggested": True or False, # Indicates if there was a suggested change to column_span. |
| 32551 | "paddingRightSuggested": True or False, # Indicates if there was a suggested change to padding_right. |
| 32552 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 32553 | "paddingLeftSuggested": True or False, # Indicates if there was a suggested change to padding_left. |
| 32554 | "paddingTopSuggested": True or False, # Indicates if there was a suggested change to padding_top. |
| 32555 | }, |
| 32556 | }, |
| 32557 | }, |
| 32558 | }, |
| 32559 | ], |
| 32560 | "tableRowStyle": { # Styles that apply to a table row. # The style of the table row. |
| 32561 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 32562 | # at a height equal to or greater than this value in order to show all the |
| 32563 | # content in the row's cells. |
| 32564 | "magnitude": 3.14, # The magnitude. |
| 32565 | "unit": "A String", # The units for magnitude. |
| 32566 | }, |
| 32567 | }, |
| 32568 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableRow |
| 32569 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 32570 | # empty, then this is not a suggested insertion. |
| 32571 | "A String", |
| 32572 | ], |
| 32573 | "startIndex": 42, # The zero-based start index of this row, in UTF-16 code units. |
| 32574 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 32575 | # of this content. |
| 32576 | "A String", |
| 32577 | ], |
| 32578 | "suggestedTableRowStyleChanges": { # The suggested style changes to this row, keyed by suggestion ID. |
| 32579 | "a_key": { # A suggested change to a |
| 32580 | # TableRowStyle. |
| 32581 | "tableRowStyle": { # Styles that apply to a table row. # A TableRowStyle that only includes |
| 32582 | # the changes made in this suggestion. This can be used along with the |
| 32583 | # table_row_style_suggestion_state |
| 32584 | # to see which fields have changed and their new values. |
| 32585 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 32586 | # at a height equal to or greater than this value in order to show all the |
| 32587 | # content in the row's cells. |
| 32588 | "magnitude": 3.14, # The magnitude. |
| 32589 | "unit": "A String", # The units for magnitude. |
| 32590 | }, |
| 32591 | }, |
| 32592 | "tableRowStyleSuggestionState": { # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. |
| 32593 | # For any field set to true, there is a new suggested value. |
| 32594 | "minRowHeightSuggested": True or False, # Indicates if there was a suggested change to min_row_height. |
| 32595 | }, |
| 32596 | }, |
| 32597 | }, |
| 32598 | }, |
| 32599 | ], |
| 32600 | "columns": 42, # Number of columns in the table. |
| 32601 | # |
| 32602 | # It is possible for a table to be non-rectangular, so some rows may have a |
| 32603 | # different number of cells. |
| 32604 | }, |
| 32605 | }, |
| 32606 | ], |
| 32607 | }, |
| 32608 | "documentStyle": { # The style of the document. # The style of the document. |
| 32609 | "defaultFooterId": "A String", # The ID of the default footer. If not set, there is no default footer. |
| 32610 | "evenPageFooterId": "A String", # The ID of the footer used only for even pages. The value of |
| 32611 | # use_even_page_header_footer determines |
| 32612 | # whether to use the default_footer_id or this value for the |
| 32613 | # footer on even pages. If not set, there is no even page footer. |
| 32614 | "firstPageFooterId": "A String", # The ID of the footer used only for the first page. If not set then |
| 32615 | # a unique footer for the first page does not exist. The value of |
| 32616 | # use_first_page_header_footer determines |
| 32617 | # whether to use the default_footer_id or this value for the |
| 32618 | # footer on the first page. If not set, there is no first page footer. |
| 32619 | "pageSize": { # A width and height. # The size of a page in the document. |
| 32620 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 32621 | "magnitude": 3.14, # The magnitude. |
| 32622 | "unit": "A String", # The units for magnitude. |
| 32623 | }, |
| 32624 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 32625 | "magnitude": 3.14, # The magnitude. |
| 32626 | "unit": "A String", # The units for magnitude. |
| 32627 | }, |
| 32628 | }, |
| 32629 | "defaultHeaderId": "A String", # The ID of the default header. If not set, there is no default header. |
| 32630 | "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom page margin. |
| 32631 | "magnitude": 3.14, # The magnitude. |
| 32632 | "unit": "A String", # The units for magnitude. |
| 32633 | }, |
| 32634 | "firstPageHeaderId": "A String", # The ID of the header used only for the first page. If not set then |
| 32635 | # a unique header for the first page does not exist. |
| 32636 | # The value of use_first_page_header_footer determines |
| 32637 | # whether to use the default_header_id or this value for the |
| 32638 | # header on the first page. If not set, there is no first page header. |
| 32639 | "evenPageHeaderId": "A String", # The ID of the header used only for even pages. The value of |
| 32640 | # use_even_page_header_footer determines |
| 32641 | # whether to use the default_header_id or this value for the |
| 32642 | # header on even pages. If not set, there is no even page header. |
| 32643 | "useFirstPageHeaderFooter": True or False, # Indicates whether to use the first page header / footer IDs for the first |
| 32644 | # page. |
| 32645 | "marginLeft": { # A magnitude in a single direction in the specified units. # The left page margin. |
| 32646 | "magnitude": 3.14, # The magnitude. |
| 32647 | "unit": "A String", # The units for magnitude. |
| 32648 | }, |
| 32649 | "useEvenPageHeaderFooter": True or False, # Indicates whether to use the even page header / footer IDs for the even |
| 32650 | # pages. |
| 32651 | "background": { # Represents the background of a document. # The background of the document. |
| 32652 | "color": { # A color that can either be fully opaque or fully transparent. # The background color. |
| 32653 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 32654 | # a transparent color. |
| 32655 | "rgbColor": { # An RGB color. # The RGB color value. |
| 32656 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 32657 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 32658 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 32659 | }, |
| 32660 | }, |
| 32661 | }, |
| 32662 | }, |
| 32663 | "marginRight": { # A magnitude in a single direction in the specified units. # The right page margin. |
| 32664 | "magnitude": 3.14, # The magnitude. |
| 32665 | "unit": "A String", # The units for magnitude. |
| 32666 | }, |
| 32667 | "pageNumberStart": 42, # The page number from which to start counting the number of pages. |
| 32668 | "marginTop": { # A magnitude in a single direction in the specified units. # The top page margin. |
| 32669 | "magnitude": 3.14, # The magnitude. |
| 32670 | "unit": "A String", # The units for magnitude. |
| 32671 | }, |
| 32672 | }, |
| 32673 | "title": "A String", # The title of the document. |
| 32674 | "namedRanges": { # The named ranges in the document, keyed by name. |
| 32675 | "a_key": { # A collection of all the NamedRanges in the |
| 32676 | # document that share a given name. |
| 32677 | "namedRanges": [ # The NamedRanges that share the same name. |
| 32678 | { # A collection of Ranges with the same named range |
| 32679 | # ID. |
| 32680 | # |
| 32681 | # Named ranges allow developers to associate parts of a document with an |
| 32682 | # arbitrary user-defined label so their contents can be programmatically read |
| 32683 | # or edited at a later time. A document can contain multiple named ranges with |
| 32684 | # the same name, but every named range has a unique ID. |
| 32685 | # |
| 32686 | # A named range is created with a single Range, |
| 32687 | # and content inserted inside a named range generally expands that range. |
| 32688 | # However, certain document changes can cause the range to be split into |
| 32689 | # multiple ranges. |
| 32690 | # |
| 32691 | # Named ranges are not private. All applications and collaborators that have |
| 32692 | # access to the document can see its named ranges. |
| 32693 | "ranges": [ # The ranges that belong to this named range. |
| 32694 | { # Specifies a contiguous range of text. |
| 32695 | "endIndex": 42, # The zero-based end index of this range, exclusive, in UTF-16 code units. |
| 32696 | # |
| 32697 | # In all current uses, an end index must be provided. This field is an |
| 32698 | # Int32Value in order to accommodate future use cases with open-ended ranges. |
| 32699 | "startIndex": 42, # The zero-based start index of this range, in UTF-16 code units. |
| 32700 | # |
| 32701 | # In all current uses, a start index must be provided. This field is an |
| 32702 | # Int32Value in order to accommodate future use cases with open-ended ranges. |
| 32703 | "segmentId": "A String", # The ID of the header, footer or footnote that this range is contained in. |
| 32704 | # An empty segment ID signifies the document's body. |
| 32705 | }, |
| 32706 | ], |
| 32707 | "namedRangeId": "A String", # The ID of the named range. |
| 32708 | "name": "A String", # The name of the named range. |
| 32709 | }, |
| 32710 | ], |
| 32711 | "name": "A String", # The name that all the named ranges share. |
| 32712 | }, |
| 32713 | }, |
| 32714 | "suggestedDocumentStyleChanges": { # The suggested changes to the style of the document, keyed by suggestion ID. |
| 32715 | "a_key": { # A suggested change to the DocumentStyle. |
| 32716 | "documentStyle": { # The style of the document. # A DocumentStyle that only includes |
| 32717 | # the changes made in this suggestion. This can be used along with the |
| 32718 | # document_style_suggestion_state |
| 32719 | # to see which fields have changed and their new values. |
| 32720 | "defaultFooterId": "A String", # The ID of the default footer. If not set, there is no default footer. |
| 32721 | "evenPageFooterId": "A String", # The ID of the footer used only for even pages. The value of |
| 32722 | # use_even_page_header_footer determines |
| 32723 | # whether to use the default_footer_id or this value for the |
| 32724 | # footer on even pages. If not set, there is no even page footer. |
| 32725 | "firstPageFooterId": "A String", # The ID of the footer used only for the first page. If not set then |
| 32726 | # a unique footer for the first page does not exist. The value of |
| 32727 | # use_first_page_header_footer determines |
| 32728 | # whether to use the default_footer_id or this value for the |
| 32729 | # footer on the first page. If not set, there is no first page footer. |
| 32730 | "pageSize": { # A width and height. # The size of a page in the document. |
| 32731 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 32732 | "magnitude": 3.14, # The magnitude. |
| 32733 | "unit": "A String", # The units for magnitude. |
| 32734 | }, |
| 32735 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 32736 | "magnitude": 3.14, # The magnitude. |
| 32737 | "unit": "A String", # The units for magnitude. |
| 32738 | }, |
| 32739 | }, |
| 32740 | "defaultHeaderId": "A String", # The ID of the default header. If not set, there is no default header. |
| 32741 | "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom page margin. |
| 32742 | "magnitude": 3.14, # The magnitude. |
| 32743 | "unit": "A String", # The units for magnitude. |
| 32744 | }, |
| 32745 | "firstPageHeaderId": "A String", # The ID of the header used only for the first page. If not set then |
| 32746 | # a unique header for the first page does not exist. |
| 32747 | # The value of use_first_page_header_footer determines |
| 32748 | # whether to use the default_header_id or this value for the |
| 32749 | # header on the first page. If not set, there is no first page header. |
| 32750 | "evenPageHeaderId": "A String", # The ID of the header used only for even pages. The value of |
| 32751 | # use_even_page_header_footer determines |
| 32752 | # whether to use the default_header_id or this value for the |
| 32753 | # header on even pages. If not set, there is no even page header. |
| 32754 | "useFirstPageHeaderFooter": True or False, # Indicates whether to use the first page header / footer IDs for the first |
| 32755 | # page. |
| 32756 | "marginLeft": { # A magnitude in a single direction in the specified units. # The left page margin. |
| 32757 | "magnitude": 3.14, # The magnitude. |
| 32758 | "unit": "A String", # The units for magnitude. |
| 32759 | }, |
| 32760 | "useEvenPageHeaderFooter": True or False, # Indicates whether to use the even page header / footer IDs for the even |
| 32761 | # pages. |
| 32762 | "background": { # Represents the background of a document. # The background of the document. |
| 32763 | "color": { # A color that can either be fully opaque or fully transparent. # The background color. |
| 32764 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 32765 | # a transparent color. |
| 32766 | "rgbColor": { # An RGB color. # The RGB color value. |
| 32767 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 32768 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 32769 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 32770 | }, |
| 32771 | }, |
| 32772 | }, |
| 32773 | }, |
| 32774 | "marginRight": { # A magnitude in a single direction in the specified units. # The right page margin. |
| 32775 | "magnitude": 3.14, # The magnitude. |
| 32776 | "unit": "A String", # The units for magnitude. |
| 32777 | }, |
| 32778 | "pageNumberStart": 42, # The page number from which to start counting the number of pages. |
| 32779 | "marginTop": { # A magnitude in a single direction in the specified units. # The top page margin. |
| 32780 | "magnitude": 3.14, # The magnitude. |
| 32781 | "unit": "A String", # The units for magnitude. |
| 32782 | }, |
| 32783 | }, |
| 32784 | "documentStyleSuggestionState": { # A mask that indicates which of the fields on the base DocumentStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base DocumentStyle have been changed in this suggestion. |
| 32785 | # For any field set to true, there is a new suggested value. |
| 32786 | "marginRightSuggested": True or False, # Indicates if there was a suggested change to margin_right. |
| 32787 | "evenPageHeaderIdSuggested": True or False, # Indicates if there was a suggested change to even_page_header_id. |
| 32788 | "firstPageHeaderIdSuggested": True or False, # Indicates if there was a suggested change to first_page_header_id. |
| 32789 | "marginBottomSuggested": True or False, # Indicates if there was a suggested change to margin_bottom. |
| 32790 | "pageNumberStartSuggested": True or False, # Indicates if there was a suggested change to page_number_start. |
| 32791 | "defaultHeaderIdSuggested": True or False, # Indicates if there was a suggested change to default_header_id. |
| 32792 | "pageSizeSuggestionState": { # A mask that indicates which of the fields on the base Size have been changed in this suggestion. # A mask that indicates which of the fields in size have been changed in this |
| 32793 | # suggestion. |
| 32794 | # For any field set to true, the Size has |
| 32795 | # a new suggested value. |
| 32796 | "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| 32797 | "heightSuggested": True or False, # Indicates if there was a suggested change to height. |
| 32798 | }, |
| 32799 | "marginLeftSuggested": True or False, # Indicates if there was a suggested change to margin_left. |
| 32800 | "marginTopSuggested": True or False, # Indicates if there was a suggested change to margin_top. |
| 32801 | "firstPageFooterIdSuggested": True or False, # Indicates if there was a suggested change to first_page_footer_id. |
| 32802 | "defaultFooterIdSuggested": True or False, # Indicates if there was a suggested change to default_footer_id. |
| 32803 | "useFirstPageHeaderFooterSuggested": True or False, # Indicates if there was a suggested change to use_first_page_header_footer. |
| 32804 | "evenPageFooterIdSuggested": True or False, # Indicates if there was a suggested change to even_page_footer_id. |
| 32805 | "backgroundSuggestionState": { # A mask that indicates which of the fields on the base Background have been changed in this suggestion. # A mask that indicates which of the fields in background have been changed in this |
| 32806 | # suggestion. |
| 32807 | # For any field set to true, the Backgound has a new suggested value. |
| 32808 | "backgroundColorSuggested": True or False, # Indicates whether the current background color has been modified in this |
| 32809 | # suggestion. |
| 32810 | }, |
| 32811 | "useEvenPageHeaderFooterSuggested": True or False, # Indicates if there was a suggested change to use_even_page_header_footer. |
| 32812 | }, |
| 32813 | }, |
| 32814 | }, |
| 32815 | "suggestedNamedStylesChanges": { # The suggested changes to the named styles of the document, keyed by |
| 32816 | # suggestion ID. |
| 32817 | "a_key": { # A suggested change to the NamedStyles. |
| 32818 | "namedStylesSuggestionState": { # The suggestion state of a NamedStyles # A mask that indicates which of the fields on the base NamedStyles have been changed in this suggestion. |
| 32819 | # message. |
| 32820 | "stylesSuggestionStates": [ # A mask that indicates which of the fields on the corresponding NamedStyle in styles have been changed in this |
| 32821 | # suggestion. |
| 32822 | # |
| 32823 | # The order of these named style suggestion states match the order of the |
| 32824 | # corresponding named style within the named styles suggestion. |
| 32825 | { # A suggestion state of a NamedStyle message. |
| 32826 | "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields in paragraph style have been changed in this |
| 32827 | # suggestion. |
| 32828 | # For any field set to true, there is a new suggested value. |
| 32829 | "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| 32830 | "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| 32831 | "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| 32832 | "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| 32833 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 32834 | "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| 32835 | "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| 32836 | "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| 32837 | "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| 32838 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 32839 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 32840 | "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| 32841 | "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| 32842 | "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| 32843 | "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| 32844 | "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| 32845 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 32846 | "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| 32847 | "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| 32848 | "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| 32849 | # this suggestion. |
| 32850 | # suggested change. For any field set to true, there is a new suggested value. |
| 32851 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| 32852 | }, |
| 32853 | }, |
| 32854 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| 32855 | # suggestion. |
| 32856 | # For any field set to true, there is a new suggested value. |
| 32857 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 32858 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 32859 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 32860 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 32861 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 32862 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 32863 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 32864 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 32865 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 32866 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 32867 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 32868 | }, |
| 32869 | "namedStyleType": "A String", # The named style type that this suggestion state corresponds to. |
| 32870 | # |
| 32871 | # This field is provided as a convenience for matching the |
| 32872 | # NamedStyleSuggestionState with its corresponding NamedStyle. |
| 32873 | }, |
| 32874 | ], |
| 32875 | }, |
| 32876 | "namedStyles": { # The named styles. Paragraphs in the document can inherit their # A NamedStyles that only includes the |
| 32877 | # changes made in this suggestion. This can be used along with the |
| 32878 | # named_styles_suggestion_state to |
| 32879 | # see which fields have changed and their new values. |
| 32880 | # TextStyle and |
| 32881 | # ParagraphStyle from these named styles. |
| 32882 | "styles": [ # The named styles. |
| 32883 | # |
| 32884 | # There is an entry for each of the possible named style types. |
| 32885 | { # A named style. Paragraphs in the document can inherit their |
| 32886 | # TextStyle and |
| 32887 | # ParagraphStyle from this named style |
| 32888 | # when they have the same named style type. |
| 32889 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this named style. |
| 32890 | # |
| 32891 | # Inherited text styles are represented as unset fields in this message. A |
| 32892 | # text style's parent depends on where the text style is defined: |
| 32893 | # |
| 32894 | # * The TextStyle of text in a Paragraph |
| 32895 | # inherits from the paragraph's corresponding named style type. |
| 32896 | # * The TextStyle on a named style |
| 32897 | # inherits from the normal text named style. |
| 32898 | # * The TextStyle of the normal text named style inherits |
| 32899 | # from the default text style in the Docs editor. |
| 32900 | # * The TextStyle on a Paragraph element |
| 32901 | # that is contained in a table may inherit its text style from the table |
| 32902 | # style. |
| 32903 | # |
| 32904 | # If the text style does not inherit from a parent, unsetting fields will |
| 32905 | # revert the style to a value matching the defaults in the Docs editor. |
| 32906 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 32907 | # or transparent, depending on the `color` field. |
| 32908 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 32909 | # a transparent color. |
| 32910 | "rgbColor": { # An RGB color. # The RGB color value. |
| 32911 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 32912 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 32913 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 32914 | }, |
| 32915 | }, |
| 32916 | }, |
| 32917 | "italic": True or False, # Whether or not the text is italicized. |
| 32918 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 32919 | # |
| 32920 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 32921 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 32922 | # The `font_size` itself is not affected by changes in this field. |
| 32923 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 32924 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 32925 | # |
| 32926 | # If an update request specifies values for both `weighted_font_family` and |
| 32927 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 32928 | # |
| 32929 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 32930 | # |
| 32931 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 32932 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 32933 | # is returned. |
| 32934 | "fontFamily": "A String", # The font family of the text. |
| 32935 | # |
| 32936 | # The font family can be any font from the Font menu in Docs or from |
| 32937 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 32938 | # unrecognized, the text is rendered in `Arial`. |
| 32939 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 32940 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 32941 | # numerical values described in the CSS 2.1 Specification, |
| 32942 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 32943 | # non-numerical values disallowed. |
| 32944 | # |
| 32945 | # The default value is `400` ("normal"). |
| 32946 | # |
| 32947 | # The font weight makes up just one component of the rendered font weight. |
| 32948 | # The rendered weight is determined by a combination of the `weight` and the |
| 32949 | # text style's resolved `bold` value, after accounting for inheritance: |
| 32950 | # |
| 32951 | # * If the text is bold and the weight is less than `400`, the rendered |
| 32952 | # weight is 400. |
| 32953 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 32954 | # is less than `700`, the rendered weight is `700`. |
| 32955 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 32956 | # equal to the weight. |
| 32957 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 32958 | }, |
| 32959 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 32960 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 32961 | "magnitude": 3.14, # The magnitude. |
| 32962 | "unit": "A String", # The units for magnitude. |
| 32963 | }, |
| 32964 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 32965 | # or transparent, depending on the `color` field. |
| 32966 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 32967 | # a transparent color. |
| 32968 | "rgbColor": { # An RGB color. # The RGB color value. |
| 32969 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 32970 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 32971 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 32972 | }, |
| 32973 | }, |
| 32974 | }, |
| 32975 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 32976 | # are not inherited from parent text. |
| 32977 | # |
| 32978 | # Changing the link in an update request causes some other changes to the |
| 32979 | # text style of the range: |
| 32980 | # |
| 32981 | # * When setting a link, the text foreground color will be updated to the |
| 32982 | # default link color and the text will be underlined. If these fields are |
| 32983 | # modified in the same request, those values will be used instead of the |
| 32984 | # link defaults. |
| 32985 | # * Setting a link on a text range that overlaps with an existing link will |
| 32986 | # also update the existing link to point to the new URL. |
| 32987 | # * Links are not settable on newline characters. As a result, setting a link |
| 32988 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 32989 | # will separate the newline character(s) into their own text runs. The |
| 32990 | # link will be applied separately to the runs before and after the newline. |
| 32991 | # * Removing a link will update the text style of the range to match the |
| 32992 | # style of the preceding text (or the default text styles if the preceding |
| 32993 | # text is another link) unless different styles are being set in the same |
| 32994 | # request. |
| 32995 | "headingId": "A String", # The ID of a heading in this document. |
| 32996 | "url": "A String", # An external URL. |
| 32997 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 32998 | }, |
| 32999 | "underline": True or False, # Whether or not the text is underlined. |
| 33000 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 33001 | }, |
| 33002 | "namedStyleType": "A String", # The type of this named style. |
| 33003 | "paragraphStyle": { # Styles that apply to a whole paragraph. # The paragraph style of this named style. |
| 33004 | # |
| 33005 | # Inherited paragraph styles are represented as unset fields in this message. |
| 33006 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 33007 | # |
| 33008 | # * The ParagraphStyle on a Paragraph |
| 33009 | # inherits from the paragraph's corresponding named style type. |
| 33010 | # * The ParagraphStyle on a named style |
| 33011 | # inherits from the normal text named style. |
| 33012 | # * The ParagraphStyle of the normal text named style inherits |
| 33013 | # from the default paragraph style in the Docs editor. |
| 33014 | # * The ParagraphStyle on a Paragraph |
| 33015 | # element that is contained in a table may inherit its paragraph style from |
| 33016 | # the table style. |
| 33017 | # |
| 33018 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 33019 | # revert the style to a value matching the defaults in the Docs editor. |
| 33020 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 33021 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 33022 | # LEFT_TO_RIGHT since |
| 33023 | # paragraph direction is not inherited. |
| 33024 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 33025 | # inherited from the parent. |
| 33026 | "magnitude": 3.14, # The magnitude. |
| 33027 | "unit": "A String", # The units for magnitude. |
| 33028 | }, |
| 33029 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 33030 | # page or column as the next paragraph if possible. If unset, the value is |
| 33031 | # inherited from the parent. |
| 33032 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 33033 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 33034 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 33035 | # is inherited from the parent. |
| 33036 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 33037 | # inherited from the parent. |
| 33038 | # |
| 33039 | # The bottom border is rendered when the paragraph below has different border |
| 33040 | # and indent properties. |
| 33041 | # |
| 33042 | # Paragraph borders cannot be partially updated. When making |
| 33043 | # changes to a paragraph border the new border must be specified in |
| 33044 | # its entirety. |
| 33045 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 33046 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 33047 | # a transparent color. |
| 33048 | "rgbColor": { # An RGB color. # The RGB color value. |
| 33049 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 33050 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 33051 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 33052 | }, |
| 33053 | }, |
| 33054 | }, |
| 33055 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 33056 | "magnitude": 3.14, # The magnitude. |
| 33057 | "unit": "A String", # The units for magnitude. |
| 33058 | }, |
| 33059 | "dashStyle": "A String", # The dash style of the border. |
| 33060 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 33061 | "magnitude": 3.14, # The magnitude. |
| 33062 | "unit": "A String", # The units for magnitude. |
| 33063 | }, |
| 33064 | }, |
| 33065 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 33066 | # the start of the text, based on the current paragraph direction. If unset, |
| 33067 | # the value is inherited from the parent. |
| 33068 | "magnitude": 3.14, # The magnitude. |
| 33069 | "unit": "A String", # The units for magnitude. |
| 33070 | }, |
| 33071 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 33072 | # If unset, the value is inherited from the parent. |
| 33073 | # |
| 33074 | # The between border is rendered when the adjacent paragraph has the same |
| 33075 | # border and indent properties. |
| 33076 | # |
| 33077 | # Paragraph borders cannot be partially updated. When making |
| 33078 | # changes to a paragraph border the new border must be specified in |
| 33079 | # its entirety. |
| 33080 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 33081 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 33082 | # a transparent color. |
| 33083 | "rgbColor": { # An RGB color. # The RGB color value. |
| 33084 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 33085 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 33086 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 33087 | }, |
| 33088 | }, |
| 33089 | }, |
| 33090 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 33091 | "magnitude": 3.14, # The magnitude. |
| 33092 | "unit": "A String", # The units for magnitude. |
| 33093 | }, |
| 33094 | "dashStyle": "A String", # The dash style of the border. |
| 33095 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 33096 | "magnitude": 3.14, # The magnitude. |
| 33097 | "unit": "A String", # The units for magnitude. |
| 33098 | }, |
| 33099 | }, |
| 33100 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 33101 | # |
| 33102 | # Since updating the named style type affects other properties within |
| 33103 | # ParagraphStyle, the named style type is applied before the other properties |
| 33104 | # are updated. |
| 33105 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 33106 | # from the parent. |
| 33107 | # |
| 33108 | # Paragraph borders cannot be partially updated. When making |
| 33109 | # changes to a paragraph border the new border must be specified in |
| 33110 | # its entirety. |
| 33111 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 33112 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 33113 | # a transparent color. |
| 33114 | "rgbColor": { # An RGB color. # The RGB color value. |
| 33115 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 33116 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 33117 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 33118 | }, |
| 33119 | }, |
| 33120 | }, |
| 33121 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 33122 | "magnitude": 3.14, # The magnitude. |
| 33123 | "unit": "A String", # The units for magnitude. |
| 33124 | }, |
| 33125 | "dashStyle": "A String", # The dash style of the border. |
| 33126 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 33127 | "magnitude": 3.14, # The magnitude. |
| 33128 | "unit": "A String", # The units for magnitude. |
| 33129 | }, |
| 33130 | }, |
| 33131 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 33132 | # the end of the text, based on the current paragraph direction. If unset, |
| 33133 | # the value is inherited from the parent. |
| 33134 | "magnitude": 3.14, # The magnitude. |
| 33135 | "unit": "A String", # The units for magnitude. |
| 33136 | }, |
| 33137 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 33138 | # from the parent. |
| 33139 | # |
| 33140 | # Paragraph borders cannot be partially updated. When making |
| 33141 | # changes to a paragraph border the new border must be specified in |
| 33142 | # its entirety. |
| 33143 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 33144 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 33145 | # a transparent color. |
| 33146 | "rgbColor": { # An RGB color. # The RGB color value. |
| 33147 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 33148 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 33149 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 33150 | }, |
| 33151 | }, |
| 33152 | }, |
| 33153 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 33154 | "magnitude": 3.14, # The magnitude. |
| 33155 | "unit": "A String", # The units for magnitude. |
| 33156 | }, |
| 33157 | "dashStyle": "A String", # The dash style of the border. |
| 33158 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 33159 | "magnitude": 3.14, # The magnitude. |
| 33160 | "unit": "A String", # The units for magnitude. |
| 33161 | }, |
| 33162 | }, |
| 33163 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 33164 | # inherited from the parent. |
| 33165 | "magnitude": 3.14, # The magnitude. |
| 33166 | "unit": "A String", # The units for magnitude. |
| 33167 | }, |
| 33168 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 33169 | # heading. This property is read-only. |
| 33170 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 33171 | # parent. |
| 33172 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 33173 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 33174 | # a transparent color. |
| 33175 | "rgbColor": { # An RGB color. # The RGB color value. |
| 33176 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 33177 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 33178 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 33179 | }, |
| 33180 | }, |
| 33181 | }, |
| 33182 | }, |
| 33183 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 33184 | # from the parent. |
| 33185 | # |
| 33186 | # The top border is rendered when the paragraph above has different border |
| 33187 | # and indent properties. |
| 33188 | # |
| 33189 | # Paragraph borders cannot be partially updated. When making |
| 33190 | # changes to a paragraph border the new border must be specified in |
| 33191 | # its entirety. |
| 33192 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 33193 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 33194 | # a transparent color. |
| 33195 | "rgbColor": { # An RGB color. # The RGB color value. |
| 33196 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 33197 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 33198 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 33199 | }, |
| 33200 | }, |
| 33201 | }, |
| 33202 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 33203 | "magnitude": 3.14, # The magnitude. |
| 33204 | "unit": "A String", # The units for magnitude. |
| 33205 | }, |
| 33206 | "dashStyle": "A String", # The dash style of the border. |
| 33207 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 33208 | "magnitude": 3.14, # The magnitude. |
| 33209 | "unit": "A String", # The units for magnitude. |
| 33210 | }, |
| 33211 | }, |
| 33212 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 33213 | # inherited. This property is read-only. |
| 33214 | { # A tab stop within a paragraph. |
| 33215 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 33216 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 33217 | "magnitude": 3.14, # The magnitude. |
| 33218 | "unit": "A String", # The units for magnitude. |
| 33219 | }, |
| 33220 | }, |
| 33221 | ], |
| 33222 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 33223 | # the value is inherited from the parent. |
| 33224 | "magnitude": 3.14, # The magnitude. |
| 33225 | "unit": "A String", # The units for magnitude. |
| 33226 | }, |
| 33227 | "alignment": "A String", # The text alignment for this paragraph. |
| 33228 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 33229 | # column if possible. If unset, the value is inherited from the parent. |
| 33230 | }, |
| 33231 | }, |
| 33232 | ], |
| 33233 | }, |
| 33234 | }, |
| 33235 | }, |
| 33236 | "suggestionsViewMode": "A String", # The suggestions view mode applied to the document. |
| 33237 | # |
| 33238 | # Note: When editing a document, changes must be based on a document with |
| 33239 | # SUGGESTIONS_INLINE. |
| 33240 | "lists": { # The lists in the document, keyed by list ID. |
| 33241 | "a_key": { # A List represents the list attributes for a group of paragraphs that all |
| 33242 | # belong to the same list. A paragraph that is part of a list has a reference |
| 33243 | # to the list's ID in its bullet. |
| 33244 | "listProperties": { # The properties of a list which describe the look # The properties of the list. |
| 33245 | # and feel of bullets belonging to paragraphs associated with a list. |
| 33246 | "nestingLevels": [ # Describes the properties of the bullets at the associated level. |
| 33247 | # |
| 33248 | # A list has at most nine levels of nesting with nesting level 0 |
| 33249 | # corresponding to the top-most level and nesting level 8 corresponding to |
| 33250 | # the most nested level. The nesting levels are returned in ascending order |
| 33251 | # with the least nested returned first. |
| 33252 | { # Contains properties describing the look and feel of a list bullet at a given |
| 33253 | # level of nesting. |
| 33254 | "textStyle": { # Represents the styling that can be applied to text. # The text style of bullets at this level of nesting. |
| 33255 | # |
| 33256 | # Inherited text styles are represented as unset fields in this message. A |
| 33257 | # text style's parent depends on where the text style is defined: |
| 33258 | # |
| 33259 | # * The TextStyle of text in a Paragraph |
| 33260 | # inherits from the paragraph's corresponding named style type. |
| 33261 | # * The TextStyle on a named style |
| 33262 | # inherits from the normal text named style. |
| 33263 | # * The TextStyle of the normal text named style inherits |
| 33264 | # from the default text style in the Docs editor. |
| 33265 | # * The TextStyle on a Paragraph element |
| 33266 | # that is contained in a table may inherit its text style from the table |
| 33267 | # style. |
| 33268 | # |
| 33269 | # If the text style does not inherit from a parent, unsetting fields will |
| 33270 | # revert the style to a value matching the defaults in the Docs editor. |
| 33271 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 33272 | # or transparent, depending on the `color` field. |
| 33273 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 33274 | # a transparent color. |
| 33275 | "rgbColor": { # An RGB color. # The RGB color value. |
| 33276 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 33277 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 33278 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 33279 | }, |
| 33280 | }, |
| 33281 | }, |
| 33282 | "italic": True or False, # Whether or not the text is italicized. |
| 33283 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 33284 | # |
| 33285 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 33286 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 33287 | # The `font_size` itself is not affected by changes in this field. |
| 33288 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 33289 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 33290 | # |
| 33291 | # If an update request specifies values for both `weighted_font_family` and |
| 33292 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 33293 | # |
| 33294 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 33295 | # |
| 33296 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 33297 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 33298 | # is returned. |
| 33299 | "fontFamily": "A String", # The font family of the text. |
| 33300 | # |
| 33301 | # The font family can be any font from the Font menu in Docs or from |
| 33302 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 33303 | # unrecognized, the text is rendered in `Arial`. |
| 33304 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 33305 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 33306 | # numerical values described in the CSS 2.1 Specification, |
| 33307 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 33308 | # non-numerical values disallowed. |
| 33309 | # |
| 33310 | # The default value is `400` ("normal"). |
| 33311 | # |
| 33312 | # The font weight makes up just one component of the rendered font weight. |
| 33313 | # The rendered weight is determined by a combination of the `weight` and the |
| 33314 | # text style's resolved `bold` value, after accounting for inheritance: |
| 33315 | # |
| 33316 | # * If the text is bold and the weight is less than `400`, the rendered |
| 33317 | # weight is 400. |
| 33318 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 33319 | # is less than `700`, the rendered weight is `700`. |
| 33320 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 33321 | # equal to the weight. |
| 33322 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 33323 | }, |
| 33324 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 33325 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 33326 | "magnitude": 3.14, # The magnitude. |
| 33327 | "unit": "A String", # The units for magnitude. |
| 33328 | }, |
| 33329 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 33330 | # or transparent, depending on the `color` field. |
| 33331 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 33332 | # a transparent color. |
| 33333 | "rgbColor": { # An RGB color. # The RGB color value. |
| 33334 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 33335 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 33336 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 33337 | }, |
| 33338 | }, |
| 33339 | }, |
| 33340 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 33341 | # are not inherited from parent text. |
| 33342 | # |
| 33343 | # Changing the link in an update request causes some other changes to the |
| 33344 | # text style of the range: |
| 33345 | # |
| 33346 | # * When setting a link, the text foreground color will be updated to the |
| 33347 | # default link color and the text will be underlined. If these fields are |
| 33348 | # modified in the same request, those values will be used instead of the |
| 33349 | # link defaults. |
| 33350 | # * Setting a link on a text range that overlaps with an existing link will |
| 33351 | # also update the existing link to point to the new URL. |
| 33352 | # * Links are not settable on newline characters. As a result, setting a link |
| 33353 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 33354 | # will separate the newline character(s) into their own text runs. The |
| 33355 | # link will be applied separately to the runs before and after the newline. |
| 33356 | # * Removing a link will update the text style of the range to match the |
| 33357 | # style of the preceding text (or the default text styles if the preceding |
| 33358 | # text is another link) unless different styles are being set in the same |
| 33359 | # request. |
| 33360 | "headingId": "A String", # The ID of a heading in this document. |
| 33361 | "url": "A String", # An external URL. |
| 33362 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 33363 | }, |
| 33364 | "underline": True or False, # Whether or not the text is underlined. |
| 33365 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 33366 | }, |
| 33367 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for paragraphs at this level of nesting. Applied |
| 33368 | # to the side that corresponds to the start of the text, based on the |
| 33369 | # paragraph's content direction. |
| 33370 | "magnitude": 3.14, # The magnitude. |
| 33371 | "unit": "A String", # The units for magnitude. |
| 33372 | }, |
| 33373 | "glyphFormat": "A String", # The format string used by bullets at this level of nesting. |
| 33374 | # |
| 33375 | # The glyph format contains one or more placeholders, and these placeholder |
| 33376 | # are replaced with the appropriate values depending on the glyph_type or glyph_symbol. The placeholders follow |
| 33377 | # the pattern `%[nesting_level]`. Furthermore, placeholders can have prefixes |
| 33378 | # and suffixes. Thus, the glyph format follows the pattern |
| 33379 | # `<prefix>%[nesting_level]<suffix>`. Note that the prefix and suffix are |
| 33380 | # optional and can be arbitrary strings. |
| 33381 | # |
| 33382 | # For example, the glyph format `%0.` indicates that the rendered glyph will |
| 33383 | # replace the placeholder with the corresponding glyph for nesting level 0 |
| 33384 | # followed by a period as the suffix. So a list with a glyph type of |
| 33385 | # UPPER_ALPHA and |
| 33386 | # glyph format `%0.` at nesting level 0 will result in a list with rendered |
| 33387 | # glyphs |
| 33388 | # <p>`A.` |
| 33389 | # <p>`B.` |
| 33390 | # <p>`C.` |
| 33391 | # |
| 33392 | # The glyph format can contain placeholders for the current nesting level as |
| 33393 | # well as placeholders for parent nesting levels. For example, a |
| 33394 | # list can have a glyph format of `%0.` at nesting level 0 and a |
| 33395 | # glyph format of `%0.%1.` at nesting level 1. Assuming both nesting levels |
| 33396 | # have DECIMAL glyph |
| 33397 | # types, this would result in a list with rendered glyphs |
| 33398 | # <p>`1.` |
| 33399 | # <p>`2.` |
| 33400 | # <p>` 2.1.` |
| 33401 | # <p>` 2.2.` |
| 33402 | # <p>`3.` |
| 33403 | # |
| 33404 | # For nesting levels that are ordered, the string that replaces a placeholder |
| 33405 | # in the glyph format for a particular paragraph depends on the paragraph's |
| 33406 | # order within the list. |
| 33407 | "glyphType": "A String", # The type of glyph used by bullets when paragraphs at this level of |
| 33408 | # nesting are ordered. |
| 33409 | # |
| 33410 | # The glyph type determines the type of glyph used to replace placeholders |
| 33411 | # within the glyph_format |
| 33412 | # when paragraphs at this level of nesting are ordered. For example, if the |
| 33413 | # nesting level is 0, the glyph_format is `%0.` and the glyph |
| 33414 | # type is DECIMAL, |
| 33415 | # then the rendered glyph would replace the placeholder `%0` in the glyph |
| 33416 | # format with a number corresponding to list item's order within the list. |
| 33417 | "startNumber": 42, # The number of the first list item at this nesting level. |
| 33418 | # |
| 33419 | # A value of 0 is treated as a value of 1 for lettered lists and roman |
| 33420 | # numeraled lists, i.e. for values of both 0 and 1, lettered and roman |
| 33421 | # numeraled lists will begin at `a` and `i` respectively. |
| 33422 | # |
| 33423 | # This value is ignored for nesting levels with unordered glyphs. |
| 33424 | "bulletAlignment": "A String", # The alignment of the bullet within the space allotted for rendering the |
| 33425 | # bullet. |
| 33426 | "glyphSymbol": "A String", # A custom glyph symbol used by bullets when paragraphs at this level of |
| 33427 | # nesting are unordered. |
| 33428 | # |
| 33429 | # The glyph symbol replaces placeholders within the glyph_format. For example, if the |
| 33430 | # glyph_symbol is the solid circle corresponding to Unicode U+25cf code |
| 33431 | # point and the glyph_format is `%0`, the rendered |
| 33432 | # glyph would be the solid circle. |
| 33433 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of paragraphs at this level of |
| 33434 | # nesting. |
| 33435 | "magnitude": 3.14, # The magnitude. |
| 33436 | "unit": "A String", # The units for magnitude. |
| 33437 | }, |
| 33438 | }, |
| 33439 | ], |
| 33440 | }, |
| 33441 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 33442 | # of this list. |
| 33443 | "A String", |
| 33444 | ], |
| 33445 | "suggestedListPropertiesChanges": { # The suggested changes to the list properties, keyed by suggestion |
| 33446 | # ID. |
| 33447 | "a_key": { # A suggested change to ListProperties. |
| 33448 | "listProperties": { # The properties of a list which describe the look # A ListProperties that only includes |
| 33449 | # the changes made in this suggestion. This can be used along with the |
| 33450 | # list_properties_suggestion_state |
| 33451 | # to see which fields have changed and their new values. |
| 33452 | # and feel of bullets belonging to paragraphs associated with a list. |
| 33453 | "nestingLevels": [ # Describes the properties of the bullets at the associated level. |
| 33454 | # |
| 33455 | # A list has at most nine levels of nesting with nesting level 0 |
| 33456 | # corresponding to the top-most level and nesting level 8 corresponding to |
| 33457 | # the most nested level. The nesting levels are returned in ascending order |
| 33458 | # with the least nested returned first. |
| 33459 | { # Contains properties describing the look and feel of a list bullet at a given |
| 33460 | # level of nesting. |
| 33461 | "textStyle": { # Represents the styling that can be applied to text. # The text style of bullets at this level of nesting. |
| 33462 | # |
| 33463 | # Inherited text styles are represented as unset fields in this message. A |
| 33464 | # text style's parent depends on where the text style is defined: |
| 33465 | # |
| 33466 | # * The TextStyle of text in a Paragraph |
| 33467 | # inherits from the paragraph's corresponding named style type. |
| 33468 | # * The TextStyle on a named style |
| 33469 | # inherits from the normal text named style. |
| 33470 | # * The TextStyle of the normal text named style inherits |
| 33471 | # from the default text style in the Docs editor. |
| 33472 | # * The TextStyle on a Paragraph element |
| 33473 | # that is contained in a table may inherit its text style from the table |
| 33474 | # style. |
| 33475 | # |
| 33476 | # If the text style does not inherit from a parent, unsetting fields will |
| 33477 | # revert the style to a value matching the defaults in the Docs editor. |
| 33478 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 33479 | # or transparent, depending on the `color` field. |
| 33480 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 33481 | # a transparent color. |
| 33482 | "rgbColor": { # An RGB color. # The RGB color value. |
| 33483 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 33484 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 33485 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 33486 | }, |
| 33487 | }, |
| 33488 | }, |
| 33489 | "italic": True or False, # Whether or not the text is italicized. |
| 33490 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 33491 | # |
| 33492 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 33493 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 33494 | # The `font_size` itself is not affected by changes in this field. |
| 33495 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 33496 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 33497 | # |
| 33498 | # If an update request specifies values for both `weighted_font_family` and |
| 33499 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 33500 | # |
| 33501 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 33502 | # |
| 33503 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 33504 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 33505 | # is returned. |
| 33506 | "fontFamily": "A String", # The font family of the text. |
| 33507 | # |
| 33508 | # The font family can be any font from the Font menu in Docs or from |
| 33509 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 33510 | # unrecognized, the text is rendered in `Arial`. |
| 33511 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 33512 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 33513 | # numerical values described in the CSS 2.1 Specification, |
| 33514 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 33515 | # non-numerical values disallowed. |
| 33516 | # |
| 33517 | # The default value is `400` ("normal"). |
| 33518 | # |
| 33519 | # The font weight makes up just one component of the rendered font weight. |
| 33520 | # The rendered weight is determined by a combination of the `weight` and the |
| 33521 | # text style's resolved `bold` value, after accounting for inheritance: |
| 33522 | # |
| 33523 | # * If the text is bold and the weight is less than `400`, the rendered |
| 33524 | # weight is 400. |
| 33525 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 33526 | # is less than `700`, the rendered weight is `700`. |
| 33527 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 33528 | # equal to the weight. |
| 33529 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 33530 | }, |
| 33531 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 33532 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 33533 | "magnitude": 3.14, # The magnitude. |
| 33534 | "unit": "A String", # The units for magnitude. |
| 33535 | }, |
| 33536 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 33537 | # or transparent, depending on the `color` field. |
| 33538 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 33539 | # a transparent color. |
| 33540 | "rgbColor": { # An RGB color. # The RGB color value. |
| 33541 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 33542 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 33543 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 33544 | }, |
| 33545 | }, |
| 33546 | }, |
| 33547 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 33548 | # are not inherited from parent text. |
| 33549 | # |
| 33550 | # Changing the link in an update request causes some other changes to the |
| 33551 | # text style of the range: |
| 33552 | # |
| 33553 | # * When setting a link, the text foreground color will be updated to the |
| 33554 | # default link color and the text will be underlined. If these fields are |
| 33555 | # modified in the same request, those values will be used instead of the |
| 33556 | # link defaults. |
| 33557 | # * Setting a link on a text range that overlaps with an existing link will |
| 33558 | # also update the existing link to point to the new URL. |
| 33559 | # * Links are not settable on newline characters. As a result, setting a link |
| 33560 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 33561 | # will separate the newline character(s) into their own text runs. The |
| 33562 | # link will be applied separately to the runs before and after the newline. |
| 33563 | # * Removing a link will update the text style of the range to match the |
| 33564 | # style of the preceding text (or the default text styles if the preceding |
| 33565 | # text is another link) unless different styles are being set in the same |
| 33566 | # request. |
| 33567 | "headingId": "A String", # The ID of a heading in this document. |
| 33568 | "url": "A String", # An external URL. |
| 33569 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 33570 | }, |
| 33571 | "underline": True or False, # Whether or not the text is underlined. |
| 33572 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 33573 | }, |
| 33574 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for paragraphs at this level of nesting. Applied |
| 33575 | # to the side that corresponds to the start of the text, based on the |
| 33576 | # paragraph's content direction. |
| 33577 | "magnitude": 3.14, # The magnitude. |
| 33578 | "unit": "A String", # The units for magnitude. |
| 33579 | }, |
| 33580 | "glyphFormat": "A String", # The format string used by bullets at this level of nesting. |
| 33581 | # |
| 33582 | # The glyph format contains one or more placeholders, and these placeholder |
| 33583 | # are replaced with the appropriate values depending on the glyph_type or glyph_symbol. The placeholders follow |
| 33584 | # the pattern `%[nesting_level]`. Furthermore, placeholders can have prefixes |
| 33585 | # and suffixes. Thus, the glyph format follows the pattern |
| 33586 | # `<prefix>%[nesting_level]<suffix>`. Note that the prefix and suffix are |
| 33587 | # optional and can be arbitrary strings. |
| 33588 | # |
| 33589 | # For example, the glyph format `%0.` indicates that the rendered glyph will |
| 33590 | # replace the placeholder with the corresponding glyph for nesting level 0 |
| 33591 | # followed by a period as the suffix. So a list with a glyph type of |
| 33592 | # UPPER_ALPHA and |
| 33593 | # glyph format `%0.` at nesting level 0 will result in a list with rendered |
| 33594 | # glyphs |
| 33595 | # <p>`A.` |
| 33596 | # <p>`B.` |
| 33597 | # <p>`C.` |
| 33598 | # |
| 33599 | # The glyph format can contain placeholders for the current nesting level as |
| 33600 | # well as placeholders for parent nesting levels. For example, a |
| 33601 | # list can have a glyph format of `%0.` at nesting level 0 and a |
| 33602 | # glyph format of `%0.%1.` at nesting level 1. Assuming both nesting levels |
| 33603 | # have DECIMAL glyph |
| 33604 | # types, this would result in a list with rendered glyphs |
| 33605 | # <p>`1.` |
| 33606 | # <p>`2.` |
| 33607 | # <p>` 2.1.` |
| 33608 | # <p>` 2.2.` |
| 33609 | # <p>`3.` |
| 33610 | # |
| 33611 | # For nesting levels that are ordered, the string that replaces a placeholder |
| 33612 | # in the glyph format for a particular paragraph depends on the paragraph's |
| 33613 | # order within the list. |
| 33614 | "glyphType": "A String", # The type of glyph used by bullets when paragraphs at this level of |
| 33615 | # nesting are ordered. |
| 33616 | # |
| 33617 | # The glyph type determines the type of glyph used to replace placeholders |
| 33618 | # within the glyph_format |
| 33619 | # when paragraphs at this level of nesting are ordered. For example, if the |
| 33620 | # nesting level is 0, the glyph_format is `%0.` and the glyph |
| 33621 | # type is DECIMAL, |
| 33622 | # then the rendered glyph would replace the placeholder `%0` in the glyph |
| 33623 | # format with a number corresponding to list item's order within the list. |
| 33624 | "startNumber": 42, # The number of the first list item at this nesting level. |
| 33625 | # |
| 33626 | # A value of 0 is treated as a value of 1 for lettered lists and roman |
| 33627 | # numeraled lists, i.e. for values of both 0 and 1, lettered and roman |
| 33628 | # numeraled lists will begin at `a` and `i` respectively. |
| 33629 | # |
| 33630 | # This value is ignored for nesting levels with unordered glyphs. |
| 33631 | "bulletAlignment": "A String", # The alignment of the bullet within the space allotted for rendering the |
| 33632 | # bullet. |
| 33633 | "glyphSymbol": "A String", # A custom glyph symbol used by bullets when paragraphs at this level of |
| 33634 | # nesting are unordered. |
| 33635 | # |
| 33636 | # The glyph symbol replaces placeholders within the glyph_format. For example, if the |
| 33637 | # glyph_symbol is the solid circle corresponding to Unicode U+25cf code |
| 33638 | # point and the glyph_format is `%0`, the rendered |
| 33639 | # glyph would be the solid circle. |
| 33640 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of paragraphs at this level of |
| 33641 | # nesting. |
| 33642 | "magnitude": 3.14, # The magnitude. |
| 33643 | "unit": "A String", # The units for magnitude. |
| 33644 | }, |
| 33645 | }, |
| 33646 | ], |
| 33647 | }, |
| 33648 | "listPropertiesSuggestionState": { # A mask that indicates which of the fields on the base ListProperties have been changed in this suggestion. # A mask that indicates which of the fields on the base ListProperties have been changed in this suggestion. |
| 33649 | # For any field set to true, there is a new suggested value. |
| 33650 | "nestingLevelsSuggestionStates": [ # A mask that indicates which of the fields on the corresponding |
| 33651 | # NestingLevel in nesting_levels have been changed in |
| 33652 | # this suggestion. |
| 33653 | # |
| 33654 | # The nesting level suggestion states are returned in ascending order of the |
| 33655 | # nesting level with the least nested returned first. |
| 33656 | { # A mask that indicates which of the fields on the base NestingLevel have been changed in this suggestion. For |
| 33657 | # any field set to true, there is a new suggested value. |
| 33658 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| 33659 | # suggestion. |
| 33660 | # For any field set to true, there is a new suggested value. |
| 33661 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 33662 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 33663 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 33664 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 33665 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 33666 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 33667 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 33668 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 33669 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 33670 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 33671 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 33672 | }, |
| 33673 | "glyphFormatSuggested": True or False, # Indicates if there was a suggested change to |
| 33674 | # glyph_format. |
| 33675 | "indentStartSuggested": True or False, # Indicates if there was a suggested change to |
| 33676 | # indent_start. |
| 33677 | "startNumberSuggested": True or False, # Indicates if there was a suggested change to |
| 33678 | # start_number. |
| 33679 | "glyphTypeSuggested": True or False, # Indicates if there was a suggested change to |
| 33680 | # glyph_type. |
| 33681 | "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to |
| 33682 | # indent_first_line. |
| 33683 | "glyphSymbolSuggested": True or False, # Indicates if there was a suggested change to |
| 33684 | # glyph_symbol. |
| 33685 | "bulletAlignmentSuggested": True or False, # Indicates if there was a suggested change to |
| 33686 | # bullet_alignment. |
| 33687 | }, |
| 33688 | ], |
| 33689 | }, |
| 33690 | }, |
| 33691 | }, |
| 33692 | "suggestedInsertionId": "A String", # The suggested insertion ID. If empty, then this is not a suggested |
| 33693 | # insertion. |
| 33694 | }, |
| 33695 | }, |
| 33696 | "headers": { # The headers in the document, keyed by header ID. |
| 33697 | "a_key": { # A document header. |
| 33698 | "headerId": "A String", # The ID of the header. |
| 33699 | "content": [ # The contents of the header. |
| 33700 | # |
| 33701 | # The indexes for a header's content begin at zero. |
| 33702 | { # A StructuralElement describes content that provides structure to the |
| 33703 | # document. |
| 33704 | "endIndex": 42, # The zero-based end index of this structural element, exclusive, in UTF-16 |
| 33705 | # code units. |
| 33706 | "sectionBreak": { # A StructuralElement representing a # A section break type of structural element. |
| 33707 | # section break. A section is a range of content which has the same |
| 33708 | # SectionStyle. A section break represents |
| 33709 | # the start of a new section, and the section style applies to the section |
| 33710 | # after the section break. |
| 33711 | # |
| 33712 | # The document body always begins with a section break. |
| 33713 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 33714 | # of this content. |
| 33715 | "A String", |
| 33716 | ], |
| 33717 | "sectionStyle": { # The styling that applies to a section. # The style of the section after this section break. |
| 33718 | "contentDirection": "A String", # The content direction of this section. If unset, the value defaults to |
| 33719 | # LEFT_TO_RIGHT. |
| 33720 | "columnProperties": [ # The section's columns properties. |
| 33721 | # |
| 33722 | # If empty, the section contains one column with the default properties in |
| 33723 | # the Docs editor. |
| 33724 | { # Properties that apply to a section's column. |
| 33725 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. |
| 33726 | "magnitude": 3.14, # The magnitude. |
| 33727 | "unit": "A String", # The units for magnitude. |
| 33728 | }, |
| 33729 | "paddingEnd": { # A magnitude in a single direction in the specified units. # The padding at the end of the column. |
| 33730 | "magnitude": 3.14, # The magnitude. |
| 33731 | "unit": "A String", # The units for magnitude. |
| 33732 | }, |
| 33733 | }, |
| 33734 | ], |
| 33735 | "columnSeparatorStyle": "A String", # The style of column separators. |
| 33736 | # |
| 33737 | # This style can be set even when there is one column in the section. |
| 33738 | }, |
| 33739 | "suggestedInsertionIds": [ # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is |
| 33740 | # a nested suggested change. If empty, then this is not a suggested |
| 33741 | # insertion. |
| 33742 | "A String", |
| 33743 | ], |
| 33744 | }, |
| 33745 | "tableOfContents": { # A StructuralElement representing # A table of contents type of structural element. |
| 33746 | # a table of contents. |
| 33747 | "content": [ # The content of the table of contents. |
| 33748 | # Object with schema name: StructuralElement |
| 33749 | ], |
| 33750 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 33751 | # of this content. |
| 33752 | "A String", |
| 33753 | ], |
| 33754 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it |
| 33755 | # is a nested suggested change. If empty, then this is not a suggested |
| 33756 | # insertion. |
| 33757 | "A String", |
| 33758 | ], |
| 33759 | }, |
| 33760 | "startIndex": 42, # The zero-based start index of this structural element, in UTF-16 code |
| 33761 | # units. |
| 33762 | "paragraph": { # A StructuralElement representing a # A paragraph type of structural element. |
| 33763 | # paragraph. A paragraph is a range of content that is terminated with a |
| 33764 | # newline character. |
| 33765 | "elements": [ # The content of the paragraph broken down into its component parts. |
| 33766 | { # A ParagraphElement describes content within a |
| 33767 | # Paragraph. |
| 33768 | "endIndex": 42, # The zero-base end index of this paragraph element, exclusive, in UTF-16 |
| 33769 | # code units. |
| 33770 | "equation": { # A ParagraphElement representing an # An equation paragraph element. |
| 33771 | # equation. |
| 33772 | "suggestedInsertionIds": [ # The suggested insertion IDs. A Equation |
| 33773 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 33774 | # empty, then this is not a suggested insertion. |
| 33775 | "A String", |
| 33776 | ], |
| 33777 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 33778 | # of this content. |
| 33779 | "A String", |
| 33780 | ], |
| 33781 | }, |
| 33782 | "columnBreak": { # A ParagraphElement representing a # A column break paragraph element. |
| 33783 | # column break. A column break makes the subsequent text start at the top of |
| 33784 | # the next column. |
| 33785 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this ColumnBreak. |
| 33786 | # |
| 33787 | # Similar to text content, like text runs and footnote references, the text |
| 33788 | # style of a column break can affect content layout as well as the styling of |
| 33789 | # text inserted adjacent to it. |
| 33790 | # |
| 33791 | # Inherited text styles are represented as unset fields in this message. A |
| 33792 | # text style's parent depends on where the text style is defined: |
| 33793 | # |
| 33794 | # * The TextStyle of text in a Paragraph |
| 33795 | # inherits from the paragraph's corresponding named style type. |
| 33796 | # * The TextStyle on a named style |
| 33797 | # inherits from the normal text named style. |
| 33798 | # * The TextStyle of the normal text named style inherits |
| 33799 | # from the default text style in the Docs editor. |
| 33800 | # * The TextStyle on a Paragraph element |
| 33801 | # that is contained in a table may inherit its text style from the table |
| 33802 | # style. |
| 33803 | # |
| 33804 | # If the text style does not inherit from a parent, unsetting fields will |
| 33805 | # revert the style to a value matching the defaults in the Docs editor. |
| 33806 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 33807 | # or transparent, depending on the `color` field. |
| 33808 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 33809 | # a transparent color. |
| 33810 | "rgbColor": { # An RGB color. # The RGB color value. |
| 33811 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 33812 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 33813 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 33814 | }, |
| 33815 | }, |
| 33816 | }, |
| 33817 | "italic": True or False, # Whether or not the text is italicized. |
| 33818 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 33819 | # |
| 33820 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 33821 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 33822 | # The `font_size` itself is not affected by changes in this field. |
| 33823 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 33824 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 33825 | # |
| 33826 | # If an update request specifies values for both `weighted_font_family` and |
| 33827 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 33828 | # |
| 33829 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 33830 | # |
| 33831 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 33832 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 33833 | # is returned. |
| 33834 | "fontFamily": "A String", # The font family of the text. |
| 33835 | # |
| 33836 | # The font family can be any font from the Font menu in Docs or from |
| 33837 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 33838 | # unrecognized, the text is rendered in `Arial`. |
| 33839 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 33840 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 33841 | # numerical values described in the CSS 2.1 Specification, |
| 33842 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 33843 | # non-numerical values disallowed. |
| 33844 | # |
| 33845 | # The default value is `400` ("normal"). |
| 33846 | # |
| 33847 | # The font weight makes up just one component of the rendered font weight. |
| 33848 | # The rendered weight is determined by a combination of the `weight` and the |
| 33849 | # text style's resolved `bold` value, after accounting for inheritance: |
| 33850 | # |
| 33851 | # * If the text is bold and the weight is less than `400`, the rendered |
| 33852 | # weight is 400. |
| 33853 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 33854 | # is less than `700`, the rendered weight is `700`. |
| 33855 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 33856 | # equal to the weight. |
| 33857 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 33858 | }, |
| 33859 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 33860 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 33861 | "magnitude": 3.14, # The magnitude. |
| 33862 | "unit": "A String", # The units for magnitude. |
| 33863 | }, |
| 33864 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 33865 | # or transparent, depending on the `color` field. |
| 33866 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 33867 | # a transparent color. |
| 33868 | "rgbColor": { # An RGB color. # The RGB color value. |
| 33869 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 33870 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 33871 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 33872 | }, |
| 33873 | }, |
| 33874 | }, |
| 33875 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 33876 | # are not inherited from parent text. |
| 33877 | # |
| 33878 | # Changing the link in an update request causes some other changes to the |
| 33879 | # text style of the range: |
| 33880 | # |
| 33881 | # * When setting a link, the text foreground color will be updated to the |
| 33882 | # default link color and the text will be underlined. If these fields are |
| 33883 | # modified in the same request, those values will be used instead of the |
| 33884 | # link defaults. |
| 33885 | # * Setting a link on a text range that overlaps with an existing link will |
| 33886 | # also update the existing link to point to the new URL. |
| 33887 | # * Links are not settable on newline characters. As a result, setting a link |
| 33888 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 33889 | # will separate the newline character(s) into their own text runs. The |
| 33890 | # link will be applied separately to the runs before and after the newline. |
| 33891 | # * Removing a link will update the text style of the range to match the |
| 33892 | # style of the preceding text (or the default text styles if the preceding |
| 33893 | # text is another link) unless different styles are being set in the same |
| 33894 | # request. |
| 33895 | "headingId": "A String", # The ID of a heading in this document. |
| 33896 | "url": "A String", # An external URL. |
| 33897 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 33898 | }, |
| 33899 | "underline": True or False, # Whether or not the text is underlined. |
| 33900 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 33901 | }, |
| 33902 | "suggestedInsertionIds": [ # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is |
| 33903 | # a nested suggested change. If empty, then this is not a suggested |
| 33904 | # insertion. |
| 33905 | "A String", |
| 33906 | ], |
| 33907 | "suggestedTextStyleChanges": { # The suggested text style changes to this ColumnBreak, keyed by suggestion |
| 33908 | # ID. |
| 33909 | "a_key": { # A suggested change to a TextStyle. |
| 33910 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 33911 | # the changes made in this suggestion. This can be used along with the |
| 33912 | # text_style_suggestion_state |
| 33913 | # to see which fields have changed and their new values. |
| 33914 | # |
| 33915 | # Inherited text styles are represented as unset fields in this message. A |
| 33916 | # text style's parent depends on where the text style is defined: |
| 33917 | # |
| 33918 | # * The TextStyle of text in a Paragraph |
| 33919 | # inherits from the paragraph's corresponding named style type. |
| 33920 | # * The TextStyle on a named style |
| 33921 | # inherits from the normal text named style. |
| 33922 | # * The TextStyle of the normal text named style inherits |
| 33923 | # from the default text style in the Docs editor. |
| 33924 | # * The TextStyle on a Paragraph element |
| 33925 | # that is contained in a table may inherit its text style from the table |
| 33926 | # style. |
| 33927 | # |
| 33928 | # If the text style does not inherit from a parent, unsetting fields will |
| 33929 | # revert the style to a value matching the defaults in the Docs editor. |
| 33930 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 33931 | # or transparent, depending on the `color` field. |
| 33932 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 33933 | # a transparent color. |
| 33934 | "rgbColor": { # An RGB color. # The RGB color value. |
| 33935 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 33936 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 33937 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 33938 | }, |
| 33939 | }, |
| 33940 | }, |
| 33941 | "italic": True or False, # Whether or not the text is italicized. |
| 33942 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 33943 | # |
| 33944 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 33945 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 33946 | # The `font_size` itself is not affected by changes in this field. |
| 33947 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 33948 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 33949 | # |
| 33950 | # If an update request specifies values for both `weighted_font_family` and |
| 33951 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 33952 | # |
| 33953 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 33954 | # |
| 33955 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 33956 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 33957 | # is returned. |
| 33958 | "fontFamily": "A String", # The font family of the text. |
| 33959 | # |
| 33960 | # The font family can be any font from the Font menu in Docs or from |
| 33961 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 33962 | # unrecognized, the text is rendered in `Arial`. |
| 33963 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 33964 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 33965 | # numerical values described in the CSS 2.1 Specification, |
| 33966 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 33967 | # non-numerical values disallowed. |
| 33968 | # |
| 33969 | # The default value is `400` ("normal"). |
| 33970 | # |
| 33971 | # The font weight makes up just one component of the rendered font weight. |
| 33972 | # The rendered weight is determined by a combination of the `weight` and the |
| 33973 | # text style's resolved `bold` value, after accounting for inheritance: |
| 33974 | # |
| 33975 | # * If the text is bold and the weight is less than `400`, the rendered |
| 33976 | # weight is 400. |
| 33977 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 33978 | # is less than `700`, the rendered weight is `700`. |
| 33979 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 33980 | # equal to the weight. |
| 33981 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 33982 | }, |
| 33983 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 33984 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 33985 | "magnitude": 3.14, # The magnitude. |
| 33986 | "unit": "A String", # The units for magnitude. |
| 33987 | }, |
| 33988 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 33989 | # or transparent, depending on the `color` field. |
| 33990 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 33991 | # a transparent color. |
| 33992 | "rgbColor": { # An RGB color. # The RGB color value. |
| 33993 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 33994 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 33995 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 33996 | }, |
| 33997 | }, |
| 33998 | }, |
| 33999 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 34000 | # are not inherited from parent text. |
| 34001 | # |
| 34002 | # Changing the link in an update request causes some other changes to the |
| 34003 | # text style of the range: |
| 34004 | # |
| 34005 | # * When setting a link, the text foreground color will be updated to the |
| 34006 | # default link color and the text will be underlined. If these fields are |
| 34007 | # modified in the same request, those values will be used instead of the |
| 34008 | # link defaults. |
| 34009 | # * Setting a link on a text range that overlaps with an existing link will |
| 34010 | # also update the existing link to point to the new URL. |
| 34011 | # * Links are not settable on newline characters. As a result, setting a link |
| 34012 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 34013 | # will separate the newline character(s) into their own text runs. The |
| 34014 | # link will be applied separately to the runs before and after the newline. |
| 34015 | # * Removing a link will update the text style of the range to match the |
| 34016 | # style of the preceding text (or the default text styles if the preceding |
| 34017 | # text is another link) unless different styles are being set in the same |
| 34018 | # request. |
| 34019 | "headingId": "A String", # The ID of a heading in this document. |
| 34020 | "url": "A String", # An external URL. |
| 34021 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 34022 | }, |
| 34023 | "underline": True or False, # Whether or not the text is underlined. |
| 34024 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 34025 | }, |
| 34026 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 34027 | # For any field set to true, there is a new suggested value. |
| 34028 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 34029 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 34030 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 34031 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 34032 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 34033 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 34034 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 34035 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 34036 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 34037 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 34038 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 34039 | }, |
| 34040 | }, |
| 34041 | }, |
| 34042 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 34043 | # of this content. |
| 34044 | "A String", |
| 34045 | ], |
| 34046 | }, |
| 34047 | "startIndex": 42, # The zero-based start index of this paragraph element, in UTF-16 code units. |
| 34048 | "pageBreak": { # A ParagraphElement representing a # A page break paragraph element. |
| 34049 | # page break. A page break makes the subsequent text start at the top of the |
| 34050 | # next page. |
| 34051 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this PageBreak. |
| 34052 | # |
| 34053 | # Similar to text content, like text runs and footnote references, the text |
| 34054 | # style of a page break can affect content layout as well as the styling of |
| 34055 | # text inserted adjacent to it. |
| 34056 | # |
| 34057 | # Inherited text styles are represented as unset fields in this message. A |
| 34058 | # text style's parent depends on where the text style is defined: |
| 34059 | # |
| 34060 | # * The TextStyle of text in a Paragraph |
| 34061 | # inherits from the paragraph's corresponding named style type. |
| 34062 | # * The TextStyle on a named style |
| 34063 | # inherits from the normal text named style. |
| 34064 | # * The TextStyle of the normal text named style inherits |
| 34065 | # from the default text style in the Docs editor. |
| 34066 | # * The TextStyle on a Paragraph element |
| 34067 | # that is contained in a table may inherit its text style from the table |
| 34068 | # style. |
| 34069 | # |
| 34070 | # If the text style does not inherit from a parent, unsetting fields will |
| 34071 | # revert the style to a value matching the defaults in the Docs editor. |
| 34072 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 34073 | # or transparent, depending on the `color` field. |
| 34074 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 34075 | # a transparent color. |
| 34076 | "rgbColor": { # An RGB color. # The RGB color value. |
| 34077 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 34078 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 34079 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 34080 | }, |
| 34081 | }, |
| 34082 | }, |
| 34083 | "italic": True or False, # Whether or not the text is italicized. |
| 34084 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 34085 | # |
| 34086 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 34087 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 34088 | # The `font_size` itself is not affected by changes in this field. |
| 34089 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 34090 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 34091 | # |
| 34092 | # If an update request specifies values for both `weighted_font_family` and |
| 34093 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 34094 | # |
| 34095 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 34096 | # |
| 34097 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 34098 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 34099 | # is returned. |
| 34100 | "fontFamily": "A String", # The font family of the text. |
| 34101 | # |
| 34102 | # The font family can be any font from the Font menu in Docs or from |
| 34103 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 34104 | # unrecognized, the text is rendered in `Arial`. |
| 34105 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 34106 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 34107 | # numerical values described in the CSS 2.1 Specification, |
| 34108 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 34109 | # non-numerical values disallowed. |
| 34110 | # |
| 34111 | # The default value is `400` ("normal"). |
| 34112 | # |
| 34113 | # The font weight makes up just one component of the rendered font weight. |
| 34114 | # The rendered weight is determined by a combination of the `weight` and the |
| 34115 | # text style's resolved `bold` value, after accounting for inheritance: |
| 34116 | # |
| 34117 | # * If the text is bold and the weight is less than `400`, the rendered |
| 34118 | # weight is 400. |
| 34119 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 34120 | # is less than `700`, the rendered weight is `700`. |
| 34121 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 34122 | # equal to the weight. |
| 34123 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 34124 | }, |
| 34125 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 34126 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 34127 | "magnitude": 3.14, # The magnitude. |
| 34128 | "unit": "A String", # The units for magnitude. |
| 34129 | }, |
| 34130 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 34131 | # or transparent, depending on the `color` field. |
| 34132 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 34133 | # a transparent color. |
| 34134 | "rgbColor": { # An RGB color. # The RGB color value. |
| 34135 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 34136 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 34137 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 34138 | }, |
| 34139 | }, |
| 34140 | }, |
| 34141 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 34142 | # are not inherited from parent text. |
| 34143 | # |
| 34144 | # Changing the link in an update request causes some other changes to the |
| 34145 | # text style of the range: |
| 34146 | # |
| 34147 | # * When setting a link, the text foreground color will be updated to the |
| 34148 | # default link color and the text will be underlined. If these fields are |
| 34149 | # modified in the same request, those values will be used instead of the |
| 34150 | # link defaults. |
| 34151 | # * Setting a link on a text range that overlaps with an existing link will |
| 34152 | # also update the existing link to point to the new URL. |
| 34153 | # * Links are not settable on newline characters. As a result, setting a link |
| 34154 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 34155 | # will separate the newline character(s) into their own text runs. The |
| 34156 | # link will be applied separately to the runs before and after the newline. |
| 34157 | # * Removing a link will update the text style of the range to match the |
| 34158 | # style of the preceding text (or the default text styles if the preceding |
| 34159 | # text is another link) unless different styles are being set in the same |
| 34160 | # request. |
| 34161 | "headingId": "A String", # The ID of a heading in this document. |
| 34162 | "url": "A String", # An external URL. |
| 34163 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 34164 | }, |
| 34165 | "underline": True or False, # Whether or not the text is underlined. |
| 34166 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 34167 | }, |
| 34168 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 34169 | # of this content. |
| 34170 | "A String", |
| 34171 | ], |
| 34172 | "suggestedTextStyleChanges": { # The suggested text style changes to this PageBreak, keyed by suggestion ID. |
| 34173 | "a_key": { # A suggested change to a TextStyle. |
| 34174 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 34175 | # the changes made in this suggestion. This can be used along with the |
| 34176 | # text_style_suggestion_state |
| 34177 | # to see which fields have changed and their new values. |
| 34178 | # |
| 34179 | # Inherited text styles are represented as unset fields in this message. A |
| 34180 | # text style's parent depends on where the text style is defined: |
| 34181 | # |
| 34182 | # * The TextStyle of text in a Paragraph |
| 34183 | # inherits from the paragraph's corresponding named style type. |
| 34184 | # * The TextStyle on a named style |
| 34185 | # inherits from the normal text named style. |
| 34186 | # * The TextStyle of the normal text named style inherits |
| 34187 | # from the default text style in the Docs editor. |
| 34188 | # * The TextStyle on a Paragraph element |
| 34189 | # that is contained in a table may inherit its text style from the table |
| 34190 | # style. |
| 34191 | # |
| 34192 | # If the text style does not inherit from a parent, unsetting fields will |
| 34193 | # revert the style to a value matching the defaults in the Docs editor. |
| 34194 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 34195 | # or transparent, depending on the `color` field. |
| 34196 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 34197 | # a transparent color. |
| 34198 | "rgbColor": { # An RGB color. # The RGB color value. |
| 34199 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 34200 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 34201 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 34202 | }, |
| 34203 | }, |
| 34204 | }, |
| 34205 | "italic": True or False, # Whether or not the text is italicized. |
| 34206 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 34207 | # |
| 34208 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 34209 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 34210 | # The `font_size` itself is not affected by changes in this field. |
| 34211 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 34212 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 34213 | # |
| 34214 | # If an update request specifies values for both `weighted_font_family` and |
| 34215 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 34216 | # |
| 34217 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 34218 | # |
| 34219 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 34220 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 34221 | # is returned. |
| 34222 | "fontFamily": "A String", # The font family of the text. |
| 34223 | # |
| 34224 | # The font family can be any font from the Font menu in Docs or from |
| 34225 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 34226 | # unrecognized, the text is rendered in `Arial`. |
| 34227 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 34228 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 34229 | # numerical values described in the CSS 2.1 Specification, |
| 34230 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 34231 | # non-numerical values disallowed. |
| 34232 | # |
| 34233 | # The default value is `400` ("normal"). |
| 34234 | # |
| 34235 | # The font weight makes up just one component of the rendered font weight. |
| 34236 | # The rendered weight is determined by a combination of the `weight` and the |
| 34237 | # text style's resolved `bold` value, after accounting for inheritance: |
| 34238 | # |
| 34239 | # * If the text is bold and the weight is less than `400`, the rendered |
| 34240 | # weight is 400. |
| 34241 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 34242 | # is less than `700`, the rendered weight is `700`. |
| 34243 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 34244 | # equal to the weight. |
| 34245 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 34246 | }, |
| 34247 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 34248 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 34249 | "magnitude": 3.14, # The magnitude. |
| 34250 | "unit": "A String", # The units for magnitude. |
| 34251 | }, |
| 34252 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 34253 | # or transparent, depending on the `color` field. |
| 34254 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 34255 | # a transparent color. |
| 34256 | "rgbColor": { # An RGB color. # The RGB color value. |
| 34257 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 34258 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 34259 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 34260 | }, |
| 34261 | }, |
| 34262 | }, |
| 34263 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 34264 | # are not inherited from parent text. |
| 34265 | # |
| 34266 | # Changing the link in an update request causes some other changes to the |
| 34267 | # text style of the range: |
| 34268 | # |
| 34269 | # * When setting a link, the text foreground color will be updated to the |
| 34270 | # default link color and the text will be underlined. If these fields are |
| 34271 | # modified in the same request, those values will be used instead of the |
| 34272 | # link defaults. |
| 34273 | # * Setting a link on a text range that overlaps with an existing link will |
| 34274 | # also update the existing link to point to the new URL. |
| 34275 | # * Links are not settable on newline characters. As a result, setting a link |
| 34276 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 34277 | # will separate the newline character(s) into their own text runs. The |
| 34278 | # link will be applied separately to the runs before and after the newline. |
| 34279 | # * Removing a link will update the text style of the range to match the |
| 34280 | # style of the preceding text (or the default text styles if the preceding |
| 34281 | # text is another link) unless different styles are being set in the same |
| 34282 | # request. |
| 34283 | "headingId": "A String", # The ID of a heading in this document. |
| 34284 | "url": "A String", # An external URL. |
| 34285 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 34286 | }, |
| 34287 | "underline": True or False, # Whether or not the text is underlined. |
| 34288 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 34289 | }, |
| 34290 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 34291 | # For any field set to true, there is a new suggested value. |
| 34292 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 34293 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 34294 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 34295 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 34296 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 34297 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 34298 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 34299 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 34300 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 34301 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 34302 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 34303 | }, |
| 34304 | }, |
| 34305 | }, |
| 34306 | "suggestedInsertionIds": [ # The suggested insertion IDs. A PageBreak |
| 34307 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 34308 | # empty, then this is not a suggested insertion. |
| 34309 | "A String", |
| 34310 | ], |
| 34311 | }, |
| 34312 | "horizontalRule": { # A ParagraphElement representing a # A horizontal rule paragraph element. |
| 34313 | # horizontal line. |
| 34314 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this HorizontalRule. |
| 34315 | # |
| 34316 | # Similar to text content, like text runs and footnote references, the text |
| 34317 | # style of a horizontal rule can affect content layout as well as the styling |
| 34318 | # of text inserted adjacent to it. |
| 34319 | # |
| 34320 | # Inherited text styles are represented as unset fields in this message. A |
| 34321 | # text style's parent depends on where the text style is defined: |
| 34322 | # |
| 34323 | # * The TextStyle of text in a Paragraph |
| 34324 | # inherits from the paragraph's corresponding named style type. |
| 34325 | # * The TextStyle on a named style |
| 34326 | # inherits from the normal text named style. |
| 34327 | # * The TextStyle of the normal text named style inherits |
| 34328 | # from the default text style in the Docs editor. |
| 34329 | # * The TextStyle on a Paragraph element |
| 34330 | # that is contained in a table may inherit its text style from the table |
| 34331 | # style. |
| 34332 | # |
| 34333 | # If the text style does not inherit from a parent, unsetting fields will |
| 34334 | # revert the style to a value matching the defaults in the Docs editor. |
| 34335 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 34336 | # or transparent, depending on the `color` field. |
| 34337 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 34338 | # a transparent color. |
| 34339 | "rgbColor": { # An RGB color. # The RGB color value. |
| 34340 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 34341 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 34342 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 34343 | }, |
| 34344 | }, |
| 34345 | }, |
| 34346 | "italic": True or False, # Whether or not the text is italicized. |
| 34347 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 34348 | # |
| 34349 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 34350 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 34351 | # The `font_size` itself is not affected by changes in this field. |
| 34352 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 34353 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 34354 | # |
| 34355 | # If an update request specifies values for both `weighted_font_family` and |
| 34356 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 34357 | # |
| 34358 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 34359 | # |
| 34360 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 34361 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 34362 | # is returned. |
| 34363 | "fontFamily": "A String", # The font family of the text. |
| 34364 | # |
| 34365 | # The font family can be any font from the Font menu in Docs or from |
| 34366 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 34367 | # unrecognized, the text is rendered in `Arial`. |
| 34368 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 34369 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 34370 | # numerical values described in the CSS 2.1 Specification, |
| 34371 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 34372 | # non-numerical values disallowed. |
| 34373 | # |
| 34374 | # The default value is `400` ("normal"). |
| 34375 | # |
| 34376 | # The font weight makes up just one component of the rendered font weight. |
| 34377 | # The rendered weight is determined by a combination of the `weight` and the |
| 34378 | # text style's resolved `bold` value, after accounting for inheritance: |
| 34379 | # |
| 34380 | # * If the text is bold and the weight is less than `400`, the rendered |
| 34381 | # weight is 400. |
| 34382 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 34383 | # is less than `700`, the rendered weight is `700`. |
| 34384 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 34385 | # equal to the weight. |
| 34386 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 34387 | }, |
| 34388 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 34389 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 34390 | "magnitude": 3.14, # The magnitude. |
| 34391 | "unit": "A String", # The units for magnitude. |
| 34392 | }, |
| 34393 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 34394 | # or transparent, depending on the `color` field. |
| 34395 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 34396 | # a transparent color. |
| 34397 | "rgbColor": { # An RGB color. # The RGB color value. |
| 34398 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 34399 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 34400 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 34401 | }, |
| 34402 | }, |
| 34403 | }, |
| 34404 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 34405 | # are not inherited from parent text. |
| 34406 | # |
| 34407 | # Changing the link in an update request causes some other changes to the |
| 34408 | # text style of the range: |
| 34409 | # |
| 34410 | # * When setting a link, the text foreground color will be updated to the |
| 34411 | # default link color and the text will be underlined. If these fields are |
| 34412 | # modified in the same request, those values will be used instead of the |
| 34413 | # link defaults. |
| 34414 | # * Setting a link on a text range that overlaps with an existing link will |
| 34415 | # also update the existing link to point to the new URL. |
| 34416 | # * Links are not settable on newline characters. As a result, setting a link |
| 34417 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 34418 | # will separate the newline character(s) into their own text runs. The |
| 34419 | # link will be applied separately to the runs before and after the newline. |
| 34420 | # * Removing a link will update the text style of the range to match the |
| 34421 | # style of the preceding text (or the default text styles if the preceding |
| 34422 | # text is another link) unless different styles are being set in the same |
| 34423 | # request. |
| 34424 | "headingId": "A String", # The ID of a heading in this document. |
| 34425 | "url": "A String", # An external URL. |
| 34426 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 34427 | }, |
| 34428 | "underline": True or False, # Whether or not the text is underlined. |
| 34429 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 34430 | }, |
| 34431 | "suggestedInsertionIds": [ # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it |
| 34432 | # is a nested suggested change. If empty, then this is not a suggested |
| 34433 | # insertion. |
| 34434 | "A String", |
| 34435 | ], |
| 34436 | "suggestedTextStyleChanges": { # The suggested text style changes to this HorizontalRule, keyed by |
| 34437 | # suggestion ID. |
| 34438 | "a_key": { # A suggested change to a TextStyle. |
| 34439 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 34440 | # the changes made in this suggestion. This can be used along with the |
| 34441 | # text_style_suggestion_state |
| 34442 | # to see which fields have changed and their new values. |
| 34443 | # |
| 34444 | # Inherited text styles are represented as unset fields in this message. A |
| 34445 | # text style's parent depends on where the text style is defined: |
| 34446 | # |
| 34447 | # * The TextStyle of text in a Paragraph |
| 34448 | # inherits from the paragraph's corresponding named style type. |
| 34449 | # * The TextStyle on a named style |
| 34450 | # inherits from the normal text named style. |
| 34451 | # * The TextStyle of the normal text named style inherits |
| 34452 | # from the default text style in the Docs editor. |
| 34453 | # * The TextStyle on a Paragraph element |
| 34454 | # that is contained in a table may inherit its text style from the table |
| 34455 | # style. |
| 34456 | # |
| 34457 | # If the text style does not inherit from a parent, unsetting fields will |
| 34458 | # revert the style to a value matching the defaults in the Docs editor. |
| 34459 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 34460 | # or transparent, depending on the `color` field. |
| 34461 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 34462 | # a transparent color. |
| 34463 | "rgbColor": { # An RGB color. # The RGB color value. |
| 34464 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 34465 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 34466 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 34467 | }, |
| 34468 | }, |
| 34469 | }, |
| 34470 | "italic": True or False, # Whether or not the text is italicized. |
| 34471 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 34472 | # |
| 34473 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 34474 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 34475 | # The `font_size` itself is not affected by changes in this field. |
| 34476 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 34477 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 34478 | # |
| 34479 | # If an update request specifies values for both `weighted_font_family` and |
| 34480 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 34481 | # |
| 34482 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 34483 | # |
| 34484 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 34485 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 34486 | # is returned. |
| 34487 | "fontFamily": "A String", # The font family of the text. |
| 34488 | # |
| 34489 | # The font family can be any font from the Font menu in Docs or from |
| 34490 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 34491 | # unrecognized, the text is rendered in `Arial`. |
| 34492 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 34493 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 34494 | # numerical values described in the CSS 2.1 Specification, |
| 34495 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 34496 | # non-numerical values disallowed. |
| 34497 | # |
| 34498 | # The default value is `400` ("normal"). |
| 34499 | # |
| 34500 | # The font weight makes up just one component of the rendered font weight. |
| 34501 | # The rendered weight is determined by a combination of the `weight` and the |
| 34502 | # text style's resolved `bold` value, after accounting for inheritance: |
| 34503 | # |
| 34504 | # * If the text is bold and the weight is less than `400`, the rendered |
| 34505 | # weight is 400. |
| 34506 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 34507 | # is less than `700`, the rendered weight is `700`. |
| 34508 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 34509 | # equal to the weight. |
| 34510 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 34511 | }, |
| 34512 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 34513 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 34514 | "magnitude": 3.14, # The magnitude. |
| 34515 | "unit": "A String", # The units for magnitude. |
| 34516 | }, |
| 34517 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 34518 | # or transparent, depending on the `color` field. |
| 34519 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 34520 | # a transparent color. |
| 34521 | "rgbColor": { # An RGB color. # The RGB color value. |
| 34522 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 34523 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 34524 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 34525 | }, |
| 34526 | }, |
| 34527 | }, |
| 34528 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 34529 | # are not inherited from parent text. |
| 34530 | # |
| 34531 | # Changing the link in an update request causes some other changes to the |
| 34532 | # text style of the range: |
| 34533 | # |
| 34534 | # * When setting a link, the text foreground color will be updated to the |
| 34535 | # default link color and the text will be underlined. If these fields are |
| 34536 | # modified in the same request, those values will be used instead of the |
| 34537 | # link defaults. |
| 34538 | # * Setting a link on a text range that overlaps with an existing link will |
| 34539 | # also update the existing link to point to the new URL. |
| 34540 | # * Links are not settable on newline characters. As a result, setting a link |
| 34541 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 34542 | # will separate the newline character(s) into their own text runs. The |
| 34543 | # link will be applied separately to the runs before and after the newline. |
| 34544 | # * Removing a link will update the text style of the range to match the |
| 34545 | # style of the preceding text (or the default text styles if the preceding |
| 34546 | # text is another link) unless different styles are being set in the same |
| 34547 | # request. |
| 34548 | "headingId": "A String", # The ID of a heading in this document. |
| 34549 | "url": "A String", # An external URL. |
| 34550 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 34551 | }, |
| 34552 | "underline": True or False, # Whether or not the text is underlined. |
| 34553 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 34554 | }, |
| 34555 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 34556 | # For any field set to true, there is a new suggested value. |
| 34557 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 34558 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 34559 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 34560 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 34561 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 34562 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 34563 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 34564 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 34565 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 34566 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 34567 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 34568 | }, |
| 34569 | }, |
| 34570 | }, |
| 34571 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 34572 | # of this content. |
| 34573 | "A String", |
| 34574 | ], |
| 34575 | }, |
| 34576 | "textRun": { # A ParagraphElement that represents a # A text run paragraph element. |
| 34577 | # run of text that all has the same styling. |
| 34578 | "content": "A String", # The text of this run. |
| 34579 | # |
| 34580 | # Any non-text elements in the run are replaced with the Unicode character |
| 34581 | # U+E907. |
| 34582 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this run. |
| 34583 | # |
| 34584 | # Inherited text styles are represented as unset fields in this message. A |
| 34585 | # text style's parent depends on where the text style is defined: |
| 34586 | # |
| 34587 | # * The TextStyle of text in a Paragraph |
| 34588 | # inherits from the paragraph's corresponding named style type. |
| 34589 | # * The TextStyle on a named style |
| 34590 | # inherits from the normal text named style. |
| 34591 | # * The TextStyle of the normal text named style inherits |
| 34592 | # from the default text style in the Docs editor. |
| 34593 | # * The TextStyle on a Paragraph element |
| 34594 | # that is contained in a table may inherit its text style from the table |
| 34595 | # style. |
| 34596 | # |
| 34597 | # If the text style does not inherit from a parent, unsetting fields will |
| 34598 | # revert the style to a value matching the defaults in the Docs editor. |
| 34599 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 34600 | # or transparent, depending on the `color` field. |
| 34601 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 34602 | # a transparent color. |
| 34603 | "rgbColor": { # An RGB color. # The RGB color value. |
| 34604 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 34605 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 34606 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 34607 | }, |
| 34608 | }, |
| 34609 | }, |
| 34610 | "italic": True or False, # Whether or not the text is italicized. |
| 34611 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 34612 | # |
| 34613 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 34614 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 34615 | # The `font_size` itself is not affected by changes in this field. |
| 34616 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 34617 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 34618 | # |
| 34619 | # If an update request specifies values for both `weighted_font_family` and |
| 34620 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 34621 | # |
| 34622 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 34623 | # |
| 34624 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 34625 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 34626 | # is returned. |
| 34627 | "fontFamily": "A String", # The font family of the text. |
| 34628 | # |
| 34629 | # The font family can be any font from the Font menu in Docs or from |
| 34630 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 34631 | # unrecognized, the text is rendered in `Arial`. |
| 34632 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 34633 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 34634 | # numerical values described in the CSS 2.1 Specification, |
| 34635 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 34636 | # non-numerical values disallowed. |
| 34637 | # |
| 34638 | # The default value is `400` ("normal"). |
| 34639 | # |
| 34640 | # The font weight makes up just one component of the rendered font weight. |
| 34641 | # The rendered weight is determined by a combination of the `weight` and the |
| 34642 | # text style's resolved `bold` value, after accounting for inheritance: |
| 34643 | # |
| 34644 | # * If the text is bold and the weight is less than `400`, the rendered |
| 34645 | # weight is 400. |
| 34646 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 34647 | # is less than `700`, the rendered weight is `700`. |
| 34648 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 34649 | # equal to the weight. |
| 34650 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 34651 | }, |
| 34652 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 34653 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 34654 | "magnitude": 3.14, # The magnitude. |
| 34655 | "unit": "A String", # The units for magnitude. |
| 34656 | }, |
| 34657 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 34658 | # or transparent, depending on the `color` field. |
| 34659 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 34660 | # a transparent color. |
| 34661 | "rgbColor": { # An RGB color. # The RGB color value. |
| 34662 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 34663 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 34664 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 34665 | }, |
| 34666 | }, |
| 34667 | }, |
| 34668 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 34669 | # are not inherited from parent text. |
| 34670 | # |
| 34671 | # Changing the link in an update request causes some other changes to the |
| 34672 | # text style of the range: |
| 34673 | # |
| 34674 | # * When setting a link, the text foreground color will be updated to the |
| 34675 | # default link color and the text will be underlined. If these fields are |
| 34676 | # modified in the same request, those values will be used instead of the |
| 34677 | # link defaults. |
| 34678 | # * Setting a link on a text range that overlaps with an existing link will |
| 34679 | # also update the existing link to point to the new URL. |
| 34680 | # * Links are not settable on newline characters. As a result, setting a link |
| 34681 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 34682 | # will separate the newline character(s) into their own text runs. The |
| 34683 | # link will be applied separately to the runs before and after the newline. |
| 34684 | # * Removing a link will update the text style of the range to match the |
| 34685 | # style of the preceding text (or the default text styles if the preceding |
| 34686 | # text is another link) unless different styles are being set in the same |
| 34687 | # request. |
| 34688 | "headingId": "A String", # The ID of a heading in this document. |
| 34689 | "url": "A String", # An external URL. |
| 34690 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 34691 | }, |
| 34692 | "underline": True or False, # Whether or not the text is underlined. |
| 34693 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 34694 | }, |
| 34695 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TextRun may |
| 34696 | # have multiple insertion IDs if it is a nested suggested change. If empty, |
| 34697 | # then this is not a suggested insertion. |
| 34698 | "A String", |
| 34699 | ], |
| 34700 | "suggestedTextStyleChanges": { # The suggested text style changes to this run, keyed by suggestion ID. |
| 34701 | "a_key": { # A suggested change to a TextStyle. |
| 34702 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 34703 | # the changes made in this suggestion. This can be used along with the |
| 34704 | # text_style_suggestion_state |
| 34705 | # to see which fields have changed and their new values. |
| 34706 | # |
| 34707 | # Inherited text styles are represented as unset fields in this message. A |
| 34708 | # text style's parent depends on where the text style is defined: |
| 34709 | # |
| 34710 | # * The TextStyle of text in a Paragraph |
| 34711 | # inherits from the paragraph's corresponding named style type. |
| 34712 | # * The TextStyle on a named style |
| 34713 | # inherits from the normal text named style. |
| 34714 | # * The TextStyle of the normal text named style inherits |
| 34715 | # from the default text style in the Docs editor. |
| 34716 | # * The TextStyle on a Paragraph element |
| 34717 | # that is contained in a table may inherit its text style from the table |
| 34718 | # style. |
| 34719 | # |
| 34720 | # If the text style does not inherit from a parent, unsetting fields will |
| 34721 | # revert the style to a value matching the defaults in the Docs editor. |
| 34722 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 34723 | # or transparent, depending on the `color` field. |
| 34724 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 34725 | # a transparent color. |
| 34726 | "rgbColor": { # An RGB color. # The RGB color value. |
| 34727 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 34728 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 34729 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 34730 | }, |
| 34731 | }, |
| 34732 | }, |
| 34733 | "italic": True or False, # Whether or not the text is italicized. |
| 34734 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 34735 | # |
| 34736 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 34737 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 34738 | # The `font_size` itself is not affected by changes in this field. |
| 34739 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 34740 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 34741 | # |
| 34742 | # If an update request specifies values for both `weighted_font_family` and |
| 34743 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 34744 | # |
| 34745 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 34746 | # |
| 34747 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 34748 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 34749 | # is returned. |
| 34750 | "fontFamily": "A String", # The font family of the text. |
| 34751 | # |
| 34752 | # The font family can be any font from the Font menu in Docs or from |
| 34753 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 34754 | # unrecognized, the text is rendered in `Arial`. |
| 34755 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 34756 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 34757 | # numerical values described in the CSS 2.1 Specification, |
| 34758 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 34759 | # non-numerical values disallowed. |
| 34760 | # |
| 34761 | # The default value is `400` ("normal"). |
| 34762 | # |
| 34763 | # The font weight makes up just one component of the rendered font weight. |
| 34764 | # The rendered weight is determined by a combination of the `weight` and the |
| 34765 | # text style's resolved `bold` value, after accounting for inheritance: |
| 34766 | # |
| 34767 | # * If the text is bold and the weight is less than `400`, the rendered |
| 34768 | # weight is 400. |
| 34769 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 34770 | # is less than `700`, the rendered weight is `700`. |
| 34771 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 34772 | # equal to the weight. |
| 34773 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 34774 | }, |
| 34775 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 34776 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 34777 | "magnitude": 3.14, # The magnitude. |
| 34778 | "unit": "A String", # The units for magnitude. |
| 34779 | }, |
| 34780 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 34781 | # or transparent, depending on the `color` field. |
| 34782 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 34783 | # a transparent color. |
| 34784 | "rgbColor": { # An RGB color. # The RGB color value. |
| 34785 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 34786 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 34787 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 34788 | }, |
| 34789 | }, |
| 34790 | }, |
| 34791 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 34792 | # are not inherited from parent text. |
| 34793 | # |
| 34794 | # Changing the link in an update request causes some other changes to the |
| 34795 | # text style of the range: |
| 34796 | # |
| 34797 | # * When setting a link, the text foreground color will be updated to the |
| 34798 | # default link color and the text will be underlined. If these fields are |
| 34799 | # modified in the same request, those values will be used instead of the |
| 34800 | # link defaults. |
| 34801 | # * Setting a link on a text range that overlaps with an existing link will |
| 34802 | # also update the existing link to point to the new URL. |
| 34803 | # * Links are not settable on newline characters. As a result, setting a link |
| 34804 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 34805 | # will separate the newline character(s) into their own text runs. The |
| 34806 | # link will be applied separately to the runs before and after the newline. |
| 34807 | # * Removing a link will update the text style of the range to match the |
| 34808 | # style of the preceding text (or the default text styles if the preceding |
| 34809 | # text is another link) unless different styles are being set in the same |
| 34810 | # request. |
| 34811 | "headingId": "A String", # The ID of a heading in this document. |
| 34812 | "url": "A String", # An external URL. |
| 34813 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 34814 | }, |
| 34815 | "underline": True or False, # Whether or not the text is underlined. |
| 34816 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 34817 | }, |
| 34818 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 34819 | # For any field set to true, there is a new suggested value. |
| 34820 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 34821 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 34822 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 34823 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 34824 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 34825 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 34826 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 34827 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 34828 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 34829 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 34830 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 34831 | }, |
| 34832 | }, |
| 34833 | }, |
| 34834 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 34835 | # of this content. |
| 34836 | "A String", |
| 34837 | ], |
| 34838 | }, |
| 34839 | "autoText": { # A ParagraphElement representing a # An auto text paragraph element. |
| 34840 | # spot in the text that is dynamically replaced with content that can change |
| 34841 | # over time, like a page number. |
| 34842 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this AutoText. |
| 34843 | # |
| 34844 | # Inherited text styles are represented as unset fields in this message. A |
| 34845 | # text style's parent depends on where the text style is defined: |
| 34846 | # |
| 34847 | # * The TextStyle of text in a Paragraph |
| 34848 | # inherits from the paragraph's corresponding named style type. |
| 34849 | # * The TextStyle on a named style |
| 34850 | # inherits from the normal text named style. |
| 34851 | # * The TextStyle of the normal text named style inherits |
| 34852 | # from the default text style in the Docs editor. |
| 34853 | # * The TextStyle on a Paragraph element |
| 34854 | # that is contained in a table may inherit its text style from the table |
| 34855 | # style. |
| 34856 | # |
| 34857 | # If the text style does not inherit from a parent, unsetting fields will |
| 34858 | # revert the style to a value matching the defaults in the Docs editor. |
| 34859 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 34860 | # or transparent, depending on the `color` field. |
| 34861 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 34862 | # a transparent color. |
| 34863 | "rgbColor": { # An RGB color. # The RGB color value. |
| 34864 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 34865 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 34866 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 34867 | }, |
| 34868 | }, |
| 34869 | }, |
| 34870 | "italic": True or False, # Whether or not the text is italicized. |
| 34871 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 34872 | # |
| 34873 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 34874 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 34875 | # The `font_size` itself is not affected by changes in this field. |
| 34876 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 34877 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 34878 | # |
| 34879 | # If an update request specifies values for both `weighted_font_family` and |
| 34880 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 34881 | # |
| 34882 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 34883 | # |
| 34884 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 34885 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 34886 | # is returned. |
| 34887 | "fontFamily": "A String", # The font family of the text. |
| 34888 | # |
| 34889 | # The font family can be any font from the Font menu in Docs or from |
| 34890 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 34891 | # unrecognized, the text is rendered in `Arial`. |
| 34892 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 34893 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 34894 | # numerical values described in the CSS 2.1 Specification, |
| 34895 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 34896 | # non-numerical values disallowed. |
| 34897 | # |
| 34898 | # The default value is `400` ("normal"). |
| 34899 | # |
| 34900 | # The font weight makes up just one component of the rendered font weight. |
| 34901 | # The rendered weight is determined by a combination of the `weight` and the |
| 34902 | # text style's resolved `bold` value, after accounting for inheritance: |
| 34903 | # |
| 34904 | # * If the text is bold and the weight is less than `400`, the rendered |
| 34905 | # weight is 400. |
| 34906 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 34907 | # is less than `700`, the rendered weight is `700`. |
| 34908 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 34909 | # equal to the weight. |
| 34910 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 34911 | }, |
| 34912 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 34913 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 34914 | "magnitude": 3.14, # The magnitude. |
| 34915 | "unit": "A String", # The units for magnitude. |
| 34916 | }, |
| 34917 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 34918 | # or transparent, depending on the `color` field. |
| 34919 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 34920 | # a transparent color. |
| 34921 | "rgbColor": { # An RGB color. # The RGB color value. |
| 34922 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 34923 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 34924 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 34925 | }, |
| 34926 | }, |
| 34927 | }, |
| 34928 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 34929 | # are not inherited from parent text. |
| 34930 | # |
| 34931 | # Changing the link in an update request causes some other changes to the |
| 34932 | # text style of the range: |
| 34933 | # |
| 34934 | # * When setting a link, the text foreground color will be updated to the |
| 34935 | # default link color and the text will be underlined. If these fields are |
| 34936 | # modified in the same request, those values will be used instead of the |
| 34937 | # link defaults. |
| 34938 | # * Setting a link on a text range that overlaps with an existing link will |
| 34939 | # also update the existing link to point to the new URL. |
| 34940 | # * Links are not settable on newline characters. As a result, setting a link |
| 34941 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 34942 | # will separate the newline character(s) into their own text runs. The |
| 34943 | # link will be applied separately to the runs before and after the newline. |
| 34944 | # * Removing a link will update the text style of the range to match the |
| 34945 | # style of the preceding text (or the default text styles if the preceding |
| 34946 | # text is another link) unless different styles are being set in the same |
| 34947 | # request. |
| 34948 | "headingId": "A String", # The ID of a heading in this document. |
| 34949 | "url": "A String", # An external URL. |
| 34950 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 34951 | }, |
| 34952 | "underline": True or False, # Whether or not the text is underlined. |
| 34953 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 34954 | }, |
| 34955 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 34956 | # of this content. |
| 34957 | "A String", |
| 34958 | ], |
| 34959 | "suggestedTextStyleChanges": { # The suggested text style changes to this AutoText, keyed by suggestion ID. |
| 34960 | "a_key": { # A suggested change to a TextStyle. |
| 34961 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 34962 | # the changes made in this suggestion. This can be used along with the |
| 34963 | # text_style_suggestion_state |
| 34964 | # to see which fields have changed and their new values. |
| 34965 | # |
| 34966 | # Inherited text styles are represented as unset fields in this message. A |
| 34967 | # text style's parent depends on where the text style is defined: |
| 34968 | # |
| 34969 | # * The TextStyle of text in a Paragraph |
| 34970 | # inherits from the paragraph's corresponding named style type. |
| 34971 | # * The TextStyle on a named style |
| 34972 | # inherits from the normal text named style. |
| 34973 | # * The TextStyle of the normal text named style inherits |
| 34974 | # from the default text style in the Docs editor. |
| 34975 | # * The TextStyle on a Paragraph element |
| 34976 | # that is contained in a table may inherit its text style from the table |
| 34977 | # style. |
| 34978 | # |
| 34979 | # If the text style does not inherit from a parent, unsetting fields will |
| 34980 | # revert the style to a value matching the defaults in the Docs editor. |
| 34981 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 34982 | # or transparent, depending on the `color` field. |
| 34983 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 34984 | # a transparent color. |
| 34985 | "rgbColor": { # An RGB color. # The RGB color value. |
| 34986 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 34987 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 34988 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 34989 | }, |
| 34990 | }, |
| 34991 | }, |
| 34992 | "italic": True or False, # Whether or not the text is italicized. |
| 34993 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 34994 | # |
| 34995 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 34996 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 34997 | # The `font_size` itself is not affected by changes in this field. |
| 34998 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 34999 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 35000 | # |
| 35001 | # If an update request specifies values for both `weighted_font_family` and |
| 35002 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 35003 | # |
| 35004 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 35005 | # |
| 35006 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 35007 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 35008 | # is returned. |
| 35009 | "fontFamily": "A String", # The font family of the text. |
| 35010 | # |
| 35011 | # The font family can be any font from the Font menu in Docs or from |
| 35012 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 35013 | # unrecognized, the text is rendered in `Arial`. |
| 35014 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 35015 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 35016 | # numerical values described in the CSS 2.1 Specification, |
| 35017 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 35018 | # non-numerical values disallowed. |
| 35019 | # |
| 35020 | # The default value is `400` ("normal"). |
| 35021 | # |
| 35022 | # The font weight makes up just one component of the rendered font weight. |
| 35023 | # The rendered weight is determined by a combination of the `weight` and the |
| 35024 | # text style's resolved `bold` value, after accounting for inheritance: |
| 35025 | # |
| 35026 | # * If the text is bold and the weight is less than `400`, the rendered |
| 35027 | # weight is 400. |
| 35028 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 35029 | # is less than `700`, the rendered weight is `700`. |
| 35030 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 35031 | # equal to the weight. |
| 35032 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 35033 | }, |
| 35034 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 35035 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 35036 | "magnitude": 3.14, # The magnitude. |
| 35037 | "unit": "A String", # The units for magnitude. |
| 35038 | }, |
| 35039 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 35040 | # or transparent, depending on the `color` field. |
| 35041 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 35042 | # a transparent color. |
| 35043 | "rgbColor": { # An RGB color. # The RGB color value. |
| 35044 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 35045 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 35046 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 35047 | }, |
| 35048 | }, |
| 35049 | }, |
| 35050 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 35051 | # are not inherited from parent text. |
| 35052 | # |
| 35053 | # Changing the link in an update request causes some other changes to the |
| 35054 | # text style of the range: |
| 35055 | # |
| 35056 | # * When setting a link, the text foreground color will be updated to the |
| 35057 | # default link color and the text will be underlined. If these fields are |
| 35058 | # modified in the same request, those values will be used instead of the |
| 35059 | # link defaults. |
| 35060 | # * Setting a link on a text range that overlaps with an existing link will |
| 35061 | # also update the existing link to point to the new URL. |
| 35062 | # * Links are not settable on newline characters. As a result, setting a link |
| 35063 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 35064 | # will separate the newline character(s) into their own text runs. The |
| 35065 | # link will be applied separately to the runs before and after the newline. |
| 35066 | # * Removing a link will update the text style of the range to match the |
| 35067 | # style of the preceding text (or the default text styles if the preceding |
| 35068 | # text is another link) unless different styles are being set in the same |
| 35069 | # request. |
| 35070 | "headingId": "A String", # The ID of a heading in this document. |
| 35071 | "url": "A String", # An external URL. |
| 35072 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 35073 | }, |
| 35074 | "underline": True or False, # Whether or not the text is underlined. |
| 35075 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 35076 | }, |
| 35077 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 35078 | # For any field set to true, there is a new suggested value. |
| 35079 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 35080 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 35081 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 35082 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 35083 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 35084 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 35085 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 35086 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 35087 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 35088 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 35089 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 35090 | }, |
| 35091 | }, |
| 35092 | }, |
| 35093 | "type": "A String", # The type of this auto text. |
| 35094 | "suggestedInsertionIds": [ # The suggested insertion IDs. An AutoText |
| 35095 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 35096 | # empty, then this is not a suggested insertion. |
| 35097 | "A String", |
| 35098 | ], |
| 35099 | }, |
| 35100 | "inlineObjectElement": { # A ParagraphElement that contains # An inline object paragraph element. |
| 35101 | # an InlineObject. |
| 35102 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this InlineObjectElement. |
| 35103 | # |
| 35104 | # Similar to text content, like text runs and footnote references, the text |
| 35105 | # style of an inline object element can affect content layout as well as the |
| 35106 | # styling of text inserted adjacent to it. |
| 35107 | # |
| 35108 | # Inherited text styles are represented as unset fields in this message. A |
| 35109 | # text style's parent depends on where the text style is defined: |
| 35110 | # |
| 35111 | # * The TextStyle of text in a Paragraph |
| 35112 | # inherits from the paragraph's corresponding named style type. |
| 35113 | # * The TextStyle on a named style |
| 35114 | # inherits from the normal text named style. |
| 35115 | # * The TextStyle of the normal text named style inherits |
| 35116 | # from the default text style in the Docs editor. |
| 35117 | # * The TextStyle on a Paragraph element |
| 35118 | # that is contained in a table may inherit its text style from the table |
| 35119 | # style. |
| 35120 | # |
| 35121 | # If the text style does not inherit from a parent, unsetting fields will |
| 35122 | # revert the style to a value matching the defaults in the Docs editor. |
| 35123 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 35124 | # or transparent, depending on the `color` field. |
| 35125 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 35126 | # a transparent color. |
| 35127 | "rgbColor": { # An RGB color. # The RGB color value. |
| 35128 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 35129 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 35130 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 35131 | }, |
| 35132 | }, |
| 35133 | }, |
| 35134 | "italic": True or False, # Whether or not the text is italicized. |
| 35135 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 35136 | # |
| 35137 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 35138 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 35139 | # The `font_size` itself is not affected by changes in this field. |
| 35140 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 35141 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 35142 | # |
| 35143 | # If an update request specifies values for both `weighted_font_family` and |
| 35144 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 35145 | # |
| 35146 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 35147 | # |
| 35148 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 35149 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 35150 | # is returned. |
| 35151 | "fontFamily": "A String", # The font family of the text. |
| 35152 | # |
| 35153 | # The font family can be any font from the Font menu in Docs or from |
| 35154 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 35155 | # unrecognized, the text is rendered in `Arial`. |
| 35156 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 35157 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 35158 | # numerical values described in the CSS 2.1 Specification, |
| 35159 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 35160 | # non-numerical values disallowed. |
| 35161 | # |
| 35162 | # The default value is `400` ("normal"). |
| 35163 | # |
| 35164 | # The font weight makes up just one component of the rendered font weight. |
| 35165 | # The rendered weight is determined by a combination of the `weight` and the |
| 35166 | # text style's resolved `bold` value, after accounting for inheritance: |
| 35167 | # |
| 35168 | # * If the text is bold and the weight is less than `400`, the rendered |
| 35169 | # weight is 400. |
| 35170 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 35171 | # is less than `700`, the rendered weight is `700`. |
| 35172 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 35173 | # equal to the weight. |
| 35174 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 35175 | }, |
| 35176 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 35177 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 35178 | "magnitude": 3.14, # The magnitude. |
| 35179 | "unit": "A String", # The units for magnitude. |
| 35180 | }, |
| 35181 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 35182 | # or transparent, depending on the `color` field. |
| 35183 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 35184 | # a transparent color. |
| 35185 | "rgbColor": { # An RGB color. # The RGB color value. |
| 35186 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 35187 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 35188 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 35189 | }, |
| 35190 | }, |
| 35191 | }, |
| 35192 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 35193 | # are not inherited from parent text. |
| 35194 | # |
| 35195 | # Changing the link in an update request causes some other changes to the |
| 35196 | # text style of the range: |
| 35197 | # |
| 35198 | # * When setting a link, the text foreground color will be updated to the |
| 35199 | # default link color and the text will be underlined. If these fields are |
| 35200 | # modified in the same request, those values will be used instead of the |
| 35201 | # link defaults. |
| 35202 | # * Setting a link on a text range that overlaps with an existing link will |
| 35203 | # also update the existing link to point to the new URL. |
| 35204 | # * Links are not settable on newline characters. As a result, setting a link |
| 35205 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 35206 | # will separate the newline character(s) into their own text runs. The |
| 35207 | # link will be applied separately to the runs before and after the newline. |
| 35208 | # * Removing a link will update the text style of the range to match the |
| 35209 | # style of the preceding text (or the default text styles if the preceding |
| 35210 | # text is another link) unless different styles are being set in the same |
| 35211 | # request. |
| 35212 | "headingId": "A String", # The ID of a heading in this document. |
| 35213 | "url": "A String", # An external URL. |
| 35214 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 35215 | }, |
| 35216 | "underline": True or False, # Whether or not the text is underlined. |
| 35217 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 35218 | }, |
| 35219 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 35220 | # of this content. |
| 35221 | "A String", |
| 35222 | ], |
| 35223 | "suggestedTextStyleChanges": { # The suggested text style changes to this InlineObject, keyed by suggestion |
| 35224 | # ID. |
| 35225 | "a_key": { # A suggested change to a TextStyle. |
| 35226 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 35227 | # the changes made in this suggestion. This can be used along with the |
| 35228 | # text_style_suggestion_state |
| 35229 | # to see which fields have changed and their new values. |
| 35230 | # |
| 35231 | # Inherited text styles are represented as unset fields in this message. A |
| 35232 | # text style's parent depends on where the text style is defined: |
| 35233 | # |
| 35234 | # * The TextStyle of text in a Paragraph |
| 35235 | # inherits from the paragraph's corresponding named style type. |
| 35236 | # * The TextStyle on a named style |
| 35237 | # inherits from the normal text named style. |
| 35238 | # * The TextStyle of the normal text named style inherits |
| 35239 | # from the default text style in the Docs editor. |
| 35240 | # * The TextStyle on a Paragraph element |
| 35241 | # that is contained in a table may inherit its text style from the table |
| 35242 | # style. |
| 35243 | # |
| 35244 | # If the text style does not inherit from a parent, unsetting fields will |
| 35245 | # revert the style to a value matching the defaults in the Docs editor. |
| 35246 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 35247 | # or transparent, depending on the `color` field. |
| 35248 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 35249 | # a transparent color. |
| 35250 | "rgbColor": { # An RGB color. # The RGB color value. |
| 35251 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 35252 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 35253 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 35254 | }, |
| 35255 | }, |
| 35256 | }, |
| 35257 | "italic": True or False, # Whether or not the text is italicized. |
| 35258 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 35259 | # |
| 35260 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 35261 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 35262 | # The `font_size` itself is not affected by changes in this field. |
| 35263 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 35264 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 35265 | # |
| 35266 | # If an update request specifies values for both `weighted_font_family` and |
| 35267 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 35268 | # |
| 35269 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 35270 | # |
| 35271 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 35272 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 35273 | # is returned. |
| 35274 | "fontFamily": "A String", # The font family of the text. |
| 35275 | # |
| 35276 | # The font family can be any font from the Font menu in Docs or from |
| 35277 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 35278 | # unrecognized, the text is rendered in `Arial`. |
| 35279 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 35280 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 35281 | # numerical values described in the CSS 2.1 Specification, |
| 35282 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 35283 | # non-numerical values disallowed. |
| 35284 | # |
| 35285 | # The default value is `400` ("normal"). |
| 35286 | # |
| 35287 | # The font weight makes up just one component of the rendered font weight. |
| 35288 | # The rendered weight is determined by a combination of the `weight` and the |
| 35289 | # text style's resolved `bold` value, after accounting for inheritance: |
| 35290 | # |
| 35291 | # * If the text is bold and the weight is less than `400`, the rendered |
| 35292 | # weight is 400. |
| 35293 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 35294 | # is less than `700`, the rendered weight is `700`. |
| 35295 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 35296 | # equal to the weight. |
| 35297 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 35298 | }, |
| 35299 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 35300 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 35301 | "magnitude": 3.14, # The magnitude. |
| 35302 | "unit": "A String", # The units for magnitude. |
| 35303 | }, |
| 35304 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 35305 | # or transparent, depending on the `color` field. |
| 35306 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 35307 | # a transparent color. |
| 35308 | "rgbColor": { # An RGB color. # The RGB color value. |
| 35309 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 35310 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 35311 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 35312 | }, |
| 35313 | }, |
| 35314 | }, |
| 35315 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 35316 | # are not inherited from parent text. |
| 35317 | # |
| 35318 | # Changing the link in an update request causes some other changes to the |
| 35319 | # text style of the range: |
| 35320 | # |
| 35321 | # * When setting a link, the text foreground color will be updated to the |
| 35322 | # default link color and the text will be underlined. If these fields are |
| 35323 | # modified in the same request, those values will be used instead of the |
| 35324 | # link defaults. |
| 35325 | # * Setting a link on a text range that overlaps with an existing link will |
| 35326 | # also update the existing link to point to the new URL. |
| 35327 | # * Links are not settable on newline characters. As a result, setting a link |
| 35328 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 35329 | # will separate the newline character(s) into their own text runs. The |
| 35330 | # link will be applied separately to the runs before and after the newline. |
| 35331 | # * Removing a link will update the text style of the range to match the |
| 35332 | # style of the preceding text (or the default text styles if the preceding |
| 35333 | # text is another link) unless different styles are being set in the same |
| 35334 | # request. |
| 35335 | "headingId": "A String", # The ID of a heading in this document. |
| 35336 | "url": "A String", # An external URL. |
| 35337 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 35338 | }, |
| 35339 | "underline": True or False, # Whether or not the text is underlined. |
| 35340 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 35341 | }, |
| 35342 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 35343 | # For any field set to true, there is a new suggested value. |
| 35344 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 35345 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 35346 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 35347 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 35348 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 35349 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 35350 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 35351 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 35352 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 35353 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 35354 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 35355 | }, |
| 35356 | }, |
| 35357 | }, |
| 35358 | "inlineObjectId": "A String", # The ID of the InlineObject this |
| 35359 | # element contains. |
| 35360 | "suggestedInsertionIds": [ # The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs |
| 35361 | # if it is a nested suggested change. If empty, then this is not a suggested |
| 35362 | # insertion. |
| 35363 | "A String", |
| 35364 | ], |
| 35365 | }, |
| 35366 | "footnoteReference": { # A ParagraphElement representing a # A footnote reference paragraph element. |
| 35367 | # footnote reference. A footnote reference is the inline content rendered with |
| 35368 | # a number and is used to identify the footnote. |
| 35369 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this FootnoteReference. |
| 35370 | # |
| 35371 | # Inherited text styles are represented as unset fields in this message. A |
| 35372 | # text style's parent depends on where the text style is defined: |
| 35373 | # |
| 35374 | # * The TextStyle of text in a Paragraph |
| 35375 | # inherits from the paragraph's corresponding named style type. |
| 35376 | # * The TextStyle on a named style |
| 35377 | # inherits from the normal text named style. |
| 35378 | # * The TextStyle of the normal text named style inherits |
| 35379 | # from the default text style in the Docs editor. |
| 35380 | # * The TextStyle on a Paragraph element |
| 35381 | # that is contained in a table may inherit its text style from the table |
| 35382 | # style. |
| 35383 | # |
| 35384 | # If the text style does not inherit from a parent, unsetting fields will |
| 35385 | # revert the style to a value matching the defaults in the Docs editor. |
| 35386 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 35387 | # or transparent, depending on the `color` field. |
| 35388 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 35389 | # a transparent color. |
| 35390 | "rgbColor": { # An RGB color. # The RGB color value. |
| 35391 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 35392 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 35393 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 35394 | }, |
| 35395 | }, |
| 35396 | }, |
| 35397 | "italic": True or False, # Whether or not the text is italicized. |
| 35398 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 35399 | # |
| 35400 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 35401 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 35402 | # The `font_size` itself is not affected by changes in this field. |
| 35403 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 35404 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 35405 | # |
| 35406 | # If an update request specifies values for both `weighted_font_family` and |
| 35407 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 35408 | # |
| 35409 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 35410 | # |
| 35411 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 35412 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 35413 | # is returned. |
| 35414 | "fontFamily": "A String", # The font family of the text. |
| 35415 | # |
| 35416 | # The font family can be any font from the Font menu in Docs or from |
| 35417 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 35418 | # unrecognized, the text is rendered in `Arial`. |
| 35419 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 35420 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 35421 | # numerical values described in the CSS 2.1 Specification, |
| 35422 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 35423 | # non-numerical values disallowed. |
| 35424 | # |
| 35425 | # The default value is `400` ("normal"). |
| 35426 | # |
| 35427 | # The font weight makes up just one component of the rendered font weight. |
| 35428 | # The rendered weight is determined by a combination of the `weight` and the |
| 35429 | # text style's resolved `bold` value, after accounting for inheritance: |
| 35430 | # |
| 35431 | # * If the text is bold and the weight is less than `400`, the rendered |
| 35432 | # weight is 400. |
| 35433 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 35434 | # is less than `700`, the rendered weight is `700`. |
| 35435 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 35436 | # equal to the weight. |
| 35437 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 35438 | }, |
| 35439 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 35440 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 35441 | "magnitude": 3.14, # The magnitude. |
| 35442 | "unit": "A String", # The units for magnitude. |
| 35443 | }, |
| 35444 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 35445 | # or transparent, depending on the `color` field. |
| 35446 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 35447 | # a transparent color. |
| 35448 | "rgbColor": { # An RGB color. # The RGB color value. |
| 35449 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 35450 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 35451 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 35452 | }, |
| 35453 | }, |
| 35454 | }, |
| 35455 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 35456 | # are not inherited from parent text. |
| 35457 | # |
| 35458 | # Changing the link in an update request causes some other changes to the |
| 35459 | # text style of the range: |
| 35460 | # |
| 35461 | # * When setting a link, the text foreground color will be updated to the |
| 35462 | # default link color and the text will be underlined. If these fields are |
| 35463 | # modified in the same request, those values will be used instead of the |
| 35464 | # link defaults. |
| 35465 | # * Setting a link on a text range that overlaps with an existing link will |
| 35466 | # also update the existing link to point to the new URL. |
| 35467 | # * Links are not settable on newline characters. As a result, setting a link |
| 35468 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 35469 | # will separate the newline character(s) into their own text runs. The |
| 35470 | # link will be applied separately to the runs before and after the newline. |
| 35471 | # * Removing a link will update the text style of the range to match the |
| 35472 | # style of the preceding text (or the default text styles if the preceding |
| 35473 | # text is another link) unless different styles are being set in the same |
| 35474 | # request. |
| 35475 | "headingId": "A String", # The ID of a heading in this document. |
| 35476 | "url": "A String", # An external URL. |
| 35477 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 35478 | }, |
| 35479 | "underline": True or False, # Whether or not the text is underlined. |
| 35480 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 35481 | }, |
| 35482 | "footnoteNumber": "A String", # The rendered number of this footnote. |
| 35483 | "suggestedInsertionIds": [ # The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if |
| 35484 | # it is a nested suggested change. If empty, then this is not a suggested |
| 35485 | # insertion. |
| 35486 | "A String", |
| 35487 | ], |
| 35488 | "footnoteId": "A String", # The ID of the footnote that |
| 35489 | # contains the content of this footnote reference. |
| 35490 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 35491 | # of this content. |
| 35492 | "A String", |
| 35493 | ], |
| 35494 | "suggestedTextStyleChanges": { # The suggested text style changes to this FootnoteReference, keyed by |
| 35495 | # suggestion ID. |
| 35496 | "a_key": { # A suggested change to a TextStyle. |
| 35497 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 35498 | # the changes made in this suggestion. This can be used along with the |
| 35499 | # text_style_suggestion_state |
| 35500 | # to see which fields have changed and their new values. |
| 35501 | # |
| 35502 | # Inherited text styles are represented as unset fields in this message. A |
| 35503 | # text style's parent depends on where the text style is defined: |
| 35504 | # |
| 35505 | # * The TextStyle of text in a Paragraph |
| 35506 | # inherits from the paragraph's corresponding named style type. |
| 35507 | # * The TextStyle on a named style |
| 35508 | # inherits from the normal text named style. |
| 35509 | # * The TextStyle of the normal text named style inherits |
| 35510 | # from the default text style in the Docs editor. |
| 35511 | # * The TextStyle on a Paragraph element |
| 35512 | # that is contained in a table may inherit its text style from the table |
| 35513 | # style. |
| 35514 | # |
| 35515 | # If the text style does not inherit from a parent, unsetting fields will |
| 35516 | # revert the style to a value matching the defaults in the Docs editor. |
| 35517 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 35518 | # or transparent, depending on the `color` field. |
| 35519 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 35520 | # a transparent color. |
| 35521 | "rgbColor": { # An RGB color. # The RGB color value. |
| 35522 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 35523 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 35524 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 35525 | }, |
| 35526 | }, |
| 35527 | }, |
| 35528 | "italic": True or False, # Whether or not the text is italicized. |
| 35529 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 35530 | # |
| 35531 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 35532 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 35533 | # The `font_size` itself is not affected by changes in this field. |
| 35534 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 35535 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 35536 | # |
| 35537 | # If an update request specifies values for both `weighted_font_family` and |
| 35538 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 35539 | # |
| 35540 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 35541 | # |
| 35542 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 35543 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 35544 | # is returned. |
| 35545 | "fontFamily": "A String", # The font family of the text. |
| 35546 | # |
| 35547 | # The font family can be any font from the Font menu in Docs or from |
| 35548 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 35549 | # unrecognized, the text is rendered in `Arial`. |
| 35550 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 35551 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 35552 | # numerical values described in the CSS 2.1 Specification, |
| 35553 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 35554 | # non-numerical values disallowed. |
| 35555 | # |
| 35556 | # The default value is `400` ("normal"). |
| 35557 | # |
| 35558 | # The font weight makes up just one component of the rendered font weight. |
| 35559 | # The rendered weight is determined by a combination of the `weight` and the |
| 35560 | # text style's resolved `bold` value, after accounting for inheritance: |
| 35561 | # |
| 35562 | # * If the text is bold and the weight is less than `400`, the rendered |
| 35563 | # weight is 400. |
| 35564 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 35565 | # is less than `700`, the rendered weight is `700`. |
| 35566 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 35567 | # equal to the weight. |
| 35568 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 35569 | }, |
| 35570 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 35571 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 35572 | "magnitude": 3.14, # The magnitude. |
| 35573 | "unit": "A String", # The units for magnitude. |
| 35574 | }, |
| 35575 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 35576 | # or transparent, depending on the `color` field. |
| 35577 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 35578 | # a transparent color. |
| 35579 | "rgbColor": { # An RGB color. # The RGB color value. |
| 35580 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 35581 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 35582 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 35583 | }, |
| 35584 | }, |
| 35585 | }, |
| 35586 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 35587 | # are not inherited from parent text. |
| 35588 | # |
| 35589 | # Changing the link in an update request causes some other changes to the |
| 35590 | # text style of the range: |
| 35591 | # |
| 35592 | # * When setting a link, the text foreground color will be updated to the |
| 35593 | # default link color and the text will be underlined. If these fields are |
| 35594 | # modified in the same request, those values will be used instead of the |
| 35595 | # link defaults. |
| 35596 | # * Setting a link on a text range that overlaps with an existing link will |
| 35597 | # also update the existing link to point to the new URL. |
| 35598 | # * Links are not settable on newline characters. As a result, setting a link |
| 35599 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 35600 | # will separate the newline character(s) into their own text runs. The |
| 35601 | # link will be applied separately to the runs before and after the newline. |
| 35602 | # * Removing a link will update the text style of the range to match the |
| 35603 | # style of the preceding text (or the default text styles if the preceding |
| 35604 | # text is another link) unless different styles are being set in the same |
| 35605 | # request. |
| 35606 | "headingId": "A String", # The ID of a heading in this document. |
| 35607 | "url": "A String", # An external URL. |
| 35608 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 35609 | }, |
| 35610 | "underline": True or False, # Whether or not the text is underlined. |
| 35611 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 35612 | }, |
| 35613 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 35614 | # For any field set to true, there is a new suggested value. |
| 35615 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 35616 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 35617 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 35618 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 35619 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 35620 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 35621 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 35622 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 35623 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 35624 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 35625 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 35626 | }, |
| 35627 | }, |
| 35628 | }, |
| 35629 | }, |
| 35630 | }, |
| 35631 | ], |
| 35632 | "suggestedPositionedObjectIds": { # The IDs of the positioned objects that are suggested to be attached to this |
| 35633 | # paragraph, keyed by suggestion ID. |
| 35634 | "a_key": { # A collection of object IDs. |
| 35635 | "objectIds": [ # The object IDs. |
| 35636 | "A String", |
| 35637 | ], |
| 35638 | }, |
| 35639 | }, |
| 35640 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 35641 | # belong to a list. |
| 35642 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 35643 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 35644 | "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| 35645 | # |
| 35646 | # Inherited text styles are represented as unset fields in this message. A |
| 35647 | # text style's parent depends on where the text style is defined: |
| 35648 | # |
| 35649 | # * The TextStyle of text in a Paragraph |
| 35650 | # inherits from the paragraph's corresponding named style type. |
| 35651 | # * The TextStyle on a named style |
| 35652 | # inherits from the normal text named style. |
| 35653 | # * The TextStyle of the normal text named style inherits |
| 35654 | # from the default text style in the Docs editor. |
| 35655 | # * The TextStyle on a Paragraph element |
| 35656 | # that is contained in a table may inherit its text style from the table |
| 35657 | # style. |
| 35658 | # |
| 35659 | # If the text style does not inherit from a parent, unsetting fields will |
| 35660 | # revert the style to a value matching the defaults in the Docs editor. |
| 35661 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 35662 | # or transparent, depending on the `color` field. |
| 35663 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 35664 | # a transparent color. |
| 35665 | "rgbColor": { # An RGB color. # The RGB color value. |
| 35666 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 35667 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 35668 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 35669 | }, |
| 35670 | }, |
| 35671 | }, |
| 35672 | "italic": True or False, # Whether or not the text is italicized. |
| 35673 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 35674 | # |
| 35675 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 35676 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 35677 | # The `font_size` itself is not affected by changes in this field. |
| 35678 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 35679 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 35680 | # |
| 35681 | # If an update request specifies values for both `weighted_font_family` and |
| 35682 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 35683 | # |
| 35684 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 35685 | # |
| 35686 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 35687 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 35688 | # is returned. |
| 35689 | "fontFamily": "A String", # The font family of the text. |
| 35690 | # |
| 35691 | # The font family can be any font from the Font menu in Docs or from |
| 35692 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 35693 | # unrecognized, the text is rendered in `Arial`. |
| 35694 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 35695 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 35696 | # numerical values described in the CSS 2.1 Specification, |
| 35697 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 35698 | # non-numerical values disallowed. |
| 35699 | # |
| 35700 | # The default value is `400` ("normal"). |
| 35701 | # |
| 35702 | # The font weight makes up just one component of the rendered font weight. |
| 35703 | # The rendered weight is determined by a combination of the `weight` and the |
| 35704 | # text style's resolved `bold` value, after accounting for inheritance: |
| 35705 | # |
| 35706 | # * If the text is bold and the weight is less than `400`, the rendered |
| 35707 | # weight is 400. |
| 35708 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 35709 | # is less than `700`, the rendered weight is `700`. |
| 35710 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 35711 | # equal to the weight. |
| 35712 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 35713 | }, |
| 35714 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 35715 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 35716 | "magnitude": 3.14, # The magnitude. |
| 35717 | "unit": "A String", # The units for magnitude. |
| 35718 | }, |
| 35719 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 35720 | # or transparent, depending on the `color` field. |
| 35721 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 35722 | # a transparent color. |
| 35723 | "rgbColor": { # An RGB color. # The RGB color value. |
| 35724 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 35725 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 35726 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 35727 | }, |
| 35728 | }, |
| 35729 | }, |
| 35730 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 35731 | # are not inherited from parent text. |
| 35732 | # |
| 35733 | # Changing the link in an update request causes some other changes to the |
| 35734 | # text style of the range: |
| 35735 | # |
| 35736 | # * When setting a link, the text foreground color will be updated to the |
| 35737 | # default link color and the text will be underlined. If these fields are |
| 35738 | # modified in the same request, those values will be used instead of the |
| 35739 | # link defaults. |
| 35740 | # * Setting a link on a text range that overlaps with an existing link will |
| 35741 | # also update the existing link to point to the new URL. |
| 35742 | # * Links are not settable on newline characters. As a result, setting a link |
| 35743 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 35744 | # will separate the newline character(s) into their own text runs. The |
| 35745 | # link will be applied separately to the runs before and after the newline. |
| 35746 | # * Removing a link will update the text style of the range to match the |
| 35747 | # style of the preceding text (or the default text styles if the preceding |
| 35748 | # text is another link) unless different styles are being set in the same |
| 35749 | # request. |
| 35750 | "headingId": "A String", # The ID of a heading in this document. |
| 35751 | "url": "A String", # An external URL. |
| 35752 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 35753 | }, |
| 35754 | "underline": True or False, # Whether or not the text is underlined. |
| 35755 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 35756 | }, |
| 35757 | }, |
| 35758 | "suggestedBulletChanges": { # The suggested changes to this paragraph's bullet. |
| 35759 | "a_key": { # A suggested change to a Bullet. |
| 35760 | "bullet": { # Describes the bullet of a paragraph. # A Bullet that only includes the changes made |
| 35761 | # in this suggestion. This can be used along with the |
| 35762 | # bullet_suggestion_state to see which |
| 35763 | # fields have changed and their new values. |
| 35764 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 35765 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 35766 | "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| 35767 | # |
| 35768 | # Inherited text styles are represented as unset fields in this message. A |
| 35769 | # text style's parent depends on where the text style is defined: |
| 35770 | # |
| 35771 | # * The TextStyle of text in a Paragraph |
| 35772 | # inherits from the paragraph's corresponding named style type. |
| 35773 | # * The TextStyle on a named style |
| 35774 | # inherits from the normal text named style. |
| 35775 | # * The TextStyle of the normal text named style inherits |
| 35776 | # from the default text style in the Docs editor. |
| 35777 | # * The TextStyle on a Paragraph element |
| 35778 | # that is contained in a table may inherit its text style from the table |
| 35779 | # style. |
| 35780 | # |
| 35781 | # If the text style does not inherit from a parent, unsetting fields will |
| 35782 | # revert the style to a value matching the defaults in the Docs editor. |
| 35783 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 35784 | # or transparent, depending on the `color` field. |
| 35785 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 35786 | # a transparent color. |
| 35787 | "rgbColor": { # An RGB color. # The RGB color value. |
| 35788 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 35789 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 35790 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 35791 | }, |
| 35792 | }, |
| 35793 | }, |
| 35794 | "italic": True or False, # Whether or not the text is italicized. |
| 35795 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 35796 | # |
| 35797 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 35798 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 35799 | # The `font_size` itself is not affected by changes in this field. |
| 35800 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 35801 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 35802 | # |
| 35803 | # If an update request specifies values for both `weighted_font_family` and |
| 35804 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 35805 | # |
| 35806 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 35807 | # |
| 35808 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 35809 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 35810 | # is returned. |
| 35811 | "fontFamily": "A String", # The font family of the text. |
| 35812 | # |
| 35813 | # The font family can be any font from the Font menu in Docs or from |
| 35814 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 35815 | # unrecognized, the text is rendered in `Arial`. |
| 35816 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 35817 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 35818 | # numerical values described in the CSS 2.1 Specification, |
| 35819 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 35820 | # non-numerical values disallowed. |
| 35821 | # |
| 35822 | # The default value is `400` ("normal"). |
| 35823 | # |
| 35824 | # The font weight makes up just one component of the rendered font weight. |
| 35825 | # The rendered weight is determined by a combination of the `weight` and the |
| 35826 | # text style's resolved `bold` value, after accounting for inheritance: |
| 35827 | # |
| 35828 | # * If the text is bold and the weight is less than `400`, the rendered |
| 35829 | # weight is 400. |
| 35830 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 35831 | # is less than `700`, the rendered weight is `700`. |
| 35832 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 35833 | # equal to the weight. |
| 35834 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 35835 | }, |
| 35836 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 35837 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 35838 | "magnitude": 3.14, # The magnitude. |
| 35839 | "unit": "A String", # The units for magnitude. |
| 35840 | }, |
| 35841 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 35842 | # or transparent, depending on the `color` field. |
| 35843 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 35844 | # a transparent color. |
| 35845 | "rgbColor": { # An RGB color. # The RGB color value. |
| 35846 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 35847 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 35848 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 35849 | }, |
| 35850 | }, |
| 35851 | }, |
| 35852 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 35853 | # are not inherited from parent text. |
| 35854 | # |
| 35855 | # Changing the link in an update request causes some other changes to the |
| 35856 | # text style of the range: |
| 35857 | # |
| 35858 | # * When setting a link, the text foreground color will be updated to the |
| 35859 | # default link color and the text will be underlined. If these fields are |
| 35860 | # modified in the same request, those values will be used instead of the |
| 35861 | # link defaults. |
| 35862 | # * Setting a link on a text range that overlaps with an existing link will |
| 35863 | # also update the existing link to point to the new URL. |
| 35864 | # * Links are not settable on newline characters. As a result, setting a link |
| 35865 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 35866 | # will separate the newline character(s) into their own text runs. The |
| 35867 | # link will be applied separately to the runs before and after the newline. |
| 35868 | # * Removing a link will update the text style of the range to match the |
| 35869 | # style of the preceding text (or the default text styles if the preceding |
| 35870 | # text is another link) unless different styles are being set in the same |
| 35871 | # request. |
| 35872 | "headingId": "A String", # The ID of a heading in this document. |
| 35873 | "url": "A String", # An external URL. |
| 35874 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 35875 | }, |
| 35876 | "underline": True or False, # Whether or not the text is underlined. |
| 35877 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 35878 | }, |
| 35879 | }, |
| 35880 | "bulletSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| 35881 | # Bullet have been changed in this suggestion. |
| 35882 | # Bullet have been changed in this suggestion. |
| 35883 | # For any field set to true, there is a new suggested value. |
| 35884 | "nestingLevelSuggested": True or False, # Indicates if there was a suggested change to the |
| 35885 | # nesting_level. |
| 35886 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| 35887 | # suggestion. |
| 35888 | # For any field set to true, there is a new suggested value. |
| 35889 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 35890 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 35891 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 35892 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 35893 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 35894 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 35895 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 35896 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 35897 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 35898 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 35899 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 35900 | }, |
| 35901 | "listIdSuggested": True or False, # Indicates if there was a suggested change to the |
| 35902 | # list_id. |
| 35903 | }, |
| 35904 | }, |
| 35905 | }, |
| 35906 | "positionedObjectIds": [ # The IDs of the positioned objects tethered to this paragraph. |
| 35907 | "A String", |
| 35908 | ], |
| 35909 | "suggestedParagraphStyleChanges": { # The suggested paragraph style changes to this paragraph, keyed by |
| 35910 | # suggestion ID. |
| 35911 | "a_key": { # A suggested change to a |
| 35912 | # ParagraphStyle. |
| 35913 | "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. |
| 35914 | # For any field set to true, there is a new suggested value. |
| 35915 | "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| 35916 | "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| 35917 | "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| 35918 | "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| 35919 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 35920 | "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| 35921 | "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| 35922 | "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| 35923 | "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| 35924 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 35925 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 35926 | "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| 35927 | "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| 35928 | "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| 35929 | "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| 35930 | "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| 35931 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 35932 | "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| 35933 | "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| 35934 | "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| 35935 | # this suggestion. |
| 35936 | # suggested change. For any field set to true, there is a new suggested value. |
| 35937 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| 35938 | }, |
| 35939 | }, |
| 35940 | "paragraphStyle": { # Styles that apply to a whole paragraph. # A ParagraphStyle that only includes |
| 35941 | # the changes made in this suggestion. This can be used along with the |
| 35942 | # paragraph_suggestion_state |
| 35943 | # to see which fields have changed and their new values. |
| 35944 | # |
| 35945 | # Inherited paragraph styles are represented as unset fields in this message. |
| 35946 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 35947 | # |
| 35948 | # * The ParagraphStyle on a Paragraph |
| 35949 | # inherits from the paragraph's corresponding named style type. |
| 35950 | # * The ParagraphStyle on a named style |
| 35951 | # inherits from the normal text named style. |
| 35952 | # * The ParagraphStyle of the normal text named style inherits |
| 35953 | # from the default paragraph style in the Docs editor. |
| 35954 | # * The ParagraphStyle on a Paragraph |
| 35955 | # element that is contained in a table may inherit its paragraph style from |
| 35956 | # the table style. |
| 35957 | # |
| 35958 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 35959 | # revert the style to a value matching the defaults in the Docs editor. |
| 35960 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 35961 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 35962 | # LEFT_TO_RIGHT since |
| 35963 | # paragraph direction is not inherited. |
| 35964 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 35965 | # inherited from the parent. |
| 35966 | "magnitude": 3.14, # The magnitude. |
| 35967 | "unit": "A String", # The units for magnitude. |
| 35968 | }, |
| 35969 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 35970 | # page or column as the next paragraph if possible. If unset, the value is |
| 35971 | # inherited from the parent. |
| 35972 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 35973 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 35974 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 35975 | # is inherited from the parent. |
| 35976 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 35977 | # inherited from the parent. |
| 35978 | # |
| 35979 | # The bottom border is rendered when the paragraph below has different border |
| 35980 | # and indent properties. |
| 35981 | # |
| 35982 | # Paragraph borders cannot be partially updated. When making |
| 35983 | # changes to a paragraph border the new border must be specified in |
| 35984 | # its entirety. |
| 35985 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 35986 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 35987 | # a transparent color. |
| 35988 | "rgbColor": { # An RGB color. # The RGB color value. |
| 35989 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 35990 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 35991 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 35992 | }, |
| 35993 | }, |
| 35994 | }, |
| 35995 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 35996 | "magnitude": 3.14, # The magnitude. |
| 35997 | "unit": "A String", # The units for magnitude. |
| 35998 | }, |
| 35999 | "dashStyle": "A String", # The dash style of the border. |
| 36000 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 36001 | "magnitude": 3.14, # The magnitude. |
| 36002 | "unit": "A String", # The units for magnitude. |
| 36003 | }, |
| 36004 | }, |
| 36005 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 36006 | # the start of the text, based on the current paragraph direction. If unset, |
| 36007 | # the value is inherited from the parent. |
| 36008 | "magnitude": 3.14, # The magnitude. |
| 36009 | "unit": "A String", # The units for magnitude. |
| 36010 | }, |
| 36011 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 36012 | # If unset, the value is inherited from the parent. |
| 36013 | # |
| 36014 | # The between border is rendered when the adjacent paragraph has the same |
| 36015 | # border and indent properties. |
| 36016 | # |
| 36017 | # Paragraph borders cannot be partially updated. When making |
| 36018 | # changes to a paragraph border the new border must be specified in |
| 36019 | # its entirety. |
| 36020 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 36021 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36022 | # a transparent color. |
| 36023 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36024 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36025 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36026 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36027 | }, |
| 36028 | }, |
| 36029 | }, |
| 36030 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 36031 | "magnitude": 3.14, # The magnitude. |
| 36032 | "unit": "A String", # The units for magnitude. |
| 36033 | }, |
| 36034 | "dashStyle": "A String", # The dash style of the border. |
| 36035 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 36036 | "magnitude": 3.14, # The magnitude. |
| 36037 | "unit": "A String", # The units for magnitude. |
| 36038 | }, |
| 36039 | }, |
| 36040 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 36041 | # |
| 36042 | # Since updating the named style type affects other properties within |
| 36043 | # ParagraphStyle, the named style type is applied before the other properties |
| 36044 | # are updated. |
| 36045 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 36046 | # from the parent. |
| 36047 | # |
| 36048 | # Paragraph borders cannot be partially updated. When making |
| 36049 | # changes to a paragraph border the new border must be specified in |
| 36050 | # its entirety. |
| 36051 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 36052 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36053 | # a transparent color. |
| 36054 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36055 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36056 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36057 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36058 | }, |
| 36059 | }, |
| 36060 | }, |
| 36061 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 36062 | "magnitude": 3.14, # The magnitude. |
| 36063 | "unit": "A String", # The units for magnitude. |
| 36064 | }, |
| 36065 | "dashStyle": "A String", # The dash style of the border. |
| 36066 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 36067 | "magnitude": 3.14, # The magnitude. |
| 36068 | "unit": "A String", # The units for magnitude. |
| 36069 | }, |
| 36070 | }, |
| 36071 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 36072 | # the end of the text, based on the current paragraph direction. If unset, |
| 36073 | # the value is inherited from the parent. |
| 36074 | "magnitude": 3.14, # The magnitude. |
| 36075 | "unit": "A String", # The units for magnitude. |
| 36076 | }, |
| 36077 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 36078 | # from the parent. |
| 36079 | # |
| 36080 | # Paragraph borders cannot be partially updated. When making |
| 36081 | # changes to a paragraph border the new border must be specified in |
| 36082 | # its entirety. |
| 36083 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 36084 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36085 | # a transparent color. |
| 36086 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36087 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36088 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36089 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36090 | }, |
| 36091 | }, |
| 36092 | }, |
| 36093 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 36094 | "magnitude": 3.14, # The magnitude. |
| 36095 | "unit": "A String", # The units for magnitude. |
| 36096 | }, |
| 36097 | "dashStyle": "A String", # The dash style of the border. |
| 36098 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 36099 | "magnitude": 3.14, # The magnitude. |
| 36100 | "unit": "A String", # The units for magnitude. |
| 36101 | }, |
| 36102 | }, |
| 36103 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 36104 | # inherited from the parent. |
| 36105 | "magnitude": 3.14, # The magnitude. |
| 36106 | "unit": "A String", # The units for magnitude. |
| 36107 | }, |
| 36108 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 36109 | # heading. This property is read-only. |
| 36110 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 36111 | # parent. |
| 36112 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 36113 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36114 | # a transparent color. |
| 36115 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36116 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36117 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36118 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36119 | }, |
| 36120 | }, |
| 36121 | }, |
| 36122 | }, |
| 36123 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 36124 | # from the parent. |
| 36125 | # |
| 36126 | # The top border is rendered when the paragraph above has different border |
| 36127 | # and indent properties. |
| 36128 | # |
| 36129 | # Paragraph borders cannot be partially updated. When making |
| 36130 | # changes to a paragraph border the new border must be specified in |
| 36131 | # its entirety. |
| 36132 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 36133 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36134 | # a transparent color. |
| 36135 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36136 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36137 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36138 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36139 | }, |
| 36140 | }, |
| 36141 | }, |
| 36142 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 36143 | "magnitude": 3.14, # The magnitude. |
| 36144 | "unit": "A String", # The units for magnitude. |
| 36145 | }, |
| 36146 | "dashStyle": "A String", # The dash style of the border. |
| 36147 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 36148 | "magnitude": 3.14, # The magnitude. |
| 36149 | "unit": "A String", # The units for magnitude. |
| 36150 | }, |
| 36151 | }, |
| 36152 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 36153 | # inherited. This property is read-only. |
| 36154 | { # A tab stop within a paragraph. |
| 36155 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 36156 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 36157 | "magnitude": 3.14, # The magnitude. |
| 36158 | "unit": "A String", # The units for magnitude. |
| 36159 | }, |
| 36160 | }, |
| 36161 | ], |
| 36162 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 36163 | # the value is inherited from the parent. |
| 36164 | "magnitude": 3.14, # The magnitude. |
| 36165 | "unit": "A String", # The units for magnitude. |
| 36166 | }, |
| 36167 | "alignment": "A String", # The text alignment for this paragraph. |
| 36168 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 36169 | # column if possible. If unset, the value is inherited from the parent. |
| 36170 | }, |
| 36171 | }, |
| 36172 | }, |
| 36173 | "paragraphStyle": { # Styles that apply to a whole paragraph. # The style of this paragraph. |
| 36174 | # |
| 36175 | # Inherited paragraph styles are represented as unset fields in this message. |
| 36176 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 36177 | # |
| 36178 | # * The ParagraphStyle on a Paragraph |
| 36179 | # inherits from the paragraph's corresponding named style type. |
| 36180 | # * The ParagraphStyle on a named style |
| 36181 | # inherits from the normal text named style. |
| 36182 | # * The ParagraphStyle of the normal text named style inherits |
| 36183 | # from the default paragraph style in the Docs editor. |
| 36184 | # * The ParagraphStyle on a Paragraph |
| 36185 | # element that is contained in a table may inherit its paragraph style from |
| 36186 | # the table style. |
| 36187 | # |
| 36188 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 36189 | # revert the style to a value matching the defaults in the Docs editor. |
| 36190 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 36191 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 36192 | # LEFT_TO_RIGHT since |
| 36193 | # paragraph direction is not inherited. |
| 36194 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 36195 | # inherited from the parent. |
| 36196 | "magnitude": 3.14, # The magnitude. |
| 36197 | "unit": "A String", # The units for magnitude. |
| 36198 | }, |
| 36199 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 36200 | # page or column as the next paragraph if possible. If unset, the value is |
| 36201 | # inherited from the parent. |
| 36202 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 36203 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 36204 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 36205 | # is inherited from the parent. |
| 36206 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 36207 | # inherited from the parent. |
| 36208 | # |
| 36209 | # The bottom border is rendered when the paragraph below has different border |
| 36210 | # and indent properties. |
| 36211 | # |
| 36212 | # Paragraph borders cannot be partially updated. When making |
| 36213 | # changes to a paragraph border the new border must be specified in |
| 36214 | # its entirety. |
| 36215 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 36216 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36217 | # a transparent color. |
| 36218 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36219 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36220 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36221 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36222 | }, |
| 36223 | }, |
| 36224 | }, |
| 36225 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 36226 | "magnitude": 3.14, # The magnitude. |
| 36227 | "unit": "A String", # The units for magnitude. |
| 36228 | }, |
| 36229 | "dashStyle": "A String", # The dash style of the border. |
| 36230 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 36231 | "magnitude": 3.14, # The magnitude. |
| 36232 | "unit": "A String", # The units for magnitude. |
| 36233 | }, |
| 36234 | }, |
| 36235 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 36236 | # the start of the text, based on the current paragraph direction. If unset, |
| 36237 | # the value is inherited from the parent. |
| 36238 | "magnitude": 3.14, # The magnitude. |
| 36239 | "unit": "A String", # The units for magnitude. |
| 36240 | }, |
| 36241 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 36242 | # If unset, the value is inherited from the parent. |
| 36243 | # |
| 36244 | # The between border is rendered when the adjacent paragraph has the same |
| 36245 | # border and indent properties. |
| 36246 | # |
| 36247 | # Paragraph borders cannot be partially updated. When making |
| 36248 | # changes to a paragraph border the new border must be specified in |
| 36249 | # its entirety. |
| 36250 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 36251 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36252 | # a transparent color. |
| 36253 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36254 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36255 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36256 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36257 | }, |
| 36258 | }, |
| 36259 | }, |
| 36260 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 36261 | "magnitude": 3.14, # The magnitude. |
| 36262 | "unit": "A String", # The units for magnitude. |
| 36263 | }, |
| 36264 | "dashStyle": "A String", # The dash style of the border. |
| 36265 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 36266 | "magnitude": 3.14, # The magnitude. |
| 36267 | "unit": "A String", # The units for magnitude. |
| 36268 | }, |
| 36269 | }, |
| 36270 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 36271 | # |
| 36272 | # Since updating the named style type affects other properties within |
| 36273 | # ParagraphStyle, the named style type is applied before the other properties |
| 36274 | # are updated. |
| 36275 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 36276 | # from the parent. |
| 36277 | # |
| 36278 | # Paragraph borders cannot be partially updated. When making |
| 36279 | # changes to a paragraph border the new border must be specified in |
| 36280 | # its entirety. |
| 36281 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 36282 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36283 | # a transparent color. |
| 36284 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36285 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36286 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36287 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36288 | }, |
| 36289 | }, |
| 36290 | }, |
| 36291 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 36292 | "magnitude": 3.14, # The magnitude. |
| 36293 | "unit": "A String", # The units for magnitude. |
| 36294 | }, |
| 36295 | "dashStyle": "A String", # The dash style of the border. |
| 36296 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 36297 | "magnitude": 3.14, # The magnitude. |
| 36298 | "unit": "A String", # The units for magnitude. |
| 36299 | }, |
| 36300 | }, |
| 36301 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 36302 | # the end of the text, based on the current paragraph direction. If unset, |
| 36303 | # the value is inherited from the parent. |
| 36304 | "magnitude": 3.14, # The magnitude. |
| 36305 | "unit": "A String", # The units for magnitude. |
| 36306 | }, |
| 36307 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 36308 | # from the parent. |
| 36309 | # |
| 36310 | # Paragraph borders cannot be partially updated. When making |
| 36311 | # changes to a paragraph border the new border must be specified in |
| 36312 | # its entirety. |
| 36313 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 36314 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36315 | # a transparent color. |
| 36316 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36317 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36318 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36319 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36320 | }, |
| 36321 | }, |
| 36322 | }, |
| 36323 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 36324 | "magnitude": 3.14, # The magnitude. |
| 36325 | "unit": "A String", # The units for magnitude. |
| 36326 | }, |
| 36327 | "dashStyle": "A String", # The dash style of the border. |
| 36328 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 36329 | "magnitude": 3.14, # The magnitude. |
| 36330 | "unit": "A String", # The units for magnitude. |
| 36331 | }, |
| 36332 | }, |
| 36333 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 36334 | # inherited from the parent. |
| 36335 | "magnitude": 3.14, # The magnitude. |
| 36336 | "unit": "A String", # The units for magnitude. |
| 36337 | }, |
| 36338 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 36339 | # heading. This property is read-only. |
| 36340 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 36341 | # parent. |
| 36342 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 36343 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36344 | # a transparent color. |
| 36345 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36346 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36347 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36348 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36349 | }, |
| 36350 | }, |
| 36351 | }, |
| 36352 | }, |
| 36353 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 36354 | # from the parent. |
| 36355 | # |
| 36356 | # The top border is rendered when the paragraph above has different border |
| 36357 | # and indent properties. |
| 36358 | # |
| 36359 | # Paragraph borders cannot be partially updated. When making |
| 36360 | # changes to a paragraph border the new border must be specified in |
| 36361 | # its entirety. |
| 36362 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 36363 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36364 | # a transparent color. |
| 36365 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36366 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36367 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36368 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36369 | }, |
| 36370 | }, |
| 36371 | }, |
| 36372 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 36373 | "magnitude": 3.14, # The magnitude. |
| 36374 | "unit": "A String", # The units for magnitude. |
| 36375 | }, |
| 36376 | "dashStyle": "A String", # The dash style of the border. |
| 36377 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 36378 | "magnitude": 3.14, # The magnitude. |
| 36379 | "unit": "A String", # The units for magnitude. |
| 36380 | }, |
| 36381 | }, |
| 36382 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 36383 | # inherited. This property is read-only. |
| 36384 | { # A tab stop within a paragraph. |
| 36385 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 36386 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 36387 | "magnitude": 3.14, # The magnitude. |
| 36388 | "unit": "A String", # The units for magnitude. |
| 36389 | }, |
| 36390 | }, |
| 36391 | ], |
| 36392 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 36393 | # the value is inherited from the parent. |
| 36394 | "magnitude": 3.14, # The magnitude. |
| 36395 | "unit": "A String", # The units for magnitude. |
| 36396 | }, |
| 36397 | "alignment": "A String", # The text alignment for this paragraph. |
| 36398 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 36399 | # column if possible. If unset, the value is inherited from the parent. |
| 36400 | }, |
| 36401 | }, |
| 36402 | "table": { # A StructuralElement representing a # A table type of structural element. |
| 36403 | # table. |
| 36404 | "rows": 42, # Number of rows in the table. |
| 36405 | "tableStyle": { # Styles that apply to a table. # The style of the table. |
| 36406 | "tableColumnProperties": [ # The properties of each column. |
| 36407 | # |
| 36408 | # Note that in Docs, tables contain rows and rows contain cells, similar to |
| 36409 | # HTML. So the properties for a row can be found on the row's |
| 36410 | # table_row_style. |
| 36411 | { # The properties of a column in a table. |
| 36412 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| 36413 | # FIXED_WIDTH. |
| 36414 | "magnitude": 3.14, # The magnitude. |
| 36415 | "unit": "A String", # The units for magnitude. |
| 36416 | }, |
| 36417 | "widthType": "A String", # The width type of the column. |
| 36418 | }, |
| 36419 | ], |
| 36420 | }, |
| 36421 | "suggestedInsertionIds": [ # The suggested insertion IDs. A Table may have |
| 36422 | # multiple insertion IDs if it is a nested suggested change. If empty, then |
| 36423 | # this is not a suggested insertion. |
| 36424 | "A String", |
| 36425 | ], |
| 36426 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 36427 | # of this content. |
| 36428 | "A String", |
| 36429 | ], |
| 36430 | "tableRows": [ # The contents and style of each row. |
| 36431 | { # The contents and style of a row in a Table. |
| 36432 | "endIndex": 42, # The zero-based end index of this row, exclusive, in UTF-16 code units. |
| 36433 | "tableCells": [ # The contents and style of each cell in this row. |
| 36434 | # |
| 36435 | # It is possible for a table to be non-rectangular, so some rows may have a |
| 36436 | # different number of cells than other rows in the same table. |
| 36437 | { # The contents and style of a cell in a Table. |
| 36438 | "endIndex": 42, # The zero-based end index of this cell, exclusive, in UTF-16 code units. |
| 36439 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 36440 | # of this content. |
| 36441 | "A String", |
| 36442 | ], |
| 36443 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableCell |
| 36444 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 36445 | # empty, then this is not a suggested insertion. |
| 36446 | "A String", |
| 36447 | ], |
| 36448 | "content": [ # The content of the cell. |
| 36449 | # Object with schema name: StructuralElement |
| 36450 | ], |
| 36451 | "tableCellStyle": { # The style of a TableCell. # The style of the cell. |
| 36452 | # |
| 36453 | # Inherited table cell styles are represented as unset fields in this message. |
| 36454 | # A table cell style can inherit from the table's style. |
| 36455 | "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| 36456 | "magnitude": 3.14, # The magnitude. |
| 36457 | "unit": "A String", # The units for magnitude. |
| 36458 | }, |
| 36459 | "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| 36460 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 36461 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36462 | # a transparent color. |
| 36463 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36464 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36465 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36466 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36467 | }, |
| 36468 | }, |
| 36469 | }, |
| 36470 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 36471 | "magnitude": 3.14, # The magnitude. |
| 36472 | "unit": "A String", # The units for magnitude. |
| 36473 | }, |
| 36474 | "dashStyle": "A String", # The dash style of the border. |
| 36475 | }, |
| 36476 | "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| 36477 | "magnitude": 3.14, # The magnitude. |
| 36478 | "unit": "A String", # The units for magnitude. |
| 36479 | }, |
| 36480 | "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| 36481 | "magnitude": 3.14, # The magnitude. |
| 36482 | "unit": "A String", # The units for magnitude. |
| 36483 | }, |
| 36484 | "borderLeft": { # A border around a table cell. # The left border of the cell. |
| 36485 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 36486 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36487 | # a transparent color. |
| 36488 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36489 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36490 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36491 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36492 | }, |
| 36493 | }, |
| 36494 | }, |
| 36495 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 36496 | "magnitude": 3.14, # The magnitude. |
| 36497 | "unit": "A String", # The units for magnitude. |
| 36498 | }, |
| 36499 | "dashStyle": "A String", # The dash style of the border. |
| 36500 | }, |
| 36501 | "columnSpan": 42, # The column span of the cell. This property is read-only. |
| 36502 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| 36503 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36504 | # a transparent color. |
| 36505 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36506 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36507 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36508 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36509 | }, |
| 36510 | }, |
| 36511 | }, |
| 36512 | "borderRight": { # A border around a table cell. # The right border of the cell. |
| 36513 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 36514 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36515 | # a transparent color. |
| 36516 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36517 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36518 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36519 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36520 | }, |
| 36521 | }, |
| 36522 | }, |
| 36523 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 36524 | "magnitude": 3.14, # The magnitude. |
| 36525 | "unit": "A String", # The units for magnitude. |
| 36526 | }, |
| 36527 | "dashStyle": "A String", # The dash style of the border. |
| 36528 | }, |
| 36529 | "rowSpan": 42, # The row span of the cell. This property is read-only. |
| 36530 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 36531 | # matches the alignment for newly created table cells in the Docs editor. |
| 36532 | "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| 36533 | "magnitude": 3.14, # The magnitude. |
| 36534 | "unit": "A String", # The units for magnitude. |
| 36535 | }, |
| 36536 | "borderTop": { # A border around a table cell. # The top border of the cell. |
| 36537 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 36538 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36539 | # a transparent color. |
| 36540 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36541 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36542 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36543 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36544 | }, |
| 36545 | }, |
| 36546 | }, |
| 36547 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 36548 | "magnitude": 3.14, # The magnitude. |
| 36549 | "unit": "A String", # The units for magnitude. |
| 36550 | }, |
| 36551 | "dashStyle": "A String", # The dash style of the border. |
| 36552 | }, |
| 36553 | }, |
| 36554 | "startIndex": 42, # The zero-based start index of this cell, in UTF-16 code units. |
| 36555 | "suggestedTableCellStyleChanges": { # The suggested changes to the table cell style, keyed by suggestion ID. |
| 36556 | "a_key": { # A suggested change to a TableCellStyle. |
| 36557 | "tableCellStyle": { # The style of a TableCell. # A TableCellStyle that only includes |
| 36558 | # the changes made in this suggestion. This can be used along with the |
| 36559 | # table_cell_style_suggestion_state |
| 36560 | # to see which fields have changed and their new values. |
| 36561 | # |
| 36562 | # Inherited table cell styles are represented as unset fields in this message. |
| 36563 | # A table cell style can inherit from the table's style. |
| 36564 | "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| 36565 | "magnitude": 3.14, # The magnitude. |
| 36566 | "unit": "A String", # The units for magnitude. |
| 36567 | }, |
| 36568 | "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| 36569 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 36570 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36571 | # a transparent color. |
| 36572 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36573 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36574 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36575 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36576 | }, |
| 36577 | }, |
| 36578 | }, |
| 36579 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 36580 | "magnitude": 3.14, # The magnitude. |
| 36581 | "unit": "A String", # The units for magnitude. |
| 36582 | }, |
| 36583 | "dashStyle": "A String", # The dash style of the border. |
| 36584 | }, |
| 36585 | "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| 36586 | "magnitude": 3.14, # The magnitude. |
| 36587 | "unit": "A String", # The units for magnitude. |
| 36588 | }, |
| 36589 | "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| 36590 | "magnitude": 3.14, # The magnitude. |
| 36591 | "unit": "A String", # The units for magnitude. |
| 36592 | }, |
| 36593 | "borderLeft": { # A border around a table cell. # The left border of the cell. |
| 36594 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 36595 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36596 | # a transparent color. |
| 36597 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36598 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36599 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36600 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36601 | }, |
| 36602 | }, |
| 36603 | }, |
| 36604 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 36605 | "magnitude": 3.14, # The magnitude. |
| 36606 | "unit": "A String", # The units for magnitude. |
| 36607 | }, |
| 36608 | "dashStyle": "A String", # The dash style of the border. |
| 36609 | }, |
| 36610 | "columnSpan": 42, # The column span of the cell. This property is read-only. |
| 36611 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| 36612 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36613 | # a transparent color. |
| 36614 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36615 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36616 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36617 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36618 | }, |
| 36619 | }, |
| 36620 | }, |
| 36621 | "borderRight": { # A border around a table cell. # The right border of the cell. |
| 36622 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 36623 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36624 | # a transparent color. |
| 36625 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36626 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36627 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36628 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36629 | }, |
| 36630 | }, |
| 36631 | }, |
| 36632 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 36633 | "magnitude": 3.14, # The magnitude. |
| 36634 | "unit": "A String", # The units for magnitude. |
| 36635 | }, |
| 36636 | "dashStyle": "A String", # The dash style of the border. |
| 36637 | }, |
| 36638 | "rowSpan": 42, # The row span of the cell. This property is read-only. |
| 36639 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 36640 | # matches the alignment for newly created table cells in the Docs editor. |
| 36641 | "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| 36642 | "magnitude": 3.14, # The magnitude. |
| 36643 | "unit": "A String", # The units for magnitude. |
| 36644 | }, |
| 36645 | "borderTop": { # A border around a table cell. # The top border of the cell. |
| 36646 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 36647 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36648 | # a transparent color. |
| 36649 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36650 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36651 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36652 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36653 | }, |
| 36654 | }, |
| 36655 | }, |
| 36656 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 36657 | "magnitude": 3.14, # The magnitude. |
| 36658 | "unit": "A String", # The units for magnitude. |
| 36659 | }, |
| 36660 | "dashStyle": "A String", # The dash style of the border. |
| 36661 | }, |
| 36662 | }, |
| 36663 | "tableCellStyleSuggestionState": { # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. |
| 36664 | # For any field set to true, there is a new suggested value. |
| 36665 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 36666 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 36667 | "paddingBottomSuggested": True or False, # Indicates if there was a suggested change to padding_bottom. |
| 36668 | "contentAlignmentSuggested": True or False, # Indicates if there was a suggested change to content_alignment. |
| 36669 | "rowSpanSuggested": True or False, # Indicates if there was a suggested change to row_span. |
| 36670 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 36671 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 36672 | "columnSpanSuggested": True or False, # Indicates if there was a suggested change to column_span. |
| 36673 | "paddingRightSuggested": True or False, # Indicates if there was a suggested change to padding_right. |
| 36674 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 36675 | "paddingLeftSuggested": True or False, # Indicates if there was a suggested change to padding_left. |
| 36676 | "paddingTopSuggested": True or False, # Indicates if there was a suggested change to padding_top. |
| 36677 | }, |
| 36678 | }, |
| 36679 | }, |
| 36680 | }, |
| 36681 | ], |
| 36682 | "tableRowStyle": { # Styles that apply to a table row. # The style of the table row. |
| 36683 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 36684 | # at a height equal to or greater than this value in order to show all the |
| 36685 | # content in the row's cells. |
| 36686 | "magnitude": 3.14, # The magnitude. |
| 36687 | "unit": "A String", # The units for magnitude. |
| 36688 | }, |
| 36689 | }, |
| 36690 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableRow |
| 36691 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 36692 | # empty, then this is not a suggested insertion. |
| 36693 | "A String", |
| 36694 | ], |
| 36695 | "startIndex": 42, # The zero-based start index of this row, in UTF-16 code units. |
| 36696 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 36697 | # of this content. |
| 36698 | "A String", |
| 36699 | ], |
| 36700 | "suggestedTableRowStyleChanges": { # The suggested style changes to this row, keyed by suggestion ID. |
| 36701 | "a_key": { # A suggested change to a |
| 36702 | # TableRowStyle. |
| 36703 | "tableRowStyle": { # Styles that apply to a table row. # A TableRowStyle that only includes |
| 36704 | # the changes made in this suggestion. This can be used along with the |
| 36705 | # table_row_style_suggestion_state |
| 36706 | # to see which fields have changed and their new values. |
| 36707 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 36708 | # at a height equal to or greater than this value in order to show all the |
| 36709 | # content in the row's cells. |
| 36710 | "magnitude": 3.14, # The magnitude. |
| 36711 | "unit": "A String", # The units for magnitude. |
| 36712 | }, |
| 36713 | }, |
| 36714 | "tableRowStyleSuggestionState": { # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. |
| 36715 | # For any field set to true, there is a new suggested value. |
| 36716 | "minRowHeightSuggested": True or False, # Indicates if there was a suggested change to min_row_height. |
| 36717 | }, |
| 36718 | }, |
| 36719 | }, |
| 36720 | }, |
| 36721 | ], |
| 36722 | "columns": 42, # Number of columns in the table. |
| 36723 | # |
| 36724 | # It is possible for a table to be non-rectangular, so some rows may have a |
| 36725 | # different number of cells. |
| 36726 | }, |
| 36727 | }, |
| 36728 | ], |
| 36729 | }, |
| 36730 | }, |
| 36731 | "namedStyles": { # The named styles. Paragraphs in the document can inherit their # The named styles of the document. |
| 36732 | # TextStyle and |
| 36733 | # ParagraphStyle from these named styles. |
| 36734 | "styles": [ # The named styles. |
| 36735 | # |
| 36736 | # There is an entry for each of the possible named style types. |
| 36737 | { # A named style. Paragraphs in the document can inherit their |
| 36738 | # TextStyle and |
| 36739 | # ParagraphStyle from this named style |
| 36740 | # when they have the same named style type. |
| 36741 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this named style. |
| 36742 | # |
| 36743 | # Inherited text styles are represented as unset fields in this message. A |
| 36744 | # text style's parent depends on where the text style is defined: |
| 36745 | # |
| 36746 | # * The TextStyle of text in a Paragraph |
| 36747 | # inherits from the paragraph's corresponding named style type. |
| 36748 | # * The TextStyle on a named style |
| 36749 | # inherits from the normal text named style. |
| 36750 | # * The TextStyle of the normal text named style inherits |
| 36751 | # from the default text style in the Docs editor. |
| 36752 | # * The TextStyle on a Paragraph element |
| 36753 | # that is contained in a table may inherit its text style from the table |
| 36754 | # style. |
| 36755 | # |
| 36756 | # If the text style does not inherit from a parent, unsetting fields will |
| 36757 | # revert the style to a value matching the defaults in the Docs editor. |
| 36758 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 36759 | # or transparent, depending on the `color` field. |
| 36760 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36761 | # a transparent color. |
| 36762 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36763 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36764 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36765 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36766 | }, |
| 36767 | }, |
| 36768 | }, |
| 36769 | "italic": True or False, # Whether or not the text is italicized. |
| 36770 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 36771 | # |
| 36772 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 36773 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 36774 | # The `font_size` itself is not affected by changes in this field. |
| 36775 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 36776 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 36777 | # |
| 36778 | # If an update request specifies values for both `weighted_font_family` and |
| 36779 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 36780 | # |
| 36781 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 36782 | # |
| 36783 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 36784 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 36785 | # is returned. |
| 36786 | "fontFamily": "A String", # The font family of the text. |
| 36787 | # |
| 36788 | # The font family can be any font from the Font menu in Docs or from |
| 36789 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 36790 | # unrecognized, the text is rendered in `Arial`. |
| 36791 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 36792 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 36793 | # numerical values described in the CSS 2.1 Specification, |
| 36794 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 36795 | # non-numerical values disallowed. |
| 36796 | # |
| 36797 | # The default value is `400` ("normal"). |
| 36798 | # |
| 36799 | # The font weight makes up just one component of the rendered font weight. |
| 36800 | # The rendered weight is determined by a combination of the `weight` and the |
| 36801 | # text style's resolved `bold` value, after accounting for inheritance: |
| 36802 | # |
| 36803 | # * If the text is bold and the weight is less than `400`, the rendered |
| 36804 | # weight is 400. |
| 36805 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 36806 | # is less than `700`, the rendered weight is `700`. |
| 36807 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 36808 | # equal to the weight. |
| 36809 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 36810 | }, |
| 36811 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 36812 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 36813 | "magnitude": 3.14, # The magnitude. |
| 36814 | "unit": "A String", # The units for magnitude. |
| 36815 | }, |
| 36816 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 36817 | # or transparent, depending on the `color` field. |
| 36818 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36819 | # a transparent color. |
| 36820 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36821 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36822 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36823 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36824 | }, |
| 36825 | }, |
| 36826 | }, |
| 36827 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 36828 | # are not inherited from parent text. |
| 36829 | # |
| 36830 | # Changing the link in an update request causes some other changes to the |
| 36831 | # text style of the range: |
| 36832 | # |
| 36833 | # * When setting a link, the text foreground color will be updated to the |
| 36834 | # default link color and the text will be underlined. If these fields are |
| 36835 | # modified in the same request, those values will be used instead of the |
| 36836 | # link defaults. |
| 36837 | # * Setting a link on a text range that overlaps with an existing link will |
| 36838 | # also update the existing link to point to the new URL. |
| 36839 | # * Links are not settable on newline characters. As a result, setting a link |
| 36840 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 36841 | # will separate the newline character(s) into their own text runs. The |
| 36842 | # link will be applied separately to the runs before and after the newline. |
| 36843 | # * Removing a link will update the text style of the range to match the |
| 36844 | # style of the preceding text (or the default text styles if the preceding |
| 36845 | # text is another link) unless different styles are being set in the same |
| 36846 | # request. |
| 36847 | "headingId": "A String", # The ID of a heading in this document. |
| 36848 | "url": "A String", # An external URL. |
| 36849 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 36850 | }, |
| 36851 | "underline": True or False, # Whether or not the text is underlined. |
| 36852 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 36853 | }, |
| 36854 | "namedStyleType": "A String", # The type of this named style. |
| 36855 | "paragraphStyle": { # Styles that apply to a whole paragraph. # The paragraph style of this named style. |
| 36856 | # |
| 36857 | # Inherited paragraph styles are represented as unset fields in this message. |
| 36858 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 36859 | # |
| 36860 | # * The ParagraphStyle on a Paragraph |
| 36861 | # inherits from the paragraph's corresponding named style type. |
| 36862 | # * The ParagraphStyle on a named style |
| 36863 | # inherits from the normal text named style. |
| 36864 | # * The ParagraphStyle of the normal text named style inherits |
| 36865 | # from the default paragraph style in the Docs editor. |
| 36866 | # * The ParagraphStyle on a Paragraph |
| 36867 | # element that is contained in a table may inherit its paragraph style from |
| 36868 | # the table style. |
| 36869 | # |
| 36870 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 36871 | # revert the style to a value matching the defaults in the Docs editor. |
| 36872 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 36873 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 36874 | # LEFT_TO_RIGHT since |
| 36875 | # paragraph direction is not inherited. |
| 36876 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 36877 | # inherited from the parent. |
| 36878 | "magnitude": 3.14, # The magnitude. |
| 36879 | "unit": "A String", # The units for magnitude. |
| 36880 | }, |
| 36881 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 36882 | # page or column as the next paragraph if possible. If unset, the value is |
| 36883 | # inherited from the parent. |
| 36884 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 36885 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 36886 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 36887 | # is inherited from the parent. |
| 36888 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 36889 | # inherited from the parent. |
| 36890 | # |
| 36891 | # The bottom border is rendered when the paragraph below has different border |
| 36892 | # and indent properties. |
| 36893 | # |
| 36894 | # Paragraph borders cannot be partially updated. When making |
| 36895 | # changes to a paragraph border the new border must be specified in |
| 36896 | # its entirety. |
| 36897 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 36898 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36899 | # a transparent color. |
| 36900 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36901 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36902 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36903 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36904 | }, |
| 36905 | }, |
| 36906 | }, |
| 36907 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 36908 | "magnitude": 3.14, # The magnitude. |
| 36909 | "unit": "A String", # The units for magnitude. |
| 36910 | }, |
| 36911 | "dashStyle": "A String", # The dash style of the border. |
| 36912 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 36913 | "magnitude": 3.14, # The magnitude. |
| 36914 | "unit": "A String", # The units for magnitude. |
| 36915 | }, |
| 36916 | }, |
| 36917 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 36918 | # the start of the text, based on the current paragraph direction. If unset, |
| 36919 | # the value is inherited from the parent. |
| 36920 | "magnitude": 3.14, # The magnitude. |
| 36921 | "unit": "A String", # The units for magnitude. |
| 36922 | }, |
| 36923 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 36924 | # If unset, the value is inherited from the parent. |
| 36925 | # |
| 36926 | # The between border is rendered when the adjacent paragraph has the same |
| 36927 | # border and indent properties. |
| 36928 | # |
| 36929 | # Paragraph borders cannot be partially updated. When making |
| 36930 | # changes to a paragraph border the new border must be specified in |
| 36931 | # its entirety. |
| 36932 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 36933 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36934 | # a transparent color. |
| 36935 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36936 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36937 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36938 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36939 | }, |
| 36940 | }, |
| 36941 | }, |
| 36942 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 36943 | "magnitude": 3.14, # The magnitude. |
| 36944 | "unit": "A String", # The units for magnitude. |
| 36945 | }, |
| 36946 | "dashStyle": "A String", # The dash style of the border. |
| 36947 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 36948 | "magnitude": 3.14, # The magnitude. |
| 36949 | "unit": "A String", # The units for magnitude. |
| 36950 | }, |
| 36951 | }, |
| 36952 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 36953 | # |
| 36954 | # Since updating the named style type affects other properties within |
| 36955 | # ParagraphStyle, the named style type is applied before the other properties |
| 36956 | # are updated. |
| 36957 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 36958 | # from the parent. |
| 36959 | # |
| 36960 | # Paragraph borders cannot be partially updated. When making |
| 36961 | # changes to a paragraph border the new border must be specified in |
| 36962 | # its entirety. |
| 36963 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 36964 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36965 | # a transparent color. |
| 36966 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36967 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 36968 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 36969 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 36970 | }, |
| 36971 | }, |
| 36972 | }, |
| 36973 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 36974 | "magnitude": 3.14, # The magnitude. |
| 36975 | "unit": "A String", # The units for magnitude. |
| 36976 | }, |
| 36977 | "dashStyle": "A String", # The dash style of the border. |
| 36978 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 36979 | "magnitude": 3.14, # The magnitude. |
| 36980 | "unit": "A String", # The units for magnitude. |
| 36981 | }, |
| 36982 | }, |
| 36983 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 36984 | # the end of the text, based on the current paragraph direction. If unset, |
| 36985 | # the value is inherited from the parent. |
| 36986 | "magnitude": 3.14, # The magnitude. |
| 36987 | "unit": "A String", # The units for magnitude. |
| 36988 | }, |
| 36989 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 36990 | # from the parent. |
| 36991 | # |
| 36992 | # Paragraph borders cannot be partially updated. When making |
| 36993 | # changes to a paragraph border the new border must be specified in |
| 36994 | # its entirety. |
| 36995 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 36996 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 36997 | # a transparent color. |
| 36998 | "rgbColor": { # An RGB color. # The RGB color value. |
| 36999 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 37000 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 37001 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 37002 | }, |
| 37003 | }, |
| 37004 | }, |
| 37005 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 37006 | "magnitude": 3.14, # The magnitude. |
| 37007 | "unit": "A String", # The units for magnitude. |
| 37008 | }, |
| 37009 | "dashStyle": "A String", # The dash style of the border. |
| 37010 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 37011 | "magnitude": 3.14, # The magnitude. |
| 37012 | "unit": "A String", # The units for magnitude. |
| 37013 | }, |
| 37014 | }, |
| 37015 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 37016 | # inherited from the parent. |
| 37017 | "magnitude": 3.14, # The magnitude. |
| 37018 | "unit": "A String", # The units for magnitude. |
| 37019 | }, |
| 37020 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 37021 | # heading. This property is read-only. |
| 37022 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 37023 | # parent. |
| 37024 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 37025 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 37026 | # a transparent color. |
| 37027 | "rgbColor": { # An RGB color. # The RGB color value. |
| 37028 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 37029 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 37030 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 37031 | }, |
| 37032 | }, |
| 37033 | }, |
| 37034 | }, |
| 37035 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 37036 | # from the parent. |
| 37037 | # |
| 37038 | # The top border is rendered when the paragraph above has different border |
| 37039 | # and indent properties. |
| 37040 | # |
| 37041 | # Paragraph borders cannot be partially updated. When making |
| 37042 | # changes to a paragraph border the new border must be specified in |
| 37043 | # its entirety. |
| 37044 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 37045 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 37046 | # a transparent color. |
| 37047 | "rgbColor": { # An RGB color. # The RGB color value. |
| 37048 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 37049 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 37050 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 37051 | }, |
| 37052 | }, |
| 37053 | }, |
| 37054 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 37055 | "magnitude": 3.14, # The magnitude. |
| 37056 | "unit": "A String", # The units for magnitude. |
| 37057 | }, |
| 37058 | "dashStyle": "A String", # The dash style of the border. |
| 37059 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 37060 | "magnitude": 3.14, # The magnitude. |
| 37061 | "unit": "A String", # The units for magnitude. |
| 37062 | }, |
| 37063 | }, |
| 37064 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 37065 | # inherited. This property is read-only. |
| 37066 | { # A tab stop within a paragraph. |
| 37067 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 37068 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 37069 | "magnitude": 3.14, # The magnitude. |
| 37070 | "unit": "A String", # The units for magnitude. |
| 37071 | }, |
| 37072 | }, |
| 37073 | ], |
| 37074 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 37075 | # the value is inherited from the parent. |
| 37076 | "magnitude": 3.14, # The magnitude. |
| 37077 | "unit": "A String", # The units for magnitude. |
| 37078 | }, |
| 37079 | "alignment": "A String", # The text alignment for this paragraph. |
| 37080 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 37081 | # column if possible. If unset, the value is inherited from the parent. |
| 37082 | }, |
| 37083 | }, |
| 37084 | ], |
| 37085 | }, |
| 37086 | "footers": { # The footers in the document, keyed by footer ID. |
| 37087 | "a_key": { # A document footer. |
| 37088 | "content": [ # The contents of the footer. |
| 37089 | # |
| 37090 | # The indexes for a footer's content begin at zero. |
| 37091 | { # A StructuralElement describes content that provides structure to the |
| 37092 | # document. |
| 37093 | "endIndex": 42, # The zero-based end index of this structural element, exclusive, in UTF-16 |
| 37094 | # code units. |
| 37095 | "sectionBreak": { # A StructuralElement representing a # A section break type of structural element. |
| 37096 | # section break. A section is a range of content which has the same |
| 37097 | # SectionStyle. A section break represents |
| 37098 | # the start of a new section, and the section style applies to the section |
| 37099 | # after the section break. |
| 37100 | # |
| 37101 | # The document body always begins with a section break. |
| 37102 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 37103 | # of this content. |
| 37104 | "A String", |
| 37105 | ], |
| 37106 | "sectionStyle": { # The styling that applies to a section. # The style of the section after this section break. |
| 37107 | "contentDirection": "A String", # The content direction of this section. If unset, the value defaults to |
| 37108 | # LEFT_TO_RIGHT. |
| 37109 | "columnProperties": [ # The section's columns properties. |
| 37110 | # |
| 37111 | # If empty, the section contains one column with the default properties in |
| 37112 | # the Docs editor. |
| 37113 | { # Properties that apply to a section's column. |
| 37114 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. |
| 37115 | "magnitude": 3.14, # The magnitude. |
| 37116 | "unit": "A String", # The units for magnitude. |
| 37117 | }, |
| 37118 | "paddingEnd": { # A magnitude in a single direction in the specified units. # The padding at the end of the column. |
| 37119 | "magnitude": 3.14, # The magnitude. |
| 37120 | "unit": "A String", # The units for magnitude. |
| 37121 | }, |
| 37122 | }, |
| 37123 | ], |
| 37124 | "columnSeparatorStyle": "A String", # The style of column separators. |
| 37125 | # |
| 37126 | # This style can be set even when there is one column in the section. |
| 37127 | }, |
| 37128 | "suggestedInsertionIds": [ # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is |
| 37129 | # a nested suggested change. If empty, then this is not a suggested |
| 37130 | # insertion. |
| 37131 | "A String", |
| 37132 | ], |
| 37133 | }, |
| 37134 | "tableOfContents": { # A StructuralElement representing # A table of contents type of structural element. |
| 37135 | # a table of contents. |
| 37136 | "content": [ # The content of the table of contents. |
| 37137 | # Object with schema name: StructuralElement |
| 37138 | ], |
| 37139 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 37140 | # of this content. |
| 37141 | "A String", |
| 37142 | ], |
| 37143 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it |
| 37144 | # is a nested suggested change. If empty, then this is not a suggested |
| 37145 | # insertion. |
| 37146 | "A String", |
| 37147 | ], |
| 37148 | }, |
| 37149 | "startIndex": 42, # The zero-based start index of this structural element, in UTF-16 code |
| 37150 | # units. |
| 37151 | "paragraph": { # A StructuralElement representing a # A paragraph type of structural element. |
| 37152 | # paragraph. A paragraph is a range of content that is terminated with a |
| 37153 | # newline character. |
| 37154 | "elements": [ # The content of the paragraph broken down into its component parts. |
| 37155 | { # A ParagraphElement describes content within a |
| 37156 | # Paragraph. |
| 37157 | "endIndex": 42, # The zero-base end index of this paragraph element, exclusive, in UTF-16 |
| 37158 | # code units. |
| 37159 | "equation": { # A ParagraphElement representing an # An equation paragraph element. |
| 37160 | # equation. |
| 37161 | "suggestedInsertionIds": [ # The suggested insertion IDs. A Equation |
| 37162 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 37163 | # empty, then this is not a suggested insertion. |
| 37164 | "A String", |
| 37165 | ], |
| 37166 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 37167 | # of this content. |
| 37168 | "A String", |
| 37169 | ], |
| 37170 | }, |
| 37171 | "columnBreak": { # A ParagraphElement representing a # A column break paragraph element. |
| 37172 | # column break. A column break makes the subsequent text start at the top of |
| 37173 | # the next column. |
| 37174 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this ColumnBreak. |
| 37175 | # |
| 37176 | # Similar to text content, like text runs and footnote references, the text |
| 37177 | # style of a column break can affect content layout as well as the styling of |
| 37178 | # text inserted adjacent to it. |
| 37179 | # |
| 37180 | # Inherited text styles are represented as unset fields in this message. A |
| 37181 | # text style's parent depends on where the text style is defined: |
| 37182 | # |
| 37183 | # * The TextStyle of text in a Paragraph |
| 37184 | # inherits from the paragraph's corresponding named style type. |
| 37185 | # * The TextStyle on a named style |
| 37186 | # inherits from the normal text named style. |
| 37187 | # * The TextStyle of the normal text named style inherits |
| 37188 | # from the default text style in the Docs editor. |
| 37189 | # * The TextStyle on a Paragraph element |
| 37190 | # that is contained in a table may inherit its text style from the table |
| 37191 | # style. |
| 37192 | # |
| 37193 | # If the text style does not inherit from a parent, unsetting fields will |
| 37194 | # revert the style to a value matching the defaults in the Docs editor. |
| 37195 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 37196 | # or transparent, depending on the `color` field. |
| 37197 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 37198 | # a transparent color. |
| 37199 | "rgbColor": { # An RGB color. # The RGB color value. |
| 37200 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 37201 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 37202 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 37203 | }, |
| 37204 | }, |
| 37205 | }, |
| 37206 | "italic": True or False, # Whether or not the text is italicized. |
| 37207 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 37208 | # |
| 37209 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 37210 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 37211 | # The `font_size` itself is not affected by changes in this field. |
| 37212 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 37213 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 37214 | # |
| 37215 | # If an update request specifies values for both `weighted_font_family` and |
| 37216 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 37217 | # |
| 37218 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 37219 | # |
| 37220 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 37221 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 37222 | # is returned. |
| 37223 | "fontFamily": "A String", # The font family of the text. |
| 37224 | # |
| 37225 | # The font family can be any font from the Font menu in Docs or from |
| 37226 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 37227 | # unrecognized, the text is rendered in `Arial`. |
| 37228 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 37229 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 37230 | # numerical values described in the CSS 2.1 Specification, |
| 37231 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 37232 | # non-numerical values disallowed. |
| 37233 | # |
| 37234 | # The default value is `400` ("normal"). |
| 37235 | # |
| 37236 | # The font weight makes up just one component of the rendered font weight. |
| 37237 | # The rendered weight is determined by a combination of the `weight` and the |
| 37238 | # text style's resolved `bold` value, after accounting for inheritance: |
| 37239 | # |
| 37240 | # * If the text is bold and the weight is less than `400`, the rendered |
| 37241 | # weight is 400. |
| 37242 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 37243 | # is less than `700`, the rendered weight is `700`. |
| 37244 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 37245 | # equal to the weight. |
| 37246 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 37247 | }, |
| 37248 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 37249 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 37250 | "magnitude": 3.14, # The magnitude. |
| 37251 | "unit": "A String", # The units for magnitude. |
| 37252 | }, |
| 37253 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 37254 | # or transparent, depending on the `color` field. |
| 37255 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 37256 | # a transparent color. |
| 37257 | "rgbColor": { # An RGB color. # The RGB color value. |
| 37258 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 37259 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 37260 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 37261 | }, |
| 37262 | }, |
| 37263 | }, |
| 37264 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 37265 | # are not inherited from parent text. |
| 37266 | # |
| 37267 | # Changing the link in an update request causes some other changes to the |
| 37268 | # text style of the range: |
| 37269 | # |
| 37270 | # * When setting a link, the text foreground color will be updated to the |
| 37271 | # default link color and the text will be underlined. If these fields are |
| 37272 | # modified in the same request, those values will be used instead of the |
| 37273 | # link defaults. |
| 37274 | # * Setting a link on a text range that overlaps with an existing link will |
| 37275 | # also update the existing link to point to the new URL. |
| 37276 | # * Links are not settable on newline characters. As a result, setting a link |
| 37277 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 37278 | # will separate the newline character(s) into their own text runs. The |
| 37279 | # link will be applied separately to the runs before and after the newline. |
| 37280 | # * Removing a link will update the text style of the range to match the |
| 37281 | # style of the preceding text (or the default text styles if the preceding |
| 37282 | # text is another link) unless different styles are being set in the same |
| 37283 | # request. |
| 37284 | "headingId": "A String", # The ID of a heading in this document. |
| 37285 | "url": "A String", # An external URL. |
| 37286 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 37287 | }, |
| 37288 | "underline": True or False, # Whether or not the text is underlined. |
| 37289 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 37290 | }, |
| 37291 | "suggestedInsertionIds": [ # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is |
| 37292 | # a nested suggested change. If empty, then this is not a suggested |
| 37293 | # insertion. |
| 37294 | "A String", |
| 37295 | ], |
| 37296 | "suggestedTextStyleChanges": { # The suggested text style changes to this ColumnBreak, keyed by suggestion |
| 37297 | # ID. |
| 37298 | "a_key": { # A suggested change to a TextStyle. |
| 37299 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 37300 | # the changes made in this suggestion. This can be used along with the |
| 37301 | # text_style_suggestion_state |
| 37302 | # to see which fields have changed and their new values. |
| 37303 | # |
| 37304 | # Inherited text styles are represented as unset fields in this message. A |
| 37305 | # text style's parent depends on where the text style is defined: |
| 37306 | # |
| 37307 | # * The TextStyle of text in a Paragraph |
| 37308 | # inherits from the paragraph's corresponding named style type. |
| 37309 | # * The TextStyle on a named style |
| 37310 | # inherits from the normal text named style. |
| 37311 | # * The TextStyle of the normal text named style inherits |
| 37312 | # from the default text style in the Docs editor. |
| 37313 | # * The TextStyle on a Paragraph element |
| 37314 | # that is contained in a table may inherit its text style from the table |
| 37315 | # style. |
| 37316 | # |
| 37317 | # If the text style does not inherit from a parent, unsetting fields will |
| 37318 | # revert the style to a value matching the defaults in the Docs editor. |
| 37319 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 37320 | # or transparent, depending on the `color` field. |
| 37321 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 37322 | # a transparent color. |
| 37323 | "rgbColor": { # An RGB color. # The RGB color value. |
| 37324 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 37325 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 37326 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 37327 | }, |
| 37328 | }, |
| 37329 | }, |
| 37330 | "italic": True or False, # Whether or not the text is italicized. |
| 37331 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 37332 | # |
| 37333 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 37334 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 37335 | # The `font_size` itself is not affected by changes in this field. |
| 37336 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 37337 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 37338 | # |
| 37339 | # If an update request specifies values for both `weighted_font_family` and |
| 37340 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 37341 | # |
| 37342 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 37343 | # |
| 37344 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 37345 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 37346 | # is returned. |
| 37347 | "fontFamily": "A String", # The font family of the text. |
| 37348 | # |
| 37349 | # The font family can be any font from the Font menu in Docs or from |
| 37350 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 37351 | # unrecognized, the text is rendered in `Arial`. |
| 37352 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 37353 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 37354 | # numerical values described in the CSS 2.1 Specification, |
| 37355 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 37356 | # non-numerical values disallowed. |
| 37357 | # |
| 37358 | # The default value is `400` ("normal"). |
| 37359 | # |
| 37360 | # The font weight makes up just one component of the rendered font weight. |
| 37361 | # The rendered weight is determined by a combination of the `weight` and the |
| 37362 | # text style's resolved `bold` value, after accounting for inheritance: |
| 37363 | # |
| 37364 | # * If the text is bold and the weight is less than `400`, the rendered |
| 37365 | # weight is 400. |
| 37366 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 37367 | # is less than `700`, the rendered weight is `700`. |
| 37368 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 37369 | # equal to the weight. |
| 37370 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 37371 | }, |
| 37372 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 37373 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 37374 | "magnitude": 3.14, # The magnitude. |
| 37375 | "unit": "A String", # The units for magnitude. |
| 37376 | }, |
| 37377 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 37378 | # or transparent, depending on the `color` field. |
| 37379 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 37380 | # a transparent color. |
| 37381 | "rgbColor": { # An RGB color. # The RGB color value. |
| 37382 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 37383 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 37384 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 37385 | }, |
| 37386 | }, |
| 37387 | }, |
| 37388 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 37389 | # are not inherited from parent text. |
| 37390 | # |
| 37391 | # Changing the link in an update request causes some other changes to the |
| 37392 | # text style of the range: |
| 37393 | # |
| 37394 | # * When setting a link, the text foreground color will be updated to the |
| 37395 | # default link color and the text will be underlined. If these fields are |
| 37396 | # modified in the same request, those values will be used instead of the |
| 37397 | # link defaults. |
| 37398 | # * Setting a link on a text range that overlaps with an existing link will |
| 37399 | # also update the existing link to point to the new URL. |
| 37400 | # * Links are not settable on newline characters. As a result, setting a link |
| 37401 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 37402 | # will separate the newline character(s) into their own text runs. The |
| 37403 | # link will be applied separately to the runs before and after the newline. |
| 37404 | # * Removing a link will update the text style of the range to match the |
| 37405 | # style of the preceding text (or the default text styles if the preceding |
| 37406 | # text is another link) unless different styles are being set in the same |
| 37407 | # request. |
| 37408 | "headingId": "A String", # The ID of a heading in this document. |
| 37409 | "url": "A String", # An external URL. |
| 37410 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 37411 | }, |
| 37412 | "underline": True or False, # Whether or not the text is underlined. |
| 37413 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 37414 | }, |
| 37415 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 37416 | # For any field set to true, there is a new suggested value. |
| 37417 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 37418 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 37419 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 37420 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 37421 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 37422 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 37423 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 37424 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 37425 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 37426 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 37427 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 37428 | }, |
| 37429 | }, |
| 37430 | }, |
| 37431 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 37432 | # of this content. |
| 37433 | "A String", |
| 37434 | ], |
| 37435 | }, |
| 37436 | "startIndex": 42, # The zero-based start index of this paragraph element, in UTF-16 code units. |
| 37437 | "pageBreak": { # A ParagraphElement representing a # A page break paragraph element. |
| 37438 | # page break. A page break makes the subsequent text start at the top of the |
| 37439 | # next page. |
| 37440 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this PageBreak. |
| 37441 | # |
| 37442 | # Similar to text content, like text runs and footnote references, the text |
| 37443 | # style of a page break can affect content layout as well as the styling of |
| 37444 | # text inserted adjacent to it. |
| 37445 | # |
| 37446 | # Inherited text styles are represented as unset fields in this message. A |
| 37447 | # text style's parent depends on where the text style is defined: |
| 37448 | # |
| 37449 | # * The TextStyle of text in a Paragraph |
| 37450 | # inherits from the paragraph's corresponding named style type. |
| 37451 | # * The TextStyle on a named style |
| 37452 | # inherits from the normal text named style. |
| 37453 | # * The TextStyle of the normal text named style inherits |
| 37454 | # from the default text style in the Docs editor. |
| 37455 | # * The TextStyle on a Paragraph element |
| 37456 | # that is contained in a table may inherit its text style from the table |
| 37457 | # style. |
| 37458 | # |
| 37459 | # If the text style does not inherit from a parent, unsetting fields will |
| 37460 | # revert the style to a value matching the defaults in the Docs editor. |
| 37461 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 37462 | # or transparent, depending on the `color` field. |
| 37463 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 37464 | # a transparent color. |
| 37465 | "rgbColor": { # An RGB color. # The RGB color value. |
| 37466 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 37467 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 37468 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 37469 | }, |
| 37470 | }, |
| 37471 | }, |
| 37472 | "italic": True or False, # Whether or not the text is italicized. |
| 37473 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 37474 | # |
| 37475 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 37476 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 37477 | # The `font_size` itself is not affected by changes in this field. |
| 37478 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 37479 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 37480 | # |
| 37481 | # If an update request specifies values for both `weighted_font_family` and |
| 37482 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 37483 | # |
| 37484 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 37485 | # |
| 37486 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 37487 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 37488 | # is returned. |
| 37489 | "fontFamily": "A String", # The font family of the text. |
| 37490 | # |
| 37491 | # The font family can be any font from the Font menu in Docs or from |
| 37492 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 37493 | # unrecognized, the text is rendered in `Arial`. |
| 37494 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 37495 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 37496 | # numerical values described in the CSS 2.1 Specification, |
| 37497 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 37498 | # non-numerical values disallowed. |
| 37499 | # |
| 37500 | # The default value is `400` ("normal"). |
| 37501 | # |
| 37502 | # The font weight makes up just one component of the rendered font weight. |
| 37503 | # The rendered weight is determined by a combination of the `weight` and the |
| 37504 | # text style's resolved `bold` value, after accounting for inheritance: |
| 37505 | # |
| 37506 | # * If the text is bold and the weight is less than `400`, the rendered |
| 37507 | # weight is 400. |
| 37508 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 37509 | # is less than `700`, the rendered weight is `700`. |
| 37510 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 37511 | # equal to the weight. |
| 37512 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 37513 | }, |
| 37514 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 37515 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 37516 | "magnitude": 3.14, # The magnitude. |
| 37517 | "unit": "A String", # The units for magnitude. |
| 37518 | }, |
| 37519 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 37520 | # or transparent, depending on the `color` field. |
| 37521 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 37522 | # a transparent color. |
| 37523 | "rgbColor": { # An RGB color. # The RGB color value. |
| 37524 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 37525 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 37526 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 37527 | }, |
| 37528 | }, |
| 37529 | }, |
| 37530 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 37531 | # are not inherited from parent text. |
| 37532 | # |
| 37533 | # Changing the link in an update request causes some other changes to the |
| 37534 | # text style of the range: |
| 37535 | # |
| 37536 | # * When setting a link, the text foreground color will be updated to the |
| 37537 | # default link color and the text will be underlined. If these fields are |
| 37538 | # modified in the same request, those values will be used instead of the |
| 37539 | # link defaults. |
| 37540 | # * Setting a link on a text range that overlaps with an existing link will |
| 37541 | # also update the existing link to point to the new URL. |
| 37542 | # * Links are not settable on newline characters. As a result, setting a link |
| 37543 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 37544 | # will separate the newline character(s) into their own text runs. The |
| 37545 | # link will be applied separately to the runs before and after the newline. |
| 37546 | # * Removing a link will update the text style of the range to match the |
| 37547 | # style of the preceding text (or the default text styles if the preceding |
| 37548 | # text is another link) unless different styles are being set in the same |
| 37549 | # request. |
| 37550 | "headingId": "A String", # The ID of a heading in this document. |
| 37551 | "url": "A String", # An external URL. |
| 37552 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 37553 | }, |
| 37554 | "underline": True or False, # Whether or not the text is underlined. |
| 37555 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 37556 | }, |
| 37557 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 37558 | # of this content. |
| 37559 | "A String", |
| 37560 | ], |
| 37561 | "suggestedTextStyleChanges": { # The suggested text style changes to this PageBreak, keyed by suggestion ID. |
| 37562 | "a_key": { # A suggested change to a TextStyle. |
| 37563 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 37564 | # the changes made in this suggestion. This can be used along with the |
| 37565 | # text_style_suggestion_state |
| 37566 | # to see which fields have changed and their new values. |
| 37567 | # |
| 37568 | # Inherited text styles are represented as unset fields in this message. A |
| 37569 | # text style's parent depends on where the text style is defined: |
| 37570 | # |
| 37571 | # * The TextStyle of text in a Paragraph |
| 37572 | # inherits from the paragraph's corresponding named style type. |
| 37573 | # * The TextStyle on a named style |
| 37574 | # inherits from the normal text named style. |
| 37575 | # * The TextStyle of the normal text named style inherits |
| 37576 | # from the default text style in the Docs editor. |
| 37577 | # * The TextStyle on a Paragraph element |
| 37578 | # that is contained in a table may inherit its text style from the table |
| 37579 | # style. |
| 37580 | # |
| 37581 | # If the text style does not inherit from a parent, unsetting fields will |
| 37582 | # revert the style to a value matching the defaults in the Docs editor. |
| 37583 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 37584 | # or transparent, depending on the `color` field. |
| 37585 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 37586 | # a transparent color. |
| 37587 | "rgbColor": { # An RGB color. # The RGB color value. |
| 37588 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 37589 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 37590 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 37591 | }, |
| 37592 | }, |
| 37593 | }, |
| 37594 | "italic": True or False, # Whether or not the text is italicized. |
| 37595 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 37596 | # |
| 37597 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 37598 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 37599 | # The `font_size` itself is not affected by changes in this field. |
| 37600 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 37601 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 37602 | # |
| 37603 | # If an update request specifies values for both `weighted_font_family` and |
| 37604 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 37605 | # |
| 37606 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 37607 | # |
| 37608 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 37609 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 37610 | # is returned. |
| 37611 | "fontFamily": "A String", # The font family of the text. |
| 37612 | # |
| 37613 | # The font family can be any font from the Font menu in Docs or from |
| 37614 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 37615 | # unrecognized, the text is rendered in `Arial`. |
| 37616 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 37617 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 37618 | # numerical values described in the CSS 2.1 Specification, |
| 37619 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 37620 | # non-numerical values disallowed. |
| 37621 | # |
| 37622 | # The default value is `400` ("normal"). |
| 37623 | # |
| 37624 | # The font weight makes up just one component of the rendered font weight. |
| 37625 | # The rendered weight is determined by a combination of the `weight` and the |
| 37626 | # text style's resolved `bold` value, after accounting for inheritance: |
| 37627 | # |
| 37628 | # * If the text is bold and the weight is less than `400`, the rendered |
| 37629 | # weight is 400. |
| 37630 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 37631 | # is less than `700`, the rendered weight is `700`. |
| 37632 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 37633 | # equal to the weight. |
| 37634 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 37635 | }, |
| 37636 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 37637 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 37638 | "magnitude": 3.14, # The magnitude. |
| 37639 | "unit": "A String", # The units for magnitude. |
| 37640 | }, |
| 37641 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 37642 | # or transparent, depending on the `color` field. |
| 37643 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 37644 | # a transparent color. |
| 37645 | "rgbColor": { # An RGB color. # The RGB color value. |
| 37646 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 37647 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 37648 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 37649 | }, |
| 37650 | }, |
| 37651 | }, |
| 37652 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 37653 | # are not inherited from parent text. |
| 37654 | # |
| 37655 | # Changing the link in an update request causes some other changes to the |
| 37656 | # text style of the range: |
| 37657 | # |
| 37658 | # * When setting a link, the text foreground color will be updated to the |
| 37659 | # default link color and the text will be underlined. If these fields are |
| 37660 | # modified in the same request, those values will be used instead of the |
| 37661 | # link defaults. |
| 37662 | # * Setting a link on a text range that overlaps with an existing link will |
| 37663 | # also update the existing link to point to the new URL. |
| 37664 | # * Links are not settable on newline characters. As a result, setting a link |
| 37665 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 37666 | # will separate the newline character(s) into their own text runs. The |
| 37667 | # link will be applied separately to the runs before and after the newline. |
| 37668 | # * Removing a link will update the text style of the range to match the |
| 37669 | # style of the preceding text (or the default text styles if the preceding |
| 37670 | # text is another link) unless different styles are being set in the same |
| 37671 | # request. |
| 37672 | "headingId": "A String", # The ID of a heading in this document. |
| 37673 | "url": "A String", # An external URL. |
| 37674 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 37675 | }, |
| 37676 | "underline": True or False, # Whether or not the text is underlined. |
| 37677 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 37678 | }, |
| 37679 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 37680 | # For any field set to true, there is a new suggested value. |
| 37681 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 37682 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 37683 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 37684 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 37685 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 37686 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 37687 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 37688 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 37689 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 37690 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 37691 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 37692 | }, |
| 37693 | }, |
| 37694 | }, |
| 37695 | "suggestedInsertionIds": [ # The suggested insertion IDs. A PageBreak |
| 37696 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 37697 | # empty, then this is not a suggested insertion. |
| 37698 | "A String", |
| 37699 | ], |
| 37700 | }, |
| 37701 | "horizontalRule": { # A ParagraphElement representing a # A horizontal rule paragraph element. |
| 37702 | # horizontal line. |
| 37703 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this HorizontalRule. |
| 37704 | # |
| 37705 | # Similar to text content, like text runs and footnote references, the text |
| 37706 | # style of a horizontal rule can affect content layout as well as the styling |
| 37707 | # of text inserted adjacent to it. |
| 37708 | # |
| 37709 | # Inherited text styles are represented as unset fields in this message. A |
| 37710 | # text style's parent depends on where the text style is defined: |
| 37711 | # |
| 37712 | # * The TextStyle of text in a Paragraph |
| 37713 | # inherits from the paragraph's corresponding named style type. |
| 37714 | # * The TextStyle on a named style |
| 37715 | # inherits from the normal text named style. |
| 37716 | # * The TextStyle of the normal text named style inherits |
| 37717 | # from the default text style in the Docs editor. |
| 37718 | # * The TextStyle on a Paragraph element |
| 37719 | # that is contained in a table may inherit its text style from the table |
| 37720 | # style. |
| 37721 | # |
| 37722 | # If the text style does not inherit from a parent, unsetting fields will |
| 37723 | # revert the style to a value matching the defaults in the Docs editor. |
| 37724 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 37725 | # or transparent, depending on the `color` field. |
| 37726 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 37727 | # a transparent color. |
| 37728 | "rgbColor": { # An RGB color. # The RGB color value. |
| 37729 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 37730 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 37731 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 37732 | }, |
| 37733 | }, |
| 37734 | }, |
| 37735 | "italic": True or False, # Whether or not the text is italicized. |
| 37736 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 37737 | # |
| 37738 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 37739 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 37740 | # The `font_size` itself is not affected by changes in this field. |
| 37741 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 37742 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 37743 | # |
| 37744 | # If an update request specifies values for both `weighted_font_family` and |
| 37745 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 37746 | # |
| 37747 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 37748 | # |
| 37749 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 37750 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 37751 | # is returned. |
| 37752 | "fontFamily": "A String", # The font family of the text. |
| 37753 | # |
| 37754 | # The font family can be any font from the Font menu in Docs or from |
| 37755 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 37756 | # unrecognized, the text is rendered in `Arial`. |
| 37757 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 37758 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 37759 | # numerical values described in the CSS 2.1 Specification, |
| 37760 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 37761 | # non-numerical values disallowed. |
| 37762 | # |
| 37763 | # The default value is `400` ("normal"). |
| 37764 | # |
| 37765 | # The font weight makes up just one component of the rendered font weight. |
| 37766 | # The rendered weight is determined by a combination of the `weight` and the |
| 37767 | # text style's resolved `bold` value, after accounting for inheritance: |
| 37768 | # |
| 37769 | # * If the text is bold and the weight is less than `400`, the rendered |
| 37770 | # weight is 400. |
| 37771 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 37772 | # is less than `700`, the rendered weight is `700`. |
| 37773 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 37774 | # equal to the weight. |
| 37775 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 37776 | }, |
| 37777 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 37778 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 37779 | "magnitude": 3.14, # The magnitude. |
| 37780 | "unit": "A String", # The units for magnitude. |
| 37781 | }, |
| 37782 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 37783 | # or transparent, depending on the `color` field. |
| 37784 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 37785 | # a transparent color. |
| 37786 | "rgbColor": { # An RGB color. # The RGB color value. |
| 37787 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 37788 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 37789 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 37790 | }, |
| 37791 | }, |
| 37792 | }, |
| 37793 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 37794 | # are not inherited from parent text. |
| 37795 | # |
| 37796 | # Changing the link in an update request causes some other changes to the |
| 37797 | # text style of the range: |
| 37798 | # |
| 37799 | # * When setting a link, the text foreground color will be updated to the |
| 37800 | # default link color and the text will be underlined. If these fields are |
| 37801 | # modified in the same request, those values will be used instead of the |
| 37802 | # link defaults. |
| 37803 | # * Setting a link on a text range that overlaps with an existing link will |
| 37804 | # also update the existing link to point to the new URL. |
| 37805 | # * Links are not settable on newline characters. As a result, setting a link |
| 37806 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 37807 | # will separate the newline character(s) into their own text runs. The |
| 37808 | # link will be applied separately to the runs before and after the newline. |
| 37809 | # * Removing a link will update the text style of the range to match the |
| 37810 | # style of the preceding text (or the default text styles if the preceding |
| 37811 | # text is another link) unless different styles are being set in the same |
| 37812 | # request. |
| 37813 | "headingId": "A String", # The ID of a heading in this document. |
| 37814 | "url": "A String", # An external URL. |
| 37815 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 37816 | }, |
| 37817 | "underline": True or False, # Whether or not the text is underlined. |
| 37818 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 37819 | }, |
| 37820 | "suggestedInsertionIds": [ # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it |
| 37821 | # is a nested suggested change. If empty, then this is not a suggested |
| 37822 | # insertion. |
| 37823 | "A String", |
| 37824 | ], |
| 37825 | "suggestedTextStyleChanges": { # The suggested text style changes to this HorizontalRule, keyed by |
| 37826 | # suggestion ID. |
| 37827 | "a_key": { # A suggested change to a TextStyle. |
| 37828 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 37829 | # the changes made in this suggestion. This can be used along with the |
| 37830 | # text_style_suggestion_state |
| 37831 | # to see which fields have changed and their new values. |
| 37832 | # |
| 37833 | # Inherited text styles are represented as unset fields in this message. A |
| 37834 | # text style's parent depends on where the text style is defined: |
| 37835 | # |
| 37836 | # * The TextStyle of text in a Paragraph |
| 37837 | # inherits from the paragraph's corresponding named style type. |
| 37838 | # * The TextStyle on a named style |
| 37839 | # inherits from the normal text named style. |
| 37840 | # * The TextStyle of the normal text named style inherits |
| 37841 | # from the default text style in the Docs editor. |
| 37842 | # * The TextStyle on a Paragraph element |
| 37843 | # that is contained in a table may inherit its text style from the table |
| 37844 | # style. |
| 37845 | # |
| 37846 | # If the text style does not inherit from a parent, unsetting fields will |
| 37847 | # revert the style to a value matching the defaults in the Docs editor. |
| 37848 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 37849 | # or transparent, depending on the `color` field. |
| 37850 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 37851 | # a transparent color. |
| 37852 | "rgbColor": { # An RGB color. # The RGB color value. |
| 37853 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 37854 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 37855 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 37856 | }, |
| 37857 | }, |
| 37858 | }, |
| 37859 | "italic": True or False, # Whether or not the text is italicized. |
| 37860 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 37861 | # |
| 37862 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 37863 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 37864 | # The `font_size` itself is not affected by changes in this field. |
| 37865 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 37866 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 37867 | # |
| 37868 | # If an update request specifies values for both `weighted_font_family` and |
| 37869 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 37870 | # |
| 37871 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 37872 | # |
| 37873 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 37874 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 37875 | # is returned. |
| 37876 | "fontFamily": "A String", # The font family of the text. |
| 37877 | # |
| 37878 | # The font family can be any font from the Font menu in Docs or from |
| 37879 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 37880 | # unrecognized, the text is rendered in `Arial`. |
| 37881 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 37882 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 37883 | # numerical values described in the CSS 2.1 Specification, |
| 37884 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 37885 | # non-numerical values disallowed. |
| 37886 | # |
| 37887 | # The default value is `400` ("normal"). |
| 37888 | # |
| 37889 | # The font weight makes up just one component of the rendered font weight. |
| 37890 | # The rendered weight is determined by a combination of the `weight` and the |
| 37891 | # text style's resolved `bold` value, after accounting for inheritance: |
| 37892 | # |
| 37893 | # * If the text is bold and the weight is less than `400`, the rendered |
| 37894 | # weight is 400. |
| 37895 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 37896 | # is less than `700`, the rendered weight is `700`. |
| 37897 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 37898 | # equal to the weight. |
| 37899 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 37900 | }, |
| 37901 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 37902 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 37903 | "magnitude": 3.14, # The magnitude. |
| 37904 | "unit": "A String", # The units for magnitude. |
| 37905 | }, |
| 37906 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 37907 | # or transparent, depending on the `color` field. |
| 37908 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 37909 | # a transparent color. |
| 37910 | "rgbColor": { # An RGB color. # The RGB color value. |
| 37911 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 37912 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 37913 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 37914 | }, |
| 37915 | }, |
| 37916 | }, |
| 37917 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 37918 | # are not inherited from parent text. |
| 37919 | # |
| 37920 | # Changing the link in an update request causes some other changes to the |
| 37921 | # text style of the range: |
| 37922 | # |
| 37923 | # * When setting a link, the text foreground color will be updated to the |
| 37924 | # default link color and the text will be underlined. If these fields are |
| 37925 | # modified in the same request, those values will be used instead of the |
| 37926 | # link defaults. |
| 37927 | # * Setting a link on a text range that overlaps with an existing link will |
| 37928 | # also update the existing link to point to the new URL. |
| 37929 | # * Links are not settable on newline characters. As a result, setting a link |
| 37930 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 37931 | # will separate the newline character(s) into their own text runs. The |
| 37932 | # link will be applied separately to the runs before and after the newline. |
| 37933 | # * Removing a link will update the text style of the range to match the |
| 37934 | # style of the preceding text (or the default text styles if the preceding |
| 37935 | # text is another link) unless different styles are being set in the same |
| 37936 | # request. |
| 37937 | "headingId": "A String", # The ID of a heading in this document. |
| 37938 | "url": "A String", # An external URL. |
| 37939 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 37940 | }, |
| 37941 | "underline": True or False, # Whether or not the text is underlined. |
| 37942 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 37943 | }, |
| 37944 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 37945 | # For any field set to true, there is a new suggested value. |
| 37946 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 37947 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 37948 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 37949 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 37950 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 37951 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 37952 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 37953 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 37954 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 37955 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 37956 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 37957 | }, |
| 37958 | }, |
| 37959 | }, |
| 37960 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 37961 | # of this content. |
| 37962 | "A String", |
| 37963 | ], |
| 37964 | }, |
| 37965 | "textRun": { # A ParagraphElement that represents a # A text run paragraph element. |
| 37966 | # run of text that all has the same styling. |
| 37967 | "content": "A String", # The text of this run. |
| 37968 | # |
| 37969 | # Any non-text elements in the run are replaced with the Unicode character |
| 37970 | # U+E907. |
| 37971 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this run. |
| 37972 | # |
| 37973 | # Inherited text styles are represented as unset fields in this message. A |
| 37974 | # text style's parent depends on where the text style is defined: |
| 37975 | # |
| 37976 | # * The TextStyle of text in a Paragraph |
| 37977 | # inherits from the paragraph's corresponding named style type. |
| 37978 | # * The TextStyle on a named style |
| 37979 | # inherits from the normal text named style. |
| 37980 | # * The TextStyle of the normal text named style inherits |
| 37981 | # from the default text style in the Docs editor. |
| 37982 | # * The TextStyle on a Paragraph element |
| 37983 | # that is contained in a table may inherit its text style from the table |
| 37984 | # style. |
| 37985 | # |
| 37986 | # If the text style does not inherit from a parent, unsetting fields will |
| 37987 | # revert the style to a value matching the defaults in the Docs editor. |
| 37988 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 37989 | # or transparent, depending on the `color` field. |
| 37990 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 37991 | # a transparent color. |
| 37992 | "rgbColor": { # An RGB color. # The RGB color value. |
| 37993 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 37994 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 37995 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 37996 | }, |
| 37997 | }, |
| 37998 | }, |
| 37999 | "italic": True or False, # Whether or not the text is italicized. |
| 38000 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 38001 | # |
| 38002 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 38003 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 38004 | # The `font_size` itself is not affected by changes in this field. |
| 38005 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 38006 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 38007 | # |
| 38008 | # If an update request specifies values for both `weighted_font_family` and |
| 38009 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 38010 | # |
| 38011 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 38012 | # |
| 38013 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 38014 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 38015 | # is returned. |
| 38016 | "fontFamily": "A String", # The font family of the text. |
| 38017 | # |
| 38018 | # The font family can be any font from the Font menu in Docs or from |
| 38019 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 38020 | # unrecognized, the text is rendered in `Arial`. |
| 38021 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 38022 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 38023 | # numerical values described in the CSS 2.1 Specification, |
| 38024 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 38025 | # non-numerical values disallowed. |
| 38026 | # |
| 38027 | # The default value is `400` ("normal"). |
| 38028 | # |
| 38029 | # The font weight makes up just one component of the rendered font weight. |
| 38030 | # The rendered weight is determined by a combination of the `weight` and the |
| 38031 | # text style's resolved `bold` value, after accounting for inheritance: |
| 38032 | # |
| 38033 | # * If the text is bold and the weight is less than `400`, the rendered |
| 38034 | # weight is 400. |
| 38035 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 38036 | # is less than `700`, the rendered weight is `700`. |
| 38037 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 38038 | # equal to the weight. |
| 38039 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 38040 | }, |
| 38041 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 38042 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 38043 | "magnitude": 3.14, # The magnitude. |
| 38044 | "unit": "A String", # The units for magnitude. |
| 38045 | }, |
| 38046 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 38047 | # or transparent, depending on the `color` field. |
| 38048 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 38049 | # a transparent color. |
| 38050 | "rgbColor": { # An RGB color. # The RGB color value. |
| 38051 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 38052 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 38053 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 38054 | }, |
| 38055 | }, |
| 38056 | }, |
| 38057 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 38058 | # are not inherited from parent text. |
| 38059 | # |
| 38060 | # Changing the link in an update request causes some other changes to the |
| 38061 | # text style of the range: |
| 38062 | # |
| 38063 | # * When setting a link, the text foreground color will be updated to the |
| 38064 | # default link color and the text will be underlined. If these fields are |
| 38065 | # modified in the same request, those values will be used instead of the |
| 38066 | # link defaults. |
| 38067 | # * Setting a link on a text range that overlaps with an existing link will |
| 38068 | # also update the existing link to point to the new URL. |
| 38069 | # * Links are not settable on newline characters. As a result, setting a link |
| 38070 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 38071 | # will separate the newline character(s) into their own text runs. The |
| 38072 | # link will be applied separately to the runs before and after the newline. |
| 38073 | # * Removing a link will update the text style of the range to match the |
| 38074 | # style of the preceding text (or the default text styles if the preceding |
| 38075 | # text is another link) unless different styles are being set in the same |
| 38076 | # request. |
| 38077 | "headingId": "A String", # The ID of a heading in this document. |
| 38078 | "url": "A String", # An external URL. |
| 38079 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 38080 | }, |
| 38081 | "underline": True or False, # Whether or not the text is underlined. |
| 38082 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 38083 | }, |
| 38084 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TextRun may |
| 38085 | # have multiple insertion IDs if it is a nested suggested change. If empty, |
| 38086 | # then this is not a suggested insertion. |
| 38087 | "A String", |
| 38088 | ], |
| 38089 | "suggestedTextStyleChanges": { # The suggested text style changes to this run, keyed by suggestion ID. |
| 38090 | "a_key": { # A suggested change to a TextStyle. |
| 38091 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 38092 | # the changes made in this suggestion. This can be used along with the |
| 38093 | # text_style_suggestion_state |
| 38094 | # to see which fields have changed and their new values. |
| 38095 | # |
| 38096 | # Inherited text styles are represented as unset fields in this message. A |
| 38097 | # text style's parent depends on where the text style is defined: |
| 38098 | # |
| 38099 | # * The TextStyle of text in a Paragraph |
| 38100 | # inherits from the paragraph's corresponding named style type. |
| 38101 | # * The TextStyle on a named style |
| 38102 | # inherits from the normal text named style. |
| 38103 | # * The TextStyle of the normal text named style inherits |
| 38104 | # from the default text style in the Docs editor. |
| 38105 | # * The TextStyle on a Paragraph element |
| 38106 | # that is contained in a table may inherit its text style from the table |
| 38107 | # style. |
| 38108 | # |
| 38109 | # If the text style does not inherit from a parent, unsetting fields will |
| 38110 | # revert the style to a value matching the defaults in the Docs editor. |
| 38111 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 38112 | # or transparent, depending on the `color` field. |
| 38113 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 38114 | # a transparent color. |
| 38115 | "rgbColor": { # An RGB color. # The RGB color value. |
| 38116 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 38117 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 38118 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 38119 | }, |
| 38120 | }, |
| 38121 | }, |
| 38122 | "italic": True or False, # Whether or not the text is italicized. |
| 38123 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 38124 | # |
| 38125 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 38126 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 38127 | # The `font_size` itself is not affected by changes in this field. |
| 38128 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 38129 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 38130 | # |
| 38131 | # If an update request specifies values for both `weighted_font_family` and |
| 38132 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 38133 | # |
| 38134 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 38135 | # |
| 38136 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 38137 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 38138 | # is returned. |
| 38139 | "fontFamily": "A String", # The font family of the text. |
| 38140 | # |
| 38141 | # The font family can be any font from the Font menu in Docs or from |
| 38142 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 38143 | # unrecognized, the text is rendered in `Arial`. |
| 38144 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 38145 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 38146 | # numerical values described in the CSS 2.1 Specification, |
| 38147 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 38148 | # non-numerical values disallowed. |
| 38149 | # |
| 38150 | # The default value is `400` ("normal"). |
| 38151 | # |
| 38152 | # The font weight makes up just one component of the rendered font weight. |
| 38153 | # The rendered weight is determined by a combination of the `weight` and the |
| 38154 | # text style's resolved `bold` value, after accounting for inheritance: |
| 38155 | # |
| 38156 | # * If the text is bold and the weight is less than `400`, the rendered |
| 38157 | # weight is 400. |
| 38158 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 38159 | # is less than `700`, the rendered weight is `700`. |
| 38160 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 38161 | # equal to the weight. |
| 38162 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 38163 | }, |
| 38164 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 38165 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 38166 | "magnitude": 3.14, # The magnitude. |
| 38167 | "unit": "A String", # The units for magnitude. |
| 38168 | }, |
| 38169 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 38170 | # or transparent, depending on the `color` field. |
| 38171 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 38172 | # a transparent color. |
| 38173 | "rgbColor": { # An RGB color. # The RGB color value. |
| 38174 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 38175 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 38176 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 38177 | }, |
| 38178 | }, |
| 38179 | }, |
| 38180 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 38181 | # are not inherited from parent text. |
| 38182 | # |
| 38183 | # Changing the link in an update request causes some other changes to the |
| 38184 | # text style of the range: |
| 38185 | # |
| 38186 | # * When setting a link, the text foreground color will be updated to the |
| 38187 | # default link color and the text will be underlined. If these fields are |
| 38188 | # modified in the same request, those values will be used instead of the |
| 38189 | # link defaults. |
| 38190 | # * Setting a link on a text range that overlaps with an existing link will |
| 38191 | # also update the existing link to point to the new URL. |
| 38192 | # * Links are not settable on newline characters. As a result, setting a link |
| 38193 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 38194 | # will separate the newline character(s) into their own text runs. The |
| 38195 | # link will be applied separately to the runs before and after the newline. |
| 38196 | # * Removing a link will update the text style of the range to match the |
| 38197 | # style of the preceding text (or the default text styles if the preceding |
| 38198 | # text is another link) unless different styles are being set in the same |
| 38199 | # request. |
| 38200 | "headingId": "A String", # The ID of a heading in this document. |
| 38201 | "url": "A String", # An external URL. |
| 38202 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 38203 | }, |
| 38204 | "underline": True or False, # Whether or not the text is underlined. |
| 38205 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 38206 | }, |
| 38207 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 38208 | # For any field set to true, there is a new suggested value. |
| 38209 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 38210 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 38211 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 38212 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 38213 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 38214 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 38215 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 38216 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 38217 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 38218 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 38219 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 38220 | }, |
| 38221 | }, |
| 38222 | }, |
| 38223 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 38224 | # of this content. |
| 38225 | "A String", |
| 38226 | ], |
| 38227 | }, |
| 38228 | "autoText": { # A ParagraphElement representing a # An auto text paragraph element. |
| 38229 | # spot in the text that is dynamically replaced with content that can change |
| 38230 | # over time, like a page number. |
| 38231 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this AutoText. |
| 38232 | # |
| 38233 | # Inherited text styles are represented as unset fields in this message. A |
| 38234 | # text style's parent depends on where the text style is defined: |
| 38235 | # |
| 38236 | # * The TextStyle of text in a Paragraph |
| 38237 | # inherits from the paragraph's corresponding named style type. |
| 38238 | # * The TextStyle on a named style |
| 38239 | # inherits from the normal text named style. |
| 38240 | # * The TextStyle of the normal text named style inherits |
| 38241 | # from the default text style in the Docs editor. |
| 38242 | # * The TextStyle on a Paragraph element |
| 38243 | # that is contained in a table may inherit its text style from the table |
| 38244 | # style. |
| 38245 | # |
| 38246 | # If the text style does not inherit from a parent, unsetting fields will |
| 38247 | # revert the style to a value matching the defaults in the Docs editor. |
| 38248 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 38249 | # or transparent, depending on the `color` field. |
| 38250 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 38251 | # a transparent color. |
| 38252 | "rgbColor": { # An RGB color. # The RGB color value. |
| 38253 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 38254 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 38255 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 38256 | }, |
| 38257 | }, |
| 38258 | }, |
| 38259 | "italic": True or False, # Whether or not the text is italicized. |
| 38260 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 38261 | # |
| 38262 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 38263 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 38264 | # The `font_size` itself is not affected by changes in this field. |
| 38265 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 38266 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 38267 | # |
| 38268 | # If an update request specifies values for both `weighted_font_family` and |
| 38269 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 38270 | # |
| 38271 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 38272 | # |
| 38273 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 38274 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 38275 | # is returned. |
| 38276 | "fontFamily": "A String", # The font family of the text. |
| 38277 | # |
| 38278 | # The font family can be any font from the Font menu in Docs or from |
| 38279 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 38280 | # unrecognized, the text is rendered in `Arial`. |
| 38281 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 38282 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 38283 | # numerical values described in the CSS 2.1 Specification, |
| 38284 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 38285 | # non-numerical values disallowed. |
| 38286 | # |
| 38287 | # The default value is `400` ("normal"). |
| 38288 | # |
| 38289 | # The font weight makes up just one component of the rendered font weight. |
| 38290 | # The rendered weight is determined by a combination of the `weight` and the |
| 38291 | # text style's resolved `bold` value, after accounting for inheritance: |
| 38292 | # |
| 38293 | # * If the text is bold and the weight is less than `400`, the rendered |
| 38294 | # weight is 400. |
| 38295 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 38296 | # is less than `700`, the rendered weight is `700`. |
| 38297 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 38298 | # equal to the weight. |
| 38299 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 38300 | }, |
| 38301 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 38302 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 38303 | "magnitude": 3.14, # The magnitude. |
| 38304 | "unit": "A String", # The units for magnitude. |
| 38305 | }, |
| 38306 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 38307 | # or transparent, depending on the `color` field. |
| 38308 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 38309 | # a transparent color. |
| 38310 | "rgbColor": { # An RGB color. # The RGB color value. |
| 38311 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 38312 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 38313 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 38314 | }, |
| 38315 | }, |
| 38316 | }, |
| 38317 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 38318 | # are not inherited from parent text. |
| 38319 | # |
| 38320 | # Changing the link in an update request causes some other changes to the |
| 38321 | # text style of the range: |
| 38322 | # |
| 38323 | # * When setting a link, the text foreground color will be updated to the |
| 38324 | # default link color and the text will be underlined. If these fields are |
| 38325 | # modified in the same request, those values will be used instead of the |
| 38326 | # link defaults. |
| 38327 | # * Setting a link on a text range that overlaps with an existing link will |
| 38328 | # also update the existing link to point to the new URL. |
| 38329 | # * Links are not settable on newline characters. As a result, setting a link |
| 38330 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 38331 | # will separate the newline character(s) into their own text runs. The |
| 38332 | # link will be applied separately to the runs before and after the newline. |
| 38333 | # * Removing a link will update the text style of the range to match the |
| 38334 | # style of the preceding text (or the default text styles if the preceding |
| 38335 | # text is another link) unless different styles are being set in the same |
| 38336 | # request. |
| 38337 | "headingId": "A String", # The ID of a heading in this document. |
| 38338 | "url": "A String", # An external URL. |
| 38339 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 38340 | }, |
| 38341 | "underline": True or False, # Whether or not the text is underlined. |
| 38342 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 38343 | }, |
| 38344 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 38345 | # of this content. |
| 38346 | "A String", |
| 38347 | ], |
| 38348 | "suggestedTextStyleChanges": { # The suggested text style changes to this AutoText, keyed by suggestion ID. |
| 38349 | "a_key": { # A suggested change to a TextStyle. |
| 38350 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 38351 | # the changes made in this suggestion. This can be used along with the |
| 38352 | # text_style_suggestion_state |
| 38353 | # to see which fields have changed and their new values. |
| 38354 | # |
| 38355 | # Inherited text styles are represented as unset fields in this message. A |
| 38356 | # text style's parent depends on where the text style is defined: |
| 38357 | # |
| 38358 | # * The TextStyle of text in a Paragraph |
| 38359 | # inherits from the paragraph's corresponding named style type. |
| 38360 | # * The TextStyle on a named style |
| 38361 | # inherits from the normal text named style. |
| 38362 | # * The TextStyle of the normal text named style inherits |
| 38363 | # from the default text style in the Docs editor. |
| 38364 | # * The TextStyle on a Paragraph element |
| 38365 | # that is contained in a table may inherit its text style from the table |
| 38366 | # style. |
| 38367 | # |
| 38368 | # If the text style does not inherit from a parent, unsetting fields will |
| 38369 | # revert the style to a value matching the defaults in the Docs editor. |
| 38370 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 38371 | # or transparent, depending on the `color` field. |
| 38372 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 38373 | # a transparent color. |
| 38374 | "rgbColor": { # An RGB color. # The RGB color value. |
| 38375 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 38376 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 38377 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 38378 | }, |
| 38379 | }, |
| 38380 | }, |
| 38381 | "italic": True or False, # Whether or not the text is italicized. |
| 38382 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 38383 | # |
| 38384 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 38385 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 38386 | # The `font_size` itself is not affected by changes in this field. |
| 38387 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 38388 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 38389 | # |
| 38390 | # If an update request specifies values for both `weighted_font_family` and |
| 38391 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 38392 | # |
| 38393 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 38394 | # |
| 38395 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 38396 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 38397 | # is returned. |
| 38398 | "fontFamily": "A String", # The font family of the text. |
| 38399 | # |
| 38400 | # The font family can be any font from the Font menu in Docs or from |
| 38401 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 38402 | # unrecognized, the text is rendered in `Arial`. |
| 38403 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 38404 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 38405 | # numerical values described in the CSS 2.1 Specification, |
| 38406 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 38407 | # non-numerical values disallowed. |
| 38408 | # |
| 38409 | # The default value is `400` ("normal"). |
| 38410 | # |
| 38411 | # The font weight makes up just one component of the rendered font weight. |
| 38412 | # The rendered weight is determined by a combination of the `weight` and the |
| 38413 | # text style's resolved `bold` value, after accounting for inheritance: |
| 38414 | # |
| 38415 | # * If the text is bold and the weight is less than `400`, the rendered |
| 38416 | # weight is 400. |
| 38417 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 38418 | # is less than `700`, the rendered weight is `700`. |
| 38419 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 38420 | # equal to the weight. |
| 38421 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 38422 | }, |
| 38423 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 38424 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 38425 | "magnitude": 3.14, # The magnitude. |
| 38426 | "unit": "A String", # The units for magnitude. |
| 38427 | }, |
| 38428 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 38429 | # or transparent, depending on the `color` field. |
| 38430 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 38431 | # a transparent color. |
| 38432 | "rgbColor": { # An RGB color. # The RGB color value. |
| 38433 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 38434 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 38435 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 38436 | }, |
| 38437 | }, |
| 38438 | }, |
| 38439 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 38440 | # are not inherited from parent text. |
| 38441 | # |
| 38442 | # Changing the link in an update request causes some other changes to the |
| 38443 | # text style of the range: |
| 38444 | # |
| 38445 | # * When setting a link, the text foreground color will be updated to the |
| 38446 | # default link color and the text will be underlined. If these fields are |
| 38447 | # modified in the same request, those values will be used instead of the |
| 38448 | # link defaults. |
| 38449 | # * Setting a link on a text range that overlaps with an existing link will |
| 38450 | # also update the existing link to point to the new URL. |
| 38451 | # * Links are not settable on newline characters. As a result, setting a link |
| 38452 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 38453 | # will separate the newline character(s) into their own text runs. The |
| 38454 | # link will be applied separately to the runs before and after the newline. |
| 38455 | # * Removing a link will update the text style of the range to match the |
| 38456 | # style of the preceding text (or the default text styles if the preceding |
| 38457 | # text is another link) unless different styles are being set in the same |
| 38458 | # request. |
| 38459 | "headingId": "A String", # The ID of a heading in this document. |
| 38460 | "url": "A String", # An external URL. |
| 38461 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 38462 | }, |
| 38463 | "underline": True or False, # Whether or not the text is underlined. |
| 38464 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 38465 | }, |
| 38466 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 38467 | # For any field set to true, there is a new suggested value. |
| 38468 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 38469 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 38470 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 38471 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 38472 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 38473 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 38474 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 38475 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 38476 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 38477 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 38478 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 38479 | }, |
| 38480 | }, |
| 38481 | }, |
| 38482 | "type": "A String", # The type of this auto text. |
| 38483 | "suggestedInsertionIds": [ # The suggested insertion IDs. An AutoText |
| 38484 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 38485 | # empty, then this is not a suggested insertion. |
| 38486 | "A String", |
| 38487 | ], |
| 38488 | }, |
| 38489 | "inlineObjectElement": { # A ParagraphElement that contains # An inline object paragraph element. |
| 38490 | # an InlineObject. |
| 38491 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this InlineObjectElement. |
| 38492 | # |
| 38493 | # Similar to text content, like text runs and footnote references, the text |
| 38494 | # style of an inline object element can affect content layout as well as the |
| 38495 | # styling of text inserted adjacent to it. |
| 38496 | # |
| 38497 | # Inherited text styles are represented as unset fields in this message. A |
| 38498 | # text style's parent depends on where the text style is defined: |
| 38499 | # |
| 38500 | # * The TextStyle of text in a Paragraph |
| 38501 | # inherits from the paragraph's corresponding named style type. |
| 38502 | # * The TextStyle on a named style |
| 38503 | # inherits from the normal text named style. |
| 38504 | # * The TextStyle of the normal text named style inherits |
| 38505 | # from the default text style in the Docs editor. |
| 38506 | # * The TextStyle on a Paragraph element |
| 38507 | # that is contained in a table may inherit its text style from the table |
| 38508 | # style. |
| 38509 | # |
| 38510 | # If the text style does not inherit from a parent, unsetting fields will |
| 38511 | # revert the style to a value matching the defaults in the Docs editor. |
| 38512 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 38513 | # or transparent, depending on the `color` field. |
| 38514 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 38515 | # a transparent color. |
| 38516 | "rgbColor": { # An RGB color. # The RGB color value. |
| 38517 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 38518 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 38519 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 38520 | }, |
| 38521 | }, |
| 38522 | }, |
| 38523 | "italic": True or False, # Whether or not the text is italicized. |
| 38524 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 38525 | # |
| 38526 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 38527 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 38528 | # The `font_size` itself is not affected by changes in this field. |
| 38529 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 38530 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 38531 | # |
| 38532 | # If an update request specifies values for both `weighted_font_family` and |
| 38533 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 38534 | # |
| 38535 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 38536 | # |
| 38537 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 38538 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 38539 | # is returned. |
| 38540 | "fontFamily": "A String", # The font family of the text. |
| 38541 | # |
| 38542 | # The font family can be any font from the Font menu in Docs or from |
| 38543 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 38544 | # unrecognized, the text is rendered in `Arial`. |
| 38545 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 38546 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 38547 | # numerical values described in the CSS 2.1 Specification, |
| 38548 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 38549 | # non-numerical values disallowed. |
| 38550 | # |
| 38551 | # The default value is `400` ("normal"). |
| 38552 | # |
| 38553 | # The font weight makes up just one component of the rendered font weight. |
| 38554 | # The rendered weight is determined by a combination of the `weight` and the |
| 38555 | # text style's resolved `bold` value, after accounting for inheritance: |
| 38556 | # |
| 38557 | # * If the text is bold and the weight is less than `400`, the rendered |
| 38558 | # weight is 400. |
| 38559 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 38560 | # is less than `700`, the rendered weight is `700`. |
| 38561 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 38562 | # equal to the weight. |
| 38563 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 38564 | }, |
| 38565 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 38566 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 38567 | "magnitude": 3.14, # The magnitude. |
| 38568 | "unit": "A String", # The units for magnitude. |
| 38569 | }, |
| 38570 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 38571 | # or transparent, depending on the `color` field. |
| 38572 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 38573 | # a transparent color. |
| 38574 | "rgbColor": { # An RGB color. # The RGB color value. |
| 38575 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 38576 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 38577 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 38578 | }, |
| 38579 | }, |
| 38580 | }, |
| 38581 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 38582 | # are not inherited from parent text. |
| 38583 | # |
| 38584 | # Changing the link in an update request causes some other changes to the |
| 38585 | # text style of the range: |
| 38586 | # |
| 38587 | # * When setting a link, the text foreground color will be updated to the |
| 38588 | # default link color and the text will be underlined. If these fields are |
| 38589 | # modified in the same request, those values will be used instead of the |
| 38590 | # link defaults. |
| 38591 | # * Setting a link on a text range that overlaps with an existing link will |
| 38592 | # also update the existing link to point to the new URL. |
| 38593 | # * Links are not settable on newline characters. As a result, setting a link |
| 38594 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 38595 | # will separate the newline character(s) into their own text runs. The |
| 38596 | # link will be applied separately to the runs before and after the newline. |
| 38597 | # * Removing a link will update the text style of the range to match the |
| 38598 | # style of the preceding text (or the default text styles if the preceding |
| 38599 | # text is another link) unless different styles are being set in the same |
| 38600 | # request. |
| 38601 | "headingId": "A String", # The ID of a heading in this document. |
| 38602 | "url": "A String", # An external URL. |
| 38603 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 38604 | }, |
| 38605 | "underline": True or False, # Whether or not the text is underlined. |
| 38606 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 38607 | }, |
| 38608 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 38609 | # of this content. |
| 38610 | "A String", |
| 38611 | ], |
| 38612 | "suggestedTextStyleChanges": { # The suggested text style changes to this InlineObject, keyed by suggestion |
| 38613 | # ID. |
| 38614 | "a_key": { # A suggested change to a TextStyle. |
| 38615 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 38616 | # the changes made in this suggestion. This can be used along with the |
| 38617 | # text_style_suggestion_state |
| 38618 | # to see which fields have changed and their new values. |
| 38619 | # |
| 38620 | # Inherited text styles are represented as unset fields in this message. A |
| 38621 | # text style's parent depends on where the text style is defined: |
| 38622 | # |
| 38623 | # * The TextStyle of text in a Paragraph |
| 38624 | # inherits from the paragraph's corresponding named style type. |
| 38625 | # * The TextStyle on a named style |
| 38626 | # inherits from the normal text named style. |
| 38627 | # * The TextStyle of the normal text named style inherits |
| 38628 | # from the default text style in the Docs editor. |
| 38629 | # * The TextStyle on a Paragraph element |
| 38630 | # that is contained in a table may inherit its text style from the table |
| 38631 | # style. |
| 38632 | # |
| 38633 | # If the text style does not inherit from a parent, unsetting fields will |
| 38634 | # revert the style to a value matching the defaults in the Docs editor. |
| 38635 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 38636 | # or transparent, depending on the `color` field. |
| 38637 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 38638 | # a transparent color. |
| 38639 | "rgbColor": { # An RGB color. # The RGB color value. |
| 38640 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 38641 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 38642 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 38643 | }, |
| 38644 | }, |
| 38645 | }, |
| 38646 | "italic": True or False, # Whether or not the text is italicized. |
| 38647 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 38648 | # |
| 38649 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 38650 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 38651 | # The `font_size` itself is not affected by changes in this field. |
| 38652 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 38653 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 38654 | # |
| 38655 | # If an update request specifies values for both `weighted_font_family` and |
| 38656 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 38657 | # |
| 38658 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 38659 | # |
| 38660 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 38661 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 38662 | # is returned. |
| 38663 | "fontFamily": "A String", # The font family of the text. |
| 38664 | # |
| 38665 | # The font family can be any font from the Font menu in Docs or from |
| 38666 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 38667 | # unrecognized, the text is rendered in `Arial`. |
| 38668 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 38669 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 38670 | # numerical values described in the CSS 2.1 Specification, |
| 38671 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 38672 | # non-numerical values disallowed. |
| 38673 | # |
| 38674 | # The default value is `400` ("normal"). |
| 38675 | # |
| 38676 | # The font weight makes up just one component of the rendered font weight. |
| 38677 | # The rendered weight is determined by a combination of the `weight` and the |
| 38678 | # text style's resolved `bold` value, after accounting for inheritance: |
| 38679 | # |
| 38680 | # * If the text is bold and the weight is less than `400`, the rendered |
| 38681 | # weight is 400. |
| 38682 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 38683 | # is less than `700`, the rendered weight is `700`. |
| 38684 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 38685 | # equal to the weight. |
| 38686 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 38687 | }, |
| 38688 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 38689 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 38690 | "magnitude": 3.14, # The magnitude. |
| 38691 | "unit": "A String", # The units for magnitude. |
| 38692 | }, |
| 38693 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 38694 | # or transparent, depending on the `color` field. |
| 38695 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 38696 | # a transparent color. |
| 38697 | "rgbColor": { # An RGB color. # The RGB color value. |
| 38698 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 38699 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 38700 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 38701 | }, |
| 38702 | }, |
| 38703 | }, |
| 38704 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 38705 | # are not inherited from parent text. |
| 38706 | # |
| 38707 | # Changing the link in an update request causes some other changes to the |
| 38708 | # text style of the range: |
| 38709 | # |
| 38710 | # * When setting a link, the text foreground color will be updated to the |
| 38711 | # default link color and the text will be underlined. If these fields are |
| 38712 | # modified in the same request, those values will be used instead of the |
| 38713 | # link defaults. |
| 38714 | # * Setting a link on a text range that overlaps with an existing link will |
| 38715 | # also update the existing link to point to the new URL. |
| 38716 | # * Links are not settable on newline characters. As a result, setting a link |
| 38717 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 38718 | # will separate the newline character(s) into their own text runs. The |
| 38719 | # link will be applied separately to the runs before and after the newline. |
| 38720 | # * Removing a link will update the text style of the range to match the |
| 38721 | # style of the preceding text (or the default text styles if the preceding |
| 38722 | # text is another link) unless different styles are being set in the same |
| 38723 | # request. |
| 38724 | "headingId": "A String", # The ID of a heading in this document. |
| 38725 | "url": "A String", # An external URL. |
| 38726 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 38727 | }, |
| 38728 | "underline": True or False, # Whether or not the text is underlined. |
| 38729 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 38730 | }, |
| 38731 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 38732 | # For any field set to true, there is a new suggested value. |
| 38733 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 38734 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 38735 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 38736 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 38737 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 38738 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 38739 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 38740 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 38741 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 38742 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 38743 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 38744 | }, |
| 38745 | }, |
| 38746 | }, |
| 38747 | "inlineObjectId": "A String", # The ID of the InlineObject this |
| 38748 | # element contains. |
| 38749 | "suggestedInsertionIds": [ # The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs |
| 38750 | # if it is a nested suggested change. If empty, then this is not a suggested |
| 38751 | # insertion. |
| 38752 | "A String", |
| 38753 | ], |
| 38754 | }, |
| 38755 | "footnoteReference": { # A ParagraphElement representing a # A footnote reference paragraph element. |
| 38756 | # footnote reference. A footnote reference is the inline content rendered with |
| 38757 | # a number and is used to identify the footnote. |
| 38758 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this FootnoteReference. |
| 38759 | # |
| 38760 | # Inherited text styles are represented as unset fields in this message. A |
| 38761 | # text style's parent depends on where the text style is defined: |
| 38762 | # |
| 38763 | # * The TextStyle of text in a Paragraph |
| 38764 | # inherits from the paragraph's corresponding named style type. |
| 38765 | # * The TextStyle on a named style |
| 38766 | # inherits from the normal text named style. |
| 38767 | # * The TextStyle of the normal text named style inherits |
| 38768 | # from the default text style in the Docs editor. |
| 38769 | # * The TextStyle on a Paragraph element |
| 38770 | # that is contained in a table may inherit its text style from the table |
| 38771 | # style. |
| 38772 | # |
| 38773 | # If the text style does not inherit from a parent, unsetting fields will |
| 38774 | # revert the style to a value matching the defaults in the Docs editor. |
| 38775 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 38776 | # or transparent, depending on the `color` field. |
| 38777 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 38778 | # a transparent color. |
| 38779 | "rgbColor": { # An RGB color. # The RGB color value. |
| 38780 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 38781 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 38782 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 38783 | }, |
| 38784 | }, |
| 38785 | }, |
| 38786 | "italic": True or False, # Whether or not the text is italicized. |
| 38787 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 38788 | # |
| 38789 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 38790 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 38791 | # The `font_size` itself is not affected by changes in this field. |
| 38792 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 38793 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 38794 | # |
| 38795 | # If an update request specifies values for both `weighted_font_family` and |
| 38796 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 38797 | # |
| 38798 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 38799 | # |
| 38800 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 38801 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 38802 | # is returned. |
| 38803 | "fontFamily": "A String", # The font family of the text. |
| 38804 | # |
| 38805 | # The font family can be any font from the Font menu in Docs or from |
| 38806 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 38807 | # unrecognized, the text is rendered in `Arial`. |
| 38808 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 38809 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 38810 | # numerical values described in the CSS 2.1 Specification, |
| 38811 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 38812 | # non-numerical values disallowed. |
| 38813 | # |
| 38814 | # The default value is `400` ("normal"). |
| 38815 | # |
| 38816 | # The font weight makes up just one component of the rendered font weight. |
| 38817 | # The rendered weight is determined by a combination of the `weight` and the |
| 38818 | # text style's resolved `bold` value, after accounting for inheritance: |
| 38819 | # |
| 38820 | # * If the text is bold and the weight is less than `400`, the rendered |
| 38821 | # weight is 400. |
| 38822 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 38823 | # is less than `700`, the rendered weight is `700`. |
| 38824 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 38825 | # equal to the weight. |
| 38826 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 38827 | }, |
| 38828 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 38829 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 38830 | "magnitude": 3.14, # The magnitude. |
| 38831 | "unit": "A String", # The units for magnitude. |
| 38832 | }, |
| 38833 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 38834 | # or transparent, depending on the `color` field. |
| 38835 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 38836 | # a transparent color. |
| 38837 | "rgbColor": { # An RGB color. # The RGB color value. |
| 38838 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 38839 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 38840 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 38841 | }, |
| 38842 | }, |
| 38843 | }, |
| 38844 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 38845 | # are not inherited from parent text. |
| 38846 | # |
| 38847 | # Changing the link in an update request causes some other changes to the |
| 38848 | # text style of the range: |
| 38849 | # |
| 38850 | # * When setting a link, the text foreground color will be updated to the |
| 38851 | # default link color and the text will be underlined. If these fields are |
| 38852 | # modified in the same request, those values will be used instead of the |
| 38853 | # link defaults. |
| 38854 | # * Setting a link on a text range that overlaps with an existing link will |
| 38855 | # also update the existing link to point to the new URL. |
| 38856 | # * Links are not settable on newline characters. As a result, setting a link |
| 38857 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 38858 | # will separate the newline character(s) into their own text runs. The |
| 38859 | # link will be applied separately to the runs before and after the newline. |
| 38860 | # * Removing a link will update the text style of the range to match the |
| 38861 | # style of the preceding text (or the default text styles if the preceding |
| 38862 | # text is another link) unless different styles are being set in the same |
| 38863 | # request. |
| 38864 | "headingId": "A String", # The ID of a heading in this document. |
| 38865 | "url": "A String", # An external URL. |
| 38866 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 38867 | }, |
| 38868 | "underline": True or False, # Whether or not the text is underlined. |
| 38869 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 38870 | }, |
| 38871 | "footnoteNumber": "A String", # The rendered number of this footnote. |
| 38872 | "suggestedInsertionIds": [ # The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if |
| 38873 | # it is a nested suggested change. If empty, then this is not a suggested |
| 38874 | # insertion. |
| 38875 | "A String", |
| 38876 | ], |
| 38877 | "footnoteId": "A String", # The ID of the footnote that |
| 38878 | # contains the content of this footnote reference. |
| 38879 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 38880 | # of this content. |
| 38881 | "A String", |
| 38882 | ], |
| 38883 | "suggestedTextStyleChanges": { # The suggested text style changes to this FootnoteReference, keyed by |
| 38884 | # suggestion ID. |
| 38885 | "a_key": { # A suggested change to a TextStyle. |
| 38886 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 38887 | # the changes made in this suggestion. This can be used along with the |
| 38888 | # text_style_suggestion_state |
| 38889 | # to see which fields have changed and their new values. |
| 38890 | # |
| 38891 | # Inherited text styles are represented as unset fields in this message. A |
| 38892 | # text style's parent depends on where the text style is defined: |
| 38893 | # |
| 38894 | # * The TextStyle of text in a Paragraph |
| 38895 | # inherits from the paragraph's corresponding named style type. |
| 38896 | # * The TextStyle on a named style |
| 38897 | # inherits from the normal text named style. |
| 38898 | # * The TextStyle of the normal text named style inherits |
| 38899 | # from the default text style in the Docs editor. |
| 38900 | # * The TextStyle on a Paragraph element |
| 38901 | # that is contained in a table may inherit its text style from the table |
| 38902 | # style. |
| 38903 | # |
| 38904 | # If the text style does not inherit from a parent, unsetting fields will |
| 38905 | # revert the style to a value matching the defaults in the Docs editor. |
| 38906 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 38907 | # or transparent, depending on the `color` field. |
| 38908 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 38909 | # a transparent color. |
| 38910 | "rgbColor": { # An RGB color. # The RGB color value. |
| 38911 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 38912 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 38913 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 38914 | }, |
| 38915 | }, |
| 38916 | }, |
| 38917 | "italic": True or False, # Whether or not the text is italicized. |
| 38918 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 38919 | # |
| 38920 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 38921 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 38922 | # The `font_size` itself is not affected by changes in this field. |
| 38923 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 38924 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 38925 | # |
| 38926 | # If an update request specifies values for both `weighted_font_family` and |
| 38927 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 38928 | # |
| 38929 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 38930 | # |
| 38931 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 38932 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 38933 | # is returned. |
| 38934 | "fontFamily": "A String", # The font family of the text. |
| 38935 | # |
| 38936 | # The font family can be any font from the Font menu in Docs or from |
| 38937 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 38938 | # unrecognized, the text is rendered in `Arial`. |
| 38939 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 38940 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 38941 | # numerical values described in the CSS 2.1 Specification, |
| 38942 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 38943 | # non-numerical values disallowed. |
| 38944 | # |
| 38945 | # The default value is `400` ("normal"). |
| 38946 | # |
| 38947 | # The font weight makes up just one component of the rendered font weight. |
| 38948 | # The rendered weight is determined by a combination of the `weight` and the |
| 38949 | # text style's resolved `bold` value, after accounting for inheritance: |
| 38950 | # |
| 38951 | # * If the text is bold and the weight is less than `400`, the rendered |
| 38952 | # weight is 400. |
| 38953 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 38954 | # is less than `700`, the rendered weight is `700`. |
| 38955 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 38956 | # equal to the weight. |
| 38957 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 38958 | }, |
| 38959 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 38960 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 38961 | "magnitude": 3.14, # The magnitude. |
| 38962 | "unit": "A String", # The units for magnitude. |
| 38963 | }, |
| 38964 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 38965 | # or transparent, depending on the `color` field. |
| 38966 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 38967 | # a transparent color. |
| 38968 | "rgbColor": { # An RGB color. # The RGB color value. |
| 38969 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 38970 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 38971 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 38972 | }, |
| 38973 | }, |
| 38974 | }, |
| 38975 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 38976 | # are not inherited from parent text. |
| 38977 | # |
| 38978 | # Changing the link in an update request causes some other changes to the |
| 38979 | # text style of the range: |
| 38980 | # |
| 38981 | # * When setting a link, the text foreground color will be updated to the |
| 38982 | # default link color and the text will be underlined. If these fields are |
| 38983 | # modified in the same request, those values will be used instead of the |
| 38984 | # link defaults. |
| 38985 | # * Setting a link on a text range that overlaps with an existing link will |
| 38986 | # also update the existing link to point to the new URL. |
| 38987 | # * Links are not settable on newline characters. As a result, setting a link |
| 38988 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 38989 | # will separate the newline character(s) into their own text runs. The |
| 38990 | # link will be applied separately to the runs before and after the newline. |
| 38991 | # * Removing a link will update the text style of the range to match the |
| 38992 | # style of the preceding text (or the default text styles if the preceding |
| 38993 | # text is another link) unless different styles are being set in the same |
| 38994 | # request. |
| 38995 | "headingId": "A String", # The ID of a heading in this document. |
| 38996 | "url": "A String", # An external URL. |
| 38997 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 38998 | }, |
| 38999 | "underline": True or False, # Whether or not the text is underlined. |
| 39000 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 39001 | }, |
| 39002 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 39003 | # For any field set to true, there is a new suggested value. |
| 39004 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 39005 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 39006 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 39007 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 39008 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 39009 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 39010 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 39011 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 39012 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 39013 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 39014 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 39015 | }, |
| 39016 | }, |
| 39017 | }, |
| 39018 | }, |
| 39019 | }, |
| 39020 | ], |
| 39021 | "suggestedPositionedObjectIds": { # The IDs of the positioned objects that are suggested to be attached to this |
| 39022 | # paragraph, keyed by suggestion ID. |
| 39023 | "a_key": { # A collection of object IDs. |
| 39024 | "objectIds": [ # The object IDs. |
| 39025 | "A String", |
| 39026 | ], |
| 39027 | }, |
| 39028 | }, |
| 39029 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 39030 | # belong to a list. |
| 39031 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 39032 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 39033 | "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| 39034 | # |
| 39035 | # Inherited text styles are represented as unset fields in this message. A |
| 39036 | # text style's parent depends on where the text style is defined: |
| 39037 | # |
| 39038 | # * The TextStyle of text in a Paragraph |
| 39039 | # inherits from the paragraph's corresponding named style type. |
| 39040 | # * The TextStyle on a named style |
| 39041 | # inherits from the normal text named style. |
| 39042 | # * The TextStyle of the normal text named style inherits |
| 39043 | # from the default text style in the Docs editor. |
| 39044 | # * The TextStyle on a Paragraph element |
| 39045 | # that is contained in a table may inherit its text style from the table |
| 39046 | # style. |
| 39047 | # |
| 39048 | # If the text style does not inherit from a parent, unsetting fields will |
| 39049 | # revert the style to a value matching the defaults in the Docs editor. |
| 39050 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 39051 | # or transparent, depending on the `color` field. |
| 39052 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 39053 | # a transparent color. |
| 39054 | "rgbColor": { # An RGB color. # The RGB color value. |
| 39055 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 39056 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 39057 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 39058 | }, |
| 39059 | }, |
| 39060 | }, |
| 39061 | "italic": True or False, # Whether or not the text is italicized. |
| 39062 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 39063 | # |
| 39064 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 39065 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 39066 | # The `font_size` itself is not affected by changes in this field. |
| 39067 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 39068 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 39069 | # |
| 39070 | # If an update request specifies values for both `weighted_font_family` and |
| 39071 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 39072 | # |
| 39073 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 39074 | # |
| 39075 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 39076 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 39077 | # is returned. |
| 39078 | "fontFamily": "A String", # The font family of the text. |
| 39079 | # |
| 39080 | # The font family can be any font from the Font menu in Docs or from |
| 39081 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 39082 | # unrecognized, the text is rendered in `Arial`. |
| 39083 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 39084 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 39085 | # numerical values described in the CSS 2.1 Specification, |
| 39086 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 39087 | # non-numerical values disallowed. |
| 39088 | # |
| 39089 | # The default value is `400` ("normal"). |
| 39090 | # |
| 39091 | # The font weight makes up just one component of the rendered font weight. |
| 39092 | # The rendered weight is determined by a combination of the `weight` and the |
| 39093 | # text style's resolved `bold` value, after accounting for inheritance: |
| 39094 | # |
| 39095 | # * If the text is bold and the weight is less than `400`, the rendered |
| 39096 | # weight is 400. |
| 39097 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 39098 | # is less than `700`, the rendered weight is `700`. |
| 39099 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 39100 | # equal to the weight. |
| 39101 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 39102 | }, |
| 39103 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 39104 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 39105 | "magnitude": 3.14, # The magnitude. |
| 39106 | "unit": "A String", # The units for magnitude. |
| 39107 | }, |
| 39108 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 39109 | # or transparent, depending on the `color` field. |
| 39110 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 39111 | # a transparent color. |
| 39112 | "rgbColor": { # An RGB color. # The RGB color value. |
| 39113 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 39114 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 39115 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 39116 | }, |
| 39117 | }, |
| 39118 | }, |
| 39119 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 39120 | # are not inherited from parent text. |
| 39121 | # |
| 39122 | # Changing the link in an update request causes some other changes to the |
| 39123 | # text style of the range: |
| 39124 | # |
| 39125 | # * When setting a link, the text foreground color will be updated to the |
| 39126 | # default link color and the text will be underlined. If these fields are |
| 39127 | # modified in the same request, those values will be used instead of the |
| 39128 | # link defaults. |
| 39129 | # * Setting a link on a text range that overlaps with an existing link will |
| 39130 | # also update the existing link to point to the new URL. |
| 39131 | # * Links are not settable on newline characters. As a result, setting a link |
| 39132 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 39133 | # will separate the newline character(s) into their own text runs. The |
| 39134 | # link will be applied separately to the runs before and after the newline. |
| 39135 | # * Removing a link will update the text style of the range to match the |
| 39136 | # style of the preceding text (or the default text styles if the preceding |
| 39137 | # text is another link) unless different styles are being set in the same |
| 39138 | # request. |
| 39139 | "headingId": "A String", # The ID of a heading in this document. |
| 39140 | "url": "A String", # An external URL. |
| 39141 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 39142 | }, |
| 39143 | "underline": True or False, # Whether or not the text is underlined. |
| 39144 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 39145 | }, |
| 39146 | }, |
| 39147 | "suggestedBulletChanges": { # The suggested changes to this paragraph's bullet. |
| 39148 | "a_key": { # A suggested change to a Bullet. |
| 39149 | "bullet": { # Describes the bullet of a paragraph. # A Bullet that only includes the changes made |
| 39150 | # in this suggestion. This can be used along with the |
| 39151 | # bullet_suggestion_state to see which |
| 39152 | # fields have changed and their new values. |
| 39153 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 39154 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 39155 | "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| 39156 | # |
| 39157 | # Inherited text styles are represented as unset fields in this message. A |
| 39158 | # text style's parent depends on where the text style is defined: |
| 39159 | # |
| 39160 | # * The TextStyle of text in a Paragraph |
| 39161 | # inherits from the paragraph's corresponding named style type. |
| 39162 | # * The TextStyle on a named style |
| 39163 | # inherits from the normal text named style. |
| 39164 | # * The TextStyle of the normal text named style inherits |
| 39165 | # from the default text style in the Docs editor. |
| 39166 | # * The TextStyle on a Paragraph element |
| 39167 | # that is contained in a table may inherit its text style from the table |
| 39168 | # style. |
| 39169 | # |
| 39170 | # If the text style does not inherit from a parent, unsetting fields will |
| 39171 | # revert the style to a value matching the defaults in the Docs editor. |
| 39172 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 39173 | # or transparent, depending on the `color` field. |
| 39174 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 39175 | # a transparent color. |
| 39176 | "rgbColor": { # An RGB color. # The RGB color value. |
| 39177 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 39178 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 39179 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 39180 | }, |
| 39181 | }, |
| 39182 | }, |
| 39183 | "italic": True or False, # Whether or not the text is italicized. |
| 39184 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 39185 | # |
| 39186 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 39187 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 39188 | # The `font_size` itself is not affected by changes in this field. |
| 39189 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 39190 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 39191 | # |
| 39192 | # If an update request specifies values for both `weighted_font_family` and |
| 39193 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 39194 | # |
| 39195 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 39196 | # |
| 39197 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 39198 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 39199 | # is returned. |
| 39200 | "fontFamily": "A String", # The font family of the text. |
| 39201 | # |
| 39202 | # The font family can be any font from the Font menu in Docs or from |
| 39203 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 39204 | # unrecognized, the text is rendered in `Arial`. |
| 39205 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 39206 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 39207 | # numerical values described in the CSS 2.1 Specification, |
| 39208 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 39209 | # non-numerical values disallowed. |
| 39210 | # |
| 39211 | # The default value is `400` ("normal"). |
| 39212 | # |
| 39213 | # The font weight makes up just one component of the rendered font weight. |
| 39214 | # The rendered weight is determined by a combination of the `weight` and the |
| 39215 | # text style's resolved `bold` value, after accounting for inheritance: |
| 39216 | # |
| 39217 | # * If the text is bold and the weight is less than `400`, the rendered |
| 39218 | # weight is 400. |
| 39219 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 39220 | # is less than `700`, the rendered weight is `700`. |
| 39221 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 39222 | # equal to the weight. |
| 39223 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 39224 | }, |
| 39225 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 39226 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 39227 | "magnitude": 3.14, # The magnitude. |
| 39228 | "unit": "A String", # The units for magnitude. |
| 39229 | }, |
| 39230 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 39231 | # or transparent, depending on the `color` field. |
| 39232 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 39233 | # a transparent color. |
| 39234 | "rgbColor": { # An RGB color. # The RGB color value. |
| 39235 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 39236 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 39237 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 39238 | }, |
| 39239 | }, |
| 39240 | }, |
| 39241 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 39242 | # are not inherited from parent text. |
| 39243 | # |
| 39244 | # Changing the link in an update request causes some other changes to the |
| 39245 | # text style of the range: |
| 39246 | # |
| 39247 | # * When setting a link, the text foreground color will be updated to the |
| 39248 | # default link color and the text will be underlined. If these fields are |
| 39249 | # modified in the same request, those values will be used instead of the |
| 39250 | # link defaults. |
| 39251 | # * Setting a link on a text range that overlaps with an existing link will |
| 39252 | # also update the existing link to point to the new URL. |
| 39253 | # * Links are not settable on newline characters. As a result, setting a link |
| 39254 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 39255 | # will separate the newline character(s) into their own text runs. The |
| 39256 | # link will be applied separately to the runs before and after the newline. |
| 39257 | # * Removing a link will update the text style of the range to match the |
| 39258 | # style of the preceding text (or the default text styles if the preceding |
| 39259 | # text is another link) unless different styles are being set in the same |
| 39260 | # request. |
| 39261 | "headingId": "A String", # The ID of a heading in this document. |
| 39262 | "url": "A String", # An external URL. |
| 39263 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 39264 | }, |
| 39265 | "underline": True or False, # Whether or not the text is underlined. |
| 39266 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 39267 | }, |
| 39268 | }, |
| 39269 | "bulletSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| 39270 | # Bullet have been changed in this suggestion. |
| 39271 | # Bullet have been changed in this suggestion. |
| 39272 | # For any field set to true, there is a new suggested value. |
| 39273 | "nestingLevelSuggested": True or False, # Indicates if there was a suggested change to the |
| 39274 | # nesting_level. |
| 39275 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| 39276 | # suggestion. |
| 39277 | # For any field set to true, there is a new suggested value. |
| 39278 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 39279 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 39280 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 39281 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 39282 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 39283 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 39284 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 39285 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 39286 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 39287 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 39288 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 39289 | }, |
| 39290 | "listIdSuggested": True or False, # Indicates if there was a suggested change to the |
| 39291 | # list_id. |
| 39292 | }, |
| 39293 | }, |
| 39294 | }, |
| 39295 | "positionedObjectIds": [ # The IDs of the positioned objects tethered to this paragraph. |
| 39296 | "A String", |
| 39297 | ], |
| 39298 | "suggestedParagraphStyleChanges": { # The suggested paragraph style changes to this paragraph, keyed by |
| 39299 | # suggestion ID. |
| 39300 | "a_key": { # A suggested change to a |
| 39301 | # ParagraphStyle. |
| 39302 | "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. |
| 39303 | # For any field set to true, there is a new suggested value. |
| 39304 | "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| 39305 | "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| 39306 | "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| 39307 | "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| 39308 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 39309 | "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| 39310 | "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| 39311 | "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| 39312 | "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| 39313 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 39314 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 39315 | "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| 39316 | "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| 39317 | "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| 39318 | "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| 39319 | "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| 39320 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 39321 | "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| 39322 | "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| 39323 | "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| 39324 | # this suggestion. |
| 39325 | # suggested change. For any field set to true, there is a new suggested value. |
| 39326 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| 39327 | }, |
| 39328 | }, |
| 39329 | "paragraphStyle": { # Styles that apply to a whole paragraph. # A ParagraphStyle that only includes |
| 39330 | # the changes made in this suggestion. This can be used along with the |
| 39331 | # paragraph_suggestion_state |
| 39332 | # to see which fields have changed and their new values. |
| 39333 | # |
| 39334 | # Inherited paragraph styles are represented as unset fields in this message. |
| 39335 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 39336 | # |
| 39337 | # * The ParagraphStyle on a Paragraph |
| 39338 | # inherits from the paragraph's corresponding named style type. |
| 39339 | # * The ParagraphStyle on a named style |
| 39340 | # inherits from the normal text named style. |
| 39341 | # * The ParagraphStyle of the normal text named style inherits |
| 39342 | # from the default paragraph style in the Docs editor. |
| 39343 | # * The ParagraphStyle on a Paragraph |
| 39344 | # element that is contained in a table may inherit its paragraph style from |
| 39345 | # the table style. |
| 39346 | # |
| 39347 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 39348 | # revert the style to a value matching the defaults in the Docs editor. |
| 39349 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 39350 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 39351 | # LEFT_TO_RIGHT since |
| 39352 | # paragraph direction is not inherited. |
| 39353 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 39354 | # inherited from the parent. |
| 39355 | "magnitude": 3.14, # The magnitude. |
| 39356 | "unit": "A String", # The units for magnitude. |
| 39357 | }, |
| 39358 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 39359 | # page or column as the next paragraph if possible. If unset, the value is |
| 39360 | # inherited from the parent. |
| 39361 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 39362 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 39363 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 39364 | # is inherited from the parent. |
| 39365 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 39366 | # inherited from the parent. |
| 39367 | # |
| 39368 | # The bottom border is rendered when the paragraph below has different border |
| 39369 | # and indent properties. |
| 39370 | # |
| 39371 | # Paragraph borders cannot be partially updated. When making |
| 39372 | # changes to a paragraph border the new border must be specified in |
| 39373 | # its entirety. |
| 39374 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 39375 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 39376 | # a transparent color. |
| 39377 | "rgbColor": { # An RGB color. # The RGB color value. |
| 39378 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 39379 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 39380 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 39381 | }, |
| 39382 | }, |
| 39383 | }, |
| 39384 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 39385 | "magnitude": 3.14, # The magnitude. |
| 39386 | "unit": "A String", # The units for magnitude. |
| 39387 | }, |
| 39388 | "dashStyle": "A String", # The dash style of the border. |
| 39389 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 39390 | "magnitude": 3.14, # The magnitude. |
| 39391 | "unit": "A String", # The units for magnitude. |
| 39392 | }, |
| 39393 | }, |
| 39394 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 39395 | # the start of the text, based on the current paragraph direction. If unset, |
| 39396 | # the value is inherited from the parent. |
| 39397 | "magnitude": 3.14, # The magnitude. |
| 39398 | "unit": "A String", # The units for magnitude. |
| 39399 | }, |
| 39400 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 39401 | # If unset, the value is inherited from the parent. |
| 39402 | # |
| 39403 | # The between border is rendered when the adjacent paragraph has the same |
| 39404 | # border and indent properties. |
| 39405 | # |
| 39406 | # Paragraph borders cannot be partially updated. When making |
| 39407 | # changes to a paragraph border the new border must be specified in |
| 39408 | # its entirety. |
| 39409 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 39410 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 39411 | # a transparent color. |
| 39412 | "rgbColor": { # An RGB color. # The RGB color value. |
| 39413 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 39414 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 39415 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 39416 | }, |
| 39417 | }, |
| 39418 | }, |
| 39419 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 39420 | "magnitude": 3.14, # The magnitude. |
| 39421 | "unit": "A String", # The units for magnitude. |
| 39422 | }, |
| 39423 | "dashStyle": "A String", # The dash style of the border. |
| 39424 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 39425 | "magnitude": 3.14, # The magnitude. |
| 39426 | "unit": "A String", # The units for magnitude. |
| 39427 | }, |
| 39428 | }, |
| 39429 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 39430 | # |
| 39431 | # Since updating the named style type affects other properties within |
| 39432 | # ParagraphStyle, the named style type is applied before the other properties |
| 39433 | # are updated. |
| 39434 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 39435 | # from the parent. |
| 39436 | # |
| 39437 | # Paragraph borders cannot be partially updated. When making |
| 39438 | # changes to a paragraph border the new border must be specified in |
| 39439 | # its entirety. |
| 39440 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 39441 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 39442 | # a transparent color. |
| 39443 | "rgbColor": { # An RGB color. # The RGB color value. |
| 39444 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 39445 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 39446 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 39447 | }, |
| 39448 | }, |
| 39449 | }, |
| 39450 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 39451 | "magnitude": 3.14, # The magnitude. |
| 39452 | "unit": "A String", # The units for magnitude. |
| 39453 | }, |
| 39454 | "dashStyle": "A String", # The dash style of the border. |
| 39455 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 39456 | "magnitude": 3.14, # The magnitude. |
| 39457 | "unit": "A String", # The units for magnitude. |
| 39458 | }, |
| 39459 | }, |
| 39460 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 39461 | # the end of the text, based on the current paragraph direction. If unset, |
| 39462 | # the value is inherited from the parent. |
| 39463 | "magnitude": 3.14, # The magnitude. |
| 39464 | "unit": "A String", # The units for magnitude. |
| 39465 | }, |
| 39466 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 39467 | # from the parent. |
| 39468 | # |
| 39469 | # Paragraph borders cannot be partially updated. When making |
| 39470 | # changes to a paragraph border the new border must be specified in |
| 39471 | # its entirety. |
| 39472 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 39473 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 39474 | # a transparent color. |
| 39475 | "rgbColor": { # An RGB color. # The RGB color value. |
| 39476 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 39477 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 39478 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 39479 | }, |
| 39480 | }, |
| 39481 | }, |
| 39482 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 39483 | "magnitude": 3.14, # The magnitude. |
| 39484 | "unit": "A String", # The units for magnitude. |
| 39485 | }, |
| 39486 | "dashStyle": "A String", # The dash style of the border. |
| 39487 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 39488 | "magnitude": 3.14, # The magnitude. |
| 39489 | "unit": "A String", # The units for magnitude. |
| 39490 | }, |
| 39491 | }, |
| 39492 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 39493 | # inherited from the parent. |
| 39494 | "magnitude": 3.14, # The magnitude. |
| 39495 | "unit": "A String", # The units for magnitude. |
| 39496 | }, |
| 39497 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 39498 | # heading. This property is read-only. |
| 39499 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 39500 | # parent. |
| 39501 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 39502 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 39503 | # a transparent color. |
| 39504 | "rgbColor": { # An RGB color. # The RGB color value. |
| 39505 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 39506 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 39507 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 39508 | }, |
| 39509 | }, |
| 39510 | }, |
| 39511 | }, |
| 39512 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 39513 | # from the parent. |
| 39514 | # |
| 39515 | # The top border is rendered when the paragraph above has different border |
| 39516 | # and indent properties. |
| 39517 | # |
| 39518 | # Paragraph borders cannot be partially updated. When making |
| 39519 | # changes to a paragraph border the new border must be specified in |
| 39520 | # its entirety. |
| 39521 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 39522 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 39523 | # a transparent color. |
| 39524 | "rgbColor": { # An RGB color. # The RGB color value. |
| 39525 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 39526 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 39527 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 39528 | }, |
| 39529 | }, |
| 39530 | }, |
| 39531 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 39532 | "magnitude": 3.14, # The magnitude. |
| 39533 | "unit": "A String", # The units for magnitude. |
| 39534 | }, |
| 39535 | "dashStyle": "A String", # The dash style of the border. |
| 39536 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 39537 | "magnitude": 3.14, # The magnitude. |
| 39538 | "unit": "A String", # The units for magnitude. |
| 39539 | }, |
| 39540 | }, |
| 39541 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 39542 | # inherited. This property is read-only. |
| 39543 | { # A tab stop within a paragraph. |
| 39544 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 39545 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 39546 | "magnitude": 3.14, # The magnitude. |
| 39547 | "unit": "A String", # The units for magnitude. |
| 39548 | }, |
| 39549 | }, |
| 39550 | ], |
| 39551 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 39552 | # the value is inherited from the parent. |
| 39553 | "magnitude": 3.14, # The magnitude. |
| 39554 | "unit": "A String", # The units for magnitude. |
| 39555 | }, |
| 39556 | "alignment": "A String", # The text alignment for this paragraph. |
| 39557 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 39558 | # column if possible. If unset, the value is inherited from the parent. |
| 39559 | }, |
| 39560 | }, |
| 39561 | }, |
| 39562 | "paragraphStyle": { # Styles that apply to a whole paragraph. # The style of this paragraph. |
| 39563 | # |
| 39564 | # Inherited paragraph styles are represented as unset fields in this message. |
| 39565 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 39566 | # |
| 39567 | # * The ParagraphStyle on a Paragraph |
| 39568 | # inherits from the paragraph's corresponding named style type. |
| 39569 | # * The ParagraphStyle on a named style |
| 39570 | # inherits from the normal text named style. |
| 39571 | # * The ParagraphStyle of the normal text named style inherits |
| 39572 | # from the default paragraph style in the Docs editor. |
| 39573 | # * The ParagraphStyle on a Paragraph |
| 39574 | # element that is contained in a table may inherit its paragraph style from |
| 39575 | # the table style. |
| 39576 | # |
| 39577 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 39578 | # revert the style to a value matching the defaults in the Docs editor. |
| 39579 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 39580 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 39581 | # LEFT_TO_RIGHT since |
| 39582 | # paragraph direction is not inherited. |
| 39583 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 39584 | # inherited from the parent. |
| 39585 | "magnitude": 3.14, # The magnitude. |
| 39586 | "unit": "A String", # The units for magnitude. |
| 39587 | }, |
| 39588 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 39589 | # page or column as the next paragraph if possible. If unset, the value is |
| 39590 | # inherited from the parent. |
| 39591 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 39592 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 39593 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 39594 | # is inherited from the parent. |
| 39595 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 39596 | # inherited from the parent. |
| 39597 | # |
| 39598 | # The bottom border is rendered when the paragraph below has different border |
| 39599 | # and indent properties. |
| 39600 | # |
| 39601 | # Paragraph borders cannot be partially updated. When making |
| 39602 | # changes to a paragraph border the new border must be specified in |
| 39603 | # its entirety. |
| 39604 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 39605 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 39606 | # a transparent color. |
| 39607 | "rgbColor": { # An RGB color. # The RGB color value. |
| 39608 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 39609 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 39610 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 39611 | }, |
| 39612 | }, |
| 39613 | }, |
| 39614 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 39615 | "magnitude": 3.14, # The magnitude. |
| 39616 | "unit": "A String", # The units for magnitude. |
| 39617 | }, |
| 39618 | "dashStyle": "A String", # The dash style of the border. |
| 39619 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 39620 | "magnitude": 3.14, # The magnitude. |
| 39621 | "unit": "A String", # The units for magnitude. |
| 39622 | }, |
| 39623 | }, |
| 39624 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 39625 | # the start of the text, based on the current paragraph direction. If unset, |
| 39626 | # the value is inherited from the parent. |
| 39627 | "magnitude": 3.14, # The magnitude. |
| 39628 | "unit": "A String", # The units for magnitude. |
| 39629 | }, |
| 39630 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 39631 | # If unset, the value is inherited from the parent. |
| 39632 | # |
| 39633 | # The between border is rendered when the adjacent paragraph has the same |
| 39634 | # border and indent properties. |
| 39635 | # |
| 39636 | # Paragraph borders cannot be partially updated. When making |
| 39637 | # changes to a paragraph border the new border must be specified in |
| 39638 | # its entirety. |
| 39639 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 39640 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 39641 | # a transparent color. |
| 39642 | "rgbColor": { # An RGB color. # The RGB color value. |
| 39643 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 39644 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 39645 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 39646 | }, |
| 39647 | }, |
| 39648 | }, |
| 39649 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 39650 | "magnitude": 3.14, # The magnitude. |
| 39651 | "unit": "A String", # The units for magnitude. |
| 39652 | }, |
| 39653 | "dashStyle": "A String", # The dash style of the border. |
| 39654 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 39655 | "magnitude": 3.14, # The magnitude. |
| 39656 | "unit": "A String", # The units for magnitude. |
| 39657 | }, |
| 39658 | }, |
| 39659 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 39660 | # |
| 39661 | # Since updating the named style type affects other properties within |
| 39662 | # ParagraphStyle, the named style type is applied before the other properties |
| 39663 | # are updated. |
| 39664 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 39665 | # from the parent. |
| 39666 | # |
| 39667 | # Paragraph borders cannot be partially updated. When making |
| 39668 | # changes to a paragraph border the new border must be specified in |
| 39669 | # its entirety. |
| 39670 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 39671 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 39672 | # a transparent color. |
| 39673 | "rgbColor": { # An RGB color. # The RGB color value. |
| 39674 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 39675 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 39676 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 39677 | }, |
| 39678 | }, |
| 39679 | }, |
| 39680 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 39681 | "magnitude": 3.14, # The magnitude. |
| 39682 | "unit": "A String", # The units for magnitude. |
| 39683 | }, |
| 39684 | "dashStyle": "A String", # The dash style of the border. |
| 39685 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 39686 | "magnitude": 3.14, # The magnitude. |
| 39687 | "unit": "A String", # The units for magnitude. |
| 39688 | }, |
| 39689 | }, |
| 39690 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 39691 | # the end of the text, based on the current paragraph direction. If unset, |
| 39692 | # the value is inherited from the parent. |
| 39693 | "magnitude": 3.14, # The magnitude. |
| 39694 | "unit": "A String", # The units for magnitude. |
| 39695 | }, |
| 39696 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 39697 | # from the parent. |
| 39698 | # |
| 39699 | # Paragraph borders cannot be partially updated. When making |
| 39700 | # changes to a paragraph border the new border must be specified in |
| 39701 | # its entirety. |
| 39702 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 39703 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 39704 | # a transparent color. |
| 39705 | "rgbColor": { # An RGB color. # The RGB color value. |
| 39706 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 39707 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 39708 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 39709 | }, |
| 39710 | }, |
| 39711 | }, |
| 39712 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 39713 | "magnitude": 3.14, # The magnitude. |
| 39714 | "unit": "A String", # The units for magnitude. |
| 39715 | }, |
| 39716 | "dashStyle": "A String", # The dash style of the border. |
| 39717 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 39718 | "magnitude": 3.14, # The magnitude. |
| 39719 | "unit": "A String", # The units for magnitude. |
| 39720 | }, |
| 39721 | }, |
| 39722 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 39723 | # inherited from the parent. |
| 39724 | "magnitude": 3.14, # The magnitude. |
| 39725 | "unit": "A String", # The units for magnitude. |
| 39726 | }, |
| 39727 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 39728 | # heading. This property is read-only. |
| 39729 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 39730 | # parent. |
| 39731 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 39732 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 39733 | # a transparent color. |
| 39734 | "rgbColor": { # An RGB color. # The RGB color value. |
| 39735 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 39736 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 39737 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 39738 | }, |
| 39739 | }, |
| 39740 | }, |
| 39741 | }, |
| 39742 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 39743 | # from the parent. |
| 39744 | # |
| 39745 | # The top border is rendered when the paragraph above has different border |
| 39746 | # and indent properties. |
| 39747 | # |
| 39748 | # Paragraph borders cannot be partially updated. When making |
| 39749 | # changes to a paragraph border the new border must be specified in |
| 39750 | # its entirety. |
| 39751 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 39752 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 39753 | # a transparent color. |
| 39754 | "rgbColor": { # An RGB color. # The RGB color value. |
| 39755 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 39756 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 39757 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 39758 | }, |
| 39759 | }, |
| 39760 | }, |
| 39761 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 39762 | "magnitude": 3.14, # The magnitude. |
| 39763 | "unit": "A String", # The units for magnitude. |
| 39764 | }, |
| 39765 | "dashStyle": "A String", # The dash style of the border. |
| 39766 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 39767 | "magnitude": 3.14, # The magnitude. |
| 39768 | "unit": "A String", # The units for magnitude. |
| 39769 | }, |
| 39770 | }, |
| 39771 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 39772 | # inherited. This property is read-only. |
| 39773 | { # A tab stop within a paragraph. |
| 39774 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 39775 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 39776 | "magnitude": 3.14, # The magnitude. |
| 39777 | "unit": "A String", # The units for magnitude. |
| 39778 | }, |
| 39779 | }, |
| 39780 | ], |
| 39781 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 39782 | # the value is inherited from the parent. |
| 39783 | "magnitude": 3.14, # The magnitude. |
| 39784 | "unit": "A String", # The units for magnitude. |
| 39785 | }, |
| 39786 | "alignment": "A String", # The text alignment for this paragraph. |
| 39787 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 39788 | # column if possible. If unset, the value is inherited from the parent. |
| 39789 | }, |
| 39790 | }, |
| 39791 | "table": { # A StructuralElement representing a # A table type of structural element. |
| 39792 | # table. |
| 39793 | "rows": 42, # Number of rows in the table. |
| 39794 | "tableStyle": { # Styles that apply to a table. # The style of the table. |
| 39795 | "tableColumnProperties": [ # The properties of each column. |
| 39796 | # |
| 39797 | # Note that in Docs, tables contain rows and rows contain cells, similar to |
| 39798 | # HTML. So the properties for a row can be found on the row's |
| 39799 | # table_row_style. |
| 39800 | { # The properties of a column in a table. |
| 39801 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| 39802 | # FIXED_WIDTH. |
| 39803 | "magnitude": 3.14, # The magnitude. |
| 39804 | "unit": "A String", # The units for magnitude. |
| 39805 | }, |
| 39806 | "widthType": "A String", # The width type of the column. |
| 39807 | }, |
| 39808 | ], |
| 39809 | }, |
| 39810 | "suggestedInsertionIds": [ # The suggested insertion IDs. A Table may have |
| 39811 | # multiple insertion IDs if it is a nested suggested change. If empty, then |
| 39812 | # this is not a suggested insertion. |
| 39813 | "A String", |
| 39814 | ], |
| 39815 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 39816 | # of this content. |
| 39817 | "A String", |
| 39818 | ], |
| 39819 | "tableRows": [ # The contents and style of each row. |
| 39820 | { # The contents and style of a row in a Table. |
| 39821 | "endIndex": 42, # The zero-based end index of this row, exclusive, in UTF-16 code units. |
| 39822 | "tableCells": [ # The contents and style of each cell in this row. |
| 39823 | # |
| 39824 | # It is possible for a table to be non-rectangular, so some rows may have a |
| 39825 | # different number of cells than other rows in the same table. |
| 39826 | { # The contents and style of a cell in a Table. |
| 39827 | "endIndex": 42, # The zero-based end index of this cell, exclusive, in UTF-16 code units. |
| 39828 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 39829 | # of this content. |
| 39830 | "A String", |
| 39831 | ], |
| 39832 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableCell |
| 39833 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 39834 | # empty, then this is not a suggested insertion. |
| 39835 | "A String", |
| 39836 | ], |
| 39837 | "content": [ # The content of the cell. |
| 39838 | # Object with schema name: StructuralElement |
| 39839 | ], |
| 39840 | "tableCellStyle": { # The style of a TableCell. # The style of the cell. |
| 39841 | # |
| 39842 | # Inherited table cell styles are represented as unset fields in this message. |
| 39843 | # A table cell style can inherit from the table's style. |
| 39844 | "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| 39845 | "magnitude": 3.14, # The magnitude. |
| 39846 | "unit": "A String", # The units for magnitude. |
| 39847 | }, |
| 39848 | "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| 39849 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 39850 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 39851 | # a transparent color. |
| 39852 | "rgbColor": { # An RGB color. # The RGB color value. |
| 39853 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 39854 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 39855 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 39856 | }, |
| 39857 | }, |
| 39858 | }, |
| 39859 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 39860 | "magnitude": 3.14, # The magnitude. |
| 39861 | "unit": "A String", # The units for magnitude. |
| 39862 | }, |
| 39863 | "dashStyle": "A String", # The dash style of the border. |
| 39864 | }, |
| 39865 | "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| 39866 | "magnitude": 3.14, # The magnitude. |
| 39867 | "unit": "A String", # The units for magnitude. |
| 39868 | }, |
| 39869 | "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| 39870 | "magnitude": 3.14, # The magnitude. |
| 39871 | "unit": "A String", # The units for magnitude. |
| 39872 | }, |
| 39873 | "borderLeft": { # A border around a table cell. # The left border of the cell. |
| 39874 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 39875 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 39876 | # a transparent color. |
| 39877 | "rgbColor": { # An RGB color. # The RGB color value. |
| 39878 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 39879 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 39880 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 39881 | }, |
| 39882 | }, |
| 39883 | }, |
| 39884 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 39885 | "magnitude": 3.14, # The magnitude. |
| 39886 | "unit": "A String", # The units for magnitude. |
| 39887 | }, |
| 39888 | "dashStyle": "A String", # The dash style of the border. |
| 39889 | }, |
| 39890 | "columnSpan": 42, # The column span of the cell. This property is read-only. |
| 39891 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| 39892 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 39893 | # a transparent color. |
| 39894 | "rgbColor": { # An RGB color. # The RGB color value. |
| 39895 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 39896 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 39897 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 39898 | }, |
| 39899 | }, |
| 39900 | }, |
| 39901 | "borderRight": { # A border around a table cell. # The right border of the cell. |
| 39902 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 39903 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 39904 | # a transparent color. |
| 39905 | "rgbColor": { # An RGB color. # The RGB color value. |
| 39906 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 39907 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 39908 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 39909 | }, |
| 39910 | }, |
| 39911 | }, |
| 39912 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 39913 | "magnitude": 3.14, # The magnitude. |
| 39914 | "unit": "A String", # The units for magnitude. |
| 39915 | }, |
| 39916 | "dashStyle": "A String", # The dash style of the border. |
| 39917 | }, |
| 39918 | "rowSpan": 42, # The row span of the cell. This property is read-only. |
| 39919 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 39920 | # matches the alignment for newly created table cells in the Docs editor. |
| 39921 | "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| 39922 | "magnitude": 3.14, # The magnitude. |
| 39923 | "unit": "A String", # The units for magnitude. |
| 39924 | }, |
| 39925 | "borderTop": { # A border around a table cell. # The top border of the cell. |
| 39926 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 39927 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 39928 | # a transparent color. |
| 39929 | "rgbColor": { # An RGB color. # The RGB color value. |
| 39930 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 39931 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 39932 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 39933 | }, |
| 39934 | }, |
| 39935 | }, |
| 39936 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 39937 | "magnitude": 3.14, # The magnitude. |
| 39938 | "unit": "A String", # The units for magnitude. |
| 39939 | }, |
| 39940 | "dashStyle": "A String", # The dash style of the border. |
| 39941 | }, |
| 39942 | }, |
| 39943 | "startIndex": 42, # The zero-based start index of this cell, in UTF-16 code units. |
| 39944 | "suggestedTableCellStyleChanges": { # The suggested changes to the table cell style, keyed by suggestion ID. |
| 39945 | "a_key": { # A suggested change to a TableCellStyle. |
| 39946 | "tableCellStyle": { # The style of a TableCell. # A TableCellStyle that only includes |
| 39947 | # the changes made in this suggestion. This can be used along with the |
| 39948 | # table_cell_style_suggestion_state |
| 39949 | # to see which fields have changed and their new values. |
| 39950 | # |
| 39951 | # Inherited table cell styles are represented as unset fields in this message. |
| 39952 | # A table cell style can inherit from the table's style. |
| 39953 | "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| 39954 | "magnitude": 3.14, # The magnitude. |
| 39955 | "unit": "A String", # The units for magnitude. |
| 39956 | }, |
| 39957 | "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| 39958 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 39959 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 39960 | # a transparent color. |
| 39961 | "rgbColor": { # An RGB color. # The RGB color value. |
| 39962 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 39963 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 39964 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 39965 | }, |
| 39966 | }, |
| 39967 | }, |
| 39968 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 39969 | "magnitude": 3.14, # The magnitude. |
| 39970 | "unit": "A String", # The units for magnitude. |
| 39971 | }, |
| 39972 | "dashStyle": "A String", # The dash style of the border. |
| 39973 | }, |
| 39974 | "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| 39975 | "magnitude": 3.14, # The magnitude. |
| 39976 | "unit": "A String", # The units for magnitude. |
| 39977 | }, |
| 39978 | "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| 39979 | "magnitude": 3.14, # The magnitude. |
| 39980 | "unit": "A String", # The units for magnitude. |
| 39981 | }, |
| 39982 | "borderLeft": { # A border around a table cell. # The left border of the cell. |
| 39983 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 39984 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 39985 | # a transparent color. |
| 39986 | "rgbColor": { # An RGB color. # The RGB color value. |
| 39987 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 39988 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 39989 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 39990 | }, |
| 39991 | }, |
| 39992 | }, |
| 39993 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 39994 | "magnitude": 3.14, # The magnitude. |
| 39995 | "unit": "A String", # The units for magnitude. |
| 39996 | }, |
| 39997 | "dashStyle": "A String", # The dash style of the border. |
| 39998 | }, |
| 39999 | "columnSpan": 42, # The column span of the cell. This property is read-only. |
| 40000 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| 40001 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 40002 | # a transparent color. |
| 40003 | "rgbColor": { # An RGB color. # The RGB color value. |
| 40004 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 40005 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 40006 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 40007 | }, |
| 40008 | }, |
| 40009 | }, |
| 40010 | "borderRight": { # A border around a table cell. # The right border of the cell. |
| 40011 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 40012 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 40013 | # a transparent color. |
| 40014 | "rgbColor": { # An RGB color. # The RGB color value. |
| 40015 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 40016 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 40017 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 40018 | }, |
| 40019 | }, |
| 40020 | }, |
| 40021 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 40022 | "magnitude": 3.14, # The magnitude. |
| 40023 | "unit": "A String", # The units for magnitude. |
| 40024 | }, |
| 40025 | "dashStyle": "A String", # The dash style of the border. |
| 40026 | }, |
| 40027 | "rowSpan": 42, # The row span of the cell. This property is read-only. |
| 40028 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 40029 | # matches the alignment for newly created table cells in the Docs editor. |
| 40030 | "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| 40031 | "magnitude": 3.14, # The magnitude. |
| 40032 | "unit": "A String", # The units for magnitude. |
| 40033 | }, |
| 40034 | "borderTop": { # A border around a table cell. # The top border of the cell. |
| 40035 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 40036 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 40037 | # a transparent color. |
| 40038 | "rgbColor": { # An RGB color. # The RGB color value. |
| 40039 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 40040 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 40041 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 40042 | }, |
| 40043 | }, |
| 40044 | }, |
| 40045 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 40046 | "magnitude": 3.14, # The magnitude. |
| 40047 | "unit": "A String", # The units for magnitude. |
| 40048 | }, |
| 40049 | "dashStyle": "A String", # The dash style of the border. |
| 40050 | }, |
| 40051 | }, |
| 40052 | "tableCellStyleSuggestionState": { # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. |
| 40053 | # For any field set to true, there is a new suggested value. |
| 40054 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 40055 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 40056 | "paddingBottomSuggested": True or False, # Indicates if there was a suggested change to padding_bottom. |
| 40057 | "contentAlignmentSuggested": True or False, # Indicates if there was a suggested change to content_alignment. |
| 40058 | "rowSpanSuggested": True or False, # Indicates if there was a suggested change to row_span. |
| 40059 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 40060 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 40061 | "columnSpanSuggested": True or False, # Indicates if there was a suggested change to column_span. |
| 40062 | "paddingRightSuggested": True or False, # Indicates if there was a suggested change to padding_right. |
| 40063 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 40064 | "paddingLeftSuggested": True or False, # Indicates if there was a suggested change to padding_left. |
| 40065 | "paddingTopSuggested": True or False, # Indicates if there was a suggested change to padding_top. |
| 40066 | }, |
| 40067 | }, |
| 40068 | }, |
| 40069 | }, |
| 40070 | ], |
| 40071 | "tableRowStyle": { # Styles that apply to a table row. # The style of the table row. |
| 40072 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 40073 | # at a height equal to or greater than this value in order to show all the |
| 40074 | # content in the row's cells. |
| 40075 | "magnitude": 3.14, # The magnitude. |
| 40076 | "unit": "A String", # The units for magnitude. |
| 40077 | }, |
| 40078 | }, |
| 40079 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableRow |
| 40080 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 40081 | # empty, then this is not a suggested insertion. |
| 40082 | "A String", |
| 40083 | ], |
| 40084 | "startIndex": 42, # The zero-based start index of this row, in UTF-16 code units. |
| 40085 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 40086 | # of this content. |
| 40087 | "A String", |
| 40088 | ], |
| 40089 | "suggestedTableRowStyleChanges": { # The suggested style changes to this row, keyed by suggestion ID. |
| 40090 | "a_key": { # A suggested change to a |
| 40091 | # TableRowStyle. |
| 40092 | "tableRowStyle": { # Styles that apply to a table row. # A TableRowStyle that only includes |
| 40093 | # the changes made in this suggestion. This can be used along with the |
| 40094 | # table_row_style_suggestion_state |
| 40095 | # to see which fields have changed and their new values. |
| 40096 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 40097 | # at a height equal to or greater than this value in order to show all the |
| 40098 | # content in the row's cells. |
| 40099 | "magnitude": 3.14, # The magnitude. |
| 40100 | "unit": "A String", # The units for magnitude. |
| 40101 | }, |
| 40102 | }, |
| 40103 | "tableRowStyleSuggestionState": { # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. |
| 40104 | # For any field set to true, there is a new suggested value. |
| 40105 | "minRowHeightSuggested": True or False, # Indicates if there was a suggested change to min_row_height. |
| 40106 | }, |
| 40107 | }, |
| 40108 | }, |
| 40109 | }, |
| 40110 | ], |
| 40111 | "columns": 42, # Number of columns in the table. |
| 40112 | # |
| 40113 | # It is possible for a table to be non-rectangular, so some rows may have a |
| 40114 | # different number of cells. |
| 40115 | }, |
| 40116 | }, |
| 40117 | ], |
| 40118 | "footerId": "A String", # The ID of the footer. |
| 40119 | }, |
| 40120 | }, |
| 40121 | "footnotes": { # The footnotes in the document, keyed by footnote ID. |
| 40122 | "a_key": { # A document footnote. |
| 40123 | "content": [ # The contents of the footnote. |
| 40124 | # |
| 40125 | # The indexes for a footnote's content begin at zero. |
| 40126 | { # A StructuralElement describes content that provides structure to the |
| 40127 | # document. |
| 40128 | "endIndex": 42, # The zero-based end index of this structural element, exclusive, in UTF-16 |
| 40129 | # code units. |
| 40130 | "sectionBreak": { # A StructuralElement representing a # A section break type of structural element. |
| 40131 | # section break. A section is a range of content which has the same |
| 40132 | # SectionStyle. A section break represents |
| 40133 | # the start of a new section, and the section style applies to the section |
| 40134 | # after the section break. |
| 40135 | # |
| 40136 | # The document body always begins with a section break. |
| 40137 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 40138 | # of this content. |
| 40139 | "A String", |
| 40140 | ], |
| 40141 | "sectionStyle": { # The styling that applies to a section. # The style of the section after this section break. |
| 40142 | "contentDirection": "A String", # The content direction of this section. If unset, the value defaults to |
| 40143 | # LEFT_TO_RIGHT. |
| 40144 | "columnProperties": [ # The section's columns properties. |
| 40145 | # |
| 40146 | # If empty, the section contains one column with the default properties in |
| 40147 | # the Docs editor. |
| 40148 | { # Properties that apply to a section's column. |
| 40149 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. |
| 40150 | "magnitude": 3.14, # The magnitude. |
| 40151 | "unit": "A String", # The units for magnitude. |
| 40152 | }, |
| 40153 | "paddingEnd": { # A magnitude in a single direction in the specified units. # The padding at the end of the column. |
| 40154 | "magnitude": 3.14, # The magnitude. |
| 40155 | "unit": "A String", # The units for magnitude. |
| 40156 | }, |
| 40157 | }, |
| 40158 | ], |
| 40159 | "columnSeparatorStyle": "A String", # The style of column separators. |
| 40160 | # |
| 40161 | # This style can be set even when there is one column in the section. |
| 40162 | }, |
| 40163 | "suggestedInsertionIds": [ # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is |
| 40164 | # a nested suggested change. If empty, then this is not a suggested |
| 40165 | # insertion. |
| 40166 | "A String", |
| 40167 | ], |
| 40168 | }, |
| 40169 | "tableOfContents": { # A StructuralElement representing # A table of contents type of structural element. |
| 40170 | # a table of contents. |
| 40171 | "content": [ # The content of the table of contents. |
| 40172 | # Object with schema name: StructuralElement |
| 40173 | ], |
| 40174 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 40175 | # of this content. |
| 40176 | "A String", |
| 40177 | ], |
| 40178 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it |
| 40179 | # is a nested suggested change. If empty, then this is not a suggested |
| 40180 | # insertion. |
| 40181 | "A String", |
| 40182 | ], |
| 40183 | }, |
| 40184 | "startIndex": 42, # The zero-based start index of this structural element, in UTF-16 code |
| 40185 | # units. |
| 40186 | "paragraph": { # A StructuralElement representing a # A paragraph type of structural element. |
| 40187 | # paragraph. A paragraph is a range of content that is terminated with a |
| 40188 | # newline character. |
| 40189 | "elements": [ # The content of the paragraph broken down into its component parts. |
| 40190 | { # A ParagraphElement describes content within a |
| 40191 | # Paragraph. |
| 40192 | "endIndex": 42, # The zero-base end index of this paragraph element, exclusive, in UTF-16 |
| 40193 | # code units. |
| 40194 | "equation": { # A ParagraphElement representing an # An equation paragraph element. |
| 40195 | # equation. |
| 40196 | "suggestedInsertionIds": [ # The suggested insertion IDs. A Equation |
| 40197 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 40198 | # empty, then this is not a suggested insertion. |
| 40199 | "A String", |
| 40200 | ], |
| 40201 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 40202 | # of this content. |
| 40203 | "A String", |
| 40204 | ], |
| 40205 | }, |
| 40206 | "columnBreak": { # A ParagraphElement representing a # A column break paragraph element. |
| 40207 | # column break. A column break makes the subsequent text start at the top of |
| 40208 | # the next column. |
| 40209 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this ColumnBreak. |
| 40210 | # |
| 40211 | # Similar to text content, like text runs and footnote references, the text |
| 40212 | # style of a column break can affect content layout as well as the styling of |
| 40213 | # text inserted adjacent to it. |
| 40214 | # |
| 40215 | # Inherited text styles are represented as unset fields in this message. A |
| 40216 | # text style's parent depends on where the text style is defined: |
| 40217 | # |
| 40218 | # * The TextStyle of text in a Paragraph |
| 40219 | # inherits from the paragraph's corresponding named style type. |
| 40220 | # * The TextStyle on a named style |
| 40221 | # inherits from the normal text named style. |
| 40222 | # * The TextStyle of the normal text named style inherits |
| 40223 | # from the default text style in the Docs editor. |
| 40224 | # * The TextStyle on a Paragraph element |
| 40225 | # that is contained in a table may inherit its text style from the table |
| 40226 | # style. |
| 40227 | # |
| 40228 | # If the text style does not inherit from a parent, unsetting fields will |
| 40229 | # revert the style to a value matching the defaults in the Docs editor. |
| 40230 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 40231 | # or transparent, depending on the `color` field. |
| 40232 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 40233 | # a transparent color. |
| 40234 | "rgbColor": { # An RGB color. # The RGB color value. |
| 40235 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 40236 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 40237 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 40238 | }, |
| 40239 | }, |
| 40240 | }, |
| 40241 | "italic": True or False, # Whether or not the text is italicized. |
| 40242 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 40243 | # |
| 40244 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 40245 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 40246 | # The `font_size` itself is not affected by changes in this field. |
| 40247 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 40248 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 40249 | # |
| 40250 | # If an update request specifies values for both `weighted_font_family` and |
| 40251 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 40252 | # |
| 40253 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 40254 | # |
| 40255 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 40256 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 40257 | # is returned. |
| 40258 | "fontFamily": "A String", # The font family of the text. |
| 40259 | # |
| 40260 | # The font family can be any font from the Font menu in Docs or from |
| 40261 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 40262 | # unrecognized, the text is rendered in `Arial`. |
| 40263 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 40264 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 40265 | # numerical values described in the CSS 2.1 Specification, |
| 40266 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 40267 | # non-numerical values disallowed. |
| 40268 | # |
| 40269 | # The default value is `400` ("normal"). |
| 40270 | # |
| 40271 | # The font weight makes up just one component of the rendered font weight. |
| 40272 | # The rendered weight is determined by a combination of the `weight` and the |
| 40273 | # text style's resolved `bold` value, after accounting for inheritance: |
| 40274 | # |
| 40275 | # * If the text is bold and the weight is less than `400`, the rendered |
| 40276 | # weight is 400. |
| 40277 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 40278 | # is less than `700`, the rendered weight is `700`. |
| 40279 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 40280 | # equal to the weight. |
| 40281 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 40282 | }, |
| 40283 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 40284 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 40285 | "magnitude": 3.14, # The magnitude. |
| 40286 | "unit": "A String", # The units for magnitude. |
| 40287 | }, |
| 40288 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 40289 | # or transparent, depending on the `color` field. |
| 40290 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 40291 | # a transparent color. |
| 40292 | "rgbColor": { # An RGB color. # The RGB color value. |
| 40293 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 40294 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 40295 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 40296 | }, |
| 40297 | }, |
| 40298 | }, |
| 40299 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 40300 | # are not inherited from parent text. |
| 40301 | # |
| 40302 | # Changing the link in an update request causes some other changes to the |
| 40303 | # text style of the range: |
| 40304 | # |
| 40305 | # * When setting a link, the text foreground color will be updated to the |
| 40306 | # default link color and the text will be underlined. If these fields are |
| 40307 | # modified in the same request, those values will be used instead of the |
| 40308 | # link defaults. |
| 40309 | # * Setting a link on a text range that overlaps with an existing link will |
| 40310 | # also update the existing link to point to the new URL. |
| 40311 | # * Links are not settable on newline characters. As a result, setting a link |
| 40312 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 40313 | # will separate the newline character(s) into their own text runs. The |
| 40314 | # link will be applied separately to the runs before and after the newline. |
| 40315 | # * Removing a link will update the text style of the range to match the |
| 40316 | # style of the preceding text (or the default text styles if the preceding |
| 40317 | # text is another link) unless different styles are being set in the same |
| 40318 | # request. |
| 40319 | "headingId": "A String", # The ID of a heading in this document. |
| 40320 | "url": "A String", # An external URL. |
| 40321 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 40322 | }, |
| 40323 | "underline": True or False, # Whether or not the text is underlined. |
| 40324 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 40325 | }, |
| 40326 | "suggestedInsertionIds": [ # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is |
| 40327 | # a nested suggested change. If empty, then this is not a suggested |
| 40328 | # insertion. |
| 40329 | "A String", |
| 40330 | ], |
| 40331 | "suggestedTextStyleChanges": { # The suggested text style changes to this ColumnBreak, keyed by suggestion |
| 40332 | # ID. |
| 40333 | "a_key": { # A suggested change to a TextStyle. |
| 40334 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 40335 | # the changes made in this suggestion. This can be used along with the |
| 40336 | # text_style_suggestion_state |
| 40337 | # to see which fields have changed and their new values. |
| 40338 | # |
| 40339 | # Inherited text styles are represented as unset fields in this message. A |
| 40340 | # text style's parent depends on where the text style is defined: |
| 40341 | # |
| 40342 | # * The TextStyle of text in a Paragraph |
| 40343 | # inherits from the paragraph's corresponding named style type. |
| 40344 | # * The TextStyle on a named style |
| 40345 | # inherits from the normal text named style. |
| 40346 | # * The TextStyle of the normal text named style inherits |
| 40347 | # from the default text style in the Docs editor. |
| 40348 | # * The TextStyle on a Paragraph element |
| 40349 | # that is contained in a table may inherit its text style from the table |
| 40350 | # style. |
| 40351 | # |
| 40352 | # If the text style does not inherit from a parent, unsetting fields will |
| 40353 | # revert the style to a value matching the defaults in the Docs editor. |
| 40354 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 40355 | # or transparent, depending on the `color` field. |
| 40356 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 40357 | # a transparent color. |
| 40358 | "rgbColor": { # An RGB color. # The RGB color value. |
| 40359 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 40360 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 40361 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 40362 | }, |
| 40363 | }, |
| 40364 | }, |
| 40365 | "italic": True or False, # Whether or not the text is italicized. |
| 40366 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 40367 | # |
| 40368 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 40369 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 40370 | # The `font_size` itself is not affected by changes in this field. |
| 40371 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 40372 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 40373 | # |
| 40374 | # If an update request specifies values for both `weighted_font_family` and |
| 40375 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 40376 | # |
| 40377 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 40378 | # |
| 40379 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 40380 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 40381 | # is returned. |
| 40382 | "fontFamily": "A String", # The font family of the text. |
| 40383 | # |
| 40384 | # The font family can be any font from the Font menu in Docs or from |
| 40385 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 40386 | # unrecognized, the text is rendered in `Arial`. |
| 40387 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 40388 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 40389 | # numerical values described in the CSS 2.1 Specification, |
| 40390 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 40391 | # non-numerical values disallowed. |
| 40392 | # |
| 40393 | # The default value is `400` ("normal"). |
| 40394 | # |
| 40395 | # The font weight makes up just one component of the rendered font weight. |
| 40396 | # The rendered weight is determined by a combination of the `weight` and the |
| 40397 | # text style's resolved `bold` value, after accounting for inheritance: |
| 40398 | # |
| 40399 | # * If the text is bold and the weight is less than `400`, the rendered |
| 40400 | # weight is 400. |
| 40401 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 40402 | # is less than `700`, the rendered weight is `700`. |
| 40403 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 40404 | # equal to the weight. |
| 40405 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 40406 | }, |
| 40407 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 40408 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 40409 | "magnitude": 3.14, # The magnitude. |
| 40410 | "unit": "A String", # The units for magnitude. |
| 40411 | }, |
| 40412 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 40413 | # or transparent, depending on the `color` field. |
| 40414 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 40415 | # a transparent color. |
| 40416 | "rgbColor": { # An RGB color. # The RGB color value. |
| 40417 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 40418 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 40419 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 40420 | }, |
| 40421 | }, |
| 40422 | }, |
| 40423 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 40424 | # are not inherited from parent text. |
| 40425 | # |
| 40426 | # Changing the link in an update request causes some other changes to the |
| 40427 | # text style of the range: |
| 40428 | # |
| 40429 | # * When setting a link, the text foreground color will be updated to the |
| 40430 | # default link color and the text will be underlined. If these fields are |
| 40431 | # modified in the same request, those values will be used instead of the |
| 40432 | # link defaults. |
| 40433 | # * Setting a link on a text range that overlaps with an existing link will |
| 40434 | # also update the existing link to point to the new URL. |
| 40435 | # * Links are not settable on newline characters. As a result, setting a link |
| 40436 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 40437 | # will separate the newline character(s) into their own text runs. The |
| 40438 | # link will be applied separately to the runs before and after the newline. |
| 40439 | # * Removing a link will update the text style of the range to match the |
| 40440 | # style of the preceding text (or the default text styles if the preceding |
| 40441 | # text is another link) unless different styles are being set in the same |
| 40442 | # request. |
| 40443 | "headingId": "A String", # The ID of a heading in this document. |
| 40444 | "url": "A String", # An external URL. |
| 40445 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 40446 | }, |
| 40447 | "underline": True or False, # Whether or not the text is underlined. |
| 40448 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 40449 | }, |
| 40450 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 40451 | # For any field set to true, there is a new suggested value. |
| 40452 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 40453 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 40454 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 40455 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 40456 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 40457 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 40458 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 40459 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 40460 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 40461 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 40462 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 40463 | }, |
| 40464 | }, |
| 40465 | }, |
| 40466 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 40467 | # of this content. |
| 40468 | "A String", |
| 40469 | ], |
| 40470 | }, |
| 40471 | "startIndex": 42, # The zero-based start index of this paragraph element, in UTF-16 code units. |
| 40472 | "pageBreak": { # A ParagraphElement representing a # A page break paragraph element. |
| 40473 | # page break. A page break makes the subsequent text start at the top of the |
| 40474 | # next page. |
| 40475 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this PageBreak. |
| 40476 | # |
| 40477 | # Similar to text content, like text runs and footnote references, the text |
| 40478 | # style of a page break can affect content layout as well as the styling of |
| 40479 | # text inserted adjacent to it. |
| 40480 | # |
| 40481 | # Inherited text styles are represented as unset fields in this message. A |
| 40482 | # text style's parent depends on where the text style is defined: |
| 40483 | # |
| 40484 | # * The TextStyle of text in a Paragraph |
| 40485 | # inherits from the paragraph's corresponding named style type. |
| 40486 | # * The TextStyle on a named style |
| 40487 | # inherits from the normal text named style. |
| 40488 | # * The TextStyle of the normal text named style inherits |
| 40489 | # from the default text style in the Docs editor. |
| 40490 | # * The TextStyle on a Paragraph element |
| 40491 | # that is contained in a table may inherit its text style from the table |
| 40492 | # style. |
| 40493 | # |
| 40494 | # If the text style does not inherit from a parent, unsetting fields will |
| 40495 | # revert the style to a value matching the defaults in the Docs editor. |
| 40496 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 40497 | # or transparent, depending on the `color` field. |
| 40498 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 40499 | # a transparent color. |
| 40500 | "rgbColor": { # An RGB color. # The RGB color value. |
| 40501 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 40502 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 40503 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 40504 | }, |
| 40505 | }, |
| 40506 | }, |
| 40507 | "italic": True or False, # Whether or not the text is italicized. |
| 40508 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 40509 | # |
| 40510 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 40511 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 40512 | # The `font_size` itself is not affected by changes in this field. |
| 40513 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 40514 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 40515 | # |
| 40516 | # If an update request specifies values for both `weighted_font_family` and |
| 40517 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 40518 | # |
| 40519 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 40520 | # |
| 40521 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 40522 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 40523 | # is returned. |
| 40524 | "fontFamily": "A String", # The font family of the text. |
| 40525 | # |
| 40526 | # The font family can be any font from the Font menu in Docs or from |
| 40527 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 40528 | # unrecognized, the text is rendered in `Arial`. |
| 40529 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 40530 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 40531 | # numerical values described in the CSS 2.1 Specification, |
| 40532 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 40533 | # non-numerical values disallowed. |
| 40534 | # |
| 40535 | # The default value is `400` ("normal"). |
| 40536 | # |
| 40537 | # The font weight makes up just one component of the rendered font weight. |
| 40538 | # The rendered weight is determined by a combination of the `weight` and the |
| 40539 | # text style's resolved `bold` value, after accounting for inheritance: |
| 40540 | # |
| 40541 | # * If the text is bold and the weight is less than `400`, the rendered |
| 40542 | # weight is 400. |
| 40543 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 40544 | # is less than `700`, the rendered weight is `700`. |
| 40545 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 40546 | # equal to the weight. |
| 40547 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 40548 | }, |
| 40549 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 40550 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 40551 | "magnitude": 3.14, # The magnitude. |
| 40552 | "unit": "A String", # The units for magnitude. |
| 40553 | }, |
| 40554 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 40555 | # or transparent, depending on the `color` field. |
| 40556 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 40557 | # a transparent color. |
| 40558 | "rgbColor": { # An RGB color. # The RGB color value. |
| 40559 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 40560 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 40561 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 40562 | }, |
| 40563 | }, |
| 40564 | }, |
| 40565 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 40566 | # are not inherited from parent text. |
| 40567 | # |
| 40568 | # Changing the link in an update request causes some other changes to the |
| 40569 | # text style of the range: |
| 40570 | # |
| 40571 | # * When setting a link, the text foreground color will be updated to the |
| 40572 | # default link color and the text will be underlined. If these fields are |
| 40573 | # modified in the same request, those values will be used instead of the |
| 40574 | # link defaults. |
| 40575 | # * Setting a link on a text range that overlaps with an existing link will |
| 40576 | # also update the existing link to point to the new URL. |
| 40577 | # * Links are not settable on newline characters. As a result, setting a link |
| 40578 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 40579 | # will separate the newline character(s) into their own text runs. The |
| 40580 | # link will be applied separately to the runs before and after the newline. |
| 40581 | # * Removing a link will update the text style of the range to match the |
| 40582 | # style of the preceding text (or the default text styles if the preceding |
| 40583 | # text is another link) unless different styles are being set in the same |
| 40584 | # request. |
| 40585 | "headingId": "A String", # The ID of a heading in this document. |
| 40586 | "url": "A String", # An external URL. |
| 40587 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 40588 | }, |
| 40589 | "underline": True or False, # Whether or not the text is underlined. |
| 40590 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 40591 | }, |
| 40592 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 40593 | # of this content. |
| 40594 | "A String", |
| 40595 | ], |
| 40596 | "suggestedTextStyleChanges": { # The suggested text style changes to this PageBreak, keyed by suggestion ID. |
| 40597 | "a_key": { # A suggested change to a TextStyle. |
| 40598 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 40599 | # the changes made in this suggestion. This can be used along with the |
| 40600 | # text_style_suggestion_state |
| 40601 | # to see which fields have changed and their new values. |
| 40602 | # |
| 40603 | # Inherited text styles are represented as unset fields in this message. A |
| 40604 | # text style's parent depends on where the text style is defined: |
| 40605 | # |
| 40606 | # * The TextStyle of text in a Paragraph |
| 40607 | # inherits from the paragraph's corresponding named style type. |
| 40608 | # * The TextStyle on a named style |
| 40609 | # inherits from the normal text named style. |
| 40610 | # * The TextStyle of the normal text named style inherits |
| 40611 | # from the default text style in the Docs editor. |
| 40612 | # * The TextStyle on a Paragraph element |
| 40613 | # that is contained in a table may inherit its text style from the table |
| 40614 | # style. |
| 40615 | # |
| 40616 | # If the text style does not inherit from a parent, unsetting fields will |
| 40617 | # revert the style to a value matching the defaults in the Docs editor. |
| 40618 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 40619 | # or transparent, depending on the `color` field. |
| 40620 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 40621 | # a transparent color. |
| 40622 | "rgbColor": { # An RGB color. # The RGB color value. |
| 40623 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 40624 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 40625 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 40626 | }, |
| 40627 | }, |
| 40628 | }, |
| 40629 | "italic": True or False, # Whether or not the text is italicized. |
| 40630 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 40631 | # |
| 40632 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 40633 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 40634 | # The `font_size` itself is not affected by changes in this field. |
| 40635 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 40636 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 40637 | # |
| 40638 | # If an update request specifies values for both `weighted_font_family` and |
| 40639 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 40640 | # |
| 40641 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 40642 | # |
| 40643 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 40644 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 40645 | # is returned. |
| 40646 | "fontFamily": "A String", # The font family of the text. |
| 40647 | # |
| 40648 | # The font family can be any font from the Font menu in Docs or from |
| 40649 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 40650 | # unrecognized, the text is rendered in `Arial`. |
| 40651 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 40652 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 40653 | # numerical values described in the CSS 2.1 Specification, |
| 40654 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 40655 | # non-numerical values disallowed. |
| 40656 | # |
| 40657 | # The default value is `400` ("normal"). |
| 40658 | # |
| 40659 | # The font weight makes up just one component of the rendered font weight. |
| 40660 | # The rendered weight is determined by a combination of the `weight` and the |
| 40661 | # text style's resolved `bold` value, after accounting for inheritance: |
| 40662 | # |
| 40663 | # * If the text is bold and the weight is less than `400`, the rendered |
| 40664 | # weight is 400. |
| 40665 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 40666 | # is less than `700`, the rendered weight is `700`. |
| 40667 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 40668 | # equal to the weight. |
| 40669 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 40670 | }, |
| 40671 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 40672 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 40673 | "magnitude": 3.14, # The magnitude. |
| 40674 | "unit": "A String", # The units for magnitude. |
| 40675 | }, |
| 40676 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 40677 | # or transparent, depending on the `color` field. |
| 40678 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 40679 | # a transparent color. |
| 40680 | "rgbColor": { # An RGB color. # The RGB color value. |
| 40681 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 40682 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 40683 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 40684 | }, |
| 40685 | }, |
| 40686 | }, |
| 40687 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 40688 | # are not inherited from parent text. |
| 40689 | # |
| 40690 | # Changing the link in an update request causes some other changes to the |
| 40691 | # text style of the range: |
| 40692 | # |
| 40693 | # * When setting a link, the text foreground color will be updated to the |
| 40694 | # default link color and the text will be underlined. If these fields are |
| 40695 | # modified in the same request, those values will be used instead of the |
| 40696 | # link defaults. |
| 40697 | # * Setting a link on a text range that overlaps with an existing link will |
| 40698 | # also update the existing link to point to the new URL. |
| 40699 | # * Links are not settable on newline characters. As a result, setting a link |
| 40700 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 40701 | # will separate the newline character(s) into their own text runs. The |
| 40702 | # link will be applied separately to the runs before and after the newline. |
| 40703 | # * Removing a link will update the text style of the range to match the |
| 40704 | # style of the preceding text (or the default text styles if the preceding |
| 40705 | # text is another link) unless different styles are being set in the same |
| 40706 | # request. |
| 40707 | "headingId": "A String", # The ID of a heading in this document. |
| 40708 | "url": "A String", # An external URL. |
| 40709 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 40710 | }, |
| 40711 | "underline": True or False, # Whether or not the text is underlined. |
| 40712 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 40713 | }, |
| 40714 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 40715 | # For any field set to true, there is a new suggested value. |
| 40716 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 40717 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 40718 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 40719 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 40720 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 40721 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 40722 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 40723 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 40724 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 40725 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 40726 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 40727 | }, |
| 40728 | }, |
| 40729 | }, |
| 40730 | "suggestedInsertionIds": [ # The suggested insertion IDs. A PageBreak |
| 40731 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 40732 | # empty, then this is not a suggested insertion. |
| 40733 | "A String", |
| 40734 | ], |
| 40735 | }, |
| 40736 | "horizontalRule": { # A ParagraphElement representing a # A horizontal rule paragraph element. |
| 40737 | # horizontal line. |
| 40738 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this HorizontalRule. |
| 40739 | # |
| 40740 | # Similar to text content, like text runs and footnote references, the text |
| 40741 | # style of a horizontal rule can affect content layout as well as the styling |
| 40742 | # of text inserted adjacent to it. |
| 40743 | # |
| 40744 | # Inherited text styles are represented as unset fields in this message. A |
| 40745 | # text style's parent depends on where the text style is defined: |
| 40746 | # |
| 40747 | # * The TextStyle of text in a Paragraph |
| 40748 | # inherits from the paragraph's corresponding named style type. |
| 40749 | # * The TextStyle on a named style |
| 40750 | # inherits from the normal text named style. |
| 40751 | # * The TextStyle of the normal text named style inherits |
| 40752 | # from the default text style in the Docs editor. |
| 40753 | # * The TextStyle on a Paragraph element |
| 40754 | # that is contained in a table may inherit its text style from the table |
| 40755 | # style. |
| 40756 | # |
| 40757 | # If the text style does not inherit from a parent, unsetting fields will |
| 40758 | # revert the style to a value matching the defaults in the Docs editor. |
| 40759 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 40760 | # or transparent, depending on the `color` field. |
| 40761 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 40762 | # a transparent color. |
| 40763 | "rgbColor": { # An RGB color. # The RGB color value. |
| 40764 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 40765 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 40766 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 40767 | }, |
| 40768 | }, |
| 40769 | }, |
| 40770 | "italic": True or False, # Whether or not the text is italicized. |
| 40771 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 40772 | # |
| 40773 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 40774 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 40775 | # The `font_size` itself is not affected by changes in this field. |
| 40776 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 40777 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 40778 | # |
| 40779 | # If an update request specifies values for both `weighted_font_family` and |
| 40780 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 40781 | # |
| 40782 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 40783 | # |
| 40784 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 40785 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 40786 | # is returned. |
| 40787 | "fontFamily": "A String", # The font family of the text. |
| 40788 | # |
| 40789 | # The font family can be any font from the Font menu in Docs or from |
| 40790 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 40791 | # unrecognized, the text is rendered in `Arial`. |
| 40792 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 40793 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 40794 | # numerical values described in the CSS 2.1 Specification, |
| 40795 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 40796 | # non-numerical values disallowed. |
| 40797 | # |
| 40798 | # The default value is `400` ("normal"). |
| 40799 | # |
| 40800 | # The font weight makes up just one component of the rendered font weight. |
| 40801 | # The rendered weight is determined by a combination of the `weight` and the |
| 40802 | # text style's resolved `bold` value, after accounting for inheritance: |
| 40803 | # |
| 40804 | # * If the text is bold and the weight is less than `400`, the rendered |
| 40805 | # weight is 400. |
| 40806 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 40807 | # is less than `700`, the rendered weight is `700`. |
| 40808 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 40809 | # equal to the weight. |
| 40810 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 40811 | }, |
| 40812 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 40813 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 40814 | "magnitude": 3.14, # The magnitude. |
| 40815 | "unit": "A String", # The units for magnitude. |
| 40816 | }, |
| 40817 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 40818 | # or transparent, depending on the `color` field. |
| 40819 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 40820 | # a transparent color. |
| 40821 | "rgbColor": { # An RGB color. # The RGB color value. |
| 40822 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 40823 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 40824 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 40825 | }, |
| 40826 | }, |
| 40827 | }, |
| 40828 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 40829 | # are not inherited from parent text. |
| 40830 | # |
| 40831 | # Changing the link in an update request causes some other changes to the |
| 40832 | # text style of the range: |
| 40833 | # |
| 40834 | # * When setting a link, the text foreground color will be updated to the |
| 40835 | # default link color and the text will be underlined. If these fields are |
| 40836 | # modified in the same request, those values will be used instead of the |
| 40837 | # link defaults. |
| 40838 | # * Setting a link on a text range that overlaps with an existing link will |
| 40839 | # also update the existing link to point to the new URL. |
| 40840 | # * Links are not settable on newline characters. As a result, setting a link |
| 40841 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 40842 | # will separate the newline character(s) into their own text runs. The |
| 40843 | # link will be applied separately to the runs before and after the newline. |
| 40844 | # * Removing a link will update the text style of the range to match the |
| 40845 | # style of the preceding text (or the default text styles if the preceding |
| 40846 | # text is another link) unless different styles are being set in the same |
| 40847 | # request. |
| 40848 | "headingId": "A String", # The ID of a heading in this document. |
| 40849 | "url": "A String", # An external URL. |
| 40850 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 40851 | }, |
| 40852 | "underline": True or False, # Whether or not the text is underlined. |
| 40853 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 40854 | }, |
| 40855 | "suggestedInsertionIds": [ # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it |
| 40856 | # is a nested suggested change. If empty, then this is not a suggested |
| 40857 | # insertion. |
| 40858 | "A String", |
| 40859 | ], |
| 40860 | "suggestedTextStyleChanges": { # The suggested text style changes to this HorizontalRule, keyed by |
| 40861 | # suggestion ID. |
| 40862 | "a_key": { # A suggested change to a TextStyle. |
| 40863 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 40864 | # the changes made in this suggestion. This can be used along with the |
| 40865 | # text_style_suggestion_state |
| 40866 | # to see which fields have changed and their new values. |
| 40867 | # |
| 40868 | # Inherited text styles are represented as unset fields in this message. A |
| 40869 | # text style's parent depends on where the text style is defined: |
| 40870 | # |
| 40871 | # * The TextStyle of text in a Paragraph |
| 40872 | # inherits from the paragraph's corresponding named style type. |
| 40873 | # * The TextStyle on a named style |
| 40874 | # inherits from the normal text named style. |
| 40875 | # * The TextStyle of the normal text named style inherits |
| 40876 | # from the default text style in the Docs editor. |
| 40877 | # * The TextStyle on a Paragraph element |
| 40878 | # that is contained in a table may inherit its text style from the table |
| 40879 | # style. |
| 40880 | # |
| 40881 | # If the text style does not inherit from a parent, unsetting fields will |
| 40882 | # revert the style to a value matching the defaults in the Docs editor. |
| 40883 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 40884 | # or transparent, depending on the `color` field. |
| 40885 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 40886 | # a transparent color. |
| 40887 | "rgbColor": { # An RGB color. # The RGB color value. |
| 40888 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 40889 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 40890 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 40891 | }, |
| 40892 | }, |
| 40893 | }, |
| 40894 | "italic": True or False, # Whether or not the text is italicized. |
| 40895 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 40896 | # |
| 40897 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 40898 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 40899 | # The `font_size` itself is not affected by changes in this field. |
| 40900 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 40901 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 40902 | # |
| 40903 | # If an update request specifies values for both `weighted_font_family` and |
| 40904 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 40905 | # |
| 40906 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 40907 | # |
| 40908 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 40909 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 40910 | # is returned. |
| 40911 | "fontFamily": "A String", # The font family of the text. |
| 40912 | # |
| 40913 | # The font family can be any font from the Font menu in Docs or from |
| 40914 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 40915 | # unrecognized, the text is rendered in `Arial`. |
| 40916 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 40917 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 40918 | # numerical values described in the CSS 2.1 Specification, |
| 40919 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 40920 | # non-numerical values disallowed. |
| 40921 | # |
| 40922 | # The default value is `400` ("normal"). |
| 40923 | # |
| 40924 | # The font weight makes up just one component of the rendered font weight. |
| 40925 | # The rendered weight is determined by a combination of the `weight` and the |
| 40926 | # text style's resolved `bold` value, after accounting for inheritance: |
| 40927 | # |
| 40928 | # * If the text is bold and the weight is less than `400`, the rendered |
| 40929 | # weight is 400. |
| 40930 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 40931 | # is less than `700`, the rendered weight is `700`. |
| 40932 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 40933 | # equal to the weight. |
| 40934 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 40935 | }, |
| 40936 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 40937 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 40938 | "magnitude": 3.14, # The magnitude. |
| 40939 | "unit": "A String", # The units for magnitude. |
| 40940 | }, |
| 40941 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 40942 | # or transparent, depending on the `color` field. |
| 40943 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 40944 | # a transparent color. |
| 40945 | "rgbColor": { # An RGB color. # The RGB color value. |
| 40946 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 40947 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 40948 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 40949 | }, |
| 40950 | }, |
| 40951 | }, |
| 40952 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 40953 | # are not inherited from parent text. |
| 40954 | # |
| 40955 | # Changing the link in an update request causes some other changes to the |
| 40956 | # text style of the range: |
| 40957 | # |
| 40958 | # * When setting a link, the text foreground color will be updated to the |
| 40959 | # default link color and the text will be underlined. If these fields are |
| 40960 | # modified in the same request, those values will be used instead of the |
| 40961 | # link defaults. |
| 40962 | # * Setting a link on a text range that overlaps with an existing link will |
| 40963 | # also update the existing link to point to the new URL. |
| 40964 | # * Links are not settable on newline characters. As a result, setting a link |
| 40965 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 40966 | # will separate the newline character(s) into their own text runs. The |
| 40967 | # link will be applied separately to the runs before and after the newline. |
| 40968 | # * Removing a link will update the text style of the range to match the |
| 40969 | # style of the preceding text (or the default text styles if the preceding |
| 40970 | # text is another link) unless different styles are being set in the same |
| 40971 | # request. |
| 40972 | "headingId": "A String", # The ID of a heading in this document. |
| 40973 | "url": "A String", # An external URL. |
| 40974 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 40975 | }, |
| 40976 | "underline": True or False, # Whether or not the text is underlined. |
| 40977 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 40978 | }, |
| 40979 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 40980 | # For any field set to true, there is a new suggested value. |
| 40981 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 40982 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 40983 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 40984 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 40985 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 40986 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 40987 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 40988 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 40989 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 40990 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 40991 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 40992 | }, |
| 40993 | }, |
| 40994 | }, |
| 40995 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 40996 | # of this content. |
| 40997 | "A String", |
| 40998 | ], |
| 40999 | }, |
| 41000 | "textRun": { # A ParagraphElement that represents a # A text run paragraph element. |
| 41001 | # run of text that all has the same styling. |
| 41002 | "content": "A String", # The text of this run. |
| 41003 | # |
| 41004 | # Any non-text elements in the run are replaced with the Unicode character |
| 41005 | # U+E907. |
| 41006 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this run. |
| 41007 | # |
| 41008 | # Inherited text styles are represented as unset fields in this message. A |
| 41009 | # text style's parent depends on where the text style is defined: |
| 41010 | # |
| 41011 | # * The TextStyle of text in a Paragraph |
| 41012 | # inherits from the paragraph's corresponding named style type. |
| 41013 | # * The TextStyle on a named style |
| 41014 | # inherits from the normal text named style. |
| 41015 | # * The TextStyle of the normal text named style inherits |
| 41016 | # from the default text style in the Docs editor. |
| 41017 | # * The TextStyle on a Paragraph element |
| 41018 | # that is contained in a table may inherit its text style from the table |
| 41019 | # style. |
| 41020 | # |
| 41021 | # If the text style does not inherit from a parent, unsetting fields will |
| 41022 | # revert the style to a value matching the defaults in the Docs editor. |
| 41023 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 41024 | # or transparent, depending on the `color` field. |
| 41025 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 41026 | # a transparent color. |
| 41027 | "rgbColor": { # An RGB color. # The RGB color value. |
| 41028 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 41029 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 41030 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 41031 | }, |
| 41032 | }, |
| 41033 | }, |
| 41034 | "italic": True or False, # Whether or not the text is italicized. |
| 41035 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 41036 | # |
| 41037 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 41038 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 41039 | # The `font_size` itself is not affected by changes in this field. |
| 41040 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 41041 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 41042 | # |
| 41043 | # If an update request specifies values for both `weighted_font_family` and |
| 41044 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 41045 | # |
| 41046 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 41047 | # |
| 41048 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 41049 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 41050 | # is returned. |
| 41051 | "fontFamily": "A String", # The font family of the text. |
| 41052 | # |
| 41053 | # The font family can be any font from the Font menu in Docs or from |
| 41054 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 41055 | # unrecognized, the text is rendered in `Arial`. |
| 41056 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 41057 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 41058 | # numerical values described in the CSS 2.1 Specification, |
| 41059 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 41060 | # non-numerical values disallowed. |
| 41061 | # |
| 41062 | # The default value is `400` ("normal"). |
| 41063 | # |
| 41064 | # The font weight makes up just one component of the rendered font weight. |
| 41065 | # The rendered weight is determined by a combination of the `weight` and the |
| 41066 | # text style's resolved `bold` value, after accounting for inheritance: |
| 41067 | # |
| 41068 | # * If the text is bold and the weight is less than `400`, the rendered |
| 41069 | # weight is 400. |
| 41070 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 41071 | # is less than `700`, the rendered weight is `700`. |
| 41072 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 41073 | # equal to the weight. |
| 41074 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 41075 | }, |
| 41076 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 41077 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 41078 | "magnitude": 3.14, # The magnitude. |
| 41079 | "unit": "A String", # The units for magnitude. |
| 41080 | }, |
| 41081 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 41082 | # or transparent, depending on the `color` field. |
| 41083 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 41084 | # a transparent color. |
| 41085 | "rgbColor": { # An RGB color. # The RGB color value. |
| 41086 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 41087 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 41088 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 41089 | }, |
| 41090 | }, |
| 41091 | }, |
| 41092 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 41093 | # are not inherited from parent text. |
| 41094 | # |
| 41095 | # Changing the link in an update request causes some other changes to the |
| 41096 | # text style of the range: |
| 41097 | # |
| 41098 | # * When setting a link, the text foreground color will be updated to the |
| 41099 | # default link color and the text will be underlined. If these fields are |
| 41100 | # modified in the same request, those values will be used instead of the |
| 41101 | # link defaults. |
| 41102 | # * Setting a link on a text range that overlaps with an existing link will |
| 41103 | # also update the existing link to point to the new URL. |
| 41104 | # * Links are not settable on newline characters. As a result, setting a link |
| 41105 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 41106 | # will separate the newline character(s) into their own text runs. The |
| 41107 | # link will be applied separately to the runs before and after the newline. |
| 41108 | # * Removing a link will update the text style of the range to match the |
| 41109 | # style of the preceding text (or the default text styles if the preceding |
| 41110 | # text is another link) unless different styles are being set in the same |
| 41111 | # request. |
| 41112 | "headingId": "A String", # The ID of a heading in this document. |
| 41113 | "url": "A String", # An external URL. |
| 41114 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 41115 | }, |
| 41116 | "underline": True or False, # Whether or not the text is underlined. |
| 41117 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 41118 | }, |
| 41119 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TextRun may |
| 41120 | # have multiple insertion IDs if it is a nested suggested change. If empty, |
| 41121 | # then this is not a suggested insertion. |
| 41122 | "A String", |
| 41123 | ], |
| 41124 | "suggestedTextStyleChanges": { # The suggested text style changes to this run, keyed by suggestion ID. |
| 41125 | "a_key": { # A suggested change to a TextStyle. |
| 41126 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 41127 | # the changes made in this suggestion. This can be used along with the |
| 41128 | # text_style_suggestion_state |
| 41129 | # to see which fields have changed and their new values. |
| 41130 | # |
| 41131 | # Inherited text styles are represented as unset fields in this message. A |
| 41132 | # text style's parent depends on where the text style is defined: |
| 41133 | # |
| 41134 | # * The TextStyle of text in a Paragraph |
| 41135 | # inherits from the paragraph's corresponding named style type. |
| 41136 | # * The TextStyle on a named style |
| 41137 | # inherits from the normal text named style. |
| 41138 | # * The TextStyle of the normal text named style inherits |
| 41139 | # from the default text style in the Docs editor. |
| 41140 | # * The TextStyle on a Paragraph element |
| 41141 | # that is contained in a table may inherit its text style from the table |
| 41142 | # style. |
| 41143 | # |
| 41144 | # If the text style does not inherit from a parent, unsetting fields will |
| 41145 | # revert the style to a value matching the defaults in the Docs editor. |
| 41146 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 41147 | # or transparent, depending on the `color` field. |
| 41148 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 41149 | # a transparent color. |
| 41150 | "rgbColor": { # An RGB color. # The RGB color value. |
| 41151 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 41152 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 41153 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 41154 | }, |
| 41155 | }, |
| 41156 | }, |
| 41157 | "italic": True or False, # Whether or not the text is italicized. |
| 41158 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 41159 | # |
| 41160 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 41161 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 41162 | # The `font_size` itself is not affected by changes in this field. |
| 41163 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 41164 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 41165 | # |
| 41166 | # If an update request specifies values for both `weighted_font_family` and |
| 41167 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 41168 | # |
| 41169 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 41170 | # |
| 41171 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 41172 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 41173 | # is returned. |
| 41174 | "fontFamily": "A String", # The font family of the text. |
| 41175 | # |
| 41176 | # The font family can be any font from the Font menu in Docs or from |
| 41177 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 41178 | # unrecognized, the text is rendered in `Arial`. |
| 41179 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 41180 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 41181 | # numerical values described in the CSS 2.1 Specification, |
| 41182 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 41183 | # non-numerical values disallowed. |
| 41184 | # |
| 41185 | # The default value is `400` ("normal"). |
| 41186 | # |
| 41187 | # The font weight makes up just one component of the rendered font weight. |
| 41188 | # The rendered weight is determined by a combination of the `weight` and the |
| 41189 | # text style's resolved `bold` value, after accounting for inheritance: |
| 41190 | # |
| 41191 | # * If the text is bold and the weight is less than `400`, the rendered |
| 41192 | # weight is 400. |
| 41193 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 41194 | # is less than `700`, the rendered weight is `700`. |
| 41195 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 41196 | # equal to the weight. |
| 41197 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 41198 | }, |
| 41199 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 41200 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 41201 | "magnitude": 3.14, # The magnitude. |
| 41202 | "unit": "A String", # The units for magnitude. |
| 41203 | }, |
| 41204 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 41205 | # or transparent, depending on the `color` field. |
| 41206 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 41207 | # a transparent color. |
| 41208 | "rgbColor": { # An RGB color. # The RGB color value. |
| 41209 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 41210 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 41211 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 41212 | }, |
| 41213 | }, |
| 41214 | }, |
| 41215 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 41216 | # are not inherited from parent text. |
| 41217 | # |
| 41218 | # Changing the link in an update request causes some other changes to the |
| 41219 | # text style of the range: |
| 41220 | # |
| 41221 | # * When setting a link, the text foreground color will be updated to the |
| 41222 | # default link color and the text will be underlined. If these fields are |
| 41223 | # modified in the same request, those values will be used instead of the |
| 41224 | # link defaults. |
| 41225 | # * Setting a link on a text range that overlaps with an existing link will |
| 41226 | # also update the existing link to point to the new URL. |
| 41227 | # * Links are not settable on newline characters. As a result, setting a link |
| 41228 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 41229 | # will separate the newline character(s) into their own text runs. The |
| 41230 | # link will be applied separately to the runs before and after the newline. |
| 41231 | # * Removing a link will update the text style of the range to match the |
| 41232 | # style of the preceding text (or the default text styles if the preceding |
| 41233 | # text is another link) unless different styles are being set in the same |
| 41234 | # request. |
| 41235 | "headingId": "A String", # The ID of a heading in this document. |
| 41236 | "url": "A String", # An external URL. |
| 41237 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 41238 | }, |
| 41239 | "underline": True or False, # Whether or not the text is underlined. |
| 41240 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 41241 | }, |
| 41242 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 41243 | # For any field set to true, there is a new suggested value. |
| 41244 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 41245 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 41246 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 41247 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 41248 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 41249 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 41250 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 41251 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 41252 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 41253 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 41254 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 41255 | }, |
| 41256 | }, |
| 41257 | }, |
| 41258 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 41259 | # of this content. |
| 41260 | "A String", |
| 41261 | ], |
| 41262 | }, |
| 41263 | "autoText": { # A ParagraphElement representing a # An auto text paragraph element. |
| 41264 | # spot in the text that is dynamically replaced with content that can change |
| 41265 | # over time, like a page number. |
| 41266 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this AutoText. |
| 41267 | # |
| 41268 | # Inherited text styles are represented as unset fields in this message. A |
| 41269 | # text style's parent depends on where the text style is defined: |
| 41270 | # |
| 41271 | # * The TextStyle of text in a Paragraph |
| 41272 | # inherits from the paragraph's corresponding named style type. |
| 41273 | # * The TextStyle on a named style |
| 41274 | # inherits from the normal text named style. |
| 41275 | # * The TextStyle of the normal text named style inherits |
| 41276 | # from the default text style in the Docs editor. |
| 41277 | # * The TextStyle on a Paragraph element |
| 41278 | # that is contained in a table may inherit its text style from the table |
| 41279 | # style. |
| 41280 | # |
| 41281 | # If the text style does not inherit from a parent, unsetting fields will |
| 41282 | # revert the style to a value matching the defaults in the Docs editor. |
| 41283 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 41284 | # or transparent, depending on the `color` field. |
| 41285 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 41286 | # a transparent color. |
| 41287 | "rgbColor": { # An RGB color. # The RGB color value. |
| 41288 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 41289 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 41290 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 41291 | }, |
| 41292 | }, |
| 41293 | }, |
| 41294 | "italic": True or False, # Whether or not the text is italicized. |
| 41295 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 41296 | # |
| 41297 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 41298 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 41299 | # The `font_size` itself is not affected by changes in this field. |
| 41300 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 41301 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 41302 | # |
| 41303 | # If an update request specifies values for both `weighted_font_family` and |
| 41304 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 41305 | # |
| 41306 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 41307 | # |
| 41308 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 41309 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 41310 | # is returned. |
| 41311 | "fontFamily": "A String", # The font family of the text. |
| 41312 | # |
| 41313 | # The font family can be any font from the Font menu in Docs or from |
| 41314 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 41315 | # unrecognized, the text is rendered in `Arial`. |
| 41316 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 41317 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 41318 | # numerical values described in the CSS 2.1 Specification, |
| 41319 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 41320 | # non-numerical values disallowed. |
| 41321 | # |
| 41322 | # The default value is `400` ("normal"). |
| 41323 | # |
| 41324 | # The font weight makes up just one component of the rendered font weight. |
| 41325 | # The rendered weight is determined by a combination of the `weight` and the |
| 41326 | # text style's resolved `bold` value, after accounting for inheritance: |
| 41327 | # |
| 41328 | # * If the text is bold and the weight is less than `400`, the rendered |
| 41329 | # weight is 400. |
| 41330 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 41331 | # is less than `700`, the rendered weight is `700`. |
| 41332 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 41333 | # equal to the weight. |
| 41334 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 41335 | }, |
| 41336 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 41337 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 41338 | "magnitude": 3.14, # The magnitude. |
| 41339 | "unit": "A String", # The units for magnitude. |
| 41340 | }, |
| 41341 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 41342 | # or transparent, depending on the `color` field. |
| 41343 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 41344 | # a transparent color. |
| 41345 | "rgbColor": { # An RGB color. # The RGB color value. |
| 41346 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 41347 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 41348 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 41349 | }, |
| 41350 | }, |
| 41351 | }, |
| 41352 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 41353 | # are not inherited from parent text. |
| 41354 | # |
| 41355 | # Changing the link in an update request causes some other changes to the |
| 41356 | # text style of the range: |
| 41357 | # |
| 41358 | # * When setting a link, the text foreground color will be updated to the |
| 41359 | # default link color and the text will be underlined. If these fields are |
| 41360 | # modified in the same request, those values will be used instead of the |
| 41361 | # link defaults. |
| 41362 | # * Setting a link on a text range that overlaps with an existing link will |
| 41363 | # also update the existing link to point to the new URL. |
| 41364 | # * Links are not settable on newline characters. As a result, setting a link |
| 41365 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 41366 | # will separate the newline character(s) into their own text runs. The |
| 41367 | # link will be applied separately to the runs before and after the newline. |
| 41368 | # * Removing a link will update the text style of the range to match the |
| 41369 | # style of the preceding text (or the default text styles if the preceding |
| 41370 | # text is another link) unless different styles are being set in the same |
| 41371 | # request. |
| 41372 | "headingId": "A String", # The ID of a heading in this document. |
| 41373 | "url": "A String", # An external URL. |
| 41374 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 41375 | }, |
| 41376 | "underline": True or False, # Whether or not the text is underlined. |
| 41377 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 41378 | }, |
| 41379 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 41380 | # of this content. |
| 41381 | "A String", |
| 41382 | ], |
| 41383 | "suggestedTextStyleChanges": { # The suggested text style changes to this AutoText, keyed by suggestion ID. |
| 41384 | "a_key": { # A suggested change to a TextStyle. |
| 41385 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 41386 | # the changes made in this suggestion. This can be used along with the |
| 41387 | # text_style_suggestion_state |
| 41388 | # to see which fields have changed and their new values. |
| 41389 | # |
| 41390 | # Inherited text styles are represented as unset fields in this message. A |
| 41391 | # text style's parent depends on where the text style is defined: |
| 41392 | # |
| 41393 | # * The TextStyle of text in a Paragraph |
| 41394 | # inherits from the paragraph's corresponding named style type. |
| 41395 | # * The TextStyle on a named style |
| 41396 | # inherits from the normal text named style. |
| 41397 | # * The TextStyle of the normal text named style inherits |
| 41398 | # from the default text style in the Docs editor. |
| 41399 | # * The TextStyle on a Paragraph element |
| 41400 | # that is contained in a table may inherit its text style from the table |
| 41401 | # style. |
| 41402 | # |
| 41403 | # If the text style does not inherit from a parent, unsetting fields will |
| 41404 | # revert the style to a value matching the defaults in the Docs editor. |
| 41405 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 41406 | # or transparent, depending on the `color` field. |
| 41407 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 41408 | # a transparent color. |
| 41409 | "rgbColor": { # An RGB color. # The RGB color value. |
| 41410 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 41411 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 41412 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 41413 | }, |
| 41414 | }, |
| 41415 | }, |
| 41416 | "italic": True or False, # Whether or not the text is italicized. |
| 41417 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 41418 | # |
| 41419 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 41420 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 41421 | # The `font_size` itself is not affected by changes in this field. |
| 41422 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 41423 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 41424 | # |
| 41425 | # If an update request specifies values for both `weighted_font_family` and |
| 41426 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 41427 | # |
| 41428 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 41429 | # |
| 41430 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 41431 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 41432 | # is returned. |
| 41433 | "fontFamily": "A String", # The font family of the text. |
| 41434 | # |
| 41435 | # The font family can be any font from the Font menu in Docs or from |
| 41436 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 41437 | # unrecognized, the text is rendered in `Arial`. |
| 41438 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 41439 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 41440 | # numerical values described in the CSS 2.1 Specification, |
| 41441 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 41442 | # non-numerical values disallowed. |
| 41443 | # |
| 41444 | # The default value is `400` ("normal"). |
| 41445 | # |
| 41446 | # The font weight makes up just one component of the rendered font weight. |
| 41447 | # The rendered weight is determined by a combination of the `weight` and the |
| 41448 | # text style's resolved `bold` value, after accounting for inheritance: |
| 41449 | # |
| 41450 | # * If the text is bold and the weight is less than `400`, the rendered |
| 41451 | # weight is 400. |
| 41452 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 41453 | # is less than `700`, the rendered weight is `700`. |
| 41454 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 41455 | # equal to the weight. |
| 41456 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 41457 | }, |
| 41458 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 41459 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 41460 | "magnitude": 3.14, # The magnitude. |
| 41461 | "unit": "A String", # The units for magnitude. |
| 41462 | }, |
| 41463 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 41464 | # or transparent, depending on the `color` field. |
| 41465 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 41466 | # a transparent color. |
| 41467 | "rgbColor": { # An RGB color. # The RGB color value. |
| 41468 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 41469 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 41470 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 41471 | }, |
| 41472 | }, |
| 41473 | }, |
| 41474 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 41475 | # are not inherited from parent text. |
| 41476 | # |
| 41477 | # Changing the link in an update request causes some other changes to the |
| 41478 | # text style of the range: |
| 41479 | # |
| 41480 | # * When setting a link, the text foreground color will be updated to the |
| 41481 | # default link color and the text will be underlined. If these fields are |
| 41482 | # modified in the same request, those values will be used instead of the |
| 41483 | # link defaults. |
| 41484 | # * Setting a link on a text range that overlaps with an existing link will |
| 41485 | # also update the existing link to point to the new URL. |
| 41486 | # * Links are not settable on newline characters. As a result, setting a link |
| 41487 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 41488 | # will separate the newline character(s) into their own text runs. The |
| 41489 | # link will be applied separately to the runs before and after the newline. |
| 41490 | # * Removing a link will update the text style of the range to match the |
| 41491 | # style of the preceding text (or the default text styles if the preceding |
| 41492 | # text is another link) unless different styles are being set in the same |
| 41493 | # request. |
| 41494 | "headingId": "A String", # The ID of a heading in this document. |
| 41495 | "url": "A String", # An external URL. |
| 41496 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 41497 | }, |
| 41498 | "underline": True or False, # Whether or not the text is underlined. |
| 41499 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 41500 | }, |
| 41501 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 41502 | # For any field set to true, there is a new suggested value. |
| 41503 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 41504 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 41505 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 41506 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 41507 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 41508 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 41509 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 41510 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 41511 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 41512 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 41513 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 41514 | }, |
| 41515 | }, |
| 41516 | }, |
| 41517 | "type": "A String", # The type of this auto text. |
| 41518 | "suggestedInsertionIds": [ # The suggested insertion IDs. An AutoText |
| 41519 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 41520 | # empty, then this is not a suggested insertion. |
| 41521 | "A String", |
| 41522 | ], |
| 41523 | }, |
| 41524 | "inlineObjectElement": { # A ParagraphElement that contains # An inline object paragraph element. |
| 41525 | # an InlineObject. |
| 41526 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this InlineObjectElement. |
| 41527 | # |
| 41528 | # Similar to text content, like text runs and footnote references, the text |
| 41529 | # style of an inline object element can affect content layout as well as the |
| 41530 | # styling of text inserted adjacent to it. |
| 41531 | # |
| 41532 | # Inherited text styles are represented as unset fields in this message. A |
| 41533 | # text style's parent depends on where the text style is defined: |
| 41534 | # |
| 41535 | # * The TextStyle of text in a Paragraph |
| 41536 | # inherits from the paragraph's corresponding named style type. |
| 41537 | # * The TextStyle on a named style |
| 41538 | # inherits from the normal text named style. |
| 41539 | # * The TextStyle of the normal text named style inherits |
| 41540 | # from the default text style in the Docs editor. |
| 41541 | # * The TextStyle on a Paragraph element |
| 41542 | # that is contained in a table may inherit its text style from the table |
| 41543 | # style. |
| 41544 | # |
| 41545 | # If the text style does not inherit from a parent, unsetting fields will |
| 41546 | # revert the style to a value matching the defaults in the Docs editor. |
| 41547 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 41548 | # or transparent, depending on the `color` field. |
| 41549 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 41550 | # a transparent color. |
| 41551 | "rgbColor": { # An RGB color. # The RGB color value. |
| 41552 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 41553 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 41554 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 41555 | }, |
| 41556 | }, |
| 41557 | }, |
| 41558 | "italic": True or False, # Whether or not the text is italicized. |
| 41559 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 41560 | # |
| 41561 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 41562 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 41563 | # The `font_size` itself is not affected by changes in this field. |
| 41564 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 41565 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 41566 | # |
| 41567 | # If an update request specifies values for both `weighted_font_family` and |
| 41568 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 41569 | # |
| 41570 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 41571 | # |
| 41572 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 41573 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 41574 | # is returned. |
| 41575 | "fontFamily": "A String", # The font family of the text. |
| 41576 | # |
| 41577 | # The font family can be any font from the Font menu in Docs or from |
| 41578 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 41579 | # unrecognized, the text is rendered in `Arial`. |
| 41580 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 41581 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 41582 | # numerical values described in the CSS 2.1 Specification, |
| 41583 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 41584 | # non-numerical values disallowed. |
| 41585 | # |
| 41586 | # The default value is `400` ("normal"). |
| 41587 | # |
| 41588 | # The font weight makes up just one component of the rendered font weight. |
| 41589 | # The rendered weight is determined by a combination of the `weight` and the |
| 41590 | # text style's resolved `bold` value, after accounting for inheritance: |
| 41591 | # |
| 41592 | # * If the text is bold and the weight is less than `400`, the rendered |
| 41593 | # weight is 400. |
| 41594 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 41595 | # is less than `700`, the rendered weight is `700`. |
| 41596 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 41597 | # equal to the weight. |
| 41598 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 41599 | }, |
| 41600 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 41601 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 41602 | "magnitude": 3.14, # The magnitude. |
| 41603 | "unit": "A String", # The units for magnitude. |
| 41604 | }, |
| 41605 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 41606 | # or transparent, depending on the `color` field. |
| 41607 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 41608 | # a transparent color. |
| 41609 | "rgbColor": { # An RGB color. # The RGB color value. |
| 41610 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 41611 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 41612 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 41613 | }, |
| 41614 | }, |
| 41615 | }, |
| 41616 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 41617 | # are not inherited from parent text. |
| 41618 | # |
| 41619 | # Changing the link in an update request causes some other changes to the |
| 41620 | # text style of the range: |
| 41621 | # |
| 41622 | # * When setting a link, the text foreground color will be updated to the |
| 41623 | # default link color and the text will be underlined. If these fields are |
| 41624 | # modified in the same request, those values will be used instead of the |
| 41625 | # link defaults. |
| 41626 | # * Setting a link on a text range that overlaps with an existing link will |
| 41627 | # also update the existing link to point to the new URL. |
| 41628 | # * Links are not settable on newline characters. As a result, setting a link |
| 41629 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 41630 | # will separate the newline character(s) into their own text runs. The |
| 41631 | # link will be applied separately to the runs before and after the newline. |
| 41632 | # * Removing a link will update the text style of the range to match the |
| 41633 | # style of the preceding text (or the default text styles if the preceding |
| 41634 | # text is another link) unless different styles are being set in the same |
| 41635 | # request. |
| 41636 | "headingId": "A String", # The ID of a heading in this document. |
| 41637 | "url": "A String", # An external URL. |
| 41638 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 41639 | }, |
| 41640 | "underline": True or False, # Whether or not the text is underlined. |
| 41641 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 41642 | }, |
| 41643 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 41644 | # of this content. |
| 41645 | "A String", |
| 41646 | ], |
| 41647 | "suggestedTextStyleChanges": { # The suggested text style changes to this InlineObject, keyed by suggestion |
| 41648 | # ID. |
| 41649 | "a_key": { # A suggested change to a TextStyle. |
| 41650 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 41651 | # the changes made in this suggestion. This can be used along with the |
| 41652 | # text_style_suggestion_state |
| 41653 | # to see which fields have changed and their new values. |
| 41654 | # |
| 41655 | # Inherited text styles are represented as unset fields in this message. A |
| 41656 | # text style's parent depends on where the text style is defined: |
| 41657 | # |
| 41658 | # * The TextStyle of text in a Paragraph |
| 41659 | # inherits from the paragraph's corresponding named style type. |
| 41660 | # * The TextStyle on a named style |
| 41661 | # inherits from the normal text named style. |
| 41662 | # * The TextStyle of the normal text named style inherits |
| 41663 | # from the default text style in the Docs editor. |
| 41664 | # * The TextStyle on a Paragraph element |
| 41665 | # that is contained in a table may inherit its text style from the table |
| 41666 | # style. |
| 41667 | # |
| 41668 | # If the text style does not inherit from a parent, unsetting fields will |
| 41669 | # revert the style to a value matching the defaults in the Docs editor. |
| 41670 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 41671 | # or transparent, depending on the `color` field. |
| 41672 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 41673 | # a transparent color. |
| 41674 | "rgbColor": { # An RGB color. # The RGB color value. |
| 41675 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 41676 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 41677 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 41678 | }, |
| 41679 | }, |
| 41680 | }, |
| 41681 | "italic": True or False, # Whether or not the text is italicized. |
| 41682 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 41683 | # |
| 41684 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 41685 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 41686 | # The `font_size` itself is not affected by changes in this field. |
| 41687 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 41688 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 41689 | # |
| 41690 | # If an update request specifies values for both `weighted_font_family` and |
| 41691 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 41692 | # |
| 41693 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 41694 | # |
| 41695 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 41696 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 41697 | # is returned. |
| 41698 | "fontFamily": "A String", # The font family of the text. |
| 41699 | # |
| 41700 | # The font family can be any font from the Font menu in Docs or from |
| 41701 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 41702 | # unrecognized, the text is rendered in `Arial`. |
| 41703 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 41704 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 41705 | # numerical values described in the CSS 2.1 Specification, |
| 41706 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 41707 | # non-numerical values disallowed. |
| 41708 | # |
| 41709 | # The default value is `400` ("normal"). |
| 41710 | # |
| 41711 | # The font weight makes up just one component of the rendered font weight. |
| 41712 | # The rendered weight is determined by a combination of the `weight` and the |
| 41713 | # text style's resolved `bold` value, after accounting for inheritance: |
| 41714 | # |
| 41715 | # * If the text is bold and the weight is less than `400`, the rendered |
| 41716 | # weight is 400. |
| 41717 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 41718 | # is less than `700`, the rendered weight is `700`. |
| 41719 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 41720 | # equal to the weight. |
| 41721 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 41722 | }, |
| 41723 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 41724 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 41725 | "magnitude": 3.14, # The magnitude. |
| 41726 | "unit": "A String", # The units for magnitude. |
| 41727 | }, |
| 41728 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 41729 | # or transparent, depending on the `color` field. |
| 41730 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 41731 | # a transparent color. |
| 41732 | "rgbColor": { # An RGB color. # The RGB color value. |
| 41733 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 41734 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 41735 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 41736 | }, |
| 41737 | }, |
| 41738 | }, |
| 41739 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 41740 | # are not inherited from parent text. |
| 41741 | # |
| 41742 | # Changing the link in an update request causes some other changes to the |
| 41743 | # text style of the range: |
| 41744 | # |
| 41745 | # * When setting a link, the text foreground color will be updated to the |
| 41746 | # default link color and the text will be underlined. If these fields are |
| 41747 | # modified in the same request, those values will be used instead of the |
| 41748 | # link defaults. |
| 41749 | # * Setting a link on a text range that overlaps with an existing link will |
| 41750 | # also update the existing link to point to the new URL. |
| 41751 | # * Links are not settable on newline characters. As a result, setting a link |
| 41752 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 41753 | # will separate the newline character(s) into their own text runs. The |
| 41754 | # link will be applied separately to the runs before and after the newline. |
| 41755 | # * Removing a link will update the text style of the range to match the |
| 41756 | # style of the preceding text (or the default text styles if the preceding |
| 41757 | # text is another link) unless different styles are being set in the same |
| 41758 | # request. |
| 41759 | "headingId": "A String", # The ID of a heading in this document. |
| 41760 | "url": "A String", # An external URL. |
| 41761 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 41762 | }, |
| 41763 | "underline": True or False, # Whether or not the text is underlined. |
| 41764 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 41765 | }, |
| 41766 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 41767 | # For any field set to true, there is a new suggested value. |
| 41768 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 41769 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 41770 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 41771 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 41772 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 41773 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 41774 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 41775 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 41776 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 41777 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 41778 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 41779 | }, |
| 41780 | }, |
| 41781 | }, |
| 41782 | "inlineObjectId": "A String", # The ID of the InlineObject this |
| 41783 | # element contains. |
| 41784 | "suggestedInsertionIds": [ # The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs |
| 41785 | # if it is a nested suggested change. If empty, then this is not a suggested |
| 41786 | # insertion. |
| 41787 | "A String", |
| 41788 | ], |
| 41789 | }, |
| 41790 | "footnoteReference": { # A ParagraphElement representing a # A footnote reference paragraph element. |
| 41791 | # footnote reference. A footnote reference is the inline content rendered with |
| 41792 | # a number and is used to identify the footnote. |
| 41793 | "textStyle": { # Represents the styling that can be applied to text. # The text style of this FootnoteReference. |
| 41794 | # |
| 41795 | # Inherited text styles are represented as unset fields in this message. A |
| 41796 | # text style's parent depends on where the text style is defined: |
| 41797 | # |
| 41798 | # * The TextStyle of text in a Paragraph |
| 41799 | # inherits from the paragraph's corresponding named style type. |
| 41800 | # * The TextStyle on a named style |
| 41801 | # inherits from the normal text named style. |
| 41802 | # * The TextStyle of the normal text named style inherits |
| 41803 | # from the default text style in the Docs editor. |
| 41804 | # * The TextStyle on a Paragraph element |
| 41805 | # that is contained in a table may inherit its text style from the table |
| 41806 | # style. |
| 41807 | # |
| 41808 | # If the text style does not inherit from a parent, unsetting fields will |
| 41809 | # revert the style to a value matching the defaults in the Docs editor. |
| 41810 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 41811 | # or transparent, depending on the `color` field. |
| 41812 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 41813 | # a transparent color. |
| 41814 | "rgbColor": { # An RGB color. # The RGB color value. |
| 41815 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 41816 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 41817 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 41818 | }, |
| 41819 | }, |
| 41820 | }, |
| 41821 | "italic": True or False, # Whether or not the text is italicized. |
| 41822 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 41823 | # |
| 41824 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 41825 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 41826 | # The `font_size` itself is not affected by changes in this field. |
| 41827 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 41828 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 41829 | # |
| 41830 | # If an update request specifies values for both `weighted_font_family` and |
| 41831 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 41832 | # |
| 41833 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 41834 | # |
| 41835 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 41836 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 41837 | # is returned. |
| 41838 | "fontFamily": "A String", # The font family of the text. |
| 41839 | # |
| 41840 | # The font family can be any font from the Font menu in Docs or from |
| 41841 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 41842 | # unrecognized, the text is rendered in `Arial`. |
| 41843 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 41844 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 41845 | # numerical values described in the CSS 2.1 Specification, |
| 41846 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 41847 | # non-numerical values disallowed. |
| 41848 | # |
| 41849 | # The default value is `400` ("normal"). |
| 41850 | # |
| 41851 | # The font weight makes up just one component of the rendered font weight. |
| 41852 | # The rendered weight is determined by a combination of the `weight` and the |
| 41853 | # text style's resolved `bold` value, after accounting for inheritance: |
| 41854 | # |
| 41855 | # * If the text is bold and the weight is less than `400`, the rendered |
| 41856 | # weight is 400. |
| 41857 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 41858 | # is less than `700`, the rendered weight is `700`. |
| 41859 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 41860 | # equal to the weight. |
| 41861 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 41862 | }, |
| 41863 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 41864 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 41865 | "magnitude": 3.14, # The magnitude. |
| 41866 | "unit": "A String", # The units for magnitude. |
| 41867 | }, |
| 41868 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 41869 | # or transparent, depending on the `color` field. |
| 41870 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 41871 | # a transparent color. |
| 41872 | "rgbColor": { # An RGB color. # The RGB color value. |
| 41873 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 41874 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 41875 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 41876 | }, |
| 41877 | }, |
| 41878 | }, |
| 41879 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 41880 | # are not inherited from parent text. |
| 41881 | # |
| 41882 | # Changing the link in an update request causes some other changes to the |
| 41883 | # text style of the range: |
| 41884 | # |
| 41885 | # * When setting a link, the text foreground color will be updated to the |
| 41886 | # default link color and the text will be underlined. If these fields are |
| 41887 | # modified in the same request, those values will be used instead of the |
| 41888 | # link defaults. |
| 41889 | # * Setting a link on a text range that overlaps with an existing link will |
| 41890 | # also update the existing link to point to the new URL. |
| 41891 | # * Links are not settable on newline characters. As a result, setting a link |
| 41892 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 41893 | # will separate the newline character(s) into their own text runs. The |
| 41894 | # link will be applied separately to the runs before and after the newline. |
| 41895 | # * Removing a link will update the text style of the range to match the |
| 41896 | # style of the preceding text (or the default text styles if the preceding |
| 41897 | # text is another link) unless different styles are being set in the same |
| 41898 | # request. |
| 41899 | "headingId": "A String", # The ID of a heading in this document. |
| 41900 | "url": "A String", # An external URL. |
| 41901 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 41902 | }, |
| 41903 | "underline": True or False, # Whether or not the text is underlined. |
| 41904 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 41905 | }, |
| 41906 | "footnoteNumber": "A String", # The rendered number of this footnote. |
| 41907 | "suggestedInsertionIds": [ # The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if |
| 41908 | # it is a nested suggested change. If empty, then this is not a suggested |
| 41909 | # insertion. |
| 41910 | "A String", |
| 41911 | ], |
| 41912 | "footnoteId": "A String", # The ID of the footnote that |
| 41913 | # contains the content of this footnote reference. |
| 41914 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 41915 | # of this content. |
| 41916 | "A String", |
| 41917 | ], |
| 41918 | "suggestedTextStyleChanges": { # The suggested text style changes to this FootnoteReference, keyed by |
| 41919 | # suggestion ID. |
| 41920 | "a_key": { # A suggested change to a TextStyle. |
| 41921 | "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| 41922 | # the changes made in this suggestion. This can be used along with the |
| 41923 | # text_style_suggestion_state |
| 41924 | # to see which fields have changed and their new values. |
| 41925 | # |
| 41926 | # Inherited text styles are represented as unset fields in this message. A |
| 41927 | # text style's parent depends on where the text style is defined: |
| 41928 | # |
| 41929 | # * The TextStyle of text in a Paragraph |
| 41930 | # inherits from the paragraph's corresponding named style type. |
| 41931 | # * The TextStyle on a named style |
| 41932 | # inherits from the normal text named style. |
| 41933 | # * The TextStyle of the normal text named style inherits |
| 41934 | # from the default text style in the Docs editor. |
| 41935 | # * The TextStyle on a Paragraph element |
| 41936 | # that is contained in a table may inherit its text style from the table |
| 41937 | # style. |
| 41938 | # |
| 41939 | # If the text style does not inherit from a parent, unsetting fields will |
| 41940 | # revert the style to a value matching the defaults in the Docs editor. |
| 41941 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 41942 | # or transparent, depending on the `color` field. |
| 41943 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 41944 | # a transparent color. |
| 41945 | "rgbColor": { # An RGB color. # The RGB color value. |
| 41946 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 41947 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 41948 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 41949 | }, |
| 41950 | }, |
| 41951 | }, |
| 41952 | "italic": True or False, # Whether or not the text is italicized. |
| 41953 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 41954 | # |
| 41955 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 41956 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 41957 | # The `font_size` itself is not affected by changes in this field. |
| 41958 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 41959 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 41960 | # |
| 41961 | # If an update request specifies values for both `weighted_font_family` and |
| 41962 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 41963 | # |
| 41964 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 41965 | # |
| 41966 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 41967 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 41968 | # is returned. |
| 41969 | "fontFamily": "A String", # The font family of the text. |
| 41970 | # |
| 41971 | # The font family can be any font from the Font menu in Docs or from |
| 41972 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 41973 | # unrecognized, the text is rendered in `Arial`. |
| 41974 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 41975 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 41976 | # numerical values described in the CSS 2.1 Specification, |
| 41977 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 41978 | # non-numerical values disallowed. |
| 41979 | # |
| 41980 | # The default value is `400` ("normal"). |
| 41981 | # |
| 41982 | # The font weight makes up just one component of the rendered font weight. |
| 41983 | # The rendered weight is determined by a combination of the `weight` and the |
| 41984 | # text style's resolved `bold` value, after accounting for inheritance: |
| 41985 | # |
| 41986 | # * If the text is bold and the weight is less than `400`, the rendered |
| 41987 | # weight is 400. |
| 41988 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 41989 | # is less than `700`, the rendered weight is `700`. |
| 41990 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 41991 | # equal to the weight. |
| 41992 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 41993 | }, |
| 41994 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 41995 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 41996 | "magnitude": 3.14, # The magnitude. |
| 41997 | "unit": "A String", # The units for magnitude. |
| 41998 | }, |
| 41999 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 42000 | # or transparent, depending on the `color` field. |
| 42001 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 42002 | # a transparent color. |
| 42003 | "rgbColor": { # An RGB color. # The RGB color value. |
| 42004 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 42005 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 42006 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 42007 | }, |
| 42008 | }, |
| 42009 | }, |
| 42010 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 42011 | # are not inherited from parent text. |
| 42012 | # |
| 42013 | # Changing the link in an update request causes some other changes to the |
| 42014 | # text style of the range: |
| 42015 | # |
| 42016 | # * When setting a link, the text foreground color will be updated to the |
| 42017 | # default link color and the text will be underlined. If these fields are |
| 42018 | # modified in the same request, those values will be used instead of the |
| 42019 | # link defaults. |
| 42020 | # * Setting a link on a text range that overlaps with an existing link will |
| 42021 | # also update the existing link to point to the new URL. |
| 42022 | # * Links are not settable on newline characters. As a result, setting a link |
| 42023 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 42024 | # will separate the newline character(s) into their own text runs. The |
| 42025 | # link will be applied separately to the runs before and after the newline. |
| 42026 | # * Removing a link will update the text style of the range to match the |
| 42027 | # style of the preceding text (or the default text styles if the preceding |
| 42028 | # text is another link) unless different styles are being set in the same |
| 42029 | # request. |
| 42030 | "headingId": "A String", # The ID of a heading in this document. |
| 42031 | "url": "A String", # An external URL. |
| 42032 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 42033 | }, |
| 42034 | "underline": True or False, # Whether or not the text is underlined. |
| 42035 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 42036 | }, |
| 42037 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| 42038 | # For any field set to true, there is a new suggested value. |
| 42039 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 42040 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 42041 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 42042 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 42043 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 42044 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 42045 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 42046 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 42047 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 42048 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 42049 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 42050 | }, |
| 42051 | }, |
| 42052 | }, |
| 42053 | }, |
| 42054 | }, |
| 42055 | ], |
| 42056 | "suggestedPositionedObjectIds": { # The IDs of the positioned objects that are suggested to be attached to this |
| 42057 | # paragraph, keyed by suggestion ID. |
| 42058 | "a_key": { # A collection of object IDs. |
| 42059 | "objectIds": [ # The object IDs. |
| 42060 | "A String", |
| 42061 | ], |
| 42062 | }, |
| 42063 | }, |
| 42064 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 42065 | # belong to a list. |
| 42066 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 42067 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 42068 | "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| 42069 | # |
| 42070 | # Inherited text styles are represented as unset fields in this message. A |
| 42071 | # text style's parent depends on where the text style is defined: |
| 42072 | # |
| 42073 | # * The TextStyle of text in a Paragraph |
| 42074 | # inherits from the paragraph's corresponding named style type. |
| 42075 | # * The TextStyle on a named style |
| 42076 | # inherits from the normal text named style. |
| 42077 | # * The TextStyle of the normal text named style inherits |
| 42078 | # from the default text style in the Docs editor. |
| 42079 | # * The TextStyle on a Paragraph element |
| 42080 | # that is contained in a table may inherit its text style from the table |
| 42081 | # style. |
| 42082 | # |
| 42083 | # If the text style does not inherit from a parent, unsetting fields will |
| 42084 | # revert the style to a value matching the defaults in the Docs editor. |
| 42085 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 42086 | # or transparent, depending on the `color` field. |
| 42087 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 42088 | # a transparent color. |
| 42089 | "rgbColor": { # An RGB color. # The RGB color value. |
| 42090 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 42091 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 42092 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 42093 | }, |
| 42094 | }, |
| 42095 | }, |
| 42096 | "italic": True or False, # Whether or not the text is italicized. |
| 42097 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 42098 | # |
| 42099 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 42100 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 42101 | # The `font_size` itself is not affected by changes in this field. |
| 42102 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 42103 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 42104 | # |
| 42105 | # If an update request specifies values for both `weighted_font_family` and |
| 42106 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 42107 | # |
| 42108 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 42109 | # |
| 42110 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 42111 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 42112 | # is returned. |
| 42113 | "fontFamily": "A String", # The font family of the text. |
| 42114 | # |
| 42115 | # The font family can be any font from the Font menu in Docs or from |
| 42116 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 42117 | # unrecognized, the text is rendered in `Arial`. |
| 42118 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 42119 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 42120 | # numerical values described in the CSS 2.1 Specification, |
| 42121 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 42122 | # non-numerical values disallowed. |
| 42123 | # |
| 42124 | # The default value is `400` ("normal"). |
| 42125 | # |
| 42126 | # The font weight makes up just one component of the rendered font weight. |
| 42127 | # The rendered weight is determined by a combination of the `weight` and the |
| 42128 | # text style's resolved `bold` value, after accounting for inheritance: |
| 42129 | # |
| 42130 | # * If the text is bold and the weight is less than `400`, the rendered |
| 42131 | # weight is 400. |
| 42132 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 42133 | # is less than `700`, the rendered weight is `700`. |
| 42134 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 42135 | # equal to the weight. |
| 42136 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 42137 | }, |
| 42138 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 42139 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 42140 | "magnitude": 3.14, # The magnitude. |
| 42141 | "unit": "A String", # The units for magnitude. |
| 42142 | }, |
| 42143 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 42144 | # or transparent, depending on the `color` field. |
| 42145 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 42146 | # a transparent color. |
| 42147 | "rgbColor": { # An RGB color. # The RGB color value. |
| 42148 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 42149 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 42150 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 42151 | }, |
| 42152 | }, |
| 42153 | }, |
| 42154 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 42155 | # are not inherited from parent text. |
| 42156 | # |
| 42157 | # Changing the link in an update request causes some other changes to the |
| 42158 | # text style of the range: |
| 42159 | # |
| 42160 | # * When setting a link, the text foreground color will be updated to the |
| 42161 | # default link color and the text will be underlined. If these fields are |
| 42162 | # modified in the same request, those values will be used instead of the |
| 42163 | # link defaults. |
| 42164 | # * Setting a link on a text range that overlaps with an existing link will |
| 42165 | # also update the existing link to point to the new URL. |
| 42166 | # * Links are not settable on newline characters. As a result, setting a link |
| 42167 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 42168 | # will separate the newline character(s) into their own text runs. The |
| 42169 | # link will be applied separately to the runs before and after the newline. |
| 42170 | # * Removing a link will update the text style of the range to match the |
| 42171 | # style of the preceding text (or the default text styles if the preceding |
| 42172 | # text is another link) unless different styles are being set in the same |
| 42173 | # request. |
| 42174 | "headingId": "A String", # The ID of a heading in this document. |
| 42175 | "url": "A String", # An external URL. |
| 42176 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 42177 | }, |
| 42178 | "underline": True or False, # Whether or not the text is underlined. |
| 42179 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 42180 | }, |
| 42181 | }, |
| 42182 | "suggestedBulletChanges": { # The suggested changes to this paragraph's bullet. |
| 42183 | "a_key": { # A suggested change to a Bullet. |
| 42184 | "bullet": { # Describes the bullet of a paragraph. # A Bullet that only includes the changes made |
| 42185 | # in this suggestion. This can be used along with the |
| 42186 | # bullet_suggestion_state to see which |
| 42187 | # fields have changed and their new values. |
| 42188 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 42189 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 42190 | "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| 42191 | # |
| 42192 | # Inherited text styles are represented as unset fields in this message. A |
| 42193 | # text style's parent depends on where the text style is defined: |
| 42194 | # |
| 42195 | # * The TextStyle of text in a Paragraph |
| 42196 | # inherits from the paragraph's corresponding named style type. |
| 42197 | # * The TextStyle on a named style |
| 42198 | # inherits from the normal text named style. |
| 42199 | # * The TextStyle of the normal text named style inherits |
| 42200 | # from the default text style in the Docs editor. |
| 42201 | # * The TextStyle on a Paragraph element |
| 42202 | # that is contained in a table may inherit its text style from the table |
| 42203 | # style. |
| 42204 | # |
| 42205 | # If the text style does not inherit from a parent, unsetting fields will |
| 42206 | # revert the style to a value matching the defaults in the Docs editor. |
| 42207 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| 42208 | # or transparent, depending on the `color` field. |
| 42209 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 42210 | # a transparent color. |
| 42211 | "rgbColor": { # An RGB color. # The RGB color value. |
| 42212 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 42213 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 42214 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 42215 | }, |
| 42216 | }, |
| 42217 | }, |
| 42218 | "italic": True or False, # Whether or not the text is italicized. |
| 42219 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 42220 | # |
| 42221 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 42222 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 42223 | # The `font_size` itself is not affected by changes in this field. |
| 42224 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 42225 | "weightedFontFamily": { # Represents a font family and weight of text. # The font family and rendered weight of the text. |
| 42226 | # |
| 42227 | # If an update request specifies values for both `weighted_font_family` and |
| 42228 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 42229 | # |
| 42230 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 42231 | # |
| 42232 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 42233 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 42234 | # is returned. |
| 42235 | "fontFamily": "A String", # The font family of the text. |
| 42236 | # |
| 42237 | # The font family can be any font from the Font menu in Docs or from |
| 42238 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 42239 | # unrecognized, the text is rendered in `Arial`. |
| 42240 | "weight": 42, # The weight of the font. This field can have any value that is a multiple of |
| 42241 | # `100` between `100` and `900`, inclusive. This range corresponds to the |
| 42242 | # numerical values described in the CSS 2.1 Specification, |
| 42243 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with |
| 42244 | # non-numerical values disallowed. |
| 42245 | # |
| 42246 | # The default value is `400` ("normal"). |
| 42247 | # |
| 42248 | # The font weight makes up just one component of the rendered font weight. |
| 42249 | # The rendered weight is determined by a combination of the `weight` and the |
| 42250 | # text style's resolved `bold` value, after accounting for inheritance: |
| 42251 | # |
| 42252 | # * If the text is bold and the weight is less than `400`, the rendered |
| 42253 | # weight is 400. |
| 42254 | # * If the text is bold and the weight is greater than or equal to `400` but |
| 42255 | # is less than `700`, the rendered weight is `700`. |
| 42256 | # * If the weight is greater than or equal to `700`, the rendered weight is |
| 42257 | # equal to the weight. |
| 42258 | # * If the text is not bold, the rendered weight is equal to the weight. |
| 42259 | }, |
| 42260 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 42261 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| 42262 | "magnitude": 3.14, # The magnitude. |
| 42263 | "unit": "A String", # The units for magnitude. |
| 42264 | }, |
| 42265 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| 42266 | # or transparent, depending on the `color` field. |
| 42267 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 42268 | # a transparent color. |
| 42269 | "rgbColor": { # An RGB color. # The RGB color value. |
| 42270 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 42271 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 42272 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 42273 | }, |
| 42274 | }, |
| 42275 | }, |
| 42276 | "link": { # A reference to another portion of a document or an external URL resource. # The hyperlink destination of the text. If unset, there is no link. Links |
| 42277 | # are not inherited from parent text. |
| 42278 | # |
| 42279 | # Changing the link in an update request causes some other changes to the |
| 42280 | # text style of the range: |
| 42281 | # |
| 42282 | # * When setting a link, the text foreground color will be updated to the |
| 42283 | # default link color and the text will be underlined. If these fields are |
| 42284 | # modified in the same request, those values will be used instead of the |
| 42285 | # link defaults. |
| 42286 | # * Setting a link on a text range that overlaps with an existing link will |
| 42287 | # also update the existing link to point to the new URL. |
| 42288 | # * Links are not settable on newline characters. As a result, setting a link |
| 42289 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 42290 | # will separate the newline character(s) into their own text runs. The |
| 42291 | # link will be applied separately to the runs before and after the newline. |
| 42292 | # * Removing a link will update the text style of the range to match the |
| 42293 | # style of the preceding text (or the default text styles if the preceding |
| 42294 | # text is another link) unless different styles are being set in the same |
| 42295 | # request. |
| 42296 | "headingId": "A String", # The ID of a heading in this document. |
| 42297 | "url": "A String", # An external URL. |
| 42298 | "bookmarkId": "A String", # The ID of a bookmark in this document. |
| 42299 | }, |
| 42300 | "underline": True or False, # Whether or not the text is underlined. |
| 42301 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 42302 | }, |
| 42303 | }, |
| 42304 | "bulletSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| 42305 | # Bullet have been changed in this suggestion. |
| 42306 | # Bullet have been changed in this suggestion. |
| 42307 | # For any field set to true, there is a new suggested value. |
| 42308 | "nestingLevelSuggested": True or False, # Indicates if there was a suggested change to the |
| 42309 | # nesting_level. |
| 42310 | "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| 42311 | # suggestion. |
| 42312 | # For any field set to true, there is a new suggested value. |
| 42313 | "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| 42314 | "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| 42315 | "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| 42316 | "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| 42317 | "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| 42318 | "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| 42319 | "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| 42320 | "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| 42321 | "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| 42322 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 42323 | "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| 42324 | }, |
| 42325 | "listIdSuggested": True or False, # Indicates if there was a suggested change to the |
| 42326 | # list_id. |
| 42327 | }, |
| 42328 | }, |
| 42329 | }, |
| 42330 | "positionedObjectIds": [ # The IDs of the positioned objects tethered to this paragraph. |
| 42331 | "A String", |
| 42332 | ], |
| 42333 | "suggestedParagraphStyleChanges": { # The suggested paragraph style changes to this paragraph, keyed by |
| 42334 | # suggestion ID. |
| 42335 | "a_key": { # A suggested change to a |
| 42336 | # ParagraphStyle. |
| 42337 | "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. |
| 42338 | # For any field set to true, there is a new suggested value. |
| 42339 | "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| 42340 | "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| 42341 | "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| 42342 | "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| 42343 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 42344 | "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| 42345 | "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| 42346 | "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| 42347 | "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| 42348 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 42349 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 42350 | "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| 42351 | "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| 42352 | "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| 42353 | "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| 42354 | "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| 42355 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 42356 | "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| 42357 | "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| 42358 | "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| 42359 | # this suggestion. |
| 42360 | # suggested change. For any field set to true, there is a new suggested value. |
| 42361 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| 42362 | }, |
| 42363 | }, |
| 42364 | "paragraphStyle": { # Styles that apply to a whole paragraph. # A ParagraphStyle that only includes |
| 42365 | # the changes made in this suggestion. This can be used along with the |
| 42366 | # paragraph_suggestion_state |
| 42367 | # to see which fields have changed and their new values. |
| 42368 | # |
| 42369 | # Inherited paragraph styles are represented as unset fields in this message. |
| 42370 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 42371 | # |
| 42372 | # * The ParagraphStyle on a Paragraph |
| 42373 | # inherits from the paragraph's corresponding named style type. |
| 42374 | # * The ParagraphStyle on a named style |
| 42375 | # inherits from the normal text named style. |
| 42376 | # * The ParagraphStyle of the normal text named style inherits |
| 42377 | # from the default paragraph style in the Docs editor. |
| 42378 | # * The ParagraphStyle on a Paragraph |
| 42379 | # element that is contained in a table may inherit its paragraph style from |
| 42380 | # the table style. |
| 42381 | # |
| 42382 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 42383 | # revert the style to a value matching the defaults in the Docs editor. |
| 42384 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 42385 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 42386 | # LEFT_TO_RIGHT since |
| 42387 | # paragraph direction is not inherited. |
| 42388 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 42389 | # inherited from the parent. |
| 42390 | "magnitude": 3.14, # The magnitude. |
| 42391 | "unit": "A String", # The units for magnitude. |
| 42392 | }, |
| 42393 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 42394 | # page or column as the next paragraph if possible. If unset, the value is |
| 42395 | # inherited from the parent. |
| 42396 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 42397 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 42398 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 42399 | # is inherited from the parent. |
| 42400 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 42401 | # inherited from the parent. |
| 42402 | # |
| 42403 | # The bottom border is rendered when the paragraph below has different border |
| 42404 | # and indent properties. |
| 42405 | # |
| 42406 | # Paragraph borders cannot be partially updated. When making |
| 42407 | # changes to a paragraph border the new border must be specified in |
| 42408 | # its entirety. |
| 42409 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 42410 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 42411 | # a transparent color. |
| 42412 | "rgbColor": { # An RGB color. # The RGB color value. |
| 42413 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 42414 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 42415 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 42416 | }, |
| 42417 | }, |
| 42418 | }, |
| 42419 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 42420 | "magnitude": 3.14, # The magnitude. |
| 42421 | "unit": "A String", # The units for magnitude. |
| 42422 | }, |
| 42423 | "dashStyle": "A String", # The dash style of the border. |
| 42424 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 42425 | "magnitude": 3.14, # The magnitude. |
| 42426 | "unit": "A String", # The units for magnitude. |
| 42427 | }, |
| 42428 | }, |
| 42429 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 42430 | # the start of the text, based on the current paragraph direction. If unset, |
| 42431 | # the value is inherited from the parent. |
| 42432 | "magnitude": 3.14, # The magnitude. |
| 42433 | "unit": "A String", # The units for magnitude. |
| 42434 | }, |
| 42435 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 42436 | # If unset, the value is inherited from the parent. |
| 42437 | # |
| 42438 | # The between border is rendered when the adjacent paragraph has the same |
| 42439 | # border and indent properties. |
| 42440 | # |
| 42441 | # Paragraph borders cannot be partially updated. When making |
| 42442 | # changes to a paragraph border the new border must be specified in |
| 42443 | # its entirety. |
| 42444 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 42445 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 42446 | # a transparent color. |
| 42447 | "rgbColor": { # An RGB color. # The RGB color value. |
| 42448 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 42449 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 42450 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 42451 | }, |
| 42452 | }, |
| 42453 | }, |
| 42454 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 42455 | "magnitude": 3.14, # The magnitude. |
| 42456 | "unit": "A String", # The units for magnitude. |
| 42457 | }, |
| 42458 | "dashStyle": "A String", # The dash style of the border. |
| 42459 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 42460 | "magnitude": 3.14, # The magnitude. |
| 42461 | "unit": "A String", # The units for magnitude. |
| 42462 | }, |
| 42463 | }, |
| 42464 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 42465 | # |
| 42466 | # Since updating the named style type affects other properties within |
| 42467 | # ParagraphStyle, the named style type is applied before the other properties |
| 42468 | # are updated. |
| 42469 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 42470 | # from the parent. |
| 42471 | # |
| 42472 | # Paragraph borders cannot be partially updated. When making |
| 42473 | # changes to a paragraph border the new border must be specified in |
| 42474 | # its entirety. |
| 42475 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 42476 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 42477 | # a transparent color. |
| 42478 | "rgbColor": { # An RGB color. # The RGB color value. |
| 42479 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 42480 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 42481 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 42482 | }, |
| 42483 | }, |
| 42484 | }, |
| 42485 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 42486 | "magnitude": 3.14, # The magnitude. |
| 42487 | "unit": "A String", # The units for magnitude. |
| 42488 | }, |
| 42489 | "dashStyle": "A String", # The dash style of the border. |
| 42490 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 42491 | "magnitude": 3.14, # The magnitude. |
| 42492 | "unit": "A String", # The units for magnitude. |
| 42493 | }, |
| 42494 | }, |
| 42495 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 42496 | # the end of the text, based on the current paragraph direction. If unset, |
| 42497 | # the value is inherited from the parent. |
| 42498 | "magnitude": 3.14, # The magnitude. |
| 42499 | "unit": "A String", # The units for magnitude. |
| 42500 | }, |
| 42501 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 42502 | # from the parent. |
| 42503 | # |
| 42504 | # Paragraph borders cannot be partially updated. When making |
| 42505 | # changes to a paragraph border the new border must be specified in |
| 42506 | # its entirety. |
| 42507 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 42508 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 42509 | # a transparent color. |
| 42510 | "rgbColor": { # An RGB color. # The RGB color value. |
| 42511 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 42512 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 42513 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 42514 | }, |
| 42515 | }, |
| 42516 | }, |
| 42517 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 42518 | "magnitude": 3.14, # The magnitude. |
| 42519 | "unit": "A String", # The units for magnitude. |
| 42520 | }, |
| 42521 | "dashStyle": "A String", # The dash style of the border. |
| 42522 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 42523 | "magnitude": 3.14, # The magnitude. |
| 42524 | "unit": "A String", # The units for magnitude. |
| 42525 | }, |
| 42526 | }, |
| 42527 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 42528 | # inherited from the parent. |
| 42529 | "magnitude": 3.14, # The magnitude. |
| 42530 | "unit": "A String", # The units for magnitude. |
| 42531 | }, |
| 42532 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 42533 | # heading. This property is read-only. |
| 42534 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 42535 | # parent. |
| 42536 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 42537 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 42538 | # a transparent color. |
| 42539 | "rgbColor": { # An RGB color. # The RGB color value. |
| 42540 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 42541 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 42542 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 42543 | }, |
| 42544 | }, |
| 42545 | }, |
| 42546 | }, |
| 42547 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 42548 | # from the parent. |
| 42549 | # |
| 42550 | # The top border is rendered when the paragraph above has different border |
| 42551 | # and indent properties. |
| 42552 | # |
| 42553 | # Paragraph borders cannot be partially updated. When making |
| 42554 | # changes to a paragraph border the new border must be specified in |
| 42555 | # its entirety. |
| 42556 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 42557 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 42558 | # a transparent color. |
| 42559 | "rgbColor": { # An RGB color. # The RGB color value. |
| 42560 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 42561 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 42562 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 42563 | }, |
| 42564 | }, |
| 42565 | }, |
| 42566 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 42567 | "magnitude": 3.14, # The magnitude. |
| 42568 | "unit": "A String", # The units for magnitude. |
| 42569 | }, |
| 42570 | "dashStyle": "A String", # The dash style of the border. |
| 42571 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 42572 | "magnitude": 3.14, # The magnitude. |
| 42573 | "unit": "A String", # The units for magnitude. |
| 42574 | }, |
| 42575 | }, |
| 42576 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 42577 | # inherited. This property is read-only. |
| 42578 | { # A tab stop within a paragraph. |
| 42579 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 42580 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 42581 | "magnitude": 3.14, # The magnitude. |
| 42582 | "unit": "A String", # The units for magnitude. |
| 42583 | }, |
| 42584 | }, |
| 42585 | ], |
| 42586 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 42587 | # the value is inherited from the parent. |
| 42588 | "magnitude": 3.14, # The magnitude. |
| 42589 | "unit": "A String", # The units for magnitude. |
| 42590 | }, |
| 42591 | "alignment": "A String", # The text alignment for this paragraph. |
| 42592 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 42593 | # column if possible. If unset, the value is inherited from the parent. |
| 42594 | }, |
| 42595 | }, |
| 42596 | }, |
| 42597 | "paragraphStyle": { # Styles that apply to a whole paragraph. # The style of this paragraph. |
| 42598 | # |
| 42599 | # Inherited paragraph styles are represented as unset fields in this message. |
| 42600 | # A paragraph style's parent depends on where the paragraph style is defined: |
| 42601 | # |
| 42602 | # * The ParagraphStyle on a Paragraph |
| 42603 | # inherits from the paragraph's corresponding named style type. |
| 42604 | # * The ParagraphStyle on a named style |
| 42605 | # inherits from the normal text named style. |
| 42606 | # * The ParagraphStyle of the normal text named style inherits |
| 42607 | # from the default paragraph style in the Docs editor. |
| 42608 | # * The ParagraphStyle on a Paragraph |
| 42609 | # element that is contained in a table may inherit its paragraph style from |
| 42610 | # the table style. |
| 42611 | # |
| 42612 | # If the paragraph style does not inherit from a parent, unsetting fields will |
| 42613 | # revert the style to a value matching the defaults in the Docs editor. |
| 42614 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 42615 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 42616 | # LEFT_TO_RIGHT since |
| 42617 | # paragraph direction is not inherited. |
| 42618 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 42619 | # inherited from the parent. |
| 42620 | "magnitude": 3.14, # The magnitude. |
| 42621 | "unit": "A String", # The units for magnitude. |
| 42622 | }, |
| 42623 | "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| 42624 | # page or column as the next paragraph if possible. If unset, the value is |
| 42625 | # inherited from the parent. |
| 42626 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 42627 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 42628 | "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| 42629 | # is inherited from the parent. |
| 42630 | "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| 42631 | # inherited from the parent. |
| 42632 | # |
| 42633 | # The bottom border is rendered when the paragraph below has different border |
| 42634 | # and indent properties. |
| 42635 | # |
| 42636 | # Paragraph borders cannot be partially updated. When making |
| 42637 | # changes to a paragraph border the new border must be specified in |
| 42638 | # its entirety. |
| 42639 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 42640 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 42641 | # a transparent color. |
| 42642 | "rgbColor": { # An RGB color. # The RGB color value. |
| 42643 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 42644 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 42645 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 42646 | }, |
| 42647 | }, |
| 42648 | }, |
| 42649 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 42650 | "magnitude": 3.14, # The magnitude. |
| 42651 | "unit": "A String", # The units for magnitude. |
| 42652 | }, |
| 42653 | "dashStyle": "A String", # The dash style of the border. |
| 42654 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 42655 | "magnitude": 3.14, # The magnitude. |
| 42656 | "unit": "A String", # The units for magnitude. |
| 42657 | }, |
| 42658 | }, |
| 42659 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 42660 | # the start of the text, based on the current paragraph direction. If unset, |
| 42661 | # the value is inherited from the parent. |
| 42662 | "magnitude": 3.14, # The magnitude. |
| 42663 | "unit": "A String", # The units for magnitude. |
| 42664 | }, |
| 42665 | "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| 42666 | # If unset, the value is inherited from the parent. |
| 42667 | # |
| 42668 | # The between border is rendered when the adjacent paragraph has the same |
| 42669 | # border and indent properties. |
| 42670 | # |
| 42671 | # Paragraph borders cannot be partially updated. When making |
| 42672 | # changes to a paragraph border the new border must be specified in |
| 42673 | # its entirety. |
| 42674 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 42675 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 42676 | # a transparent color. |
| 42677 | "rgbColor": { # An RGB color. # The RGB color value. |
| 42678 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 42679 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 42680 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 42681 | }, |
| 42682 | }, |
| 42683 | }, |
| 42684 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 42685 | "magnitude": 3.14, # The magnitude. |
| 42686 | "unit": "A String", # The units for magnitude. |
| 42687 | }, |
| 42688 | "dashStyle": "A String", # The dash style of the border. |
| 42689 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 42690 | "magnitude": 3.14, # The magnitude. |
| 42691 | "unit": "A String", # The units for magnitude. |
| 42692 | }, |
| 42693 | }, |
| 42694 | "namedStyleType": "A String", # The named style type of the paragraph. |
| 42695 | # |
| 42696 | # Since updating the named style type affects other properties within |
| 42697 | # ParagraphStyle, the named style type is applied before the other properties |
| 42698 | # are updated. |
| 42699 | "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| 42700 | # from the parent. |
| 42701 | # |
| 42702 | # Paragraph borders cannot be partially updated. When making |
| 42703 | # changes to a paragraph border the new border must be specified in |
| 42704 | # its entirety. |
| 42705 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 42706 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 42707 | # a transparent color. |
| 42708 | "rgbColor": { # An RGB color. # The RGB color value. |
| 42709 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 42710 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 42711 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 42712 | }, |
| 42713 | }, |
| 42714 | }, |
| 42715 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 42716 | "magnitude": 3.14, # The magnitude. |
| 42717 | "unit": "A String", # The units for magnitude. |
| 42718 | }, |
| 42719 | "dashStyle": "A String", # The dash style of the border. |
| 42720 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 42721 | "magnitude": 3.14, # The magnitude. |
| 42722 | "unit": "A String", # The units for magnitude. |
| 42723 | }, |
| 42724 | }, |
| 42725 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| 42726 | # the end of the text, based on the current paragraph direction. If unset, |
| 42727 | # the value is inherited from the parent. |
| 42728 | "magnitude": 3.14, # The magnitude. |
| 42729 | "unit": "A String", # The units for magnitude. |
| 42730 | }, |
| 42731 | "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| 42732 | # from the parent. |
| 42733 | # |
| 42734 | # Paragraph borders cannot be partially updated. When making |
| 42735 | # changes to a paragraph border the new border must be specified in |
| 42736 | # its entirety. |
| 42737 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 42738 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 42739 | # a transparent color. |
| 42740 | "rgbColor": { # An RGB color. # The RGB color value. |
| 42741 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 42742 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 42743 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 42744 | }, |
| 42745 | }, |
| 42746 | }, |
| 42747 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 42748 | "magnitude": 3.14, # The magnitude. |
| 42749 | "unit": "A String", # The units for magnitude. |
| 42750 | }, |
| 42751 | "dashStyle": "A String", # The dash style of the border. |
| 42752 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 42753 | "magnitude": 3.14, # The magnitude. |
| 42754 | "unit": "A String", # The units for magnitude. |
| 42755 | }, |
| 42756 | }, |
| 42757 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 42758 | # inherited from the parent. |
| 42759 | "magnitude": 3.14, # The magnitude. |
| 42760 | "unit": "A String", # The units for magnitude. |
| 42761 | }, |
| 42762 | "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| 42763 | # heading. This property is read-only. |
| 42764 | "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| 42765 | # parent. |
| 42766 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| 42767 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 42768 | # a transparent color. |
| 42769 | "rgbColor": { # An RGB color. # The RGB color value. |
| 42770 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 42771 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 42772 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 42773 | }, |
| 42774 | }, |
| 42775 | }, |
| 42776 | }, |
| 42777 | "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| 42778 | # from the parent. |
| 42779 | # |
| 42780 | # The top border is rendered when the paragraph above has different border |
| 42781 | # and indent properties. |
| 42782 | # |
| 42783 | # Paragraph borders cannot be partially updated. When making |
| 42784 | # changes to a paragraph border the new border must be specified in |
| 42785 | # its entirety. |
| 42786 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 42787 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 42788 | # a transparent color. |
| 42789 | "rgbColor": { # An RGB color. # The RGB color value. |
| 42790 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 42791 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 42792 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 42793 | }, |
| 42794 | }, |
| 42795 | }, |
| 42796 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 42797 | "magnitude": 3.14, # The magnitude. |
| 42798 | "unit": "A String", # The units for magnitude. |
| 42799 | }, |
| 42800 | "dashStyle": "A String", # The dash style of the border. |
| 42801 | "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| 42802 | "magnitude": 3.14, # The magnitude. |
| 42803 | "unit": "A String", # The units for magnitude. |
| 42804 | }, |
| 42805 | }, |
| 42806 | "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| 42807 | # inherited. This property is read-only. |
| 42808 | { # A tab stop within a paragraph. |
| 42809 | "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| 42810 | "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| 42811 | "magnitude": 3.14, # The magnitude. |
| 42812 | "unit": "A String", # The units for magnitude. |
| 42813 | }, |
| 42814 | }, |
| 42815 | ], |
| 42816 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of the paragraph. If unset, |
| 42817 | # the value is inherited from the parent. |
| 42818 | "magnitude": 3.14, # The magnitude. |
| 42819 | "unit": "A String", # The units for magnitude. |
| 42820 | }, |
| 42821 | "alignment": "A String", # The text alignment for this paragraph. |
| 42822 | "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| 42823 | # column if possible. If unset, the value is inherited from the parent. |
| 42824 | }, |
| 42825 | }, |
| 42826 | "table": { # A StructuralElement representing a # A table type of structural element. |
| 42827 | # table. |
| 42828 | "rows": 42, # Number of rows in the table. |
| 42829 | "tableStyle": { # Styles that apply to a table. # The style of the table. |
| 42830 | "tableColumnProperties": [ # The properties of each column. |
| 42831 | # |
| 42832 | # Note that in Docs, tables contain rows and rows contain cells, similar to |
| 42833 | # HTML. So the properties for a row can be found on the row's |
| 42834 | # table_row_style. |
| 42835 | { # The properties of a column in a table. |
| 42836 | "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| 42837 | # FIXED_WIDTH. |
| 42838 | "magnitude": 3.14, # The magnitude. |
| 42839 | "unit": "A String", # The units for magnitude. |
| 42840 | }, |
| 42841 | "widthType": "A String", # The width type of the column. |
| 42842 | }, |
| 42843 | ], |
| 42844 | }, |
| 42845 | "suggestedInsertionIds": [ # The suggested insertion IDs. A Table may have |
| 42846 | # multiple insertion IDs if it is a nested suggested change. If empty, then |
| 42847 | # this is not a suggested insertion. |
| 42848 | "A String", |
| 42849 | ], |
| 42850 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 42851 | # of this content. |
| 42852 | "A String", |
| 42853 | ], |
| 42854 | "tableRows": [ # The contents and style of each row. |
| 42855 | { # The contents and style of a row in a Table. |
| 42856 | "endIndex": 42, # The zero-based end index of this row, exclusive, in UTF-16 code units. |
| 42857 | "tableCells": [ # The contents and style of each cell in this row. |
| 42858 | # |
| 42859 | # It is possible for a table to be non-rectangular, so some rows may have a |
| 42860 | # different number of cells than other rows in the same table. |
| 42861 | { # The contents and style of a cell in a Table. |
| 42862 | "endIndex": 42, # The zero-based end index of this cell, exclusive, in UTF-16 code units. |
| 42863 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 42864 | # of this content. |
| 42865 | "A String", |
| 42866 | ], |
| 42867 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableCell |
| 42868 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 42869 | # empty, then this is not a suggested insertion. |
| 42870 | "A String", |
| 42871 | ], |
| 42872 | "content": [ # The content of the cell. |
| 42873 | # Object with schema name: StructuralElement |
| 42874 | ], |
| 42875 | "tableCellStyle": { # The style of a TableCell. # The style of the cell. |
| 42876 | # |
| 42877 | # Inherited table cell styles are represented as unset fields in this message. |
| 42878 | # A table cell style can inherit from the table's style. |
| 42879 | "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| 42880 | "magnitude": 3.14, # The magnitude. |
| 42881 | "unit": "A String", # The units for magnitude. |
| 42882 | }, |
| 42883 | "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| 42884 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 42885 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 42886 | # a transparent color. |
| 42887 | "rgbColor": { # An RGB color. # The RGB color value. |
| 42888 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 42889 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 42890 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 42891 | }, |
| 42892 | }, |
| 42893 | }, |
| 42894 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 42895 | "magnitude": 3.14, # The magnitude. |
| 42896 | "unit": "A String", # The units for magnitude. |
| 42897 | }, |
| 42898 | "dashStyle": "A String", # The dash style of the border. |
| 42899 | }, |
| 42900 | "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| 42901 | "magnitude": 3.14, # The magnitude. |
| 42902 | "unit": "A String", # The units for magnitude. |
| 42903 | }, |
| 42904 | "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| 42905 | "magnitude": 3.14, # The magnitude. |
| 42906 | "unit": "A String", # The units for magnitude. |
| 42907 | }, |
| 42908 | "borderLeft": { # A border around a table cell. # The left border of the cell. |
| 42909 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 42910 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 42911 | # a transparent color. |
| 42912 | "rgbColor": { # An RGB color. # The RGB color value. |
| 42913 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 42914 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 42915 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 42916 | }, |
| 42917 | }, |
| 42918 | }, |
| 42919 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 42920 | "magnitude": 3.14, # The magnitude. |
| 42921 | "unit": "A String", # The units for magnitude. |
| 42922 | }, |
| 42923 | "dashStyle": "A String", # The dash style of the border. |
| 42924 | }, |
| 42925 | "columnSpan": 42, # The column span of the cell. This property is read-only. |
| 42926 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| 42927 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 42928 | # a transparent color. |
| 42929 | "rgbColor": { # An RGB color. # The RGB color value. |
| 42930 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 42931 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 42932 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 42933 | }, |
| 42934 | }, |
| 42935 | }, |
| 42936 | "borderRight": { # A border around a table cell. # The right border of the cell. |
| 42937 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 42938 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 42939 | # a transparent color. |
| 42940 | "rgbColor": { # An RGB color. # The RGB color value. |
| 42941 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 42942 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 42943 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 42944 | }, |
| 42945 | }, |
| 42946 | }, |
| 42947 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 42948 | "magnitude": 3.14, # The magnitude. |
| 42949 | "unit": "A String", # The units for magnitude. |
| 42950 | }, |
| 42951 | "dashStyle": "A String", # The dash style of the border. |
| 42952 | }, |
| 42953 | "rowSpan": 42, # The row span of the cell. This property is read-only. |
| 42954 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 42955 | # matches the alignment for newly created table cells in the Docs editor. |
| 42956 | "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| 42957 | "magnitude": 3.14, # The magnitude. |
| 42958 | "unit": "A String", # The units for magnitude. |
| 42959 | }, |
| 42960 | "borderTop": { # A border around a table cell. # The top border of the cell. |
| 42961 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 42962 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 42963 | # a transparent color. |
| 42964 | "rgbColor": { # An RGB color. # The RGB color value. |
| 42965 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 42966 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 42967 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 42968 | }, |
| 42969 | }, |
| 42970 | }, |
| 42971 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 42972 | "magnitude": 3.14, # The magnitude. |
| 42973 | "unit": "A String", # The units for magnitude. |
| 42974 | }, |
| 42975 | "dashStyle": "A String", # The dash style of the border. |
| 42976 | }, |
| 42977 | }, |
| 42978 | "startIndex": 42, # The zero-based start index of this cell, in UTF-16 code units. |
| 42979 | "suggestedTableCellStyleChanges": { # The suggested changes to the table cell style, keyed by suggestion ID. |
| 42980 | "a_key": { # A suggested change to a TableCellStyle. |
| 42981 | "tableCellStyle": { # The style of a TableCell. # A TableCellStyle that only includes |
| 42982 | # the changes made in this suggestion. This can be used along with the |
| 42983 | # table_cell_style_suggestion_state |
| 42984 | # to see which fields have changed and their new values. |
| 42985 | # |
| 42986 | # Inherited table cell styles are represented as unset fields in this message. |
| 42987 | # A table cell style can inherit from the table's style. |
| 42988 | "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| 42989 | "magnitude": 3.14, # The magnitude. |
| 42990 | "unit": "A String", # The units for magnitude. |
| 42991 | }, |
| 42992 | "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| 42993 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 42994 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 42995 | # a transparent color. |
| 42996 | "rgbColor": { # An RGB color. # The RGB color value. |
| 42997 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 42998 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 42999 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 43000 | }, |
| 43001 | }, |
| 43002 | }, |
| 43003 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 43004 | "magnitude": 3.14, # The magnitude. |
| 43005 | "unit": "A String", # The units for magnitude. |
| 43006 | }, |
| 43007 | "dashStyle": "A String", # The dash style of the border. |
| 43008 | }, |
| 43009 | "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| 43010 | "magnitude": 3.14, # The magnitude. |
| 43011 | "unit": "A String", # The units for magnitude. |
| 43012 | }, |
| 43013 | "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| 43014 | "magnitude": 3.14, # The magnitude. |
| 43015 | "unit": "A String", # The units for magnitude. |
| 43016 | }, |
| 43017 | "borderLeft": { # A border around a table cell. # The left border of the cell. |
| 43018 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 43019 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 43020 | # a transparent color. |
| 43021 | "rgbColor": { # An RGB color. # The RGB color value. |
| 43022 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 43023 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 43024 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 43025 | }, |
| 43026 | }, |
| 43027 | }, |
| 43028 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 43029 | "magnitude": 3.14, # The magnitude. |
| 43030 | "unit": "A String", # The units for magnitude. |
| 43031 | }, |
| 43032 | "dashStyle": "A String", # The dash style of the border. |
| 43033 | }, |
| 43034 | "columnSpan": 42, # The column span of the cell. This property is read-only. |
| 43035 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| 43036 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 43037 | # a transparent color. |
| 43038 | "rgbColor": { # An RGB color. # The RGB color value. |
| 43039 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 43040 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 43041 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 43042 | }, |
| 43043 | }, |
| 43044 | }, |
| 43045 | "borderRight": { # A border around a table cell. # The right border of the cell. |
| 43046 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 43047 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 43048 | # a transparent color. |
| 43049 | "rgbColor": { # An RGB color. # The RGB color value. |
| 43050 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 43051 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 43052 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 43053 | }, |
| 43054 | }, |
| 43055 | }, |
| 43056 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 43057 | "magnitude": 3.14, # The magnitude. |
| 43058 | "unit": "A String", # The units for magnitude. |
| 43059 | }, |
| 43060 | "dashStyle": "A String", # The dash style of the border. |
| 43061 | }, |
| 43062 | "rowSpan": 42, # The row span of the cell. This property is read-only. |
| 43063 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 43064 | # matches the alignment for newly created table cells in the Docs editor. |
| 43065 | "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| 43066 | "magnitude": 3.14, # The magnitude. |
| 43067 | "unit": "A String", # The units for magnitude. |
| 43068 | }, |
| 43069 | "borderTop": { # A border around a table cell. # The top border of the cell. |
| 43070 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 43071 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 43072 | # a transparent color. |
| 43073 | "rgbColor": { # An RGB color. # The RGB color value. |
| 43074 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 43075 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 43076 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 43077 | }, |
| 43078 | }, |
| 43079 | }, |
| 43080 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 43081 | "magnitude": 3.14, # The magnitude. |
| 43082 | "unit": "A String", # The units for magnitude. |
| 43083 | }, |
| 43084 | "dashStyle": "A String", # The dash style of the border. |
| 43085 | }, |
| 43086 | }, |
| 43087 | "tableCellStyleSuggestionState": { # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. |
| 43088 | # For any field set to true, there is a new suggested value. |
| 43089 | "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| 43090 | "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| 43091 | "paddingBottomSuggested": True or False, # Indicates if there was a suggested change to padding_bottom. |
| 43092 | "contentAlignmentSuggested": True or False, # Indicates if there was a suggested change to content_alignment. |
| 43093 | "rowSpanSuggested": True or False, # Indicates if there was a suggested change to row_span. |
| 43094 | "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| 43095 | "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| 43096 | "columnSpanSuggested": True or False, # Indicates if there was a suggested change to column_span. |
| 43097 | "paddingRightSuggested": True or False, # Indicates if there was a suggested change to padding_right. |
| 43098 | "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| 43099 | "paddingLeftSuggested": True or False, # Indicates if there was a suggested change to padding_left. |
| 43100 | "paddingTopSuggested": True or False, # Indicates if there was a suggested change to padding_top. |
| 43101 | }, |
| 43102 | }, |
| 43103 | }, |
| 43104 | }, |
| 43105 | ], |
| 43106 | "tableRowStyle": { # Styles that apply to a table row. # The style of the table row. |
| 43107 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 43108 | # at a height equal to or greater than this value in order to show all the |
| 43109 | # content in the row's cells. |
| 43110 | "magnitude": 3.14, # The magnitude. |
| 43111 | "unit": "A String", # The units for magnitude. |
| 43112 | }, |
| 43113 | }, |
| 43114 | "suggestedInsertionIds": [ # The suggested insertion IDs. A TableRow |
| 43115 | # may have multiple insertion IDs if it is a nested suggested change. If |
| 43116 | # empty, then this is not a suggested insertion. |
| 43117 | "A String", |
| 43118 | ], |
| 43119 | "startIndex": 42, # The zero-based start index of this row, in UTF-16 code units. |
| 43120 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 43121 | # of this content. |
| 43122 | "A String", |
| 43123 | ], |
| 43124 | "suggestedTableRowStyleChanges": { # The suggested style changes to this row, keyed by suggestion ID. |
| 43125 | "a_key": { # A suggested change to a |
| 43126 | # TableRowStyle. |
| 43127 | "tableRowStyle": { # Styles that apply to a table row. # A TableRowStyle that only includes |
| 43128 | # the changes made in this suggestion. This can be used along with the |
| 43129 | # table_row_style_suggestion_state |
| 43130 | # to see which fields have changed and their new values. |
| 43131 | "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| 43132 | # at a height equal to or greater than this value in order to show all the |
| 43133 | # content in the row's cells. |
| 43134 | "magnitude": 3.14, # The magnitude. |
| 43135 | "unit": "A String", # The units for magnitude. |
| 43136 | }, |
| 43137 | }, |
| 43138 | "tableRowStyleSuggestionState": { # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. |
| 43139 | # For any field set to true, there is a new suggested value. |
| 43140 | "minRowHeightSuggested": True or False, # Indicates if there was a suggested change to min_row_height. |
| 43141 | }, |
| 43142 | }, |
| 43143 | }, |
| 43144 | }, |
| 43145 | ], |
| 43146 | "columns": 42, # Number of columns in the table. |
| 43147 | # |
| 43148 | # It is possible for a table to be non-rectangular, so some rows may have a |
| 43149 | # different number of cells. |
| 43150 | }, |
| 43151 | }, |
| 43152 | ], |
| 43153 | "footnoteId": "A String", # The ID of the footnote. |
| 43154 | }, |
| 43155 | }, |
| 43156 | "positionedObjects": { # The positioned objects in the document, keyed by object ID. |
| 43157 | "a_key": { # An object that is tethered to a Paragraph |
| 43158 | # and positioned relative to the beginning of the paragraph. A PositionedObject |
| 43159 | # contains an EmbeddedObject such as an |
| 43160 | # image. |
| 43161 | "positionedObjectProperties": { # Properties of a PositionedObject. # The properties of this positioned object. |
| 43162 | "positioning": { # The positioning of a PositionedObject. The positioned object is positioned # The positioning of this positioned object relative to the newline of the |
| 43163 | # Paragraph that references this positioned |
| 43164 | # object. |
| 43165 | # relative to the beginning of the Paragraph |
| 43166 | # it is tethered to. |
| 43167 | "leftOffset": { # A magnitude in a single direction in the specified units. # The offset of the left edge of the positioned object relative to the |
| 43168 | # beginning of the Paragraph it is tethered |
| 43169 | # to. The exact positioning of the object can depend on other content in the |
| 43170 | # document and the document's styling. |
| 43171 | "magnitude": 3.14, # The magnitude. |
| 43172 | "unit": "A String", # The units for magnitude. |
| 43173 | }, |
| 43174 | "topOffset": { # A magnitude in a single direction in the specified units. # The offset of the top edge of the positioned object relative to the |
| 43175 | # beginning of the Paragraph it is tethered |
| 43176 | # to. The exact positioning of the object can depend on other content in the |
| 43177 | # document and the document's styling. |
| 43178 | "magnitude": 3.14, # The magnitude. |
| 43179 | "unit": "A String", # The units for magnitude. |
| 43180 | }, |
| 43181 | "layout": "A String", # The layout of this positioned object. |
| 43182 | }, |
| 43183 | "embeddedObject": { # An embedded object in the document. # The embedded object of this positioned object. |
| 43184 | "imageProperties": { # The properties of an image. # The properties of an image. |
| 43185 | "angle": 3.14, # The clockwise rotation angle of the image, in radians. |
| 43186 | "contentUri": "A String", # A URI to the image with a default lifetime of 30 minutes. |
| 43187 | # This URI is tagged with the account of the requester. Anyone with the URI |
| 43188 | # effectively accesses the image as the original requester. Access to the |
| 43189 | # image may be lost if the document's sharing settings change. |
| 43190 | "sourceUri": "A String", # The source URI is the URI used to insert the image. The source URI can be |
| 43191 | # empty. |
| 43192 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 43193 | # [-1.0, 1.0], where 0 means no effect. |
| 43194 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 43195 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 43196 | "cropProperties": { # The crop properties of an image. # The crop properties of the image. |
| 43197 | # |
| 43198 | # The crop rectangle is represented using fractional offsets from the original |
| 43199 | # content's four edges. |
| 43200 | # |
| 43201 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 43202 | # rectangle is positioned inside of the image's original bounding rectangle. |
| 43203 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 43204 | # rectangle is positioned outside of the image's original bounding rectangle. |
| 43205 | # - If all offsets and rotation angle are 0, the image is not cropped. |
| 43206 | "offsetBottom": 3.14, # The offset specifies how far inwards the bottom edge of the crop rectangle |
| 43207 | # is from the bottom edge of the original content as a fraction of the |
| 43208 | # original content's height. |
| 43209 | "angle": 3.14, # The clockwise rotation angle of the crop rectangle around its center, in |
| 43210 | # radians. Rotation is applied after the offsets. |
| 43211 | "offsetLeft": 3.14, # The offset specifies how far inwards the left edge of the crop rectangle is |
| 43212 | # from the left edge of the original content as a fraction of the original |
| 43213 | # content's width. |
| 43214 | "offsetRight": 3.14, # The offset specifies how far inwards the right edge of the crop rectangle |
| 43215 | # is from the right edge of the original content as a fraction of the |
| 43216 | # original content's width. |
| 43217 | "offsetTop": 3.14, # The offset specifies how far inwards the top edge of the crop rectangle is |
| 43218 | # from the top edge of the original content as a fraction of the original |
| 43219 | # content's height. |
| 43220 | }, |
| 43221 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 43222 | # [-1.0, 1.0], where 0 means no effect. |
| 43223 | }, |
| 43224 | "description": "A String", # The description of the embedded object. The `title` and `description` are |
| 43225 | # both combined to display alt text. |
| 43226 | "title": "A String", # The title of the embedded object. The `title` and `description` are both |
| 43227 | # combined to display alt text. |
| 43228 | "embeddedDrawingProperties": { # The properties of an embedded drawing. # The properties of an embedded drawing. |
| 43229 | }, |
| 43230 | "linkedContentReference": { # A reference to the external linked source content. # A reference to the external linked source content. For example, it contains |
| 43231 | # a reference to the source Sheets chart when the embedded object is a linked |
| 43232 | # chart. |
| 43233 | # |
| 43234 | # If unset, then the embedded object is not linked. |
| 43235 | "sheetsChartReference": { # A reference to a linked chart embedded from Google Sheets. # A reference to the linked chart. |
| 43236 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| 43237 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 43238 | # embedded. |
| 43239 | }, |
| 43240 | }, |
| 43241 | "embeddedObjectBorder": { # A border around an EmbeddedObject. # The border of the embedded object. |
| 43242 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 43243 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 43244 | # a transparent color. |
| 43245 | "rgbColor": { # An RGB color. # The RGB color value. |
| 43246 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 43247 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 43248 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 43249 | }, |
| 43250 | }, |
| 43251 | }, |
| 43252 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 43253 | "magnitude": 3.14, # The magnitude. |
| 43254 | "unit": "A String", # The units for magnitude. |
| 43255 | }, |
| 43256 | "dashStyle": "A String", # The dash style of the border. |
| 43257 | "propertyState": "A String", # The property state of the border property. |
| 43258 | }, |
| 43259 | "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom margin of the embedded object. |
| 43260 | "magnitude": 3.14, # The magnitude. |
| 43261 | "unit": "A String", # The units for magnitude. |
| 43262 | }, |
| 43263 | "marginLeft": { # A magnitude in a single direction in the specified units. # The left margin of the embedded object. |
| 43264 | "magnitude": 3.14, # The magnitude. |
| 43265 | "unit": "A String", # The units for magnitude. |
| 43266 | }, |
| 43267 | "marginRight": { # A magnitude in a single direction in the specified units. # The right margin of the embedded object. |
| 43268 | "magnitude": 3.14, # The magnitude. |
| 43269 | "unit": "A String", # The units for magnitude. |
| 43270 | }, |
| 43271 | "marginTop": { # A magnitude in a single direction in the specified units. # The top margin of the embedded object. |
| 43272 | "magnitude": 3.14, # The magnitude. |
| 43273 | "unit": "A String", # The units for magnitude. |
| 43274 | }, |
| 43275 | "size": { # A width and height. # The visible size of the image after cropping. |
| 43276 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 43277 | "magnitude": 3.14, # The magnitude. |
| 43278 | "unit": "A String", # The units for magnitude. |
| 43279 | }, |
| 43280 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 43281 | "magnitude": 3.14, # The magnitude. |
| 43282 | "unit": "A String", # The units for magnitude. |
| 43283 | }, |
| 43284 | }, |
| 43285 | }, |
| 43286 | }, |
| 43287 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 43288 | # of this content. |
| 43289 | "A String", |
| 43290 | ], |
| 43291 | "suggestedPositionedObjectPropertiesChanges": { # The suggested changes to the positioned object properties, keyed by |
| 43292 | # suggestion ID. |
| 43293 | "a_key": { # A suggested change to PositionedObjectProperties. |
| 43294 | "positionedObjectPropertiesSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| 43295 | # PositionedObjectProperties have been changed in this |
| 43296 | # suggestion. |
| 43297 | # PositionedObjectProperties |
| 43298 | # have been changed in this suggestion. For any field set to true, there is a |
| 43299 | # new suggested value. |
| 43300 | "positioningSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in positioning have been |
| 43301 | # changed in this suggestion. |
| 43302 | # PositionedObjectPositioning have been changed in this |
| 43303 | # suggestion. For any field set to true, there is a new suggested value. |
| 43304 | "layoutSuggested": True or False, # Indicates if there was a suggested change to layout. |
| 43305 | "topOffsetSuggested": True or False, # Indicates if there was a suggested change to top_offset. |
| 43306 | "leftOffsetSuggested": True or False, # Indicates if there was a suggested change to left_offset. |
| 43307 | }, |
| 43308 | "embeddedObjectSuggestionState": { # A mask that indicates which of the fields on the base EmbeddedObject have been changed in this suggestion. # A mask that indicates which of the fields in embedded_object have been |
| 43309 | # changed in this suggestion. |
| 43310 | # For any field set to true, there is a new suggested value. |
| 43311 | "linkedContentReferenceSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in linked_content_reference have been |
| 43312 | # changed in this suggestion. |
| 43313 | # LinkedContentReference have |
| 43314 | # been changed in this suggestion. For any field set to true, there is a new |
| 43315 | # suggested value. |
| 43316 | "sheetsChartReferenceSuggestionState": { # A mask that indicates which of the fields on the base SheetsChartReference have been changed in this # A mask that indicates which of the fields in sheets_chart_reference have |
| 43317 | # been changed in this suggestion. |
| 43318 | # suggestion. For any field set to true, there is a new suggested value. |
| 43319 | "spreadsheetIdSuggested": True or False, # Indicates if there was a suggested change to spreadsheet_id. |
| 43320 | "chartIdSuggested": True or False, # Indicates if there was a suggested change to chart_id. |
| 43321 | }, |
| 43322 | }, |
| 43323 | "sizeSuggestionState": { # A mask that indicates which of the fields on the base Size have been changed in this suggestion. # A mask that indicates which of the fields in size have been changed in this |
| 43324 | # suggestion. |
| 43325 | # For any field set to true, the Size has |
| 43326 | # a new suggested value. |
| 43327 | "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| 43328 | "heightSuggested": True or False, # Indicates if there was a suggested change to height. |
| 43329 | }, |
| 43330 | "embeddedDrawingPropertiesSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in embedded_drawing_properties have been |
| 43331 | # changed in this suggestion. |
| 43332 | # EmbeddedDrawingProperties |
| 43333 | # have been changed in this suggestion. For any field set to true, there is a |
| 43334 | # new suggested value. |
| 43335 | }, |
| 43336 | "marginRightSuggested": True or False, # Indicates if there was a suggested change to margin_right. |
| 43337 | "imagePropertiesSuggestionState": { # A mask that indicates which of the fields on the base ImageProperties have been changed in this suggestion. # A mask that indicates which of the fields in image_properties have been changed in |
| 43338 | # this suggestion. |
| 43339 | # For any field set to true, there is a new suggested value. |
| 43340 | "cropPropertiesSuggestionState": { # A mask that indicates which of the fields on the base CropProperties have been changed in this suggestion. # A mask that indicates which of the fields in crop_properties have been changed in |
| 43341 | # this suggestion. |
| 43342 | # For any field set to true, there is a new suggested value. |
| 43343 | "offsetLeftSuggested": True or False, # Indicates if there was a suggested change to offset_left. |
| 43344 | "offsetBottomSuggested": True or False, # Indicates if there was a suggested change to offset_bottom. |
| 43345 | "offsetRightSuggested": True or False, # Indicates if there was a suggested change to offset_right. |
| 43346 | "angleSuggested": True or False, # Indicates if there was a suggested change to angle. |
| 43347 | "offsetTopSuggested": True or False, # Indicates if there was a suggested change to offset_top. |
| 43348 | }, |
| 43349 | "contrastSuggested": True or False, # Indicates if there was a suggested change to contrast. |
| 43350 | "brightnessSuggested": True or False, # Indicates if there was a suggested change to brightness. |
| 43351 | "transparencySuggested": True or False, # Indicates if there was a suggested change to transparency. |
| 43352 | "angleSuggested": True or False, # Indicates if there was a suggested change to angle. |
| 43353 | "sourceUriSuggested": True or False, # Indicates if there was a suggested change to source_uri. |
| 43354 | "contentUriSuggested": True or False, # Indicates if there was a suggested change to |
| 43355 | # content_uri. |
| 43356 | }, |
| 43357 | "descriptionSuggested": True or False, # Indicates if there was a suggested change to description. |
| 43358 | "titleSuggested": True or False, # Indicates if there was a suggested change to title. |
| 43359 | "marginTopSuggested": True or False, # Indicates if there was a suggested change to margin_top. |
| 43360 | "marginLeftSuggested": True or False, # Indicates if there was a suggested change to margin_left. |
| 43361 | "marginBottomSuggested": True or False, # Indicates if there was a suggested change to margin_bottom. |
| 43362 | "embeddedObjectBorderSuggestionState": { # A mask that indicates which of the fields on the base EmbeddedObjectBorder have been changed in this # A mask that indicates which of the fields in embedded_object_border have been |
| 43363 | # changed in this suggestion. |
| 43364 | # suggestion. For any field set to true, there is a new suggested value. |
| 43365 | "colorSuggested": True or False, # Indicates if there was a suggested change to color. |
| 43366 | "dashStyleSuggested": True or False, # Indicates if there was a suggested change to dash_style. |
| 43367 | "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| 43368 | "propertyStateSuggested": True or False, # Indicates if there was a suggested change to property_state. |
| 43369 | }, |
| 43370 | }, |
| 43371 | }, |
| 43372 | "positionedObjectProperties": { # Properties of a PositionedObject. # A PositionedObjectProperties that only includes the |
| 43373 | # changes made in this suggestion. This can be used along with the |
| 43374 | # positioned_object_properties_suggestion_state |
| 43375 | # to see which fields have changed and their new values. |
| 43376 | "positioning": { # The positioning of a PositionedObject. The positioned object is positioned # The positioning of this positioned object relative to the newline of the |
| 43377 | # Paragraph that references this positioned |
| 43378 | # object. |
| 43379 | # relative to the beginning of the Paragraph |
| 43380 | # it is tethered to. |
| 43381 | "leftOffset": { # A magnitude in a single direction in the specified units. # The offset of the left edge of the positioned object relative to the |
| 43382 | # beginning of the Paragraph it is tethered |
| 43383 | # to. The exact positioning of the object can depend on other content in the |
| 43384 | # document and the document's styling. |
| 43385 | "magnitude": 3.14, # The magnitude. |
| 43386 | "unit": "A String", # The units for magnitude. |
| 43387 | }, |
| 43388 | "topOffset": { # A magnitude in a single direction in the specified units. # The offset of the top edge of the positioned object relative to the |
| 43389 | # beginning of the Paragraph it is tethered |
| 43390 | # to. The exact positioning of the object can depend on other content in the |
| 43391 | # document and the document's styling. |
| 43392 | "magnitude": 3.14, # The magnitude. |
| 43393 | "unit": "A String", # The units for magnitude. |
| 43394 | }, |
| 43395 | "layout": "A String", # The layout of this positioned object. |
| 43396 | }, |
| 43397 | "embeddedObject": { # An embedded object in the document. # The embedded object of this positioned object. |
| 43398 | "imageProperties": { # The properties of an image. # The properties of an image. |
| 43399 | "angle": 3.14, # The clockwise rotation angle of the image, in radians. |
| 43400 | "contentUri": "A String", # A URI to the image with a default lifetime of 30 minutes. |
| 43401 | # This URI is tagged with the account of the requester. Anyone with the URI |
| 43402 | # effectively accesses the image as the original requester. Access to the |
| 43403 | # image may be lost if the document's sharing settings change. |
| 43404 | "sourceUri": "A String", # The source URI is the URI used to insert the image. The source URI can be |
| 43405 | # empty. |
| 43406 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 43407 | # [-1.0, 1.0], where 0 means no effect. |
| 43408 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 43409 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 43410 | "cropProperties": { # The crop properties of an image. # The crop properties of the image. |
| 43411 | # |
| 43412 | # The crop rectangle is represented using fractional offsets from the original |
| 43413 | # content's four edges. |
| 43414 | # |
| 43415 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 43416 | # rectangle is positioned inside of the image's original bounding rectangle. |
| 43417 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 43418 | # rectangle is positioned outside of the image's original bounding rectangle. |
| 43419 | # - If all offsets and rotation angle are 0, the image is not cropped. |
| 43420 | "offsetBottom": 3.14, # The offset specifies how far inwards the bottom edge of the crop rectangle |
| 43421 | # is from the bottom edge of the original content as a fraction of the |
| 43422 | # original content's height. |
| 43423 | "angle": 3.14, # The clockwise rotation angle of the crop rectangle around its center, in |
| 43424 | # radians. Rotation is applied after the offsets. |
| 43425 | "offsetLeft": 3.14, # The offset specifies how far inwards the left edge of the crop rectangle is |
| 43426 | # from the left edge of the original content as a fraction of the original |
| 43427 | # content's width. |
| 43428 | "offsetRight": 3.14, # The offset specifies how far inwards the right edge of the crop rectangle |
| 43429 | # is from the right edge of the original content as a fraction of the |
| 43430 | # original content's width. |
| 43431 | "offsetTop": 3.14, # The offset specifies how far inwards the top edge of the crop rectangle is |
| 43432 | # from the top edge of the original content as a fraction of the original |
| 43433 | # content's height. |
| 43434 | }, |
| 43435 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 43436 | # [-1.0, 1.0], where 0 means no effect. |
| 43437 | }, |
| 43438 | "description": "A String", # The description of the embedded object. The `title` and `description` are |
| 43439 | # both combined to display alt text. |
| 43440 | "title": "A String", # The title of the embedded object. The `title` and `description` are both |
| 43441 | # combined to display alt text. |
| 43442 | "embeddedDrawingProperties": { # The properties of an embedded drawing. # The properties of an embedded drawing. |
| 43443 | }, |
| 43444 | "linkedContentReference": { # A reference to the external linked source content. # A reference to the external linked source content. For example, it contains |
| 43445 | # a reference to the source Sheets chart when the embedded object is a linked |
| 43446 | # chart. |
| 43447 | # |
| 43448 | # If unset, then the embedded object is not linked. |
| 43449 | "sheetsChartReference": { # A reference to a linked chart embedded from Google Sheets. # A reference to the linked chart. |
| 43450 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| 43451 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 43452 | # embedded. |
| 43453 | }, |
| 43454 | }, |
| 43455 | "embeddedObjectBorder": { # A border around an EmbeddedObject. # The border of the embedded object. |
| 43456 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 43457 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 43458 | # a transparent color. |
| 43459 | "rgbColor": { # An RGB color. # The RGB color value. |
| 43460 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 43461 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 43462 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 43463 | }, |
| 43464 | }, |
| 43465 | }, |
| 43466 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 43467 | "magnitude": 3.14, # The magnitude. |
| 43468 | "unit": "A String", # The units for magnitude. |
| 43469 | }, |
| 43470 | "dashStyle": "A String", # The dash style of the border. |
| 43471 | "propertyState": "A String", # The property state of the border property. |
| 43472 | }, |
| 43473 | "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom margin of the embedded object. |
| 43474 | "magnitude": 3.14, # The magnitude. |
| 43475 | "unit": "A String", # The units for magnitude. |
| 43476 | }, |
| 43477 | "marginLeft": { # A magnitude in a single direction in the specified units. # The left margin of the embedded object. |
| 43478 | "magnitude": 3.14, # The magnitude. |
| 43479 | "unit": "A String", # The units for magnitude. |
| 43480 | }, |
| 43481 | "marginRight": { # A magnitude in a single direction in the specified units. # The right margin of the embedded object. |
| 43482 | "magnitude": 3.14, # The magnitude. |
| 43483 | "unit": "A String", # The units for magnitude. |
| 43484 | }, |
| 43485 | "marginTop": { # A magnitude in a single direction in the specified units. # The top margin of the embedded object. |
| 43486 | "magnitude": 3.14, # The magnitude. |
| 43487 | "unit": "A String", # The units for magnitude. |
| 43488 | }, |
| 43489 | "size": { # A width and height. # The visible size of the image after cropping. |
| 43490 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 43491 | "magnitude": 3.14, # The magnitude. |
| 43492 | "unit": "A String", # The units for magnitude. |
| 43493 | }, |
| 43494 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 43495 | "magnitude": 3.14, # The magnitude. |
| 43496 | "unit": "A String", # The units for magnitude. |
| 43497 | }, |
| 43498 | }, |
| 43499 | }, |
| 43500 | }, |
| 43501 | }, |
| 43502 | }, |
| 43503 | "objectId": "A String", # The ID of this positioned object. |
| 43504 | "suggestedInsertionId": "A String", # The suggested insertion ID. If empty, then this is not a suggested |
| 43505 | # insertion. |
| 43506 | }, |
| 43507 | }, |
| 43508 | "inlineObjects": { # The inline objects in the document, keyed by object ID. |
| 43509 | "a_key": { # An object that appears inline with text. An InlineObject contains |
| 43510 | # an EmbeddedObject such as an image. |
| 43511 | "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| 43512 | # of this content. |
| 43513 | "A String", |
| 43514 | ], |
| 43515 | "inlineObjectProperties": { # Properties of an InlineObject. # The properties of this inline object. |
| 43516 | "embeddedObject": { # An embedded object in the document. # The embedded object of this inline object. |
| 43517 | "imageProperties": { # The properties of an image. # The properties of an image. |
| 43518 | "angle": 3.14, # The clockwise rotation angle of the image, in radians. |
| 43519 | "contentUri": "A String", # A URI to the image with a default lifetime of 30 minutes. |
| 43520 | # This URI is tagged with the account of the requester. Anyone with the URI |
| 43521 | # effectively accesses the image as the original requester. Access to the |
| 43522 | # image may be lost if the document's sharing settings change. |
| 43523 | "sourceUri": "A String", # The source URI is the URI used to insert the image. The source URI can be |
| 43524 | # empty. |
| 43525 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 43526 | # [-1.0, 1.0], where 0 means no effect. |
| 43527 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 43528 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 43529 | "cropProperties": { # The crop properties of an image. # The crop properties of the image. |
| 43530 | # |
| 43531 | # The crop rectangle is represented using fractional offsets from the original |
| 43532 | # content's four edges. |
| 43533 | # |
| 43534 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 43535 | # rectangle is positioned inside of the image's original bounding rectangle. |
| 43536 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 43537 | # rectangle is positioned outside of the image's original bounding rectangle. |
| 43538 | # - If all offsets and rotation angle are 0, the image is not cropped. |
| 43539 | "offsetBottom": 3.14, # The offset specifies how far inwards the bottom edge of the crop rectangle |
| 43540 | # is from the bottom edge of the original content as a fraction of the |
| 43541 | # original content's height. |
| 43542 | "angle": 3.14, # The clockwise rotation angle of the crop rectangle around its center, in |
| 43543 | # radians. Rotation is applied after the offsets. |
| 43544 | "offsetLeft": 3.14, # The offset specifies how far inwards the left edge of the crop rectangle is |
| 43545 | # from the left edge of the original content as a fraction of the original |
| 43546 | # content's width. |
| 43547 | "offsetRight": 3.14, # The offset specifies how far inwards the right edge of the crop rectangle |
| 43548 | # is from the right edge of the original content as a fraction of the |
| 43549 | # original content's width. |
| 43550 | "offsetTop": 3.14, # The offset specifies how far inwards the top edge of the crop rectangle is |
| 43551 | # from the top edge of the original content as a fraction of the original |
| 43552 | # content's height. |
| 43553 | }, |
| 43554 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 43555 | # [-1.0, 1.0], where 0 means no effect. |
| 43556 | }, |
| 43557 | "description": "A String", # The description of the embedded object. The `title` and `description` are |
| 43558 | # both combined to display alt text. |
| 43559 | "title": "A String", # The title of the embedded object. The `title` and `description` are both |
| 43560 | # combined to display alt text. |
| 43561 | "embeddedDrawingProperties": { # The properties of an embedded drawing. # The properties of an embedded drawing. |
| 43562 | }, |
| 43563 | "linkedContentReference": { # A reference to the external linked source content. # A reference to the external linked source content. For example, it contains |
| 43564 | # a reference to the source Sheets chart when the embedded object is a linked |
| 43565 | # chart. |
| 43566 | # |
| 43567 | # If unset, then the embedded object is not linked. |
| 43568 | "sheetsChartReference": { # A reference to a linked chart embedded from Google Sheets. # A reference to the linked chart. |
| 43569 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| 43570 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 43571 | # embedded. |
| 43572 | }, |
| 43573 | }, |
| 43574 | "embeddedObjectBorder": { # A border around an EmbeddedObject. # The border of the embedded object. |
| 43575 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 43576 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 43577 | # a transparent color. |
| 43578 | "rgbColor": { # An RGB color. # The RGB color value. |
| 43579 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 43580 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 43581 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 43582 | }, |
| 43583 | }, |
| 43584 | }, |
| 43585 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 43586 | "magnitude": 3.14, # The magnitude. |
| 43587 | "unit": "A String", # The units for magnitude. |
| 43588 | }, |
| 43589 | "dashStyle": "A String", # The dash style of the border. |
| 43590 | "propertyState": "A String", # The property state of the border property. |
| 43591 | }, |
| 43592 | "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom margin of the embedded object. |
| 43593 | "magnitude": 3.14, # The magnitude. |
| 43594 | "unit": "A String", # The units for magnitude. |
| 43595 | }, |
| 43596 | "marginLeft": { # A magnitude in a single direction in the specified units. # The left margin of the embedded object. |
| 43597 | "magnitude": 3.14, # The magnitude. |
| 43598 | "unit": "A String", # The units for magnitude. |
| 43599 | }, |
| 43600 | "marginRight": { # A magnitude in a single direction in the specified units. # The right margin of the embedded object. |
| 43601 | "magnitude": 3.14, # The magnitude. |
| 43602 | "unit": "A String", # The units for magnitude. |
| 43603 | }, |
| 43604 | "marginTop": { # A magnitude in a single direction in the specified units. # The top margin of the embedded object. |
| 43605 | "magnitude": 3.14, # The magnitude. |
| 43606 | "unit": "A String", # The units for magnitude. |
| 43607 | }, |
| 43608 | "size": { # A width and height. # The visible size of the image after cropping. |
| 43609 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 43610 | "magnitude": 3.14, # The magnitude. |
| 43611 | "unit": "A String", # The units for magnitude. |
| 43612 | }, |
| 43613 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 43614 | "magnitude": 3.14, # The magnitude. |
| 43615 | "unit": "A String", # The units for magnitude. |
| 43616 | }, |
| 43617 | }, |
| 43618 | }, |
| 43619 | }, |
| 43620 | "suggestedInlineObjectPropertiesChanges": { # The suggested changes to the inline object properties, keyed by suggestion |
| 43621 | # ID. |
| 43622 | "a_key": { # A suggested change to InlineObjectProperties. |
| 43623 | "inlineObjectProperties": { # Properties of an InlineObject. # An InlineObjectProperties |
| 43624 | # that only includes the changes made in this suggestion. This can be used |
| 43625 | # along with the inline_object_properties_suggestion_state |
| 43626 | # to see which fields have changed and their new values. |
| 43627 | "embeddedObject": { # An embedded object in the document. # The embedded object of this inline object. |
| 43628 | "imageProperties": { # The properties of an image. # The properties of an image. |
| 43629 | "angle": 3.14, # The clockwise rotation angle of the image, in radians. |
| 43630 | "contentUri": "A String", # A URI to the image with a default lifetime of 30 minutes. |
| 43631 | # This URI is tagged with the account of the requester. Anyone with the URI |
| 43632 | # effectively accesses the image as the original requester. Access to the |
| 43633 | # image may be lost if the document's sharing settings change. |
| 43634 | "sourceUri": "A String", # The source URI is the URI used to insert the image. The source URI can be |
| 43635 | # empty. |
| 43636 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 43637 | # [-1.0, 1.0], where 0 means no effect. |
| 43638 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 43639 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 43640 | "cropProperties": { # The crop properties of an image. # The crop properties of the image. |
| 43641 | # |
| 43642 | # The crop rectangle is represented using fractional offsets from the original |
| 43643 | # content's four edges. |
| 43644 | # |
| 43645 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 43646 | # rectangle is positioned inside of the image's original bounding rectangle. |
| 43647 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 43648 | # rectangle is positioned outside of the image's original bounding rectangle. |
| 43649 | # - If all offsets and rotation angle are 0, the image is not cropped. |
| 43650 | "offsetBottom": 3.14, # The offset specifies how far inwards the bottom edge of the crop rectangle |
| 43651 | # is from the bottom edge of the original content as a fraction of the |
| 43652 | # original content's height. |
| 43653 | "angle": 3.14, # The clockwise rotation angle of the crop rectangle around its center, in |
| 43654 | # radians. Rotation is applied after the offsets. |
| 43655 | "offsetLeft": 3.14, # The offset specifies how far inwards the left edge of the crop rectangle is |
| 43656 | # from the left edge of the original content as a fraction of the original |
| 43657 | # content's width. |
| 43658 | "offsetRight": 3.14, # The offset specifies how far inwards the right edge of the crop rectangle |
| 43659 | # is from the right edge of the original content as a fraction of the |
| 43660 | # original content's width. |
| 43661 | "offsetTop": 3.14, # The offset specifies how far inwards the top edge of the crop rectangle is |
| 43662 | # from the top edge of the original content as a fraction of the original |
| 43663 | # content's height. |
| 43664 | }, |
| 43665 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 43666 | # [-1.0, 1.0], where 0 means no effect. |
| 43667 | }, |
| 43668 | "description": "A String", # The description of the embedded object. The `title` and `description` are |
| 43669 | # both combined to display alt text. |
| 43670 | "title": "A String", # The title of the embedded object. The `title` and `description` are both |
| 43671 | # combined to display alt text. |
| 43672 | "embeddedDrawingProperties": { # The properties of an embedded drawing. # The properties of an embedded drawing. |
| 43673 | }, |
| 43674 | "linkedContentReference": { # A reference to the external linked source content. # A reference to the external linked source content. For example, it contains |
| 43675 | # a reference to the source Sheets chart when the embedded object is a linked |
| 43676 | # chart. |
| 43677 | # |
| 43678 | # If unset, then the embedded object is not linked. |
| 43679 | "sheetsChartReference": { # A reference to a linked chart embedded from Google Sheets. # A reference to the linked chart. |
| 43680 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| 43681 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 43682 | # embedded. |
| 43683 | }, |
| 43684 | }, |
| 43685 | "embeddedObjectBorder": { # A border around an EmbeddedObject. # The border of the embedded object. |
| 43686 | "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| 43687 | "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| 43688 | # a transparent color. |
| 43689 | "rgbColor": { # An RGB color. # The RGB color value. |
| 43690 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 43691 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 43692 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 43693 | }, |
| 43694 | }, |
| 43695 | }, |
| 43696 | "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| 43697 | "magnitude": 3.14, # The magnitude. |
| 43698 | "unit": "A String", # The units for magnitude. |
| 43699 | }, |
| 43700 | "dashStyle": "A String", # The dash style of the border. |
| 43701 | "propertyState": "A String", # The property state of the border property. |
| 43702 | }, |
| 43703 | "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom margin of the embedded object. |
| 43704 | "magnitude": 3.14, # The magnitude. |
| 43705 | "unit": "A String", # The units for magnitude. |
| 43706 | }, |
| 43707 | "marginLeft": { # A magnitude in a single direction in the specified units. # The left margin of the embedded object. |
| 43708 | "magnitude": 3.14, # The magnitude. |
| 43709 | "unit": "A String", # The units for magnitude. |
| 43710 | }, |
| 43711 | "marginRight": { # A magnitude in a single direction in the specified units. # The right margin of the embedded object. |
| 43712 | "magnitude": 3.14, # The magnitude. |
| 43713 | "unit": "A String", # The units for magnitude. |
| 43714 | }, |
| 43715 | "marginTop": { # A magnitude in a single direction in the specified units. # The top margin of the embedded object. |
| 43716 | "magnitude": 3.14, # The magnitude. |
| 43717 | "unit": "A String", # The units for magnitude. |
| 43718 | }, |
| 43719 | "size": { # A width and height. # The visible size of the image after cropping. |
| 43720 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 43721 | "magnitude": 3.14, # The magnitude. |
| 43722 | "unit": "A String", # The units for magnitude. |
| 43723 | }, |
| 43724 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 43725 | "magnitude": 3.14, # The magnitude. |
| 43726 | "unit": "A String", # The units for magnitude. |
| 43727 | }, |
| 43728 | }, |
| 43729 | }, |
| 43730 | }, |
| 43731 | "inlineObjectPropertiesSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| 43732 | # InlineObjectProperties have |
| 43733 | # been changed in this suggestion. |
| 43734 | # InlineObjectProperties have |
| 43735 | # been changed in this suggestion. For any field set to true, there is a new |
| 43736 | # suggested value. |
| 43737 | "embeddedObjectSuggestionState": { # A mask that indicates which of the fields on the base EmbeddedObject have been changed in this suggestion. # A mask that indicates which of the fields in embedded_object have been |
| 43738 | # changed in this suggestion. |
| 43739 | # For any field set to true, there is a new suggested value. |
| 43740 | "linkedContentReferenceSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in linked_content_reference have been |
| 43741 | # changed in this suggestion. |
| 43742 | # LinkedContentReference have |
| 43743 | # been changed in this suggestion. For any field set to true, there is a new |
| 43744 | # suggested value. |
| 43745 | "sheetsChartReferenceSuggestionState": { # A mask that indicates which of the fields on the base SheetsChartReference have been changed in this # A mask that indicates which of the fields in sheets_chart_reference have |
| 43746 | # been changed in this suggestion. |
| 43747 | # suggestion. For any field set to true, there is a new suggested value. |
| 43748 | "spreadsheetIdSuggested": True or False, # Indicates if there was a suggested change to spreadsheet_id. |
| 43749 | "chartIdSuggested": True or False, # Indicates if there was a suggested change to chart_id. |
| 43750 | }, |
| 43751 | }, |
| 43752 | "sizeSuggestionState": { # A mask that indicates which of the fields on the base Size have been changed in this suggestion. # A mask that indicates which of the fields in size have been changed in this |
| 43753 | # suggestion. |
| 43754 | # For any field set to true, the Size has |
| 43755 | # a new suggested value. |
| 43756 | "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| 43757 | "heightSuggested": True or False, # Indicates if there was a suggested change to height. |
| 43758 | }, |
| 43759 | "embeddedDrawingPropertiesSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in embedded_drawing_properties have been |
| 43760 | # changed in this suggestion. |
| 43761 | # EmbeddedDrawingProperties |
| 43762 | # have been changed in this suggestion. For any field set to true, there is a |
| 43763 | # new suggested value. |
| 43764 | }, |
| 43765 | "marginRightSuggested": True or False, # Indicates if there was a suggested change to margin_right. |
| 43766 | "imagePropertiesSuggestionState": { # A mask that indicates which of the fields on the base ImageProperties have been changed in this suggestion. # A mask that indicates which of the fields in image_properties have been changed in |
| 43767 | # this suggestion. |
| 43768 | # For any field set to true, there is a new suggested value. |
| 43769 | "cropPropertiesSuggestionState": { # A mask that indicates which of the fields on the base CropProperties have been changed in this suggestion. # A mask that indicates which of the fields in crop_properties have been changed in |
| 43770 | # this suggestion. |
| 43771 | # For any field set to true, there is a new suggested value. |
| 43772 | "offsetLeftSuggested": True or False, # Indicates if there was a suggested change to offset_left. |
| 43773 | "offsetBottomSuggested": True or False, # Indicates if there was a suggested change to offset_bottom. |
| 43774 | "offsetRightSuggested": True or False, # Indicates if there was a suggested change to offset_right. |
| 43775 | "angleSuggested": True or False, # Indicates if there was a suggested change to angle. |
| 43776 | "offsetTopSuggested": True or False, # Indicates if there was a suggested change to offset_top. |
| 43777 | }, |
| 43778 | "contrastSuggested": True or False, # Indicates if there was a suggested change to contrast. |
| 43779 | "brightnessSuggested": True or False, # Indicates if there was a suggested change to brightness. |
| 43780 | "transparencySuggested": True or False, # Indicates if there was a suggested change to transparency. |
| 43781 | "angleSuggested": True or False, # Indicates if there was a suggested change to angle. |
| 43782 | "sourceUriSuggested": True or False, # Indicates if there was a suggested change to source_uri. |
| 43783 | "contentUriSuggested": True or False, # Indicates if there was a suggested change to |
| 43784 | # content_uri. |
| 43785 | }, |
| 43786 | "descriptionSuggested": True or False, # Indicates if there was a suggested change to description. |
| 43787 | "titleSuggested": True or False, # Indicates if there was a suggested change to title. |
| 43788 | "marginTopSuggested": True or False, # Indicates if there was a suggested change to margin_top. |
| 43789 | "marginLeftSuggested": True or False, # Indicates if there was a suggested change to margin_left. |
| 43790 | "marginBottomSuggested": True or False, # Indicates if there was a suggested change to margin_bottom. |
| 43791 | "embeddedObjectBorderSuggestionState": { # A mask that indicates which of the fields on the base EmbeddedObjectBorder have been changed in this # A mask that indicates which of the fields in embedded_object_border have been |
| 43792 | # changed in this suggestion. |
| 43793 | # suggestion. For any field set to true, there is a new suggested value. |
| 43794 | "colorSuggested": True or False, # Indicates if there was a suggested change to color. |
| 43795 | "dashStyleSuggested": True or False, # Indicates if there was a suggested change to dash_style. |
| 43796 | "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| 43797 | "propertyStateSuggested": True or False, # Indicates if there was a suggested change to property_state. |
| 43798 | }, |
| 43799 | }, |
| 43800 | }, |
| 43801 | }, |
| 43802 | }, |
| 43803 | "objectId": "A String", # The ID of this inline object. |
| 43804 | "suggestedInsertionId": "A String", # The suggested insertion ID. If empty, then this is not a suggested |
| 43805 | # insertion. |
| 43806 | }, |
| 43807 | }, |
| 43808 | "revisionId": "A String", # The revision ID of the document. Can be used in update requests to specify |
| 43809 | # which revision of a document to apply updates to and how the request should |
| 43810 | # behave if the document has been edited since that revision. Only populated |
| 43811 | # if the user has edit access to the document. |
| 43812 | # |
| 43813 | # The format of the revision ID may change over time, so it should be treated |
| 43814 | # opaquely. A returned revision ID is only guaranteed to be valid for 24 |
| 43815 | # hours after it has been returned and cannot be shared across users. If the |
| 43816 | # revision ID is unchanged between calls, then the document has not changed. |
| 43817 | # Conversely, a changed ID (for the same document and user) usually means the |
| 43818 | # document has been updated; however, a changed ID can also be due to |
| 43819 | # internal factors such as ID format changes. |
| 43820 | "documentId": "A String", # The ID of the document. |
| 43821 | }</pre> |
| 43822 | </div> |
| 43823 | |
| 43824 | </body></html> |