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.
Implements
IMessageAutoscalingEvent, IEquatableAutoscalingEvent, IDeepCloneableAutoscalingEvent, IBufferMessage, IMessageNamespace
Google.Cloud.Dataflow.V1Beta3Assembly
Google.Cloud.Dataflow.V1Beta3.dll
Constructors
AutoscalingEvent()
public AutoscalingEvent()
AutoscalingEvent(AutoscalingEvent)
public AutoscalingEvent(AutoscalingEvent other)
Parameter | |
---|---|
Name | Description |
other |
AutoscalingEvent |
Properties
CurrentNumWorkers
public long CurrentNumWorkers { get; set; }
The current number of workers the job has.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
StructuredMessage |
EventType
public AutoscalingEvent.Types.AutoscalingEventType EventType { get; set; }
The type of autoscaling event to report.
Property Value | |
---|---|
Type | Description |
AutoscalingEventTypesAutoscalingEventType |
TargetNumWorkers
public long TargetNumWorkers { get; set; }
The target number of workers the worker pool wants to resize to use.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Timestamp |
WorkerPool
public string WorkerPool { get; set; }
A short and friendly name for the worker pool this event refers to.
Property Value | |
---|---|
Type | Description |
string |