AgentTaskSpec
import type { AgentTaskSpec } from "https://googleapis.deno.dev/v1/batch:v1.ts";
AgentTaskSpec is the user's TaskSpec representation between Agent and CLH communication.
§Properties
Environment variables to set before running the Task.
Logging option for the task.
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.
AgentTaskRunnable is runanbles that will be executed on the agent.
User account on the VM to run the runnables in the agentTaskSpec. If not set, the runnable will be run under root user.