Data Labeling v1beta1 API - Class AnnotationSpecSet (2.0.0-beta02)

public sealed class AnnotationSpecSet : IMessage<AnnotationSpecSet>, IEquatable<AnnotationSpecSet>, IDeepCloneable<AnnotationSpecSet>, IBufferMessage, IMessage

Reference documentation and code samples for the Data Labeling v1beta1 API 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.

Inheritance

object > AnnotationSpecSet

Namespace

Google.Cloud.DataLabeling.V1Beta1

Assembly

Google.Cloud.DataLabeling.V1Beta1.dll

Constructors

AnnotationSpecSet()

public AnnotationSpecSet()

AnnotationSpecSet(AnnotationSpecSet)

public AnnotationSpecSet(AnnotationSpecSet other)
Parameter
NameDescription
otherAnnotationSpecSet

Properties

AnnotationSpecSetName

public AnnotationSpecSetName AnnotationSpecSetName { get; set; }

AnnotationSpecSetName-typed view over the Name resource name property.

Property Value
TypeDescription
AnnotationSpecSetName

AnnotationSpecs

public RepeatedField<AnnotationSpec> AnnotationSpecs { get; }

Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.

Property Value
TypeDescription
RepeatedFieldAnnotationSpec

BlockingResources

public RepeatedField<string> BlockingResources { get; }

Output only. The names of any related resources that are blocking changes to the annotation spec set.

Property Value
TypeDescription
RepeatedFieldstring

Description

public string Description { get; set; }

Optional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long.

Property Value
TypeDescription
string

DisplayName

public string DisplayName { get; set; }

Required. The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.

Property Value
TypeDescription
string

Name

public string Name { get; set; }

Output only. The AnnotationSpecSet resource name in the following format:

"projects/<var>{project_id}</var>/annotationSpecSets/<var>{annotation_spec_set_id}</var>"

Property Value
TypeDescription
string