BigQuery Reservation v1 API - Class ReservationService (2.2.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

GoogleGoogle.CloudGoogle.Cloud.BigQueryGoogle.Cloud.BigQuery.ReservationV1

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
NameDescription
serviceImplReservationServiceReservationServiceBase

An object implementing the server-side handling logic.

Returns
TypeDescription
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
NameDescription
serviceBinderServiceBinderBase

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

serviceImplReservationServiceReservationServiceBase

An object implementing the server-side handling logic.