Module base (3.40.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
Name Description
resource Map[str, Any]

JSON representation of object.

ScriptStatistics

ScriptStatistics(resource)

Statistics for a child job of a script.

Parameter
Name Description
resource Map[str, Any]

JSON representation of object.

SessionInfo

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

.. versionadded:: 2.29.0

Parameter
Name Description
resource Map[str, Any]

JSON representation of object.

TransactionInfo

TransactionInfo(transaction_id: str)

UnknownJob

UnknownJob(job_id, client)

A job whose type cannot be determined.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-01-09 UTC.