A DocumentChunk represents a piece of content from a Document
in the DeveloperKnowledge corpus. To fetch the entire document content, pass the parent
to DeveloperKnowledge.GetDocument
or DeveloperKnowledge.BatchGetDocuments
.
| JSON representation |
|---|
{
"parent"
:
string
,
"id"
:
string
,
"content"
:
string
,
"document"
:
{
object (
|
| Fields | |
|---|---|
parent
|
Output only. Contains the resource name of the document this chunk is from. Format: |
id
|
Output only. Specifies the ID of this chunk within the document. The chunk ID is unique within a document, but not globally unique across documents. The chunk ID is not stable and may change over time. |
content
|
Output only. Contains the content of the document chunk. |
document
|
Output only. Represents metadata about the |

