1{ 2 "auth": { 3 "oauth2": { 4 "scopes": { 5 "https://www.googleapis.com/auth/documents": { 6 "description": "See, edit, create, and delete all your Google Docs documents" 7 }, 8 "https://www.googleapis.com/auth/documents.readonly": { 9 "description": "See all your Google Docs documents" 10 }, 11 "https://www.googleapis.com/auth/drive": { 12 "description": "See, edit, create, and delete all of your Google Drive files" 13 }, 14 "https://www.googleapis.com/auth/drive.file": { 15 "description": "See, edit, create, and delete only the specific Google Drive files you use with this app" 16 }, 17 "https://www.googleapis.com/auth/drive.readonly": { 18 "description": "See and download all your Google Drive files" 19 } 20 } 21 } 22 }, 23 "basePath": "", 24 "baseUrl": "https://docs.googleapis.com/", 25 "batchPath": "batch", 26 "canonicalName": "Docs", 27 "description": "Reads and writes Google Docs documents.", 28 "discoveryVersion": "v1", 29 "documentationLink": "https://developers.google.com/docs/", 30 "fullyEncodeReservedExpansion": true, 31 "icons": { 32 "x16": "http://www.google.com/images/icons/product/search-16.gif", 33 "x32": "http://www.google.com/images/icons/product/search-32.gif" 34 }, 35 "id": "docs:v1", 36 "kind": "discovery#restDescription", 37 "mtlsRootUrl": "https://docs.mtls.googleapis.com/", 38 "name": "docs", 39 "ownerDomain": "google.com", 40 "ownerName": "Google", 41 "parameters": { 42 "$.xgafv": { 43 "description": "V1 error format.", 44 "enum": [ 45 "1", 46 "2" 47 ], 48 "enumDescriptions": [ 49 "v1 error format", 50 "v2 error format" 51 ], 52 "location": "query", 53 "type": "string" 54 }, 55 "access_token": { 56 "description": "OAuth access token.", 57 "location": "query", 58 "type": "string" 59 }, 60 "alt": { 61 "default": "json", 62 "description": "Data format for response.", 63 "enum": [ 64 "json", 65 "media", 66 "proto" 67 ], 68 "enumDescriptions": [ 69 "Responses with Content-Type of application/json", 70 "Media download with context-dependent Content-Type", 71 "Responses with Content-Type of application/x-protobuf" 72 ], 73 "location": "query", 74 "type": "string" 75 }, 76 "callback": { 77 "description": "JSONP", 78 "location": "query", 79 "type": "string" 80 }, 81 "fields": { 82 "description": "Selector specifying which fields to include in a partial response.", 83 "location": "query", 84 "type": "string" 85 }, 86 "key": { 87 "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", 88 "location": "query", 89 "type": "string" 90 }, 91 "oauth_token": { 92 "description": "OAuth 2.0 token for the current user.", 93 "location": "query", 94 "type": "string" 95 }, 96 "prettyPrint": { 97 "default": "true", 98 "description": "Returns response with indentations and line breaks.", 99 "location": "query", 100 "type": "boolean" 101 }, 102 "quotaUser": { 103 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", 104 "location": "query", 105 "type": "string" 106 }, 107 "uploadType": { 108 "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", 109 "location": "query", 110 "type": "string" 111 }, 112 "upload_protocol": { 113 "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", 114 "location": "query", 115 "type": "string" 116 } 117 }, 118 "protocol": "rest", 119 "resources": { 120 "documents": { 121 "methods": { 122 "batchUpdate": { 123 "description": "Applies one or more updates to the document. Each request is validated before being applied. If any request is not valid, then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. Other requests do not need to return information; these each return an empty reply. The order of replies matches that of the requests. For example, suppose you call batchUpdate with four updates, and only the third one returns information. The response would have two empty replies, the reply to the third request, and another empty reply, in that order. Because other users may be editing the document, the document might not exactly reflect your changes: your changes may be altered with respect to collaborator changes. If there are no collaborators, the document should reflect your changes. In any case, the updates in your request are guaranteed to be applied together atomically.", 124 "flatPath": "v1/documents/{documentId}:batchUpdate", 125 "httpMethod": "POST", 126 "id": "docs.documents.batchUpdate", 127 "parameterOrder": [ 128 "documentId" 129 ], 130 "parameters": { 131 "documentId": { 132 "description": "The ID of the document to update.", 133 "location": "path", 134 "required": true, 135 "type": "string" 136 } 137 }, 138 "path": "v1/documents/{documentId}:batchUpdate", 139 "request": { 140 "$ref": "BatchUpdateDocumentRequest" 141 }, 142 "response": { 143 "$ref": "BatchUpdateDocumentResponse" 144 }, 145 "scopes": [ 146 "https://www.googleapis.com/auth/documents", 147 "https://www.googleapis.com/auth/drive", 148 "https://www.googleapis.com/auth/drive.file" 149 ] 150 }, 151 "create": { 152 "description": "Creates a blank document using the title given in the request. Other fields in the request, including any provided content, are ignored. Returns the created document.", 153 "flatPath": "v1/documents", 154 "httpMethod": "POST", 155 "id": "docs.documents.create", 156 "parameterOrder": [], 157 "parameters": {}, 158 "path": "v1/documents", 159 "request": { 160 "$ref": "Document" 161 }, 162 "response": { 163 "$ref": "Document" 164 }, 165 "scopes": [ 166 "https://www.googleapis.com/auth/documents", 167 "https://www.googleapis.com/auth/drive", 168 "https://www.googleapis.com/auth/drive.file" 169 ] 170 }, 171 "get": { 172 "description": "Gets the latest version of the specified document.", 173 "flatPath": "v1/documents/{documentId}", 174 "httpMethod": "GET", 175 "id": "docs.documents.get", 176 "parameterOrder": [ 177 "documentId" 178 ], 179 "parameters": { 180 "documentId": { 181 "description": "The ID of the document to retrieve.", 182 "location": "path", 183 "required": true, 184 "type": "string" 185 }, 186 "suggestionsViewMode": { 187 "description": "The suggestions view mode to apply to the document. This allows viewing the document with all suggestions inline, accepted or rejected. If one is not specified, DEFAULT_FOR_CURRENT_ACCESS is used.", 188 "enum": [ 189 "DEFAULT_FOR_CURRENT_ACCESS", 190 "SUGGESTIONS_INLINE", 191 "PREVIEW_SUGGESTIONS_ACCEPTED", 192 "PREVIEW_WITHOUT_SUGGESTIONS" 193 ], 194 "enumDescriptions": [ 195 "The SuggestionsViewMode applied to the returned document depends on the user's current access level. If the user only has view access, PREVIEW_WITHOUT_SUGGESTIONS is applied. Otherwise, SUGGESTIONS_INLINE is applied. This is the default suggestions view mode.", 196 "The returned document has suggestions inline. Suggested changes will be differentiated from base content within the document. Requests to retrieve a document using this mode will return a 403 error if the user does not have permission to view suggested changes.", 197 "The returned document is a preview with all suggested changes accepted. Requests to retrieve a document using this mode will return a 403 error if the user does not have permission to view suggested changes.", 198 "The returned document is a preview with all suggested changes rejected if there are any suggestions in the document." 199 ], 200 "location": "query", 201 "type": "string" 202 } 203 }, 204 "path": "v1/documents/{documentId}", 205 "response": { 206 "$ref": "Document" 207 }, 208 "scopes": [ 209 "https://www.googleapis.com/auth/documents", 210 "https://www.googleapis.com/auth/documents.readonly", 211 "https://www.googleapis.com/auth/drive", 212 "https://www.googleapis.com/auth/drive.file", 213 "https://www.googleapis.com/auth/drive.readonly" 214 ] 215 } 216 } 217 } 218 }, 219 "revision": "20210707", 220 "rootUrl": "https://docs.googleapis.com/", 221 "schemas": { 222 "AutoText": { 223 "description": "A ParagraphElement representing a spot in the text that is dynamically replaced with content that can change over time, like a page number.", 224 "id": "AutoText", 225 "properties": { 226 "suggestedDeletionIds": { 227 "description": "The suggested deletion IDs. If empty, then there are no suggested deletions of this content.", 228 "items": { 229 "type": "string" 230 }, 231 "type": "array" 232 }, 233 "suggestedInsertionIds": { 234 "description": "The suggested insertion IDs. An AutoText may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion.", 235 "items": { 236 "type": "string" 237 }, 238 "type": "array" 239 }, 240 "suggestedTextStyleChanges": { 241 "additionalProperties": { 242 "$ref": "SuggestedTextStyle" 243 }, 244 "description": "The suggested text style changes to this AutoText, keyed by suggestion ID.", 245 "type": "object" 246 }, 247 "textStyle": { 248 "$ref": "TextStyle", 249 "description": "The text style of this AutoText." 250 }, 251 "type": { 252 "description": "The type of this auto text.", 253 "enum": [ 254 "TYPE_UNSPECIFIED", 255 "PAGE_NUMBER", 256 "PAGE_COUNT" 257 ], 258 "enumDescriptions": [ 259 "An unspecified auto text type.", 260 "Type for auto text that represents the current page number.", 261 "Type for auto text that represents the total number of pages in the document." 262 ], 263 "type": "string" 264 } 265 }, 266 "type": "object" 267 }, 268 "Background": { 269 "description": "Represents the background of a document.", 270 "id": "Background", 271 "properties": { 272 "color": { 273 "$ref": "OptionalColor", 274 "description": "The background color." 275 } 276 }, 277 "type": "object" 278 }, 279 "BackgroundSuggestionState": { 280 "description": "A mask that indicates which of the fields on the base Background have been changed in this suggestion. For any field set to true, the Backgound has a new suggested value.", 281 "id": "BackgroundSuggestionState", 282 "properties": { 283 "backgroundColorSuggested": { 284 "description": "Indicates whether the current background color has been modified in this suggestion.", 285 "type": "boolean" 286 } 287 }, 288 "type": "object" 289 }, 290 "BatchUpdateDocumentRequest": { 291 "description": "Request message for BatchUpdateDocument.", 292 "id": "BatchUpdateDocumentRequest", 293 "properties": { 294 "requests": { 295 "description": "A list of updates to apply to the document.", 296 "items": { 297 "$ref": "Request" 298 }, 299 "type": "array" 300 }, 301 "writeControl": { 302 "$ref": "WriteControl", 303 "description": "Provides control over how write requests are executed." 304 } 305 }, 306 "type": "object" 307 }, 308 "BatchUpdateDocumentResponse": { 309 "description": "Response message from a BatchUpdateDocument request.", 310 "id": "BatchUpdateDocumentResponse", 311 "properties": { 312 "documentId": { 313 "description": "The ID of the document to which the updates were applied to.", 314 "type": "string" 315 }, 316 "replies": { 317 "description": "The reply of the updates. This maps 1:1 with the updates, although replies to some requests may be empty.", 318 "items": { 319 "$ref": "Response" 320 }, 321 "type": "array" 322 }, 323 "writeControl": { 324 "$ref": "WriteControl", 325 "description": "The updated write control after applying the request." 326 } 327 }, 328 "type": "object" 329 }, 330 "Body": { 331 "description": "The document body. The body typically contains the full document contents except for headers, footers and footnotes.", 332 "id": "Body", 333 "properties": { 334 "content": { 335 "description": "The contents of the body. The indexes for the body's content begin at zero.", 336 "items": { 337 "$ref": "StructuralElement" 338 }, 339 "type": "array" 340 } 341 }, 342 "type": "object" 343 }, 344 "Bullet": { 345 "description": "Describes the bullet of a paragraph.", 346 "id": "Bullet", 347 "properties": { 348 "listId": { 349 "description": "The ID of the list this paragraph belongs to.", 350 "type": "string" 351 }, 352 "nestingLevel": { 353 "description": "The nesting level of this paragraph in the list.", 354 "format": "int32", 355 "type": "integer" 356 }, 357 "textStyle": { 358 "$ref": "TextStyle", 359 "description": "The paragraph specific text style applied to this bullet." 360 } 361 }, 362 "type": "object" 363 }, 364 "BulletSuggestionState": { 365 "description": "A mask that indicates which of the fields on the base Bullet have been changed in this suggestion. For any field set to true, there is a new suggested value.", 366 "id": "BulletSuggestionState", 367 "properties": { 368 "listIdSuggested": { 369 "description": "Indicates if there was a suggested change to the list_id.", 370 "type": "boolean" 371 }, 372 "nestingLevelSuggested": { 373 "description": "Indicates if there was a suggested change to the nesting_level.", 374 "type": "boolean" 375 }, 376 "textStyleSuggestionState": { 377 "$ref": "TextStyleSuggestionState", 378 "description": "A mask that indicates which of the fields in text style have been changed in this suggestion." 379 } 380 }, 381 "type": "object" 382 }, 383 "Color": { 384 "description": "A solid color.", 385 "id": "Color", 386 "properties": { 387 "rgbColor": { 388 "$ref": "RgbColor", 389 "description": "The RGB color value." 390 } 391 }, 392 "type": "object" 393 }, 394 "ColumnBreak": { 395 "description": "A ParagraphElement representing a column break. A column break makes the subsequent text start at the top of the next column.", 396 "id": "ColumnBreak", 397 "properties": { 398 "suggestedDeletionIds": { 399 "description": "The suggested deletion IDs. If empty, then there are no suggested deletions of this content.", 400 "items": { 401 "type": "string" 402 }, 403 "type": "array" 404 }, 405 "suggestedInsertionIds": { 406 "description": "The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion.", 407 "items": { 408 "type": "string" 409 }, 410 "type": "array" 411 }, 412 "suggestedTextStyleChanges": { 413 "additionalProperties": { 414 "$ref": "SuggestedTextStyle" 415 }, 416 "description": "The suggested text style changes to this ColumnBreak, keyed by suggestion ID.", 417 "type": "object" 418 }, 419 "textStyle": { 420 "$ref": "TextStyle", 421 "description": "The text style of this ColumnBreak. Similar to text content, like text runs and footnote references, the text style of a column break can affect content layout as well as the styling of text inserted adjacent to it." 422 } 423 }, 424 "type": "object" 425 }, 426 "CreateFooterRequest": { 427 "description": "Creates a Footer. The new footer is applied to the SectionStyle at the location of the SectionBreak if specificed, otherwise it is applied to the DocumentStyle. If a footer of the specified type already exists, a 400 bad request error is returned.", 428 "id": "CreateFooterRequest", 429 "properties": { 430 "sectionBreakLocation": { 431 "$ref": "Location", 432 "description": "The location of the SectionBreak immediately preceding the section whose SectionStyle this footer should belong to. If this is unset or refers to the first section break in the document, the footer applies to the document style." 433 }, 434 "type": { 435 "description": "The type of footer to create.", 436 "enum": [ 437 "HEADER_FOOTER_TYPE_UNSPECIFIED", 438 "DEFAULT" 439 ], 440 "enumDescriptions": [ 441 "The header/footer type is unspecified.", 442 "A default header/footer." 443 ], 444 "type": "string" 445 } 446 }, 447 "type": "object" 448 }, 449 "CreateFooterResponse": { 450 "description": "The result of creating a footer.", 451 "id": "CreateFooterResponse", 452 "properties": { 453 "footerId": { 454 "description": "The ID of the created footer.", 455 "type": "string" 456 } 457 }, 458 "type": "object" 459 }, 460 "CreateFootnoteRequest": { 461 "description": "Creates a Footnote segment and inserts a new FootnoteReference to it at the given location. The new Footnote segment will contain a space followed by a newline character.", 462 "id": "CreateFootnoteRequest", 463 "properties": { 464 "endOfSegmentLocation": { 465 "$ref": "EndOfSegmentLocation", 466 "description": "Inserts the footnote reference at the end of the document body. Footnote references cannot be inserted inside a header, footer or footnote. Since footnote references can only be inserted in the body, the segment ID field must be empty." 467 }, 468 "location": { 469 "$ref": "Location", 470 "description": "Inserts the footnote reference at a specific index in the document. The footnote reference must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's start index (i.e. between the table and its preceding paragraph). Footnote references cannot be inserted inside an equation, header, footer or footnote. Since footnote references can only be inserted in the body, the segment ID field must be empty." 471 } 472 }, 473 "type": "object" 474 }, 475 "CreateFootnoteResponse": { 476 "description": "The result of creating a footnote.", 477 "id": "CreateFootnoteResponse", 478 "properties": { 479 "footnoteId": { 480 "description": "The ID of the created footnote.", 481 "type": "string" 482 } 483 }, 484 "type": "object" 485 }, 486 "CreateHeaderRequest": { 487 "description": "Creates a Header. The new header is applied to the SectionStyle at the location of the SectionBreak if specificed, otherwise it is applied to the DocumentStyle. If a header of the specified type already exists, a 400 bad request error is returned.", 488 "id": "CreateHeaderRequest", 489 "properties": { 490 "sectionBreakLocation": { 491 "$ref": "Location", 492 "description": "The location of the SectionBreak which begins the section this header should belong to. If `section_break_location' is unset or if it refers to the first section break in the document body, the header applies to the DocumentStyle" 493 }, 494 "type": { 495 "description": "The type of header to create.", 496 "enum": [ 497 "HEADER_FOOTER_TYPE_UNSPECIFIED", 498 "DEFAULT" 499 ], 500 "enumDescriptions": [ 501 "The header/footer type is unspecified.", 502 "A default header/footer." 503 ], 504 "type": "string" 505 } 506 }, 507 "type": "object" 508 }, 509 "CreateHeaderResponse": { 510 "description": "The result of creating a header.", 511 "id": "CreateHeaderResponse", 512 "properties": { 513 "headerId": { 514 "description": "The ID of the created header.", 515 "type": "string" 516 } 517 }, 518 "type": "object" 519 }, 520 "CreateNamedRangeRequest": { 521 "description": "Creates a NamedRange referencing the given range.", 522 "id": "CreateNamedRangeRequest", 523 "properties": { 524 "name": { 525 "description": "The name of the NamedRange. Names do not need to be unique. Names must be at least 1 character and no more than 256 characters, measured in UTF-16 code units.", 526 "type": "string" 527 }, 528 "range": { 529 "$ref": "Range", 530 "description": "The range to apply the name to." 531 } 532 }, 533 "type": "object" 534 }, 535 "CreateNamedRangeResponse": { 536 "description": "The result of creating a named range.", 537 "id": "CreateNamedRangeResponse", 538 "properties": { 539 "namedRangeId": { 540 "description": "The ID of the created named range.", 541 "type": "string" 542 } 543 }, 544 "type": "object" 545 }, 546 "CreateParagraphBulletsRequest": { 547 "description": "Creates bullets for all of the paragraphs that overlap with the given range. The nesting level of each paragraph will be determined by counting leading tabs in front of each paragraph. To avoid excess space between the bullet and the corresponding paragraph, these leading tabs are removed by this request. This may change the indices of parts of the text. If the paragraph immediately before paragraphs being updated is in a list with a matching preset, the paragraphs being updated are added to that preceding list.", 548 "id": "CreateParagraphBulletsRequest", 549 "properties": { 550 "bulletPreset": { 551 "description": "The kinds of bullet glyphs to be used.", 552 "enum": [ 553 "BULLET_GLYPH_PRESET_UNSPECIFIED", 554 "BULLET_DISC_CIRCLE_SQUARE", 555 "BULLET_DIAMONDX_ARROW3D_SQUARE", 556 "BULLET_CHECKBOX", 557 "BULLET_ARROW_DIAMOND_DISC", 558 "BULLET_STAR_CIRCLE_SQUARE", 559 "BULLET_ARROW3D_CIRCLE_SQUARE", 560 "BULLET_LEFTTRIANGLE_DIAMOND_DISC", 561 "BULLET_DIAMONDX_HOLLOWDIAMOND_SQUARE", 562 "BULLET_DIAMOND_CIRCLE_SQUARE", 563 "NUMBERED_DECIMAL_ALPHA_ROMAN", 564 "NUMBERED_DECIMAL_ALPHA_ROMAN_PARENS", 565 "NUMBERED_DECIMAL_NESTED", 566 "NUMBERED_UPPERALPHA_ALPHA_ROMAN", 567 "NUMBERED_UPPERROMAN_UPPERALPHA_DECIMAL", 568 "NUMBERED_ZERODECIMAL_ALPHA_ROMAN" 569 ], 570 "enumDescriptions": [ 571 "The bullet glyph preset is unspecified.", 572 "A bulleted list with a `DISC`, `CIRCLE` and `SQUARE` bullet glyph for the first 3 list nesting levels.", 573 "A bulleted list with a `DIAMONDX`, `ARROW3D` and `SQUARE` bullet glyph for the first 3 list nesting levels.", 574 "A bulleted list with `CHECKBOX` bullet glyphs for all list nesting levels.", 575 "A bulleted list with a `ARROW`, `DIAMOND` and `DISC` bullet glyph for the first 3 list nesting levels.", 576 "A bulleted list with a `STAR`, `CIRCLE` and `SQUARE` bullet glyph for the first 3 list nesting levels.", 577 "A bulleted list with a `ARROW3D`, `CIRCLE` and `SQUARE` bullet glyph for the first 3 list nesting levels.", 578 "A bulleted list with a `LEFTTRIANGLE`, `DIAMOND` and `DISC` bullet glyph for the first 3 list nesting levels.", 579 "A bulleted list with a `DIAMONDX`, `HOLLOWDIAMOND` and `SQUARE` bullet glyph for the first 3 list nesting levels.", 580 "A bulleted list with a `DIAMOND`, `CIRCLE` and `SQUARE` bullet glyph for the first 3 list nesting levels.", 581 "A numbered list with `DECIMAL`, `ALPHA` and `ROMAN` numeric glyphs for the first 3 list nesting levels, followed by periods.", 582 "A numbered list with `DECIMAL`, `ALPHA` and `ROMAN` numeric glyphs for the first 3 list nesting levels, followed by parenthesis.", 583 "A numbered list with `DECIMAL` numeric glyphs separated by periods, where each nesting level uses the previous nesting level's glyph as a prefix. For example: '1.', '1.1.', '2.', '2.2.'.", 584 "A numbered list with `UPPERALPHA`, `ALPHA` and `ROMAN` numeric glyphs for the first 3 list nesting levels, followed by periods.", 585 "A numbered list with `UPPERROMAN`, `UPPERALPHA` and `DECIMAL` numeric glyphs for the first 3 list nesting levels, followed by periods.", 586 "A numbered list with `ZERODECIMAL`, `ALPHA` and `ROMAN` numeric glyphs for the first 3 list nesting levels, followed by periods." 587 ], 588 "type": "string" 589 }, 590 "range": { 591 "$ref": "Range", 592 "description": "The range to apply the bullet preset to." 593 } 594 }, 595 "type": "object" 596 }, 597 "CropProperties": { 598 "description": "The crop properties of an image. The crop rectangle is represented using fractional offsets from the original content's four edges. - If the offset is in the interval (0, 1), the corresponding edge of crop rectangle is positioned inside of the image's original bounding rectangle. - If the offset is negative or greater than 1, the corresponding edge of crop rectangle is positioned outside of the image's original bounding rectangle. - If all offsets and rotation angle are 0, the image is not cropped.", 599 "id": "CropProperties", 600 "properties": { 601 "angle": { 602 "description": "The clockwise rotation angle of the crop rectangle around its center, in radians. Rotation is applied after the offsets.", 603 "format": "float", 604 "type": "number" 605 }, 606 "offsetBottom": { 607 "description": "The offset specifies how far inwards the bottom edge of the crop rectangle is from the bottom edge of the original content as a fraction of the original content's height.", 608 "format": "float", 609 "type": "number" 610 }, 611 "offsetLeft": { 612 "description": "The offset specifies how far inwards the left edge of the crop rectangle is from the left edge of the original content as a fraction of the original content's width.", 613 "format": "float", 614 "type": "number" 615 }, 616 "offsetRight": { 617 "description": "The offset specifies how far inwards the right edge of the crop rectangle is from the right edge of the original content as a fraction of the original content's width.", 618 "format": "float", 619 "type": "number" 620 }, 621 "offsetTop": { 622 "description": "The offset specifies how far inwards the top edge of the crop rectangle is from the top edge of the original content as a fraction of the original content's height.", 623 "format": "float", 624 "type": "number" 625 } 626 }, 627 "type": "object" 628 }, 629 "CropPropertiesSuggestionState": { 630 "description": "A mask that indicates which of the fields on the base CropProperties have been changed in this suggestion. For any field set to true, there is a new suggested value.", 631 "id": "CropPropertiesSuggestionState", 632 "properties": { 633 "angleSuggested": { 634 "description": "Indicates if there was a suggested change to angle.", 635 "type": "boolean" 636 }, 637 "offsetBottomSuggested": { 638 "description": "Indicates if there was a suggested change to offset_bottom.", 639 "type": "boolean" 640 }, 641 "offsetLeftSuggested": { 642 "description": "Indicates if there was a suggested change to offset_left.", 643 "type": "boolean" 644 }, 645 "offsetRightSuggested": { 646 "description": "Indicates if there was a suggested change to offset_right.", 647 "type": "boolean" 648 }, 649 "offsetTopSuggested": { 650 "description": "Indicates if there was a suggested change to offset_top.", 651 "type": "boolean" 652 } 653 }, 654 "type": "object" 655 }, 656 "DeleteContentRangeRequest": { 657 "description": "Deletes content from the document.", 658 "id": "DeleteContentRangeRequest", 659 "properties": { 660 "range": { 661 "$ref": "Range", 662 "description": "The range of content to delete. Deleting text that crosses a paragraph boundary may result in changes to paragraph styles, lists, positioned objects and bookmarks as the two paragraphs are merged. Attempting to delete certain ranges can result in an invalid document structure in which case a 400 bad request error is returned. Some examples of invalid delete requests include: * Deleting one code unit of a surrogate pair. * Deleting the last newline character of a Body, Header, Footer, Footnote, TableCell or TableOfContents. * Deleting the start or end of a Table, TableOfContents or Equation without deleting the entire element. * Deleting the newline character before a Table, TableOfContents or SectionBreak without deleting the element. * Deleting individual rows or cells of a table. Deleting the content within a table cell is allowed." 663 } 664 }, 665 "type": "object" 666 }, 667 "DeleteFooterRequest": { 668 "description": "Deletes a Footer from the document.", 669 "id": "DeleteFooterRequest", 670 "properties": { 671 "footerId": { 672 "description": "The id of the footer to delete. If this footer is defined on DocumentStyle, the reference to this footer is removed, resulting in no footer of that type for the first section of the document. If this footer is defined on a SectionStyle, the reference to this footer is removed and the footer of that type is now continued from the previous section.", 673 "type": "string" 674 } 675 }, 676 "type": "object" 677 }, 678 "DeleteHeaderRequest": { 679 "description": "Deletes a Header from the document.", 680 "id": "DeleteHeaderRequest", 681 "properties": { 682 "headerId": { 683 "description": "The id of the header to delete. If this header is defined on DocumentStyle, the reference to this header is removed, resulting in no header of that type for the first section of the document. If this header is defined on a SectionStyle, the reference to this header is removed and the header of that type is now continued from the previous section.", 684 "type": "string" 685 } 686 }, 687 "type": "object" 688 }, 689 "DeleteNamedRangeRequest": { 690 "description": "Deletes a NamedRange.", 691 "id": "DeleteNamedRangeRequest", 692 "properties": { 693 "name": { 694 "description": "The name of the range(s) to delete. All named ranges with the given name will be deleted.", 695 "type": "string" 696 }, 697 "namedRangeId": { 698 "description": "The ID of the named range to delete.", 699 "type": "string" 700 } 701 }, 702 "type": "object" 703 }, 704 "DeleteParagraphBulletsRequest": { 705 "description": "Deletes bullets from all of the paragraphs that overlap with the given range. The nesting level of each paragraph will be visually preserved by adding indent to the start of the corresponding paragraph.", 706 "id": "DeleteParagraphBulletsRequest", 707 "properties": { 708 "range": { 709 "$ref": "Range", 710 "description": "The range to delete bullets from." 711 } 712 }, 713 "type": "object" 714 }, 715 "DeletePositionedObjectRequest": { 716 "description": "Deletes a PositionedObject from the document.", 717 "id": "DeletePositionedObjectRequest", 718 "properties": { 719 "objectId": { 720 "description": "The ID of the positioned object to delete.", 721 "type": "string" 722 } 723 }, 724 "type": "object" 725 }, 726 "DeleteTableColumnRequest": { 727 "description": "Deletes a column from a table.", 728 "id": "DeleteTableColumnRequest", 729 "properties": { 730 "tableCellLocation": { 731 "$ref": "TableCellLocation", 732 "description": "The reference table cell location from which the column will be deleted. The column this cell spans will be deleted. If this is a merged cell that spans multiple columns, all columns that the cell spans will be deleted. If no columns remain in the table after this deletion, the whole table is deleted." 733 } 734 }, 735 "type": "object" 736 }, 737 "DeleteTableRowRequest": { 738 "description": "Deletes a row from a table.", 739 "id": "DeleteTableRowRequest", 740 "properties": { 741 "tableCellLocation": { 742 "$ref": "TableCellLocation", 743 "description": "The reference table cell location from which the row will be deleted. The row this cell spans will be deleted. If this is a merged cell that spans multiple rows, all rows that the cell spans will be deleted. If no rows remain in the table after this deletion, the whole table is deleted." 744 } 745 }, 746 "type": "object" 747 }, 748 "Dimension": { 749 "description": "A magnitude in a single direction in the specified units.", 750 "id": "Dimension", 751 "properties": { 752 "magnitude": { 753 "description": "The magnitude.", 754 "format": "double", 755 "type": "number" 756 }, 757 "unit": { 758 "description": "The units for magnitude.", 759 "enum": [ 760 "UNIT_UNSPECIFIED", 761 "PT" 762 ], 763 "enumDescriptions": [ 764 "The units are unknown.", 765 "A point, 1/72 of an inch." 766 ], 767 "type": "string" 768 } 769 }, 770 "type": "object" 771 }, 772 "Document": { 773 "description": "A Google Docs document.", 774 "id": "Document", 775 "properties": { 776 "body": { 777 "$ref": "Body", 778 "description": "Output only. The main body of the document." 779 }, 780 "documentId": { 781 "description": "Output only. The ID of the document.", 782 "type": "string" 783 }, 784 "documentStyle": { 785 "$ref": "DocumentStyle", 786 "description": "Output only. The style of the document." 787 }, 788 "footers": { 789 "additionalProperties": { 790 "$ref": "Footer" 791 }, 792 "description": "Output only. The footers in the document, keyed by footer ID.", 793 "type": "object" 794 }, 795 "footnotes": { 796 "additionalProperties": { 797 "$ref": "Footnote" 798 }, 799 "description": "Output only. The footnotes in the document, keyed by footnote ID.", 800 "type": "object" 801 }, 802 "headers": { 803 "additionalProperties": { 804 "$ref": "Header" 805 }, 806 "description": "Output only. The headers in the document, keyed by header ID.", 807 "type": "object" 808 }, 809 "inlineObjects": { 810 "additionalProperties": { 811 "$ref": "InlineObject" 812 }, 813 "description": "Output only. The inline objects in the document, keyed by object ID.", 814 "type": "object" 815 }, 816 "lists": { 817 "additionalProperties": { 818 "$ref": "List" 819 }, 820 "description": "Output only. The lists in the document, keyed by list ID.", 821 "type": "object" 822 }, 823 "namedRanges": { 824 "additionalProperties": { 825 "$ref": "NamedRanges" 826 }, 827 "description": "Output only. The named ranges in the document, keyed by name.", 828 "type": "object" 829 }, 830 "namedStyles": { 831 "$ref": "NamedStyles", 832 "description": "Output only. The named styles of the document." 833 }, 834 "positionedObjects": { 835 "additionalProperties": { 836 "$ref": "PositionedObject" 837 }, 838 "description": "Output only. The positioned objects in the document, keyed by object ID.", 839 "type": "object" 840 }, 841 "revisionId": { 842 "description": "Output only. The revision ID of the document. Can be used in update requests to specify which revision of a document to apply updates to and how the request should behave if the document has been edited since that revision. Only populated if the user has edit access to the document. The format of the revision ID may change over time, so it should be treated opaquely. A returned revision ID is only guaranteed to be valid for 24 hours after it has been returned and cannot be shared across users. If the revision ID is unchanged between calls, then the document has not changed. Conversely, a changed ID (for the same document and user) usually means the document has been updated; however, a changed ID can also be due to internal factors such as ID format changes.", 843 "type": "string" 844 }, 845 "suggestedDocumentStyleChanges": { 846 "additionalProperties": { 847 "$ref": "SuggestedDocumentStyle" 848 }, 849 "description": "Output only. The suggested changes to the style of the document, keyed by suggestion ID.", 850 "type": "object" 851 }, 852 "suggestedNamedStylesChanges": { 853 "additionalProperties": { 854 "$ref": "SuggestedNamedStyles" 855 }, 856 "description": "Output only. The suggested changes to the named styles of the document, keyed by suggestion ID.", 857 "type": "object" 858 }, 859 "suggestionsViewMode": { 860 "description": "Output only. The suggestions view mode applied to the document. Note: When editing a document, changes must be based on a document with SUGGESTIONS_INLINE.", 861 "enum": [ 862 "DEFAULT_FOR_CURRENT_ACCESS", 863 "SUGGESTIONS_INLINE", 864 "PREVIEW_SUGGESTIONS_ACCEPTED", 865 "PREVIEW_WITHOUT_SUGGESTIONS" 866 ], 867 "enumDescriptions": [ 868 "The SuggestionsViewMode applied to the returned document depends on the user's current access level. If the user only has view access, PREVIEW_WITHOUT_SUGGESTIONS is applied. Otherwise, SUGGESTIONS_INLINE is applied. This is the default suggestions view mode.", 869 "The returned document has suggestions inline. Suggested changes will be differentiated from base content within the document. Requests to retrieve a document using this mode will return a 403 error if the user does not have permission to view suggested changes.", 870 "The returned document is a preview with all suggested changes accepted. Requests to retrieve a document using this mode will return a 403 error if the user does not have permission to view suggested changes.", 871 "The returned document is a preview with all suggested changes rejected if there are any suggestions in the document." 872 ], 873 "type": "string" 874 }, 875 "title": { 876 "description": "The title of the document.", 877 "type": "string" 878 } 879 }, 880 "type": "object" 881 }, 882 "DocumentStyle": { 883 "description": "The style of the document.", 884 "id": "DocumentStyle", 885 "properties": { 886 "background": { 887 "$ref": "Background", 888 "description": "The background of the document. Documents cannot have a transparent background color." 889 }, 890 "defaultFooterId": { 891 "description": "The ID of the default footer. If not set, there is no default footer. This property is read-only.", 892 "type": "string" 893 }, 894 "defaultHeaderId": { 895 "description": "The ID of the default header. If not set, there is no default header. This property is read-only.", 896 "type": "string" 897 }, 898 "evenPageFooterId": { 899 "description": "The ID of the footer used only for even pages. The value of use_even_page_header_footer determines whether to use the default_footer_id or this value for the footer on even pages. If not set, there is no even page footer. This property is read-only.", 900 "type": "string" 901 }, 902 "evenPageHeaderId": { 903 "description": "The ID of the header used only for even pages. The value of use_even_page_header_footer determines whether to use the default_header_id or this value for the header on even pages. If not set, there is no even page header. This property is read-only.", 904 "type": "string" 905 }, 906 "firstPageFooterId": { 907 "description": "The ID of the footer used only for the first page. If not set then a unique footer for the first page does not exist. The value of use_first_page_header_footer determines whether to use the default_footer_id or this value for the footer on the first page. If not set, there is no first page footer. This property is read-only.", 908 "type": "string" 909 }, 910 "firstPageHeaderId": { 911 "description": "The ID of the header used only for the first page. If not set then a unique header for the first page does not exist. The value of use_first_page_header_footer determines whether to use the default_header_id or this value for the header on the first page. If not set, there is no first page header. This property is read-only.", 912 "type": "string" 913 }, 914 "marginBottom": { 915 "$ref": "Dimension", 916 "description": "The bottom page margin. Updating the bottom page margin on the document style clears the bottom page margin on all section styles." 917 }, 918 "marginFooter": { 919 "$ref": "Dimension", 920 "description": "The amount of space between the bottom of the page and the contents of the footer." 921 }, 922 "marginHeader": { 923 "$ref": "Dimension", 924 "description": "The amount of space between the top of the page and the contents of the header." 925 }, 926 "marginLeft": { 927 "$ref": "Dimension", 928 "description": "The left page margin. Updating the left page margin on the document style clears the left page margin on all section styles. It may also cause columns to resize in all sections." 929 }, 930 "marginRight": { 931 "$ref": "Dimension", 932 "description": "The right page margin. Updating the right page margin on the document style clears the right page margin on all section styles. It may also cause columns to resize in all sections." 933 }, 934 "marginTop": { 935 "$ref": "Dimension", 936 "description": "The top page margin. Updating the top page margin on the document style clears the top page margin on all section styles." 937 }, 938 "pageNumberStart": { 939 "description": "The page number from which to start counting the number of pages.", 940 "format": "int32", 941 "type": "integer" 942 }, 943 "pageSize": { 944 "$ref": "Size", 945 "description": "The size of a page in the document." 946 }, 947 "useCustomHeaderFooterMargins": { 948 "description": "Indicates whether DocumentStyle margin_header, SectionStyle margin_header and DocumentStyle margin_footer, SectionStyle margin_footer are respected. When false, the default values in the Docs editor for header and footer margin are used. This property is read-only.", 949 "type": "boolean" 950 }, 951 "useEvenPageHeaderFooter": { 952 "description": "Indicates whether to use the even page header / footer IDs for the even pages.", 953 "type": "boolean" 954 }, 955 "useFirstPageHeaderFooter": { 956 "description": "Indicates whether to use the first page header / footer IDs for the first page.", 957 "type": "boolean" 958 } 959 }, 960 "type": "object" 961 }, 962 "DocumentStyleSuggestionState": { 963 "description": "A mask that indicates which of the fields on the base DocumentStyle have been changed in this suggestion. For any field set to true, there is a new suggested value.", 964 "id": "DocumentStyleSuggestionState", 965 "properties": { 966 "backgroundSuggestionState": { 967 "$ref": "BackgroundSuggestionState", 968 "description": "A mask that indicates which of the fields in background have been changed in this suggestion." 969 }, 970 "defaultFooterIdSuggested": { 971 "description": "Indicates if there was a suggested change to default_footer_id.", 972 "type": "boolean" 973 }, 974 "defaultHeaderIdSuggested": { 975 "description": "Indicates if there was a suggested change to default_header_id.", 976 "type": "boolean" 977 }, 978 "evenPageFooterIdSuggested": { 979 "description": "Indicates if there was a suggested change to even_page_footer_id.", 980 "type": "boolean" 981 }, 982 "evenPageHeaderIdSuggested": { 983 "description": "Indicates if there was a suggested change to even_page_header_id.", 984 "type": "boolean" 985 }, 986 "firstPageFooterIdSuggested": { 987 "description": "Indicates if there was a suggested change to first_page_footer_id.", 988 "type": "boolean" 989 }, 990 "firstPageHeaderIdSuggested": { 991 "description": "Indicates if there was a suggested change to first_page_header_id.", 992 "type": "boolean" 993 }, 994 "marginBottomSuggested": { 995 "description": "Indicates if there was a suggested change to margin_bottom.", 996 "type": "boolean" 997 }, 998 "marginFooterSuggested": { 999 "description": "Indicates if there was a suggested change to margin_footer.", 1000 "type": "boolean" 1001 }, 1002 "marginHeaderSuggested": { 1003 "description": "Indicates if there was a suggested change to margin_header.", 1004 "type": "boolean" 1005 }, 1006 "marginLeftSuggested": { 1007 "description": "Indicates if there was a suggested change to margin_left.", 1008 "type": "boolean" 1009 }, 1010 "marginRightSuggested": { 1011 "description": "Indicates if there was a suggested change to margin_right.", 1012 "type": "boolean" 1013 }, 1014 "marginTopSuggested": { 1015 "description": "Indicates if there was a suggested change to margin_top.", 1016 "type": "boolean" 1017 }, 1018 "pageNumberStartSuggested": { 1019 "description": "Indicates if there was a suggested change to page_number_start.", 1020 "type": "boolean" 1021 }, 1022 "pageSizeSuggestionState": { 1023 "$ref": "SizeSuggestionState", 1024 "description": "A mask that indicates which of the fields in size have been changed in this suggestion." 1025 }, 1026 "useCustomHeaderFooterMarginsSuggested": { 1027 "description": "Indicates if there was a suggested change to use_custom_header_footer_margins.", 1028 "type": "boolean" 1029 }, 1030 "useEvenPageHeaderFooterSuggested": { 1031 "description": "Indicates if there was a suggested change to use_even_page_header_footer.", 1032 "type": "boolean" 1033 }, 1034 "useFirstPageHeaderFooterSuggested": { 1035 "description": "Indicates if there was a suggested change to use_first_page_header_footer.", 1036 "type": "boolean" 1037 } 1038 }, 1039 "type": "object" 1040 }, 1041 "EmbeddedDrawingProperties": { 1042 "description": "The properties of an embedded drawing.", 1043 "id": "EmbeddedDrawingProperties", 1044 "properties": {}, 1045 "type": "object" 1046 }, 1047 "EmbeddedDrawingPropertiesSuggestionState": { 1048 "description": "A mask that indicates which of the fields on the base EmbeddedDrawingProperties have been changed in this suggestion. For any field set to true, there is a new suggested value.", 1049 "id": "EmbeddedDrawingPropertiesSuggestionState", 1050 "properties": {}, 1051 "type": "object" 1052 }, 1053 "EmbeddedObject": { 1054 "description": "An embedded object in the document.", 1055 "id": "EmbeddedObject", 1056 "properties": { 1057 "description": { 1058 "description": "The description of the embedded object. The `title` and `description` are both combined to display alt text.", 1059 "type": "string" 1060 }, 1061 "embeddedDrawingProperties": { 1062 "$ref": "EmbeddedDrawingProperties", 1063 "description": "The properties of an embedded drawing." 1064 }, 1065 "embeddedObjectBorder": { 1066 "$ref": "EmbeddedObjectBorder", 1067 "description": "The border of the embedded object." 1068 }, 1069 "imageProperties": { 1070 "$ref": "ImageProperties", 1071 "description": "The properties of an image." 1072 }, 1073 "linkedContentReference": { 1074 "$ref": "LinkedContentReference", 1075 "description": "A reference to the external linked source content. For example, it contains a reference to the source Sheets chart when the embedded object is a linked chart. If unset, then the embedded object is not linked." 1076 }, 1077 "marginBottom": { 1078 "$ref": "Dimension", 1079 "description": "The bottom margin of the embedded object." 1080 }, 1081 "marginLeft": { 1082 "$ref": "Dimension", 1083 "description": "The left margin of the embedded object." 1084 }, 1085 "marginRight": { 1086 "$ref": "Dimension", 1087 "description": "The right margin of the embedded object." 1088 }, 1089 "marginTop": { 1090 "$ref": "Dimension", 1091 "description": "The top margin of the embedded object." 1092 }, 1093 "size": { 1094 "$ref": "Size", 1095 "description": "The visible size of the image after cropping." 1096 }, 1097 "title": { 1098 "description": "The title of the embedded object. The `title` and `description` are both combined to display alt text.", 1099 "type": "string" 1100 } 1101 }, 1102 "type": "object" 1103 }, 1104 "EmbeddedObjectBorder": { 1105 "description": "A border around an EmbeddedObject.", 1106 "id": "EmbeddedObjectBorder", 1107 "properties": { 1108 "color": { 1109 "$ref": "OptionalColor", 1110 "description": "The color of the border." 1111 }, 1112 "dashStyle": { 1113 "description": "The dash style of the border.", 1114 "enum": [ 1115 "DASH_STYLE_UNSPECIFIED", 1116 "SOLID", 1117 "DOT", 1118 "DASH" 1119 ], 1120 "enumDescriptions": [ 1121 "Unspecified dash style.", 1122 "Solid line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'solid'. This is the default dash style.", 1123 "Dotted line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'dot'.", 1124 "Dashed line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'dash'." 1125 ], 1126 "type": "string" 1127 }, 1128 "propertyState": { 1129 "description": "The property state of the border property.", 1130 "enum": [ 1131 "RENDERED", 1132 "NOT_RENDERED" 1133 ], 1134 "enumDescriptions": [ 1135 "If a property's state is RENDERED, then the element has the corresponding property when rendered in the document. This is the default value.", 1136 "If a property's state is NOT_RENDERED, then the element does not have the corresponding property when rendered in the document." 1137 ], 1138 "type": "string" 1139 }, 1140 "width": { 1141 "$ref": "Dimension", 1142 "description": "The width of the border." 1143 } 1144 }, 1145 "type": "object" 1146 }, 1147 "EmbeddedObjectBorderSuggestionState": { 1148 "description": "A mask that indicates which of the fields on the base EmbeddedObjectBorder have been changed in this suggestion. For any field set to true, there is a new suggested value.", 1149 "id": "EmbeddedObjectBorderSuggestionState", 1150 "properties": { 1151 "colorSuggested": { 1152 "description": "Indicates if there was a suggested change to color.", 1153 "type": "boolean" 1154 }, 1155 "dashStyleSuggested": { 1156 "description": "Indicates if there was a suggested change to dash_style.", 1157 "type": "boolean" 1158 }, 1159 "propertyStateSuggested": { 1160 "description": "Indicates if there was a suggested change to property_state.", 1161 "type": "boolean" 1162 }, 1163 "widthSuggested": { 1164 "description": "Indicates if there was a suggested change to width.", 1165 "type": "boolean" 1166 } 1167 }, 1168 "type": "object" 1169 }, 1170 "EmbeddedObjectSuggestionState": { 1171 "description": "A mask that indicates which of the fields on the base EmbeddedObject have been changed in this suggestion. For any field set to true, there is a new suggested value.", 1172 "id": "EmbeddedObjectSuggestionState", 1173 "properties": { 1174 "descriptionSuggested": { 1175 "description": "Indicates if there was a suggested change to description.", 1176 "type": "boolean" 1177 }, 1178 "embeddedDrawingPropertiesSuggestionState": { 1179 "$ref": "EmbeddedDrawingPropertiesSuggestionState", 1180 "description": "A mask that indicates which of the fields in embedded_drawing_properties have been changed in this suggestion." 1181 }, 1182 "embeddedObjectBorderSuggestionState": { 1183 "$ref": "EmbeddedObjectBorderSuggestionState", 1184 "description": "A mask that indicates which of the fields in embedded_object_border have been changed in this suggestion." 1185 }, 1186 "imagePropertiesSuggestionState": { 1187 "$ref": "ImagePropertiesSuggestionState", 1188 "description": "A mask that indicates which of the fields in image_properties have been changed in this suggestion." 1189 }, 1190 "linkedContentReferenceSuggestionState": { 1191 "$ref": "LinkedContentReferenceSuggestionState", 1192 "description": "A mask that indicates which of the fields in linked_content_reference have been changed in this suggestion." 1193 }, 1194 "marginBottomSuggested": { 1195 "description": "Indicates if there was a suggested change to margin_bottom.", 1196 "type": "boolean" 1197 }, 1198 "marginLeftSuggested": { 1199 "description": "Indicates if there was a suggested change to margin_left.", 1200 "type": "boolean" 1201 }, 1202 "marginRightSuggested": { 1203 "description": "Indicates if there was a suggested change to margin_right.", 1204 "type": "boolean" 1205 }, 1206 "marginTopSuggested": { 1207 "description": "Indicates if there was a suggested change to margin_top.", 1208 "type": "boolean" 1209 }, 1210 "sizeSuggestionState": { 1211 "$ref": "SizeSuggestionState", 1212 "description": "A mask that indicates which of the fields in size have been changed in this suggestion." 1213 }, 1214 "titleSuggested": { 1215 "description": "Indicates if there was a suggested change to title.", 1216 "type": "boolean" 1217 } 1218 }, 1219 "type": "object" 1220 }, 1221 "EndOfSegmentLocation": { 1222 "description": "Location at the end of a body, header, footer or footnote. The location is immediately before the last newline in the document segment.", 1223 "id": "EndOfSegmentLocation", 1224 "properties": { 1225 "segmentId": { 1226 "description": "The ID of the header, footer or footnote the location is in. An empty segment ID signifies the document's body.", 1227 "type": "string" 1228 } 1229 }, 1230 "type": "object" 1231 }, 1232 "Equation": { 1233 "description": "A ParagraphElement representing an equation.", 1234 "id": "Equation", 1235 "properties": { 1236 "suggestedDeletionIds": { 1237 "description": "The suggested deletion IDs. If empty, then there are no suggested deletions of this content.", 1238 "items": { 1239 "type": "string" 1240 }, 1241 "type": "array" 1242 }, 1243 "suggestedInsertionIds": { 1244 "description": "The suggested insertion IDs. A Equation may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion.", 1245 "items": { 1246 "type": "string" 1247 }, 1248 "type": "array" 1249 } 1250 }, 1251 "type": "object" 1252 }, 1253 "Footer": { 1254 "description": "A document footer.", 1255 "id": "Footer", 1256 "properties": { 1257 "content": { 1258 "description": "The contents of the footer. The indexes for a footer's content begin at zero.", 1259 "items": { 1260 "$ref": "StructuralElement" 1261 }, 1262 "type": "array" 1263 }, 1264 "footerId": { 1265 "description": "The ID of the footer.", 1266 "type": "string" 1267 } 1268 }, 1269 "type": "object" 1270 }, 1271 "Footnote": { 1272 "description": "A document footnote.", 1273 "id": "Footnote", 1274 "properties": { 1275 "content": { 1276 "description": "The contents of the footnote. The indexes for a footnote's content begin at zero.", 1277 "items": { 1278 "$ref": "StructuralElement" 1279 }, 1280 "type": "array" 1281 }, 1282 "footnoteId": { 1283 "description": "The ID of the footnote.", 1284 "type": "string" 1285 } 1286 }, 1287 "type": "object" 1288 }, 1289 "FootnoteReference": { 1290 "description": "A ParagraphElement representing a footnote reference. A footnote reference is the inline content rendered with a number and is used to identify the footnote.", 1291 "id": "FootnoteReference", 1292 "properties": { 1293 "footnoteId": { 1294 "description": "The ID of the footnote that contains the content of this footnote reference.", 1295 "type": "string" 1296 }, 1297 "footnoteNumber": { 1298 "description": "The rendered number of this footnote.", 1299 "type": "string" 1300 }, 1301 "suggestedDeletionIds": { 1302 "description": "The suggested deletion IDs. If empty, then there are no suggested deletions of this content.", 1303 "items": { 1304 "type": "string" 1305 }, 1306 "type": "array" 1307 }, 1308 "suggestedInsertionIds": { 1309 "description": "The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion.", 1310 "items": { 1311 "type": "string" 1312 }, 1313 "type": "array" 1314 }, 1315 "suggestedTextStyleChanges": { 1316 "additionalProperties": { 1317 "$ref": "SuggestedTextStyle" 1318 }, 1319 "description": "The suggested text style changes to this FootnoteReference, keyed by suggestion ID.", 1320 "type": "object" 1321 }, 1322 "textStyle": { 1323 "$ref": "TextStyle", 1324 "description": "The text style of this FootnoteReference." 1325 } 1326 }, 1327 "type": "object" 1328 }, 1329 "Header": { 1330 "description": "A document header.", 1331 "id": "Header", 1332 "properties": { 1333 "content": { 1334 "description": "The contents of the header. The indexes for a header's content begin at zero.", 1335 "items": { 1336 "$ref": "StructuralElement" 1337 }, 1338 "type": "array" 1339 }, 1340 "headerId": { 1341 "description": "The ID of the header.", 1342 "type": "string" 1343 } 1344 }, 1345 "type": "object" 1346 }, 1347 "HorizontalRule": { 1348 "description": "A ParagraphElement representing a horizontal line.", 1349 "id": "HorizontalRule", 1350 "properties": { 1351 "suggestedDeletionIds": { 1352 "description": "The suggested deletion IDs. If empty, then there are no suggested deletions of this content.", 1353 "items": { 1354 "type": "string" 1355 }, 1356 "type": "array" 1357 }, 1358 "suggestedInsertionIds": { 1359 "description": "The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion.", 1360 "items": { 1361 "type": "string" 1362 }, 1363 "type": "array" 1364 }, 1365 "suggestedTextStyleChanges": { 1366 "additionalProperties": { 1367 "$ref": "SuggestedTextStyle" 1368 }, 1369 "description": "The suggested text style changes to this HorizontalRule, keyed by suggestion ID.", 1370 "type": "object" 1371 }, 1372 "textStyle": { 1373 "$ref": "TextStyle", 1374 "description": "The text style of this HorizontalRule. Similar to text content, like text runs and footnote references, the text style of a horizontal rule can affect content layout as well as the styling of text inserted adjacent to it." 1375 } 1376 }, 1377 "type": "object" 1378 }, 1379 "ImageProperties": { 1380 "description": "The properties of an image.", 1381 "id": "ImageProperties", 1382 "properties": { 1383 "angle": { 1384 "description": "The clockwise rotation angle of the image, in radians.", 1385 "format": "float", 1386 "type": "number" 1387 }, 1388 "brightness": { 1389 "description": "The brightness effect of the image. The value should be in the interval [-1.0, 1.0], where 0 means no effect.", 1390 "format": "float", 1391 "type": "number" 1392 }, 1393 "contentUri": { 1394 "description": "A URI to the image with a default lifetime of 30 minutes. This URI is tagged with the account of the requester. Anyone with the URI effectively accesses the image as the original requester. Access to the image may be lost if the document's sharing settings change.", 1395 "type": "string" 1396 }, 1397 "contrast": { 1398 "description": "The contrast effect of the image. The value should be in the interval [-1.0, 1.0], where 0 means no effect.", 1399 "format": "float", 1400 "type": "number" 1401 }, 1402 "cropProperties": { 1403 "$ref": "CropProperties", 1404 "description": "The crop properties of the image." 1405 }, 1406 "sourceUri": { 1407 "description": "The source URI is the URI used to insert the image. The source URI can be empty.", 1408 "type": "string" 1409 }, 1410 "transparency": { 1411 "description": "The transparency effect of the image. The value should be in the interval [0.0, 1.0], where 0 means no effect and 1 means completely transparent.", 1412 "format": "float", 1413 "type": "number" 1414 } 1415 }, 1416 "type": "object" 1417 }, 1418 "ImagePropertiesSuggestionState": { 1419 "description": "A mask that indicates which of the fields on the base ImageProperties have been changed in this suggestion. For any field set to true, there is a new suggested value.", 1420 "id": "ImagePropertiesSuggestionState", 1421 "properties": { 1422 "angleSuggested": { 1423 "description": "Indicates if there was a suggested change to angle.", 1424 "type": "boolean" 1425 }, 1426 "brightnessSuggested": { 1427 "description": "Indicates if there was a suggested change to brightness.", 1428 "type": "boolean" 1429 }, 1430 "contentUriSuggested": { 1431 "description": "Indicates if there was a suggested change to content_uri.", 1432 "type": "boolean" 1433 }, 1434 "contrastSuggested": { 1435 "description": "Indicates if there was a suggested change to contrast.", 1436 "type": "boolean" 1437 }, 1438 "cropPropertiesSuggestionState": { 1439 "$ref": "CropPropertiesSuggestionState", 1440 "description": "A mask that indicates which of the fields in crop_properties have been changed in this suggestion." 1441 }, 1442 "sourceUriSuggested": { 1443 "description": "Indicates if there was a suggested change to source_uri.", 1444 "type": "boolean" 1445 }, 1446 "transparencySuggested": { 1447 "description": "Indicates if there was a suggested change to transparency.", 1448 "type": "boolean" 1449 } 1450 }, 1451 "type": "object" 1452 }, 1453 "InlineObject": { 1454 "description": "An object that appears inline with text. An InlineObject contains an EmbeddedObject such as an image.", 1455 "id": "InlineObject", 1456 "properties": { 1457 "inlineObjectProperties": { 1458 "$ref": "InlineObjectProperties", 1459 "description": "The properties of this inline object." 1460 }, 1461 "objectId": { 1462 "description": "The ID of this inline object.", 1463 "type": "string" 1464 }, 1465 "suggestedDeletionIds": { 1466 "description": "The suggested deletion IDs. If empty, then there are no suggested deletions of this content.", 1467 "items": { 1468 "type": "string" 1469 }, 1470 "type": "array" 1471 }, 1472 "suggestedInlineObjectPropertiesChanges": { 1473 "additionalProperties": { 1474 "$ref": "SuggestedInlineObjectProperties" 1475 }, 1476 "description": "The suggested changes to the inline object properties, keyed by suggestion ID.", 1477 "type": "object" 1478 }, 1479 "suggestedInsertionId": { 1480 "description": "The suggested insertion ID. If empty, then this is not a suggested insertion.", 1481 "type": "string" 1482 } 1483 }, 1484 "type": "object" 1485 }, 1486 "InlineObjectElement": { 1487 "description": "A ParagraphElement that contains an InlineObject.", 1488 "id": "InlineObjectElement", 1489 "properties": { 1490 "inlineObjectId": { 1491 "description": "The ID of the InlineObject this element contains.", 1492 "type": "string" 1493 }, 1494 "suggestedDeletionIds": { 1495 "description": "The suggested deletion IDs. If empty, then there are no suggested deletions of this content.", 1496 "items": { 1497 "type": "string" 1498 }, 1499 "type": "array" 1500 }, 1501 "suggestedInsertionIds": { 1502 "description": "The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion.", 1503 "items": { 1504 "type": "string" 1505 }, 1506 "type": "array" 1507 }, 1508 "suggestedTextStyleChanges": { 1509 "additionalProperties": { 1510 "$ref": "SuggestedTextStyle" 1511 }, 1512 "description": "The suggested text style changes to this InlineObject, keyed by suggestion ID.", 1513 "type": "object" 1514 }, 1515 "textStyle": { 1516 "$ref": "TextStyle", 1517 "description": "The text style of this InlineObjectElement. Similar to text content, like text runs and footnote references, the text style of an inline object element can affect content layout as well as the styling of text inserted adjacent to it." 1518 } 1519 }, 1520 "type": "object" 1521 }, 1522 "InlineObjectProperties": { 1523 "description": "Properties of an InlineObject.", 1524 "id": "InlineObjectProperties", 1525 "properties": { 1526 "embeddedObject": { 1527 "$ref": "EmbeddedObject", 1528 "description": "The embedded object of this inline object." 1529 } 1530 }, 1531 "type": "object" 1532 }, 1533 "InlineObjectPropertiesSuggestionState": { 1534 "description": "A mask that indicates which of the fields on the base InlineObjectProperties have been changed in this suggestion. For any field set to true, there is a new suggested value.", 1535 "id": "InlineObjectPropertiesSuggestionState", 1536 "properties": { 1537 "embeddedObjectSuggestionState": { 1538 "$ref": "EmbeddedObjectSuggestionState", 1539 "description": "A mask that indicates which of the fields in embedded_object have been changed in this suggestion." 1540 } 1541 }, 1542 "type": "object" 1543 }, 1544 "InsertInlineImageRequest": { 1545 "description": "Inserts an InlineObject containing an image at the given location.", 1546 "id": "InsertInlineImageRequest", 1547 "properties": { 1548 "endOfSegmentLocation": { 1549 "$ref": "EndOfSegmentLocation", 1550 "description": "Inserts the text at the end of a header, footer or the document body. Inline images cannot be inserted inside a footnote." 1551 }, 1552 "location": { 1553 "$ref": "Location", 1554 "description": "Inserts the image at a specific index in the document. The image must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's start index (i.e. between the table and its preceding paragraph). Inline images cannot be inserted inside a footnote or equation." 1555 }, 1556 "objectSize": { 1557 "$ref": "Size", 1558 "description": "The size that the image should appear as in the document. This property is optional and the final size of the image in the document is determined by the following rules: * If neither width nor height is specified, then a default size of the image is calculated based on its resolution. * If one dimension is specified then the other dimension is calculated to preserve the aspect ratio of the image. * If both width and height are specified, the image is scaled to fit within the provided dimensions while maintaining its aspect ratio." 1559 }, 1560 "uri": { 1561 "description": "The image URI. The image is fetched once at insertion time and a copy is stored for display inside the document. Images must be less than 50MB in size, cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF format. The provided URI can be at most 2 kB in length. The URI itself is saved with the image, and exposed via the ImageProperties.content_uri field.", 1562 "type": "string" 1563 } 1564 }, 1565 "type": "object" 1566 }, 1567 "InsertInlineImageResponse": { 1568 "description": "The result of inserting an inline image.", 1569 "id": "InsertInlineImageResponse", 1570 "properties": { 1571 "objectId": { 1572 "description": "The ID of the created InlineObject.", 1573 "type": "string" 1574 } 1575 }, 1576 "type": "object" 1577 }, 1578 "InsertInlineSheetsChartResponse": { 1579 "description": "The result of inserting an embedded Google Sheets chart.", 1580 "id": "InsertInlineSheetsChartResponse", 1581 "properties": { 1582 "objectId": { 1583 "description": "The object ID of the inserted chart.", 1584 "type": "string" 1585 } 1586 }, 1587 "type": "object" 1588 }, 1589 "InsertPageBreakRequest": { 1590 "description": "Inserts a page break followed by a newline at the specified location.", 1591 "id": "InsertPageBreakRequest", 1592 "properties": { 1593 "endOfSegmentLocation": { 1594 "$ref": "EndOfSegmentLocation", 1595 "description": "Inserts the page break at the end of the document body. Page breaks cannot be inserted inside a footnote, header or footer. Since page breaks can only be inserted inside the body, the segment ID field must be empty." 1596 }, 1597 "location": { 1598 "$ref": "Location", 1599 "description": "Inserts the page break at a specific index in the document. The page break must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's start index (i.e. between the table and its preceding paragraph). Page breaks cannot be inserted inside a table, equation, footnote, header or footer. Since page breaks can only be inserted inside the body, the segment ID field must be empty." 1600 } 1601 }, 1602 "type": "object" 1603 }, 1604 "InsertSectionBreakRequest": { 1605 "description": "Inserts a section break at the given location. A newline character will be inserted before the section break.", 1606 "id": "InsertSectionBreakRequest", 1607 "properties": { 1608 "endOfSegmentLocation": { 1609 "$ref": "EndOfSegmentLocation", 1610 "description": "Inserts a newline and a section break at the end of the document body. Section breaks cannot be inserted inside a footnote, header or footer. Because section breaks can only be inserted inside the body, the segment ID field must be empty." 1611 }, 1612 "location": { 1613 "$ref": "Location", 1614 "description": "Inserts a newline and a section break at a specific index in the document. The section break must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's start index (i.e. between the table and its preceding paragraph). Section breaks cannot be inserted inside a table, equation, footnote, header, or footer. Since section breaks can only be inserted inside the body, the segment ID field must be empty." 1615 }, 1616 "sectionType": { 1617 "description": "The type of section to insert.", 1618 "enum": [ 1619 "SECTION_TYPE_UNSPECIFIED", 1620 "CONTINUOUS", 1621 "NEXT_PAGE" 1622 ], 1623 "enumDescriptions": [ 1624 "The section type is unspecified.", 1625 "The section starts immediately after the last paragraph of the previous section.", 1626 "The section starts on the next page." 1627 ], 1628 "type": "string" 1629 } 1630 }, 1631 "type": "object" 1632 }, 1633 "InsertTableColumnRequest": { 1634 "description": "Inserts an empty column into a table.", 1635 "id": "InsertTableColumnRequest", 1636 "properties": { 1637 "insertRight": { 1638 "description": "Whether to insert new column to the right of the reference cell location. - `True`: insert to the right. - `False`: insert to the left.", 1639 "type": "boolean" 1640 }, 1641 "tableCellLocation": { 1642 "$ref": "TableCellLocation", 1643 "description": "The reference table cell location from which columns will be inserted. A new column will be inserted to the left (or right) of the column where the reference cell is. If the reference cell is a merged cell, a new column will be inserted to the left (or right) of the merged cell." 1644 } 1645 }, 1646 "type": "object" 1647 }, 1648 "InsertTableRequest": { 1649 "description": "Inserts a table at the specified location. A newline character will be inserted before the inserted table.", 1650 "id": "InsertTableRequest", 1651 "properties": { 1652 "columns": { 1653 "description": "The number of columns in the table.", 1654 "format": "int32", 1655 "type": "integer" 1656 }, 1657 "endOfSegmentLocation": { 1658 "$ref": "EndOfSegmentLocation", 1659 "description": "Inserts the table at the end of the given header, footer or document body. A newline character will be inserted before the inserted table. Tables cannot be inserted inside a footnote." 1660 }, 1661 "location": { 1662 "$ref": "Location", 1663 "description": "Inserts the table at a specific model index. A newline character will be inserted before the inserted table, therefore the table start index will be at the specified location index + 1. The table must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's start index (i.e. between an existing table and its preceding paragraph). Tables cannot be inserted inside a footnote or equation." 1664 }, 1665 "rows": { 1666 "description": "The number of rows in the table.", 1667 "format": "int32", 1668 "type": "integer" 1669 } 1670 }, 1671 "type": "object" 1672 }, 1673 "InsertTableRowRequest": { 1674 "description": "Inserts an empty row into a table.", 1675 "id": "InsertTableRowRequest", 1676 "properties": { 1677 "insertBelow": { 1678 "description": "Whether to insert new row below the reference cell location. - `True`: insert below the cell. - `False`: insert above the cell.", 1679 "type": "boolean" 1680 }, 1681 "tableCellLocation": { 1682 "$ref": "TableCellLocation", 1683 "description": "The reference table cell location from which rows will be inserted. A new row will be inserted above (or below) the row where the reference cell is. If the reference cell is a merged cell, a new row will be inserted above (or below) the merged cell." 1684 } 1685 }, 1686 "type": "object" 1687 }, 1688 "InsertTextRequest": { 1689 "description": "Inserts text at the specified location.", 1690 "id": "InsertTextRequest", 1691 "properties": { 1692 "endOfSegmentLocation": { 1693 "$ref": "EndOfSegmentLocation", 1694 "description": "Inserts the text at the end of a header, footer, footnote or the document body." 1695 }, 1696 "location": { 1697 "$ref": "Location", 1698 "description": "Inserts the text at a specific index in the document. Text must be inserted inside the bounds of an existing Paragraph. For instance, text cannot be inserted at a table's start index (i.e. between the table and its preceding paragraph). The text must be inserted in the preceding paragraph." 1699 }, 1700 "text": { 1701 "description": "The text to be inserted. Inserting a newline character will implicitly create a new Paragraph at that index. The paragraph style of the new paragraph will be copied from the paragraph at the current insertion index, including lists and bullets. Text styles for inserted text will be determined automatically, generally preserving the styling of neighboring text. In most cases, the text style for the inserted text will match the text immediately before the insertion index. Some control characters (U+0000-U+0008, U+000C-U+001F) and characters from the Unicode Basic Multilingual Plane Private Use Area (U+E000-U+F8FF) will be stripped out of the inserted text.", 1702 "type": "string" 1703 } 1704 }, 1705 "type": "object" 1706 }, 1707 "Link": { 1708 "description": "A reference to another portion of a document or an external URL resource.", 1709 "id": "Link", 1710 "properties": { 1711 "bookmarkId": { 1712 "description": "The ID of a bookmark in this document.", 1713 "type": "string" 1714 }, 1715 "headingId": { 1716 "description": "The ID of a heading in this document.", 1717 "type": "string" 1718 }, 1719 "url": { 1720 "description": "An external URL.", 1721 "type": "string" 1722 } 1723 }, 1724 "type": "object" 1725 }, 1726 "LinkedContentReference": { 1727 "description": "A reference to the external linked source content.", 1728 "id": "LinkedContentReference", 1729 "properties": { 1730 "sheetsChartReference": { 1731 "$ref": "SheetsChartReference", 1732 "description": "A reference to the linked chart." 1733 } 1734 }, 1735 "type": "object" 1736 }, 1737 "LinkedContentReferenceSuggestionState": { 1738 "description": "A mask that indicates which of the fields on the base LinkedContentReference have been changed in this suggestion. For any field set to true, there is a new suggested value.", 1739 "id": "LinkedContentReferenceSuggestionState", 1740 "properties": { 1741 "sheetsChartReferenceSuggestionState": { 1742 "$ref": "SheetsChartReferenceSuggestionState", 1743 "description": "A mask that indicates which of the fields in sheets_chart_reference have been changed in this suggestion." 1744 } 1745 }, 1746 "type": "object" 1747 }, 1748 "List": { 1749 "description": "A List represents the list attributes for a group of paragraphs that all belong to the same list. A paragraph that is part of a list has a reference to the list's ID in its bullet.", 1750 "id": "List", 1751 "properties": { 1752 "listProperties": { 1753 "$ref": "ListProperties", 1754 "description": "The properties of the list." 1755 }, 1756 "suggestedDeletionIds": { 1757 "description": "The suggested deletion IDs. If empty, then there are no suggested deletions of this list.", 1758 "items": { 1759 "type": "string" 1760 }, 1761 "type": "array" 1762 }, 1763 "suggestedInsertionId": { 1764 "description": "The suggested insertion ID. If empty, then this is not a suggested insertion.", 1765 "type": "string" 1766 }, 1767 "suggestedListPropertiesChanges": { 1768 "additionalProperties": { 1769 "$ref": "SuggestedListProperties" 1770 }, 1771 "description": "The suggested changes to the list properties, keyed by suggestion ID.", 1772 "type": "object" 1773 } 1774 }, 1775 "type": "object" 1776 }, 1777 "ListProperties": { 1778 "description": "The properties of a list which describe the look and feel of bullets belonging to paragraphs associated with a list.", 1779 "id": "ListProperties", 1780 "properties": { 1781 "nestingLevels": { 1782 "description": "Describes the properties of the bullets at the associated level. A list has at most nine levels of nesting with nesting level 0 corresponding to the top-most level and nesting level 8 corresponding to the most nested level. The nesting levels are returned in ascending order with the least nested returned first.", 1783 "items": { 1784 "$ref": "NestingLevel" 1785 }, 1786 "type": "array" 1787 } 1788 }, 1789 "type": "object" 1790 }, 1791 "ListPropertiesSuggestionState": { 1792 "description": "A mask that indicates which of the fields on the base ListProperties have been changed in this suggestion. For any field set to true, there is a new suggested value.", 1793 "id": "ListPropertiesSuggestionState", 1794 "properties": { 1795 "nestingLevelsSuggestionStates": { 1796 "description": "A mask that indicates which of the fields on the corresponding NestingLevel in nesting_levels have been changed in this suggestion. The nesting level suggestion states are returned in ascending order of the nesting level with the least nested returned first.", 1797 "items": { 1798 "$ref": "NestingLevelSuggestionState" 1799 }, 1800 "type": "array" 1801 } 1802 }, 1803 "type": "object" 1804 }, 1805 "Location": { 1806 "description": "A particular location in the document.", 1807 "id": "Location", 1808 "properties": { 1809 "index": { 1810 "description": "The zero-based index, in UTF-16 code units. The index is relative to the beginning of the segment specified by segment_id.", 1811 "format": "int32", 1812 "type": "integer" 1813 }, 1814 "segmentId": { 1815 "description": "The ID of the header, footer or footnote the location is in. An empty segment ID signifies the document's body.", 1816 "type": "string" 1817 } 1818 }, 1819 "type": "object" 1820 }, 1821 "MergeTableCellsRequest": { 1822 "description": "Merges cells in a Table.", 1823 "id": "MergeTableCellsRequest", 1824 "properties": { 1825 "tableRange": { 1826 "$ref": "TableRange", 1827 "description": "The table range specifying which cells of the table to merge. Any text in the cells being merged will be concatenated and stored in the \"head\" cell of the range. This is the upper-left cell of the range when the content direction is left to right, and the upper-right cell of the range otherwise. If the range is non-rectangular (which can occur in some cases where the range covers cells that are already merged or where the table is non-rectangular), a 400 bad request error is returned." 1828 } 1829 }, 1830 "type": "object" 1831 }, 1832 "NamedRange": { 1833 "description": "A collection of Ranges with the same named range ID. Named ranges allow developers to associate parts of a document with an arbitrary user-defined label so their contents can be programmatically read or edited at a later time. A document can contain multiple named ranges with the same name, but every named range has a unique ID. A named range is created with a single Range, and content inserted inside a named range generally expands that range. However, certain document changes can cause the range to be split into multiple ranges. Named ranges are not private. All applications and collaborators that have access to the document can see its named ranges.", 1834 "id": "NamedRange", 1835 "properties": { 1836 "name": { 1837 "description": "The name of the named range.", 1838 "type": "string" 1839 }, 1840 "namedRangeId": { 1841 "description": "The ID of the named range.", 1842 "type": "string" 1843 }, 1844 "ranges": { 1845 "description": "The ranges that belong to this named range.", 1846 "items": { 1847 "$ref": "Range" 1848 }, 1849 "type": "array" 1850 } 1851 }, 1852 "type": "object" 1853 }, 1854 "NamedRanges": { 1855 "description": "A collection of all the NamedRanges in the document that share a given name.", 1856 "id": "NamedRanges", 1857 "properties": { 1858 "name": { 1859 "description": "The name that all the named ranges share.", 1860 "type": "string" 1861 }, 1862 "namedRanges": { 1863 "description": "The NamedRanges that share the same name.", 1864 "items": { 1865 "$ref": "NamedRange" 1866 }, 1867 "type": "array" 1868 } 1869 }, 1870 "type": "object" 1871 }, 1872 "NamedStyle": { 1873 "description": "A named style. Paragraphs in the document can inherit their TextStyle and ParagraphStyle from this named style when they have the same named style type.", 1874 "id": "NamedStyle", 1875 "properties": { 1876 "namedStyleType": { 1877 "description": "The type of this named style.", 1878 "enum": [ 1879 "NAMED_STYLE_TYPE_UNSPECIFIED", 1880 "NORMAL_TEXT", 1881 "TITLE", 1882 "SUBTITLE", 1883 "HEADING_1", 1884 "HEADING_2", 1885 "HEADING_3", 1886 "HEADING_4", 1887 "HEADING_5", 1888 "HEADING_6" 1889 ], 1890 "enumDescriptions": [ 1891 "The type of named style is unspecified.", 1892 "Normal text.", 1893 "Title.", 1894 "Subtitle.", 1895 "Heading 1.", 1896 "Heading 2.", 1897 "Heading 3.", 1898 "Heading 4.", 1899 "Heading 5.", 1900 "Heading 6." 1901 ], 1902 "type": "string" 1903 }, 1904 "paragraphStyle": { 1905 "$ref": "ParagraphStyle", 1906 "description": "The paragraph style of this named style." 1907 }, 1908 "textStyle": { 1909 "$ref": "TextStyle", 1910 "description": "The text style of this named style." 1911 } 1912 }, 1913 "type": "object" 1914 }, 1915 "NamedStyleSuggestionState": { 1916 "description": "A suggestion state of a NamedStyle message.", 1917 "id": "NamedStyleSuggestionState", 1918 "properties": { 1919 "namedStyleType": { 1920 "description": "The named style type that this suggestion state corresponds to. This field is provided as a convenience for matching the NamedStyleSuggestionState with its corresponding NamedStyle.", 1921 "enum": [ 1922 "NAMED_STYLE_TYPE_UNSPECIFIED", 1923 "NORMAL_TEXT", 1924 "TITLE", 1925 "SUBTITLE", 1926 "HEADING_1", 1927 "HEADING_2", 1928 "HEADING_3", 1929 "HEADING_4", 1930 "HEADING_5", 1931 "HEADING_6" 1932 ], 1933 "enumDescriptions": [ 1934 "The type of named style is unspecified.", 1935 "Normal text.", 1936 "Title.", 1937 "Subtitle.", 1938 "Heading 1.", 1939 "Heading 2.", 1940 "Heading 3.", 1941 "Heading 4.", 1942 "Heading 5.", 1943 "Heading 6." 1944 ], 1945 "type": "string" 1946 }, 1947 "paragraphStyleSuggestionState": { 1948 "$ref": "ParagraphStyleSuggestionState", 1949 "description": "A mask that indicates which of the fields in paragraph style have been changed in this suggestion." 1950 }, 1951 "textStyleSuggestionState": { 1952 "$ref": "TextStyleSuggestionState", 1953 "description": "A mask that indicates which of the fields in text style have been changed in this suggestion." 1954 } 1955 }, 1956 "type": "object" 1957 }, 1958 "NamedStyles": { 1959 "description": "The named styles. Paragraphs in the document can inherit their TextStyle and ParagraphStyle from these named styles.", 1960 "id": "NamedStyles", 1961 "properties": { 1962 "styles": { 1963 "description": "The named styles. There is an entry for each of the possible named style types.", 1964 "items": { 1965 "$ref": "NamedStyle" 1966 }, 1967 "type": "array" 1968 } 1969 }, 1970 "type": "object" 1971 }, 1972 "NamedStylesSuggestionState": { 1973 "description": "The suggestion state of a NamedStyles message.", 1974 "id": "NamedStylesSuggestionState", 1975 "properties": { 1976 "stylesSuggestionStates": { 1977 "description": "A mask that indicates which of the fields on the corresponding NamedStyle in styles have been changed in this suggestion. The order of these named style suggestion states match the order of the corresponding named style within the named styles suggestion.", 1978 "items": { 1979 "$ref": "NamedStyleSuggestionState" 1980 }, 1981 "type": "array" 1982 } 1983 }, 1984 "type": "object" 1985 }, 1986 "NestingLevel": { 1987 "description": "Contains properties describing the look and feel of a list bullet at a given level of nesting.", 1988 "id": "NestingLevel", 1989 "properties": { 1990 "bulletAlignment": { 1991 "description": "The alignment of the bullet within the space allotted for rendering the bullet.", 1992 "enum": [ 1993 "BULLET_ALIGNMENT_UNSPECIFIED", 1994 "START", 1995 "CENTER", 1996 "END" 1997 ], 1998 "enumDescriptions": [ 1999 "The bullet alignment is unspecified.", 2000 "The bullet is aligned to the start of the space allotted for rendering the bullet. Left-aligned for LTR text, right-aligned otherwise.", 2001 "The bullet is aligned to the center of the space allotted for rendering the bullet.", 2002 "The bullet is aligned to the end of the space allotted for rendering the bullet. Right-aligned for LTR text, left-aligned otherwise." 2003 ], 2004 "type": "string" 2005 }, 2006 "glyphFormat": { 2007 "description": "The format string used by bullets at this level of nesting. The glyph format contains one or more placeholders, and these placeholder are replaced with the appropriate values depending on the glyph_type or glyph_symbol. The placeholders follow the pattern `%[nesting_level]`. Furthermore, placeholders can have prefixes and suffixes. Thus, the glyph format follows the pattern `%[nesting_level]`. Note that the prefix and suffix are optional and can be arbitrary strings. For example, the glyph format `%0.` indicates that the rendered glyph will replace the placeholder with the corresponding glyph for nesting level 0 followed by a period as the suffix. So a list with a glyph type of UPPER_ALPHA and glyph format `%0.` at nesting level 0 will result in a list with rendered glyphs `A.` `B.` `C.` The glyph format can contain placeholders for the current nesting level as well as placeholders for parent nesting levels. For example, a list can have a glyph format of `%0.` at nesting level 0 and a glyph format of `%0.%1.` at nesting level 1. Assuming both nesting levels have DECIMAL glyph types, this would result in a list with rendered glyphs `1.` `2.` ` 2.1.` ` 2.2.` `3.` For nesting levels that are ordered, the string that replaces a placeholder in the glyph format for a particular paragraph depends on the paragraph's order within the list.", 2008 "type": "string" 2009 }, 2010 "glyphSymbol": { 2011 "description": "A custom glyph symbol used by bullets when paragraphs at this level of nesting are unordered. The glyph symbol replaces placeholders within the glyph_format. For example, if the glyph_symbol is the solid circle corresponding to Unicode U+25cf code point and the glyph_format is `%0`, the rendered glyph would be the solid circle.", 2012 "type": "string" 2013 }, 2014 "glyphType": { 2015 "description": "The type of glyph used by bullets when paragraphs at this level of nesting are ordered. The glyph type determines the type of glyph used to replace placeholders within the glyph_format when paragraphs at this level of nesting are ordered. For example, if the nesting level is 0, the glyph_format is `%0.` and the glyph type is DECIMAL, then the rendered glyph would replace the placeholder `%0` in the glyph format with a number corresponding to list item's order within the list.", 2016 "enum": [ 2017 "GLYPH_TYPE_UNSPECIFIED", 2018 "NONE", 2019 "DECIMAL", 2020 "ZERO_DECIMAL", 2021 "UPPER_ALPHA", 2022 "ALPHA", 2023 "UPPER_ROMAN", 2024 "ROMAN" 2025 ], 2026 "enumDescriptions": [ 2027 "The glyph type is unspecified or unsupported.", 2028 "An empty string.", 2029 "A number, like `1`, `2`, or `3`.", 2030 "A number where single digit numbers are prefixed with a zero, like `01`, `02`, or `03`. Numbers with more than one digit are not prefixed with a zero.", 2031 "An uppercase letter, like `A`, `B`, or `C`.", 2032 "A lowercase letter, like `a`, `b`, or `c`.", 2033 "An uppercase Roman numeral, like `I`, `II`, or `III`.", 2034 "A lowercase Roman numeral, like `i`, `ii`, or `iii`." 2035 ], 2036 "type": "string" 2037 }, 2038 "indentFirstLine": { 2039 "$ref": "Dimension", 2040 "description": "The amount of indentation for the first line of paragraphs at this level of nesting." 2041 }, 2042 "indentStart": { 2043 "$ref": "Dimension", 2044 "description": "The amount of indentation for paragraphs at this level of nesting. Applied to the side that corresponds to the start of the text, based on the paragraph's content direction." 2045 }, 2046 "startNumber": { 2047 "description": "The number of the first list item at this nesting level. A value of 0 is treated as a value of 1 for lettered lists and roman numeraled lists, i.e. for values of both 0 and 1, lettered and roman numeraled lists will begin at `a` and `i` respectively. This value is ignored for nesting levels with unordered glyphs.", 2048 "format": "int32", 2049 "type": "integer" 2050 }, 2051 "textStyle": { 2052 "$ref": "TextStyle", 2053 "description": "The text style of bullets at this level of nesting." 2054 } 2055 }, 2056 "type": "object" 2057 }, 2058 "NestingLevelSuggestionState": { 2059 "description": "A mask that indicates which of the fields on the base NestingLevel have been changed in this suggestion. For any field set to true, there is a new suggested value.", 2060 "id": "NestingLevelSuggestionState", 2061 "properties": { 2062 "bulletAlignmentSuggested": { 2063 "description": "Indicates if there was a suggested change to bullet_alignment.", 2064 "type": "boolean" 2065 }, 2066 "glyphFormatSuggested": { 2067 "description": "Indicates if there was a suggested change to glyph_format.", 2068 "type": "boolean" 2069 }, 2070 "glyphSymbolSuggested": { 2071 "description": "Indicates if there was a suggested change to glyph_symbol.", 2072 "type": "boolean" 2073 }, 2074 "glyphTypeSuggested": { 2075 "description": "Indicates if there was a suggested change to glyph_type.", 2076 "type": "boolean" 2077 }, 2078 "indentFirstLineSuggested": { 2079 "description": "Indicates if there was a suggested change to indent_first_line.", 2080 "type": "boolean" 2081 }, 2082 "indentStartSuggested": { 2083 "description": "Indicates if there was a suggested change to indent_start.", 2084 "type": "boolean" 2085 }, 2086 "startNumberSuggested": { 2087 "description": "Indicates if there was a suggested change to start_number.", 2088 "type": "boolean" 2089 }, 2090 "textStyleSuggestionState": { 2091 "$ref": "TextStyleSuggestionState", 2092 "description": "A mask that indicates which of the fields in text style have been changed in this suggestion." 2093 } 2094 }, 2095 "type": "object" 2096 }, 2097 "ObjectReferences": { 2098 "description": "A collection of object IDs.", 2099 "id": "ObjectReferences", 2100 "properties": { 2101 "objectIds": { 2102 "description": "The object IDs.", 2103 "items": { 2104 "type": "string" 2105 }, 2106 "type": "array" 2107 } 2108 }, 2109 "type": "object" 2110 }, 2111 "OptionalColor": { 2112 "description": "A color that can either be fully opaque or fully transparent.", 2113 "id": "OptionalColor", 2114 "properties": { 2115 "color": { 2116 "$ref": "Color", 2117 "description": "If set, this will be used as an opaque color. If unset, this represents a transparent color." 2118 } 2119 }, 2120 "type": "object" 2121 }, 2122 "PageBreak": { 2123 "description": "A ParagraphElement representing a page break. A page break makes the subsequent text start at the top of the next page.", 2124 "id": "PageBreak", 2125 "properties": { 2126 "suggestedDeletionIds": { 2127 "description": "The suggested deletion IDs. If empty, then there are no suggested deletions of this content.", 2128 "items": { 2129 "type": "string" 2130 }, 2131 "type": "array" 2132 }, 2133 "suggestedInsertionIds": { 2134 "description": "The suggested insertion IDs. A PageBreak may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion.", 2135 "items": { 2136 "type": "string" 2137 }, 2138 "type": "array" 2139 }, 2140 "suggestedTextStyleChanges": { 2141 "additionalProperties": { 2142 "$ref": "SuggestedTextStyle" 2143 }, 2144 "description": "The suggested text style changes to this PageBreak, keyed by suggestion ID.", 2145 "type": "object" 2146 }, 2147 "textStyle": { 2148 "$ref": "TextStyle", 2149 "description": "The text style of this PageBreak. Similar to text content, like text runs and footnote references, the text style of a page break can affect content layout as well as the styling of text inserted adjacent to it." 2150 } 2151 }, 2152 "type": "object" 2153 }, 2154 "Paragraph": { 2155 "description": "A StructuralElement representing a paragraph. A paragraph is a range of content that is terminated with a newline character.", 2156 "id": "Paragraph", 2157 "properties": { 2158 "bullet": { 2159 "$ref": "Bullet", 2160 "description": "The bullet for this paragraph. If not present, the paragraph does not belong to a list." 2161 }, 2162 "elements": { 2163 "description": "The content of the paragraph broken down into its component parts.", 2164 "items": { 2165 "$ref": "ParagraphElement" 2166 }, 2167 "type": "array" 2168 }, 2169 "paragraphStyle": { 2170 "$ref": "ParagraphStyle", 2171 "description": "The style of this paragraph." 2172 }, 2173 "positionedObjectIds": { 2174 "description": "The IDs of the positioned objects tethered to this paragraph.", 2175 "items": { 2176 "type": "string" 2177 }, 2178 "type": "array" 2179 }, 2180 "suggestedBulletChanges": { 2181 "additionalProperties": { 2182 "$ref": "SuggestedBullet" 2183 }, 2184 "description": "The suggested changes to this paragraph's bullet.", 2185 "type": "object" 2186 }, 2187 "suggestedParagraphStyleChanges": { 2188 "additionalProperties": { 2189 "$ref": "SuggestedParagraphStyle" 2190 }, 2191 "description": "The suggested paragraph style changes to this paragraph, keyed by suggestion ID.", 2192 "type": "object" 2193 }, 2194 "suggestedPositionedObjectIds": { 2195 "additionalProperties": { 2196 "$ref": "ObjectReferences" 2197 }, 2198 "description": "The IDs of the positioned objects that are suggested to be attached to this paragraph, keyed by suggestion ID.", 2199 "type": "object" 2200 } 2201 }, 2202 "type": "object" 2203 }, 2204 "ParagraphBorder": { 2205 "description": "A border around a paragraph.", 2206 "id": "ParagraphBorder", 2207 "properties": { 2208 "color": { 2209 "$ref": "OptionalColor", 2210 "description": "The color of the border." 2211 }, 2212 "dashStyle": { 2213 "description": "The dash style of the border.", 2214 "enum": [ 2215 "DASH_STYLE_UNSPECIFIED", 2216 "SOLID", 2217 "DOT", 2218 "DASH" 2219 ], 2220 "enumDescriptions": [ 2221 "Unspecified dash style.", 2222 "Solid line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'solid'. This is the default dash style.", 2223 "Dotted line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'dot'.", 2224 "Dashed line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'dash'." 2225 ], 2226 "type": "string" 2227 }, 2228 "padding": { 2229 "$ref": "Dimension", 2230 "description": "The padding of the border." 2231 }, 2232 "width": { 2233 "$ref": "Dimension", 2234 "description": "The width of the border." 2235 } 2236 }, 2237 "type": "object" 2238 }, 2239 "ParagraphElement": { 2240 "description": "A ParagraphElement describes content within a Paragraph.", 2241 "id": "ParagraphElement", 2242 "properties": { 2243 "autoText": { 2244 "$ref": "AutoText", 2245 "description": "An auto text paragraph element." 2246 }, 2247 "columnBreak": { 2248 "$ref": "ColumnBreak", 2249 "description": "A column break paragraph element." 2250 }, 2251 "endIndex": { 2252 "description": "The zero-base end index of this paragraph element, exclusive, in UTF-16 code units.", 2253 "format": "int32", 2254 "type": "integer" 2255 }, 2256 "equation": { 2257 "$ref": "Equation", 2258 "description": "An equation paragraph element." 2259 }, 2260 "footnoteReference": { 2261 "$ref": "FootnoteReference", 2262 "description": "A footnote reference paragraph element." 2263 }, 2264 "horizontalRule": { 2265 "$ref": "HorizontalRule", 2266 "description": "A horizontal rule paragraph element." 2267 }, 2268 "inlineObjectElement": { 2269 "$ref": "InlineObjectElement", 2270 "description": "An inline object paragraph element." 2271 }, 2272 "pageBreak": { 2273 "$ref": "PageBreak", 2274 "description": "A page break paragraph element." 2275 }, 2276 "person": { 2277 "$ref": "Person", 2278 "description": "A paragraph element that links to a person or email address." 2279 }, 2280 "richLink": { 2281 "$ref": "RichLink", 2282 "description": "A paragraph element that links to a Google resource (such as a file in Drive, a Youtube video, a Calendar event, etc.)" 2283 }, 2284 "startIndex": { 2285 "description": "The zero-based start index of this paragraph element, in UTF-16 code units.", 2286 "format": "int32", 2287 "type": "integer" 2288 }, 2289 "textRun": { 2290 "$ref": "TextRun", 2291 "description": "A text run paragraph element." 2292 } 2293 }, 2294 "type": "object" 2295 }, 2296 "ParagraphStyle": { 2297 "description": "Styles that apply to a whole paragraph. Inherited paragraph styles are represented as unset fields in this message. A paragraph style's parent depends on where the paragraph style is defined: * The ParagraphStyle on a Paragraph inherits from the paragraph's corresponding named style type. * The ParagraphStyle on a named style inherits from the normal text named style. * The ParagraphStyle of the normal text named style inherits from the default paragraph style in the Docs editor. * The ParagraphStyle on a Paragraph element that is contained in a table may inherit its paragraph style from the table style. If the paragraph style does not inherit from a parent, unsetting fields will revert the style to a value matching the defaults in the Docs editor.", 2298 "id": "ParagraphStyle", 2299 "properties": { 2300 "alignment": { 2301 "description": "The text alignment for this paragraph.", 2302 "enum": [ 2303 "ALIGNMENT_UNSPECIFIED", 2304 "START", 2305 "CENTER", 2306 "END", 2307 "JUSTIFIED" 2308 ], 2309 "enumDescriptions": [ 2310 "The paragraph alignment is inherited from the parent.", 2311 "The paragraph is aligned to the start of the line. Left-aligned for LTR text, right-aligned otherwise.", 2312 "The paragraph is centered.", 2313 "The paragraph is aligned to the end of the line. Right-aligned for LTR text, left-aligned otherwise.", 2314 "The paragraph is justified." 2315 ], 2316 "type": "string" 2317 }, 2318 "avoidWidowAndOrphan": { 2319 "description": "Whether to avoid widows and orphans for the paragraph. If unset, the value is inherited from the parent.", 2320 "type": "boolean" 2321 }, 2322 "borderBetween": { 2323 "$ref": "ParagraphBorder", 2324 "description": "The border between this paragraph and the next and previous paragraphs. If unset, the value is inherited from the parent. The between border is rendered when the adjacent paragraph has the same border and indent properties. Paragraph borders cannot be partially updated. When making changes to a paragraph border the new border must be specified in its entirety." 2325 }, 2326 "borderBottom": { 2327 "$ref": "ParagraphBorder", 2328 "description": "The border at the bottom of this paragraph. If unset, the value is inherited from the parent. The bottom border is rendered when the paragraph below has different border and indent properties. Paragraph borders cannot be partially updated. When making changes to a paragraph border the new border must be specified in its entirety." 2329 }, 2330 "borderLeft": { 2331 "$ref": "ParagraphBorder", 2332 "description": "The border to the left of this paragraph. If unset, the value is inherited from the parent. Paragraph borders cannot be partially updated. When making changes to a paragraph border the new border must be specified in its entirety." 2333 }, 2334 "borderRight": { 2335 "$ref": "ParagraphBorder", 2336 "description": "The border to the right of this paragraph. If unset, the value is inherited from the parent. Paragraph borders cannot be partially updated. When making changes to a paragraph border the new border must be specified in its entirety." 2337 }, 2338 "borderTop": { 2339 "$ref": "ParagraphBorder", 2340 "description": "The border at the top of this paragraph. If unset, the value is inherited from the parent. The top border is rendered when the paragraph above has different border and indent properties. Paragraph borders cannot be partially updated. When making changes to a paragraph border the new border must be specified in its entirety." 2341 }, 2342 "direction": { 2343 "description": "The text direction of this paragraph. If unset, the value defaults to LEFT_TO_RIGHT since paragraph direction is not inherited.", 2344 "enum": [ 2345 "CONTENT_DIRECTION_UNSPECIFIED", 2346 "LEFT_TO_RIGHT", 2347 "RIGHT_TO_LEFT" 2348 ], 2349 "enumDescriptions": [ 2350 "The content direction is unspecified.", 2351 "The content goes from left to right.", 2352 "The content goes from right to left." 2353 ], 2354 "type": "string" 2355 }, 2356 "headingId": { 2357 "description": "The heading ID of the paragraph. If empty, then this paragraph is not a heading. This property is read-only.", 2358 "type": "string" 2359 }, 2360 "indentEnd": { 2361 "$ref": "Dimension", 2362 "description": "The amount of indentation for the paragraph on the side that corresponds to the end of the text, based on the current paragraph direction. If unset, the value is inherited from the parent." 2363 }, 2364 "indentFirstLine": { 2365 "$ref": "Dimension", 2366 "description": "The amount of indentation for the first line of the paragraph. If unset, the value is inherited from the parent." 2367 }, 2368 "indentStart": { 2369 "$ref": "Dimension", 2370 "description": "The amount of indentation for the paragraph on the side that corresponds to the start of the text, based on the current paragraph direction. If unset, the value is inherited from the parent." 2371 }, 2372 "keepLinesTogether": { 2373 "description": "Whether all lines of the paragraph should be laid out on the same page or column if possible. If unset, the value is inherited from the parent.", 2374 "type": "boolean" 2375 }, 2376 "keepWithNext": { 2377 "description": "Whether at least a part of this paragraph should be laid out on the same page or column as the next paragraph if possible. If unset, the value is inherited from the parent.", 2378 "type": "boolean" 2379 }, 2380 "lineSpacing": { 2381 "description": "The amount of space between lines, as a percentage of normal, where normal is represented as 100.0. If unset, the value is inherited from the parent.", 2382 "format": "float", 2383 "type": "number" 2384 }, 2385 "namedStyleType": { 2386 "description": "The named style type of the paragraph. Since updating the named style type affects other properties within ParagraphStyle, the named style type is applied before the other properties are updated.", 2387 "enum": [ 2388 "NAMED_STYLE_TYPE_UNSPECIFIED", 2389 "NORMAL_TEXT", 2390 "TITLE", 2391 "SUBTITLE", 2392 "HEADING_1", 2393 "HEADING_2", 2394 "HEADING_3", 2395 "HEADING_4", 2396 "HEADING_5", 2397 "HEADING_6" 2398 ], 2399 "enumDescriptions": [ 2400 "The type of named style is unspecified.", 2401 "Normal text.", 2402 "Title.", 2403 "Subtitle.", 2404 "Heading 1.", 2405 "Heading 2.", 2406 "Heading 3.", 2407 "Heading 4.", 2408 "Heading 5.", 2409 "Heading 6." 2410 ], 2411 "type": "string" 2412 }, 2413 "shading": { 2414 "$ref": "Shading", 2415 "description": "The shading of the paragraph. If unset, the value is inherited from the parent." 2416 }, 2417 "spaceAbove": { 2418 "$ref": "Dimension", 2419 "description": "The amount of extra space above the paragraph. If unset, the value is inherited from the parent." 2420 }, 2421 "spaceBelow": { 2422 "$ref": "Dimension", 2423 "description": "The amount of extra space below the paragraph. If unset, the value is inherited from the parent." 2424 }, 2425 "spacingMode": { 2426 "description": "The spacing mode for the paragraph.", 2427 "enum": [ 2428 "SPACING_MODE_UNSPECIFIED", 2429 "NEVER_COLLAPSE", 2430 "COLLAPSE_LISTS" 2431 ], 2432 "enumDescriptions": [ 2433 "The spacing mode is inherited from the parent.", 2434 "Paragraph spacing is always rendered.", 2435 "Paragraph spacing is skipped between list elements." 2436 ], 2437 "type": "string" 2438 }, 2439 "tabStops": { 2440 "description": "A list of the tab stops for this paragraph. The list of tab stops is not inherited. This property is read-only.", 2441 "items": { 2442 "$ref": "TabStop" 2443 }, 2444 "type": "array" 2445 } 2446 }, 2447 "type": "object" 2448 }, 2449 "ParagraphStyleSuggestionState": { 2450 "description": "A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. For any field set to true, there is a new suggested value.", 2451 "id": "ParagraphStyleSuggestionState", 2452 "properties": { 2453 "alignmentSuggested": { 2454 "description": "Indicates if there was a suggested change to alignment.", 2455 "type": "boolean" 2456 }, 2457 "avoidWidowAndOrphanSuggested": { 2458 "description": "Indicates if there was a suggested change to avoid_widow_and_orphan.", 2459 "type": "boolean" 2460 }, 2461 "borderBetweenSuggested": { 2462 "description": "Indicates if there was a suggested change to border_between.", 2463 "type": "boolean" 2464 }, 2465 "borderBottomSuggested": { 2466 "description": "Indicates if there was a suggested change to border_bottom.", 2467 "type": "boolean" 2468 }, 2469 "borderLeftSuggested": { 2470 "description": "Indicates if there was a suggested change to border_left.", 2471 "type": "boolean" 2472 }, 2473 "borderRightSuggested": { 2474 "description": "Indicates if there was a suggested change to border_right.", 2475 "type": "boolean" 2476 }, 2477 "borderTopSuggested": { 2478 "description": "Indicates if there was a suggested change to border_top.", 2479 "type": "boolean" 2480 }, 2481 "directionSuggested": { 2482 "description": "Indicates if there was a suggested change to direction.", 2483 "type": "boolean" 2484 }, 2485 "headingIdSuggested": { 2486 "description": "Indicates if there was a suggested change to heading_id.", 2487 "type": "boolean" 2488 }, 2489 "indentEndSuggested": { 2490 "description": "Indicates if there was a suggested change to indent_end.", 2491 "type": "boolean" 2492 }, 2493 "indentFirstLineSuggested": { 2494 "description": "Indicates if there was a suggested change to indent_first_line.", 2495 "type": "boolean" 2496 }, 2497 "indentStartSuggested": { 2498 "description": "Indicates if there was a suggested change to indent_start.", 2499 "type": "boolean" 2500 }, 2501 "keepLinesTogetherSuggested": { 2502 "description": "Indicates if there was a suggested change to keep_lines_together.", 2503 "type": "boolean" 2504 }, 2505 "keepWithNextSuggested": { 2506 "description": "Indicates if there was a suggested change to keep_with_next.", 2507 "type": "boolean" 2508 }, 2509 "lineSpacingSuggested": { 2510 "description": "Indicates if there was a suggested change to line_spacing.", 2511 "type": "boolean" 2512 }, 2513 "namedStyleTypeSuggested": { 2514 "description": "Indicates if there was a suggested change to named_style_type.", 2515 "type": "boolean" 2516 }, 2517 "shadingSuggestionState": { 2518 "$ref": "ShadingSuggestionState", 2519 "description": "A mask that indicates which of the fields in shading have been changed in this suggestion." 2520 }, 2521 "spaceAboveSuggested": { 2522 "description": "Indicates if there was a suggested change to space_above.", 2523 "type": "boolean" 2524 }, 2525 "spaceBelowSuggested": { 2526 "description": "Indicates if there was a suggested change to space_below.", 2527 "type": "boolean" 2528 }, 2529 "spacingModeSuggested": { 2530 "description": "Indicates if there was a suggested change to spacing_mode.", 2531 "type": "boolean" 2532 } 2533 }, 2534 "type": "object" 2535 }, 2536 "Person": { 2537 "description": "A person or email address mentioned in a document. These mentions behave as a single, immutable element containing the person's name or email address.", 2538 "id": "Person", 2539 "properties": { 2540 "personId": { 2541 "description": "Output only. The unique ID of this link.", 2542 "readOnly": true, 2543 "type": "string" 2544 }, 2545 "personProperties": { 2546 "$ref": "PersonProperties", 2547 "description": "Output only. The properties of this Person. This field is always present.", 2548 "readOnly": true 2549 }, 2550 "suggestedDeletionIds": { 2551 "description": "IDs for suggestions that remove this person link from the document. A Person might have multiple deletion IDs if, for example, multiple users suggest to delete it. If empty, then this person link isn't suggested for deletion.", 2552 "items": { 2553 "type": "string" 2554 }, 2555 "type": "array" 2556 }, 2557 "suggestedInsertionIds": { 2558 "description": "IDs for suggestions that insert this person link into the document. A Person might have multiple insertion IDs if it is a nested suggested change (a suggestion within a suggestion made by a different user, for example). If empty, then this person link isn't a suggested insertion.", 2559 "items": { 2560 "type": "string" 2561 }, 2562 "type": "array" 2563 }, 2564 "suggestedTextStyleChanges": { 2565 "additionalProperties": { 2566 "$ref": "SuggestedTextStyle" 2567 }, 2568 "description": "The suggested text style changes to this Person, keyed by suggestion ID.", 2569 "type": "object" 2570 }, 2571 "textStyle": { 2572 "$ref": "TextStyle", 2573 "description": "The text style of this Person." 2574 } 2575 }, 2576 "type": "object" 2577 }, 2578 "PersonProperties": { 2579 "description": "Properties specific to a linked Person.", 2580 "id": "PersonProperties", 2581 "properties": { 2582 "email": { 2583 "description": "Output only. The email address linked to this Person. This field is always present.", 2584 "readOnly": true, 2585 "type": "string" 2586 }, 2587 "name": { 2588 "description": "Output only. The name of the person if it is displayed in the link text instead of the person's email address.", 2589 "readOnly": true, 2590 "type": "string" 2591 } 2592 }, 2593 "type": "object" 2594 }, 2595 "PositionedObject": { 2596 "description": "An object that is tethered to a Paragraph and positioned relative to the beginning of the paragraph. A PositionedObject contains an EmbeddedObject such as an image.", 2597 "id": "PositionedObject", 2598 "properties": { 2599 "objectId": { 2600 "description": "The ID of this positioned object.", 2601 "type": "string" 2602 }, 2603 "positionedObjectProperties": { 2604 "$ref": "PositionedObjectProperties", 2605 "description": "The properties of this positioned object." 2606 }, 2607 "suggestedDeletionIds": { 2608 "description": "The suggested deletion IDs. If empty, then there are no suggested deletions of this content.", 2609 "items": { 2610 "type": "string" 2611 }, 2612 "type": "array" 2613 }, 2614 "suggestedInsertionId": { 2615 "description": "The suggested insertion ID. If empty, then this is not a suggested insertion.", 2616 "type": "string" 2617 }, 2618 "suggestedPositionedObjectPropertiesChanges": { 2619 "additionalProperties": { 2620 "$ref": "SuggestedPositionedObjectProperties" 2621 }, 2622 "description": "The suggested changes to the positioned object properties, keyed by suggestion ID.", 2623 "type": "object" 2624 } 2625 }, 2626 "type": "object" 2627 }, 2628 "PositionedObjectPositioning": { 2629 "description": "The positioning of a PositionedObject. The positioned object is positioned relative to the beginning of the Paragraph it is tethered to.", 2630 "id": "PositionedObjectPositioning", 2631 "properties": { 2632 "layout": { 2633 "description": "The layout of this positioned object.", 2634 "enum": [ 2635 "POSITIONED_OBJECT_LAYOUT_UNSPECIFIED", 2636 "WRAP_TEXT", 2637 "BREAK_LEFT", 2638 "BREAK_RIGHT", 2639 "BREAK_LEFT_RIGHT", 2640 "IN_FRONT_OF_TEXT", 2641 "BEHIND_TEXT" 2642 ], 2643 "enumDescriptions": [ 2644 "The layout is unspecified.", 2645 "The text wraps around the positioned object.", 2646 "Breaks text such that the positioned object is on the left and text is on the right.", 2647 "Breaks text such that the positioned object is on the right and text is on the left.", 2648 "Breaks text such that there is no text on the left or right of the positioned object.", 2649 "The positioned object is in front of the text.", 2650 "The positioned object is behind the text." 2651 ], 2652 "type": "string" 2653 }, 2654 "leftOffset": { 2655 "$ref": "Dimension", 2656 "description": "The offset of the left edge of the positioned object relative to the beginning of the Paragraph it is tethered to. The exact positioning of the object can depend on other content in the document and the document's styling." 2657 }, 2658 "topOffset": { 2659 "$ref": "Dimension", 2660 "description": "The offset of the top edge of the positioned object relative to the beginning of the Paragraph it is tethered to. The exact positioning of the object can depend on other content in the document and the document's styling." 2661 } 2662 }, 2663 "type": "object" 2664 }, 2665 "PositionedObjectPositioningSuggestionState": { 2666 "description": "A mask that indicates which of the fields on the base PositionedObjectPositioning have been changed in this suggestion. For any field set to true, there is a new suggested value.", 2667 "id": "PositionedObjectPositioningSuggestionState", 2668 "properties": { 2669 "layoutSuggested": { 2670 "description": "Indicates if there was a suggested change to layout.", 2671 "type": "boolean" 2672 }, 2673 "leftOffsetSuggested": { 2674 "description": "Indicates if there was a suggested change to left_offset.", 2675 "type": "boolean" 2676 }, 2677 "topOffsetSuggested": { 2678 "description": "Indicates if there was a suggested change to top_offset.", 2679 "type": "boolean" 2680 } 2681 }, 2682 "type": "object" 2683 }, 2684 "PositionedObjectProperties": { 2685 "description": "Properties of a PositionedObject.", 2686 "id": "PositionedObjectProperties", 2687 "properties": { 2688 "embeddedObject": { 2689 "$ref": "EmbeddedObject", 2690 "description": "The embedded object of this positioned object." 2691 }, 2692 "positioning": { 2693 "$ref": "PositionedObjectPositioning", 2694 "description": "The positioning of this positioned object relative to the newline of the Paragraph that references this positioned object." 2695 } 2696 }, 2697 "type": "object" 2698 }, 2699 "PositionedObjectPropertiesSuggestionState": { 2700 "description": "A mask that indicates which of the fields on the base PositionedObjectProperties have been changed in this suggestion. For any field set to true, there is a new suggested value.", 2701 "id": "PositionedObjectPropertiesSuggestionState", 2702 "properties": { 2703 "embeddedObjectSuggestionState": { 2704 "$ref": "EmbeddedObjectSuggestionState", 2705 "description": "A mask that indicates which of the fields in embedded_object have been changed in this suggestion." 2706 }, 2707 "positioningSuggestionState": { 2708 "$ref": "PositionedObjectPositioningSuggestionState", 2709 "description": "A mask that indicates which of the fields in positioning have been changed in this suggestion." 2710 } 2711 }, 2712 "type": "object" 2713 }, 2714 "Range": { 2715 "description": "Specifies a contiguous range of text.", 2716 "id": "Range", 2717 "properties": { 2718 "endIndex": { 2719 "description": "The zero-based end index of this range, exclusive, in UTF-16 code units. In all current uses, an end index must be provided. This field is an Int32Value in order to accommodate future use cases with open-ended ranges.", 2720 "format": "int32", 2721 "type": "integer" 2722 }, 2723 "segmentId": { 2724 "description": "The ID of the header, footer or footnote that this range is contained in. An empty segment ID signifies the document's body.", 2725 "type": "string" 2726 }, 2727 "startIndex": { 2728 "description": "The zero-based start index of this range, in UTF-16 code units. In all current uses, a start index must be provided. This field is an Int32Value in order to accommodate future use cases with open-ended ranges.", 2729 "format": "int32", 2730 "type": "integer" 2731 } 2732 }, 2733 "type": "object" 2734 }, 2735 "ReplaceAllTextRequest": { 2736 "description": "Replaces all instances of text matching a criteria with replace text.", 2737 "id": "ReplaceAllTextRequest", 2738 "properties": { 2739 "containsText": { 2740 "$ref": "SubstringMatchCriteria", 2741 "description": "Finds text in the document matching this substring." 2742 }, 2743 "replaceText": { 2744 "description": "The text that will replace the matched text.", 2745 "type": "string" 2746 } 2747 }, 2748 "type": "object" 2749 }, 2750 "ReplaceAllTextResponse": { 2751 "description": "The result of replacing text.", 2752 "id": "ReplaceAllTextResponse", 2753 "properties": { 2754 "occurrencesChanged": { 2755 "description": "The number of occurrences changed by replacing all text.", 2756 "format": "int32", 2757 "type": "integer" 2758 } 2759 }, 2760 "type": "object" 2761 }, 2762 "ReplaceImageRequest": { 2763 "description": "Replaces an existing image with a new image. Replacing an image removes some image effects from the existing image in order to mirror the behavior of the Docs editor.", 2764 "id": "ReplaceImageRequest", 2765 "properties": { 2766 "imageObjectId": { 2767 "description": "The ID of the existing image that will be replaced.", 2768 "type": "string" 2769 }, 2770 "imageReplaceMethod": { 2771 "description": "The replacement method.", 2772 "enum": [ 2773 "IMAGE_REPLACE_METHOD_UNSPECIFIED", 2774 "CENTER_CROP" 2775 ], 2776 "enumDescriptions": [ 2777 "Unspecified image replace method. This value must not be used.", 2778 "Scales and centers the image to fill the bounds of the original image. The image may be cropped in order to fill the original image's bounds. The rendered size of the image will be the same as that of the original image." 2779 ], 2780 "type": "string" 2781 }, 2782 "uri": { 2783 "description": "The URI of the new image. The image is fetched once at insertion time and a copy is stored for display inside the document. Images must be less than 50MB in size, cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF format. The provided URI can be at most 2 kB in length. The URI itself is saved with the image, and exposed via the ImageProperties.source_uri field.", 2784 "type": "string" 2785 } 2786 }, 2787 "type": "object" 2788 }, 2789 "ReplaceNamedRangeContentRequest": { 2790 "description": "Replaces the contents of the specified NamedRange or NamedRanges with the given replacement content. Note that an individual NamedRange may consist of multiple discontinuous ranges. In this case, only the content in the first range will be replaced. The other ranges and their content will be deleted. In cases where replacing or deleting any ranges would result in an invalid document structure, a 400 bad request error is returned.", 2791 "id": "ReplaceNamedRangeContentRequest", 2792 "properties": { 2793 "namedRangeId": { 2794 "description": "The ID of the named range whose content will be replaced. If there is no named range with the given ID a 400 bad request error is returned.", 2795 "type": "string" 2796 }, 2797 "namedRangeName": { 2798 "description": "The name of the NamedRanges whose content will be replaced. If there are multiple named ranges with the given name, then the content of each one will be replaced. If there are no named ranges with the given name, then the request will be a no-op.", 2799 "type": "string" 2800 }, 2801 "text": { 2802 "description": "Replaces the content of the specified named range(s) with the given text.", 2803 "type": "string" 2804 } 2805 }, 2806 "type": "object" 2807 }, 2808 "Request": { 2809 "description": "A single update to apply to a document.", 2810 "id": "Request", 2811 "properties": { 2812 "createFooter": { 2813 "$ref": "CreateFooterRequest", 2814 "description": "Creates a footer." 2815 }, 2816 "createFootnote": { 2817 "$ref": "CreateFootnoteRequest", 2818 "description": "Creates a footnote." 2819 }, 2820 "createHeader": { 2821 "$ref": "CreateHeaderRequest", 2822 "description": "Creates a header." 2823 }, 2824 "createNamedRange": { 2825 "$ref": "CreateNamedRangeRequest", 2826 "description": "Creates a named range." 2827 }, 2828 "createParagraphBullets": { 2829 "$ref": "CreateParagraphBulletsRequest", 2830 "description": "Creates bullets for paragraphs." 2831 }, 2832 "deleteContentRange": { 2833 "$ref": "DeleteContentRangeRequest", 2834 "description": "Deletes content from the document." 2835 }, 2836 "deleteFooter": { 2837 "$ref": "DeleteFooterRequest", 2838 "description": "Deletes a footer from the document." 2839 }, 2840 "deleteHeader": { 2841 "$ref": "DeleteHeaderRequest", 2842 "description": "Deletes a header from the document." 2843 }, 2844 "deleteNamedRange": { 2845 "$ref": "DeleteNamedRangeRequest", 2846 "description": "Deletes a named range." 2847 }, 2848 "deleteParagraphBullets": { 2849 "$ref": "DeleteParagraphBulletsRequest", 2850 "description": "Deletes bullets from paragraphs." 2851 }, 2852 "deletePositionedObject": { 2853 "$ref": "DeletePositionedObjectRequest", 2854 "description": "Deletes a positioned object from the document." 2855 }, 2856 "deleteTableColumn": { 2857 "$ref": "DeleteTableColumnRequest", 2858 "description": "Deletes a column from a table." 2859 }, 2860 "deleteTableRow": { 2861 "$ref": "DeleteTableRowRequest", 2862 "description": "Deletes a row from a table." 2863 }, 2864 "insertInlineImage": { 2865 "$ref": "InsertInlineImageRequest", 2866 "description": "Inserts an inline image at the specified location." 2867 }, 2868 "insertPageBreak": { 2869 "$ref": "InsertPageBreakRequest", 2870 "description": "Inserts a page break at the specified location." 2871 }, 2872 "insertSectionBreak": { 2873 "$ref": "InsertSectionBreakRequest", 2874 "description": "Inserts a section break at the specified location." 2875 }, 2876 "insertTable": { 2877 "$ref": "InsertTableRequest", 2878 "description": "Inserts a table at the specified location." 2879 }, 2880 "insertTableColumn": { 2881 "$ref": "InsertTableColumnRequest", 2882 "description": "Inserts an empty column into a table." 2883 }, 2884 "insertTableRow": { 2885 "$ref": "InsertTableRowRequest", 2886 "description": "Inserts an empty row into a table." 2887 }, 2888 "insertText": { 2889 "$ref": "InsertTextRequest", 2890 "description": "Inserts text at the specified location." 2891 }, 2892 "mergeTableCells": { 2893 "$ref": "MergeTableCellsRequest", 2894 "description": "Merges cells in a table." 2895 }, 2896 "replaceAllText": { 2897 "$ref": "ReplaceAllTextRequest", 2898 "description": "Replaces all instances of the specified text." 2899 }, 2900 "replaceImage": { 2901 "$ref": "ReplaceImageRequest", 2902 "description": "Replaces an image in the document." 2903 }, 2904 "replaceNamedRangeContent": { 2905 "$ref": "ReplaceNamedRangeContentRequest", 2906 "description": "Replaces the content in a named range." 2907 }, 2908 "unmergeTableCells": { 2909 "$ref": "UnmergeTableCellsRequest", 2910 "description": "Unmerges cells in a table." 2911 }, 2912 "updateDocumentStyle": { 2913 "$ref": "UpdateDocumentStyleRequest", 2914 "description": "Updates the style of the document." 2915 }, 2916 "updateParagraphStyle": { 2917 "$ref": "UpdateParagraphStyleRequest", 2918 "description": "Updates the paragraph style at the specified range." 2919 }, 2920 "updateSectionStyle": { 2921 "$ref": "UpdateSectionStyleRequest", 2922 "description": "Updates the section style of the specified range." 2923 }, 2924 "updateTableCellStyle": { 2925 "$ref": "UpdateTableCellStyleRequest", 2926 "description": "Updates the style of table cells." 2927 }, 2928 "updateTableColumnProperties": { 2929 "$ref": "UpdateTableColumnPropertiesRequest", 2930 "description": "Updates the properties of columns in a table." 2931 }, 2932 "updateTableRowStyle": { 2933 "$ref": "UpdateTableRowStyleRequest", 2934 "description": "Updates the row style in a table." 2935 }, 2936 "updateTextStyle": { 2937 "$ref": "UpdateTextStyleRequest", 2938 "description": "Updates the text style at the specified range." 2939 } 2940 }, 2941 "type": "object" 2942 }, 2943 "Response": { 2944 "description": "A single response from an update.", 2945 "id": "Response", 2946 "properties": { 2947 "createFooter": { 2948 "$ref": "CreateFooterResponse", 2949 "description": "The result of creating a footer." 2950 }, 2951 "createFootnote": { 2952 "$ref": "CreateFootnoteResponse", 2953 "description": "The result of creating a footnote." 2954 }, 2955 "createHeader": { 2956 "$ref": "CreateHeaderResponse", 2957 "description": "The result of creating a header." 2958 }, 2959 "createNamedRange": { 2960 "$ref": "CreateNamedRangeResponse", 2961 "description": "The result of creating a named range." 2962 }, 2963 "insertInlineImage": { 2964 "$ref": "InsertInlineImageResponse", 2965 "description": "The result of inserting an inline image." 2966 }, 2967 "insertInlineSheetsChart": { 2968 "$ref": "InsertInlineSheetsChartResponse", 2969 "description": "The result of inserting an inline Google Sheets chart." 2970 }, 2971 "replaceAllText": { 2972 "$ref": "ReplaceAllTextResponse", 2973 "description": "The result of replacing text." 2974 } 2975 }, 2976 "type": "object" 2977 }, 2978 "RgbColor": { 2979 "description": "An RGB color.", 2980 "id": "RgbColor", 2981 "properties": { 2982 "blue": { 2983 "description": "The blue component of the color, from 0.0 to 1.0.", 2984 "format": "float", 2985 "type": "number" 2986 }, 2987 "green": { 2988 "description": "The green component of the color, from 0.0 to 1.0.", 2989 "format": "float", 2990 "type": "number" 2991 }, 2992 "red": { 2993 "description": "The red component of the color, from 0.0 to 1.0.", 2994 "format": "float", 2995 "type": "number" 2996 } 2997 }, 2998 "type": "object" 2999 }, 3000 "RichLink": { 3001 "description": "A link to a Google resource (e.g., a file in Drive, a YouTube video, a Calendar event, etc.).", 3002 "id": "RichLink", 3003 "properties": { 3004 "richLinkId": { 3005 "description": "Output only. The ID of this link.", 3006 "readOnly": true, 3007 "type": "string" 3008 }, 3009 "richLinkProperties": { 3010 "$ref": "RichLinkProperties", 3011 "description": "Output only. The properties of this RichLink. This field is always present.", 3012 "readOnly": true 3013 }, 3014 "suggestedDeletionIds": { 3015 "description": "IDs for suggestions that remove this link from the document. A RichLink might have multiple deletion IDs if, for example, multiple users suggest to delete it. If empty, then this person link isn't suggested for deletion.", 3016 "items": { 3017 "type": "string" 3018 }, 3019 "type": "array" 3020 }, 3021 "suggestedInsertionIds": { 3022 "description": "IDs for suggestions that insert this link into the document. A RichLink might have multiple insertion IDs if it is a nested suggested change (a suggestion within a suggestion made by a different user, for example). If empty, then this person link isn't a suggested insertion.", 3023 "items": { 3024 "type": "string" 3025 }, 3026 "type": "array" 3027 }, 3028 "suggestedTextStyleChanges": { 3029 "additionalProperties": { 3030 "$ref": "SuggestedTextStyle" 3031 }, 3032 "description": "The suggested text style changes to this RichLink, keyed by suggestion ID.", 3033 "type": "object" 3034 }, 3035 "textStyle": { 3036 "$ref": "TextStyle", 3037 "description": "The text style of this RichLink." 3038 } 3039 }, 3040 "type": "object" 3041 }, 3042 "RichLinkProperties": { 3043 "description": "Properties specific to a RichLink.", 3044 "id": "RichLinkProperties", 3045 "properties": { 3046 "mimeType": { 3047 "description": "Output only. The [MIME type](https://developers.google.com/drive/api/v3/mime-types) of the RichLink, if there is one (i.e., when it is a file in Drive).", 3048 "readOnly": true, 3049 "type": "string" 3050 }, 3051 "title": { 3052 "description": "Output only. The title of the RichLink as displayed in the link. This title matches the title of the linked resource at the time of the insertion or last update of the link. This field is always present.", 3053 "readOnly": true, 3054 "type": "string" 3055 }, 3056 "uri": { 3057 "description": "Output only. The URI to the RichLink. This is always present.", 3058 "readOnly": true, 3059 "type": "string" 3060 } 3061 }, 3062 "type": "object" 3063 }, 3064 "SectionBreak": { 3065 "description": "A StructuralElement representing a section break. A section is a range of content which has the same SectionStyle. A section break represents the start of a new section, and the section style applies to the section after the section break. The document body always begins with a section break.", 3066 "id": "SectionBreak", 3067 "properties": { 3068 "sectionStyle": { 3069 "$ref": "SectionStyle", 3070 "description": "The style of the section after this section break." 3071 }, 3072 "suggestedDeletionIds": { 3073 "description": "The suggested deletion IDs. If empty, then there are no suggested deletions of this content.", 3074 "items": { 3075 "type": "string" 3076 }, 3077 "type": "array" 3078 }, 3079 "suggestedInsertionIds": { 3080 "description": "The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion.", 3081 "items": { 3082 "type": "string" 3083 }, 3084 "type": "array" 3085 } 3086 }, 3087 "type": "object" 3088 }, 3089 "SectionColumnProperties": { 3090 "description": "Properties that apply to a section's column.", 3091 "id": "SectionColumnProperties", 3092 "properties": { 3093 "paddingEnd": { 3094 "$ref": "Dimension", 3095 "description": "The padding at the end of the column." 3096 }, 3097 "width": { 3098 "$ref": "Dimension", 3099 "description": "Output only. The width of the column." 3100 } 3101 }, 3102 "type": "object" 3103 }, 3104 "SectionStyle": { 3105 "description": "The styling that applies to a section.", 3106 "id": "SectionStyle", 3107 "properties": { 3108 "columnProperties": { 3109 "description": "The section's columns properties. If empty, the section contains one column with the default properties in the Docs editor. A section can be updated to have no more than three columns. When updating this property, setting a concrete value is required. Unsetting this property will result in a 400 bad request error.", 3110 "items": { 3111 "$ref": "SectionColumnProperties" 3112 }, 3113 "type": "array" 3114 }, 3115 "columnSeparatorStyle": { 3116 "description": "The style of column separators. This style can be set even when there is one column in the section. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.", 3117 "enum": [ 3118 "COLUMN_SEPARATOR_STYLE_UNSPECIFIED", 3119 "NONE", 3120 "BETWEEN_EACH_COLUMN" 3121 ], 3122 "enumDescriptions": [ 3123 "An unspecified column separator style.", 3124 "No column separator lines between columns.", 3125 "Renders a column separator line between each column." 3126 ], 3127 "type": "string" 3128 }, 3129 "contentDirection": { 3130 "description": "The content direction of this section. If unset, the value defaults to LEFT_TO_RIGHT. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.", 3131 "enum": [ 3132 "CONTENT_DIRECTION_UNSPECIFIED", 3133 "LEFT_TO_RIGHT", 3134 "RIGHT_TO_LEFT" 3135 ], 3136 "enumDescriptions": [ 3137 "The content direction is unspecified.", 3138 "The content goes from left to right.", 3139 "The content goes from right to left." 3140 ], 3141 "type": "string" 3142 }, 3143 "defaultFooterId": { 3144 "description": "The ID of the default footer. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's default_footer_id. This property is read-only.", 3145 "type": "string" 3146 }, 3147 "defaultHeaderId": { 3148 "description": "The ID of the default header. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's default_header_id. This property is read-only.", 3149 "type": "string" 3150 }, 3151 "evenPageFooterId": { 3152 "description": "The ID of the footer used only for even pages. If the value of DocumentStyle's use_even_page_header_footer is true, this value is used for the footers on even pages in the section. If it is false, the footers on even pages uses the default_footer_id. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's even_page_footer_id. This property is read-only.", 3153 "type": "string" 3154 }, 3155 "evenPageHeaderId": { 3156 "description": "The ID of the header used only for even pages. If the value of DocumentStyle's use_even_page_header_footer is true, this value is used for the headers on even pages in the section. If it is false, the headers on even pages uses the default_header_id. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's even_page_header_id. This property is read-only.", 3157 "type": "string" 3158 }, 3159 "firstPageFooterId": { 3160 "description": "The ID of the footer used only for the first page of the section. If use_first_page_header_footer is true, this value is used for the footer on the first page of the section. If it is false, the footer on the first page of the section uses the default_footer_id. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's first_page_footer_id. This property is read-only.", 3161 "type": "string" 3162 }, 3163 "firstPageHeaderId": { 3164 "description": "The ID of the header used only for the first page of the section. If use_first_page_header_footer is true, this value is used for the header on the first page of the section. If it is false, the header on the first page of the section uses the default_header_id. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's first_page_header_id. This property is read-only.", 3165 "type": "string" 3166 }, 3167 "marginBottom": { 3168 "$ref": "Dimension", 3169 "description": "The bottom page margin of the section. If unset, uses margin_bottom from DocumentStyle. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error." 3170 }, 3171 "marginFooter": { 3172 "$ref": "Dimension", 3173 "description": "The footer margin of the section. If unset, uses margin_footer from DocumentStyle. If updated, use_custom_header_footer_margins is set to true on DocumentStyle. The value of use_custom_header_footer_margins on DocumentStyle indicates if a footer margin is being respected for this section When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error." 3174 }, 3175 "marginHeader": { 3176 "$ref": "Dimension", 3177 "description": "The header margin of the section. If unset, uses margin_header from DocumentStyle. If updated, use_custom_header_footer_margins is set to true on DocumentStyle. The value of use_custom_header_footer_margins on DocumentStyle indicates if a header margin is being respected for this section. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error." 3178 }, 3179 "marginLeft": { 3180 "$ref": "Dimension", 3181 "description": "The left page margin of the section. If unset, uses margin_left from DocumentStyle. Updating left margin causes columns in this section to resize. Since the margin affects column width, it is applied before column properties. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error." 3182 }, 3183 "marginRight": { 3184 "$ref": "Dimension", 3185 "description": "The right page margin of the section. If unset, uses margin_right from DocumentStyle. Updating right margin causes columns in this section to resize. Since the margin affects column width, it is applied before column properties. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error." 3186 }, 3187 "marginTop": { 3188 "$ref": "Dimension", 3189 "description": "The top page margin of the section. If unset, uses margin_top from DocumentStyle. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error." 3190 }, 3191 "pageNumberStart": { 3192 "description": "The page number from which to start counting the number of pages for this section. If unset, page numbering continues from the previous section. If the value is unset in the first SectionBreak, refer to DocumentStyle's page_number_start. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.", 3193 "format": "int32", 3194 "type": "integer" 3195 }, 3196 "sectionType": { 3197 "description": "Output only. The type of section.", 3198 "enum": [ 3199 "SECTION_TYPE_UNSPECIFIED", 3200 "CONTINUOUS", 3201 "NEXT_PAGE" 3202 ], 3203 "enumDescriptions": [ 3204 "The section type is unspecified.", 3205 "The section starts immediately after the last paragraph of the previous section.", 3206 "The section starts on the next page." 3207 ], 3208 "type": "string" 3209 }, 3210 "useFirstPageHeaderFooter": { 3211 "description": "Indicates whether to use the first page header / footer IDs for the first page of the section. If unset, it inherits from DocumentStyle's use_first_page_header_footer for the first section. If the value is unset for subsequent sectors, it should be interpreted as false. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.", 3212 "type": "boolean" 3213 } 3214 }, 3215 "type": "object" 3216 }, 3217 "Shading": { 3218 "description": "The shading of a paragraph.", 3219 "id": "Shading", 3220 "properties": { 3221 "backgroundColor": { 3222 "$ref": "OptionalColor", 3223 "description": "The background color of this paragraph shading." 3224 } 3225 }, 3226 "type": "object" 3227 }, 3228 "ShadingSuggestionState": { 3229 "description": "A mask that indicates which of the fields on the base Shading have been changed in this suggested change. For any field set to true, there is a new suggested value.", 3230 "id": "ShadingSuggestionState", 3231 "properties": { 3232 "backgroundColorSuggested": { 3233 "description": "Indicates if there was a suggested change to the Shading.", 3234 "type": "boolean" 3235 } 3236 }, 3237 "type": "object" 3238 }, 3239 "SheetsChartReference": { 3240 "description": "A reference to a linked chart embedded from Google Sheets.", 3241 "id": "SheetsChartReference", 3242 "properties": { 3243 "chartId": { 3244 "description": "The ID of the specific chart in the Google Sheets spreadsheet that is embedded.", 3245 "format": "int32", 3246 "type": "integer" 3247 }, 3248 "spreadsheetId": { 3249 "description": "The ID of the Google Sheets spreadsheet that contains the source chart.", 3250 "type": "string" 3251 } 3252 }, 3253 "type": "object" 3254 }, 3255 "SheetsChartReferenceSuggestionState": { 3256 "description": "A mask that indicates which of the fields on the base SheetsChartReference have been changed in this suggestion. For any field set to true, there is a new suggested value.", 3257 "id": "SheetsChartReferenceSuggestionState", 3258 "properties": { 3259 "chartIdSuggested": { 3260 "description": "Indicates if there was a suggested change to chart_id.", 3261 "type": "boolean" 3262 }, 3263 "spreadsheetIdSuggested": { 3264 "description": "Indicates if there was a suggested change to spreadsheet_id.", 3265 "type": "boolean" 3266 } 3267 }, 3268 "type": "object" 3269 }, 3270 "Size": { 3271 "description": "A width and height.", 3272 "id": "Size", 3273 "properties": { 3274 "height": { 3275 "$ref": "Dimension", 3276 "description": "The height of the object." 3277 }, 3278 "width": { 3279 "$ref": "Dimension", 3280 "description": "The width of the object." 3281 } 3282 }, 3283 "type": "object" 3284 }, 3285 "SizeSuggestionState": { 3286 "description": "A mask that indicates which of the fields on the base Size have been changed in this suggestion. For any field set to true, the Size has a new suggested value.", 3287 "id": "SizeSuggestionState", 3288 "properties": { 3289 "heightSuggested": { 3290 "description": "Indicates if there was a suggested change to height.", 3291 "type": "boolean" 3292 }, 3293 "widthSuggested": { 3294 "description": "Indicates if there was a suggested change to width.", 3295 "type": "boolean" 3296 } 3297 }, 3298 "type": "object" 3299 }, 3300 "StructuralElement": { 3301 "description": "A StructuralElement describes content that provides structure to the document.", 3302 "id": "StructuralElement", 3303 "properties": { 3304 "endIndex": { 3305 "description": "The zero-based end index of this structural element, exclusive, in UTF-16 code units.", 3306 "format": "int32", 3307 "type": "integer" 3308 }, 3309 "paragraph": { 3310 "$ref": "Paragraph", 3311 "description": "A paragraph type of structural element." 3312 }, 3313 "sectionBreak": { 3314 "$ref": "SectionBreak", 3315 "description": "A section break type of structural element." 3316 }, 3317 "startIndex": { 3318 "description": "The zero-based start index of this structural element, in UTF-16 code units.", 3319 "format": "int32", 3320 "type": "integer" 3321 }, 3322 "table": { 3323 "$ref": "Table", 3324 "description": "A table type of structural element." 3325 }, 3326 "tableOfContents": { 3327 "$ref": "TableOfContents", 3328 "description": "A table of contents type of structural element." 3329 } 3330 }, 3331 "type": "object" 3332 }, 3333 "SubstringMatchCriteria": { 3334 "description": "A criteria that matches a specific string of text in the document.", 3335 "id": "SubstringMatchCriteria", 3336 "properties": { 3337 "matchCase": { 3338 "description": "Indicates whether the search should respect case: - `True`: the search is case sensitive. - `False`: the search is case insensitive.", 3339 "type": "boolean" 3340 }, 3341 "text": { 3342 "description": "The text to search for in the document.", 3343 "type": "string" 3344 } 3345 }, 3346 "type": "object" 3347 }, 3348 "SuggestedBullet": { 3349 "description": "A suggested change to a Bullet.", 3350 "id": "SuggestedBullet", 3351 "properties": { 3352 "bullet": { 3353 "$ref": "Bullet", 3354 "description": "A Bullet that only includes the changes made in this suggestion. This can be used along with the bullet_suggestion_state to see which fields have changed and their new values." 3355 }, 3356 "bulletSuggestionState": { 3357 "$ref": "BulletSuggestionState", 3358 "description": "A mask that indicates which of the fields on the base Bullet have been changed in this suggestion." 3359 } 3360 }, 3361 "type": "object" 3362 }, 3363 "SuggestedDocumentStyle": { 3364 "description": "A suggested change to the DocumentStyle.", 3365 "id": "SuggestedDocumentStyle", 3366 "properties": { 3367 "documentStyle": { 3368 "$ref": "DocumentStyle", 3369 "description": "A DocumentStyle that only includes the changes made in this suggestion. This can be used along with the document_style_suggestion_state to see which fields have changed and their new values." 3370 }, 3371 "documentStyleSuggestionState": { 3372 "$ref": "DocumentStyleSuggestionState", 3373 "description": "A mask that indicates which of the fields on the base DocumentStyle have been changed in this suggestion." 3374 } 3375 }, 3376 "type": "object" 3377 }, 3378 "SuggestedInlineObjectProperties": { 3379 "description": "A suggested change to InlineObjectProperties.", 3380 "id": "SuggestedInlineObjectProperties", 3381 "properties": { 3382 "inlineObjectProperties": { 3383 "$ref": "InlineObjectProperties", 3384 "description": "An InlineObjectProperties that only includes the changes made in this suggestion. This can be used along with the inline_object_properties_suggestion_state to see which fields have changed and their new values." 3385 }, 3386 "inlineObjectPropertiesSuggestionState": { 3387 "$ref": "InlineObjectPropertiesSuggestionState", 3388 "description": "A mask that indicates which of the fields on the base InlineObjectProperties have been changed in this suggestion." 3389 } 3390 }, 3391 "type": "object" 3392 }, 3393 "SuggestedListProperties": { 3394 "description": "A suggested change to ListProperties.", 3395 "id": "SuggestedListProperties", 3396 "properties": { 3397 "listProperties": { 3398 "$ref": "ListProperties", 3399 "description": "A ListProperties that only includes the changes made in this suggestion. This can be used along with the list_properties_suggestion_state to see which fields have changed and their new values." 3400 }, 3401 "listPropertiesSuggestionState": { 3402 "$ref": "ListPropertiesSuggestionState", 3403 "description": "A mask that indicates which of the fields on the base ListProperties have been changed in this suggestion." 3404 } 3405 }, 3406 "type": "object" 3407 }, 3408 "SuggestedNamedStyles": { 3409 "description": "A suggested change to the NamedStyles.", 3410 "id": "SuggestedNamedStyles", 3411 "properties": { 3412 "namedStyles": { 3413 "$ref": "NamedStyles", 3414 "description": "A NamedStyles that only includes the changes made in this suggestion. This can be used along with the named_styles_suggestion_state to see which fields have changed and their new values." 3415 }, 3416 "namedStylesSuggestionState": { 3417 "$ref": "NamedStylesSuggestionState", 3418 "description": "A mask that indicates which of the fields on the base NamedStyles have been changed in this suggestion." 3419 } 3420 }, 3421 "type": "object" 3422 }, 3423 "SuggestedParagraphStyle": { 3424 "description": "A suggested change to a ParagraphStyle.", 3425 "id": "SuggestedParagraphStyle", 3426 "properties": { 3427 "paragraphStyle": { 3428 "$ref": "ParagraphStyle", 3429 "description": "A ParagraphStyle that only includes the changes made in this suggestion. This can be used along with the paragraph_suggestion_state to see which fields have changed and their new values." 3430 }, 3431 "paragraphStyleSuggestionState": { 3432 "$ref": "ParagraphStyleSuggestionState", 3433 "description": "A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion." 3434 } 3435 }, 3436 "type": "object" 3437 }, 3438 "SuggestedPositionedObjectProperties": { 3439 "description": "A suggested change to PositionedObjectProperties.", 3440 "id": "SuggestedPositionedObjectProperties", 3441 "properties": { 3442 "positionedObjectProperties": { 3443 "$ref": "PositionedObjectProperties", 3444 "description": "A PositionedObjectProperties that only includes the changes made in this suggestion. This can be used along with the positioned_object_properties_suggestion_state to see which fields have changed and their new values." 3445 }, 3446 "positionedObjectPropertiesSuggestionState": { 3447 "$ref": "PositionedObjectPropertiesSuggestionState", 3448 "description": "A mask that indicates which of the fields on the base PositionedObjectProperties have been changed in this suggestion." 3449 } 3450 }, 3451 "type": "object" 3452 }, 3453 "SuggestedTableCellStyle": { 3454 "description": "A suggested change to a TableCellStyle.", 3455 "id": "SuggestedTableCellStyle", 3456 "properties": { 3457 "tableCellStyle": { 3458 "$ref": "TableCellStyle", 3459 "description": "A TableCellStyle that only includes the changes made in this suggestion. This can be used along with the table_cell_style_suggestion_state to see which fields have changed and their new values." 3460 }, 3461 "tableCellStyleSuggestionState": { 3462 "$ref": "TableCellStyleSuggestionState", 3463 "description": "A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion." 3464 } 3465 }, 3466 "type": "object" 3467 }, 3468 "SuggestedTableRowStyle": { 3469 "description": "A suggested change to a TableRowStyle.", 3470 "id": "SuggestedTableRowStyle", 3471 "properties": { 3472 "tableRowStyle": { 3473 "$ref": "TableRowStyle", 3474 "description": "A TableRowStyle that only includes the changes made in this suggestion. This can be used along with the table_row_style_suggestion_state to see which fields have changed and their new values." 3475 }, 3476 "tableRowStyleSuggestionState": { 3477 "$ref": "TableRowStyleSuggestionState", 3478 "description": "A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion." 3479 } 3480 }, 3481 "type": "object" 3482 }, 3483 "SuggestedTextStyle": { 3484 "description": "A suggested change to a TextStyle.", 3485 "id": "SuggestedTextStyle", 3486 "properties": { 3487 "textStyle": { 3488 "$ref": "TextStyle", 3489 "description": "A TextStyle that only includes the changes made in this suggestion. This can be used along with the text_style_suggestion_state to see which fields have changed and their new values." 3490 }, 3491 "textStyleSuggestionState": { 3492 "$ref": "TextStyleSuggestionState", 3493 "description": "A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion." 3494 } 3495 }, 3496 "type": "object" 3497 }, 3498 "TabStop": { 3499 "description": "A tab stop within a paragraph.", 3500 "id": "TabStop", 3501 "properties": { 3502 "alignment": { 3503 "description": "The alignment of this tab stop. If unset, the value defaults to START.", 3504 "enum": [ 3505 "TAB_STOP_ALIGNMENT_UNSPECIFIED", 3506 "START", 3507 "CENTER", 3508 "END" 3509 ], 3510 "enumDescriptions": [ 3511 "The tab stop alignment is unspecified.", 3512 "The tab stop is aligned to the start of the line. This is the default.", 3513 "The tab stop is aligned to the center of the line.", 3514 "The tab stop is aligned to the end of the line." 3515 ], 3516 "type": "string" 3517 }, 3518 "offset": { 3519 "$ref": "Dimension", 3520 "description": "The offset between this tab stop and the start margin." 3521 } 3522 }, 3523 "type": "object" 3524 }, 3525 "Table": { 3526 "description": "A StructuralElement representing a table.", 3527 "id": "Table", 3528 "properties": { 3529 "columns": { 3530 "description": "Number of columns in the table. It is possible for a table to be non-rectangular, so some rows may have a different number of cells.", 3531 "format": "int32", 3532 "type": "integer" 3533 }, 3534 "rows": { 3535 "description": "Number of rows in the table.", 3536 "format": "int32", 3537 "type": "integer" 3538 }, 3539 "suggestedDeletionIds": { 3540 "description": "The suggested deletion IDs. If empty, then there are no suggested deletions of this content.", 3541 "items": { 3542 "type": "string" 3543 }, 3544 "type": "array" 3545 }, 3546 "suggestedInsertionIds": { 3547 "description": "The suggested insertion IDs. A Table may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion.", 3548 "items": { 3549 "type": "string" 3550 }, 3551 "type": "array" 3552 }, 3553 "tableRows": { 3554 "description": "The contents and style of each row.", 3555 "items": { 3556 "$ref": "TableRow" 3557 }, 3558 "type": "array" 3559 }, 3560 "tableStyle": { 3561 "$ref": "TableStyle", 3562 "description": "The style of the table." 3563 } 3564 }, 3565 "type": "object" 3566 }, 3567 "TableCell": { 3568 "description": "The contents and style of a cell in a Table.", 3569 "id": "TableCell", 3570 "properties": { 3571 "content": { 3572 "description": "The content of the cell.", 3573 "items": { 3574 "$ref": "StructuralElement" 3575 }, 3576 "type": "array" 3577 }, 3578 "endIndex": { 3579 "description": "The zero-based end index of this cell, exclusive, in UTF-16 code units.", 3580 "format": "int32", 3581 "type": "integer" 3582 }, 3583 "startIndex": { 3584 "description": "The zero-based start index of this cell, in UTF-16 code units.", 3585 "format": "int32", 3586 "type": "integer" 3587 }, 3588 "suggestedDeletionIds": { 3589 "description": "The suggested deletion IDs. If empty, then there are no suggested deletions of this content.", 3590 "items": { 3591 "type": "string" 3592 }, 3593 "type": "array" 3594 }, 3595 "suggestedInsertionIds": { 3596 "description": "The suggested insertion IDs. A TableCell may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion.", 3597 "items": { 3598 "type": "string" 3599 }, 3600 "type": "array" 3601 }, 3602 "suggestedTableCellStyleChanges": { 3603 "additionalProperties": { 3604 "$ref": "SuggestedTableCellStyle" 3605 }, 3606 "description": "The suggested changes to the table cell style, keyed by suggestion ID.", 3607 "type": "object" 3608 }, 3609 "tableCellStyle": { 3610 "$ref": "TableCellStyle", 3611 "description": "The style of the cell." 3612 } 3613 }, 3614 "type": "object" 3615 }, 3616 "TableCellBorder": { 3617 "description": "A border around a table cell. Table cell borders cannot be transparent. To hide a table cell border, make its width 0.", 3618 "id": "TableCellBorder", 3619 "properties": { 3620 "color": { 3621 "$ref": "OptionalColor", 3622 "description": "The color of the border. This color cannot be transparent." 3623 }, 3624 "dashStyle": { 3625 "description": "The dash style of the border.", 3626 "enum": [ 3627 "DASH_STYLE_UNSPECIFIED", 3628 "SOLID", 3629 "DOT", 3630 "DASH" 3631 ], 3632 "enumDescriptions": [ 3633 "Unspecified dash style.", 3634 "Solid line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'solid'. This is the default dash style.", 3635 "Dotted line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'dot'.", 3636 "Dashed line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'dash'." 3637 ], 3638 "type": "string" 3639 }, 3640 "width": { 3641 "$ref": "Dimension", 3642 "description": "The width of the border." 3643 } 3644 }, 3645 "type": "object" 3646 }, 3647 "TableCellLocation": { 3648 "description": "Location of a single cell within a table.", 3649 "id": "TableCellLocation", 3650 "properties": { 3651 "columnIndex": { 3652 "description": "The zero-based column index. For example, the second column in the table has a column index of 1.", 3653 "format": "int32", 3654 "type": "integer" 3655 }, 3656 "rowIndex": { 3657 "description": "The zero-based row index. For example, the second row in the table has a row index of 1.", 3658 "format": "int32", 3659 "type": "integer" 3660 }, 3661 "tableStartLocation": { 3662 "$ref": "Location", 3663 "description": "The location where the table starts in the document." 3664 } 3665 }, 3666 "type": "object" 3667 }, 3668 "TableCellStyle": { 3669 "description": "The style of a TableCell. Inherited table cell styles are represented as unset fields in this message. A table cell style can inherit from the table's style.", 3670 "id": "TableCellStyle", 3671 "properties": { 3672 "backgroundColor": { 3673 "$ref": "OptionalColor", 3674 "description": "The background color of the cell." 3675 }, 3676 "borderBottom": { 3677 "$ref": "TableCellBorder", 3678 "description": "The bottom border of the cell." 3679 }, 3680 "borderLeft": { 3681 "$ref": "TableCellBorder", 3682 "description": "The left border of the cell." 3683 }, 3684 "borderRight": { 3685 "$ref": "TableCellBorder", 3686 "description": "The right border of the cell." 3687 }, 3688 "borderTop": { 3689 "$ref": "TableCellBorder", 3690 "description": "The top border of the cell." 3691 }, 3692 "columnSpan": { 3693 "description": "The column span of the cell. This property is read-only.", 3694 "format": "int32", 3695 "type": "integer" 3696 }, 3697 "contentAlignment": { 3698 "description": "The alignment of the content in the table cell. The default alignment matches the alignment for newly created table cells in the Docs editor.", 3699 "enum": [ 3700 "CONTENT_ALIGNMENT_UNSPECIFIED", 3701 "CONTENT_ALIGNMENT_UNSUPPORTED", 3702 "TOP", 3703 "MIDDLE", 3704 "BOTTOM" 3705 ], 3706 "enumDescriptions": [ 3707 "An unspecified content alignment. The content alignment is inherited from the parent if one exists.", 3708 "An unsupported content alignment.", 3709 "An alignment that aligns the content to the top of the content holder. Corresponds to ECMA-376 ST_TextAnchoringType 't'.", 3710 "An alignment that aligns the content to the middle of the content holder. Corresponds to ECMA-376 ST_TextAnchoringType 'ctr'.", 3711 "An alignment that aligns the content to the bottom of the content holder. Corresponds to ECMA-376 ST_TextAnchoringType 'b'." 3712 ], 3713 "type": "string" 3714 }, 3715 "paddingBottom": { 3716 "$ref": "Dimension", 3717 "description": "The bottom padding of the cell." 3718 }, 3719 "paddingLeft": { 3720 "$ref": "Dimension", 3721 "description": "The left padding of the cell." 3722 }, 3723 "paddingRight": { 3724 "$ref": "Dimension", 3725 "description": "The right padding of the cell." 3726 }, 3727 "paddingTop": { 3728 "$ref": "Dimension", 3729 "description": "The top padding of the cell." 3730 }, 3731 "rowSpan": { 3732 "description": "The row span of the cell. This property is read-only.", 3733 "format": "int32", 3734 "type": "integer" 3735 } 3736 }, 3737 "type": "object" 3738 }, 3739 "TableCellStyleSuggestionState": { 3740 "description": "A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. For any field set to true, there is a new suggested value.", 3741 "id": "TableCellStyleSuggestionState", 3742 "properties": { 3743 "backgroundColorSuggested": { 3744 "description": "Indicates if there was a suggested change to background_color.", 3745 "type": "boolean" 3746 }, 3747 "borderBottomSuggested": { 3748 "description": "Indicates if there was a suggested change to border_bottom.", 3749 "type": "boolean" 3750 }, 3751 "borderLeftSuggested": { 3752 "description": "Indicates if there was a suggested change to border_left.", 3753 "type": "boolean" 3754 }, 3755 "borderRightSuggested": { 3756 "description": "Indicates if there was a suggested change to border_right.", 3757 "type": "boolean" 3758 }, 3759 "borderTopSuggested": { 3760 "description": "Indicates if there was a suggested change to border_top.", 3761 "type": "boolean" 3762 }, 3763 "columnSpanSuggested": { 3764 "description": "Indicates if there was a suggested change to column_span.", 3765 "type": "boolean" 3766 }, 3767 "contentAlignmentSuggested": { 3768 "description": "Indicates if there was a suggested change to content_alignment.", 3769 "type": "boolean" 3770 }, 3771 "paddingBottomSuggested": { 3772 "description": "Indicates if there was a suggested change to padding_bottom.", 3773 "type": "boolean" 3774 }, 3775 "paddingLeftSuggested": { 3776 "description": "Indicates if there was a suggested change to padding_left.", 3777 "type": "boolean" 3778 }, 3779 "paddingRightSuggested": { 3780 "description": "Indicates if there was a suggested change to padding_right.", 3781 "type": "boolean" 3782 }, 3783 "paddingTopSuggested": { 3784 "description": "Indicates if there was a suggested change to padding_top.", 3785 "type": "boolean" 3786 }, 3787 "rowSpanSuggested": { 3788 "description": "Indicates if there was a suggested change to row_span.", 3789 "type": "boolean" 3790 } 3791 }, 3792 "type": "object" 3793 }, 3794 "TableColumnProperties": { 3795 "description": "The properties of a column in a table.", 3796 "id": "TableColumnProperties", 3797 "properties": { 3798 "width": { 3799 "$ref": "Dimension", 3800 "description": "The width of the column. Set when the column's `width_type` is FIXED_WIDTH." 3801 }, 3802 "widthType": { 3803 "description": "The width type of the column.", 3804 "enum": [ 3805 "WIDTH_TYPE_UNSPECIFIED", 3806 "EVENLY_DISTRIBUTED", 3807 "FIXED_WIDTH" 3808 ], 3809 "enumDescriptions": [ 3810 "The column width type is unspecified.", 3811 "The column width is evenly distributed among the other evenly distrubted columns. The width of the column is automatically determined and will have an equal portion of the width remaining for the table after accounting for all columns with specified widths.", 3812 "A fixed column width. The width property contains the column's width." 3813 ], 3814 "type": "string" 3815 } 3816 }, 3817 "type": "object" 3818 }, 3819 "TableOfContents": { 3820 "description": "A StructuralElement representing a table of contents.", 3821 "id": "TableOfContents", 3822 "properties": { 3823 "content": { 3824 "description": "The content of the table of contents.", 3825 "items": { 3826 "$ref": "StructuralElement" 3827 }, 3828 "type": "array" 3829 }, 3830 "suggestedDeletionIds": { 3831 "description": "The suggested deletion IDs. If empty, then there are no suggested deletions of this content.", 3832 "items": { 3833 "type": "string" 3834 }, 3835 "type": "array" 3836 }, 3837 "suggestedInsertionIds": { 3838 "description": "The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion.", 3839 "items": { 3840 "type": "string" 3841 }, 3842 "type": "array" 3843 } 3844 }, 3845 "type": "object" 3846 }, 3847 "TableRange": { 3848 "description": "A table range represents a reference to a subset of a table. It's important to note that the cells specified by a table range do not necessarily form a rectangle. For example, let's say we have a 3 x 3 table where all the cells of the last row are merged together. The table looks like this: [ ] A table range with table cell location = (table_start_location, row = 0, column = 0), row span = 3 and column span = 2 specifies the following cells: x x [ x x x ]", 3849 "id": "TableRange", 3850 "properties": { 3851 "columnSpan": { 3852 "description": "The column span of the table range.", 3853 "format": "int32", 3854 "type": "integer" 3855 }, 3856 "rowSpan": { 3857 "description": "The row span of the table range.", 3858 "format": "int32", 3859 "type": "integer" 3860 }, 3861 "tableCellLocation": { 3862 "$ref": "TableCellLocation", 3863 "description": "The cell location where the table range starts." 3864 } 3865 }, 3866 "type": "object" 3867 }, 3868 "TableRow": { 3869 "description": "The contents and style of a row in a Table.", 3870 "id": "TableRow", 3871 "properties": { 3872 "endIndex": { 3873 "description": "The zero-based end index of this row, exclusive, in UTF-16 code units.", 3874 "format": "int32", 3875 "type": "integer" 3876 }, 3877 "startIndex": { 3878 "description": "The zero-based start index of this row, in UTF-16 code units.", 3879 "format": "int32", 3880 "type": "integer" 3881 }, 3882 "suggestedDeletionIds": { 3883 "description": "The suggested deletion IDs. If empty, then there are no suggested deletions of this content.", 3884 "items": { 3885 "type": "string" 3886 }, 3887 "type": "array" 3888 }, 3889 "suggestedInsertionIds": { 3890 "description": "The suggested insertion IDs. A TableRow may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion.", 3891 "items": { 3892 "type": "string" 3893 }, 3894 "type": "array" 3895 }, 3896 "suggestedTableRowStyleChanges": { 3897 "additionalProperties": { 3898 "$ref": "SuggestedTableRowStyle" 3899 }, 3900 "description": "The suggested style changes to this row, keyed by suggestion ID.", 3901 "type": "object" 3902 }, 3903 "tableCells": { 3904 "description": "The contents and style of each cell in this row. It is possible for a table to be non-rectangular, so some rows may have a different number of cells than other rows in the same table.", 3905 "items": { 3906 "$ref": "TableCell" 3907 }, 3908 "type": "array" 3909 }, 3910 "tableRowStyle": { 3911 "$ref": "TableRowStyle", 3912 "description": "The style of the table row." 3913 } 3914 }, 3915 "type": "object" 3916 }, 3917 "TableRowStyle": { 3918 "description": "Styles that apply to a table row.", 3919 "id": "TableRowStyle", 3920 "properties": { 3921 "minRowHeight": { 3922 "$ref": "Dimension", 3923 "description": "The minimum height of the row. The row will be rendered in the Docs editor at a height equal to or greater than this value in order to show all the content in the row's cells." 3924 } 3925 }, 3926 "type": "object" 3927 }, 3928 "TableRowStyleSuggestionState": { 3929 "description": "A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. For any field set to true, there is a new suggested value.", 3930 "id": "TableRowStyleSuggestionState", 3931 "properties": { 3932 "minRowHeightSuggested": { 3933 "description": "Indicates if there was a suggested change to min_row_height.", 3934 "type": "boolean" 3935 } 3936 }, 3937 "type": "object" 3938 }, 3939 "TableStyle": { 3940 "description": "Styles that apply to a table.", 3941 "id": "TableStyle", 3942 "properties": { 3943 "tableColumnProperties": { 3944 "description": "The properties of each column. Note that in Docs, tables contain rows and rows contain cells, similar to HTML. So the properties for a row can be found on the row's table_row_style.", 3945 "items": { 3946 "$ref": "TableColumnProperties" 3947 }, 3948 "type": "array" 3949 } 3950 }, 3951 "type": "object" 3952 }, 3953 "TextRun": { 3954 "description": "A ParagraphElement that represents a run of text that all has the same styling.", 3955 "id": "TextRun", 3956 "properties": { 3957 "content": { 3958 "description": "The text of this run. Any non-text elements in the run are replaced with the Unicode character U+E907.", 3959 "type": "string" 3960 }, 3961 "suggestedDeletionIds": { 3962 "description": "The suggested deletion IDs. If empty, then there are no suggested deletions of this content.", 3963 "items": { 3964 "type": "string" 3965 }, 3966 "type": "array" 3967 }, 3968 "suggestedInsertionIds": { 3969 "description": "The suggested insertion IDs. A TextRun may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion.", 3970 "items": { 3971 "type": "string" 3972 }, 3973 "type": "array" 3974 }, 3975 "suggestedTextStyleChanges": { 3976 "additionalProperties": { 3977 "$ref": "SuggestedTextStyle" 3978 }, 3979 "description": "The suggested text style changes to this run, keyed by suggestion ID.", 3980 "type": "object" 3981 }, 3982 "textStyle": { 3983 "$ref": "TextStyle", 3984 "description": "The text style of this run." 3985 } 3986 }, 3987 "type": "object" 3988 }, 3989 "TextStyle": { 3990 "description": "Represents the styling that can be applied to text. Inherited text styles are represented as unset fields in this message. A text style's parent depends on where the text style is defined: * The TextStyle of text in a Paragraph inherits from the paragraph's corresponding named style type. * The TextStyle on a named style inherits from the normal text named style. * The TextStyle of the normal text named style inherits from the default text style in the Docs editor. * The TextStyle on a Paragraph element that is contained in a table may inherit its text style from the table style. If the text style does not inherit from a parent, unsetting fields will revert the style to a value matching the defaults in the Docs editor.", 3991 "id": "TextStyle", 3992 "properties": { 3993 "backgroundColor": { 3994 "$ref": "OptionalColor", 3995 "description": "The background color of the text. If set, the color is either an RGB color or transparent, depending on the `color` field." 3996 }, 3997 "baselineOffset": { 3998 "description": "The text's vertical offset from its normal position. Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically rendered in a smaller font size, computed based on the `font_size` field. The `font_size` itself is not affected by changes in this field.", 3999 "enum": [ 4000 "BASELINE_OFFSET_UNSPECIFIED", 4001 "NONE", 4002 "SUPERSCRIPT", 4003 "SUBSCRIPT" 4004 ], 4005 "enumDescriptions": [ 4006 "The text's baseline offset is inherited from the parent.", 4007 "The text is not vertically offset.", 4008 "The text is vertically offset upwards (superscript).", 4009 "The text is vertically offset downwards (subscript)." 4010 ], 4011 "type": "string" 4012 }, 4013 "bold": { 4014 "description": "Whether or not the text is rendered as bold.", 4015 "type": "boolean" 4016 }, 4017 "fontSize": { 4018 "$ref": "Dimension", 4019 "description": "The size of the text's font." 4020 }, 4021 "foregroundColor": { 4022 "$ref": "OptionalColor", 4023 "description": "The foreground color of the text. If set, the color is either an RGB color or transparent, depending on the `color` field." 4024 }, 4025 "italic": { 4026 "description": "Whether or not the text is italicized.", 4027 "type": "boolean" 4028 }, 4029 "link": { 4030 "$ref": "Link", 4031 "description": "The hyperlink destination of the text. If unset, there is no link. Links are not inherited from parent text. Changing the link in an update request causes some other changes to the text style of the range: * When setting a link, the text foreground color will be updated to the default link color and the text will be underlined. If these fields are modified in the same request, those values will be used instead of the link defaults. * Setting a link on a text range that overlaps with an existing link will also update the existing link to point to the new URL. * Links are not settable on newline characters. As a result, setting a link on a text range that crosses a paragraph boundary, such as `\"ABC\\n123\"`, will separate the newline character(s) into their own text runs. The link will be applied separately to the runs before and after the newline. * Removing a link will update the text style of the range to match the style of the preceding text (or the default text styles if the preceding text is another link) unless different styles are being set in the same request." 4032 }, 4033 "smallCaps": { 4034 "description": "Whether or not the text is in small capital letters.", 4035 "type": "boolean" 4036 }, 4037 "strikethrough": { 4038 "description": "Whether or not the text is struck through.", 4039 "type": "boolean" 4040 }, 4041 "underline": { 4042 "description": "Whether or not the text is underlined.", 4043 "type": "boolean" 4044 }, 4045 "weightedFontFamily": { 4046 "$ref": "WeightedFontFamily", 4047 "description": "The font family and rendered weight of the text. If an update request specifies values for both `weighted_font_family` and `bold`, the `weighted_font_family` is applied first, then `bold`. If `weighted_font_family#weight` is not set, it defaults to `400`. If `weighted_font_family` is set, then `weighted_font_family#font_family` must also be set with a non-empty value. Otherwise, a 400 bad request error is returned." 4048 } 4049 }, 4050 "type": "object" 4051 }, 4052 "TextStyleSuggestionState": { 4053 "description": "A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. For any field set to true, there is a new suggested value.", 4054 "id": "TextStyleSuggestionState", 4055 "properties": { 4056 "backgroundColorSuggested": { 4057 "description": "Indicates if there was a suggested change to background_color.", 4058 "type": "boolean" 4059 }, 4060 "baselineOffsetSuggested": { 4061 "description": "Indicates if there was a suggested change to baseline_offset.", 4062 "type": "boolean" 4063 }, 4064 "boldSuggested": { 4065 "description": "Indicates if there was a suggested change to bold.", 4066 "type": "boolean" 4067 }, 4068 "fontSizeSuggested": { 4069 "description": "Indicates if there was a suggested change to font_size.", 4070 "type": "boolean" 4071 }, 4072 "foregroundColorSuggested": { 4073 "description": "Indicates if there was a suggested change to foreground_color.", 4074 "type": "boolean" 4075 }, 4076 "italicSuggested": { 4077 "description": "Indicates if there was a suggested change to italic.", 4078 "type": "boolean" 4079 }, 4080 "linkSuggested": { 4081 "description": "Indicates if there was a suggested change to link.", 4082 "type": "boolean" 4083 }, 4084 "smallCapsSuggested": { 4085 "description": "Indicates if there was a suggested change to small_caps.", 4086 "type": "boolean" 4087 }, 4088 "strikethroughSuggested": { 4089 "description": "Indicates if there was a suggested change to strikethrough.", 4090 "type": "boolean" 4091 }, 4092 "underlineSuggested": { 4093 "description": "Indicates if there was a suggested change to underline.", 4094 "type": "boolean" 4095 }, 4096 "weightedFontFamilySuggested": { 4097 "description": "Indicates if there was a suggested change to weighted_font_family.", 4098 "type": "boolean" 4099 } 4100 }, 4101 "type": "object" 4102 }, 4103 "UnmergeTableCellsRequest": { 4104 "description": "Unmerges cells in a Table.", 4105 "id": "UnmergeTableCellsRequest", 4106 "properties": { 4107 "tableRange": { 4108 "$ref": "TableRange", 4109 "description": "The table range specifying which cells of the table to unmerge. All merged cells in this range will be unmerged, and cells that are already unmerged will not be affected. If the range has no merged cells, the request will do nothing. If there is text in any of the merged cells, the text will remain in the \"head\" cell of the resulting block of unmerged cells. The \"head\" cell is the upper-left cell when the content direction is from left to right, and the upper-right otherwise." 4110 } 4111 }, 4112 "type": "object" 4113 }, 4114 "UpdateDocumentStyleRequest": { 4115 "description": "Updates the DocumentStyle.", 4116 "id": "UpdateDocumentStyleRequest", 4117 "properties": { 4118 "documentStyle": { 4119 "$ref": "DocumentStyle", 4120 "description": "The styles to set on the document. Certain document style changes may cause other changes in order to mirror the behavior of the Docs editor. See the documentation of DocumentStyle for more information." 4121 }, 4122 "fields": { 4123 "description": "The fields that should be updated. At least one field must be specified. The root `document_style` is implied and should not be specified. A single `\"*\"` can be used as short-hand for listing every field. For example to update the background, set `fields` to `\"background\"`.", 4124 "format": "google-fieldmask", 4125 "type": "string" 4126 } 4127 }, 4128 "type": "object" 4129 }, 4130 "UpdateParagraphStyleRequest": { 4131 "description": "Update the styling of all paragraphs that overlap with the given range.", 4132 "id": "UpdateParagraphStyleRequest", 4133 "properties": { 4134 "fields": { 4135 "description": "The fields that should be updated. At least one field must be specified. The root `paragraph_style` is implied and should not be specified. For example, to update the paragraph style's alignment property, set `fields` to `\"alignment\"`. To reset a property to its default value, include its field name in the field mask but leave the field itself unset.", 4136 "format": "google-fieldmask", 4137 "type": "string" 4138 }, 4139 "paragraphStyle": { 4140 "$ref": "ParagraphStyle", 4141 "description": "The styles to set on the paragraphs. Certain paragraph style changes may cause other changes in order to mirror the behavior of the Docs editor. See the documentation of ParagraphStyle for more information." 4142 }, 4143 "range": { 4144 "$ref": "Range", 4145 "description": "The range overlapping the paragraphs to style." 4146 } 4147 }, 4148 "type": "object" 4149 }, 4150 "UpdateSectionStyleRequest": { 4151 "description": "Updates the SectionStyle.", 4152 "id": "UpdateSectionStyleRequest", 4153 "properties": { 4154 "fields": { 4155 "description": "The fields that should be updated. At least one field must be specified. The root `section_style` is implied and must not be specified. A single `\"*\"` can be used as short-hand for listing every field. For example to update the left margin, set `fields` to `\"margin_left\"`.", 4156 "format": "google-fieldmask", 4157 "type": "string" 4158 }, 4159 "range": { 4160 "$ref": "Range", 4161 "description": "The range overlapping the sections to style. Because section breaks can only be inserted inside the body, the segment ID field must be empty." 4162 }, 4163 "sectionStyle": { 4164 "$ref": "SectionStyle", 4165 "description": "The styles to be set on the section. Certain section style changes may cause other changes in order to mirror the behavior of the Docs editor. See the documentation of SectionStyle for more information." 4166 } 4167 }, 4168 "type": "object" 4169 }, 4170 "UpdateTableCellStyleRequest": { 4171 "description": "Updates the style of a range of table cells.", 4172 "id": "UpdateTableCellStyleRequest", 4173 "properties": { 4174 "fields": { 4175 "description": "The fields that should be updated. At least one field must be specified. The root `tableCellStyle` is implied and should not be specified. A single `\"*\"` can be used as short-hand for listing every field. For example to update the table cell background color, set `fields` to `\"backgroundColor\"`. To reset a property to its default value, include its field name in the field mask but leave the field itself unset.", 4176 "format": "google-fieldmask", 4177 "type": "string" 4178 }, 4179 "tableCellStyle": { 4180 "$ref": "TableCellStyle", 4181 "description": "The style to set on the table cells. When updating borders, if a cell shares a border with an adjacent cell, the corresponding border property of the adjacent cell is updated as well. Borders that are merged and invisible are not updated. Since updating a border shared by adjacent cells in the same request can cause conflicting border updates, border updates are applied in the following order: - `border_right` - `border_left` - `border_bottom` - `border_top`" 4182 }, 4183 "tableRange": { 4184 "$ref": "TableRange", 4185 "description": "The table range representing the subset of the table to which the updates are applied." 4186 }, 4187 "tableStartLocation": { 4188 "$ref": "Location", 4189 "description": "The location where the table starts in the document. When specified, the updates are applied to all the cells in the table." 4190 } 4191 }, 4192 "type": "object" 4193 }, 4194 "UpdateTableColumnPropertiesRequest": { 4195 "description": "Updates the TableColumnProperties of columns in a table.", 4196 "id": "UpdateTableColumnPropertiesRequest", 4197 "properties": { 4198 "columnIndices": { 4199 "description": "The list of zero-based column indices whose property should be updated. If no indices are specified, all columns will be updated.", 4200 "items": { 4201 "format": "int32", 4202 "type": "integer" 4203 }, 4204 "type": "array" 4205 }, 4206 "fields": { 4207 "description": "The fields that should be updated. At least one field must be specified. The root `tableColumnProperties` is implied and should not be specified. A single `\"*\"` can be used as short-hand for listing every field. For example to update the column width, set `fields` to `\"width\"`.", 4208 "format": "google-fieldmask", 4209 "type": "string" 4210 }, 4211 "tableColumnProperties": { 4212 "$ref": "TableColumnProperties", 4213 "description": "The table column properties to update. If the value of `table_column_properties#width` is less than 5 points (5/72 inch), a 400 bad request error is returned." 4214 }, 4215 "tableStartLocation": { 4216 "$ref": "Location", 4217 "description": "The location where the table starts in the document." 4218 } 4219 }, 4220 "type": "object" 4221 }, 4222 "UpdateTableRowStyleRequest": { 4223 "description": "Updates the TableRowStyle of rows in a table.", 4224 "id": "UpdateTableRowStyleRequest", 4225 "properties": { 4226 "fields": { 4227 "description": "The fields that should be updated. At least one field must be specified. The root `tableRowStyle` is implied and should not be specified. A single `\"*\"` can be used as short-hand for listing every field. For example to update the minimum row height, set `fields` to `\"min_row_height\"`.", 4228 "format": "google-fieldmask", 4229 "type": "string" 4230 }, 4231 "rowIndices": { 4232 "description": "The list of zero-based row indices whose style should be updated. If no indices are specified, all rows will be updated.", 4233 "items": { 4234 "format": "int32", 4235 "type": "integer" 4236 }, 4237 "type": "array" 4238 }, 4239 "tableRowStyle": { 4240 "$ref": "TableRowStyle", 4241 "description": "The styles to be set on the rows." 4242 }, 4243 "tableStartLocation": { 4244 "$ref": "Location", 4245 "description": "The location where the table starts in the document." 4246 } 4247 }, 4248 "type": "object" 4249 }, 4250 "UpdateTextStyleRequest": { 4251 "description": "Update the styling of text.", 4252 "id": "UpdateTextStyleRequest", 4253 "properties": { 4254 "fields": { 4255 "description": "The fields that should be updated. At least one field must be specified. The root `text_style` is implied and should not be specified. A single `\"*\"` can be used as short-hand for listing every field. For example, to update the text style to bold, set `fields` to `\"bold\"`. To reset a property to its default value, include its field name in the field mask but leave the field itself unset.", 4256 "format": "google-fieldmask", 4257 "type": "string" 4258 }, 4259 "range": { 4260 "$ref": "Range", 4261 "description": "The range of text to style. The range may be extended to include adjacent newlines. If the range fully contains a paragraph belonging to a list, the paragraph's bullet is also updated with the matching text style. Ranges cannot be inserted inside a relative UpdateTextStyleRequest." 4262 }, 4263 "textStyle": { 4264 "$ref": "TextStyle", 4265 "description": "The styles to set on the text. If the value for a particular style matches that of the parent, that style will be set to inherit. Certain text style changes may cause other changes in order to to mirror the behavior of the Docs editor. See the documentation of TextStyle for more information." 4266 } 4267 }, 4268 "type": "object" 4269 }, 4270 "WeightedFontFamily": { 4271 "description": "Represents a font family and weight of text.", 4272 "id": "WeightedFontFamily", 4273 "properties": { 4274 "fontFamily": { 4275 "description": "The font family of the text. The font family can be any font from the Font menu in Docs or from [Google Fonts] (https://fonts.google.com/). If the font name is unrecognized, the text is rendered in `Arial`.", 4276 "type": "string" 4277 }, 4278 "weight": { 4279 "description": "The weight of the font. This field can have any value that is a multiple of `100` between `100` and `900`, inclusive. This range corresponds to the numerical values described in the CSS 2.1 Specification, [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), with non-numerical values disallowed. The default value is `400` (\"normal\"). The font weight makes up just one component of the rendered font weight. The rendered weight is determined by a combination of the `weight` and the text style's resolved `bold` value, after accounting for inheritance: * If the text is bold and the weight is less than `400`, the rendered weight is 400. * If the text is bold and the weight is greater than or equal to `400` but is less than `700`, the rendered weight is `700`. * If the weight is greater than or equal to `700`, the rendered weight is equal to the weight. * If the text is not bold, the rendered weight is equal to the weight.", 4280 "format": "int32", 4281 "type": "integer" 4282 } 4283 }, 4284 "type": "object" 4285 }, 4286 "WriteControl": { 4287 "description": "Provides control over how write requests are executed.", 4288 "id": "WriteControl", 4289 "properties": { 4290 "requiredRevisionId": { 4291 "description": "The revision ID of the document that the write request will be applied to. If this is not the latest revision of the document, the request will not be processed and will return a 400 bad request error. When a required revision ID is returned in a response, it indicates the revision ID of the document after the request was applied.", 4292 "type": "string" 4293 }, 4294 "targetRevisionId": { 4295 "description": "The target revision ID of the document that the write request will be applied to. If collaborator changes have occurred after the document was read using the API, the changes produced by this write request will be transformed against the collaborator changes. This results in a new revision of the document which incorporates both the changes in the request and the collaborator changes, and the Docs server will resolve conflicting changes. When using `target_revision_id`, the API client can be thought of as another collaborator of the document. The target revision ID may only be used to write to recent versions of a document. If the target revision is too far behind the latest revision, the request will not be processed and will return a 400 bad request error and the request should be retried after reading the latest version of the document. In most cases a `revision_id` will remain valid for use as a target revision for several minutes after it is read, but for frequently-edited documents this window may be shorter.", 4296 "type": "string" 4297 } 4298 }, 4299 "type": "object" 4300 } 4301 }, 4302 "servicePath": "", 4303 "title": "Google Docs API", 4304 "version": "v1", 4305 "version_module": true 4306}