Python Client for Cloud Identity and Access Management API¶
Cloud Identity and Access Management API: Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls.
Quick Start¶
In order to use this library, you first need to go through the following steps:
Installation¶
Install this library in a virtualenv using pip. virtualenv is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions.
With virtualenv, it’s possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.
Code samples and snippets¶
Code samples and snippets live in the samples/ folder.
Supported Python Versions¶
Our client libraries are compatible with all current active and maintenance versions of Python.
Python >= 3.7
Unsupported Python Versions¶
Python <= 3.6
If you are using an end-of-life version of Python, we recommend that you update as soon as possible to an actively supported version.
Mac/Linux¶
pip install virtualenv
virtualenv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install google-cloud-iam
Windows¶
pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install google-cloud-iam
Next Steps¶
Read the Client Library Documentation for Cloud Identity and Access Management API to see other available methods on the client.
Read the Cloud Identity and Access Management API Product documentation to learn more about the product and see How-to Guides.
View this README to see the full list of Cloud APIs that we cover.
Note
Because this client uses grpc
library, it is safe to
share instances across threads. In multiprocessing scenarios, the best
practice is to create client instances after the invocation of
os.fork()
by multiprocessing.pool.Pool
or
multiprocessing.Process
.
API Reference¶
API Reference¶
API Reference¶
Migration Guide¶
See the guide below for instructions on migrating to the latest version.
Changelog¶
For a list of all google-cloud-iam
releases:
- Changelog
- 2.9.0 (2022-10-24)
- 2.8.2 (2022-08-11)
- 2.8.1 (2022-07-16)
- 2.8.0 (2022-07-14)
- 2.7.0 (2022-06-27)
- 2.6.2 (2022-06-03)
- 2.6.1 (2022-03-05)
- 2.6.0 (2022-02-26)
- 2.5.1 (2021-11-01)
- 2.5.0 (2021-10-14)
- 2.4.0 (2021-10-08)
- 2.3.2 (2021-09-24)
- 2.3.1 (2021-07-26)
- 2.3.0 (2021-07-01)
- 2.2.0 (2021-05-28)
- 2.1.0 (2021-01-25)
- 2.0.0 (2020-07-27)
- 1.0.1 (2020-06-29)
- 1.0.0 (2020-05-19)
- 0.3.0 (2020-02-03)
- 0.2.1
- 0.2.0
- 0.1.0