@maxim_mazurok/gapi.client.compute-alpha 0.1.20260206 → 0.1.20260213
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 +29 -56
- package/package.json +1 -1
- package/readme.md +2 -3
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: 20260213
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -954,12 +954,6 @@ declare namespace gapi.client {
|
|
|
954
954
|
source?: string;
|
|
955
955
|
/** Specifies the type of the disk, either SCRATCH orPERSISTENT. If not specified, the default isPERSISTENT. */
|
|
956
956
|
type?: string;
|
|
957
|
-
/**
|
|
958
|
-
* Output only. [Output Only] A list of user provided licenses. It represents a list of
|
|
959
|
-
* URLs to the license resource. Unlike regular licenses, user provided
|
|
960
|
-
* licenses can be modified after the disk is created.
|
|
961
|
-
*/
|
|
962
|
-
userLicenses?: string[];
|
|
963
957
|
}
|
|
964
958
|
interface AttachedDiskInitializeParams {
|
|
965
959
|
/**
|
|
@@ -1067,7 +1061,7 @@ declare namespace gapi.client {
|
|
|
1067
1061
|
*/
|
|
1068
1062
|
replicaZones?: string[];
|
|
1069
1063
|
/**
|
|
1070
|
-
* Resource manager tags to be bound to the disk. Tag keys and values
|
|
1064
|
+
* Input only. Resource manager tags to be bound to the disk. Tag keys and values
|
|
1071
1065
|
* have the same definition as resource
|
|
1072
1066
|
* manager tags. Keys and values can be either in numeric format,
|
|
1073
1067
|
* such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
|
|
@@ -6327,15 +6321,6 @@ declare namespace gapi.client {
|
|
|
6327
6321
|
* types.
|
|
6328
6322
|
*/
|
|
6329
6323
|
type?: string;
|
|
6330
|
-
/**
|
|
6331
|
-
* A list of publicly visible user-licenses. Unlike regular licenses, user
|
|
6332
|
-
* provided licenses can be modified after the disk is created. This includes
|
|
6333
|
-
* a list of URLs to the license resource. For example, to provide a debian
|
|
6334
|
-
* license:
|
|
6335
|
-
*
|
|
6336
|
-
* https://www.googleapis.com/compute/v1/projects/debian-cloud/global/licenses/debian-9-stretch
|
|
6337
|
-
*/
|
|
6338
|
-
userLicenses?: string[];
|
|
6339
6324
|
/**
|
|
6340
6325
|
* Output only. [Output Only] Links to the users of the disk (attached instances)
|
|
6341
6326
|
* in form:projects/project/zones/zone/instances/instance
|
|
@@ -6600,7 +6585,7 @@ declare namespace gapi.client {
|
|
|
6600
6585
|
}
|
|
6601
6586
|
interface DiskParams {
|
|
6602
6587
|
/**
|
|
6603
|
-
* Resource manager tags to be bound to the disk. Tag keys and values
|
|
6588
|
+
* Input only. Resource manager tags to be bound to the disk. Tag keys and values
|
|
6604
6589
|
* have the same definition as resource
|
|
6605
6590
|
* manager tags. Keys and values can be either in numeric format,
|
|
6606
6591
|
* such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
|
|
@@ -12885,15 +12870,6 @@ declare namespace gapi.client {
|
|
|
12885
12870
|
* multi-regional).
|
|
12886
12871
|
*/
|
|
12887
12872
|
storageLocations?: string[];
|
|
12888
|
-
/**
|
|
12889
|
-
* A list of publicly visible user-licenses. Unlike regular licenses, user
|
|
12890
|
-
* provided licenses can be modified after the disk is created. This includes
|
|
12891
|
-
* a list of URLs to the license resource. For example, to provide a debian
|
|
12892
|
-
* license:
|
|
12893
|
-
*
|
|
12894
|
-
* https://www.googleapis.com/compute/v1/projects/debian-cloud/global/licenses/debian-9-stretch
|
|
12895
|
-
*/
|
|
12896
|
-
userLicenses?: string[];
|
|
12897
12873
|
}
|
|
12898
12874
|
interface ImageFamilyView {
|
|
12899
12875
|
/**
|
|
@@ -12957,7 +12933,7 @@ declare namespace gapi.client {
|
|
|
12957
12933
|
}
|
|
12958
12934
|
interface ImageParams {
|
|
12959
12935
|
/**
|
|
12960
|
-
* Resource manager tags to be bound to the image. Tag keys and values have
|
|
12936
|
+
* Input only. Resource manager tags to be bound to the image. Tag keys and values have
|
|
12961
12937
|
* the same definition as resource
|
|
12962
12938
|
* manager tags. Keys and values can be either in numeric format,
|
|
12963
12939
|
* such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
|
|
@@ -14165,7 +14141,7 @@ declare namespace gapi.client {
|
|
|
14165
14141
|
}
|
|
14166
14142
|
interface InstanceGroupManagerParams {
|
|
14167
14143
|
/**
|
|
14168
|
-
* Resource manager tags to bind to the managed instance group. The tags are
|
|
14144
|
+
* Input only. Resource manager tags to bind to the managed instance group. The tags are
|
|
14169
14145
|
* key-value pairs. Keys and values can be either in numeric format,
|
|
14170
14146
|
* such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
|
|
14171
14147
|
* format such as `{org_id|project_id}/{tag_key_short_name}` and
|
|
@@ -15539,7 +15515,7 @@ declare namespace gapi.client {
|
|
|
15539
15515
|
*/
|
|
15540
15516
|
requestValidForDuration?: Duration;
|
|
15541
15517
|
/**
|
|
15542
|
-
* Resource manager tags to be bound to the instance. Tag keys and values
|
|
15518
|
+
* Input only. Resource manager tags to be bound to the instance. Tag keys and values
|
|
15543
15519
|
* have the same definition as resource
|
|
15544
15520
|
* manager tags. Keys and values can be either in numeric format,
|
|
15545
15521
|
* such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
|
|
@@ -15647,7 +15623,7 @@ declare namespace gapi.client {
|
|
|
15647
15623
|
*/
|
|
15648
15624
|
reservationAffinity?: ReservationAffinity;
|
|
15649
15625
|
/**
|
|
15650
|
-
* Resource manager tags to be bound to the instance. Tag keys and values
|
|
15626
|
+
* Input only. Resource manager tags to be bound to the instance. Tag keys and values
|
|
15651
15627
|
* have the same definition as resource
|
|
15652
15628
|
* manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and
|
|
15653
15629
|
* values are in the format `tagValues/456`. The field is ignored (both PUT &
|
|
@@ -19821,11 +19797,22 @@ declare namespace gapi.client {
|
|
|
19821
19797
|
* Location configurations mapped by location name.
|
|
19822
19798
|
* Currently only zone names are supported and must be represented as valid
|
|
19823
19799
|
* internal URLs, such as zones/us-central1-a.
|
|
19800
|
+
* The bulkInsert operation doesn't create instances in an AI zone, even if
|
|
19801
|
+
* an AI zone is available in the specified region. For example, if you set a
|
|
19802
|
+
* DENY preference for us-central1-a, Compute Engine will consider
|
|
19803
|
+
* us-central1-b and us-central1-c for instance creation, but not
|
|
19804
|
+
* us-central1-ai1a. Also, you can't use the locations[] configuration to
|
|
19805
|
+
* allow instance creation in an AI zone. To include an AI zone in bulkInsert
|
|
19806
|
+
* operations, use the locationPolicy.zones[] field.
|
|
19824
19807
|
*/
|
|
19825
19808
|
locations?: {[P in string]: LocationPolicyLocation};
|
|
19826
19809
|
/** Strategy for distributing VMs across zones in a region. */
|
|
19827
19810
|
targetShape?: string;
|
|
19828
|
-
/**
|
|
19811
|
+
/**
|
|
19812
|
+
* The bulkInsert operation applies any preferences set in the locations
|
|
19813
|
+
* field to the specific zones listed in the zones field if the same zones
|
|
19814
|
+
* are specified in both fields.
|
|
19815
|
+
*/
|
|
19829
19816
|
zones?: LocationPolicyZoneConfiguration[];
|
|
19830
19817
|
}
|
|
19831
19818
|
interface LocationPolicyLocation {
|
|
@@ -19852,9 +19839,9 @@ declare namespace gapi.client {
|
|
|
19852
19839
|
}
|
|
19853
19840
|
interface LocationPolicyZoneConfiguration {
|
|
19854
19841
|
/**
|
|
19855
|
-
* The URL of
|
|
19842
|
+
* The URL of the zone.
|
|
19856
19843
|
* The zone must exist in the region where the request is called.
|
|
19857
|
-
* Zones must be represented as valid
|
|
19844
|
+
* Zones must be represented as valid partial URLs,
|
|
19858
19845
|
* such as zones/us-central1-a.
|
|
19859
19846
|
*/
|
|
19860
19847
|
zone?: string;
|
|
@@ -26841,11 +26828,6 @@ declare namespace gapi.client {
|
|
|
26841
26828
|
* multi-regional).
|
|
26842
26829
|
*/
|
|
26843
26830
|
storageLocations?: string[];
|
|
26844
|
-
/**
|
|
26845
|
-
* [Output Only] A list of user provided licenses represented by a list of
|
|
26846
|
-
* URLs to the license resource.
|
|
26847
|
-
*/
|
|
26848
|
-
userLicenses?: string[];
|
|
26849
26831
|
}
|
|
26850
26832
|
interface RecoverableSnapshotsScopedList {
|
|
26851
26833
|
/** [Output Only] A list of recoverablesnapshots contained in this scope. */
|
|
@@ -33617,11 +33599,6 @@ declare namespace gapi.client {
|
|
|
33617
33599
|
* multi-regional).
|
|
33618
33600
|
*/
|
|
33619
33601
|
storageLocations?: string[];
|
|
33620
|
-
/**
|
|
33621
|
-
* [Output Only] A list of user provided licenses represented by a list of
|
|
33622
|
-
* URLs to the license resource.
|
|
33623
|
-
*/
|
|
33624
|
-
userLicenses?: string[];
|
|
33625
33602
|
}
|
|
33626
33603
|
interface SnapshotAggregatedList {
|
|
33627
33604
|
etag?: string;
|
|
@@ -33813,7 +33790,7 @@ declare namespace gapi.client {
|
|
|
33813
33790
|
}
|
|
33814
33791
|
interface SnapshotParams {
|
|
33815
33792
|
/**
|
|
33816
|
-
* Resource manager tags to be bound to the snapshot. Tag keys and values have
|
|
33793
|
+
* Input only. Resource manager tags to be bound to the snapshot. Tag keys and values have
|
|
33817
33794
|
* the same definition as resource
|
|
33818
33795
|
* manager tags. Keys and values can be either in numeric format,
|
|
33819
33796
|
* such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
|
|
@@ -38902,8 +38879,8 @@ declare namespace gapi.client {
|
|
|
38902
38879
|
/** An optional description of this resource. */
|
|
38903
38880
|
description?: string;
|
|
38904
38881
|
/**
|
|
38905
|
-
* Required. A map of extension names (
|
|
38906
|
-
* configurations.
|
|
38882
|
+
* Required. A map of extension names (for example, "ops-agent") to their corresponding
|
|
38883
|
+
* policy configurations.
|
|
38907
38884
|
*/
|
|
38908
38885
|
extensionPolicies?: {[P in string]: VmExtensionPolicyExtensionPolicy};
|
|
38909
38886
|
/**
|
|
@@ -38942,7 +38919,7 @@ declare namespace gapi.client {
|
|
|
38942
38919
|
* The policy priority is an integer from 0 to 65535, inclusive. Lower
|
|
38943
38920
|
* integers indicate higher priorities. If you do not specify a priority when
|
|
38944
38921
|
* creating a rule, it is assigned a priority of 1000. If priorities are
|
|
38945
|
-
* equal, the policy with the
|
|
38922
|
+
* equal, the policy with the most recent creation timestamp takes precedence.
|
|
38946
38923
|
*/
|
|
38947
38924
|
priority?: number;
|
|
38948
38925
|
/** Output only. [Output Only] Server-defined fully-qualified URL for this resource. */
|
|
@@ -39118,17 +39095,14 @@ declare namespace gapi.client {
|
|
|
39118
39095
|
* specified.
|
|
39119
39096
|
*/
|
|
39120
39097
|
enforcementState?: string;
|
|
39098
|
+
/** The health status message of the extension. */
|
|
39099
|
+
healthMsg?: string;
|
|
39121
39100
|
/** The health status of the extension. */
|
|
39122
39101
|
healthStatus?: string;
|
|
39123
39102
|
/** The name of the extension. */
|
|
39124
39103
|
name?: string;
|
|
39125
39104
|
/** The id of the policy that is enforced on the extension. */
|
|
39126
39105
|
policyId?: string;
|
|
39127
|
-
/**
|
|
39128
|
-
* The status message of the extension if the extension is in unhealthy
|
|
39129
|
-
* state.
|
|
39130
|
-
*/
|
|
39131
|
-
unhealthyMsg?: string;
|
|
39132
39106
|
/** The version of the extension. */
|
|
39133
39107
|
version?: string;
|
|
39134
39108
|
}
|
|
@@ -46831,7 +46805,7 @@ declare namespace gapi.client {
|
|
|
46831
46805
|
/**
|
|
46832
46806
|
* Updates the specified disk with the data included in the request.
|
|
46833
46807
|
* The update is performed only on selected fields included as part
|
|
46834
|
-
* of update-mask.
|
|
46808
|
+
* of update-mask.
|
|
46835
46809
|
*/
|
|
46836
46810
|
update(request: {
|
|
46837
46811
|
/** V1 error format. */
|
|
@@ -92117,8 +92091,7 @@ declare namespace gapi.client {
|
|
|
92117
92091
|
): Request<TestPermissionsResponse>;
|
|
92118
92092
|
/**
|
|
92119
92093
|
* Update the specified disk with the data included in the request. Update is
|
|
92120
|
-
* performed only on selected fields included as part of update-mask.
|
|
92121
|
-
* following fields can be modified: user_license.
|
|
92094
|
+
* performed only on selected fields included as part of update-mask.
|
|
92122
92095
|
*/
|
|
92123
92096
|
update(request: {
|
|
92124
92097
|
/** V1 error format. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -566,7 +566,7 @@ await gapi.client.compute.disks.testIamPermissions({ project: "project", resourc
|
|
|
566
566
|
/*
|
|
567
567
|
Updates the specified disk with the data included in the request.
|
|
568
568
|
The update is performed only on selected fields included as part
|
|
569
|
-
of update-mask.
|
|
569
|
+
of update-mask.
|
|
570
570
|
*/
|
|
571
571
|
await gapi.client.compute.disks.update({ disk: "disk", project: "project", zone: "zone", });
|
|
572
572
|
|
|
@@ -4300,8 +4300,7 @@ await gapi.client.compute.regionDisks.testIamPermissions({ project: "project", r
|
|
|
4300
4300
|
|
|
4301
4301
|
/*
|
|
4302
4302
|
Update the specified disk with the data included in the request. Update is
|
|
4303
|
-
performed only on selected fields included as part of update-mask.
|
|
4304
|
-
following fields can be modified: user_license.
|
|
4303
|
+
performed only on selected fields included as part of update-mask.
|
|
4305
4304
|
*/
|
|
4306
4305
|
await gapi.client.compute.regionDisks.update({ disk: "disk", project: "project", region: "region", });
|
|
4307
4306
|
|