Google Cloud Dataproc V1 Client - Class DriverSchedulingConfig (3.13.4)

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
Name Description
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
Type Description
int

setMemoryMb

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

Parameter
Name Description
var int
Returns
Type Description
$this

getVcores

Required. The number of vCPUs the driver is requesting.

Returns
Type Description
int

setVcores

Required. The number of vCPUs the driver is requesting.

Parameter
Name Description
var int
Returns
Type Description
$this