google-cloud-logging 3.15.0__tar.gz → 3.16.0__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 (108) hide show
  1. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/MANIFEST.in +1 -1
  2. {google_cloud_logging-3.15.0/google_cloud_logging.egg-info → google_cloud_logging-3.16.0}/PKG-INFO +19 -19
  3. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/README.rst +13 -12
  4. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging/__init__.py +1 -1
  5. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging/gapic_version.py +2 -2
  6. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/__init__.py +1 -1
  7. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/client.py +2 -1
  8. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/gapic_version.py +2 -2
  9. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/__init__.py +1 -1
  10. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/config_service_v2/__init__.py +1 -1
  11. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/config_service_v2/async_client.py +11 -12
  12. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/config_service_v2/client.py +1 -2
  13. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/config_service_v2/pagers.py +1 -1
  14. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/config_service_v2/transports/__init__.py +1 -1
  15. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/config_service_v2/transports/base.py +1 -1
  16. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/config_service_v2/transports/grpc.py +1 -1
  17. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/config_service_v2/transports/grpc_asyncio.py +1 -1
  18. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/logging_service_v2/__init__.py +1 -1
  19. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/logging_service_v2/async_client.py +1 -2
  20. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/logging_service_v2/client.py +1 -2
  21. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/logging_service_v2/pagers.py +1 -1
  22. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/logging_service_v2/transports/__init__.py +1 -1
  23. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/logging_service_v2/transports/base.py +1 -1
  24. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/logging_service_v2/transports/grpc.py +1 -1
  25. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/logging_service_v2/transports/grpc_asyncio.py +1 -1
  26. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/metrics_service_v2/__init__.py +1 -1
  27. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/metrics_service_v2/async_client.py +1 -2
  28. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/metrics_service_v2/client.py +1 -2
  29. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/metrics_service_v2/pagers.py +1 -1
  30. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/metrics_service_v2/transports/__init__.py +1 -1
  31. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/metrics_service_v2/transports/base.py +1 -1
  32. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/metrics_service_v2/transports/grpc.py +1 -1
  33. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/services/metrics_service_v2/transports/grpc_asyncio.py +1 -1
  34. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/types/__init__.py +1 -1
  35. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/types/log_entry.py +1 -1
  36. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/types/logging.py +1 -1
  37. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/types/logging_config.py +1 -1
  38. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/types/logging_metrics.py +1 -1
  39. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0/google_cloud_logging.egg-info}/PKG-INFO +19 -19
  40. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google_cloud_logging.egg-info/requires.txt +3 -3
  41. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/setup.py +6 -7
  42. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/__init__.py +1 -1
  43. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/__init__.py +1 -1
  44. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/gapic/__init__.py +1 -1
  45. google_cloud_logging-3.16.0/tests/unit/gapic/logging_v2/__init__.py +15 -0
  46. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/gapic/logging_v2/test_config_service_v2.py +473 -515
  47. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/gapic/logging_v2/test_logging_service_v2.py +105 -110
  48. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/gapic/logging_v2/test_metrics_service_v2.py +91 -91
  49. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/test_logger.py +0 -11
  50. google_cloud_logging-3.15.0/tests/unit/gapic/logging_v2/__init__.py +0 -15
  51. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/LICENSE +0 -0
  52. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging/handlers/__init__.py +0 -0
  53. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging/handlers/middleware/__init__.py +0 -0
  54. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging/handlers/transports/__init__.py +0 -0
  55. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging/py.typed +0 -0
  56. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/_gapic.py +0 -0
  57. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/_helpers.py +0 -0
  58. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/_http.py +0 -0
  59. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/_instrumentation.py +0 -0
  60. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/entries.py +0 -0
  61. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/gapic_metadata.json +0 -0
  62. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/handlers/__init__.py +0 -0
  63. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/handlers/_helpers.py +0 -0
  64. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/handlers/_monitored_resources.py +0 -0
  65. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/handlers/app_engine.py +0 -0
  66. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/handlers/container_engine.py +0 -0
  67. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/handlers/handlers.py +0 -0
  68. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/handlers/middleware/__init__.py +0 -0
  69. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/handlers/middleware/request.py +0 -0
  70. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/handlers/structured_log.py +0 -0
  71. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/handlers/transports/__init__.py +0 -0
  72. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/handlers/transports/background_thread.py +0 -0
  73. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/handlers/transports/base.py +0 -0
  74. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/handlers/transports/sync.py +0 -0
  75. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/logger.py +0 -0
  76. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/metric.py +0 -0
  77. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/py.typed +0 -0
  78. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/resource.py +0 -0
  79. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google/cloud/logging_v2/sink.py +0 -0
  80. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google_cloud_logging.egg-info/SOURCES.txt +0 -0
  81. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google_cloud_logging.egg-info/dependency_links.txt +0 -0
  82. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google_cloud_logging.egg-info/not-zip-safe +0 -0
  83. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/google_cloud_logging.egg-info/top_level.txt +0 -0
  84. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/setup.cfg +0 -0
  85. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/system/gapic/v2/test_system_logging_service_v2_v2.py +0 -0
  86. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/system/test_system.py +0 -0
  87. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/handlers/__init__.py +0 -0
  88. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/handlers/middleware/test_request.py +0 -0
  89. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/handlers/test__helpers.py +0 -0
  90. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/handlers/test__monitored_resources.py +0 -0
  91. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/handlers/test_app_engine.py +0 -0
  92. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/handlers/test_container_engine.py +0 -0
  93. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/handlers/test_handlers.py +0 -0
  94. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/handlers/test_structured_log.py +0 -0
  95. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/handlers/transports/__init__.py +0 -0
  96. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/handlers/transports/test_background_thread.py +0 -0
  97. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/handlers/transports/test_base.py +0 -0
  98. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/handlers/transports/test_sync.py +0 -0
  99. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/test__gapic.py +0 -0
  100. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/test__helpers.py +0 -0
  101. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/test__http.py +0 -0
  102. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/test__instrumentation.py +0 -0
  103. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/test_client.py +0 -0
  104. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/test_entries.py +0 -0
  105. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/test_logging_shim.py +0 -0
  106. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/test_metric.py +0 -0
  107. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/test_packaging.py +0 -0
  108. {google_cloud_logging-3.15.0 → google_cloud_logging-3.16.0}/tests/unit/test_sink.py +0 -0
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,18 +1,17 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: google-cloud-logging
3
- Version: 3.15.0
3
+ Version: 3.16.0
4
4
  Summary: Google Cloud Logging API client library
