[[["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 page provides reference documentation for the \u003ccode\u003eResourceUsage\u003c/code\u003e class within the Batch v1alpha API, version \u003ccode\u003e1.0.0-alpha31\u003c/code\u003e (latest).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResourceUsage\u003c/code\u003e class, found in the \u003ccode\u003eGoogle.Cloud.Batch.V1Alpha\u003c/code\u003e namespace, describes the resource usage of a Batch job.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eResourceUsage\u003c/code\u003e inherits from \u003ccode\u003eobject\u003c/code\u003e and implements the \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, \u003ccode\u003eResourceUsage()\u003c/code\u003e and \u003ccode\u003eResourceUsage(ResourceUsage other)\u003c/code\u003e, and a \u003ccode\u003eCoreHours\u003c/code\u003e property to represent the CPU core hours consumed by a job.\u003c/p\u003e\n"]]],[],null,["# Batch v1alpha API - Class ResourceUsage (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.ResourceUsage)\n- [1.0.0-alpha30](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/1.0.0-alpha30/Google.Cloud.Batch.V1Alpha.ResourceUsage) \n\n public sealed class ResourceUsage : IMessage\u003cResourceUsage\u003e, IEquatable\u003cResourceUsage\u003e, IDeepCloneable\u003cResourceUsage\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Batch v1alpha API class ResourceUsage.\n\nResourceUsage describes the resource usage of the job. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ResourceUsage \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ResourceUsage](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.ResourceUsage), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ResourceUsage](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.ResourceUsage), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ResourceUsage](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.ResourceUsage), [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### ResourceUsage()\n\n public ResourceUsage()\n\n### ResourceUsage(ResourceUsage)\n\n public ResourceUsage(ResourceUsage other)\n\nProperties\n----------\n\n### CoreHours\n\n public double CoreHours { get; set; }\n\nThe CPU core hours that the job consumes."]]