Google Cloud Datalabeling V1beta1 Client - Class AnnotationSpecSetConfig (0.1.14)

Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class AnnotationSpecSetConfig.

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

Generated from protobuf message google.cloud.datalabeling.v1beta1.VideoClassificationConfig.AnnotationSpecSetConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ annotation_spec_set string

Required. Annotation spec set resource name.

↳ allow_multi_label bool

Optional. If allow_multi_label is true, contributors are able to choose multiple labels from one annotation spec set.

getAnnotationSpecSet

Required. Annotation spec set resource name.

Returns
TypeDescription
string

setAnnotationSpecSet

Required. Annotation spec set resource name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAllowMultiLabel

Optional. If allow_multi_label is true, contributors are able to choose multiple labels from one annotation spec set.

Returns
TypeDescription
bool

setAllowMultiLabel

Optional. If allow_multi_label is true, contributors are able to choose multiple labels from one annotation spec set.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this