# AI Platform Data Labeling Service V1beta1 API - Class Google::Cloud::DataLabeling::V1beta1::TextEntityExtractionAnnotation (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::TextEntityExtractionAnnotation.

Text entity extraction annotation.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #annotation_spec

    def annotation_spec() -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec

**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-AnnotationSpec)) --- Label of the text entities.

### #annotation_spec=

    def annotation_spec=(value) -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec

**Parameter**

- **value** ([::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-AnnotationSpec)) --- Label of the text entities.
**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-AnnotationSpec)) --- Label of the text entities.

### #sequential_segment

    def sequential_segment() -> ::Google::Cloud::DataLabeling::V1beta1::SequentialSegment

**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::SequentialSegment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-SequentialSegment)) --- Position of the entity.

### #sequential_segment=

    def sequential_segment=(value) -> ::Google::Cloud::DataLabeling::V1beta1::SequentialSegment

**Parameter**

- **value** ([::Google::Cloud::DataLabeling::V1beta1::SequentialSegment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-SequentialSegment)) --- Position of the entity.
**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::SequentialSegment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-SequentialSegment)) --- Position of the entity.