@maxim_mazurok/gapi.client.compute-alpha 0.2.20260908 → 0.2.20260922
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 +70 -6
- 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: 20260922
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -2173,6 +2173,18 @@ declare namespace gapi.client {
|
|
|
2173
2173
|
* value per instance if samples are available.
|
|
2174
2174
|
*/
|
|
2175
2175
|
timeAggregation?: AutoscalingPolicyTimeAggregation;
|
|
2176
|
+
/**
|
|
2177
|
+
* The upper bound of the utilization range. Must be a float value in the
|
|
2178
|
+
* range ('utilization_min', 1]. A value of 0.0 is equivalent to leaving the
|
|
2179
|
+
* field unset.
|
|
2180
|
+
*/
|
|
2181
|
+
utilizationMax?: number;
|
|
2182
|
+
/**
|
|
2183
|
+
* The lower bound of the utilization range. Must be a float value in the
|
|
2184
|
+
* range (0, 'utilization_max']. A value of 0.0 is equivalent to leaving the
|
|
2185
|
+
* field unset.
|
|
2186
|
+
*/
|
|
2187
|
+
utilizationMin?: number;
|
|
2176
2188
|
/**
|
|
2177
2189
|
* Defines a target range for CPU utilization. The values of
|
|
2178
2190
|
* `min_utilization` and `max_utilization` must be in
|
|
@@ -5757,6 +5769,12 @@ declare namespace gapi.client {
|
|
|
5757
5769
|
guestAccelerators?: AcceleratorConfig[];
|
|
5758
5770
|
/** Full machine-type names, e.g. "n1-standard-16". */
|
|
5759
5771
|
machineTypes?: string[];
|
|
5772
|
+
/**
|
|
5773
|
+
* Optional. Rank when prioritizing the shape flexibilities.
|
|
5774
|
+
* The instance selections are considered in the ascending order of the
|
|
5775
|
+
* rank. If not set, defaults to 0.
|
|
5776
|
+
*/
|
|
5777
|
+
rank?: string;
|
|
5760
5778
|
}
|
|
5761
5779
|
interface CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk {
|
|
5762
5780
|
/** Specifies the type of the disk. */
|
|
@@ -5842,11 +5860,19 @@ declare namespace gapi.client {
|
|
|
5842
5860
|
types?: 'HISTORY_TYPE_UNSPECIFIED' | 'PREEMPTION' | 'PRICE'[];
|
|
5843
5861
|
}
|
|
5844
5862
|
interface CapacityHistoryRequestInstanceProperties {
|
|
5863
|
+
/** Local SSDs. */
|
|
5864
|
+
disks?: CapacityHistoryRequestInstancePropertiesAttachedDisk[];
|
|
5865
|
+
/** Accelerators configuration. */
|
|
5866
|
+
guestAccelerators?: AcceleratorConfig[];
|
|
5845
5867
|
/** The machine type for the VM, such as `n2-standard-4`. */
|
|
5846
5868
|
machineType?: string;
|
|
5847
5869
|
/** Specifies the scheduling options. */
|
|
5848
5870
|
scheduling?: CapacityHistoryRequestInstancePropertiesScheduling;
|
|
5849
5871
|
}
|
|
5872
|
+
interface CapacityHistoryRequestInstancePropertiesAttachedDisk {
|
|
5873
|
+
/** Specifies the type of the disk. */
|
|
5874
|
+
type?: 'DISK_TYPE_UNSPECIFIED' | 'SCRATCH';
|
|
5875
|
+
}
|
|
5850
5876
|
interface CapacityHistoryRequestInstancePropertiesScheduling {
|
|
5851
5877
|
/**
|
|
5852
5878
|
* The provisioning model to get capacity history for.
|
|
@@ -6150,7 +6176,7 @@ declare namespace gapi.client {
|
|
|
6150
6176
|
* resource types.
|
|
6151
6177
|
*
|
|
6152
6178
|
* 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,STORAGE_OPTIMIZED_Z4DS, STORAGE_OPTIMIZED_Z4DH,STORAGE_OPTIMIZED_Z4D4T. For
|
|
6179
|
+
* 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,STORAGE_OPTIMIZED_Z4M. For
|
|
6154
6180
|
* example, type MEMORY_OPTIMIZED specifies a commitment that
|
|
6155
6181
|
* applies only to eligible resources of memory optimized M1 and M2 machine
|
|
6156
6182
|
* series. Type GENERAL_PURPOSE specifies a commitment that
|
|
@@ -8846,6 +8872,13 @@ declare namespace gapi.client {
|
|
|
8846
8872
|
zones?: DistributionPolicyZoneConfiguration[];
|
|
8847
8873
|
}
|
|
8848
8874
|
interface DistributionPolicyZoneConfiguration {
|
|
8875
|
+
/**
|
|
8876
|
+
* Optional. The maximum size of the group in this zone. This value can be either a
|
|
8877
|
+
* fixed number or, a percentage. If you set a percentage, the number of
|
|
8878
|
+
* instances is rounded up if necessary. If unset, it is interpreted as
|
|
8879
|
+
* unbounded.
|
|
8880
|
+
*/
|
|
8881
|
+
maxSize?: FixedOrPercent;
|
|
8849
8882
|
/**
|
|
8850
8883
|
* The URL of thezone.
|
|
8851
8884
|
* The zone must exist in the region where the managed instance group is
|
|
@@ -11999,7 +12032,7 @@ declare namespace gapi.client {
|
|
|
11999
12032
|
creationTimestamp?: string;
|
|
12000
12033
|
/** Output only. [Output Only] An optional description of this resource. */
|
|
12001
12034
|
description?: string;
|
|
12002
|
-
/** Output only. For optimistic locking */
|
|
12035
|
+
/** Output only. For optimistic locking. */
|
|
12003
12036
|
etag?: string;
|
|
12004
12037
|
/**
|
|
12005
12038
|
* Output only. [Output Only] The unique identifier for the resource. This identifier is
|
|
@@ -12019,6 +12052,7 @@ declare namespace gapi.client {
|
|
|
12019
12052
|
selfLink?: string;
|
|
12020
12053
|
}
|
|
12021
12054
|
interface GlobalFrontendSettingsPatchResponse {
|
|
12055
|
+
/** The Operation resource for this long-running operation. */
|
|
12022
12056
|
operation?: Operation;
|
|
12023
12057
|
}
|
|
12024
12058
|
interface GlobalListVmExtensionsResponse {
|
|
@@ -16507,9 +16541,11 @@ declare namespace gapi.client {
|
|
|
16507
16541
|
resourceManagerTags?: {[P in string]: string};
|
|
16508
16542
|
}
|
|
16509
16543
|
interface ImageView {
|
|
16544
|
+
/** The Image resource. */
|
|
16510
16545
|
image?: Image;
|
|
16511
16546
|
}
|
|
16512
16547
|
interface ImageViewsListResponse {
|
|
16548
|
+
/** Etag of the resource. */
|
|
16513
16549
|
etag?: string;
|
|
16514
16550
|
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
16515
16551
|
id?: string;
|
|
@@ -17744,6 +17780,8 @@ declare namespace gapi.client {
|
|
|
17744
17780
|
onHealthCheck?: 'OFF' | 'ON';
|
|
17745
17781
|
}
|
|
17746
17782
|
interface InstanceGroupManagerInstanceFlexibilityPolicy {
|
|
17783
|
+
/** Constraints applied to instance flexibility spreading and selection. */
|
|
17784
|
+
constraints?: InstanceGroupManagerInstanceFlexibilityPolicyConstraints;
|
|
17747
17785
|
/**
|
|
17748
17786
|
* Named instance selections configuring properties that the group will use
|
|
17749
17787
|
* when creating new VMs.
|
|
@@ -17768,6 +17806,14 @@ declare namespace gapi.client {
|
|
|
17768
17806
|
*/
|
|
17769
17807
|
provisioningModelMix?: InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix;
|
|
17770
17808
|
}
|
|
17809
|
+
interface InstanceGroupManagerInstanceFlexibilityPolicyConstraints {
|
|
17810
|
+
/**
|
|
17811
|
+
* When set to true, all instances in the group will be provisioned with
|
|
17812
|
+
* the exact same machine type, ensuring cluster homogeneity across zones.
|
|
17813
|
+
* Defaults to false.
|
|
17814
|
+
*/
|
|
17815
|
+
singleMachineType?: boolean;
|
|
17816
|
+
}
|
|
17771
17817
|
interface InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection {
|
|
17772
17818
|
/**
|
|
17773
17819
|
* List of disks to be attached to the instances created from this
|
|
@@ -25766,6 +25812,7 @@ declare namespace gapi.client {
|
|
|
25766
25812
|
}
|
|
25767
25813
|
interface ManagedRulesetList {
|
|
25768
25814
|
id?: string;
|
|
25815
|
+
/** The list of managed rulesets. */
|
|
25769
25816
|
items?: ManagedRuleset[];
|
|
25770
25817
|
nextPageToken?: string;
|
|
25771
25818
|
warning?: {
|
|
@@ -39407,10 +39454,16 @@ declare namespace gapi.client {
|
|
|
39407
39454
|
*
|
|
39408
39455
|
* `destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'`
|
|
39409
39456
|
*
|
|
39410
|
-
* The following
|
|
39457
|
+
* The following examples are valid match expressions for private NAT:
|
|
39411
39458
|
*
|
|
39459
|
+
* (NAT 44)
|
|
39412
39460
|
* `nexthop.hub ==
|
|
39413
39461
|
* '//networkconnectivity.googleapis.com/projects/my-project/locations/global/hubs/hub-1'`
|
|
39462
|
+
*
|
|
39463
|
+
* `nexthop.is_hybrid`
|
|
39464
|
+
*
|
|
39465
|
+
* (NAT 64)
|
|
39466
|
+
* `isIPv6(source.ip)`
|
|
39414
39467
|
*/
|
|
39415
39468
|
match?: string;
|
|
39416
39469
|
/**
|
|
@@ -62166,6 +62219,7 @@ declare namespace gapi.client {
|
|
|
62166
62219
|
alt?: 'json' | 'media' | 'proto';
|
|
62167
62220
|
/** JSONP */
|
|
62168
62221
|
callback?: string;
|
|
62222
|
+
/** Required. Name of the VM extension for this request. */
|
|
62169
62223
|
extensionName: string;
|
|
62170
62224
|
/** Selector specifying which fields to include in a partial response. */
|
|
62171
62225
|
fields?: string;
|
|
@@ -62729,6 +62783,7 @@ declare namespace gapi.client {
|
|
|
62729
62783
|
alt?: 'json' | 'media' | 'proto';
|
|
62730
62784
|
/** JSONP */
|
|
62731
62785
|
callback?: string;
|
|
62786
|
+
/** Required. Name of the VM extension for this request. */
|
|
62732
62787
|
extensionName: string;
|
|
62733
62788
|
/** Selector specifying which fields to include in a partial response. */
|
|
62734
62789
|
fields?: string;
|
|
@@ -65875,6 +65930,7 @@ declare namespace gapi.client {
|
|
|
65875
65930
|
oauth_token?: string;
|
|
65876
65931
|
/** Returns response with indentations and line breaks. */
|
|
65877
65932
|
prettyPrint?: boolean;
|
|
65933
|
+
/** Required. Project ID for this request. */
|
|
65878
65934
|
project: string;
|
|
65879
65935
|
/** 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. */
|
|
65880
65936
|
quotaUser?: string;
|
|
@@ -65903,11 +65959,13 @@ declare namespace gapi.client {
|
|
|
65903
65959
|
oauth_token?: string;
|
|
65904
65960
|
/** Returns response with indentations and line breaks. */
|
|
65905
65961
|
prettyPrint?: boolean;
|
|
65962
|
+
/** Required. Project ID for this request. */
|
|
65906
65963
|
project: string;
|
|
65907
65964
|
/** 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. */
|
|
65908
65965
|
quotaUser?: string;
|
|
65966
|
+
/** An optional request ID to identify requests. */
|
|
65909
65967
|
requestId?: string;
|
|
65910
|
-
/**
|
|
65968
|
+
/** Field mask to support patch. E.g., "type". */
|
|
65911
65969
|
updateMask?: string;
|
|
65912
65970
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
65913
65971
|
upload_protocol?: string;
|
|
@@ -65936,11 +65994,13 @@ declare namespace gapi.client {
|
|
|
65936
65994
|
oauth_token?: string;
|
|
65937
65995
|
/** Returns response with indentations and line breaks. */
|
|
65938
65996
|
prettyPrint?: boolean;
|
|
65997
|
+
/** Required. Project ID for this request. */
|
|
65939
65998
|
project: string;
|
|
65940
65999
|
/** 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. */
|
|
65941
66000
|
quotaUser?: string;
|
|
66001
|
+
/** An optional request ID to identify requests. */
|
|
65942
66002
|
requestId?: string;
|
|
65943
|
-
/**
|
|
66003
|
+
/** Field mask to support patch. E.g., "type". */
|
|
65944
66004
|
updateMask?: string;
|
|
65945
66005
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
65946
66006
|
upload_protocol?: string;
|
|
@@ -67922,6 +67982,7 @@ declare namespace gapi.client {
|
|
|
67922
67982
|
alt?: 'json' | 'media' | 'proto';
|
|
67923
67983
|
/** JSONP */
|
|
67924
67984
|
callback?: string;
|
|
67985
|
+
/** Required. Name of the VM extension for this request. */
|
|
67925
67986
|
extensionName: string;
|
|
67926
67987
|
/** Selector specifying which fields to include in a partial response. */
|
|
67927
67988
|
fields?: string;
|
|
@@ -96197,6 +96258,7 @@ declare namespace gapi.client {
|
|
|
96197
96258
|
alt?: 'json' | 'media' | 'proto';
|
|
96198
96259
|
/** JSONP */
|
|
96199
96260
|
callback?: string;
|
|
96261
|
+
/** Required. Name of the VM extension for this request. */
|
|
96200
96262
|
extensionName: string;
|
|
96201
96263
|
/** Selector specifying which fields to include in a partial response. */
|
|
96202
96264
|
fields?: string;
|
|
@@ -98776,6 +98838,7 @@ declare namespace gapi.client {
|
|
|
98776
98838
|
alt?: 'json' | 'media' | 'proto';
|
|
98777
98839
|
/** JSONP */
|
|
98778
98840
|
callback?: string;
|
|
98841
|
+
/** Required. Name of the VM extension for this request. */
|
|
98779
98842
|
extensionName: string;
|
|
98780
98843
|
/** Selector specifying which fields to include in a partial response. */
|
|
98781
98844
|
fields?: string;
|
|
@@ -149313,6 +149376,7 @@ declare namespace gapi.client {
|
|
|
149313
149376
|
alt?: 'json' | 'media' | 'proto';
|
|
149314
149377
|
/** JSONP */
|
|
149315
149378
|
callback?: string;
|
|
149379
|
+
/** Required. Name of the VM extension for this request. */
|
|
149316
149380
|
extensionName: string;
|
|
149317
149381
|
/** Selector specifying which fields to include in a partial response. */
|
|
149318
149382
|
fields?: string;
|