Updates a Document
.
HTTP request
PATCH https://generativelanguage.googleapis.com/v1beta/{document.name=corpora/*/documents/*}
Path parameters
Parameters | |
---|---|
document.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 Document
.
Response body
If successful, the response body contains an instance of Document
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/generative-language.retriever
For more information, see the Authentication Overview.