Skip to main content

Google Cloud Policysimulator API client library

Project description

preview pypi versions

Policy Simulator API: Policy Simulator is a collection of endpoints for creating, running, and viewing a Replay. A Replay is a type of simulation that lets you see how your members’ access to resources might change if you changed your IAM policy.

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 Policy Simulator 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-policysimulator

Windows

py -m venv <your-env>
.\<your-env>\Scripts\activate
pip install google-cloud-policysimulator

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

google-cloud-policysimulator-0.1.2rc0.tar.gz (52.2 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file google-cloud-policysimulator-0.1.2rc0.tar.gz.

File metadata

File hashes

Hashes for google-cloud-policysimulator-0.1.2rc0.tar.gz
Algorithm Hash digest
SHA256 a151eb33cbba6f3892c3951f4462019e52db38af6d75a0f62acf7c13be9353b9
MD5 f219caaf8445bb3d187ecce8221f70f9
BLAKE2b-256 085e7052a409f11abdd3baf4e5805a03f10327881691f76a9955fca5e9ff1cdb

See more details on using hashes here.

Provenance

File details

Details for the file google_cloud_policysimulator-0.1.2rc0-py3-none-any.whl.

File metadata

File hashes

Hashes for google_cloud_policysimulator-0.1.2rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ef1b1091c072a6d298e9497b9a18cbed0d4c4fb09bc3dbbcf8e75b83e2e8457
MD5 4914405af928b62522a29a712b0c488c
BLAKE2b-256 fcd69bf7b9a1f54d80e01630222000e2fd48a4f0a4a2c211eda9507ac6daf7b2

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