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
IMessageComputeResource, IEquatableComputeResource, IDeepCloneableComputeResource, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.BatchV1Assembly
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 |
long |
CpuMilli
public long CpuMilli { get; set; }
The milliCPU count.
Property Value | |
---|---|
Type | Description |
long |
MemoryMib
public long MemoryMib { get; set; }
Memory in MiB.
Property Value | |
---|---|
Type | Description |
long |