Reference documentation and code samples for the Compute Engine v1 API enum Commitment.Types.Type.
The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.
[[["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.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API documented is 3.6.0, but there are many other previous versions available, ranging from 1.0.0 to 3.5.0, along with 2.6.0, the version of this documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCommitment.Types.Type\u003c/code\u003e enum defines the different types of commitments available, such as \u003ccode\u003eMEMORY_OPTIMIZED\u003c/code\u003e and \u003ccode\u003eACCELERATOR_OPTIMIZED\u003c/code\u003e, which determines the discount rate and the resources it applies to.\u003c/p\u003e\n"],["\u003cp\u003eThere are a range of commitment types, including various \u003ccode\u003eGeneralPurpose\u003c/code\u003e options, \u003ccode\u003eComputeOptimized\u003c/code\u003e options, and more, with \u003ccode\u003eUndefinedType\u003c/code\u003e and \u003ccode\u003eUnspecified\u003c/code\u003e also being options.\u003c/p\u003e\n"],["\u003cp\u003eThe available versions are referencing the namespace \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e, and is part of the assembly \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]