Module base (3.19.0)

Base classes and helpers for job classes.

Classes

ReservationUsage

ReservationUsage(name, slot_ms)

Job resource usage for a reservation.

ScriptStackFrame

ScriptStackFrame(resource)

Stack frame showing the line/column/procedure name where the current evaluation happened.

Parameter
NameDescription
resource Map[str, Any]

JSON representation of object.

ScriptStatistics

ScriptStatistics(resource)

Statistics for a child job of a script.

Parameter
NameDescription
resource Map[str, Any]

JSON representation of object.

SessionInfo

SessionInfo(resource)

[Preview] Information of the session if this job is part of one.

.. versionadded:: 2.29.0

Parameter
NameDescription
resource Map[str, Any]

JSON representation of object.

TransactionInfo

TransactionInfo(transaction_id: str)

[Alpha] Information of a multi-statement transaction.

https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#TransactionInfo

.. versionadded:: 2.24.0

UnknownJob

UnknownJob(job_id, client)

A job whose type cannot be determined.