@maxim_mazurok/gapi.client.compute-v1 0.1.20250909 → 0.1.20250916

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 +1461 -373
  2. package/package.json +1 -1
  3. package/readme.md +105 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-v1",
3
- "version": "0.1.20250909",
3
+ "version": "0.1.20250916",
4
4
  "description": "TypeScript typings for Compute Engine API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -260,6 +260,11 @@ Returns the specified BackendService resource.
260
260
  */
261
261
  await gapi.client.compute.backendServices.get({ backendService: "backendService", project: "project", });
262
262
 
263
+ /*
264
+ Returns effective security policies applied to this backend service.
265
+ */
266
+ await gapi.client.compute.backendServices.getEffectiveSecurityPolicies({ backendService: "backendService", project: "project", });
267
+
263
268
  /*
264
269
  Gets the most recent health check results for this BackendService. Example request body: { "group": "/zones/us-east1-b/instanceGroups/lb-backend-example" }
265
270
  */
@@ -2200,6 +2205,86 @@ Retrieves a list of node types available to the specified project.
2200
2205
  */
2201
2206
  await gapi.client.compute.nodeTypes.list({ project: "project", zone: "zone", });
2202
2207
 
2208
+ /*
2209
+ Inserts an association for the specified security policy. This has billing implications. Projects in the hierarchy with effective hierarchical security policies will be automatically enrolled into Cloud Armor Enterprise if not already enrolled. Use of this API to modify firewall policies is deprecated. Use firewallPolicies.addAssociation instead if possible.
2210
+ */
2211
+ await gapi.client.compute.organizationSecurityPolicies.addAssociation({ securityPolicy: "securityPolicy", });
2212
+
2213
+ /*
2214
+ Inserts a rule into a security policy.
2215
+ */
2216
+ await gapi.client.compute.organizationSecurityPolicies.addRule({ securityPolicy: "securityPolicy", });
2217
+
2218
+ /*
2219
+ Copies rules to the specified security policy. Use of this API to modify firewall policies is deprecated. Use firewallPolicies.copyRules instead.
2220
+ */
2221
+ await gapi.client.compute.organizationSecurityPolicies.copyRules({ securityPolicy: "securityPolicy", });
2222
+
2223
+ /*
2224
+ Deletes the specified policy. Use of this API to remove firewall policies is deprecated. Use firewallPolicies.delete instead.
2225
+ */
2226
+ await gapi.client.compute.organizationSecurityPolicies.delete({ securityPolicy: "securityPolicy", });
2227
+
2228
+ /*
2229
+ List all of the ordered rules present in a single specified policy. Use of this API to read firewall policies is deprecated. Use firewallPolicies.get instead.
2230
+ */
2231
+ await gapi.client.compute.organizationSecurityPolicies.get({ securityPolicy: "securityPolicy", });
2232
+
2233
+ /*
2234
+ Gets an association with the specified name. Use of this API to read firewall policies is deprecated. Use firewallPolicies.getAssociation instead if possible.
2235
+ */
2236
+ await gapi.client.compute.organizationSecurityPolicies.getAssociation({ securityPolicy: "securityPolicy", });
2237
+
2238
+ /*
2239
+ Gets a rule at the specified priority. Use of this API to read firewall policies is deprecated. Use firewallPolicies.getRule instead.
2240
+ */
2241
+ await gapi.client.compute.organizationSecurityPolicies.getRule({ securityPolicy: "securityPolicy", });
2242
+
2243
+ /*
2244
+ Creates a new policy in the specified project using the data included in the request. Use of this API to insert firewall policies is deprecated. Use firewallPolicies.insert instead.
2245
+ */
2246
+ await gapi.client.compute.organizationSecurityPolicies.insert({ });
2247
+
2248
+ /*
2249
+ List all the policies that have been configured for the specified project. Use of this API to read firewall policies is deprecated. Use firewallPolicies.list instead.
2250
+ */
2251
+ await gapi.client.compute.organizationSecurityPolicies.list({ });
2252
+
2253
+ /*
2254
+ Lists associations of a specified target, i.e., organization or folder. Use of this API to read firewall policies is deprecated. Use firewallPolicies.listAssociations instead if possible.
2255
+ */
2256
+ await gapi.client.compute.organizationSecurityPolicies.listAssociations({ });
2257
+
2258
+ /*
2259
+ Gets the current list of preconfigured Web Application Firewall (WAF) expressions.
2260
+ */
2261
+ await gapi.client.compute.organizationSecurityPolicies.listPreconfiguredExpressionSets({ });
2262
+
2263
+ /*
2264
+ Moves the specified security policy. Use of this API to modify firewall policies is deprecated. Use firewallPolicies.move instead.
2265
+ */
2266
+ await gapi.client.compute.organizationSecurityPolicies.move({ securityPolicy: "securityPolicy", });
2267
+
2268
+ /*
2269
+ Patches the specified policy with the data included in the request. Use of this API to modify firewall policies is deprecated. Use firewallPolicies.patch instead.
2270
+ */
2271
+ await gapi.client.compute.organizationSecurityPolicies.patch({ securityPolicy: "securityPolicy", });
2272
+
2273
+ /*
2274
+ Patches a rule at the specified priority. Use of this API to modify firewall policies is deprecated. Use firewallPolicies.patchRule instead.
2275
+ */
2276
+ await gapi.client.compute.organizationSecurityPolicies.patchRule({ securityPolicy: "securityPolicy", });
2277
+
2278
+ /*
2279
+ Removes an association for the specified security policy. Use of this API to modify firewall policies is deprecated. Use firewallPolicies.removeAssociation instead if possible.
2280
+ */
2281
+ await gapi.client.compute.organizationSecurityPolicies.removeAssociation({ securityPolicy: "securityPolicy", });
2282
+
2283
+ /*
2284
+ Deletes a rule at the specified priority.
2285
+ */
2286
+ await gapi.client.compute.organizationSecurityPolicies.removeRule({ securityPolicy: "securityPolicy", });
2287
+
2203
2288
  /*
2204
2289
  Retrieves an aggregated list of packetMirrorings. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
2205
2290
  */
