Class TimelineEntry (3.22.0)

TimelineEntry()

TimelineEntry represents progress of a query job at a particular point in time.

See https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#querytimelinesample for the underlying API representation within query statistics.

Properties

active_units

Optional[int]: Current number of input units being processed by workers, reported as largest value since the last sample.

completed_units

Optional[int]: Current number of input units completed by this query.

elapsed_ms

Optional[int]: Milliseconds elapsed since start of query execution.

pending_units

Optional[int]: Current number of input units remaining for query stages active at this sample time.

slot_millis

Optional[int]: Cumulative slot-milliseconds consumed by this query.

Methods

from_api_repr

from_api_repr(resource)

Factory: construct instance from the JSON repr.

Returns
Type Description
google.cloud.bigquery.TimelineEntry Timeline sample parsed from resource.