@maxim_mazurok/gapi.client.gkehub-v1alpha 0.0.20230627 → 0.0.20230707
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 +34 -2
- package/package.json +1 -1
- package/tests.ts +78 -1
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: 20230707
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -175,6 +175,9 @@ declare namespace gapi.client {
|
|
|
175
175
|
/** Scope-level upgrade state. */
|
|
176
176
|
state?:
|
|
177
177
|
ClusterUpgradeScopeGKEUpgradeState[];
|
|
178
|
+
/** Upgrade state. It will eventually replace `state`. */
|
|
179
|
+
upgradeState?:
|
|
180
|
+
ClusterUpgradeGKEUpgradeState[];
|
|
178
181
|
}
|
|
179
182
|
interface ClusterUpgradeGKEUpgradeOverride {
|
|
180
183
|
/** Required. Post conditions to override for the specified upgrade (name + version). Required. */
|
|
@@ -184,6 +187,17 @@ declare namespace gapi.client {
|
|
|
184
187
|
upgrade?:
|
|
185
188
|
ClusterUpgradeGKEUpgrade;
|
|
186
189
|
}
|
|
190
|
+
interface ClusterUpgradeGKEUpgradeState {
|
|
191
|
+
/** Number of GKE clusters in each status code. */
|
|
192
|
+
stats?:
|
|
193
|
+
{ [P in string]: string };
|
|
194
|
+
/** Status of the upgrade. */
|
|
195
|
+
status?:
|
|
196
|
+
ClusterUpgradeUpgradeStatus;
|
|
197
|
+
/** Which upgrade to track the state. */
|
|
198
|
+
upgrade?:
|
|
199
|
+
ClusterUpgradeGKEUpgrade;
|
|
200
|
+
}
|
|
187
201
|
interface ClusterUpgradeIgnoredMembership {
|
|
188
202
|
/** Time when the membership was first set to ignored. */
|
|
189
203
|
ignoredTime?:
|
|
@@ -827,6 +841,9 @@ declare namespace gapi.client {
|
|
|
827
841
|
*/
|
|
828
842
|
displayName?:
|
|
829
843
|
string;
|
|
844
|
+
/** Optional. Labels for this Fleet. */
|
|
845
|
+
labels?:
|
|
846
|
+
{ [P in string]: string };
|
|
830
847
|
/**
|
|
831
848
|
* Output only. The full, unique resource name of this fleet in the format of `projects/{project}/locations/{location}/fleets/{fleet}`. Each Google Cloud project can have at most one
|
|
832
849
|
* fleet resource, named "default".
|
|
@@ -951,7 +968,7 @@ declare namespace gapi.client {
|
|
|
951
968
|
/** AzureAD specific Configuration. */
|
|
952
969
|
azureadConfig?:
|
|
953
970
|
IdentityServiceAzureADConfig;
|
|
954
|
-
/** GoogleConfig specific configuration */
|
|
971
|
+
/** GoogleConfig specific configuration. */
|
|
955
972
|
googleConfig?:
|
|
956
973
|
IdentityServiceGoogleConfig;
|
|
957
974
|
/** Identifier for auth config. */
|
|
@@ -980,6 +997,9 @@ declare namespace gapi.client {
|
|
|
980
997
|
/** Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant. */
|
|
981
998
|
tenant?:
|
|
982
999
|
string;
|
|
1000
|
+
/** Optional. Claim in the AzureAD ID Token that holds the user details. */
|
|
1001
|
+
userClaim?:
|
|
1002
|
+
string;
|
|
983
1003
|
}
|
|
984
1004
|
interface IdentityServiceGoogleConfig {
|
|
985
1005
|
/** Disable automatic configuration of Google Plugin on supported platforms. */
|
|
@@ -1279,6 +1299,9 @@ declare namespace gapi.client {
|
|
|
1279
1299
|
/** Whether the membershipbinding is Fleet-wide; true means that this Membership should be bound to all Namespaces in this entire Fleet. */
|
|
1280
1300
|
fleet?:
|
|
1281
1301
|
boolean;
|
|
1302
|
+
/** Optional. Labels for this MembershipBinding. */
|
|
1303
|
+
labels?:
|
|
1304
|
+
{ [P in string]: string };
|
|
1282
1305
|
/** The resource name for the membershipbinding itself `projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}` */
|
|
1283
1306
|
name?:
|
|
1284
1307
|
string;
|
|
@@ -1466,6 +1489,9 @@ declare namespace gapi.client {
|
|
|
1466
1489
|
/** Output only. When the namespace was deleted. */
|
|
1467
1490
|
deleteTime?:
|
|
1468
1491
|
string;
|
|
1492
|
+
/** Optional. Labels for this Namespace. */
|
|
1493
|
+
labels?:
|
|
1494
|
+
{ [P in string]: string };
|
|
1469
1495
|
/** The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}` */
|
|
1470
1496
|
name?:
|
|
1471
1497
|
string;
|
|
@@ -1754,6 +1780,9 @@ declare namespace gapi.client {
|
|
|
1754
1780
|
/** group is the group, as seen by the kubernetes cluster. */
|
|
1755
1781
|
group?:
|
|
1756
1782
|
string;
|
|
1783
|
+
/** Optional. Labels for this RBACRolebinding. */
|
|
1784
|
+
labels?:
|
|
1785
|
+
{ [P in string]: string };
|
|
1757
1786
|
/**
|
|
1758
1787
|
* The resource name for the rbacrolebinding `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` or
|
|
1759
1788
|
* `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
|
|
@@ -1830,6 +1859,9 @@ declare namespace gapi.client {
|
|
|
1830
1859
|
/** Output only. When the scope was deleted. */
|
|
1831
1860
|
deleteTime?:
|
|
1832
1861
|
string;
|
|
1862
|
+
/** Optional. Labels for this Scope. */
|
|
1863
|
+
labels?:
|
|
1864
|
+
{ [P in string]: string };
|
|
1833
1865
|
/** The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}` */
|
|
1834
1866
|
name?:
|
|
1835
1867
|
string;
|
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: 20230707
|
|
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,
|
|
@@ -617,6 +620,22 @@ gapi.load('client', async () => {
|
|
|
617
620
|
},
|
|
618
621
|
}
|
|
619
622
|
],
|
|
623
|
+
upgradeState: [
|
|
624
|
+
{
|
|
625
|
+
stats: {
|
|
626
|
+
A: "Test string"
|
|
627
|
+
},
|
|
628
|
+
status: {
|
|
629
|
+
code: "Test string",
|
|
630
|
+
reason: "Test string",
|
|
631
|
+
updateTime: "Test string",
|
|
632
|
+
},
|
|
633
|
+
upgrade: {
|
|
634
|
+
name: "Test string",
|
|
635
|
+
version: "Test string",
|
|
636
|
+
},
|
|
637
|
+
}
|
|
638
|
+
],
|
|
620
639
|
},
|
|
621
640
|
ignored: {
|
|
622
641
|
A: {
|
|
@@ -778,6 +797,7 @@ gapi.load('client', async () => {
|
|
|
778
797
|
encryptedClientSecret: "Test string",
|
|
779
798
|
kubectlRedirectUri: "Test string",
|
|
780
799
|
tenant: "Test string",
|
|
800
|
+
userClaim: "Test string",
|
|
781
801
|
},
|
|
782
802
|
googleConfig: {
|
|
783
803
|
disable: true,
|
|
@@ -884,6 +904,7 @@ gapi.load('client', async () => {
|
|
|
884
904
|
encryptedClientSecret: "Test string",
|
|
885
905
|
kubectlRedirectUri: "Test string",
|
|
886
906
|
tenant: "Test string",
|
|
907
|
+
userClaim: "Test string",
|
|
887
908
|
},
|
|
888
909
|
googleConfig: {
|
|
889
910
|
disable: true,
|
|
@@ -1170,6 +1191,7 @@ gapi.load('client', async () => {
|
|
|
1170
1191
|
encryptedClientSecret: "Test string",
|
|
1171
1192
|
kubectlRedirectUri: "Test string",
|
|
1172
1193
|
tenant: "Test string",
|
|
1194
|
+
userClaim: "Test string",
|
|
1173
1195
|
},
|
|
1174
1196
|
googleConfig: {
|
|
1175
1197
|
disable: true,
|
|
@@ -1331,6 +1353,22 @@ gapi.load('client', async () => {
|
|
|
1331
1353
|
},
|
|
1332
1354
|
}
|
|
1333
1355
|
],
|
|
1356
|
+
upgradeState: [
|
|
1357
|
+
{
|
|
1358
|
+
stats: {
|
|
1359
|
+
A: "Test string"
|
|
1360
|
+
},
|
|
1361
|
+
status: {
|
|
1362
|
+
code: "Test string",
|
|
1363
|
+
reason: "Test string",
|
|
1364
|
+
updateTime: "Test string",
|
|
1365
|
+
},
|
|
1366
|
+
upgrade: {
|
|
1367
|
+
name: "Test string",
|
|
1368
|
+
version: "Test string",
|
|
1369
|
+
},
|
|
1370
|
+
}
|
|
1371
|
+
],
|
|
1334
1372
|
},
|
|
1335
1373
|
ignored: {
|
|
1336
1374
|
A: {
|
|
@@ -1506,6 +1544,9 @@ gapi.load('client', async () => {
|
|
|
1506
1544
|
createTime: "Test string",
|
|
1507
1545
|
deleteTime: "Test string",
|
|
1508
1546
|
displayName: "Test string",
|
|
1547
|
+
labels: {
|
|
1548
|
+
A: "Test string"
|
|
1549
|
+
},
|
|
1509
1550
|
name: "Test string",
|
|
1510
1551
|
state: {
|
|
1511
1552
|
code: "Test string",
|
|
@@ -1535,6 +1576,9 @@ gapi.load('client', async () => {
|
|
|
1535
1576
|
createTime: "Test string",
|
|
1536
1577
|
deleteTime: "Test string",
|
|
1537
1578
|
displayName: "Test string",
|
|
1579
|
+
labels: {
|
|
1580
|
+
A: "Test string"
|
|
1581
|
+
},
|
|
1538
1582
|
name: "Test string",
|
|
1539
1583
|
state: {
|
|
1540
1584
|
code: "Test string",
|
|
@@ -1907,6 +1951,9 @@ gapi.load('client', async () => {
|
|
|
1907
1951
|
createTime: "Test string",
|
|
1908
1952
|
deleteTime: "Test string",
|
|
1909
1953
|
fleet: true,
|
|
1954
|
+
labels: {
|
|
1955
|
+
A: "Test string"
|
|
1956
|
+
},
|
|
1910
1957
|
name: "Test string",
|
|
1911
1958
|
scope: "Test string",
|
|
1912
1959
|
state: {
|
|
@@ -1938,6 +1985,9 @@ gapi.load('client', async () => {
|
|
|
1938
1985
|
createTime: "Test string",
|
|
1939
1986
|
deleteTime: "Test string",
|
|
1940
1987
|
fleet: true,
|
|
1988
|
+
labels: {
|
|
1989
|
+
A: "Test string"
|
|
1990
|
+
},
|
|
1941
1991
|
name: "Test string",
|
|
1942
1992
|
scope: "Test string",
|
|
1943
1993
|
state: {
|
|
@@ -1954,6 +2004,9 @@ gapi.load('client', async () => {
|
|
|
1954
2004
|
createTime: "Test string",
|
|
1955
2005
|
deleteTime: "Test string",
|
|
1956
2006
|
group: "Test string",
|
|
2007
|
+
labels: {
|
|
2008
|
+
A: "Test string"
|
|
2009
|
+
},
|
|
1957
2010
|
name: "Test string",
|
|
1958
2011
|
role: {
|
|
1959
2012
|
predefinedRole: "Test string",
|
|
@@ -1977,6 +2030,9 @@ gapi.load('client', async () => {
|
|
|
1977
2030
|
createTime: "Test string",
|
|
1978
2031
|
deleteTime: "Test string",
|
|
1979
2032
|
group: "Test string",
|
|
2033
|
+
labels: {
|
|
2034
|
+
A: "Test string"
|
|
2035
|
+
},
|
|
1980
2036
|
name: "Test string",
|
|
1981
2037
|
role: {
|
|
1982
2038
|
predefinedRole: "Test string",
|
|
@@ -2006,6 +2062,9 @@ gapi.load('client', async () => {
|
|
|
2006
2062
|
createTime: "Test string",
|
|
2007
2063
|
deleteTime: "Test string",
|
|
2008
2064
|
group: "Test string",
|
|
2065
|
+
labels: {
|
|
2066
|
+
A: "Test string"
|
|
2067
|
+
},
|
|
2009
2068
|
name: "Test string",
|
|
2010
2069
|
role: {
|
|
2011
2070
|
predefinedRole: "Test string",
|
|
@@ -2024,6 +2083,9 @@ gapi.load('client', async () => {
|
|
|
2024
2083
|
}, {
|
|
2025
2084
|
createTime: "Test string",
|
|
2026
2085
|
deleteTime: "Test string",
|
|
2086
|
+
labels: {
|
|
2087
|
+
A: "Test string"
|
|
2088
|
+
},
|
|
2027
2089
|
name: "Test string",
|
|
2028
2090
|
scope: "Test string",
|
|
2029
2091
|
state: {
|
|
@@ -2053,6 +2115,9 @@ gapi.load('client', async () => {
|
|
|
2053
2115
|
}, {
|
|
2054
2116
|
createTime: "Test string",
|
|
2055
2117
|
deleteTime: "Test string",
|
|
2118
|
+
labels: {
|
|
2119
|
+
A: "Test string"
|
|
2120
|
+
},
|
|
2056
2121
|
name: "Test string",
|
|
2057
2122
|
scope: "Test string",
|
|
2058
2123
|
state: {
|
|
@@ -2069,6 +2134,9 @@ gapi.load('client', async () => {
|
|
|
2069
2134
|
createTime: "Test string",
|
|
2070
2135
|
deleteTime: "Test string",
|
|
2071
2136
|
group: "Test string",
|
|
2137
|
+
labels: {
|
|
2138
|
+
A: "Test string"
|
|
2139
|
+
},
|
|
2072
2140
|
name: "Test string",
|
|
2073
2141
|
role: {
|
|
2074
2142
|
predefinedRole: "Test string",
|
|
@@ -2102,6 +2170,9 @@ gapi.load('client', async () => {
|
|
|
2102
2170
|
createTime: "Test string",
|
|
2103
2171
|
deleteTime: "Test string",
|
|
2104
2172
|
group: "Test string",
|
|
2173
|
+
labels: {
|
|
2174
|
+
A: "Test string"
|
|
2175
|
+
},
|
|
2105
2176
|
name: "Test string",
|
|
2106
2177
|
role: {
|
|
2107
2178
|
predefinedRole: "Test string",
|
|
@@ -2149,6 +2220,9 @@ gapi.load('client', async () => {
|
|
|
2149
2220
|
allMemberships: true,
|
|
2150
2221
|
createTime: "Test string",
|
|
2151
2222
|
deleteTime: "Test string",
|
|
2223
|
+
labels: {
|
|
2224
|
+
A: "Test string"
|
|
2225
|
+
},
|
|
2152
2226
|
name: "Test string",
|
|
2153
2227
|
state: {
|
|
2154
2228
|
code: "Test string",
|
|
@@ -2183,6 +2257,9 @@ gapi.load('client', async () => {
|
|
|
2183
2257
|
allMemberships: true,
|
|
2184
2258
|
createTime: "Test string",
|
|
2185
2259
|
deleteTime: "Test string",
|
|
2260
|
+
labels: {
|
|
2261
|
+
A: "Test string"
|
|
2262
|
+
},
|
|
2186
2263
|
name: "Test string",
|
|
2187
2264
|
state: {
|
|
2188
2265
|
code: "Test string",
|