Batch v1alpha API - Class Task (1.0.0-alpha16)

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

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

A Cloud Batch task.

Inheritance

object > Task

Namespace

Google.Cloud.Batch.V1Alpha

Assembly

Google.Cloud.Batch.V1Alpha.dll

Constructors

Task()

public Task()

Task(Task)

public Task(Task other)
Parameter
NameDescription
otherTask

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
TypeDescription
string

Status

public TaskStatus Status { get; set; }

Task Status.

Property Value
TypeDescription
TaskStatus

TaskName

public TaskName TaskName { get; set; }

TaskName-typed view over the Name resource name property.

Property Value
TypeDescription
TaskName