Install client libraries

The Cloud Resource Manager API is built on HTTP and JSON, so any standard HTTP client can send requests to it and parse the responses.

However, the Google API client libraries provide better language integration, improved security, and support for making calls that require user authorization. The client libraries are available in a number of programming languages; by using them you can avoid the need to manually set up HTTP requests and parse the responses.

To get started, select the programming language that you are using for development.

Go

Get the latest Cloud Resource Manager API client library for Go. Read the client library's developer's guide.

Java

This page contains information about getting started with the Cloud Resource Manager API by using the Google API Client Library for Java. For more information, see the following documentation:

Add the client library to your project

Select your build environment (Maven or Gradle) from the following tabs:

JavaScript

Read the client library's developer's guide.

C#

This page contains information about getting started with the Cloud Resource Manager API by using the Google API Client Library for .NET. For more information, see the following documentation:

Downloading the library

Install the NuGet package: Google.Apis.CloudResourceManager.v3.

Node.js

Get the latest Cloud Resource Manager API client library for Node.js. Read the client library's developer's guide.

Obj-C

Get the latest Cloud Resource Manager API client library for Objective-C. Read the client library's developer's guide.

PHP

Get the latest Cloud Resource Manager API client library for PHP. Read the client library's developer's guide.

Python

This page contains information about getting started with the Cloud Resource Manager API by using the Cloud Client Libraries for Python. For more information, see the following documentation:

Install the client library

Install the client library in a virtual environment by using pip:

pip install google-cloud-resource-manager

Ruby

This page contains information about getting started with the Cloud Resource Manager API by using the Google API Client Library for Ruby. For more information, see the following documentation:

Install the google-api-client gem

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

If you haven't installed the Google API Client Library for Ruby before, install by using RubyGems:

gem install google-api-client

If you already have the gem installed, update to the latest version:

gem update -y google-api-client

Get started with the Google API Client Library for Ruby

To learn how to make your first request, see the Get started guide.

Available Cloud Resource Manager API versions

The table below lists the versions of the Cloud Resource Manager API that are available. Resource Manager API methods are split between each of the versions listed below. You can try out the methods available in each version from right within your browser by using the APIs Explorer.

Version Access method Description
v1 APIs Explorer The v1 Resource Manager API contains methods related to managing projects and organizations.
v1beta1 APIs Explorer The v1beta1 Resource Manager API contains experimental versions of the v1 API methods.
v2 APIs Explorer The v2 Resource Manager API contains methods related to managing folders.
v2beta1 APIs Explorer The v2beta1 Resource Manager API contains experimental versions of the v2 API methods.
v3 APIs Explorer The v3 Resource Manager API contains methods related to managing projects, folders, organizations, liens, and tags.