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

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 +4 -1
  2. package/package.json +1 -1
  3. package/tests.ts +113 -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: 20231006
12
+ // Revision: 20231022
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -349,6 +349,9 @@ declare namespace gapi.client {
349
349
  /** Identity Service-specific spec. */
350
350
  identityservice?:
351
351
  IdentityServiceMembershipSpec;
352
+ /** Policy Controller spec. */
353
+ policycontroller?:
354
+ PolicyControllerMembershipSpec;
352
355
  }
353
356
  interface ConfigManagementBinauthzConfig {
354
357
  /** Whether binauthz is enabled in this cluster. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.gkehub-v1alpha",
3
- "version": "0.0.20231006",
3
+ "version": "0.0.20231022",
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: 20231006
6
+ // Revision: 20231022
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -144,6 +144,62 @@ gapi.load('client', async () => {
144
144
  }
145
145
  ],
146
146
  },
147
+ policycontroller: {
148
+ policyControllerHubConfig: {
149
+ auditIntervalSeconds: "Test string",
150
+ constraintViolationLimit: "Test string",
151
+ deploymentConfigs: {
152
+ A: {
153
+ containerResources: {
154
+ limits: {
155
+ cpu: "Test string",
156
+ memory: "Test string",
157
+ },
158
+ requests: {
159
+ cpu: "Test string",
160
+ memory: "Test string",
161
+ },
162
+ },
163
+ podAffinity: "Test string",
164
+ podAntiAffinity: true,
165
+ podTolerations: [
166
+ {
167
+ effect: "Test string",
168
+ key: "Test string",
169
+ operator: "Test string",
170
+ value: "Test string",
171
+ }
172
+ ],
173
+ replicaCount: "Test string",
174
+ }
175
+ },
176
+ exemptableNamespaces: [
177
+ "Test string"
178
+ ],
179
+ installSpec: "Test string",
180
+ logDeniesEnabled: true,
181
+ monitoring: {
182
+ backends: [
183
+ "Test string"
184
+ ],
185
+ },
186
+ mutationEnabled: true,
187
+ policyContent: {
188
+ bundles: {
189
+ A: {
190
+ exemptedNamespaces: [
191
+ "Test string"
192
+ ],
193
+ }
194
+ },
195
+ templateLibrary: {
196
+ installation: "Test string",
197
+ },
198
+ },
199
+ referentialRulesEnabled: true,
200
+ },
201
+ version: "Test string",
202
+ },
147
203
  },
148
204
  labels: {
149
205
  A: "Test string"
@@ -970,6 +1026,62 @@ gapi.load('client', async () => {
970
1026
  }
971
1027
  ],
972
1028
  },
1029
+ policycontroller: {
1030
+ policyControllerHubConfig: {
1031
+ auditIntervalSeconds: "Test string",
1032
+ constraintViolationLimit: "Test string",
1033
+ deploymentConfigs: {
1034
+ A: {
1035
+ containerResources: {
1036
+ limits: {
1037
+ cpu: "Test string",
1038
+ memory: "Test string",
1039
+ },
1040
+ requests: {
1041
+ cpu: "Test string",
1042
+ memory: "Test string",
1043
+ },
1044
+ },
1045
+ podAffinity: "Test string",
1046
+ podAntiAffinity: true,
1047
+ podTolerations: [
1048
+ {
1049
+ effect: "Test string",
1050
+ key: "Test string",
1051
+ operator: "Test string",
1052
+ value: "Test string",
1053
+ }
1054
+ ],
1055
+ replicaCount: "Test string",
1056
+ }
1057
+ },
1058
+ exemptableNamespaces: [
1059
+ "Test string"
1060
+ ],
1061
+ installSpec: "Test string",
1062
+ logDeniesEnabled: true,
1063
+ monitoring: {
1064
+ backends: [
1065
+ "Test string"
1066
+ ],
1067
+ },
1068
+ mutationEnabled: true,
1069
+ policyContent: {
1070
+ bundles: {
1071
+ A: {
1072
+ exemptedNamespaces: [
1073
+ "Test string"
1074
+ ],
1075
+ }
1076
+ },
1077
+ templateLibrary: {
1078
+ installation: "Test string",
1079
+ },
1080
+ },
1081
+ referentialRulesEnabled: true,
1082
+ },
1083
+ version: "Test string",
1084
+ },
973
1085
  },
974
1086
  labels: {
975
1087
  A: "Test string"