# AI Platform Data Labeling Service V1beta1 API - Class Google::Cloud::DataLabeling::V1beta1::AnnotationSpecSet (v0.15.0)

0.15.0 (latest) 0.14.0 0.13.1 0.12.0 0.11.1 0.10.1 0.9.0 0.8.1 0.7.2 0.6.0 0.5.0 0.4.0 0.3.5 Reference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API class Google::Cloud::DataLabeling::V1beta1::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

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #annotation_specs

    def annotation_specs() -> ::Array<::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec>

**Returns**

- (::Array\<[::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-AnnotationSpec)\>) --- Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.

### #annotation_specs=

    def annotation_specs=(value) -> ::Array<::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec>

**Parameter**

- **value** (::Array\<[::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-AnnotationSpec)\>) --- Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
**Returns**

- (::Array\<[::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-AnnotationSpec)\>) --- Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.

### #blocking_resources

    def blocking_resources() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Output only. The names of any related resources that are blocking changes to the annotation spec set.

### #blocking_resources=

    def blocking_resources=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Output only. The names of any related resources that are blocking changes to the annotation spec set.
**Returns**

- (::Array\<::String\>) --- Output only. The names of any related resources that are blocking changes to the annotation spec set.

### #description

    def description() -> ::String

**Returns**

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

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long.
**Returns**

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

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- Required. The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.
**Returns**

- (::String) --- Required. The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. The AnnotationSpecSet resource name in the following format:

  "projects/<var translate="no">{project_id}</var>/annotationSpecSets/<var translate="no">{annotation_spec_set_id}</var>"

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. The AnnotationSpecSet resource name in the following format:


  "projects/<var translate="no">{project_id}</var>/annotationSpecSets/<var translate="no">{annotation_spec_set_id}</var>"
**Returns**

- (::String) --- Output only. The AnnotationSpecSet resource name in the following format:

  "projects/<var translate="no">{project_id}</var>/annotationSpecSets/<var translate="no">{annotation_spec_set_id}</var>"