class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig

Annotation spec set with the setting of allowing multi labels or not.

Attributes

allow_multi_label[RW]

Optional. If allow_multi_label is true, contributors are able to choose multiple labels from one annotation spec set. 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 from one annotation spec set. 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]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 1072
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 1077
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)
end