public sealed class UsageResourceAllowanceStatus.Types.PeriodConsumption : IMessage<UsageResourceAllowanceStatus.Types.PeriodConsumption>, IEquatable<UsageResourceAllowanceStatus.Types.PeriodConsumption>, IDeepCloneable<UsageResourceAllowanceStatus.Types.PeriodConsumption>, IBufferMessage, IMessage
[[["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 latest version of \u003ccode\u003ePeriodConsumption\u003c/code\u003e is 1.0.0-alpha31, found in the \u003ccode\u003eGoogle.Cloud.Batch.V1Alpha\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePeriodConsumption\u003c/code\u003e is a sealed class that inherits from \u003ccode\u003eobject\u003c/code\u003e and 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.\u003c/p\u003e\n"],["\u003cp\u003eIt has two constructors: a default constructor and one that takes another \u003ccode\u003ePeriodConsumption\u003c/code\u003e object as a parameter to create a new \u003ccode\u003ePeriodConsumption\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains two main properties: \u003ccode\u003eConsumed\u003c/code\u003e, which is a double representing accumulated consumption during a specific interval, and \u003ccode\u003eConsumptionInterval\u003c/code\u003e, which is of type \u003ccode\u003eInterval\u003c/code\u003e indicating the period of consumption.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a \u003ccode\u003eHasConsumed\u003c/code\u003e property, a boolean value, that indicates if the \u003ccode\u003econsumed\u003c/code\u003e field is set.\u003c/p\u003e\n"]]],[],null,["# Batch v1alpha API - Class UsageResourceAllowanceStatus.Types.PeriodConsumption (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.UsageResourceAllowanceStatus.Types.PeriodConsumption)\n- [1.0.0-alpha30](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/1.0.0-alpha30/Google.Cloud.Batch.V1Alpha.UsageResourceAllowanceStatus.Types.PeriodConsumption) \n\n public sealed class UsageResourceAllowanceStatus.Types.PeriodConsumption : IMessage\u003cUsageResourceAllowanceStatus.Types.PeriodConsumption\u003e, IEquatable\u003cUsageResourceAllowanceStatus.Types.PeriodConsumption\u003e, IDeepCloneable\u003cUsageResourceAllowanceStatus.Types.PeriodConsumption\u003e, IBufferMessage, IMessage\n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UsageResourceAllowanceStatus.Types.PeriodConsumption \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UsageResourceAllowanceStatus](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.UsageResourceAllowanceStatus)[Types](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.UsageResourceAllowanceStatus.Types)[PeriodConsumption](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.UsageResourceAllowanceStatus.Types.PeriodConsumption), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UsageResourceAllowanceStatus](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.UsageResourceAllowanceStatus)[Types](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.UsageResourceAllowanceStatus.Types)[PeriodConsumption](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.UsageResourceAllowanceStatus.Types.PeriodConsumption), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UsageResourceAllowanceStatus](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.UsageResourceAllowanceStatus)[Types](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.UsageResourceAllowanceStatus.Types)[PeriodConsumption](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.UsageResourceAllowanceStatus.Types.PeriodConsumption), [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### PeriodConsumption()\n\n public PeriodConsumption()\n\n### PeriodConsumption(PeriodConsumption)\n\n public PeriodConsumption(UsageResourceAllowanceStatus.Types.PeriodConsumption other)\n\nProperties\n----------\n\n### Consumed\n\n public double Consumed { get; set; }\n\nOutput only. Accumulated consumption during `consumption_interval`.\n\n### ConsumptionInterval\n\n public Interval ConsumptionInterval { get; set; }\n\nOutput only. The consumption interval.\n\n### HasConsumed\n\n public bool HasConsumed { get; }\n\nGets whether the \"consumed\" field is set"]]