Class AnnotationSpec (2.5.0)

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

A definition of an annotation spec.

Inheritance

Object > AnnotationSpec

Namespace

Google.Cloud.AutoML.V1

Assembly

Google.Cloud.AutoML.V1.dll

Constructors

AnnotationSpec()

public AnnotationSpec()

AnnotationSpec(AnnotationSpec)

public AnnotationSpec(AnnotationSpec other)
Parameter
NameDescription
otherAnnotationSpec

Properties

AnnotationSpecName

public AnnotationSpecName AnnotationSpecName { get; set; }

AnnotationSpecName-typed view over the Name resource name property.

Property Value
TypeDescription
AnnotationSpecName

DisplayName

public string DisplayName { get; set; }

Required. The name of the annotation spec to show in the interface. The name can be up to 32 characters long and must match the regexp [a-zA-Z0-9_]+.

Property Value
TypeDescription
String

ExampleCount

public int ExampleCount { get; set; }

Output only. The number of examples in the parent dataset labeled by the annotation spec.

Property Value
TypeDescription
Int32

Name

public string Name { get; set; }

Output only. Resource name of the annotation spec. Form: 'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}'

Property Value
TypeDescription
String