NAME
Google::Cloud::Datalabeling::V1beta1::AnnotationSpecSet - Compiled Protocol Buffers messages for google/cloud/datalabeling/v1beta1/annotation_spec_set.proto
SYNOPSIS
use Google::Cloud::Datalabeling::V1beta1::AnnotationSpecSet;
my $msg = Google::Cloud::Datalabeling::V1beta1::AnnotationSpecSet::AnnotationSpecSet->new({
name => $name,
display_name => $display_name,
description => $description,
annotation_specs => $annotation_specs,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Datalabeling::V1beta1::AnnotationSpecSet::AnnotationSpecSet->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/datalabeling/v1beta1/annotation_spec_set.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Datalabeling::V1beta1::AnnotationSpecSet::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.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. The AnnotationSpecSet resource name in the following format:
"projects/<var>{project_id}</var>/annotationSpecSets/<var>{annotation_spec_set_id}</var>"
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.
$msg->description()/$msg->description($value)Type:
StringOptional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long.
$msg->annotation_specs()/$msg->annotation_specs($value)Type:
Message(Google::Cloud::Datalabeling::V1beta1::AnnotationSpecSet::AnnotationSpec)Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
$msg->blocking_resources()/$msg->blocking_resources($value)Type:
StringOutput only. The names of any related resources that are blocking changes to the annotation spec set.
Google::Cloud::Datalabeling::V1beta1::AnnotationSpecSet::AnnotationSpec
Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`.
Inherits from Protobuf::Message.
Accessors
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. The display name of the AnnotationSpec. Maximum of 64 characters.
$msg->description()/$msg->description($value)Type:
StringOptional. User-provided description of the annotation specification. The description can be up to 10,000 characters long.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Datalabeling::V1beta1::AnnotationSpecSet::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.