Class AgentTask
TODO(b/182501497) The message needs to be redefined when the Agent API server updates data in storage per the backend design.
Implements
Inherited Members
Namespace: Google.Apis.Batch.v1.Data
Assembly: Google.Apis.Batch.v1.dll
Syntax
public class AgentTask : IDirectResponseSchema
Properties
AgentTaskSpec
AgentTaskSpec is the taskSpec representation between Agent and CLH communication. This field will replace the TaskSpec field above in future to have a better separation between user-facaing API and internal API.
Declaration
[JsonProperty("agentTaskSpec")]
public virtual AgentTaskSpec AgentTaskSpec { get; set; }
Property Value
Type | Description |
---|---|
AgentTaskSpec |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
IntendedState
The intended state of the task.
Declaration
[JsonProperty("intendedState")]
public virtual string IntendedState { get; set; }
Property Value
Type | Description |
---|---|
string |
ReachedBarrier
The highest barrier reached by all tasks in the task's TaskGroup.
Declaration
[JsonProperty("reachedBarrier")]
public virtual long? ReachedBarrier { get; set; }
Property Value
Type | Description |
---|---|
long? |
Spec
Task Spec. This field will be replaced by agent_task_spec below in future.
Declaration
[JsonProperty("spec")]
public virtual TaskSpec Spec { get; set; }
Property Value
Type | Description |
---|---|
TaskSpec |
Status
Task status.
Declaration
[JsonProperty("status")]
public virtual TaskStatus Status { get; set; }
Property Value
Type | Description |
---|---|
TaskStatus |
Task
Task name.
Declaration
[JsonProperty("task")]
public virtual string Task { get; set; }
Property Value
Type | Description |
---|---|
string |
TaskSource
TaskSource represents the source of the task.
Declaration
[JsonProperty("taskSource")]
public virtual string TaskSource { get; set; }
Property Value
Type | Description |
---|---|
string |