@maxim_mazurok/gapi.client.compute-v1 0.1.20251230 → 0.1.20260106
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 +42 -1
- package/package.json +1 -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://www.googleapis.com/discovery/v1/apis/compute/v1/rest
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260106
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -3774,6 +3774,8 @@ declare namespace gapi.client {
|
|
|
3774
3774
|
interface BulkInsertInstanceResource {
|
|
3775
3775
|
/** The maximum number of instances to create. */
|
|
3776
3776
|
count?: string;
|
|
3777
|
+
/** A flexible specification of machine type of instances to create. */
|
|
3778
|
+
instanceFlexibilityPolicy?: InstanceFlexibilityPolicy;
|
|
3777
3779
|
/**
|
|
3778
3780
|
* The instance properties defining the VM instances to be created. Required
|
|
3779
3781
|
* if sourceInstanceTemplate is not provided.
|
|
@@ -10216,6 +10218,44 @@ declare namespace gapi.client {
|
|
|
10216
10218
|
/** Output only. The minimal guaranteed number of virtual CPUs that are reserved. */
|
|
10217
10219
|
minNodeCpus?: number;
|
|
10218
10220
|
}
|
|
10221
|
+
interface InstanceFlexibilityPolicy {
|
|
10222
|
+
/**
|
|
10223
|
+
* Specification of alternative, flexible instance subsets.
|
|
10224
|
+
* One of them will be selected to create the instances
|
|
10225
|
+
* based on various criteria, like:
|
|
10226
|
+
* - ranks,
|
|
10227
|
+
* - location policy,
|
|
10228
|
+
* - current capacity,
|
|
10229
|
+
* - available reservations (you can specify affinity in
|
|
10230
|
+
* InstanceProperties),
|
|
10231
|
+
* - SWAN/GOOSE limitations.
|
|
10232
|
+
* Key is an arbitrary, unique RFC1035 string that identifies the instance
|
|
10233
|
+
* selection.
|
|
10234
|
+
*/
|
|
10235
|
+
instanceSelections?: {
|
|
10236
|
+
[P in string]: InstanceFlexibilityPolicyInstanceSelection;
|
|
10237
|
+
};
|
|
10238
|
+
}
|
|
10239
|
+
interface InstanceFlexibilityPolicyInstanceSelection {
|
|
10240
|
+
/**
|
|
10241
|
+
* Disks to be attached to the instances created from in this selection.
|
|
10242
|
+
* They override the disks specified in the instance properties.
|
|
10243
|
+
*/
|
|
10244
|
+
disks?: AttachedDisk[];
|
|
10245
|
+
/**
|
|
10246
|
+
* Alternative machine types to use for instances that are created from
|
|
10247
|
+
* these properties. This field only accepts a machine type names, for
|
|
10248
|
+
* example `n2-standard-4` and not URLs or partial URLs.
|
|
10249
|
+
*/
|
|
10250
|
+
machineTypes?: string[];
|
|
10251
|
+
/**
|
|
10252
|
+
* Rank when prioritizing the shape flexibilities.
|
|
10253
|
+
* The instance selections with rank are considered
|
|
10254
|
+
* first, in the ascending order of the rank.
|
|
10255
|
+
* If not set, defaults to 0.
|
|
10256
|
+
*/
|
|
10257
|
+
rank?: string;
|
|
10258
|
+
}
|
|
10219
10259
|
interface InstanceGroup {
|
|
10220
10260
|
/**
|
|
10221
10261
|
* Output only. [Output Only] The creation timestamp for this instance group inRFC3339
|
|
@@ -12977,6 +13017,7 @@ declare namespace gapi.client {
|
|
|
12977
13017
|
* - BPS_20G: 20 Gbit/s
|
|
12978
13018
|
* - BPS_50G: 50 Gbit/s
|
|
12979
13019
|
* - BPS_100G: 100 Gbit/s
|
|
13020
|
+
* - BPS_400G: 400 Gbit/s
|
|
12980
13021
|
*/
|
|
12981
13022
|
bandwidth?: string;
|
|
12982
13023
|
/**
|