REST Resource: projects.locations.reservations

Resource: Reservation

A reservation is a mechanism used to guarantee slots to users.

JSON representation
{
  "name": string,
  "slotCapacity": string,
  "ignoreIdleSlots": boolean
}
Fields
name

string

The resource name of the reservation, e.g., "projects/*/locations/*/reservations/team1-prod".

slotCapacity

string (int64 format)

Maximum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. In a scan of a multi-partitioned table, a single slot operates on a single partition of the table. If the new reservation's slot capacity exceed the parent's slot capacity or if total slot capacity of the new reservation and its siblings exceeds the parent's slot capacity, the request will fail with google.rpc.Code.RESOURCE_EXHAUSTED.

ignoreIdleSlots

boolean

If true, any query using this reservation might be able to use the idle slots from other reservations within the same admin project. If false, a query using this reservation will execute with the maximum slot capacity as specified above. If not specified, default value is true.

Methods

create

Creates a new reservation resource.

delete

Deletes a reservation.

get

Returns information about the reservation.

list

Lists all the reservations for the project in the specified location.

patch

Updates an existing reservation resource.
Apakah halaman ini membantu? Beri tahu kami pendapat Anda:

Kirim masukan tentang...

Butuh bantuan? Kunjungi halaman dukungan kami.