public sealed class ImportDocumentTemplate : IMessage<ImportDocumentTemplate>, IEquatable<ImportDocumentTemplate>, IDeepCloneable<ImportDocumentTemplate>, IBufferMessage, IMessage
The template used for importing documents.
Inheritance
System.Object > ImportDocumentTemplateImplements
IMessage<ImportDocumentTemplate>, IEquatable<ImportDocumentTemplate>, IDeepCloneable<ImportDocumentTemplate>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
ImportDocumentTemplate()
public ImportDocumentTemplate()
ImportDocumentTemplate(ImportDocumentTemplate)
public ImportDocumentTemplate(ImportDocumentTemplate other)
Parameter | |
---|---|
Name | Description |
other | ImportDocumentTemplate |
Properties
KnowledgeTypes
public RepeatedField<Document.Types.KnowledgeType> KnowledgeTypes { get; }
Required. The knowledge type of document content.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
MapField<String, String> |
MimeType
public string MimeType { get; set; }
Required. The MIME type of the document.
Property Value | |
---|---|
Type | Description |
String |