createTime = $createTime; } /** * @return string */ public function getCreateTime() { return $this->createTime; } /** * Output only. The email address of the user who created the template. * * @param string $creator */ public function setCreator($creator) { $this->creator = $creator; } /** * @return string */ public function getCreator() { return $this->creator; } /** * Optional. Brief description of the template. * * @param string $description */ public function setDescription($description) { $this->description = $description; } /** * @return string */ public function getDescription() { return $this->description; } /** * Optional. Environment configuration for session execution. * * @param EnvironmentConfig $environmentConfig */ public function setEnvironmentConfig(EnvironmentConfig $environmentConfig) { $this->environmentConfig = $environmentConfig; } /** * @return EnvironmentConfig */ public function getEnvironmentConfig() { return $this->environmentConfig; } /** * Optional. Jupyter session config. * * @param JupyterConfig $jupyterSession */ public function setJupyterSession(JupyterConfig $jupyterSession) { $this->jupyterSession = $jupyterSession; } /** * @return JupyterConfig */ public function getJupyterSession() { return $this->jupyterSession; } /** * Optional. Labels to associate with sessions created using this template. * Label keys must contain 1 to 63 characters, and must conform to RFC 1035 * (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty, but, if * present, must contain 1 to 63 characters and conform to RFC 1035 * (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be * associated with a session. * * @param string[] $labels */ public function setLabels($labels) { $this->labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * Required. Identifier. The resource name of the session template. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Optional. Runtime configuration for session execution. * * @param RuntimeConfig $runtimeConfig */ public function setRuntimeConfig(RuntimeConfig $runtimeConfig) { $this->runtimeConfig = $runtimeConfig; } /** * @return RuntimeConfig */ public function getRuntimeConfig() { return $this->runtimeConfig; } /** * Optional. Spark connect session config. * * @param SparkConnectConfig $sparkConnectSession */ public function setSparkConnectSession(SparkConnectConfig $sparkConnectSession) { $this->sparkConnectSession = $sparkConnectSession; } /** * @return SparkConnectConfig */ public function getSparkConnectSession() { return $this->sparkConnectSession; } /** * Output only. The time the template was last updated. * * @param string $updateTime */ public function setUpdateTime($updateTime) { $this->updateTime = $updateTime; } /** * @return string */ public function getUpdateTime() { return $this->updateTime; } /** * Output only. A session template UUID (Unique Universal Identifier). The * service generates this value when it creates the session template. * * @param string $uuid */ public function setUuid($uuid) { $this->uuid = $uuid; } /** * @return string */ public function getUuid() { return $this->uuid; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SessionTemplate::class, 'Google_Service_Dataproc_SessionTemplate');