Client Libraries

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

Java

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:

  compile 'com.google.cloud:google-cloud-automl:0.55.1-beta'
  

If you are using SBT, add this to your dependencies:

   libraryDependencies += "com.google.cloud" % "google-cloud-automl" % "0.55.1-beta"
  

Node.js

Before installing the library, make sure you've prepared your environment for Node.js development.

npm install --save @google-cloud/automl

Python

Before installing the library, make sure you've prepared your environment for Python development.

pip install google-cloud-automl

Using curl

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.

export PROJECT_ID="project-id"
Was this page helpful? Let us know how we did:

Send feedback about...

Cloud AutoML Vision