Batch v1 API - Class ComputeResource (1.2.0)

public sealed class ComputeResource : IMessage<ComputeResource>, IEquatable<ComputeResource>, IDeepCloneable<ComputeResource>, IBufferMessage, IMessage

Reference documentation and code samples for the Batch v1 API class ComputeResource.

Compute resource requirements

Inheritance

Object > ComputeResource

Namespace

Google.Cloud.Batch.V1

Assembly

Google.Cloud.Batch.V1.dll

Constructors

ComputeResource()

public ComputeResource()

ComputeResource(ComputeResource)

public ComputeResource(ComputeResource other)
Parameter
NameDescription
otherComputeResource

Properties

BootDiskMib

public long BootDiskMib { get; set; }

Extra boot disk size in MiB for each task.

Property Value
TypeDescription
Int64

CpuMilli

public long CpuMilli { get; set; }

The milliCPU count.

Property Value
TypeDescription
Int64

MemoryMib

public long MemoryMib { get; set; }

Memory in MiB.

Property Value
TypeDescription
Int64