Python Client for IAM Policy Troubleshooter API
===============================================
|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.
- `Client Library Documentation`_
- `Product Documentation`_
.. |stable| image:: https://img.shields.io/badge/support-stable-gold.svg
:target: https://github.com/googleapis/google-cloud-python/blob/main/README.rst#stability-levels
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-policy-troubleshooter.svg
:target: https://pypi.org/project/google-cloud-policy-troubleshooter/
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-policy-troubleshooter.svg
:target: https://pypi.org/project/google-cloud-policy-troubleshooter/
.. _IAM Policy Troubleshooter API: https://cloud.google.com/iam/docs/troubleshooting-access#rest-api/
.. _Client Library Documentation: https://cloud.google.com/python/docs/reference/policytroubleshooter/latest/summary_overview
.. _Product Documentation: https://cloud.google.com/iam/docs/troubleshooting-access#rest-api/
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.`_
.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
.. _Enable the IAM Policy Troubleshooter API.: https://cloud.google.com/iam/docs/troubleshooting-access#rest-api/
.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
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.
.. _`venv`: https://docs.python.org/3/library/venv.html
Code samples and snippets
~~~~~~~~~~~~~~~~~~~~~~~~~
Code samples and snippets live in the `samples/`_ folder.
.. _samples/: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-policy-troubleshooter/samples
Supported Python Versions
^^^^^^^^^^^^^^^^^^^^^^^^^
Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
Python.
Python >= 3.7
.. _active: https://devguide.python.org/devcycle/#in-development-main-branch
.. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
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.
.. _end-of-life: https://devguide.python.org/devcycle/#end-of-life-branches
Mac/Linux
^^^^^^^^^
.. code-block:: console
python3 -m venv <your-env>
source <your-env>/bin/activate
pip install google-cloud-policy-troubleshooter
Windows
^^^^^^^
.. code-block:: console
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.
.. _IAM Policy Troubleshooter API Product documentation: https://cloud.google.com/iam/docs/troubleshooting-access#rest-api/
.. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
Raw data
{
"_id": null,
"home_page": "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-policy-troubleshooter",
"name": "google-cloud-policy-troubleshooter",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": null,
"author": "Google LLC",
"author_email": "googleapis-packages@google.com",
"download_url": "https://files.pythonhosted.org/packages/44/38/78c76895f7a7d6ea5c1aff9d63bb6359f8698e50ab19b73ae69c7e5410de/google_cloud_policy_troubleshooter-1.11.5.tar.gz",
"platform": "Posix; MacOS X; Windows",
"description": "Python Client for IAM Policy Troubleshooter API\n===============================================\n\n|stable| |pypi| |versions|\n\n`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.\n\n- `Client Library Documentation`_\n- `Product Documentation`_\n\n.. |stable| image:: https://img.shields.io/badge/support-stable-gold.svg\n :target: https://github.com/googleapis/google-cloud-python/blob/main/README.rst#stability-levels\n.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-policy-troubleshooter.svg\n :target: https://pypi.org/project/google-cloud-policy-troubleshooter/\n.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-policy-troubleshooter.svg\n :target: https://pypi.org/project/google-cloud-policy-troubleshooter/\n.. _IAM Policy Troubleshooter API: https://cloud.google.com/iam/docs/troubleshooting-access#rest-api/\n.. _Client Library Documentation: https://cloud.google.com/python/docs/reference/policytroubleshooter/latest/summary_overview\n.. _Product Documentation: https://cloud.google.com/iam/docs/troubleshooting-access#rest-api/\n\nQuick Start\n-----------\n\nIn order to use this library, you first need to go through the following steps:\n\n1. `Select or create a Cloud Platform project.`_\n2. `Enable billing for your project.`_\n3. `Enable the IAM Policy Troubleshooter API.`_\n4. `Setup Authentication.`_\n\n.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project\n.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project\n.. _Enable the IAM Policy Troubleshooter API.: https://cloud.google.com/iam/docs/troubleshooting-access#rest-api/\n.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html\n\nInstallation\n~~~~~~~~~~~~\n\nInstall this library in a virtual environment using `venv`_. `venv`_ is a tool that\ncreates isolated Python environments. These isolated environments can have separate\nversions of Python packages, which allows you to isolate one project's dependencies\nfrom the dependencies of other projects.\n\nWith `venv`_, it's possible to install this library without needing system\ninstall permissions, and without clashing with the installed system\ndependencies.\n\n.. _`venv`: https://docs.python.org/3/library/venv.html\n\n\nCode samples and snippets\n~~~~~~~~~~~~~~~~~~~~~~~~~\n\nCode samples and snippets live in the `samples/`_ folder.\n\n.. _samples/: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-policy-troubleshooter/samples\n\n\nSupported Python Versions\n^^^^^^^^^^^^^^^^^^^^^^^^^\nOur client libraries are compatible with all current `active`_ and `maintenance`_ versions of\nPython.\n\nPython >= 3.7\n\n.. _active: https://devguide.python.org/devcycle/#in-development-main-branch\n.. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches\n\nUnsupported Python Versions\n^^^^^^^^^^^^^^^^^^^^^^^^^^^\nPython <= 3.6\n\nIf you are using an `end-of-life`_\nversion of Python, we recommend that you update as soon as possible to an actively supported version.\n\n.. _end-of-life: https://devguide.python.org/devcycle/#end-of-life-branches\n\nMac/Linux\n^^^^^^^^^\n\n.. code-block:: console\n\n python3 -m venv <your-env>\n source <your-env>/bin/activate\n pip install google-cloud-policy-troubleshooter\n\n\nWindows\n^^^^^^^\n\n.. code-block:: console\n\n py -m venv <your-env>\n .\\<your-env>\\Scripts\\activate\n pip install google-cloud-policy-troubleshooter\n\nNext Steps\n~~~~~~~~~~\n\n- Read the `Client Library Documentation`_ for IAM Policy Troubleshooter API\n to see other available methods on the client.\n- Read the `IAM Policy Troubleshooter API Product documentation`_ to learn\n more about the product and see How-to Guides.\n- View this `README`_ to see the full list of Cloud\n APIs that we cover.\n\n.. _IAM Policy Troubleshooter API Product documentation: https://cloud.google.com/iam/docs/troubleshooting-access#rest-api/\n.. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "Google Cloud Policy Troubleshooter API client library",
"version": "1.11.5",
"project_urls": {
"Homepage": "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-policy-troubleshooter"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7267c216de2234b8585d7acb964604003510c3b2cb01f5fd297cc108827aa3fa",
"md5": "41fe752d34b283f8b1eff34ad2bc178d",
"sha256": "9768fac95c71f7095e042bc1a318decd06232bbf8cce79c380417e052fe22da4"
},
"downloads": -1,
"filename": "google_cloud_policy_troubleshooter-1.11.5-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "41fe752d34b283f8b1eff34ad2bc178d",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.7",
"size": 45020,
"upload_time": "2024-07-30T21:26:28",
"upload_time_iso_8601": "2024-07-30T21:26:28.095019Z",
"url": "https://files.pythonhosted.org/packages/72/67/c216de2234b8585d7acb964604003510c3b2cb01f5fd297cc108827aa3fa/google_cloud_policy_troubleshooter-1.11.5-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "443878c76895f7a7d6ea5c1aff9d63bb6359f8698e50ab19b73ae69c7e5410de",
"md5": "318b404601b831fe7ba432047098abeb",
"sha256": "dd054e187ea98b6f09db865a68fa9e5cbc9ad42b05e64e9e29e5a89f42c63cc3"
},
"downloads": -1,
"filename": "google_cloud_policy_troubleshooter-1.11.5.tar.gz",
"has_sig": false,
"md5_digest": "318b404601b831fe7ba432047098abeb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 38604,
"upload_time": "2024-07-30T21:26:29",
"upload_time_iso_8601": "2024-07-30T21:26:29.363397Z",
"url": "https://files.pythonhosted.org/packages/44/38/78c76895f7a7d6ea5c1aff9d63bb6359f8698e50ab19b73ae69c7e5410de/google_cloud_policy_troubleshooter-1.11.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-30 21:26:29",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "googleapis",
"github_project": "google-cloud-python",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "google-cloud-policy-troubleshooter"
}