1.0.0-alpha36 (latest) 1.0.0-alpha35

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

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

Status of a task.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> TaskStatus

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TaskStatus](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.TaskStatus.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TaskStatus](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.TaskStatus.md.txt), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TaskStatus](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.TaskStatus.md.txt), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Batch.V1Alpha](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.md.txt)

## Assembly

Google.Cloud.Batch.V1Alpha.dll

## Constructors

### TaskStatus()

    public TaskStatus()

### TaskStatus(TaskStatus)

    public TaskStatus(TaskStatus other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `TaskStatus` |

## Properties

### ResourceUsage

    public TaskResourceUsage ResourceUsage { get; set; }

The resource usage of the task.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `TaskResourceUsage` |   |

### State

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

Task state.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `TaskStatusTypesState` |   |

### StatusEvents

    public RepeatedField<StatusEvent> StatusEvents { get; }

Detailed info about why the state is reached.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldStatusEvent` |   |