public sealed class UsageResourceAllowanceSpec.Types.Limit : IMessage<UsageResourceAllowanceSpec.Types.Limit>, IEquatable<UsageResourceAllowanceSpec.Types.Limit>, IDeepCloneable<UsageResourceAllowanceSpec.Types.Limit>, IBufferMessage, IMessage
Reference documentation and code samples for the Batch v1alpha API class UsageResourceAllowanceSpec.Types.Limit.
Required. Limit value of a UsageResourceAllowance within its one
duration.
Limit cannot be a negative value. Default is 0.
For example, you can set limit as 10000.0 with duration of the current
month by setting calendar_period field as monthly. That means in your
current month, 10000.0 is the core hour limitation that your resources
are allowed to consume.
[[["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 document provides reference documentation for the \u003ccode\u003eUsageResourceAllowanceSpec.Types.Limit\u003c/code\u003e class within the Batch v1alpha API, specifically version 1.0.0-alpha30.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUsageResourceAllowanceSpec.Types.Limit\u003c/code\u003e class is a sealed class that 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, and it defines limitations for resource usage allowance.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and includes properties like \u003ccode\u003eCalendarPeriod\u003c/code\u003e, \u003ccode\u003eDurationCase\u003c/code\u003e, \u003ccode\u003eHasCalendarPeriod\u003c/code\u003e, \u003ccode\u003eHasLimit_\u003c/code\u003e, and \u003ccode\u003eLimit_\u003c/code\u003e, with \u003ccode\u003eLimit_\u003c/code\u003e being a required property specifying the usage allowance limit within a set duration.\u003c/p\u003e\n"],["\u003cp\u003eIt also includes details on constructors for creating instances of the class, including one that takes another \u003ccode\u003eUsageResourceAllowanceSpec.Types.Limit\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe class is part of the \u003ccode\u003eGoogle.Cloud.Batch.V1Alpha\u003c/code\u003e namespace and is located within the \u003ccode\u003eGoogle.Cloud.Batch.V1Alpha.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]