# Google Cloud Financial Services V1 Client - Class EngineVersion (0.2.4)

0.2.4 (latest) 0.2.3 0.1.1 Reference documentation and code samples for the Google Cloud Financial Services V1 Client class EngineVersion.

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

Generated from protobuf message `google.cloud.financialservices.v1.EngineVersion`

## Namespace

Google \\ Cloud \\ FinancialServices \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Output only. Identifier. The resource name of the EngineVersion format: `/projects/{project_num}/locations/{location}/instances/{instance}/engineVersions/{engine_version}` |
| `↳ state` | `int` Output only. The state of the version. |
| `↳ expected_limitation_start_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Planned time to stop allowing training/tuning using this version. Existing trained models can still be used for prediction/backtest. |
| `↳ expected_decommission_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` 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. |
| `↳ line_of_business` | `int` Output only. The line of business (Retail/Commercial) this engine version is used for. |

### getName

Output only. Identifier. The resource name of the EngineVersion
format:
`/projects/{project_num}/locations/{location}/instances/{instance}/engineVersions/{engine_version}`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Output only. Identifier. The resource name of the EngineVersion
format:
`/projects/{project_num}/locations/{location}/instances/{instance}/engineVersions/{engine_version}`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getState

Output only. The state of the version.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-financialservices/latest/V1.EngineVersion.State). |

### setState

Output only. The state of the version.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-financialservices/latest/V1.EngineVersion.State). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getExpectedLimitationStartTime

Output only. Planned time to stop allowing training/tuning using this
version. Existing trained models can still be used for prediction/backtest.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasExpectedLimitationStartTime

### clearExpectedLimitationStartTime

### setExpectedLimitationStartTime

Output only. Planned time to stop allowing training/tuning using this
version. Existing trained models can still be used for prediction/backtest.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getExpectedDecommissionTime

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasExpectedDecommissionTime

### clearExpectedDecommissionTime

### setExpectedDecommissionTime

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getLineOfBusiness

Output only. The line of business (Retail/Commercial) this engine version
is used for.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [LineOfBusiness](https://docs.cloud.google.com/php/docs/reference/cloud-financialservices/latest/V1.LineOfBusiness). |

### setLineOfBusiness

Output only. The line of business (Retail/Commercial) this engine version
is used for.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [LineOfBusiness](https://docs.cloud.google.com/php/docs/reference/cloud-financialservices/latest/V1.LineOfBusiness). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |