cloudSqlInstance = $cloudSqlInstance; } /** * @return GoogleCloudRunV2CloudSqlInstance */ public function getCloudSqlInstance() { return $this->cloudSqlInstance; } /** * @param GoogleCloudRunV2EmptyDirVolumeSource */ public function setEmptyDir(GoogleCloudRunV2EmptyDirVolumeSource $emptyDir) { $this->emptyDir = $emptyDir; } /** * @return GoogleCloudRunV2EmptyDirVolumeSource */ public function getEmptyDir() { return $this->emptyDir; } /** * @param GoogleCloudRunV2GCSVolumeSource */ public function setGcs(GoogleCloudRunV2GCSVolumeSource $gcs) { $this->gcs = $gcs; } /** * @return GoogleCloudRunV2GCSVolumeSource */ public function getGcs() { return $this->gcs; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param GoogleCloudRunV2NFSVolumeSource */ public function setNfs(GoogleCloudRunV2NFSVolumeSource $nfs) { $this->nfs = $nfs; } /** * @return GoogleCloudRunV2NFSVolumeSource */ public function getNfs() { return $this->nfs; } /** * @param GoogleCloudRunV2SecretVolumeSource */ public function setSecret(GoogleCloudRunV2SecretVolumeSource $secret) { $this->secret = $secret; } /** * @return GoogleCloudRunV2SecretVolumeSource */ public function getSecret() { return $this->secret; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudRunV2Volume::class, 'Google_Service_CloudRun_GoogleCloudRunV2Volume');