Batch v1 API - Class JobStatus (2.1.0)

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

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

Job status.

Inheritance

object > JobStatus

Namespace

Google.Cloud.Batch.V1

Assembly

Google.Cloud.Batch.V1.dll

Constructors

JobStatus()

public JobStatus()

JobStatus(JobStatus)

public JobStatus(JobStatus other)
Parameter
Name Description
other JobStatus

Properties

RunDuration

public Duration RunDuration { get; set; }

The duration of time that the Job spent in status RUNNING.

Property Value
Type Description
Duration

State

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

Job state

Property Value
Type Description
JobStatus Types State

StatusEvents

public RepeatedField<StatusEvent> StatusEvents { get; }

Job status events

Property Value
Type Description
RepeatedField StatusEvent

TaskGroups

public MapField<string, JobStatus.Types.TaskGroupStatus> TaskGroups { get; }

Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID.

Property Value
Type Description
MapField string JobStatus Types TaskGroupStatus

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.