Summary of entries of Classes for bigqueryreservation.
Classes
ReservationServiceAsyncClient
This API allows users to manage their BigQuery reservations.
A reservation provides computational resource guarantees, in the
form of slots <https://cloud.google.com/bigquery/docs/slots>__, to
users. A slot is a unit of computational power in BigQuery, and
serves as the basic unit of parallelism. In a scan of a
multi-partitioned table, a single slot operates on a single
partition of the table. A reservation resource exists as a child
resource of the admin project and location, e.g.:
projects/myproject/locations/US/reservations/reservationName.
A capacity commitment is a way to purchase compute capacity for
BigQuery jobs (in the form of slots) with some committed period of
usage. A capacity commitment resource exists as a child resource of
the admin project and location, e.g.:
projects/myproject/locations/US/capacityCommitments/id.
ReservationServiceClient
This API allows users to manage their BigQuery reservations.
A reservation provides computational resource guarantees, in the
form of slots <https://cloud.google.com/bigquery/docs/slots>__, to
users. A slot is a unit of computational power in BigQuery, and
serves as the basic unit of parallelism. In a scan of a
multi-partitioned table, a single slot operates on a single
partition of the table. A reservation resource exists as a child
resource of the admin project and location, e.g.:
projects/myproject/locations/US/reservations/reservationName.
A capacity commitment is a way to purchase compute capacity for
BigQuery jobs (in the form of slots) with some committed period of
usage. A capacity commitment resource exists as a child resource of
the admin project and location, e.g.:
projects/myproject/locations/US/capacityCommitments/id.
ListAssignmentsAsyncPager
A pager for iterating through list_assignments requests.
This class thinly wraps an initial
ListAssignmentsResponse object, and
provides an __aiter__ method to iterate through its
assignments field.
If there are more pages, the __aiter__ method will make additional
ListAssignments requests and continue to iterate
through the assignments field on the
corresponding responses.
All the usual ListAssignmentsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.
ListAssignmentsPager
A pager for iterating through list_assignments requests.
This class thinly wraps an initial
ListAssignmentsResponse object, and
provides an __iter__ method to iterate through its
assignments field.
If there are more pages, the __iter__ method will make additional
ListAssignments requests and continue to iterate
through the assignments field on the
corresponding responses.
All the usual ListAssignmentsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.
ListCapacityCommitmentsAsyncPager
A pager for iterating through list_capacity_commitments requests.
This class thinly wraps an initial
ListCapacityCommitmentsResponse object, and
provides an __aiter__ method to iterate through its
capacity_commitments field.
If there are more pages, the __aiter__ method will make additional
ListCapacityCommitments requests and continue to iterate
through the capacity_commitments field on the
corresponding responses.
All the usual ListCapacityCommitmentsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.
ListCapacityCommitmentsPager
A pager for iterating through list_capacity_commitments requests.
This class thinly wraps an initial
ListCapacityCommitmentsResponse object, and
provides an __iter__ method to iterate through its
capacity_commitments field.
If there are more pages, the __iter__ method will make additional
ListCapacityCommitments requests and continue to iterate
through the capacity_commitments field on the
corresponding responses.
All the usual ListCapacityCommitmentsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.
ListReservationsAsyncPager
A pager for iterating through list_reservations requests.
This class thinly wraps an initial
ListReservationsResponse object, and
provides an __aiter__ method to iterate through its
reservations field.
If there are more pages, the __aiter__ method will make additional
ListReservations requests and continue to iterate
through the reservations field on the
corresponding responses.
All the usual ListReservationsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.
ListReservationsPager
A pager for iterating through list_reservations requests.
This class thinly wraps an initial
ListReservationsResponse object, and
provides an __iter__ method to iterate through its
reservations field.
If there are more pages, the __iter__ method will make additional
ListReservations requests and continue to iterate
through the reservations field on the
corresponding responses.
All the usual ListReservationsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.
SearchAllAssignmentsAsyncPager
A pager for iterating through search_all_assignments requests.
This class thinly wraps an initial
SearchAllAssignmentsResponse object, and
provides an __aiter__ method to iterate through its
assignments field.
If there are more pages, the __aiter__ method will make additional
SearchAllAssignments requests and continue to iterate
through the assignments field on the
corresponding responses.
All the usual SearchAllAssignmentsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.
SearchAllAssignmentsPager
A pager for iterating through search_all_assignments requests.
This class thinly wraps an initial
SearchAllAssignmentsResponse object, and
provides an __iter__ method to iterate through its
assignments field.
If there are more pages, the __iter__ method will make additional
SearchAllAssignments requests and continue to iterate
through the assignments field on the
corresponding responses.
All the usual SearchAllAssignmentsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.
SearchAssignmentsAsyncPager
A pager for iterating through search_assignments requests.
This class thinly wraps an initial
SearchAssignmentsResponse object, and
provides an __aiter__ method to iterate through its
assignments field.
If there are more pages, the __aiter__ method will make additional
SearchAssignments requests and continue to iterate
through the assignments field on the
corresponding responses.
All the usual SearchAssignmentsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.
SearchAssignmentsPager
A pager for iterating through search_assignments requests.
This class thinly wraps an initial
SearchAssignmentsResponse object, and
provides an __iter__ method to iterate through its
assignments field.
If there are more pages, the __iter__ method will make additional
SearchAssignments requests and continue to iterate
through the assignments field on the
corresponding responses.
All the usual SearchAssignmentsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.
Assignment
An assignment allows a project to submit jobs of a certain type using slots from the specified reservation.
JobType
Types of job, which could be specified when using the reservation.
State
Assignment will remain in PENDING state if no active capacity commitment is present. It will become ACTIVE when some capacity commitment becomes active.
BiReservation
Represents a BI Reservation.
CapacityCommitment
Capacity commitment is a way to purchase compute capacity for BigQuery jobs (in the form of slots) with some committed period of usage. Annual commitments renew by default. Commitments can be removed after their commitment end time passes.
In order to remove annual commitment, its plan needs to be changed to monthly or flex first.
A capacity commitment resource exists as a child resource of the admin project.
CommitmentPlan
Commitment plan defines the current committed period. Capacity commitment cannot be deleted during it's committed period.
State
Capacity commitment can either become ACTIVE right away or transition from PENDING to ACTIVE or FAILED.
CreateAssignmentRequest
The request for ReservationService.CreateAssignment. Note: "bigquery.reservationAssignments.create" permission is required on the related assignee.
CreateCapacityCommitmentRequest
The request for ReservationService.CreateCapacityCommitment.
CreateReservationRequest
The request for ReservationService.CreateReservation.
DeleteAssignmentRequest
The request for ReservationService.DeleteAssignment. Note: "bigquery.reservationAssignments.delete" permission is required on the related assignee.
DeleteCapacityCommitmentRequest
The request for ReservationService.DeleteCapacityCommitment.
DeleteReservationRequest
The request for ReservationService.DeleteReservation.
Edition
The type of editions. Different features and behaviors are provided to different editions Capacity commitments and reservations are linked to editions.
FailoverReservationRequest
The request for ReservationService.FailoverReservation.
GetBiReservationRequest
A request to get a singleton BI reservation.
GetCapacityCommitmentRequest
The request for ReservationService.GetCapacityCommitment.
GetReservationRequest
The request for ReservationService.GetReservation.
ListAssignmentsRequest
The request for ReservationService.ListAssignments.
ListAssignmentsResponse
The response for ReservationService.ListAssignments.
ListCapacityCommitmentsRequest
The request for ReservationService.ListCapacityCommitments.
ListCapacityCommitmentsResponse
The response for ReservationService.ListCapacityCommitments.
ListReservationsRequest
The request for ReservationService.ListReservations.
ListReservationsResponse
The response for ReservationService.ListReservations.
MergeCapacityCommitmentsRequest
The request for ReservationService.MergeCapacityCommitments.
MoveAssignmentRequest
The request for ReservationService.MoveAssignment.
Note: "bigquery.reservationAssignments.create" permission is required on the destination_id.
Note: "bigquery.reservationAssignments.create" and "bigquery.reservationAssignments.delete" permission are required on the related assignee.
Reservation
A reservation is a mechanism used to guarantee slots to users.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Autoscale
Auto scaling settings.
ReplicationStatus
Disaster Recovery(DR) replication status of the reservation.
ScalingMode
The scaling mode for the reservation. This enum determines how the reservation scales up and down.
    Please note, in this mode, the ignore_idle_slots field must
    be set to true.
