# Google Cloud Data Catalog V1 Client - Class VertexModelSpec (2.4.2)

2.4.2 (latest) 2.4.1 2.3.2 2.2.4 2.1.0 2.0.2 1.10.3 1.9.1 1.8.2 1.7.1 1.6.0 1.5.1 1.4.2 1.3.9 Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class VertexModelSpec.

Specification for vertex model resources.

Generated from protobuf message `google.cloud.datacatalog.v1.VertexModelSpec`

## Namespace

Google \\ Cloud \\ DataCatalog \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ version_id` | `string` The version ID of the model. |
| `↳ version_aliases` | `string[]` User provided version aliases so that a model version can be referenced via alias |
| `↳ version_description` | `string` The description of this version. |
| `↳ vertex_model_source_info` | `https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.VertexModelSourceInfo` Source of a Vertex model. |
| `↳ container_image_uri` | `string` URI of the Docker image to be used as the custom container for serving predictions. |

### getVersionId

The version ID of the model.

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

### setVersionId

The version ID of the model.

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

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

### getVersionAliases

User provided version aliases so that a model version can be referenced via
alias

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setVersionAliases

User provided version aliases so that a model version can be referenced via
alias

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

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

### getVersionDescription

The description of this version.

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

### setVersionDescription

The description of this version.

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

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

### getVertexModelSourceInfo

Source of a Vertex model.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.VertexModelSourceInfo|null` |   |

### hasVertexModelSourceInfo

### clearVertexModelSourceInfo

### setVertexModelSourceInfo

Source of a Vertex model.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.VertexModelSourceInfo` |

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

### getContainerImageUri

URI of the Docker image to be used as the custom container for serving
predictions.

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

### setContainerImageUri

URI of the Docker image to be used as the custom container for serving
predictions.

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

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