Package @google-cloud/bigquery-reservation


Represents a CustomHttpPattern.

Represents a Http.

Represents a HttpRule.

Represents a ResourceDescriptor.

Represents a ResourceReference.

Represents an Assignment.

Represents a BiReservation.

Represents a CapacityCommitment.

Represents a CreateAssignmentRequest.

Represents a CreateCapacityCommitmentRequest.

Represents a CreateReservationRequest.

Represents a DeleteAssignmentRequest.

Represents a DeleteCapacityCommitmentRequest.

Represents a DeleteReservationRequest.

Represents a GetBiReservationRequest.

Represents a GetCapacityCommitmentRequest.

Represents a GetReservationRequest.

Represents a ListAssignmentsRequest.

Represents a ListAssignmentsResponse.

Represents a ListCapacityCommitmentsRequest.

Represents a ListCapacityCommitmentsResponse.

Represents a ListReservationsRequest.

Represents a ListReservationsResponse.

Represents a MergeCapacityCommitmentsRequest.

Represents a MoveAssignmentRequest.

Represents a Reservation.

Represents a ReservationService

Represents a SearchAllAssignmentsRequest.

Represents a SearchAllAssignmentsResponse.

Represents a SearchAssignmentsRequest.

Represents a SearchAssignmentsResponse.

Represents a SplitCapacityCommitmentRequest.

Represents a SplitCapacityCommitmentResponse.

Represents an UpdateBiReservationRequest.

Represents an UpdateCapacityCommitmentRequest.

Represents an UpdateReservationRequest.

Represents an Any.

Represents a DescriptorProto.

Represents an ExtensionRange.

Represents a ReservedRange.

Represents an Empty.

Represents an EnumDescriptorProto.

Represents an EnumReservedRange.

Represents an EnumOptions.

Represents an EnumValueDescriptorProto.

Represents an EnumValueOptions.

Represents an ExtensionRangeOptions.

Represents a FieldDescriptorProto.

Represents a FieldMask.

Represents a FieldOptions.

Represents a FileDescriptorProto.

Represents a FileDescriptorSet.

Represents a FileOptions.

Represents a GeneratedCodeInfo.

Represents an Annotation.

Represents a MessageOptions.

Represents a MethodDescriptorProto.

Represents a MethodOptions.

Represents an OneofDescriptorProto.

Represents an OneofOptions.

Represents a ServiceDescriptorProto.

Represents a ServiceOptions.

Represents a SourceCodeInfo.

Represents a Location.

Represents a Timestamp.

Represents an UninterpretedOption.

Represents a NamePart.

Represents a Status.


This API allows users to manage their flat-rate 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. v1


Properties of a CustomHttpPattern.

Properties of a Http.

Properties of a HttpRule.

Properties of a ResourceDescriptor.

Properties of a ResourceReference.

Properties of an Assignment.

Properties of a BiReservation.

Properties of a CapacityCommitment.

Properties of a CreateAssignmentRequest.

Properties of a CreateCapacityCommitmentRequest.

Properties of a CreateReservationRequest.

Properties of a DeleteAssignmentRequest.

Properties of a DeleteCapacityCommitmentRequest.

Properties of a DeleteReservationRequest.

Properties of a GetBiReservationRequest.

Properties of a GetCapacityCommitmentRequest.

Properties of a GetReservationRequest.

Properties of a ListAssignmentsRequest.

Properties of a ListAssignmentsResponse.

Properties of a ListCapacityCommitmentsRequest.

Properties of a ListCapacityCommitmentsResponse.

Properties of a ListReservationsRequest.

Properties of a ListReservationsResponse.

Properties of a MergeCapacityCommitmentsRequest.

Properties of a MoveAssignmentRequest.

Properties of a Reservation.

Properties of a SearchAllAssignmentsRequest.

Properties of a SearchAllAssignmentsResponse.

Properties of a SearchAssignmentsRequest.

Properties of a SearchAssignmentsResponse.

Properties of a SplitCapacityCommitmentRequest.

Properties of a SplitCapacityCommitmentResponse.

Properties of an UpdateBiReservationRequest.

Properties of an UpdateCapacityCommitmentRequest.

Properties of an UpdateReservationRequest.

Properties of an ExtensionRange.

Properties of a ReservedRange.

Properties of an EnumReservedRange.

Properties of an Annotation.

Properties of an Any.

Properties of a DescriptorProto.

Properties of an Empty.

Properties of an EnumDescriptorProto.

Properties of an EnumOptions.

Properties of an EnumValueDescriptorProto.

Properties of an EnumValueOptions.

Properties of an ExtensionRangeOptions.

Properties of a FieldDescriptorProto.

Properties of a FieldMask.

Properties of a FieldOptions.

Properties of a FileDescriptorProto.

Properties of a FileDescriptorSet.

Properties of a FileOptions.

Properties of a GeneratedCodeInfo.

Properties of a MessageOptions.

Properties of a MethodDescriptorProto.

Properties of a MethodOptions.

Properties of an OneofDescriptorProto.

Properties of an OneofOptions.

Properties of a ServiceDescriptorProto.

Properties of a ServiceOptions.

Properties of a SourceCodeInfo.

Properties of a Timestamp.

Properties of an UninterpretedOption.

Properties of a Location.

Properties of a NamePart.

Properties of a Status.


FieldBehavior enum.

History enum.

Style enum.

JobType enum.

State enum.

CommitmentPlan enum.

State enum.

Label enum.

Type enum.

CType enum.

JSType enum.

OptimizeMode enum.

IdempotencyLevel enum.



_default: {
    v1: typeof v1;
    ReservationServiceClient: typeof v1.ReservationServiceClient;


ReservationServiceClient: typeof v1.ReservationServiceClient

Type Aliases

type CreateAssignmentCallback = (error: (Error|null), response?: => void;

Callback as used by .

type CreateCapacityCommitmentCallback = (error: (Error|null), response?: => void;

Callback as used by .

type CreateReservationCallback = (error: (Error|null), response?: => void;

Callback as used by .

type DeleteAssignmentCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;

Callback as used by .

type DeleteCapacityCommitmentCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;

Callback as used by .

type DeleteReservationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;

Callback as used by .

type GetBiReservationCallback = (error: (Error|null), response?: => void;

Callback as used by .

type GetCapacityCommitmentCallback = (error: (Error|null), response?: => void;

Callback as used by .

type GetReservationCallback = (error: (Error|null), response?: => void;

Callback as used by .

type ListAssignmentsCallback = (error: (Error|null), response?: => void;

Callback as used by .

type ListCapacityCommitmentsCallback = (error: (Error|null), response?: => void;

Callback as used by .

type ListReservationsCallback = (error: (Error|null), response?: => void;

Callback as used by .

type MergeCapacityCommitmentsCallback = (error: (Error|null), response?: => void;

Callback as used by .

type MoveAssignmentCallback = (error: (Error|null), response?: => void;

Callback as used by .

type SearchAllAssignmentsCallback = (error: (Error|null), response?: => void;

Callback as used by .

type SearchAssignmentsCallback = (error: (Error|null), response?: => void;

Callback as used by .

type SplitCapacityCommitmentCallback = (error: (Error|null), response?: => void;

Callback as used by .

type UpdateBiReservationCallback = (error: (Error|null), response?: => void;

Callback as used by .

type UpdateCapacityCommitmentCallback = (error: (Error|null), response?: => void;

Callback as used by .

type UpdateReservationCallback = (error: (Error|null), response?: => void;

Callback as used by .


declare type ReservationServiceClient = v1.ReservationServiceClient;