Configure underutilized reservation recommendations
Stay organized with collections
Save and categorize content based on your preferences.
This page describes how to view and modify the configuration of your underutilized,
on-demand reservation recommendations. You might want to modify the
configuration to increase the number of recommendations that you receive, or
to get fewer recommendations to delete reservations that you plan to use.
If you haven't already, set up authentication.
Authentication verifies your identity for access to Google Cloud services and APIs. To run
code or samples from a local development environment, you can authenticate to
Compute Engine by selecting one of the following options:
Select the tab for how you plan to use the samples on this page:
gcloud
Install the Google Cloud CLI.
After installation,
initialize the Google Cloud CLI by running the following command:
To update the configuration of your underutilized reservation recommendations, modify the
value for under_utilized_reservation_lookback_period and upload the new
configuration for your project.
You can set the observation period to a value of 7 days up to 30 days, using
a string beginning with P, then an integer for the number of days (7 minimum
and 30 maximum), followed by D, for example:
For an observation period of 7 days, use "P7D".
For an observation period of 30 days, use "P30D".
Similarly, set the usage threshold that triggers an underutilized reservation
recommendation by modifying the value for
under_utilized_reservation_utilization_threshold and upload the new
configuration for your project, for example:
For a threshold of 80%, "0.8".
After you upload the new configuration, it takes approximately 48 hours for it
to take effect. Until that time, any generated recommendations use the previous
configuration.
Permissions required for this task
To perform this task, you must have the following
permissions:
recommender.computeRightSizeResourceRecommender.get
on the project to view the configuration.
recommender.computeRightSizeResourceRecommender.update
on the project to modify the configuration.
Complete this task using one of the following methods.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-07-17 UTC."],[],[]]