# REST Resource: projects.locations.instances.engineVersions

- [Resource: EngineVersion](https://docs.cloud.google.com/financial-services/anti-money-laundering/docs/reference/rest/v1/projects.locations.instances.engineVersions#EngineVersion)
  - [JSON representation](https://docs.cloud.google.com/financial-services/anti-money-laundering/docs/reference/rest/v1/projects.locations.instances.engineVersions#EngineVersion.SCHEMA_REPRESENTATION)
- [State](https://docs.cloud.google.com/financial-services/anti-money-laundering/docs/reference/rest/v1/projects.locations.instances.engineVersions#State)
- [Methods](https://docs.cloud.google.com/financial-services/anti-money-laundering/docs/reference/rest/v1/projects.locations.instances.engineVersions#METHODS_SUMMARY)

## Resource: EngineVersion

EngineVersion controls which version of the engine is used to tune, train, and run the model.

| JSON representation |
|---|
| ``` { "name": string, "state": enum (`https://docs.cloud.google.com/financial-services/anti-money-laundering/docs/reference/rest/v1/projects.locations.instances.engineVersions#State`), "expectedLimitationStartTime": string, "expectedDecommissionTime": string, "lineOfBusiness": enum (`https://docs.cloud.google.com/financial-services/anti-money-laundering/docs/reference/rest/v1/LineOfBusiness`) } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. Identifier. The resource name of the EngineVersion format: `/projects/{project_num}/locations/{location}/instances/{instance}/engineVersions/{engineVersion}` |
| `state` | ``enum (`https://docs.cloud.google.com/financial-services/anti-money-laundering/docs/reference/rest/v1/projects.locations.instances.engineVersions#State`)`` Output only. The state of the version. |
| `expectedLimitationStartTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Planned time to stop allowing training/tuning using this version. Existing trained models can still be used for prediction/backtest. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `expectedDecommissionTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Planned time to stop supporting the version, in addition to no training or tuning, models trained on this version can no longer be used for prediction/backtest. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `lineOfBusiness` | ``enum (`https://docs.cloud.google.com/financial-services/anti-money-laundering/docs/reference/rest/v1/LineOfBusiness`)`` Output only. The line of business (Retail/Commercial) this engine version is used for. |

## State

State determines the lifecycle of a version and the models/engine configs trained with it.

| Enums ||
|---|---|
| `STATE_UNSPECIFIED` | Default state, should never be used. |
| `ACTIVE` | Version is available for training and inference. |
| `LIMITED` | Models using this version can still be run, but new ones cannot be trained. |
| `DECOMMISSIONED` | Version is deprecated, listed for informational purposes only. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/financial-services/anti-money-laundering/docs/reference/rest/v1/projects.locations.instances.engineVersions/get` | Gets a single EngineVersion. |
| ### `https://docs.cloud.google.com/financial-services/anti-money-laundering/docs/reference/rest/v1/projects.locations.instances.engineVersions/list` | Lists EngineVersions for given location. |