Skip to content

chore(automl): remove automl/ folder#10238

Merged
NimJay merged 1 commit intomainfrom
automl-decommissioning
Feb 27, 2026
Merged

chore(automl): remove automl/ folder#10238
NimJay merged 1 commit intomainfrom
automl-decommissioning

Conversation

@iennae
Copy link
Contributor

@iennae iennae commented Feb 27, 2026

…cting

Description

Fixes #

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

Checklist

  • I have followed Sample Format Guide
  • pom.xml parent set to latest shared-configuration
  • Appropriate changes to README are included in PR
  • These samples need a new API enabled in testing projects to pass (let us know which ones)
  • These samples need a new/updated env vars in testing projects set to pass (let us know which ones)
  • Tests pass: mvn clean verify required
  • Lint passes: mvn -P lint checkstyle:check required
  • Static Analysis: mvn -P lint clean compile pmd:cpd-check spotbugs:check advisory only
  • This sample adds a new sample directory, and I updated the CODEOWNERS file with the codeowners for this sample
  • This sample adds a new Product API, and I updated the Blunderbuss issue/PR auto-assigner with the codeowners for this sample
  • Please merge this PR for me once it is approved

@iennae iennae requested review from a team and yoshi-approver as code owners February 27, 2026 06:20
@snippet-bot
Copy link

snippet-bot bot commented Feb 27, 2026

Here is the summary of changes.

You are about to delete 137 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@product-auto-label product-auto-label bot added api: automl Issues related to the AutoML API. samples Issues that are directly related to samples. labels Feb 27, 2026
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request performs a significant cleanup by removing all existing Java code samples and their supporting files for Google Cloud AutoML. The change is motivated by the removal and redirection of associated AutoML webpages, rendering these samples obsolete. This action streamlines the repository by eliminating outdated code and configurations.

Highlights

  • Complete Removal of AutoML Java Samples: This pull request entirely removes all Java code samples and associated configuration files from the automl directory. This includes samples for various AutoML functionalities like batch prediction, dataset management, model management, and prediction for different data types (tables, video classification, video object tracking, language entity extraction, sentiment analysis, text classification, and translation).
  • Cleanup of Beta and V1 API Samples: Both beta and v1 versions of the AutoML Java samples have been removed, indicating a comprehensive cleanup of older or deprecated sample code.
  • Configuration and Resource File Removal: The pom.xml file, which defined the Maven project structure and dependencies for the AutoML snippets, has been removed. Additionally, a sample input text file (resources/input.txt) was also deleted.
