# Google Cloud Scheduler v1 API - Class AppEngineRouting (3.6.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [3.6.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Scheduler.V1/latest/Google.Cloud.Scheduler.V1.AppEngineRouting)
- [3.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Scheduler.V1/3.5.0/Google.Cloud.Scheduler.V1.AppEngineRouting)
- [3.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Scheduler.V1/3.4.0/Google.Cloud.Scheduler.V1.AppEngineRouting)
- [3.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Scheduler.V1/3.3.0/Google.Cloud.Scheduler.V1.AppEngineRouting)
- [3.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Scheduler.V1/3.2.0/Google.Cloud.Scheduler.V1.AppEngineRouting)
- [3.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Scheduler.V1/3.1.0/Google.Cloud.Scheduler.V1.AppEngineRouting)
- [3.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Scheduler.V1/3.0.0/Google.Cloud.Scheduler.V1.AppEngineRouting)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Scheduler.V1/2.3.0/Google.Cloud.Scheduler.V1.AppEngineRouting)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Scheduler.V1/2.2.0/Google.Cloud.Scheduler.V1.AppEngineRouting)

    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.

App Engine Routing.

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

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> AppEngineRouting

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AppEngineRouting](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Scheduler.V1/latest/Google.Cloud.Scheduler.V1.AppEngineRouting), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AppEngineRouting](https://docs.cloud.google.com/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](https://docs.cloud.google.com/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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Scheduler.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Scheduler.V1/latest/Google.Cloud.Scheduler.V1)

## Assembly

Google.Cloud.Scheduler.V1.dll

## Constructors

### AppEngineRouting()

    public AppEngineRouting()

### AppEngineRouting(AppEngineRouting)

    public AppEngineRouting(AppEngineRouting other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Scheduler.V1/latest/Google.Cloud.Scheduler.V1.AppEngineRouting` |

## Properties

### Host

    public string Host { get; set; }

Output only. The host that the job is sent to.

For more information about how App Engine requests are routed, see
[here](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed).

The host is constructed as:

- `host = [application_domain_name]`\</br\>
  `| [service] + '.' + [application_domain_name]`\</br\>
  `| [version] + '.' + [application_domain_name]`\</br\>
  `| [version_dot_service]+ '.' + [application_domain_name]`\</br\>
  `| [instance] + '.' + [application_domain_name]`\</br\>
  `| [instance_dot_service] + '.' + [application_domain_name]`\</br\>
  `| [instance_dot_version] + '.' + [application_domain_name]`\</br\>
  `| [instance_dot_version_dot_service] + '.' + [application_domain_name]`

- `application_domain_name` = The domain name of the app, for
  example \<app-id\>.appspot.com, which is associated with the
  job's project ID.

- `service =` \[service\]\[google.cloud.scheduler.v1.AppEngineRouting.service\]

- `version =` \[version\]\[google.cloud.scheduler.v1.AppEngineRouting.version\]

- `version_dot_service =`
  \[version\]\[google.cloud.scheduler.v1.AppEngineRouting.version\] `+ '.' +`
  \[service\]\[google.cloud.scheduler.v1.AppEngineRouting.service\]

- `instance =`
  \[instance\]\[google.cloud.scheduler.v1.AppEngineRouting.instance\]

- `instance_dot_service =`
  \[instance\]\[google.cloud.scheduler.v1.AppEngineRouting.instance\] `+ '.' +`
  \[service\]\[google.cloud.scheduler.v1.AppEngineRouting.service\]

- `instance_dot_version =`
  \[instance\]\[google.cloud.scheduler.v1.AppEngineRouting.instance\] `+ '.' +`
  \[version\]\[google.cloud.scheduler.v1.AppEngineRouting.version\]

- `instance_dot_version_dot_service =`
  \[instance\]\[google.cloud.scheduler.v1.AppEngineRouting.instance\] `+ '.' +`
  \[version\]\[google.cloud.scheduler.v1.AppEngineRouting.version\] `+ '.' +`
  \[service\]\[google.cloud.scheduler.v1.AppEngineRouting.service\]

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Instance

    public string Instance { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Service

    public string Service { get; set; }

App service.

By default, the job is sent to the service which is the default
service when the job is attempted.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Version

    public string Version { get; set; }

App version.

By default, the job is sent to the version which is the default
version when the job is attempted.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |