The reservation will scale up using all slots available to it. It will
use idle slots contributed by other reservations or from unassigned
commitments first. If no idle slots are available it will scale up using
autoscaling. For example, if max_slots is 1000, baseline is 200 and
customer sets ScalingMode to ALL_SLOTS,
if there are 800 idle slots available in other reservations, the
reservation will scale up to 1000 slots with 200 baseline and 800 idle
slots.
if there are 500 idle slots available in other reservations, the
reservation will scale up to 1000 slots with 200 baseline, 500 idle
slots and 300 autoscaling slots.
if there are no idle slots available in other reservations, it will
scale up to 1000 slots with 200 baseline and 800 autoscaling slots.
Please note, in this mode, the ignore_idle_slots field must be set to
false.
AutoscaleOnly
The reservation will scale up only using slots from autoscaling. It will
not use any idle slots even if there may be some available. The upper
limit that autoscaling can scale up to will be max_slots - baseline.
For example, if max_slots is 1000, baseline is 200 and customer sets
ScalingMode to AUTOSCALE_ONLY, then autoscalerg will scale up to 800
slots and no idle slots will be used.
Please note, in this mode, the ignore_idle_slots field must be set to
true.
IdleSlotsOnly
The reservation will scale up using only idle slots contributed by
other reservations or from unassigned commitments. If no idle slots are
available it will not scale up further. If the idle slots which it is
using are reclaimed by the contributing reservation(s) it may be forced
to scale down. The max idle slots the reservation can be max_slots -
baseline capacity. For example, if max_slots is 1000, baseline is 200 and
customer sets ScalingMode to IDLE_SLOTS_ONLY,
if there are 1000 idle slots available in other reservations, the
reservation will scale up to 1000 slots with 200 baseline and 800 idle
slots.
if there are 500 idle slots available in other reservations, the
reservation will scale up to 700 slots with 200 baseline and 300 idle
slots.
Please note, in this mode, the reservation might not be able to scale up
to max_slots.
Please note, in this mode, the ignore_idle_slots field must be set to
false.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-19 UTC."],[],[],null,["# BigQuery Reservation v1 API - Enum Reservation.Types.ScalingMode (2.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.8.0 (latest)](/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/latest/Google.Cloud.BigQuery.Reservation.V1.Reservation.Types.ScalingMode)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/2.7.0/Google.Cloud.BigQuery.Reservation.V1.Reservation.Types.ScalingMode)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/2.6.0/Google.Cloud.BigQuery.Reservation.V1.Reservation.Types.ScalingMode)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/2.5.0/Google.Cloud.BigQuery.Reservation.V1.Reservation.Types.ScalingMode)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/2.4.0/Google.Cloud.BigQuery.Reservation.V1.Reservation.Types.ScalingMode)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/2.3.0/Google.Cloud.BigQuery.Reservation.V1.Reservation.Types.ScalingMode)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/2.2.0/Google.Cloud.BigQuery.Reservation.V1.Reservation.Types.ScalingMode)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/2.1.0/Google.Cloud.BigQuery.Reservation.V1.Reservation.Types.ScalingMode)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/2.0.0/Google.Cloud.BigQuery.Reservation.V1.Reservation.Types.ScalingMode)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/1.6.0/Google.Cloud.BigQuery.Reservation.V1.Reservation.Types.ScalingMode)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/1.5.0/Google.Cloud.BigQuery.Reservation.V1.Reservation.Types.ScalingMode)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/1.4.0/Google.Cloud.BigQuery.Reservation.V1.Reservation.Types.ScalingMode)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/1.3.0/Google.Cloud.BigQuery.Reservation.V1.Reservation.Types.ScalingMode)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/1.2.0/Google.Cloud.BigQuery.Reservation.V1.Reservation.Types.ScalingMode) \n\n public enum Reservation.Types.ScalingMode\n\nReference documentation and code samples for the BigQuery Reservation v1 API enum Reservation.Types.ScalingMode.\n\nThe scaling mode for the reservation. This enum determines how the\nreservation scales up and down.\n\nNamespace\n---------\n\n[Google.Cloud.BigQuery.Reservation.V1](/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/latest/Google.Cloud.BigQuery.Reservation.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.BigQuery.Reservation.V1.dll"]]