Class: Google::Apis::DataflowV1b3::StageSummary

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

Overview

Information about a particular execution stage of a job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StageSummary

Returns a new instance of StageSummary.



5148
5149
5150
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5148

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

Instance Attribute Details

#end_timeString

End time of this stage. If the work item is completed, this is the actual end time of the stage. Otherwise, it is the predicted end time. Corresponds to the JSON property endTime

Returns:

  • (String)


5121
5122
5123
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5121

def end_time
  @end_time
end

#metricsArray<Google::Apis::DataflowV1b3::MetricUpdate>

Metrics for this stage. Corresponds to the JSON property metrics



5126
5127
5128
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5126

def metrics
  @metrics
end

#progressGoogle::Apis::DataflowV1b3::ProgressTimeseries

Information about the progress of some component of job execution. Corresponds to the JSON property progress



5131
5132
5133
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5131

def progress
  @progress
end

#stage_idString

ID of this stage Corresponds to the JSON property stageId

Returns:

  • (String)


5136
5137
5138
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5136

def stage_id
  @stage_id
end

#start_timeString

Start time of this stage. Corresponds to the JSON property startTime

Returns:

  • (String)


5141
5142
5143
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5141

def start_time
  @start_time
end

#stateString

State of this stage. Corresponds to the JSON property state

Returns:

  • (String)


5146
5147
5148
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5146

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5153
5154
5155
5156
5157
5158
5159
5160
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5153

def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @metrics = args[:metrics] if args.key?(:metrics)
  @progress = args[:progress] if args.key?(:progress)
  @stage_id = args[:stage_id] if args.key?(:stage_id)
  @start_time = args[:start_time] if args.key?(:start_time)
  @state = args[:state] if args.key?(:state)
end