Class: Google::Cloud::Dialogflow::V2::ImportDocumentTemplate
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::ImportDocumentTemplate
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/document.rb
Overview
The template used for importing documents.
Defined Under Namespace
Classes: MetadataEntry
Instance Attribute Summary collapse
-
#knowledge_types ⇒ ::Array<::Google::Cloud::Dialogflow::V2::Document::KnowledgeType>
Required.
-
#metadata ⇒ ::Google::Protobuf::Map{::String => ::String}
Metadata for the document.
-
#mime_type ⇒ ::String
Required.
Instance Attribute Details
#knowledge_types ⇒ ::Array<::Google::Cloud::Dialogflow::V2::Document::KnowledgeType>
Returns Required. The knowledge type of document content.
293 294 295 296 297 298 299 300 301 302 303 304 305 |
# File 'proto_docs/google/cloud/dialogflow/v2/document.rb', line 293 class ImportDocumentTemplate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class MetadataEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#metadata ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns 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.
293 294 295 296 297 298 299 300 301 302 303 304 305 |
# File 'proto_docs/google/cloud/dialogflow/v2/document.rb', line 293 class ImportDocumentTemplate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class MetadataEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#mime_type ⇒ ::String
Returns Required. The MIME type of the document.
293 294 295 296 297 298 299 300 301 302 303 304 305 |
# File 'proto_docs/google/cloud/dialogflow/v2/document.rb', line 293 class ImportDocumentTemplate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class MetadataEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |