Class WorkerLifecycleEvent
A report of an event in a worker's lifecycle. The proto contains one event, because the worker is expected to asynchronously send each message immediately after the event. Due to this asynchrony, messages may arrive out of order (or missing), and it is up to the consumer to interpret. The timestamp of the event is in the enclosing WorkerMessage proto.
Implements
Inherited Members
Namespace: Google.Apis.Dataflow.v1b3.Data
Assembly: Google.Apis.Dataflow.v1b3.dll
Syntax
public class WorkerLifecycleEvent : IDirectResponseSchema
Properties
ContainerStartTime
object representation of ContainerStartTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ContainerStartTimeDateTimeOffset instead.")]
public virtual object ContainerStartTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
ContainerStartTimeDateTimeOffset
DateTimeOffset representation of ContainerStartTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ContainerStartTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
ContainerStartTimeRaw
The start time of this container. All events will report this so that events can be grouped together across container/VM restarts.
Declaration
[JsonProperty("containerStartTime")]
public virtual string ContainerStartTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Event__
The event being reported.
Declaration
[JsonProperty("event")]
public virtual string Event__ { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Metadata
Other stats that can accompany an event. E.g. { "downloaded_bytes" : "123456" }
Declaration
[JsonProperty("metadata")]
public virtual IDictionary<string, string> Metadata { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |