@maxim_mazurok/gapi.client.compute-alpha 0.0.20240507 → 0.0.20240521
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 +19 -9
- package/package.json +1 -1
- package/readme.md +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: 20240521
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -359,7 +359,7 @@ declare namespace gapi.client {
|
|
|
359
359
|
boot?: boolean;
|
|
360
360
|
/** Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks. */
|
|
361
361
|
deviceName?: string;
|
|
362
|
-
/** Encrypts or decrypts a disk using a customer-supplied encryption key. If you are creating a new disk, this field encrypts the new disk using an encryption key that you provide. If you are attaching an existing disk that is already encrypted, this field decrypts the disk using the customer-supplied encryption key. If you encrypt a disk using a customer-supplied key, you must provide the same key again when you attempt to use this resource at a later time. For example, you must provide the key when you create a snapshot or an image from the disk or when you attach the disk to a virtual machine instance. If you do not provide an encryption key, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the disk later. Instance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group. */
|
|
362
|
+
/** Encrypts or decrypts a disk using a customer-supplied encryption key. If you are creating a new disk, this field encrypts the new disk using an encryption key that you provide. If you are attaching an existing disk that is already encrypted, this field decrypts the disk using the customer-supplied encryption key. If you encrypt a disk using a customer-supplied key, you must provide the same key again when you attempt to use this resource at a later time. For example, you must provide the key when you create a snapshot or an image from the disk or when you attach the disk to a virtual machine instance. If you do not provide an encryption key, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the disk later. Note: Instance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group. You cannot create VMs that have disks with customer-supplied keys using the bulk insert method. */
|
|
363
363
|
diskEncryptionKey?: CustomerEncryptionKey;
|
|
364
364
|
/** The size of the disk in GB. */
|
|
365
365
|
diskSizeGb?: string;
|
|
@@ -385,7 +385,7 @@ declare namespace gapi.client {
|
|
|
385
385
|
savedState?: string;
|
|
386
386
|
/** [Output Only] shielded vm initial state stored on disk */
|
|
387
387
|
shieldedInstanceInitialState?: InitialStateConfig;
|
|
388
|
-
/** Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required
|
|
388
|
+
/** Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance boot disk, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required. If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. Note that for InstanceTemplate, specify the disk name for zonal disk, and the URL for regional disk. */
|
|
389
389
|
source?: string;
|
|
390
390
|
/** Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT. */
|
|
391
391
|
type?: string;
|
|
@@ -429,13 +429,13 @@ declare namespace gapi.client {
|
|
|
429
429
|
resourceManagerTags?: {[P in string]: string};
|
|
430
430
|
/** Resource policies applied to this disk for automatic snapshot creations. Specified using the full or partial URL. For instance template, specify only the resource policy name. */
|
|
431
431
|
resourcePolicies?: string[];
|
|
432
|
-
/** The source image to create this disk. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required
|
|
432
|
+
/** The source image to create this disk. When creating a new instance boot disk, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family If the source image is deleted later, this field will not be set. */
|
|
433
433
|
sourceImage?: string;
|
|
434
434
|
/** The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. InstanceTemplate and InstancePropertiesPatch do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source images are encrypted with your own keys. */
|
|
435
435
|
sourceImageEncryptionKey?: CustomerEncryptionKey;
|
|
436
|
-
/** The source instant-snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot or initializeParams.sourceInstantSnapshot initializeParams.sourceImage or disks.source is required
|
|
436
|
+
/** The source instant-snapshot to create this disk. When creating a new instance boot disk, one of initializeParams.sourceSnapshot or initializeParams.sourceInstantSnapshot initializeParams.sourceImage or disks.source is required. To create a disk with a snapshot that you created, specify the snapshot name in the following format: us-central1-a/instantSnapshots/my-backup If the source instant-snapshot is deleted later, this field will not be set. */
|
|
437
437
|
sourceInstantSnapshot?: string;
|
|
438
|
-
/** The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required
|
|
438
|
+
/** The source snapshot to create this disk. When creating a new instance boot disk, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set. */
|
|
439
439
|
sourceSnapshot?: string;
|
|
440
440
|
/** The customer-supplied encryption key of the source snapshot. */
|
|
441
441
|
sourceSnapshotEncryptionKey?: CustomerEncryptionKey;
|
|
@@ -2296,6 +2296,8 @@ declare namespace gapi.client {
|
|
|
2296
2296
|
destFqdns?: string[];
|
|
2297
2297
|
/** CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000. */
|
|
2298
2298
|
destIpRanges?: string[];
|
|
2299
|
+
/** Network scope of the traffic destination. */
|
|
2300
|
+
destNetworkScope?: string;
|
|
2299
2301
|
/** Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000. */
|
|
2300
2302
|
destRegionCodes?: string[];
|
|
2301
2303
|
/** Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination. */
|
|
@@ -2308,6 +2310,10 @@ declare namespace gapi.client {
|
|
|
2308
2310
|
srcFqdns?: string[];
|
|
2309
2311
|
/** CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000. */
|
|
2310
2312
|
srcIpRanges?: string[];
|
|
2313
|
+
/** Networks of the traffic source. It can be either a full or partial url. */
|
|
2314
|
+
srcNetworks?: string[];
|
|
2315
|
+
/** Network scope of the traffic source. */
|
|
2316
|
+
srcNetworkScope?: string;
|
|
2311
2317
|
/** Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000. */
|
|
2312
2318
|
srcRegionCodes?: string[];
|
|
2313
2319
|
/** List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256. */
|
|
@@ -3757,6 +3763,10 @@ declare namespace gapi.client {
|
|
|
3757
3763
|
params?: InstanceGroupManagerParams;
|
|
3758
3764
|
/** [Output Only] The URL of the region where the managed instance group resides (for regional resources). */
|
|
3759
3765
|
region?: string;
|
|
3766
|
+
/** [Output Only] Reserved for future use. */
|
|
3767
|
+
satisfiesPzi?: boolean;
|
|
3768
|
+
/** [Output Only] Reserved for future use. */
|
|
3769
|
+
satisfiesPzs?: boolean;
|
|
3760
3770
|
/** [Output Only] The URL for this managed instance group. The server defines this URL. */
|
|
3761
3771
|
selfLink?: string;
|
|
3762
3772
|
/** [Output Only] Server-defined URL for this resource with the resource id. */
|
|
@@ -4398,7 +4408,7 @@ declare namespace gapi.client {
|
|
|
4398
4408
|
keyRevocationActionType?: string;
|
|
4399
4409
|
/** Labels to apply to instances that are created from these properties. */
|
|
4400
4410
|
labels?: {[P in string]: string};
|
|
4401
|
-
/** The machine type to use for instances that are created from these properties. */
|
|
4411
|
+
/** The machine type to use for instances that are created from these properties. This field only accept machine types name. e.g. n2-standard-4 and does not accept machine type full or partial url. e.g. projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4 will throw INTERNAL_ERROR. */
|
|
4402
4412
|
machineType?: string;
|
|
4403
4413
|
/** The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information. */
|
|
4404
4414
|
metadata?: Metadata;
|
|
@@ -32976,7 +32986,7 @@ declare namespace gapi.client {
|
|
|
32976
32986
|
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
32977
32987
|
userIp?: string;
|
|
32978
32988
|
}): Request<ExchangedPeeringRoutesList>;
|
|
32979
|
-
/** Patches the specified network with the data included in the request. Only
|
|
32989
|
+
/** Patches the specified network with the data included in the request. Only routingConfig can be modified. */
|
|
32980
32990
|
patch(request: {
|
|
32981
32991
|
/** V1 error format. */
|
|
32982
32992
|
'$.xgafv'?: string;
|
|
@@ -44638,7 +44648,7 @@ declare namespace gapi.client {
|
|
|
44638
44648
|
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
44639
44649
|
userIp?: string;
|
|
44640
44650
|
}): Request<Region>;
|
|
44641
|
-
/** Retrieves the list of region resources available to the specified project. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `items.quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. */
|
|
44651
|
+
/** Retrieves the list of region resources available to the specified project. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `items.quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. This method fails if the quota information is unavailable for the region and if the organization policy constraint compute.requireBasicQuotaInResponse is enforced. This constraint, when enforced, disables the fail-open behaviour when quota information (the `items.quotas` field) is unavailable for the region. It is recommended to use the default setting for the constraint unless your application requires the fail-closed behaviour for this method. */
|
|
44642
44652
|
list(request?: {
|
|
44643
44653
|
/** V1 error format. */
|
|
44644
44654
|
'$.xgafv'?: string;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -2141,7 +2141,7 @@ Lists the peering routes exchanged over peering connection.
|
|
|
2141
2141
|
await gapi.client.compute.networks.listPeeringRoutes({ network: "network", project: "project", });
|
|
2142
2142
|
|
|
2143
2143
|
/*
|
|
2144
|
-
Patches the specified network with the data included in the request. Only
|
|
2144
|
+
Patches the specified network with the data included in the request. Only routingConfig can be modified.
|
|
2145
2145
|
*/
|
|
2146
2146
|
await gapi.client.compute.networks.patch({ network: "network", project: "project", });
|
|
2147
2147
|
|
|
@@ -3281,7 +3281,7 @@ Returns the specified Region resource. To decrease latency for this method, you
|
|
|
3281
3281
|
await gapi.client.compute.regions.get({ project: "project", region: "region", });
|
|
3282
3282
|
|
|
3283
3283
|
/*
|
|
3284
|
-
Retrieves the list of region resources available to the specified project. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `items.quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request.
|
|
3284
|
+
Retrieves the list of region resources available to the specified project. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `items.quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. This method fails if the quota information is unavailable for the region and if the organization policy constraint compute.requireBasicQuotaInResponse is enforced. This constraint, when enforced, disables the fail-open behaviour when quota information (the `items.quotas` field) is unavailable for the region. It is recommended to use the default setting for the constraint unless your application requires the fail-closed behaviour for this method.
|
|
3285
3285
|
*/
|
|
3286
3286
|
await gapi.client.compute.regions.list({ project: "project", });
|
|
3287
3287
|
|