Class AnnotationSpecSet

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

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
TypeNameDescription
AnnotationSpecSetother

Properties

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
RepeatedField<AnnotationSpec>

AnnotationSpecSetName

public AnnotationSpecSetName AnnotationSpecSetName { get; set; }

AnnotationSpecSetName-typed view over the Name resource name property.

Property Value
TypeDescription
AnnotationSpecSetName

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
RepeatedField<String>

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

Implements