Class Document (1.1.3)

A knowledge document to be used by a KnowledgeBase. For more information, see the knowledge base guide <https://cloud.google.com/dialogflow/docs/how/knowledge-bases>__. Note: The projects.agent.knowledgeBases.documents resource is deprecated; only use projects.knowledgeBases.documents.

Required. The display name of the document. The name must be 1024 bytes or less; otherwise, the creation request fails.

Required. The knowledge type of document content.

The URI where the file content is located. For documents stored in Google Cloud Storage, these URIs must have the form gs://<bucket-name>/<object-name>. NOTE: External URLs must correspond to public webpages, i.e., they must be indexed by Google Search. In particular, URLs for showing documents in Google Cloud Storage (i.e. the URL in your browser) are not supported. Instead use the gs:// format URI described above.

The raw content of the document. This field is only permitted for EXTRACTIVE_QA and FAQ knowledge types.

Output only. The time and status of the latest reload. This reload may have been triggered automatically or manually and may not have succeeded.

Classes

ReloadStatus

The status of a reload attempt.

Output only. The status of a reload attempt or the initial load.