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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月05日 UTC.