public sealed class UsageResourceAllowance : IMessage<UsageResourceAllowance>, IEquatable<UsageResourceAllowance>, IDeepCloneable<UsageResourceAllowance>, IBufferMessage, IMessage
Reference documentation and code samples for the Batch v1alpha API class UsageResourceAllowance.
UsageResourceAllowance describes the detail of usage resource allowance.
[[["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\u003eThe \u003ccode\u003eUsageResourceAllowance\u003c/code\u003e class in the Google Cloud Batch v1alpha API describes the details of resource allowance usage.\u003c/p\u003e\n"],["\u003cp\u003eIt is a sealed class that inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces such as \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\u003eTwo versions are available: the latest, \u003ccode\u003e1.0.0-alpha31\u003c/code\u003e, and \u003ccode\u003e1.0.0-alpha30\u003c/code\u003e, with the reference documentation and code samples being provided.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors, \u003ccode\u003eUsageResourceAllowance()\u003c/code\u003e and \u003ccode\u003eUsageResourceAllowance(UsageResourceAllowance)\u003c/code\u003e, and has the properties \u003ccode\u003eSpec\u003c/code\u003e and \u003ccode\u003eStatus\u003c/code\u003e for defining the specification and the status of a resource allowance.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this class is \u003ccode\u003eGoogle.Cloud.Batch.V1Alpha\u003c/code\u003e, and it's part of the \u003ccode\u003eGoogle.Cloud.Batch.V1Alpha.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Batch v1alpha API - Class UsageResourceAllowance (1.0.0-alpha31)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-alpha31 (latest)](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.UsageResourceAllowance)\n- [1.0.0-alpha30](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/1.0.0-alpha30/Google.Cloud.Batch.V1Alpha.UsageResourceAllowance) \n\n public sealed class UsageResourceAllowance : IMessage\u003cUsageResourceAllowance\u003e, IEquatable\u003cUsageResourceAllowance\u003e, IDeepCloneable\u003cUsageResourceAllowance\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Batch v1alpha API class UsageResourceAllowance.\n\nUsageResourceAllowance describes the detail of usage resource allowance. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UsageResourceAllowance \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UsageResourceAllowance](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.UsageResourceAllowance), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UsageResourceAllowance](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.UsageResourceAllowance), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UsageResourceAllowance](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.UsageResourceAllowance), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Batch.V1Alpha](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha)\n\nAssembly\n--------\n\nGoogle.Cloud.Batch.V1Alpha.dll\n\nConstructors\n------------\n\n### UsageResourceAllowance()\n\n public UsageResourceAllowance()\n\n### UsageResourceAllowance(UsageResourceAllowance)\n\n public UsageResourceAllowance(UsageResourceAllowance other)\n\nProperties\n----------\n\n### Spec\n\n public UsageResourceAllowanceSpec Spec { get; set; }\n\nRequired. Spec of a usage ResourceAllowance.\n\n### Status\n\n public UsageResourceAllowanceStatus Status { get; set; }\n\nOutput only. Status of a usage ResourceAllowance."]]