@maxim_mazurok/gapi.client.gkehub-v1alpha 0.0.20231030 → 0.0.20231114
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +136 -727
- package/package.json +1 -1
- package/tests.ts +47 -127
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20231114
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -83,14 +83,12 @@ gapi.load('client', async () => {
|
|
|
83
83
|
},
|
|
84
84
|
preventDrift: true,
|
|
85
85
|
sourceFormat: "Test string",
|
|
86
|
-
stopSyncing: true,
|
|
87
86
|
},
|
|
88
87
|
hierarchyController: {
|
|
89
88
|
enabled: true,
|
|
90
89
|
enableHierarchicalResourceQuota: true,
|
|
91
90
|
enablePodTreeLabels: true,
|
|
92
91
|
},
|
|
93
|
-
management: "Test string",
|
|
94
92
|
policyController: {
|
|
95
93
|
auditIntervalSeconds: "Test string",
|
|
96
94
|
enabled: true,
|
|
@@ -248,14 +246,12 @@ gapi.load('client', async () => {
|
|
|
248
246
|
},
|
|
249
247
|
preventDrift: true,
|
|
250
248
|
sourceFormat: "Test string",
|
|
251
|
-
stopSyncing: true,
|
|
252
249
|
},
|
|
253
250
|
hierarchyController: {
|
|
254
251
|
enabled: true,
|
|
255
252
|
enableHierarchicalResourceQuota: true,
|
|
256
253
|
enablePodTreeLabels: true,
|
|
257
254
|
},
|
|
258
|
-
management: "Test string",
|
|
259
255
|
policyController: {
|
|
260
256
|
auditIntervalSeconds: "Test string",
|
|
261
257
|
enabled: true,
|
|
@@ -316,6 +312,8 @@ gapi.load('client', async () => {
|
|
|
316
312
|
defaultChannel: "Test string",
|
|
317
313
|
management: "Test string",
|
|
318
314
|
},
|
|
315
|
+
namespaceactuation: {
|
|
316
|
+
},
|
|
319
317
|
origin: {
|
|
320
318
|
type: "Test string",
|
|
321
319
|
},
|
|
@@ -508,14 +506,12 @@ gapi.load('client', async () => {
|
|
|
508
506
|
},
|
|
509
507
|
preventDrift: true,
|
|
510
508
|
sourceFormat: "Test string",
|
|
511
|
-
stopSyncing: true,
|
|
512
509
|
},
|
|
513
510
|
hierarchyController: {
|
|
514
511
|
enabled: true,
|
|
515
512
|
enableHierarchicalResourceQuota: true,
|
|
516
513
|
enablePodTreeLabels: true,
|
|
517
514
|
},
|
|
518
|
-
management: "Test string",
|
|
519
515
|
policyController: {
|
|
520
516
|
auditIntervalSeconds: "Test string",
|
|
521
517
|
enabled: true,
|
|
@@ -604,6 +600,8 @@ gapi.load('client', async () => {
|
|
|
604
600
|
lastMeasurementTime: "Test string",
|
|
605
601
|
preciseLastMeasuredClusterVcpuCapacity: 42,
|
|
606
602
|
},
|
|
603
|
+
namespaceactuation: {
|
|
604
|
+
},
|
|
607
605
|
policycontroller: {
|
|
608
606
|
componentStates: {
|
|
609
607
|
A: {
|
|
@@ -797,6 +795,9 @@ gapi.load('client', async () => {
|
|
|
797
795
|
billing: "Test string",
|
|
798
796
|
configMembership: "Test string",
|
|
799
797
|
},
|
|
798
|
+
namespaceactuation: {
|
|
799
|
+
actuationMode: "Test string",
|
|
800
|
+
},
|
|
800
801
|
workloadcertificate: {
|
|
801
802
|
defaultConfig: {
|
|
802
803
|
certificateManagement: "Test string",
|
|
@@ -881,6 +882,8 @@ gapi.load('client', async () => {
|
|
|
881
882
|
},
|
|
882
883
|
},
|
|
883
884
|
},
|
|
885
|
+
namespaceactuation: {
|
|
886
|
+
},
|
|
884
887
|
servicemesh: {
|
|
885
888
|
analysisMessages: [
|
|
886
889
|
{
|
|
@@ -970,14 +973,12 @@ gapi.load('client', async () => {
|
|
|
970
973
|
},
|
|
971
974
|
preventDrift: true,
|
|
972
975
|
sourceFormat: "Test string",
|
|
973
|
-
stopSyncing: true,
|
|
974
976
|
},
|
|
975
977
|
hierarchyController: {
|
|
976
978
|
enabled: true,
|
|
977
979
|
enableHierarchicalResourceQuota: true,
|
|
978
980
|
enablePodTreeLabels: true,
|
|
979
981
|
},
|
|
980
|
-
management: "Test string",
|
|
981
982
|
policyController: {
|
|
982
983
|
auditIntervalSeconds: "Test string",
|
|
983
984
|
enabled: true,
|
|
@@ -1135,14 +1136,12 @@ gapi.load('client', async () => {
|
|
|
1135
1136
|
},
|
|
1136
1137
|
preventDrift: true,
|
|
1137
1138
|
sourceFormat: "Test string",
|
|
1138
|
-
stopSyncing: true,
|
|
1139
1139
|
},
|
|
1140
1140
|
hierarchyController: {
|
|
1141
1141
|
enabled: true,
|
|
1142
1142
|
enableHierarchicalResourceQuota: true,
|
|
1143
1143
|
enablePodTreeLabels: true,
|
|
1144
1144
|
},
|
|
1145
|
-
management: "Test string",
|
|
1146
1145
|
policyController: {
|
|
1147
1146
|
auditIntervalSeconds: "Test string",
|
|
1148
1147
|
enabled: true,
|
|
@@ -1203,6 +1202,8 @@ gapi.load('client', async () => {
|
|
|
1203
1202
|
defaultChannel: "Test string",
|
|
1204
1203
|
management: "Test string",
|
|
1205
1204
|
},
|
|
1205
|
+
namespaceactuation: {
|
|
1206
|
+
},
|
|
1206
1207
|
origin: {
|
|
1207
1208
|
type: "Test string",
|
|
1208
1209
|
},
|
|
@@ -1395,14 +1396,12 @@ gapi.load('client', async () => {
|
|
|
1395
1396
|
},
|
|
1396
1397
|
preventDrift: true,
|
|
1397
1398
|
sourceFormat: "Test string",
|
|
1398
|
-
stopSyncing: true,
|
|
1399
1399
|
},
|
|
1400
1400
|
hierarchyController: {
|
|
1401
1401
|
enabled: true,
|
|
1402
1402
|
enableHierarchicalResourceQuota: true,
|
|
1403
1403
|
enablePodTreeLabels: true,
|
|
1404
1404
|
},
|
|
1405
|
-
management: "Test string",
|
|
1406
1405
|
policyController: {
|
|
1407
1406
|
auditIntervalSeconds: "Test string",
|
|
1408
1407
|
enabled: true,
|
|
@@ -1491,6 +1490,8 @@ gapi.load('client', async () => {
|
|
|
1491
1490
|
lastMeasurementTime: "Test string",
|
|
1492
1491
|
preciseLastMeasuredClusterVcpuCapacity: 42,
|
|
1493
1492
|
},
|
|
1493
|
+
namespaceactuation: {
|
|
1494
|
+
},
|
|
1494
1495
|
policycontroller: {
|
|
1495
1496
|
componentStates: {
|
|
1496
1497
|
A: {
|
|
@@ -1684,6 +1685,9 @@ gapi.load('client', async () => {
|
|
|
1684
1685
|
billing: "Test string",
|
|
1685
1686
|
configMembership: "Test string",
|
|
1686
1687
|
},
|
|
1688
|
+
namespaceactuation: {
|
|
1689
|
+
actuationMode: "Test string",
|
|
1690
|
+
},
|
|
1687
1691
|
workloadcertificate: {
|
|
1688
1692
|
defaultConfig: {
|
|
1689
1693
|
certificateManagement: "Test string",
|
|
@@ -1768,6 +1772,8 @@ gapi.load('client', async () => {
|
|
|
1768
1772
|
},
|
|
1769
1773
|
},
|
|
1770
1774
|
},
|
|
1775
|
+
namespaceactuation: {
|
|
1776
|
+
},
|
|
1771
1777
|
servicemesh: {
|
|
1772
1778
|
analysisMessages: [
|
|
1773
1779
|
{
|
|
@@ -1850,6 +1856,20 @@ gapi.load('client', async () => {
|
|
|
1850
1856
|
parent: "Test string",
|
|
1851
1857
|
}, {
|
|
1852
1858
|
createTime: "Test string",
|
|
1859
|
+
defaultClusterConfig: {
|
|
1860
|
+
binaryAuthorizationConfig: {
|
|
1861
|
+
evaluationMode: "Test string",
|
|
1862
|
+
policyBindings: [
|
|
1863
|
+
{
|
|
1864
|
+
name: "Test string",
|
|
1865
|
+
}
|
|
1866
|
+
],
|
|
1867
|
+
},
|
|
1868
|
+
securityPostureConfig: {
|
|
1869
|
+
mode: "Test string",
|
|
1870
|
+
vulnerabilityMode: "Test string",
|
|
1871
|
+
},
|
|
1872
|
+
},
|
|
1853
1873
|
deleteTime: "Test string",
|
|
1854
1874
|
displayName: "Test string",
|
|
1855
1875
|
labels: {
|
|
@@ -1882,6 +1902,20 @@ gapi.load('client', async () => {
|
|
|
1882
1902
|
updateMask: "Test string",
|
|
1883
1903
|
}, {
|
|
1884
1904
|
createTime: "Test string",
|
|
1905
|
+
defaultClusterConfig: {
|
|
1906
|
+
binaryAuthorizationConfig: {
|
|
1907
|
+
evaluationMode: "Test string",
|
|
1908
|
+
policyBindings: [
|
|
1909
|
+
{
|
|
1910
|
+
name: "Test string",
|
|
1911
|
+
}
|
|
1912
|
+
],
|
|
1913
|
+
},
|
|
1914
|
+
securityPostureConfig: {
|
|
1915
|
+
mode: "Test string",
|
|
1916
|
+
vulnerabilityMode: "Test string",
|
|
1917
|
+
},
|
|
1918
|
+
},
|
|
1885
1919
|
deleteTime: "Test string",
|
|
1886
1920
|
displayName: "Test string",
|
|
1887
1921
|
labels: {
|
|
@@ -2382,120 +2416,6 @@ gapi.load('client', async () => {
|
|
|
2382
2416
|
updateTime: "Test string",
|
|
2383
2417
|
user: "Test string",
|
|
2384
2418
|
});
|
|
2385
|
-
/** Creates a fleet namespace. */
|
|
2386
|
-
await gapi.client.gkehub.projects.locations.namespaces.create({
|
|
2387
|
-
namespaceId: "Test string",
|
|
2388
|
-
parent: "Test string",
|
|
2389
|
-
}, {
|
|
2390
|
-
createTime: "Test string",
|
|
2391
|
-
deleteTime: "Test string",
|
|
2392
|
-
labels: {
|
|
2393
|
-
A: "Test string"
|
|
2394
|
-
},
|
|
2395
|
-
name: "Test string",
|
|
2396
|
-
namespaceLabels: {
|
|
2397
|
-
A: "Test string"
|
|
2398
|
-
},
|
|
2399
|
-
scope: "Test string",
|
|
2400
|
-
state: {
|
|
2401
|
-
code: "Test string",
|
|
2402
|
-
},
|
|
2403
|
-
uid: "Test string",
|
|
2404
|
-
updateTime: "Test string",
|
|
2405
|
-
});
|
|
2406
|
-
/** Deletes a fleet namespace. */
|
|
2407
|
-
await gapi.client.gkehub.projects.locations.namespaces.delete({
|
|
2408
|
-
name: "Test string",
|
|
2409
|
-
});
|
|
2410
|
-
/** Returns the details of a fleet namespace. */
|
|
2411
|
-
await gapi.client.gkehub.projects.locations.namespaces.get({
|
|
2412
|
-
name: "Test string",
|
|
2413
|
-
});
|
|
2414
|
-
/** Lists fleet namespaces. */
|
|
2415
|
-
await gapi.client.gkehub.projects.locations.namespaces.list({
|
|
2416
|
-
pageSize: 42,
|
|
2417
|
-
pageToken: "Test string",
|
|
2418
|
-
parent: "Test string",
|
|
2419
|
-
});
|
|
2420
|
-
/** Updates a fleet namespace. */
|
|
2421
|
-
await gapi.client.gkehub.projects.locations.namespaces.patch({
|
|
2422
|
-
name: "Test string",
|
|
2423
|
-
updateMask: "Test string",
|
|
2424
|
-
}, {
|
|
2425
|
-
createTime: "Test string",
|
|
2426
|
-
deleteTime: "Test string",
|
|
2427
|
-
labels: {
|
|
2428
|
-
A: "Test string"
|
|
2429
|
-
},
|
|
2430
|
-
name: "Test string",
|
|
2431
|
-
namespaceLabels: {
|
|
2432
|
-
A: "Test string"
|
|
2433
|
-
},
|
|
2434
|
-
scope: "Test string",
|
|
2435
|
-
state: {
|
|
2436
|
-
code: "Test string",
|
|
2437
|
-
},
|
|
2438
|
-
uid: "Test string",
|
|
2439
|
-
updateTime: "Test string",
|
|
2440
|
-
});
|
|
2441
|
-
/** Creates a RBACRoleBinding. */
|
|
2442
|
-
await gapi.client.gkehub.projects.locations.namespaces.rbacrolebindings.create({
|
|
2443
|
-
parent: "Test string",
|
|
2444
|
-
rbacrolebindingId: "Test string",
|
|
2445
|
-
}, {
|
|
2446
|
-
createTime: "Test string",
|
|
2447
|
-
deleteTime: "Test string",
|
|
2448
|
-
group: "Test string",
|
|
2449
|
-
labels: {
|
|
2450
|
-
A: "Test string"
|
|
2451
|
-
},
|
|
2452
|
-
name: "Test string",
|
|
2453
|
-
role: {
|
|
2454
|
-
predefinedRole: "Test string",
|
|
2455
|
-
},
|
|
2456
|
-
state: {
|
|
2457
|
-
code: "Test string",
|
|
2458
|
-
},
|
|
2459
|
-
uid: "Test string",
|
|
2460
|
-
updateTime: "Test string",
|
|
2461
|
-
user: "Test string",
|
|
2462
|
-
});
|
|
2463
|
-
/** Deletes a RBACRoleBinding. */
|
|
2464
|
-
await gapi.client.gkehub.projects.locations.namespaces.rbacrolebindings.delete({
|
|
2465
|
-
name: "Test string",
|
|
2466
|
-
});
|
|
2467
|
-
/** Returns the details of a RBACRoleBinding. */
|
|
2468
|
-
await gapi.client.gkehub.projects.locations.namespaces.rbacrolebindings.get({
|
|
2469
|
-
name: "Test string",
|
|
2470
|
-
});
|
|
2471
|
-
/** Lists RBACRoleBinding. */
|
|
2472
|
-
await gapi.client.gkehub.projects.locations.namespaces.rbacrolebindings.list({
|
|
2473
|
-
pageSize: 42,
|
|
2474
|
-
pageToken: "Test string",
|
|
2475
|
-
parent: "Test string",
|
|
2476
|
-
});
|
|
2477
|
-
/** Updates a RBACRoleBinding. */
|
|
2478
|
-
await gapi.client.gkehub.projects.locations.namespaces.rbacrolebindings.patch({
|
|
2479
|
-
name: "Test string",
|
|
2480
|
-
updateMask: "Test string",
|
|
2481
|
-
}, {
|
|
2482
|
-
createTime: "Test string",
|
|
2483
|
-
deleteTime: "Test string",
|
|
2484
|
-
group: "Test string",
|
|
2485
|
-
labels: {
|
|
2486
|
-
A: "Test string"
|
|
2487
|
-
},
|
|
2488
|
-
name: "Test string",
|
|
2489
|
-
role: {
|
|
2490
|
-
predefinedRole: "Test string",
|
|
2491
|
-
},
|
|
2492
|
-
state: {
|
|
2493
|
-
code: "Test string",
|
|
2494
|
-
},
|
|
2495
|
-
uid: "Test string",
|
|
2496
|
-
updateTime: "Test string",
|
|
2497
|
-
user: "Test string",
|
|
2498
|
-
});
|
|
2499
2419
|
/**
|
|
2500
2420
|
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this
|
|
2501
2421
|
* method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation
|