Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ImportDocumentsRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ImportDocumentsRequest

Returns a new instance of GoogleCloudDialogflowV2ImportDocumentsRequest.



11557
11558
11559
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11557

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#document_templateGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2ImportDocumentTemplate

Corresponds to the JSON property documentTemplate



11544
11545
11546
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11544

def document_template
  @document_template
end

#gcs_sourceGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2GcsSources

Corresponds to the JSON property gcsSource



11549
11550
11551
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11549

def gcs_source
  @gcs_source
end

#import_gcs_custom_metadataBoolean Also known as: import_gcs_custom_metadata?

Corresponds to the JSON property importGcsCustomMetadata

Returns:

  • (Boolean)


11554
11555
11556
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11554

def 
  @import_gcs_custom_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11562
11563
11564
11565
11566
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11562

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