# Google Cloud Vision Ai V1 Client - Class SearchCapability (0.3.0)

0.3.0 (latest) 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class SearchCapability.

The capability and metadata of search capability.

Generated from protobuf message `google.cloud.visionai.v1.SearchCapability`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ type` | `int` The search capability to enable. |

### getType

The search capability to enable.

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

### setType

The search capability to enable.

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

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