Skip to content
Permalink
Browse files
chore: use gapic-generator-python 0.51.2 (#404)
- [ ] Regenerate this pull request now.

fix: add 'dict' annotation type to 'request'

Committer: @busunkim96
PiperOrigin-RevId: 398509016

Source-Link: googleapis/googleapis@b224dfa

Source-Link: https://github.com/googleapis/googleapis-gen/commit/63a1db7a38d74b9639592f521ed1daaf7299ad9a
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjNhMWRiN2EzOGQ3NGI5NjM5NTkyZjUyMWVkMWRhYWY3Mjk5YWQ5YSJ9
  • Loading branch information
gcf-owl-bot[bot] committed Sep 24, 2021
1 parent fccd4a5 commit 23f9e1f6e9af30c4e65578edbf73c8c893b35285
Showing with 28,740 additions and 0 deletions.
  1. +17 −0 owl-bot-staging/v2/.coveragerc
  2. +2 −0 owl-bot-staging/v2/MANIFEST.in
  3. +49 −0 owl-bot-staging/v2/README.rst
  4. +376 −0 owl-bot-staging/v2/docs/conf.py
  5. +7 −0 owl-bot-staging/v2/docs/index.rst
  6. +10 −0 owl-bot-staging/v2/docs/logging_v2/config_service_v2.rst
  7. +10 −0 owl-bot-staging/v2/docs/logging_v2/logging_service_v2.rst
  8. +10 −0 owl-bot-staging/v2/docs/logging_v2/metrics_service_v2.rst
  9. +8 −0 owl-bot-staging/v2/docs/logging_v2/services.rst
  10. +7 −0 owl-bot-staging/v2/docs/logging_v2/types.rst
  11. +143 −0 owl-bot-staging/v2/google/cloud/logging/__init__.py
  12. +2 −0 owl-bot-staging/v2/google/cloud/logging/py.typed
  13. +144 −0 owl-bot-staging/v2/google/cloud/logging_v2/__init__.py
  14. +391 −0 owl-bot-staging/v2/google/cloud/logging_v2/gapic_metadata.json
  15. +2 −0 owl-bot-staging/v2/google/cloud/logging_v2/py.typed
  16. +15 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/__init__.py
  17. +22 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/config_service_v2/__init__.py
  18. +2,016 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/config_service_v2/async_client.py
  19. +2,198 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/config_service_v2/client.py
  20. +506 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/config_service_v2/pagers.py
  21. +33 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/config_service_v2/transports/__init__.py
  22. +536 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/config_service_v2/transports/base.py
  23. +878 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/config_service_v2/transports/grpc.py
  24. +882 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/config_service_v2/transports/grpc_asyncio.py
  25. +22 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/logging_service_v2/__init__.py
  26. +781 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/logging_service_v2/async_client.py
  27. +920 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/logging_service_v2/client.py
  28. +386 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/logging_service_v2/pagers.py
  29. +33 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/logging_service_v2/transports/__init__.py
  30. +291 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/logging_service_v2/transports/base.py
  31. +402 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/logging_service_v2/transports/grpc.py
  32. +406 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/logging_service_v2/transports/grpc_asyncio.py
  33. +22 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/metrics_service_v2/__init__.py
  34. +640 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/metrics_service_v2/async_client.py
  35. +799 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/metrics_service_v2/client.py
  36. +140 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/metrics_service_v2/pagers.py
  37. +33 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/metrics_service_v2/transports/__init__.py
  38. +261 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/metrics_service_v2/transports/base.py
  39. +357 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/metrics_service_v2/transports/grpc.py
  40. +361 −0 owl-bot-staging/v2/google/cloud/logging_v2/services/metrics_service_v2/transports/grpc_asyncio.py
  41. +138 −0 owl-bot-staging/v2/google/cloud/logging_v2/types/__init__.py
  42. +321 −0 owl-bot-staging/v2/google/cloud/logging_v2/types/log_entry.py
  43. +573 −0 owl-bot-staging/v2/google/cloud/logging_v2/types/logging.py
  44. +1,457 −0 owl-bot-staging/v2/google/cloud/logging_v2/types/logging_config.py
  45. +371 −0 owl-bot-staging/v2/google/cloud/logging_v2/types/logging_metrics.py
  46. +3 −0 owl-bot-staging/v2/mypy.ini
  47. +132 −0 owl-bot-staging/v2/noxfile.py
  48. +209 −0 owl-bot-staging/v2/scripts/fixup_logging_v2_keywords.py
  49. +54 −0 owl-bot-staging/v2/setup.py
  50. +16 −0 owl-bot-staging/v2/tests/__init__.py
  51. +16 −0 owl-bot-staging/v2/tests/unit/__init__.py
  52. +16 −0 owl-bot-staging/v2/tests/unit/gapic/__init__.py
  53. +16 −0 owl-bot-staging/v2/tests/unit/gapic/logging_v2/__init__.py
  54. +6,447 −0 owl-bot-staging/v2/tests/unit/gapic/logging_v2/test_config_service_v2.py
  55. +2,494 −0 owl-bot-staging/v2/tests/unit/gapic/logging_v2/test_logging_service_v2.py
  56. +2,359 −0 owl-bot-staging/v2/tests/unit/gapic/logging_v2/test_metrics_service_v2.py
@@ -0,0 +1,17 @@
[run]
branch = True

[report]
show_missing = True
omit =
google/cloud/logging/__init__.py
exclude_lines =
# Re-enable the standard pragma
pragma: NO COVER
# Ignore debug-only repr
def __repr__
# Ignore pkg_resources exceptions.
# This is added at the module level as a safeguard for if someone
# generates the code and tries to run it without pip installing. This
# makes it virtually impossible to test properly.
except pkg_resources.DistributionNotFound
@@ -0,0 +1,2 @@
recursive-include google/cloud/logging *.py
recursive-include google/cloud/logging_v2 *.py
@@ -0,0 +1,49 @@
Python Client for Google Cloud Logging API
=================================================

Quick Start
-----------

In order to use this library, you first need to go through the following steps:

1. `Select or create a Cloud Platform project.`_
2. `Enable billing for your project.`_
3. Enable the Google Cloud Logging API.
4. `Setup Authentication.`_

.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html

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.

.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/


Mac/Linux
^^^^^^^^^

.. code-block:: console

python3 -m venv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install /path/to/library


Windows
^^^^^^^

.. code-block:: console

python3 -m venv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install \path\to\library

0 comments on commit 23f9e1f

Please sign in to comment.