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"]],[["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-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eReservationAffinity\u003c/code\u003e class in the Google Cloud Notebooks v1 API is used to manage how zonal reservations are consumed.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.Notebooks.V1\u003c/code\u003e namespace and is found within the \u003ccode\u003eGoogle.Cloud.Notebooks.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eReservationAffinity\u003c/code\u003e implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, equality checks, deep cloning, and buffer message operations.\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, key, and values of the reservation to be consumed.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple available versions of \u003ccode\u003eReservationAffinity\u003c/code\u003e, with version \u003ccode\u003e2.5.0\u003c/code\u003e being the latest, along with previous releases going as far back as \u003ccode\u003e1.0.0-beta04\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]