Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ImportDocumentsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ImportDocumentsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Overview
Request message for Documents.ImportDocuments.
Instance Attribute Summary collapse
-
#document_template ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ImportDocumentTemplate
The template used for importing documents.
-
#gcs_source ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GcsSources
Google Cloud Storage location 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) ⇒ GoogleCloudDialogflowV2ImportDocumentsRequest
constructor
A new instance of GoogleCloudDialogflowV2ImportDocumentsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ImportDocumentsRequest
Returns a new instance of GoogleCloudDialogflowV2ImportDocumentsRequest.
9189 9190 9191 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9189 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document_template ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ImportDocumentTemplate
The template used for importing documents.
Corresponds to the JSON property documentTemplate
9175 9176 9177 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9175 def document_template @document_template end |
#gcs_source ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GcsSources
Google Cloud Storage location for the inputs.
Corresponds to the JSON property gcsSource
9180 9181 9182 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9180 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
9186 9187 9188 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9186 def @import_gcs_custom_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9194 9195 9196 9197 9198 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9194 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 |