public sealed class ImportDocumentsRequest : IMessage<ImportDocumentsRequest>, IEquatable<ImportDocumentsRequest>, IDeepCloneable<ImportDocumentsRequest>, IBufferMessage, IMessage
Request message for [Documents.ImportDocuments][google.cloud.dialogflow.v2.Documents.ImportDocuments].
Inheritance
System.Object > ImportDocumentsRequestImplements
IMessage<ImportDocumentsRequest>, IEquatable<ImportDocumentsRequest>, IDeepCloneable<ImportDocumentsRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
ImportDocumentsRequest()
public ImportDocumentsRequest()
ImportDocumentsRequest(ImportDocumentsRequest)
public ImportDocumentsRequest(ImportDocumentsRequest other)
Parameter | |
---|---|
Name | Description |
other | ImportDocumentsRequest |
Properties
DocumentTemplate
public ImportDocumentTemplate DocumentTemplate { get; set; }
Required. Document template used for importing all the documents.
Property Value | |
---|---|
Type | Description |
ImportDocumentTemplate |
GcsSource
public GcsSources GcsSource { get; set; }
The Google Cloud Storage location for the documents. The path can include a wildcard.
These URIs may have the forms
gs://{bucket-name}/{object-name}
.
gs://{bucket-name}/{object-path}/*.{extension}
.
Property Value | |
---|---|
Type | Description |
GcsSources |
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 |
Boolean |
Parent
public string Parent { get; set; }
Required. The knowledge base to import documents into.
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 |
SourceCase
public ImportDocumentsRequest.SourceOneofCase SourceCase { get; }
Property Value | |
---|---|
Type | Description |
ImportDocumentsRequest.SourceOneofCase |