5
5
  Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-logging
6
6
  Author: Google LLC
7
7
  Author-email: googleapis-packages@google.com
8
- License: Apache 2.0
8
+ License: Apache-2.0
9
9
  Platform: Posix; MacOS X; Windows
10
10
  Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Intended Audience :: Developers
12
12
  Classifier: License :: OSI Approved :: Apache Software License
13
13
  Classifier: Programming Language :: Python
14
14
  Classifier: Programming Language :: Python :: 3
15
- Classifier: Programming Language :: Python :: 3.9
16
15
  Classifier: Programming Language :: Python :: 3.10
17
16
  Classifier: Programming Language :: Python :: 3.11
18
17
  Classifier: Programming Language :: Python :: 3.12
@@ -20,16 +19,16 @@ Classifier: Programming Language :: Python :: 3.13
20
19
  Classifier: Programming Language :: Python :: 3.14
21
20
  Classifier: Operating System :: OS Independent
22
21
  Classifier: Topic :: Internet
23
- Requires-Python: >=3.9
22
+ Requires-Python: >=3.10
24
23
  License-File: LICENSE
25
- Requires-Dist: google-api-core[grpc]<3.0.0,>=2.11.0
24
+ Requires-Dist: google-api-core[grpc]<3.0.0,>=2.17.1
26
25
  Requires-Dist: google-auth!=2.24.0,!=2.25.0,<3.0.0,>=2.14.1
27
26
  Requires-Dist: google-cloud-appengine-logging<2.0.0,>=0.1.3
28
27
  Requires-Dist: google-cloud-audit-log<1.0.0,>=0.3.1
29
28
  Requires-Dist: google-cloud-core<3.0.0,>=2.0.0
30
29
  Requires-Dist: grpc-google-iam-v1<1.0.0,>=0.12.4
