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) — Required. Basic human annotation config.
#basic_config=
def basic_config=(value) -> ::Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig
Parameter
- value (::Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig) — Required. Basic human annotation config.
Returns
- (::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) — Configuration for bounding box and bounding poly task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
#bounding_poly_config=
def bounding_poly_config=(value) -> ::Google::Cloud::DataLabeling::V1beta1::BoundingPolyConfig
Parameter
- 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.
Returns
- (::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.
#feature
def feature() -> ::Google::Cloud::DataLabeling::V1beta1::LabelImageRequest::Feature
Returns
- (::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) — Required. The type of image labeling task.
Returns
- (::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) — Configuration for image classification task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
#image_classification_config=
def image_classification_config=(value) -> ::Google::Cloud::DataLabeling::V1beta1::ImageClassificationConfig
Parameter
- 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.
Returns
- (::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.
#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) — Configuration for polyline task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
#polyline_config=
def polyline_config=(value) -> ::Google::Cloud::DataLabeling::V1beta1::PolylineConfig
Parameter
- 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.
Returns
- (::Google::Cloud::DataLabeling::V1beta1::PolylineConfig) — Configuration for polyline task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
#segmentation_config
def segmentation_config() -> ::Google::Cloud::DataLabeling::V1beta1::SegmentationConfig
Returns
- (::Google::Cloud::DataLabeling::V1beta1::SegmentationConfig) — Configuration for segmentation task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
#segmentation_config=
def segmentation_config=(value) -> ::Google::Cloud::DataLabeling::V1beta1::SegmentationConfig
Parameter
- 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.
Returns
- (::Google::Cloud::DataLabeling::V1beta1::SegmentationConfig) — Configuration for segmentation task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.