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\u003eThis document outlines the \u003ccode\u003eReservationAffinity\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dataproc.V1\u003c/code\u003e namespace, detailing its properties and usage in consuming zonal reservations.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eReservationAffinity\u003c/code\u003e documented is 5.17.0, with previous versions ranging down to 3.1.0 also listed for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eReservationAffinity\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, extending its functionality and compatibility within the .NET ecosystem.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eReservationAffinity\u003c/code\u003e class include \u003ccode\u003eConsumeReservationType\u003c/code\u003e, \u003ccode\u003eKey\u003c/code\u003e, and \u003ccode\u003eValues\u003c/code\u003e, allowing users to define the type, key, and values of the reservation being consumed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eReservationAffinity\u003c/code\u003e class has two constructors: A default, empty one and one that takes another instance of itself to clone values.\u003c/p\u003e\n"]]],[],null,[]]