class Google::Apis::BigqueryV2::QueryTimelineSample
Attributes
active_units[RW]
Total number of units currently being processed by workers. This does not correspond directly to slot usage. This is the largest value observed since the last sample. Corresponds to the JSON property `activeUnits` @return [Fixnum]
completed_units[RW]
Total parallel units of work completed by this query. Corresponds to the JSON property `completedUnits` @return [Fixnum]
elapsed_ms[RW]
Milliseconds elapsed since the start of query execution. Corresponds to the JSON property `elapsedMs` @return [Fixnum]
pending_units[RW]
Total parallel units of work remaining for the active stages. Corresponds to the JSON property `pendingUnits` @return [Fixnum]
total_slot_ms[RW]
Cumulative slot-ms consumed by the query. Corresponds to the JSON property `totalSlotMs` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/bigquery_v2/classes.rb, line 5411 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/bigquery_v2/classes.rb, line 5416 def update!(**args) @active_units = args[:active_units] if args.key?(:active_units) @completed_units = args[:completed_units] if args.key?(:completed_units) @elapsed_ms = args[:elapsed_ms] if args.key?(:elapsed_ms) @pending_units = args[:pending_units] if args.key?(:pending_units) @total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms) end