public sealed class ReservationAffinity : IMessage<ReservationAffinity>, IEquatable<ReservationAffinity>, IDeepCloneable<ReservationAffinity>, IBufferMessage, IMessage
Reference documentation and code samples for the AI Platform Notebooks 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\u003eThis document provides reference information for the \u003ccode\u003eReservationAffinity\u003c/code\u003e class within the AI Platform Notebooks v1 API, specifically for version 2.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eReservationAffinity\u003c/code\u003e is used for specifying reservation affinity when consuming zonal reservations, and it inherits from the \u003ccode\u003eObject\u003c/code\u003e class while implementing several interfaces like \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 \u003ccode\u003eReservationAffinity\u003c/code\u003e class includes properties such as \u003ccode\u003eConsumeReservationType\u003c/code\u003e, \u003ccode\u003eKey\u003c/code\u003e, and \u003ccode\u003eValues\u003c/code\u003e, which are used to define the type, key, and values related to the reservation.\u003c/p\u003e\n"],["\u003cp\u003eThe provided content also contains a list of older versions, with 2.5.0 being the latest version, with links to the appropriate documentation pages.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for the \u003ccode\u003eReservationAffinity\u003c/code\u003e class: a default constructor and one that takes another \u003ccode\u003eReservationAffinity\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]