Batch update Chunk
s.
HTTP request
POST https://generativelanguage.googleapis.com/v1beta/{parent=corpora/*/documents/*}/chunks:batchUpdate
Path parameters
Parameters | |
---|---|
parent |
Optional. The name of the |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"requests": [
{
object ( |
Fields | |
---|---|
requests[] |
Required. The request messages specifying the |
Response body
Response from chunks.batchUpdate
containing a list of updated Chunk
s.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"chunks": [
{
object ( |
Fields | |
---|---|
chunks[] |
|
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/generative-language.retriever
For more information, see the Authentication Overview.
UpdateChunkRequest
Request to update a Chunk
.
JSON representation |
---|
{
"chunk": {
object ( |
Fields | |
---|---|
chunk |
Required. The |
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: |