Google Cloud Dialogflow v2 API - Class ImportDocumentsRequest (4.3.0)

public sealed class ImportDocumentsRequest : IMessage<ImportDocumentsRequest>, IEquatable<ImportDocumentsRequest>, IDeepCloneable<ImportDocumentsRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class ImportDocumentsRequest.

Request message for [Documents.ImportDocuments][google.cloud.dialogflow.v2.Documents.ImportDocuments].

Inheritance

Object > ImportDocumentsRequest

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

ImportDocumentsRequest()

public ImportDocumentsRequest()

ImportDocumentsRequest(ImportDocumentsRequest)

public ImportDocumentsRequest(ImportDocumentsRequest other)
Parameter
NameDescription
otherImportDocumentsRequest

Properties

DocumentTemplate

public ImportDocumentTemplate DocumentTemplate { get; set; }

Required. Document template used for importing all the documents.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

ParentAsKnowledgeBaseName

public KnowledgeBaseName ParentAsKnowledgeBaseName { get; set; }

KnowledgeBaseName-typed view over the Parent resource name property.

Property Value
TypeDescription
KnowledgeBaseName

SourceCase

public ImportDocumentsRequest.SourceOneofCase SourceCase { get; }
Property Value
TypeDescription
ImportDocumentsRequest.SourceOneofCase