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"]],[["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 2025-04-09 UTC."],[[["The latest version available for `Google.Cloud.Dataproc.V1.ReservationAffinity` is 5.17.0, with a range of versions from 5.16.0 down to 3.1.0 also accessible."],["`ReservationAffinity` is a class designed for managing the consumption of Zonal reservations within Google Cloud Dataproc, and it implements several interfaces including `IMessage`, `IEquatable`, and `IDeepCloneable`."],["The class `ReservationAffinity` includes properties for specifying the `ConsumeReservationType`, `Key`, and `Values`, which define how a reservation is consumed and the associated reservation resource labels."],["The class has two constructors: A default constructor `ReservationAffinity()`, and one that accepts another `ReservationAffinity` object as a parameter `ReservationAffinity(ReservationAffinity other)`."],["Some of the members that the `ReservationAffinity` class inherits are: `GetHashCode()`, `GetType()`, `MemberwiseClone()`, and `ToString()`."]]],[]]