@maxim_mazurok/gapi.client.compute-alpha 0.0.20231231 → 0.0.20240109
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 +13 -179
- package/package.json +1 -1
- package/readme.md +0 -10
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: 20240109
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -2302,7 +2302,7 @@ declare namespace gapi.client {
|
|
|
2302
2302
|
percent?: number;
|
|
2303
2303
|
}
|
|
2304
2304
|
interface ForwardingRule {
|
|
2305
|
-
/**
|
|
2305
|
+
/** If set to true, clients can access the internal passthrough Network Load Balancers, the regional internal Application Load Balancer, and the regional internal proxy Network Load Balancer from all regions. If false, only allows access from the local region the load balancer is located at. Note that for INTERNAL_MANAGED forwarding rules, this field cannot be changed after the forwarding rule is created. */
|
|
2306
2306
|
allowGlobalAccess?: boolean;
|
|
2307
2307
|
/** This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region. */
|
|
2308
2308
|
allowPscGlobalAccess?: boolean;
|
|
@@ -2707,7 +2707,7 @@ declare namespace gapi.client {
|
|
|
2707
2707
|
items?: GuestAttributesEntry[];
|
|
2708
2708
|
}
|
|
2709
2709
|
interface GuestOsFeature {
|
|
2710
|
-
/** The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - IDPF For more information, see Enabling guest operating system features. */
|
|
2710
|
+
/** The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features. */
|
|
2711
2711
|
type?: string;
|
|
2712
2712
|
}
|
|
2713
2713
|
interface HealthCheck {
|
|
@@ -4658,18 +4658,6 @@ declare namespace gapi.client {
|
|
|
4658
4658
|
message?: string;
|
|
4659
4659
|
};
|
|
4660
4660
|
}
|
|
4661
|
-
interface InstantSnapshotExportParams {
|
|
4662
|
-
/** An optional base instant snapshot that this resource is compared against. If not specified, all blocks of this resource are exported. The base instant snapshot and this resource must be created from the same disk. The base instant snapshot must be created earlier in time than this resource. */
|
|
4663
|
-
baseInstantSnapshot?: string;
|
|
4664
|
-
/** The name of an existing bucket in Cloud Storage where the changed blocks will be stored. The Google Service Account must have read and write access to this bucket. The bucket has to be in the same region as this resource. */
|
|
4665
|
-
bucketName?: string;
|
|
4666
|
-
/** Encryption key used to encrypt the instant snapshot. */
|
|
4667
|
-
encryptionKey?: CustomerEncryptionKey;
|
|
4668
|
-
/** Name of the output Bigstore object storing the changed blocks. Object name must be less than 1024 bytes in length. */
|
|
4669
|
-
objectName?: string;
|
|
4670
|
-
/** The format of the output file. */
|
|
4671
|
-
outputType?: string;
|
|
4672
|
-
}
|
|
4673
4661
|
interface InstantSnapshotList {
|
|
4674
4662
|
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
4675
4663
|
id?: string;
|
|
@@ -4700,10 +4688,6 @@ declare namespace gapi.client {
|
|
|
4700
4688
|
/** [Output Only] The storage size of this instant snapshot. */
|
|
4701
4689
|
storageSizeBytes?: string;
|
|
4702
4690
|
}
|
|
4703
|
-
interface InstantSnapshotsExportRequest {
|
|
4704
|
-
/** Parameters to export the changed blocks. */
|
|
4705
|
-
exportParams?: InstantSnapshotExportParams;
|
|
4706
|
-
}
|
|
4707
4691
|
interface InstantSnapshotsScopedList {
|
|
4708
4692
|
/** [Output Only] A list of instantSnapshots contained in this scope. */
|
|
4709
4693
|
instantSnapshots?: InstantSnapshot[];
|
|
@@ -6074,7 +6058,7 @@ declare namespace gapi.client {
|
|
|
6074
6058
|
clientPort?: number;
|
|
6075
6059
|
/** Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT. */
|
|
6076
6060
|
fqdn?: string;
|
|
6077
|
-
/** The name
|
|
6061
|
+
/** The name or a URL of a specific VM instance that the IP address belongs to. This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group (for zonal NEGs) or in the zone within the region of the NEG (for regional NEGs). The name must be 1-63 characters long, and comply with RFC1035 or be a valid URL pointing to an existing instance. */
|
|
6078
6062
|
instance?: string;
|
|
6079
6063
|
/** Optional IPv4 address of network endpoint. The IP address must belong to a VM in Compute Engine (either the primary IP or as part of an aliased IP range). If the IP address is not specified, then the primary IP address for the VM instance in the network that the network endpoint group belongs to will be used. */
|
|
6080
6064
|
ipAddress?: string;
|
|
@@ -8221,10 +8205,6 @@ declare namespace gapi.client {
|
|
|
8221
8205
|
/** The list of named ports to set for this instance group. */
|
|
8222
8206
|
namedPorts?: NamedPort[];
|
|
8223
8207
|
}
|
|
8224
|
-
interface RegionInstantSnapshotsExportRequest {
|
|
8225
|
-
/** Parameters to export the changed blocks. */
|
|
8226
|
-
exportParams?: InstantSnapshotExportParams;
|
|
8227
|
-
}
|
|
8228
8208
|
interface RegionList {
|
|
8229
8209
|
/** [Output Only] Unique identifier for the resource; defined by the server. */
|
|
8230
8210
|
id?: string;
|
|
@@ -10825,17 +10805,19 @@ declare namespace gapi.client {
|
|
|
10825
10805
|
id?: string;
|
|
10826
10806
|
/** [Output Only] Type of the resource. Always compute#storagePoolType for storage pool types. */
|
|
10827
10807
|
kind?: string;
|
|
10808
|
+
/** [Output Only] Maximum storage pool size in GB. */
|
|
10809
|
+
maxPoolProvisionedCapacityGb?: string;
|
|
10828
10810
|
/** [Output Only] Maximum provisioned IOPS. */
|
|
10829
|
-
|
|
10811
|
+
maxPoolProvisionedIops?: string;
|
|
10830
10812
|
/** [Output Only] Maximum provisioned throughput. */
|
|
10831
|
-
|
|
10832
|
-
/** [Output Only]
|
|
10833
|
-
|
|
10813
|
+
maxPoolProvisionedThroughput?: string;
|
|
10814
|
+
/** [Output Only] Minimum storage pool size in GB. */
|
|
10815
|
+
minPoolProvisionedCapacityGb?: string;
|
|
10834
10816
|
/** [Output Only] Minimum provisioned IOPS. */
|
|
10835
|
-
|
|
10817
|
+
minPoolProvisionedIops?: string;
|
|
10836
10818
|
/** [Output Only] Minimum provisioned throughput. */
|
|
10837
|
-
|
|
10838
|
-
/** [
|
|
10819
|
+
minPoolProvisionedThroughput?: string;
|
|
10820
|
+
/** [Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb instead. */
|
|
10839
10821
|
minSizeGb?: string;
|
|
10840
10822
|
/** [Output Only] Name of the resource. */
|
|
10841
10823
|
name?: string;
|
|
@@ -27601,80 +27583,6 @@ declare namespace gapi.client {
|
|
|
27601
27583
|
/** The name of the zone for this request. */
|
|
27602
27584
|
zone: string;
|
|
27603
27585
|
}): Request<Operation>;
|
|
27604
|
-
/** Export the changed blocks between two instant snapshots to a customer's bucket in the user specified format. */
|
|
27605
|
-
export(request: {
|
|
27606
|
-
/** V1 error format. */
|
|
27607
|
-
'$.xgafv'?: string;
|
|
27608
|
-
/** OAuth access token. */
|
|
27609
|
-
access_token?: string;
|
|
27610
|
-
/** Data format for response. */
|
|
27611
|
-
alt?: string;
|
|
27612
|
-
/** JSONP */
|
|
27613
|
-
callback?: string;
|
|
27614
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
27615
|
-
fields?: string;
|
|
27616
|
-
/** Name of the instant snapshot to export. */
|
|
27617
|
-
instantSnapshot: string;
|
|
27618
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
27619
|
-
key?: string;
|
|
27620
|
-
/** OAuth 2.0 token for the current user. */
|
|
27621
|
-
oauth_token?: string;
|
|
27622
|
-
/** Returns response with indentations and line breaks. */
|
|
27623
|
-
prettyPrint?: boolean;
|
|
27624
|
-
/** Project ID for this request. */
|
|
27625
|
-
project: string;
|
|
27626
|
-
/** 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. */
|
|
27627
|
-
quotaUser?: string;
|
|
27628
|
-
/** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
|
|
27629
|
-
requestId?: string;
|
|
27630
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
27631
|
-
upload_protocol?: string;
|
|
27632
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
27633
|
-
uploadType?: string;
|
|
27634
|
-
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
27635
|
-
userIp?: string;
|
|
27636
|
-
/** The name of the zone for this request. */
|
|
27637
|
-
zone: string;
|
|
27638
|
-
/** Request body */
|
|
27639
|
-
resource: InstantSnapshotsExportRequest;
|
|
27640
|
-
}): Request<Operation>;
|
|
27641
|
-
export(
|
|
27642
|
-
request: {
|
|
27643
|
-
/** V1 error format. */
|
|
27644
|
-
'$.xgafv'?: string;
|
|
27645
|
-
/** OAuth access token. */
|
|
27646
|
-
access_token?: string;
|
|
27647
|
-
/** Data format for response. */
|
|
27648
|
-
alt?: string;
|
|
27649
|
-
/** JSONP */
|
|
27650
|
-
callback?: string;
|
|
27651
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
27652
|
-
fields?: string;
|
|
27653
|
-
/** Name of the instant snapshot to export. */
|
|
27654
|
-
instantSnapshot: string;
|
|
27655
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
27656
|
-
key?: string;
|
|
27657
|
-
/** OAuth 2.0 token for the current user. */
|
|
27658
|
-
oauth_token?: string;
|
|
27659
|
-
/** Returns response with indentations and line breaks. */
|
|
27660
|
-
prettyPrint?: boolean;
|
|
27661
|
-
/** Project ID for this request. */
|
|
27662
|
-
project: string;
|
|
27663
|
-
/** 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. */
|
|
27664
|
-
quotaUser?: string;
|
|
27665
|
-
/** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
|
|
27666
|
-
requestId?: string;
|
|
27667
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
27668
|
-
upload_protocol?: string;
|
|
27669
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
27670
|
-
uploadType?: string;
|
|
27671
|
-
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
27672
|
-
userIp?: string;
|
|
27673
|
-
/** The name of the zone for this request. */
|
|
27674
|
-
zone: string;
|
|
27675
|
-
},
|
|
27676
|
-
body: InstantSnapshotsExportRequest
|
|
27677
|
-
): Request<Operation>;
|
|
27678
27586
|
/** Returns the specified InstantSnapshot resource in the specified zone. */
|
|
27679
27587
|
get(request?: {
|
|
27680
27588
|
/** V1 error format. */
|
|
@@ -41854,80 +41762,6 @@ declare namespace gapi.client {
|
|
|
41854
41762
|
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
41855
41763
|
userIp?: string;
|
|
41856
41764
|
}): Request<Operation>;
|
|
41857
|
-
/** Export the changed blocks between two instant snapshots to a customer's bucket in the user specified format. */
|
|
41858
|
-
export(request: {
|
|
41859
|
-
/** V1 error format. */
|
|
41860
|
-
'$.xgafv'?: string;
|
|
41861
|
-
/** OAuth access token. */
|
|
41862
|
-
access_token?: string;
|
|
41863
|
-
/** Data format for response. */
|
|
41864
|
-
alt?: string;
|
|
41865
|
-
/** JSONP */
|
|
41866
|
-
callback?: string;
|
|
41867
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
41868
|
-
fields?: string;
|
|
41869
|
-
/** Name of the instant snapshot to export. */
|
|
41870
|
-
instantSnapshot: string;
|
|
41871
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
41872
|
-
key?: string;
|
|
41873
|
-
/** OAuth 2.0 token for the current user. */
|
|
41874
|
-
oauth_token?: string;
|
|
41875
|
-
/** Returns response with indentations and line breaks. */
|
|
41876
|
-
prettyPrint?: boolean;
|
|
41877
|
-
/** Project ID for this request. */
|
|
41878
|
-
project: string;
|
|
41879
|
-
/** 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. */
|
|
41880
|
-
quotaUser?: string;
|
|
41881
|
-
/** The name of the zone for this request. */
|
|
41882
|
-
region: string;
|
|
41883
|
-
/** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
|
|
41884
|
-
requestId?: string;
|
|
41885
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
41886
|
-
upload_protocol?: string;
|
|
41887
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
41888
|
-
uploadType?: string;
|
|
41889
|
-
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
41890
|
-
userIp?: string;
|
|
41891
|
-
/** Request body */
|
|
41892
|
-
resource: RegionInstantSnapshotsExportRequest;
|
|
41893
|
-
}): Request<Operation>;
|
|
41894
|
-
export(
|
|
41895
|
-
request: {
|
|
41896
|
-
/** V1 error format. */
|
|
41897
|
-
'$.xgafv'?: string;
|
|
41898
|
-
/** OAuth access token. */
|
|
41899
|
-
access_token?: string;
|
|
41900
|
-
/** Data format for response. */
|
|
41901
|
-
alt?: string;
|
|
41902
|
-
/** JSONP */
|
|
41903
|
-
callback?: string;
|
|
41904
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
41905
|
-
fields?: string;
|
|
41906
|
-
/** Name of the instant snapshot to export. */
|
|
41907
|
-
instantSnapshot: string;
|
|
41908
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
41909
|
-
key?: string;
|
|
41910
|
-
/** OAuth 2.0 token for the current user. */
|
|
41911
|
-
oauth_token?: string;
|
|
41912
|
-
/** Returns response with indentations and line breaks. */
|
|
41913
|
-
prettyPrint?: boolean;
|
|
41914
|
-
/** Project ID for this request. */
|
|
41915
|
-
project: string;
|
|
41916
|
-
/** 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. */
|
|
41917
|
-
quotaUser?: string;
|
|
41918
|
-
/** The name of the zone for this request. */
|
|
41919
|
-
region: string;
|
|
41920
|
-
/** An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */
|
|
41921
|
-
requestId?: string;
|
|
41922
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
41923
|
-
upload_protocol?: string;
|
|
41924
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
41925
|
-
uploadType?: string;
|
|
41926
|
-
/** Legacy name for parameter that has been superseded by `quotaUser`. */
|
|
41927
|
-
userIp?: string;
|
|
41928
|
-
},
|
|
41929
|
-
body: RegionInstantSnapshotsExportRequest
|
|
41930
|
-
): Request<Operation>;
|
|
41931
41765
|
/** Returns the specified InstantSnapshot resource in the specified region. */
|
|
41932
41766
|
get(request?: {
|
|
41933
41767
|
/** V1 error format. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1570,11 +1570,6 @@ Deletes the specified InstantSnapshot resource. Keep in mind that deleting a sin
|
|
|
1570
1570
|
*/
|
|
1571
1571
|
await gapi.client.compute.instantSnapshots.delete({ instantSnapshot: "instantSnapshot", project: "project", zone: "zone", });
|
|
1572
1572
|
|
|
1573
|
-
/*
|
|
1574
|
-
Export the changed blocks between two instant snapshots to a customer's bucket in the user specified format.
|
|
1575
|
-
*/
|
|
1576
|
-
await gapi.client.compute.instantSnapshots.export({ instantSnapshot: "instantSnapshot", project: "project", zone: "zone", });
|
|
1577
|
-
|
|
1578
1573
|
/*
|
|
1579
1574
|
Returns the specified InstantSnapshot resource in the specified zone.
|
|
1580
1575
|
*/
|
|
@@ -3015,11 +3010,6 @@ Deletes the specified InstantSnapshot resource. Keep in mind that deleting a sin
|
|
|
3015
3010
|
*/
|
|
3016
3011
|
await gapi.client.compute.regionInstantSnapshots.delete({ instantSnapshot: "instantSnapshot", project: "project", region: "region", });
|
|
3017
3012
|
|
|
3018
|
-
/*
|
|
3019
|
-
Export the changed blocks between two instant snapshots to a customer's bucket in the user specified format.
|
|
3020
|
-
*/
|
|
3021
|
-
await gapi.client.compute.regionInstantSnapshots.export({ instantSnapshot: "instantSnapshot", project: "project", region: "region", });
|
|
3022
|
-
|
|
3023
3013
|
/*
|
|
3024
3014
|
Returns the specified InstantSnapshot resource in the specified region.
|
|
3025
3015
|
*/
|