As of January 1, 2020 this library no longer supports Python 2 on the latest released version.
Library versions released prior to that date will continue to be available. For more information please
visit Python 2 support on Google Cloud.
google.cloud.bigquery.job.ReservationUsage¶
- class google.cloud.bigquery.job.ReservationUsage(name, slot_ms)¶
Job resource usage for a reservation.
Create new instance of ReservationUsage(name, slot_ms)
- __init__()¶
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
()Initialize self.
count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
Attributes
Reservation name or “unreserved” for on-demand resources usage.
Total slot milliseconds used by the reservation for a particular job.
- count(value, /)¶
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)¶
Return first index of value.
Raises ValueError if the value is not present.
- name¶
Reservation name or “unreserved” for on-demand resources usage.
- slot_ms¶
Total slot milliseconds used by the reservation for a particular job.