Method: projects.locations.datasets.annotationSpecs.get

Gets an annotation spec.

HTTP request

GET https://automl.googleapis.com/v1beta1/{name}

Path parameters

Parameters
name

string

The resource name of the annotation spec to retrieve.

Authorization requires the following Google IAM permission on the specified resource name:

  • automl.annotationSpecs.get

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of AnnotationSpec.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.