google-cloud-logging 3.11.0__tar.gz → 3.11.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. {google_cloud_logging-3.11.0/google_cloud_logging.egg-info → google_cloud_logging-3.11.2}/PKG-INFO +5 -5
  2. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging/gapic_version.py +1 -1
  3. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/gapic_version.py +1 -1
  4. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/handlers/handlers.py +2 -2
  5. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/config_service_v2/async_client.py +276 -309
  6. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/config_service_v2/client.py +130 -170
  7. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/config_service_v2/pagers.py +143 -10
  8. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/config_service_v2/transports/base.py +3 -1
  9. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/config_service_v2/transports/grpc.py +17 -11
  10. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/config_service_v2/transports/grpc_asyncio.py +260 -11
  11. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/logging_service_v2/async_client.py +64 -113
  12. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/logging_service_v2/client.py +45 -34
  13. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/logging_service_v2/pagers.py +91 -6
  14. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/logging_service_v2/transports/base.py +3 -1
  15. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/logging_service_v2/transports/grpc.py +17 -11
  16. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/logging_service_v2/transports/grpc_asyncio.py +119 -11
  17. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/metrics_service_v2/async_client.py +59 -88
  18. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/metrics_service_v2/client.py +43 -36
  19. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/metrics_service_v2/pagers.py +39 -2
  20. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/metrics_service_v2/transports/base.py +3 -1
  21. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/metrics_service_v2/transports/grpc.py +17 -11
  22. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/metrics_service_v2/transports/grpc_asyncio.py +92 -11
  23. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2/google_cloud_logging.egg-info}/PKG-INFO +5 -5
  24. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google_cloud_logging.egg-info/requires.txt +4 -4
  25. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/setup.py +4 -4
  26. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/gapic/logging_v2/test_config_service_v2.py +2754 -61
  27. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/gapic/logging_v2/test_logging_service_v2.py +518 -10
  28. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/gapic/logging_v2/test_metrics_service_v2.py +427 -4
  29. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/LICENSE +0 -0
  30. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/MANIFEST.in +0 -0
  31. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/README.rst +0 -0
  32. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging/__init__.py +0 -0
  33. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging/handlers/__init__.py +0 -0
  34. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging/handlers/middleware/__init__.py +0 -0
  35. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging/handlers/transports/__init__.py +0 -0
  36. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging/py.typed +0 -0
  37. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/__init__.py +0 -0
  38. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/_gapic.py +0 -0
  39. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/_helpers.py +0 -0
  40. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/_http.py +0 -0
  41. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/_instrumentation.py +0 -0
  42. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/client.py +0 -0
  43. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/entries.py +0 -0
  44. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/gapic_metadata.json +0 -0
  45. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/handlers/__init__.py +0 -0
  46. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/handlers/_helpers.py +0 -0
  47. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/handlers/_monitored_resources.py +0 -0
  48. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/handlers/app_engine.py +0 -0
  49. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/handlers/container_engine.py +0 -0
  50. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/handlers/middleware/__init__.py +0 -0
  51. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/handlers/middleware/request.py +0 -0
  52. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/handlers/structured_log.py +0 -0
  53. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/handlers/transports/__init__.py +0 -0
  54. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/handlers/transports/background_thread.py +0 -0
  55. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/handlers/transports/base.py +0 -0
  56. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/handlers/transports/sync.py +0 -0
  57. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/logger.py +0 -0
  58. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/metric.py +0 -0
  59. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/py.typed +0 -0
  60. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/resource.py +0 -0
  61. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/__init__.py +0 -0
  62. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/config_service_v2/__init__.py +0 -0
  63. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/config_service_v2/transports/__init__.py +0 -0
  64. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/logging_service_v2/__init__.py +0 -0
  65. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/logging_service_v2/transports/__init__.py +0 -0
  66. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/metrics_service_v2/__init__.py +0 -0
  67. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/services/metrics_service_v2/transports/__init__.py +0 -0
  68. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/sink.py +0 -0
  69. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/types/__init__.py +0 -0
  70. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/types/log_entry.py +0 -0
  71. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/types/logging.py +0 -0
  72. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/types/logging_config.py +0 -0
  73. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google/cloud/logging_v2/types/logging_metrics.py +0 -0
  74. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google_cloud_logging.egg-info/SOURCES.txt +0 -0
  75. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google_cloud_logging.egg-info/dependency_links.txt +0 -0
  76. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google_cloud_logging.egg-info/not-zip-safe +0 -0
  77. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/google_cloud_logging.egg-info/top_level.txt +0 -0
  78. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/setup.cfg +0 -0
  79. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/__init__.py +0 -0
  80. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/performance/noxfile.py +0 -0
  81. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/performance/test_performance.py +0 -0
  82. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/system/gapic/v2/test_system_logging_service_v2_v2.py +0 -0
  83. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/system/test_system.py +0 -0
  84. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/__init__.py +0 -0
  85. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/gapic/__init__.py +0 -0
  86. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/gapic/logging_v2/__init__.py +0 -0
  87. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/handlers/__init__.py +0 -0
  88. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/handlers/middleware/test_request.py +0 -0
  89. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/handlers/test__helpers.py +0 -0
  90. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/handlers/test__monitored_resources.py +0 -0
  91. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/handlers/test_app_engine.py +0 -0
  92. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/handlers/test_container_engine.py +0 -0
  93. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/handlers/test_handlers.py +0 -0
  94. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/handlers/test_structured_log.py +0 -0
  95. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/handlers/transports/__init__.py +0 -0
  96. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/handlers/transports/test_background_thread.py +0 -0
  97. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/handlers/transports/test_base.py +0 -0
  98. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/handlers/transports/test_sync.py +0 -0
  99. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/test__gapic.py +0 -0
  100. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/test__helpers.py +0 -0
  101. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/test__http.py +0 -0
  102. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/test__instrumentation.py +0 -0
  103. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/test_client.py +0 -0
  104. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/test_entries.py +0 -0
  105. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/test_logger.py +0 -0
  106. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/test_logging_shim.py +0 -0
  107. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/test_metric.py +0 -0
  108. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/test_packaging.py +0 -0
  109. {google_cloud_logging-3.11.0 → google_cloud_logging-3.11.2}/tests/unit/test_sink.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: google-cloud-logging
