Skip to content

Commit

Permalink
feat: add the name of the reservation the job was submitted to as a f…
Browse files Browse the repository at this point in the history
…ield (#11643)

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Sep 13, 2023
1 parent 1ae610b commit b736f9a
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1291,6 +1291,9 @@ class JobStatistics(proto.Message):
populated. Aggregate usage of all jobs submitted
to a reservation should provide a more reliable
indicator of reservation imbalance.
reservation (str):
Reservation name or "unreserved" for
on-demand resource usage.
referenced_tables (MutableSequence[google.cloud.bigquery_logging_v1.types.TableName]):
The first N tables accessed by the query job. Older queries
that reference a large number of tables may not have all of
Expand Down Expand Up @@ -1375,6 +1378,10 @@ class ReservationResourceUsage(proto.Message):
number=14,
message=ReservationResourceUsage,
)
reservation: str = proto.Field(
proto.STRING,
number=16,
)
referenced_tables: MutableSequence["TableName"] = proto.RepeatedField(
proto.MESSAGE,
number=9,
Expand Down

0 comments on commit b736f9a

Please sign in to comment.