Skip to main content

Google Cloud Org Policy API client library

Project description

stable pypi versions

Organization Policy API: The Organization Policy API allows users to configure governance rules on their GCP resources across the Cloud Resource Hierarchy.

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 Organization Policy 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-org-policy

Windows

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

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_org_policy-1.11.1.tar.gz (81.1 kB view details)

Uploaded Source

Built Distribution

google_cloud_org_policy-1.11.1-py2.py3-none-any.whl (71.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file google_cloud_org_policy-1.11.1.tar.gz.

File metadata

File hashes

Hashes for google_cloud_org_policy-1.11.1.tar.gz
Algorithm Hash digest
SHA256 13e1ffcb9506956b1e94cc281d4e01f403e49847909d32f184c7a5a30109b1af
MD5 d15acf655be162f91cfec20c7d53d97f
BLAKE2b-256 15b7b85682f2575cc468813504aafc4bb4d34d38d99b06e5a4106e77a3ce31ff

See more details on using hashes here.

File details

Details for the file google_cloud_org_policy-1.11.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for google_cloud_org_policy-1.11.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c715a4d8024e432a776961ca19bd4ce453bf7f4fab4450de1a6282a3c467ec9f
MD5 f406acaffe1589bc478dd3939fc47028
BLAKE2b-256 aa725ee5bb5cb4f497b50b368d7a14ed3ce9850f8a7582fcea76cfe37c49f547

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