public sealed class ResourceRequirements : IMessage<ResourceRequirements>, IEquatable<ResourceRequirements>, IDeepCloneable<ResourceRequirements>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Run Admin v2 API class ResourceRequirements.
ResourceRequirements describes the compute resource requirements.
Determines whether CPU is only allocated during requests (true by default).
However, if ResourceRequirements is set, the caller must explicitly
set this field to true to preserve the default behavior.
Determines whether CPU should be boosted on startup of a new container
instance above the requested CPU threshold, this can help reduce cold-start
latency.
[[["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 document provides reference documentation for the \u003ccode\u003eResourceRequirements\u003c/code\u003e class within the Google Cloud Run Admin v2 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResourceRequirements\u003c/code\u003e class, which is a sealed class, describes the necessary compute resource requirements for the application and 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.\u003c/p\u003e\n"],["\u003cp\u003eKey properties within the \u003ccode\u003eResourceRequirements\u003c/code\u003e class include \u003ccode\u003eCpuIdle\u003c/code\u003e, which manages CPU allocation behavior, \u003ccode\u003eLimits\u003c/code\u003e, which sets resource limits for \u003ccode\u003ememory\u003c/code\u003e and \u003ccode\u003ecpu\u003c/code\u003e while adhering to specific constraints, and \u003ccode\u003eStartupCpuBoost\u003c/code\u003e, which controls CPU boost during new container instance startups.\u003c/p\u003e\n"],["\u003cp\u003eThe document shows various versions of the API, starting with the 1.0.0-beta02 version, all the way up to 2.13.0, which is the latest version.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available, a default one, and one that receives another instance of the class.\u003c/p\u003e\n"]]],[],null,[]]