Google Cloud Dataproc V1 Client - Class EnvironmentConfig (3.2.2)

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.

Generated from protobuf field .google.cloud.dataproc.v1.ExecutionConfig execution_config = 1 [(.google.api.field_behavior) = OPTIONAL];

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

hasExecutionConfig

clearExecutionConfig

setExecutionConfig

Optional. Execution configuration for a workload.

Generated from protobuf field .google.cloud.dataproc.v1.ExecutionConfig execution_config = 1 [(.google.api.field_behavior) = OPTIONAL];

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

getPeripheralsConfig

Optional. Peripherals configuration that workload has access to.

Generated from protobuf field .google.cloud.dataproc.v1.PeripheralsConfig peripherals_config = 2 [(.google.api.field_behavior) = OPTIONAL];

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

hasPeripheralsConfig

clearPeripheralsConfig

setPeripheralsConfig

Optional. Peripherals configuration that workload has access to.

Generated from protobuf field .google.cloud.dataproc.v1.PeripheralsConfig peripherals_config = 2 [(.google.api.field_behavior) = OPTIONAL];

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