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.
Implements
IMessageTaskResourceUsage, IEquatableTaskResourceUsage, IDeepCloneableTaskResourceUsage, IBufferMessage, IMessageNamespace
Google.Cloud.Batch.V1AlphaAssembly
Google.Cloud.Batch.V1Alpha.dll
Constructors
TaskResourceUsage()
public TaskResourceUsage()
TaskResourceUsage(TaskResourceUsage)
public TaskResourceUsage(TaskResourceUsage other)
Parameter | |
---|---|
Name | Description |
other |
TaskResourceUsage |
Properties
CoreHours
public double CoreHours { get; set; }
The CPU core hours the task consumes based on task requirement and run time.
Property Value | |
---|---|
Type | Description |
double |