Class AppEngineRouting (1.3.0)

App Engine Routing.

Defines routing characteristics specific to App Engine - service, version, and instance.

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>.

App version. By default, the task is sent to the version which is the default version when the task is attempted. For some queues or tasks which were created using the App Engine Task Queue API, host is not parsable into [service][google.cloud.tasks.v2beta3.AppEngi neRouting.service], [version][google.cloud.tasks.v2beta3.AppEn gineRouting.version], and [instance][google.cloud.tasks.v2beta 3.AppEngineRouting.instance]. For example, some tasks which were created using the App Engine SDK use a custom domain name; custom domains are not parsed by Cloud Tasks. If host is not parsable, then [service][google.cloud.tasks.v2beta3.AppEng ineRouting.service], [version][google.cloud.tasks.v2beta3.AppE ngineRouting.version], and [instance][google.cloud.tasks.v2bet a3.AppEngineRouting.instance] are the empty string.

Output only. The host that the task is sent to. The host is constructed from the domain name of the app associated with the queue's project ID (for example .appspot.com), and the [se rvice][google.cloud.tasks.v2beta3.AppEngineRouting.service], [ version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and [instance][google.cloud.tasks.v2beta3.AppEngineRouting.ins tance]. Tasks which were created using the App Engine SDK might have a custom domain name. For more information, see How Requests are Routed <https://cloud.google.com/appengine/docs/standard/python/how- requests-are-routed>_.