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 Compute Engine v1 API, specifically within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation is 3.6.0, with historical versions available from 1.0.0 to 3.5.0, and version 3.1.0 being the current selection.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCommitment.Types.Type\u003c/code\u003e enum defines various commitment types that affect discount rates and eligible resources, including options like \u003ccode\u003eMEMORY_OPTIMIZED\u003c/code\u003e, \u003ccode\u003eACCELERATOR_OPTIMIZED\u003c/code\u003e, and \u003ccode\u003eGENERAL_PURPOSE\u003c/code\u003e, among others.\u003c/p\u003e\n"],["\u003cp\u003eThe enum's fields table details all available commitment types within the API, giving options like \u003ccode\u003eAcceleratorOptimizedA3\u003c/code\u003e, \u003ccode\u003eComputeOptimizedC3\u003c/code\u003e, and the \u003ccode\u003eUndefinedType\u003c/code\u003e field.\u003c/p\u003e\n"],["\u003cp\u003eThe API documentation is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]