Class: Google::Cloud::Dialogflow::V2::ImportDocumentTemplate

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#knowledge_types::Array<::Google::Cloud::Dialogflow::V2::Document::KnowledgeType>

Returns Required. The knowledge type of document content.

Returns:



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.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    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.

Returns:

  • (::String)

    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