# Cloud Optimization v1 API - Class BatchOptimizeToursRequest.Types.AsyncModelConfig (2.7.0)

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

- [2.7.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/latest/Google.Cloud.Optimization.V1.BatchOptimizeToursRequest.Types.AsyncModelConfig)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/2.6.0/Google.Cloud.Optimization.V1.BatchOptimizeToursRequest.Types.AsyncModelConfig)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/2.5.0/Google.Cloud.Optimization.V1.BatchOptimizeToursRequest.Types.AsyncModelConfig)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/2.4.0/Google.Cloud.Optimization.V1.BatchOptimizeToursRequest.Types.AsyncModelConfig)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/2.3.0/Google.Cloud.Optimization.V1.BatchOptimizeToursRequest.Types.AsyncModelConfig)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/2.2.0/Google.Cloud.Optimization.V1.BatchOptimizeToursRequest.Types.AsyncModelConfig)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/2.1.0/Google.Cloud.Optimization.V1.BatchOptimizeToursRequest.Types.AsyncModelConfig)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/2.0.0/Google.Cloud.Optimization.V1.BatchOptimizeToursRequest.Types.AsyncModelConfig)
- [1.0.0-beta01](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/1.0.0-beta01/Google.Cloud.Optimization.V1.BatchOptimizeToursRequest.Types.AsyncModelConfig)

    public sealed class BatchOptimizeToursRequest.Types.AsyncModelConfig : IMessage<BatchOptimizeToursRequest.Types.AsyncModelConfig>, IEquatable<BatchOptimizeToursRequest.Types.AsyncModelConfig>, IDeepCloneable<BatchOptimizeToursRequest.Types.AsyncModelConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Optimization v1 API class BatchOptimizeToursRequest.Types.AsyncModelConfig.

Information for solving one optimization model asynchronously.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Optimization.V1.dll

## Constructors

### AsyncModelConfig()

    public AsyncModelConfig()

### AsyncModelConfig(AsyncModelConfig)

    public AsyncModelConfig(BatchOptimizeToursRequest.Types.AsyncModelConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/latest/Google.Cloud.Optimization.V1.BatchOptimizeToursRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/latest/Google.Cloud.Optimization.V1.BatchOptimizeToursRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/latest/Google.Cloud.Optimization.V1.BatchOptimizeToursRequest.Types.AsyncModelConfig` |

## Properties

### DisplayName

    public string DisplayName { get; set; }

User defined model name, can be used as alias by users to keep track of
models.

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

### EnableCheckpoints

    public bool EnableCheckpoints { get; set; }

If this is set, the model will be solved in the checkpoint mode. In this
mode, the input model can have a deadline longer than 30 mins without the
risk of interruption. The model will be solved in multiple short-running
stages. Each stage generates an intermediate checkpoint
and stores it in the user's Cloud Storage buckets. The checkpoint
mode should be preferred over
allow_large_deadline_despite_interruption_risk since it prevents the risk
of interruption.

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

### InputConfig

    public InputConfig InputConfig { get; set; }

Required. Information about the input model.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/latest/Google.Cloud.Optimization.V1.InputConfig` |   |

### OutputConfig

    public OutputConfig OutputConfig { get; set; }

Required. The desired output location information.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Optimization.V1/latest/Google.Cloud.Optimization.V1.OutputConfig` |   |