Google Cloud Dataproc V1 Client - Class DriverSchedulingConfig (3.8.1)

Reference documentation and code samples for the Google Cloud Dataproc V1 Client class DriverSchedulingConfig.

Driver scheduling configuration.

Generated from protobuf message google.cloud.dataproc.v1.DriverSchedulingConfig

Namespace

Google \ Cloud \ Dataproc \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ memory_mb int

Required. The amount of memory in MB the driver is requesting.

↳ vcores int

Required. The number of vCPUs the driver is requesting.

getMemoryMb

Required. The amount of memory in MB the driver is requesting.

Returns
TypeDescription
int

setMemoryMb

Required. The amount of memory in MB the driver is requesting.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getVcores

Required. The number of vCPUs the driver is requesting.

Returns
TypeDescription
int

setVcores

Required. The number of vCPUs the driver is requesting.

Parameter
NameDescription
var int
Returns
TypeDescription
$this