Google Cloud Dialogflow v2 API - Class ImportDocumentTemplate (4.24.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
Name Description
other ImportDocumentTemplate

Properties

KnowledgeTypes

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

Required. The knowledge type of document content.

Property Value
Type Description
RepeatedFieldDocumentTypesKnowledgeType

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
MapFieldstringstring

MimeType

public string MimeType { get; set; }

Required. The MIME type of the document.

Property Value
Type Description
string