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

Request message for starting an image labeling task.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #basic_config

    def basic_config() -> ::Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig

**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-HumanAnnotationConfig)) --- Required. Basic human annotation config.

### #basic_config=

    def basic_config=(value) -> ::Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig

**Parameter**

- **value** ([::Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-HumanAnnotationConfig)) --- Required. Basic human annotation config.
**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-HumanAnnotationConfig)) --- Required. Basic human annotation config.

### #bounding_poly_config

    def bounding_poly_config() -> ::Google::Cloud::DataLabeling::V1beta1::BoundingPolyConfig

**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::BoundingPolyConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-BoundingPolyConfig)) --- Configuration for bounding box and bounding poly task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.


  Note: The following fields are mutually exclusive: `bounding_poly_config`, `image_classification_config`, `polyline_config`, `segmentation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #bounding_poly_config=

    def bounding_poly_config=(value) -> ::Google::Cloud::DataLabeling::V1beta1::BoundingPolyConfig

**Parameter**

- **value** ([::Google::Cloud::DataLabeling::V1beta1::BoundingPolyConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-BoundingPolyConfig)) --- Configuration for bounding box and bounding poly task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.


  Note: The following fields are mutually exclusive: `bounding_poly_config`, `image_classification_config`, `polyline_config`, `segmentation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::BoundingPolyConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-BoundingPolyConfig)) --- Configuration for bounding box and bounding poly task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.


  Note: The following fields are mutually exclusive: `bounding_poly_config`, `image_classification_config`, `polyline_config`, `segmentation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #feature

    def feature() -> ::Google::Cloud::DataLabeling::V1beta1::LabelImageRequest::Feature

**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::LabelImageRequest::Feature](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-LabelImageRequest-Feature)) --- Required. The type of image labeling task.

### #feature=

    def feature=(value) -> ::Google::Cloud::DataLabeling::V1beta1::LabelImageRequest::Feature

**Parameter**

- **value** ([::Google::Cloud::DataLabeling::V1beta1::LabelImageRequest::Feature](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-LabelImageRequest-Feature)) --- Required. The type of image labeling task.
**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::LabelImageRequest::Feature](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-LabelImageRequest-Feature)) --- Required. The type of image labeling task.

### #image_classification_config

    def image_classification_config() -> ::Google::Cloud::DataLabeling::V1beta1::ImageClassificationConfig

**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::ImageClassificationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-ImageClassificationConfig)) --- Configuration for image classification task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.


  Note: The following fields are mutually exclusive: `image_classification_config`, `bounding_poly_config`, `polyline_config`, `segmentation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #image_classification_config=

    def image_classification_config=(value) -> ::Google::Cloud::DataLabeling::V1beta1::ImageClassificationConfig

**Parameter**

- **value** ([::Google::Cloud::DataLabeling::V1beta1::ImageClassificationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-ImageClassificationConfig)) --- Configuration for image classification task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.


  Note: The following fields are mutually exclusive: `image_classification_config`, `bounding_poly_config`, `polyline_config`, `segmentation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::ImageClassificationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-ImageClassificationConfig)) --- Configuration for image classification task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.


  Note: The following fields are mutually exclusive: `image_classification_config`, `bounding_poly_config`, `polyline_config`, `segmentation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}
**Returns**

- (::String) --- Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}

### #polyline_config

    def polyline_config() -> ::Google::Cloud::DataLabeling::V1beta1::PolylineConfig

**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::PolylineConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-PolylineConfig)) --- Configuration for polyline task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.


  Note: The following fields are mutually exclusive: `polyline_config`, `image_classification_config`, `bounding_poly_config`, `segmentation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #polyline_config=

    def polyline_config=(value) -> ::Google::Cloud::DataLabeling::V1beta1::PolylineConfig

**Parameter**

- **value** ([::Google::Cloud::DataLabeling::V1beta1::PolylineConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-PolylineConfig)) --- Configuration for polyline task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.


  Note: The following fields are mutually exclusive: `polyline_config`, `image_classification_config`, `bounding_poly_config`, `segmentation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::PolylineConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-PolylineConfig)) --- Configuration for polyline task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.


  Note: The following fields are mutually exclusive: `polyline_config`, `image_classification_config`, `bounding_poly_config`, `segmentation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #segmentation_config

    def segmentation_config() -> ::Google::Cloud::DataLabeling::V1beta1::SegmentationConfig

**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::SegmentationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-SegmentationConfig)) --- Configuration for segmentation task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.


  Note: The following fields are mutually exclusive: `segmentation_config`, `image_classification_config`, `bounding_poly_config`, `polyline_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #segmentation_config=

    def segmentation_config=(value) -> ::Google::Cloud::DataLabeling::V1beta1::SegmentationConfig

**Parameter**

- **value** ([::Google::Cloud::DataLabeling::V1beta1::SegmentationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-SegmentationConfig)) --- Configuration for segmentation task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.


  Note: The following fields are mutually exclusive: `segmentation_config`, `image_classification_config`, `bounding_poly_config`, `polyline_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::SegmentationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-SegmentationConfig)) --- Configuration for segmentation task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.


  Note: The following fields are mutually exclusive: `segmentation_config`, `image_classification_config`, `bounding_poly_config`, `polyline_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.