@maxim_mazurok/gapi.client.batch-v1 0.0.20240729 → 0.0.20240807
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 +4 -4
- package/package.json +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: 20240807
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -474,7 +474,7 @@ declare namespace gapi.client {
|
|
|
474
474
|
interface Runnable {
|
|
475
475
|
/** By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables. */
|
|
476
476
|
alwaysRun?: boolean;
|
|
477
|
-
/**
|
|
477
|
+
/** Normally, a runnable that doesn't exit causes its task to fail. However, you can set this field to `true` to configure a background runnable. Background runnables are allowed continue running in the background while the task executes subsequent runnables. For example, background runnables are useful for providing services to other runnables or providing debugging-support tools like SSH servers. Specifically, background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as task failures. */
|
|
478
478
|
background?: boolean;
|
|
479
479
|
/** Barrier runnable. */
|
|
480
480
|
barrier?: Barrier;
|
|
@@ -484,7 +484,7 @@ declare namespace gapi.client {
|
|
|
484
484
|
displayName?: string;
|
|
485
485
|
/** Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup). */
|
|
486
486
|
environment?: Environment;
|
|
487
|
-
/** Normally, a non-zero exit status causes the
|
|
487
|
+
/** Normally, a runnable that returns a non-zero exit status fails and causes the task to fail. However, you can set this field to `true` to allow the task to continue executing its other runnables even if this runnable fails. */
|
|
488
488
|
ignoreExitStatus?: boolean;
|
|
489
489
|
/** Labels for this Runnable. */
|
|
490
490
|
labels?: {[P in string]: string};
|
|
@@ -576,7 +576,7 @@ declare namespace gapi.client {
|
|
|
576
576
|
maxRetryCount?: number;
|
|
577
577
|
/** Maximum duration the task should run before being automatically retried (if enabled) or automatically failed. Format the value of this field as a time limit in seconds followed by `s`—for example, `3600s` for 1 hour. The field accepts any value between 0 and the maximum listed for the `Duration` field type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however, the actual maximum run time for a job will be limited to the maximum run time for a job listed at https://cloud.google.com/batch/quotas#max-job-duration. */
|
|
578
578
|
maxRunDuration?: string;
|
|
579
|
-
/** Required. The sequence of one or more runnables (executable scripts, executable containers, and/or barriers) for each task in this task group to run. Each task runs this list of runnables in order. For a task to succeed, all of its script and container runnables each must
|
|
579
|
+
/** Required. The sequence of one or more runnables (executable scripts, executable containers, and/or barriers) for each task in this task group to run. Each task runs this list of runnables in order. For a task to succeed, all of its script and container runnables each must meet at least one of the following conditions: + The runnable exited with a zero status. + The runnable didn't finish, but you enabled its `background` subfield. + The runnable exited with a non-zero status, but you enabled its `ignore_exit_status` subfield. */
|
|
580
580
|
runnables?: Runnable[];
|
|
581
581
|
/** Volumes to mount before running Tasks using this TaskSpec. */
|
|
582
582
|
volumes?: Volume[];
|