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

google_cloud_policy_troubleshooter-1.12.1-py2.py3-none-any.whl (47.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file google_cloud_policy_troubleshooter-1.12.1.tar.gz.

File metadata

File hashes

Hashes for google_cloud_policy_troubleshooter-1.12.1.tar.gz
Algorithm Hash digest
SHA256 e1b5c3249a19ba2e0aa5644e51503b8e6507b897d1758903f58fcb7a1ec00674
MD5 87281805581f4cefccc4e4315bac6a83
BLAKE2b-256 157b7ca7b0c677e621eba4573d84e91f87e90cf499b17c6618e68ca0c641616f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_cloud_policy_troubleshooter-1.12.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d3a99d7a621fe83777df8f477e81af9b8f4bcc290e357bcbabade45c5bfe4e4d
MD5 05f6fd44ca9c21fcff21226ddaff480d
BLAKE2b-256 0c54a0e613682672caf7bf9f9ff247011e0c672383a1d93cd0a3d30fefdd5b40

See more details on using hashes here.

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