Batch V1 API - Class Google::Cloud::Batch::V1::ComputeResource (v0.10.0)

Reference documentation and code samples for the Batch V1 API class Google::Cloud::Batch::V1::ComputeResource.

Compute resource requirements

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#boot_disk_mib

def boot_disk_mib() -> ::Integer
Returns
  • (::Integer) — Extra boot disk size in MiB for each task.

#boot_disk_mib=

def boot_disk_mib=(value) -> ::Integer
Parameter
  • value (::Integer) — Extra boot disk size in MiB for each task.
Returns
  • (::Integer) — Extra boot disk size in MiB for each task.

#cpu_milli

def cpu_milli() -> ::Integer
Returns
  • (::Integer) — The milliCPU count.

#cpu_milli=

def cpu_milli=(value) -> ::Integer
Parameter
  • value (::Integer) — The milliCPU count.
Returns
  • (::Integer) — The milliCPU count.

#memory_mib

def memory_mib() -> ::Integer
Returns
  • (::Integer) — Memory in MiB.

#memory_mib=

def memory_mib=(value) -> ::Integer
Parameter
  • value (::Integer) — Memory in MiB.
Returns
  • (::Integer) — Memory in MiB.