public sealed class ReservationAffinity : IMessage<ReservationAffinity>, IEquatable<ReservationAffinity>, IDeepCloneable<ReservationAffinity>, IBufferMessage, IMessage
Reference documentation and code samples for the AI Platform Notebooks v1beta1 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\u003eThis document provides reference information for the \u003ccode\u003eReservationAffinity\u003c/code\u003e class within the AI Platform Notebooks v1beta1 API, specifically version 2.0.0-beta04.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eReservationAffinity\u003c/code\u003e class is designed for managing reservation affinity when consuming zonal reservations and it 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.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default one and another that accepts an existing \u003ccode\u003eReservationAffinity\u003c/code\u003e object, enabling the creation of copies.\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, which are used to specify the type of reservation to consume and the corresponding label key-value pairs for the reservation resource.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is \u003ccode\u003e2.0.0-beta05\u003c/code\u003e, and there is a \u003ccode\u003e1.0.0-beta04\u003c/code\u003e version which is older, with the current page referring to \u003ccode\u003e2.0.0-beta04\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]