@maxim_mazurok/gapi.client.gkehub-v1 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 +17 -1
  2. package/package.json +1 -1
  3. package/tests.ts +13 -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: 20231030
12
+ // Revision: 20231103
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -526,6 +526,11 @@ declare namespace gapi.client {
526
526
  type?:
527
527
  TypeMeta;
528
528
  }
529
+ interface DefaultClusterConfig {
530
+ /** Enable/Disable Security Posture features for the cluster. */
531
+ securityPostureConfig?:
532
+ SecurityPostureConfig;
533
+ }
529
534
  interface EdgeCluster {
530
535
  /** 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 */
531
536
  resourceLink?:
@@ -628,6 +633,9 @@ declare namespace gapi.client {
628
633
  /** Output only. When the Fleet was created. */
629
634
  createTime?:
630
635
  string;
636
+ /** Optional. The default cluster configurations to apply across the fleet. */
637
+ defaultClusterConfig?:
638
+ DefaultClusterConfig;
631
639
  /** Output only. When the Fleet was deleted. */
632
640
  deleteTime?:
633
641
  string;
@@ -1632,6 +1640,14 @@ declare namespace gapi.client {
1632
1640
  code?:
1633
1641
  string;
1634
1642
  }
1643
+ interface SecurityPostureConfig {
1644
+ /** Sets which mode to use for Security Posture features. */
1645
+ mode?:
1646
+ string;
1647
+ /** Sets which mode to use for vulnerability scanning. */
1648
+ vulnerabilityMode?:
1649
+ string;
1650
+ }
1635
1651
  interface ServiceMeshControlPlaneManagement {
1636
1652
  /** Explanation of state. */
1637
1653
  details?:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.gkehub-v1",
3
- "version": "0.0.20231030",
3
+ "version": "0.0.20231103",
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: 20231030
6
+ // Revision: 20231103
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -1394,6 +1394,12 @@ gapi.load('client', async () => {
1394
1394
  parent: "Test string",
1395
1395
  }, {
1396
1396
  createTime: "Test string",
1397
+ defaultClusterConfig: {
1398
+ securityPostureConfig: {
1399
+ mode: "Test string",
1400
+ vulnerabilityMode: "Test string",
1401
+ },
1402
+ },
1397
1403
  deleteTime: "Test string",
1398
1404
  displayName: "Test string",
1399
1405
  labels: {
@@ -1426,6 +1432,12 @@ gapi.load('client', async () => {
1426
1432
  updateMask: "Test string",
1427
1433
  }, {
1428
1434
  createTime: "Test string",
1435
+ defaultClusterConfig: {
1436
+ securityPostureConfig: {
1437
+ mode: "Test string",
1438
+ vulnerabilityMode: "Test string",
1439
+ },
1440
+ },
1429
1441
  deleteTime: "Test string",
1430
1442
  displayName: "Test string",
1431
1443
  labels: {