labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * @param string */ public function setType($type) { $this->type = $type; } /** * @return string */ public function getType() { return $this->type; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(MonitoredResource::class, 'Google_Service_Logging_MonitoredResource');