0.6.0 (latest) 0.5.0 0.4.4 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Ces V1 Client class Engine.

An engine to which the data stores are connected.

See Vertex AI Search:
<https://cloud.google.com/generative-ai-app-builder/docs/enterprise-search-introduction>.

Generated from protobuf message `google.cloud.ces.v1.DataStoreSettings.Engine`

## Namespace

Google \\ Cloud \\ Ces \\ V1 \\ DataStoreSettings

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Output only. The resource name of the engine. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` |
| `↳ type` | `int` Output only. The type of the engine. |

### getName

Output only. The resource name of the engine.

Format:
`projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`

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

### setName

Output only. The resource name of the engine.

Format:
`projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`

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

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

### getType

Output only. The type of the engine.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Type](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.DataStoreSettings.Engine.Type.md.txt). |

### setType

Output only. The type of the engine.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Type](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.DataStoreSettings.Engine.Type.md.txt). |

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