medium = $medium; } /** * @return self::MEDIUM_* */ public function getMedium() { return $this->medium; } /** * Limit on the storage usable by this EmptyDir volume. The size limit is also * applicable for memory medium. The maximum usage on memory medium EmptyDir * would be the minimum value between the SizeLimit specified here and the sum * of memory limits of all containers. The default is nil which means that the * limit is undefined. More info: * https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure- * volume. Info in Kubernetes: * https://kubernetes.io/docs/concepts/storage/volumes/#emptydir * * @param string $sizeLimit */ public function setSizeLimit($sizeLimit) { $this->sizeLimit = $sizeLimit; } /** * @return string */ public function getSizeLimit() { return $this->sizeLimit; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudRunV2EmptyDirVolumeSource::class, 'Google_Service_CloudRun_GoogleCloudRunV2EmptyDirVolumeSource');