@maxim_mazurok/gapi.client.gkehub-v1alpha 0.0.20230728 → 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.
- package/index.d.ts +7 -18
- package/package.json +2 -2
- package/tests.ts +7 -33
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://gkehub.googleapis.com/$discovery/rest?version=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230804
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -172,9 +172,6 @@ declare namespace gapi.client {
|
|
|
172
172
|
/** Current conditions of the feature. */
|
|
173
173
|
conditions?:
|
|
174
174
|
ClusterUpgradeGKEUpgradeFeatureCondition[];
|
|
175
|
-
/** Scope-level upgrade state. */
|
|
176
|
-
state?:
|
|
177
|
-
ClusterUpgradeScopeGKEUpgradeState[];
|
|
178
175
|
/** Upgrade state. It will eventually replace `state`. */
|
|
179
176
|
upgradeState?:
|
|
180
177
|
ClusterUpgradeGKEUpgradeState[];
|
|
@@ -230,17 +227,6 @@ declare namespace gapi.client {
|
|
|
230
227
|
soaking?:
|
|
231
228
|
string;
|
|
232
229
|
}
|
|
233
|
-
interface ClusterUpgradeScopeGKEUpgradeState {
|
|
234
|
-
/** Number of GKE clusters in each status code. */
|
|
235
|
-
stats?:
|
|
236
|
-
{ [P in string]: string };
|
|
237
|
-
/** Status of the upgrade. */
|
|
238
|
-
status?:
|
|
239
|
-
ClusterUpgradeUpgradeStatus;
|
|
240
|
-
/** Which upgrade to track the state. */
|
|
241
|
-
upgrade?:
|
|
242
|
-
ClusterUpgradeGKEUpgrade;
|
|
243
|
-
}
|
|
244
230
|
interface ClusterUpgradeScopeSpec {
|
|
245
231
|
/** Allow users to override some properties of each GKE upgrade. */
|
|
246
232
|
gkeUpgradeOverrides?:
|
|
@@ -997,6 +983,9 @@ declare namespace gapi.client {
|
|
|
997
983
|
/** Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant. */
|
|
998
984
|
tenant?:
|
|
999
985
|
string;
|
|
986
|
+
/** Optional. Claim in the AzureAD ID Token that holds the user details. */
|
|
987
|
+
userClaim?:
|
|
988
|
+
string;
|
|
1000
989
|
}
|
|
1001
990
|
interface IdentityServiceGoogleConfig {
|
|
1002
991
|
/** Disable automatic configuration of Google Plugin on supported platforms. */
|
|
@@ -1573,9 +1562,9 @@ declare namespace gapi.client {
|
|
|
1573
1562
|
name?:
|
|
1574
1563
|
string;
|
|
1575
1564
|
/**
|
|
1576
|
-
* The normal response of the operation
|
|
1577
|
-
*
|
|
1578
|
-
*
|
|
1565
|
+
* The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original
|
|
1566
|
+
* method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original
|
|
1567
|
+
* method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
1579
1568
|
*/
|
|
1580
1569
|
response?:
|
|
1581
1570
|
{ [P in string]: any };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maxim_mazurok/gapi.client.gkehub-v1alpha",
|
|
3
|
-
"version": "0.0.
|
|
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:
|
|
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: {
|