Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1LabelConversationResponse

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

Overview

The response for ConversationDatasets.LabelConversation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1LabelConversationResponse

Returns a new instance of GoogleCloudDialogflowV2beta1LabelConversationResponse.



5348
5349
5350
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 5348

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

Instance Attribute Details

#annotated_conversation_datasetGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AnnotatedConversationDataset

Represents an annotated conversation dataset. ConversationDataset can have multiple AnnotatedConversationDataset, each of them represents one result from one annotation task. AnnotatedConversationDataset can only be generated from annotation task, which will be triggered by LabelConversation. Corresponds to the JSON property annotatedConversationDataset



5346
5347
5348
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 5346

def annotated_conversation_dataset
  @annotated_conversation_dataset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5353
5354
5355
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 5353

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