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](https://github.com/google/google-api-go-client). Read the client
library's
[developer's guide](https://github.com/google/google-api-go-client).

### 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:

- Browse the [Javadoc reference for the Cloud Resource Manager API](https://googleapis.dev/java/google-api-services-cloudresourcemanager/latest/).
- Read the [Developer's Guide for the Google API Client Library for Java](https://github.com/googleapis/google-api-java-client/).

## Add the client library to your project

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


Maven

Add the following to your `pom.xml` file:
<iframe src="https:///frame/resource-manager/docs/libraries_3b43f9bcbd34b7bed5a0e5c295d38f3e601ce977bbf14b5ae59421941fe45014.frame" class="framebox inherit-locale " allow="clipboard-write https://" allowfullscreen is-upgraded></iframe>

See [all versions available on the Maven Central Repository](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.google.apis%22%20AND%20a%3A%22google-api-services-cloudresourcemanager%22).
Gradle

Add the following to your `build.gradle` file:
<iframe src="https:///frame/resource-manager/docs/libraries_4cc73966142a94280303b826027fbb9159084af1e55988c7b07bdf78b22538be.frame" class="framebox inherit-locale " allow="clipboard-write https://" allowfullscreen is-upgraded></iframe>

See [all versions available on the Maven Central Repository](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.google.apis%22%20AND%20a%3A%22google-api-services-cloudresourcemanager%22).

### JavaScript

Read the client library's
[developer's guide](https://docs.cloud.google.com/api-client-library/javascript/start/start-js).

### 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:

- Browse the [.NET reference documentation for the Cloud Resource Manager API](https://googleapis.dev/dotnet/Google.Apis.CloudResourceManager.v3/latest/api/Google.Apis.CloudResourceManager.v3.html).
- Read the [Developer's guide for the Google API Client Library for .NET](https://docs.cloud.google.com/api-client-library/dotnet/get_started).

## Downloading the library

Install the NuGet package:
[Google.Apis.CloudResourceManager.v3](https://www.nuget.org/packages/Google.Apis.CloudResourceManager.v3).

### Node.js

Get the latest
[Cloud Resource Manager API client library for Node.js](https://github.com/google/google-api-nodejs-client/). Read the client
library's
[developer's guide](https://github.com/google/google-api-nodejs-client/).

### Obj-C

Get the latest
[Cloud Resource Manager API client library for Objective-C](https://github.com/google/google-api-objectivec-client-for-rest). Read the client
library's
[developer's guide](https://github.com/google/google-api-objectivec-client-for-rest/wiki).

### PHP

Get the latest
[Cloud Resource Manager API client library for PHP](https://github.com/google/google-api-php-client). Read the client
library's
[developer's guide](https://docs.cloud.google.com/api-client-library/php).

### 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:

- Browse the [Python
  client library reference documentation for the
  Cloud Resource Manager API](https://docs.cloud.google.com/python/docs/reference/cloudresourcemanager/latest).
- View the [`google-cloud-resource-manager` package on
  PyPI](https://pypi.org/project/google-cloud-resource-manager/).

## 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:

- Read the [Get started guide for the Google API Client Library for Ruby](https://docs.cloud.google.com/api-client-library/ruby/start/get_started).

## 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
```

<br />


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

```
gem update -y google-api-client
```

<br />

## Get started with the Google API Client Library for Ruby


To learn how to make your first request, see the
[Get started guide](https://docs.cloud.google.com/api-client-library/ruby/start/get_started).

## 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](https://developers.google.com/apis-explorer/#p/cloudresourcemanager/v1/) | The v1 Resource Manager API contains methods related to managing projects and organizations. |
| v1beta1 | [APIs Explorer](https://developers.google.com/apis-explorer/#p/cloudresourcemanager/v1beta1/) | The v1beta1 Resource Manager API contains experimental versions of the v1 API methods. |
| v2 | [APIs Explorer](https://developers.google.com/apis-explorer/#p/cloudresourcemanager/v2/) | The v2 Resource Manager API contains methods related to managing folders. |
| v2beta1 | [APIs Explorer](https://developers.google.com/apis-explorer/#p/cloudresourcemanager/v2beta1/) | The v2beta1 Resource Manager API contains experimental versions of the v2 API methods. |
| v3 | [APIs Explorer](https://developers.google.com/apis-explorer/#p/cloudresourcemanager/v3/) | The v3 Resource Manager API contains methods related to managing projects, folders, organizations, liens, and tags. |