Reference documentation and code samples for the Google Cloud Batch V1 Client class ComputeResource.
Compute resource requirements
Generated from protobuf message google.cloud.batch.v1.ComputeResource
Namespace
Google \ Cloud \ Batch \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ cpu_milli
int|string
The milliCPU count.
↳ memory_mib
int|string
Memory in MiB.
↳ boot_disk_mib
int|string
Extra boot disk size in MiB for each task.
getCpuMilli
The milliCPU count.
int|string
setCpuMilli
The milliCPU count.
var
int|string
$this
getMemoryMib
Memory in MiB.
int|string
setMemoryMib
Memory in MiB.
var
int|string
$this
getBootDiskMib
Extra boot disk size in MiB for each task.
int|string
setBootDiskMib
Extra boot disk size in MiB for each task.
var
int|string
$this