Batch v1 API - Class TaskStatus (1.2.0)

public sealed class TaskStatus : IMessage<TaskStatus>, IEquatable<TaskStatus>, IDeepCloneable<TaskStatus>, IBufferMessage, IMessage

Reference documentation and code samples for the Batch v1 API class TaskStatus.

Status of a task

Inheritance

Object > TaskStatus

Namespace

Google.Cloud.Batch.V1

Assembly

Google.Cloud.Batch.V1.dll

Constructors

TaskStatus()

public TaskStatus()

TaskStatus(TaskStatus)

public TaskStatus(TaskStatus other)
Parameter
NameDescription
otherTaskStatus

Properties

State

public TaskStatus.Types.State State { get; set; }

Task state

Property Value
TypeDescription
TaskStatus.Types.State

StatusEvents

public RepeatedField<StatusEvent> StatusEvents { get; }

Detailed info about why the state is reached.

Property Value
TypeDescription
RepeatedField<StatusEvent>