This legacy version of AutoML Vision is deprecated and will no longer be available on Google Cloud after January 23, 2024. All the functionality of legacy AutoML Vision and new features are available on the Vertex AI platform. See Migrate to Vertex AI to learn how to migrate your resources.

Method: projects.locations.datasets.tableSpecs.get

Gets a table spec.

HTTP request


Path parameters



The resource name of the table spec to retrieve.

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

  • automl.tableSpecs.get

Query parameters


string (FieldMask format)

Mask specifying which fields to read.

A comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body must be empty.

Response body

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

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.