@maxim_mazurok/gapi.client.gkehub-v1alpha 0.0.20231022 → 0.0.20231103

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 +46 -1
  2. package/package.json +1 -1
  3. package/tests.ts +41 -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=v1alpha
12
- // Revision: 20231022
12
+ // Revision: 20231103
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -321,6 +321,9 @@ declare namespace gapi.client {
321
321
  /** Multicluster Ingress-specific spec. */
322
322
  multiclusteringress?:
323
323
  MultiClusterIngressFeatureSpec;
324
+ /** Namespace Actuation feature spec */
325
+ namespaceactuation?:
326
+ NamespaceActuationFeatureSpec;
324
327
  /** Workload Certificate spec. */
325
328
  workloadcertificate?:
326
329
  FeatureSpec;
@@ -335,6 +338,9 @@ declare namespace gapi.client {
335
338
  /** FleetObservability feature state. */
336
339
  fleetobservability?:
337
340
  FleetObservabilityFeatureState;
341
+ /** Namespace Actuation feature state. */
342
+ namespaceactuation?:
343
+ any;
338
344
  /** Service Mesh-specific state. */
339
345
  servicemesh?:
340
346
  ServiceMeshFeatureState;
@@ -349,6 +355,9 @@ declare namespace gapi.client {
349
355
  /** Identity Service-specific spec. */
350
356
  identityservice?:
351
357
  IdentityServiceMembershipSpec;
358
+ /** Anthos Service Mesh-specific spec */
359
+ mesh?:
360
+ ServiceMeshMembershipSpec;
352
361
  /** Policy Controller spec. */
353
362
  policycontroller?:
354
363
  PolicyControllerMembershipSpec;
@@ -752,6 +761,11 @@ declare namespace gapi.client {
752
761
  type?:
753
762
  TypeMeta;
754
763
  }
764
+ interface DefaultClusterConfig {
765
+ /** Enable/Disable Security Posture features for the cluster. */
766
+ securityPostureConfig?:
767
+ SecurityPostureConfig;
768
+ }
755
769
  interface EdgeCluster {
756
770
  /** Immutable. Self-link of the Google Cloud resource for the Edge Cluster. For example: //edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster */
757
771
  resourceLink?:
@@ -862,6 +876,9 @@ declare namespace gapi.client {
862
876
  /** Output only. When the Fleet was created. */
863
877
  createTime?:
864
878
  string;
879
+ /** Optional. The default cluster configurations to apply across the fleet. */
880
+ defaultClusterConfig?:
881
+ DefaultClusterConfig;
865
882
  /** Output only. When the Fleet was deleted. */
866
883
  deleteTime?:
867
884
  string;
@@ -1415,6 +1432,9 @@ declare namespace gapi.client {
1415
1432
  /** Anthos Service Mesh-specific spec */
1416
1433
  mesh?:
1417
1434
  ServiceMeshMembershipSpec;
1435
+ /** FNS Actuation membership spec */
1436
+ namespaceactuation?:
1437
+ any;
1418
1438
  /**
1419
1439
  * Whether this per-Membership spec was inherited from a fleet-level default. This field can be updated by users by either overriding a Membership config (updated to USER implicitly)
1420
1440
  * or setting to FLEET explicitly.
@@ -1447,6 +1467,9 @@ declare namespace gapi.client {
1447
1467
  /** Metering-specific state. */
1448
1468
  metering?:
1449
1469
  MeteringMembershipState;
1470
+ /** FNS Actuation membership state */
1471
+ namespaceactuation?:
1472
+ any;
1450
1473
  /** Policycontroller-specific state. */
1451
1474
  policycontroller?:
1452
1475
  PolicyControllerMembershipState;
@@ -1554,6 +1577,20 @@ declare namespace gapi.client {
1554
1577
  updateTime?:
1555
1578
  string;
1556
1579
  }
1580
+ interface NamespaceActuationFeatureSpec {
1581
+ /** actuation_mode controls the behavior of the controller */
1582
+ actuationMode?:
1583
+ string;
1584
+ }
1585
+ // tslint:disable-next-line:no-empty-interface
1586
+ interface NamespaceActuationFeatureState {
1587
+ }
1588
+ // tslint:disable-next-line:no-empty-interface
1589
+ interface NamespaceActuationMembershipSpec {
1590
+ }
1591
+ // tslint:disable-next-line:no-empty-interface
1592
+ interface NamespaceActuationMembershipState {
1593
+ }
1557
1594
  interface NamespaceLifecycleState {
1558
1595
  /** Output only. The current state of the Namespace resource. */
1559
1596
  code?:
@@ -1942,6 +1979,14 @@ declare namespace gapi.client {
1942
1979
  code?:
1943
1980
  string;
1944
1981
  }
1982
+ interface SecurityPostureConfig {
1983
+ /** Sets which mode to use for Security Posture features. */
1984
+ mode?:
1985
+ string;
1986
+ /** Sets which mode to use for vulnerability scanning. */
1987
+ vulnerabilityMode?:
1988
+ string;
1989
+ }
1945
1990
  interface ServiceMeshAnalysisMessage {
1946
1991
  /** A UI can combine these args with a template (based on message_base.type) to produce an internationalized message. */
1947
1992
  args?:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.gkehub-v1alpha",
3
- "version": "0.0.20231022",
3
+ "version": "0.0.20231103",
4
4
  "description": "TypeScript typings for GKE Hub API v1alpha",
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: 20231022
6
+ // Revision: 20231103
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -144,6 +144,11 @@ gapi.load('client', async () => {
144
144
  }
145
145
  ],
146
146
  },
147
+ mesh: {
148
+ controlPlane: "Test string",
149
+ defaultChannel: "Test string",
150
+ management: "Test string",
151
+ },
147
152
  policycontroller: {
148
153
  policyControllerHubConfig: {
149
154
  auditIntervalSeconds: "Test string",
@@ -311,6 +316,8 @@ gapi.load('client', async () => {
311
316
  defaultChannel: "Test string",
312
317
  management: "Test string",
313
318
  },
319
+ namespaceactuation: {
320
+ },
314
321
  origin: {
315
322
  type: "Test string",
316
323
  },
@@ -599,6 +606,8 @@ gapi.load('client', async () => {
599
606
  lastMeasurementTime: "Test string",
600
607
  preciseLastMeasuredClusterVcpuCapacity: 42,
601
608
  },
609
+ namespaceactuation: {
610
+ },
602
611
  policycontroller: {
603
612
  componentStates: {
604
613
  A: {
@@ -792,6 +801,9 @@ gapi.load('client', async () => {
792
801
  billing: "Test string",
793
802
  configMembership: "Test string",
794
803
  },
804
+ namespaceactuation: {
805
+ actuationMode: "Test string",
806
+ },
795
807
  workloadcertificate: {
796
808
  defaultConfig: {
797
809
  certificateManagement: "Test string",
@@ -876,6 +888,8 @@ gapi.load('client', async () => {
876
888
  },
877
889
  },
878
890
  },
891
+ namespaceactuation: {
892
+ },
879
893
  servicemesh: {
880
894
  analysisMessages: [
881
895
  {
@@ -1026,6 +1040,11 @@ gapi.load('client', async () => {
1026
1040
  }
1027
1041
  ],
1028
1042
  },
1043
+ mesh: {
1044
+ controlPlane: "Test string",
1045
+ defaultChannel: "Test string",
1046
+ management: "Test string",
1047
+ },
1029
1048
  policycontroller: {
1030
1049
  policyControllerHubConfig: {
1031
1050
  auditIntervalSeconds: "Test string",
@@ -1193,6 +1212,8 @@ gapi.load('client', async () => {
1193
1212
  defaultChannel: "Test string",
1194
1213
  management: "Test string",
1195
1214
  },
1215
+ namespaceactuation: {
1216
+ },
1196
1217
  origin: {
1197
1218
  type: "Test string",
1198
1219
  },
@@ -1481,6 +1502,8 @@ gapi.load('client', async () => {
1481
1502
  lastMeasurementTime: "Test string",
1482
1503
  preciseLastMeasuredClusterVcpuCapacity: 42,
1483
1504
  },
1505
+ namespaceactuation: {
1506
+ },
1484
1507
  policycontroller: {
1485
1508
  componentStates: {
1486
1509
  A: {
@@ -1674,6 +1697,9 @@ gapi.load('client', async () => {
1674
1697
  billing: "Test string",
1675
1698
  configMembership: "Test string",
1676
1699
  },
1700
+ namespaceactuation: {
1701
+ actuationMode: "Test string",
1702
+ },
1677
1703
  workloadcertificate: {
1678
1704
  defaultConfig: {
1679
1705
  certificateManagement: "Test string",
@@ -1758,6 +1784,8 @@ gapi.load('client', async () => {
1758
1784
  },
1759
1785
  },
1760
1786
  },
1787
+ namespaceactuation: {
1788
+ },
1761
1789
  servicemesh: {
1762
1790
  analysisMessages: [
1763
1791
  {
@@ -1840,6 +1868,12 @@ gapi.load('client', async () => {
1840
1868
  parent: "Test string",
1841
1869
  }, {
1842
1870
  createTime: "Test string",
1871
+ defaultClusterConfig: {
1872
+ securityPostureConfig: {
1873
+ mode: "Test string",
1874
+ vulnerabilityMode: "Test string",
1875
+ },
1876
+ },
1843
1877
  deleteTime: "Test string",
1844
1878
  displayName: "Test string",
1845
1879
  labels: {
@@ -1872,6 +1906,12 @@ gapi.load('client', async () => {
1872
1906
  updateMask: "Test string",
1873
1907
  }, {
1874
1908
  createTime: "Test string",
1909
+ defaultClusterConfig: {
1910
+ securityPostureConfig: {
1911
+ mode: "Test string",
1912
+ vulnerabilityMode: "Test string",
1913
+ },
1914
+ },
1875
1915
  deleteTime: "Test string",
1876
1916
  displayName: "Test string",
1877
1917
  labels: {