Show / Hide Table of Contents

Class AgentTaskRunnable

AgentTaskRunnable is the Runnable representation between Agent and CLH communication.

Inheritance
object
AgentTaskRunnable
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Batch.v1.Data
Assembly: Google.Apis.Batch.v1.dll
Syntax
public class AgentTaskRunnable : IDirectResponseSchema

Properties

AlwaysRun

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.

Declaration
[JsonProperty("alwaysRun")]
public virtual bool? AlwaysRun { get; set; }
Property Value
Type Description
bool?

Background

This flag allows a Runnable to continue running in the background while the Task executes subsequent Runnables. This is useful to provide services to other Runnables (or to provide debugging support tools like SSH servers).

Declaration
[JsonProperty("background")]
public virtual bool? Background { get; set; }
Property Value
Type Description
bool?

Container

Container runnable.

Declaration
[JsonProperty("container")]
public virtual AgentContainer Container { get; set; }
Property Value
Type Description
AgentContainer

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Environment

Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).

Declaration
[JsonProperty("environment")]
public virtual AgentEnvironment Environment { get; set; }
Property Value
Type Description
AgentEnvironment

IgnoreExitStatus

Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other Runnables to continue instead.

Declaration
[JsonProperty("ignoreExitStatus")]
public virtual bool? IgnoreExitStatus { get; set; }
Property Value
Type Description
bool?

Script

Script runnable.

Declaration
[JsonProperty("script")]
public virtual AgentScript Script { get; set; }
Property Value
Type Description
AgentScript

Timeout

Timeout for this Runnable.

Declaration
[JsonProperty("timeout")]
public virtual object Timeout { get; set; }
Property Value
Type Description
object

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX