class ProjectsLocationsDatasetsAnnotationSpecs extends Resource (View source)

The "annotationSpecs" collection of methods.

Typical usage is:

 $aiplatformService = new Google\Service\Aiplatform(...);
 $annotationSpecs = $aiplatformService->projects_locations_datasets_annotationSpecs;

Methods

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

Gets an AnnotationSpec. (annotationSpecs.get)

Details

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

Gets an AnnotationSpec. (annotationSpecs.get)

Parameters

string $name

Required. The name of the AnnotationSpec resource. Format: projects/{project}/locations/{location}/datasets/{dataset}/annotatio nSpecs/{annotation_spec}

array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1AnnotationSpec

Exceptions

Exception