Reference documentation and code samples for the Dataflow V1beta3 API class Google::Cloud::Dataflow::V1beta3::AutoscalingEvent.
A structured message reporting an autoscaling decision made by the Dataflow service.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#current_num_workers
def current_num_workers() -> ::Integer
Returns
- (::Integer) — The current number of workers the job has.
#current_num_workers=
def current_num_workers=(value) -> ::Integer
Parameter
- value (::Integer) — The current number of workers the job has.
Returns
- (::Integer) — The current number of workers the job has.
#description
def description() -> ::Google::Cloud::Dataflow::V1beta3::StructuredMessage
Returns
- (::Google::Cloud::Dataflow::V1beta3::StructuredMessage) — 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.
#description=
def description=(value) -> ::Google::Cloud::Dataflow::V1beta3::StructuredMessage
Parameter
- value (::Google::Cloud::Dataflow::V1beta3::StructuredMessage) — 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.
Returns
- (::Google::Cloud::Dataflow::V1beta3::StructuredMessage) — 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.
#event_type
def event_type() -> ::Google::Cloud::Dataflow::V1beta3::AutoscalingEvent::AutoscalingEventType
Returns
- (::Google::Cloud::Dataflow::V1beta3::AutoscalingEvent::AutoscalingEventType) — The type of autoscaling event to report.
#event_type=
def event_type=(value) -> ::Google::Cloud::Dataflow::V1beta3::AutoscalingEvent::AutoscalingEventType
Parameter
- value (::Google::Cloud::Dataflow::V1beta3::AutoscalingEvent::AutoscalingEventType) — The type of autoscaling event to report.
Returns
- (::Google::Cloud::Dataflow::V1beta3::AutoscalingEvent::AutoscalingEventType) — The type of autoscaling event to report.
#target_num_workers
def target_num_workers() -> ::Integer
Returns
- (::Integer) — The target number of workers the worker pool wants to resize to use.
#target_num_workers=
def target_num_workers=(value) -> ::Integer
Parameter
- value (::Integer) — The target number of workers the worker pool wants to resize to use.
Returns
- (::Integer) — The target number of workers the worker pool wants to resize to use.
#time
def time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time this event was emitted to indicate a new target or current num_workers value.
#time=
def time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time this event was emitted to indicate a new target or current num_workers value.
Returns
- (::Google::Protobuf::Timestamp) — The time this event was emitted to indicate a new target or current num_workers value.
#worker_pool
def worker_pool() -> ::String
Returns
- (::String) — A short and friendly name for the worker pool this event refers to.
#worker_pool=
def worker_pool=(value) -> ::String
Parameter
- value (::String) — A short and friendly name for the worker pool this event refers to.
Returns
- (::String) — A short and friendly name for the worker pool this event refers to.