Class DocumentChunk
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.
Implements
Inherited Members
Namespace: Google.Apis.DeveloperKnowledge.v1alpha.Data
Assembly: Google.Apis.DeveloperKnowledge.v1alpha.dll
Syntax
public class DocumentChunk : IDirectResponseSchema
Properties
Content
Output only. Contains the content of the document chunk.
Declaration
[JsonProperty("content")]
public virtual string Content { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Document
Output only. Represents metadata about the Document this chunk is from. The DocumentView of this Document
message will be set to DOCUMENT_VIEW_BASIC. It is included here for convenience so that clients do not
need to call DeveloperKnowledge.GetDocument or DeveloperKnowledge.BatchGetDocuments if they only need the
metadata fields. Otherwise, clients should use DeveloperKnowledge.GetDocument or
DeveloperKnowledge.BatchGetDocuments to fetch the full document content.
Declaration
[JsonProperty("document")]
public virtual Document Document { get; set; }
Property Value
| Type | Description |
|---|---|
| Document |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Parent
Output only. Contains the resource name of the document this chunk is from. Format:
documents/{uri_without_scheme} Example: documents/docs.cloud.google.com/storage/docs/creating-buckets
Declaration
[JsonProperty("parent")]
public virtual string Parent { get; set; }
Property Value
| Type | Description |
|---|---|
| string |