Skip to main content

Google Cloud Policy Troubleshooter API client library

Project description

stable pypi versions

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:

  1. Select or create a Cloud Platform project.

  2. Enable billing for your project.

  3. Enable the IAM Policy Troubleshooter API.

  4. Setup Authentication.

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

Project details


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

File details

Details for the file google-cloud-policy-troubleshooter-1.11.4.tar.gz.

File metadata

File hashes

Hashes for google-cloud-policy-troubleshooter-1.11.4.tar.gz
Algorithm Hash digest
SHA256 d83aee953086f206203db183c47a6a00b9d2ea19c89880616d9d96999f7ab801
MD5 e4250c3d3d2079dab57b676084bf11e3
BLAKE2b-256 4fe9e5e7b617012ee1a5e3df1b3fa91452aa5dcce3ec931e83e6361bdeeb40c3

See more details on using hashes here.

Provenance

File details

Details for the file google_cloud_policy_troubleshooter-1.11.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for google_cloud_policy_troubleshooter-1.11.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f2286689bf556e02ffe0e1f939e1baa9dccc8c8d7d4de78bb9ee60157a987e92
MD5 de2e83d9d4220b4a0be96fb177dd6eba
BLAKE2b-256 0cee624715ff407b718139eda2e0ecba4bceb0725824c47bc2916eba31f1bee2

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page