Install & Compatibility
Where this runs
tested against v0.9.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 1.946s · 68.1MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 5.2s · import 1.454s · 66MB
66MB installed
● package 66MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
ApiKeysClient
✓ from google.cloud.api_keys_v2 import ApiKeysClient
✗ from google.cloud import api_keys_v2
Basic usage: list all API keys for a GCP project. Requires a service account key or ADC set up.
import os
from google.cloud import api_keys_v2
from google.cloud.api_keys_v2 import Key, OperationMetadata
from google.cloud.api_keys_v2.services.api_keys.transports import ApiKeysGrpcTransport
def quickstart():
client = api_keys_v2.ApiKeysClient()
parent = f"projects/{os.environ.get('GOOGLE_CLOUD_PROJECT', 'my-project')}/locations/global"
# List API keys
request = api_keys_v2.ListKeysRequest(parent=parent)
page_result = client.list_keys(request=request)
for response in page_result:
print(f"Key: {response.name}")
if __name__ == "__main__":
quickstart()
Upgrade
Version history
0.9.0latest on PyPI · released Jun 3, 2026
Audit
Dependencies
No dependency data recorded yet.