Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ImportDocumentsRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ImportDocumentsRequest

Returns a new instance of GoogleCloudDialogflowV2beta1ImportDocumentsRequest.



15208
15209
15210
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15208

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

Instance Attribute Details

#document_templateGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ImportDocumentTemplate

Corresponds to the JSON property documentTemplate



15195
15196
15197
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15195

def document_template
  @document_template
end

#gcs_sourceGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GcsSources

Corresponds to the JSON property gcsSource



15200
15201
15202
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15200

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)


15205
15206
15207
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15205

def 
  @import_gcs_custom_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15213
15214
15215
15216
15217
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15213

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