resourceType = $resourceType; } /** * @return string */ public function getResourceType() { return $this->resourceType; } /** * @param string */ public function setService($service) { $this->service = $service; } /** * @return string */ public function getService() { return $this->service; } /** * @param string */ public function setVersion($version) { $this->version = $version; } /** * @return string */ public function getVersion() { return $this->version; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ServiceContext::class, 'Google_Service_Clouderrorreporting_ServiceContext');