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

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

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.



3637
3638
3639
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3637

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)


3630
3631
3632
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3630

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



3635
3636
3637
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3635

def data_points
  @data_points
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3642
3643
3644
3645
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3642

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