Updates: Check the release notes for new features and product updates.

REST Resource: brands.agents.dialogflowAssociation.knowledgebases.documents

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 (OperationInfo)
  },

  // Union field content can be only one of the following:
  "faqUrl": string,
  "rawContent": string
  // End of list of possible types for union field content.
}
Fields
name

string

Output only. Document ID.

Unique identifier returned by Dialogflow service, after creation of a document Format - projects/{project}/dialogflowAssociation/knowledgebases/{knowledgebase}/documents/{document}

displayName

string

Required. Display name of a FAQ document.

updateTime

string (Timestamp format)

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: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

operationInfo

object (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

string

URL of a FAQ document.

rawContent

string (bytes format)

The raw content of the document.

A base64-encoded string.

Methods

create

Creates a document in a Dialogflow project knowledge base.

delete

Deletes a document in a Dialogflow project knowledge base.