public sealed class ReservationAffinity : IMessage<ReservationAffinity>, IEquatable<ReservationAffinity>, IDeepCloneable<ReservationAffinity>, IBufferMessage, IMessage
Reservation Affinity for consuming Zonal reservation.
[[["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\u003eGoogle.Cloud.Dataproc.V1.ReservationAffinity\u003c/code\u003e is 5.17.0, with a range of versions from 5.16.0 down to 3.1.0 also accessible.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eReservationAffinity\u003c/code\u003e is a class designed for managing the consumption of Zonal reservations within Google Cloud Dataproc, and it implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eReservationAffinity\u003c/code\u003e includes properties for specifying the \u003ccode\u003eConsumeReservationType\u003c/code\u003e, \u003ccode\u003eKey\u003c/code\u003e, and \u003ccode\u003eValues\u003c/code\u003e, which define how a reservation is consumed and the associated reservation resource labels.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: A default constructor \u003ccode\u003eReservationAffinity()\u003c/code\u003e, and one that accepts another \u003ccode\u003eReservationAffinity\u003c/code\u003e object as a parameter \u003ccode\u003eReservationAffinity(ReservationAffinity other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eSome of the members that the \u003ccode\u003eReservationAffinity\u003c/code\u003e class inherits are: \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]