imageVersion = $imageVersion; } /** * @return string */ public function getImageVersion() { return $this->imageVersion; } /** * Optional. The set of components to activate on the cluster. * * @param string[] $optionalComponents */ public function setOptionalComponents($optionalComponents) { $this->optionalComponents = $optionalComponents; } /** * @return string[] */ public function getOptionalComponents() { return $this->optionalComponents; } /** * Optional. The properties to set on daemon config files.Property keys are * specified in prefix:property format, for example core:hadoop.tmp.dir. The * following are supported prefixes and their mappings: capacity-scheduler: * capacity-scheduler.xml core: core-site.xml distcp: distcp-default.xml hdfs: * hdfs-site.xml hive: hive-site.xml mapred: mapred-site.xml pig: * pig.properties spark: spark-defaults.conf yarn: yarn-site.xmlFor more * information, see Cluster properties * (https://cloud.google.com/dataproc/docs/concepts/cluster-properties). * * @param string[] $properties */ public function setProperties($properties) { $this->properties = $properties; } /** * @return string[] */ public function getProperties() { return $this->properties; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SoftwareConfig::class, 'Google_Service_Dataproc_SoftwareConfig');