@maxim_mazurok/gapi.client.gkehub-v1 0.0.20220828 → 0.0.20220912

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 +13 -1
  2. package/package.json +1 -1
  3. package/tests.ts +25 -1
package/index.d.ts CHANGED
@@ -10,7 +10,7 @@
10
10
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
11
11
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
12
12
  // Generated from: https://gkehub.googleapis.com/$discovery/rest?version=v1
13
- // Revision: 20220828
13
+ // Revision: 20220912
14
14
 
15
15
  /// <reference types="gapi.client" />
16
16
 
@@ -143,6 +143,8 @@ declare namespace gapi.client {
143
143
  state?: FeatureState;
144
144
  }
145
145
  interface ConfigManagementConfigSync {
146
+ /** Set to true to allow the vertical scaling. Defaults to false which disallows vertical scaling. */
147
+ allowVerticalScale?: boolean;
146
148
  /**
147
149
  * Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other
148
150
  * ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of git field.
@@ -833,13 +835,23 @@ declare namespace gapi.client {
833
835
  /** LifecycleState of control plane management. */
834
836
  state?: string;
835
837
  }
838
+ interface ServiceMeshDataPlaneManagement {
839
+ /** Explanation of the status. */
840
+ details?: ServiceMeshStatusDetails[];
841
+ /** Lifecycle status of data plane management. */
842
+ state?: string;
843
+ }
836
844
  interface ServiceMeshMembershipSpec {
837
845
  /** Enables automatic control plane management. */
838
846
  controlPlane?: string;
847
+ /** Enables automatic Service Mesh management. */
848
+ management?: string;
839
849
  }
840
850
  interface ServiceMeshMembershipState {
841
851
  /** Output only. Status of control plane management */
842
852
  controlPlaneManagement?: ServiceMeshControlPlaneManagement;
853
+ /** Output only. Status of data plane management. */
854
+ dataPlaneManagement?: ServiceMeshDataPlaneManagement;
843
855
  }
844
856
  // tslint:disable-next-line:no-empty-interface
845
857
  interface ServiceMeshSpec {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.gkehub-v1",
3
- "version": "0.0.20220828",
3
+ "version": "0.0.20220912",
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: 20220828
6
+ // Revision: 20220912
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -66,6 +66,7 @@ gapi.load('client', async () => {
66
66
  },
67
67
  configmanagement: {
68
68
  configSync: {
69
+ allowVerticalScale: true,
69
70
  enabled: true,
70
71
  git: {
71
72
  gcpServiceAccountEmail: "Test string",
@@ -139,6 +140,7 @@ gapi.load('client', async () => {
139
140
  },
140
141
  mesh: {
141
142
  controlPlane: "Test string",
143
+ management: "Test string",
142
144
  },
143
145
  }
144
146
  },
@@ -226,6 +228,7 @@ gapi.load('client', async () => {
226
228
  },
227
229
  membershipSpec: {
228
230
  configSync: {
231
+ allowVerticalScale: true,
229
232
  enabled: true,
230
233
  git: {
231
234
  gcpServiceAccountEmail: "Test string",
@@ -332,6 +335,15 @@ gapi.load('client', async () => {
332
335
  ],
333
336
  state: "Test string",
334
337
  },
338
+ dataPlaneManagement: {
339
+ details: [
340
+ {
341
+ code: "Test string",
342
+ details: "Test string",
343
+ }
344
+ ],
345
+ state: "Test string",
346
+ },
335
347
  },
336
348
  state: {
337
349
  code: "Test string",
@@ -415,6 +427,7 @@ gapi.load('client', async () => {
415
427
  },
416
428
  configmanagement: {
417
429
  configSync: {
430
+ allowVerticalScale: true,
418
431
  enabled: true,
419
432
  git: {
420
433
  gcpServiceAccountEmail: "Test string",
@@ -488,6 +501,7 @@ gapi.load('client', async () => {
488
501
  },
489
502
  mesh: {
490
503
  controlPlane: "Test string",
504
+ management: "Test string",
491
505
  },
492
506
  }
493
507
  },
@@ -575,6 +589,7 @@ gapi.load('client', async () => {
575
589
  },
576
590
  membershipSpec: {
577
591
  configSync: {
592
+ allowVerticalScale: true,
578
593
  enabled: true,
579
594
  git: {
580
595
  gcpServiceAccountEmail: "Test string",
@@ -681,6 +696,15 @@ gapi.load('client', async () => {
681
696
  ],
682
697
  state: "Test string",
683
698
  },
699
+ dataPlaneManagement: {
700
+ details: [
701
+ {
702
+ code: "Test string",
703
+ details: "Test string",
704
+ }
705
+ ],
706
+ state: "Test string",
707
+ },
684
708
  },
685
709
  state: {
686
710
  code: "Test string",