@@ -2235,6 +2320,21 @@ Returns permissions that a caller has on the specified resource.
2235
2320
  */
2236
2321
  await gapi.client.compute.packetMirrorings.testIamPermissions({ project: "project", region: "region", resource: "resource", });
2237
2322
 
2323
+ /*
2324
+ Returns the details of the given PreviewFeature.
2325
+ */
2326
+ await gapi.client.compute.previewFeatures.get({ previewFeature: "previewFeature", project: "project", });
2327
+
2328
+ /*
2329
+ Returns the details of the given PreviewFeature.
2330
+ */
2331
+ await gapi.client.compute.previewFeatures.list({ project: "project", });
2332
+
2333
+ /*
2334
+ Patches the given PreviewFeature. This method is used to enable or disable a PreviewFeature.
2335
+ */
2336
+ await gapi.client.compute.previewFeatures.update({ previewFeature: "previewFeature", project: "project", });
2337
+
2238
2338
  /*
2239
2339
  Disable this project as a shared VPC host project.
2240
2340
  */
@@ -3325,6 +3425,11 @@ Allows customers to perform maintenance on a reservation subBlock
3325
3425
  */
3326
3426
  await gapi.client.compute.reservationSubBlocks.performMaintenance({ parentName: "parentName", project: "project", reservationSubBlock: "reservationSubBlock", zone: "zone", });
3327
3427
 
3428
+ /*
3429
+ Allows customers to report a faulty subBlock.
3430
+ */
3431
+ await gapi.client.compute.reservationSubBlocks.reportFaulty({ parentName: "parentName", project: "project", reservationSubBlock: "reservationSubBlock", zone: "zone", });
3432
+
3328
3433
  /*
3329
3434
  Retrieves an aggregated list of resource policies. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
3330
3435
  */