host = $host; } /** * @return string */ public function getHost() { return $this->host; } /** * App instance. By default, the job is sent to an instance which is available * when the job is attempted. Requests can only be sent to a specific instance * if [manual scaling is used in App Engine * Standard](https://cloud.google.com/appengine/docs/python/an-overview-of- * app-engine?#scaling_types_and_instance_classes). App Engine Flex does not * support instances. For more information, see [App Engine Standard request * routing](https://cloud.google.com/appengine/docs/standard/python/how- * requests-are-routed) and [App Engine Flex request * routing](https://cloud.google.com/appengine/docs/flexible/python/how- * requests-are-routed). * * @param string $instance */ public function setInstance($instance) { $this->instance = $instance; } /** * @return string */ public function getInstance() { return $this->instance; } /** * App service. By default, the job is sent to the service which is the * default service when the job is attempted. * * @param string $service */ public function setService($service) { $this->service = $service; } /** * @return string */ public function getService() { return $this->service; } /** * App version. By default, the job is sent to the version which is the * default version when the job is attempted. * * @param string $version */ 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(AppEngineRouting::class, 'Google_Service_CloudScheduler_AppEngineRouting');