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

All AutoML Tables code samples

Stay organized with collections Save and categorize content based on your preferences.

This page contains code samples for AutoML Tables. To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser.

Create a dataset

Demonstrates how to create a dataset.

View in documentation

Delete a dataset

Demonstrates deleting a dataset.

View in documentation

Delete a model

Demonstrates deleting a model.

View in documentation

Deploy a model

Demonstrates deploying a model.

View in documentation

Display a model evaluation

Demonstrates displaying a model evaluation.

Get a model

Demonstrates retrieving models.

View in documentation

Get a model evaluation

Demonstrates retrieving model evaluations.

Get an online prediction

Retrieves an online prediction for a single instance of prediction data.

Get batch predictions using Cloud Storage as a source and BigQuery as a destination

Creates a batch prediction job with a Cloud Storage file as input and BigQuery as a destination.

Get batch predictions with BigQuery input

Creates a batch prediction job with a BigQuery table as input.

View in documentation

Get batch predictions with Cloud Storage input

Creates a batch prediction job with a Cloud Storage file as input.

View in documentation

Get column specifications

Demonstrate retrieving column specifications

Get the operation status

Demonstrate retrieving an operation status.

Import data into a dataset

Creates a dataset and then imports data into the dataset.

View in documentation

List datasets

Demonstrate listing datasets.

View in documentation

List model evaluations

Demonstrate listing model evaluations.

View in documentation

List models

Demonstrate listing models.

View in documentation

Undeploy a model

Undeploys a model.

View in documentation