Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::ImportDocumentsRequest.
Request message for Documents.ImportDocuments.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#document_template
def document_template() -> ::Google::Cloud::Dialogflow::V2::ImportDocumentTemplate
- (::Google::Cloud::Dialogflow::V2::ImportDocumentTemplate) — Required. Document template used for importing all the documents.
#document_template=
def document_template=(value) -> ::Google::Cloud::Dialogflow::V2::ImportDocumentTemplate
- value (::Google::Cloud::Dialogflow::V2::ImportDocumentTemplate) — Required. Document template used for importing all the documents.
- (::Google::Cloud::Dialogflow::V2::ImportDocumentTemplate) — Required. Document template used for importing all the documents.
#gcs_source
def gcs_source() -> ::Google::Cloud::Dialogflow::V2::GcsSources
-
(::Google::Cloud::Dialogflow::V2::GcsSources) — 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>
.
#gcs_source=
def gcs_source=(value) -> ::Google::Cloud::Dialogflow::V2::GcsSources
-
value (::Google::Cloud::Dialogflow::V2::GcsSources) — 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>
.
-
(::Google::Cloud::Dialogflow::V2::GcsSources) — 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>
.
#import_gcs_custom_metadata
def import_gcs_custom_metadata() -> ::Boolean
- (::Boolean) — Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.
#import_gcs_custom_metadata=
def import_gcs_custom_metadata=(value) -> ::Boolean
- value (::Boolean) — Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.
- (::Boolean) — Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.
#parent
def parent() -> ::String
-
(::String) — Required. The knowledge base to import documents into.
Format:
projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>
.
#parent=
def parent=(value) -> ::String
-
value (::String) — Required. The knowledge base to import documents into.
Format:
projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>
.
-
(::String) — Required. The knowledge base to import documents into.
Format:
projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>
.