namespace = $namespace; } /** * @return string */ public function getNamespace() { return $this->namespace; } /** * Service Directory service to register the forwarding rule under. * * @param string $service */ public function setService($service) { $this->service = $service; } /** * @return string */ public function getService() { return $this->service; } /** * [Optional] Service Directory region to register this global forwarding rule * under. Default to "us-central1". Only used for PSC for Google APIs. All PSC * for Google APIs forwarding rules on the same network should use the same * Service Directory region. * * @param string $serviceDirectoryRegion */ public function setServiceDirectoryRegion($serviceDirectoryRegion) { $this->serviceDirectoryRegion = $serviceDirectoryRegion; } /** * @return string */ public function getServiceDirectoryRegion() { return $this->serviceDirectoryRegion; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ForwardingRuleServiceDirectoryRegistration::class, 'Google_Service_Compute_ForwardingRuleServiceDirectoryRegistration');