Dataflow V1beta3 API - Class Google::Cloud::Dataflow::V1beta3::AutoscalingEvent (v0.9.0)

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

#description=

def description=(value) -> ::Google::Cloud::Dataflow::V1beta3::StructuredMessage
Parameter
Returns

#event_type

def event_type() -> ::Google::Cloud::Dataflow::V1beta3::AutoscalingEvent::AutoscalingEventType
Returns

#event_type=

def event_type=(value) -> ::Google::Cloud::Dataflow::V1beta3::AutoscalingEvent::AutoscalingEventType
Parameter
Returns

#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

#time=

def time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#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.