Batch v1 API - Class Task (2.5.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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月05日 UTC.