Google Cloud Datalabeling V1beta1 Client - Class ImageClassificationAnnotation (0.5.6)

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

Namespace

Google \ Cloud \ DataLabeling \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ annotation_spec AnnotationSpec

Label of image.

getAnnotationSpec

Label of image.

Returns
Type Description
AnnotationSpec|null

hasAnnotationSpec

clearAnnotationSpec

setAnnotationSpec

Label of image.

Parameter
Name Description
var AnnotationSpec
Returns
Type Description
$this