BigQuery Reservation v1 API - Class ReservationService (2.4.0)

public static class ReservationService

Reference documentation and code samples for the BigQuery Reservation v1 API class ReservationService.

This API allows users to manage their BigQuery reservations.

A reservation provides computational resource guarantees, in the form of 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.

Inheritance

object > ReservationService

Namespace

Google.Cloud.BigQuery.Reservation.V1

Assembly

Google.Cloud.BigQuery.Reservation.V1.dll

Methods

BindService(ReservationServiceBase)

public static ServerServiceDefinition BindService(ReservationService.ReservationServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
Name Description
serviceImpl ReservationServiceReservationServiceBase

An object implementing the server-side handling logic.

Returns
Type Description
ServerServiceDefinition

BindService(ServiceBinderBase, ReservationServiceBase)

public static void BindService(ServiceBinderBase serviceBinder, ReservationService.ReservationServiceBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

Parameters
Name Description
serviceBinder ServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImpl ReservationServiceReservationServiceBase

An object implementing the server-side handling logic.