public sealed class ReservationAffinity : IMessage<ReservationAffinity>, IEquatable<ReservationAffinity>, IDeepCloneable<ReservationAffinity>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class ReservationAffinity.
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 the Google Cloud Dataproc v1 API class \u003ccode\u003eReservationAffinity\u003c/code\u003e is version 5.17.0, with a range of versions from 3.1.0 to the newest.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eReservationAffinity\u003c/code\u003e is used for consuming Zonal reservations within the Google Cloud Dataproc environment.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, extending from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a parameterless constructor and one that takes another \u003ccode\u003eReservationAffinity\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eIt allows you to specify the \u003ccode\u003eConsumeReservationType\u003c/code\u003e, the \u003ccode\u003eKey\u003c/code\u003e (label key of reservation resource), and \u003ccode\u003eValues\u003c/code\u003e (label values of reservation resource) as properties.\u003c/p\u003e\n"]]],[],null,[]]