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 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390
|
{
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/compute": {
"description": "View and manage your Google Compute Engine resources"
},
"https://www.googleapis.com/auth/compute.readonly": {
"description": "View your Google Compute Engine resources"
},
"https://www.googleapis.com/auth/userinfo.email": {
"description": "View your email address"
}
}
}
},
"basePath": "",
"baseUrl": "https://dataflow.googleapis.com/",
"batchPath": "batch",
"description": "Manages Google Cloud Dataflow projects on Google Cloud Platform.",
"discoveryVersion": "v1",
"documentationLink": "https://cloud.google.com/dataflow",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"id": "dataflow:v1b3",
"kind": "discovery#restDescription",
"name": "dataflow",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
"$.xgafv": {
"description": "V1 error format.",
"enum": [
"1",
"2"
],
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query",
"type": "string"
},
"access_token": {
"description": "OAuth access token.",
"location": "query",
"type": "string"
},
"alt": {
"default": "json",
"description": "Data format for response.",
"enum": [
"json",
"media",
"proto"
],
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location": "query",
"type": "string"
},
"callback": {
"description": "JSONP",
"location": "query",
"type": "string"
},
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
"key": {
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location": "query",
"type": "string"
},
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
"prettyPrint": {
"default": "true",
"description": "Returns response with indentations and line breaks.",
"location": "query",
"type": "boolean"
},
"quotaUser": {
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
"location": "query",
"type": "string"
},
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
}
},
"protocol": "rest",
"resources": {
"projects": {
"methods": {
"workerMessages": {
"description": "Send a worker_message to the service.",
"flatPath": "v1b3/projects/{projectId}/WorkerMessages",
"httpMethod": "POST",
"id": "dataflow.projects.workerMessages",
"parameterOrder": [
"projectId"
],
"parameters": {
"projectId": {
"description": "The project to send the WorkerMessages to.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/WorkerMessages",
"request": {
"$ref": "SendWorkerMessagesRequest"
},
"response": {
"$ref": "SendWorkerMessagesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
}
},
"resources": {
"jobs": {
"methods": {
"aggregated": {
"description": "List the jobs of a project across all regions.",
"flatPath": "v1b3/projects/{projectId}/jobs:aggregated",
"httpMethod": "GET",
"id": "dataflow.projects.jobs.aggregated",
"parameterOrder": [
"projectId"
],
"parameters": {
"filter": {
"description": "The kind of filter to use.",
"enum": [
"UNKNOWN",
"ALL",
"TERMINATED",
"ACTIVE"
],
"location": "query",
"type": "string"
},
"location": {
"description": "The location that contains this job.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "If there are many jobs, limit response to at most this many.\nThe actual number of jobs returned will be the lesser of max_responses\nand an unspecified server-defined limit.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Set this to the 'next_page_token' field of a previous response\nto request additional results in a long list.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "The project which owns the jobs.",
"location": "path",
"required": true,
"type": "string"
},
"view": {
"description": "Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.",
"enum": [
"JOB_VIEW_UNKNOWN",
"JOB_VIEW_SUMMARY",
"JOB_VIEW_ALL",
"JOB_VIEW_DESCRIPTION"
],
"location": "query",
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/jobs:aggregated",
"response": {
"$ref": "ListJobsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
},
"create": {
"description": "Creates a Cloud Dataflow job.",
"flatPath": "v1b3/projects/{projectId}/jobs",
"httpMethod": "POST",
"id": "dataflow.projects.jobs.create",
"parameterOrder": [
"projectId"
],
"parameters": {
"location": {
"description": "The location that contains this job.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "The ID of the Cloud Platform project that the job belongs to.",
"location": "path",
"required": true,
"type": "string"
},
"replaceJobId": {
"description": "Deprecated. This field is now in the Job message.",
"location": "query",
"type": "string"
},
"view": {
"description": "The level of information requested in response.",
"enum": [
"JOB_VIEW_UNKNOWN",
"JOB_VIEW_SUMMARY",
"JOB_VIEW_ALL",
"JOB_VIEW_DESCRIPTION"
],
"location": "query",
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/jobs",
"request": {
"$ref": "Job"
},
"response": {
"$ref": "Job"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
},
"get": {
"description": "Gets the state of the specified Cloud Dataflow job.",
"flatPath": "v1b3/projects/{projectId}/jobs/{jobId}",
"httpMethod": "GET",
"id": "dataflow.projects.jobs.get",
"parameterOrder": [
"projectId",
"jobId"
],
"parameters": {
"jobId": {
"description": "The job ID.",
"location": "path",
"required": true,
"type": "string"
},
"location": {
"description": "The location that contains this job.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "The ID of the Cloud Platform project that the job belongs to.",
"location": "path",
"required": true,
"type": "string"
},
"view": {
"description": "The level of information requested in response.",
"enum": [
"JOB_VIEW_UNKNOWN",
"JOB_VIEW_SUMMARY",
"JOB_VIEW_ALL",
"JOB_VIEW_DESCRIPTION"
],
"location": "query",
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/jobs/{jobId}",
"response": {
"$ref": "Job"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
},
"getMetrics": {
"description": "Request the job status.",
"flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/metrics",
"httpMethod": "GET",
"id": "dataflow.projects.jobs.getMetrics",
"parameterOrder": [
"projectId",
"jobId"
],
"parameters": {
"jobId": {
"description": "The job to get messages for.",
"location": "path",
"required": true,
"type": "string"
},
"location": {
"description": "The location which contains the job specified by job_id.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "A project id.",
"location": "path",
"required": true,
"type": "string"
},
"startTime": {
"description": "Return only metric data that has changed since this time.\nDefault is to return all information about all metrics for the job.",
"format": "google-datetime",
"location": "query",
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/jobs/{jobId}/metrics",
"response": {
"$ref": "JobMetrics"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
},
"list": {
"description": "List the jobs of a project in a given region.",
"flatPath": "v1b3/projects/{projectId}/jobs",
"httpMethod": "GET",
"id": "dataflow.projects.jobs.list",
"parameterOrder": [
"projectId"
],
"parameters": {
"filter": {
"description": "The kind of filter to use.",
"enum": [
"UNKNOWN",
"ALL",
"TERMINATED",
"ACTIVE"
],
"location": "query",
"type": "string"
},
"location": {
"description": "The location that contains this job.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "If there are many jobs, limit response to at most this many.\nThe actual number of jobs returned will be the lesser of max_responses\nand an unspecified server-defined limit.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Set this to the 'next_page_token' field of a previous response\nto request additional results in a long list.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "The project which owns the jobs.",
"location": "path",
"required": true,
"type": "string"
},
"view": {
"description": "Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.",
"enum": [
"JOB_VIEW_UNKNOWN",
"JOB_VIEW_SUMMARY",
"JOB_VIEW_ALL",
"JOB_VIEW_DESCRIPTION"
],
"location": "query",
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/jobs",
"response": {
"$ref": "ListJobsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
},
"update": {
"description": "Updates the state of an existing Cloud Dataflow job.",
"flatPath": "v1b3/projects/{projectId}/jobs/{jobId}",
"httpMethod": "PUT",
"id": "dataflow.projects.jobs.update",
"parameterOrder": [
"projectId",
"jobId"
],
"parameters": {
"jobId": {
"description": "The job ID.",
"location": "path",
"required": true,
"type": "string"
},
"location": {
"description": "The location that contains this job.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "The ID of the Cloud Platform project that the job belongs to.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/jobs/{jobId}",
"request": {
"$ref": "Job"
},
"response": {
"$ref": "Job"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
}
},
"resources": {
"debug": {
"methods": {
"getConfig": {
"description": "Get encoded debug configuration for component. Not cacheable.",
"flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/debug/getConfig",
"httpMethod": "POST",
"id": "dataflow.projects.jobs.debug.getConfig",
"parameterOrder": [
"projectId",
"jobId"
],
"parameters": {
"jobId": {
"description": "The job id.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "The project id.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/jobs/{jobId}/debug/getConfig",
"request": {
"$ref": "GetDebugConfigRequest"
},
"response": {
"$ref": "GetDebugConfigResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
},
"sendCapture": {
"description": "Send encoded debug capture data for component.",
"flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/debug/sendCapture",
"httpMethod": "POST",
"id": "dataflow.projects.jobs.debug.sendCapture",
"parameterOrder": [
"projectId",
"jobId"
],
"parameters": {
"jobId": {
"description": "The job id.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "The project id.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/jobs/{jobId}/debug/sendCapture",
"request": {
"$ref": "SendDebugCaptureRequest"
},
"response": {
"$ref": "SendDebugCaptureResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
}
}
},
"messages": {
"methods": {
"list": {
"description": "Request the job status.",
"flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/messages",
"httpMethod": "GET",
"id": "dataflow.projects.jobs.messages.list",
"parameterOrder": [
"projectId",
"jobId"
],
"parameters": {
"endTime": {
"description": "Return only messages with timestamps \u003c end_time. The default is now\n(i.e. return up to the latest messages available).",
"format": "google-datetime",
"location": "query",
"type": "string"
},
"jobId": {
"description": "The job to get messages about.",
"location": "path",
"required": true,
"type": "string"
},
"location": {
"description": "The location which contains the job specified by job_id.",
"location": "query",
"type": "string"
},
"minimumImportance": {
"description": "Filter to only get messages with importance \u003e= level",
"enum": [
"JOB_MESSAGE_IMPORTANCE_UNKNOWN",
"JOB_MESSAGE_DEBUG",
"JOB_MESSAGE_DETAILED",
"JOB_MESSAGE_BASIC",
"JOB_MESSAGE_WARNING",
"JOB_MESSAGE_ERROR"
],
"location": "query",
"type": "string"
},
"pageSize": {
"description": "If specified, determines the maximum number of messages to\nreturn. If unspecified, the service may choose an appropriate\ndefault, or may return an arbitrarily large number of results.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "If supplied, this should be the value of next_page_token returned\nby an earlier call. This will cause the next page of results to\nbe returned.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "A project id.",
"location": "path",
"required": true,
"type": "string"
},
"startTime": {
"description": "If specified, return only messages with timestamps \u003e= start_time.\nThe default is the job creation time (i.e. beginning of messages).",
"format": "google-datetime",
"location": "query",
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/jobs/{jobId}/messages",
"response": {
"$ref": "ListJobMessagesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
}
}
},
"workItems": {
"methods": {
"lease": {
"description": "Leases a dataflow WorkItem to run.",
"flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease",
"httpMethod": "POST",
"id": "dataflow.projects.jobs.workItems.lease",
"parameterOrder": [
"projectId",
"jobId"
],
"parameters": {
"jobId": {
"description": "Identifies the workflow job this worker belongs to.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Identifies the project this worker belongs to.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease",
"request": {
"$ref": "LeaseWorkItemRequest"
},
"response": {
"$ref": "LeaseWorkItemResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
},
"reportStatus": {
"description": "Reports the status of dataflow WorkItems leased by a worker.",
"flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus",
"httpMethod": "POST",
"id": "dataflow.projects.jobs.workItems.reportStatus",
"parameterOrder": [
"projectId",
"jobId"
],
"parameters": {
"jobId": {
"description": "The job which the WorkItem is part of.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "The project which owns the WorkItem's job.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus",
"request": {
"$ref": "ReportWorkItemStatusRequest"
},
"response": {
"$ref": "ReportWorkItemStatusResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
}
}
}
}
},
"locations": {
"methods": {
"workerMessages": {
"description": "Send a worker_message to the service.",
"flatPath": "v1b3/projects/{projectId}/locations/{location}/WorkerMessages",
"httpMethod": "POST",
"id": "dataflow.projects.locations.workerMessages",
"parameterOrder": [
"projectId",
"location"
],
"parameters": {
"location": {
"description": "The location which contains the job",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "The project to send the WorkerMessages to.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/locations/{location}/WorkerMessages",
"request": {
"$ref": "SendWorkerMessagesRequest"
},
"response": {
"$ref": "SendWorkerMessagesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
}
},
"resources": {
"jobs": {
"methods": {
"create": {
"description": "Creates a Cloud Dataflow job.",
"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs",
"httpMethod": "POST",
"id": "dataflow.projects.locations.jobs.create",
"parameterOrder": [
"projectId",
"location"
],
"parameters": {
"location": {
"description": "The location that contains this job.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "The ID of the Cloud Platform project that the job belongs to.",
"location": "path",
"required": true,
"type": "string"
},
"replaceJobId": {
"description": "Deprecated. This field is now in the Job message.",
"location": "query",
"type": "string"
},
"view": {
"description": "The level of information requested in response.",
"enum": [
"JOB_VIEW_UNKNOWN",
"JOB_VIEW_SUMMARY",
"JOB_VIEW_ALL",
"JOB_VIEW_DESCRIPTION"
],
"location": "query",
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/locations/{location}/jobs",
"request": {
"$ref": "Job"
},
"response": {
"$ref": "Job"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
},
"get": {
"description": "Gets the state of the specified Cloud Dataflow job.",
"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}",
"httpMethod": "GET",
"id": "dataflow.projects.locations.jobs.get",
"parameterOrder": [
"projectId",
"location",
"jobId"
],
"parameters": {
"jobId": {
"description": "The job ID.",
"location": "path",
"required": true,
"type": "string"
},
"location": {
"description": "The location that contains this job.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "The ID of the Cloud Platform project that the job belongs to.",
"location": "path",
"required": true,
"type": "string"
},
"view": {
"description": "The level of information requested in response.",
"enum": [
"JOB_VIEW_UNKNOWN",
"JOB_VIEW_SUMMARY",
"JOB_VIEW_ALL",
"JOB_VIEW_DESCRIPTION"
],
"location": "query",
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}",
"response": {
"$ref": "Job"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
},
"getMetrics": {
"description": "Request the job status.",
"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/metrics",
"httpMethod": "GET",
"id": "dataflow.projects.locations.jobs.getMetrics",
"parameterOrder": [
"projectId",
"location",
"jobId"
],
"parameters": {
"jobId": {
"description": "The job to get messages for.",
"location": "path",
"required": true,
"type": "string"
},
"location": {
"description": "The location which contains the job specified by job_id.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "A project id.",
"location": "path",
"required": true,
"type": "string"
},
"startTime": {
"description": "Return only metric data that has changed since this time.\nDefault is to return all information about all metrics for the job.",
"format": "google-datetime",
"location": "query",
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/metrics",
"response": {
"$ref": "JobMetrics"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
},
"list": {
"description": "List the jobs of a project in a given region.",
"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs",
"httpMethod": "GET",
"id": "dataflow.projects.locations.jobs.list",
"parameterOrder": [
"projectId",
"location"
],
"parameters": {
"filter": {
"description": "The kind of filter to use.",
"enum": [
"UNKNOWN",
"ALL",
"TERMINATED",
"ACTIVE"
],
"location": "query",
"type": "string"
},
"location": {
"description": "The location that contains this job.",
"location": "path",
"required": true,
"type": "string"
},
"pageSize": {
"description": "If there are many jobs, limit response to at most this many.\nThe actual number of jobs returned will be the lesser of max_responses\nand an unspecified server-defined limit.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Set this to the 'next_page_token' field of a previous response\nto request additional results in a long list.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "The project which owns the jobs.",
"location": "path",
"required": true,
"type": "string"
},
"view": {
"description": "Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.",
"enum": [
"JOB_VIEW_UNKNOWN",
"JOB_VIEW_SUMMARY",
"JOB_VIEW_ALL",
"JOB_VIEW_DESCRIPTION"
],
"location": "query",
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/locations/{location}/jobs",
"response": {
"$ref": "ListJobsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
},
"update": {
"description": "Updates the state of an existing Cloud Dataflow job.",
"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}",
"httpMethod": "PUT",
"id": "dataflow.projects.locations.jobs.update",
"parameterOrder": [
"projectId",
"location",
"jobId"
],
"parameters": {
"jobId": {
"description": "The job ID.",
"location": "path",
"required": true,
"type": "string"
},
"location": {
"description": "The location that contains this job.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "The ID of the Cloud Platform project that the job belongs to.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}",
"request": {
"$ref": "Job"
},
"response": {
"$ref": "Job"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
}
},
"resources": {
"debug": {
"methods": {
"getConfig": {
"description": "Get encoded debug configuration for component. Not cacheable.",
"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/getConfig",
"httpMethod": "POST",
"id": "dataflow.projects.locations.jobs.debug.getConfig",
"parameterOrder": [
"projectId",
"location",
"jobId"
],
"parameters": {
"jobId": {
"description": "The job id.",
"location": "path",
"required": true,
"type": "string"
},
"location": {
"description": "The location which contains the job specified by job_id.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "The project id.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/getConfig",
"request": {
"$ref": "GetDebugConfigRequest"
},
"response": {
"$ref": "GetDebugConfigResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
},
"sendCapture": {
"description": "Send encoded debug capture data for component.",
"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/sendCapture",
"httpMethod": "POST",
"id": "dataflow.projects.locations.jobs.debug.sendCapture",
"parameterOrder": [
"projectId",
"location",
"jobId"
],
"parameters": {
"jobId": {
"description": "The job id.",
"location": "path",
"required": true,
"type": "string"
},
"location": {
"description": "The location which contains the job specified by job_id.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "The project id.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/sendCapture",
"request": {
"$ref": "SendDebugCaptureRequest"
},
"response": {
"$ref": "SendDebugCaptureResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
}
}
},
"messages": {
"methods": {
"list": {
"description": "Request the job status.",
"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/messages",
"httpMethod": "GET",
"id": "dataflow.projects.locations.jobs.messages.list",
"parameterOrder": [
"projectId",
"location",
"jobId"
],
"parameters": {
"endTime": {
"description": "Return only messages with timestamps \u003c end_time. The default is now\n(i.e. return up to the latest messages available).",
"format": "google-datetime",
"location": "query",
"type": "string"
},
"jobId": {
"description": "The job to get messages about.",
"location": "path",
"required": true,
"type": "string"
},
"location": {
"description": "The location which contains the job specified by job_id.",
"location": "path",
"required": true,
"type": "string"
},
"minimumImportance": {
"description": "Filter to only get messages with importance \u003e= level",
"enum": [
"JOB_MESSAGE_IMPORTANCE_UNKNOWN",
"JOB_MESSAGE_DEBUG",
"JOB_MESSAGE_DETAILED",
"JOB_MESSAGE_BASIC",
"JOB_MESSAGE_WARNING",
"JOB_MESSAGE_ERROR"
],
"location": "query",
"type": "string"
},
"pageSize": {
"description": "If specified, determines the maximum number of messages to\nreturn. If unspecified, the service may choose an appropriate\ndefault, or may return an arbitrarily large number of results.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "If supplied, this should be the value of next_page_token returned\nby an earlier call. This will cause the next page of results to\nbe returned.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "A project id.",
"location": "path",
"required": true,
"type": "string"
},
"startTime": {
"description": "If specified, return only messages with timestamps \u003e= start_time.\nThe default is the job creation time (i.e. beginning of messages).",
"format": "google-datetime",
"location": "query",
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/messages",
"response": {
"$ref": "ListJobMessagesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
}
}
},
"workItems": {
"methods": {
"lease": {
"description": "Leases a dataflow WorkItem to run.",
"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease",
"httpMethod": "POST",
"id": "dataflow.projects.locations.jobs.workItems.lease",
"parameterOrder": [
"projectId",
"location",
"jobId"
],
"parameters": {
"jobId": {
"description": "Identifies the workflow job this worker belongs to.",
"location": "path",
"required": true,
"type": "string"
},
"location": {
"description": "The location which contains the WorkItem's job.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Identifies the project this worker belongs to.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease",
"request": {
"$ref": "LeaseWorkItemRequest"
},
"response": {
"$ref": "LeaseWorkItemResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
},
"reportStatus": {
"description": "Reports the status of dataflow WorkItems leased by a worker.",
"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus",
"httpMethod": "POST",
"id": "dataflow.projects.locations.jobs.workItems.reportStatus",
"parameterOrder": [
"projectId",
"location",
"jobId"
],
"parameters": {
"jobId": {
"description": "The job which the WorkItem is part of.",
"location": "path",
"required": true,
"type": "string"
},
"location": {
"description": "The location which contains the WorkItem's job.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "The project which owns the WorkItem's job.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus",
"request": {
"$ref": "ReportWorkItemStatusRequest"
},
"response": {
"$ref": "ReportWorkItemStatusResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
}
}
}
}
},
"templates": {
"methods": {
"create": {
"description": "Creates a Cloud Dataflow job from a template.",
"flatPath": "v1b3/projects/{projectId}/locations/{location}/templates",
"httpMethod": "POST",
"id": "dataflow.projects.locations.templates.create",
"parameterOrder": [
"projectId",
"location"
],
"parameters": {
"location": {
"description": "The location to which to direct the request.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. The ID of the Cloud Platform project that the job belongs to.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/locations/{location}/templates",
"request": {
"$ref": "CreateJobFromTemplateRequest"
},
"response": {
"$ref": "Job"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
},
"get": {
"description": "Get the template associated with a template.",
"flatPath": "v1b3/projects/{projectId}/locations/{location}/templates:get",
"httpMethod": "GET",
"id": "dataflow.projects.locations.templates.get",
"parameterOrder": [
"projectId",
"location"
],
"parameters": {
"gcsPath": {
"description": "Required. A Cloud Storage path to the template from which to\ncreate the job.\nMust be a valid Cloud Storage URL, beginning with `gs://`.",
"location": "query",
"type": "string"
},
"location": {
"description": "The location to which to direct the request.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. The ID of the Cloud Platform project that the job belongs to.",
"location": "path",
"required": true,
"type": "string"
},
"view": {
"description": "The view to retrieve. Defaults to METADATA_ONLY.",
"enum": [
"METADATA_ONLY"
],
"location": "query",
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/locations/{location}/templates:get",
"response": {
"$ref": "GetTemplateResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
},
"launch": {
"description": "Launch a template.",
"flatPath": "v1b3/projects/{projectId}/locations/{location}/templates:launch",
"httpMethod": "POST",
"id": "dataflow.projects.locations.templates.launch",
"parameterOrder": [
"projectId",
"location"
],
"parameters": {
"gcsPath": {
"description": "Required. A Cloud Storage path to the template from which to create\nthe job.\nMust be valid Cloud Storage URL, beginning with 'gs://'.",
"location": "query",
"type": "string"
},
"location": {
"description": "The location to which to direct the request.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. The ID of the Cloud Platform project that the job belongs to.",
"location": "path",
"required": true,
"type": "string"
},
"validateOnly": {
"description": "If true, the request is validated but not actually executed.\nDefaults to false.",
"location": "query",
"type": "boolean"
}
},
"path": "v1b3/projects/{projectId}/locations/{location}/templates:launch",
"request": {
"$ref": "LaunchTemplateParameters"
},
"response": {
"$ref": "LaunchTemplateResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
}
}
}
}
},
"templates": {
"methods": {
"create": {
"description": "Creates a Cloud Dataflow job from a template.",
"flatPath": "v1b3/projects/{projectId}/templates",
"httpMethod": "POST",
"id": "dataflow.projects.templates.create",
"parameterOrder": [
"projectId"
],
"parameters": {
"projectId": {
"description": "Required. The ID of the Cloud Platform project that the job belongs to.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/templates",
"request": {
"$ref": "CreateJobFromTemplateRequest"
},
"response": {
"$ref": "Job"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
},
"get": {
"description": "Get the template associated with a template.",
"flatPath": "v1b3/projects/{projectId}/templates:get",
"httpMethod": "GET",
"id": "dataflow.projects.templates.get",
"parameterOrder": [
"projectId"
],
"parameters": {
"gcsPath": {
"description": "Required. A Cloud Storage path to the template from which to\ncreate the job.\nMust be a valid Cloud Storage URL, beginning with `gs://`.",
"location": "query",
"type": "string"
},
"location": {
"description": "The location to which to direct the request.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "Required. The ID of the Cloud Platform project that the job belongs to.",
"location": "path",
"required": true,
"type": "string"
},
"view": {
"description": "The view to retrieve. Defaults to METADATA_ONLY.",
"enum": [
"METADATA_ONLY"
],
"location": "query",
"type": "string"
}
},
"path": "v1b3/projects/{projectId}/templates:get",
"response": {
"$ref": "GetTemplateResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
},
"launch": {
"description": "Launch a template.",
"flatPath": "v1b3/projects/{projectId}/templates:launch",
"httpMethod": "POST",
"id": "dataflow.projects.templates.launch",
"parameterOrder": [
"projectId"
],
"parameters": {
"gcsPath": {
"description": "Required. A Cloud Storage path to the template from which to create\nthe job.\nMust be valid Cloud Storage URL, beginning with 'gs://'.",
"location": "query",
"type": "string"
},
"location": {
"description": "The location to which to direct the request.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "Required. The ID of the Cloud Platform project that the job belongs to.",
"location": "path",
"required": true,
"type": "string"
},
"validateOnly": {
"description": "If true, the request is validated but not actually executed.\nDefaults to false.",
"location": "query",
"type": "boolean"
}
},
"path": "v1b3/projects/{projectId}/templates:launch",
"request": {
"$ref": "LaunchTemplateParameters"
},
"response": {
"$ref": "LaunchTemplateResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly",
"https://www.googleapis.com/auth/userinfo.email"
]
}
}
}
}
}
},
"revision": "20180828",
"rootUrl": "https://dataflow.googleapis.com/",
"schemas": {
"ApproximateProgress": {
"description": "Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest.",
"id": "ApproximateProgress",
"properties": {
"percentComplete": {
"description": "Obsolete.",
"format": "float",
"type": "number"
},
"position": {
"$ref": "Position",
"description": "Obsolete."
},
"remainingTime": {
"description": "Obsolete.",
"format": "google-duration",
"type": "string"
}
},
"type": "object"
},
"ApproximateReportedProgress": {
"description": "A progress measurement of a WorkItem by a worker.",
"id": "ApproximateReportedProgress",
"properties": {
"consumedParallelism": {
"$ref": "ReportedParallelism",
"description": "Total amount of parallelism in the portion of input of this task that has\nalready been consumed and is no longer active. In the first two examples\nabove (see remaining_parallelism), the value should be 29 or 2\nrespectively. The sum of remaining_parallelism and consumed_parallelism\nshould equal the total amount of parallelism in this work item. If\nspecified, must be finite."
},
"fractionConsumed": {
"description": "Completion as fraction of the input consumed, from 0.0 (beginning, nothing\nconsumed), to 1.0 (end of the input, entire input consumed).",
"format": "double",
"type": "number"
},
"position": {
"$ref": "Position",
"description": "A Position within the work to represent a progress."
},
"remainingParallelism": {
"$ref": "ReportedParallelism",
"description": "Total amount of parallelism in the input of this task that remains,\n(i.e. can be delegated to this task and any new tasks via dynamic\nsplitting). Always at least 1 for non-finished work items and 0 for\nfinished.\n\n\"Amount of parallelism\" refers to how many non-empty parts of the input\ncan be read in parallel. This does not necessarily equal number\nof records. An input that can be read in parallel down to the\nindividual records is called \"perfectly splittable\".\nAn example of non-perfectly parallelizable input is a block-compressed\nfile format where a block of records has to be read as a whole,\nbut different blocks can be read in parallel.\n\nExamples:\n* If we are processing record #30 (starting at 1) out of 50 in a perfectly\n splittable 50-record input, this value should be 21 (20 remaining + 1\n current).\n* If we are reading through block 3 in a block-compressed file consisting\n of 5 blocks, this value should be 3 (since blocks 4 and 5 can be\n processed in parallel by new tasks via dynamic splitting and the current\n task remains processing block 3).\n* If we are reading through the last block in a block-compressed file,\n or reading or processing the last record in a perfectly splittable\n input, this value should be 1, because apart from the current task, no\n additional remainder can be split off."
}
},
"type": "object"
},
"ApproximateSplitRequest": {
"description": "A suggestion by the service to the worker to dynamically split the WorkItem.",
"id": "ApproximateSplitRequest",
"properties": {
"fractionConsumed": {
"description": "A fraction at which to split the work item, from 0.0 (beginning of the\ninput) to 1.0 (end of the input).",
"format": "double",
"type": "number"
},
"position": {
"$ref": "Position",
"description": "A Position at which to split the work item."
}
},
"type": "object"
},
"AutoscalingEvent": {
"description": "A structured message reporting an autoscaling decision made by the Dataflow\nservice.",
"id": "AutoscalingEvent",
"properties": {
"currentNumWorkers": {
"description": "The current number of workers the job has.",
"format": "int64",
"type": "string"
},
"description": {
"$ref": "StructuredMessage",
"description": "A message describing why the system decided to adjust the current\nnumber of workers, why it failed, or why the system decided to\nnot make any changes to the number of workers."
},
"eventType": {
"description": "The type of autoscaling event to report.",
"enum": [
"TYPE_UNKNOWN",
"TARGET_NUM_WORKERS_CHANGED",
"CURRENT_NUM_WORKERS_CHANGED",
"ACTUATION_FAILURE",
"NO_CHANGE"
],
"enumDescriptions": [
"Default type for the enum. Value should never be returned.",
"The TARGET_NUM_WORKERS_CHANGED type should be used when the target\nworker pool size has changed at the start of an actuation. An event\nshould always be specified as TARGET_NUM_WORKERS_CHANGED if it reflects\na change in the target_num_workers.",
"The CURRENT_NUM_WORKERS_CHANGED type should be used when actual worker\npool size has been changed, but the target_num_workers has not changed.",
"The ACTUATION_FAILURE type should be used when we want to report\nan error to the user indicating why the current number of workers\nin the pool could not be changed.\nDisplayed in the current status and history widgets.",
"Used when we want to report to the user a reason why we are\nnot currently adjusting the number of workers.\nShould specify both target_num_workers, current_num_workers and a\ndecision_message."
],
"type": "string"
},
"targetNumWorkers": {
"description": "The target number of workers the worker pool wants to resize to use.",
"format": "int64",
"type": "string"
},
"time": {
"description": "The time this event was emitted to indicate a new target or current\nnum_workers value.",
"format": "google-datetime",
"type": "string"
},
"workerPool": {
"description": "A short and friendly name for the worker pool this event refers to,\npopulated from the value of PoolStageRelation::user_pool_name.",
"type": "string"
}
},
"type": "object"
},
"AutoscalingSettings": {
"description": "Settings for WorkerPool autoscaling.",
"id": "AutoscalingSettings",
"properties": {
"algorithm": {
"description": "The algorithm to use for autoscaling.",
"enum": [
"AUTOSCALING_ALGORITHM_UNKNOWN",
"AUTOSCALING_ALGORITHM_NONE",
"AUTOSCALING_ALGORITHM_BASIC"
],
"enumDescriptions": [
"The algorithm is unknown, or unspecified.",
"Disable autoscaling.",
"Increase worker count over time to reduce job execution time."
],
"type": "string"
},
"maxNumWorkers": {
"description": "The maximum number of workers to cap scaling at.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"BigQueryIODetails": {
"description": "Metadata for a BigQuery connector used by the job.",
"id": "BigQueryIODetails",
"properties": {
"dataset": {
"description": "Dataset accessed in the connection.",
"type": "string"
},
"projectId": {
"description": "Project accessed in the connection.",
"type": "string"
},
"query": {
"description": "Query used to access data in the connection.",
"type": "string"
},
"table": {
"description": "Table accessed in the connection.",
"type": "string"
}
},
"type": "object"
},
"BigTableIODetails": {
"description": "Metadata for a BigTable connector used by the job.",
"id": "BigTableIODetails",
"properties": {
"instanceId": {
"description": "InstanceId accessed in the connection.",
"type": "string"
},
"projectId": {
"description": "ProjectId accessed in the connection.",
"type": "string"
},
"tableId": {
"description": "TableId accessed in the connection.",
"type": "string"
}
},
"type": "object"
},
"CPUTime": {
"description": "Modeled after information exposed by /proc/stat.",
"id": "CPUTime",
"properties": {
"rate": {
"description": "Average CPU utilization rate (% non-idle cpu / second) since previous\nsample.",
"format": "double",
"type": "number"
},
"timestamp": {
"description": "Timestamp of the measurement.",
"format": "google-datetime",
"type": "string"
},
"totalMs": {
"description": "Total active CPU time across all cores (ie., non-idle) in milliseconds\nsince start-up.",
"format": "uint64",
"type": "string"
}
},
"type": "object"
},
"ComponentSource": {
"description": "Description of an interstitial value between transforms in an execution\nstage.",
"id": "ComponentSource",
"properties": {
"name": {
"description": "Dataflow service generated name for this source.",
"type": "string"
},
"originalTransformOrCollection": {
"description": "User name for the original user transform or collection with which this\nsource is most closely associated.",
"type": "string"
},
"userName": {
"description": "Human-readable name for this transform; may be user or system generated.",
"type": "string"
}
},
"type": "object"
},
"ComponentTransform": {
"description": "Description of a transform executed as part of an execution stage.",
"id": "ComponentTransform",
"properties": {
"name": {
"description": "Dataflow service generated name for this source.",
"type": "string"
},
"originalTransform": {
"description": "User name for the original user transform with which this transform is\nmost closely associated.",
"type": "string"
},
"userName": {
"description": "Human-readable name for this transform; may be user or system generated.",
"type": "string"
}
},
"type": "object"
},
"ComputationTopology": {
"description": "All configuration data for a particular Computation.",
"id": "ComputationTopology",
"properties": {
"computationId": {
"description": "The ID of the computation.",
"type": "string"
},
"inputs": {
"description": "The inputs to the computation.",
"items": {
"$ref": "StreamLocation"
},
"type": "array"
},
"keyRanges": {
"description": "The key ranges processed by the computation.",
"items": {
"$ref": "KeyRangeLocation"
},
"type": "array"
},
"outputs": {
"description": "The outputs from the computation.",
"items": {
"$ref": "StreamLocation"
},
"type": "array"
},
"stateFamilies": {
"description": "The state family values.",
"items": {
"$ref": "StateFamilyConfig"
},
"type": "array"
},
"systemStageName": {
"description": "The system stage name.",
"type": "string"
}
},
"type": "object"
},
"ConcatPosition": {
"description": "A position that encapsulates an inner position and an index for the inner\nposition. A ConcatPosition can be used by a reader of a source that\nencapsulates a set of other sources.",
"id": "ConcatPosition",
"properties": {
"index": {
"description": "Index of the inner source.",
"format": "int32",
"type": "integer"
},
"position": {
"$ref": "Position",
"description": "Position within the inner source."
}
},
"type": "object"
},
"CounterMetadata": {
"description": "CounterMetadata includes all static non-name non-value counter attributes.",
"id": "CounterMetadata",
"properties": {
"description": {
"description": "Human-readable description of the counter semantics.",
"type": "string"
},
"kind": {
"description": "Counter aggregation kind.",
"enum": [
"INVALID",
"SUM",
"MAX",
"MIN",
"MEAN",
"OR",
"AND",
"SET",
"DISTRIBUTION",
"LATEST_VALUE"
],
"enumDescriptions": [
"Counter aggregation kind was not set.",
"Aggregated value is the sum of all contributed values.",
"Aggregated value is the max of all contributed values.",
"Aggregated value is the min of all contributed values.",
"Aggregated value is the mean of all contributed values.",
"Aggregated value represents the logical 'or' of all contributed values.",
"Aggregated value represents the logical 'and' of all contributed values.",
"Aggregated value is a set of unique contributed values.",
"Aggregated value captures statistics about a distribution.",
"Aggregated value tracks the latest value of a variable."
],
"type": "string"
},
"otherUnits": {
"description": "A string referring to the unit type.",
"type": "string"
},
"standardUnits": {
"description": "System defined Units, see above enum.",
"enum": [
"BYTES",
"BYTES_PER_SEC",
"MILLISECONDS",
"MICROSECONDS",
"NANOSECONDS",
"TIMESTAMP_MSEC",
"TIMESTAMP_USEC",
"TIMESTAMP_NSEC"
],
"enumDescriptions": [
"Counter returns a value in bytes.",
"Counter returns a value in bytes per second.",
"Counter returns a value in milliseconds.",
"Counter returns a value in microseconds.",
"Counter returns a value in nanoseconds.",
"Counter returns a timestamp in milliseconds.",
"Counter returns a timestamp in microseconds.",
"Counter returns a timestamp in nanoseconds."
],
"type": "string"
}
},
"type": "object"
},
"CounterStructuredName": {
"description": "Identifies a counter within a per-job namespace. Counters whose structured\nnames are the same get merged into a single value for the job.",
"id": "CounterStructuredName",
"properties": {
"componentStepName": {
"description": "Name of the optimized step being executed by the workers.",
"type": "string"
},
"executionStepName": {
"description": "Name of the stage. An execution step contains multiple component steps.",
"type": "string"
},
"inputIndex": {
"description": "Index of an input collection that's being read from/written to as a side\ninput.\nThe index identifies a step's side inputs starting by 1 (e.g. the first\nside input has input_index 1, the third has input_index 3).\nSide inputs are identified by a pair of (original_step_name, input_index).\nThis field helps uniquely identify them.",
"format": "int32",
"type": "integer"
},
"name": {
"description": "Counter name. Not necessarily globally-unique, but unique within the\ncontext of the other fields.\nRequired.",
"type": "string"
},
"origin": {
"description": "One of the standard Origins defined above.",
"enum": [
"SYSTEM",
"USER"
],
"enumDescriptions": [
"Counter was created by the Dataflow system.",
"Counter was created by the user."
],
"type": "string"
},
"originNamespace": {
"description": "A string containing a more specific namespace of the counter's origin.",
"type": "string"
},
"originalRequestingStepName": {
"description": "The step name requesting an operation, such as GBK.\nI.e. the ParDo causing a read/write from shuffle to occur, or a\nread from side inputs.",
"type": "string"
},
"originalStepName": {
"description": "System generated name of the original step in the user's graph, before\noptimization.",
"type": "string"
},
"portion": {
"description": "Portion of this counter, either key or value.",
"enum": [
"ALL",
"KEY",
"VALUE"
],
"enumDescriptions": [
"Counter portion has not been set.",
"Counter reports a key.",
"Counter reports a value."
],
"type": "string"
},
"workerId": {
"description": "ID of a particular worker.",
"type": "string"
}
},
"type": "object"
},
"CounterStructuredNameAndMetadata": {
"description": "A single message which encapsulates structured name and metadata for a given\ncounter.",
"id": "CounterStructuredNameAndMetadata",
"properties": {
"metadata": {
"$ref": "CounterMetadata",
"description": "Metadata associated with a counter"
},
"name": {
"$ref": "CounterStructuredName",
"description": "Structured name of the counter."
}
},
"type": "object"
},
"CounterUpdate": {
"description": "An update to a Counter sent from a worker.",
"id": "CounterUpdate",
"properties": {
"boolean": {
"description": "Boolean value for And, Or.",
"type": "boolean"
},
"cumulative": {
"description": "True if this counter is reported as the total cumulative aggregate\nvalue accumulated since the worker started working on this WorkItem.\nBy default this is false, indicating that this counter is reported\nas a delta.",
"type": "boolean"
},
"distribution": {
"$ref": "DistributionUpdate",
"description": "Distribution data"
},
"floatingPoint": {
"description": "Floating point value for Sum, Max, Min.",
"format": "double",
"type": "number"
},
"floatingPointList": {
"$ref": "FloatingPointList",
"description": "List of floating point numbers, for Set."
},
"floatingPointMean": {
"$ref": "FloatingPointMean",
"description": "Floating point mean aggregation value for Mean."
},
"integer": {
"$ref": "SplitInt64",
"description": "Integer value for Sum, Max, Min."
},
"integerGauge": {
"$ref": "IntegerGauge",
"description": "Gauge data"
},
"integerList": {
"$ref": "IntegerList",
"description": "List of integers, for Set."
},
"integerMean": {
"$ref": "IntegerMean",
"description": "Integer mean aggregation value for Mean."
},
"internal": {
"description": "Value for internally-defined counters used by the Dataflow service.",
"type": "any"
},
"nameAndKind": {
"$ref": "NameAndKind",
"description": "Counter name and aggregation type."
},
"shortId": {
"description": "The service-generated short identifier for this counter.\nThe short_id -\u003e (name, metadata) mapping is constant for the lifetime of\na job.",
"format": "int64",
"type": "string"
},
"stringList": {
"$ref": "StringList",
"description": "List of strings, for Set."
},
"structuredNameAndMetadata": {
"$ref": "CounterStructuredNameAndMetadata",
"description": "Counter structured name and metadata."
}
},
"type": "object"
},
"CreateJobFromTemplateRequest": {
"description": "A request to create a Cloud Dataflow job from a template.",
"id": "CreateJobFromTemplateRequest",
"properties": {
"environment": {
"$ref": "RuntimeEnvironment",
"description": "The runtime environment for the job."
},
"gcsPath": {
"description": "Required. A Cloud Storage path to the template from which to\ncreate the job.\nMust be a valid Cloud Storage URL, beginning with `gs://`.",
"type": "string"
},
"jobName": {
"description": "Required. The job name to use for the created job.",
"type": "string"
},
"location": {
"description": "The location to which to direct the request.",
"type": "string"
},
"parameters": {
"additionalProperties": {
"type": "string"
},
"description": "The runtime parameters to pass to the job.",
"type": "object"
}
},
"type": "object"
},
"CustomSourceLocation": {
"description": "Identifies the location of a custom souce.",
"id": "CustomSourceLocation",
"properties": {
"stateful": {
"description": "Whether this source is stateful.",
"type": "boolean"
}
},
"type": "object"
},
"DataDiskAssignment": {
"description": "Data disk assignment for a given VM instance.",
"id": "DataDiskAssignment",
"properties": {
"dataDisks": {
"description": "Mounted data disks. The order is important a data disk's 0-based index in\nthis list defines which persistent directory the disk is mounted to, for\nexample the list of { \"myproject-1014-104817-4c2-harness-0-disk-0\" },\n{ \"myproject-1014-104817-4c2-harness-0-disk-1\" }.",
"items": {
"type": "string"
},
"type": "array"
},
"vmInstance": {
"description": "VM instance name the data disks mounted to, for example\n\"myproject-1014-104817-4c2-harness-0\".",
"type": "string"
}
},
"type": "object"
},
"DatastoreIODetails": {
"description": "Metadata for a Datastore connector used by the job.",
"id": "DatastoreIODetails",
"properties": {
"namespace": {
"description": "Namespace used in the connection.",
"type": "string"
},
"projectId": {
"description": "ProjectId accessed in the connection.",
"type": "string"
}
},
"type": "object"
},
"DerivedSource": {
"description": "Specification of one of the bundles produced as a result of splitting\na Source (e.g. when executing a SourceSplitRequest, or when\nsplitting an active task using WorkItemStatus.dynamic_source_split),\nrelative to the source being split.",
"id": "DerivedSource",
"properties": {
"derivationMode": {
"description": "What source to base the produced source on (if any).",
"enum": [
"SOURCE_DERIVATION_MODE_UNKNOWN",
"SOURCE_DERIVATION_MODE_INDEPENDENT",
"SOURCE_DERIVATION_MODE_CHILD_OF_CURRENT",
"SOURCE_DERIVATION_MODE_SIBLING_OF_CURRENT"
],
"enumDescriptions": [
"The source derivation is unknown, or unspecified.",
"Produce a completely independent Source with no base.",
"Produce a Source based on the Source being split.",
"Produce a Source based on the base of the Source being split."
],
"type": "string"
},
"source": {
"$ref": "Source",
"description": "Specification of the source."
}
},
"type": "object"
},
"Disk": {
"description": "Describes the data disk used by a workflow job.",
"id": "Disk",
"properties": {
"diskType": {
"description": "Disk storage type, as defined by Google Compute Engine. This\nmust be a disk type appropriate to the project and zone in which\nthe workers will run. If unknown or unspecified, the service\nwill attempt to choose a reasonable default.\n\nFor example, the standard persistent disk type is a resource name\ntypically ending in \"pd-standard\". If SSD persistent disks are\navailable, the resource name typically ends with \"pd-ssd\". The\nactual valid values are defined the Google Compute Engine API,\nnot by the Cloud Dataflow API; consult the Google Compute Engine\ndocumentation for more information about determining the set of\navailable disk types for a particular project and zone.\n\nGoogle Compute Engine Disk types are local to a particular\nproject in a particular zone, and so the resource name will\ntypically look something like this:\n\ncompute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard",
"type": "string"
},
"mountPoint": {
"description": "Directory in a VM where disk is mounted.",
"type": "string"
},
"sizeGb": {
"description": "Size of disk in GB. If zero or unspecified, the service will\nattempt to choose a reasonable default.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"DisplayData": {
"description": "Data provided with a pipeline or transform to provide descriptive info.",
"id": "DisplayData",
"properties": {
"boolValue": {
"description": "Contains value if the data is of a boolean type.",
"type": "boolean"
},
"durationValue": {
"description": "Contains value if the data is of duration type.",
"format": "google-duration",
"type": "string"
},
"floatValue": {
"description": "Contains value if the data is of float type.",
"format": "float",
"type": "number"
},
"int64Value": {
"description": "Contains value if the data is of int64 type.",
"format": "int64",
"type": "string"
},
"javaClassValue": {
"description": "Contains value if the data is of java class type.",
"type": "string"
},
"key": {
"description": "The key identifying the display data.\nThis is intended to be used as a label for the display data\nwhen viewed in a dax monitoring system.",
"type": "string"
},
"label": {
"description": "An optional label to display in a dax UI for the element.",
"type": "string"
},
"namespace": {
"description": "The namespace for the key. This is usually a class name or programming\nlanguage namespace (i.e. python module) which defines the display data.\nThis allows a dax monitoring system to specially handle the data\nand perform custom rendering.",
"type": "string"
},
"shortStrValue": {
"description": "A possible additional shorter value to display.\nFor example a java_class_name_value of com.mypackage.MyDoFn\nwill be stored with MyDoFn as the short_str_value and\ncom.mypackage.MyDoFn as the java_class_name value.\nshort_str_value can be displayed and java_class_name_value\nwill be displayed as a tooltip.",
"type": "string"
},
"strValue": {
"description": "Contains value if the data is of string type.",
"type": "string"
},
"timestampValue": {
"description": "Contains value if the data is of timestamp type.",
"format": "google-datetime",
"type": "string"
},
"url": {
"description": "An optional full URL.",
"type": "string"
}
},
"type": "object"
},
"DistributionUpdate": {
"description": "A metric value representing a distribution.",
"id": "DistributionUpdate",
"properties": {
"count": {
"$ref": "SplitInt64",
"description": "The count of the number of elements present in the distribution."
},
"histogram": {
"$ref": "Histogram",
"description": "(Optional) Histogram of value counts for the distribution."
},
"max": {
"$ref": "SplitInt64",
"description": "The maximum value present in the distribution."
},
"min": {
"$ref": "SplitInt64",
"description": "The minimum value present in the distribution."
},
"sum": {
"$ref": "SplitInt64",
"description": "Use an int64 since we'd prefer the added precision. If overflow is a common\nproblem we can detect it and use an additional int64 or a double."
},
"sumOfSquares": {
"description": "Use a double since the sum of squares is likely to overflow int64.",
"format": "double",
"type": "number"
}
},
"type": "object"
},
"DynamicSourceSplit": {
"description": "When a task splits using WorkItemStatus.dynamic_source_split, this\nmessage describes the two parts of the split relative to the\ndescription of the current task's input.",
"id": "DynamicSourceSplit",
"properties": {
"primary": {
"$ref": "DerivedSource",
"description": "Primary part (continued to be processed by worker).\nSpecified relative to the previously-current source.\nBecomes current."
},
"residual": {
"$ref": "DerivedSource",
"description": "Residual part (returned to the pool of work).\nSpecified relative to the previously-current source."
}
},
"type": "object"
},
"Environment": {
"description": "Describes the environment in which a Dataflow Job runs.",
"id": "Environment",
"properties": {
"clusterManagerApiService": {
"description": "The type of cluster manager API to use. If unknown or\nunspecified, the service will attempt to choose a reasonable\ndefault. This should be in the form of the API service name,\ne.g. \"compute.googleapis.com\".",
"type": "string"
},
"dataset": {
"description": "The dataset for the current project where various workflow\nrelated tables are stored.\n\nThe supported resource type is:\n\nGoogle BigQuery:\n bigquery.googleapis.com/{dataset}",
"type": "string"
},
"experiments": {
"description": "The list of experiments to enable.",
"items": {
"type": "string"
},
"type": "array"
},
"internalExperiments": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"description": "Experimental settings.",
"type": "object"
},
"sdkPipelineOptions": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "The Cloud Dataflow SDK pipeline options specified by the user. These\noptions are passed through the service and are used to recreate the\nSDK pipeline options on the worker in a language agnostic and platform\nindependent way.",
"type": "object"
},
"serviceAccountEmail": {
"description": "Identity to run virtual machines as. Defaults to the default account.",
"type": "string"
},
"tempStoragePrefix": {
"description": "The prefix of the resources the system should use for temporary\nstorage. The system will append the suffix \"/temp-{JOBNAME} to\nthis resource prefix, where {JOBNAME} is the value of the\njob_name field. The resulting bucket and object prefix is used\nas the prefix of the resources used to store temporary data\nneeded during the job execution. NOTE: This will override the\nvalue in taskrunner_settings.\nThe supported resource type is:\n\nGoogle Cloud Storage:\n\n storage.googleapis.com/{bucket}/{object}\n bucket.storage.googleapis.com/{object}",
"type": "string"
},
"userAgent": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "A description of the process that generated the request.",
"type": "object"
},
"version": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "A structure describing which components and their versions of the service\nare required in order to run the job.",
"type": "object"
},
"workerPools": {
"description": "The worker pools. At least one \"harness\" worker pool must be\nspecified in order for the job to have workers.",
"items": {
"$ref": "WorkerPool"
},
"type": "array"
}
},
"type": "object"
},
"ExecutionStageState": {
"description": "A message describing the state of a particular execution stage.",
"id": "ExecutionStageState",
"properties": {
"currentStateTime": {
"description": "The time at which the stage transitioned to this state.",
"format": "google-datetime",
"type": "string"
},
"executionStageName": {
"description": "The name of the execution stage.",
"type": "string"
},
"executionStageState": {
"description": "Executions stage states allow the same set of values as JobState.",
"enum": [
"JOB_STATE_UNKNOWN",
"JOB_STATE_STOPPED",
"JOB_STATE_RUNNING",
"JOB_STATE_DONE",
"JOB_STATE_FAILED",
"JOB_STATE_CANCELLED",
"JOB_STATE_UPDATED",
"JOB_STATE_DRAINING",
"JOB_STATE_DRAINED",
"JOB_STATE_PENDING",
"JOB_STATE_CANCELLING",
"JOB_STATE_QUEUED"
],
"enumDescriptions": [
"The job's run state isn't specified.",
"`JOB_STATE_STOPPED` indicates that the job has not\nyet started to run.",
"`JOB_STATE_RUNNING` indicates that the job is currently running.",
"`JOB_STATE_DONE` indicates that the job has successfully completed.\nThis is a terminal job state. This state may be set by the Cloud Dataflow\nservice, as a transition from `JOB_STATE_RUNNING`. It may also be set via a\nCloud Dataflow `UpdateJob` call, if the job has not yet reached a terminal\nstate.",
"`JOB_STATE_FAILED` indicates that the job has failed. This is a\nterminal job state. This state may only be set by the Cloud Dataflow\nservice, and only as a transition from `JOB_STATE_RUNNING`.",
"`JOB_STATE_CANCELLED` indicates that the job has been explicitly\ncancelled. This is a terminal job state. This state may only be\nset via a Cloud Dataflow `UpdateJob` call, and only if the job has not\nyet reached another terminal state.",
"`JOB_STATE_UPDATED` indicates that the job was successfully updated,\nmeaning that this job was stopped and another job was started, inheriting\nstate from this one. This is a terminal job state. This state may only be\nset by the Cloud Dataflow service, and only as a transition from\n`JOB_STATE_RUNNING`.",
"`JOB_STATE_DRAINING` indicates that the job is in the process of draining.\nA draining job has stopped pulling from its input sources and is processing\nany data that remains in-flight. This state may be set via a Cloud Dataflow\n`UpdateJob` call, but only as a transition from `JOB_STATE_RUNNING`. Jobs\nthat are draining may only transition to `JOB_STATE_DRAINED`,\n`JOB_STATE_CANCELLED`, or `JOB_STATE_FAILED`.",
"`JOB_STATE_DRAINED` indicates that the job has been drained.\nA drained job terminated by stopping pulling from its input sources and\nprocessing any data that remained in-flight when draining was requested.\nThis state is a terminal state, may only be set by the Cloud Dataflow\nservice, and only as a transition from `JOB_STATE_DRAINING`.",
"`JOB_STATE_PENDING` indicates that the job has been created but is not yet\nrunning. Jobs that are pending may only transition to `JOB_STATE_RUNNING`,\nor `JOB_STATE_FAILED`.",
"`JOB_STATE_CANCELLING` indicates that the job has been explicitly cancelled\nand is in the process of stopping. Jobs that are cancelling may only\ntransition to `JOB_STATE_CANCELLED` or `JOB_STATE_FAILED`.",
"`JOB_STATE_QUEUED` indicates that the job has been created but is being\ndelayed until launch. Jobs that are queued may only transition to\n`JOB_STATE_PENDING` or `JOB_STATE_CANCELLED`."
],
"type": "string"
}
},
"type": "object"
},
"ExecutionStageSummary": {
"description": "Description of the composing transforms, names/ids, and input/outputs of a\nstage of execution. Some composing transforms and sources may have been\ngenerated by the Dataflow service during execution planning.",
"id": "ExecutionStageSummary",
"properties": {
"componentSource": {
"description": "Collections produced and consumed by component transforms of this stage.",
"items": {
"$ref": "ComponentSource"
},
"type": "array"
},
"componentTransform": {
"description": "Transforms that comprise this execution stage.",
"items": {
"$ref": "ComponentTransform"
},
"type": "array"
},
"id": {
"description": "Dataflow service generated id for this stage.",
"type": "string"
},
"inputSource": {
"description": "Input sources for this stage.",
"items": {
"$ref": "StageSource"
},
"type": "array"
},
"kind": {
"description": "Type of tranform this stage is executing.",
"enum": [
"UNKNOWN_KIND",
"PAR_DO_KIND",
"GROUP_BY_KEY_KIND",
"FLATTEN_KIND",
"READ_KIND",
"WRITE_KIND",
"CONSTANT_KIND",
"SINGLETON_KIND",
"SHUFFLE_KIND"
],
"enumDescriptions": [
"Unrecognized transform type.",
"ParDo transform.",
"Group By Key transform.",
"Flatten transform.",
"Read transform.",
"Write transform.",
"Constructs from a constant value, such as with Create.of.",
"Creates a Singleton view of a collection.",
"Opening or closing a shuffle session, often as part of a GroupByKey."
],
"type": "string"
},
"name": {
"description": "Dataflow service generated name for this stage.",
"type": "string"
},
"outputSource": {
"description": "Output sources for this stage.",
"items": {
"$ref": "StageSource"
},
"type": "array"
}
},
"type": "object"
},
"FailedLocation": {
"description": "Indicates which location failed to respond to a request for data.",
"id": "FailedLocation",
"properties": {
"name": {
"description": "The name of the failed location.",
"type": "string"
}
},
"type": "object"
},
"FileIODetails": {
"description": "Metadata for a File connector used by the job.",
"id": "FileIODetails",
"properties": {
"filePattern": {
"description": "File Pattern used to access files by the connector.",
"type": "string"
}
},
"type": "object"
},
"FlattenInstruction": {
"description": "An instruction that copies its inputs (zero or more) to its (single) output.",
"id": "FlattenInstruction",
"properties": {
"inputs": {
"description": "Describes the inputs to the flatten instruction.",
"items": {
"$ref": "InstructionInput"
},
"type": "array"
}
},
"type": "object"
},
"FloatingPointList": {
"description": "A metric value representing a list of floating point numbers.",
"id": "FloatingPointList",
"properties": {
"elements": {
"description": "Elements of the list.",
"items": {
"format": "double",
"type": "number"
},
"type": "array"
}
},
"type": "object"
},
"FloatingPointMean": {
"description": "A representation of a floating point mean metric contribution.",
"id": "FloatingPointMean",
"properties": {
"count": {
"$ref": "SplitInt64",
"description": "The number of values being aggregated."
},
"sum": {
"description": "The sum of all values being aggregated.",
"format": "double",
"type": "number"
}
},
"type": "object"
},
"GetDebugConfigRequest": {
"description": "Request to get updated debug configuration for component.",
"id": "GetDebugConfigRequest",
"properties": {
"componentId": {
"description": "The internal component id for which debug configuration is\nrequested.",
"type": "string"
},
"location": {
"description": "The location which contains the job specified by job_id.",
"type": "string"
},
"workerId": {
"description": "The worker id, i.e., VM hostname.",
"type": "string"
}
},
"type": "object"
},
"GetDebugConfigResponse": {
"description": "Response to a get debug configuration request.",
"id": "GetDebugConfigResponse",
"properties": {
"config": {
"description": "The encoded debug configuration for the requested component.",
"type": "string"
}
},
"type": "object"
},
"GetTemplateResponse": {
"description": "The response to a GetTemplate request.",
"id": "GetTemplateResponse",
"properties": {
"metadata": {
"$ref": "TemplateMetadata",
"description": "The template metadata describing the template name, available\nparameters, etc."
},
"status": {
"$ref": "Status",
"description": "The status of the get template request. Any problems with the\nrequest will be indicated in the error_details."
}
},
"type": "object"
},
"Histogram": {
"description": "Histogram of value counts for a distribution.\n\nBuckets have an inclusive lower bound and exclusive upper bound and use\n\"1,2,5 bucketing\": The first bucket range is from [0,1) and all subsequent\nbucket boundaries are powers of ten multiplied by 1, 2, or 5. Thus, bucket\nboundaries are 0, 1, 2, 5, 10, 20, 50, 100, 200, 500, 1000, ...\nNegative values are not supported.",
"id": "Histogram",
"properties": {
"bucketCounts": {
"description": "Counts of values in each bucket. For efficiency, prefix and trailing\nbuckets with count = 0 are elided. Buckets can store the full range of\nvalues of an unsigned long, with ULLONG_MAX falling into the 59th bucket\nwith range [1e19, 2e19).",
"items": {
"format": "int64",
"type": "string"
},
"type": "array"
},
"firstBucketOffset": {
"description": "Starting index of first stored bucket. The non-inclusive upper-bound of\nthe ith bucket is given by:\n pow(10,(i-first_bucket_offset)/3) * (1,2,5)[(i-first_bucket_offset)%3]",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"InstructionInput": {
"description": "An input of an instruction, as a reference to an output of a\nproducer instruction.",
"id": "InstructionInput",
"properties": {
"outputNum": {
"description": "The output index (origin zero) within the producer.",
"format": "int32",
"type": "integer"
},
"producerInstructionIndex": {
"description": "The index (origin zero) of the parallel instruction that produces\nthe output to be consumed by this input. This index is relative\nto the list of instructions in this input's instruction's\ncontaining MapTask.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"InstructionOutput": {
"description": "An output of an instruction.",
"id": "InstructionOutput",
"properties": {
"codec": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "The codec to use to encode data being written via this output.",
"type": "object"
},
"name": {
"description": "The user-provided name of this output.",
"type": "string"
},
"onlyCountKeyBytes": {
"description": "For system-generated byte and mean byte metrics, certain instructions\nshould only report the key size.",
"type": "boolean"
},
"onlyCountValueBytes": {
"description": "For system-generated byte and mean byte metrics, certain instructions\nshould only report the value size.",
"type": "boolean"
},
"originalName": {
"description": "System-defined name for this output in the original workflow graph.\nOutputs that do not contribute to an original instruction do not set this.",
"type": "string"
},
"systemName": {
"description": "System-defined name of this output.\nUnique across the workflow.",
"type": "string"
}
},
"type": "object"
},
"IntegerGauge": {
"description": "A metric value representing temporal values of a variable.",
"id": "IntegerGauge",
"properties": {
"timestamp": {
"description": "The time at which this value was measured. Measured as msecs from epoch.",
"format": "google-datetime",
"type": "string"
},
"value": {
"$ref": "SplitInt64",
"description": "The value of the variable represented by this gauge."
}
},
"type": "object"
},
"IntegerList": {
"description": "A metric value representing a list of integers.",
"id": "IntegerList",
"properties": {
"elements": {
"description": "Elements of the list.",
"items": {
"$ref": "SplitInt64"
},
"type": "array"
}
},
"type": "object"
},
"IntegerMean": {
"description": "A representation of an integer mean metric contribution.",
"id": "IntegerMean",
"properties": {
"count": {
"$ref": "SplitInt64",
"description": "The number of values being aggregated."
},
"sum": {
"$ref": "SplitInt64",
"description": "The sum of all values being aggregated."
}
},
"type": "object"
},
"Job": {
"description": "Defines a job to be run by the Cloud Dataflow service.",
"id": "Job",
"properties": {
"clientRequestId": {
"description": "The client's unique identifier of the job, re-used across retried attempts.\nIf this field is set, the service will ensure its uniqueness.\nThe request to create a job will fail if the service has knowledge of a\npreviously submitted job with the same client's ID and job name.\nThe caller may use this field to ensure idempotence of job\ncreation across retried attempts to create a job.\nBy default, the field is empty and, in that case, the service ignores it.",
"type": "string"
},
"createTime": {
"description": "The timestamp when the job was initially created. Immutable and set by the\nCloud Dataflow service.",
"format": "google-datetime",
"type": "string"
},
"currentState": {
"description": "The current state of the job.\n\nJobs are created in the `JOB_STATE_STOPPED` state unless otherwise\nspecified.\n\nA job in the `JOB_STATE_RUNNING` state may asynchronously enter a\nterminal state. After a job has reached a terminal state, no\nfurther state updates may be made.\n\nThis field may be mutated by the Cloud Dataflow service;\ncallers cannot mutate it.",
"enum": [
"JOB_STATE_UNKNOWN",
"JOB_STATE_STOPPED",
"JOB_STATE_RUNNING",
"JOB_STATE_DONE",
"JOB_STATE_FAILED",
"JOB_STATE_CANCELLED",
"JOB_STATE_UPDATED",
"JOB_STATE_DRAINING",
"JOB_STATE_DRAINED",
"JOB_STATE_PENDING",
"JOB_STATE_CANCELLING",
"JOB_STATE_QUEUED"
],
"enumDescriptions": [
"The job's run state isn't specified.",
"`JOB_STATE_STOPPED` indicates that the job has not\nyet started to run.",
"`JOB_STATE_RUNNING` indicates that the job is currently running.",
"`JOB_STATE_DONE` indicates that the job has successfully completed.\nThis is a terminal job state. This state may be set by the Cloud Dataflow\nservice, as a transition from `JOB_STATE_RUNNING`. It may also be set via a\nCloud Dataflow `UpdateJob` call, if the job has not yet reached a terminal\nstate.",
"`JOB_STATE_FAILED` indicates that the job has failed. This is a\nterminal job state. This state may only be set by the Cloud Dataflow\nservice, and only as a transition from `JOB_STATE_RUNNING`.",
"`JOB_STATE_CANCELLED` indicates that the job has been explicitly\ncancelled. This is a terminal job state. This state may only be\nset via a Cloud Dataflow `UpdateJob` call, and only if the job has not\nyet reached another terminal state.",
"`JOB_STATE_UPDATED` indicates that the job was successfully updated,\nmeaning that this job was stopped and another job was started, inheriting\nstate from this one. This is a terminal job state. This state may only be\nset by the Cloud Dataflow service, and only as a transition from\n`JOB_STATE_RUNNING`.",
"`JOB_STATE_DRAINING` indicates that the job is in the process of draining.\nA draining job has stopped pulling from its input sources and is processing\nany data that remains in-flight. This state may be set via a Cloud Dataflow\n`UpdateJob` call, but only as a transition from `JOB_STATE_RUNNING`. Jobs\nthat are draining may only transition to `JOB_STATE_DRAINED`,\n`JOB_STATE_CANCELLED`, or `JOB_STATE_FAILED`.",
"`JOB_STATE_DRAINED` indicates that the job has been drained.\nA drained job terminated by stopping pulling from its input sources and\nprocessing any data that remained in-flight when draining was requested.\nThis state is a terminal state, may only be set by the Cloud Dataflow\nservice, and only as a transition from `JOB_STATE_DRAINING`.",
"`JOB_STATE_PENDING` indicates that the job has been created but is not yet\nrunning. Jobs that are pending may only transition to `JOB_STATE_RUNNING`,\nor `JOB_STATE_FAILED`.",
"`JOB_STATE_CANCELLING` indicates that the job has been explicitly cancelled\nand is in the process of stopping. Jobs that are cancelling may only\ntransition to `JOB_STATE_CANCELLED` or `JOB_STATE_FAILED`.",
"`JOB_STATE_QUEUED` indicates that the job has been created but is being\ndelayed until launch. Jobs that are queued may only transition to\n`JOB_STATE_PENDING` or `JOB_STATE_CANCELLED`."
],
"type": "string"
},
"currentStateTime": {
"description": "The timestamp associated with the current state.",
"format": "google-datetime",
"type": "string"
},
"environment": {
"$ref": "Environment",
"description": "The environment for the job."
},
"executionInfo": {
"$ref": "JobExecutionInfo",
"description": "Deprecated."
},
"id": {
"description": "The unique ID of this job.\n\nThis field is set by the Cloud Dataflow service when the Job is\ncreated, and is immutable for the life of the job.",
"type": "string"
},
"jobMetadata": {
"$ref": "JobMetadata",
"description": "This field is populated by the Dataflow service to support filtering jobs\nby the metadata values provided here. Populated for ListJobs and all GetJob\nviews SUMMARY and higher."
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "User-defined labels for this job.\n\nThe labels map can contain no more than 64 entries. Entries of the labels\nmap are UTF8 strings that comply with the following restrictions:\n\n* Keys must conform to regexp: \\p{Ll}\\p{Lo}{0,62}\n* Values must conform to regexp: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63}\n* Both keys and values are additionally constrained to be \u003c= 128 bytes in\nsize.",
"type": "object"
},
"location": {
"description": "The location that contains this job.",
"type": "string"
},
"name": {
"description": "The user-specified Cloud Dataflow job name.\n\nOnly one Job with a given name may exist in a project at any\ngiven time. If a caller attempts to create a Job with the same\nname as an already-existing Job, the attempt returns the\nexisting Job.\n\nThe name must match the regular expression\n`[a-z]([-a-z0-9]{0,38}[a-z0-9])?`",
"type": "string"
},
"pipelineDescription": {
"$ref": "PipelineDescription",
"description": "Preliminary field: The format of this data may change at any time.\nA description of the user pipeline and stages through which it is executed.\nCreated by Cloud Dataflow service. Only retrieved with\nJOB_VIEW_DESCRIPTION or JOB_VIEW_ALL."
},
"projectId": {
"description": "The ID of the Cloud Platform project that the job belongs to.",
"type": "string"
},
"replaceJobId": {
"description": "If this job is an update of an existing job, this field is the job ID\nof the job it replaced.\n\nWhen sending a `CreateJobRequest`, you can update a job by specifying it\nhere. The job named here is stopped, and its intermediate state is\ntransferred to this job.",
"type": "string"
},
"replacedByJobId": {
"description": "If another job is an update of this job (and thus, this job is in\n`JOB_STATE_UPDATED`), this field contains the ID of that job.",
"type": "string"
},
"requestedState": {
"description": "The job's requested state.\n\n`UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and\n`JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may\nalso be used to directly set a job's requested state to\n`JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the\njob if it has not already reached a terminal state.",
"enum": [
"JOB_STATE_UNKNOWN",
"JOB_STATE_STOPPED",
"JOB_STATE_RUNNING",
"JOB_STATE_DONE",
"JOB_STATE_FAILED",
"JOB_STATE_CANCELLED",
"JOB_STATE_UPDATED",
"JOB_STATE_DRAINING",
"JOB_STATE_DRAINED",
"JOB_STATE_PENDING",
"JOB_STATE_CANCELLING",
"JOB_STATE_QUEUED"
],
"enumDescriptions": [
"The job's run state isn't specified.",
"`JOB_STATE_STOPPED` indicates that the job has not\nyet started to run.",
"`JOB_STATE_RUNNING` indicates that the job is currently running.",
"`JOB_STATE_DONE` indicates that the job has successfully completed.\nThis is a terminal job state. This state may be set by the Cloud Dataflow\nservice, as a transition from `JOB_STATE_RUNNING`. It may also be set via a\nCloud Dataflow `UpdateJob` call, if the job has not yet reached a terminal\nstate.",
"`JOB_STATE_FAILED` indicates that the job has failed. This is a\nterminal job state. This state may only be set by the Cloud Dataflow\nservice, and only as a transition from `JOB_STATE_RUNNING`.",
"`JOB_STATE_CANCELLED` indicates that the job has been explicitly\ncancelled. This is a terminal job state. This state may only be\nset via a Cloud Dataflow `UpdateJob` call, and only if the job has not\nyet reached another terminal state.",
"`JOB_STATE_UPDATED` indicates that the job was successfully updated,\nmeaning that this job was stopped and another job was started, inheriting\nstate from this one. This is a terminal job state. This state may only be\nset by the Cloud Dataflow service, and only as a transition from\n`JOB_STATE_RUNNING`.",
"`JOB_STATE_DRAINING` indicates that the job is in the process of draining.\nA draining job has stopped pulling from its input sources and is processing\nany data that remains in-flight. This state may be set via a Cloud Dataflow\n`UpdateJob` call, but only as a transition from `JOB_STATE_RUNNING`. Jobs\nthat are draining may only transition to `JOB_STATE_DRAINED`,\n`JOB_STATE_CANCELLED`, or `JOB_STATE_FAILED`.",
"`JOB_STATE_DRAINED` indicates that the job has been drained.\nA drained job terminated by stopping pulling from its input sources and\nprocessing any data that remained in-flight when draining was requested.\nThis state is a terminal state, may only be set by the Cloud Dataflow\nservice, and only as a transition from `JOB_STATE_DRAINING`.",
"`JOB_STATE_PENDING` indicates that the job has been created but is not yet\nrunning. Jobs that are pending may only transition to `JOB_STATE_RUNNING`,\nor `JOB_STATE_FAILED`.",
"`JOB_STATE_CANCELLING` indicates that the job has been explicitly cancelled\nand is in the process of stopping. Jobs that are cancelling may only\ntransition to `JOB_STATE_CANCELLED` or `JOB_STATE_FAILED`.",
"`JOB_STATE_QUEUED` indicates that the job has been created but is being\ndelayed until launch. Jobs that are queued may only transition to\n`JOB_STATE_PENDING` or `JOB_STATE_CANCELLED`."
],
"type": "string"
},
"stageStates": {
"description": "This field may be mutated by the Cloud Dataflow service;\ncallers cannot mutate it.",
"items": {
"$ref": "ExecutionStageState"
},
"type": "array"
},
"steps": {
"description": "The top-level steps that constitute the entire job.",
"items": {
"$ref": "Step"
},
"type": "array"
},
"tempFiles": {
"description": "A set of files the system should be aware of that are used\nfor temporary storage. These temporary files will be\nremoved on job completion.\nNo duplicates are allowed.\nNo file patterns are supported.\n\nThe supported files are:\n\nGoogle Cloud Storage:\n\n storage.googleapis.com/{bucket}/{object}\n bucket.storage.googleapis.com/{object}",
"items": {
"type": "string"
},
"type": "array"
},
"transformNameMapping": {
"additionalProperties": {
"type": "string"
},
"description": "The map of transform name prefixes of the job to be replaced to the\ncorresponding name prefixes of the new job.",
"type": "object"
},
"type": {
"description": "The type of Cloud Dataflow job.",
"enum": [
"JOB_TYPE_UNKNOWN",
"JOB_TYPE_BATCH",
"JOB_TYPE_STREAMING"
],
"enumDescriptions": [
"The type of the job is unspecified, or unknown.",
"A batch job with a well-defined end point: data is read, data is\nprocessed, data is written, and the job is done.",
"A continuously streaming job with no end: data is read,\nprocessed, and written continuously."
],
"type": "string"
}
},
"type": "object"
},
"JobExecutionInfo": {
"description": "Additional information about how a Cloud Dataflow job will be executed that\nisn't contained in the submitted job.",
"id": "JobExecutionInfo",
"properties": {
"stages": {
"additionalProperties": {
"$ref": "JobExecutionStageInfo"
},
"description": "A mapping from each stage to the information about that stage.",
"type": "object"
}
},
"type": "object"
},
"JobExecutionStageInfo": {
"description": "Contains information about how a particular\ngoogle.dataflow.v1beta3.Step will be executed.",
"id": "JobExecutionStageInfo",
"properties": {
"stepName": {
"description": "The steps associated with the execution stage.\nNote that stages may have several steps, and that a given step\nmight be run by more than one stage.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"JobMessage": {
"description": "A particular message pertaining to a Dataflow job.",
"id": "JobMessage",
"properties": {
"id": {
"description": "Deprecated.",
"type": "string"
},
"messageImportance": {
"description": "Importance level of the message.",
"enum": [
"JOB_MESSAGE_IMPORTANCE_UNKNOWN",
"JOB_MESSAGE_DEBUG",
"JOB_MESSAGE_DETAILED",
"JOB_MESSAGE_BASIC",
"JOB_MESSAGE_WARNING",
"JOB_MESSAGE_ERROR"
],
"enumDescriptions": [
"The message importance isn't specified, or is unknown.",
"The message is at the 'debug' level: typically only useful for\nsoftware engineers working on the code the job is running.\nTypically, Dataflow pipeline runners do not display log messages\nat this level by default.",
"The message is at the 'detailed' level: somewhat verbose, but\npotentially useful to users. Typically, Dataflow pipeline\nrunners do not display log messages at this level by default.\nThese messages are displayed by default in the Dataflow\nmonitoring UI.",
"The message is at the 'basic' level: useful for keeping\ntrack of the execution of a Dataflow pipeline. Typically,\nDataflow pipeline runners display log messages at this level by\ndefault, and these messages are displayed by default in the\nDataflow monitoring UI.",
"The message is at the 'warning' level: indicating a condition\npertaining to a job which may require human intervention.\nTypically, Dataflow pipeline runners display log messages at this\nlevel by default, and these messages are displayed by default in\nthe Dataflow monitoring UI.",
"The message is at the 'error' level: indicating a condition\npreventing a job from succeeding. Typically, Dataflow pipeline\nrunners display log messages at this level by default, and these\nmessages are displayed by default in the Dataflow monitoring UI."
],
"type": "string"
},
"messageText": {
"description": "The text of the message.",
"type": "string"
},
"time": {
"description": "The timestamp of the message.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"JobMetadata": {
"description": "Metadata available primarily for filtering jobs. Will be included in the\nListJob response and Job SUMMARY view+.",
"id": "JobMetadata",
"properties": {
"bigTableDetails": {
"description": "Identification of a BigTable source used in the Dataflow job.",
"items": {
"$ref": "BigTableIODetails"
},
"type": "array"
},
"bigqueryDetails": {
"description": "Identification of a BigQuery source used in the Dataflow job.",
"items": {
"$ref": "BigQueryIODetails"
},
"type": "array"
},
"datastoreDetails": {
"description": "Identification of a Datastore source used in the Dataflow job.",
"items": {
"$ref": "DatastoreIODetails"
},
"type": "array"
},
"fileDetails": {
"description": "Identification of a File source used in the Dataflow job.",
"items": {
"$ref": "FileIODetails"
},
"type": "array"
},
"pubsubDetails": {
"description": "Identification of a PubSub source used in the Dataflow job.",
"items": {
"$ref": "PubSubIODetails"
},
"type": "array"
},
"sdkVersion": {
"$ref": "SdkVersion",
"description": "The SDK version used to run the job."
},
"spannerDetails": {
"description": "Identification of a Spanner source used in the Dataflow job.",
"items": {
"$ref": "SpannerIODetails"
},
"type": "array"
}
},
"type": "object"
},
"JobMetrics": {
"description": "JobMetrics contains a collection of metrics descibing the detailed progress\nof a Dataflow job. Metrics correspond to user-defined and system-defined\nmetrics in the job.\n\nThis resource captures only the most recent values of each metric;\ntime-series data can be queried for them (under the same metric names)\nfrom Cloud Monitoring.",
"id": "JobMetrics",
"properties": {
"metricTime": {
"description": "Timestamp as of which metric values are current.",
"format": "google-datetime",
"type": "string"
},
"metrics": {
"description": "All metrics for this job.",
"items": {
"$ref": "MetricUpdate"
},
"type": "array"
}
},
"type": "object"
},
"KeyRangeDataDiskAssignment": {
"description": "Data disk assignment information for a specific key-range of a sharded\ncomputation.\nCurrently we only support UTF-8 character splits to simplify encoding into\nJSON.",
"id": "KeyRangeDataDiskAssignment",
"properties": {
"dataDisk": {
"description": "The name of the data disk where data for this range is stored.\nThis name is local to the Google Cloud Platform project and uniquely\nidentifies the disk within that project, for example\n\"myproject-1014-104817-4c2-harness-0-disk-1\".",
"type": "string"
},
"end": {
"description": "The end (exclusive) of the key range.",
"type": "string"
},
"start": {
"description": "The start (inclusive) of the key range.",
"type": "string"
}
},
"type": "object"
},
"KeyRangeLocation": {
"description": "Location information for a specific key-range of a sharded computation.\nCurrently we only support UTF-8 character splits to simplify encoding into\nJSON.",
"id": "KeyRangeLocation",
"properties": {
"dataDisk": {
"description": "The name of the data disk where data for this range is stored.\nThis name is local to the Google Cloud Platform project and uniquely\nidentifies the disk within that project, for example\n\"myproject-1014-104817-4c2-harness-0-disk-1\".",
"type": "string"
},
"deliveryEndpoint": {
"description": "The physical location of this range assignment to be used for\nstreaming computation cross-worker message delivery.",
"type": "string"
},
"deprecatedPersistentDirectory": {
"description": "DEPRECATED. The location of the persistent state for this range, as a\npersistent directory in the worker local filesystem.",
"type": "string"
},
"end": {
"description": "The end (exclusive) of the key range.",
"type": "string"
},
"start": {
"description": "The start (inclusive) of the key range.",
"type": "string"
}
},
"type": "object"
},
"LaunchTemplateParameters": {
"description": "Parameters to provide to the template being launched.",
"id": "LaunchTemplateParameters",
"properties": {
"environment": {
"$ref": "RuntimeEnvironment",
"description": "The runtime environment for the job."
},
"jobName": {
"description": "Required. The job name to use for the created job.",
"type": "string"
},
"parameters": {
"additionalProperties": {
"type": "string"
},
"description": "The runtime parameters to pass to the job.",
"type": "object"
}
},
"type": "object"
},
"LaunchTemplateResponse": {
"description": "Response to the request to launch a template.",
"id": "LaunchTemplateResponse",
"properties": {
"job": {
"$ref": "Job",
"description": "The job that was launched, if the request was not a dry run and\nthe job was successfully launched."
}
},
"type": "object"
},
"LeaseWorkItemRequest": {
"description": "Request to lease WorkItems.",
"id": "LeaseWorkItemRequest",
"properties": {
"currentWorkerTime": {
"description": "The current timestamp at the worker.",
"format": "google-datetime",
"type": "string"
},
"location": {
"description": "The location which contains the WorkItem's job.",
"type": "string"
},
"requestedLeaseDuration": {
"description": "The initial lease period.",
"format": "google-duration",
"type": "string"
},
"workItemTypes": {
"description": "Filter for WorkItem type.",
"items": {
"type": "string"
},
"type": "array"
},
"workerCapabilities": {
"description": "Worker capabilities. WorkItems might be limited to workers with specific\ncapabilities.",
"items": {
"type": "string"
},
"type": "array"
},
"workerId": {
"description": "Identifies the worker leasing work -- typically the ID of the\nvirtual machine running the worker.",
"type": "string"
}
},
"type": "object"
},
"LeaseWorkItemResponse": {
"description": "Response to a request to lease WorkItems.",
"id": "LeaseWorkItemResponse",
"properties": {
"workItems": {
"description": "A list of the leased WorkItems.",
"items": {
"$ref": "WorkItem"
},
"type": "array"
}
},
"type": "object"
},
"ListJobMessagesResponse": {
"description": "Response to a request to list job messages.",
"id": "ListJobMessagesResponse",
"properties": {
"autoscalingEvents": {
"description": "Autoscaling events in ascending timestamp order.",
"items": {
"$ref": "AutoscalingEvent"
},
"type": "array"
},
"jobMessages": {
"description": "Messages in ascending timestamp order.",
"items": {
"$ref": "JobMessage"
},
"type": "array"
},
"nextPageToken": {
"description": "The token to obtain the next page of results if there are more.",
"type": "string"
}
},
"type": "object"
},
"ListJobsResponse": {
"description": "Response to a request to list Cloud Dataflow jobs. This may be a partial\nresponse, depending on the page size in the ListJobsRequest.",
"id": "ListJobsResponse",
"properties": {
"failedLocation": {
"description": "Zero or more messages describing locations that failed to respond.",
"items": {
"$ref": "FailedLocation"
},
"type": "array"
},
"jobs": {
"description": "A subset of the requested job information.",
"items": {
"$ref": "Job"
},
"type": "array"
},
"nextPageToken": {
"description": "Set if there may be more results than fit in this response.",
"type": "string"
}
},
"type": "object"
},
"MapTask": {
"description": "MapTask consists of an ordered set of instructions, each of which\ndescribes one particular low-level operation for the worker to\nperform in order to accomplish the MapTask's WorkItem.\n\nEach instruction must appear in the list before any instructions which\ndepends on its output.",
"id": "MapTask",
"properties": {
"instructions": {
"description": "The instructions in the MapTask.",
"items": {
"$ref": "ParallelInstruction"
},
"type": "array"
},
"stageName": {
"description": "System-defined name of the stage containing this MapTask.\nUnique across the workflow.",
"type": "string"
},
"systemName": {
"description": "System-defined name of this MapTask.\nUnique across the workflow.",
"type": "string"
}
},
"type": "object"
},
"MetricShortId": {
"description": "The metric short id is returned to the user alongside an offset into\nReportWorkItemStatusRequest",
"id": "MetricShortId",
"properties": {
"metricIndex": {
"description": "The index of the corresponding metric in\nthe ReportWorkItemStatusRequest. Required.",
"format": "int32",
"type": "integer"
},
"shortId": {
"description": "The service-generated short identifier for the metric.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"MetricStructuredName": {
"description": "Identifies a metric, by describing the source which generated the\nmetric.",
"id": "MetricStructuredName",
"properties": {
"context": {
"additionalProperties": {
"type": "string"
},
"description": "Zero or more labeled fields which identify the part of the job this\nmetric is associated with, such as the name of a step or collection.\n\nFor example, built-in counters associated with steps will have\ncontext['step'] = \u003cstep-name\u003e. Counters associated with PCollections\nin the SDK will have context['pcollection'] = \u003cpcollection-name\u003e.",
"type": "object"
},
"name": {
"description": "Worker-defined metric name.",
"type": "string"
},
"origin": {
"description": "Origin (namespace) of metric name. May be blank for user-define metrics;\nwill be \"dataflow\" for metrics defined by the Dataflow service or SDK.",
"type": "string"
}
},
"type": "object"
},
"MetricUpdate": {
"description": "Describes the state of a metric.",
"id": "MetricUpdate",
"properties": {
"cumulative": {
"description": "True if this metric is reported as the total cumulative aggregate\nvalue accumulated since the worker started working on this WorkItem.\nBy default this is false, indicating that this metric is reported\nas a delta that is not associated with any WorkItem.",
"type": "boolean"
},
"distribution": {
"description": "A struct value describing properties of a distribution of numeric values.",
"type": "any"
},
"gauge": {
"description": "A struct value describing properties of a Gauge.\nMetrics of gauge type show the value of a metric across time, and is\naggregated based on the newest value.",
"type": "any"
},
"internal": {
"description": "Worker-computed aggregate value for internal use by the Dataflow\nservice.",
"type": "any"
},
"kind": {
"description": "Metric aggregation kind. The possible metric aggregation kinds are\n\"Sum\", \"Max\", \"Min\", \"Mean\", \"Set\", \"And\", \"Or\", and \"Distribution\".\nThe specified aggregation kind is case-insensitive.\n\nIf omitted, this is not an aggregated value but instead\na single metric sample value.",
"type": "string"
},
"meanCount": {
"description": "Worker-computed aggregate value for the \"Mean\" aggregation kind.\nThis holds the count of the aggregated values and is used in combination\nwith mean_sum above to obtain the actual mean aggregate value.\nThe only possible value type is Long.",
"type": "any"
},
"meanSum": {
"description": "Worker-computed aggregate value for the \"Mean\" aggregation kind.\nThis holds the sum of the aggregated values and is used in combination\nwith mean_count below to obtain the actual mean aggregate value.\nThe only possible value types are Long and Double.",
"type": "any"
},
"name": {
"$ref": "MetricStructuredName",
"description": "Name of the metric."
},
"scalar": {
"description": "Worker-computed aggregate value for aggregation kinds \"Sum\", \"Max\", \"Min\",\n\"And\", and \"Or\". The possible value types are Long, Double, and Boolean.",
"type": "any"
},
"set": {
"description": "Worker-computed aggregate value for the \"Set\" aggregation kind. The only\npossible value type is a list of Values whose type can be Long, Double,\nor String, according to the metric's type. All Values in the list must\nbe of the same type.",
"type": "any"
},
"updateTime": {
"description": "Timestamp associated with the metric value. Optional when workers are\nreporting work progress; it will be filled in responses from the\nmetrics API.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"MountedDataDisk": {
"description": "Describes mounted data disk.",
"id": "MountedDataDisk",
"properties": {
"dataDisk": {
"description": "The name of the data disk.\nThis name is local to the Google Cloud Platform project and uniquely\nidentifies the disk within that project, for example\n\"myproject-1014-104817-4c2-harness-0-disk-1\".",
"type": "string"
}
},
"type": "object"
},
"MultiOutputInfo": {
"description": "Information about an output of a multi-output DoFn.",
"id": "MultiOutputInfo",
"properties": {
"tag": {
"description": "The id of the tag the user code will emit to this output by; this\nshould correspond to the tag of some SideInputInfo.",
"type": "string"
}
},
"type": "object"
},
"NameAndKind": {
"description": "Basic metadata about a counter.",
"id": "NameAndKind",
"properties": {
"kind": {
"description": "Counter aggregation kind.",
"enum": [
"INVALID",
"SUM",
"MAX",
"MIN",
"MEAN",
"OR",
"AND",
"SET",
"DISTRIBUTION",
"LATEST_VALUE"
],
"enumDescriptions": [
"Counter aggregation kind was not set.",
"Aggregated value is the sum of all contributed values.",
"Aggregated value is the max of all contributed values.",
"Aggregated value is the min of all contributed values.",
"Aggregated value is the mean of all contributed values.",
"Aggregated value represents the logical 'or' of all contributed values.",
"Aggregated value represents the logical 'and' of all contributed values.",
"Aggregated value is a set of unique contributed values.",
"Aggregated value captures statistics about a distribution.",
"Aggregated value tracks the latest value of a variable."
],
"type": "string"
},
"name": {
"description": "Name of the counter.",
"type": "string"
}
},
"type": "object"
},
"Package": {
"description": "The packages that must be installed in order for a worker to run the\nsteps of the Cloud Dataflow job that will be assigned to its worker\npool.\n\nThis is the mechanism by which the Cloud Dataflow SDK causes code to\nbe loaded onto the workers. For example, the Cloud Dataflow Java SDK\nmight use this to install jars containing the user's code and all of the\nvarious dependencies (libraries, data files, etc.) required in order\nfor that code to run.",
"id": "Package",
"properties": {
"location": {
"description": "The resource to read the package from. The supported resource type is:\n\nGoogle Cloud Storage:\n\n storage.googleapis.com/{bucket}\n bucket.storage.googleapis.com/",
"type": "string"
},
"name": {
"description": "The name of the package.",
"type": "string"
}
},
"type": "object"
},
"ParDoInstruction": {
"description": "An instruction that does a ParDo operation.\nTakes one main input and zero or more side inputs, and produces\nzero or more outputs.\nRuns user code.",
"id": "ParDoInstruction",
"properties": {
"input": {
"$ref": "InstructionInput",
"description": "The input."
},
"multiOutputInfos": {
"description": "Information about each of the outputs, if user_fn is a MultiDoFn.",
"items": {
"$ref": "MultiOutputInfo"
},
"type": "array"
},
"numOutputs": {
"description": "The number of outputs.",
"format": "int32",
"type": "integer"
},
"sideInputs": {
"description": "Zero or more side inputs.",
"items": {
"$ref": "SideInputInfo"
},
"type": "array"
},
"userFn": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "The user function to invoke.",
"type": "object"
}
},
"type": "object"
},
"ParallelInstruction": {
"description": "Describes a particular operation comprising a MapTask.",
"id": "ParallelInstruction",
"properties": {
"flatten": {
"$ref": "FlattenInstruction",
"description": "Additional information for Flatten instructions."
},
"name": {
"description": "User-provided name of this operation.",
"type": "string"
},
"originalName": {
"description": "System-defined name for the operation in the original workflow graph.",
"type": "string"
},
"outputs": {
"description": "Describes the outputs of the instruction.",
"items": {
"$ref": "InstructionOutput"
},
"type": "array"
},
"parDo": {
"$ref": "ParDoInstruction",
"description": "Additional information for ParDo instructions."
},
"partialGroupByKey": {
"$ref": "PartialGroupByKeyInstruction",
"description": "Additional information for PartialGroupByKey instructions."
},
"read": {
"$ref": "ReadInstruction",
"description": "Additional information for Read instructions."
},
"systemName": {
"description": "System-defined name of this operation.\nUnique across the workflow.",
"type": "string"
},
"write": {
"$ref": "WriteInstruction",
"description": "Additional information for Write instructions."
}
},
"type": "object"
},
"Parameter": {
"description": "Structured data associated with this message.",
"id": "Parameter",
"properties": {
"key": {
"description": "Key or name for this parameter.",
"type": "string"
},
"value": {
"description": "Value for this parameter.",
"type": "any"
}
},
"type": "object"
},
"ParameterMetadata": {
"description": "Metadata for a specific parameter.",
"id": "ParameterMetadata",
"properties": {
"helpText": {
"description": "Required. The help text to display for the parameter.",
"type": "string"
},
"isOptional": {
"description": "Optional. Whether the parameter is optional. Defaults to false.",
"type": "boolean"
},
"label": {
"description": "Required. The label to display for the parameter.",
"type": "string"
},
"name": {
"description": "Required. The name of the parameter.",
"type": "string"
},
"regexes": {
"description": "Optional. Regexes that the parameter must match.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"PartialGroupByKeyInstruction": {
"description": "An instruction that does a partial group-by-key.\nOne input and one output.",
"id": "PartialGroupByKeyInstruction",
"properties": {
"input": {
"$ref": "InstructionInput",
"description": "Describes the input to the partial group-by-key instruction."
},
"inputElementCodec": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "The codec to use for interpreting an element in the input PTable.",
"type": "object"
},
"originalCombineValuesInputStoreName": {
"description": "If this instruction includes a combining function this is the name of the\nintermediate store between the GBK and the CombineValues.",
"type": "string"
},
"originalCombineValuesStepName": {
"description": "If this instruction includes a combining function, this is the name of the\nCombineValues instruction lifted into this instruction.",
"type": "string"
},
"sideInputs": {
"description": "Zero or more side inputs.",
"items": {
"$ref": "SideInputInfo"
},
"type": "array"
},
"valueCombiningFn": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "The value combining function to invoke.",
"type": "object"
}
},
"type": "object"
},
"PipelineDescription": {
"description": "A descriptive representation of submitted pipeline as well as the executed\nform. This data is provided by the Dataflow service for ease of visualizing\nthe pipeline and interpretting Dataflow provided metrics.",
"id": "PipelineDescription",
"properties": {
"displayData": {
"description": "Pipeline level display data.",
"items": {
"$ref": "DisplayData"
},
"type": "array"
},
"executionPipelineStage": {
"description": "Description of each stage of execution of the pipeline.",
"items": {
"$ref": "ExecutionStageSummary"
},
"type": "array"
},
"originalPipelineTransform": {
"description": "Description of each transform in the pipeline and collections between them.",
"items": {
"$ref": "TransformSummary"
},
"type": "array"
}
},
"type": "object"
},
"Position": {
"description": "Position defines a position within a collection of data. The value\ncan be either the end position, a key (used with ordered\ncollections), a byte offset, or a record index.",
"id": "Position",
"properties": {
"byteOffset": {
"description": "Position is a byte offset.",
"format": "int64",
"type": "string"
},
"concatPosition": {
"$ref": "ConcatPosition",
"description": "CloudPosition is a concat position."
},
"end": {
"description": "Position is past all other positions. Also useful for the end\nposition of an unbounded range.",
"type": "boolean"
},
"key": {
"description": "Position is a string key, ordered lexicographically.",
"type": "string"
},
"recordIndex": {
"description": "Position is a record index.",
"format": "int64",
"type": "string"
},
"shufflePosition": {
"description": "CloudPosition is a base64 encoded BatchShufflePosition (with FIXED\nsharding).",
"type": "string"
}
},
"type": "object"
},
"PubSubIODetails": {
"description": "Metadata for a PubSub connector used by the job.",
"id": "PubSubIODetails",
"properties": {
"subscription": {
"description": "Subscription used in the connection.",
"type": "string"
},
"topic": {
"description": "Topic accessed in the connection.",
"type": "string"
}
},
"type": "object"
},
"PubsubLocation": {
"description": "Identifies a pubsub location to use for transferring data into or\nout of a streaming Dataflow job.",
"id": "PubsubLocation",
"properties": {
"dropLateData": {
"description": "Indicates whether the pipeline allows late-arriving data.",
"type": "boolean"
},
"idLabel": {
"description": "If set, contains a pubsub label from which to extract record ids.\nIf left empty, record deduplication will be strictly best effort.",
"type": "string"
},
"subscription": {
"description": "A pubsub subscription, in the form of\n\"pubsub.googleapis.com/subscriptions/\u003cproject-id\u003e/\u003csubscription-name\u003e\"",
"type": "string"
},
"timestampLabel": {
"description": "If set, contains a pubsub label from which to extract record timestamps.\nIf left empty, record timestamps will be generated upon arrival.",
"type": "string"
},
"topic": {
"description": "A pubsub topic, in the form of\n\"pubsub.googleapis.com/topics/\u003cproject-id\u003e/\u003ctopic-name\u003e\"",
"type": "string"
},
"trackingSubscription": {
"description": "If set, specifies the pubsub subscription that will be used for tracking\ncustom time timestamps for watermark estimation.",
"type": "string"
},
"withAttributes": {
"description": "If true, then the client has requested to get pubsub attributes.",
"type": "boolean"
}
},
"type": "object"
},
"ReadInstruction": {
"description": "An instruction that reads records.\nTakes no inputs, produces one output.",
"id": "ReadInstruction",
"properties": {
"source": {
"$ref": "Source",
"description": "The source to read from."
}
},
"type": "object"
},
"ReportWorkItemStatusRequest": {
"description": "Request to report the status of WorkItems.",
"id": "ReportWorkItemStatusRequest",
"properties": {
"currentWorkerTime": {
"description": "The current timestamp at the worker.",
"format": "google-datetime",
"type": "string"
},
"location": {
"description": "The location which contains the WorkItem's job.",
"type": "string"
},
"workItemStatuses": {
"description": "The order is unimportant, except that the order of the\nWorkItemServiceState messages in the ReportWorkItemStatusResponse\ncorresponds to the order of WorkItemStatus messages here.",
"items": {
"$ref": "WorkItemStatus"
},
"type": "array"
},
"workerId": {
"description": "The ID of the worker reporting the WorkItem status. If this\ndoes not match the ID of the worker which the Dataflow service\nbelieves currently has the lease on the WorkItem, the report\nwill be dropped (with an error response).",
"type": "string"
}
},
"type": "object"
},
"ReportWorkItemStatusResponse": {
"description": "Response from a request to report the status of WorkItems.",
"id": "ReportWorkItemStatusResponse",
"properties": {
"workItemServiceStates": {
"description": "A set of messages indicating the service-side state for each\nWorkItem whose status was reported, in the same order as the\nWorkItemStatus messages in the ReportWorkItemStatusRequest which\nresulting in this response.",
"items": {
"$ref": "WorkItemServiceState"
},
"type": "array"
}
},
"type": "object"
},
"ReportedParallelism": {
"description": "Represents the level of parallelism in a WorkItem's input,\nreported by the worker.",
"id": "ReportedParallelism",
"properties": {
"isInfinite": {
"description": "Specifies whether the parallelism is infinite. If true, \"value\" is\nignored.\nInfinite parallelism means the service will assume that the work item\ncan always be split into more non-empty work items by dynamic splitting.\nThis is a work-around for lack of support for infinity by the current\nJSON-based Java RPC stack.",
"type": "boolean"
},
"value": {
"description": "Specifies the level of parallelism in case it is finite.",
"format": "double",
"type": "number"
}
},
"type": "object"
},
"ResourceUtilizationReport": {
"description": "Worker metrics exported from workers. This contains resource utilization\nmetrics accumulated from a variety of sources. For more information, see\ngo/df-resource-signals.",
"id": "ResourceUtilizationReport",
"properties": {
"cpuTime": {
"description": "CPU utilization samples.",
"items": {
"$ref": "CPUTime"
},
"type": "array"
}
},
"type": "object"
},
"ResourceUtilizationReportResponse": {
"description": "Service-side response to WorkerMessage reporting resource utilization.",
"id": "ResourceUtilizationReportResponse",
"properties": {},
"type": "object"
},
"RuntimeEnvironment": {
"description": "The environment values to set at runtime.",
"id": "RuntimeEnvironment",
"properties": {
"additionalExperiments": {
"description": "Additional experiment flags for the job.",
"items": {
"type": "string"
},
"type": "array"
},
"bypassTempDirValidation": {
"description": "Whether to bypass the safety checks for the job's temporary directory.\nUse with caution.",
"type": "boolean"
},
"machineType": {
"description": "The machine type to use for the job. Defaults to the value from the\ntemplate if not specified.",
"type": "string"
},
"maxWorkers": {
"description": "The maximum number of Google Compute Engine instances to be made\navailable to your pipeline during execution, from 1 to 1000.",
"format": "int32",
"type": "integer"
},
"network": {
"description": "Network to which VMs will be assigned. If empty or unspecified,\nthe service will use the network \"default\".",
"type": "string"
},
"serviceAccountEmail": {
"description": "The email address of the service account to run the job as.",
"type": "string"
},
"subnetwork": {
"description": "Subnetwork to which VMs will be assigned, if desired. Expected to be of\nthe form \"regions/REGION/subnetworks/SUBNETWORK\".",
"type": "string"
},
"tempLocation": {
"description": "The Cloud Storage path to use for temporary files.\nMust be a valid Cloud Storage URL, beginning with `gs://`.",
"type": "string"
},
"zone": {
"description": "The Compute Engine [availability\nzone](https://cloud.google.com/compute/docs/regions-zones/regions-zones)\nfor launching worker instances to run your pipeline.",
"type": "string"
}
},
"type": "object"
},
"SdkVersion": {
"description": "The version of the SDK used to run the jobl",
"id": "SdkVersion",
"properties": {
"sdkSupportStatus": {
"description": "The support status for this SDK version.",
"enum": [
"UNKNOWN",
"SUPPORTED",
"STALE",
"DEPRECATED",
"UNSUPPORTED"
],
"enumDescriptions": [
"Cloud Dataflow is unaware of this version.",
"This is a known version of an SDK, and is supported.",
"A newer version of the SDK family exists, and an update is recommended.",
"This version of the SDK is deprecated and will eventually be no\nlonger supported.",
"Support for this SDK version has ended and it should no longer be used."
],
"type": "string"
},
"version": {
"description": "The version of the SDK used to run the job.",
"type": "string"
},
"versionDisplayName": {
"description": "A readable string describing the version of the sdk.",
"type": "string"
}
},
"type": "object"
},
"SendDebugCaptureRequest": {
"description": "Request to send encoded debug information.",
"id": "SendDebugCaptureRequest",
"properties": {
"componentId": {
"description": "The internal component id for which debug information is sent.",
"type": "string"
},
"data": {
"description": "The encoded debug information.",
"type": "string"
},
"location": {
"description": "The location which contains the job specified by job_id.",
"type": "string"
},
"workerId": {
"description": "The worker id, i.e., VM hostname.",
"type": "string"
}
},
"type": "object"
},
"SendDebugCaptureResponse": {
"description": "Response to a send capture request.\nnothing",
"id": "SendDebugCaptureResponse",
"properties": {},
"type": "object"
},
"SendWorkerMessagesRequest": {
"description": "A request for sending worker messages to the service.",
"id": "SendWorkerMessagesRequest",
"properties": {
"location": {
"description": "The location which contains the job",
"type": "string"
},
"workerMessages": {
"description": "The WorkerMessages to send.",
"items": {
"$ref": "WorkerMessage"
},
"type": "array"
}
},
"type": "object"
},
"SendWorkerMessagesResponse": {
"description": "The response to the worker messages.",
"id": "SendWorkerMessagesResponse",
"properties": {
"workerMessageResponses": {
"description": "The servers response to the worker messages.",
"items": {
"$ref": "WorkerMessageResponse"
},
"type": "array"
}
},
"type": "object"
},
"SeqMapTask": {
"description": "Describes a particular function to invoke.",
"id": "SeqMapTask",
"properties": {
"inputs": {
"description": "Information about each of the inputs.",
"items": {
"$ref": "SideInputInfo"
},
"type": "array"
},
"name": {
"description": "The user-provided name of the SeqDo operation.",
"type": "string"
},
"outputInfos": {
"description": "Information about each of the outputs.",
"items": {
"$ref": "SeqMapTaskOutputInfo"
},
"type": "array"
},
"stageName": {
"description": "System-defined name of the stage containing the SeqDo operation.\nUnique across the workflow.",
"type": "string"
},
"systemName": {
"description": "System-defined name of the SeqDo operation.\nUnique across the workflow.",
"type": "string"
},
"userFn": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "The user function to invoke.",
"type": "object"
}
},
"type": "object"
},
"SeqMapTaskOutputInfo": {
"description": "Information about an output of a SeqMapTask.",
"id": "SeqMapTaskOutputInfo",
"properties": {
"sink": {
"$ref": "Sink",
"description": "The sink to write the output value to."
},
"tag": {
"description": "The id of the TupleTag the user code will tag the output value by.",
"type": "string"
}
},
"type": "object"
},
"ShellTask": {
"description": "A task which consists of a shell command for the worker to execute.",
"id": "ShellTask",
"properties": {
"command": {
"description": "The shell command to run.",
"type": "string"
},
"exitCode": {
"description": "Exit code for the task.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"SideInputInfo": {
"description": "Information about a side input of a DoFn or an input of a SeqDoFn.",
"id": "SideInputInfo",
"properties": {
"kind": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "How to interpret the source element(s) as a side input value.",
"type": "object"
},
"sources": {
"description": "The source(s) to read element(s) from to get the value of this side input.\nIf more than one source, then the elements are taken from the\nsources, in the specified order if order matters.\nAt least one source is required.",
"items": {
"$ref": "Source"
},
"type": "array"
},
"tag": {
"description": "The id of the tag the user code will access this side input by;\nthis should correspond to the tag of some MultiOutputInfo.",
"type": "string"
}
},
"type": "object"
},
"Sink": {
"description": "A sink that records can be encoded and written to.",
"id": "Sink",
"properties": {
"codec": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "The codec to use to encode data written to the sink.",
"type": "object"
},
"spec": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "The sink to write to, plus its parameters.",
"type": "object"
}
},
"type": "object"
},
"Source": {
"description": "A source that records can be read and decoded from.",
"id": "Source",
"properties": {
"baseSpecs": {
"description": "While splitting, sources may specify the produced bundles\nas differences against another source, in order to save backend-side\nmemory and allow bigger jobs. For details, see SourceSplitRequest.\nTo support this use case, the full set of parameters of the source\nis logically obtained by taking the latest explicitly specified value\nof each parameter in the order:\nbase_specs (later items win), spec (overrides anything in base_specs).",
"items": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"type": "object"
},
"type": "array"
},
"codec": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "The codec to use to decode data read from the source.",
"type": "object"
},
"doesNotNeedSplitting": {
"description": "Setting this value to true hints to the framework that the source\ndoesn't need splitting, and using SourceSplitRequest on it would\nyield SOURCE_SPLIT_OUTCOME_USE_CURRENT.\n\nE.g. a file splitter may set this to true when splitting a single file\ninto a set of byte ranges of appropriate size, and set this\nto false when splitting a filepattern into individual files.\nHowever, for efficiency, a file splitter may decide to produce\nfile subranges directly from the filepattern to avoid a splitting\nround-trip.\n\nSee SourceSplitRequest for an overview of the splitting process.\n\nThis field is meaningful only in the Source objects populated\nby the user (e.g. when filling in a DerivedSource).\nSource objects supplied by the framework to the user don't have\nthis field populated.",
"type": "boolean"
},
"metadata": {
"$ref": "SourceMetadata",
"description": "Optionally, metadata for this source can be supplied right away,\navoiding a SourceGetMetadataOperation roundtrip\n(see SourceOperationRequest).\n\nThis field is meaningful only in the Source objects populated\nby the user (e.g. when filling in a DerivedSource).\nSource objects supplied by the framework to the user don't have\nthis field populated."
},
"spec": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "The source to read from, plus its parameters.",
"type": "object"
}
},
"type": "object"
},
"SourceFork": {
"description": "DEPRECATED in favor of DynamicSourceSplit.",
"id": "SourceFork",
"properties": {
"primary": {
"$ref": "SourceSplitShard",
"description": "DEPRECATED"
},
"primarySource": {
"$ref": "DerivedSource",
"description": "DEPRECATED"
},
"residual": {
"$ref": "SourceSplitShard",
"description": "DEPRECATED"
},
"residualSource": {
"$ref": "DerivedSource",
"description": "DEPRECATED"
}
},
"type": "object"
},
"SourceGetMetadataRequest": {
"description": "A request to compute the SourceMetadata of a Source.",
"id": "SourceGetMetadataRequest",
"properties": {
"source": {
"$ref": "Source",
"description": "Specification of the source whose metadata should be computed."
}
},
"type": "object"
},
"SourceGetMetadataResponse": {
"description": "The result of a SourceGetMetadataOperation.",
"id": "SourceGetMetadataResponse",
"properties": {
"metadata": {
"$ref": "SourceMetadata",
"description": "The computed metadata."
}
},
"type": "object"
},
"SourceMetadata": {
"description": "Metadata about a Source useful for automatically optimizing\nand tuning the pipeline, etc.",
"id": "SourceMetadata",
"properties": {
"estimatedSizeBytes": {
"description": "An estimate of the total size (in bytes) of the data that would be\nread from this source. This estimate is in terms of external storage\nsize, before any decompression or other processing done by the reader.",
"format": "int64",
"type": "string"
},
"infinite": {
"description": "Specifies that the size of this source is known to be infinite\n(this is a streaming source).",
"type": "boolean"
},
"producesSortedKeys": {
"description": "Whether this source is known to produce key/value pairs with\nthe (encoded) keys in lexicographically sorted order.",
"type": "boolean"
}
},
"type": "object"
},
"SourceOperationRequest": {
"description": "A work item that represents the different operations that can be\nperformed on a user-defined Source specification.",
"id": "SourceOperationRequest",
"properties": {
"getMetadata": {
"$ref": "SourceGetMetadataRequest",
"description": "Information about a request to get metadata about a source."
},
"name": {
"description": "User-provided name of the Read instruction for this source.",
"type": "string"
},
"originalName": {
"description": "System-defined name for the Read instruction for this source\nin the original workflow graph.",
"type": "string"
},
"split": {
"$ref": "SourceSplitRequest",
"description": "Information about a request to split a source."
},
"stageName": {
"description": "System-defined name of the stage containing the source operation.\nUnique across the workflow.",
"type": "string"
},
"systemName": {
"description": "System-defined name of the Read instruction for this source.\nUnique across the workflow.",
"type": "string"
}
},
"type": "object"
},
"SourceOperationResponse": {
"description": "The result of a SourceOperationRequest, specified in\nReportWorkItemStatusRequest.source_operation when the work item\nis completed.",
"id": "SourceOperationResponse",
"properties": {
"getMetadata": {
"$ref": "SourceGetMetadataResponse",
"description": "A response to a request to get metadata about a source."
},
"split": {
"$ref": "SourceSplitResponse",
"description": "A response to a request to split a source."
}
},
"type": "object"
},
"SourceSplitOptions": {
"description": "Hints for splitting a Source into bundles (parts for parallel\nprocessing) using SourceSplitRequest.",
"id": "SourceSplitOptions",
"properties": {
"desiredBundleSizeBytes": {
"description": "The source should be split into a set of bundles where the estimated size\nof each is approximately this many bytes.",
"format": "int64",
"type": "string"
},
"desiredShardSizeBytes": {
"description": "DEPRECATED in favor of desired_bundle_size_bytes.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"SourceSplitRequest": {
"description": "Represents the operation to split a high-level Source specification\ninto bundles (parts for parallel processing).\n\nAt a high level, splitting of a source into bundles happens as follows:\nSourceSplitRequest is applied to the source. If it returns\nSOURCE_SPLIT_OUTCOME_USE_CURRENT, no further splitting happens and the source\nis used \"as is\". Otherwise, splitting is applied recursively to each\nproduced DerivedSource.\n\nAs an optimization, for any Source, if its does_not_need_splitting is\ntrue, the framework assumes that splitting this source would return\nSOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't initiate a SourceSplitRequest.\nThis applies both to the initial source being split and to bundles\nproduced from it.",
"id": "SourceSplitRequest",
"properties": {
"options": {
"$ref": "SourceSplitOptions",
"description": "Hints for tuning the splitting process."
},
"source": {
"$ref": "Source",
"description": "Specification of the source to be split."
}
},
"type": "object"
},
"SourceSplitResponse": {
"description": "The response to a SourceSplitRequest.",
"id": "SourceSplitResponse",
"properties": {
"bundles": {
"description": "If outcome is SPLITTING_HAPPENED, then this is a list of bundles\ninto which the source was split. Otherwise this field is ignored.\nThis list can be empty, which means the source represents an empty input.",
"items": {
"$ref": "DerivedSource"
},
"type": "array"
},
"outcome": {
"description": "Indicates whether splitting happened and produced a list of bundles.\nIf this is USE_CURRENT_SOURCE_AS_IS, the current source should\nbe processed \"as is\" without splitting. \"bundles\" is ignored in this case.\nIf this is SPLITTING_HAPPENED, then \"bundles\" contains a list of\nbundles into which the source was split.",
"enum": [
"SOURCE_SPLIT_OUTCOME_UNKNOWN",
"SOURCE_SPLIT_OUTCOME_USE_CURRENT",
"SOURCE_SPLIT_OUTCOME_SPLITTING_HAPPENED"
],
"enumDescriptions": [
"The source split outcome is unknown, or unspecified.",
"The current source should be processed \"as is\" without splitting.",
"Splitting produced a list of bundles."
],
"type": "string"
},
"shards": {
"description": "DEPRECATED in favor of bundles.",
"items": {
"$ref": "SourceSplitShard"
},
"type": "array"
}
},
"type": "object"
},
"SourceSplitShard": {
"description": "DEPRECATED in favor of DerivedSource.",
"id": "SourceSplitShard",
"properties": {
"derivationMode": {
"description": "DEPRECATED",
"enum": [
"SOURCE_DERIVATION_MODE_UNKNOWN",
"SOURCE_DERIVATION_MODE_INDEPENDENT",
"SOURCE_DERIVATION_MODE_CHILD_OF_CURRENT",
"SOURCE_DERIVATION_MODE_SIBLING_OF_CURRENT"
],
"enumDescriptions": [
"The source derivation is unknown, or unspecified.",
"Produce a completely independent Source with no base.",
"Produce a Source based on the Source being split.",
"Produce a Source based on the base of the Source being split."
],
"type": "string"
},
"source": {
"$ref": "Source",
"description": "DEPRECATED"
}
},
"type": "object"
},
"SpannerIODetails": {
"description": "Metadata for a Spanner connector used by the job.",
"id": "SpannerIODetails",
"properties": {
"databaseId": {
"description": "DatabaseId accessed in the connection.",
"type": "string"
},
"instanceId": {
"description": "InstanceId accessed in the connection.",
"type": "string"
},
"projectId": {
"description": "ProjectId accessed in the connection.",
"type": "string"
}
},
"type": "object"
},
"SplitInt64": {
"description": "A representation of an int64, n, that is immune to precision loss when\nencoded in JSON.",
"id": "SplitInt64",
"properties": {
"highBits": {
"description": "The high order bits, including the sign: n \u003e\u003e 32.",
"format": "int32",
"type": "integer"
},
"lowBits": {
"description": "The low order bits: n \u0026 0xffffffff.",
"format": "uint32",
"type": "integer"
}
},
"type": "object"
},
"StageSource": {
"description": "Description of an input or output of an execution stage.",
"id": "StageSource",
"properties": {
"name": {
"description": "Dataflow service generated name for this source.",
"type": "string"
},
"originalTransformOrCollection": {
"description": "User name for the original user transform or collection with which this\nsource is most closely associated.",
"type": "string"
},
"sizeBytes": {
"description": "Size of the source, if measurable.",
"format": "int64",
"type": "string"
},
"userName": {
"description": "Human-readable name for this source; may be user or system generated.",
"type": "string"
}
},
"type": "object"
},
"StateFamilyConfig": {
"description": "State family configuration.",
"id": "StateFamilyConfig",
"properties": {
"isRead": {
"description": "If true, this family corresponds to a read operation.",
"type": "boolean"
},
"stateFamily": {
"description": "The state family value.",
"type": "string"
}
},
"type": "object"
},
"Status": {
"description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
"id": "Status",
"properties": {
"code": {
"description": "The status code, which should be an enum value of google.rpc.Code.",
"format": "int32",
"type": "integer"
},
"details": {
"description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.",
"items": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"type": "object"
},
"type": "array"
},
"message": {
"description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
"type": "string"
}
},
"type": "object"
},
"Step": {
"description": "Defines a particular step within a Cloud Dataflow job.\n\nA job consists of multiple steps, each of which performs some\nspecific operation as part of the overall job. Data is typically\npassed from one step to another as part of the job.\n\nHere's an example of a sequence of steps which together implement a\nMap-Reduce job:\n\n * Read a collection of data from some source, parsing the\n collection's elements.\n\n * Validate the elements.\n\n * Apply a user-defined function to map each element to some value\n and extract an element-specific key value.\n\n * Group elements with the same key into a single element with\n that key, transforming a multiply-keyed collection into a\n uniquely-keyed collection.\n\n * Write the elements out to some data sink.\n\nNote that the Cloud Dataflow service may be used to run many different\ntypes of jobs, not just Map-Reduce.",
"id": "Step",
"properties": {
"kind": {
"description": "The kind of step in the Cloud Dataflow job.",
"type": "string"
},
"name": {
"description": "The name that identifies the step. This must be unique for each\nstep with respect to all other steps in the Cloud Dataflow job.",
"type": "string"
},
"properties": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "Named properties associated with the step. Each kind of\npredefined step has its own required set of properties.\nMust be provided on Create. Only retrieved with JOB_VIEW_ALL.",
"type": "object"
}
},
"type": "object"
},
"StreamLocation": {
"description": "Describes a stream of data, either as input to be processed or as\noutput of a streaming Dataflow job.",
"id": "StreamLocation",
"properties": {
"customSourceLocation": {
"$ref": "CustomSourceLocation",
"description": "The stream is a custom source."
},
"pubsubLocation": {
"$ref": "PubsubLocation",
"description": "The stream is a pubsub stream."
},
"sideInputLocation": {
"$ref": "StreamingSideInputLocation",
"description": "The stream is a streaming side input."
},
"streamingStageLocation": {
"$ref": "StreamingStageLocation",
"description": "The stream is part of another computation within the current\nstreaming Dataflow job."
}
},
"type": "object"
},
"StreamingComputationConfig": {
"description": "Configuration information for a single streaming computation.",
"id": "StreamingComputationConfig",
"properties": {
"computationId": {
"description": "Unique identifier for this computation.",
"type": "string"
},
"instructions": {
"description": "Instructions that comprise the computation.",
"items": {
"$ref": "ParallelInstruction"
},
"type": "array"
},
"stageName": {
"description": "Stage name of this computation.",
"type": "string"
},
"systemName": {
"description": "System defined name for this computation.",
"type": "string"
}
},
"type": "object"
},
"StreamingComputationRanges": {
"description": "Describes full or partial data disk assignment information of the computation\nranges.",
"id": "StreamingComputationRanges",
"properties": {
"computationId": {
"description": "The ID of the computation.",
"type": "string"
},
"rangeAssignments": {
"description": "Data disk assignments for ranges from this computation.",
"items": {
"$ref": "KeyRangeDataDiskAssignment"
},
"type": "array"
}
},
"type": "object"
},
"StreamingComputationTask": {
"description": "A task which describes what action should be performed for the specified\nstreaming computation ranges.",
"id": "StreamingComputationTask",
"properties": {
"computationRanges": {
"description": "Contains ranges of a streaming computation this task should apply to.",
"items": {
"$ref": "StreamingComputationRanges"
},
"type": "array"
},
"dataDisks": {
"description": "Describes the set of data disks this task should apply to.",
"items": {
"$ref": "MountedDataDisk"
},
"type": "array"
},
"taskType": {
"description": "A type of streaming computation task.",
"enum": [
"STREAMING_COMPUTATION_TASK_UNKNOWN",
"STREAMING_COMPUTATION_TASK_STOP",
"STREAMING_COMPUTATION_TASK_START"
],
"enumDescriptions": [
"The streaming computation task is unknown, or unspecified.",
"Stop processing specified streaming computation range(s).",
"Start processing specified streaming computation range(s)."
],
"type": "string"
}
},
"type": "object"
},
"StreamingConfigTask": {
"description": "A task that carries configuration information for streaming computations.",
"id": "StreamingConfigTask",
"properties": {
"streamingComputationConfigs": {
"description": "Set of computation configuration information.",
"items": {
"$ref": "StreamingComputationConfig"
},
"type": "array"
},
"userStepToStateFamilyNameMap": {
"additionalProperties": {
"type": "string"
},
"description": "Map from user step names to state families.",
"type": "object"
},
"windmillServiceEndpoint": {
"description": "If present, the worker must use this endpoint to communicate with Windmill\nService dispatchers, otherwise the worker must continue to use whatever\nendpoint it had been using.",
"type": "string"
},
"windmillServicePort": {
"description": "If present, the worker must use this port to communicate with Windmill\nService dispatchers. Only applicable when windmill_service_endpoint is\nspecified.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"StreamingSetupTask": {
"description": "A task which initializes part of a streaming Dataflow job.",
"id": "StreamingSetupTask",
"properties": {
"drain": {
"description": "The user has requested drain.",
"type": "boolean"
},
"receiveWorkPort": {
"description": "The TCP port on which the worker should listen for messages from\nother streaming computation workers.",
"format": "int32",
"type": "integer"
},
"streamingComputationTopology": {
"$ref": "TopologyConfig",
"description": "The global topology of the streaming Dataflow job."
},
"workerHarnessPort": {
"description": "The TCP port used by the worker to communicate with the Dataflow\nworker harness.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"StreamingSideInputLocation": {
"description": "Identifies the location of a streaming side input.",
"id": "StreamingSideInputLocation",
"properties": {
"stateFamily": {
"description": "Identifies the state family where this side input is stored.",
"type": "string"
},
"tag": {
"description": "Identifies the particular side input within the streaming Dataflow job.",
"type": "string"
}
},
"type": "object"
},
"StreamingStageLocation": {
"description": "Identifies the location of a streaming computation stage, for\nstage-to-stage communication.",
"id": "StreamingStageLocation",
"properties": {
"streamId": {
"description": "Identifies the particular stream within the streaming Dataflow\njob.",
"type": "string"
}
},
"type": "object"
},
"StringList": {
"description": "A metric value representing a list of strings.",
"id": "StringList",
"properties": {
"elements": {
"description": "Elements of the list.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"StructuredMessage": {
"description": "A rich message format, including a human readable string, a key for\nidentifying the message, and structured data associated with the message for\nprogrammatic consumption.",
"id": "StructuredMessage",
"properties": {
"messageKey": {
"description": "Idenfier for this message type. Used by external systems to\ninternationalize or personalize message.",
"type": "string"
},
"messageText": {
"description": "Human-readable version of message.",
"type": "string"
},
"parameters": {
"description": "The structured data associated with this message.",
"items": {
"$ref": "Parameter"
},
"type": "array"
}
},
"type": "object"
},
"TaskRunnerSettings": {
"description": "Taskrunner configuration settings.",
"id": "TaskRunnerSettings",
"properties": {
"alsologtostderr": {
"description": "Whether to also send taskrunner log info to stderr.",
"type": "boolean"
},
"baseTaskDir": {
"description": "The location on the worker for task-specific subdirectories.",
"type": "string"
},
"baseUrl": {
"description": "The base URL for the taskrunner to use when accessing Google Cloud APIs.\n\nWhen workers access Google Cloud APIs, they logically do so via\nrelative URLs. If this field is specified, it supplies the base\nURL to use for resolving these relative URLs. The normative\nalgorithm used is defined by RFC 1808, \"Relative Uniform Resource\nLocators\".\n\nIf not specified, the default value is \"http://www.googleapis.com/\"",
"type": "string"
},
"commandlinesFileName": {
"description": "The file to store preprocessing commands in.",
"type": "string"
},
"continueOnException": {
"description": "Whether to continue taskrunner if an exception is hit.",
"type": "boolean"
},
"dataflowApiVersion": {
"description": "The API version of endpoint, e.g. \"v1b3\"",
"type": "string"
},
"harnessCommand": {
"description": "The command to launch the worker harness.",
"type": "string"
},
"languageHint": {
"description": "The suggested backend language.",
"type": "string"
},
"logDir": {
"description": "The directory on the VM to store logs.",
"type": "string"
},
"logToSerialconsole": {
"description": "Whether to send taskrunner log info to Google Compute Engine VM serial\nconsole.",
"type": "boolean"
},
"logUploadLocation": {
"description": "Indicates where to put logs. If this is not specified, the logs\nwill not be uploaded.\n\nThe supported resource type is:\n\nGoogle Cloud Storage:\n storage.googleapis.com/{bucket}/{object}\n bucket.storage.googleapis.com/{object}",
"type": "string"
},
"oauthScopes": {
"description": "The OAuth2 scopes to be requested by the taskrunner in order to\naccess the Cloud Dataflow API.",
"items": {
"type": "string"
},
"type": "array"
},
"parallelWorkerSettings": {
"$ref": "WorkerSettings",
"description": "The settings to pass to the parallel worker harness."
},
"streamingWorkerMainClass": {
"description": "The streaming worker main class name.",
"type": "string"
},
"taskGroup": {
"description": "The UNIX group ID on the worker VM to use for tasks launched by\ntaskrunner; e.g. \"wheel\".",
"type": "string"
},
"taskUser": {
"description": "The UNIX user ID on the worker VM to use for tasks launched by\ntaskrunner; e.g. \"root\".",
"type": "string"
},
"tempStoragePrefix": {
"description": "The prefix of the resources the taskrunner should use for\ntemporary storage.\n\nThe supported resource type is:\n\nGoogle Cloud Storage:\n storage.googleapis.com/{bucket}/{object}\n bucket.storage.googleapis.com/{object}",
"type": "string"
},
"vmId": {
"description": "The ID string of the VM.",
"type": "string"
},
"workflowFileName": {
"description": "The file to store the workflow in.",
"type": "string"
}
},
"type": "object"
},
"TemplateMetadata": {
"description": "Metadata describing a template.",
"id": "TemplateMetadata",
"properties": {
"description": {
"description": "Optional. A description of the template.",
"type": "string"
},
"name": {
"description": "Required. The name of the template.",
"type": "string"
},
"parameters": {
"description": "The parameters for the template.",
"items": {
"$ref": "ParameterMetadata"
},
"type": "array"
}
},
"type": "object"
},
"TopologyConfig": {
"description": "Global topology of the streaming Dataflow job, including all\ncomputations and their sharded locations.",
"id": "TopologyConfig",
"properties": {
"computations": {
"description": "The computations associated with a streaming Dataflow job.",
"items": {
"$ref": "ComputationTopology"
},
"type": "array"
},
"dataDiskAssignments": {
"description": "The disks assigned to a streaming Dataflow job.",
"items": {
"$ref": "DataDiskAssignment"
},
"type": "array"
},
"forwardingKeyBits": {
"description": "The size (in bits) of keys that will be assigned to source messages.",
"format": "int32",
"type": "integer"
},
"persistentStateVersion": {
"description": "Version number for persistent state.",
"format": "int32",
"type": "integer"
},
"userStageToComputationNameMap": {
"additionalProperties": {
"type": "string"
},
"description": "Maps user stage names to stable computation names.",
"type": "object"
}
},
"type": "object"
},
"TransformSummary": {
"description": "Description of the type, names/ids, and input/outputs for a transform.",
"id": "TransformSummary",
"properties": {
"displayData": {
"description": "Transform-specific display data.",
"items": {
"$ref": "DisplayData"
},
"type": "array"
},
"id": {
"description": "SDK generated id of this transform instance.",
"type": "string"
},
"inputCollectionName": {
"description": "User names for all collection inputs to this transform.",
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"description": "Type of transform.",
"enum": [
"UNKNOWN_KIND",
"PAR_DO_KIND",
"GROUP_BY_KEY_KIND",
"FLATTEN_KIND",
"READ_KIND",
"WRITE_KIND",
"CONSTANT_KIND",
"SINGLETON_KIND",
"SHUFFLE_KIND"
],
"enumDescriptions": [
"Unrecognized transform type.",
"ParDo transform.",
"Group By Key transform.",
"Flatten transform.",
"Read transform.",
"Write transform.",
"Constructs from a constant value, such as with Create.of.",
"Creates a Singleton view of a collection.",
"Opening or closing a shuffle session, often as part of a GroupByKey."
],
"type": "string"
},
"name": {
"description": "User provided name for this transform instance.",
"type": "string"
},
"outputCollectionName": {
"description": "User names for all collection outputs to this transform.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"WorkItem": {
"description": "WorkItem represents basic information about a WorkItem to be executed\nin the cloud.",
"id": "WorkItem",
"properties": {
"configuration": {
"description": "Work item-specific configuration as an opaque blob.",
"type": "string"
},
"id": {
"description": "Identifies this WorkItem.",
"format": "int64",
"type": "string"
},
"initialReportIndex": {
"description": "The initial index to use when reporting the status of the WorkItem.",
"format": "int64",
"type": "string"
},
"jobId": {
"description": "Identifies the workflow job this WorkItem belongs to.",
"type": "string"
},
"leaseExpireTime": {
"description": "Time when the lease on this Work will expire.",
"format": "google-datetime",
"type": "string"
},
"mapTask": {
"$ref": "MapTask",
"description": "Additional information for MapTask WorkItems."
},
"packages": {
"description": "Any required packages that need to be fetched in order to execute\nthis WorkItem.",
"items": {
"$ref": "Package"
},
"type": "array"
},
"projectId": {
"description": "Identifies the cloud project this WorkItem belongs to.",
"type": "string"
},
"reportStatusInterval": {
"description": "Recommended reporting interval.",
"format": "google-duration",
"type": "string"
},
"seqMapTask": {
"$ref": "SeqMapTask",
"description": "Additional information for SeqMapTask WorkItems."
},
"shellTask": {
"$ref": "ShellTask",
"description": "Additional information for ShellTask WorkItems."
},
"sourceOperationTask": {
"$ref": "SourceOperationRequest",
"description": "Additional information for source operation WorkItems."
},
"streamingComputationTask": {
"$ref": "StreamingComputationTask",
"description": "Additional information for StreamingComputationTask WorkItems."
},
"streamingConfigTask": {
"$ref": "StreamingConfigTask",
"description": "Additional information for StreamingConfigTask WorkItems."
},
"streamingSetupTask": {
"$ref": "StreamingSetupTask",
"description": "Additional information for StreamingSetupTask WorkItems."
}
},
"type": "object"
},
"WorkItemServiceState": {
"description": "The Dataflow service's idea of the current state of a WorkItem\nbeing processed by a worker.",
"id": "WorkItemServiceState",
"properties": {
"harnessData": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "Other data returned by the service, specific to the particular\nworker harness.",
"type": "object"
},
"leaseExpireTime": {
"description": "Time at which the current lease will expire.",
"format": "google-datetime",
"type": "string"
},
"metricShortId": {
"description": "The short ids that workers should use in subsequent metric updates.\nWorkers should strive to use short ids whenever possible, but it is ok\nto request the short_id again if a worker lost track of it\n(e.g. if the worker is recovering from a crash).\nNOTE: it is possible that the response may have short ids for a subset\nof the metrics.",
"items": {
"$ref": "MetricShortId"
},
"type": "array"
},
"nextReportIndex": {
"description": "The index value to use for the next report sent by the worker.\nNote: If the report call fails for whatever reason, the worker should\nreuse this index for subsequent report attempts.",
"format": "int64",
"type": "string"
},
"reportStatusInterval": {
"description": "New recommended reporting interval.",
"format": "google-duration",
"type": "string"
},
"splitRequest": {
"$ref": "ApproximateSplitRequest",
"description": "The progress point in the WorkItem where the Dataflow service\nsuggests that the worker truncate the task."
},
"suggestedStopPoint": {
"$ref": "ApproximateProgress",
"description": "DEPRECATED in favor of split_request."
},
"suggestedStopPosition": {
"$ref": "Position",
"description": "Obsolete, always empty."
}
},
"type": "object"
},
"WorkItemStatus": {
"description": "Conveys a worker's progress through the work described by a WorkItem.",
"id": "WorkItemStatus",
"properties": {
"completed": {
"description": "True if the WorkItem was completed (successfully or unsuccessfully).",
"type": "boolean"
},
"counterUpdates": {
"description": "Worker output counters for this WorkItem.",
"items": {
"$ref": "CounterUpdate"
},
"type": "array"
},
"dynamicSourceSplit": {
"$ref": "DynamicSourceSplit",
"description": "See documentation of stop_position."
},
"errors": {
"description": "Specifies errors which occurred during processing. If errors are\nprovided, and completed = true, then the WorkItem is considered\nto have failed.",
"items": {
"$ref": "Status"
},
"type": "array"
},
"metricUpdates": {
"description": "DEPRECATED in favor of counter_updates.",
"items": {
"$ref": "MetricUpdate"
},
"type": "array"
},
"progress": {
"$ref": "ApproximateProgress",
"description": "DEPRECATED in favor of reported_progress."
},
"reportIndex": {
"description": "The report index. When a WorkItem is leased, the lease will\ncontain an initial report index. When a WorkItem's status is\nreported to the system, the report should be sent with\nthat report index, and the response will contain the index the\nworker should use for the next report. Reports received with\nunexpected index values will be rejected by the service.\n\nIn order to preserve idempotency, the worker should not alter the\ncontents of a report, even if the worker must submit the same\nreport multiple times before getting back a response. The worker\nshould not submit a subsequent report until the response for the\nprevious report had been received from the service.",
"format": "int64",
"type": "string"
},
"reportedProgress": {
"$ref": "ApproximateReportedProgress",
"description": "The worker's progress through this WorkItem."
},
"requestedLeaseDuration": {
"description": "Amount of time the worker requests for its lease.",
"format": "google-duration",
"type": "string"
},
"sourceFork": {
"$ref": "SourceFork",
"description": "DEPRECATED in favor of dynamic_source_split."
},
"sourceOperationResponse": {
"$ref": "SourceOperationResponse",
"description": "If the work item represented a SourceOperationRequest, and the work\nis completed, contains the result of the operation."
},
"stopPosition": {
"$ref": "Position",
"description": "A worker may split an active map task in two parts, \"primary\" and\n\"residual\", continuing to process the primary part and returning the\nresidual part into the pool of available work.\nThis event is called a \"dynamic split\" and is critical to the dynamic\nwork rebalancing feature. The two obtained sub-tasks are called\n\"parts\" of the split.\nThe parts, if concatenated, must represent the same input as would\nbe read by the current task if the split did not happen.\nThe exact way in which the original task is decomposed into the two\nparts is specified either as a position demarcating them\n(stop_position), or explicitly as two DerivedSources, if this\ntask consumes a user-defined source type (dynamic_source_split).\n\nThe \"current\" task is adjusted as a result of the split: after a task\nwith range [A, B) sends a stop_position update at C, its range is\nconsidered to be [A, C), e.g.:\n* Progress should be interpreted relative to the new range, e.g.\n \"75% completed\" means \"75% of [A, C) completed\"\n* The worker should interpret proposed_stop_position relative to the\n new range, e.g. \"split at 68%\" should be interpreted as\n \"split at 68% of [A, C)\".\n* If the worker chooses to split again using stop_position, only\n stop_positions in [A, C) will be accepted.\n* Etc.\ndynamic_source_split has similar semantics: e.g., if a task with\nsource S splits using dynamic_source_split into {P, R}\n(where P and R must be together equivalent to S), then subsequent\nprogress and proposed_stop_position should be interpreted relative\nto P, and in a potential subsequent dynamic_source_split into {P', R'},\nP' and R' must be together equivalent to P, etc."
},
"totalThrottlerWaitTimeSeconds": {
"description": "Total time the worker spent being throttled by external systems.",
"format": "double",
"type": "number"
},
"workItemId": {
"description": "Identifies the WorkItem.",
"type": "string"
}
},
"type": "object"
},
"WorkerHealthReport": {
"description": "WorkerHealthReport contains information about the health of a worker.\n\nThe VM should be identified by the labels attached to the WorkerMessage that\nthis health ping belongs to.",
"id": "WorkerHealthReport",
"properties": {
"pods": {
"description": "The pods running on the worker. See:\nhttp://kubernetes.io/v1.1/docs/api-reference/v1/definitions.html#_v1_pod\n\nThis field is used by the worker to send the status of the indvidual\ncontainers running on each worker.",
"items": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"type": "object"
},
"type": "array"
},
"reportInterval": {
"description": "The interval at which the worker is sending health reports.\nThe default value of 0 should be interpreted as the field is not being\nexplicitly set by the worker.",
"format": "google-duration",
"type": "string"
},
"vmIsHealthy": {
"description": "Whether the VM is healthy.",
"type": "boolean"
},
"vmStartupTime": {
"description": "The time the VM was booted.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"WorkerHealthReportResponse": {
"description": "WorkerHealthReportResponse contains information returned to the worker\nin response to a health ping.",
"id": "WorkerHealthReportResponse",
"properties": {
"reportInterval": {
"description": "A positive value indicates the worker should change its reporting interval\nto the specified value.\n\nThe default value of zero means no change in report rate is requested by\nthe server.",
"format": "google-duration",
"type": "string"
}
},
"type": "object"
},
"WorkerLifecycleEvent": {
"description": "A report of an event in a worker's lifecycle.\nThe proto contains one event, because the worker is expected to\nasynchronously send each message immediately after the event.\nDue to this asynchrony, messages may arrive out of order (or missing), and it\nis up to the consumer to interpret.\nThe timestamp of the event is in the enclosing WorkerMessage proto.",
"id": "WorkerLifecycleEvent",
"properties": {
"containerStartTime": {
"description": "The start time of this container. All events will report this so that\nevents can be grouped together across container/VM restarts.",
"format": "google-datetime",
"type": "string"
},
"event": {
"description": "The event being reported.",
"enum": [
"UNKNOWN_EVENT",
"OS_START",
"CONTAINER_START",
"NETWORK_UP",
"STAGING_FILES_DOWNLOAD_START",
"STAGING_FILES_DOWNLOAD_FINISH",
"SDK_INSTALL_START",
"SDK_INSTALL_FINISH"
],
"enumDescriptions": [
"Invalid event.",
"The time the VM started.",
"Our container code starts running. Multiple containers could be\ndistinguished with WorkerMessage.labels if desired.",
"The worker has a functional external network connection.",
"Started downloading staging files.",
"Finished downloading all staging files.",
"For applicable SDKs, started installation of SDK and worker packages.",
"Finished installing SDK."
],
"type": "string"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Other stats that can accompany an event. E.g.\n{ \"downloaded_bytes\" : \"123456\" }",
"type": "object"
}
},
"type": "object"
},
"WorkerMessage": {
"description": "WorkerMessage provides information to the backend about a worker.",
"id": "WorkerMessage",
"properties": {
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are used to group WorkerMessages.\nFor example, a worker_message about a particular container\nmight have the labels:\n{ \"JOB_ID\": \"2015-04-22\",\n \"WORKER_ID\": \"wordcount-vm-2015…\"\n \"CONTAINER_TYPE\": \"worker\",\n \"CONTAINER_ID\": \"ac1234def\"}\nLabel tags typically correspond to Label enum values. However, for ease\nof development other strings can be used as tags. LABEL_UNSPECIFIED should\nnot be used here.",
"type": "object"
},
"time": {
"description": "The timestamp of the worker_message.",
"format": "google-datetime",
"type": "string"
},
"workerHealthReport": {
"$ref": "WorkerHealthReport",
"description": "The health of a worker."
},
"workerLifecycleEvent": {
"$ref": "WorkerLifecycleEvent",
"description": "Record of worker lifecycle events."
},
"workerMessageCode": {
"$ref": "WorkerMessageCode",
"description": "A worker message code."
},
"workerMetrics": {
"$ref": "ResourceUtilizationReport",
"description": "Resource metrics reported by workers."
},
"workerShutdownNotice": {
"$ref": "WorkerShutdownNotice",
"description": "Shutdown notice by workers."
}
},
"type": "object"
},
"WorkerMessageCode": {
"description": "A message code is used to report status and error messages to the service.\nThe message codes are intended to be machine readable. The service will\ntake care of translating these into user understandable messages if\nnecessary.\n\nExample use cases:\n 1. Worker processes reporting successful startup.\n 2. Worker processes reporting specific errors (e.g. package staging\n failure).",
"id": "WorkerMessageCode",
"properties": {
"code": {
"description": "The code is a string intended for consumption by a machine that identifies\nthe type of message being sent.\nExamples:\n 1. \"HARNESS_STARTED\" might be used to indicate the worker harness has\n started.\n 2. \"GCS_DOWNLOAD_ERROR\" might be used to indicate an error downloading\n a GCS file as part of the boot process of one of the worker containers.\n\nThis is a string and not an enum to make it easy to add new codes without\nwaiting for an API change.",
"type": "string"
},
"parameters": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "Parameters contains specific information about the code.\n\nThis is a struct to allow parameters of different types.\n\nExamples:\n 1. For a \"HARNESS_STARTED\" message parameters might provide the name\n of the worker and additional data like timing information.\n 2. For a \"GCS_DOWNLOAD_ERROR\" parameters might contain fields listing\n the GCS objects being downloaded and fields containing errors.\n\nIn general complex data structures should be avoided. If a worker\nneeds to send a specific and complicated data structure then please\nconsider defining a new proto and adding it to the data oneof in\nWorkerMessageResponse.\n\nConventions:\n Parameters should only be used for information that isn't typically passed\n as a label.\n hostname and other worker identifiers should almost always be passed\n as labels since they will be included on most messages.",
"type": "object"
}
},
"type": "object"
},
"WorkerMessageResponse": {
"description": "A worker_message response allows the server to pass information to the\nsender.",
"id": "WorkerMessageResponse",
"properties": {
"workerHealthReportResponse": {
"$ref": "WorkerHealthReportResponse",
"description": "The service's response to a worker's health report."
},
"workerMetricsResponse": {
"$ref": "ResourceUtilizationReportResponse",
"description": "Service's response to reporting worker metrics (currently empty)."
},
"workerShutdownNoticeResponse": {
"$ref": "WorkerShutdownNoticeResponse",
"description": "Service's response to shutdown notice (currently empty)."
}
},
"type": "object"
},
"WorkerPool": {
"description": "Describes one particular pool of Cloud Dataflow workers to be\ninstantiated by the Cloud Dataflow service in order to perform the\ncomputations required by a job. Note that a workflow job may use\nmultiple pools, in order to match the various computational\nrequirements of the various stages of the job.",
"id": "WorkerPool",
"properties": {
"autoscalingSettings": {
"$ref": "AutoscalingSettings",
"description": "Settings for autoscaling of this WorkerPool."
},
"dataDisks": {
"description": "Data disks that are used by a VM in this workflow.",
"items": {
"$ref": "Disk"
},
"type": "array"
},
"defaultPackageSet": {
"description": "The default package set to install. This allows the service to\nselect a default set of packages which are useful to worker\nharnesses written in a particular language.",
"enum": [
"DEFAULT_PACKAGE_SET_UNKNOWN",
"DEFAULT_PACKAGE_SET_NONE",
"DEFAULT_PACKAGE_SET_JAVA",
"DEFAULT_PACKAGE_SET_PYTHON"
],
"enumDescriptions": [
"The default set of packages to stage is unknown, or unspecified.",
"Indicates that no packages should be staged at the worker unless\nexplicitly specified by the job.",
"Stage packages typically useful to workers written in Java.",
"Stage pacakges typically useful to workers written in Python."
],
"type": "string"
},
"diskSizeGb": {
"description": "Size of root disk for VMs, in GB. If zero or unspecified, the service will\nattempt to choose a reasonable default.",
"format": "int32",
"type": "integer"
},
"diskSourceImage": {
"description": "Fully qualified source image for disks.",
"type": "string"
},
"diskType": {
"description": "Type of root disk for VMs. If empty or unspecified, the service will\nattempt to choose a reasonable default.",
"type": "string"
},
"ipConfiguration": {
"description": "Configuration for VM IPs.",
"enum": [
"WORKER_IP_UNSPECIFIED",
"WORKER_IP_PUBLIC",
"WORKER_IP_PRIVATE"
],
"enumDescriptions": [
"The configuration is unknown, or unspecified.",
"Workers should have public IP addresses.",
"Workers should have private IP addresses."
],
"type": "string"
},
"kind": {
"description": "The kind of the worker pool; currently only `harness` and `shuffle`\nare supported.",
"type": "string"
},
"machineType": {
"description": "Machine type (e.g. \"n1-standard-1\"). If empty or unspecified, the\nservice will attempt to choose a reasonable default.",
"type": "string"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Metadata to set on the Google Compute Engine VMs.",
"type": "object"
},
"network": {
"description": "Network to which VMs will be assigned. If empty or unspecified,\nthe service will use the network \"default\".",
"type": "string"
},
"numThreadsPerWorker": {
"description": "The number of threads per worker harness. If empty or unspecified, the\nservice will choose a number of threads (according to the number of cores\non the selected machine type for batch, or 1 by convention for streaming).",
"format": "int32",
"type": "integer"
},
"numWorkers": {
"description": "Number of Google Compute Engine workers in this pool needed to\nexecute the job. If zero or unspecified, the service will\nattempt to choose a reasonable default.",
"format": "int32",
"type": "integer"
},
"onHostMaintenance": {
"description": "The action to take on host maintenance, as defined by the Google\nCompute Engine API.",
"type": "string"
},
"packages": {
"description": "Packages to be installed on workers.",
"items": {
"$ref": "Package"
},
"type": "array"
},
"poolArgs": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"description": "Extra arguments for this worker pool.",
"type": "object"
},
"subnetwork": {
"description": "Subnetwork to which VMs will be assigned, if desired. Expected to be of\nthe form \"regions/REGION/subnetworks/SUBNETWORK\".",
"type": "string"
},
"taskrunnerSettings": {
"$ref": "TaskRunnerSettings",
"description": "Settings passed through to Google Compute Engine workers when\nusing the standard Dataflow task runner. Users should ignore\nthis field."
},
"teardownPolicy": {
"description": "Sets the policy for determining when to turndown worker pool.\nAllowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and\n`TEARDOWN_NEVER`.\n`TEARDOWN_ALWAYS` means workers are always torn down regardless of whether\nthe job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down\nif the job succeeds. `TEARDOWN_NEVER` means the workers are never torn\ndown.\n\nIf the workers are not torn down by the service, they will\ncontinue to run and use Google Compute Engine VM resources in the\nuser's project until they are explicitly terminated by the user.\nBecause of this, Google recommends using the `TEARDOWN_ALWAYS`\npolicy except for small, manually supervised test jobs.\n\nIf unknown or unspecified, the service will attempt to choose a reasonable\ndefault.",
"enum": [
"TEARDOWN_POLICY_UNKNOWN",
"TEARDOWN_ALWAYS",
"TEARDOWN_ON_SUCCESS",
"TEARDOWN_NEVER"
],
"enumDescriptions": [
"The teardown policy isn't specified, or is unknown.",
"Always teardown the resource.",
"Teardown the resource on success. This is useful for debugging\nfailures.",
"Never teardown the resource. This is useful for debugging and\ndevelopment."
],
"type": "string"
},
"workerHarnessContainerImage": {
"description": "Required. Docker container image that executes the Cloud Dataflow worker\nharness, residing in Google Container Registry.",
"type": "string"
},
"zone": {
"description": "Zone to run the worker pools in. If empty or unspecified, the service\nwill attempt to choose a reasonable default.",
"type": "string"
}
},
"type": "object"
},
"WorkerSettings": {
"description": "Provides data to pass through to the worker harness.",
"id": "WorkerSettings",
"properties": {
"baseUrl": {
"description": "The base URL for accessing Google Cloud APIs.\n\nWhen workers access Google Cloud APIs, they logically do so via\nrelative URLs. If this field is specified, it supplies the base\nURL to use for resolving these relative URLs. The normative\nalgorithm used is defined by RFC 1808, \"Relative Uniform Resource\nLocators\".\n\nIf not specified, the default value is \"http://www.googleapis.com/\"",
"type": "string"
},
"reportingEnabled": {
"description": "Whether to send work progress updates to the service.",
"type": "boolean"
},
"servicePath": {
"description": "The Cloud Dataflow service path relative to the root URL, for example,\n\"dataflow/v1b3/projects\".",
"type": "string"
},
"shuffleServicePath": {
"description": "The Shuffle service path relative to the root URL, for example,\n\"shuffle/v1beta1\".",
"type": "string"
},
"tempStoragePrefix": {
"description": "The prefix of the resources the system should use for temporary\nstorage.\n\nThe supported resource type is:\n\nGoogle Cloud Storage:\n\n storage.googleapis.com/{bucket}/{object}\n bucket.storage.googleapis.com/{object}",
"type": "string"
},
"workerId": {
"description": "The ID of the worker running this pipeline.",
"type": "string"
}
},
"type": "object"
},
"WorkerShutdownNotice": {
"description": "Shutdown notification from workers. This is to be sent by the shutdown\nscript of the worker VM so that the backend knows that the VM is being\nshut down.",
"id": "WorkerShutdownNotice",
"properties": {
"reason": {
"description": "The reason for the worker shutdown.\nCurrent possible values are:\n \"UNKNOWN\": shutdown reason is unknown.\n \"PREEMPTION\": shutdown reason is preemption.\nOther possible reasons may be added in the future.",
"type": "string"
}
},
"type": "object"
},
"WorkerShutdownNoticeResponse": {
"description": "Service-side response to WorkerMessage issuing shutdown notice.",
"id": "WorkerShutdownNoticeResponse",
"properties": {},
"type": "object"
},
"WriteInstruction": {
"description": "An instruction that writes records.\nTakes one input, produces no outputs.",
"id": "WriteInstruction",
"properties": {
"input": {
"$ref": "InstructionInput",
"description": "The input."
},
"sink": {
"$ref": "Sink",
"description": "The sink to write to."
}
},
"type": "object"
}
},
"servicePath": "",
"title": "Dataflow API",
"version": "v1b3"
}
|