Batch v1 API - Class ComputeResource (2.3.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
long

CpuMilli

public long CpuMilli { get; set; }

The milliCPU count.

Property Value
TypeDescription
long

MemoryMib

public long MemoryMib { get; set; }

Memory in MiB.

Property Value
TypeDescription
long