Specifies the size and overlap of chunks for RagFiles.
Fields `chunkSize
(deprecated)` `integer`

> [!WARNING]
> This item is deprecated!

The size of the chunks.
`chunkOverlap
(deprecated)` `integer`

> [!WARNING]
> This item is deprecated!

The overlap between chunks.
`chunking_config` `Union type` Specifies the chunking config for RagFiles. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: `fixedLengthChunking` ``object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/RagFileChunkingConfig#FixedLengthChunking`)`` Specifies the fixed length chunking config.
End of mutually exclusive fields.

| JSON representation |
|---|
| ``` { "chunkSize": integer, "chunkOverlap": integer, // chunking_config "fixedLengthChunking": { object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/RagFileChunkingConfig#FixedLengthChunking`) } // Union type } ``` |

## FixedLengthChunking

Specifies the fixed length chunking config.
Fields `chunkSize` `integer` The size of the chunks.
`chunkOverlap` `integer` The overlap between chunks.

| JSON representation |
|---|
| ``` { "chunkSize": integer, "chunkOverlap": integer } ``` |