Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ImportDocumentsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ImportDocumentsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Overview
Request message for Documents.ImportDocuments.
Instance Attribute Summary collapse
-
#document_template ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ImportDocumentTemplate
The template used for importing documents.
-
#gcs_source ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GcsSources
Google Cloud Storage locations for the inputs.
-
#import_gcs_custom_metadata ⇒ Boolean
(also: #import_gcs_custom_metadata?)
Whether to import custom metadata from Google Cloud Storage.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ImportDocumentsRequest
constructor
A new instance of GoogleCloudDialogflowV2beta1ImportDocumentsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ImportDocumentsRequest
Returns a new instance of GoogleCloudDialogflowV2beta1ImportDocumentsRequest.
14749 14750 14751 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14749 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document_template ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ImportDocumentTemplate
The template used for importing documents.
Corresponds to the JSON property documentTemplate
14735 14736 14737 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14735 def document_template @document_template end |
#gcs_source ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GcsSources
Google Cloud Storage locations for the inputs.
Corresponds to the JSON property gcsSource
14740 14741 14742 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14740 def gcs_source @gcs_source end |
#import_gcs_custom_metadata ⇒ Boolean Also known as: import_gcs_custom_metadata?
Whether to import custom metadata from Google Cloud Storage. Only valid when
the document source is Google Cloud Storage URI.
Corresponds to the JSON property importGcsCustomMetadata
14746 14747 14748 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14746 def @import_gcs_custom_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14754 14755 14756 14757 14758 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14754 def update!(**args) @document_template = args[:document_template] if args.key?(:document_template) @gcs_source = args[:gcs_source] if args.key?(:gcs_source) @import_gcs_custom_metadata = args[:import_gcs_custom_metadata] if args.key?(:import_gcs_custom_metadata) end |