Reference documentation and code samples for the Google Cloud Dataproc V1 Client class PeripheralsConfig.
Auxiliary services configuration for a workload.
Generated from protobuf message google.cloud.dataproc.v1.PeripheralsConfig
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ metastore_service |
string
Optional. Resource name of an existing Dataproc Metastore service. Example: * |
↳ spark_history_server_config |
Google\Cloud\Dataproc\V1\SparkHistoryServerConfig
Optional. The Spark History Server configuration for the workload. |
getMetastoreService
Optional. Resource name of an existing Dataproc Metastore service.
Example:
projects/[project_id]/locations/[region]/services/[service_id]
Generated from protobuf field string metastore_service = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
string |
setMetastoreService
Optional. Resource name of an existing Dataproc Metastore service.
Example:
projects/[project_id]/locations/[region]/services/[service_id]
Generated from protobuf field string metastore_service = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSparkHistoryServerConfig
Optional. The Spark History Server configuration for the workload.
Generated from protobuf field .google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Google\Cloud\Dataproc\V1\SparkHistoryServerConfig|null |
hasSparkHistoryServerConfig
clearSparkHistoryServerConfig
setSparkHistoryServerConfig
Optional. The Spark History Server configuration for the workload.
Generated from protobuf field .google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dataproc\V1\SparkHistoryServerConfig
|
Returns | |
---|---|
Type | Description |
$this |