class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageClassificationConfig
Config for image classification human labeling task.
Attributes
allow_multi_label[RW]
Optional. If allow_multi_label
is true, contributors are able to choose multiple labels for one image. Corresponds to the JSON property `allowMultiLabel` @return [Boolean]
allow_multi_label?[RW]
Optional. If allow_multi_label
is true, contributors are able to choose multiple labels for one image. Corresponds to the JSON property `allowMultiLabel` @return [Boolean]
annotation_spec_set[RW]
Required. Annotation spec set resource name. Corresponds to the JSON property `annotationSpecSet` @return [String]
answer_aggregation_type[RW]
Optional. The type of how to aggregate answers. Corresponds to the JSON property `answerAggregationType` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 2604 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 2609 def update!(**args) @allow_multi_label = args[:allow_multi_label] if args.key?(:allow_multi_label) @annotation_spec_set = args[:annotation_spec_set] if args.key?(:annotation_spec_set) @answer_aggregation_type = args[:answer_aggregation_type] if args.key?(:answer_aggregation_type) end