# Class LabelImageRequest (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.2 1.12.0 1.11.1 1.10.5 1.9.0 1.8.3 1.7.0 1.6.3 1.5.2 1.4.0 1.3.0 1.2.4 1.1.0 1.0.0 0.4.2 0.3.0 0.2.1

    LabelImageRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for starting an image labeling task.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `image_classification_config` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.ImageClassificationConfig` Configuration for image classification task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required. This field is a member of `oneof`_ `request_config`. |
| `bounding_poly_config` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.BoundingPolyConfig` Configuration for bounding box and bounding poly task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required. This field is a member of `oneof`_ `request_config`. |
| `polyline_config` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.PolylineConfig` Configuration for polyline task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required. This field is a member of `oneof`_ `request_config`. |
| `segmentation_config` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.SegmentationConfig` Configuration for segmentation task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required. This field is a member of `oneof`_ `request_config`. |
| `parent` | `str` Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id} |
| `basic_config` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig` Required. Basic human annotation config. |
| `feature` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.LabelImageRequest.Feature` Required. The type of image labeling task. |

## Classes

### Feature

    Feature(value)

Image labeling task feature.