Dataflow v1beta3 API - Class AutoscalingEvent (2.0.0-beta06)

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

Reference documentation and code samples for the Dataflow v1beta3 API class AutoscalingEvent.

A structured message reporting an autoscaling decision made by the Dataflow service.

Inheritance

object > AutoscalingEvent

Namespace

Google.Cloud.Dataflow.V1Beta3

Assembly

Google.Cloud.Dataflow.V1Beta3.dll

Constructors

AutoscalingEvent()

public AutoscalingEvent()

AutoscalingEvent(AutoscalingEvent)

public AutoscalingEvent(AutoscalingEvent other)
Parameter
NameDescription
otherAutoscalingEvent

Properties

CurrentNumWorkers

public long CurrentNumWorkers { get; set; }

The current number of workers the job has.

Property Value
TypeDescription
long

Description

public StructuredMessage Description { get; set; }

A message describing why the system decided to adjust the current number of workers, why it failed, or why the system decided to not make any changes to the number of workers.

Property Value
TypeDescription
StructuredMessage

EventType

public AutoscalingEvent.Types.AutoscalingEventType EventType { get; set; }

The type of autoscaling event to report.

Property Value
TypeDescription
AutoscalingEventTypesAutoscalingEventType

TargetNumWorkers

public long TargetNumWorkers { get; set; }

The target number of workers the worker pool wants to resize to use.

Property Value
TypeDescription
long

Time

public Timestamp Time { get; set; }

The time this event was emitted to indicate a new target or current num_workers value.

Property Value
TypeDescription
Timestamp

WorkerPool

public string WorkerPool { get; set; }

A short and friendly name for the worker pool this event refers to.

Property Value
TypeDescription
string