Resource: Document
A knowledge base document. A document can be either a website URL or a URL to a CSV file. URLs must be publicly available. CSV files must contain one or more question/answer pairs, with one row for each pair.
JSON representation |
---|
{ "name": string, "displayName": string, "updateTime": string, "operationInfo": { object ( |
Fields | |
---|---|
name |
Output only. Document ID. Unique identifier returned by Dialogflow service, after creation of a document Format - projects/{project}/dialogflowAssociation/knowledgebases/{knowledgebase}/documents/{document} |
displayName |
Required. Display name of a FAQ document. |
updateTime |
Output only. Time at which the document was created/updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
operationInfo |
Output only. Operation Information is populated only when a document is added to an existing knowledge base. |
Union field content . Content of the document. content can be only one of the following: |
|
faqUrl |
URL of a FAQ document. |
rawContent |
The raw content of the document. A base64-encoded string. |
Methods |
|
---|---|
(deprecated) |
Creates a document in a Dialogflow project knowledge base. |
(deprecated) |
Deletes a document in a Dialogflow project knowledge base. |