Class: Google::Apis::BigqueryV2::QueryTimelineSample
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::QueryTimelineSample
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/bigquery_v2/classes.rb,
generated/google/apis/bigquery_v2/representations.rb,
generated/google/apis/bigquery_v2/representations.rb
Instance Attribute Summary collapse
-
#active_inputs ⇒ Fixnum
Total number of active workers.
-
#completed_inputs ⇒ Fixnum
Total parallel units of work completed by this query.
-
#elapsed_ms ⇒ Fixnum
Milliseconds elapsed since the start of query execution.
-
#pending_inputs ⇒ Fixnum
Total parallel units of work remaining for the active stages.
-
#total_slot_ms ⇒ Fixnum
Cumulative slot-ms consumed by the query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QueryTimelineSample
constructor
A new instance of QueryTimelineSample.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ QueryTimelineSample
Returns a new instance of QueryTimelineSample
2686 2687 2688 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2686 def initialize(**args) update!(**args) end |
Instance Attribute Details
#active_inputs ⇒ Fixnum
Total number of active workers. This does not correspond directly to slot
usage. This is the largest value observed since the last sample.
Corresponds to the JSON property activeInputs
2664 2665 2666 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2664 def active_inputs @active_inputs end |
#completed_inputs ⇒ Fixnum
Total parallel units of work completed by this query.
Corresponds to the JSON property completedInputs
2669 2670 2671 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2669 def completed_inputs @completed_inputs end |
#elapsed_ms ⇒ Fixnum
Milliseconds elapsed since the start of query execution.
Corresponds to the JSON property elapsedMs
2674 2675 2676 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2674 def elapsed_ms @elapsed_ms end |
#pending_inputs ⇒ Fixnum
Total parallel units of work remaining for the active stages.
Corresponds to the JSON property pendingInputs
2679 2680 2681 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2679 def pending_inputs @pending_inputs end |
#total_slot_ms ⇒ Fixnum
Cumulative slot-ms consumed by the query.
Corresponds to the JSON property totalSlotMs
2684 2685 2686 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2684 def total_slot_ms @total_slot_ms end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2691 2692 2693 2694 2695 2696 2697 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2691 def update!(**args) @active_inputs = args[:active_inputs] if args.key?(:active_inputs) @completed_inputs = args[:completed_inputs] if args.key?(:completed_inputs) @elapsed_ms = args[:elapsed_ms] if args.key?(:elapsed_ms) @pending_inputs = args[:pending_inputs] if args.key?(:pending_inputs) @total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms) end |