public sealed class ResourceRequirements : IMessage<ResourceRequirements>, IEquatable<ResourceRequirements>, IDeepCloneable<ResourceRequirements>, IBufferMessage, IMessage
ResourceRequirements describes the compute resource requirements.
[[["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\u003eResourceRequirements\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Run.V2\u003c/code\u003e namespace, which is used to specify compute resource needs.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eResourceRequirements\u003c/code\u003e documented is 2.13.0, with other versions ranging down to 1.0.0-beta02 also available, all within the Google Cloud Run V2 .NET library.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResourceRequirements\u003c/code\u003e class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and is inherited from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains a \u003ccode\u003eCpuIdle\u003c/code\u003e property that specifies whether the CPU should be throttled when not processing requests, and a \u003ccode\u003eLimits\u003c/code\u003e property to support the definition of memory and cpu constraints.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLimits\u003c/code\u003e property supports setting CPU limits to only 1, 2 or 4 and if using 4 it requires at least 2Gi of memory.\u003c/p\u003e\n"]]],[],null,[]]