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
Instance Attribute Summary collapse
-
#document_template ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ImportDocumentTemplate
Corresponds to the JSON property
documentTemplate. -
#gcs_source ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GcsSources
Corresponds to the JSON property
gcsSource. -
#import_gcs_custom_metadata ⇒ Boolean
(also: #import_gcs_custom_metadata?)
Corresponds to the JSON property
importGcsCustomMetadata.
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.
11538 11539 11540 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11538 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document_template ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ImportDocumentTemplate
Corresponds to the JSON property documentTemplate
11525 11526 11527 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11525 def document_template @document_template end |
#gcs_source ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GcsSources
Corresponds to the JSON property gcsSource
11530 11531 11532 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11530 def gcs_source @gcs_source end |
#import_gcs_custom_metadata ⇒ Boolean Also known as: import_gcs_custom_metadata?
Corresponds to the JSON property importGcsCustomMetadata
11535 11536 11537 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11535 def @import_gcs_custom_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11543 11544 11545 11546 11547 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11543 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 |