We will be winding down Google Business Messages on July 31, 2024. Read more
here.
Method: brands.agents.dialogflowAssociation.knowledgebases.documents.create
Stay organized with collections
Save and categorize content based on your preferences.
Creates a document in a Dialogflow project knowledge base. Creating a document may take 2-3 minutes.
To check the document status, get the agent data and check the document's operationInfo
.
HTTP request
POST https://businesscommunications.googleapis.com/v1/{parent=brands/*/agents/*/dialogflowAssociation/knowledgebases/*}/documents
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. The unique identifier of the knowledge base that document represents. If the brand identifier is "1234", the agent identifier is "5678" and knowledge base identifier is "002", this field resolves to "brands/1234/agents/5678/dialogflowAssociation/knowledgebases/002".
|
Request body
The request body contains an instance of Document
.
Response body
If successful, the response body contains a newly created instance of Document
.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-14 UTC."],[[["This deprecated feature creates a document within a Dialogflow project knowledge base, taking 2-3 minutes for completion."],["Check document status through the agent data's `operationInfo` field after making the request."],["Utilize the provided HTTP request structure, noting the mandatory `parent` parameter identifying the knowledge base."],["Refer to the linked `Document` resource for details about the request and response bodies."]]],[]]