Creates a SearchHypernym inside a corpus.
HTTP request
POST https://visionai.googleapis.com/v1/{parent=projects/*/locations/*/corpora/*}/searchHypernyms
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. The parent resource where this SearchHypernym will be created. projects/{project_number}/locations/{location}/corpora/{corpus} | 
Query parameters
| Parameters | |
|---|---|
| searchHypernymId | 
 Optional. The search hypernym id. If omitted, a random UUID will be generated. | 
Request body
The request body contains an instance of SearchHypernym.
Response body
If successful, the response body contains a newly created instance of SearchHypernym.
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.