Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class CreateDocumentRequest.
Request message for Documents.CreateDocument .
Generated from protobuf message google.cloud.dialogflow.v2.CreateDocumentRequest
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The knowledge base to create a document for. Format: projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>
.
↳ document
getParent
Required. The knowledge base to create a document for.
Format: projects/<Project ID>/locations/<Location
ID>/knowledgeBases/<Knowledge Base ID>
.
string
setParent
Required. The knowledge base to create a document for.
Format: projects/<Project ID>/locations/<Location
ID>/knowledgeBases/<Knowledge Base ID>
.
var
string
$this
getDocument
Required. The document to create.
hasDocument
clearDocument
setDocument
Required. The document to create.
$this
static::build
parent
string
Required. The knowledge base to create a document for.
Format: projects/<Project ID>/locations/<Location
ID>/knowledgeBases/<Knowledge Base ID>
. Please see Google\Cloud\Dialogflow\V2\DocumentsClient::knowledgeBaseName()
for help formatting this field.
document