@maxim_mazurok/gapi.client.compute-alpha 0.2.20260828 → 0.2.20260910
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 +54 -5
- 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/alpha/rest
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260910
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -5757,6 +5757,12 @@ declare namespace gapi.client {
|
|
|
5757
5757
|
guestAccelerators?: AcceleratorConfig[];
|
|
5758
5758
|
/** Full machine-type names, e.g. "n1-standard-16". */
|
|
5759
5759
|
machineTypes?: string[];
|
|
5760
|
+
/**
|
|
5761
|
+
* Optional. Rank when prioritizing the shape flexibilities.
|
|
5762
|
+
* The instance selections are considered in the ascending order of the
|
|
5763
|
+
* rank. If not set, defaults to 0.
|
|
5764
|
+
*/
|
|
5765
|
+
rank?: string;
|
|
5760
5766
|
}
|
|
5761
5767
|
interface CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk {
|
|
5762
5768
|
/** Specifies the type of the disk. */
|
|
@@ -5842,11 +5848,19 @@ declare namespace gapi.client {
|
|
|
5842
5848
|
types?: 'HISTORY_TYPE_UNSPECIFIED' | 'PREEMPTION' | 'PRICE'[];
|
|
5843
5849
|
}
|
|
5844
5850
|
interface CapacityHistoryRequestInstanceProperties {
|
|
5851
|
+
/** Local SSDs. */
|
|
5852
|
+
disks?: CapacityHistoryRequestInstancePropertiesAttachedDisk[];
|
|
5853
|
+
/** Accelerators configuration. */
|
|
5854
|
+
guestAccelerators?: AcceleratorConfig[];
|
|
5845
5855
|
/** The machine type for the VM, such as `n2-standard-4`. */
|
|
5846
5856
|
machineType?: string;
|
|
5847
5857
|
/** Specifies the scheduling options. */
|
|
5848
5858
|
scheduling?: CapacityHistoryRequestInstancePropertiesScheduling;
|
|
5849
5859
|
}
|
|
5860
|
+
interface CapacityHistoryRequestInstancePropertiesAttachedDisk {
|
|
5861
|
+
/** Specifies the type of the disk. */
|
|
5862
|
+
type?: 'DISK_TYPE_UNSPECIFIED' | 'SCRATCH';
|
|
5863
|
+
}
|
|
5850
5864
|
interface CapacityHistoryRequestInstancePropertiesScheduling {
|
|
5851
5865
|
/**
|
|
5852
5866
|
* The provisioning model to get capacity history for.
|
|
@@ -6150,7 +6164,7 @@ declare namespace gapi.client {
|
|
|
6150
6164
|
* resource types.
|
|
6151
6165
|
*
|
|
6152
6166
|
* The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D,
|
|
6153
|
-
* COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,GRAPHICS_OPTIMIZED_G4_VGPU,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For
|
|
6167
|
+
* COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,GRAPHICS_OPTIMIZED_G4_VGPU,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3,STORAGE_OPTIMIZED_Z4DS, STORAGE_OPTIMIZED_Z4DH,STORAGE_OPTIMIZED_Z4D4T. For
|
|
6154
6168
|
* example, type MEMORY_OPTIMIZED specifies a commitment that
|
|
6155
6169
|
* applies only to eligible resources of memory optimized M1 and M2 machine
|
|
6156
6170
|
* series. Type GENERAL_PURPOSE specifies a commitment that
|
|
@@ -6207,6 +6221,9 @@ declare namespace gapi.client {
|
|
|
6207
6221
|
| 'NETWORK_OPTIMIZED_U4S'
|
|
6208
6222
|
| 'STORAGE_OPTIMIZED_Z3'
|
|
6209
6223
|
| 'STORAGE_OPTIMIZED_Z4D'
|
|
6224
|
+
| 'STORAGE_OPTIMIZED_Z4D4T'
|
|
6225
|
+
| 'STORAGE_OPTIMIZED_Z4DH'
|
|
6226
|
+
| 'STORAGE_OPTIMIZED_Z4DS'
|
|
6210
6227
|
| 'STORAGE_OPTIMIZED_Z4M'
|
|
6211
6228
|
| 'TYPE_UNSPECIFIED';
|
|
6212
6229
|
}
|
|
@@ -8843,6 +8860,13 @@ declare namespace gapi.client {
|
|
|
8843
8860
|
zones?: DistributionPolicyZoneConfiguration[];
|
|
8844
8861
|
}
|
|
8845
8862
|
interface DistributionPolicyZoneConfiguration {
|
|
8863
|
+
/**
|
|
8864
|
+
* Optional. The maximum size of the group in this zone. This value can be either a
|
|
8865
|
+
* fixed number or, a percentage. If you set a percentage, the number of
|
|
8866
|
+
* instances is rounded up if necessary. If unset, it is interpreted as
|
|
8867
|
+
* unbounded.
|
|
8868
|
+
*/
|
|
8869
|
+
maxSize?: FixedOrPercent;
|
|
8846
8870
|
/**
|
|
8847
8871
|
* The URL of thezone.
|
|
8848
8872
|
* The zone must exist in the region where the managed instance group is
|
|
@@ -11996,7 +12020,7 @@ declare namespace gapi.client {
|
|
|
11996
12020
|
creationTimestamp?: string;
|
|
11997
12021
|
/** Output only. [Output Only] An optional description of this resource. */
|
|
11998
12022
|
description?: string;
|
|
11999
|
-
/** Output only. For optimistic locking */
|
|
12023
|
+
/** Output only. For optimistic locking. */
|
|
12000
12024
|
etag?: string;
|
|
12001
12025
|
/**
|
|
12002
12026
|
* Output only. [Output Only] The unique identifier for the resource. This identifier is
|
|
@@ -12016,6 +12040,7 @@ declare namespace gapi.client {
|
|
|
12016
12040
|
selfLink?: string;
|
|
12017
12041
|
}
|
|
12018
12042
|
interface GlobalFrontendSettingsPatchResponse {
|
|
12043
|
+
/** The Operation resource for this long-running operation. */
|
|
12019
12044
|
operation?: Operation;
|
|
12020
12045
|
}
|
|
12021
12046
|
interface GlobalListVmExtensionsResponse {
|
|
@@ -16504,9 +16529,11 @@ declare namespace gapi.client {
|
|
|
16504
16529
|
resourceManagerTags?: {[P in string]: string};
|
|
16505
16530
|
}
|
|
16506
16531
|
interface ImageView {
|
|
16532
|
+
/** The Image resource. */
|
|
16507
16533
|
image?: Image;
|
|
16508
16534
|
}
|
|
16509
16535
|
interface ImageViewsListResponse {
|
|
16536
|
+
/** Etag of the resource. */
|
|
16510
16537
|
etag?: string;
|
|
16511
16538
|
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
16512
16539
|
id?: string;
|
|
@@ -17741,6 +17768,8 @@ declare namespace gapi.client {
|
|
|
17741
17768
|
onHealthCheck?: 'OFF' | 'ON';
|
|
17742
17769
|
}
|
|
17743
17770
|
interface InstanceGroupManagerInstanceFlexibilityPolicy {
|
|
17771
|
+
/** Constraints applied to instance flexibility spreading and selection. */
|
|
17772
|
+
constraints?: InstanceGroupManagerInstanceFlexibilityPolicyConstraints;
|
|
17744
17773
|
/**
|
|
17745
17774
|
* Named instance selections configuring properties that the group will use
|
|
17746
17775
|
* when creating new VMs.
|
|
@@ -17765,6 +17794,14 @@ declare namespace gapi.client {
|
|
|
17765
17794
|
*/
|
|
17766
17795
|
provisioningModelMix?: InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix;
|
|
17767
17796
|
}
|
|
17797
|
+
interface InstanceGroupManagerInstanceFlexibilityPolicyConstraints {
|
|
17798
|
+
/**
|
|
17799
|
+
* When set to true, all instances in the group will be provisioned with
|
|
17800
|
+
* the exact same machine type, ensuring cluster homogeneity across zones.
|
|
17801
|
+
* Defaults to false.
|
|
17802
|
+
*/
|
|
17803
|
+
singleMachineType?: boolean;
|
|
17804
|
+
}
|
|
17768
17805
|
interface InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection {
|
|
17769
17806
|
/**
|
|
17770
17807
|
* List of disks to be attached to the instances created from this
|
|
@@ -25763,6 +25800,7 @@ declare namespace gapi.client {
|
|
|
25763
25800
|
}
|
|
25764
25801
|
interface ManagedRulesetList {
|
|
25765
25802
|
id?: string;
|
|
25803
|
+
/** The list of managed rulesets. */
|
|
25766
25804
|
items?: ManagedRuleset[];
|
|
25767
25805
|
nextPageToken?: string;
|
|
25768
25806
|
warning?: {
|
|
@@ -62163,6 +62201,7 @@ declare namespace gapi.client {
|
|
|
62163
62201
|
alt?: 'json' | 'media' | 'proto';
|
|
62164
62202
|
/** JSONP */
|
|
62165
62203
|
callback?: string;
|
|
62204
|
+
/** Required. Name of the VM extension for this request. */
|
|
62166
62205
|
extensionName: string;
|
|
62167
62206
|
/** Selector specifying which fields to include in a partial response. */
|
|
62168
62207
|
fields?: string;
|
|
@@ -62726,6 +62765,7 @@ declare namespace gapi.client {
|
|
|
62726
62765
|
alt?: 'json' | 'media' | 'proto';
|
|
62727
62766
|
/** JSONP */
|
|
62728
62767
|
callback?: string;
|
|
62768
|
+
/** Required. Name of the VM extension for this request. */
|
|
62729
62769
|
extensionName: string;
|
|
62730
62770
|
/** Selector specifying which fields to include in a partial response. */
|
|
62731
62771
|
fields?: string;
|
|
@@ -65872,6 +65912,7 @@ declare namespace gapi.client {
|
|
|
65872
65912
|
oauth_token?: string;
|
|
65873
65913
|
/** Returns response with indentations and line breaks. */
|
|
65874
65914
|
prettyPrint?: boolean;
|
|
65915
|
+
/** Required. Project ID for this request. */
|
|
65875
65916
|
project: string;
|
|
65876
65917
|
/** 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. */
|
|
65877
65918
|
quotaUser?: string;
|
|
@@ -65900,11 +65941,13 @@ declare namespace gapi.client {
|
|
|
65900
65941
|
oauth_token?: string;
|
|
65901
65942
|
/** Returns response with indentations and line breaks. */
|
|
65902
65943
|
prettyPrint?: boolean;
|
|
65944
|
+
/** Required. Project ID for this request. */
|
|
65903
65945
|
project: string;
|
|
65904
65946
|
/** 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. */
|
|
65905
65947
|
quotaUser?: string;
|
|
65948
|
+
/** An optional request ID to identify requests. */
|
|
65906
65949
|
requestId?: string;
|
|
65907
|
-
/**
|
|
65950
|
+
/** Field mask to support patch. E.g., "type". */
|
|
65908
65951
|
updateMask?: string;
|
|
65909
65952
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
65910
65953
|
upload_protocol?: string;
|
|
@@ -65933,11 +65976,13 @@ declare namespace gapi.client {
|
|
|
65933
65976
|
oauth_token?: string;
|
|
65934
65977
|
/** Returns response with indentations and line breaks. */
|
|
65935
65978
|
prettyPrint?: boolean;
|
|
65979
|
+
/** Required. Project ID for this request. */
|
|
65936
65980
|
project: string;
|
|
65937
65981
|
/** 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. */
|
|
65938
65982
|
quotaUser?: string;
|
|
65983
|
+
/** An optional request ID to identify requests. */
|
|
65939
65984
|
requestId?: string;
|
|
65940
|
-
/**
|
|
65985
|
+
/** Field mask to support patch. E.g., "type". */
|
|
65941
65986
|
updateMask?: string;
|
|
65942
65987
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
65943
65988
|
upload_protocol?: string;
|
|
@@ -67919,6 +67964,7 @@ declare namespace gapi.client {
|
|
|
67919
67964
|
alt?: 'json' | 'media' | 'proto';
|
|
67920
67965
|
/** JSONP */
|
|
67921
67966
|
callback?: string;
|
|
67967
|
+
/** Required. Name of the VM extension for this request. */
|
|
67922
67968
|
extensionName: string;
|
|
67923
67969
|
/** Selector specifying which fields to include in a partial response. */
|
|
67924
67970
|
fields?: string;
|
|
@@ -96194,6 +96240,7 @@ declare namespace gapi.client {
|
|
|
96194
96240
|
alt?: 'json' | 'media' | 'proto';
|
|
96195
96241
|
/** JSONP */
|
|
96196
96242
|
callback?: string;
|
|
96243
|
+
/** Required. Name of the VM extension for this request. */
|
|
96197
96244
|
extensionName: string;
|
|
96198
96245
|
/** Selector specifying which fields to include in a partial response. */
|
|
96199
96246
|
fields?: string;
|
|
@@ -98773,6 +98820,7 @@ declare namespace gapi.client {
|
|
|
98773
98820
|
alt?: 'json' | 'media' | 'proto';
|
|
98774
98821
|
/** JSONP */
|
|
98775
98822
|
callback?: string;
|
|
98823
|
+
/** Required. Name of the VM extension for this request. */
|
|
98776
98824
|
extensionName: string;
|
|
98777
98825
|
/** Selector specifying which fields to include in a partial response. */
|
|
98778
98826
|
fields?: string;
|
|
@@ -149310,6 +149358,7 @@ declare namespace gapi.client {
|
|
|
149310
149358
|
alt?: 'json' | 'media' | 'proto';
|
|
149311
149359
|
/** JSONP */
|
|
149312
149360
|
callback?: string;
|
|
149361
|
+
/** Required. Name of the VM extension for this request. */
|
|
149313
149362
|
extensionName: string;
|
|
149314
149363
|
/** Selector specifying which fields to include in a partial response. */
|
|
149315
149364
|
fields?: string;
|