public sealed class AutoscalingEvent : IMessage<AutoscalingEvent>, IEquatable<AutoscalingEvent>, IDeepCloneable<AutoscalingEvent>, IBufferMessage, IMessage
A structured message reporting an autoscaling decision made by the Dataflow
service.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eAutoscalingEvent\u003c/code\u003e class is a structured message for reporting autoscaling decisions made by the Dataflow service, available in multiple beta versions, with \u003ccode\u003e2.0.0-beta07\u003c/code\u003e being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its capabilities for serialization, comparison, deep cloning, and buffer message handling.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides properties like \u003ccode\u003eCurrentNumWorkers\u003c/code\u003e, \u003ccode\u003eTargetNumWorkers\u003c/code\u003e, and \u003ccode\u003eEventType\u003c/code\u003e to detail the state of worker scaling, along with \u003ccode\u003eDescription\u003c/code\u003e to provide context for scaling decisions.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAutoscalingEvent\u003c/code\u003e includes properties for time and worker pool information, using \u003ccode\u003eTimestamp\u003c/code\u003e and \u003ccode\u003estring\u003c/code\u003e types to log the event's occurrence and target worker pool.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available, a default constructor and one that accepts another \u003ccode\u003eAutoscalingEvent\u003c/code\u003e object as a parameter, enabling the creation of new instances or copies.\u003c/p\u003e\n"]]],[],null,[]]