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
Inherited Members
Namespace: Google.Cloud.DataLabeling.V1Beta1
Assembly: Google.Cloud.DataLabeling.V1Beta1.dll
Syntax
public sealed class AnnotationSpecSet : IMessage<AnnotationSpecSet>, IEquatable<AnnotationSpecSet>, IDeepCloneable<AnnotationSpecSet>, IBufferMessage, IMessage
Constructors
AnnotationSpecSet()
Declaration
public AnnotationSpecSet()
AnnotationSpecSet(AnnotationSpecSet)
Declaration
public AnnotationSpecSet(AnnotationSpecSet other)
Parameters
| Type | Name | Description |
|---|---|---|
| AnnotationSpecSet | other |
Properties
AnnotationSpecs
Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
Declaration
public RepeatedField<AnnotationSpec> AnnotationSpecs { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<AnnotationSpec> |
AnnotationSpecSetName
AnnotationSpecSetName-typed view over the Name resource name property.
Declaration
public AnnotationSpecSetName AnnotationSpecSetName { get; set; }
Property Value
| Type | Description |
|---|---|
| AnnotationSpecSetName |
BlockingResources
Output only. The names of any related resources that are blocking changes to the annotation spec set.
Declaration
public RepeatedField<string> BlockingResources { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<System.String> |
Description
Optional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long.
Declaration
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
DisplayName
Required. The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.
Declaration
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Name
Output only. The AnnotationSpecSet resource name in the following format:
"projects/<var>{project_id}</var>/annotationSpecSets/<var>{annotation_spec_set_id}</var>"
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |