@maxim_mazurok/gapi.client.gkehub-v1alpha 0.0.20230720 → 0.0.20230804

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.
Files changed (3) hide show
  1. package/index.d.ts +735 -94
  2. package/package.json +2 -2
  3. package/tests.ts +133 -33
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.gkehub-v1alpha",
3
- "version": "0.0.20230720",
3
+ "version": "0.0.20230804",
4
4
  "description": "TypeScript typings for GKE Hub API v1alpha",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -15,6 +15,6 @@
15
15
  "types": "index.d.ts",
16
16
  "dependencies": {
17
17
  "@types/gapi.client": "*",
18
- "@types/gapi.client.discovery": "*"
18
+ "@types/gapi.client.discovery-v1": "*"
19
19
  }
20
20
  }
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: 20230720
6
+ // Revision: 20230804
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -64,6 +64,7 @@ gapi.load('client', async () => {
64
64
  encryptedClientSecret: "Test string",
65
65
  kubectlRedirectUri: "Test string",
66
66
  tenant: "Test string",
67
+ userClaim: "Test string",
67
68
  },
68
69
  googleConfig: {
69
70
  disable: true,
@@ -170,6 +171,7 @@ gapi.load('client', async () => {
170
171
  encryptedClientSecret: "Test string",
171
172
  kubectlRedirectUri: "Test string",
172
173
  tenant: "Test string",
174
+ userClaim: "Test string",
173
175
  },
174
176
  googleConfig: {
175
177
  disable: true,
@@ -456,6 +458,7 @@ gapi.load('client', async () => {
456
458
  encryptedClientSecret: "Test string",
457
459
  kubectlRedirectUri: "Test string",
458
460
  tenant: "Test string",
461
+ userClaim: "Test string",
459
462
  },
460
463
  googleConfig: {
461
464
  disable: true,
@@ -601,22 +604,6 @@ gapi.load('client', async () => {
601
604
  updateTime: "Test string",
602
605
  }
603
606
  ],
604
- state: [
605
- {
606
- stats: {
607
- A: "Test string"
608
- },
609
- status: {
610
- code: "Test string",
611
- reason: "Test string",
612
- updateTime: "Test string",
613
- },
614
- upgrade: {
615
- name: "Test string",
616
- version: "Test string",
617
- },
618
- }
619
- ],
620
607
  upgradeState: [
621
608
  {
622
609
  stats: {
@@ -794,6 +781,7 @@ gapi.load('client', async () => {
794
781
  encryptedClientSecret: "Test string",
795
782
  kubectlRedirectUri: "Test string",
796
783
  tenant: "Test string",
784
+ userClaim: "Test string",
797
785
  },
798
786
  googleConfig: {
799
787
  disable: true,
@@ -900,6 +888,7 @@ gapi.load('client', async () => {
900
888
  encryptedClientSecret: "Test string",
901
889
  kubectlRedirectUri: "Test string",
902
890
  tenant: "Test string",
891
+ userClaim: "Test string",
903
892
  },
904
893
  googleConfig: {
905
894
  disable: true,
@@ -1186,6 +1175,7 @@ gapi.load('client', async () => {
1186
1175
  encryptedClientSecret: "Test string",
1187
1176
  kubectlRedirectUri: "Test string",
1188
1177
  tenant: "Test string",
1178
+ userClaim: "Test string",
1189
1179
  },
1190
1180
  googleConfig: {
1191
1181
  disable: true,
@@ -1331,22 +1321,6 @@ gapi.load('client', async () => {
1331
1321
  updateTime: "Test string",
1332
1322
  }
1333
1323
  ],
1334
- state: [
1335
- {
1336
- stats: {
1337
- A: "Test string"
1338
- },
1339
- status: {
1340
- code: "Test string",
1341
- reason: "Test string",
1342
- updateTime: "Test string",
1343
- },
1344
- upgrade: {
1345
- name: "Test string",
1346
- version: "Test string",
1347
- },
1348
- }
1349
- ],
1350
1324
  upgradeState: [
1351
1325
  {
1352
1326
  stats: {
@@ -2081,6 +2055,9 @@ gapi.load('client', async () => {
2081
2055
  A: "Test string"
2082
2056
  },
2083
2057
  name: "Test string",
2058
+ namespaceLabels: {
2059
+ A: "Test string"
2060
+ },
2084
2061
  scope: "Test string",
2085
2062
  state: {
2086
2063
  code: "Test string",
@@ -2113,6 +2090,9 @@ gapi.load('client', async () => {
2113
2090
  A: "Test string"
2114
2091
  },
2115
2092
  name: "Test string",
2093
+ namespaceLabels: {
2094
+ A: "Test string"
2095
+ },
2116
2096
  scope: "Test string",
2117
2097
  state: {
2118
2098
  code: "Test string",
@@ -2218,6 +2198,9 @@ gapi.load('client', async () => {
2218
2198
  A: "Test string"
2219
2199
  },
2220
2200
  name: "Test string",
2201
+ namespaceLabels: {
2202
+ A: "Test string"
2203
+ },
2221
2204
  state: {
2222
2205
  code: "Test string",
2223
2206
  },
@@ -2255,6 +2238,9 @@ gapi.load('client', async () => {
2255
2238
  A: "Test string"
2256
2239
  },
2257
2240
  name: "Test string",
2241
+ namespaceLabels: {
2242
+ A: "Test string"
2243
+ },
2258
2244
  state: {
2259
2245
  code: "Test string",
2260
2246
  },
@@ -2309,5 +2295,119 @@ gapi.load('client', async () => {
2309
2295
  "Test string"
2310
2296
  ],
2311
2297
  });
2298
+ /** Creates a fleet namespace. */
2299
+ await gapi.client.gkehub.projects.locations.scopes.namespaces.create({
2300
+ parent: "Test string",
2301
+ scopeNamespaceId: "Test string",
2302
+ }, {
2303
+ createTime: "Test string",
2304
+ deleteTime: "Test string",
2305
+ labels: {
2306
+ A: "Test string"
2307
+ },
2308
+ name: "Test string",
2309
+ namespaceLabels: {
2310
+ A: "Test string"
2311
+ },
2312
+ scope: "Test string",
2313
+ state: {
2314
+ code: "Test string",
2315
+ },
2316
+ uid: "Test string",
2317
+ updateTime: "Test string",
2318
+ });
2319
+ /** Deletes a fleet namespace. */
2320
+ await gapi.client.gkehub.projects.locations.scopes.namespaces.delete({
2321
+ name: "Test string",
2322
+ });
2323
+ /** Returns the details of a fleet namespace. */
2324
+ await gapi.client.gkehub.projects.locations.scopes.namespaces.get({
2325
+ name: "Test string",
2326
+ });
2327
+ /** Lists fleet namespaces. */
2328
+ await gapi.client.gkehub.projects.locations.scopes.namespaces.list({
2329
+ pageSize: 42,
2330
+ pageToken: "Test string",
2331
+ parent: "Test string",
2332
+ });
2333
+ /** Updates a fleet namespace. */
2334
+ await gapi.client.gkehub.projects.locations.scopes.namespaces.patch({
2335
+ name: "Test string",
2336
+ updateMask: "Test string",
2337
+ }, {
2338
+ createTime: "Test string",
2339
+ deleteTime: "Test string",
2340
+ labels: {
2341
+ A: "Test string"
2342
+ },
2343
+ name: "Test string",
2344
+ namespaceLabels: {
2345
+ A: "Test string"
2346
+ },
2347
+ scope: "Test string",
2348
+ state: {
2349
+ code: "Test string",
2350
+ },
2351
+ uid: "Test string",
2352
+ updateTime: "Test string",
2353
+ });
2354
+ /** Creates a Scope RBACRoleBinding. */
2355
+ await gapi.client.gkehub.projects.locations.scopes.rbacrolebindings.create({
2356
+ parent: "Test string",
2357
+ rbacrolebindingId: "Test string",
2358
+ }, {
2359
+ createTime: "Test string",
2360
+ deleteTime: "Test string",
2361
+ group: "Test string",
2362
+ labels: {
2363
+ A: "Test string"
2364
+ },
2365
+ name: "Test string",
2366
+ role: {
2367
+ predefinedRole: "Test string",
2368
+ },
2369
+ state: {
2370
+ code: "Test string",
2371
+ },
2372
+ uid: "Test string",
2373
+ updateTime: "Test string",
2374
+ user: "Test string",
2375
+ });
2376
+ /** Deletes a Scope RBACRoleBinding. */
2377
+ await gapi.client.gkehub.projects.locations.scopes.rbacrolebindings.delete({
2378
+ name: "Test string",
2379
+ });
2380
+ /** Returns the details of a Scope RBACRoleBinding. */
2381
+ await gapi.client.gkehub.projects.locations.scopes.rbacrolebindings.get({
2382
+ name: "Test string",
2383
+ });
2384
+ /** Lists all Scope RBACRoleBindings. */
2385
+ await gapi.client.gkehub.projects.locations.scopes.rbacrolebindings.list({
2386
+ pageSize: 42,
2387
+ pageToken: "Test string",
2388
+ parent: "Test string",
2389
+ });
2390
+ /** Updates a Scope RBACRoleBinding. */
2391
+ await gapi.client.gkehub.projects.locations.scopes.rbacrolebindings.patch({
2392
+ name: "Test string",
2393
+ updateMask: "Test string",
2394
+ }, {
2395
+ createTime: "Test string",
2396
+ deleteTime: "Test string",
2397
+ group: "Test string",
2398
+ labels: {
2399
+ A: "Test string"
2400
+ },
2401
+ name: "Test string",
2402
+ role: {
2403
+ predefinedRole: "Test string",
2404
+ },
2405
+ state: {
2406
+ code: "Test string",
2407
+ },
2408
+ uid: "Test string",
2409
+ updateTime: "Test string",
2410
+ user: "Test string",
2411
+ });
2312
2412
  }
2313
2413
  });