Google Cloud Dataproc V1 Client - Class SparkHistoryServerConfig (2.2.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

Namespace

Google \ Cloud \ Dataproc \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$this