@swamp/gcp/bigqueryreservation
v2026.04.23.1
Google Cloud bigqueryreservation infrastructure models
Repository
https://github.com/systeminit/swamp-extensions
Labels
gcpgoogle-cloudbigqueryreservationcloudinfrastructure
Contents
Quality score
Verified by SwampHow well-documented and verifiable this extension is.
Grade A
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types1/1earned
- Has description1/1earned
- At least one platform tag (or universal)1/1earned
- Two or more platform tags (or universal)1/1earned
- License declared1/1earned
- Verified public repository2/2earned
Install
$ swamp extension pull @swamp/gcp/bigqueryreservation@swamp/gcp/bigqueryreservation/capacitycommitmentsv2026.04.23.1capacitycommitments.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| edition? | enum | Optional. Edition of the capacity commitment. |
| failureStatus? | object | The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). |
| plan? | enum | Optional. Capacity commitment commitment plan. |
| renewalPlan? | enum | Optional. The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments. |
| slotCount? | string | Optional. Number of slots in this commitment. |
| capacityCommitmentId? | string | The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged. |
| enforceSingleAdminProjectPerOrg? | string | If true, fail the request if another project in the organization has a capacity commitment. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a capacityCommitments
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
getGet a capacityCommitments
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the capacityCommitments |
updateUpdate capacityCommitments attributes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
deleteDelete the capacityCommitments
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the capacityCommitments |
syncSync capacityCommitments state from GCP
mergemerge
| Argument | Type | Description |
|---|---|---|
| capacityCommitmentId? | any | |
| capacityCommitmentIds? | any |
splitsplit
| Argument | Type | Description |
|---|---|---|
| slotCount? | any |
Resources
state(infinite)— Capacity commitment is a way to purchase compute capacity for BigQuery jobs (...
@swamp/gcp/bigqueryreservation/reservationgroupsv2026.04.23.1reservationgroups.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name? | string | Identifier. The resource name of the reservation group, e.g., `projects/*/locations/*/reservationGroups/team1-prod`. The reservation_group_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters. |
| reservationGroupId? | string | Required. The reservation group ID. It must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a reservationGroups
getGet a reservationGroups
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the reservationGroups |
deleteDelete the reservationGroups
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the reservationGroups |
syncSync reservationGroups state from GCP
Resources
state(infinite)— A reservation group is a container for reservations.
@swamp/gcp/bigqueryreservation/reservationsv2026.04.23.1reservations.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| autoscale? | object | Auto scaling settings. |
| concurrency? | string | Optional. Job concurrency target which sets a soft upper bound on the number of jobs that can run concurrently in this reservation. This is a soft target due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency target will be automatically computed by the system. NOTE: this field is exposed as target job concurrency in the Information Schema, DDL and BigQuery CLI. |
| edition? | enum | Optional. Edition of the reservation. |
| ignoreIdleSlots? | boolean | Optional. If false, any query or pipeline job using this reservation will use idle slots from other reservations within the same admin project. If true, a query or pipeline job using this reservation will execute with the slot capacity specified in the slot_capacity field at most. |
| labels? | record | Optional. The labels associated with this reservation. You can use these to organize and group your reservations. You can set this property when you create or update a reservation. |
| maxSlots? | string | Optional. The overall max slots for the reservation, covering slot_capacity (baseline), idle slots (if ignore_idle_slots is false) and scaled slots. If present, the reservation won't use more than the specified number of slots, even if there is demand and supply (from idle slots). NOTE: capping a reservation's idle slot usage is best effort and its usage may exceed the max_slots value. However, in terms of autoscale.current_slots (which accounts for the additional added slots), it will never exc |
| name? | string | Identifier. The resource name of the reservation, e.g., `projects/*/locations/*/reservations/team1-prod`. The reservation_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters. |
| replicationStatus? | object | Disaster Recovery(DR) replication status of the reservation. |
| reservationGroup? | string | Optional. The reservation group that this reservation belongs to. You can set this property when you create or update a reservation. Reservations do not need to belong to a reservation group. Format: projects/{project}/locations/{location}/reservationGroups/{reservation_group} or just {reservation_group} |
| scalingMode? | enum | Optional. The scaling mode for the reservation. If the field is present but max_slots is not present, requests will be rejected with error code `google.rpc.Code.INVALID_ARGUMENT`. |
| schedulingPolicy? | object | The scheduling policy controls how a reservation's resources are distributed. |
| secondaryLocation? | string | Optional. The current location of the reservation's secondary replica. This field is only set for reservations using the managed disaster recovery feature. Users can set this in create reservation calls to create a failover reservation or in update reservation calls to convert a non-failover reservation to a failover reservation(or vice versa). |
| slotCapacity? | string | Optional. Baseline slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignore_idle_slots is set to false, or autoscaling is enabled. The total slot_capacity of the reservation and its siblings may exceed the total slot_count of capacity commitments. In that case, the exceeding slots will be charged with the autoscale SKU. You can increase the number o |
| reservationId? | string | The reservation ID. It must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a reservations
getGet a reservations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the reservations |
updateUpdate reservations attributes
deleteDelete the reservations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the reservations |
syncSync reservations state from GCP
failover_reservationfailover reservation
| Argument | Type | Description |
|---|---|---|
| failoverMode? | any |
Resources
state(infinite)— A reservation is a mechanism used to guarantee slots to users.
@swamp/gcp/bigqueryreservation/reservations-assignmentsv2026.04.23.1reservations_assignments.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| assignee? | string | Optional. The resource which will use the reservation. E.g. `projects/myproject`, `folders/123`, or `organizations/456`. |
| jobType? | enum | Optional. Which type of jobs will use the reservation. |
| principal? | string | Optional. Represents the principal for this assignment. If not empty, jobs run by this principal will utilize the associated reservation. Otherwise, jobs will fall back to using the reservation assigned to the project, folder, or organization (in that order). If no reservation is assigned at any of these levels, on-demand capacity will be used. The supported formats are: * `principal://goog/subject/USER_EMAIL_ADDRESS` for users, * `principal://iam.googleapis.com/projects/-/serviceAccounts/SA_EMA |
| schedulingPolicy? | object | The scheduling policy controls how a reservation's resources are distributed. |
| assignmentId? | string | The optional assignment ID. Assignment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. Max length is 64 characters. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a assignments
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
getGet a assignments
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the assignments |
updateUpdate assignments attributes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
deleteDelete the assignments
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the assignments |
syncSync assignments state from GCP
movemove
| Argument | Type | Description |
|---|---|---|
| assignmentId? | any | |
| destinationId? | any |
Resources
state(infinite)— An assignment allows a project to submit jobs of a certain type using slots f...
2026.04.19.136.1 KBApr 19, 2026
Google Cloud bigqueryreservation infrastructure models
Release Notes
- Updated: reservations_assignments
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudbigqueryreservationcloudinfrastructure
2026.04.16.135.9 KBApr 16, 2026
Google Cloud bigqueryreservation infrastructure models
Release Notes
- Updated: reservations_assignments
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudbigqueryreservationcloudinfrastructure
2026.04.15.136.1 KBApr 15, 2026
Google Cloud bigqueryreservation infrastructure models
Release Notes
- Updated: reservations_assignments
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudbigqueryreservationcloudinfrastructure
2026.04.03.333.4 KBApr 3, 2026
Google Cloud bigqueryreservation infrastructure models
Release Notes
- Updated: capacitycommitments, reservationgroups, reservations, reservations_assignments
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudbigqueryreservationcloudinfrastructure
2026.04.03.132.7 KBApr 3, 2026
Google Cloud bigqueryreservation infrastructure models
Release Notes
- Updated: capacitycommitments, reservationgroups, reservations, reservations_assignments
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudbigqueryreservationcloudinfrastructure
2026.04.02.232.7 KBApr 2, 2026
Google Cloud bigqueryreservation infrastructure models
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudbigqueryreservationcloudinfrastructure
2026.03.27.130.9 KBMar 27, 2026
Google Cloud bigqueryreservation infrastructure models
Release Notes
- Added: capacitycommitments, reservationgroups, reservations, reservations_assignments
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudbigqueryreservationcloudinfrastructure