Skip to content

chore(automl): remove AutoML samples#4241

Open
NimJay wants to merge 1 commit intomainfrom
jules-remove-automl-7883590435530567891
Open

chore(automl): remove AutoML samples#4241
NimJay wants to merge 1 commit intomainfrom
jules-remove-automl-7883590435530567891

Conversation

@NimJay
Copy link
Contributor

@NimJay NimJay commented Feb 27, 2026

See this message:

🔔 AutoML API NodeJS Client is now available in Vertex AI. Please visit node-js-aiplatform for the new NodeJS Vertex AI client.

This is a follow-up to GoogleCloudPlatform/java-docs-samples#10238.


PR created automatically by Jules for task 7883590435530567891 started by @NimJay

🔔 AutoML API NodeJS Client is now available in Vertex AI. Please visit node-js- aiplatform for the new NodeJS Vertex AI client.
https://www.npmjs.com/package/@google-cloud/automl

Co-authored-by: NimJay <10292865+NimJay@users.noreply.github.com>
@google-labs-jules
Copy link

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@NimJay NimJay requested review from a team as code owners February 27, 2026 22:37
@snippet-bot
Copy link

snippet-bot bot commented Feb 27, 2026

Here is the summary of possible violations 😱

Details

There are 14 possible violations for removing region tag in use.

The end of the violation section. All the stuff below is FYI purposes only.


Here is the summary of changes.

You are about to delete 122 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 samples Issues that are directly related to samples. api: automl Issues related to the AutoML API. labels Feb 27, 2026
@NimJay NimJay changed the title Remove AutoML samples chore(automl): remove AutoML samples 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 streamlines the repository by completely removing all AutoML samples. This action is a direct consequence of the AutoML API NodeJS Client's integration into Vertex AI, signifying a shift in how these functionalities are accessed and utilized. The change aims to prevent confusion and guide users towards the updated, unified Vertex AI client for future development.

Highlights

  • AutoML Samples Removal: All existing AutoML samples for the NodeJS client have been removed from the repository.
  • Migration to Vertex AI: This removal is due to the AutoML API NodeJS Client now being available within Vertex AI. Users are directed to the node-js-aiplatform package for the new client.
  • Dependency Update: The @google-cloud/automl dependency has been removed from the translate/package.json file.
