A ReservationAffinity can be used to configure a Vertex AI
resource (e.g., a DeployedModel) to draw its Compute Engine
resources from a Shared Reservation, or exclusively from
on-demand capacity.
str
Optional. Corresponds to the label key of a reservation
resource. To target a SPECIFIC_RESERVATION by name, use
compute.googleapis.com/reservation-name as the key and
specify the name of your reservation as its value.
values
MutableSequence[str]
Optional. Corresponds to the label values of
a reservation resource. This must be the full
resource name of the reservation.
A ReservationAffinity can be used to configure a Vertex AI
resource (e.g., a DeployedModel) to draw its Compute Engine
resources from a Shared Reservation, or exclusively from
on-demand capacity.
[[["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-05-12 UTC."],[],[]]