Google Cloud Dialogflow v2 API - Class ImportDocumentTemplate (4.6.0)

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

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

The template used for importing documents.

Inheritance

Object > ImportDocumentTemplate

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

ImportDocumentTemplate()

public ImportDocumentTemplate()

ImportDocumentTemplate(ImportDocumentTemplate)

public ImportDocumentTemplate(ImportDocumentTemplate other)
Parameter
NameDescription
otherImportDocumentTemplate

Properties

KnowledgeTypes

public RepeatedField<Document.Types.KnowledgeType> KnowledgeTypes { get; }

Required. The knowledge type of document content.

Property Value
TypeDescription
RepeatedField<Document.Types.KnowledgeType>

Metadata

public MapField<string, string> Metadata { get; }

Metadata for the document. The metadata supports arbitrary key-value pairs. Suggested use cases include storing a document's title, an external URL distinct from the document's content_uri, etc. The max size of a key or a value of the metadata is 1024 bytes.

Property Value
TypeDescription
MapField<String, String>

MimeType

public string MimeType { get; set; }

Required. The MIME type of the document.

Property Value
TypeDescription
String