public sealed class ReservationAffinity : IMessage<ReservationAffinity>, IEquatable<ReservationAffinity>, IDeepCloneable<ReservationAffinity>, IBufferMessage, IMessage
ReservationAffinity
is the configuration of desired reservation which instances could take
capacity from.
Corresponds to the label key of a reservation resource. To target a
SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as
the key and specify the name of your reservation as its value.
[[["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-07 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eReservationAffinity\u003c/code\u003e in the \u003ccode\u003eGoogle.Cloud.Container.V1\u003c/code\u003e namespace is 3.33.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eReservationAffinity\u003c/code\u003e is a class used to configure the desired reservation from which instances can take capacity.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eReservationAffinity\u003c/code\u003e class is found in the \u003ccode\u003eGoogle.Cloud.Container.V1\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.Container.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eReservationAffinity\u003c/code\u003e include \u003ccode\u003eConsumeReservationType\u003c/code\u003e, \u003ccode\u003eKey\u003c/code\u003e, and \u003ccode\u003eValues\u003c/code\u003e, which define the type of reservation, the label key, and the label values of the reservation resources, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe object implements several interfaces, including IMessage, IEquatable, IDeepCloneable, and IBufferMessage, ensuring compatibility and functionality within the Google Cloud environment.\u003c/p\u003e\n"]]],[],null,[]]