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

Image bounding poly annotation. It represents a polygon including
bounding box in the image.

## 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 object in this bounding polygon.

### #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 object in this bounding polygon.
**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 object in this bounding polygon.

### #bounding_poly

    def bounding_poly() -> ::Google::Cloud::DataLabeling::V1beta1::BoundingPoly

**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::BoundingPoly](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-BoundingPoly)) --- Note: The following fields are mutually exclusive: `bounding_poly`, `normalized_bounding_poly`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #bounding_poly=

    def bounding_poly=(value) -> ::Google::Cloud::DataLabeling::V1beta1::BoundingPoly

**Parameter**

- **value** ([::Google::Cloud::DataLabeling::V1beta1::BoundingPoly](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-BoundingPoly)) --- Note: The following fields are mutually exclusive: `bounding_poly`, `normalized_bounding_poly`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::BoundingPoly](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-BoundingPoly)) --- Note: The following fields are mutually exclusive: `bounding_poly`, `normalized_bounding_poly`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #normalized_bounding_poly

    def normalized_bounding_poly() -> ::Google::Cloud::DataLabeling::V1beta1::NormalizedBoundingPoly

**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::NormalizedBoundingPoly](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-NormalizedBoundingPoly)) --- Note: The following fields are mutually exclusive: `normalized_bounding_poly`, `bounding_poly`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #normalized_bounding_poly=

    def normalized_bounding_poly=(value) -> ::Google::Cloud::DataLabeling::V1beta1::NormalizedBoundingPoly

**Parameter**

- **value** ([::Google::Cloud::DataLabeling::V1beta1::NormalizedBoundingPoly](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-NormalizedBoundingPoly)) --- Note: The following fields are mutually exclusive: `normalized_bounding_poly`, `bounding_poly`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::NormalizedBoundingPoly](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-NormalizedBoundingPoly)) --- Note: The following fields are mutually exclusive: `normalized_bounding_poly`, `bounding_poly`. If a field in that set is populated, all other fields in the set will automatically be cleared.