Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class LabelImageRequest.
Request message for starting an image labeling task.
Generated from protobuf message google.cloud.datalabeling.v1beta1.LabelImageRequest
Methods
build
parent
string
Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id} Please see {@see \Google\Cloud\DataLabeling\V1beta1\DataLabelingServiceClient::datasetName()} for help formatting this field.
basicConfig
feature
int
Required. The type of image labeling task. For allowed values, use constants defined on {@see \Google\Cloud\DataLabeling\V1beta1\LabelImageRequest\Feature}
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ image_classification_config
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.
↳ bounding_poly_config
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.
↳ polyline_config
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
Google\Cloud\DataLabeling\V1beta1\SegmentationConfig
Configuration for segmentation task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
↳ parent
string
Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}
↳ basic_config
↳ feature
int
Required. The type of image labeling task.
getImageClassificationConfig
Configuration for image classification task.
One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
hasImageClassificationConfig
setImageClassificationConfig
Configuration for image classification task.
One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
$this
getBoundingPolyConfig
Configuration for bounding box and bounding poly task.
One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
hasBoundingPolyConfig
setBoundingPolyConfig
Configuration for bounding box and bounding poly task.
One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
$this
getPolylineConfig
Configuration for polyline task.
One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
hasPolylineConfig
setPolylineConfig
Configuration for polyline task.
One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
$this
getSegmentationConfig
Configuration for segmentation task.
One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
hasSegmentationConfig
setSegmentationConfig
Configuration for segmentation task.
One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
$this
getParent
Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}
string
setParent
Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}
var
string
$this
getBasicConfig
Required. Basic human annotation config.
hasBasicConfig
clearBasicConfig
setBasicConfig
Required. Basic human annotation config.
$this
getFeature
Required. The type of image labeling task.
int
setFeature
Required. The type of image labeling task.
var
int
$this
getRequestConfig
string