Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class AutoscalingEventType.
Indicates the type of autoscaling event.
Protobuf type google.dataflow.v1beta3.AutoscalingEvent.AutoscalingEventType
Namespace
Google \ Cloud \ Dataflow \ V1beta3 \ AutoscalingEvent
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
TYPE_UNKNOWN
Value: 0
Default type for the enum. Value should never be returned.
Generated from protobuf enum TYPE_UNKNOWN = 0;
TARGET_NUM_WORKERS_CHANGED
Value: 1
The TARGET_NUM_WORKERS_CHANGED type should be used when the target
worker pool size has changed at the start of an actuation. An event
should always be specified as TARGET_NUM_WORKERS_CHANGED if it reflects
a change in the target_num_workers.
Generated from protobuf enum TARGET_NUM_WORKERS_CHANGED = 1;
CURRENT_NUM_WORKERS_CHANGED
Value: 2
The CURRENT_NUM_WORKERS_CHANGED type should be used when actual worker
pool size has been changed, but the target_num_workers has not changed.
Generated from protobuf enum CURRENT_NUM_WORKERS_CHANGED = 2;
ACTUATION_FAILURE
Value: 3
The ACTUATION_FAILURE type should be used when we want to report
an error to the user indicating why the current number of workers
in the pool could not be changed.
Displayed in the current status and history widgets.
Generated from protobuf enum ACTUATION_FAILURE = 3;
NO_CHANGE
Value: 4
Used when we want to report to the user a reason why we are
not currently adjusting the number of workers.
Should specify both target_num_workers, current_num_workers and a
decision_message.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Dataflow V1beta3 Client - Class AutoscalingEventType (0.8.2)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.2 (latest)](/php/docs/reference/cloud-dataflow/latest/V1beta3.AutoscalingEvent.AutoscalingEventType)\n- [0.8.1](/php/docs/reference/cloud-dataflow/0.8.1/V1beta3.AutoscalingEvent.AutoscalingEventType)\n- [0.7.1](/php/docs/reference/cloud-dataflow/0.7.1/V1beta3.AutoscalingEvent.AutoscalingEventType)\n- [0.6.6](/php/docs/reference/cloud-dataflow/0.6.6/V1beta3.AutoscalingEvent.AutoscalingEventType)\n- [0.5.1](/php/docs/reference/cloud-dataflow/0.5.1/V1beta3.AutoscalingEvent.AutoscalingEventType)\n- [0.4.1](/php/docs/reference/cloud-dataflow/0.4.1/V1beta3.AutoscalingEvent.AutoscalingEventType)\n- [0.3.10](/php/docs/reference/cloud-dataflow/0.3.10/V1beta3.AutoscalingEvent.AutoscalingEventType) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class AutoscalingEventType.\n\nIndicates the type of autoscaling event.\n\nProtobuf type `google.dataflow.v1beta3.AutoscalingEvent.AutoscalingEventType`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dataflow \\\\ V1beta3 \\\\ AutoscalingEvent\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### TYPE_UNKNOWN\n\n Value: 0\n\nDefault type for the enum. Value should never be returned.\n\nGenerated from protobuf enum `TYPE_UNKNOWN = 0;`\n\n### TARGET_NUM_WORKERS_CHANGED\n\n Value: 1\n\nThe TARGET_NUM_WORKERS_CHANGED type should be used when the target\nworker pool size has changed at the start of an actuation. An event\nshould always be specified as TARGET_NUM_WORKERS_CHANGED if it reflects\na change in the target_num_workers.\n\nGenerated from protobuf enum `TARGET_NUM_WORKERS_CHANGED = 1;`\n\n### CURRENT_NUM_WORKERS_CHANGED\n\n Value: 2\n\nThe CURRENT_NUM_WORKERS_CHANGED type should be used when actual worker\npool size has been changed, but the target_num_workers has not changed.\n\nGenerated from protobuf enum `CURRENT_NUM_WORKERS_CHANGED = 2;`\n\n### ACTUATION_FAILURE\n\n Value: 3\n\nThe ACTUATION_FAILURE type should be used when we want to report\nan error to the user indicating why the current number of workers\nin the pool could not be changed.\n\nDisplayed in the current status and history widgets.\n\nGenerated from protobuf enum `ACTUATION_FAILURE = 3;`\n\n### NO_CHANGE\n\n Value: 4\n\nUsed when we want to report to the user a reason why we are\nnot currently adjusting the number of workers.\n\nShould specify both target_num_workers, current_num_workers and a\ndecision_message.\n\nGenerated from protobuf enum `NO_CHANGE = 4;`"]]