chore: Update discovery artifacts (#2851)

## Deleted keys were detected in the following stable discovery artifacts:
agentregistry v1 https://togithub.com/googleapis/google-api-python-client/commit/12e7cceae6b600f0d83f08084d801c3e19ecc66d
bigtableadmin v2 https://togithub.com/googleapis/google-api-python-client/commit/20ff443c8966eb5439c7c14f67cada2172071e7e
deepreview v1 https://togithub.com/googleapis/google-api-python-client/commit/d81a397d1ece2c40a5eda409842455fba93beadb
oracledatabase v1 https://togithub.com/googleapis/google-api-python-client/commit/bae198fa31d7f102b2acb6031c506a98876747b2
webcontentpublisher v1 https://togithub.com/googleapis/google-api-python-client/commit/3795a8e3059f01f72e2964ec7d5ff00c3d2e17c8

## Deleted keys were detected in the following pre-stable discovery artifacts:
agentregistry v1alpha https://togithub.com/googleapis/google-api-python-client/commit/12e7cceae6b600f0d83f08084d801c3e19ecc66d
aiplatform v1beta1 https://togithub.com/googleapis/google-api-python-client/commit/0f27ab4fff025ceb79e9a408a1ebe4764a5ea230
saasservicemgmt v1beta1 https://togithub.com/googleapis/google-api-python-client/commit/0d2b0318fc5658c9c5b0c17c04b3e7ce0c84c2ea

## Discovery Artifact Change Summary:
feat(agentidentity): update the api https://togithub.com/googleapis/google-api-python-client/commit/01514dab9596f7f2c5927e64bf18686b1a6a50b2
feat(agentregistry): update the api https://togithub.com/googleapis/google-api-python-client/commit/12e7cceae6b600f0d83f08084d801c3e19ecc66d
feat(aiplatform): update the api https://togithub.com/googleapis/google-api-python-client/commit/0f27ab4fff025ceb79e9a408a1ebe4764a5ea230
feat(alertcenter): update the api https://togithub.com/googleapis/google-api-python-client/commit/d58c05a18bfef2a986605c8f518d6b69e7546f95
feat(alloydb): update the api https://togithub.com/googleapis/google-api-python-client/commit/08588174c7734cdf1e4ad1e8bd30a30da4eb1108
feat(androidmanagement): update the api https://togithub.com/googleapis/google-api-python-client/commit/6ed4504812e5dbece40d25d3bbeae5293cc015e0
fix(apihub): update the api https://togithub.com/googleapis/google-api-python-client/commit/03b772764431fde28c8edd9e6a1d9b856d8fcd42
feat(appengine): update the api https://togithub.com/googleapis/google-api-python-client/commit/82782c231c56c62c6060b937dea67865a7906162
feat(backupdr): update the api https://togithub.com/googleapis/google-api-python-client/commit/c74e4fb57a31b688ea88a126907b5d6e509bb2fe
feat(bigquery): update the api https://togithub.com/googleapis/google-api-python-client/commit/08958aab21d696e22163c9e22dc5d1a1bfaf57f9
feat(bigquerydatapolicy): update the api https://togithub.com/googleapis/google-api-python-client/commit/141049a0c660ab2f914458904e42a176c2cd6f34
fix(bigquerydatatransfer): update the api https://togithub.com/googleapis/google-api-python-client/commit/718063156089ee39334d4c7ec18b937c4883588e
fix(bigqueryreservation): update the api https://togithub.com/googleapis/google-api-python-client/commit/b455f914b5830d22ebb2037d0b2cb299f65844fd
feat(bigtableadmin): update the api https://togithub.com/googleapis/google-api-python-client/commit/20ff443c8966eb5439c7c14f67cada2172071e7e
feat(chat): update the api https://togithub.com/googleapis/google-api-python-client/commit/b5897b5bd10cf807b7d893b335100e22f186c87e
feat(chromewebstore): update the api https://togithub.com/googleapis/google-api-python-client/commit/aca030da924bb62624ca732a4cbba786197f8578
feat(cloudbuild): update the api https://togithub.com/googleapis/google-api-python-client/commit/3e1b11971a140e17560fc315d47ad5859a048159
feat(composer): update the api https://togithub.com/googleapis/google-api-python-client/commit/0583d83e13528f4c69f37296d02f3bb505f8c3e7
feat(compute): update the api https://togithub.com/googleapis/google-api-python-client/commit/910e683a367b940b55cd6f0f6d3dc7004ecc461d
feat(contactcenterinsights): update the api https://togithub.com/googleapis/google-api-python-client/commit/5f65ffa61cb35ab69309d0a0a6afcf810b29ef36
feat(container): update the api https://togithub.com/googleapis/google-api-python-client/commit/cf79c44ca821b415c660930c6dd84cb61c1301d5
feat(dataplex): update the api https://togithub.com/googleapis/google-api-python-client/commit/3308ad48e402f94b734ef36a57955a048a2e9b29
feat(deepreview): update the api https://togithub.com/googleapis/google-api-python-client/commit/d81a397d1ece2c40a5eda409842455fba93beadb
feat(developerconnect): update the api https://togithub.com/googleapis/google-api-python-client/commit/adee4a54e2215db0e0fe5595edff1c83e2cb5f7d
feat(dfareporting): update the api https://togithub.com/googleapis/google-api-python-client/commit/1571952a210947993d3c684501c1c5bf39e04e82
feat(dialogflow): update the api https://togithub.com/googleapis/google-api-python-client/commit/5eddbcb0e4fb5ad2376a8bf75f8776079173450f
fix(health): update the api https://togithub.com/googleapis/google-api-python-client/commit/069e7b1e20366d716db55c0737b7fc31f86751a4
feat(healthcare): update the api https://togithub.com/googleapis/google-api-python-client/commit/30c50e2529cb020f2a02159a0391f6fb4c365a18
feat(homegraph): update the api https://togithub.com/googleapis/google-api-python-client/commit/4273ae43a9441b4f80a035584bdb5f99e78c597b
fix(hypercomputecluster): update the api https://togithub.com/googleapis/google-api-python-client/commit/3dbcc0897d27fcea6aea134993c4714c7ea75278
feat(looker): update the api https://togithub.com/googleapis/google-api-python-client/commit/2b615ed71d2e2d76bf8f78aecc7e21e42703d581
feat(merchantapi): update the api https://togithub.com/googleapis/google-api-python-client/commit/077a21e30eb75b409d7cf145c8b17560de8a3baf
feat(networkconnectivity): update the api https://togithub.com/googleapis/google-api-python-client/commit/914841b86ea19d79f8365b25f07bac1af032eb15
feat(networkmanagement): update the api https://togithub.com/googleapis/google-api-python-client/commit/ea42739ded3cb99de42a90f587e3d4619a467748
feat(networksecurity): update the api https://togithub.com/googleapis/google-api-python-client/commit/11df31fc3a3dc76d789793b9c26aaa1e7920aaad
feat(ondemandscanning): update the api https://togithub.com/googleapis/google-api-python-client/commit/b16a36ab947b6574b65b30b34d3c5c3415c1c482
feat(oracledatabase): update the api https://togithub.com/googleapis/google-api-python-client/commit/bae198fa31d7f102b2acb6031c506a98876747b2
fix(osconfig): update the api https://togithub.com/googleapis/google-api-python-client/commit/a21cd583c1265201eb1d41761d906331d44370d9
feat(run): update the api https://togithub.com/googleapis/google-api-python-client/commit/3747e8afba449aa1330bc30e0cb22a7376161451
feat(saasservicemgmt): update the api https://togithub.com/googleapis/google-api-python-client/commit/0d2b0318fc5658c9c5b0c17c04b3e7ce0c84c2ea
feat(securitycenter): update the api https://togithub.com/googleapis/google-api-python-client/commit/1374565326383a838e47230964159a2d4745e5af
feat(servicecontrol): update the api https://togithub.com/googleapis/google-api-python-client/commit/0b68304e2aeda6db0765f967bf3922e8fddd1599
feat(servicenetworking): update the api https://togithub.com/googleapis/google-api-python-client/commit/c7258a6775143cb4d8a751e58b9637bd86c30ace
feat(solar): update the api https://togithub.com/googleapis/google-api-python-client/commit/8df32d0330d88c5ff9d4ac310beeac754b451198
feat(tasks): update the api https://togithub.com/googleapis/google-api-python-client/commit/f0504d1b5704f944fa50009f81cc2efdefa07a63
feat(vault): update the api https://togithub.com/googleapis/google-api-python-client/commit/aebc382f6f58c837bfd127f97992db67b1f07e04
feat(webcontentpublisher): update the api https://togithub.com/googleapis/google-api-python-client/commit/3795a8e3059f01f72e2964ec7d5ff00c3d2e17c8
425 files changed
tree: 07dfb936b9f02f82a1abd750f6575d4fe2d42c45
  1. .github/
  2. .kokoro/
  3. apiclient/
  4. docs/
  5. googleapiclient/
  6. samples/
  7. scripts/
  8. testing/
  9. tests/
  10. tools/
  11. .coveragerc
  12. .gitignore
  13. .gitmodules
  14. .hgignore
  15. .repo-metadata.json
  16. .trampolinerc
  17. CHANGELOG.md
  18. CODE_OF_CONDUCT.md
  19. CONTRIBUTING.rst
  20. describe.py
  21. expandsymlinks.py
  22. LICENSE
  23. Makefile
  24. MANIFEST.in
  25. noxfile.py
  26. owlbot.py
  27. README.md
  28. renovate.json
  29. samples-index.py
  30. SECURITY.md
  31. setup.py
  32. sitecustomize.py
  33. UPGRADING.md
README.md

Google API Client

PyPI version

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.

Version 2.0 Release

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.

Documentation

See the docs folder for more detailed instructions and additional documentation.

Other Google API libraries

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:

  • There is a separate client library for each API, so you can choose which client libraries to download. Whereas, 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.
  • There are stricter controls for breaking changes to the underlying APIs as each client library is focused on a specific API.
  • There are more features in these Cloud Client Libraries as each library is focused on a specific API, and in some cases, the libraries are owned by team who specialized in that API.
  • Developers will benefit from intellisense.

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.

Installation

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.

Mac/Linux

pip3 install virtualenv
virtualenv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install google-api-python-client

Windows

pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install google-api-python-client

Supported Python Versions

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.

Unsupported Python Versions

Python < 3.10

Third Party Libraries and Dependencies

The following libraries will be installed when you install the client library:

For development you will also need the following libraries:

Contributing

Please see our Contribution Guide. In particular, we love pull requests - but please make sure to sign the contributor license agreement.