Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AnnotatedConversationDataset
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AnnotatedConversationDataset
- 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
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.
Instance Attribute Summary collapse
-
#completed_example_count ⇒ Fixnum
Output only.
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Required.
-
#example_count ⇒ Fixnum
Output only.
-
#name ⇒ String
Output only.
-
#question_type_name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AnnotatedConversationDataset
constructor
A new instance of GoogleCloudDialogflowV2beta1AnnotatedConversationDataset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AnnotatedConversationDataset
Returns a new instance of GoogleCloudDialogflowV2beta1AnnotatedConversationDataset.
2282 2283 2284 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 2282 def initialize(**args) update!(**args) end |
Instance Attribute Details
#completed_example_count ⇒ Fixnum
Output only. Number of examples that have annotations in the annotated
conversation dataset.
Corresponds to the JSON property completedExampleCount
2243 2244 2245 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 2243 def completed_example_count @completed_example_count end |
#create_time ⇒ String
Output only. Creation time of this annotated conversation dataset.
Corresponds to the JSON property createTime
2248 2249 2250 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 2248 def create_time @create_time end |
#description ⇒ String
Optional. The description of the annotated conversation dataset.
Maximum of 10000 bytes.
Corresponds to the JSON property description
2254 2255 2256 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 2254 def description @description end |
#display_name ⇒ String
Required. The display name of the annotated conversation dataset.
It's specified when user starts an annotation task. Maximum of 64 bytes.
Corresponds to the JSON property displayName
2260 2261 2262 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 2260 def display_name @display_name end |
#example_count ⇒ Fixnum
Output only. Number of examples in the annotated conversation dataset.
Corresponds to the JSON property exampleCount
2265 2266 2267 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 2265 def example_count @example_count end |
#name ⇒ String
Output only. AnnotatedConversationDataset resource name. Format:
projects/<Project ID>/conversationDatasets/<Conversation Dataset
ID>/annotatedConversationDatasets/<Annotated Conversation Dataset ID>
Corresponds to the JSON property name
2272 2273 2274 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 2272 def name @name end |
#question_type_name ⇒ String
Output only. Question type name that identifies a labeling task.
A question is a single task that a worker answers. A question type is set
of related questions. Each question belongs to a particular question type.
It can be used in CrowdCompute UI to filter and manage labeling tasks.
Corresponds to the JSON property questionTypeName
2280 2281 2282 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 2280 def question_type_name @question_type_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2287 2288 2289 2290 2291 2292 2293 2294 2295 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 2287 def update!(**args) @completed_example_count = args[:completed_example_count] if args.key?(:completed_example_count) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @example_count = args[:example_count] if args.key?(:example_count) @name = args[:name] if args.key?(:name) @question_type_name = args[:question_type_name] if args.key?(:question_type_name) end |