Class AutoscalingEvent (1.0.0-beta03)

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

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
Int64

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
AutoscalingEvent.Types.AutoscalingEventType

TargetNumWorkers

public long TargetNumWorkers { get; set; }

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

Property Value
TypeDescription
Int64

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