@maxim_mazurok/gapi.client.batch-v1 0.0.20230105 → 0.0.20230118
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 +5 -1
- package/package.json +1 -1
- package/tests.ts +11 -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: 20230118
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -275,6 +275,8 @@ declare namespace gapi.client {
|
|
|
275
275
|
policy?: InstancePolicy;
|
|
276
276
|
}
|
|
277
277
|
interface InstanceStatus {
|
|
278
|
+
/** The VM boot disk. */
|
|
279
|
+
bootDisk?: Disk;
|
|
278
280
|
/** The Compute Engine machine type. */
|
|
279
281
|
machineType?: string;
|
|
280
282
|
/** The VM instance provisioning model. */
|
|
@@ -558,6 +560,8 @@ declare namespace gapi.client {
|
|
|
558
560
|
* account has to be specified in the instance template and it has to match the email field here.
|
|
559
561
|
*/
|
|
560
562
|
email?: string;
|
|
563
|
+
/** List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default. */
|
|
564
|
+
scopes?: string[];
|
|
561
565
|
}
|
|
562
566
|
interface SetIamPolicyRequest {
|
|
563
567
|
/**
|
package/package.json
CHANGED
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: 20230118
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -104,6 +104,9 @@ gapi.load('client', async () => {
|
|
|
104
104
|
},
|
|
105
105
|
serviceAccount: {
|
|
106
106
|
email: "Test string",
|
|
107
|
+
scopes: [
|
|
108
|
+
"Test string"
|
|
109
|
+
],
|
|
107
110
|
},
|
|
108
111
|
},
|
|
109
112
|
createTime: "Test string",
|
|
@@ -146,6 +149,13 @@ gapi.load('client', async () => {
|
|
|
146
149
|
},
|
|
147
150
|
instances: [
|
|
148
151
|
{
|
|
152
|
+
bootDisk: {
|
|
153
|
+
diskInterface: "Test string",
|
|
154
|
+
image: "Test string",
|
|
155
|
+
sizeGb: "Test string",
|
|
156
|
+
snapshot: "Test string",
|
|
157
|
+
type: "Test string",
|
|
158
|
+
},
|
|
149
159
|
machineType: "Test string",
|
|
150
160
|
provisioningModel: "Test string",
|
|
151
161
|
taskPack: "Test string",
|