GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing googleapis.dev — Python Client for Google Workspace Events — google-apps-events-subscriptions documentation
As of January 1, 2020 this library no longer supports Python 2 on the latest released version.
Library versions released prior to that date will continue to be available. For more information please
visit Python 2 support on Google Cloud.
Python Client for Google Workspace Events¶Google Workspace Events: The Google Workspace Events API lets you subscribe to events and manage change notifications across Google Workspace applications. 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 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.10, including 3.14 Unsupported Python Versions¶Python <= 3.9 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-apps-events-subscriptions Windows¶py -m venv <your-env> .\<your-env>\Scripts\activate pip install google-apps-events-subscriptions Next Steps¶
Logging¶This library uses the standard Python
Simple, environment-based configuration¶To enable logging for this library without any changes in your code, set the A logging scope is a period-separated namespace that begins with
NOTE: If the logging scope is invalid, the library does not set up any logging handlers. Environment-Based Examples¶
export GOOGLE_SDK_PYTHON_LOGGING_SCOPE=google
export GOOGLE_SDK_PYTHON_LOGGING_SCOPE=google.cloud.library_v1
Advanced, code-based configuration¶You can also configure a valid logging scope using Python’s standard logging mechanism. Code-Based Examples¶
import logging from google.cloud import library_v1 base_logger = logging.getLogger("google") base_logger.addHandler(logging.StreamHandler()) base_logger.setLevel(logging.DEBUG)
import logging from google.cloud import library_v1 base_logger = logging.getLogger("google.cloud.library_v1") base_logger.addHandler(logging.StreamHandler()) base_logger.setLevel(logging.DEBUG) Logging details¶
Note Because this client uses This package includes clients for multiple versions of Google Workspace Events.
By default, you will get version API Reference¶API Reference¶Changelog¶For a list of all
|
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |