For more information about services, versions, and instances see An
Overview of App
Engine <https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine>,
Microservices Architecture on Google App
Engine <https://cloud.google.com/appengine/docs/python/microservices-on-app-engine>,
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>.
Attributes
Name
Description
service
str
App service.
By default, the job is sent to the service which
is the default service when the job is
attempted.
version
str
App version.
By default, the job is sent to the version which
is the default version when the job is
attempted.
instance
str
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
host
str
Output only. The host that the job is sent to.
For more information about how App Engine requests are
routed, see
here __.
The host is constructed as:
- host = [application_domain_name]\
| [service] + '.' + [application_domain_name]\
| [version] + '.' + [application_domain_name]\
| [version_dot_service]+ '.' + [application_domain_name]\
| [instance] + '.' + [application_domain_name]\
| [instance_dot_service] + '.' + [application_domain_name]\
| [instance_dot_version] + '.' + [application_domain_name]\
| [instance_dot_version_dot_service] + '.' + [application_domain_name]
- application_domain_name = The domain name of the app,
for example .appspot.com, which is associated with the
job's project ID.
- service =service
- version =version
- version_dot_service =version+ '.' +service
- instance =instance
- instance_dot_service =instance+ '.' +service
- instance_dot_version =instance+ '.' +version
- instance_dot_version_dot_service =instance+ '.' +version+ '.' +service
If
service
is empty, then the job will be sent to the service which is
the default service when the job is attempted.
If
version
is empty, then the job will be sent to the version which is
the default version when the job is attempted.
If
instance
is empty, then the job will be sent to an instance which is
available when the job is attempted.
If
service,
version,
or
instance
is invalid, then the job will be sent to the default version
of the default service when the job is attempted.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Class AppEngineRouting (2.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.16.0 (latest)](/python/docs/reference/cloudscheduler/latest/google.cloud.scheduler_v1.types.AppEngineRouting)\n- [2.15.1](/python/docs/reference/cloudscheduler/2.15.1/google.cloud.scheduler_v1.types.AppEngineRouting)\n- [2.14.1](/python/docs/reference/cloudscheduler/2.14.1/google.cloud.scheduler_v1.types.AppEngineRouting)\n- [2.13.5](/python/docs/reference/cloudscheduler/2.13.5/google.cloud.scheduler_v1.types.AppEngineRouting)\n- [2.12.0](/python/docs/reference/cloudscheduler/2.12.0/google.cloud.scheduler_v1.types.AppEngineRouting)\n- [2.11.3](/python/docs/reference/cloudscheduler/2.11.3/google.cloud.scheduler_v1.types.AppEngineRouting)\n- [2.10.0](/python/docs/reference/cloudscheduler/2.10.0/google.cloud.scheduler_v1.types.AppEngineRouting)\n- [2.9.1](/python/docs/reference/cloudscheduler/2.9.1/google.cloud.scheduler_v1.types.AppEngineRouting)\n- [2.8.0](/python/docs/reference/cloudscheduler/2.8.0/google.cloud.scheduler_v1.types.AppEngineRouting)\n- [2.7.3](/python/docs/reference/cloudscheduler/2.7.3/google.cloud.scheduler_v1.types.AppEngineRouting)\n- [2.6.4](/python/docs/reference/cloudscheduler/2.6.4/google.cloud.scheduler_v1.types.AppEngineRouting)\n- [2.5.1](/python/docs/reference/cloudscheduler/2.5.1/google.cloud.scheduler_v1.types.AppEngineRouting)\n- [2.4.0](/python/docs/reference/cloudscheduler/2.4.0/google.cloud.scheduler_v1.types.AppEngineRouting)\n- [2.3.4](/python/docs/reference/cloudscheduler/2.3.4/google.cloud.scheduler_v1.types.AppEngineRouting)\n- [2.2.0](/python/docs/reference/cloudscheduler/2.2.0/google.cloud.scheduler_v1.types.AppEngineRouting)\n- [2.1.1](/python/docs/reference/cloudscheduler/2.1.1/google.cloud.scheduler_v1.types.AppEngineRouting)\n- [2.0.0](/python/docs/reference/cloudscheduler/2.0.0/google.cloud.scheduler_v1.types.AppEngineRouting)\n- [1.3.2](/python/docs/reference/cloudscheduler/1.3.2/google.cloud.scheduler_v1.types.AppEngineRouting)\n- [1.2.1](/python/docs/reference/cloudscheduler/1.2.1/google.cloud.scheduler_v1.types.AppEngineRouting) \n\n AppEngineRouting(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nApp Engine Routing.\n\nFor more information about services, versions, and instances see `An\nOverview of App\nEngine \u003chttps://cloud.google.com/appengine/docs/python/an-overview-of-app-engine\u003e`**,\n`Microservices Architecture on Google App\nEngine \u003chttps://cloud.google.com/appengine/docs/python/microservices-on-app-engine\u003e`** ,\n`App Engine Standard request\nrouting \u003chttps://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed\u003e`**,\nand `App Engine Flex request\nrouting \u003chttps://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed\u003e`**."]]