# Class CreateSearchHypernymRequest (0.5.1)

0.5.1 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.10

    CreateSearchHypernymRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for creating SearchHypernym.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `parent` | `str` Required. The parent resource where this SearchHypernym will be created. Format: `projects/{project_number}/locations/{location}/corpora/{corpus}` |
| `search_hypernym` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1.types.SearchHypernym` Required. The SearchHypernym to create. |
| `search_hypernym_id` | `str` Optional. The search hypernym id. If omitted, a random UUID will be generated. This field is a member of `oneof`_ `_search_hypernym_id`. |