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, part of the Batch v1alpha API, is used to represent the resource usage of a task within the Google Cloud environment."],["This class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, demonstrating its compatibility with the Protobuf library and other .NET functionalities."],["It is a sealed class that inherits from `object`, with available constructors allowing either a blank initialization or from an existing `TaskResourceUsage` object."],["The `CoreHours` property within `TaskResourceUsage` captures the CPU core hours consumed by a task, calculated from its requirements and duration."]]],[]]