Google Cloud Dataproc V1 Client - Class EnvironmentConfig (3.4.0)

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

Environment configuration for a workload.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ execution_config Google\Cloud\Dataproc\V1\ExecutionConfig

Optional. Execution configuration for a workload.

↳ peripherals_config Google\Cloud\Dataproc\V1\PeripheralsConfig

Optional. Peripherals configuration that workload has access to.

getExecutionConfig

Optional. Execution configuration for a workload.

Returns
TypeDescription
Google\Cloud\Dataproc\V1\ExecutionConfig|null

hasExecutionConfig

clearExecutionConfig

setExecutionConfig

Optional. Execution configuration for a workload.

Parameter
NameDescription
var Google\Cloud\Dataproc\V1\ExecutionConfig
Returns
TypeDescription
$this

getPeripheralsConfig

Optional. Peripherals configuration that workload has access to.

Returns
TypeDescription
Google\Cloud\Dataproc\V1\PeripheralsConfig|null

hasPeripheralsConfig

clearPeripheralsConfig

setPeripheralsConfig

Optional. Peripherals configuration that workload has access to.

Parameter
NameDescription
var Google\Cloud\Dataproc\V1\PeripheralsConfig
Returns
TypeDescription
$this