Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ImportConversationDataOperationResponse

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

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.



6937
6938
6939
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6937

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)


6930
6931
6932
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6930

def conversation_dataset
  @conversation_dataset
end

#import_countFixnum

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

Returns:

  • (Fixnum)


6935
6936
6937
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6935

def import_count
  @import_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6942
6943
6944
6945
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6942

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