Compute Engine API Client Library for Java

Compute Engine API: Creates and runs virtual machines on Google Cloud Platform.

This page contains information about getting started with the Compute Engine API using the Google API Client Library for Java. In addition, you may be interested in the following documentation:

Sample

The compute-engine-cmdline-sample may help you get started using the client library.

Add Library to Your Project

Select your build environment (Maven or Gradle) from the following tabs, or download a zip file containing all of the jars you need:

Download

Download the Compute Engine API v1 Client Library for Java.

See the compute/readme.html file for details on:

  • What the zip file contains.
  • Which dependent jars are needed for each application type (web, installed, or Android application).

The libs folder contains all the of the globally applicable dependencies you might need across all application types.