Batch v1 API - Class StatusEvent (2.12.0)

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

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

Status event.

Inheritance

object > StatusEvent

Namespace

Google.Cloud.Batch.V1

Assembly

Google.Cloud.Batch.V1.dll

Constructors

StatusEvent()

public StatusEvent()

StatusEvent(StatusEvent)

public StatusEvent(StatusEvent other)
Parameter
Name Description
other StatusEvent

Properties

Description

public string Description { get; set; }

Description of the event.

Property Value
Type Description
string

EventTime

public Timestamp EventTime { get; set; }

The time this event occurred.

Property Value
Type Description
Timestamp

TaskExecution

public TaskExecution TaskExecution { get; set; }

Task Execution. This field is only defined for task-level status events where the task fails.

Property Value
Type Description
TaskExecution

TaskState

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

Task State. This field is only defined for task-level status events.

Property Value
Type Description
TaskStatusTypesState

Type

public string Type { get; set; }

Type of the event.

Property Value
Type Description
string