@maxim_mazurok/gapi.client.gkehub-v1 0.0.20220912 → 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.
- package/index.d.ts +41 -2
- package/package.json +1 -1
- package/tests.ts +43 -1
package/index.d.ts
CHANGED
|
@@ -4,13 +4,12 @@
|
|
|
4
4
|
// Nick Amoscato <https://github.com/namoscato>
|
|
5
5
|
// Declan Vong <https://github.com/declanvong>
|
|
6
6
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
7
|
-
// TypeScript Version: 2.8
|
|
8
7
|
|
|
9
8
|
// IMPORTANT
|
|
10
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
11
|
// Generated from: https://gkehub.googleapis.com/$discovery/rest?version=v1
|
|
13
|
-
// Revision:
|
|
12
|
+
// Revision: 20221018
|
|
14
13
|
|
|
15
14
|
/// <reference types="gapi.client" />
|
|
16
15
|
|
|
@@ -133,12 +132,16 @@ declare namespace gapi.client {
|
|
|
133
132
|
interface CommonFeatureSpec {
|
|
134
133
|
/** Appdevexperience specific spec. */
|
|
135
134
|
appdevexperience?: any;
|
|
135
|
+
/** FleetObservability feature spec. */
|
|
136
|
+
fleetobservability?: any;
|
|
136
137
|
/** Multicluster Ingress-specific spec. */
|
|
137
138
|
multiclusteringress?: MultiClusterIngressFeatureSpec;
|
|
138
139
|
}
|
|
139
140
|
interface CommonFeatureState {
|
|
140
141
|
/** Appdevexperience specific state. */
|
|
141
142
|
appdevexperience?: AppDevExperienceFeatureState;
|
|
143
|
+
/** FleetObservability feature state. */
|
|
144
|
+
fleetobservability?: any;
|
|
142
145
|
/** Output only. The "running state" of the Feature in this Hub. */
|
|
143
146
|
state?: FeatureState;
|
|
144
147
|
}
|
|
@@ -424,6 +427,19 @@ declare namespace gapi.client {
|
|
|
424
427
|
name?: string;
|
|
425
428
|
/** Output only. State of the Feature resource itself. */
|
|
426
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 };
|
|
427
443
|
/** Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused. */
|
|
428
444
|
spec?: CommonFeatureSpec;
|
|
429
445
|
/** Output only. The Hub-wide Feature state. */
|
|
@@ -443,6 +459,18 @@ declare namespace gapi.client {
|
|
|
443
459
|
/** The time this status and any related Feature-specific details were updated. */
|
|
444
460
|
updateTime?: string;
|
|
445
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
|
+
}
|
|
446
474
|
interface GenerateConnectManifestResponse {
|
|
447
475
|
/** The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade. */
|
|
448
476
|
manifest?: ConnectAgentResource[];
|
|
@@ -678,6 +706,8 @@ declare namespace gapi.client {
|
|
|
678
706
|
anthosvm?: AnthosVMMembershipSpec;
|
|
679
707
|
/** Config Management-specific spec. */
|
|
680
708
|
configmanagement?: ConfigManagementMembershipSpec;
|
|
709
|
+
/** Fleet observability membership spec */
|
|
710
|
+
fleetobservability?: any;
|
|
681
711
|
/** Identity Service-specific spec. */
|
|
682
712
|
identityservice?: IdentityServiceMembershipSpec;
|
|
683
713
|
/** Anthos Service Mesh-specific spec */
|
|
@@ -690,6 +720,8 @@ declare namespace gapi.client {
|
|
|
690
720
|
appdevexperience?: AppDevExperienceFeatureState;
|
|
691
721
|
/** Config Management-specific state. */
|
|
692
722
|
configmanagement?: ConfigManagementMembershipState;
|
|
723
|
+
/** Fleet observability membership state. */
|
|
724
|
+
fleetobservability?: any;
|
|
693
725
|
/** Identity Service-specific state. */
|
|
694
726
|
identityservice?: IdentityServiceMembershipState;
|
|
695
727
|
/** Service Mesh-specific state. */
|
|
@@ -829,6 +861,13 @@ declare namespace gapi.client {
|
|
|
829
861
|
*/
|
|
830
862
|
v1beta1Crd?: boolean;
|
|
831
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
|
+
}
|
|
832
871
|
interface ServiceMeshControlPlaneManagement {
|
|
833
872
|
/** Explanation of state. */
|
|
834
873
|
details?: ServiceMeshStatusDetails[];
|
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: 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",
|