chore: Update discovery artifacts (#2842) ## Deleted keys were detected in the following stable discovery artifacts: contactcenterinsights v1 https://togithub.com/googleapis/google-api-python-client/commit/507f35390943735d2b3157801b35a1adb244d6fa dialogflow v2 https://togithub.com/googleapis/google-api-python-client/commit/5235405b931954e3c2fddcf5f94b79a3228733eb drive v3 https://togithub.com/googleapis/google-api-python-client/commit/1a9f01658957c7dfc5f1e1dfa1fe95a346991089 firebasedataconnect v1 https://togithub.com/googleapis/google-api-python-client/commit/08e04d0263713e40daff761dd51d87418e15599a saasservicemgmt v1 https://togithub.com/googleapis/google-api-python-client/commit/0413b0731cd6ce7a191ab5ec2c6963ea5a2cb2a5 storage v1 https://togithub.com/googleapis/google-api-python-client/commit/647a44cbf3fbad4117a0b419f886e71e6ab011a7 ## Deleted keys were detected in the following pre-stable discovery artifacts: aiplatform v1beta1 https://togithub.com/googleapis/google-api-python-client/commit/b0b99458c2f5aa75cc3b8cde15187aa0de2d8bdb dialogflow v2beta1 https://togithub.com/googleapis/google-api-python-client/commit/5235405b931954e3c2fddcf5f94b79a3228733eb discoveryengine v1alpha https://togithub.com/googleapis/google-api-python-client/commit/f50f5d902327be81cc16772a822d717d3af636a7 firebasedataconnect v1beta https://togithub.com/googleapis/google-api-python-client/commit/08e04d0263713e40daff761dd51d87418e15599a health v4beta https://togithub.com/googleapis/google-api-python-client/commit/54a533649a4b63645087b2fe9606162481d30989 ## Discovery Artifact Change Summary: feat(agentregistry): update the api https://togithub.com/googleapis/google-api-python-client/commit/bb90521afa836ca2f71630cb75b423146201984e feat(aiplatform): update the api https://togithub.com/googleapis/google-api-python-client/commit/b0b99458c2f5aa75cc3b8cde15187aa0de2d8bdb feat(backupdr): update the api https://togithub.com/googleapis/google-api-python-client/commit/262d8f086bd3e6b2e5fdd5552b64ebb2e3c9702f feat(beyondcorp): update the api https://togithub.com/googleapis/google-api-python-client/commit/174f185c8a8edbb031541ceebfee65ca00416a6e feat(bigtableadmin): update the api https://togithub.com/googleapis/google-api-python-client/commit/3408876193be9bc4c7d121982397646d1756b608 feat(cloudbuild): update the api https://togithub.com/googleapis/google-api-python-client/commit/081595b44c8cd1e7d66210d2cf64659d72b7e4e9 feat(cloudresourcemanager): update the api https://togithub.com/googleapis/google-api-python-client/commit/bad3968455d598149bfae00038ed6616b4adc0f6 feat(composer): update the api https://togithub.com/googleapis/google-api-python-client/commit/367e21071f9644121f666cc01a1337b222ae985b feat(contactcenterinsights): update the api https://togithub.com/googleapis/google-api-python-client/commit/507f35390943735d2b3157801b35a1adb244d6fa feat(dataform): update the api https://togithub.com/googleapis/google-api-python-client/commit/83438bdb52e68d7864cdc36140125116596acfc5 feat(datalineage): update the api https://togithub.com/googleapis/google-api-python-client/commit/ba05d7c86874d121aa17fdcb5f46e49a5ec714bd feat(dataplex): update the api https://togithub.com/googleapis/google-api-python-client/commit/a8b09a5865b3d8c1f6e403da5276556413c8cd04 feat(dataproc): update the api https://togithub.com/googleapis/google-api-python-client/commit/001573874d3a0756cb6e67665d71c191256c8cc3 feat(devicerun): update the api https://togithub.com/googleapis/google-api-python-client/commit/a87049916c48b27e61d1efee518fff42de13f4e4 feat(dialogflow): update the api https://togithub.com/googleapis/google-api-python-client/commit/5235405b931954e3c2fddcf5f94b79a3228733eb feat(discoveryengine): update the api https://togithub.com/googleapis/google-api-python-client/commit/f50f5d902327be81cc16772a822d717d3af636a7 feat(drive): update the api https://togithub.com/googleapis/google-api-python-client/commit/1a9f01658957c7dfc5f1e1dfa1fe95a346991089 feat(fcm): update the api https://togithub.com/googleapis/google-api-python-client/commit/e4390a5ff072e0ba8d8a7afddc7f8d8d1283b2e1 feat(file): update the api https://togithub.com/googleapis/google-api-python-client/commit/60be8ea315c76deddab913619e685bda04f6e933 feat(firebaseappcheck): update the api https://togithub.com/googleapis/google-api-python-client/commit/726c9a0f931e43e9be15eb71e96cb35c9338dfad feat(firebasecrashlytics): update the api https://togithub.com/googleapis/google-api-python-client/commit/5f59c6cfc6266f3319b350dc097f7f19199ba333 feat(firebasedataconnect): update the api https://togithub.com/googleapis/google-api-python-client/commit/08e04d0263713e40daff761dd51d87418e15599a feat(health): update the api https://togithub.com/googleapis/google-api-python-client/commit/54a533649a4b63645087b2fe9606162481d30989 feat(iam): update the api https://togithub.com/googleapis/google-api-python-client/commit/d0b8c14255bfb66a0ac9f8f843be618d16ebd198 feat(networksecurity): update the api https://togithub.com/googleapis/google-api-python-client/commit/ba84fd8b08e18b43940cc52f9ff1146c57fef84f feat(notebooks): update the api https://togithub.com/googleapis/google-api-python-client/commit/b7c10cb48ff921ed0f815b2cc576e54c2304d143 feat(ondemandscanning): update the api https://togithub.com/googleapis/google-api-python-client/commit/c96e58502cc667d63820b96aff3a2dbffd66aad4 feat(oracledatabase): update the api https://togithub.com/googleapis/google-api-python-client/commit/039b8b37a1af4cb3645996a4599adf0bd53441d6 feat(saasservicemgmt): update the api https://togithub.com/googleapis/google-api-python-client/commit/0413b0731cd6ce7a191ab5ec2c6963ea5a2cb2a5 feat(spanner): update the api https://togithub.com/googleapis/google-api-python-client/commit/5ef0090ae632c70f8a8dbf5980993c2f284522ed feat(sqladmin): update the api https://togithub.com/googleapis/google-api-python-client/commit/0717a7d39b48561024f2aa17d7a45264c984d2eb feat(storage): update the api https://togithub.com/googleapis/google-api-python-client/commit/647a44cbf3fbad4117a0b419f886e71e6ab011a7 feat(webcontentpublisher): update the api https://togithub.com/googleapis/google-api-python-client/commit/63a5cfaa0c635e96ef5c29d6f491ce7af48a5be6
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.