configMap = $configMap; } /** * @return ConfigMapVolumeSource */ public function getConfigMap() { return $this->configMap; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param SecretVolumeSource */ public function setSecret(SecretVolumeSource $secret) { $this->secret = $secret; } /** * @return SecretVolumeSource */ public function getSecret() { return $this->secret; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Volume::class, 'Google_Service_CloudRun_Volume');