Updates a Corpus
.
HTTP request
PATCH https://generativelanguage.googleapis.com/v1beta/{corpus.name=corpora/*}
Path parameters
Parameters | |
---|---|
corpus.name |
Immutable. Identifier. The |
Query parameters
Parameters | |
---|---|
updateMask |
Required. The list of fields to update. Currently, this only supports updating This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of Corpus
.
Response body
If successful, the response body contains an instance of Corpus
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/generative-language.retriever
For more information, see the Authentication Overview.