chore: Update discovery artifacts (#1756) ## Deleted keys were detected in the following stable discovery artifacts: apikeys v2 https://github.com/googleapis/google-api-python-client/commit/73c71d8cce0bcf8003c4cb551256139245765a4d firestore v1 https://github.com/googleapis/google-api-python-client/commit/0b03ba1c98f40e47df63ee08a791462e60d106cf memcache v1 https://github.com/googleapis/google-api-python-client/commit/9a702f8dcbcaefb9990e82358fe6137253788424 mybusinessqanda v1 https://github.com/googleapis/google-api-python-client/commit/17dc4c8a8154aaa32917c0c1c4943e8eabcf5c43 ## Deleted keys were detected in the following pre-stable discovery artifacts: firestore v1beta1 https://github.com/googleapis/google-api-python-client/commit/0b03ba1c98f40e47df63ee08a791462e60d106cf memcache v1beta2 https://github.com/googleapis/google-api-python-client/commit/9a702f8dcbcaefb9990e82358fe6137253788424 networkservices v1beta1 https://github.com/googleapis/google-api-python-client/commit/ff0fbc2723d8ccc565f69de8d85444dc13a0c48e retail v2alpha https://github.com/googleapis/google-api-python-client/commit/0ff1324dc43bac030b42529cae3343e40ffd17bd retail v2beta https://github.com/googleapis/google-api-python-client/commit/0ff1324dc43bac030b42529cae3343e40ffd17bd ## Discovery Artifact Change Summary: feat(androidenterprise): update the api https://github.com/googleapis/google-api-python-client/commit/1c3e29583cf3025e49e848cab41a50ccd2d3263c feat(apikeys): update the api https://github.com/googleapis/google-api-python-client/commit/73c71d8cce0bcf8003c4cb551256139245765a4d feat(bigquery): update the api https://github.com/googleapis/google-api-python-client/commit/b611d716f55d58fc03306f1cf28f105d7403efb8 feat(chat): update the api https://github.com/googleapis/google-api-python-client/commit/cb0e654f8c94701c8a50c4c6b0ee6f0be3b90184 feat(cloudfunctions): update the api https://github.com/googleapis/google-api-python-client/commit/fd7c5f5b1e680eff33e9614c1da1ee3c8cdd1910 feat(cloudidentity): update the api https://github.com/googleapis/google-api-python-client/commit/07cccbd39377de0b4df8c35ddbaaabf162bb35b7 feat(cloudresourcemanager): update the api https://github.com/googleapis/google-api-python-client/commit/a7a4ffeeae0184d3616d40657c999662068fb802 feat(content): update the api https://github.com/googleapis/google-api-python-client/commit/f02827fd2763056aa06feb5d281f0b8a212fad41 feat(dataplex): update the api https://github.com/googleapis/google-api-python-client/commit/69e3884e8d18a9212d4d2a5ce7761b8d3beff77a feat(datastore): update the api https://github.com/googleapis/google-api-python-client/commit/52540a9b421e7247d544020403f4bf6488cb9885 feat(dlp): update the api https://github.com/googleapis/google-api-python-client/commit/86ab5a978e43470e0042fe34a3938bd57e733ff4 feat(firebaseappcheck): update the api https://github.com/googleapis/google-api-python-client/commit/c8674efb1a62f1bbd47abbb75c3dc7eb922795a6 feat(firestore): update the api https://github.com/googleapis/google-api-python-client/commit/0b03ba1c98f40e47df63ee08a791462e60d106cf feat(games): update the api https://github.com/googleapis/google-api-python-client/commit/c303c8402a0adfa1e7d82aded73c609a5e345967 feat(logging): update the api https://github.com/googleapis/google-api-python-client/commit/f5e25a680654ba5d4c8f27cb60a1b12b76006065 feat(memcache): update the api https://github.com/googleapis/google-api-python-client/commit/9a702f8dcbcaefb9990e82358fe6137253788424 feat(mybusinessqanda): update the api https://github.com/googleapis/google-api-python-client/commit/17dc4c8a8154aaa32917c0c1c4943e8eabcf5c43 feat(networkconnectivity): update the api https://github.com/googleapis/google-api-python-client/commit/72b622148f7af8a497cda1e94a9c97283b73d14a feat(networkservices): update the api https://github.com/googleapis/google-api-python-client/commit/ff0fbc2723d8ccc565f69de8d85444dc13a0c48e feat(retail): update the api https://github.com/googleapis/google-api-python-client/commit/0ff1324dc43bac030b42529cae3343e40ffd17bd feat(run): update the api https://github.com/googleapis/google-api-python-client/commit/ebeb360ad0501b53fcc50d18f449c2eeb13fdf90 feat(securitycenter): update the api https://github.com/googleapis/google-api-python-client/commit/215757fe528921a0be6d3ed52527740c8945cd41 feat(serviceconsumermanagement): update the api https://github.com/googleapis/google-api-python-client/commit/75ad6f09b36ebafc748581ca88093f75a74ac8e8 feat(servicenetworking): update the api https://github.com/googleapis/google-api-python-client/commit/e505d23b5e8cc4e9668fd6959be5fb3122e0f99c feat(serviceusage): update the api https://github.com/googleapis/google-api-python-client/commit/ded4fe51e1a374d214389b08633847fab6ed0fb2 feat(spanner): update the api https://github.com/googleapis/google-api-python-client/commit/b2edae4e2e8ee6749a2d66318f1e0e0e764f35d1
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.6 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.
pip 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.6, 3.7, 3.8, 3.9 and 3.10 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.6
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.