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.6.tar.gz (57.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

google_cloud_policysimulator-0.1.6-py3-none-any.whl (56.3 kB view details)

Uploaded Python 3

File details

Details for the file google-cloud-policysimulator-0.1.6.tar.gz.

File metadata

File hashes

Hashes for google-cloud-policysimulator-0.1.6.tar.gz
Algorithm Hash digest
SHA256 dbb5575fc48f1993dec53760a505e7cfecde67396158f38f36aa4373ea8a441b
MD5 5046baef9ce554640920a38f13758902
BLAKE2b-256 dbc9135afafc005d46222d39da3489c9ef0a5ba604530ca34b2d047837468b22

See more details on using hashes here.

File details

Details for the file google_cloud_policysimulator-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for google_cloud_policysimulator-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e228f9e9523424e15a3c32ca7b041972946190035aac339435af48a2dcbf7c95
MD5 edbfc360ec187fbfbb8c552946819feb
BLAKE2b-256 23bec93358ab2bd79c22a60ec2e90a3df2a50eab457e0a39eb0c5d7ede4e5113

See more details on using hashes here.

Supported by

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