@maxim_mazurok/gapi.client.batch-v1 0.0.20230301 → 0.0.20230320
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 +3 -8
- package/package.json +1 -1
- package/tests.ts +2 -7
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: 20230320
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -535,7 +535,7 @@ declare namespace gapi.client {
|
|
|
535
535
|
interface TaskGroup {
|
|
536
536
|
/** Output only. TaskGroup name. The system generates this field based on parent Job name. For example: "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01". */
|
|
537
537
|
name?: string;
|
|
538
|
-
/** Max number of tasks that can run in parallel. Default to min(task_count, 1000). */
|
|
538
|
+
/** Max number of tasks that can run in parallel. Default to min(task_count, 1000). Field parallelism must be 1 if the scheduling_policy is IN_ORDER. */
|
|
539
539
|
parallelism?: string;
|
|
540
540
|
/** When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup. */
|
|
541
541
|
permissiveSsh?: boolean;
|
|
@@ -982,12 +982,7 @@ declare namespace gapi.client {
|
|
|
982
982
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
983
983
|
uploadType?: string;
|
|
984
984
|
}): Request<Operation>;
|
|
985
|
-
/**
|
|
986
|
-
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services
|
|
987
|
-
* to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as
|
|
988
|
-
* `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
|
|
989
|
-
* ensure the name binding is the parent resource, without the operations collection id.
|
|
990
|
-
*/
|
|
985
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
991
986
|
list(request?: {
|
|
992
987
|
/** V1 error format. */
|
|
993
988
|
"$.xgafv"?: string;
|
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: 20230320
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -332,12 +332,7 @@ gapi.load('client', async () => {
|
|
|
332
332
|
await gapi.client.batch.projects.locations.operations.get({
|
|
333
333
|
name: "Test string",
|
|
334
334
|
});
|
|
335
|
-
/**
|
|
336
|
-
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to
|
|
337
|
-
* override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as
|
|
338
|
-
* `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
|
|
339
|
-
* ensure the name binding is the parent resource, without the operations collection id.
|
|
340
|
-
*/
|
|
335
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
341
336
|
await gapi.client.batch.projects.locations.operations.list({
|
|
342
337
|
filter: "Test string",
|
|
343
338
|
name: "Test string",
|