Class: Google::Cloud::Dialogflow::V2::ImportDocumentsRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/document.rb

Overview

Request message for Documents.ImportDocuments.

Instance Attribute Summary collapse

Instance Attribute Details

#document_template::Google::Cloud::Dialogflow::V2::ImportDocumentTemplate

Returns Required. Document template used for importing all the documents.

Returns:



275
276
277
278
# File 'proto_docs/google/cloud/dialogflow/v2/document.rb', line 275

class ImportDocumentsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#gcs_source::Google::Cloud::Dialogflow::V2::GcsSources

Returns Optional. The Google Cloud Storage location for the documents. The path can include a wildcard.

These URIs may have the forms gs://<bucket-name>/<object-name>. gs://<bucket-name>/<object-path>/*.<extension>.

Returns:

  • (::Google::Cloud::Dialogflow::V2::GcsSources)

    Optional. The Google Cloud Storage location for the documents. The path can include a wildcard.

    These URIs may have the forms gs://<bucket-name>/<object-name>. gs://<bucket-name>/<object-path>/*.<extension>.



275
276
277
278
# File 'proto_docs/google/cloud/dialogflow/v2/document.rb', line 275

class ImportDocumentsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#import_gcs_custom_metadata::Boolean

Returns Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.

Returns:

  • (::Boolean)

    Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.



275
276
277
278
# File 'proto_docs/google/cloud/dialogflow/v2/document.rb', line 275

class ImportDocumentsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns Required. The knowledge base to import documents into. Format: projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>.

Returns:

  • (::String)

    Required. The knowledge base to import documents into. Format: projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>.



275
276
277
278
# File 'proto_docs/google/cloud/dialogflow/v2/document.rb', line 275

class ImportDocumentsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end