> [!WARNING]
>
> **Beta**
>
>
> This product or feature is
>
> subject to the "Pre-GA Offerings Terms" in the General Service Terms section
> of the [Service Specific
> Terms](https://docs.cloud.google.com/terms/service-terms#1).
>
> Pre-GA products and features are available "as is" and might have limited support.
>
> For more information, see the
> [launch stage descriptions](https://cloud.google.com/products/#product-launch-stages).

These autogenerated Google API Client Libraries are useful for calling the
Service Management API. When you use these libraries, your apps benefit
from better language integration, improved security, and support for making
authenticated calls.

## Service Management API client libraries

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

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.

### Dart

Get the latest [Service Management API client library for Dart](https://pub.dev/packages/googleapis). Read the
client library's [developer's guide](https://pub.dev/documentation/googleapis/latest/).

### Go

Get the latest [Service Management 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

<br />


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

- Browse the [Javadoc reference for the Service Management API](https://googleapis.dev/java/google-api-services-servicemanagement/latest/).
- Read the [Developer's Guide for the Google API Client Library for Java](https://github.com/googleapis/google-api-java-client/).
- Interact with this API in your browser using the [APIs Explorer for the Service Management API](https://developers.google.com/apis-explorer/#p/servicemanagement/v1/).

## 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/service-infrastructure/docs/service-management/libraries_66191834e7455c785171a25f8e9e461b55093f6429b2704989378bed60d5d8b0.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-servicemanagement%22).
Gradle

Add the following to your `build.gradle` file:
<iframe src="https:///frame/service-infrastructure/docs/service-management/libraries_92cfbcd32645e995ed3bbac7108fdc2f41f9b42b10827dfad7a6b42e220e9eaa.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-servicemanagement%22).

### JavaScript

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

### .NET


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

- Browse the [.NET reference documentation for the Service Management API](https://googleapis.dev/dotnet/Google.Apis/latest/api/Google.Apis.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).
- Interact with this API in your browser using the [APIs Explorer for the Service Management API](https://developers.google.com/apis-explorer/#p/servicemanagement/v1/).

## Downloading the library

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

### Node.js

Get the latest [Service Management 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 [Service Management 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 [Service Management 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 Service Management API by using
the Google API Client Library for Python (v1/v2). For more information, see the following documentation:

- Browse the [PyDoc reference for the Service Management API](https://googleapis.github.io/google-api-python-client/docs/dyn/servicemanagement_v1.html).
- Read the [Developer's guide for the Google API Client Library for Python (v1/v2)](https://docs.cloud.google.com/api-client-library/python).
- Interact with this API in your browser using the [APIs Explorer for the Service Management API](https://developers.google.com/apis-explorer/#p/servicemanagement/v1/).

## System requirements

- Operating systems:
  - Linux
  - macOS X
  - Windows
- [The v1 client library requires Python 2.7 or higher. The v2 client library requires 3.7 or higher.](http://python.org/download/)

## Install the client library

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

### Managed install

Use pip or setuptools to manage your installation. You might
need to run `sudo` first.

- [pip](http://pypi.python.org/pypi/pip) (preferred):

  ```
  pip install --upgrade google-api-python-client
  ```
- [Setuptools](http://pypi.python.org/pypi/setuptools):

  ```
  easy_install --upgrade google-api-python-client
  ```

### Manual install

1. [Download the latest client
   library for Python](https://pypi.python.org/pypi/google-api-python-client/).
2. Unpack the code.
3. Install:

   ```
   python setup.py install
   ```

### App Engine

Because the Python client libraries aren't installed in the
[App Engine Python runtime environment](https://cloud.google.com/appengine/docs/python/),
you must [copy them into your application](https://cloud.google.com/appengine/docs/python/tools/libraries27#vendoring) just like third-party libraries.

<br />

### Ruby


This page contains information about getting started with the Service Management 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).
- Interact with this API in your browser using the [APIs Explorer for the Service Management API](https://developers.google.com/apis-explorer/#p/servicemanagement/v1/).

## 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).

<br />

## Other ways to access the Service Management API

The following table lists other ways to access the Service Management API:

| Access method | Description |
| [APIs Explorer](https://developers.google.com/apis-explorer/#p/servicemanagement/v1/) | An interactive tool that lets you try out Google APIs right from your browser. |
|---|---|