public sealed class UsageResourceAllowanceSpec : IMessage<UsageResourceAllowanceSpec>, IEquatable<UsageResourceAllowanceSpec>, IDeepCloneable<UsageResourceAllowanceSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Batch v1alpha API class UsageResourceAllowanceSpec.
[[["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-07 UTC."],[[["\u003cp\u003eThis documentation is for the \u003ccode\u003eUsageResourceAllowanceSpec\u003c/code\u003e class within the Google Cloud Batch v1alpha API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUsageResourceAllowanceSpec\u003c/code\u003e class is designed to specify a resource allowance for usage, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing 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 for setting the \u003ccode\u003eLimit\u003c/code\u003e of resource consumption and specifying the \u003ccode\u003eType\u003c/code\u003e of resource, which is currently restricted to "cpu-core-hours" for CPU usage.\u003c/p\u003e\n"],["\u003cp\u003eThe class has 2 constructors, one for instantiation and another for cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe current latest version of the documentation is 1.0.0-alpha31, but it also contains info for 1.0.0-alpha30.\u003c/p\u003e\n"]]],[],null,[]]