@maxim_mazurok/gapi.client.gkehub-v1 0.0.20230119 → 0.0.20230206
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 +21 -10
- package/package.json +1 -1
- package/tests.ts +9 -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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230206
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -82,14 +82,14 @@ declare namespace gapi.client {
|
|
|
82
82
|
* Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example,
|
|
83
83
|
* `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service
|
|
84
84
|
* account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. *
|
|
85
|
-
* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `
|
|
86
|
-
*
|
|
87
|
-
* `
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
* `
|
|
92
|
-
*
|
|
85
|
+
* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the
|
|
86
|
+
* users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has
|
|
87
|
+
* been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains
|
|
88
|
+
* the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently
|
|
89
|
+
* deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and
|
|
90
|
+
* the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that
|
|
91
|
+
* has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group
|
|
92
|
+
* retains the role in the binding.
|
|
93
93
|
*/
|
|
94
94
|
members?: string[];
|
|
95
95
|
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
@@ -313,6 +313,10 @@ declare namespace gapi.client {
|
|
|
313
313
|
/** Installs the default template library along with Policy Controller. */
|
|
314
314
|
templateLibraryInstalled?: boolean;
|
|
315
315
|
}
|
|
316
|
+
interface ConfigManagementPolicyControllerMigration {
|
|
317
|
+
/** Stage of the migration. */
|
|
318
|
+
stage?: string;
|
|
319
|
+
}
|
|
316
320
|
interface ConfigManagementPolicyControllerMonitoring {
|
|
317
321
|
/** Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export. */
|
|
318
322
|
backends?: string[];
|
|
@@ -320,6 +324,8 @@ declare namespace gapi.client {
|
|
|
320
324
|
interface ConfigManagementPolicyControllerState {
|
|
321
325
|
/** The state about the policy controller installation. */
|
|
322
326
|
deploymentState?: ConfigManagementGatekeeperDeploymentState;
|
|
327
|
+
/** Record state of ACM -> PoCo Hub migration for this feature. */
|
|
328
|
+
migration?: ConfigManagementPolicyControllerMigration;
|
|
323
329
|
/** The version of Gatekeeper Policy Controller deployed. */
|
|
324
330
|
version?: ConfigManagementPolicyControllerVersion;
|
|
325
331
|
}
|
|
@@ -670,6 +676,8 @@ declare namespace gapi.client {
|
|
|
670
676
|
edgeCluster?: EdgeCluster;
|
|
671
677
|
/** Optional. Specific information for a GKE-on-GCP cluster. */
|
|
672
678
|
gkeCluster?: GkeCluster;
|
|
679
|
+
/** Output only. Whether the lifecycle of this membership is managed by a google cluster platform service. */
|
|
680
|
+
googleManaged?: boolean;
|
|
673
681
|
/** Output only. Useful Kubernetes-specific metadata. */
|
|
674
682
|
kubernetesMetadata?: KubernetesMetadata;
|
|
675
683
|
/**
|
|
@@ -1537,7 +1545,10 @@ declare namespace gapi.client {
|
|
|
1537
1545
|
pageSize?: number;
|
|
1538
1546
|
/** Optional. Token returned by previous call to `ListMemberships` which specifies the position in the list from where to continue listing the resources. */
|
|
1539
1547
|
pageToken?: string;
|
|
1540
|
-
/**
|
|
1548
|
+
/**
|
|
1549
|
+
* Required. The parent (project and location) where the Memberships will be listed. Specified in the format `projects/*/locations/*`. `projects/*/locations/-` list memberships
|
|
1550
|
+
* in all the regions.
|
|
1551
|
+
*/
|
|
1541
1552
|
parent: string;
|
|
1542
1553
|
/** Returns response with indentations and line breaks. */
|
|
1543
1554
|
prettyPrint?: boolean;
|
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: 20230206
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -273,6 +273,9 @@ gapi.load('client', async () => {
|
|
|
273
273
|
gatekeeperControllerManagerState: "Test string",
|
|
274
274
|
gatekeeperMutation: "Test string",
|
|
275
275
|
},
|
|
276
|
+
migration: {
|
|
277
|
+
stage: "Test string",
|
|
278
|
+
},
|
|
276
279
|
version: {
|
|
277
280
|
version: "Test string",
|
|
278
281
|
},
|
|
@@ -645,6 +648,9 @@ gapi.load('client', async () => {
|
|
|
645
648
|
gatekeeperControllerManagerState: "Test string",
|
|
646
649
|
gatekeeperMutation: "Test string",
|
|
647
650
|
},
|
|
651
|
+
migration: {
|
|
652
|
+
stage: "Test string",
|
|
653
|
+
},
|
|
648
654
|
version: {
|
|
649
655
|
version: "Test string",
|
|
650
656
|
},
|
|
@@ -838,6 +844,7 @@ gapi.load('client', async () => {
|
|
|
838
844
|
clusterMissing: true,
|
|
839
845
|
resourceLink: "Test string",
|
|
840
846
|
},
|
|
847
|
+
googleManaged: true,
|
|
841
848
|
kubernetesMetadata: {
|
|
842
849
|
kubernetesApiServerVersion: "Test string",
|
|
843
850
|
memoryMb: 42,
|
|
@@ -953,6 +960,7 @@ gapi.load('client', async () => {
|
|
|
953
960
|
clusterMissing: true,
|
|
954
961
|
resourceLink: "Test string",
|
|
955
962
|
},
|
|
963
|
+
googleManaged: true,
|
|
956
964
|
kubernetesMetadata: {
|
|
957
965
|
kubernetesApiServerVersion: "Test string",
|
|
958
966
|
memoryMb: 42,
|