Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class AnnotationSpecSet.
An AnnotationSpecSet is a collection of label definitions. For example, in image classification tasks, you define a set of possible labels for images as an AnnotationSpecSet. An AnnotationSpecSet is immutable upon creation.
Generated from protobuf message google.cloud.datalabeling.v1beta1.AnnotationSpecSet
Namespace
Google \ Cloud \ DataLabeling \ V1beta1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The AnnotationSpecSet resource name in the following format: "projects/ {project_id} /annotationSpecSets/ {annotation_spec_set_id} "
↳ display_name
string
Required. The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.
↳ description
string
Optional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long.
↳ annotation_specs
array< AnnotationSpec
>
Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
↳ blocking_resources
array
Output only. The names of any related resources that are blocking changes to the annotation spec set.
getName
Output only. The AnnotationSpecSet resource name in the following format: "projects/ {project_id} /annotationSpecSets/ {annotation_spec_set_id} "
string
setName
Output only. The AnnotationSpecSet resource name in the following format: "projects/ {project_id} /annotationSpecSets/ {annotation_spec_set_id} "
var
string
$this
getDisplayName
Required. The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.
string
setDisplayName
Required. The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.
var
string
$this
getDescription
Optional. User-provided description of the annotation specification set.
The description can be up to 10,000 characters long.
string
setDescription
Optional. User-provided description of the annotation specification set.
The description can be up to 10,000 characters long.
var
string
$this
getAnnotationSpecs
Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
setAnnotationSpecs
Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
$this
getBlockingResources
Output only. The names of any related resources that are blocking changes to the annotation spec set.
setBlockingResources
Output only. The names of any related resources that are blocking changes to the annotation spec set.
var
string[]
$this