Google Cloud Dataproc V1 Client - Class SparkHistoryServerConfig (3.5.1)

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

Spark History Server configuration for the workload.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ dataproc_cluster string

Optional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the workload. Example: * projects/[project_id]/regions/[region]/clusters/[cluster_name]

getDataprocCluster

Optional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the workload.

Example:

  • projects/[project_id]/regions/[region]/clusters/[cluster_name]
Returns
TypeDescription
string

setDataprocCluster

Optional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the workload.

Example:

  • projects/[project_id]/regions/[region]/clusters/[cluster_name]
Parameter
NameDescription
var string
Returns
TypeDescription
$this