@maxim_mazurok/gapi.client.gkehub-v1alpha 0.0.20231030 → 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 +43 -1
  2. package/package.json +1 -1
  3. package/tests.ts +31 -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: 20231030
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;
@@ -755,6 +761,11 @@ declare namespace gapi.client {
755
761
  type?:
756
762
  TypeMeta;
757
763
  }
764
+ interface DefaultClusterConfig {
765
+ /** Enable/Disable Security Posture features for the cluster. */
766
+ securityPostureConfig?:
767
+ SecurityPostureConfig;
768
+ }
758
769
  interface EdgeCluster {
759
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 */
760
771
  resourceLink?:
@@ -865,6 +876,9 @@ declare namespace gapi.client {
865
876
  /** Output only. When the Fleet was created. */
866
877
  createTime?:
867
878
  string;
879
+ /** Optional. The default cluster configurations to apply across the fleet. */
880
+ defaultClusterConfig?:
881
+ DefaultClusterConfig;
868
882
  /** Output only. When the Fleet was deleted. */
869
883
  deleteTime?:
870
884
  string;
@@ -1418,6 +1432,9 @@ declare namespace gapi.client {
1418
1432
  /** Anthos Service Mesh-specific spec */
1419
1433
  mesh?:
1420
1434
  ServiceMeshMembershipSpec;
1435
+ /** FNS Actuation membership spec */
1436
+ namespaceactuation?:
1437
+ any;
1421
1438
  /**
1422
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)
1423
1440
  * or setting to FLEET explicitly.
@@ -1450,6 +1467,9 @@ declare namespace gapi.client {
1450
1467
  /** Metering-specific state. */
1451
1468
  metering?:
1452
1469
  MeteringMembershipState;
1470
+ /** FNS Actuation membership state */
1471
+ namespaceactuation?:
1472
+ any;
1453
1473
  /** Policycontroller-specific state. */
1454
1474
  policycontroller?:
1455
1475
  PolicyControllerMembershipState;
@@ -1557,6 +1577,20 @@ declare namespace gapi.client {
1557
1577
  updateTime?:
1558
1578
  string;
1559
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
+ }
1560
1594
  interface NamespaceLifecycleState {
1561
1595
  /** Output only. The current state of the Namespace resource. */
1562
1596
  code?:
@@ -1945,6 +1979,14 @@ declare namespace gapi.client {
1945
1979
  code?:
1946
1980
  string;
1947
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
+ }
1948
1990
  interface ServiceMeshAnalysisMessage {
1949
1991
  /** A UI can combine these args with a template (based on message_base.type) to produce an internationalized message. */
1950
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.20231030",
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: 20231030
6
+ // Revision: 20231103
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -316,6 +316,8 @@ gapi.load('client', async () => {
316
316
  defaultChannel: "Test string",
317
317
  management: "Test string",
318
318
  },
319
+ namespaceactuation: {
320
+ },
319
321
  origin: {
320
322
  type: "Test string",
321
323
  },
@@ -604,6 +606,8 @@ gapi.load('client', async () => {
604
606
  lastMeasurementTime: "Test string",
605
607
  preciseLastMeasuredClusterVcpuCapacity: 42,
606
608
  },
609
+ namespaceactuation: {
610
+ },
607
611
  policycontroller: {
608
612
  componentStates: {
609
613
  A: {
@@ -797,6 +801,9 @@ gapi.load('client', async () => {
797
801
  billing: "Test string",
798
802
  configMembership: "Test string",
799
803
  },
804
+ namespaceactuation: {
805
+ actuationMode: "Test string",
806
+ },
800
807
  workloadcertificate: {
801
808
  defaultConfig: {
802
809
  certificateManagement: "Test string",
@@ -881,6 +888,8 @@ gapi.load('client', async () => {
881
888
  },
882
889
  },
883
890
  },
891
+ namespaceactuation: {
892
+ },
884
893
  servicemesh: {
885
894
  analysisMessages: [
886
895
  {
@@ -1203,6 +1212,8 @@ gapi.load('client', async () => {
1203
1212
  defaultChannel: "Test string",
1204
1213
  management: "Test string",
1205
1214
  },
1215
+ namespaceactuation: {
1216
+ },
1206
1217
  origin: {
1207
1218
  type: "Test string",
1208
1219
  },
@@ -1491,6 +1502,8 @@ gapi.load('client', async () => {
1491
1502
  lastMeasurementTime: "Test string",
1492
1503
  preciseLastMeasuredClusterVcpuCapacity: 42,
1493
1504
  },
1505
+ namespaceactuation: {
1506
+ },
1494
1507
  policycontroller: {
1495
1508
  componentStates: {
1496
1509
  A: {
@@ -1684,6 +1697,9 @@ gapi.load('client', async () => {
1684
1697
  billing: "Test string",
1685
1698
  configMembership: "Test string",
1686
1699
  },
1700
+ namespaceactuation: {
1701
+ actuationMode: "Test string",
1702
+ },
1687
1703
  workloadcertificate: {
1688
1704
  defaultConfig: {
1689
1705
  certificateManagement: "Test string",
@@ -1768,6 +1784,8 @@ gapi.load('client', async () => {
1768
1784
  },
1769
1785
  },
1770
1786
  },
1787
+ namespaceactuation: {
1788
+ },
1771
1789
  servicemesh: {
1772
1790
  analysisMessages: [
1773
1791
  {
@@ -1850,6 +1868,12 @@ gapi.load('client', async () => {
1850
1868
  parent: "Test string",
1851
1869
  }, {
1852
1870
  createTime: "Test string",
1871
+ defaultClusterConfig: {
1872
+ securityPostureConfig: {
1873
+ mode: "Test string",
1874
+ vulnerabilityMode: "Test string",
1875
+ },
1876
+ },
1853
1877
  deleteTime: "Test string",
1854
1878
  displayName: "Test string",
1855
1879
  labels: {
@@ -1882,6 +1906,12 @@ gapi.load('client', async () => {
1882
1906
  updateMask: "Test string",
1883
1907
  }, {
1884
1908
  createTime: "Test string",
1909
+ defaultClusterConfig: {
1910
+ securityPostureConfig: {
1911
+ mode: "Test string",
1912
+ vulnerabilityMode: "Test string",
1913
+ },
1914
+ },
1885
1915
  deleteTime: "Test string",
1886
1916
  displayName: "Test string",
1887
1917
  labels: {