@maxim_mazurok/gapi.client.gkehub-v1 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 +23 -1
  2. package/package.json +1 -1
  3. package/tests.ts +89 -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: 20231022
12
+ // Revision: 20231103
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -141,6 +141,12 @@ declare namespace gapi.client {
141
141
  /** Config Management-specific spec. */
142
142
  configmanagement?:
143
143
  ConfigManagementMembershipSpec;
144
+ /** Identity Service-specific spec. */
145
+ identityservice?:
146
+ IdentityServiceMembershipSpec;
147
+ /** Anthos Service Mesh-specific spec */
148
+ mesh?:
149
+ ServiceMeshMembershipSpec;
144
150
  /** Policy Controller spec. */
145
151
  policycontroller?:
146
152
  PolicyControllerMembershipSpec;
@@ -520,6 +526,11 @@ declare namespace gapi.client {
520
526
  type?:
521
527
  TypeMeta;
522
528
  }
529
+ interface DefaultClusterConfig {
530
+ /** Enable/Disable Security Posture features for the cluster. */
531
+ securityPostureConfig?:
532
+ SecurityPostureConfig;
533
+ }
523
534
  interface EdgeCluster {
524
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 */
525
536
  resourceLink?:
@@ -622,6 +633,9 @@ declare namespace gapi.client {
622
633
  /** Output only. When the Fleet was created. */
623
634
  createTime?:
624
635
  string;
636
+ /** Optional. The default cluster configurations to apply across the fleet. */
637
+ defaultClusterConfig?:
638
+ DefaultClusterConfig;
625
639
  /** Output only. When the Fleet was deleted. */
626
640
  deleteTime?:
627
641
  string;
@@ -1626,6 +1640,14 @@ declare namespace gapi.client {
1626
1640
  code?:
1627
1641
  string;
1628
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
+ }
1629
1651
  interface ServiceMeshControlPlaneManagement {
1630
1652
  /** Explanation of state. */
1631
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.20231022",
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: 20231022
6
+ // Revision: 20231103
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -107,6 +107,44 @@ gapi.load('client', async () => {
107
107
  },
108
108
  version: "Test string",
109
109
  },
110
+ identityservice: {
111
+ authMethods: [
112
+ {
113
+ azureadConfig: {
114
+ clientId: "Test string",
115
+ clientSecret: "Test string",
116
+ encryptedClientSecret: "Test string",
117
+ kubectlRedirectUri: "Test string",
118
+ tenant: "Test string",
119
+ },
120
+ googleConfig: {
121
+ disable: true,
122
+ },
123
+ name: "Test string",
124
+ oidcConfig: {
125
+ certificateAuthorityData: "Test string",
126
+ clientId: "Test string",
127
+ clientSecret: "Test string",
128
+ deployCloudConsoleProxy: true,
129
+ enableAccessToken: true,
130
+ encryptedClientSecret: "Test string",
131
+ extraParams: "Test string",
132
+ groupPrefix: "Test string",
133
+ groupsClaim: "Test string",
134
+ issuerUri: "Test string",
135
+ kubectlRedirectUri: "Test string",
136
+ scopes: "Test string",
137
+ userClaim: "Test string",
138
+ userPrefix: "Test string",
139
+ },
140
+ proxy: "Test string",
141
+ }
142
+ ],
143
+ },
144
+ mesh: {
145
+ controlPlane: "Test string",
146
+ management: "Test string",
147
+ },
110
148
  policycontroller: {
111
149
  policyControllerHubConfig: {
112
150
  auditIntervalSeconds: "Test string",
@@ -728,6 +766,44 @@ gapi.load('client', async () => {
728
766
  },
729
767
  version: "Test string",
730
768
  },
769
+ identityservice: {
770
+ authMethods: [
771
+ {
772
+ azureadConfig: {
773
+ clientId: "Test string",
774
+ clientSecret: "Test string",
775
+ encryptedClientSecret: "Test string",
776
+ kubectlRedirectUri: "Test string",
777
+ tenant: "Test string",
778
+ },
779
+ googleConfig: {
780
+ disable: true,
781
+ },
782
+ name: "Test string",
783
+ oidcConfig: {
784
+ certificateAuthorityData: "Test string",
785
+ clientId: "Test string",
786
+ clientSecret: "Test string",
787
+ deployCloudConsoleProxy: true,
788
+ enableAccessToken: true,
789
+ encryptedClientSecret: "Test string",
790
+ extraParams: "Test string",
791
+ groupPrefix: "Test string",
792
+ groupsClaim: "Test string",
793
+ issuerUri: "Test string",
794
+ kubectlRedirectUri: "Test string",
795
+ scopes: "Test string",
796
+ userClaim: "Test string",
797
+ userPrefix: "Test string",
798
+ },
799
+ proxy: "Test string",
800
+ }
801
+ ],
802
+ },
803
+ mesh: {
804
+ controlPlane: "Test string",
805
+ management: "Test string",
806
+ },
731
807
  policycontroller: {
732
808
  policyControllerHubConfig: {
733
809
  auditIntervalSeconds: "Test string",
@@ -1318,6 +1394,12 @@ gapi.load('client', async () => {
1318
1394
  parent: "Test string",
1319
1395
  }, {
1320
1396
  createTime: "Test string",
1397
+ defaultClusterConfig: {
1398
+ securityPostureConfig: {
1399
+ mode: "Test string",
1400
+ vulnerabilityMode: "Test string",
1401
+ },
1402
+ },
1321
1403
  deleteTime: "Test string",
1322
1404
  displayName: "Test string",
1323
1405
  labels: {
@@ -1350,6 +1432,12 @@ gapi.load('client', async () => {
1350
1432
  updateMask: "Test string",
1351
1433
  }, {
1352
1434
  createTime: "Test string",
1435
+ defaultClusterConfig: {
1436
+ securityPostureConfig: {
1437
+ mode: "Test string",
1438
+ vulnerabilityMode: "Test string",
1439
+ },
1440
+ },
1353
1441
  deleteTime: "Test string",
1354
1442
  displayName: "Test string",
1355
1443
  labels: {