chore: Update discovery artifacts (#2773)

## Deleted keys were detected in the following stable discovery artifacts:
run v2 https://togithub.com/googleapis/google-api-python-client/commit/170481bac2734dc88d6ecda54d94afbcdf5221b7
travelimpactmodel v1 https://togithub.com/googleapis/google-api-python-client/commit/27db6dc8d81e5a69e4979888904d0d1959800f50

## Deleted keys were detected in the following pre-stable discovery artifacts:
aiplatform v1beta1 https://togithub.com/googleapis/google-api-python-client/commit/d33acf4353b2900d7edc8733640cf2341cba660a
compute alpha https://togithub.com/googleapis/google-api-python-client/commit/fd03e4b445ddaf4b2ed98cc6f8945b47c797c8b6
dialogflow v2beta1 https://togithub.com/googleapis/google-api-python-client/commit/bb05662947ff26c3473c8d99cf740b1b72c2fa40

## Discovery Artifact Change Summary:
feat(aiplatform): update the api https://togithub.com/googleapis/google-api-python-client/commit/d33acf4353b2900d7edc8733640cf2341cba660a
feat(androidpublisher): update the api https://togithub.com/googleapis/google-api-python-client/commit/186734b25a3b026609d01fece0547795d33a84b8
feat(apigee): update the api https://togithub.com/googleapis/google-api-python-client/commit/9636e977115e0667eda725cf71dd176ddbead6d4
fix(apihub): update the api https://togithub.com/googleapis/google-api-python-client/commit/465568e690b8c585ff3b8f34c0a6fc4a5381731f
feat(assuredworkloads): update the api https://togithub.com/googleapis/google-api-python-client/commit/9f7839bf55755e0a5caa5d7da411402cbc6362d9
feat(chat): update the api https://togithub.com/googleapis/google-api-python-client/commit/183f95c88ce3a70e5cdd6787457068d9f245f646
feat(cloudasset): update the api https://togithub.com/googleapis/google-api-python-client/commit/03b8c219d730df47bd2565dfcb6f4600c4bf0265
feat(cloudsupport): update the api https://togithub.com/googleapis/google-api-python-client/commit/a12b0d51c81e7cc73e56ccf391e4a46a7e5daa81
feat(compute): update the api https://togithub.com/googleapis/google-api-python-client/commit/fd03e4b445ddaf4b2ed98cc6f8945b47c797c8b6
feat(contactcenterinsights): update the api https://togithub.com/googleapis/google-api-python-client/commit/1d4e7ae66c2efa39565de3300bf6aef75e3d8104
feat(container): update the api https://togithub.com/googleapis/google-api-python-client/commit/29f442100a052d85657af3aefa496961b48338c5
feat(datamigration): update the api https://togithub.com/googleapis/google-api-python-client/commit/3732b2d3c227b9929be5516ab0764eaa5d15814d
feat(dataplex): update the api https://togithub.com/googleapis/google-api-python-client/commit/381d8d47d33a0802749e2e65ddeca9b83fbadf70
feat(datastream): update the api https://togithub.com/googleapis/google-api-python-client/commit/71b55253e75a71b005b16effb41c205d8cd27776
feat(dialogflow): update the api https://togithub.com/googleapis/google-api-python-client/commit/bb05662947ff26c3473c8d99cf740b1b72c2fa40
feat(discoveryengine): update the api https://togithub.com/googleapis/google-api-python-client/commit/2fdae6096cbab243b5e8d5d7e12d8770da9bd803
feat(displayvideo): update the api https://togithub.com/googleapis/google-api-python-client/commit/3f5dd7f2ab20d43d32cddaa4af693772b2bee4ce
feat(dlp): update the api https://togithub.com/googleapis/google-api-python-client/commit/d9b2ceb3c3fd79326155411d3e290510450a7816
feat(dns): update the api https://togithub.com/googleapis/google-api-python-client/commit/5ca8775611c247167ee3cb505e8db0e60e8be2c3
feat(drive): update the api https://togithub.com/googleapis/google-api-python-client/commit/4f18a4182ffdfd00089aee5fb985ad1500d9342e
feat(file): update the api https://togithub.com/googleapis/google-api-python-client/commit/019dc1097586ddef7af690e72d00732425047e21
feat(firebaseapphosting): update the api https://togithub.com/googleapis/google-api-python-client/commit/258cf16d9ae559ed1a016dcb0f7687d70daf7355
feat(firebaseml): update the api https://togithub.com/googleapis/google-api-python-client/commit/54b9a7781d05a99e2b653086c44013ab5049870c
feat(gkehub): update the api https://togithub.com/googleapis/google-api-python-client/commit/899076f7cf2ead8dac0091d81b8ac7ca6e6f9eab
feat(gmailpostmastertools): update the api https://togithub.com/googleapis/google-api-python-client/commit/e5a997fd0433b74d295ca9b50f0186d480313e1b
feat(homegraph): update the api https://togithub.com/googleapis/google-api-python-client/commit/396808ec5c96605bb1d792ff7eb86644dee7cca4
feat(merchantapi): update the api https://togithub.com/googleapis/google-api-python-client/commit/b5dd266ddf7dab76bc94d2aa9e0cd4e0f54cd783
feat(migrationcenter): update the api https://togithub.com/googleapis/google-api-python-client/commit/67713a8bb1a1e9b38cf340b04e838ec2d2d068cc
feat(netapp): update the api https://togithub.com/googleapis/google-api-python-client/commit/e8442412e58d515b266c9641f1c16e7281ed0ca6
feat(networkmanagement): update the api https://togithub.com/googleapis/google-api-python-client/commit/258bad18b5915c0331a35abccfe4e53639dfaf2f
feat(networksecurity): update the api https://togithub.com/googleapis/google-api-python-client/commit/b990ff3006dfe36ab7be5bd574f509332e25c5fb
feat(ondemandscanning): update the api https://togithub.com/googleapis/google-api-python-client/commit/650eb1b43b1bf14e1a5c3df228352e5927aeb24b
feat(policytroubleshooter): update the api https://togithub.com/googleapis/google-api-python-client/commit/d0d1038742d8a5c28412542300cd7583a1b1fe8b
feat(recommender): update the api https://togithub.com/googleapis/google-api-python-client/commit/fde95bec99e288cfa5513bd232982919afa8809f
feat(run): update the api https://togithub.com/googleapis/google-api-python-client/commit/170481bac2734dc88d6ecda54d94afbcdf5221b7
feat(securitycenter): update the api https://togithub.com/googleapis/google-api-python-client/commit/aaa0b81f8865ff9512600c2d062f5173ee012f94
feat(storagetransfer): update the api https://togithub.com/googleapis/google-api-python-client/commit/34ee9f92d6c906388475d7647ce2c3c857710c04
feat(sts): update the api https://togithub.com/googleapis/google-api-python-client/commit/21efc8fedfd5436061e7e7439862f67ad69baa9a
feat(travelimpactmodel): update the api https://togithub.com/googleapis/google-api-python-client/commit/27db6dc8d81e5a69e4979888904d0d1959800f50
284 files changed
tree: 37229f7ae6b3d3372e6ec7c51d19aaefa522550f
  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.7 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.7, 3.8, 3.9, 3.10, 3.11, 3.12 and 3.13, 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.

Unsupported Python Versions

Python < 3.7

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.