Reference documentation and code samples for the AI Platform Notebooks V1beta1 API module Google::Cloud::Notebooks::V1beta1::ReservationAffinity::Type.
Indicates whether to consume capacity from an reservation or not.
Constants
TYPE_UNSPECIFIED
value: 0 Default type.
NO_RESERVATION
value: 1 Do not consume from any allocated capacity.
ANY_RESERVATION
value: 2 Consume any reservation available.
SPECIFIC_RESERVATION
value: 3 Must consume from a specific reservation. Must specify key value fields
for specifying the reservations.
[[["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-28 UTC."],[],[],null,["# AI Platform Notebooks V1beta1 API - Module Google::Cloud::Notebooks::V1beta1::ReservationAffinity::Type (v0.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.13.0 (latest)](/ruby/docs/reference/google-cloud-notebooks-v1beta1/latest/Google-Cloud-Notebooks-V1beta1-ReservationAffinity-Type)\n- [0.12.1](/ruby/docs/reference/google-cloud-notebooks-v1beta1/0.12.1/Google-Cloud-Notebooks-V1beta1-ReservationAffinity-Type)\n- [0.11.0](/ruby/docs/reference/google-cloud-notebooks-v1beta1/0.11.0/Google-Cloud-Notebooks-V1beta1-ReservationAffinity-Type)\n- [0.10.1](/ruby/docs/reference/google-cloud-notebooks-v1beta1/0.10.1/Google-Cloud-Notebooks-V1beta1-ReservationAffinity-Type)\n- [0.9.2](/ruby/docs/reference/google-cloud-notebooks-v1beta1/0.9.2/Google-Cloud-Notebooks-V1beta1-ReservationAffinity-Type)\n- [0.8.0](/ruby/docs/reference/google-cloud-notebooks-v1beta1/0.8.0/Google-Cloud-Notebooks-V1beta1-ReservationAffinity-Type)\n- [0.7.1](/ruby/docs/reference/google-cloud-notebooks-v1beta1/0.7.1/Google-Cloud-Notebooks-V1beta1-ReservationAffinity-Type)\n- [0.6.1](/ruby/docs/reference/google-cloud-notebooks-v1beta1/0.6.1/Google-Cloud-Notebooks-V1beta1-ReservationAffinity-Type)\n- [0.5.0](/ruby/docs/reference/google-cloud-notebooks-v1beta1/0.5.0/Google-Cloud-Notebooks-V1beta1-ReservationAffinity-Type)\n- [0.4.5](/ruby/docs/reference/google-cloud-notebooks-v1beta1/0.4.5/Google-Cloud-Notebooks-V1beta1-ReservationAffinity-Type) \nReference documentation and code samples for the AI Platform Notebooks V1beta1 API module Google::Cloud::Notebooks::V1beta1::ReservationAffinity::Type.\n\nIndicates whether to consume capacity from an reservation or not.\n\nConstants\n---------\n\n### TYPE_UNSPECIFIED\n\n**value:** 0 \nDefault type.\n\n### NO_RESERVATION\n\n**value:** 1 \nDo not consume from any allocated capacity.\n\n### ANY_RESERVATION\n\n**value:** 2 \nConsume any reservation available.\n\n### SPECIFIC_RESERVATION\n\n**value:** 3 \nMust consume from a specific reservation. Must specify key value fields\nfor specifying the reservations."]]