31
- Requires-Dist: opentelemetry-api>=1.9.0
32
- Requires-Dist: grpcio<2.0.0,>=1.33.2
30
+ Requires-Dist: opentelemetry-api>=1.16.0
31
+ Requires-Dist: grpcio<2.0.0,>=1.59.0
33
32
  Requires-Dist: grpcio<2.0.0,>=1.75.1; python_version >= "3.14"
34
33
  Requires-Dist: proto-plus<2.0.0,>=1.22.3
35
34
  Requires-Dist: proto-plus<2.0.0,>=1.25.0; python_version >= "3.13"
@@ -46,12 +45,12 @@ Dynamic: requires-dist
46
45
  Dynamic: requires-python
47
46
  Dynamic: summary
48
47
 
49
- Python Client for Cloud Logging API
50
- ===================================
48
+ Python Client for Cloud Logging
49
+ ===============================
51
50
 
52
51
  |stable| |pypi| |versions|
53
52
 
54
- `Cloud Logging API`_: Writes log entries and manages your Cloud Logging configuration.
53
+ `Cloud Logging`_: Writes log entries and manages your Cloud Logging configuration.
55
54
 
56
55
  - `Client Library Documentation`_
57
56
  - `Product Documentation`_
@@ -62,9 +61,9 @@ Python Client for Cloud Logging API
62
61
  :target: https://pypi.org/project/google-cloud-logging/
63
62
  .. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-logging.svg
64
63
  :target: https://pypi.org/project/google-cloud-logging/
65
- .. _Cloud Logging API: https://cloud.google.com/logging/docs
64
+ .. _Cloud Logging: https://cloud.google.com/logging/
66
65
  .. _Client Library Documentation: https://cloud.google.com/python/docs/reference/logging/latest/summary_overview
67
- .. _Product Documentation: https://cloud.google.com/logging/docs
66
+ .. _Product Documentation: https://cloud.google.com/logging/
68
67
 
69
68
  Quick Start
70
69
  -----------
@@ -73,12 +72,12 @@ In order to use this library, you first need to go through the following steps:
73
72
 
74
73
  1. `Select or create a Cloud Platform project.`_
75
74
  2. `Enable billing for your project.`_
76
- 3. `Enable the Cloud Logging API.`_
75
+ 3. `Enable the Cloud Logging.`_
77
76
  4. `Set up Authentication.`_
78
77
 
79
78
  .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
80
79
  .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
81
- .. _Enable the Cloud Logging API.: https://cloud.google.com/logging/docs
80
+ .. _Enable the Cloud Logging.: https://cloud.google.com/logging/
82
81
  .. _Set up Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
83
82
 
84
83
  For an interactive walkthrough on how to use this library in a python application, click the Guide Me button below:
@@ -116,14 +115,15 @@ Supported Python Versions
116
115
  Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
117
116
  Python.
118
117
 
119
- Python >= 3.9, including 3.14
118
+ Python >= 3.10, including 3.14
120
119
 
121
120
  .. _active: https://devguide.python.org/devcycle/#in-development-main-branch
122
121
  .. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
123
122
 
124
123
  Unsupported Python Versions
125
124
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
126
- Python <= 3.8
125
+ Python <= 3.9
126
+
127
127
 
128
128
  If you are using an `end-of-life`_
129
129
  version of Python, we recommend that you update as soon as possible to an actively supported version.
@@ -152,14 +152,14 @@ Windows
152
152
  Next Steps
153
153
  ~~~~~~~~~~
154
154
 
155
- - Read the `Client Library Documentation`_ for Cloud Logging API
155
+ - Read the `Client Library Documentation`_ for Cloud Logging
156
156
  to see other available methods on the client.
157
- - Read the `Cloud Logging API Product documentation`_ to learn
157
+ - Read the `Cloud Logging Product documentation`_ to learn
158
158
  more about the product and see How-to Guides.
159
159
  - View this `README`_ to see the full list of Cloud
160
160
  APIs that we cover.
161
161
 
162
- .. _Cloud Logging API Product documentation: https://cloud.google.com/logging/docs
162
+ .. _Cloud Logging Product documentation: https://cloud.google.com/logging/
163
163
  .. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
164
164
 
165
165
  Logging
