class ProjectsDatasetsImage extends Resource (View source)

The "image" collection of methods.

Typical usage is:

 $datalabelingService = new Google\Service\DataLabeling(...);
 $image = $datalabelingService->projects_datasets_image;

Methods

label(string $parent, GoogleCloudDatalabelingV1beta1LabelImageRequest $postBody, array $optParams = [])

Starts a labeling task for image. The type of image labeling task is configured by feature in the request. (image.label)

Details

GoogleLongrunningOperation label(string $parent, GoogleCloudDatalabelingV1beta1LabelImageRequest $postBody, array $optParams = [])

Starts a labeling task for image. The type of image labeling task is configured by feature in the request. (image.label)

Parameters

string $parent

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

GoogleCloudDatalabelingV1beta1LabelImageRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception