labels = $labels; } public function getLabels() { return $this->labels; } public function setType($type) { $this->type = $type; } 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');