@maxim_mazurok/gapi.client.compute-alpha 0.0.20230201 → 0.0.20230210
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.
- package/index.d.ts +6 -5
- package/package.json +1 -1
- package/readme.md +1 -1
- package/tests.ts +2 -2
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://www.googleapis.com/discovery/v1/apis/compute/alpha/rest
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230210
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -4764,8 +4764,9 @@ declare namespace gapi.client {
|
|
|
4764
4764
|
/** Size of the image when restored onto a persistent disk (in GB). */
|
|
4765
4765
|
diskSizeGb?: string;
|
|
4766
4766
|
/**
|
|
4767
|
-
* The name of the image family to which this image belongs.
|
|
4768
|
-
*
|
|
4767
|
+
* The name of the image family to which this image belongs. The image family name can be from a publicly managed image family provided by Compute Engine, or from a custom image family
|
|
4768
|
+
* you create. For example, centos-stream-9 is a publicly available image family. For more information, see Image family best practices. When creating disks, you can specify an image
|
|
4769
|
+
* family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035.
|
|
4769
4770
|
*/
|
|
4770
4771
|
family?: string;
|
|
4771
4772
|
/** A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter. */
|
|
@@ -25870,7 +25871,7 @@ declare namespace gapi.client {
|
|
|
25870
25871
|
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
25871
25872
|
userIp?: string;
|
|
25872
25873
|
}): Request<Image>;
|
|
25873
|
-
/** Returns the latest image that is part of an image family and is not deprecated. */
|
|
25874
|
+
/** Returns the latest image that is part of an image family and is not deprecated. For more information on image families, see Public image families documentation. */
|
|
25874
25875
|
getFromFamily(request?: {
|
|
25875
25876
|
/** V1 error format. */
|
|
25876
25877
|
"$.xgafv"?: string;
|
|
@@ -25890,7 +25891,7 @@ declare namespace gapi.client {
|
|
|
25890
25891
|
oauth_token?: string;
|
|
25891
25892
|
/** Returns response with indentations and line breaks. */
|
|
25892
25893
|
prettyPrint?: boolean;
|
|
25893
|
-
/**
|
|
25894
|
+
/** The image project that the image belongs to. For example, to get a CentOS image, specify centos-cloud as the image project. */
|
|
25894
25895
|
project: string;
|
|
25895
25896
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
25896
25897
|
quotaUser?: string;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -962,7 +962,7 @@ Returns the specified image. Gets a list of available images by making a list()
|
|
|
962
962
|
await gapi.client.compute.images.get({ image: "image", project: "project", });
|
|
963
963
|
|
|
964
964
|
/*
|
|
965
|
-
Returns the latest image that is part of an image family and is not deprecated.
|
|
965
|
+
Returns the latest image that is part of an image family and is not deprecated. For more information on image families, see Public image families documentation.
|
|
966
966
|
*/
|
|
967
967
|
await gapi.client.compute.images.getFromFamily({ family: "family", project: "project", });
|
|
968
968
|
|
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:
|
|
6
|
+
// Revision: 20230210
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -5057,7 +5057,7 @@ gapi.load('client', async () => {
|
|
|
5057
5057
|
image: "Test string",
|
|
5058
5058
|
project: "Test string",
|
|
5059
5059
|
});
|
|
5060
|
-
/** Returns the latest image that is part of an image family and is not deprecated. */
|
|
5060
|
+
/** Returns the latest image that is part of an image family and is not deprecated. For more information on image families, see Public image families documentation. */
|
|
5061
5061
|
await gapi.client.compute.images.getFromFamily({
|
|
5062
5062
|
family: "Test string",
|
|
5063
5063
|
project: "Test string",
|