class ProjectsLocationsDataLabelingJobs extends Resource (View source)

The "dataLabelingJobs" collection of methods.

Typical usage is:

 $aiplatformService = new Google\Service\Aiplatform(...);
 $dataLabelingJobs = $aiplatformService->projects_locations_dataLabelingJobs;

Methods

cancel(string $name, GoogleCloudAiplatformV1CancelDataLabelingJobRequest $postBody, array $optParams = [])

Cancels a DataLabelingJob. Success of cancellation is not guaranteed.

create(string $parent, GoogleCloudAiplatformV1DataLabelingJob $postBody, array $optParams = [])

Creates a DataLabelingJob. (dataLabelingJobs.create)

delete(string $name, array $optParams = [])

Deletes a DataLabelingJob. (dataLabelingJobs.delete)

get(string $name, array $optParams = [])

Gets a DataLabelingJob. (dataLabelingJobs.get)

listProjectsLocationsDataLabelingJobs(string $parent, array $optParams = [])

Lists DataLabelingJobs in a Location.

Details

GoogleProtobufEmpty cancel(string $name, GoogleCloudAiplatformV1CancelDataLabelingJobRequest $postBody, array $optParams = [])

Cancels a DataLabelingJob. Success of cancellation is not guaranteed.

(dataLabelingJobs.cancel)

Parameters

string $name

Required. The name of the DataLabelingJob. Format: proje cts/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}

GoogleCloudAiplatformV1CancelDataLabelingJobRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

Exceptions

Exception

GoogleCloudAiplatformV1DataLabelingJob create(string $parent, GoogleCloudAiplatformV1DataLabelingJob $postBody, array $optParams = [])

Creates a DataLabelingJob. (dataLabelingJobs.create)

Parameters

string $parent

Required. The parent of the DataLabelingJob. Format: projects/{project}/locations/{location}

GoogleCloudAiplatformV1DataLabelingJob $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1DataLabelingJob

Exceptions

Exception

GoogleLongrunningOperation delete(string $name, array $optParams = [])

Deletes a DataLabelingJob. (dataLabelingJobs.delete)

Parameters

string $name

Required. The name of the DataLabelingJob to be deleted. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_label ing_job}

array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleCloudAiplatformV1DataLabelingJob get(string $name, array $optParams = [])

Gets a DataLabelingJob. (dataLabelingJobs.get)

Parameters

string $name

Required. The name of the DataLabelingJob. Format: proje cts/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}

array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1DataLabelingJob

Exceptions

Exception

GoogleCloudAiplatformV1ListDataLabelingJobsResponse listProjectsLocationsDataLabelingJobs(string $parent, array $optParams = [])

Lists DataLabelingJobs in a Location.

(dataLabelingJobs.listProjectsLocationsDataLabelingJobs)

Parameters

string $parent

Required. The parent of the DataLabelingJob. Format: projects/{project}/locations/{location}

array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1ListDataLabelingJobsResponse

Exceptions

Exception