ProjectsLocationsReservations
class ProjectsLocationsReservations extends Resource (View source)
The "reservations" collection of methods.
Typical usage is:
$bigqueryreservationService = new Google\Service\BigQueryReservation(...);
$reservations = $bigqueryreservationService->projects_locations_reservations;
Methods
Creates a new reservation resource. (reservations.create)
Deletes a reservation. Returns google.rpc.Code.FAILED_PRECONDITION
when
reservation has assignments. (reservations.delete)
Failover a reservation to the secondary location. The operation should be
done in the current secondary location, which will be promoted to the new
primary location for the reservation. Attempting to failover a reservation in
the current primary location will fail with the error code
google.rpc.Code.FAILED_PRECONDITION
. (reservations.failoverReservation)
Returns information about the reservation. (reservations.get)
Lists all the reservations for the project in the specified location.
Updates an existing reservation resource. (reservations.patch)
Details
Reservation
create(string $parent, Reservation $postBody, array $optParams = [])
Creates a new reservation resource. (reservations.create)
BigqueryreservationEmpty
delete(string $name, array $optParams = [])
Deletes a reservation. Returns google.rpc.Code.FAILED_PRECONDITION
when
reservation has assignments. (reservations.delete)
Reservation
failoverReservation(string $name, FailoverReservationRequest $postBody, array $optParams = [])
Failover a reservation to the secondary location. The operation should be
done in the current secondary location, which will be promoted to the new
primary location for the reservation. Attempting to failover a reservation in
the current primary location will fail with the error code
google.rpc.Code.FAILED_PRECONDITION
. (reservations.failoverReservation)
Reservation
get(string $name, array $optParams = [])
Returns information about the reservation. (reservations.get)
ListReservationsResponse
listProjectsLocationsReservations(string $parent, array $optParams = [])
Lists all the reservations for the project in the specified location.
(reservations.listProjectsLocationsReservations)
Reservation
patch(string $name, Reservation $postBody, array $optParams = [])
Updates an existing reservation resource. (reservations.patch)