Changelog
  • automl/pom.xml
    • Removed file.
  • automl/resources/input.txt
    • Removed file.
  • automl/src/main/java/beta/automl/BatchPredict.java
    • Removed file.
  • automl/src/main/java/beta/automl/CancelOperation.java
    • Removed file.
  • automl/src/main/java/beta/automl/DeleteDataset.java
    • Removed file.
  • automl/src/main/java/beta/automl/DeleteModel.java
    • Removed file.
  • automl/src/main/java/beta/automl/DeployModel.java
    • Removed file.
  • automl/src/main/java/beta/automl/GetModel.java
    • Removed file.
  • automl/src/main/java/beta/automl/GetModelEvaluation.java
    • Removed file.
  • automl/src/main/java/beta/automl/GetOperationStatus.java
    • Removed file.
  • automl/src/main/java/beta/automl/ImportDataset.java
    • Removed file.
  • automl/src/main/java/beta/automl/ListDatasets.java
    • Removed file.
  • automl/src/main/java/beta/automl/ListModelEvaluations.java
    • Removed file.
  • automl/src/main/java/beta/automl/ListModels.java
    • Removed file.
  • automl/src/main/java/beta/automl/SetEndpoint.java
    • Removed file.
  • automl/src/main/java/beta/automl/TablesBatchPredictBigQuery.java
    • Removed file.
  • automl/src/main/java/beta/automl/TablesCreateDataset.java
    • Removed file.
  • automl/src/main/java/beta/automl/TablesCreateModel.java
    • Removed file.
  • automl/src/main/java/beta/automl/TablesGetModel.java
    • Removed file.
  • automl/src/main/java/beta/automl/TablesImportDataset.java
    • Removed file.
  • automl/src/main/java/beta/automl/TablesPredict.java
    • Removed file.
  • automl/src/main/java/beta/automl/UndeployModel.java
    • Removed file.
  • automl/src/main/java/beta/automl/VideoClassificationCreateDataset.java
    • Removed file.
  • automl/src/main/java/beta/automl/VideoClassificationCreateModel.java
    • Removed file.
  • automl/src/main/java/beta/automl/VideoObjectTrackingCreateDataset.java
    • Removed file.
  • automl/src/main/java/beta/automl/VideoObjectTrackingCreateModel.java
    • Removed file.
  • automl/src/main/java/com/example/automl/BatchPredict.java
    • Removed file.
  • automl/src/main/java/com/example/automl/DeleteDataset.java
    • Removed file.
  • automl/src/main/java/com/example/automl/DeleteModel.java
    • Removed file.
  • automl/src/main/java/com/example/automl/DeployModel.java
    • Removed file.
  • automl/src/main/java/com/example/automl/ExportDataset.java
    • Removed file.
  • automl/src/main/java/com/example/automl/GetDataset.java
    • Removed file.
  • automl/src/main/java/com/example/automl/GetModel.java
    • Removed file.
  • automl/src/main/java/com/example/automl/GetModelEvaluation.java
    • Removed file.
  • automl/src/main/java/com/example/automl/GetOperationStatus.java
    • Removed file.
  • automl/src/main/java/com/example/automl/ImportDataset.java
    • Removed file.
  • automl/src/main/java/com/example/automl/LanguageEntityExtractionCreateDataset.java
    • Removed file.
  • automl/src/main/java/com/example/automl/LanguageEntityExtractionCreateModel.java
    • Removed file.
  • automl/src/main/java/com/example/automl/LanguageEntityExtractionPredict.java
    • Removed file.
  • automl/src/main/java/com/example/automl/LanguageSentimentAnalysisCreateDataset.java
    • Removed file.
  • automl/src/main/java/com/example/automl/LanguageSentimentAnalysisCreateModel.java
    • Removed file.
  • automl/src/main/java/com/example/automl/LanguageSentimentAnalysisPredict.java
    • Removed file.
  • automl/src/main/java/com/example/automl/LanguageTextClassificationCreateDataset.java
    • Removed file.
  • automl/src/main/java/com/example/automl/LanguageTextClassificationCreateModel.java
    • Removed file.
  • automl/src/main/java/com/example/automl/LanguageTextClassificationPredict.java
    • Removed file.
  • automl/src/main/java/com/example/automl/ListDatasets.java
    • Removed file.
  • automl/src/main/java/com/example/automl/ListModelEvaluations.java
    • Removed file.
  • automl/src/main/java/com/example/automl/ListModels.java
    • Removed file.
  • automl/src/main/java/com/example/automl/ListOperationStatus.java
    • Removed file.
  • automl/src/main/java/com/example/automl/TranslateCreateDataset.java
    • Removed file.
  • automl/src/main/java/com/example/automl/TranslateCreateModel.java
    • Removed file.
  • automl/src/main/java/com/example/automl/TranslatePredict.java
    • Removed file.
  • automl/src/main/java/com/example/automl/UndeployModel.java
    • Removed file.
  • automl/src/main/java/com/example/automl/VisionClassificationCreateDataset.java
    • Removed file.
  • automl/src/main/java/com/example/automl/VisionClassificationCreateModel.java
    • Removed file.
  • automl/src/main/java/com/example/automl/VisionClassificationDeployModelNodeCount.java
    • Removed file.
  • automl/src/main/java/com/example/automl/VisionClassificationPredict.java
    • Removed file.
  • automl/src/main/java/com/example/automl/VisionObjectDetectionCreateDataset.java
    • Removed file.
  • automl/src/main/java/com/example/automl/VisionObjectDetectionCreateModel.java
    • Removed file.
  • automl/src/main/java/com/example/automl/VisionObjectDetectionDeployModelNodeCount.java
    • Removed file.
  • automl/src/main/java/com/example/automl/VisionObjectDetectionPredict.java
    • Removed file.
  • automl/src/test/java/beta/automl/BatchPredictTest.java
    • Removed file.
  • automl/src/test/java/beta/automl/CancelOperationTest.java
    • Removed file.
  • automl/src/test/java/beta/automl/DeleteDatasetTest.java
    • Removed file.
  • automl/src/test/java/beta/automl/DeleteModelTest.java
    • Removed file.
  • automl/src/test/java/beta/automl/DeployModelTest.java
    • Removed file.
  • automl/src/test/java/beta/automl/GetModelEvaluationTest.java
    • Removed file.
  • automl/src/test/java/beta/automl/GetModelTest.java
    • Removed file.
  • automl/src/test/java/beta/automl/GetOperationStatusTest.java
    • Removed file.
  • automl/src/test/java/beta/automl/ImportDatasetTest.java
    • Removed file.
  • automl/src/test/java/beta/automl/ListDatasetsTest.java
    • Removed file.
  • automl/src/test/java/beta/automl/ListModelEvaluationsTest.java
    • Removed file.
  • automl/src/test/java/beta/automl/ListModelsTest.java
    • Removed file.
  • automl/src/test/java/beta/automl/SetEndpointIT.java
    • Removed file.
  • automl/src/test/java/beta/automl/TablesBatchPredictBigQueryTest.java
    • Removed file.
  • automl/src/test/java/beta/automl/TablesCreateDatasetTest.java
    • Removed file.
  • automl/src/test/java/beta/automl/TablesCreateModelTest.java
    • Removed file.
  • automl/src/test/java/beta/automl/TablesGetModelTest.java
    • Removed file.
  • automl/src/test/java/beta/automl/TablesImportDatasetTest.java
    • Removed file.
  • automl/src/test/java/beta/automl/TablesPredictTest.java
    • Removed file.
  • automl/src/test/java/beta/automl/UndeployModelTest.java
    • Removed file.
  • automl/src/test/java/beta/automl/VideoClassificationCreateDatasetTest.java
    • Removed file.
  • automl/src/test/java/beta/automl/VideoClassificationCreateModelTest.java
    • Removed file.
  • automl/src/test/java/beta/automl/VideoObjectTrackingCreateDatasetTest.java
    • Removed file.
  • automl/src/test/java/beta/automl/VideoObjectTrackingCreateModelTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/BatchPredictTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/DeleteDatasetTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/DeleteModelTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/DeployModelTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/ExportDatasetTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/GetDatasetTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/GetModelEvaluationTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/GetModelTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/GetOperationStatusTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/ImportDatasetTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/LanguageEntityExtractionCreateDatasetTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/LanguageEntityExtractionCreateModelTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/LanguageEntityExtractionPredictTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/LanguageSentimentAnalysisCreateDatasetTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/LanguageSentimentAnalysisCreateModelTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/LanguageSentimentAnalysisPredictTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/LanguageTextClassificationCreateDatasetTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/LanguageTextClassificationCreateModelTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/LanguageTextClassificationPredictTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/ListDatasetsTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/ListModelEvaluationsTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/ListModelsTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/ListOperationStatusTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/TranslateCreateDatasetTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/TranslateCreateModelTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/TranslatePredictTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/UndeployModelTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/VisionClassificationCreateDatasetTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/VisionClassificationCreateModelTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/VisionClassificationDeployModelNodeCountTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/VisionClassificationPredictTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/VisionObjectDetectionCreateDatasetTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/VisionObjectDetectionCreateModelTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/VisionObjectDetectionDeployModelNodeCountTest.java
    • Removed file.
  • automl/src/test/java/com/example/automl/VisionObjectDetectionPredictTest.java
    • Removed file.
Activity
  • No human activity (comments, reviews) was detected on this pull request.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the entire automl sample directory, including all source code, tests, and configuration files. This change appears to be a cleanup of obsolete samples, likely due to the corresponding documentation pages being removed, as indicated by the pull request title. As this PR consists only of file deletions, there are no code changes to review for quality or correctness.

@NimJay NimJay changed the title chore(automl): it looks like the webpages are removed and auto redire… chore(automl): remove automl/ sample directory Feb 27, 2026
@NimJay NimJay changed the title chore(automl): remove automl/ sample directory chore(automl): remove automl/ folder Feb 27, 2026
Copy link
Contributor

@NimJay NimJay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @iennae, for this clean-up!

Judging from the following message,

"🔔 AutoML API Java Client is now available in Vertex AI. Please visit java-aiplatform for the new Java Vertex AI client."

it seems safe to remove all samples using the google-cloud-automl library.

@NimJay NimJay merged commit 42d5952 into main Feb 27, 2026
11 checks passed
@NimJay NimJay deleted the automl-decommissioning branch February 27, 2026 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: automl Issues related to the AutoML API. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants