@maxim_mazurok/gapi.client.gkehub-v1 0.0.20230620 → 0.0.20230707

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 +67 -6
  2. package/package.json +1 -1
  3. package/tests.ts +101 -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: 20230620
12
+ // Revision: 20230707
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
- any;
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
- any;
134
+ FleetObservabilityFeatureState;
135
135
  /** Output only. The "running state" of the Feature in this Hub. */
136
136
  state?:
137
137
  FeatureState;
@@ -625,6 +625,9 @@ declare namespace gapi.client {
625
625
  */
626
626
  displayName?:
627
627
  string;
628
+ /** Optional. Labels for this Fleet. */
629
+ labels?:
630
+ { [P in string]: string };
628
631
  /**
629
632
  * Output only. The full, unique resource name of this fleet in the format of `projects/{project}/locations/{location}/fleets/{fleet}`. Each Google Cloud project can have at most one
630
633
  * fleet resource, named "default".
@@ -649,11 +652,55 @@ declare namespace gapi.client {
649
652
  code?:
650
653
  string;
651
654
  }
652
- // tslint:disable-next-line:no-empty-interface
655
+ interface FleetObservabilityFeatureError {
656
+ /** The code of the error. */
657
+ code?:
658
+ string;
659
+ /** A human-readable description of the current status. */
660
+ description?:
661
+ string;
662
+ }
653
663
  interface FleetObservabilityFeatureSpec {
664
+ /** Specified if fleet logging feature is enabled for the entire fleet. If UNSPECIFIED, fleet logging feature is disabled for the entire fleet. */
665
+ loggingConfig?:
666
+ FleetObservabilityLoggingConfig;
654
667
  }
655
- // tslint:disable-next-line:no-empty-interface
656
668
  interface FleetObservabilityFeatureState {
669
+ /** The feature state of default logging. */
670
+ logging?:
671
+ FleetObservabilityFleetObservabilityLoggingState;
672
+ /** The feature state of fleet monitoring. */
673
+ monitoring?:
674
+ FleetObservabilityFleetObservabilityMonitoringState;
675
+ }
676
+ interface FleetObservabilityFleetObservabilityBaseFeatureState {
677
+ /** The high-level, machine-readable status of this Feature. */
678
+ code?:
679
+ string;
680
+ /** Errors after reconciling the monitoring and logging feature if the code is not OK. */
681
+ errors?:
682
+ FleetObservabilityFeatureError[];
683
+ }
684
+ interface FleetObservabilityFleetObservabilityLoggingState {
685
+ /** The base feature state of fleet default log. */
686
+ defaultLog?:
687
+ FleetObservabilityFleetObservabilityBaseFeatureState;
688
+ /** The base feature state of fleet scope log. */
689
+ scopeLog?:
690
+ FleetObservabilityFleetObservabilityBaseFeatureState;
691
+ }
692
+ interface FleetObservabilityFleetObservabilityMonitoringState {
693
+ /** The base feature state of fleet monitoring feature. */
694
+ state?:
695
+ FleetObservabilityFleetObservabilityBaseFeatureState;
696
+ }
697
+ interface FleetObservabilityLoggingConfig {
698
+ /** Specified if applying the default routing config to logs not specified in other configs. */
699
+ defaultConfig?:
700
+ FleetObservabilityRoutingConfig;
701
+ /** Specified if applying the routing config to all logs for all fleet scopes. */
702
+ fleetScopeLogsConfig?:
703
+ FleetObservabilityRoutingConfig;
657
704
  }
658
705
  // tslint:disable-next-line:no-empty-interface
