class ProjectsDatasetsAnnotatedDatasetsExamples extends Resource (View source)

The "examples" collection of methods.

Typical usage is:

 $datalabelingService = new Google\Service\DataLabeling(...);
 $examples = $datalabelingService->projects_datasets_annotatedDatasets_examples;

Methods

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

Gets an example by resource name, including both data and annotation.

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

Lists examples in an annotated dataset. Pagination is supported.

Details

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

Gets an example by resource name, including both data and annotation.

(examples.get)

Parameters

string $name

Required. Name of example, format: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}/examples/{example_id}

array $optParams

Optional parameters.

Return Value

GoogleCloudDatalabelingV1beta1Example

Exceptions

Exception

GoogleCloudDatalabelingV1beta1ListExamplesResponse listProjectsDatasetsAnnotatedDatasetsExamples(string $parent, array $optParams = [])

Lists examples in an annotated dataset. Pagination is supported.

(examples.listProjectsDatasetsAnnotatedDatasetsExamples)

Parameters

string $parent

Required. Example resource parent.

array $optParams

Optional parameters.

Return Value

GoogleCloudDatalabelingV1beta1ListExamplesResponse

Exceptions

Exception