Google Cloud Datalabeling V1beta1 Client - Class ImageClassificationAnnotation (0.2.0)

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

Image classification annotation definition.

Generated from protobuf message google.cloud.datalabeling.v1beta1.ImageClassificationAnnotation

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ annotation_spec Google\Cloud\DataLabeling\V1beta1\AnnotationSpec

Label of image.

getAnnotationSpec

Label of image.

Returns
TypeDescription
Google\Cloud\DataLabeling\V1beta1\AnnotationSpec|null

hasAnnotationSpec

clearAnnotationSpec

setAnnotationSpec

Label of image.

Parameter
NameDescription
var Google\Cloud\DataLabeling\V1beta1\AnnotationSpec
Returns
TypeDescription
$this