Reference documentation and code samples for the Compute Engine v1 API enum Commitment.Types.Type.
The type of commitment; specifies the machine series for which you want to commit to purchasing resources. The choice of machine series affects the discount rate and the eligible resource types. The type must be one of the following: ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3, ACCELERATOR_OPTIMIZED_A3_MEGA, COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D, COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE, GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2, GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D, GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D, GRAPHICS_OPTIMIZED, MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3, MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For example, type MEMORY_OPTIMIZED specifies a commitment that applies only to eligible resources of memory optimized M1 and M2 machine series. Type GENERAL_PURPOSE specifies a commitment that applies only to eligible resources of general purpose N1 machine series.
A value indicating that the enum field is not set.
Unspecified
Note for internal users: When adding a new enum Type for v1, make sure to also add it in the comment for the optional Type type definition. This ensures that the public documentation displays the new enum Type.
[[["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-08 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eCommitment.Types.Type\u003c/code\u003e enum in the Google Cloud Compute Engine v1 API, specifically for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 3.6.0, and the documentation includes versions ranging from 1.0.0 up to the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCommitment.Types.Type\u003c/code\u003e enum defines various machine series commitment types, such as \u003ccode\u003eACCELERATOR_OPTIMIZED\u003c/code\u003e, \u003ccode\u003eCOMPUTE_OPTIMIZED\u003c/code\u003e, \u003ccode\u003eGENERAL_PURPOSE\u003c/code\u003e, \u003ccode\u003eMEMORY_OPTIMIZED\u003c/code\u003e, and \u003ccode\u003eSTORAGE_OPTIMIZED_Z3\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists all possible fields within the \u003ccode\u003eCommitment.Types.Type\u003c/code\u003e enum, along with their corresponding descriptions and namespace/assembly information.\u003c/p\u003e\n"],["\u003cp\u003eThere are other special fields within the enum such as \u003ccode\u003eUndefinedType\u003c/code\u003e and \u003ccode\u003eUnspecified\u003c/code\u003e, used for determining if a value is set or not.\u003c/p\u003e\n"]]],[],null,[]]