@maxim_mazurok/gapi.client.gkehub-v1alpha 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.
- package/index.d.ts +41 -6
- package/package.json +1 -1
- package/tests.ts +43 -3
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=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20221018
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -161,6 +161,8 @@ declare namespace gapi.client {
|
|
|
161
161
|
appdevexperience?: any;
|
|
162
162
|
/** Cloud Audit Logging-specific spec. */
|
|
163
163
|
cloudauditlogging?: CloudAuditLoggingFeatureSpec;
|
|
164
|
+
/** FleetObservability feature spec. */
|
|
165
|
+
fleetobservability?: any;
|
|
164
166
|
/** Multicluster Ingress-specific spec. */
|
|
165
167
|
multiclusteringress?: MultiClusterIngressFeatureSpec;
|
|
166
168
|
/** Workload Certificate spec. */
|
|
@@ -169,6 +171,8 @@ declare namespace gapi.client {
|
|
|
169
171
|
interface CommonFeatureState {
|
|
170
172
|
/** Appdevexperience specific state. */
|
|
171
173
|
appdevexperience?: AppDevExperienceFeatureState;
|
|
174
|
+
/** FleetObservability feature state. */
|
|
175
|
+
fleetobservability?: any;
|
|
172
176
|
/** Service Mesh-specific state. */
|
|
173
177
|
servicemesh?: ServiceMeshFeatureState;
|
|
174
178
|
/** Output only. The "running state" of the Feature in this Hub. */
|
|
@@ -474,6 +478,19 @@ declare namespace gapi.client {
|
|
|
474
478
|
name?: string;
|
|
475
479
|
/** Output only. State of the Feature resource itself. */
|
|
476
480
|
resourceState?: FeatureResourceState;
|
|
481
|
+
/**
|
|
482
|
+
* 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
|
|
483
|
+
* 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.
|
|
484
|
+
* {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
|
|
485
|
+
* 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
|
|
486
|
+
* mutating a Feature.
|
|
487
|
+
*/
|
|
488
|
+
scopeSpecs?: { [P in string]: any };
|
|
489
|
+
/**
|
|
490
|
+
* 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:
|
|
491
|
+
* `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.
|
|
492
|
+
*/
|
|
493
|
+
scopeStates?: { [P in string]: ScopeFeatureState };
|
|
477
494
|
/** Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused. */
|
|
478
495
|
spec?: CommonFeatureSpec;
|
|
479
496
|
/** Output only. The Hub-wide Feature state. */
|
|
@@ -528,6 +545,18 @@ declare namespace gapi.client {
|
|
|
528
545
|
/** Output only. The current state of the Fleet resource. */
|
|
529
546
|
code?: string;
|
|
530
547
|
}
|
|
548
|
+
// tslint:disable-next-line:no-empty-interface
|
|
549
|
+
interface FleetObservabilityFeatureSpec {
|
|
550
|
+
}
|
|
551
|
+
// tslint:disable-next-line:no-empty-interface
|
|
552
|
+
interface FleetObservabilityFeatureState {
|
|
553
|
+
}
|
|
554
|
+
// tslint:disable-next-line:no-empty-interface
|
|
555
|
+
interface FleetObservabilityMembershipSpec {
|
|
556
|
+
}
|
|
557
|
+
// tslint:disable-next-line:no-empty-interface
|
|
558
|
+
interface FleetObservabilityMembershipState {
|
|
559
|
+
}
|
|
531
560
|
interface GenerateConnectManifestResponse {
|
|
532
561
|
/** The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade. */
|
|
533
562
|
manifest?: ConnectAgentResource[];
|
|
@@ -781,6 +810,8 @@ declare namespace gapi.client {
|
|
|
781
810
|
cloudbuild?: CloudBuildMembershipSpec;
|
|
782
811
|
/** Config Management-specific spec. */
|
|
783
812
|
configmanagement?: ConfigManagementMembershipSpec;
|
|
813
|
+
/** Fleet observability membership spec */
|
|
814
|
+
fleetobservability?: any;
|
|
784
815
|
/** Identity Service-specific spec. */
|
|
785
816
|
identityservice?: IdentityServiceMembershipSpec;
|
|
786
817
|
/** Anthos Service Mesh-specific spec */
|
|
@@ -797,6 +828,8 @@ declare namespace gapi.client {
|
|
|
797
828
|
appdevexperience?: AppDevExperienceFeatureState;
|
|
798
829
|
/** Config Management-specific state. */
|
|
799
830
|
configmanagement?: ConfigManagementMembershipState;
|
|
831
|
+
/** Fleet observability membership state. */
|
|
832
|
+
fleetobservability?: any;
|
|
800
833
|
/** Identity Service-specific state. */
|
|
801
834
|
identityservice?: IdentityServiceMembershipState;
|
|
802
835
|
/** Metering-specific state. */
|
|
@@ -954,11 +987,6 @@ declare namespace gapi.client {
|
|
|
954
987
|
version?: string;
|
|
955
988
|
}
|
|
956
989
|
interface PolicyControllerMembershipState {
|
|
957
|
-
/**
|
|
958
|
-
* The user-defined name for the cluster used by ClusterSelectors to group clusters together. This should match Membership's membership_name, unless the user installed PC on the
|
|
959
|
-
* cluster manually prior to enabling the PC hub feature. Unique within a Policy Controller installation.
|
|
960
|
-
*/
|
|
961
|
-
clusterName?: string;
|
|
962
990
|
/** Currently these include (also serving as map keys): 1. "admission" 2. "audit" 3. "mutation" 4. "constraint template library" */
|
|
963
991
|
componentStates?: { [P in string]: PolicyControllerOnClusterState };
|
|
964
992
|
/** The overall Policy Controller lifecycle state observed by the Hub Feature controller. */
|
|
@@ -1004,6 +1032,13 @@ declare namespace gapi.client {
|
|
|
1004
1032
|
*/
|
|
1005
1033
|
v1beta1Crd?: boolean;
|
|
1006
1034
|
}
|
|
1035
|
+
// tslint:disable-next-line:no-empty-interface
|
|
1036
|
+
interface ScopeFeatureSpec {
|
|
1037
|
+
}
|
|
1038
|
+
interface ScopeFeatureState {
|
|
1039
|
+
/** Output only. The "running state" of the Feature in this Scope. */
|
|
1040
|
+
state?: FeatureState;
|
|
1041
|
+
}
|
|
1007
1042
|
interface ServiceMeshAnalysisMessage {
|
|
1008
1043
|
/** A UI can combine these args with a template (based on message_base.type) to produce an internationalized message. */
|
|
1009
1044
|
args?: { [P in string]: any };
|
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 */
|
|
@@ -129,6 +129,8 @@ gapi.load('client', async () => {
|
|
|
129
129
|
},
|
|
130
130
|
version: "Test string",
|
|
131
131
|
},
|
|
132
|
+
fleetobservability: {
|
|
133
|
+
},
|
|
132
134
|
identityservice: {
|
|
133
135
|
authMethods: [
|
|
134
136
|
{
|
|
@@ -345,6 +347,8 @@ gapi.load('client', async () => {
|
|
|
345
347
|
},
|
|
346
348
|
},
|
|
347
349
|
},
|
|
350
|
+
fleetobservability: {
|
|
351
|
+
},
|
|
348
352
|
identityservice: {
|
|
349
353
|
failureReason: "Test string",
|
|
350
354
|
installedVersion: "Test string",
|
|
@@ -382,7 +386,6 @@ gapi.load('client', async () => {
|
|
|
382
386
|
preciseLastMeasuredClusterVcpuCapacity: 42,
|
|
383
387
|
},
|
|
384
388
|
policycontroller: {
|
|
385
|
-
clusterName: "Test string",
|
|
386
389
|
componentStates: {
|
|
387
390
|
A: {
|
|
388
391
|
details: "Test string",
|
|
@@ -442,6 +445,19 @@ gapi.load('client', async () => {
|
|
|
442
445
|
resourceState: {
|
|
443
446
|
state: "Test string",
|
|
444
447
|
},
|
|
448
|
+
scopeSpecs: {
|
|
449
|
+
A: {
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
scopeStates: {
|
|
453
|
+
A: {
|
|
454
|
+
state: {
|
|
455
|
+
code: "Test string",
|
|
456
|
+
description: "Test string",
|
|
457
|
+
updateTime: "Test string",
|
|
458
|
+
},
|
|
459
|
+
}
|
|
460
|
+
},
|
|
445
461
|
spec: {
|
|
446
462
|
anthosobservability: {
|
|
447
463
|
defaultMembershipSpec: {
|
|
@@ -457,6 +473,8 @@ gapi.load('client', async () => {
|
|
|
457
473
|
"Test string"
|
|
458
474
|
],
|
|
459
475
|
},
|
|
476
|
+
fleetobservability: {
|
|
477
|
+
},
|
|
460
478
|
multiclusteringress: {
|
|
461
479
|
billing: "Test string",
|
|
462
480
|
configMembership: "Test string",
|
|
@@ -475,6 +493,8 @@ gapi.load('client', async () => {
|
|
|
475
493
|
description: "Test string",
|
|
476
494
|
},
|
|
477
495
|
},
|
|
496
|
+
fleetobservability: {
|
|
497
|
+
},
|
|
478
498
|
servicemesh: {
|
|
479
499
|
analysisMessages: [
|
|
480
500
|
{
|
|
@@ -610,6 +630,8 @@ gapi.load('client', async () => {
|
|
|
610
630
|
},
|
|
611
631
|
version: "Test string",
|
|
612
632
|
},
|
|
633
|
+
fleetobservability: {
|
|
634
|
+
},
|
|
613
635
|
identityservice: {
|
|
614
636
|
authMethods: [
|
|
615
637
|
{
|
|
@@ -826,6 +848,8 @@ gapi.load('client', async () => {
|
|
|
826
848
|
},
|
|
827
849
|
},
|
|
828
850
|
},
|
|
851
|
+
fleetobservability: {
|
|
852
|
+
},
|
|
829
853
|
identityservice: {
|
|
830
854
|
failureReason: "Test string",
|
|
831
855
|
installedVersion: "Test string",
|
|
@@ -863,7 +887,6 @@ gapi.load('client', async () => {
|
|
|
863
887
|
preciseLastMeasuredClusterVcpuCapacity: 42,
|
|
864
888
|
},
|
|
865
889
|
policycontroller: {
|
|
866
|
-
clusterName: "Test string",
|
|
867
890
|
componentStates: {
|
|
868
891
|
A: {
|
|
869
892
|
details: "Test string",
|
|
@@ -923,6 +946,19 @@ gapi.load('client', async () => {
|
|
|
923
946
|
resourceState: {
|
|
924
947
|
state: "Test string",
|
|
925
948
|
},
|
|
949
|
+
scopeSpecs: {
|
|
950
|
+
A: {
|
|
951
|
+
}
|
|
952
|
+
},
|
|
953
|
+
scopeStates: {
|
|
954
|
+
A: {
|
|
955
|
+
state: {
|
|
956
|
+
code: "Test string",
|
|
957
|
+
description: "Test string",
|
|
958
|
+
updateTime: "Test string",
|
|
959
|
+
},
|
|
960
|
+
}
|
|
961
|
+
},
|
|
926
962
|
spec: {
|
|
927
963
|
anthosobservability: {
|
|
928
964
|
defaultMembershipSpec: {
|
|
@@ -938,6 +974,8 @@ gapi.load('client', async () => {
|
|
|
938
974
|
"Test string"
|
|
939
975
|
],
|
|
940
976
|
},
|
|
977
|
+
fleetobservability: {
|
|
978
|
+
},
|
|
941
979
|
multiclusteringress: {
|
|
942
980
|
billing: "Test string",
|
|
943
981
|
configMembership: "Test string",
|
|
@@ -956,6 +994,8 @@ gapi.load('client', async () => {
|
|
|
956
994
|
description: "Test string",
|
|
957
995
|
},
|
|
958
996
|
},
|
|
997
|
+
fleetobservability: {
|
|
998
|
+
},
|
|
959
999
|
servicemesh: {
|
|
960
1000
|
analysisMessages: [
|
|
961
1001
|
{
|