clusterName = $clusterName; } /** * @return string */ public function getClusterName() { return $this->clusterName; } /** * Required. The cluster configuration. * * @param ClusterConfig $config */ public function setConfig(ClusterConfig $config) { $this->config = $config; } /** * @return ClusterConfig */ public function getConfig() { return $this->config; } /** * Optional. The labels to associate with this cluster.Label keys must be * between 1 and 63 characters long, and must conform to the following PCRE * regular expression: \p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 * characters long, and must conform to the following PCRE regular expression: * \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be associated with a * given cluster. * * @param string[] $labels */ public function setLabels($labels) { $this->labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ManagedCluster::class, 'Google_Service_Dataproc_ManagedCluster');