AutoML client libraries are built on Google Cloud Client Libraries. This common infrastructure provides functionality for API-specific library implementations, but it also provides types and methods that you may use directly when using any Cloud API.
Install the client libraries
If you are using Maven, add this to your pom.xml file:
<dependency> <groupId>com.google.cloud</groupId> <artifactId>google-cloud-automl</artifactId> <version>0.55.1-beta</version> </dependency>
If you are using Gradle, add this to your dependencies:
If you are using SBT, add this to your dependencies:
libraryDependencies += "com.google.cloud" % "google-cloud-automl" % "0.55.1-beta"
Before installing the library, make sure you've prepared your environment for Node.js development.
npm install --save @google-cloud/automl
Before installing the library, make sure you've prepared your environment for Python development.
pip install google-cloud-automl
To make it more convenient to run the
curl samples in this documentation, set the
following environment variable. Replace project-id with the name
of your GCP project.