Resource: Document
A Document
is a collection of Chunk
s. A Corpus
can have a maximum of 10,000 Document
s.
JSON representation |
---|
{
"name": string,
"displayName": string,
"customMetadata": [
{
object ( |
Fields | |
---|---|
name |
Immutable. Identifier. The |
displayName |
Optional. The human-readable display name for the |
customMetadata[] |
Optional. User provided custom metadata stored as key-value pairs used for querying. A |
updateTime |
Output only. The Timestamp of when the A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
createTime |
Output only. The Timestamp of when the A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Methods |
|
---|---|
|
Creates an empty Document . |
|
Deletes a Document . |
|
Gets information about a specific Document . |
|
Lists all Document s in a Corpus . |
|
Updates a Document . |
|
Performs semantic search over a Document . |