checkIfServiceHasUsage = $checkIfServiceHasUsage; } /** * @return self::CHECK_IF_SERVICE_HAS_USAGE_* */ public function getCheckIfServiceHasUsage() { return $this->checkIfServiceHasUsage; } /** * Indicates if services that are enabled and which depend on this service * should also be disabled. If not set, an error will be generated if any * enabled services depend on the service to be disabled. When set, the * service, and any enabled services that depend on it, will be disabled * together. * * @param bool $disableDependentServices */ public function setDisableDependentServices($disableDependentServices) { $this->disableDependentServices = $disableDependentServices; } /** * @return bool */ public function getDisableDependentServices() { return $this->disableDependentServices; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(DisableServiceRequest::class, 'Google_Service_ServiceUsage_DisableServiceRequest');