3
- Version: 3.11.0
3
+ Version: 3.11.2
4
4
  Summary: Stackdriver Logging API client library
5
5
  Home-page: https://github.com/googleapis/python-logging
6
6
  Author: Google LLC
@@ -24,14 +24,14 @@ Requires-Python: >=3.7
24
24
  License-File: LICENSE
25
25
  Requires-Dist: google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.1
26
26
  Requires-Dist: google-auth!=2.24.0,!=2.25.0,<3.0.0dev,>=2.14.1
27
- Requires-Dist: google-cloud-appengine-logging<2.0.0dev,>=0.1.0
28
- Requires-Dist: google-cloud-audit-log<1.0.0dev,>=0.1.0
27
+ Requires-Dist: google-cloud-appengine-logging<2.0.0dev,>=0.1.3
28
+ Requires-Dist: google-cloud-audit-log<1.0.0dev,>=0.2.4
29
29
  Requires-Dist: google-cloud-core<3.0.0dev,>=2.0.0
30
30
  Requires-Dist: grpc-google-iam-v1<1.0.0dev,>=0.12.4
31
- Requires-Dist: opentelemetry-api>=1.0.0
31
+ Requires-Dist: opentelemetry-api>=1.9.0
32
32
  Requires-Dist: proto-plus<2.0.0dev,>=1.22.0
33
33
  Requires-Dist: proto-plus<2.0.0dev,>=1.22.2; python_version >= "3.11"
34
- Requires-Dist: protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5
34
+ Requires-Dist: protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<6.0.0dev,>=3.20.2
35
35
 
36
36
  Python Client for Cloud Logging
37
37
  =====================================
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "3.11.0" # {x-release-please-version}
16
+ __version__ = "3.11.2" # {x-release-please-version}
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "3.11.0" # {x-release-please-version}
16
+ __version__ = "3.11.2" # {x-release-please-version}
@@ -18,7 +18,7 @@ import collections
18
18
  import json
19
19
  import logging
20
20
 
21
- from typing import Optional, IO
21
+ from typing import Optional, IO, Type
22
22
 
23
23
  from google.cloud.logging_v2.handlers.transports import (
24
24
  BackgroundThreadTransport,
@@ -157,7 +157,7 @@ class CloudLoggingHandler(logging.StreamHandler):
157
157
  client,
158
158
  *,
159
159
  name: str = DEFAULT_LOGGER_NAME,
160
- transport: Transport = BackgroundThreadTransport,
160
+ transport: Type[Transport] = BackgroundThreadTransport,
161
161
  resource: Resource = None,
162
162
  labels: Optional[dict] = None,
163
163
  stream: Optional[IO] = None,