@maxim_mazurok/gapi.client.compute-alpha 0.0.20230516 → 0.0.20230606

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 (4) hide show
  1. package/index.d.ts +1242 -523
  2. package/package.json +1 -1
  3. package/readme.md +40 -0
  4. package/tests.ts +224 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.compute-alpha",
3
- "version": "0.0.20230516",
3
+ "version": "0.0.20230606",
4
4
  "description": "TypeScript typings for Compute Engine API alpha",
5
5
  "license": "MIT",
6
6
  "author": {
package/readme.md CHANGED
@@ -401,6 +401,16 @@ Updates the specified disk with the data included in the request. The update is
401
401
  */
402
402
  await gapi.client.compute.disks.update({ disk: "disk", project: "project", zone: "zone", });
403
403
 
404
+ /*
405
+ Get Zonal Disk Settings.
406
+ */
407
+ await gapi.client.compute.diskSettings.get({ project: "project", zone: "zone", });
408
+
409
+ /*
410
+ Patch Zonal Disk Settings
411
+ */
412
+ await gapi.client.compute.diskSettings.patch({ project: "project", zone: "zone", });
413
+
404
414
  /*
405
415
  Retrieves an aggregated list of disk types.
406
416
  */
@@ -1276,6 +1286,11 @@ Gets the access control policy for a resource. May be empty if no such policy or
1276
1286
  */
1277
1287
  await gapi.client.compute.instances.getIamPolicy({ project: "project", resource: "resource", zone: "zone", });
1278
1288
 
1289
+ /*
1290
+ Gets partner metadata of the specified instance and namespaces.
1291
+ */
1292
+ await gapi.client.compute.instances.getPartnerMetadata({ instance: "instance", project: "project", zone: "zone", });
1293
+
1279
1294
  /*
1280
1295
  Returns the screenshot from the specified instance.
1281
1296
  */
@@ -1311,6 +1326,11 @@ Retrieves a list of resources that refer to the VM instance specified in the req
1311
1326
  */
1312
1327
  await gapi.client.compute.instances.listReferrers({ instance: "instance", project: "project", zone: "zone", });
1313
1328
 
1329
+ /*
1330
+ Patches partner metadata of the specified instance.
1331
+ */
1332
+ await gapi.client.compute.instances.patchPartnerMetadata({ instance: "instance", project: "project", zone: "zone", });
1333
+
1314
1334
  /*
1315
1335
  Perform a manual maintenance on the instance.
1316
1336
  */
@@ -2681,6 +2701,16 @@ Update the specified disk with the data included in the request. Update is perfo
2681
2701
  */
2682
2702
  await gapi.client.compute.regionDisks.update({ disk: "disk", project: "project", region: "region", });
2683
2703
 
2704
+ /*
2705
+ Get Regional Disk Settings.
2706
+ */
2707
+ await gapi.client.compute.regionDiskSettings.get({ project: "project", region: "region", });
2708
+
2709
+ /*
2710
+ Patch Regional Disk Settings
2711
+ */
2712
+ await gapi.client.compute.regionDiskSettings.patch({ project: "project", region: "region", });
2713
+
2684
2714
  /*
2685
2715
  Returns the specified regional disk type.
2686
2716
  */
@@ -3421,6 +3451,11 @@ Runs static validation for the UrlMap. In particular, the tests of the provided
3421
3451
  */
3422
3452
  await gapi.client.compute.regionUrlMaps.validate({ project: "project", region: "region", urlMap: "urlMap", });
3423
3453
 
3454
+ /*
3455
+ Retrieves the list of Zone resources under the specific region available to the specified project.
3456
+ */
3457
+ await gapi.client.compute.regionZones.list({ project: "project", region: "region", });
3458
+
3424
3459
  /*
3425
3460
  Retrieves an aggregated list of reservations.
3426
3461
  */
@@ -3851,6 +3886,11 @@ Retrieves a list of storage pools contained within the specified zone.
3851
3886
  */
3852
3887
  await gapi.client.compute.storagePools.list({ project: "project", zone: "zone", });
3853
3888
 
3889
+ /*
3890
+ Lists the disks in a specified storage pool.
3891
+ */
3892
+ await gapi.client.compute.storagePools.listDisks({ project: "project", storagePool: "storagePool", zone: "zone", });
3893
+
3854
3894
  /*
3855
3895
  Sets the access control policy on the specified resource. Replaces any existing policy.
3856
3896
  */