Required. The name of the document to export. Format: projects/<Project ID>/locations/<Location
ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>.
Authorization requires the following IAM permission on the specified resource name:
dialogflow.documents.get
Request body
The request body contains data with the following structure:
JSON representation
{"exportFullContent": boolean,"smartMessagingPartialUpdate": boolean,// Union field destination can be only one of the following:"gcsDestination": {object (GcsDestination)}// End of list of possible types for union field destination.}
Fields
exportFullContent
boolean
When enabled, export the full content of the document including empirical probability.
smartMessagingPartialUpdate
boolean
When enabled, export the smart messaging allowlist document for partial update.
Union field destination. Required. The destination for the export. destination can be only one of the following:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[[["\u003cp\u003eThis document details the process of exporting a smart messaging candidate document to a specified destination via a long-running operation.\u003c/p\u003e\n"],["\u003cp\u003eThe export is initiated using an HTTP POST request to a specified endpoint, with the document's ___location defined in the \u003ccode\u003ename\u003c/code\u003e path parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe request body allows for customization, including the export of full content with empirical probability and partial updates using the smart messaging allowlist, all with a Cloud Storage file path target.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires the document \u003ccode\u003ename\u003c/code\u003e parameter as well as one of two authorization scopes, cloud-platform or dialogflow.\u003c/p\u003e\n"],["\u003cp\u003eThe process outputs an operation type with metadata, and a document response.\u003c/p\u003e\n"]]],[],null,[]]