public sealed class ImportDocumentsRequest : IMessage<ImportDocumentsRequest>, IEquatable<ImportDocumentsRequest>, IDeepCloneable<ImportDocumentsRequest>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class ImportDocumentsRequest.
Request message for [Documents.ImportDocuments][google.cloud.dialogflow.v2beta1.Documents.ImportDocuments].
Implements
IMessageImportDocumentsRequest, IEquatableImportDocumentsRequest, IDeepCloneableImportDocumentsRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.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; }Optional. 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 |
bool |
|
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 |
ImportDocumentsRequestSourceOneofCase |
|