@maxim_mazurok/gapi.client.gkehub-v1 0.0.20230620 → 0.0.20230627
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 +54 -5
- package/package.json +1 -1
- package/tests.ts +79 -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:
|
|
12
|
+
// Revision: 20230627
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -120,7 +120,7 @@ declare namespace gapi.client {
|
|
|
120
120
|
any;
|
|
121
121
|
/** FleetObservability feature spec. */
|
|
122
122
|
fleetobservability?:
|
|
123
|
-
|
|
123
|
+
FleetObservabilityFeatureSpec;
|
|
124
124
|
/** Multicluster Ingress-specific spec. */
|
|
125
125
|
multiclusteringress?:
|
|
126
126
|
MultiClusterIngressFeatureSpec;
|
|
@@ -131,7 +131,7 @@ declare namespace gapi.client {
|
|
|
131
131
|
AppDevExperienceFeatureState;
|
|
132
132
|
/** FleetObservability feature state. */
|
|
133
133
|
fleetobservability?:
|
|
134
|
-
|
|
134
|
+
FleetObservabilityFeatureState;
|
|
135
135
|
/** Output only. The "running state" of the Feature in this Hub. */
|
|
136
136
|
state?:
|
|
137
137
|
FeatureState;
|
|
@@ -649,11 +649,55 @@ declare namespace gapi.client {
|
|
|
649
649
|
code?:
|
|
650
650
|
string;
|
|
651
651
|
}
|
|
652
|
-
|
|
652
|
+
interface FleetObservabilityFeatureError {
|
|
653
|
+
/** The code of the error. */
|
|
654
|
+
code?:
|
|
655
|
+
string;
|
|
656
|
+
/** A human-readable description of the current status. */
|
|
657
|
+
description?:
|
|
658
|
+
string;
|
|
659
|
+
}
|
|
653
660
|
interface FleetObservabilityFeatureSpec {
|
|
661
|
+
/** Specified if fleet logging feature is enabled for the entire fleet. If UNSPECIFIED, fleet logging feature is disabled for the entire fleet. */
|
|
662
|
+
loggingConfig?:
|
|
663
|
+
FleetObservabilityLoggingConfig;
|
|
654
664
|
}
|
|
655
|
-
// tslint:disable-next-line:no-empty-interface
|
|
656
665
|
interface FleetObservabilityFeatureState {
|
|
666
|
+
/** The feature state of default logging. */
|
|
667
|
+
logging?:
|
|
668
|
+
FleetObservabilityFleetObservabilityLoggingState;
|
|
669
|
+
/** The feature state of fleet monitoring. */
|
|
670
|
+
monitoring?:
|
|
671
|
+
FleetObservabilityFleetObservabilityMonitoringState;
|
|
672
|
+
}
|
|
673
|
+
interface FleetObservabilityFleetObservabilityBaseFeatureState {
|
|
674
|
+
/** The high-level, machine-readable status of this Feature. */
|
|
675
|
+
code?:
|
|
676
|
+
string;
|
|
677
|
+
/** Errors after reconciling the monitoring and logging feature if the code is not OK. */
|
|
678
|
+
errors?:
|
|
679
|
+
FleetObservabilityFeatureError[];
|
|
680
|
+
}
|
|
681
|
+
interface FleetObservabilityFleetObservabilityLoggingState {
|
|
682
|
+
/** The base feature state of fleet default log. */
|
|
683
|
+
defaultLog?:
|
|
684
|
+
FleetObservabilityFleetObservabilityBaseFeatureState;
|
|
685
|
+
/** The base feature state of fleet scope log. */
|
|
686
|
+
scopeLog?:
|
|
687
|
+
FleetObservabilityFleetObservabilityBaseFeatureState;
|
|
688
|
+
}
|
|
689
|
+
interface FleetObservabilityFleetObservabilityMonitoringState {
|
|
690
|
+
/** The base feature state of fleet monitoring feature. */
|
|
691
|
+
state?:
|
|
692
|
+
FleetObservabilityFleetObservabilityBaseFeatureState;
|
|
693
|
+
}
|
|
694
|
+
interface FleetObservabilityLoggingConfig {
|
|
695
|
+
/** Specified if applying the default routing config to logs not specified in other configs. */
|
|
696
|
+
defaultConfig?:
|
|
697
|
+
FleetObservabilityRoutingConfig;
|
|
698
|
+
/** Specified if applying the routing config to all logs for all fleet scopes. */
|
|
699
|
+
fleetScopeLogsConfig?:
|
|
700
|
+
FleetObservabilityRoutingConfig;
|
|
657
701
|
}
|
|
658
702
|
// tslint:disable-next-line:no-empty-interface
|
|
659
703
|
interface FleetObservabilityMembershipSpec {
|
|
@@ -661,6 +705,11 @@ declare namespace gapi.client {
|
|
|
661
705
|
// tslint:disable-next-line:no-empty-interface
|
|
662
706
|
interface FleetObservabilityMembershipState {
|
|
663
707
|
}
|
|
708
|
+
interface FleetObservabilityRoutingConfig {
|
|
709
|
+
/** mode configures the logs routing mode. */
|
|
710
|
+
mode?:
|
|
711
|
+
string;
|
|
712
|
+
}
|
|
664
713
|
interface GenerateConnectManifestResponse {
|
|
665
714
|
/** The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade. */
|
|
666
715
|
manifest?:
|
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: 20230627
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -394,6 +394,14 @@ gapi.load('client', async () => {
|
|
|
394
394
|
appdevexperience: {
|
|
395
395
|
},
|
|
396
396
|
fleetobservability: {
|
|
397
|
+
loggingConfig: {
|
|
398
|
+
defaultConfig: {
|
|
399
|
+
mode: "Test string",
|
|
400
|
+
},
|
|
401
|
+
fleetScopeLogsConfig: {
|
|
402
|
+
mode: "Test string",
|
|
403
|
+
},
|
|
404
|
+
},
|
|
397
405
|
},
|
|
398
406
|
multiclusteringress: {
|
|
399
407
|
configMembership: "Test string",
|
|
@@ -407,6 +415,37 @@ gapi.load('client', async () => {
|
|
|
407
415
|
},
|
|
408
416
|
},
|
|
409
417
|
fleetobservability: {
|
|
418
|
+
logging: {
|
|
419
|
+
defaultLog: {
|
|
420
|
+
code: "Test string",
|
|
421
|
+
errors: [
|
|
422
|
+
{
|
|
423
|
+
code: "Test string",
|
|
424
|
+
description: "Test string",
|
|
425
|
+
}
|
|
426
|
+
],
|
|
427
|
+
},
|
|
428
|
+
scopeLog: {
|
|
429
|
+
code: "Test string",
|
|
430
|
+
errors: [
|
|
431
|
+
{
|
|
432
|
+
code: "Test string",
|
|
433
|
+
description: "Test string",
|
|
434
|
+
}
|
|
435
|
+
],
|
|
436
|
+
},
|
|
437
|
+
},
|
|
438
|
+
monitoring: {
|
|
439
|
+
state: {
|
|
440
|
+
code: "Test string",
|
|
441
|
+
errors: [
|
|
442
|
+
{
|
|
443
|
+
code: "Test string",
|
|
444
|
+
description: "Test string",
|
|
445
|
+
}
|
|
446
|
+
],
|
|
447
|
+
},
|
|
448
|
+
},
|
|
410
449
|
},
|
|
411
450
|
state: {
|
|
412
451
|
code: "Test string",
|
|
@@ -787,6 +826,14 @@ gapi.load('client', async () => {
|
|
|
787
826
|
appdevexperience: {
|
|
788
827
|
},
|
|
789
828
|
fleetobservability: {
|
|
829
|
+
loggingConfig: {
|
|
830
|
+
defaultConfig: {
|
|
831
|
+
mode: "Test string",
|
|
832
|
+
},
|
|
833
|
+
fleetScopeLogsConfig: {
|
|
834
|
+
mode: "Test string",
|
|
835
|
+
},
|
|
836
|
+
},
|
|
790
837
|
},
|
|
791
838
|
multiclusteringress: {
|
|
792
839
|
configMembership: "Test string",
|
|
@@ -800,6 +847,37 @@ gapi.load('client', async () => {
|
|
|
800
847
|
},
|
|
801
848
|
},
|
|
802
849
|
fleetobservability: {
|
|
850
|
+
logging: {
|
|
851
|
+
defaultLog: {
|
|
852
|
+
code: "Test string",
|
|
853
|
+
errors: [
|
|
854
|
+
{
|
|
855
|
+
code: "Test string",
|
|
856
|
+
description: "Test string",
|
|
857
|
+
}
|
|
858
|
+
],
|
|
859
|
+
},
|
|
860
|
+
scopeLog: {
|
|
861
|
+
code: "Test string",
|
|
862
|
+
errors: [
|
|
863
|
+
{
|
|
864
|
+
code: "Test string",
|
|
865
|
+
description: "Test string",
|
|
866
|
+
}
|
|
867
|
+
],
|
|
868
|
+
},
|
|
869
|
+
},
|
|
870
|
+
monitoring: {
|
|
871
|
+
state: {
|
|
872
|
+
code: "Test string",
|
|
873
|
+
errors: [
|
|
874
|
+
{
|
|
875
|
+
code: "Test string",
|
|
876
|
+
description: "Test string",
|
|
877
|
+
}
|
|
878
|
+
],
|
|
879
|
+
},
|
|
880
|
+
},
|
|
803
881
|
},
|
|
804
882
|
state: {
|
|
805
883
|
code: "Test string",
|