Changelog
  • automl/.eslintrc.yml
    • Removed the ESLint configuration file specific to AutoML samples.
  • automl/batch_predict.js
    • Removed the batch prediction sample for AutoML.
  • automl/beta/batch_predict.js
    • Removed the beta version of the AutoML batch prediction sample.
  • automl/beta/cancel_operation.js
    • Removed the beta version of the AutoML cancel operation sample.
  • automl/beta/delete-dataset.js
    • Removed the beta version of the AutoML delete dataset sample.
  • automl/beta/delete-model.js
    • Removed the beta version of the AutoML delete model sample.
  • automl/beta/get-model-evaluation.js
    • Removed the beta version of the AutoML get model evaluation sample.
  • automl/beta/get-model.js
    • Removed the beta version of the AutoML get model sample.
  • automl/beta/get-operation-status.js
    • Removed the beta version of the AutoML get operation status sample.
  • automl/beta/import-dataset.js
    • Removed the beta version of the AutoML import dataset sample.
  • automl/beta/list-datasets.js
    • Removed the beta version of the AutoML list datasets sample.
  • automl/beta/list-models.js
    • Removed the beta version of the AutoML list models sample.
  • automl/beta/setEndpoint.js
    • Removed the beta version of the AutoML set endpoint sample.
  • automl/beta/video-classification-create-dataset.js
    • Removed the beta version of the AutoML video classification create dataset sample.
  • automl/beta/video-classification-create-model.js
    • Removed the beta version of the AutoML video classification create model sample.
  • automl/beta/video-object-tracking-create-dataset.js
    • Removed the beta version of the AutoML video object tracking create dataset sample.
  • automl/beta/video-object-tracking-create-model.js
    • Removed the beta version of the AutoML video object tracking create model sample.
  • automl/delete_dataset.js
    • Removed the AutoML delete dataset sample.
  • automl/delete_model.js
    • Removed the AutoML delete model sample.
  • automl/deploy_model.js
    • Removed the AutoML deploy model sample.
  • automl/export_dataset.js
    • Removed the AutoML export dataset sample.
  • automl/get_dataset.js
    • Removed the AutoML get dataset sample.
  • automl/get_model.js
    • Removed the AutoML get model sample.
  • automl/get_model_evaluation.js
    • Removed the AutoML get model evaluation sample.
  • automl/get_operation_status.js
    • Removed the AutoML get operation status sample.
  • automl/import_dataset.js
    • Removed the AutoML import dataset sample.
  • automl/language_entity_extraction_create_dataset.js
    • Removed the AutoML language entity extraction create dataset sample.
  • automl/language_entity_extraction_create_model.js
    • Removed the AutoML language entity extraction create model sample.
  • automl/language_entity_extraction_predict.js
    • Removed the AutoML language entity extraction predict sample.
  • automl/language_sentiment_analysis_create_dataset.js
    • Removed the AutoML language sentiment analysis create dataset sample.
  • automl/language_sentiment_analysis_create_model.js
    • Removed the AutoML language sentiment analysis create model sample.
  • automl/language_sentiment_analysis_predict.js
    • Removed the AutoML language sentiment analysis predict sample.
  • automl/language_text_classification_create_dataset.js
    • Removed the AutoML language text classification create dataset sample.
  • automl/language_text_classification_create_model.js
    • Removed the AutoML language text classification create model sample.
  • automl/language_text_classification_predict.js
    • Removed the AutoML language text classification predict sample.
  • automl/list_datasets.js
    • Removed the AutoML list datasets sample.
  • automl/list_model_evaluations.js
    • Removed the AutoML list model evaluations sample.
  • automl/list_models.js
    • Removed the AutoML list models sample.
  • automl/list_operation_status.js
    • Removed the AutoML list operation status sample.
  • automl/package.json
    • Removed the package.json file for AutoML samples.
  • automl/resources/input.txt
    • Removed the sample input text file.
  • automl/tables/create-dataset.v1beta1.js
    • Removed the AutoML Tables create dataset sample.
  • automl/tables/create-model.v1beta1.js
    • Removed the AutoML Tables create model sample.
  • automl/tables/delete-dataset.v1beta1.js
    • Removed the AutoML Tables delete dataset sample.
  • automl/tables/delete-model.v1beta1.js
    • Removed the AutoML Tables delete model sample.
  • automl/tables/deploy-model.v1beta1.js
    • Removed the AutoML Tables deploy model sample.
  • automl/tables/get-column-spec.v1beta1.js
    • Removed the AutoML Tables get column specification sample.
  • automl/tables/get-model.v1beta1.js
    • Removed the AutoML Tables get model sample.
  • automl/tables/import-data.v1beta1.js
    • Removed the AutoML Tables import data sample.
  • automl/tables/list-datasets.v1beta1.js
    • Removed the AutoML Tables list datasets sample.
  • automl/tables/list-model-evaluations.v1beta1.js
    • Removed the AutoML Tables list model evaluations sample.
  • automl/tables/list-models.v1beta1.js
    • Removed the AutoML Tables list models sample.
  • automl/tables/predict-bq-source-bq-dest.v1beta1.js
    • Removed the AutoML Tables batch predict sample using BigQuery source and destination.
  • automl/tables/predict-gcs-source-bq-dest.v1beta1.js
    • Removed the AutoML Tables batch predict sample using GCS source and BigQuery destination.
  • automl/tables/predict-gcs-source-gcs-dest.v1beta1.js
    • Removed the AutoML Tables batch predict sample using GCS source and GCS destination.
  • automl/tables/predict.v1beta1.js
    • Removed the AutoML Tables single prediction sample.
  • automl/tables/undeploy-model.v1beta1.js
    • Removed the AutoML Tables undeploy model sample.
  • automl/test/.eslintrc.yml
    • Removed the ESLint configuration file for AutoML tests.
  • automl/test/automlTablesPredict.v1beta1.test.js
    • Removed the AutoML Tables prediction tests.
  • automl/test/batch_predict.beta.test.js
    • Removed the beta batch predict tests for AutoML.
  • automl/test/batch_predict.test.js
    • Removed the batch predict tests for AutoML.
  • automl/test/delete-dataset.beta.test.js
    • Removed the beta delete dataset tests for AutoML.
  • automl/test/delete-model.beta.test.js
    • Removed the beta delete model tests for AutoML.
  • automl/test/delete_dataset.test.js
    • Removed the delete dataset tests for AutoML.
  • automl/test/delete_model.test.js
    • Removed the delete model tests for AutoML.
  • automl/test/deploy_model.test.js
    • Removed the deploy model tests for AutoML.
  • automl/test/export_dataset.test.js
    • Removed the export dataset tests for AutoML.
  • automl/test/get-model-evaluation.beta.test.js
    • Removed the beta get model evaluation tests for AutoML.
  • automl/test/get-model.beta.test.js
    • Removed the beta get model tests for AutoML.
  • automl/test/get-operation-status.beta.test.js
    • Removed the beta get operation status tests for AutoML.
  • automl/test/get_dataset.test.js
    • Removed the get dataset tests for AutoML.
  • automl/test/get_model.test.js
    • Removed the get model tests for AutoML.
  • automl/test/get_model_evaluation.test.js
    • Removed the get model evaluation tests for AutoML.
  • automl/test/get_operation_status.test.js
    • Removed the get operation status tests for AutoML.
  • automl/test/import-dataset.beta.test.js
    • Removed the beta import dataset tests for AutoML.
  • automl/test/import_dataset.test.js
    • Removed the import dataset tests for AutoML.
  • automl/test/language_entity_extraction_create_dataset.test.js
    • Removed the language entity extraction create dataset tests for AutoML.
  • automl/test/language_entity_extraction_create_model.test.js
    • Removed the language entity extraction create model tests for AutoML.
  • automl/test/language_entity_extraction_predict.test.js
    • Removed the language entity extraction predict tests for AutoML.
  • automl/test/language_sentiment_analysis_create_dataset.test.js
    • Removed the language sentiment analysis create dataset tests for AutoML.
  • automl/test/language_sentiment_analysis_create_model.test.js
    • Removed the language sentiment analysis create model tests for AutoML.
  • automl/test/language_sentiment_analysis_predict.test.js
    • Removed the language sentiment analysis predict tests for AutoML.
  • automl/test/language_text_classification_create_dataset.test.js
    • Removed the language text classification create dataset tests for AutoML.
  • automl/test/language_text_classification_create_model.test.js
    • Removed the language text classification create model tests for AutoML.
  • automl/test/language_text_classification_predict.test.js
    • Removed the language text classification predict tests for AutoML.
  • automl/test/list-datasets.beta.test.js
    • Removed the beta list datasets tests for AutoML.
  • automl/test/list-models.beta.test.js
    • Removed the beta list models tests for AutoML.
  • automl/test/list_datasets.test.js
    • Removed the list datasets tests for AutoML.
  • automl/test/list_model_evaluations.test.js
    • Removed the list model evaluations tests for AutoML.
  • automl/test/list_models.test.js
    • Removed the list models tests for AutoML.
  • automl/test/list_operation_status.test.js
    • Removed the list operation status tests for AutoML.
  • automl/test/setEndpoint.test.js
    • Removed the set endpoint tests for AutoML.
  • automl/test/translate_create_dataset.test.js
    • Removed the translate create dataset tests for AutoML.
  • automl/test/translate_create_model.test.js
    • Removed the translate create model tests for AutoML.
  • automl/test/translate_predict.test.js
    • Removed the translate predict tests for AutoML.
  • automl/test/undeploy_model.test.js
    • Removed the undeploy model tests for AutoML.
  • automl/test/util.js
    • Removed the utility file for AutoML tests.
  • automl/test/video-classification-create-dataset.beta.test.js
    • Removed the beta video classification create dataset tests for AutoML.
  • automl/test/video-classification-create-model.beta.test.js
    • Removed the beta video classification create model tests for AutoML.
  • automl/test/video-object-tracking-create-dataset.beta.test.js
    • Removed the beta video object tracking create dataset tests for AutoML.
  • automl/test/video-object-tracking-create-model.beta.test.js
    • Removed the beta video object tracking create model tests for AutoML.
  • automl/test/vision_classification_create_dataset.test.js
    • Removed the vision classification create dataset tests for AutoML.
  • automl/test/vision_classification_create_model.test.js
    • Removed the vision classification create model tests for AutoML.
  • automl/test/vision_classification_deploy_model_node_count.test.js
    • Removed the vision classification deploy model node count tests for AutoML.
  • automl/test/vision_classification_predict.test.js
    • Removed the vision classification predict tests for AutoML.
  • automl/test/vision_object_detection_create_dataset.test.js
    • Removed the vision object detection create dataset tests for AutoML.
  • automl/test/vision_object_detection_create_model.test.js
    • Removed the vision object detection create model tests for AutoML.
  • automl/test/vision_object_detection_deploy_model_node_count.test.js
    • Removed the vision object detection deploy model node count tests for AutoML.
  • automl/test/vision_object_detection_predict.test.js
    • Removed the vision object detection predict tests for AutoML.
  • automl/translate/automlTranslateCreateDataset.js
    • Removed the AutoML Translate create dataset sample.
  • automl/translate/automlTranslateCreateModel.js
    • Removed the AutoML Translate create model sample.
  • automl/translate/automlTranslatePredict.js
    • Removed the AutoML Translate predict sample.
  • automl/translate/resources/testInput.txt
    • Removed the sample input text file for AutoML Translate.
  • automl/translate_create_dataset.js
    • Removed the AutoML Translate create dataset sample.
  • automl/translate_create_model.js
    • Removed the AutoML Translate create model sample.
  • automl/translate_predict.js
    • Removed the AutoML Translate predict sample.
  • automl/undeploy_model.js
    • Removed the AutoML undeploy model sample.
  • automl/vision_classification_create_dataset.js
    • Removed the AutoML Vision classification create dataset sample.
  • automl/vision_classification_create_model.js
    • Removed the AutoML Vision classification create model sample.
  • automl/vision_classification_deploy_model_node_count.js
    • Removed the AutoML Vision classification deploy model with node count sample.
  • automl/vision_classification_predict.js
    • Removed the AutoML Vision classification predict sample.
  • automl/vision_object_detection_create_dataset.js
    • Removed the AutoML Vision object detection create dataset sample.
  • automl/vision_object_detection_create_model.js
    • Removed the AutoML Vision object detection create model sample.
  • automl/vision_object_detection_deploy_model_node_count.js
    • Removed the AutoML Vision object detection deploy model with node count sample.
  • automl/vision_object_detection_predict.js
    • Removed the AutoML Vision object detection predict sample.
  • cloud-language/test/automlNaturalLanguage.test.js
    • Removed the AutoML Natural Language tests.
  • translate/package.json
    • Removed the @google-cloud/automl dependency.
  • translate/test/v3/translate_translate_text_with_model.test.js
    • Removed the v3 translate text with model tests.
  • translate/test/v3beta1/translate_translate_text_with_model_beta.test.js
    • Removed the v3beta1 translate text with model tests.
  • translate/v3/translate_translate_text_with_model.js
    • Removed the v3 translate text with model sample.
  • translate/v3beta1/translate_translate_text_with_model_beta.js
    • Removed the v3beta1 translate text with model sample.
Activity
  • The pull request was automatically generated by Jules for a task initiated by @NimJay, indicating an automated process for maintaining code samples.
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 a large number of deprecated AutoML samples and their associated tests, following the migration of the AutoML API to Vertex AI. The changes are extensive but appear correct and consistent with the stated goal. The removal of the @google-cloud/automl dependency from translate/package.json is appropriate given that the files using it are also being deleted.

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.

1 participant