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
- (::Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig) — Required. Basic human annotation config.
#basic_config=
def basic_config=(value) -> ::Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig
- value (::Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig) — Required. Basic human annotation config.
- (::Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig) — Required. Basic human annotation config.
#bounding_poly_config
def bounding_poly_config() -> ::Google::Cloud::DataLabeling::V1beta1::BoundingPolyConfig
-
(::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
-
value (::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.
-
(::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
- (::Google::Cloud::DataLabeling::V1beta1::LabelImageRequest::Feature) — Required. The type of image labeling task.
#feature=
def feature=(value) -> ::Google::Cloud::DataLabeling::V1beta1::LabelImageRequest::Feature
- value (::Google::Cloud::DataLabeling::V1beta1::LabelImageRequest::Feature) — Required. The type of image labeling task.
- (::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
-
(::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
-
value (::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.
-
(::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
- (::String) — Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}
#parent=
def parent=(value) -> ::String
- value (::String) — Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}
- (::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
-
(::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
-
value (::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.
-
(::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
-
(::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
-
value (::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.
-
(::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.