Method: projects.locations.corpora.searchHypernyms.patch

Updates a SearchHypernym inside a corpus.

HTTP request

PATCH https://visionai.googleapis.com/v1alpha1/{searchHypernym.name=projects/*/locations/*/corpora/*/searchHypernyms/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
searchHypernym.name

string

Resource name of the SearchHypernym. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{searchHypernym}

Query parameters

Parameters
updateMask

string (FieldMask format)

The list of fields to be updated. If left unset, all field paths will be updated/overwritten.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of SearchHypernym.

Response body

If successful, the response body contains an instance of SearchHypernym.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.