IDLE_SLOTS_ONLY (2):
    The reservation will scale up using only idle slots
    contributed by other reservations or from unassigned
    commitments. If no idle slots are available it will not
    scale up further. If the idle slots which it is using are
    reclaimed by the contributing reservation(s) it may be
    forced to scale down. The max idle slots the reservation can
    be max_slots - baseline capacity. For example, if max_slots
    is 1000, baseline is 200 and customer sets ScalingMode to
    IDLE_SLOTS_ONLY,
    1. if there are 1000 idle slots available in other
       reservations, the reservation will scale up to 1000 slots
       with 200 baseline and 800 idle slots.
    2. if there are 500 idle slots available in other
       reservations, the reservation will scale up to 700 slots
       with 200 baseline and 300 idle slots. Please note, in
       this mode, the reservation might not be able to scale up
       to max_slots.
    Please note, in this mode, the ignore_idle_slots field must
    be set to false.
ALL_SLOTS (3):
    The reservation will scale up using all slots available to
    it. It will use idle slots contributed by other reservations
    or from unassigned commitments first. If no idle slots are
    available it will scale up using autoscaling. For example,
    if max_slots is 1000, baseline is 200 and customer sets
    ScalingMode to ALL_SLOTS,
    1. if there are 800 idle slots available in other
       reservations, the reservation will scale up to 1000 slots
       with 200 baseline and 800 idle slots.
    2. if there are 500 idle slots available in other
       reservations, the reservation will scale up to 1000 slots
       with 200 baseline, 500 idle slots and 300 autoscaling
       slots.
    3. if there are no idle slots available in other
       reservations, it will scale up to 1000 slots with 200
       baseline and 800 autoscaling slots.
    Please note, in this mode, the ignore_idle_slots field must
    be set to false.
SearchAllAssignmentsRequest
The request for ReservationService.SearchAllAssignments. Note: "bigquery.reservationAssignments.search" permission is required on the related assignee.
SearchAllAssignmentsResponse
The response for ReservationService.SearchAllAssignments.
SearchAssignmentsRequest
The request for ReservationService.SearchAssignments. Note: "bigquery.reservationAssignments.search" permission is required on the related assignee.
SearchAssignmentsResponse
The response for ReservationService.SearchAssignments.
SplitCapacityCommitmentRequest
The request for ReservationService.SplitCapacityCommitment.
SplitCapacityCommitmentResponse
The response for ReservationService.SplitCapacityCommitment.
TableReference
Fully qualified reference to BigQuery table. Internally stored as google.cloud.bi.v1.BqTableReference.
UpdateAssignmentRequest
The request for ReservationService.UpdateAssignment.
UpdateBiReservationRequest
A request to update a BI reservation.
UpdateCapacityCommitmentRequest
The request for ReservationService.UpdateCapacityCommitment.
UpdateReservationRequest
The request for ReservationService.UpdateReservation.
Modules
pagers
API documentation for bigquery_reservation_v1.services.reservation_service.pagers module.