Google Cloud Dataproc V1 Client - Class SparkHistoryServerConfig (3.2.2)

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]

Generated from protobuf field string dataproc_cluster = 1 [(.google.api.field_behavior) = OPTIONAL];

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]

Generated from protobuf field string dataproc_cluster = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this