@@ -1,9 +1,9 @@
1
- Python Client for Cloud Logging API
2
- ===================================
1
+ Python Client for Cloud Logging
2
+ ===============================
3
3
 
4
4
  |stable| |pypi| |versions|
5
5
 
6
- `Cloud Logging API`_: Writes log entries and manages your Cloud Logging configuration.
6
+ `Cloud Logging`_: Writes log entries and manages your Cloud Logging configuration.
7
7
 
8
8
  - `Client Library Documentation`_
9
9
  - `Product Documentation`_
@@ -14,9 +14,9 @@ Python Client for Cloud Logging API
14
14
  :target: https://pypi.org/project/google-cloud-logging/
15
15
  .. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-logging.svg
16
16
  :target: https://pypi.org/project/google-cloud-logging/
17
- .. _Cloud Logging API: https://cloud.google.com/logging/docs
17
+ .. _Cloud Logging: https://cloud.google.com/logging/
18
18
  .. _Client Library Documentation: https://cloud.google.com/python/docs/reference/logging/latest/summary_overview
19
- .. _Product Documentation: https://cloud.google.com/logging/docs
19
+ .. _Product Documentation: https://cloud.google.com/logging/
20
20
 
21
21
  Quick Start
22
22
  -----------
@@ -25,12 +25,12 @@ In order to use this library, you first need to go through the following steps:
25
25
 
26
26
  1. `Select or create a Cloud Platform project.`_
27
27
  2. `Enable billing for your project.`_
28
- 3. `Enable the Cloud Logging API.`_
28
+ 3. `Enable the Cloud Logging.`_
29
29
  4. `Set up Authentication.`_
30
30
 
31
31
  .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
32
32
  .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
33
- .. _Enable the Cloud Logging API.: https://cloud.google.com/logging/docs
33
+ .. _Enable the Cloud Logging.: https://cloud.google.com/logging/
34
34
  .. _Set up Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
35
35
 
36
36
  For an interactive walkthrough on how to use this library in a python application, click the Guide Me button below:
@@ -68,14 +68,15 @@ Supported Python Versions
68
68
  Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
69
69
  Python.
70
70
 
71
- Python >= 3.9, including 3.14
71
+ Python >= 3.10, including 3.14
72
72
 
73
73
  .. _active: https://devguide.python.org/devcycle/#in-development-main-branch
74
74
  .. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
75
75
 
76
76
  Unsupported Python Versions
77
77
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
78
- Python <= 3.8
78
+ Python <= 3.9
79
+
79
80
 
80
81
  If you are using an `end-of-life`_
81
82
  version of Python, we recommend that you update as soon as possible to an actively supported version.
@@ -104,14 +105,14 @@ Windows
104
105
  Next Steps
105
106
  ~~~~~~~~~~
106
107
 
107
- - Read the `Client Library Documentation`_ for Cloud Logging API
108
+ - Read the `Client Library Documentation`_ for Cloud Logging
108
109
  to see other available methods on the client.
109
- - Read the `Cloud Logging API Product documentation`_ to learn
110
+ - Read the `Cloud Logging Product documentation`_ to learn
110
111
  more about the product and see How-to Guides.
111
112
  - View this `README`_ to see the full list of Cloud
112
113
  APIs that we cover.
113
114
 
114
- .. _Cloud Logging API Product documentation: https://cloud.google.com/logging/docs
115
+ .. _Cloud Logging Product documentation: https://cloud.google.com/logging/
115
116
  .. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
116
117
 
117
118
  Logging
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -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.15.0" # {x-release-please-version}
16
+ __version__ = "3.16.0" # {x-release-please-version}
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -383,7 +383,8 @@ class Client(ClientWithProject):
383
383
  elif monitored_resource.type == _GKE_RESOURCE_TYPE:
384
384
  return StructuredLogHandler(**kw, project_id=self.project)
385
385
  elif monitored_resource.type == _GCF_RESOURCE_TYPE:
386
- # __stdout__ stream required to support structured logging on Python 3.7
386
+ # Bypassing redirects via __stdout__ ensures structured logging
387
+ # works robustly on Google Cloud Functions even if stdout is redirected.
387
388
  kw["stream"] = kw.get("stream", sys.__stdout__)
388
389
  return StructuredLogHandler(**kw, project_id=self.project)
