[Output Only] Absolute value of VM instances calculated based on the specific mode. - If the value is fixed, then the calculated value is equal to the fixed value. - If the value is a percent, then the calculated value is percent/100 * targetSize. For example, the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * 150) = 120 VM instances. If there is a remainder, the number is rounded.
[[["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\u003eFixedOrPercent\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, which is used to represent a numeric value that can be either absolute or relative.\u003c/p\u003e\n"],["\u003cp\u003eThe most recent version of this class is 3.6.0, with the page also providing access to previous versions dating back to 1.0.0 for those looking at previous versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFixedOrPercent\u003c/code\u003e class allows setting a value as either a fixed number of instances or as a percentage, and it provides a calculated property that shows the resulting absolute number of instances.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFixedOrPercent\u003c/code\u003e class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role within the broader Google Cloud Protobuf ecosystem.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eCalculated\u003c/code\u003e, \u003ccode\u003eFixed\u003c/code\u003e, and \u003ccode\u003ePercent\u003c/code\u003e, each with corresponding \u003ccode\u003eHas\u003c/code\u003e properties to check if they have been set, along with constructors for creating instances and copying existing ones.\u003c/p\u003e\n"]]],[],null,[]]