alpha.d.ts
154 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
/**
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { OAuth2Client, JWT, Compute, UserRefreshClient } from 'google-auth-library';
import { GoogleConfigurable, MethodOptions, GlobalOptions, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
import { GaxiosPromise } from 'gaxios';
export declare namespace deploymentmanager_alpha {
export interface Options extends GlobalOptions {
version: 'alpha';
}
interface StandardParameters {
/**
* Data format for the response.
*/
alt?: string;
/**
* Selector specifying which fields to include in a partial response.
*/
fields?: string;
/**
* API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
*/
key?: string;
/**
* OAuth 2.0 token for the current user.
*/
oauth_token?: string;
/**
* Returns response with indentations and line breaks.
*/
prettyPrint?: boolean;
/**
* An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
*/
quotaUser?: string;
/**
* Deprecated. Please use quotaUser instead.
*/
userIp?: string;
}
/**
* Google Cloud Deployment Manager Alpha API
*
* The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.
*
* @example
* const {google} = require('googleapis');
* const deploymentmanager = google.deploymentmanager('alpha');
*
* @namespace deploymentmanager
* @type {Function}
* @version alpha
* @variation alpha
* @param {object=} options Options for Deploymentmanager
*/
export class Deploymentmanager {
context: APIRequestContext;
compositeTypes: Resource$Compositetypes;
deployments: Resource$Deployments;
manifests: Resource$Manifests;
operations: Resource$Operations;
resources: Resource$Resources;
typeProviders: Resource$Typeproviders;
types: Resource$Types;
constructor(options: GlobalOptions, google?: GoogleConfigurable);
}
/**
* Async options that determine when a resource should finish.
*/
export interface Schema$AsyncOptions {
/**
* Method regex where this policy will apply.
*/
methodMatch?: string | null;
/**
* Deployment manager will poll instances for this API resource setting a RUNNING state, and blocking until polling conditions tell whether the resource is completed or failed.
*/
pollingOptions?: Schema$PollingOptions;
}
/**
* Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices" "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] }, { "log_type": "DATA_WRITE", }, { "log_type": "ADMIN_READ", } ] }, { "service": "fooservice.googleapis.com" "audit_log_configs": [ { "log_type": "DATA_READ", }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:bar@gmail.com" ] } ] } ] } For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.com from DATA_WRITE logging.
*/
export interface Schema$AuditConfig {
/**
* The configuration for logging of each type of permission.
*/
auditLogConfigs?: Schema$AuditLogConfig[];
exemptedMembers?: string[] | null;
/**
* Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
*/
service?: string | null;
}
/**
* Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] }, { "log_type": "DATA_WRITE", } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo@gmail.com from DATA_READ logging.
*/
export interface Schema$AuditLogConfig {
/**
* Specifies the identities that do not cause logging for this type of permission. Follows the same format of [Binding.members][].
*/
exemptedMembers?: string[] | null;
/**
* The log type that this config enables.
*/
logType?: string | null;
}
/**
* Authorization-related information used by Cloud Audit Logging.
*/
export interface Schema$AuthorizationLoggingOptions {
/**
* The type of the permission that was checked.
*/
permissionType?: string | null;
}
/**
* Basic Auth used as a credential.
*/
export interface Schema$BasicAuth {
password?: string | null;
user?: string | null;
}
/**
* Associates `members` with a `role`.
*/
export interface Schema$Binding {
/**
* Unimplemented. The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
*/
condition?: Schema$Expr;
/**
* Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.
*/
members?: string[] | null;
/**
* Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
*/
role?: string | null;
}
/**
* CollectionOverride allows resource handling overrides for specific resources within a BaseType
*/
export interface Schema$CollectionOverride {
/**
* The collection that identifies this resource within its service.
*/
collection?: string | null;
/**
* Custom verb method mappings to support unordered list API mappings.
*/
methodMap?: Schema$MethodMap;
/**
* The options to apply to this resource-level override
*/
options?: Schema$Options;
}
/**
* Holds the composite type.
*/
export interface Schema$CompositeType {
/**
* An optional textual description of the resource; provided by the client when the resource is created.
*/
description?: string | null;
id?: string | null;
/**
* Output only. Creation timestamp in RFC3339 text format.
*/
insertTime?: string | null;
/**
* Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
*/
labels?: Schema$CompositeTypeLabelEntry[];
/**
* Name of the composite type, must follow the expression: [a-z]([-a-z0-9_.]{0,61}[a-z0-9])?.
*/
name?: string | null;
/**
* Output only. The Operation that most recently ran, or is currently running, on this composite type.
*/
operation?: Schema$Operation;
/**
* Output only. Server defined URL for the resource.
*/
selfLink?: string | null;
status?: string | null;
/**
* Files for the template type.
*/
templateContents?: Schema$TemplateContents;
}
export interface Schema$CompositeTypeLabelEntry {
key?: string | null;
value?: string | null;
}
/**
* A response that returns all Composite Types supported by Deployment Manager
*/
export interface Schema$CompositeTypesListResponse {
/**
* Output only. A list of resource composite types supported by Deployment Manager.
*/
compositeTypes?: Schema$CompositeType[];
/**
* A token used to continue a truncated list request.
*/
nextPageToken?: string | null;
}
/**
* A condition to be met.
*/
export interface Schema$Condition {
/**
* Trusted attributes supplied by the IAM system.
*/
iam?: string | null;
/**
* An operator to apply the subject with.
*/
op?: string | null;
/**
* Trusted attributes discharged by the service.
*/
svc?: string | null;
/**
* Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.
*/
sys?: string | null;
/**
* DEPRECATED. Use 'values' instead.
*/
value?: string | null;
/**
* The objects of the condition. This is mutually exclusive with 'value'.
*/
values?: string[] | null;
}
export interface Schema$ConfigFile {
/**
* The contents of the file.
*/
content?: string | null;
}
/**
* BaseType that describes a service-backed Type.
*/
export interface Schema$ConfigurableService {
/**
* Allows resource handling overrides for specific collections
*/
collectionOverrides?: Schema$CollectionOverride[];
/**
* Credential used when interacting with this type.
*/
credential?: Schema$Credential;
/**
* Descriptor Url for the this type.
*/
descriptorUrl?: string | null;
/**
* Options to apply when handling any resources in this service.
*/
options?: Schema$Options;
}
/**
* The credential used by Deployment Manager and TypeProvider. Only one of the options is permitted.
*/
export interface Schema$Credential {
/**
* Basic Auth Credential, only used by TypeProvider.
*/
basicAuth?: Schema$BasicAuth;
/**
* Service Account Credential, only used by Deployment.
*/
serviceAccount?: Schema$ServiceAccount;
/**
* Specify to use the project default credential, only supported by Deployment.
*/
useProjectDefault?: boolean | null;
}
export interface Schema$Deployment {
/**
* User provided default credential for the deployment.
*/
credential?: Schema$Credential;
/**
* An optional user-provided description of the deployment.
*/
description?: string | null;
/**
* Provides a fingerprint to use in requests to modify a deployment, such as update(), stop(), and cancelPreview() requests. A fingerprint is a randomly generated value that must be provided with update(), stop(), and cancelPreview() requests to perform optimistic locking. This ensures optimistic concurrency so that only one request happens at a time. The fingerprint is initially generated by Deployment Manager and changes after every request to modify data. To get the latest fingerprint value, perform a get() request to a deployment.
*/
fingerprint?: string | null;
id?: string | null;
/**
* Output only. Creation timestamp in RFC3339 text format.
*/
insertTime?: string | null;
/**
* Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
*/
labels?: Schema$DeploymentLabelEntry[];
/**
* Output only. URL of the manifest representing the last manifest that was successfully deployed.
*/
manifest?: string | null;
/**
* Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
*/
name?: string | null;
/**
* Output only. The Operation that most recently ran, or is currently running, on this deployment.
*/
operation?: Schema$Operation;
/**
* Output only. Map of outputs from the last manifest that deployed successfully.
*/
outputs?: Schema$DeploymentOutputsEntry[];
/**
* Output only. Server defined URL for the resource.
*/
selfLink?: string | null;
/**
* [Input Only] The parameters that define your deployment, including the deployment configuration and relevant templates.
*/
target?: Schema$TargetConfiguration;
/**
* Output only. If Deployment Manager is currently updating or previewing an update to this deployment, the updated configuration appears here.
*/
update?: Schema$DeploymentUpdate;
/**
* Output only. Update timestamp in RFC3339 text format.
*/
updateTime?: string | null;
}
export interface Schema$DeploymentLabelEntry {
key?: string | null;
value?: string | null;
}
export interface Schema$DeploymentOutputsEntry {
key?: string | null;
value?: string | null;
}
export interface Schema$DeploymentsCancelPreviewRequest {
/**
* Specifies a fingerprint for cancelPreview() requests. A fingerprint is a randomly generated value that must be provided in cancelPreview() requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to cancel a preview, this would prevent one of the requests). The fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a get() request on the deployment.
*/
fingerprint?: string | null;
}
/**
* A response containing a partial list of deployments and a page token used to build the next request if the request has been truncated.
*/
export interface Schema$DeploymentsListResponse {
/**
* Output only. The deployments contained in this response.
*/
deployments?: Schema$Deployment[];
/**
* Output only. A token used to continue a truncated list request.
*/
nextPageToken?: string | null;
}
export interface Schema$DeploymentsStopRequest {
/**
* Specifies a fingerprint for stop() requests. A fingerprint is a randomly generated value that must be provided in stop() requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to stop an ongoing update request, this would prevent a collision). The fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a get() request on the deployment.
*/
fingerprint?: string | null;
}
export interface Schema$DeploymentUpdate {
/**
* Output only. The user-provided default credential to use when deploying this preview.
*/
credential?: Schema$Credential;
/**
* Output only. An optional user-provided description of the deployment after the current update has been applied.
*/
description?: string | null;
/**
* Output only. Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
*/
labels?: Schema$DeploymentUpdateLabelEntry[];
/**
* Output only. URL of the manifest representing the update configuration of this deployment.
*/
manifest?: string | null;
}
export interface Schema$DeploymentUpdateLabelEntry {
key?: string | null;
value?: string | null;
}
export interface Schema$Diagnostic {
/**
* JsonPath expression on the resource that if non empty, indicates that this field needs to be extracted as a diagnostic.
*/
field?: string | null;
/**
* Level to record this diagnostic.
*/
level?: string | null;
}
/**
* Represents an expression text. Example: title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0"
*/
export interface Schema$Expr {
/**
* An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
*/
description?: string | null;
/**
* Textual representation of an expression in Common Expression Language syntax. The application context of the containing message determines which well-known feature set of CEL is supported.
*/
expression?: string | null;
/**
* An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
*/
location?: string | null;
/**
* An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
*/
title?: string | null;
}
export interface Schema$GlobalSetPolicyRequest {
/**
* Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
*/
bindings?: Schema$Binding[];
/**
* Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
*/
etag?: string | null;
/**
* REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.
*/
policy?: Schema$Policy;
}
export interface Schema$ImportFile {
/**
* The contents of the file.
*/
content?: string | null;
/**
* The name of the file.
*/
name?: string | null;
}
/**
* InputMapping creates a 'virtual' property that will be injected into the properties before sending the request to the underlying API.
*/
export interface Schema$InputMapping {
/**
* The name of the field that is going to be injected.
*/
fieldName?: string | null;
/**
* The location where this mapping applies.
*/
location?: string | null;
/**
* Regex to evaluate on method to decide if input applies.
*/
methodMatch?: string | null;
/**
* A jsonPath expression to select an element.
*/
value?: string | null;
}
/**
* Specifies what kind of log the caller must write
*/
export interface Schema$LogConfig {
/**
* Cloud audit options.
*/
cloudAudit?: Schema$LogConfigCloudAuditOptions;
/**
* Counter options.
*/
counter?: Schema$LogConfigCounterOptions;
/**
* Data access options.
*/
dataAccess?: Schema$LogConfigDataAccessOptions;
}
/**
* Write a Cloud Audit log
*/
export interface Schema$LogConfigCloudAuditOptions {
/**
* Information used by the Cloud Audit Logging pipeline.
*/
authorizationLoggingOptions?: Schema$AuthorizationLoggingOptions;
/**
* The log_name to populate in the Cloud Audit Record.
*/
logName?: string | null;
}
/**
* Increment a streamz counter with the specified metric and field names. Metric names should start with a '/', generally be lowercase-only, and end in "_count". Field names should not contain an initial slash. The actual exported metric names will have "/iam/policy" prepended. Field names correspond to IAM request parameters and field values are their respective values. Supported field names: - "authority", which is "[token]" if IAMContext.token is present, otherwise the value of IAMContext.authority_selector if present, and otherwise a representation of IAMContext.principal; or - "iam_principal", a representation of IAMContext.principal even if a token or authority selector is present; or - "" (empty string), resulting in a counter with no fields. Examples: counter { metric: "/debug_access_count" field: "iam_principal" } ==> increment counter /iam/policy/backend_debug_access_count {iam_principal=[value of IAMContext.principal]} At this time we do not support multiple field names (though this may be supported in the future).
*/
export interface Schema$LogConfigCounterOptions {
/**
* The field value to attribute.
*/
field?: string | null;
/**
* The metric to update.
*/
metric?: string | null;
}
/**
* Write a Data Access (Gin) log
*/
export interface Schema$LogConfigDataAccessOptions {
/**
* Whether Gin logging should happen in a fail-closed manner at the caller. This is relevant only in the LocalIAM implementation, for now. NOTE: Logging to Gin in a fail-closed manner is currently unsupported while work is being done to satisfy the requirements of go/345. Currently, setting LOG_FAIL_CLOSED mode will have no effect, but still exists because there is active work being done to support it (b/115874152).
*/
logMode?: string | null;
}
export interface Schema$Manifest {
/**
* Output only. The YAML configuration for this manifest.
*/
config?: Schema$ConfigFile;
/**
* Output only. The fully-expanded configuration file, including any templates and references.
*/
expandedConfig?: string | null;
id?: string | null;
/**
* Output only. The imported files for this manifest.
*/
imports?: Schema$ImportFile[];
/**
* Output only. Creation timestamp in RFC3339 text format.
*/
insertTime?: string | null;
/**
* Output only. The YAML layout for this manifest.
*/
layout?: string | null;
/**
* Output only. The name of the manifest.
*/
name?: string | null;
/**
* Output only. Self link for the manifest.
*/
selfLink?: string | null;
}
/**
* A response containing a partial list of manifests and a page token used to build the next request if the request has been truncated.
*/
export interface Schema$ManifestsListResponse {
/**
* Output only. Manifests contained in this list response.
*/
manifests?: Schema$Manifest[];
/**
* Output only. A token used to continue a truncated list request.
*/
nextPageToken?: string | null;
}
/**
* Deployment Manager will call these methods during the events of creation/deletion/update/get/setIamPolicy
*/
export interface Schema$MethodMap {
/**
* The action identifier for the create method to be used for this collection
*/
create?: string | null;
/**
* The action identifier for the delete method to be used for this collection
*/
delete?: string | null;
/**
* The action identifier for the get method to be used for this collection
*/
get?: string | null;
/**
* The action identifier for the setIamPolicy method to be used for this collection
*/
setIamPolicy?: string | null;
/**
* The action identifier for the update method to be used for this collection
*/
update?: string | null;
}
/**
* An Operation resource, used to manage asynchronous API requests. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)
*/
export interface Schema$Operation {
/**
* [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
*/
clientOperationId?: string | null;
/**
* [Deprecated] This field is deprecated.
*/
creationTimestamp?: string | null;
/**
* [Output Only] A textual description of the operation, which is set when the operation is created.
*/
description?: string | null;
/**
* [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
*/
endTime?: string | null;
/**
* [Output Only] If errors are generated during processing of the operation, this field will be populated.
*/
error?: {
errors?: Array<{
code?: string;
location?: string;
message?: string;
}>;
} | null;
/**
* [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
*/
httpErrorMessage?: string | null;
/**
* [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found.
*/
httpErrorStatusCode?: number | null;
/**
* [Output Only] The unique identifier for the resource. This identifier is defined by the server.
*/
id?: string | null;
/**
* [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
*/
insertTime?: string | null;
/**
* [Output Only] Type of the resource. Always compute#operation for Operation resources.
*/
kind?: string | null;
/**
* [Output Only] Name of the resource.
*/
name?: string | null;
/**
* [Output Only] The type of operation, such as insert, update, or delete, and so on.
*/
operationType?: string | null;
/**
* [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
*/
progress?: number | null;
/**
* [Output Only] The URL of the region where the operation resides. Only available when performing regional operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
*/
region?: string | null;
/**
* [Output Only] Server-defined URL for the resource.
*/
selfLink?: string | null;
/**
* [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
*/
startTime?: string | null;
/**
* [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
*/
status?: string | null;
/**
* [Output Only] An optional textual description of the current status of the operation.
*/
statusMessage?: string | null;
/**
* [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
*/
targetId?: string | null;
/**
* [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
*/
targetLink?: string | null;
/**
* [Output Only] User who requested the operation, for example: user@example.com.
*/
user?: string | null;
/**
* [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
*/
warnings?: Array<{
code?: string;
data?: Array<{
key?: string;
value?: string;
}>;
message?: string;
}> | null;
/**
* [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
*/
zone?: string | null;
}
/**
* A response containing a partial list of operations and a page token used to build the next request if the request has been truncated.
*/
export interface Schema$OperationsListResponse {
/**
* Output only. A token used to continue a truncated list request.
*/
nextPageToken?: string | null;
/**
* Output only. Operations contained in this list response.
*/
operations?: Schema$Operation[];
}
/**
* Options allows customized resource handling by Deployment Manager.
*/
export interface Schema$Options {
/**
* Options regarding how to thread async requests.
*/
asyncOptions?: Schema$AsyncOptions[];
/**
* The mappings that apply for requests.
*/
inputMappings?: Schema$InputMapping[];
/**
* The json path to the field in the resource JSON body into which the resource name should be mapped. Leaving this empty indicates that there should be no mapping performed.
*/
nameProperty?: string | null;
/**
* Options for how to validate and process properties on a resource.
*/
validationOptions?: Schema$ValidationOptions;
}
/**
* Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **JSON Example** { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@appspot.gserviceaccount.com" ] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] } **YAML Example** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com role: roles/owner - members: - user:sean@example.com role: roles/viewer For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam/docs).
*/
export interface Schema$Policy {
/**
* Specifies cloud audit logging configuration for this policy.
*/
auditConfigs?: Schema$AuditConfig[];
/**
* Associates a list of `members` to a `role`. `bindings` with no members will result in an error.
*/
bindings?: Schema$Binding[];
/**
* `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. If no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.
*/
etag?: string | null;
iamOwned?: boolean | null;
/**
* If more than one rule is specified, the rules are applied in the following manner: - All matching LOG rules are always applied. - If any DENY/DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if one or more matching rule requires logging. - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if one or more matching rule requires logging. - Otherwise, if no rule applies, permission is denied.
*/
rules?: Schema$Rule[];
/**
* Deprecated.
*/
version?: number | null;
}
export interface Schema$PollingOptions {
/**
* An array of diagnostics to be collected by Deployment Manager, these diagnostics will be displayed to the user.
*/
diagnostics?: Schema$Diagnostic[];
/**
* JsonPath expression that determines if the request failed.
*/
failCondition?: string | null;
/**
* JsonPath expression that determines if the request is completed.
*/
finishCondition?: string | null;
/**
* JsonPath expression that evaluates to string, it indicates where to poll.
*/
pollingLink?: string | null;
/**
* JsonPath expression, after polling is completed, indicates where to fetch the resource.
*/
targetLink?: string | null;
}
export interface Schema$Resource {
/**
* The Access Control Policy set on this resource.
*/
accessControl?: Schema$ResourceAccessControl;
/**
* Output only. The evaluated properties of the resource with references expanded. Returned as serialized YAML.
*/
finalProperties?: string | null;
id?: string | null;
/**
* Output only. Creation timestamp in RFC3339 text format.
*/
insertTime?: string | null;
/**
* Output only. The last used credential that successfully created/updated the resource.
*/
lastUsedCredential?: Schema$Credential;
/**
* Output only. URL of the manifest representing the current configuration of this resource.
*/
manifest?: string | null;
/**
* Output only. The name of the resource as it appears in the YAML config.
*/
name?: string | null;
/**
* Output only. The current properties of the resource before any references have been filled in. Returned as serialized YAML.
*/
properties?: string | null;
/**
* Output only. In case this is an action, it will show the runtimePolicies on which this action will run in the deployment
*/
runtimePolicies?: string[] | null;
/**
* Output only. The type of the resource, for example compute.v1.instance, or cloudfunctions.v1beta1.function.
*/
type?: string | null;
/**
* Output only. If Deployment Manager is currently updating or previewing an update to this resource, the updated configuration appears here.
*/
update?: Schema$ResourceUpdate;
/**
* Output only. Update timestamp in RFC3339 text format.
*/
updateTime?: string | null;
/**
* Output only. The URL of the actual resource.
*/
url?: string | null;
/**
* Output only. If warning messages are generated during processing of this resource, this field will be populated.
*/
warnings?: Array<{
code?: string;
data?: Array<{
key?: string;
value?: string;
}>;
message?: string;
}> | null;
}
/**
* The access controls set on the resource.
*/
export interface Schema$ResourceAccessControl {
/**
* The GCP IAM Policy to set on the resource.
*/
gcpIamPolicy?: string | null;
}
/**
* A response containing a partial list of resources and a page token used to build the next request if the request has been truncated.
*/
export interface Schema$ResourcesListResponse {
/**
* A token used to continue a truncated list request.
*/
nextPageToken?: string | null;
/**
* Resources contained in this list response.
*/
resources?: Schema$Resource[];
}
export interface Schema$ResourceUpdate {
/**
* The Access Control Policy to set on this resource after updating the resource itself.
*/
accessControl?: Schema$ResourceAccessControl;
/**
* Output only. The credential that will be used creating/updating this resource.
*/
credential?: Schema$Credential;
/**
* Output only. If errors are generated during update of the resource, this field will be populated.
*/
error?: {
errors?: Array<{
code?: string;
location?: string;
message?: string;
}>;
} | null;
/**
* Output only. The expanded properties of the resource with reference values expanded. Returned as serialized YAML.
*/
finalProperties?: string | null;
/**
* Output only. The intent of the resource: PREVIEW, UPDATE, or CANCEL.
*/
intent?: string | null;
/**
* Output only. URL of the manifest representing the update configuration of this resource.
*/
manifest?: string | null;
/**
* Output only. The set of updated properties for this resource, before references are expanded. Returned as serialized YAML.
*/
properties?: string | null;
/**
* Output only. In case this is an action, it will show the runtimePolicies that this action will have after updating the deployment.
*/
runtimePolicies?: string[] | null;
/**
* Output only. The state of the resource.
*/
state?: string | null;
/**
* Output only. If warning messages are generated during processing of this resource, this field will be populated.
*/
warnings?: Array<{
code?: string;
data?: Array<{
key?: string;
value?: string;
}>;
message?: string;
}> | null;
}
/**
* A rule to be applied in a Policy.
*/
export interface Schema$Rule {
/**
* Required
*/
action?: string | null;
/**
* Additional restrictions that must be met. All conditions must pass for the rule to match.
*/
conditions?: Schema$Condition[];
/**
* Human-readable description of the rule.
*/
description?: string | null;
/**
* If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
*/
ins?: string[] | null;
/**
* The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.
*/
logConfigs?: Schema$LogConfig[];
/**
* If one or more 'not_in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
*/
notIns?: string[] | null;
/**
* A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
*/
permissions?: string[] | null;
}
/**
* Service Account used as a credential.
*/
export interface Schema$ServiceAccount {
/**
* The IAM service account email address like test@myproject.iam.gserviceaccount.com
*/
email?: string | null;
}
export interface Schema$TargetConfiguration {
/**
* The configuration to use for this deployment.
*/
config?: Schema$ConfigFile;
/**
* Specifies any files to import for this configuration. This can be used to import templates or other files. For example, you might import a text file in order to use the file in a template.
*/
imports?: Schema$ImportFile[];
}
/**
* Files that make up the template contents of a template type.
*/
export interface Schema$TemplateContents {
/**
* Import files referenced by the main template.
*/
imports?: Schema$ImportFile[];
/**
* Which interpreter (python or jinja) should be used during expansion.
*/
interpreter?: string | null;
/**
* The filename of the mainTemplate
*/
mainTemplate?: string | null;
/**
* The contents of the template schema.
*/
schema?: string | null;
/**
* The contents of the main template file.
*/
template?: string | null;
}
export interface Schema$TestPermissionsRequest {
/**
* The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
*/
permissions?: string[] | null;
}
export interface Schema$TestPermissionsResponse {
/**
* A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
*/
permissions?: string[] | null;
}
/**
* A resource type supported by Deployment Manager.
*/
export interface Schema$Type {
/**
* Base Type (configurable service) that backs this Type.
*/
configurableService?: Schema$ConfigurableService;
/**
* An optional textual description of the resource; provided by the client when the resource is created.
*/
description?: string | null;
id?: string | null;
/**
* Output only. Creation timestamp in RFC3339 text format.
*/
insertTime?: string | null;
/**
* Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
*/
labels?: Schema$TypeLabelEntry[];
/**
* Name of the type.
*/
name?: string | null;
/**
* Output only. The Operation that most recently ran, or is currently running, on this type.
*/
operation?: Schema$Operation;
/**
* Output only. Server defined URL for the resource.
*/
selfLink?: string | null;
}
/**
* Type Information. Contains detailed information about a composite type, base type, or base type with specific collection.
*/
export interface Schema$TypeInfo {
/**
* The description of the type.
*/
description?: string | null;
/**
* For swagger 2.0 externalDocs field will be used. For swagger 1.2 this field will be empty.
*/
documentationLink?: string | null;
/**
* Output only. Type of the output. Always deploymentManager#TypeInfo for TypeInfo.
*/
kind?: string | null;
/**
* The base type or composite type name.
*/
name?: string | null;
/**
* For base types with a collection, we return a schema and documentation link For template types, we return only a schema
*/
schema?: Schema$TypeInfoSchemaInfo;
/**
* Output only. Self link for the type provider.
*/
selfLink?: string | null;
/**
* The title on the API descriptor URL provided.
*/
title?: string | null;
}
export interface Schema$TypeInfoSchemaInfo {
/**
* The properties that this composite type or base type collection accept as input, represented as a json blob, format is: JSON Schema Draft V4
*/
input?: string | null;
/**
* The properties that this composite type or base type collection exposes as output, these properties can be used for references, represented as json blob, format is: JSON Schema Draft V4
*/
output?: string | null;
}
export interface Schema$TypeLabelEntry {
key?: string | null;
value?: string | null;
}
/**
* A type provider that describes a service-backed Type.
*/
export interface Schema$TypeProvider {
/**
* Allows resource handling overrides for specific collections
*/
collectionOverrides?: Schema$CollectionOverride[];
/**
* Credential used when interacting with this type.
*/
credential?: Schema$Credential;
/**
* An optional textual description of the resource; provided by the client when the resource is created.
*/
description?: string | null;
/**
* Descriptor Url for the this type provider.
*/
descriptorUrl?: string | null;
/**
* Output only. Unique identifier for the resource defined by the server.
*/
id?: string | null;
/**
* Output only. Creation timestamp in RFC3339 text format.
*/
insertTime?: string | null;
/**
* Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
*/
labels?: Schema$TypeProviderLabelEntry[];
/**
* Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
*/
name?: string | null;
/**
* Output only. The Operation that most recently ran, or is currently running, on this type provider.
*/
operation?: Schema$Operation;
/**
* Options to apply when handling any resources in this service.
*/
options?: Schema$Options;
/**
* Output only. Self link for the type provider.
*/
selfLink?: string | null;
}
export interface Schema$TypeProviderLabelEntry {
key?: string | null;
value?: string | null;
}
/**
* A response that returns all Type Providers supported by Deployment Manager
*/
export interface Schema$TypeProvidersListResponse {
/**
* A token used to continue a truncated list request.
*/
nextPageToken?: string | null;
/**
* Output only. A list of resource type providers supported by Deployment Manager.
*/
typeProviders?: Schema$TypeProvider[];
}
export interface Schema$TypeProvidersListTypesResponse {
/**
* A token used to continue a truncated list request.
*/
nextPageToken?: string | null;
/**
* Output only. A list of resource type info.
*/
types?: Schema$TypeInfo[];
}
/**
* A response that returns all Types supported by Deployment Manager
*/
export interface Schema$TypesListResponse {
/**
* A token used to continue a truncated list request.
*/
nextPageToken?: string | null;
/**
* Output only. A list of resource types supported by Deployment Manager.
*/
types?: Schema$Type[];
}
/**
* Options for how to validate and process properties on a resource.
*/
export interface Schema$ValidationOptions {
/**
* Customize how deployment manager will validate the resource against schema errors.
*/
schemaValidation?: string | null;
/**
* Specify what to do with extra properties when executing a request.
*/
undeclaredProperties?: string | null;
}
export class Resource$Compositetypes {
context: APIRequestContext;
constructor(context: APIRequestContext);
/**
* deploymentmanager.compositeTypes.delete
* @desc Deletes a composite type.
* @alias deploymentmanager.compositeTypes.delete
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.compositeType The name of the type for this request.
* @param {string} params.project The project ID for this request.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
delete(params?: Params$Resource$Compositetypes$Delete, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
delete(params: Params$Resource$Compositetypes$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
delete(params: Params$Resource$Compositetypes$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
delete(callback: BodyResponseCallback<Schema$Operation>): void;
/**
* deploymentmanager.compositeTypes.get
* @desc Gets information about a specific composite type.
* @alias deploymentmanager.compositeTypes.get
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.compositeType The name of the composite type for this request.
* @param {string} params.project The project ID for this request.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
get(params?: Params$Resource$Compositetypes$Get, options?: MethodOptions): GaxiosPromise<Schema$CompositeType>;
get(params: Params$Resource$Compositetypes$Get, options: MethodOptions | BodyResponseCallback<Schema$CompositeType>, callback: BodyResponseCallback<Schema$CompositeType>): void;
get(params: Params$Resource$Compositetypes$Get, callback: BodyResponseCallback<Schema$CompositeType>): void;
get(callback: BodyResponseCallback<Schema$CompositeType>): void;
/**
* deploymentmanager.compositeTypes.insert
* @desc Creates a composite type.
* @alias deploymentmanager.compositeTypes.insert
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.project The project ID for this request.
* @param {().CompositeType} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
insert(params?: Params$Resource$Compositetypes$Insert, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
insert(params: Params$Resource$Compositetypes$Insert, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
insert(params: Params$Resource$Compositetypes$Insert, callback: BodyResponseCallback<Schema$Operation>): void;
insert(callback: BodyResponseCallback<Schema$Operation>): void;
/**
* deploymentmanager.compositeTypes.list
* @desc Lists all composite types for Deployment Manager.
* @alias deploymentmanager.compositeTypes.list
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string=} params.filter A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance. You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
* @param {integer=} params.maxResults The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
* @param {string=} params.orderBy Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by name or creationTimestamp desc is supported.
* @param {string=} params.pageToken Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.
* @param {string} params.project The project ID for this request.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
list(params?: Params$Resource$Compositetypes$List, options?: MethodOptions): GaxiosPromise<Schema$CompositeTypesListResponse>;
list(params: Params$Resource$Compositetypes$List, options: MethodOptions | BodyResponseCallback<Schema$CompositeTypesListResponse>, callback: BodyResponseCallback<Schema$CompositeTypesListResponse>): void;
list(params: Params$Resource$Compositetypes$List, callback: BodyResponseCallback<Schema$CompositeTypesListResponse>): void;
list(callback: BodyResponseCallback<Schema$CompositeTypesListResponse>): void;
/**
* deploymentmanager.compositeTypes.patch
* @desc Updates a composite type. This method supports patch semantics.
* @alias deploymentmanager.compositeTypes.patch
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.compositeType The name of the composite type for this request.
* @param {string} params.project The project ID for this request.
* @param {().CompositeType} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
patch(params?: Params$Resource$Compositetypes$Patch, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
patch(params: Params$Resource$Compositetypes$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
patch(params: Params$Resource$Compositetypes$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
patch(callback: BodyResponseCallback<Schema$Operation>): void;
/**
* deploymentmanager.compositeTypes.update
* @desc Updates a composite type.
* @alias deploymentmanager.compositeTypes.update
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.compositeType The name of the composite type for this request.
* @param {string} params.project The project ID for this request.
* @param {().CompositeType} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
update(params?: Params$Resource$Compositetypes$Update, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
update(params: Params$Resource$Compositetypes$Update, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
update(params: Params$Resource$Compositetypes$Update, callback: BodyResponseCallback<Schema$Operation>): void;
update(callback: BodyResponseCallback<Schema$Operation>): void;
}
export interface Params$Resource$Compositetypes$Delete extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The name of the type for this request.
*/
compositeType?: string;
/**
* The project ID for this request.
*/
project?: string;
}
export interface Params$Resource$Compositetypes$Get extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The name of the composite type for this request.
*/
compositeType?: string;
/**
* The project ID for this request.
*/
project?: string;
}
export interface Params$Resource$Compositetypes$Insert extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The project ID for this request.
*/
project?: string;
/**
* Request body metadata
*/
requestBody?: Schema$CompositeType;
}
export interface Params$Resource$Compositetypes$List extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance. You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
*/
filter?: string;
/**
* The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
*/
maxResults?: number;
/**
* Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by name or creationTimestamp desc is supported.
*/
orderBy?: string;
/**
* Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.
*/
pageToken?: string;
/**
* The project ID for this request.
*/
project?: string;
}
export interface Params$Resource$Compositetypes$Patch extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The name of the composite type for this request.
*/
compositeType?: string;
/**
* The project ID for this request.
*/
project?: string;
/**
* Request body metadata
*/
requestBody?: Schema$CompositeType;
}
export interface Params$Resource$Compositetypes$Update extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The name of the composite type for this request.
*/
compositeType?: string;
/**
* The project ID for this request.
*/
project?: string;
/**
* Request body metadata
*/
requestBody?: Schema$CompositeType;
}
export class Resource$Deployments {
context: APIRequestContext;
constructor(context: APIRequestContext);
/**
* deploymentmanager.deployments.cancelPreview
* @desc Cancels and removes the preview currently associated with the deployment.
* @alias deploymentmanager.deployments.cancelPreview
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.deployment The name of the deployment for this request.
* @param {string} params.project The project ID for this request.
* @param {().DeploymentsCancelPreviewRequest} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
cancelPreview(params?: Params$Resource$Deployments$Cancelpreview, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
cancelPreview(params: Params$Resource$Deployments$Cancelpreview, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
cancelPreview(params: Params$Resource$Deployments$Cancelpreview, callback: BodyResponseCallback<Schema$Operation>): void;
cancelPreview(callback: BodyResponseCallback<Schema$Operation>): void;
/**
* deploymentmanager.deployments.delete
* @desc Deletes a deployment and all of the resources in the deployment.
* @alias deploymentmanager.deployments.delete
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string=} params.deletePolicy Sets the policy to use for deleting resources.
* @param {string} params.deployment The name of the deployment for this request.
* @param {string} params.project The project ID for this request.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
delete(params?: Params$Resource$Deployments$Delete, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
delete(params: Params$Resource$Deployments$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
delete(params: Params$Resource$Deployments$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
delete(callback: BodyResponseCallback<Schema$Operation>): void;
/**
* deploymentmanager.deployments.get
* @desc Gets information about a specific deployment.
* @alias deploymentmanager.deployments.get
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.deployment The name of the deployment for this request.
* @param {string} params.project The project ID for this request.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
get(params?: Params$Resource$Deployments$Get, options?: MethodOptions): GaxiosPromise<Schema$Deployment>;
get(params: Params$Resource$Deployments$Get, options: MethodOptions | BodyResponseCallback<Schema$Deployment>, callback: BodyResponseCallback<Schema$Deployment>): void;
get(params: Params$Resource$Deployments$Get, callback: BodyResponseCallback<Schema$Deployment>): void;
get(callback: BodyResponseCallback<Schema$Deployment>): void;
/**
* deploymentmanager.deployments.getIamPolicy
* @desc Gets the access control policy for a resource. May be empty if no such policy or resource exists.
* @alias deploymentmanager.deployments.getIamPolicy
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.project Project ID for this request.
* @param {string} params.resource_ Name or id of the resource for this request.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
getIamPolicy(params?: Params$Resource$Deployments$Getiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
getIamPolicy(params: Params$Resource$Deployments$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
getIamPolicy(params: Params$Resource$Deployments$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
getIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
/**
* deploymentmanager.deployments.insert
* @desc Creates a deployment and all of the resources described by the deployment manifest.
* @alias deploymentmanager.deployments.insert
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string=} params.createPolicy Sets the policy to use for creating new resources.
* @param {boolean=} params.preview If set to true, creates a deployment and creates "shell" resources but does not actually instantiate these resources. This allows you to preview what your deployment looks like. After previewing a deployment, you can deploy your resources by making a request with the update() method or you can use the cancelPreview() method to cancel the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.
* @param {string} params.project The project ID for this request.
* @param {().Deployment} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
insert(params?: Params$Resource$Deployments$Insert, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
insert(params: Params$Resource$Deployments$Insert, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
insert(params: Params$Resource$Deployments$Insert, callback: BodyResponseCallback<Schema$Operation>): void;
insert(callback: BodyResponseCallback<Schema$Operation>): void;
/**
* deploymentmanager.deployments.list
* @desc Lists all deployments for a given project.
* @alias deploymentmanager.deployments.list
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string=} params.filter A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance. You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
* @param {integer=} params.maxResults The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
* @param {string=} params.orderBy Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by name or creationTimestamp desc is supported.
* @param {string=} params.pageToken Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.
* @param {string} params.project The project ID for this request.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
list(params?: Params$Resource$Deployments$List, options?: MethodOptions): GaxiosPromise<Schema$DeploymentsListResponse>;
list(params: Params$Resource$Deployments$List, options: MethodOptions | BodyResponseCallback<Schema$DeploymentsListResponse>, callback: BodyResponseCallback<Schema$DeploymentsListResponse>): void;
list(params: Params$Resource$Deployments$List, callback: BodyResponseCallback<Schema$DeploymentsListResponse>): void;
list(callback: BodyResponseCallback<Schema$DeploymentsListResponse>): void;
/**
* deploymentmanager.deployments.patch
* @desc Updates a deployment and all of the resources described by the deployment manifest. This method supports patch semantics.
* @alias deploymentmanager.deployments.patch
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string=} params.createPolicy Sets the policy to use for creating new resources.
* @param {string=} params.deletePolicy Sets the policy to use for deleting resources.
* @param {string} params.deployment The name of the deployment for this request.
* @param {boolean=} params.preview If set to true, updates the deployment and creates and updates the "shell" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a target.config with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the update() or you can cancelPreview() to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.
* @param {string} params.project The project ID for this request.
* @param {().Deployment} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
patch(params?: Params$Resource$Deployments$Patch, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
patch(params: Params$Resource$Deployments$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
patch(params: Params$Resource$Deployments$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
patch(callback: BodyResponseCallback<Schema$Operation>): void;
/**
* deploymentmanager.deployments.setIamPolicy
* @desc Sets the access control policy on the specified resource. Replaces any existing policy.
* @alias deploymentmanager.deployments.setIamPolicy
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.project Project ID for this request.
* @param {string} params.resource_ Name or id of the resource for this request.
* @param {().GlobalSetPolicyRequest} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
setIamPolicy(params?: Params$Resource$Deployments$Setiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
setIamPolicy(params: Params$Resource$Deployments$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
setIamPolicy(params: Params$Resource$Deployments$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
/**
* deploymentmanager.deployments.stop
* @desc Stops an ongoing operation. This does not roll back any work that has already been completed, but prevents any new work from being started.
* @alias deploymentmanager.deployments.stop
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.deployment The name of the deployment for this request.
* @param {string} params.project The project ID for this request.
* @param {().DeploymentsStopRequest} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
stop(params?: Params$Resource$Deployments$Stop, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
stop(params: Params$Resource$Deployments$Stop, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
stop(params: Params$Resource$Deployments$Stop, callback: BodyResponseCallback<Schema$Operation>): void;
stop(callback: BodyResponseCallback<Schema$Operation>): void;
/**
* deploymentmanager.deployments.testIamPermissions
* @desc Returns permissions that a caller has on the specified resource.
* @alias deploymentmanager.deployments.testIamPermissions
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.project Project ID for this request.
* @param {string} params.resource_ Name or id of the resource for this request.
* @param {().TestPermissionsRequest} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
testIamPermissions(params?: Params$Resource$Deployments$Testiampermissions, options?: MethodOptions): GaxiosPromise<Schema$TestPermissionsResponse>;
testIamPermissions(params: Params$Resource$Deployments$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestPermissionsResponse>, callback: BodyResponseCallback<Schema$TestPermissionsResponse>): void;
testIamPermissions(params: Params$Resource$Deployments$Testiampermissions, callback: BodyResponseCallback<Schema$TestPermissionsResponse>): void;
testIamPermissions(callback: BodyResponseCallback<Schema$TestPermissionsResponse>): void;
/**
* deploymentmanager.deployments.update
* @desc Updates a deployment and all of the resources described by the deployment manifest.
* @alias deploymentmanager.deployments.update
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string=} params.createPolicy Sets the policy to use for creating new resources.
* @param {string=} params.deletePolicy Sets the policy to use for deleting resources.
* @param {string} params.deployment The name of the deployment for this request.
* @param {boolean=} params.preview If set to true, updates the deployment and creates and updates the "shell" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a target.config with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the update() or you can cancelPreview() to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.
* @param {string} params.project The project ID for this request.
* @param {().Deployment} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
update(params?: Params$Resource$Deployments$Update, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
update(params: Params$Resource$Deployments$Update, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
update(params: Params$Resource$Deployments$Update, callback: BodyResponseCallback<Schema$Operation>): void;
update(callback: BodyResponseCallback<Schema$Operation>): void;
}
export interface Params$Resource$Deployments$Cancelpreview extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The name of the deployment for this request.
*/
deployment?: string;
/**
* The project ID for this request.
*/
project?: string;
/**
* Request body metadata
*/
requestBody?: Schema$DeploymentsCancelPreviewRequest;
}
export interface Params$Resource$Deployments$Delete extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* Sets the policy to use for deleting resources.
*/
deletePolicy?: string;
/**
* The name of the deployment for this request.
*/
deployment?: string;
/**
* The project ID for this request.
*/
project?: string;
}
export interface Params$Resource$Deployments$Get extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The name of the deployment for this request.
*/
deployment?: string;
/**
* The project ID for this request.
*/
project?: string;
}
export interface Params$Resource$Deployments$Getiampolicy extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* Project ID for this request.
*/
project?: string;
/**
* Name or id of the resource for this request.
*/
resource?: string;
}
export interface Params$Resource$Deployments$Insert extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* Sets the policy to use for creating new resources.
*/
createPolicy?: string;
/**
* If set to true, creates a deployment and creates "shell" resources but does not actually instantiate these resources. This allows you to preview what your deployment looks like. After previewing a deployment, you can deploy your resources by making a request with the update() method or you can use the cancelPreview() method to cancel the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.
*/
preview?: boolean;
/**
* The project ID for this request.
*/
project?: string;
/**
* Request body metadata
*/
requestBody?: Schema$Deployment;
}
export interface Params$Resource$Deployments$List extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance. You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
*/
filter?: string;
/**
* The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
*/
maxResults?: number;
/**
* Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by name or creationTimestamp desc is supported.
*/
orderBy?: string;
/**
* Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.
*/
pageToken?: string;
/**
* The project ID for this request.
*/
project?: string;
}
export interface Params$Resource$Deployments$Patch extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* Sets the policy to use for creating new resources.
*/
createPolicy?: string;
/**
* Sets the policy to use for deleting resources.
*/
deletePolicy?: string;
/**
* The name of the deployment for this request.
*/
deployment?: string;
/**
* If set to true, updates the deployment and creates and updates the "shell" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a target.config with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the update() or you can cancelPreview() to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.
*/
preview?: boolean;
/**
* The project ID for this request.
*/
project?: string;
/**
* Request body metadata
*/
requestBody?: Schema$Deployment;
}
export interface Params$Resource$Deployments$Setiampolicy extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* Project ID for this request.
*/
project?: string;
/**
* Name or id of the resource for this request.
*/
resource?: string;
/**
* Request body metadata
*/
requestBody?: Schema$GlobalSetPolicyRequest;
}
export interface Params$Resource$Deployments$Stop extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The name of the deployment for this request.
*/
deployment?: string;
/**
* The project ID for this request.
*/
project?: string;
/**
* Request body metadata
*/
requestBody?: Schema$DeploymentsStopRequest;
}
export interface Params$Resource$Deployments$Testiampermissions extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* Project ID for this request.
*/
project?: string;
/**
* Name or id of the resource for this request.
*/
resource?: string;
/**
* Request body metadata
*/
requestBody?: Schema$TestPermissionsRequest;
}
export interface Params$Resource$Deployments$Update extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* Sets the policy to use for creating new resources.
*/
createPolicy?: string;
/**
* Sets the policy to use for deleting resources.
*/
deletePolicy?: string;
/**
* The name of the deployment for this request.
*/
deployment?: string;
/**
* If set to true, updates the deployment and creates and updates the "shell" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a target.config with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the update() or you can cancelPreview() to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.
*/
preview?: boolean;
/**
* The project ID for this request.
*/
project?: string;
/**
* Request body metadata
*/
requestBody?: Schema$Deployment;
}
export class Resource$Manifests {
context: APIRequestContext;
constructor(context: APIRequestContext);
/**
* deploymentmanager.manifests.get
* @desc Gets information about a specific manifest.
* @alias deploymentmanager.manifests.get
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.deployment The name of the deployment for this request.
* @param {string} params.manifest The name of the manifest for this request.
* @param {string} params.project The project ID for this request.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
get(params?: Params$Resource$Manifests$Get, options?: MethodOptions): GaxiosPromise<Schema$Manifest>;
get(params: Params$Resource$Manifests$Get, options: MethodOptions | BodyResponseCallback<Schema$Manifest>, callback: BodyResponseCallback<Schema$Manifest>): void;
get(params: Params$Resource$Manifests$Get, callback: BodyResponseCallback<Schema$Manifest>): void;
get(callback: BodyResponseCallback<Schema$Manifest>): void;
/**
* deploymentmanager.manifests.list
* @desc Lists all manifests for a given deployment.
* @alias deploymentmanager.manifests.list
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.deployment The name of the deployment for this request.
* @param {string=} params.filter A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance. You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
* @param {integer=} params.maxResults The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
* @param {string=} params.orderBy Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by name or creationTimestamp desc is supported.
* @param {string=} params.pageToken Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.
* @param {string} params.project The project ID for this request.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
list(params?: Params$Resource$Manifests$List, options?: MethodOptions): GaxiosPromise<Schema$ManifestsListResponse>;
list(params: Params$Resource$Manifests$List, options: MethodOptions | BodyResponseCallback<Schema$ManifestsListResponse>, callback: BodyResponseCallback<Schema$ManifestsListResponse>): void;
list(params: Params$Resource$Manifests$List, callback: BodyResponseCallback<Schema$ManifestsListResponse>): void;
list(callback: BodyResponseCallback<Schema$ManifestsListResponse>): void;
}
export interface Params$Resource$Manifests$Get extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The name of the deployment for this request.
*/
deployment?: string;
/**
* The name of the manifest for this request.
*/
manifest?: string;
/**
* The project ID for this request.
*/
project?: string;
}
export interface Params$Resource$Manifests$List extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The name of the deployment for this request.
*/
deployment?: string;
/**
* A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance. You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
*/
filter?: string;
/**
* The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
*/
maxResults?: number;
/**
* Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by name or creationTimestamp desc is supported.
*/
orderBy?: string;
/**
* Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.
*/
pageToken?: string;
/**
* The project ID for this request.
*/
project?: string;
}
export class Resource$Operations {
context: APIRequestContext;
constructor(context: APIRequestContext);
/**
* deploymentmanager.operations.get
* @desc Gets information about a specific operation.
* @alias deploymentmanager.operations.get
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.operation The name of the operation for this request.
* @param {string} params.project The project ID for this request.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
get(params?: Params$Resource$Operations$Get, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
get(params: Params$Resource$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
get(params: Params$Resource$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
get(callback: BodyResponseCallback<Schema$Operation>): void;
/**
* deploymentmanager.operations.list
* @desc Lists all operations for a project.
* @alias deploymentmanager.operations.list
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string=} params.filter A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance. You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
* @param {integer=} params.maxResults The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
* @param {string=} params.orderBy Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by name or creationTimestamp desc is supported.
* @param {string=} params.pageToken Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.
* @param {string} params.project The project ID for this request.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
list(params?: Params$Resource$Operations$List, options?: MethodOptions): GaxiosPromise<Schema$OperationsListResponse>;
list(params: Params$Resource$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$OperationsListResponse>, callback: BodyResponseCallback<Schema$OperationsListResponse>): void;
list(params: Params$Resource$Operations$List, callback: BodyResponseCallback<Schema$OperationsListResponse>): void;
list(callback: BodyResponseCallback<Schema$OperationsListResponse>): void;
}
export interface Params$Resource$Operations$Get extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The name of the operation for this request.
*/
operation?: string;
/**
* The project ID for this request.
*/
project?: string;
}
export interface Params$Resource$Operations$List extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance. You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
*/
filter?: string;
/**
* The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
*/
maxResults?: number;
/**
* Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by name or creationTimestamp desc is supported.
*/
orderBy?: string;
/**
* Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.
*/
pageToken?: string;
/**
* The project ID for this request.
*/
project?: string;
}
export class Resource$Resources {
context: APIRequestContext;
constructor(context: APIRequestContext);
/**
* deploymentmanager.resources.get
* @desc Gets information about a single resource.
* @alias deploymentmanager.resources.get
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.deployment The name of the deployment for this request.
* @param {string} params.project The project ID for this request.
* @param {string} params.resource_ The name of the resource for this request.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
get(params?: Params$Resource$Resources$Get, options?: MethodOptions): GaxiosPromise<Schema$Resource>;
get(params: Params$Resource$Resources$Get, options: MethodOptions | BodyResponseCallback<Schema$Resource>, callback: BodyResponseCallback<Schema$Resource>): void;
get(params: Params$Resource$Resources$Get, callback: BodyResponseCallback<Schema$Resource>): void;
get(callback: BodyResponseCallback<Schema$Resource>): void;
/**
* deploymentmanager.resources.list
* @desc Lists all resources in a given deployment.
* @alias deploymentmanager.resources.list
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.deployment The name of the deployment for this request.
* @param {string=} params.filter A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance. You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
* @param {integer=} params.maxResults The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
* @param {string=} params.orderBy Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by name or creationTimestamp desc is supported.
* @param {string=} params.pageToken Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.
* @param {string} params.project The project ID for this request.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
list(params?: Params$Resource$Resources$List, options?: MethodOptions): GaxiosPromise<Schema$ResourcesListResponse>;
list(params: Params$Resource$Resources$List, options: MethodOptions | BodyResponseCallback<Schema$ResourcesListResponse>, callback: BodyResponseCallback<Schema$ResourcesListResponse>): void;
list(params: Params$Resource$Resources$List, callback: BodyResponseCallback<Schema$ResourcesListResponse>): void;
list(callback: BodyResponseCallback<Schema$ResourcesListResponse>): void;
}
export interface Params$Resource$Resources$Get extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The name of the deployment for this request.
*/
deployment?: string;
/**
* The project ID for this request.
*/
project?: string;
/**
* The name of the resource for this request.
*/
resource?: string;
}
export interface Params$Resource$Resources$List extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The name of the deployment for this request.
*/
deployment?: string;
/**
* A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance. You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
*/
filter?: string;
/**
* The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
*/
maxResults?: number;
/**
* Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by name or creationTimestamp desc is supported.
*/
orderBy?: string;
/**
* Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.
*/
pageToken?: string;
/**
* The project ID for this request.
*/
project?: string;
}
export class Resource$Typeproviders {
context: APIRequestContext;
constructor(context: APIRequestContext);
/**
* deploymentmanager.typeProviders.delete
* @desc Deletes a type provider.
* @alias deploymentmanager.typeProviders.delete
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.project The project ID for this request.
* @param {string} params.typeProvider The name of the type provider for this request.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
delete(params?: Params$Resource$Typeproviders$Delete, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
delete(params: Params$Resource$Typeproviders$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
delete(params: Params$Resource$Typeproviders$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
delete(callback: BodyResponseCallback<Schema$Operation>): void;
/**
* deploymentmanager.typeProviders.get
* @desc Gets information about a specific type provider.
* @alias deploymentmanager.typeProviders.get
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.project The project ID for this request.
* @param {string} params.typeProvider The name of the type provider for this request.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
get(params?: Params$Resource$Typeproviders$Get, options?: MethodOptions): GaxiosPromise<Schema$TypeProvider>;
get(params: Params$Resource$Typeproviders$Get, options: MethodOptions | BodyResponseCallback<Schema$TypeProvider>, callback: BodyResponseCallback<Schema$TypeProvider>): void;
get(params: Params$Resource$Typeproviders$Get, callback: BodyResponseCallback<Schema$TypeProvider>): void;
get(callback: BodyResponseCallback<Schema$TypeProvider>): void;
/**
* deploymentmanager.typeProviders.getType
* @desc Gets a type info for a type provided by a TypeProvider.
* @alias deploymentmanager.typeProviders.getType
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.project The project ID for this request.
* @param {string} params.type The name of the type provider type for this request.
* @param {string} params.typeProvider The name of the type provider for this request.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
getType(params?: Params$Resource$Typeproviders$Gettype, options?: MethodOptions): GaxiosPromise<Schema$TypeInfo>;
getType(params: Params$Resource$Typeproviders$Gettype, options: MethodOptions | BodyResponseCallback<Schema$TypeInfo>, callback: BodyResponseCallback<Schema$TypeInfo>): void;
getType(params: Params$Resource$Typeproviders$Gettype, callback: BodyResponseCallback<Schema$TypeInfo>): void;
getType(callback: BodyResponseCallback<Schema$TypeInfo>): void;
/**
* deploymentmanager.typeProviders.insert
* @desc Creates a type provider.
* @alias deploymentmanager.typeProviders.insert
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.project The project ID for this request.
* @param {().TypeProvider} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
insert(params?: Params$Resource$Typeproviders$Insert, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
insert(params: Params$Resource$Typeproviders$Insert, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
insert(params: Params$Resource$Typeproviders$Insert, callback: BodyResponseCallback<Schema$Operation>): void;
insert(callback: BodyResponseCallback<Schema$Operation>): void;
/**
* deploymentmanager.typeProviders.list
* @desc Lists all resource type providers for Deployment Manager.
* @alias deploymentmanager.typeProviders.list
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string=} params.filter A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance. You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
* @param {integer=} params.maxResults The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
* @param {string=} params.orderBy Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by name or creationTimestamp desc is supported.
* @param {string=} params.pageToken Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.
* @param {string} params.project The project ID for this request.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
list(params?: Params$Resource$Typeproviders$List, options?: MethodOptions): GaxiosPromise<Schema$TypeProvidersListResponse>;
list(params: Params$Resource$Typeproviders$List, options: MethodOptions | BodyResponseCallback<Schema$TypeProvidersListResponse>, callback: BodyResponseCallback<Schema$TypeProvidersListResponse>): void;
list(params: Params$Resource$Typeproviders$List, callback: BodyResponseCallback<Schema$TypeProvidersListResponse>): void;
list(callback: BodyResponseCallback<Schema$TypeProvidersListResponse>): void;
/**
* deploymentmanager.typeProviders.listTypes
* @desc Lists all the type info for a TypeProvider.
* @alias deploymentmanager.typeProviders.listTypes
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string=} params.filter A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance. You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
* @param {integer=} params.maxResults The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
* @param {string=} params.orderBy Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by name or creationTimestamp desc is supported.
* @param {string=} params.pageToken Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.
* @param {string} params.project The project ID for this request.
* @param {string} params.typeProvider The name of the type provider for this request.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
listTypes(params?: Params$Resource$Typeproviders$Listtypes, options?: MethodOptions): GaxiosPromise<Schema$TypeProvidersListTypesResponse>;
listTypes(params: Params$Resource$Typeproviders$Listtypes, options: MethodOptions | BodyResponseCallback<Schema$TypeProvidersListTypesResponse>, callback: BodyResponseCallback<Schema$TypeProvidersListTypesResponse>): void;
listTypes(params: Params$Resource$Typeproviders$Listtypes, callback: BodyResponseCallback<Schema$TypeProvidersListTypesResponse>): void;
listTypes(callback: BodyResponseCallback<Schema$TypeProvidersListTypesResponse>): void;
/**
* deploymentmanager.typeProviders.patch
* @desc Updates a type provider. This method supports patch semantics.
* @alias deploymentmanager.typeProviders.patch
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.project The project ID for this request.
* @param {string} params.typeProvider The name of the type provider for this request.
* @param {().TypeProvider} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
patch(params?: Params$Resource$Typeproviders$Patch, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
patch(params: Params$Resource$Typeproviders$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
patch(params: Params$Resource$Typeproviders$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
patch(callback: BodyResponseCallback<Schema$Operation>): void;
/**
* deploymentmanager.typeProviders.update
* @desc Updates a type provider.
* @alias deploymentmanager.typeProviders.update
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.project The project ID for this request.
* @param {string} params.typeProvider The name of the type provider for this request.
* @param {().TypeProvider} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
update(params?: Params$Resource$Typeproviders$Update, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
update(params: Params$Resource$Typeproviders$Update, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
update(params: Params$Resource$Typeproviders$Update, callback: BodyResponseCallback<Schema$Operation>): void;
update(callback: BodyResponseCallback<Schema$Operation>): void;
}
export interface Params$Resource$Typeproviders$Delete extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The project ID for this request.
*/
project?: string;
/**
* The name of the type provider for this request.
*/
typeProvider?: string;
}
export interface Params$Resource$Typeproviders$Get extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The project ID for this request.
*/
project?: string;
/**
* The name of the type provider for this request.
*/
typeProvider?: string;
}
export interface Params$Resource$Typeproviders$Gettype extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The project ID for this request.
*/
project?: string;
/**
* The name of the type provider type for this request.
*/
type?: string;
/**
* The name of the type provider for this request.
*/
typeProvider?: string;
}
export interface Params$Resource$Typeproviders$Insert extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The project ID for this request.
*/
project?: string;
/**
* Request body metadata
*/
requestBody?: Schema$TypeProvider;
}
export interface Params$Resource$Typeproviders$List extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance. You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
*/
filter?: string;
/**
* The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
*/
maxResults?: number;
/**
* Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by name or creationTimestamp desc is supported.
*/
orderBy?: string;
/**
* Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.
*/
pageToken?: string;
/**
* The project ID for this request.
*/
project?: string;
}
export interface Params$Resource$Typeproviders$Listtypes extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance. You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
*/
filter?: string;
/**
* The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
*/
maxResults?: number;
/**
* Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by name or creationTimestamp desc is supported.
*/
orderBy?: string;
/**
* Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.
*/
pageToken?: string;
/**
* The project ID for this request.
*/
project?: string;
/**
* The name of the type provider for this request.
*/
typeProvider?: string;
}
export interface Params$Resource$Typeproviders$Patch extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The project ID for this request.
*/
project?: string;
/**
* The name of the type provider for this request.
*/
typeProvider?: string;
/**
* Request body metadata
*/
requestBody?: Schema$TypeProvider;
}
export interface Params$Resource$Typeproviders$Update extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The project ID for this request.
*/
project?: string;
/**
* The name of the type provider for this request.
*/
typeProvider?: string;
/**
* Request body metadata
*/
requestBody?: Schema$TypeProvider;
}
export class Resource$Types {
context: APIRequestContext;
constructor(context: APIRequestContext);
/**
* deploymentmanager.types.delete
* @desc Deletes a type and all of the resources in the type.
* @alias deploymentmanager.types.delete
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.project The project ID for this request.
* @param {string} params.type The name of the type for this request.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
delete(params?: Params$Resource$Types$Delete, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
delete(params: Params$Resource$Types$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
delete(params: Params$Resource$Types$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
delete(callback: BodyResponseCallback<Schema$Operation>): void;
/**
* deploymentmanager.types.get
* @desc Gets information about a specific type.
* @alias deploymentmanager.types.get
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.project The project ID for this request.
* @param {string} params.type The name of the type for this request.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
get(params?: Params$Resource$Types$Get, options?: MethodOptions): GaxiosPromise<Schema$Type>;
get(params: Params$Resource$Types$Get, options: MethodOptions | BodyResponseCallback<Schema$Type>, callback: BodyResponseCallback<Schema$Type>): void;
get(params: Params$Resource$Types$Get, callback: BodyResponseCallback<Schema$Type>): void;
get(callback: BodyResponseCallback<Schema$Type>): void;
/**
* deploymentmanager.types.insert
* @desc Creates a type.
* @alias deploymentmanager.types.insert
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.project The project ID for this request.
* @param {().Type} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
insert(params?: Params$Resource$Types$Insert, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
insert(params: Params$Resource$Types$Insert, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
insert(params: Params$Resource$Types$Insert, callback: BodyResponseCallback<Schema$Operation>): void;
insert(callback: BodyResponseCallback<Schema$Operation>): void;
/**
* deploymentmanager.types.list
* @desc Lists all resource types for Deployment Manager.
* @alias deploymentmanager.types.list
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string=} params.filter A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance. You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
* @param {integer=} params.maxResults The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
* @param {string=} params.orderBy Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by name or creationTimestamp desc is supported.
* @param {string=} params.pageToken Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.
* @param {string} params.project The project ID for this request.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
list(params?: Params$Resource$Types$List, options?: MethodOptions): GaxiosPromise<Schema$TypesListResponse>;
list(params: Params$Resource$Types$List, options: MethodOptions | BodyResponseCallback<Schema$TypesListResponse>, callback: BodyResponseCallback<Schema$TypesListResponse>): void;
list(params: Params$Resource$Types$List, callback: BodyResponseCallback<Schema$TypesListResponse>): void;
list(callback: BodyResponseCallback<Schema$TypesListResponse>): void;
/**
* deploymentmanager.types.patch
* @desc Updates a type. This method supports patch semantics.
* @alias deploymentmanager.types.patch
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.project The project ID for this request.
* @param {string} params.type The name of the type for this request.
* @param {().Type} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
patch(params?: Params$Resource$Types$Patch, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
patch(params: Params$Resource$Types$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
patch(params: Params$Resource$Types$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
patch(callback: BodyResponseCallback<Schema$Operation>): void;
/**
* deploymentmanager.types.update
* @desc Updates a type.
* @alias deploymentmanager.types.update
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.project The project ID for this request.
* @param {string} params.type The name of the type for this request.
* @param {().Type} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
update(params?: Params$Resource$Types$Update, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
update(params: Params$Resource$Types$Update, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
update(params: Params$Resource$Types$Update, callback: BodyResponseCallback<Schema$Operation>): void;
update(callback: BodyResponseCallback<Schema$Operation>): void;
}
export interface Params$Resource$Types$Delete extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The project ID for this request.
*/
project?: string;
/**
* The name of the type for this request.
*/
type?: string;
}
export interface Params$Resource$Types$Get extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The project ID for this request.
*/
project?: string;
/**
* The name of the type for this request.
*/
type?: string;
}
export interface Params$Resource$Types$Insert extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The project ID for this request.
*/
project?: string;
/**
* Request body metadata
*/
requestBody?: Schema$Type;
}
export interface Params$Resource$Types$List extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance. You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
*/
filter?: string;
/**
* The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
*/
maxResults?: number;
/**
* Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by name or creationTimestamp desc is supported.
*/
orderBy?: string;
/**
* Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.
*/
pageToken?: string;
/**
* The project ID for this request.
*/
project?: string;
}
export interface Params$Resource$Types$Patch extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The project ID for this request.
*/
project?: string;
/**
* The name of the type for this request.
*/
type?: string;
/**
* Request body metadata
*/
requestBody?: Schema$Type;
}
export interface Params$Resource$Types$Update extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The project ID for this request.
*/
project?: string;
/**
* The name of the type for this request.
*/
type?: string;
/**
* Request body metadata
*/
requestBody?: Schema$Type;
}
export {};
}