659
706
  interface FleetObservabilityMembershipSpec {
@@ -661,6 +708,11 @@ declare namespace gapi.client {
661
708
  // tslint:disable-next-line:no-empty-interface
662
709
  interface FleetObservabilityMembershipState {
663
710
  }
711
+ interface FleetObservabilityRoutingConfig {
712
+ /** mode configures the logs routing mode. */
713
+ mode?:
714
+ string;
715
+ }
664
716
  interface GenerateConnectManifestResponse {
665
717
  /** The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade. */
666
718
  manifest?:
@@ -695,7 +747,7 @@ declare namespace gapi.client {
695
747
  /** AzureAD specific Configuration. */
696
748
  azureadConfig?:
697
749
  IdentityServiceAzureADConfig;
698
- /** GoogleConfig specific configuration */
750
+ /** GoogleConfig specific configuration. */
699
751
  googleConfig?:
700
752
  IdentityServiceGoogleConfig;
701
753
  /** Identifier for auth config. */
@@ -724,6 +776,9 @@ declare namespace gapi.client {
724
776
  /** Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant. */
725
777
  tenant?:
726
778
  string;
779
+ /** Optional. Claim in the AzureAD ID Token that holds the user details. */
780
+ userClaim?:
781
+ string;
727
782
  }
728
783
  interface IdentityServiceGoogleConfig {
729
784
  /** Disable automatic configuration of Google Plugin on supported platforms. */
@@ -988,6 +1043,9 @@ declare namespace gapi.client {
988
1043
  /** Whether the membershipbinding is Fleet-wide; true means that this Membership should be bound to all Namespaces in this entire Fleet. */
989
1044
  fleet?:
990
1045
  boolean;
1046
+ /** Optional. Labels for this MembershipBinding. */
1047
+ labels?:
1048
+ { [P in string]: string };
991
1049
  /** The resource name for the membershipbinding itself `projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}` */
992
1050
  name?:
993
1051
  string;
@@ -1280,6 +1338,9 @@ declare namespace gapi.client {
1280
1338
  /** Output only. When the scope was deleted. */
1281
1339
  deleteTime?:
1282
1340
  string;
1341
+ /** Optional. Labels for this Scope. */
1342
+ labels?:
1343
+ { [P in string]: string };
1283
1344
  /** The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}` */
1284
1345
  name?:
1285
1346
  string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.gkehub-v1",
3
- "version": "0.0.20230620",
3
+ "version": "0.0.20230707",
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: 20230620
6
+ // Revision: 20230707
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -124,6 +124,7 @@ gapi.load('client', async () => {
124
124
  encryptedClientSecret: "Test string",
125
125
  kubectlRedirectUri: "Test string",
126
126
  tenant: "Test string",
127
+ userClaim: "Test string",
127
128
  },
128
129
  googleConfig: {
129
130
  disable: true,
@@ -319,6 +320,7 @@ gapi.load('client', async () => {
319
320
  encryptedClientSecret: "Test string",
320
321
  kubectlRedirectUri: "Test string",
321
322
  tenant: "Test string",
323
+ userClaim: "Test string",
322
324
  },
323
325
  googleConfig: {
324
326
  disable: true,
@@ -394,6 +396,14 @@ gapi.load('client', async () => {
394
396
  appdevexperience: {
395
397
  },
396
398
  fleetobservability: {
399
+ loggingConfig: {
400
+ defaultConfig: {
401
+ mode: "Test string",
402
+ },
403
+ fleetScopeLogsConfig: {
404
+ mode: "Test string",
405
+ },
406
+ },
397
407
  },
398
408
  multiclusteringress: {
399
409
  configMembership: "Test string",
@@ -407,6 +417,37 @@ gapi.load('client', async () => {
407
417
  },
408
418
  },
409
419
  fleetobservability: {
420
+ logging: {
421
+ defaultLog: {
422
+ code: "Test string",
423
+ errors: [
424
+ {
425
+ code: "Test string",
426
+ description: "Test string",
427
+ }
428
+ ],
429
+ },
430
+ scopeLog: {
431
+ code: "Test string",
432
+ errors: [
433
+ {
434
+ code: "Test string",
435
+ description: "Test string",
436
+ }
437
+ ],
438
+ },
439
+ },
440
+ monitoring: {
441
+ state: {
442
+ code: "Test string",
443
+ errors: [
444
+ {
445
+ code: "Test string",
446
+ description: "Test string",
447
+ }
448
+ ],
449
+ },
450
+ },
410
451
  },
411
452
  state: {
412
453
  code: "Test string",
@@ -517,6 +558,7 @@ gapi.load('client', async () => {
517
558
  encryptedClientSecret: "Test string",
518
559
  kubectlRedirectUri: "Test string",
519
560
  tenant: "Test string",
561
+ userClaim: "Test string",
520
562
  },
521
563
  googleConfig: {
522
564
  disable: true,
@@ -712,6 +754,7 @@ gapi.load('client', async () => {
712
754
  encryptedClientSecret: "Test string",
713
755
  kubectlRedirectUri: "Test string",
714
756
  tenant: "Test string",
757
+ userClaim: "Test string",
715
758
  },
716
759
  googleConfig: {
717
760
  disable: true,
@@ -787,6 +830,14 @@ gapi.load('client', async () => {
787
830
  appdevexperience: {
788
831
  },
789
832
  fleetobservability: {
833
+ loggingConfig: {
834
+ defaultConfig: {
835
+ mode: "Test string",
836
+ },
837
+ fleetScopeLogsConfig: {
838
+ mode: "Test string",
839
+ },
840
+ },
790
841
  },
791
842
  multiclusteringress: {
792
843
  configMembership: "Test string",
@@ -800,6 +851,37 @@ gapi.load('client', async () => {
800
851
  },
801
852
  },
802
853
  fleetobservability: {
854
+ logging: {
855
+ defaultLog: {
856
+ code: "Test string",
857
+ errors: [
858
+ {
859
+ code: "Test string",
860
+ description: "Test string",
861
+ }
862
+ ],
863
+ },
864
+ scopeLog: {
865
+ code: "Test string",
866
+ errors: [
867
+ {
868
+ code: "Test string",
869
+ description: "Test string",
870
+ }
871
+ ],
872
+ },
873
+ },
874
+ monitoring: {
875
+ state: {
876
+ code: "Test string",
877
+ errors: [
878
+ {
879
+ code: "Test string",
880
+ description: "Test string",
881
+ }
882
+ ],
883
+ },
884
+ },
803
885
  },
804
886
  state: {
805
887
  code: "Test string",
@@ -864,6 +946,9 @@ gapi.load('client', async () => {
864
946
  createTime: "Test string",
865
947
  deleteTime: "Test string",
866
948
  displayName: "Test string",
949
+ labels: {
950
+ A: "Test string"
951
+ },
867
952
  name: "Test string",
868
953
  state: {
869
954
  code: "Test string",
@@ -893,6 +978,9 @@ gapi.load('client', async () => {
893
978
  createTime: "Test string",
894
979
  deleteTime: "Test string",
895
980
  displayName: "Test string",
981
+ labels: {
982
+ A: "Test string"
983
+ },
896
984
  name: "Test string",
897
985
  state: {
898
986
  code: "Test string",
@@ -1168,6 +1256,9 @@ gapi.load('client', async () => {
1168
1256
  createTime: "Test string",
1169
1257
  deleteTime: "Test string",
1170
1258
  fleet: true,
1259
+ labels: {
1260
+ A: "Test string"
1261
+ },
1171
1262
  name: "Test string",
1172
1263
  scope: "Test string",
1173
1264
  state: {
@@ -1199,6 +1290,9 @@ gapi.load('client', async () => {
1199
1290
  createTime: "Test string",
1200
1291
  deleteTime: "Test string",
1201
1292
  fleet: true,
1293
+ labels: {
1294
+ A: "Test string"
1295
+ },
1202
1296
  name: "Test string",
1203
1297
  scope: "Test string",
1204
1298
  state: {
@@ -1243,6 +1337,9 @@ gapi.load('client', async () => {
1243
1337
  allMemberships: true,
1244
1338
  createTime: "Test string",
1245
1339
  deleteTime: "Test string",
1340
+ labels: {
1341
+ A: "Test string"
1342
+ },
1246
1343
  name: "Test string",
1247
1344
  state: {
1248
1345
  code: "Test string",
@@ -1277,6 +1374,9 @@ gapi.load('client', async () => {
1277
1374
  allMemberships: true,
1278
1375
  createTime: "Test string",
1279
1376
  deleteTime: "Test string",
1377
+ labels: {
1378
+ A: "Test string"
1379
+ },
1280
1380
  name: "Test string",
1281
1381
  state: {
1282
1382
  code: "Test string",