public sealed class AppEngineRouting : IMessage<AppEngineRouting>, IEquatable<AppEngineRouting>, IDeepCloneable<AppEngineRouting>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Scheduler v1 API class AppEngineRouting.
If [service][google.cloud.scheduler.v1.AppEngineRouting.service] is empty,
then the job will be sent to the service which is the default service when
the job is attempted.
If [version][google.cloud.scheduler.v1.AppEngineRouting.version] is empty,
then the job will be sent to the version which is the default version when
the job is attempted.
If [instance][google.cloud.scheduler.v1.AppEngineRouting.instance] is
empty, then the job will be sent to an instance which is available when the
job is attempted.
If [service][google.cloud.scheduler.v1.AppEngineRouting.service],
[version][google.cloud.scheduler.v1.AppEngineRouting.version], or
[instance][google.cloud.scheduler.v1.AppEngineRouting.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-09-04 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eAppEngineRouting\u003c/code\u003e class in the Google Cloud Scheduler v1 API is 3.5.0, and older versions are available for reference.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAppEngineRouting\u003c/code\u003e facilitates managing routing for App Engine jobs, allowing specification of the target service, version, and instance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHost\u003c/code\u003e property defines the destination for the job, which can include various combinations of application domain, service, version, and instance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eService\u003c/code\u003e, \u003ccode\u003eVersion\u003c/code\u003e, and \u003ccode\u003eInstance\u003c/code\u003e properties allow you to send the job to specific services, versions, or instances, if you so choose.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing a range of functionalities.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Scheduler v1 API - Class AppEngineRouting (3.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.Scheduler.V1/latest/Google.Cloud.Scheduler.V1.AppEngineRouting)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Scheduler.V1/3.4.0/Google.Cloud.Scheduler.V1.AppEngineRouting)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Scheduler.V1/3.3.0/Google.Cloud.Scheduler.V1.AppEngineRouting)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Scheduler.V1/3.2.0/Google.Cloud.Scheduler.V1.AppEngineRouting)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Scheduler.V1/3.1.0/Google.Cloud.Scheduler.V1.AppEngineRouting)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Scheduler.V1/3.0.0/Google.Cloud.Scheduler.V1.AppEngineRouting)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Scheduler.V1/2.3.0/Google.Cloud.Scheduler.V1.AppEngineRouting)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Scheduler.V1/2.2.0/Google.Cloud.Scheduler.V1.AppEngineRouting) \n\n public sealed class AppEngineRouting : IMessage\u003cAppEngineRouting\u003e, IEquatable\u003cAppEngineRouting\u003e, IDeepCloneable\u003cAppEngineRouting\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Scheduler v1 API class AppEngineRouting.\n\nApp Engine Routing.\n\nFor more information about services, versions, and instances see\n[An Overview of App\nEngine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine),\n[Microservices Architecture on Google App\nEngine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine),\n[App Engine Standard request\nrouting](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed),\nand [App Engine Flex request\nrouting](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AppEngineRouting \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AppEngineRouting](/dotnet/docs/reference/Google.Cloud.Scheduler.V1/latest/Google.Cloud.Scheduler.V1.AppEngineRouting), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AppEngineRouting](/dotnet/docs/reference/Google.Cloud.Scheduler.V1/latest/Google.Cloud.Scheduler.V1.AppEngineRouting), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AppEngineRouting](/dotnet/docs/reference/Google.Cloud.Scheduler.V1/latest/Google.Cloud.Scheduler.V1.AppEngineRouting), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Scheduler.V1](/dotnet/docs/reference/Google.Cloud.Scheduler.V1/latest/Google.Cloud.Scheduler.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Scheduler.V1.dll\n\nConstructors\n------------\n\n### AppEngineRouting()\n\n public AppEngineRouting()\n\n### AppEngineRouting(AppEngineRouting)\n\n public AppEngineRouting(AppEngineRouting other)\n\nProperties\n----------\n\n### Host\n\n public string Host { get; set; }\n\nOutput only. The host that the job is sent to.\n\nFor more information about how App Engine requests are routed, see\n[here](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed).\n\nThe host is constructed as:\n\n- `host = [application_domain_name]`\\\u003c/br\\\u003e\n `| [service] + '.' + [application_domain_name]`\\\u003c/br\\\u003e\n `| [version] + '.' + [application_domain_name]`\\\u003c/br\\\u003e\n `| [version_dot_service]+ '.' + [application_domain_name]`\\\u003c/br\\\u003e\n `| [instance] + '.' + [application_domain_name]`\\\u003c/br\\\u003e\n `| [instance_dot_service] + '.' + [application_domain_name]`\\\u003c/br\\\u003e\n `| [instance_dot_version] + '.' + [application_domain_name]`\\\u003c/br\\\u003e\n `| [instance_dot_version_dot_service] + '.' + [application_domain_name]`\n\n- `application_domain_name` = The domain name of the app, for\n example \\\u003capp-id\\\u003e.appspot.com, which is associated with the\n job's project ID.\n\n- `service =` \\[service\\]\\[google.cloud.scheduler.v1.AppEngineRouting.service\\]\n\n- `version =` \\[version\\]\\[google.cloud.scheduler.v1.AppEngineRouting.version\\]\n\n- `version_dot_service =`\n \\[version\\]\\[google.cloud.scheduler.v1.AppEngineRouting.version\\] `+ '.' +`\n \\[service\\]\\[google.cloud.scheduler.v1.AppEngineRouting.service\\]\n\n- `instance =`\n \\[instance\\]\\[google.cloud.scheduler.v1.AppEngineRouting.instance\\]\n\n- `instance_dot_service =`\n \\[instance\\]\\[google.cloud.scheduler.v1.AppEngineRouting.instance\\] `+ '.' +`\n \\[service\\]\\[google.cloud.scheduler.v1.AppEngineRouting.service\\]\n\n- `instance_dot_version =`\n \\[instance\\]\\[google.cloud.scheduler.v1.AppEngineRouting.instance\\] `+ '.' +`\n \\[version\\]\\[google.cloud.scheduler.v1.AppEngineRouting.version\\]\n\n- `instance_dot_version_dot_service =`\n \\[instance\\]\\[google.cloud.scheduler.v1.AppEngineRouting.instance\\] `+ '.' +`\n \\[version\\]\\[google.cloud.scheduler.v1.AppEngineRouting.version\\] `+ '.' +`\n \\[service\\]\\[google.cloud.scheduler.v1.AppEngineRouting.service\\]\n\nIf \\[service\\]\\[google.cloud.scheduler.v1.AppEngineRouting.service\\] is empty,\nthen the job will be sent to the service which is the default service when\nthe job is attempted.\n\nIf \\[version\\]\\[google.cloud.scheduler.v1.AppEngineRouting.version\\] is empty,\nthen the job will be sent to the version which is the default version when\nthe job is attempted.\n\nIf \\[instance\\]\\[google.cloud.scheduler.v1.AppEngineRouting.instance\\] is\nempty, then the job will be sent to an instance which is available when the\njob is attempted.\n\nIf \\[service\\]\\[google.cloud.scheduler.v1.AppEngineRouting.service\\],\n\\[version\\]\\[google.cloud.scheduler.v1.AppEngineRouting.version\\], or\n\\[instance\\]\\[google.cloud.scheduler.v1.AppEngineRouting.instance\\] is invalid,\nthen the job will be sent to the default version of the default service\nwhen the job is attempted.\n\n### Instance\n\n public string Instance { get; set; }\n\nApp instance.\n\nBy default, the job is sent to an instance which is available when\nthe job is attempted.\n\nRequests can only be sent to a specific instance if\n[manual scaling is used in App Engine\nStandard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?#scaling_types_and_instance_classes).\nApp Engine Flex does not support instances. For more information, see\n[App Engine Standard request\nrouting](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)\nand [App Engine Flex request\nrouting](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).\n\n### Service\n\n public string Service { get; set; }\n\nApp service.\n\nBy default, the job is sent to the service which is the default\nservice when the job is attempted.\n\n### Version\n\n public string Version { get; set; }\n\nApp version.\n\nBy default, the job is sent to the version which is the default\nversion when the job is attempted."]]