chore: Update discovery artifacts (#2859) ## Deleted keys were detected in the following stable discovery artifacts: searchads360 v23 https://togithub.com/googleapis/google-api-python-client/commit/cdf46be9b46944a433b2fab20ee18b99ac8b2945 servicecontrol v1 https://togithub.com/googleapis/google-api-python-client/commit/d4a7389258f7bc7c3ebb95722a892acdd3482e27 servicecontrol v2 https://togithub.com/googleapis/google-api-python-client/commit/d4a7389258f7bc7c3ebb95722a892acdd3482e27 ## Discovery Artifact Change Summary: feat(agentregistry): update the api https://togithub.com/googleapis/google-api-python-client/commit/b953506a3f4170aad93e0d375419baf894b26a24 feat(aiplatform): update the api https://togithub.com/googleapis/google-api-python-client/commit/51f226c774a5bcd2ea66814492f5b917cc6f5e7d feat(androidpublisher): update the api https://togithub.com/googleapis/google-api-python-client/commit/215b687e5ee25af5db1ae069ce75f86c963d49ee feat(apphub): update the api https://togithub.com/googleapis/google-api-python-client/commit/953fbc4707d62c19936623357371a23dc39c066a feat(auditmanager): update the api https://togithub.com/googleapis/google-api-python-client/commit/14ebe821b701ee67469b7251a621f674a39d9c20 feat(backupdr): update the api https://togithub.com/googleapis/google-api-python-client/commit/a412eacf8499870fcb92bbf60e23bab86c96ebe6 feat(bigquerydatapolicy): update the api https://togithub.com/googleapis/google-api-python-client/commit/823b9be41d8b40af878735223fdd548e401cc039 feat(bigqueryreservation): update the api https://togithub.com/googleapis/google-api-python-client/commit/0d32f1f34181426932aae496f8be986bd46ea5fc feat(dataflow): update the api https://togithub.com/googleapis/google-api-python-client/commit/d50b6f1068b754b91d71bee48202f8c95f3de10d fix(dataportability): update the api https://togithub.com/googleapis/google-api-python-client/commit/26ccec92b108df26ed2804dbff45af011b6ff656 fix(deepreview): update the api https://togithub.com/googleapis/google-api-python-client/commit/5fa210ae1289c1f057257b14ff51eee8380305a4 feat(deploymentmanager): update the api https://togithub.com/googleapis/google-api-python-client/commit/bd8f3ebe864e2c17fac9341edb27104ed820af94 feat(devicerun): update the api https://togithub.com/googleapis/google-api-python-client/commit/6510be4191c590731c8e6e1e08237327b4f49871 feat(displayvideo): update the api https://togithub.com/googleapis/google-api-python-client/commit/91450a12794afea4cbdb15bc8144669c0f68b847 feat(firebase): update the api https://togithub.com/googleapis/google-api-python-client/commit/9de36641bdd1ba86f3baf9246de33bf8702ec6e4 feat(firebasecrashlytics): update the api https://togithub.com/googleapis/google-api-python-client/commit/628ae44ac088365358c6f0a3fac6e48d40e40545 feat(firebaseml): update the api https://togithub.com/googleapis/google-api-python-client/commit/fea1790be3615fc830de9ecd15c84dbdabb22b48 feat(networkservices): update the api https://togithub.com/googleapis/google-api-python-client/commit/ac83514d7854a70364358469277c48324b964df9 feat(observability): update the api https://togithub.com/googleapis/google-api-python-client/commit/7c152fbf9c909a059162d0272ecd832c30930e91 feat(saasservicemgmt): update the api https://togithub.com/googleapis/google-api-python-client/commit/4822fa741a64423f6ccc3fd0dc0677e9b8da7d42 feat(searchads360): update the api https://togithub.com/googleapis/google-api-python-client/commit/cdf46be9b46944a433b2fab20ee18b99ac8b2945 feat(servicecontrol): update the api https://togithub.com/googleapis/google-api-python-client/commit/d4a7389258f7bc7c3ebb95722a892acdd3482e27 feat(spanner): update the api https://togithub.com/googleapis/google-api-python-client/commit/e98bc107e93606eb12124b75db04706cc11cc906 feat(testing): update the api https://togithub.com/googleapis/google-api-python-client/commit/8adc2706f583a2c190bcbecdd1b83a51366310b9 feat(travelimpactmodel): update the api https://togithub.com/googleapis/google-api-python-client/commit/def150f1a591f91334a5a11514c5a719f0fcba58 feat(workstations): update the api https://togithub.com/googleapis/google-api-python-client/commit/7abf2a67012bf0a8d3a40631384618a5cb351ebf
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, 3.14, and 3.15 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.