Batch v1alpha API - Class TaskResourceUsage (1.0.0-alpha29)

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.

Inheritance

object > TaskResourceUsage

Namespace

Google.Cloud.Batch.V1Alpha

Assembly

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