389
390
  elif monitored_resource.type == _RUN_RESOURCE_TYPE:
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -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.15.0" # {x-release-please-version}
16
+ __version__ = "3.16.0" # {x-release-please-version}
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -15,7 +15,6 @@
15
15
  #
16
16
  import logging as std_logging
17
17
  import re
18
- import uuid
19
18
  from collections import OrderedDict
20
19
  from typing import (
21
20
  Callable,
@@ -575,11 +574,11 @@ class ConfigServiceV2AsyncClient:
575
574
  )
576
575
 
577
576
  # Make the request
578
- operation = client.create_bucket_async(request=request)
577
+ operation = await client.create_bucket_async(request=request)
579
578
 
580
579
  print("Waiting for operation to complete...")
581
580
 
582
- response = (await operation).result()
581
+ response = await operation.result()
583
582
 
584
583
  # Handle the response
585
584
  print(response)
@@ -681,11 +680,11 @@ class ConfigServiceV2AsyncClient:
681
680
  )
682
681
 
683
682
  # Make the request
684
- operation = client.update_bucket_async(request=request)
683
+ operation = await client.update_bucket_async(request=request)
685
684
 
686
685
  print("Waiting for operation to complete...")
687
686
 
688
- response = (await operation).result()
687
+ response = await operation.result()
689
688
 
690
689
  # Handle the response
691
690
  print(response)
@@ -2274,11 +2273,11 @@ class ConfigServiceV2AsyncClient:
2274
2273
  )
2275
2274
 
2276
2275
  # Make the request
2277
- operation = client.create_link(request=request)
2276
+ operation = await client.create_link(request=request)
2278
2277
 
2279
2278
  print("Waiting for operation to complete...")
2280
2279
 
2281
- response = (await operation).result()
2280
+ response = await operation.result()
2282
2281
 
2283
2282
  # Handle the response
2284
2283
  print(response)
@@ -2424,11 +2423,11 @@ class ConfigServiceV2AsyncClient:
2424
2423
  )
2425
2424
 
2426
2425
  # Make the request
2427
- operation = client.delete_link(request=request)
2426
+ operation = await client.delete_link(request=request)
2428
2427
 
2429
2428
  print("Waiting for operation to complete...")
2430
2429
 
2431
- response = (await operation).result()
2430
+ response = await operation.result()
2432
2431
 
2433
2432
  # Handle the response
2434
2433
  print(response)
@@ -3992,11 +3991,11 @@ class ConfigServiceV2AsyncClient:
3992
3991
  )
3993
3992
 
3994
3993
  # Make the request
3995
- operation = client.copy_log_entries(request=request)
3994
+ operation = await client.copy_log_entries(request=request)
3996
3995
 
3997
3996
  print("Waiting for operation to complete...")
3998
3997
 
3999
- response = (await operation).result()
3998
+ response = await operation.result()
4000
3999
 
4001
4000
  # Handle the response
4002
4001
  print(response)
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -17,7 +17,6 @@ import json
17
17
  import logging as std_logging
18
18
  import os
19
19
  import re
20
- import uuid
21
20
  import warnings
22
21
  from collections import OrderedDict
23
22
  from http import HTTPStatus
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -15,7 +15,6 @@
15
15
  #
16
16
  import logging as std_logging
17
17
  import re
18
- import uuid
19
18
  from collections import OrderedDict
20
19
  from typing import (
21
20
  AsyncIterable,
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -17,7 +17,6 @@ import json
17
17
  import logging as std_logging
18
18
  import os
19
19
  import re
20
- import uuid
21
20
  import warnings
22
21
  from collections import OrderedDict
23
22
  from http import HTTPStatus
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -15,7 +15,6 @@
15
15
  #
16
16
  import logging as std_logging
17
17
  import re
18
- import uuid
19
18
  from collections import OrderedDict
20
19
  from typing import (
21
20
  Callable,
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -17,7 +17,6 @@ import json
17
17
  import logging as std_logging
18
18
  import os
19
19
  import re
20
- import uuid
21
20
  import warnings
22
21
  from collections import OrderedDict
23
22
  from http import HTTPStatus
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2025 Google LLC
2
+ # Copyright 2026 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.