@maxim_mazurok/gapi.client.batch-v1 0.0.20240813 → 0.0.20240821
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 +7 -1
- 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: 20240821
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -128,6 +128,10 @@ declare namespace gapi.client {
|
|
|
128
128
|
/** The status of the Task. If we need agent specific fields we should fork the public TaskStatus into an agent specific one. Or add them below. */
|
|
129
129
|
taskStatus?: TaskStatus;
|
|
130
130
|
}
|
|
131
|
+
interface AgentTaskLoggingOption {
|
|
132
|
+
/** Labels to be added to the log entry. Now only cloud logging is supported. */
|
|
133
|
+
labels?: {[P in string]: string};
|
|
134
|
+
}
|
|
131
135
|
interface AgentTaskRunnable {
|
|
132
136
|
/** 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. */
|
|
133
137
|
alwaysRun?: boolean;
|
|
@@ -147,6 +151,8 @@ declare namespace gapi.client {
|
|
|
147
151
|
interface AgentTaskSpec {
|
|
148
152
|
/** Environment variables to set before running the Task. */
|
|
149
153
|
environment?: AgentEnvironment;
|
|
154
|
+
/** Logging option for the task. */
|
|
155
|
+
loggingOption?: AgentTaskLoggingOption;
|
|
150
156
|
/** 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. */
|
|
151
157
|
maxRunDuration?: string;
|
|
152
158
|
/** AgentTaskRunnable is runanbles that will be executed on the agent. */
|