Python Client for Metrics Scopes
Metrics Scopes: Manages your Cloud Monitoring data and configurations.
Quick Start
In order to use this library, you first need to go through the following steps:
Installation
Install this library in a virtual environment usingvenv.venv is a tool thatcreates isolated Python environments. These isolated environments can have separateversions of Python packages, which allows you to isolate one project’s dependenciesfrom the dependencies of other projects.
Withvenv, it’s possible to install this library without needing systeminstall permissions, and without clashing with the installed systemdependencies.
Code samples and snippets
Code samples and snippets live in thesamples/ folder.
Supported Python Versions
Our client libraries are compatible with all currentactive andmaintenance versions ofPython.
Python >= 3.7
Unsupported Python Versions
Python <= 3.6
If you are using anend-of-lifeversion 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/activatepip install google-cloud-monitoring-metrics-scopes
Windows
py -m venv <your-env>.\<your-env>\Scripts\activatepip install google-cloud-monitoring-metrics-scopes
Next Steps
Read theClient Library Documentation for Metrics Scopesto see other available methods on the client.
Read theMetrics Scopes Product documentation to learnmore about the product and see How-to Guides.
View thisREADME to see the full list of CloudAPIs that we cover.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-18 UTC.