[[["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 webpage provides reference documentation for the \u003ccode\u003eAllocationPolicy.Types.Disk.DataSourceOneofCase\u003c/code\u003e enum in the Google Cloud Batch v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers multiple versions of the API, ranging from version 1.0.0 to the latest version 2.13.0.\u003c/p\u003e\n"],["\u003cp\u003eThe enum defines the possible cases for the "data_source" field within the \u003ccode\u003eAllocationPolicy.Types.Disk\u003c/code\u003e, with values including \u003ccode\u003eImage\u003c/code\u003e, \u003ccode\u003eNone\u003c/code\u003e, and \u003ccode\u003eSnapshot\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe code samples are included in the Batch API located in the namespace \u003ccode\u003eGoogle.Cloud.Batch.V1\u003c/code\u003e and assembly \u003ccode\u003eGoogle.Cloud.Batch.V1.dll\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Batch v1 API - Enum AllocationPolicy.Types.Disk.DataSourceOneofCase (2.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.13.0 (latest)](/dotnet/docs/reference/Google.Cloud.Batch.V1/latest/Google.Cloud.Batch.V1.AllocationPolicy.Types.Disk.DataSourceOneofCase)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.12.0/Google.Cloud.Batch.V1.AllocationPolicy.Types.Disk.DataSourceOneofCase)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.11.0/Google.Cloud.Batch.V1.AllocationPolicy.Types.Disk.DataSourceOneofCase)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.10.0/Google.Cloud.Batch.V1.AllocationPolicy.Types.Disk.DataSourceOneofCase)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.9.0/Google.Cloud.Batch.V1.AllocationPolicy.Types.Disk.DataSourceOneofCase)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.8.0/Google.Cloud.Batch.V1.AllocationPolicy.Types.Disk.DataSourceOneofCase)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.7.0/Google.Cloud.Batch.V1.AllocationPolicy.Types.Disk.DataSourceOneofCase)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.6.0/Google.Cloud.Batch.V1.AllocationPolicy.Types.Disk.DataSourceOneofCase)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.5.0/Google.Cloud.Batch.V1.AllocationPolicy.Types.Disk.DataSourceOneofCase)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.4.0/Google.Cloud.Batch.V1.AllocationPolicy.Types.Disk.DataSourceOneofCase)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.3.0/Google.Cloud.Batch.V1.AllocationPolicy.Types.Disk.DataSourceOneofCase)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.2.0/Google.Cloud.Batch.V1.AllocationPolicy.Types.Disk.DataSourceOneofCase)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.1.0/Google.Cloud.Batch.V1.AllocationPolicy.Types.Disk.DataSourceOneofCase)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.0.0/Google.Cloud.Batch.V1.AllocationPolicy.Types.Disk.DataSourceOneofCase)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/1.3.0/Google.Cloud.Batch.V1.AllocationPolicy.Types.Disk.DataSourceOneofCase)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/1.2.0/Google.Cloud.Batch.V1.AllocationPolicy.Types.Disk.DataSourceOneofCase)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/1.1.0/Google.Cloud.Batch.V1.AllocationPolicy.Types.Disk.DataSourceOneofCase)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/1.0.0/Google.Cloud.Batch.V1.AllocationPolicy.Types.Disk.DataSourceOneofCase) \n\n public enum AllocationPolicy.Types.Disk.DataSourceOneofCase\n\nReference documentation and code samples for the Batch v1 API enum AllocationPolicy.Types.Disk.DataSourceOneofCase.\n\nEnum of possible cases for the \"data_source\" oneof.\n\nNamespace\n---------\n\n[Google.Cloud.Batch.V1](/dotnet/docs/reference/Google.Cloud.Batch.V1/latest/Google.Cloud.Batch.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Batch.V1.dll"]]