Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ImportConversationDataOperationResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb

Overview

Response used for ConversationDatasets.ImportConversationData long running operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ImportConversationDataOperationResponse

Returns a new instance of GoogleCloudDialogflowV2ImportConversationDataOperationResponse.



10641
10642
10643
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10641

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

Instance Attribute Details

#conversation_datasetString

The resource name of the imported conversation dataset. Format: projects// locations//conversationDatasets/ Corresponds to the JSON property conversationDataset

Returns:

  • (String)


10634
10635
10636
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10634

def conversation_dataset
  @conversation_dataset
end

#import_countFixnum

Number of conversations imported successfully. Corresponds to the JSON property importCount

Returns:

  • (Fixnum)


10639
10640
10641
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10639

def import_count
  @import_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10646
10647
10648
10649
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10646

def update!(**args)
  @conversation_dataset = args[:conversation_dataset] if args.key?(:conversation_dataset)
  @import_count = args[:import_count] if args.key?(:import_count)
end