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 documentation covers the \u003ccode\u003eResourceRequirements\u003c/code\u003e class in the Google Cloud Run Admin v2 API, providing details about its properties, constructors, inheritance, and implemented interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API documentation is 2.13.0, with versions ranging down to 1.0.0-beta02, and is specifically focused on the \u003ccode\u003eResourceRequirements\u003c/code\u003e class for all of these versions.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eResourceRequirements\u003c/code\u003e describes compute resource needs and includes properties like \u003ccode\u003eCpuIdle\u003c/code\u003e and \u003ccode\u003eStartupCpuBoost\u003c/code\u003e which affect CPU behavior and is implemented with the \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLimits\u003c/code\u003e property within \u003ccode\u003eResourceRequirements\u003c/code\u003e allows you to specify resource limits for CPU and memory, with constraints on the values that can be set, such as for CPU needing to be 1, 2, 4 or 8.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a parameterless constructor, and one that accepts another \u003ccode\u003eResourceRequirements\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]