public sealed class TaskResourceUsage : IMessage<TaskResourceUsage>, IEquatable<TaskResourceUsage>, IDeepCloneable<TaskResourceUsage>, IBufferMessage, IMessage
Reference documentation and code samples for the Batch v1alpha API class TaskResourceUsage.
TaskResourceUsage describes the resource usage of the task.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `TaskResourceUsage` class in the Batch v1alpha API provides details on the resource usage of a task."],["It is a sealed class that inherits from `object` and implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `TaskResourceUsage` class has two constructors: a default one and another that takes an existing `TaskResourceUsage` object as a parameter."],["It contains a `CoreHours` property of type `double` that indicates the CPU core hours consumed by the task."],["The class is part of the `Google.Cloud.Batch.V1Alpha` namespace and is found within the `Google.Cloud.Batch.V1Alpha.dll` assembly."]]],[]]