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 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\u003eThe latest version of the \u003ccode\u003eResourceRequirements\u003c/code\u003e class is 2.13.0, part of the Cloud Run Admin v2 API in the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResourceRequirements\u003c/code\u003e class describes the computational resource needs and implements interfaces like \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\u003eThe class contains properties to configure CPU behavior, such as \u003ccode\u003eCpuIdle\u003c/code\u003e which is a boolean determining whether the CPU should be throttled or not outside of requests, and \u003ccode\u003eStartupCpuBoost\u003c/code\u003e that handles CPU boost during container startup.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLimits\u003c/code\u003e property within \u003ccode\u003eResourceRequirements\u003c/code\u003e allows configuration of 'memory' and 'cpu', with the CPU values restricted to '1', '2', '4', and '8' and specific requirements for memory size.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResourceRequirements\u003c/code\u003e class includes constructors to create new instances, either default or based on another \u003ccode\u003eResourceRequirements\u003c/code\u003e object, and is found within the \u003ccode\u003eGoogle.Cloud.Run.V2\u003c/code\u003e namespace of the \u003ccode\u003eGoogle.Cloud.Run.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]