Batch v1 API - Class Task (2.10.0)

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

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

A Cloud Batch task.

Inheritance

object > Task

Namespace

Google.Cloud.Batch.V1

Assembly

Google.Cloud.Batch.V1.dll

Constructors

Task()

public Task()

Task(Task)

public Task(Task other)
Parameter
Name Description
other Task

Properties

Name

public string Name { get; set; }

Task name. The name is generated from the parent TaskGroup name and 'id' field. For example: "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01/tasks/task01".

Property Value
Type Description
string

Status

public TaskStatus Status { get; set; }

Task Status.

Property Value
Type Description
TaskStatus

TaskName

public TaskName TaskName { get; set; }

TaskName-typed view over the Name resource name property.

Property Value
Type Description
TaskName