cpuMetrics = $cpuMetrics; } /** * @return CpuMetric[] */ public function getCpuMetrics() { return $this->cpuMetrics; } /** * @param DiskMetric[] */ public function setDiskMetrics($diskMetrics) { $this->diskMetrics = $diskMetrics; } /** * @return DiskMetric[] */ public function getDiskMetrics() { return $this->diskMetrics; } /** * @param GpuMetric[] */ public function setGpuMetrics($gpuMetrics) { $this->gpuMetrics = $gpuMetrics; } /** * @return GpuMetric[] */ public function getGpuMetrics() { return $this->gpuMetrics; } /** * @param RamMetric[] */ public function setRamMetrics($ramMetrics) { $this->ramMetrics = $ramMetrics; } /** * @return RamMetric[] */ public function getRamMetrics() { return $this->ramMetrics; } /** * @param TpuMetric[] */ public function setTpuMetrics($tpuMetrics) { $this->tpuMetrics = $tpuMetrics; } /** * @return TpuMetric[] */ public function getTpuMetrics() { return $this->tpuMetrics; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(InfraUsage::class, 'Google_Service_CloudNaturalLanguage_InfraUsage');