chore: Update discovery artifacts (#2855)

## Deleted keys were detected in the following stable discovery artifacts:
aiplatform v1 https://togithub.com/googleapis/google-api-python-client/commit/75e500c9ca31f3a6456b375850e894ba880c3a97
assuredworkloads v1 https://togithub.com/googleapis/google-api-python-client/commit/aecb5fde8d63b560e4e07e1c40ae2685be6e1a0b
looker v1 https://togithub.com/googleapis/google-api-python-client/commit/54ae990a892b80755ddae62d5da255544926712c
merchantapi datasources_v1 https://togithub.com/googleapis/google-api-python-client/commit/557f6ec0ec23d969321353b27d250d8597235894
networkservices v1 https://togithub.com/googleapis/google-api-python-client/commit/4d8adfe410fea9a3f09d7b93ac3d8cea5c8a62cb
run v1 https://togithub.com/googleapis/google-api-python-client/commit/950b9e180d1a6e1c7e141834cfef292838f051dc
run v2 https://togithub.com/googleapis/google-api-python-client/commit/950b9e180d1a6e1c7e141834cfef292838f051dc
storage v1 https://togithub.com/googleapis/google-api-python-client/commit/4a5f26be6624c74662993e315f794c76e48995bd

## Deleted keys were detected in the following pre-stable discovery artifacts:
aiplatform v1beta1 https://togithub.com/googleapis/google-api-python-client/commit/75e500c9ca31f3a6456b375850e894ba880c3a97
assuredworkloads v1beta1 https://togithub.com/googleapis/google-api-python-client/commit/aecb5fde8d63b560e4e07e1c40ae2685be6e1a0b
serviceusage v1beta1 https://togithub.com/googleapis/google-api-python-client/commit/d2f41fba6ff501d758674735d443be40e1835bb2

## Discovery Artifact Change Summary:
feat(admob): update the api https://togithub.com/googleapis/google-api-python-client/commit/5531a26cb55bf257976e7d9b3ec0783ff6d4c30c
feat(aiplatform): update the api https://togithub.com/googleapis/google-api-python-client/commit/75e500c9ca31f3a6456b375850e894ba880c3a97
feat(androiddeviceprovisioning): update the api https://togithub.com/googleapis/google-api-python-client/commit/fce25c98d89005154ea025d8acdd2e4ce670108a
feat(androidpublisher): update the api https://togithub.com/googleapis/google-api-python-client/commit/8fcdd27e784b5a9fbd35f09509961e8b1abf5265
feat(assuredworkloads): update the api https://togithub.com/googleapis/google-api-python-client/commit/aecb5fde8d63b560e4e07e1c40ae2685be6e1a0b
feat(backupdr): update the api https://togithub.com/googleapis/google-api-python-client/commit/8a8d85aa335a8c4a4671e7a5dc5410107a4b7de9
feat(bigquery): update the api https://togithub.com/googleapis/google-api-python-client/commit/e2eb286fa876888552c679de766ad6729db14f40
feat(bigqueryconnection): update the api https://togithub.com/googleapis/google-api-python-client/commit/4add483988797b6ce7013177ea4be656b7b755fe
feat(bigquerydatapolicy): update the api https://togithub.com/googleapis/google-api-python-client/commit/c87de804ffdfa53adacb230a1166db5a693281e3
feat(ces): update the api https://togithub.com/googleapis/google-api-python-client/commit/3036b5c2c7663e70c05adeebc3eaf9aa536b30ab
feat(chat): update the api https://togithub.com/googleapis/google-api-python-client/commit/b158c2a40b07e0f12e3e375fd077a998eb9f9c39
feat(chromemanagement): update the api https://togithub.com/googleapis/google-api-python-client/commit/b8346759ba13b6b4ee42b145f18406ee6df243da
feat(cloudbuild): update the api https://togithub.com/googleapis/google-api-python-client/commit/b734c348d0187eb6c339ab908b4aede311ed9234
feat(dataform): update the api https://togithub.com/googleapis/google-api-python-client/commit/f245de26eedd977a4963caa9b9c1e424f895acbb
feat(deploymentmanager): update the api https://togithub.com/googleapis/google-api-python-client/commit/85f5ebdea16c91ca1d7ba4533cc856e17499f8f5
fix(developerconnect): update the api https://togithub.com/googleapis/google-api-python-client/commit/a4abf3a450fa5266f604a514cae9ac1f919f5aa8
feat(file): update the api https://togithub.com/googleapis/google-api-python-client/commit/395496e568c1d38ab021b246aac41604224b9906
feat(firebaseml): update the api https://togithub.com/googleapis/google-api-python-client/commit/7104ce9494dab728b0218fad06a481c7307307ae
fix(gmail): update the api https://togithub.com/googleapis/google-api-python-client/commit/70e07069b047f28453f2282179a75bc4aac29668
feat(health): update the api https://togithub.com/googleapis/google-api-python-client/commit/529071c6a029d656c74b6cf421989a127cb819ba
feat(iam): update the api https://togithub.com/googleapis/google-api-python-client/commit/1750b43e2a32be3a060e3e1309a9d99175b4842c
feat(iap): update the api https://togithub.com/googleapis/google-api-python-client/commit/a3ed3952e0d73118a556dfeb3c547fd49ab02e58
feat(looker): update the api https://togithub.com/googleapis/google-api-python-client/commit/54ae990a892b80755ddae62d5da255544926712c
feat(manufacturers): update the api https://togithub.com/googleapis/google-api-python-client/commit/7671c237aa0b191be435cd817450df8862998d04
feat(merchantapi): update the api https://togithub.com/googleapis/google-api-python-client/commit/557f6ec0ec23d969321353b27d250d8597235894
feat(mybusinessbusinessinformation): update the api https://togithub.com/googleapis/google-api-python-client/commit/2136afd02f1d14985a9b000933439ca574a878aa
feat(mybusinessplaceactions): update the api https://togithub.com/googleapis/google-api-python-client/commit/237a928a7c5a5425cd7e7909133eeb8e4035da02
feat(networkservices): update the api https://togithub.com/googleapis/google-api-python-client/commit/4d8adfe410fea9a3f09d7b93ac3d8cea5c8a62cb
feat(oracledatabase): update the api https://togithub.com/googleapis/google-api-python-client/commit/d8a80e4a22439a3254e42bca3b65b4996a83be47
feat(realtimebidding): update the api https://togithub.com/googleapis/google-api-python-client/commit/ec5c4b43de440b4a1472d0c83a23a6291b1deb9d
feat(run): update the api https://togithub.com/googleapis/google-api-python-client/commit/950b9e180d1a6e1c7e141834cfef292838f051dc
feat(searchconsole): update the api https://togithub.com/googleapis/google-api-python-client/commit/748fa0bde3bb8a7104ce9a44cfb6b9c85544df8e
feat(securitycenter): update the api https://togithub.com/googleapis/google-api-python-client/commit/b3e4eb26a4a4bacebde329993698e7ed88eee4c8
feat(serviceconsumermanagement): update the api https://togithub.com/googleapis/google-api-python-client/commit/e5a8df0333114cb06971c9b3a18ee37c8f420fa1
feat(servicemanagement): update the api https://togithub.com/googleapis/google-api-python-client/commit/9c5e5596c3678c920515fe158a445cdaf1a3bedf
feat(serviceusage): update the api https://togithub.com/googleapis/google-api-python-client/commit/d2f41fba6ff501d758674735d443be40e1835bb2
feat(storage): update the api https://togithub.com/googleapis/google-api-python-client/commit/4a5f26be6624c74662993e315f794c76e48995bd
feat(workstations): update the api https://togithub.com/googleapis/google-api-python-client/commit/3fc5f6460ddaa6a8c10dfeaf42aadac46d97a278
385 files changed
tree: cef44fecf557e6f7c124df0466411e9b8b589fd5
  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.