Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
Represents the progress of a sync run.
Instance Attribute Summary collapse
-
#current_count ⇒ Fixnum
The current progress.
-
#percentile ⇒ Float
Derived.
-
#total_count ⇒ Fixnum
The total.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress
Returns a new instance of GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress.
9222 9223 9224 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9222 def initialize(**args) update!(**args) end |
Instance Attribute Details
#current_count ⇒ Fixnum
The current progress.
Corresponds to the JSON property currentCount
9209 9210 9211 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9209 def current_count @current_count end |
#percentile ⇒ Float
Derived. The percentile of the progress.current_count / total_count. The value
is between [0, 1.0] inclusive.
Corresponds to the JSON property percentile
9215 9216 9217 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9215 def percentile @percentile end |
#total_count ⇒ Fixnum
The total.
Corresponds to the JSON property totalCount
9220 9221 9222 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9220 def total_count @total_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9227 9228 9229 9230 9231 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9227 def update!(**args) @current_count = args[:current_count] if args.key?(:current_count) @percentile = args[:percentile] if args.key?(:percentile) @total_count = args[:total_count] if args.key?(:total_count) end |