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
Implements
IMessage<ComputeResource>, IEquatable<ComputeResource>, IDeepCloneable<ComputeResource>, IBufferMessage, IMessageNamespace
Google.Cloud.Batch.V1Assembly
Google.Cloud.Batch.V1.dll
Constructors
ComputeResource()
public ComputeResource()
ComputeResource(ComputeResource)
public ComputeResource(ComputeResource other)
Parameter | |
---|---|
Name | Description |
other | ComputeResource |
Properties
BootDiskMib
public long BootDiskMib { get; set; }
Extra boot disk size in MiB for each task.
Property Value | |
---|---|
Type | Description |
Int64 |
CpuMilli
public long CpuMilli { get; set; }
The milliCPU count.
Property Value | |
---|---|
Type | Description |
Int64 |
MemoryMib
public long MemoryMib { get; set; }
Memory in MiB.
Property Value | |
---|---|
Type | Description |
Int64 |