public sealed class ResourceCommitment : IMessage<ResourceCommitment>, IEquatable<ResourceCommitment>, IDeepCloneable<ResourceCommitment>, IBufferMessage, IMessage
Commitment for a particular resource (a Commitment is composed of one or more of these).
The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.
[[["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 details the \u003ccode\u003eResourceCommitment\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, providing documentation for versions ranging from 1.0.0 to 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResourceCommitment\u003c/code\u003e class represents a commitment for a particular resource, including properties such as \u003ccode\u003eAcceleratorType\u003c/code\u003e, \u003ccode\u003eAmount\u003c/code\u003e, and \u003ccode\u003eType\u003c/code\u003e to specify the resource details.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e, allowing for message handling, equality comparisons, and deep cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResourceCommitment\u003c/code\u003e class includes constructors to create new instances, either empty or by copying an existing \u003ccode\u003eResourceCommitment\u003c/code\u003e object, offering flexibility in object creation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResourceCommitment\u003c/code\u003e properties have types and descriptions, detailing the type of data they hold, for example \u003ccode\u003eAcceleratorType\u003c/code\u003e is a string, \u003ccode\u003eAmount\u003c/code\u003e is a Int64, and the boolean variables state if the properties are set or not.\u003c/p\u003e\n"]]],[],null,[]]