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"]],[["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-03-21 UTC."],[[["The latest version of the `ReservationAffinity` class in the Google Cloud Dataproc v1 API is 5.17.0, which can be found here: `/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.ReservationAffinity`."],["This class provides Reservation Affinity for consuming Zonal reservations in Google Cloud Dataproc, extending from the `object` class and implementing multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `ReservationAffinity` class contains properties such as `ConsumeReservationType`, `Key`, and `Values` which allow the definition of the type of reservation, the label key, and the label values respectively."],["There are multiple versions available to browse besides the latest one, ranging from version 5.16.0 all the way down to 3.1.0, allowing for easy access to prior versions."],["The class provides two constructors, the default `ReservationAffinity()` and `ReservationAffinity(ReservationAffinity other)` which takes in a `ReservationAffinity` object."]]],[]]