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 page provides documentation for the \u003ccode\u003eCommitment.Types.Type\u003c/code\u003e enum within the Google Cloud Compute Engine v1 API, specifically for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCommitment.Types.Type\u003c/code\u003e enum is used to define the type of commitment, which influences the discount rate and the resources to which it applies, such as \u003ccode\u003eMEMORY_OPTIMIZED\u003c/code\u003e or \u003ccode\u003eACCELERATOR_OPTIMIZED\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists all the fields defined within the \u003ccode\u003eCommitment.Types.Type\u003c/code\u003e enum, including \u003ccode\u003eAcceleratorOptimized\u003c/code\u003e, \u003ccode\u003eComputeOptimized\u003c/code\u003e, \u003ccode\u003eGeneralPurpose\u003c/code\u003e, \u003ccode\u003eMemoryOptimized\u003c/code\u003e, \u003ccode\u003eStorageOptimizedZ3\u003c/code\u003e and more, along with an \u003ccode\u003eUndefinedType\u003c/code\u003e and an \u003ccode\u003eUnspecified\u003c/code\u003e option.\u003c/p\u003e\n"],["\u003cp\u003eThe page also displays a comprehensive version history of the API documentation, ranging from version 1.0.0 up to the latest version, 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this enum is \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e, and it's part of the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]