ReservationAffinity <https://cloud.google.com/compute/docs/instances/reserving-zonal-resources>__
is the configuration of desired reservation which instances could
take capacity from.
str
Corresponds to the label key of a reservation resource. To
target a SPECIFIC_RESERVATION by name, specify
"compute.googleapis.com/reservation-name" as the key and
specify the name of your reservation as its value.
values
MutableSequence[str]
Corresponds to the label value(s) of
reservation resource(s).
Classes
Type
Type(value)
Indicates whether to consume capacity from a reservation or
not.
[[["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 2026-06-03 UTC."],[],[]]