chore: Update discovery artifacts (#2818) ## Deleted keys were detected in the following stable discovery artifacts: cloudbuild v2 https://togithub.com/googleapis/google-api-python-client/commit/bd491dcafacde4db1a8cbbfa426b247ff1be63f5 games v1 https://togithub.com/googleapis/google-api-python-client/commit/5e78bece7eee2a86a0f4dff8bd5b6cba43010ae2 managedkafka v1 https://togithub.com/googleapis/google-api-python-client/commit/257d6bd428123245c6e1c88c9c623eb0a6802962 ## Deleted keys were detected in the following pre-stable discovery artifacts: aiplatform v1beta1 https://togithub.com/googleapis/google-api-python-client/commit/2efc53079fec2b2589dd7d4298f3db3a962d38ce discoveryengine v1alpha https://togithub.com/googleapis/google-api-python-client/commit/0bbe898254d312e22b2df83b97f89580d6fe671b ## Discovery Artifact Change Summary: feat(agentregistry): update the api https://togithub.com/googleapis/google-api-python-client/commit/7319764c93831281ff4465213879c97bb7c973a1 feat(aiplatform): update the api https://togithub.com/googleapis/google-api-python-client/commit/2efc53079fec2b2589dd7d4298f3db3a962d38ce feat(analyticsdata): update the api https://togithub.com/googleapis/google-api-python-client/commit/a856de7ac57f4a5706ae996fd7cedcfa2fe804e8 feat(apigee): update the api https://togithub.com/googleapis/google-api-python-client/commit/dcf39623e3b058e72423e4210e54c0dc1bd7e20c feat(apihub): update the api https://togithub.com/googleapis/google-api-python-client/commit/d922d33d502250ad0cf6c89ff8e9785d5e3307f5 fix(biglake): update the api https://togithub.com/googleapis/google-api-python-client/commit/94a2db13f17c2280241ed03f82632cd008117474 feat(chromemanagement): update the api https://togithub.com/googleapis/google-api-python-client/commit/211b1dd30373554fcf509e2fef595f1962123987 feat(cloudbuild): update the api https://togithub.com/googleapis/google-api-python-client/commit/bd491dcafacde4db1a8cbbfa426b247ff1be63f5 feat(compute): update the api https://togithub.com/googleapis/google-api-python-client/commit/e746b9b6a324b59286d62c2a65886ec51673fea3 feat(container): update the api https://togithub.com/googleapis/google-api-python-client/commit/d52b02d78bbd725b5cec059624dc9dc0845dd939 feat(dataform): update the api https://togithub.com/googleapis/google-api-python-client/commit/1220419093236c7e60aaa6f7804b08176b278863 feat(datamanager): update the api https://togithub.com/googleapis/google-api-python-client/commit/c82021baf1c4adc97dbf8f38d8bb9ca3e22c95cc feat(datamigration): update the api https://togithub.com/googleapis/google-api-python-client/commit/1bacbb5f468d6ace71bef5604eaf57cb870b623e feat(deploymentmanager): update the api https://togithub.com/googleapis/google-api-python-client/commit/b513cea108e43143b23f5e3aad6337bd0fb97009 feat(discoveryengine): update the api https://togithub.com/googleapis/google-api-python-client/commit/0bbe898254d312e22b2df83b97f89580d6fe671b feat(ftp): update the api https://togithub.com/googleapis/google-api-python-client/commit/252d5056a5011420f2be23456cc6658ab7fb6409 feat(games): update the api https://togithub.com/googleapis/google-api-python-client/commit/5e78bece7eee2a86a0f4dff8bd5b6cba43010ae2 feat(health): update the api https://togithub.com/googleapis/google-api-python-client/commit/93e36fc157eeddcf2e89380ea0900c6006ecbad4 feat(healthcare): update the api https://togithub.com/googleapis/google-api-python-client/commit/061939590846fe738730870f23900f7fd3eaf16d feat(managedkafka): update the api https://togithub.com/googleapis/google-api-python-client/commit/257d6bd428123245c6e1c88c9c623eb0a6802962 feat(merchantapi): update the api https://togithub.com/googleapis/google-api-python-client/commit/5696ab13a29ab010856fb65860d5d5fe33d501cc feat(monitoring): update the api https://togithub.com/googleapis/google-api-python-client/commit/c8071e0e37124a903a4ff9a9775dff3bb3b7a673 feat(networkconnectivity): update the api https://togithub.com/googleapis/google-api-python-client/commit/8e2b06f51c90be2bcca9f144852a26e41900015b feat(networkservices): update the api https://togithub.com/googleapis/google-api-python-client/commit/1d1ebb07bfcd830a6be623b1dcd763e369519398 feat(playintegrity): update the api https://togithub.com/googleapis/google-api-python-client/commit/4f5713fa1f43b54d7b7c6441672d489b3a3b39ba feat(run): update the api https://togithub.com/googleapis/google-api-python-client/commit/bea56ca27cf3698515dd0a1e300d596cf612b02b feat(webcontentpublisher): update the api https://togithub.com/googleapis/google-api-python-client/commit/27f9338abde9c7cc9b3d029e49653378d9c0b508 fix(workstations): update the api https://togithub.com/googleapis/google-api-python-client/commit/1340ff8e24b6edbd3397566bc91a7f2d49818d0d
This is the Google API Python client library for Google's discovery based APIs. To get started, please see the docs folder.
This library is considered complete and is in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.
This library is officially supported by Google. However, the maintainers of this repository recommend using Cloud Client Libraries for Python, where possible, for new code development. For more information, please visit Client Libraries Explained.
The 2.0 release of google-api-python-client includes a substantial reliability improvement, compared with 1.x, as discovery documents are now cached in the library rather than fetched dynamically. It is highly recommended to upgrade from v1.x to v2.x.
Only python 3.10 and newer is supported. If you are not able to upgrade python, then please continue to use version 1.x as we will continue supporting python 2.7+ in v1.
Discovery documents will no longer be retrieved dynamically when you call discovery.build(). The discovery documents will instead be retrieved from the client library directly. New versions of this library are released weekly. As a result of caching the discovery documents, the size of this package is at least 50 MB larger compared to the previous version.
Please see the Migration Guide for more information.
See the docs folder for more detailed instructions and additional documentation.
The maintainers of this repository recommend using Cloud Client Libraries for Python, where possible, for new code development due to the following reasons:
With Cloud Client Libraries for Python:
google-api-python-client is a single client library for all APIs. As a result, the total package size for google-api-python-client exceeds 50MB.For more information, please visit Client Libraries Explained.
Although there are many benefits to moving to Cloud Client Libraries for Python, the maintainers want to emphasize that google-api-python-client will continue to be supported.
For Google Ads API, we recommend using Google Ads API Client Library for Python.
For Google Firebase Admin API, we recommend using Firebase Admin Python SDK.
Install this library in a virtualenv using pip. virtualenv is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions.
With virtualenv, it's possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.
pip3 install virtualenv virtualenv <your-env> source <your-env>/bin/activate <your-env>/bin/pip install google-api-python-client
pip install virtualenv virtualenv <your-env> <your-env>\Scripts\activate <your-env>\Scripts\pip.exe install google-api-python-client
Python 3.10, 3.11, 3.12, 3.13, and 3.14 are fully supported and tested. This library may work on later versions of 3, but we do not currently run tests against those versions.
Python < 3.10
The following libraries will be installed when you install the client library:
For development you will also need the following libraries:
Please see our Contribution Guide. In particular, we love pull requests - but please make sure to sign the contributor license agreement.