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\u003eThe latest version available for the Google.Cloud.Compute.V1 API is 3.6.0, with previous versions ranging from 3.5.0 down to 1.0.0, each providing documentation for the \u003ccode\u003eCommitment.Types.Type\u003c/code\u003e enum.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation provides reference information for the Compute Engine v1 API, specifically detailing the \u003ccode\u003eCommitment.Types.Type\u003c/code\u003e enum, available in the Google.Cloud.Compute.V1 namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCommitment.Types.Type\u003c/code\u003e enum defines different commitment types, including \u003ccode\u003eAcceleratorOptimized\u003c/code\u003e, \u003ccode\u003eMemoryOptimized\u003c/code\u003e, and various \u003ccode\u003eGeneralPurpose\u003c/code\u003e options, influencing discount rates and resource eligibility.\u003c/p\u003e\n"],["\u003cp\u003eThere is a \u003ccode\u003eUndefinedType\u003c/code\u003e field that will indicate when an enum field is not set.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provided is for the .NET framework and it is under the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, all within the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]