v1.d.ts 133 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038
/**
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import { OAuth2Client, JWT, Compute, UserRefreshClient } from 'google-auth-library';
import { GoogleConfigurable, MethodOptions, GlobalOptions, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
import { GaxiosPromise } from 'gaxios';
export declare namespace docs_v1 {
    export interface Options extends GlobalOptions {
        version: 'v1';
    }
    interface StandardParameters {
        /**
         * V1 error format.
         */
        '$.xgafv'?: string;
        /**
         * OAuth access token.
         */
        access_token?: string;
        /**
         * Data format for response.
         */
        alt?: string;
        /**
         * JSONP
         */
        callback?: string;
        /**
         * Selector specifying which fields to include in a partial response.
         */
        fields?: string;
        /**
         * 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.
         */
        key?: string;
        /**
         * OAuth 2.0 token for the current user.
         */
        oauth_token?: string;
        /**
         * Returns response with indentations and line breaks.
         */
        prettyPrint?: boolean;
        /**
         * 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.
         */
        quotaUser?: string;
        /**
         * Legacy upload protocol for media (e.g. "media", "multipart").
         */
        uploadType?: string;
        /**
         * Upload protocol for media (e.g. "raw", "multipart").
         */
        upload_protocol?: string;
    }
    /**
     * Google Docs API
     *
     * Reads and writes Google Docs documents.
     *
     * @example
     * const {google} = require('googleapis');
     * const docs = google.docs('v1');
     *
     * @namespace docs
     * @type {Function}
     * @version v1
     * @variation v1
     * @param {object=} options Options for Docs
     */
    export class Docs {
        context: APIRequestContext;
        documents: Resource$Documents;
        constructor(options: GlobalOptions, google?: GoogleConfigurable);
    }
    /**
     * A ParagraphElement representing a spot in the text that is dynamically replaced with content that can change over time, like a page number.
     */
    export interface Schema$AutoText {
        /**
         * The suggested deletion IDs. If empty, then there are no suggested deletions of this content.
         */
        suggestedDeletionIds?: string[] | null;
        /**
         * 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.
         */
        suggestedInsertionIds?: string[] | null;
        /**
         * The suggested text style changes to this AutoText, keyed by suggestion ID.
         */
        suggestedTextStyleChanges?: {
            [key: string]: Schema$SuggestedTextStyle;
        } | null;
        /**
         * The text style of this AutoText.
         */
        textStyle?: Schema$TextStyle;
        /**
         * The type of this auto text.
         */
        type?: string | null;
    }
    /**
     * Represents the background of a document.
     */
    export interface Schema$Background {
        /**
         * The background color.
         */
        color?: Schema$OptionalColor;
    }
    /**
     * 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.
     */
    export interface Schema$BackgroundSuggestionState {
        /**
         * Indicates whether the current background color has been modified in this suggestion.
         */
        backgroundColorSuggested?: boolean | null;
    }
    /**
     * Request message for BatchUpdateDocument.
     */
    export interface Schema$BatchUpdateDocumentRequest {
        /**
         * A list of updates to apply to the document.
         */
        requests?: Schema$Request[];
        /**
         * Provides control over how write requests are executed.
         */
        writeControl?: Schema$WriteControl;
    }
    /**
     * Response message from a BatchUpdateDocument request.
     */
    export interface Schema$BatchUpdateDocumentResponse {
        /**
         * The ID of the document to which the updates were applied to.
         */
        documentId?: string | null;
        /**
         * The reply of the updates. This maps 1:1 with the updates, although replies to some requests may be empty.
         */
        replies?: Schema$Response[];
        /**
         * The updated write control after applying the request.
         */
        writeControl?: Schema$WriteControl;
    }
    /**
     * The document body.  The body typically contains the full document contents except for headers, footers and footnotes.
     */
    export interface Schema$Body {
        /**
         * The contents of the body.  The indexes for the body's content begin at zero.
         */
        content?: Schema$StructuralElement[];
    }
    /**
     * Describes the bullet of a paragraph.
     */
    export interface Schema$Bullet {
        /**
         * The ID of the list this paragraph belongs to.
         */
        listId?: string | null;
        /**
         * The nesting level of this paragraph in the list.
         */
        nestingLevel?: number | null;
        /**
         * The paragraph specific text style applied to this bullet.
         */
        textStyle?: Schema$TextStyle;
    }
    /**
     * 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.
     */
    export interface Schema$BulletSuggestionState {
        /**
         * Indicates if there was a suggested change to the list_id.
         */
        listIdSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to the nesting_level.
         */
        nestingLevelSuggested?: boolean | null;
        /**
         * A mask that indicates which of the fields in text style have been changed in this suggestion.
         */
        textStyleSuggestionState?: Schema$TextStyleSuggestionState;
    }
    /**
     * A solid color.
     */
    export interface Schema$Color {
        /**
         * The RGB color value.
         */
        rgbColor?: Schema$RgbColor;
    }
    /**
     * A ParagraphElement representing a column break. A column break makes the subsequent text start at the top of the next column.
     */
    export interface Schema$ColumnBreak {
        /**
         * The suggested deletion IDs. If empty, then there are no suggested deletions of this content.
         */
        suggestedDeletionIds?: string[] | null;
        /**
         * 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.
         */
        suggestedInsertionIds?: string[] | null;
        /**
         * The suggested text style changes to this ColumnBreak, keyed by suggestion ID.
         */
        suggestedTextStyleChanges?: {
            [key: string]: Schema$SuggestedTextStyle;
        } | null;
        /**
         * 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.
         */
        textStyle?: Schema$TextStyle;
    }
    /**
     * Creates a Footer. The new footer will be applied to SectionStyle or the DocumentStyle.  If a footer of the specified type already exists then a 400 bad request error will be returned.
     */
    export interface Schema$CreateFooterRequest {
        /**
         * The type of footer to create.
         */
        type?: string | null;
    }
    /**
     * The result of creating a footer.
     */
    export interface Schema$CreateFooterResponse {
        /**
         * The ID of the created footer.
         */
        footerId?: string | null;
    }
    /**
     * Creates a Header. The new header will be applied to SectionStyle or the DocumentStyle.  If a header of the specified type already exists then a 400 bad request error will be returned.
     */
    export interface Schema$CreateHeaderRequest {
        /**
         * The type of header to create.
         */
        type?: string | null;
    }
    /**
     * The result of creating a header.
     */
    export interface Schema$CreateHeaderResponse {
        /**
         * The ID of the created header.
         */
        headerId?: string | null;
    }
    /**
     * Creates a NamedRange referencing the given range.
     */
    export interface Schema$CreateNamedRangeRequest {
        /**
         * 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.
         */
        name?: string | null;
        /**
         * The range to apply the name to.
         */
        range?: Schema$Range;
    }
    /**
     * The result of creating a named range.
     */
    export interface Schema$CreateNamedRangeResponse {
        /**
         * The ID of the created named range.
         */
        namedRangeId?: string | null;
    }
    /**
     * 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.
     */
    export interface Schema$CreateParagraphBulletsRequest {
        /**
         * The kinds of bullet glyphs to be used.
         */
        bulletPreset?: string | null;
        /**
         * The range to apply the bullet preset to.
         */
        range?: Schema$Range;
    }
    /**
     * 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.
     */
    export interface Schema$CropProperties {
        /**
         * The clockwise rotation angle of the crop rectangle around its center, in radians. Rotation is applied after the offsets.
         */
        angle?: number | null;
        /**
         * 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.
         */
        offsetBottom?: number | null;
        /**
         * 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.
         */
        offsetLeft?: number | null;
        /**
         * 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.
         */
        offsetRight?: number | null;
        /**
         * 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.
         */
        offsetTop?: number | null;
    }
    /**
     * 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.
     */
    export interface Schema$CropPropertiesSuggestionState {
        /**
         * Indicates if there was a suggested change to angle.
         */
        angleSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to offset_bottom.
         */
        offsetBottomSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to offset_left.
         */
        offsetLeftSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to offset_right.
         */
        offsetRightSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to offset_top.
         */
        offsetTopSuggested?: boolean | null;
    }
    /**
     * Deletes content from the document.
     */
    export interface Schema$DeleteContentRangeRequest {
        /**
         * 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.
         */
        range?: Schema$Range;
    }
    /**
     * Deletes a NamedRange.
     */
    export interface Schema$DeleteNamedRangeRequest {
        /**
         * The name of the range(s) to delete. All named ranges with the given name will be deleted.
         */
        name?: string | null;
        /**
         * The ID of the named range to delete.
         */
        namedRangeId?: string | null;
    }
    /**
     * 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.
     */
    export interface Schema$DeleteParagraphBulletsRequest {
        /**
         * The range to delete bullets from.
         */
        range?: Schema$Range;
    }
    /**
     * Deletes a PositionedObject from the document.
     */
    export interface Schema$DeletePositionedObjectRequest {
        /**
         * The ID of the positioned object to delete.
         */
        objectId?: string | null;
    }
    /**
     * Deletes a column from a table.
     */
    export interface Schema$DeleteTableColumnRequest {
        /**
         * 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.
         */
        tableCellLocation?: Schema$TableCellLocation;
    }
    /**
     * Deletes a row from a table.
     */
    export interface Schema$DeleteTableRowRequest {
        /**
         * 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.
         */
        tableCellLocation?: Schema$TableCellLocation;
    }
    /**
     * A magnitude in a single direction in the specified units.
     */
    export interface Schema$Dimension {
        /**
         * The magnitude.
         */
        magnitude?: number | null;
        /**
         * The units for magnitude.
         */
        unit?: string | null;
    }
    /**
     * A Google Docs document.
     */
    export interface Schema$Document {
        /**
         * Output only. The main body of the document.
         */
        body?: Schema$Body;
        /**
         * Output only. The ID of the document.
         */
        documentId?: string | null;
        /**
         * Output only. The style of the document.
         */
        documentStyle?: Schema$DocumentStyle;
        /**
         * Output only. The footers in the document, keyed by footer ID.
         */
        footers?: {
            [key: string]: Schema$Footer;
        } | null;
        /**
         * Output only. The footnotes in the document, keyed by footnote ID.
         */
        footnotes?: {
            [key: string]: Schema$Footnote;
        } | null;
        /**
         * Output only. The headers in the document, keyed by header ID.
         */
        headers?: {
            [key: string]: Schema$Header;
        } | null;
        /**
         * Output only. The inline objects in the document, keyed by object ID.
         */
        inlineObjects?: {
            [key: string]: Schema$InlineObject;
        } | null;
        /**
         * Output only. The lists in the document, keyed by list ID.
         */
        lists?: {
            [key: string]: Schema$List;
        } | null;
        /**
         * Output only. The named ranges in the document, keyed by name.
         */
        namedRanges?: {
            [key: string]: Schema$NamedRanges;
        } | null;
        /**
         * Output only. The named styles of the document.
         */
        namedStyles?: Schema$NamedStyles;
        /**
         * Output only. The positioned objects in the document, keyed by object ID.
         */
        positionedObjects?: {
            [key: string]: Schema$PositionedObject;
        } | null;
        /**
         * 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.
         */
        revisionId?: string | null;
        /**
         * Output only. The suggested changes to the style of the document, keyed by suggestion ID.
         */
        suggestedDocumentStyleChanges?: {
            [key: string]: Schema$SuggestedDocumentStyle;
        } | null;
        /**
         * Output only. The suggested changes to the named styles of the document, keyed by suggestion ID.
         */
        suggestedNamedStylesChanges?: {
            [key: string]: Schema$SuggestedNamedStyles;
        } | null;
        /**
         * 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.
         */
        suggestionsViewMode?: string | null;
        /**
         * The title of the document.
         */
        title?: string | null;
    }
    /**
     * The style of the document.
     */
    export interface Schema$DocumentStyle {
        /**
         * The background of the document. Documents cannot have a transparent background color.
         */
        background?: Schema$Background;
        /**
         * The ID of the default footer. If not set, there is no default footer.  This property is read-only.
         */
        defaultFooterId?: string | null;
        /**
         * The ID of the default header. If not set, there is no default header.  This property is read-only.
         */
        defaultHeaderId?: string | null;
        /**
         * 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.
         */
        evenPageFooterId?: string | null;
        /**
         * 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.
         */
        evenPageHeaderId?: string | null;
        /**
         * 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.
         */
        firstPageFooterId?: string | null;
        /**
         * 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.
         */
        firstPageHeaderId?: string | null;
        /**
         * The bottom page margin.  Updating the bottom page margin on the document style clears the bottom page margin on all section styles.
         */
        marginBottom?: Schema$Dimension;
        /**
         * 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.
         */
        marginLeft?: Schema$Dimension;
        /**
         * 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.
         */
        marginRight?: Schema$Dimension;
        /**
         * The top page margin.  Updating the top page margin on the document style clears the top page margin on all section styles.
         */
        marginTop?: Schema$Dimension;
        /**
         * The page number from which to start counting the number of pages.
         */
        pageNumberStart?: number | null;
        /**
         * The size of a page in the document.
         */
        pageSize?: Schema$Size;
        /**
         * Indicates whether to use the even page header / footer IDs for the even pages.  This property is read-only.
         */
        useEvenPageHeaderFooter?: boolean | null;
        /**
         * Indicates whether to use the first page header / footer IDs for the first page.  This property is read-only.
         */
        useFirstPageHeaderFooter?: boolean | null;
    }
    /**
     * 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.
     */
    export interface Schema$DocumentStyleSuggestionState {
        /**
         * A mask that indicates which of the fields in background have been changed in this suggestion.
         */
        backgroundSuggestionState?: Schema$BackgroundSuggestionState;
        /**
         * Indicates if there was a suggested change to default_footer_id.
         */
        defaultFooterIdSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to default_header_id.
         */
        defaultHeaderIdSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to even_page_footer_id.
         */
        evenPageFooterIdSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to even_page_header_id.
         */
        evenPageHeaderIdSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to first_page_footer_id.
         */
        firstPageFooterIdSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to first_page_header_id.
         */
        firstPageHeaderIdSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to margin_bottom.
         */
        marginBottomSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to margin_left.
         */
        marginLeftSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to margin_right.
         */
        marginRightSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to margin_top.
         */
        marginTopSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to page_number_start.
         */
        pageNumberStartSuggested?: boolean | null;
        /**
         * A mask that indicates which of the fields in size have been changed in this suggestion.
         */
        pageSizeSuggestionState?: Schema$SizeSuggestionState;
        /**
         * Indicates if there was a suggested change to use_even_page_header_footer.
         */
        useEvenPageHeaderFooterSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to use_first_page_header_footer.
         */
        useFirstPageHeaderFooterSuggested?: boolean | null;
    }
    /**
     * The properties of an embedded drawing.
     */
    export interface Schema$EmbeddedDrawingProperties {
    }
    /**
     * 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.
     */
    export interface Schema$EmbeddedDrawingPropertiesSuggestionState {
    }
    /**
     * An embedded object in the document.
     */
    export interface Schema$EmbeddedObject {
        /**
         * The description of the embedded object. The `title` and `description` are both combined to display alt text.
         */
        description?: string | null;
        /**
         * The properties of an embedded drawing.
         */
        embeddedDrawingProperties?: Schema$EmbeddedDrawingProperties;
        /**
         * The border of the embedded object.
         */
        embeddedObjectBorder?: Schema$EmbeddedObjectBorder;
        /**
         * The properties of an image.
         */
        imageProperties?: Schema$ImageProperties;
        /**
         * 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.
         */
        linkedContentReference?: Schema$LinkedContentReference;
        /**
         * The bottom margin of the embedded object.
         */
        marginBottom?: Schema$Dimension;
        /**
         * The left margin of the embedded object.
         */
        marginLeft?: Schema$Dimension;
        /**
         * The right margin of the embedded object.
         */
        marginRight?: Schema$Dimension;
        /**
         * The top margin of the embedded object.
         */
        marginTop?: Schema$Dimension;
        /**
         * The visible size of the image after cropping.
         */
        size?: Schema$Size;
        /**
         * The title of the embedded object. The `title` and `description` are both combined to display alt text.
         */
        title?: string | null;
    }
    /**
     * A border around an EmbeddedObject.
     */
    export interface Schema$EmbeddedObjectBorder {
        /**
         * The color of the border.
         */
        color?: Schema$OptionalColor;
        /**
         * The dash style of the border.
         */
        dashStyle?: string | null;
        /**
         * The property state of the border property.
         */
        propertyState?: string | null;
        /**
         * The width of the border.
         */
        width?: Schema$Dimension;
    }
    /**
     * 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.
     */
    export interface Schema$EmbeddedObjectBorderSuggestionState {
        /**
         * Indicates if there was a suggested change to color.
         */
        colorSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to dash_style.
         */
        dashStyleSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to property_state.
         */
        propertyStateSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to width.
         */
        widthSuggested?: boolean | null;
    }
    /**
     * 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.
     */
    export interface Schema$EmbeddedObjectSuggestionState {
        /**
         * Indicates if there was a suggested change to description.
         */
        descriptionSuggested?: boolean | null;
        /**
         * A mask that indicates which of the fields in embedded_drawing_properties have been changed in this suggestion.
         */
        embeddedDrawingPropertiesSuggestionState?: Schema$EmbeddedDrawingPropertiesSuggestionState;
        /**
         * A mask that indicates which of the fields in embedded_object_border have been changed in this suggestion.
         */
        embeddedObjectBorderSuggestionState?: Schema$EmbeddedObjectBorderSuggestionState;
        /**
         * A mask that indicates which of the fields in image_properties have been changed in this suggestion.
         */
        imagePropertiesSuggestionState?: Schema$ImagePropertiesSuggestionState;
        /**
         * A mask that indicates which of the fields in linked_content_reference have been changed in this suggestion.
         */
        linkedContentReferenceSuggestionState?: Schema$LinkedContentReferenceSuggestionState;
        /**
         * Indicates if there was a suggested change to margin_bottom.
         */
        marginBottomSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to margin_left.
         */
        marginLeftSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to margin_right.
         */
        marginRightSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to margin_top.
         */
        marginTopSuggested?: boolean | null;
        /**
         * A mask that indicates which of the fields in size have been changed in this suggestion.
         */
        sizeSuggestionState?: Schema$SizeSuggestionState;
        /**
         * Indicates if there was a suggested change to title.
         */
        titleSuggested?: boolean | null;
    }
    /**
     * Location at the end of a body, header, footer or footnote. The location is immediately before the last newline in the document segment.
     */
    export interface Schema$EndOfSegmentLocation {
        /**
         * The ID of the header, footer or footnote the location is in. An empty segment ID signifies the document's body.
         */
        segmentId?: string | null;
    }
    /**
     * A ParagraphElement representing an equation.
     */
    export interface Schema$Equation {
        /**
         * The suggested deletion IDs. If empty, then there are no suggested deletions of this content.
         */
        suggestedDeletionIds?: string[] | null;
        /**
         * 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.
         */
        suggestedInsertionIds?: string[] | null;
    }
    /**
     * A document footer.
     */
    export interface Schema$Footer {
        /**
         * The contents of the footer.  The indexes for a footer's content begin at zero.
         */
        content?: Schema$StructuralElement[];
        /**
         * The ID of the footer.
         */
        footerId?: string | null;
    }
    /**
     * A document footnote.
     */
    export interface Schema$Footnote {
        /**
         * The contents of the footnote.  The indexes for a footnote's content begin at zero.
         */
        content?: Schema$StructuralElement[];
        /**
         * The ID of the footnote.
         */
        footnoteId?: string | null;
    }
    /**
     * A ParagraphElement representing a footnote reference. A footnote reference is the inline content rendered with a number and is used to identify the footnote.
     */
    export interface Schema$FootnoteReference {
        /**
         * The ID of the footnote that contains the content of this footnote reference.
         */
        footnoteId?: string | null;
        /**
         * The rendered number of this footnote.
         */
        footnoteNumber?: string | null;
        /**
         * The suggested deletion IDs. If empty, then there are no suggested deletions of this content.
         */
        suggestedDeletionIds?: string[] | null;
        /**
         * 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.
         */
        suggestedInsertionIds?: string[] | null;
        /**
         * The suggested text style changes to this FootnoteReference, keyed by suggestion ID.
         */
        suggestedTextStyleChanges?: {
            [key: string]: Schema$SuggestedTextStyle;
        } | null;
        /**
         * The text style of this FootnoteReference.
         */
        textStyle?: Schema$TextStyle;
    }
    /**
     * A document header.
     */
    export interface Schema$Header {
        /**
         * The contents of the header.  The indexes for a header's content begin at zero.
         */
        content?: Schema$StructuralElement[];
        /**
         * The ID of the header.
         */
        headerId?: string | null;
    }
    /**
     * A ParagraphElement representing a horizontal line.
     */
    export interface Schema$HorizontalRule {
        /**
         * The suggested deletion IDs. If empty, then there are no suggested deletions of this content.
         */
        suggestedDeletionIds?: string[] | null;
        /**
         * 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.
         */
        suggestedInsertionIds?: string[] | null;
        /**
         * The suggested text style changes to this HorizontalRule, keyed by suggestion ID.
         */
        suggestedTextStyleChanges?: {
            [key: string]: Schema$SuggestedTextStyle;
        } | null;
        /**
         * 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.
         */
        textStyle?: Schema$TextStyle;
    }
    /**
     * The properties of an image.
     */
    export interface Schema$ImageProperties {
        /**
         * The clockwise rotation angle of the image, in radians.
         */
        angle?: number | null;
        /**
         * The brightness effect of the image. The value should be in the interval [-1.0, 1.0], where 0 means no effect.
         */
        brightness?: number | null;
        /**
         * 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.
         */
        contentUri?: string | null;
        /**
         * The contrast effect of the image. The value should be in the interval [-1.0, 1.0], where 0 means no effect.
         */
        contrast?: number | null;
        /**
         * The crop properties of the image.
         */
        cropProperties?: Schema$CropProperties;
        /**
         * The source URI is the URI used to insert the image. The source URI can be empty.
         */
        sourceUri?: string | null;
        /**
         * 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.
         */
        transparency?: number | null;
    }
    /**
     * 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.
     */
    export interface Schema$ImagePropertiesSuggestionState {
        /**
         * Indicates if there was a suggested change to angle.
         */
        angleSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to brightness.
         */
        brightnessSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to content_uri.
         */
        contentUriSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to contrast.
         */
        contrastSuggested?: boolean | null;
        /**
         * A mask that indicates which of the fields in crop_properties have been changed in this suggestion.
         */
        cropPropertiesSuggestionState?: Schema$CropPropertiesSuggestionState;
        /**
         * Indicates if there was a suggested change to source_uri.
         */
        sourceUriSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to transparency.
         */
        transparencySuggested?: boolean | null;
    }
    /**
     * An object that appears inline with text. An InlineObject contains an EmbeddedObject such as an image.
     */
    export interface Schema$InlineObject {
        /**
         * The properties of this inline object.
         */
        inlineObjectProperties?: Schema$InlineObjectProperties;
        /**
         * The ID of this inline object.
         */
        objectId?: string | null;
        /**
         * The suggested deletion IDs. If empty, then there are no suggested deletions of this content.
         */
        suggestedDeletionIds?: string[] | null;
        /**
         * The suggested changes to the inline object properties, keyed by suggestion ID.
         */
        suggestedInlineObjectPropertiesChanges?: {
            [key: string]: Schema$SuggestedInlineObjectProperties;
        } | null;
        /**
         * The suggested insertion ID. If empty, then this is not a suggested insertion.
         */
        suggestedInsertionId?: string | null;
    }
    /**
     * A ParagraphElement that contains an InlineObject.
     */
    export interface Schema$InlineObjectElement {
        /**
         * The ID of the InlineObject this element contains.
         */
        inlineObjectId?: string | null;
        /**
         * The suggested deletion IDs. If empty, then there are no suggested deletions of this content.
         */
        suggestedDeletionIds?: string[] | null;
        /**
         * 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.
         */
        suggestedInsertionIds?: string[] | null;
        /**
         * The suggested text style changes to this InlineObject, keyed by suggestion ID.
         */
        suggestedTextStyleChanges?: {
            [key: string]: Schema$SuggestedTextStyle;
        } | null;
        /**
         * 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.
         */
        textStyle?: Schema$TextStyle;
    }
    /**
     * Properties of an InlineObject.
     */
    export interface Schema$InlineObjectProperties {
        /**
         * The embedded object of this inline object.
         */
        embeddedObject?: Schema$EmbeddedObject;
    }
    /**
     * 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.
     */
    export interface Schema$InlineObjectPropertiesSuggestionState {
        /**
         * A mask that indicates which of the fields in embedded_object have been changed in this suggestion.
         */
        embeddedObjectSuggestionState?: Schema$EmbeddedObjectSuggestionState;
    }
    /**
     * Inserts an InlineObject containing an image at the given location.
     */
    export interface Schema$InsertInlineImageRequest {
        /**
         * Inserts the text at the end of a header, footer or the document body.  Inline images cannot be inserted inside a footnote.
         */
        endOfSegmentLocation?: Schema$EndOfSegmentLocation;
        /**
         * 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.
         */
        location?: Schema$Location;
        /**
         * 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.
         */
        objectSize?: Schema$Size;
        /**
         * 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.
         */
        uri?: string | null;
    }
    /**
     * The result of inserting an inline image.
     */
    export interface Schema$InsertInlineImageResponse {
        /**
         * The ID of the created InlineObject.
         */
        objectId?: string | null;
    }
    /**
     * The result of inserting an embedded Google Sheets chart.
     */
    export interface Schema$InsertInlineSheetsChartResponse {
        /**
         * The object ID of the inserted chart.
         */
        objectId?: string | null;
    }
    /**
     * Inserts a page break followed by a newline at the specified location.
     */
    export interface Schema$InsertPageBreakRequest {
        /**
         * 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.
         */
        endOfSegmentLocation?: Schema$EndOfSegmentLocation;
        /**
         * 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.
         */
        location?: Schema$Location;
    }
    /**
     * Inserts an empty column into a table.
     */
    export interface Schema$InsertTableColumnRequest {
        /**
         * Whether to insert new column to the right of the reference cell location.  - `True`: insert to the right. - `False`: insert to the left.
         */
        insertRight?: boolean | null;
        /**
         * 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.
         */
        tableCellLocation?: Schema$TableCellLocation;
    }
    /**
     * Inserts a table at the specified location.  A newline character will be inserted before the inserted table.
     */
    export interface Schema$InsertTableRequest {
        /**
         * The number of columns in the table.
         */
        columns?: number | null;
        /**
         * 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.
         */
        endOfSegmentLocation?: Schema$EndOfSegmentLocation;
        /**
         * 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.
         */
        location?: Schema$Location;
        /**
         * The number of rows in the table.
         */
        rows?: number | null;
    }
    /**
     * Inserts an empty row into a table.
     */
    export interface Schema$InsertTableRowRequest {
        /**
         * Whether to insert new row below the reference cell location.  - `True`: insert below the cell. - `False`: insert above the cell.
         */
        insertBelow?: boolean | null;
        /**
         * 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.
         */
        tableCellLocation?: Schema$TableCellLocation;
    }
    /**
     * Inserts text at the specified location.
     */
    export interface Schema$InsertTextRequest {
        /**
         * Inserts the text at the end of a header, footer, footnote or the document body.
         */
        endOfSegmentLocation?: Schema$EndOfSegmentLocation;
        /**
         * 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.
         */
        location?: Schema$Location;
        /**
         * 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.
         */
        text?: string | null;
    }
    /**
     * A reference to another portion of a document or an external URL resource.
     */
    export interface Schema$Link {
        /**
         * The ID of a bookmark in this document.
         */
        bookmarkId?: string | null;
        /**
         * The ID of a heading in this document.
         */
        headingId?: string | null;
        /**
         * An external URL.
         */
        url?: string | null;
    }
    /**
     * A reference to the external linked source content.
     */
    export interface Schema$LinkedContentReference {
        /**
         * A reference to the linked chart.
         */
        sheetsChartReference?: Schema$SheetsChartReference;
    }
    /**
     * 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.
     */
    export interface Schema$LinkedContentReferenceSuggestionState {
        /**
         * A mask that indicates which of the fields in sheets_chart_reference have been changed in this suggestion.
         */
        sheetsChartReferenceSuggestionState?: Schema$SheetsChartReferenceSuggestionState;
    }
    /**
     * 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.
     */
    export interface Schema$List {
        /**
         * The properties of the list.
         */
        listProperties?: Schema$ListProperties;
        /**
         * The suggested deletion IDs. If empty, then there are no suggested deletions of this list.
         */
        suggestedDeletionIds?: string[] | null;
        /**
         * The suggested insertion ID. If empty, then this is not a suggested insertion.
         */
        suggestedInsertionId?: string | null;
        /**
         * The suggested changes to the list properties, keyed by suggestion ID.
         */
        suggestedListPropertiesChanges?: {
            [key: string]: Schema$SuggestedListProperties;
        } | null;
    }
    /**
     * The properties of a list which describe the look and feel of bullets belonging to paragraphs associated with a list.
     */
    export interface Schema$ListProperties {
        /**
         * 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.
         */
        nestingLevels?: Schema$NestingLevel[];
    }
    /**
     * 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.
     */
    export interface Schema$ListPropertiesSuggestionState {
        /**
         * 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.
         */
        nestingLevelsSuggestionStates?: Schema$NestingLevelSuggestionState[];
    }
    /**
     * A particular location in the document.
     */
    export interface Schema$Location {
        /**
         * The zero-based index, in UTF-16 code units.  The index is relative to the beginning of the segment specified by segment_id.
         */
        index?: number | null;
        /**
         * The ID of the header, footer or footnote the location is in. An empty segment ID signifies the document's body.
         */
        segmentId?: string | null;
    }
    /**
     * Merges cells in a Table.
     */
    export interface Schema$MergeTableCellsRequest {
        /**
         * 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.
         */
        tableRange?: Schema$TableRange;
    }
    /**
     * 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.
     */
    export interface Schema$NamedRange {
        /**
         * The name of the named range.
         */
        name?: string | null;
        /**
         * The ID of the named range.
         */
        namedRangeId?: string | null;
        /**
         * The ranges that belong to this named range.
         */
        ranges?: Schema$Range[];
    }
    /**
     * A collection of all the NamedRanges in the document that share a given name.
     */
    export interface Schema$NamedRanges {
        /**
         * The name that all the named ranges share.
         */
        name?: string | null;
        /**
         * The NamedRanges that share the same name.
         */
        namedRanges?: Schema$NamedRange[];
    }
    /**
     * 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.
     */
    export interface Schema$NamedStyle {
        /**
         * The type of this named style.
         */
        namedStyleType?: string | null;
        /**
         * The paragraph style of this named style.
         */
        paragraphStyle?: Schema$ParagraphStyle;
        /**
         * The text style of this named style.
         */
        textStyle?: Schema$TextStyle;
    }
    /**
     * The named styles. Paragraphs in the document can inherit their TextStyle and ParagraphStyle from these named styles.
     */
    export interface Schema$NamedStyles {
        /**
         * The named styles.  There is an entry for each of the possible named style types.
         */
        styles?: Schema$NamedStyle[];
    }
    /**
     * The suggestion state of a NamedStyles message.
     */
    export interface Schema$NamedStylesSuggestionState {
        /**
         * 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.
         */
        stylesSuggestionStates?: Schema$NamedStyleSuggestionState[];
    }
    /**
     * A suggestion state of a NamedStyle message.
     */
    export interface Schema$NamedStyleSuggestionState {
        /**
         * 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.
         */
        namedStyleType?: string | null;
        /**
         * A mask that indicates which of the fields in paragraph style have been changed in this suggestion.
         */
        paragraphStyleSuggestionState?: Schema$ParagraphStyleSuggestionState;
        /**
         * A mask that indicates which of the fields in text style have been changed in this suggestion.
         */
        textStyleSuggestionState?: Schema$TextStyleSuggestionState;
    }
    /**
     * Contains properties describing the look and feel of a list bullet at a given level of nesting.
     */
    export interface Schema$NestingLevel {
        /**
         * The alignment of the bullet within the space allotted for rendering the bullet.
         */
        bulletAlignment?: string | null;
        /**
         * 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 `<prefix>%[nesting_level]<suffix>`. 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 <p>`A.` <p>`B.` <p>`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 <p>`1.` <p>`2.` <p>`  2.1.` <p>`  2.2.` <p>`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.
         */
        glyphFormat?: string | null;
        /**
         * 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.
         */
        glyphSymbol?: string | null;
        /**
         * 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.
         */
        glyphType?: string | null;
        /**
         * The amount of indentation for the first line of paragraphs at this level of nesting.
         */
        indentFirstLine?: Schema$Dimension;
        /**
         * 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.
         */
        indentStart?: Schema$Dimension;
        /**
         * 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.
         */
        startNumber?: number | null;
        /**
         * The text style of bullets at this level of nesting.
         */
        textStyle?: Schema$TextStyle;
    }
    /**
     * 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.
     */
    export interface Schema$NestingLevelSuggestionState {
        /**
         * Indicates if there was a suggested change to bullet_alignment.
         */
        bulletAlignmentSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to glyph_format.
         */
        glyphFormatSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to glyph_symbol.
         */
        glyphSymbolSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to glyph_type.
         */
        glyphTypeSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to indent_first_line.
         */
        indentFirstLineSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to indent_start.
         */
        indentStartSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to start_number.
         */
        startNumberSuggested?: boolean | null;
        /**
         * A mask that indicates which of the fields in text style have been changed in this suggestion.
         */
        textStyleSuggestionState?: Schema$TextStyleSuggestionState;
    }
    /**
     * A collection of object IDs.
     */
    export interface Schema$ObjectReferences {
        /**
         * The object IDs.
         */
        objectIds?: string[] | null;
    }
    /**
     * A color that can either be fully opaque or fully transparent.
     */
    export interface Schema$OptionalColor {
        /**
         * If set, this will be used as an opaque color. If unset, this represents a transparent color.
         */
        color?: Schema$Color;
    }
    /**
     * A ParagraphElement representing a page break. A page break makes the subsequent text start at the top of the next page.
     */
    export interface Schema$PageBreak {
        /**
         * The suggested deletion IDs. If empty, then there are no suggested deletions of this content.
         */
        suggestedDeletionIds?: string[] | null;
        /**
         * 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.
         */
        suggestedInsertionIds?: string[] | null;
        /**
         * The suggested text style changes to this PageBreak, keyed by suggestion ID.
         */
        suggestedTextStyleChanges?: {
            [key: string]: Schema$SuggestedTextStyle;
        } | null;
        /**
         * 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.
         */
        textStyle?: Schema$TextStyle;
    }
    /**
     * A StructuralElement representing a paragraph. A paragraph is a range of content that is terminated with a newline character.
     */
    export interface Schema$Paragraph {
        /**
         * The bullet for this paragraph. If not present, the paragraph does not belong to a list.
         */
        bullet?: Schema$Bullet;
        /**
         * The content of the paragraph broken down into its component parts.
         */
        elements?: Schema$ParagraphElement[];
        /**
         * The style of this paragraph.
         */
        paragraphStyle?: Schema$ParagraphStyle;
        /**
         * The IDs of the positioned objects tethered to this paragraph.
         */
        positionedObjectIds?: string[] | null;
        /**
         * The suggested changes to this paragraph's bullet.
         */
        suggestedBulletChanges?: {
            [key: string]: Schema$SuggestedBullet;
        } | null;
        /**
         * The suggested paragraph style changes to this paragraph, keyed by suggestion ID.
         */
        suggestedParagraphStyleChanges?: {
            [key: string]: Schema$SuggestedParagraphStyle;
        } | null;
        /**
         * The IDs of the positioned objects that are suggested to be attached to this paragraph, keyed by suggestion ID.
         */
        suggestedPositionedObjectIds?: {
            [key: string]: Schema$ObjectReferences;
        } | null;
    }
    /**
     * A border around a paragraph.
     */
    export interface Schema$ParagraphBorder {
        /**
         * The color of the border.
         */
        color?: Schema$OptionalColor;
        /**
         * The dash style of the border.
         */
        dashStyle?: string | null;
        /**
         * The padding of the border.
         */
        padding?: Schema$Dimension;
        /**
         * The width of the border.
         */
        width?: Schema$Dimension;
    }
    /**
     * A ParagraphElement describes content within a Paragraph.
     */
    export interface Schema$ParagraphElement {
        /**
         * An auto text paragraph element.
         */
        autoText?: Schema$AutoText;
        /**
         * A column break paragraph element.
         */
        columnBreak?: Schema$ColumnBreak;
        /**
         * The zero-base end index of this paragraph element, exclusive, in UTF-16 code units.
         */
        endIndex?: number | null;
        /**
         * An equation paragraph element.
         */
        equation?: Schema$Equation;
        /**
         * A footnote reference paragraph element.
         */
        footnoteReference?: Schema$FootnoteReference;
        /**
         * A horizontal rule paragraph element.
         */
        horizontalRule?: Schema$HorizontalRule;
        /**
         * An inline object paragraph element.
         */
        inlineObjectElement?: Schema$InlineObjectElement;
        /**
         * A page break paragraph element.
         */
        pageBreak?: Schema$PageBreak;
        /**
         * The zero-based start index of this paragraph element, in UTF-16 code units.
         */
        startIndex?: number | null;
        /**
         * A text run paragraph element.
         */
        textRun?: Schema$TextRun;
    }
    /**
     * 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.
     */
    export interface Schema$ParagraphStyle {
        /**
         * The text alignment for this paragraph.
         */
        alignment?: string | null;
        /**
         * Whether to avoid widows and orphans for the paragraph. If unset, the value is inherited from the parent.
         */
        avoidWidowAndOrphan?: boolean | null;
        /**
         * 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.
         */
        borderBetween?: Schema$ParagraphBorder;
        /**
         * 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.
         */
        borderBottom?: Schema$ParagraphBorder;
        /**
         * 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.
         */
        borderLeft?: Schema$ParagraphBorder;
        /**
         * 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.
         */
        borderRight?: Schema$ParagraphBorder;
        /**
         * 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.
         */
        borderTop?: Schema$ParagraphBorder;
        /**
         * The text direction of this paragraph. If unset, the value defaults to LEFT_TO_RIGHT since paragraph direction is not inherited.
         */
        direction?: string | null;
        /**
         * The heading ID of the paragraph. If empty, then this paragraph is not a heading.  This property is read-only.
         */
        headingId?: string | null;
        /**
         * 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.
         */
        indentEnd?: Schema$Dimension;
        /**
         * The amount of indentation for the first line of the paragraph. If unset, the value is inherited from the parent.
         */
        indentFirstLine?: Schema$Dimension;
        /**
         * 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.
         */
        indentStart?: Schema$Dimension;
        /**
         * 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.
         */
        keepLinesTogether?: boolean | null;
        /**
         * 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.
         */
        keepWithNext?: boolean | null;
        /**
         * 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.
         */
        lineSpacing?: number | null;
        /**
         * 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.
         */
        namedStyleType?: string | null;
        /**
         * The shading of the paragraph. If unset, the value is inherited from the parent.
         */
        shading?: Schema$Shading;
        /**
         * The amount of extra space above the paragraph. If unset, the value is inherited from the parent.
         */
        spaceAbove?: Schema$Dimension;
        /**
         * The amount of extra space below the paragraph. If unset, the value is inherited from the parent.
         */
        spaceBelow?: Schema$Dimension;
        /**
         * The spacing mode for the paragraph.
         */
        spacingMode?: string | null;
        /**
         * A list of the tab stops for this paragraph. The list of tab stops is not inherited.  This property is read-only.
         */
        tabStops?: Schema$TabStop[];
    }
    /**
     * 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.
     */
    export interface Schema$ParagraphStyleSuggestionState {
        /**
         * Indicates if there was a suggested change to alignment.
         */
        alignmentSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to avoid_widow_and_orphan.
         */
        avoidWidowAndOrphanSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to border_between.
         */
        borderBetweenSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to border_bottom.
         */
        borderBottomSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to border_left.
         */
        borderLeftSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to border_right.
         */
        borderRightSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to border_top.
         */
        borderTopSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to direction.
         */
        directionSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to heading_id.
         */
        headingIdSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to indent_end.
         */
        indentEndSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to indent_first_line.
         */
        indentFirstLineSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to indent_start.
         */
        indentStartSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to keep_lines_together.
         */
        keepLinesTogetherSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to keep_with_next.
         */
        keepWithNextSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to line_spacing.
         */
        lineSpacingSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to named_style_type.
         */
        namedStyleTypeSuggested?: boolean | null;
        /**
         * A mask that indicates which of the fields in shading have been changed in this suggestion.
         */
        shadingSuggestionState?: Schema$ShadingSuggestionState;
        /**
         * Indicates if there was a suggested change to space_above.
         */
        spaceAboveSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to space_below.
         */
        spaceBelowSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to spacing_mode.
         */
        spacingModeSuggested?: boolean | null;
    }
    /**
     * 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.
     */
    export interface Schema$PositionedObject {
        /**
         * The ID of this positioned object.
         */
        objectId?: string | null;
        /**
         * The properties of this positioned object.
         */
        positionedObjectProperties?: Schema$PositionedObjectProperties;
        /**
         * The suggested deletion IDs. If empty, then there are no suggested deletions of this content.
         */
        suggestedDeletionIds?: string[] | null;
        /**
         * The suggested insertion ID. If empty, then this is not a suggested insertion.
         */
        suggestedInsertionId?: string | null;
        /**
         * The suggested changes to the positioned object properties, keyed by suggestion ID.
         */
        suggestedPositionedObjectPropertiesChanges?: {
            [key: string]: Schema$SuggestedPositionedObjectProperties;
        } | null;
    }
    /**
     * The positioning of a PositionedObject. The positioned object is positioned relative to the beginning of the Paragraph it is tethered to.
     */
    export interface Schema$PositionedObjectPositioning {
        /**
         * The layout of this positioned object.
         */
        layout?: string | null;
        /**
         * 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.
         */
        leftOffset?: Schema$Dimension;
        /**
         * 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.
         */
        topOffset?: Schema$Dimension;
    }
    /**
     * 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.
     */
    export interface Schema$PositionedObjectPositioningSuggestionState {
        /**
         * Indicates if there was a suggested change to layout.
         */
        layoutSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to left_offset.
         */
        leftOffsetSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to top_offset.
         */
        topOffsetSuggested?: boolean | null;
    }
    /**
     * Properties of a PositionedObject.
     */
    export interface Schema$PositionedObjectProperties {
        /**
         * The embedded object of this positioned object.
         */
        embeddedObject?: Schema$EmbeddedObject;
        /**
         * The positioning of this positioned object relative to the newline of the Paragraph that references this positioned object.
         */
        positioning?: Schema$PositionedObjectPositioning;
    }
    /**
     * 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.
     */
    export interface Schema$PositionedObjectPropertiesSuggestionState {
        /**
         * A mask that indicates which of the fields in embedded_object have been changed in this suggestion.
         */
        embeddedObjectSuggestionState?: Schema$EmbeddedObjectSuggestionState;
        /**
         * A mask that indicates which of the fields in positioning have been changed in this suggestion.
         */
        positioningSuggestionState?: Schema$PositionedObjectPositioningSuggestionState;
    }
    /**
     * Specifies a contiguous range of text.
     */
    export interface Schema$Range {
        /**
         * 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.
         */
        endIndex?: number | null;
        /**
         * The ID of the header, footer or footnote that this range is contained in. An empty segment ID signifies the document's body.
         */
        segmentId?: string | null;
        /**
         * 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.
         */
        startIndex?: number | null;
    }
    /**
     * Replaces all instances of text matching a criteria with replace text.
     */
    export interface Schema$ReplaceAllTextRequest {
        /**
         * Finds text in the document matching this substring.
         */
        containsText?: Schema$SubstringMatchCriteria;
        /**
         * The text that will replace the matched text.
         */
        replaceText?: string | null;
    }
    /**
     * The result of replacing text.
     */
    export interface Schema$ReplaceAllTextResponse {
        /**
         * The number of occurrences changed by replacing all text.
         */
        occurrencesChanged?: number | null;
    }
    /**
     * 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.
     */
    export interface Schema$ReplaceImageRequest {
        /**
         * The ID of the existing image that will be replaced.
         */
        imageObjectId?: string | null;
        /**
         * The replacement method.
         */
        imageReplaceMethod?: string | null;
        /**
         * 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.
         */
        uri?: string | null;
    }
    /**
     * 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.
     */
    export interface Schema$ReplaceNamedRangeContentRequest {
        /**
         * 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.
         */
        namedRangeId?: string | null;
        /**
         * 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.
         */
        namedRangeName?: string | null;
        /**
         * Replaces the content of the specified named range(s) with the given text.
         */
        text?: string | null;
    }
    /**
     * A single update to apply to a document.
     */
    export interface Schema$Request {
        /**
         * Creates a footer.
         */
        createFooter?: Schema$CreateFooterRequest;
        /**
         * Creates a header.
         */
        createHeader?: Schema$CreateHeaderRequest;
        /**
         * Creates a named range.
         */
        createNamedRange?: Schema$CreateNamedRangeRequest;
        /**
         * Creates bullets for paragraphs.
         */
        createParagraphBullets?: Schema$CreateParagraphBulletsRequest;
        /**
         * Deletes content from the document.
         */
        deleteContentRange?: Schema$DeleteContentRangeRequest;
        /**
         * Deletes a named range.
         */
        deleteNamedRange?: Schema$DeleteNamedRangeRequest;
        /**
         * Deletes bullets from paragraphs.
         */
        deleteParagraphBullets?: Schema$DeleteParagraphBulletsRequest;
        /**
         * Deletes a positioned object from the document.
         */
        deletePositionedObject?: Schema$DeletePositionedObjectRequest;
        /**
         * Deletes a column from a table.
         */
        deleteTableColumn?: Schema$DeleteTableColumnRequest;
        /**
         * Deletes a row from a table.
         */
        deleteTableRow?: Schema$DeleteTableRowRequest;
        /**
         * Inserts an inline image at the specified location.
         */
        insertInlineImage?: Schema$InsertInlineImageRequest;
        /**
         * Inserts a page break at the specified location.
         */
        insertPageBreak?: Schema$InsertPageBreakRequest;
        /**
         * Inserts a table at the specified location.
         */
        insertTable?: Schema$InsertTableRequest;
        /**
         * Inserts an empty column into a table.
         */
        insertTableColumn?: Schema$InsertTableColumnRequest;
        /**
         * Inserts an empty row into a table.
         */
        insertTableRow?: Schema$InsertTableRowRequest;
        /**
         * Inserts text at the specified location.
         */
        insertText?: Schema$InsertTextRequest;
        /**
         * Merges cells in a table.
         */
        mergeTableCells?: Schema$MergeTableCellsRequest;
        /**
         * Replaces all instances of the specified text.
         */
        replaceAllText?: Schema$ReplaceAllTextRequest;
        /**
         * Replaces an image in the document.
         */
        replaceImage?: Schema$ReplaceImageRequest;
        /**
         * Replaces the content in a named range.
         */
        replaceNamedRangeContent?: Schema$ReplaceNamedRangeContentRequest;
        /**
         * Unmerges cells in a table.
         */
        unmergeTableCells?: Schema$UnmergeTableCellsRequest;
        /**
         * Updates the style of the document.
         */
        updateDocumentStyle?: Schema$UpdateDocumentStyleRequest;
        /**
         * Updates the paragraph style at the specified range.
         */
        updateParagraphStyle?: Schema$UpdateParagraphStyleRequest;
        /**
         * Updates the style of table cells.
         */
        updateTableCellStyle?: Schema$UpdateTableCellStyleRequest;
        /**
         * Updates the properties of columns in a table.
         */
        updateTableColumnProperties?: Schema$UpdateTableColumnPropertiesRequest;
        /**
         * Updates the row style in a table.
         */
        updateTableRowStyle?: Schema$UpdateTableRowStyleRequest;
        /**
         * Updates the text style at the specified range.
         */
        updateTextStyle?: Schema$UpdateTextStyleRequest;
    }
    /**
     * A single response from an update.
     */
    export interface Schema$Response {
        /**
         * The result of creating a footer.
         */
        createFooter?: Schema$CreateFooterResponse;
        /**
         * The result of creating a header.
         */
        createHeader?: Schema$CreateHeaderResponse;
        /**
         * The result of creating a named range.
         */
        createNamedRange?: Schema$CreateNamedRangeResponse;
        /**
         * The result of inserting an inline image.
         */
        insertInlineImage?: Schema$InsertInlineImageResponse;
        /**
         * The result of inserting an inline Google Sheets chart.
         */
        insertInlineSheetsChart?: Schema$InsertInlineSheetsChartResponse;
        /**
         * The result of replacing text.
         */
        replaceAllText?: Schema$ReplaceAllTextResponse;
    }
    /**
     * An RGB color.
     */
    export interface Schema$RgbColor {
        /**
         * The blue component of the color, from 0.0 to 1.0.
         */
        blue?: number | null;
        /**
         * The green component of the color, from 0.0 to 1.0.
         */
        green?: number | null;
        /**
         * The red component of the color, from 0.0 to 1.0.
         */
        red?: number | null;
    }
    /**
     * 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.
     */
    export interface Schema$SectionBreak {
        /**
         * The style of the section after this section break.
         */
        sectionStyle?: Schema$SectionStyle;
        /**
         * The suggested deletion IDs. If empty, then there are no suggested deletions of this content.
         */
        suggestedDeletionIds?: string[] | null;
        /**
         * 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.
         */
        suggestedInsertionIds?: string[] | null;
    }
    /**
     * Properties that apply to a section's column.
     */
    export interface Schema$SectionColumnProperties {
        /**
         * The padding at the end of the column.
         */
        paddingEnd?: Schema$Dimension;
        /**
         * The width of the column.
         */
        width?: Schema$Dimension;
    }
    /**
     * The styling that applies to a section.
     */
    export interface Schema$SectionStyle {
        /**
         * The section's columns properties.  If empty, the section contains one column with the default properties in the Docs editor.
         */
        columnProperties?: Schema$SectionColumnProperties[];
        /**
         * The style of column separators.  This style can be set even when there is one column in the section.
         */
        columnSeparatorStyle?: string | null;
        /**
         * The content direction of this section. If unset, the value defaults to LEFT_TO_RIGHT.
         */
        contentDirection?: string | null;
    }
    /**
     * The shading of a paragraph.
     */
    export interface Schema$Shading {
        /**
         * The background color of this paragraph shading.
         */
        backgroundColor?: Schema$OptionalColor;
    }
    /**
     * 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.
     */
    export interface Schema$ShadingSuggestionState {
        /**
         * Indicates if there was a suggested change to the Shading.
         */
        backgroundColorSuggested?: boolean | null;
    }
    /**
     * A reference to a linked chart embedded from Google Sheets.
     */
    export interface Schema$SheetsChartReference {
        /**
         * The ID of the specific chart in the Google Sheets spreadsheet that is embedded.
         */
        chartId?: number | null;
        /**
         * The ID of the Google Sheets spreadsheet that contains the source chart.
         */
        spreadsheetId?: string | null;
    }
    /**
     * 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.
     */
    export interface Schema$SheetsChartReferenceSuggestionState {
        /**
         * Indicates if there was a suggested change to chart_id.
         */
        chartIdSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to spreadsheet_id.
         */
        spreadsheetIdSuggested?: boolean | null;
    }
    /**
     * A width and height.
     */
    export interface Schema$Size {
        /**
         * The height of the object.
         */
        height?: Schema$Dimension;
        /**
         * The width of the object.
         */
        width?: Schema$Dimension;
    }
    /**
     * 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.
     */
    export interface Schema$SizeSuggestionState {
        /**
         * Indicates if there was a suggested change to height.
         */
        heightSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to width.
         */
        widthSuggested?: boolean | null;
    }
    /**
     * A StructuralElement describes content that provides structure to the document.
     */
    export interface Schema$StructuralElement {
        /**
         * The zero-based end index of this structural element, exclusive, in UTF-16 code units.
         */
        endIndex?: number | null;
        /**
         * A paragraph type of structural element.
         */
        paragraph?: Schema$Paragraph;
        /**
         * A section break type of structural element.
         */
        sectionBreak?: Schema$SectionBreak;
        /**
         * The zero-based start index of this structural element, in UTF-16 code units.
         */
        startIndex?: number | null;
        /**
         * A table type of structural element.
         */
        table?: Schema$Table;
        /**
         * A table of contents type of structural element.
         */
        tableOfContents?: Schema$TableOfContents;
    }
    /**
     * A criteria that matches a specific string of text in the document.
     */
    export interface Schema$SubstringMatchCriteria {
        /**
         * Indicates whether the search should respect case:  - `True`: the search is case sensitive. - `False`: the search is case insensitive.
         */
        matchCase?: boolean | null;
        /**
         * The text to search for in the document.
         */
        text?: string | null;
    }
    /**
     * A suggested change to a Bullet.
     */
    export interface Schema$SuggestedBullet {
        /**
         * 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.
         */
        bullet?: Schema$Bullet;
        /**
         * A mask that indicates which of the fields on the base Bullet have been changed in this suggestion.
         */
        bulletSuggestionState?: Schema$BulletSuggestionState;
    }
    /**
     * A suggested change to the DocumentStyle.
     */
    export interface Schema$SuggestedDocumentStyle {
        /**
         * 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.
         */
        documentStyle?: Schema$DocumentStyle;
        /**
         * A mask that indicates which of the fields on the base DocumentStyle have been changed in this suggestion.
         */
        documentStyleSuggestionState?: Schema$DocumentStyleSuggestionState;
    }
    /**
     * A suggested change to InlineObjectProperties.
     */
    export interface Schema$SuggestedInlineObjectProperties {
        /**
         * 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.
         */
        inlineObjectProperties?: Schema$InlineObjectProperties;
        /**
         * A mask that indicates which of the fields on the base InlineObjectProperties have been changed in this suggestion.
         */
        inlineObjectPropertiesSuggestionState?: Schema$InlineObjectPropertiesSuggestionState;
    }
    /**
     * A suggested change to ListProperties.
     */
    export interface Schema$SuggestedListProperties {
        /**
         * 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.
         */
        listProperties?: Schema$ListProperties;
        /**
         * A mask that indicates which of the fields on the base ListProperties have been changed in this suggestion.
         */
        listPropertiesSuggestionState?: Schema$ListPropertiesSuggestionState;
    }
    /**
     * A suggested change to the NamedStyles.
     */
    export interface Schema$SuggestedNamedStyles {
        /**
         * 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.
         */
        namedStyles?: Schema$NamedStyles;
        /**
         * A mask that indicates which of the fields on the base NamedStyles have been changed in this suggestion.
         */
        namedStylesSuggestionState?: Schema$NamedStylesSuggestionState;
    }
    /**
     * A suggested change to a ParagraphStyle.
     */
    export interface Schema$SuggestedParagraphStyle {
        /**
         * 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.
         */
        paragraphStyle?: Schema$ParagraphStyle;
        /**
         * A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion.
         */
        paragraphStyleSuggestionState?: Schema$ParagraphStyleSuggestionState;
    }
    /**
     * A suggested change to PositionedObjectProperties.
     */
    export interface Schema$SuggestedPositionedObjectProperties {
        /**
         * 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.
         */
        positionedObjectProperties?: Schema$PositionedObjectProperties;
        /**
         * A mask that indicates which of the fields on the base PositionedObjectProperties have been changed in this suggestion.
         */
        positionedObjectPropertiesSuggestionState?: Schema$PositionedObjectPropertiesSuggestionState;
    }
    /**
     * A suggested change to a TableCellStyle.
     */
    export interface Schema$SuggestedTableCellStyle {
        /**
         * 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.
         */
        tableCellStyle?: Schema$TableCellStyle;
        /**
         * A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion.
         */
        tableCellStyleSuggestionState?: Schema$TableCellStyleSuggestionState;
    }
    /**
     * A suggested change to a TableRowStyle.
     */
    export interface Schema$SuggestedTableRowStyle {
        /**
         * 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.
         */
        tableRowStyle?: Schema$TableRowStyle;
        /**
         * A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion.
         */
        tableRowStyleSuggestionState?: Schema$TableRowStyleSuggestionState;
    }
    /**
     * A suggested change to a TextStyle.
     */
    export interface Schema$SuggestedTextStyle {
        /**
         * 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.
         */
        textStyle?: Schema$TextStyle;
        /**
         * A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion.
         */
        textStyleSuggestionState?: Schema$TextStyleSuggestionState;
    }
    /**
     * A StructuralElement representing a table.
     */
    export interface Schema$Table {
        /**
         * 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.
         */
        columns?: number | null;
        /**
         * Number of rows in the table.
         */
        rows?: number | null;
        /**
         * The suggested deletion IDs. If empty, then there are no suggested deletions of this content.
         */
        suggestedDeletionIds?: string[] | null;
        /**
         * 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.
         */
        suggestedInsertionIds?: string[] | null;
        /**
         * The contents and style of each row.
         */
        tableRows?: Schema$TableRow[];
        /**
         * The style of the table.
         */
        tableStyle?: Schema$TableStyle;
    }
    /**
     * The contents and style of a cell in a Table.
     */
    export interface Schema$TableCell {
        /**
         * The content of the cell.
         */
        content?: Schema$StructuralElement[];
        /**
         * The zero-based end index of this cell, exclusive, in UTF-16 code units.
         */
        endIndex?: number | null;
        /**
         * The zero-based start index of this cell, in UTF-16 code units.
         */
        startIndex?: number | null;
        /**
         * The suggested deletion IDs. If empty, then there are no suggested deletions of this content.
         */
        suggestedDeletionIds?: string[] | null;
        /**
         * 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.
         */
        suggestedInsertionIds?: string[] | null;
        /**
         * The suggested changes to the table cell style, keyed by suggestion ID.
         */
        suggestedTableCellStyleChanges?: {
            [key: string]: Schema$SuggestedTableCellStyle;
        } | null;
        /**
         * The style of the cell.
         */
        tableCellStyle?: Schema$TableCellStyle;
    }
    /**
     * A border around a table cell.  Table cell borders cannot be transparent. To hide a table cell border, make its width 0.
     */
    export interface Schema$TableCellBorder {
        /**
         * The color of the border.  This color cannot be transparent.
         */
        color?: Schema$OptionalColor;
        /**
         * The dash style of the border.
         */
        dashStyle?: string | null;
        /**
         * The width of the border.
         */
        width?: Schema$Dimension;
    }
    /**
     * Location of a single cell within a table.
     */
    export interface Schema$TableCellLocation {
        /**
         * The zero-based column index. For example, the second column in the table has a column index of 1.
         */
        columnIndex?: number | null;
        /**
         * The zero-based row index. For example, the second row in the table has a row index of 1.
         */
        rowIndex?: number | null;
        /**
         * The location where the table starts in the document.
         */
        tableStartLocation?: Schema$Location;
    }
    /**
     * 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.
     */
    export interface Schema$TableCellStyle {
        /**
         * The background color of the cell.
         */
        backgroundColor?: Schema$OptionalColor;
        /**
         * The bottom border of the cell.
         */
        borderBottom?: Schema$TableCellBorder;
        /**
         * The left border of the cell.
         */
        borderLeft?: Schema$TableCellBorder;
        /**
         * The right border of the cell.
         */
        borderRight?: Schema$TableCellBorder;
        /**
         * The top border of the cell.
         */
        borderTop?: Schema$TableCellBorder;
        /**
         * The column span of the cell.  This property is read-only.
         */
        columnSpan?: number | null;
        /**
         * The alignment of the content in the table cell. The default alignment matches the alignment for newly created table cells in the Docs editor.
         */
        contentAlignment?: string | null;
        /**
         * The bottom padding of the cell.
         */
        paddingBottom?: Schema$Dimension;
        /**
         * The left padding of the cell.
         */
        paddingLeft?: Schema$Dimension;
        /**
         * The right padding of the cell.
         */
        paddingRight?: Schema$Dimension;
        /**
         * The top padding of the cell.
         */
        paddingTop?: Schema$Dimension;
        /**
         * The row span of the cell.  This property is read-only.
         */
        rowSpan?: number | null;
    }
    /**
     * 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.
     */
    export interface Schema$TableCellStyleSuggestionState {
        /**
         * Indicates if there was a suggested change to background_color.
         */
        backgroundColorSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to border_bottom.
         */
        borderBottomSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to border_left.
         */
        borderLeftSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to border_right.
         */
        borderRightSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to border_top.
         */
        borderTopSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to column_span.
         */
        columnSpanSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to content_alignment.
         */
        contentAlignmentSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to padding_bottom.
         */
        paddingBottomSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to padding_left.
         */
        paddingLeftSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to padding_right.
         */
        paddingRightSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to padding_top.
         */
        paddingTopSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to row_span.
         */
        rowSpanSuggested?: boolean | null;
    }
    /**
     * The properties of a column in a table.
     */
    export interface Schema$TableColumnProperties {
        /**
         * The width of the column. Set when the column's `width_type` is FIXED_WIDTH.
         */
        width?: Schema$Dimension;
        /**
         * The width type of the column.
         */
        widthType?: string | null;
    }
    /**
     * A StructuralElement representing a table of contents.
     */
    export interface Schema$TableOfContents {
        /**
         * The content of the table of contents.
         */
        content?: Schema$StructuralElement[];
        /**
         * The suggested deletion IDs. If empty, then there are no suggested deletions of this content.
         */
        suggestedDeletionIds?: string[] | null;
        /**
         * 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.
         */
        suggestedInsertionIds?: string[] | null;
    }
    /**
     * 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 ]
     */
    export interface Schema$TableRange {
        /**
         * The column span of the table range.
         */
        columnSpan?: number | null;
        /**
         * The row span of the table range.
         */
        rowSpan?: number | null;
        /**
         * The cell location where the table range starts.
         */
        tableCellLocation?: Schema$TableCellLocation;
    }
    /**
     * The contents and style of a row in a Table.
     */
    export interface Schema$TableRow {
        /**
         * The zero-based end index of this row, exclusive, in UTF-16 code units.
         */
        endIndex?: number | null;
        /**
         * The zero-based start index of this row, in UTF-16 code units.
         */
        startIndex?: number | null;
        /**
         * The suggested deletion IDs. If empty, then there are no suggested deletions of this content.
         */
        suggestedDeletionIds?: string[] | null;
        /**
         * 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.
         */
        suggestedInsertionIds?: string[] | null;
        /**
         * The suggested style changes to this row, keyed by suggestion ID.
         */
        suggestedTableRowStyleChanges?: {
            [key: string]: Schema$SuggestedTableRowStyle;
        } | null;
        /**
         * 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.
         */
        tableCells?: Schema$TableCell[];
        /**
         * The style of the table row.
         */
        tableRowStyle?: Schema$TableRowStyle;
    }
    /**
     * Styles that apply to a table row.
     */
    export interface Schema$TableRowStyle {
        /**
         * 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.
         */
        minRowHeight?: Schema$Dimension;
    }
    /**
     * 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.
     */
    export interface Schema$TableRowStyleSuggestionState {
        /**
         * Indicates if there was a suggested change to min_row_height.
         */
        minRowHeightSuggested?: boolean | null;
    }
    /**
     * Styles that apply to a table.
     */
    export interface Schema$TableStyle {
        /**
         * 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.
         */
        tableColumnProperties?: Schema$TableColumnProperties[];
    }
    /**
     * A tab stop within a paragraph.
     */
    export interface Schema$TabStop {
        /**
         * The alignment of this tab stop. If unset, the value defaults to START.
         */
        alignment?: string | null;
        /**
         * The offset between this tab stop and the start margin.
         */
        offset?: Schema$Dimension;
    }
    /**
     * A ParagraphElement that represents a run of text that all has the same styling.
     */
    export interface Schema$TextRun {
        /**
         * The text of this run.  Any non-text elements in the run are replaced with the Unicode character U+E907.
         */
        content?: string | null;
        /**
         * The suggested deletion IDs. If empty, then there are no suggested deletions of this content.
         */
        suggestedDeletionIds?: string[] | null;
        /**
         * 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.
         */
        suggestedInsertionIds?: string[] | null;
        /**
         * The suggested text style changes to this run, keyed by suggestion ID.
         */
        suggestedTextStyleChanges?: {
            [key: string]: Schema$SuggestedTextStyle;
        } | null;
        /**
         * The text style of this run.
         */
        textStyle?: Schema$TextStyle;
    }
    /**
     * 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.
     */
    export interface Schema$TextStyle {
        /**
         * The background color of the text. If set, the color is either an RGB color or transparent, depending on the `color` field.
         */
        backgroundColor?: Schema$OptionalColor;
        /**
         * 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.
         */
        baselineOffset?: string | null;
        /**
         * Whether or not the text is rendered as bold.
         */
        bold?: boolean | null;
        /**
         * The size of the text's font.
         */
        fontSize?: Schema$Dimension;
        /**
         * The foreground color of the text. If set, the color is either an RGB color or transparent, depending on the `color` field.
         */
        foregroundColor?: Schema$OptionalColor;
        /**
         * Whether or not the text is italicized.
         */
        italic?: boolean | null;
        /**
         * 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 `"ABCx/123"`,   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.
         */
        link?: Schema$Link;
        /**
         * Whether or not the text is in small capital letters.
         */
        smallCaps?: boolean | null;
        /**
         * Whether or not the text is struck through.
         */
        strikethrough?: boolean | null;
        /**
         * Whether or not the text is underlined.
         */
        underline?: boolean | null;
        /**
         * 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.
         */
        weightedFontFamily?: Schema$WeightedFontFamily;
    }
    /**
     * 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.
     */
    export interface Schema$TextStyleSuggestionState {
        /**
         * Indicates if there was a suggested change to background_color.
         */
        backgroundColorSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to baseline_offset.
         */
        baselineOffsetSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to bold.
         */
        boldSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to font_size.
         */
        fontSizeSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to foreground_color.
         */
        foregroundColorSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to italic.
         */
        italicSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to link.
         */
        linkSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to small_caps.
         */
        smallCapsSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to strikethrough.
         */
        strikethroughSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to underline.
         */
        underlineSuggested?: boolean | null;
        /**
         * Indicates if there was a suggested change to weighted_font_family.
         */
        weightedFontFamilySuggested?: boolean | null;
    }
    /**
     * Unmerges cells in a Table.
     */
    export interface Schema$UnmergeTableCellsRequest {
        /**
         * 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.
         */
        tableRange?: Schema$TableRange;
    }
    /**
     * Updates the DocumentStyle.
     */
    export interface Schema$UpdateDocumentStyleRequest {
        /**
         * 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.
         */
        documentStyle?: Schema$DocumentStyle;
        /**
         * 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"`.
         */
        fields?: string | null;
    }
    /**
     * Update the styling of all paragraphs that overlap with the given range.
     */
    export interface Schema$UpdateParagraphStyleRequest {
        /**
         * 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.
         */
        fields?: string | null;
        /**
         * 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.
         */
        paragraphStyle?: Schema$ParagraphStyle;
        /**
         * The range overlapping the paragraphs to style.
         */
        range?: Schema$Range;
    }
    /**
     * Updates the style of a range of table cells.
     */
    export interface Schema$UpdateTableCellStyleRequest {
        /**
         * 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.
         */
        fields?: string | null;
        /**
         * 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`
         */
        tableCellStyle?: Schema$TableCellStyle;
        /**
         * The table range representing the subset of the table to which the updates are applied.
         */
        tableRange?: Schema$TableRange;
        /**
         * The location where the table starts in the document. When specified, the updates are applied to all the cells in the table.
         */
        tableStartLocation?: Schema$Location;
    }
    /**
     * Updates the TableColumnProperties of columns in a table.
     */
    export interface Schema$UpdateTableColumnPropertiesRequest {
        /**
         * The list of zero-based column indices whose property should be updated. If no indices are specified, all columns will be updated.
         */
        columnIndices?: number[] | null;
        /**
         * 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"`.
         */
        fields?: string | null;
        /**
         * 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.
         */
        tableColumnProperties?: Schema$TableColumnProperties;
        /**
         * The location where the table starts in the document.
         */
        tableStartLocation?: Schema$Location;
    }
    /**
     * Updates the TableRowStyle of rows in a table.
     */
    export interface Schema$UpdateTableRowStyleRequest {
        /**
         * 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"`.
         */
        fields?: string | null;
        /**
         * The list of zero-based row indices whose style should be updated. If no indices are specified, all rows will be updated.
         */
        rowIndices?: number[] | null;
        /**
         * The styles to be set on the rows.
         */
        tableRowStyle?: Schema$TableRowStyle;
        /**
         * The location where the table starts in the document.
         */
        tableStartLocation?: Schema$Location;
    }
    /**
     * Update the styling of text.
     */
    export interface Schema$UpdateTextStyleRequest {
        /**
         * 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.
         */
        fields?: string | null;
        /**
         * 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.
         */
        range?: Schema$Range;
        /**
         * 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.
         */
        textStyle?: Schema$TextStyle;
    }
    /**
     * Represents a font family and weight of text.
     */
    export interface Schema$WeightedFontFamily {
        /**
         * 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`.
         */
        fontFamily?: string | null;
        /**
         * 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.
         */
        weight?: number | null;
    }
    /**
     * Provides control over how write requests are executed.
     */
    export interface Schema$WriteControl {
        /**
         * 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.
         */
        requiredRevisionId?: string | null;
        /**
         * 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.
         */
        targetRevisionId?: string | null;
    }
    export class Resource$Documents {
        context: APIRequestContext;
        constructor(context: APIRequestContext);
        /**
         * docs.documents.batchUpdate
         * @desc 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.
         * @alias docs.documents.batchUpdate
         * @memberOf! ()
         *
         * @param {object} params Parameters for request
         * @param {string} params.documentId The ID of the document to update.
         * @param {().BatchUpdateDocumentRequest} params.resource Request body data
         * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param {callback} callback The callback that handles the response.
         * @return {object} Request object
         */
        batchUpdate(params?: Params$Resource$Documents$Batchupdate, options?: MethodOptions): GaxiosPromise<Schema$BatchUpdateDocumentResponse>;
        batchUpdate(params: Params$Resource$Documents$Batchupdate, options: MethodOptions | BodyResponseCallback<Schema$BatchUpdateDocumentResponse>, callback: BodyResponseCallback<Schema$BatchUpdateDocumentResponse>): void;
        batchUpdate(params: Params$Resource$Documents$Batchupdate, callback: BodyResponseCallback<Schema$BatchUpdateDocumentResponse>): void;
        batchUpdate(callback: BodyResponseCallback<Schema$BatchUpdateDocumentResponse>): void;
        /**
         * docs.documents.create
         * @desc 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.
         * @alias docs.documents.create
         * @memberOf! ()
         *
         * @param {object} params Parameters for request
         * @param {().Document} params.resource Request body data
         * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param {callback} callback The callback that handles the response.
         * @return {object} Request object
         */
        create(params?: Params$Resource$Documents$Create, options?: MethodOptions): GaxiosPromise<Schema$Document>;
        create(params: Params$Resource$Documents$Create, options: MethodOptions | BodyResponseCallback<Schema$Document>, callback: BodyResponseCallback<Schema$Document>): void;
        create(params: Params$Resource$Documents$Create, callback: BodyResponseCallback<Schema$Document>): void;
        create(callback: BodyResponseCallback<Schema$Document>): void;
        /**
         * docs.documents.get
         * @desc Gets the latest version of the specified document.
         * @alias docs.documents.get
         * @memberOf! ()
         *
         * @param {object} params Parameters for request
         * @param {string} params.documentId The ID of the document to retrieve.
         * @param {string=} params.suggestionsViewMode 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.
         * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
         * @param {callback} callback The callback that handles the response.
         * @return {object} Request object
         */
        get(params?: Params$Resource$Documents$Get, options?: MethodOptions): GaxiosPromise<Schema$Document>;
        get(params: Params$Resource$Documents$Get, options: MethodOptions | BodyResponseCallback<Schema$Document>, callback: BodyResponseCallback<Schema$Document>): void;
        get(params: Params$Resource$Documents$Get, callback: BodyResponseCallback<Schema$Document>): void;
        get(callback: BodyResponseCallback<Schema$Document>): void;
    }
    export interface Params$Resource$Documents$Batchupdate extends StandardParameters {
        /**
         * Auth client or API Key for the request
         */
        auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
        /**
         * The ID of the document to update.
         */
        documentId?: string;
        /**
         * Request body metadata
         */
        requestBody?: Schema$BatchUpdateDocumentRequest;
    }
    export interface Params$Resource$Documents$Create extends StandardParameters {
        /**
         * Auth client or API Key for the request
         */
        auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
        /**
         * Request body metadata
         */
        requestBody?: Schema$Document;
    }
    export interface Params$Resource$Documents$Get extends StandardParameters {
        /**
         * Auth client or API Key for the request
         */
        auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
        /**
         * The ID of the document to retrieve.
         */
        documentId?: string;
        /**
         * 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.
         */
        suggestionsViewMode?: string;
    }
    export {};
}