Google Cloud Policy Troubleshooter API client library
Project description
IAM Policy Troubleshooter API: makes it easier to understand why a user has access to a resource or doesn’t have permission to call an API. Given an email, resource, and permission, Policy Troubleshooter examines all Identity and Access Management (IAM) policies that apply to the resource. It then reveals whether the member’s roles include the permission on that resource and, if so, which policies bind the member to those roles.
Quick Start
In order to use this library, you first need to go through the following steps:
Installation
Install this library in a virtual environment using venv. venv is a tool that creates isolated Python environments. These isolated environments can have separate versions of Python packages, which allows you to isolate one project’s dependencies from the dependencies of other projects.
With venv, 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
python3 -m venv <your-env>
source <your-env>/bin/activate
pip install google-cloud-policy-troubleshooter
Windows
py -m venv <your-env>
.\<your-env>\Scripts\activate
pip install google-cloud-policy-troubleshooter
Next Steps
Read the Client Library Documentation for IAM Policy Troubleshooter API to see other available methods on the client.
Read the IAM Policy Troubleshooter 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for google_cloud_policy_troubleshooter-1.11.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd054e187ea98b6f09db865a68fa9e5cbc9ad42b05e64e9e29e5a89f42c63cc3 |
|
MD5 | 318b404601b831fe7ba432047098abeb |
|
BLAKE2b-256 | 443878c76895f7a7d6ea5c1aff9d63bb6359f8698e50ab19b73ae69c7e5410de |
Hashes for google_cloud_policy_troubleshooter-1.11.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9768fac95c71f7095e042bc1a318decd06232bbf8cce79c380417e052fe22da4 |
|
MD5 | 41fe752d34b283f8b1eff34ad2bc178d |
|
BLAKE2b-256 | 7267c216de2234b8585d7acb964604003510c3b2cb01f5fd297cc108827aa3fa |