@maxim_mazurok/gapi.client.gkehub-v1 0.0.20230106 → 0.0.20230129

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 +24 -10
  2. package/package.json +1 -1
  3. package/tests.ts +11 -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: 20230106
12
+ // Revision: 20230129
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`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
86
- * identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to
87
- * `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing
88
- * a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value
89
- * reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
90
- * identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to
91
- * `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For
92
- * example, `google.com` or `example.com`.
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`. */
@@ -114,6 +114,9 @@ declare namespace gapi.client {
114
114
  /** Output only. The "running state" of the Feature in this Hub. */
115
115
  state?: FeatureState;
116
116
  }
117
+ // tslint:disable-next-line:no-empty-interface
118
+ interface CommonFleetDefaultMemberConfigSpec {
119
+ }
117
120
  interface ConfigManagementConfigSync {
118
121
  /** Set to true to allow the vertical scaling. Defaults to false which disallows vertical scaling. This field is deprecated. */
119
122
  allowVerticalScale?: boolean;
@@ -310,6 +313,10 @@ declare namespace gapi.client {
310
313
  /** Installs the default template library along with Policy Controller. */
311
314
  templateLibraryInstalled?: boolean;
312
315
  }
316
+ interface ConfigManagementPolicyControllerMigration {
317
+ /** Stage of the migration. */
318
+ stage?: string;
319
+ }
313
320
  interface ConfigManagementPolicyControllerMonitoring {
314
321
  /** Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export. */
315
322
  backends?: string[];
@@ -317,6 +324,8 @@ declare namespace gapi.client {
317
324
  interface ConfigManagementPolicyControllerState {
318
325
  /** The state about the policy controller installation. */
319
326
  deploymentState?: ConfigManagementGatekeeperDeploymentState;
327
+ /** Record state of ACM -> PoCo Hub migration for this feature. */
328
+ migration?: ConfigManagementPolicyControllerMigration;
320
329
  /** The version of Gatekeeper Policy Controller deployed. */
321
330
  version?: ConfigManagementPolicyControllerVersion;
322
331
  }
@@ -376,6 +385,8 @@ declare namespace gapi.client {
376
385
  createTime?: string;
377
386
  /** Output only. When the Feature resource was deleted. */
378
387
  deleteTime?: string;
388
+ /** Optional. Feature configuration applicable to all memberships of the fleet. */
389
+ fleetDefaultMemberConfig?: any;
379
390
  /** GCP labels for this Feature. */
380
391
  labels?: { [P in string]: string };
381
392
  /**
@@ -1532,7 +1543,10 @@ declare namespace gapi.client {
1532
1543
  pageSize?: number;
1533
1544
  /** Optional. Token returned by previous call to `ListMemberships` which specifies the position in the list from where to continue listing the resources. */
1534
1545
  pageToken?: string;
1535
- /** Required. The parent (project and location) where the Memberships will be listed. Specified in the format `projects/*‍/locations/*`. */
1546
+ /**
1547
+ * Required. The parent (project and location) where the Memberships will be listed. Specified in the format `projects/*‍/locations/*`. `projects/*‍/locations/-` list memberships
1548
+ * in all the regions.
1549
+ */
1536
1550
  parent: string;
1537
1551
  /** Returns response with indentations and line breaks. */
1538
1552
  prettyPrint?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.gkehub-v1",
3
- "version": "0.0.20230106",
3
+ "version": "0.0.20230129",
4
4
  "description": "TypeScript typings for GKE Hub API v1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230106
6
+ // Revision: 20230129
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -48,6 +48,8 @@ gapi.load('client', async () => {
48
48
  }, {
49
49
  createTime: "Test string",
50
50
  deleteTime: "Test string",
51
+ fleetDefaultMemberConfig: {
52
+ },
51
53
  labels: {
52
54
  A: "Test string"
53
55
  },
@@ -271,6 +273,9 @@ gapi.load('client', async () => {
271
273
  gatekeeperControllerManagerState: "Test string",
272
274
  gatekeeperMutation: "Test string",
273
275
  },
276
+ migration: {
277
+ stage: "Test string",
278
+ },
274
279
  version: {
275
280
  version: "Test string",
276
281
  },
@@ -418,6 +423,8 @@ gapi.load('client', async () => {
418
423
  }, {
419
424
  createTime: "Test string",
420
425
  deleteTime: "Test string",
426
+ fleetDefaultMemberConfig: {
427
+ },
421
428
  labels: {
422
429
  A: "Test string"
423
430
  },
@@ -641,6 +648,9 @@ gapi.load('client', async () => {
641
648
  gatekeeperControllerManagerState: "Test string",
642
649
  gatekeeperMutation: "Test string",
643
650
  },
651
+ migration: {
652
+ stage: "Test string",
653
+ },
644
654
  version: {
645
655
  version: "Test string",
646
656
  },