[[["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 Backup Dr V1 Client - Class Type (0.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.7.0 (latest)](/php/docs/reference/cloud-backupdr/latest/V1.AllocationAffinity.Type)\n- [0.6.2](/php/docs/reference/cloud-backupdr/0.6.2/V1.AllocationAffinity.Type)\n- [0.5.1](/php/docs/reference/cloud-backupdr/0.5.1/V1.AllocationAffinity.Type)\n- [0.4.2](/php/docs/reference/cloud-backupdr/0.4.2/V1.AllocationAffinity.Type)\n- [0.3.0](/php/docs/reference/cloud-backupdr/0.3.0/V1.AllocationAffinity.Type)\n- [0.2.0](/php/docs/reference/cloud-backupdr/0.2.0/V1.AllocationAffinity.Type)\n- [0.1.0](/php/docs/reference/cloud-backupdr/0.1.0/V1.AllocationAffinity.Type) \nReference documentation and code samples for the Google Cloud Backup Dr V1 Client class Type.\n\nIndicates whether to consume from a reservation or not.\n\nProtobuf type `google.cloud.backupdr.v1.AllocationAffinity.Type`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BackupDR \\\\ V1 \\\\ AllocationAffinity\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### TYPE_UNSPECIFIED\n\n Value: 0\n\nDefault value. This value is unused.\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 allocation 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;`"]]