public sealed class CreateDocumentRequest : IMessage<CreateDocumentRequest>, IEquatable<CreateDocumentRequest>, IDeepCloneable<CreateDocumentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class CreateDocumentRequest.
Request message for [Documents.CreateDocument][google.cloud.dialogflow.v2beta1.Documents.CreateDocument].
Implements
IMessageCreateDocumentRequest, IEquatableCreateDocumentRequest, IDeepCloneableCreateDocumentRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
CreateDocumentRequest()
public CreateDocumentRequest()
CreateDocumentRequest(CreateDocumentRequest)
public CreateDocumentRequest(CreateDocumentRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateDocumentRequest |
Properties
Document
public Document Document { get; set; }
Required. The document to create.
Property Value | |
---|---|
Type | Description |
Document |
ImportGcsCustomMetadata
public bool ImportGcsCustomMetadata { get; set; }
Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.
Property Value | |
---|---|
Type | Description |
bool |
Parent
public string Parent { get; set; }
Required. The knowledge base to create a document for.
Format: projects/<Project ID>/locations/<Location
ID>/knowledgeBases/<Knowledge Base ID>
.
Property Value | |
---|---|
Type | Description |
string |
ParentAsKnowledgeBaseName
public KnowledgeBaseName ParentAsKnowledgeBaseName { get; set; }
KnowledgeBaseName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
KnowledgeBaseName |