@maxim_mazurok/gapi.client.gkehub-v1alpha 0.0.20231103 → 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 +104 -737
- package/package.json +1 -1
- package/tests.ts +17 -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,
|
|
@@ -510,14 +506,12 @@ gapi.load('client', async () => {
|
|
|
510
506
|
},
|
|
511
507
|
preventDrift: true,
|
|
512
508
|
sourceFormat: "Test string",
|
|
513
|
-
stopSyncing: true,
|
|
514
509
|
},
|
|
515
510
|
hierarchyController: {
|
|
516
511
|
enabled: true,
|
|
517
512
|
enableHierarchicalResourceQuota: true,
|
|
518
513
|
enablePodTreeLabels: true,
|
|
519
514
|
},
|
|
520
|
-
management: "Test string",
|
|
521
515
|
policyController: {
|
|
522
516
|
auditIntervalSeconds: "Test string",
|
|
523
517
|
enabled: true,
|
|
@@ -979,14 +973,12 @@ gapi.load('client', async () => {
|
|
|
979
973
|
},
|
|
980
974
|
preventDrift: true,
|
|
981
975
|
sourceFormat: "Test string",
|
|
982
|
-
stopSyncing: true,
|
|
983
976
|
},
|
|
984
977
|
hierarchyController: {
|
|
985
978
|
enabled: true,
|
|
986
979
|
enableHierarchicalResourceQuota: true,
|
|
987
980
|
enablePodTreeLabels: true,
|
|
988
981
|
},
|
|
989
|
-
management: "Test string",
|
|
990
982
|
policyController: {
|
|
991
983
|
auditIntervalSeconds: "Test string",
|
|
992
984
|
enabled: true,
|
|
@@ -1144,14 +1136,12 @@ gapi.load('client', async () => {
|
|
|
1144
1136
|
},
|
|
1145
1137
|
preventDrift: true,
|
|
1146
1138
|
sourceFormat: "Test string",
|
|
1147
|
-
stopSyncing: true,
|
|
1148
1139
|
},
|
|
1149
1140
|
hierarchyController: {
|
|
1150
1141
|
enabled: true,
|
|
1151
1142
|
enableHierarchicalResourceQuota: true,
|
|
1152
1143
|
enablePodTreeLabels: true,
|
|
1153
1144
|
},
|
|
1154
|
-
management: "Test string",
|
|
1155
1145
|
policyController: {
|
|
1156
1146
|
auditIntervalSeconds: "Test string",
|
|
1157
1147
|
enabled: true,
|
|
@@ -1406,14 +1396,12 @@ gapi.load('client', async () => {
|
|
|
1406
1396
|
},
|
|
1407
1397
|
preventDrift: true,
|
|
1408
1398
|
sourceFormat: "Test string",
|
|
1409
|
-
stopSyncing: true,
|
|
1410
1399
|
},
|
|
1411
1400
|
hierarchyController: {
|
|
1412
1401
|
enabled: true,
|
|
1413
1402
|
enableHierarchicalResourceQuota: true,
|
|
1414
1403
|
enablePodTreeLabels: true,
|
|
1415
1404
|
},
|
|
1416
|
-
management: "Test string",
|
|
1417
1405
|
policyController: {
|
|
1418
1406
|
auditIntervalSeconds: "Test string",
|
|
1419
1407
|
enabled: true,
|
|
@@ -1869,6 +1857,14 @@ gapi.load('client', async () => {
|
|
|
1869
1857
|
}, {
|
|
1870
1858
|
createTime: "Test string",
|
|
1871
1859
|
defaultClusterConfig: {
|
|
1860
|
+
binaryAuthorizationConfig: {
|
|
1861
|
+
evaluationMode: "Test string",
|
|
1862
|
+
policyBindings: [
|
|
1863
|
+
{
|
|
1864
|
+
name: "Test string",
|
|
1865
|
+
}
|
|
1866
|
+
],
|
|
1867
|
+
},
|
|
1872
1868
|
securityPostureConfig: {
|
|
1873
1869
|
mode: "Test string",
|
|
1874
1870
|
vulnerabilityMode: "Test string",
|
|
@@ -1907,6 +1903,14 @@ gapi.load('client', async () => {
|
|
|
1907
1903
|
}, {
|
|
1908
1904
|
createTime: "Test string",
|
|
1909
1905
|
defaultClusterConfig: {
|
|
1906
|
+
binaryAuthorizationConfig: {
|
|
1907
|
+
evaluationMode: "Test string",
|
|
1908
|
+
policyBindings: [
|
|
1909
|
+
{
|
|
1910
|
+
name: "Test string",
|
|
1911
|
+
}
|
|
1912
|
+
],
|
|
1913
|
+
},
|
|
1910
1914
|
securityPostureConfig: {
|
|
1911
1915
|
mode: "Test string",
|
|
1912
1916
|
vulnerabilityMode: "Test string",
|
|
@@ -2412,120 +2416,6 @@ gapi.load('client', async () => {
|
|
|
2412
2416
|
updateTime: "Test string",
|
|
2413
2417
|
user: "Test string",
|
|
2414
2418
|
});
|
|
2415
|
-
/** Creates a fleet namespace. */
|
|
2416
|
-
await gapi.client.gkehub.projects.locations.namespaces.create({
|
|
2417
|
-
namespaceId: "Test string",
|
|
2418
|
-
parent: "Test string",
|
|
2419
|
-
}, {
|
|
2420
|
-
createTime: "Test string",
|
|
2421
|
-
deleteTime: "Test string",
|
|
2422
|
-
labels: {
|
|
2423
|
-
A: "Test string"
|
|
2424
|
-
},
|
|
2425
|
-
name: "Test string",
|
|
2426
|
-
namespaceLabels: {
|
|
2427
|
-
A: "Test string"
|
|
2428
|
-
},
|
|
2429
|
-
scope: "Test string",
|
|
2430
|
-
state: {
|
|
2431
|
-
code: "Test string",
|
|
2432
|
-
},
|
|
2433
|
-
uid: "Test string",
|
|
2434
|
-
updateTime: "Test string",
|
|
2435
|
-
});
|
|
2436
|
-
/** Deletes a fleet namespace. */
|
|
2437
|
-
await gapi.client.gkehub.projects.locations.namespaces.delete({
|
|
2438
|
-
name: "Test string",
|
|
2439
|
-
});
|
|
2440
|
-
/** Returns the details of a fleet namespace. */
|
|
2441
|
-
await gapi.client.gkehub.projects.locations.namespaces.get({
|
|
2442
|
-
name: "Test string",
|
|
2443
|
-
});
|
|
2444
|
-
/** Lists fleet namespaces. */
|
|
2445
|
-
await gapi.client.gkehub.projects.locations.namespaces.list({
|
|
2446
|
-
pageSize: 42,
|
|
2447
|
-
pageToken: "Test string",
|
|
2448
|
-
parent: "Test string",
|
|
2449
|
-
});
|
|
2450
|
-
/** Updates a fleet namespace. */
|
|
2451
|
-
await gapi.client.gkehub.projects.locations.namespaces.patch({
|
|
2452
|
-
name: "Test string",
|
|
2453
|
-
updateMask: "Test string",
|
|
2454
|
-
}, {
|
|
2455
|
-
createTime: "Test string",
|
|
2456
|
-
deleteTime: "Test string",
|
|
2457
|
-
labels: {
|
|
2458
|
-
A: "Test string"
|
|
2459
|
-
},
|
|
2460
|
-
name: "Test string",
|
|
2461
|
-
namespaceLabels: {
|
|
2462
|
-
A: "Test string"
|
|
2463
|
-
},
|
|
2464
|
-
scope: "Test string",
|
|
2465
|
-
state: {
|
|
2466
|
-
code: "Test string",
|
|
2467
|
-
},
|
|
2468
|
-
uid: "Test string",
|
|
2469
|
-
updateTime: "Test string",
|
|
2470
|
-
});
|
|
2471
|
-
/** Creates a RBACRoleBinding. */
|
|
2472
|
-
await gapi.client.gkehub.projects.locations.namespaces.rbacrolebindings.create({
|
|
2473
|
-
parent: "Test string",
|
|
2474
|
-
rbacrolebindingId: "Test string",
|
|
2475
|
-
}, {
|
|
2476
|
-
createTime: "Test string",
|
|
2477
|
-
deleteTime: "Test string",
|
|
2478
|
-
group: "Test string",
|
|
2479
|
-
labels: {
|
|
2480
|
-
A: "Test string"
|
|
2481
|
-
},
|
|
2482
|
-
name: "Test string",
|
|
2483
|
-
role: {
|
|
2484
|
-
predefinedRole: "Test string",
|
|
2485
|
-
},
|
|
2486
|
-
state: {
|
|
2487
|
-
code: "Test string",
|
|
2488
|
-
},
|
|
2489
|
-
uid: "Test string",
|
|
2490
|
-
updateTime: "Test string",
|
|
2491
|
-
user: "Test string",
|
|
2492
|
-
});
|
|
2493
|
-
/** Deletes a RBACRoleBinding. */
|
|
2494
|
-
await gapi.client.gkehub.projects.locations.namespaces.rbacrolebindings.delete({
|
|
2495
|
-
name: "Test string",
|
|
2496
|
-
});
|
|
2497
|
-
/** Returns the details of a RBACRoleBinding. */
|
|
2498
|
-
await gapi.client.gkehub.projects.locations.namespaces.rbacrolebindings.get({
|
|
2499
|
-
name: "Test string",
|
|
2500
|
-
});
|
|
2501
|
-
/** Lists RBACRoleBinding. */
|
|
2502
|
-
await gapi.client.gkehub.projects.locations.namespaces.rbacrolebindings.list({
|
|
2503
|
-
pageSize: 42,
|
|
2504
|
-
pageToken: "Test string",
|
|
2505
|
-
parent: "Test string",
|
|
2506
|
-
});
|
|
2507
|
-
/** Updates a RBACRoleBinding. */
|
|
2508
|
-
await gapi.client.gkehub.projects.locations.namespaces.rbacrolebindings.patch({
|
|
2509
|
-
name: "Test string",
|
|
2510
|
-
updateMask: "Test string",
|
|
2511
|
-
}, {
|
|
2512
|
-
createTime: "Test string",
|
|
2513
|
-
deleteTime: "Test string",
|
|
2514
|
-
group: "Test string",
|
|
2515
|
-
labels: {
|
|
2516
|
-
A: "Test string"
|
|
2517
|
-
},
|
|
2518
|
-
name: "Test string",
|
|
2519
|
-
role: {
|
|
2520
|
-
predefinedRole: "Test string",
|
|
2521
|
-
},
|
|
2522
|
-
state: {
|
|
2523
|
-
code: "Test string",
|
|
2524
|
-
},
|
|
2525
|
-
uid: "Test string",
|
|
2526
|
-
updateTime: "Test string",
|
|
2527
|
-
user: "Test string",
|
|
2528
|
-
});
|
|
2529
2419
|
/**
|
|
2530
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
|
|
2531
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
|