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

Image segmentation annotation.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #annotation_colors

    def annotation_colors() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec}) --- The mapping between rgb color and annotation spec. The key is the rgb color represented in format of rgb(0, 0, 0). The value is the AnnotationSpec.

### #annotation_colors=

    def annotation_colors=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec}) --- The mapping between rgb color and annotation spec. The key is the rgb color represented in format of rgb(0, 0, 0). The value is the AnnotationSpec.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec}) --- The mapping between rgb color and annotation spec. The key is the rgb color represented in format of rgb(0, 0, 0). The value is the AnnotationSpec.

### #image_bytes

    def image_bytes() -> ::String

**Returns**

- (::String) --- A byte string of a full image's color map.

### #image_bytes=

    def image_bytes=(value) -> ::String

**Parameter**

- **value** (::String) --- A byte string of a full image's color map.
**Returns**

- (::String) --- A byte string of a full image's color map.

### #mime_type

    def mime_type() -> ::String

**Returns**

- (::String) --- Image format.

### #mime_type=

    def mime_type=(value) -> ::String

**Parameter**

- **value** (::String) --- Image format.
**Returns**

- (::String) --- Image format.