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.



3664
3665
3666
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3664

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)


3657
3658
3659
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3657

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



3662
3663
3664
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3662

def data_points
  @data_points
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3669
3670
3671
3672
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3669

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