- [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/EndUserSpec#SCHEMA_REPRESENTATION)
- [EndUserMetaData](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/EndUserSpec#EndUserMetaData)
  - [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/EndUserSpec#EndUserMetaData.SCHEMA_REPRESENTATION)
- [ChunkInfo](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/EndUserSpec#ChunkInfo)
  - [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/EndUserSpec#ChunkInfo.SCHEMA_REPRESENTATION)
- [DocumentMetadata](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/EndUserSpec#DocumentMetadata)
  - [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/EndUserSpec#DocumentMetadata.SCHEMA_REPRESENTATION)

End user specification.

| JSON representation |
|---|
| ``` { "endUserMetadata": [ { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/EndUserSpec#EndUserMetaData`) } ] } ``` |

| Fields ||
|---|---|
| `endUserMetadata[]` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/EndUserSpec#EndUserMetaData`)`` Optional. End user metadata. |

## EndUserMetaData

End user metadata.

| JSON representation |
|---|
| ``` { // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "chunkInfo": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/EndUserSpec#ChunkInfo`) } // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| Search result content. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `chunkInfo` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/EndUserSpec#ChunkInfo`)`` Chunk information. |
| End of mutually exclusive fields. ||

## ChunkInfo

Chunk information.

| JSON representation |
|---|
| ``` { "content": string, "documentMetadata": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/EndUserSpec#DocumentMetadata`) } } ``` |

| Fields ||
|---|---|
| `content` | `string` Chunk textual content. It is limited to 8000 characters. |
| `documentMetadata` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/EndUserSpec#DocumentMetadata`)`` Metadata of the document from the current chunk. |

## DocumentMetadata

Document metadata contains the information of the document of the current chunk.

| JSON representation |
|---|
| ``` { "title": string } ``` |

| Fields ||
|---|---|
| `title` | `string` Title of the document. |