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"]],[["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-06-03 UTC."],[],[]]