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 \u003ccode\u003eGoogle.Cloud.Compute.V1.Commitment.Types.Type\u003c/code\u003e is 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThis page provides a comprehensive list of versions for \u003ccode\u003eGoogle.Cloud.Compute.V1.Commitment.Types.Type\u003c/code\u003e, ranging from version 1.0.0 up to the latest 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCommitment.Types.Type\u003c/code\u003e enum in the Compute Engine v1 API defines the types of commitments, which dictate the discount rate and eligible resources such as \u003ccode\u003eMEMORY_OPTIMIZED\u003c/code\u003e and \u003ccode\u003eACCELERATOR_OPTIMIZED\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe enum \u003ccode\u003eType\u003c/code\u003e also include fields like \u003ccode\u003eComputeOptimized\u003c/code\u003e, \u003ccode\u003eGeneralPurpose\u003c/code\u003e, and \u003ccode\u003eUndefinedType\u003c/code\u003e, alongside others, each having a corresponding description.\u003c/p\u003e\n"],["\u003cp\u003eThe documented namespace for this enum is \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e, and it's found in the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]