Class: Google::Apis::DataflowV1b3::ProgressTimeseries

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 the progress of some component of job execution.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProgressTimeseries

Returns a new instance of ProgressTimeseries.



4120
4121
4122
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4120

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

Instance Attribute Details

#current_progressFloat

The current progress of the component, in the range [0,1]. Corresponds to the JSON property currentProgress

Returns:

  • (Float)


4113
4114
4115
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4113

def current_progress
  @current_progress
end

#data_pointsArray<Google::Apis::DataflowV1b3::Point>

History of progress for the component. Points are sorted by time. Corresponds to the JSON property dataPoints



4118
4119
4120
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4118

def data_points
  @data_points
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4125
4126
4127
4128
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4125

def update!(**args)
  @current_progress = args[:current_progress] if args.key?(:current_progress)
  @data_points = args[:data_points] if args.key?(:data_points)
end