Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ImportConversationDataOperationResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ImportConversationDataOperationResponse
- 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
-
#conversation_dataset ⇒ String
The resource name of the imported conversation dataset.
-
#import_count ⇒ Fixnum
Number of conversations imported successfully.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2ImportConversationDataOperationResponse
constructor
A new instance of GoogleCloudDialogflowV2ImportConversationDataOperationResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ImportConversationDataOperationResponse
Returns a new instance of GoogleCloudDialogflowV2ImportConversationDataOperationResponse.
8715 8716 8717 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8715 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation_dataset ⇒ String
The resource name of the imported conversation dataset. Format: projects//
locations//conversationDatasets/
Corresponds to the JSON property conversationDataset
8708 8709 8710 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8708 def conversation_dataset @conversation_dataset end |
#import_count ⇒ Fixnum
Number of conversations imported successfully.
Corresponds to the JSON property importCount
8713 8714 8715 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8713 def import_count @import_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8720 8721 8722 8723 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8720 def update!(**args) @conversation_dataset = args[:conversation_dataset] if args.key?(:conversation_dataset) @import_count = args[:import_count] if args.key?(:import_count) end |