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

Uploaded Source

Built Distribution

google_cloud_org_policy-1.8.3-py2.py3-none-any.whl (62.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file google-cloud-org-policy-1.8.3.tar.gz.

File metadata

File hashes

Hashes for google-cloud-org-policy-1.8.3.tar.gz
Algorithm Hash digest
SHA256 554faf07ec760c4970ce5d5c3bba93755f75327d62d83b2adac69f9ccaf0baa2
MD5 2bbe4c212f37cb602b9aa6fb196fcc85
BLAKE2b-256 a3347d07be3be7ab54b88d03770ec65875a58675eb91d86a322a27186f91b776

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for google_cloud_org_policy-1.8.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1838f2690048151d18fbfbe4c8d9d089cb1da2796b2b4758f2a9230086fa12b6
MD5 827dc7c3f7a833c877811c80fc34a72d
BLAKE2b-256 b4bdb7a31a5f6e670f17c5f32927bdaa9215546397acb0b2f5212e67ac0d1786

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