@maxim_mazurok/gapi.client.gkehub-v1 0.0.20220923 → 0.0.20221018

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 +41 -1
  2. package/package.json +1 -1
  3. package/tests.ts +43 -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: 20220923
12
+ // Revision: 20221018
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -132,12 +132,16 @@ declare namespace gapi.client {
132
132
  interface CommonFeatureSpec {
133
133
  /** Appdevexperience specific spec. */
134
134
  appdevexperience?: any;
135
+ /** FleetObservability feature spec. */
136
+ fleetobservability?: any;
135
137
  /** Multicluster Ingress-specific spec. */
136
138
  multiclusteringress?: MultiClusterIngressFeatureSpec;
137
139
  }
138
140
  interface CommonFeatureState {
139
141
  /** Appdevexperience specific state. */
140
142
  appdevexperience?: AppDevExperienceFeatureState;
143
+ /** FleetObservability feature state. */
144
+ fleetobservability?: any;
141
145
  /** Output only. The "running state" of the Feature in this Hub. */
142
146
  state?: FeatureState;
143
147
  }
@@ -423,6 +427,19 @@ declare namespace gapi.client {
423
427
  name?: string;
424
428
  /** Output only. State of the Feature resource itself. */
425
429
  resourceState?: FeatureResourceState;
430
+ /**
431
+ * Optional. Scope-specific configuration for this Feature. If this Feature does not support any per-Scope configuration, this field may be unused. The keys indicate which Scope the
432
+ * configuration is for, in the form: `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project.
433
+ * {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Scope is specified in the map twice (using the project ID form, and
434
+ * the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when
435
+ * mutating a Feature.
436
+ */
437
+ scopeSpecs?: { [P in string]: any };
438
+ /**
439
+ * Output only. Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused. The keys indicate which Scope the state is for, in the form:
440
+ * `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project.
441
+ */
442
+ scopeStates?: { [P in string]: ScopeFeatureState };
426
443
  /** Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused. */
427
444
  spec?: CommonFeatureSpec;
428
445
  /** Output only. The Hub-wide Feature state. */
@@ -442,6 +459,18 @@ declare namespace gapi.client {
442
459
  /** The time this status and any related Feature-specific details were updated. */
443
460
  updateTime?: string;
444
461
  }
462
+ // tslint:disable-next-line:no-empty-interface
463
+ interface FleetObservabilityFeatureSpec {
464
+ }
465
+ // tslint:disable-next-line:no-empty-interface
466
+ interface FleetObservabilityFeatureState {
467
+ }
468
+ // tslint:disable-next-line:no-empty-interface
469
+ interface FleetObservabilityMembershipSpec {
470
+ }
471
+ // tslint:disable-next-line:no-empty-interface
472
+ interface FleetObservabilityMembershipState {
473
+ }
445
474
  interface GenerateConnectManifestResponse {
446
475
  /** The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade. */
447
476
  manifest?: ConnectAgentResource[];
@@ -677,6 +706,8 @@ declare namespace gapi.client {
677
706
  anthosvm?: AnthosVMMembershipSpec;
678
707
  /** Config Management-specific spec. */
679
708
  configmanagement?: ConfigManagementMembershipSpec;
709
+ /** Fleet observability membership spec */
710
+ fleetobservability?: any;
680
711
  /** Identity Service-specific spec. */
681
712
  identityservice?: IdentityServiceMembershipSpec;
682
713
  /** Anthos Service Mesh-specific spec */
@@ -689,6 +720,8 @@ declare namespace gapi.client {
689
720
  appdevexperience?: AppDevExperienceFeatureState;
690
721
  /** Config Management-specific state. */
691
722
  configmanagement?: ConfigManagementMembershipState;
723
+ /** Fleet observability membership state. */
724
+ fleetobservability?: any;
692
725
  /** Identity Service-specific state. */
693
726
  identityservice?: IdentityServiceMembershipState;
694
727
  /** Service Mesh-specific state. */
@@ -828,6 +861,13 @@ declare namespace gapi.client {
828
861
  */
829
862
  v1beta1Crd?: boolean;
830
863
  }
864
+ // tslint:disable-next-line:no-empty-interface
865
+ interface ScopeFeatureSpec {
866
+ }
867
+ interface ScopeFeatureState {
868
+ /** Output only. The "running state" of the Feature in this Scope. */
869
+ state?: FeatureState;
870
+ }
831
871
  interface ServiceMeshControlPlaneManagement {
832
872
  /** Explanation of state. */
833
873
  details?: ServiceMeshStatusDetails[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.gkehub-v1",
3
- "version": "0.0.20220923",
3
+ "version": "0.0.20221018",
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: 20220923
6
+ // Revision: 20221018
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -111,6 +111,8 @@ gapi.load('client', async () => {
111
111
  },
112
112
  version: "Test string",
113
113
  },
114
+ fleetobservability: {
115
+ },
114
116
  identityservice: {
115
117
  authMethods: [
116
118
  {
@@ -293,6 +295,8 @@ gapi.load('client', async () => {
293
295
  },
294
296
  },
295
297
  },
298
+ fleetobservability: {
299
+ },
296
300
  identityservice: {
297
301
  failureReason: "Test string",
298
302
  installedVersion: "Test string",
@@ -356,9 +360,24 @@ gapi.load('client', async () => {
356
360
  resourceState: {
357
361
  state: "Test string",
358
362
  },
363
+ scopeSpecs: {
364
+ A: {
365
+ }
366
+ },
367
+ scopeStates: {
368
+ A: {
369
+ state: {
370
+ code: "Test string",
371
+ description: "Test string",
372
+ updateTime: "Test string",
373
+ },
374
+ }
375
+ },
359
376
  spec: {
360
377
  appdevexperience: {
361
378
  },
379
+ fleetobservability: {
380
+ },
362
381
  multiclusteringress: {
363
382
  configMembership: "Test string",
364
383
  },
@@ -370,6 +389,8 @@ gapi.load('client', async () => {
370
389
  description: "Test string",
371
390
  },
372
391
  },
392
+ fleetobservability: {
393
+ },
373
394
  state: {
374
395
  code: "Test string",
375
396
  description: "Test string",
@@ -472,6 +493,8 @@ gapi.load('client', async () => {
472
493
  },
473
494
  version: "Test string",
474
495
  },
496
+ fleetobservability: {
497
+ },
475
498
  identityservice: {
476
499
  authMethods: [
477
500
  {
@@ -654,6 +677,8 @@ gapi.load('client', async () => {
654
677
  },
655
678
  },
656
679
  },
680
+ fleetobservability: {
681
+ },
657
682
  identityservice: {
658
683
  failureReason: "Test string",
659
684
  installedVersion: "Test string",
@@ -717,9 +742,24 @@ gapi.load('client', async () => {
717
742
  resourceState: {
718
743
  state: "Test string",
719
744
  },
745
+ scopeSpecs: {
746
+ A: {
747
+ }
748
+ },
749
+ scopeStates: {
750
+ A: {
751
+ state: {
752
+ code: "Test string",
753
+ description: "Test string",
754
+ updateTime: "Test string",
755
+ },
756
+ }
757
+ },
720
758
  spec: {
721
759
  appdevexperience: {
722
760
  },
761
+ fleetobservability: {
762
+ },
723
763
  multiclusteringress: {
724
764
  configMembership: "Test string",
725
765
  },
@@ -731,6 +771,8 @@ gapi.load('client', async () => {
731
771
  description: "Test string",
732
772
  },
733
773
  },
774
+ fleetobservability: {
775
+ },
734
776
  state: {
735
777
  code: "Test string",
736
778
  description: "Test string",