# Google Cloud Vision Ai V1 Client - Class DeleteSearchHypernymRequest (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 DeleteSearchHypernymRequest.

Request message for deleting SearchHypernym.

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

## Namespace

Google \\ Cloud \\ VisionAI \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The name of the SearchHypernym to delete. Format: `projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}` |

### getName

Required. The name of the SearchHypernym to delete.

Format:
`projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}`

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

### setName

Required. The name of the SearchHypernym to delete.

Format:
`projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}`

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the SearchHypernym to delete. Format: `projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}` Please see WarehouseClient::searchHypernymName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.DeleteSearchHypernymRequest` |   |