[[["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-09-04 UTC."],[],[],null,["# Google Cloud Notebooks V1 Client - Class Type (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-notebooks/latest/V1.ReservationAffinity.Type)\n- [1.0.4](/php/docs/reference/cloud-notebooks/1.0.4/V1.ReservationAffinity.Type)\n- [0.7.5](/php/docs/reference/cloud-notebooks/0.7.5/V1.ReservationAffinity.Type)\n- [0.6.2](/php/docs/reference/cloud-notebooks/0.6.2/V1.ReservationAffinity.Type)\n- [0.5.0](/php/docs/reference/cloud-notebooks/0.5.0/V1.ReservationAffinity.Type)\n- [0.4.1](/php/docs/reference/cloud-notebooks/0.4.1/V1.ReservationAffinity.Type)\n- [0.3.6](/php/docs/reference/cloud-notebooks/0.3.6/V1.ReservationAffinity.Type) \nReference documentation and code samples for the Google Cloud Notebooks V1 Client class Type.\n\nIndicates whether to consume capacity from an reservation or not.\n\nProtobuf type `google.cloud.notebooks.v1.ReservationAffinity.Type`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Notebooks \\\\ V1 \\\\ ReservationAffinity\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### TYPE_UNSPECIFIED\n\n Value: 0\n\nDefault type.\n\nGenerated from protobuf enum `TYPE_UNSPECIFIED = 0;`\n\n### NO_RESERVATION\n\n Value: 1\n\nDo not consume from any allocated capacity.\n\nGenerated from protobuf enum `NO_RESERVATION = 1;`\n\n### ANY_RESERVATION\n\n Value: 2\n\nConsume any reservation available.\n\nGenerated from protobuf enum `ANY_RESERVATION = 2;`\n\n### SPECIFIC_RESERVATION\n\n Value: 3\n\nMust consume from a specific reservation. Must specify key value fields\nfor specifying the reservations.\n\nGenerated from protobuf enum `SPECIFIC_RESERVATION = 3;`"]]