Class: Google::Apis::DataflowV1b3::ExecutionStageState

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dataflow_v1b3/classes.rb,
generated/google/apis/dataflow_v1b3/representations.rb,
generated/google/apis/dataflow_v1b3/representations.rb

Overview

A message describing the state of a particular execution stage.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ExecutionStageState

Returns a new instance of ExecutionStageState



1212
1213
1214
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1212

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#current_state_timeString

The time at which the stage transitioned to this state. Corresponds to the JSON property currentStateTime

Returns:

  • (String)


1200
1201
1202
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1200

def current_state_time
  @current_state_time
end

#execution_stage_nameString

The name of the execution stage. Corresponds to the JSON property executionStageName

Returns:

  • (String)


1205
1206
1207
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1205

def execution_stage_name
  @execution_stage_name
end

#execution_stage_stateString

Executions stage states allow the same set of values as JobState. Corresponds to the JSON property executionStageState

Returns:

  • (String)


1210
1211
1212
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1210

def execution_stage_state
  @execution_stage_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1217
1218
1219
1220
1221
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1217

def update!(**args)
  @current_state_time = args[:current_state_time] if args.key?(:current_state_time)
  @execution_stage_name = args[:execution_stage_name] if args.key?(:execution_stage_name)
  @execution_stage_state = args[:execution_stage_state] if args.key?(:execution_stage_state)
end