@maxim_mazurok/gapi.client.batch-v1 0.0.20230726 → 0.0.20230804
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 +15 -15
- package/package.json +2 -2
- package/tests.ts +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://batch.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230804
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -341,10 +341,10 @@ declare namespace gapi.client {
|
|
|
341
341
|
diskInterface?:
|
|
342
342
|
string;
|
|
343
343
|
/**
|
|
344
|
-
*
|
|
345
|
-
* Specify the image version: projects/project/global/images/image_version You can also use Batch customized image in short
|
|
346
|
-
* disk: * `batch-debian`: use Batch Debian images. * `batch-centos`: use Batch CentOS images. * `batch-cos`: use Batch
|
|
347
|
-
* CentOS images.
|
|
344
|
+
* URL for a VM image to use as the data source for this disk. For example, the following are all valid URLs: * Specify the image by its family name:
|
|
345
|
+
* projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short
|
|
346
|
+
* names. The following image values are supported for a boot disk: * `batch-debian`: use Batch Debian images. * `batch-centos`: use Batch CentOS images. * `batch-cos`: use Batch
|
|
347
|
+
* Container-Optimized images. * `batch-hpc-centos`: use Batch HPC CentOS images.
|
|
348
348
|
*/
|
|
349
349
|
image?:
|
|
350
350
|
string;
|
|
@@ -392,8 +392,8 @@ declare namespace gapi.client {
|
|
|
392
392
|
bootDisk?:
|
|
393
393
|
Disk;
|
|
394
394
|
/**
|
|
395
|
-
* Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted. A non
|
|
396
|
-
*
|
|
395
|
+
* Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted. A non-boot disk is a disk that can be of a device with a
|
|
396
|
+
* file system or a raw storage drive that is not ready for data storage and accessing.
|
|
397
397
|
*/
|
|
398
398
|
disks?:
|
|
399
399
|
AttachedDisk[];
|
|
@@ -612,8 +612,8 @@ declare namespace gapi.client {
|
|
|
612
612
|
}
|
|
613
613
|
interface NetworkInterface {
|
|
614
614
|
/**
|
|
615
|
-
* The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs:
|
|
616
|
-
* https://www.googleapis.com/compute/v1/projects/project/global/networks/network projects/project/global/networks/network global/networks/network
|
|
615
|
+
* The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: *
|
|
616
|
+
* https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} * projects/{project}/global/networks/{network} * global/networks/{network}
|
|
617
617
|
*/
|
|
618
618
|
network?:
|
|
619
619
|
string;
|
|
@@ -625,9 +625,9 @@ declare namespace gapi.client {
|
|
|
625
625
|
noExternalIpAddress?:
|
|
626
626
|
boolean;
|
|
627
627
|
/**
|
|
628
|
-
* The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs:
|
|
629
|
-
* https://www.googleapis.com/compute/v1/projects/project/regions/region/subnetworks/subnetwork projects/project/regions/region/subnetworks/subnetwork
|
|
630
|
-
* regions/region/subnetworks/subnetwork
|
|
628
|
+
* The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: *
|
|
629
|
+
* https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} * projects/{project}/regions/{region}/subnetworks/{subnetwork} *
|
|
630
|
+
* regions/{region}/subnetworks/{subnetwork}
|
|
631
631
|
*/
|
|
632
632
|
subnetwork?:
|
|
633
633
|
string;
|
|
@@ -665,9 +665,9 @@ declare namespace gapi.client {
|
|
|
665
665
|
name?:
|
|
666
666
|
string;
|
|
667
667
|
/**
|
|
668
|
-
* The normal response of the operation
|
|
669
|
-
*
|
|
670
|
-
*
|
|
668
|
+
* The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original
|
|
669
|
+
* method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original
|
|
670
|
+
* method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
671
671
|
*/
|
|
672
672
|
response?:
|
|
673
673
|
{ [P in string]: any };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maxim_mazurok/gapi.client.batch-v1",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20230804",
|
|
4
4
|
"description": "TypeScript typings for Batch API v1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
"types": "index.d.ts",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@types/gapi.client": "*",
|
|
18
|
-
"@types/gapi.client.discovery": "*"
|
|
18
|
+
"@types/gapi.client.discovery-v1": "*"
|
|
19
19
|
}
|
|
20
20
|
}
|
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230804
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|