Instance Group Updater Client Libraries

Caution: This is a deprecated version of the Instance Group Updater API. Please use the latest Instance Group Updater version instead.

The Instance Group Updater API is built on HTTP and JSON, so any standard HTTP client can send requests to it and parse the responses.

However, instead of creating HTTP requests and parsing responses manually, you may want to use client libraries to do so. Client libraries provide better language integration, improved security, and support for making calls that require user authorization.

You can use the Instance Group Updater API through a number of Google-provided libraries.

Available libraries

Library Language(s) Vendor Website Getting started
Google APIs Java Client Library Java Google Website Documentation
Google APIs .NET Client Library .NET Google Website Documentation
Google APIs Go Client Library Go Google Website Documentation
Google APIs JavaScript Client Library Javascript Google Website Documentation
Google APIs Ruby Client Library Ruby Google Website Documentation
Google APIs Node.js Client Library Node.js Google Website Documentation
Google API Objective C Client Library Objective C Google Website Documentation
Google API PHP Client Library PHP Google Website Documentation
Google API Python Client Library Python Google Website Documentation

Google APIs Java Client Library

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

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:

Google APIs .NET Client Library

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

Downloading the library

Install a NuGet package from those available at Google.Apis.replicapoolupdater.

Google APIs Go Client Library

This section contains information about getting started with the Instance Group Updater API using the Google APIs Go client library. In addition, you may be interested in the following documentation:

Downloading and installing the library

To install the library, run the following command:

$ go get google.golang.org/api/replicapoolupdater/v1beta1

Using the library

Import the library in your code:

package main

  import (
      "google.golang.org/api/replicapoolupdater/v1beta1"
  )

Google APIs JavaScript Client Library

This section contains information about getting started with the Instance Group Updater API using the Google APIs JavaScript client library. In addition, you may be interested in the following documentation:

Using the API

To use the API, you must first load the library. In you code, add:

<script src="https://apis.google.com/js/client.js?onload=handleClientLoad"></script>

Google APIs Ruby Client Library

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

Installing the google-api-client gem

If you haven't installed the Google API Client Library for Ruby before, open a terminal and install using RubyGems:

$ gem install google-api-client

If you already have the gem installed and would simply like to update to the latest version:

$ gem update -y google-api-client

Depending on your system, you may need to prepend these commands with sudo.

Getting started with the Google API Client Library for Ruby

Be sure to check our extensive Getting started guide for a quick overview of how to make your first request.

Google APIs Node.js Client Library

This section contains information about getting started with the Instance Group Updater API using the Google APIs Node.js client library. In addition, you may be interested in the following documentation:

Installing the library

To install the Node.js library, you must use npm:

$ npm install googleapis

Using the library

Use the library to dynamically load your desired APIs:

var googleapis = require('googleapis');

googleapis
    .discover('replicapoolupdater', 'v1beta1')
    .execute(function(err, client) {
  if (err) {
    console.log('Problem during the client discovery.', err);
    return;
  }

Google APIs Objective C Client Library

This section contains information about getting started with the Instance Group Updater API using the Google APIs Objective C client library. In addition, you may be interested in the following documentation:

Linking to the library

Follow the instructions to add the Google APIs Objective-C Client Library to a Project.

Google APIs PHP Client Library

This section contains information about getting started with the Instance Group Updater API using the Google APIs PHP client library. In addition, you may be interested in the following documentation:

Google APIs Python Client Library

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

System requirements

Installing the client library

You can either use a package manager or download and install the Python client library manually:

Managed installation

Use pip or setuptools to manage your installation (you might need to run sudo first):

  • pip (preferred):
    $ pip install --upgrade google-api-python-client
          
  • Setuptools: Use the easy_install tool included in the setuptools package:
    $ easy_install --upgrade google-api-python-client
    

Manual installation

Download the latest client library for Python, unpack the code, and run python setup.py install

App Engine

Because the Python client libraries are not installed in the App Engine Python runtime environment, they must be vendored into your application just like third-party libraries.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Compute Engine Documentation