google-cloud-maintenance-api 0.4.0__tar.gz → 0.4.1__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 (59) hide show
  1. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/MANIFEST.in +1 -1
  2. {google_cloud_maintenance_api-0.4.0/google_cloud_maintenance_api.egg-info → google_cloud_maintenance_api-0.4.1}/PKG-INFO +22 -18
  3. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/README.rst +17 -12
  4. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api/__init__.py +1 -1
  5. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api/gapic_version.py +2 -2
  6. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1/__init__.py +4 -21
  7. {google_cloud_maintenance_api-0.4.0/google/cloud/maintenance_api_v1beta → google_cloud_maintenance_api-0.4.1/google/cloud/maintenance_api_v1}/gapic_version.py +2 -2
  8. {google_cloud_maintenance_api-0.4.0/google/cloud/maintenance_api_v1beta → google_cloud_maintenance_api-0.4.1/google/cloud/maintenance_api_v1}/services/__init__.py +1 -1
  9. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1/services/maintenance/__init__.py +1 -1
  10. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1/services/maintenance/async_client.py +1 -1
  11. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1/services/maintenance/client.py +1 -1
  12. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1/services/maintenance/pagers.py +1 -1
  13. {google_cloud_maintenance_api-0.4.0/google/cloud/maintenance_api_v1beta → google_cloud_maintenance_api-0.4.1/google/cloud/maintenance_api_v1}/services/maintenance/transports/__init__.py +1 -1
  14. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1/services/maintenance/transports/base.py +1 -1
  15. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1/services/maintenance/transports/grpc.py +1 -1
  16. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1/services/maintenance/transports/grpc_asyncio.py +1 -1
  17. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1/services/maintenance/transports/rest.py +1 -1
  18. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1/services/maintenance/transports/rest_base.py +1 -1
  19. {google_cloud_maintenance_api-0.4.0/google/cloud/maintenance_api_v1beta → google_cloud_maintenance_api-0.4.1/google/cloud/maintenance_api_v1}/types/__init__.py +1 -1
  20. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1/types/maintenance_service.py +1 -1
  21. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1beta/__init__.py +4 -21
  22. {google_cloud_maintenance_api-0.4.0/google/cloud/maintenance_api_v1 → google_cloud_maintenance_api-0.4.1/google/cloud/maintenance_api_v1beta}/gapic_version.py +2 -2
  23. {google_cloud_maintenance_api-0.4.0/tests → google_cloud_maintenance_api-0.4.1/google/cloud/maintenance_api_v1beta/services}/__init__.py +1 -1
  24. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1beta/services/maintenance/__init__.py +1 -1
  25. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1beta/services/maintenance/async_client.py +1 -1
  26. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1beta/services/maintenance/client.py +1 -1
  27. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1beta/services/maintenance/pagers.py +1 -1
  28. {google_cloud_maintenance_api-0.4.0/google/cloud/maintenance_api_v1 → google_cloud_maintenance_api-0.4.1/google/cloud/maintenance_api_v1beta}/services/maintenance/transports/__init__.py +1 -1
  29. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1beta/services/maintenance/transports/base.py +1 -1
  30. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1beta/services/maintenance/transports/grpc.py +1 -1
  31. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1beta/services/maintenance/transports/grpc_asyncio.py +1 -1
  32. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1beta/services/maintenance/transports/rest.py +1 -1
  33. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1beta/services/maintenance/transports/rest_base.py +1 -1
  34. {google_cloud_maintenance_api-0.4.0/google/cloud/maintenance_api_v1 → google_cloud_maintenance_api-0.4.1/google/cloud/maintenance_api_v1beta}/types/__init__.py +1 -1
  35. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1beta/types/maintenance_service.py +2 -2
  36. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1/google_cloud_maintenance_api.egg-info}/PKG-INFO +22 -18
  37. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google_cloud_maintenance_api.egg-info/requires.txt +2 -2
  38. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/setup.py +5 -6
  39. {google_cloud_maintenance_api-0.4.0/tests/unit → google_cloud_maintenance_api-0.4.1/tests}/__init__.py +1 -1
  40. {google_cloud_maintenance_api-0.4.0/google/cloud/maintenance_api_v1/services → google_cloud_maintenance_api-0.4.1/tests/unit}/__init__.py +1 -1
  41. google_cloud_maintenance_api-0.4.1/tests/unit/gapic/__init__.py +15 -0
  42. google_cloud_maintenance_api-0.4.1/tests/unit/gapic/maintenance_api_v1/__init__.py +15 -0
  43. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/tests/unit/gapic/maintenance_api_v1/test_maintenance.py +67 -68
  44. google_cloud_maintenance_api-0.4.1/tests/unit/gapic/maintenance_api_v1beta/__init__.py +15 -0
  45. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/tests/unit/gapic/maintenance_api_v1beta/test_maintenance.py +67 -68
  46. google_cloud_maintenance_api-0.4.0/tests/unit/gapic/__init__.py +0 -15
  47. google_cloud_maintenance_api-0.4.0/tests/unit/gapic/maintenance_api_v1/__init__.py +0 -15
  48. google_cloud_maintenance_api-0.4.0/tests/unit/gapic/maintenance_api_v1beta/__init__.py +0 -15
  49. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/LICENSE +0 -0
  50. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api/py.typed +0 -0
  51. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1/gapic_metadata.json +0 -0
  52. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1/py.typed +0 -0
  53. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1beta/gapic_metadata.json +0 -0
  54. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google/cloud/maintenance_api_v1beta/py.typed +0 -0
  55. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google_cloud_maintenance_api.egg-info/SOURCES.txt +0 -0
  56. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google_cloud_maintenance_api.egg-info/dependency_links.txt +0 -0
  57. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google_cloud_maintenance_api.egg-info/not-zip-safe +0 -0
  58. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/google_cloud_maintenance_api.egg-info/top_level.txt +0 -0
  59. {google_cloud_maintenance_api-0.4.0 → google_cloud_maintenance_api-0.4.1}/setup.cfg +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-maintenance-api
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: Google Cloud Maintenance Api API client library
5
5
  Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-maintenance-api
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 :: 4 - Beta
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,11 +19,11 @@ 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
- Requires-Dist: grpcio<2.0.0,>=1.33.2
26
+ Requires-Dist: grpcio<2.0.0,>=1.59.0
28
27
  Requires-Dist: grpcio<2.0.0,>=1.75.1; python_version >= "3.14"
29
28
  Requires-Dist: proto-plus<2.0.0,>=1.22.3
30
29
  Requires-Dist: proto-plus<2.0.0,>=1.25.0; python_version >= "3.13"
@@ -41,12 +40,16 @@ Dynamic: requires-dist
41
40
  Dynamic: requires-python
42
41
  Dynamic: summary
43
42
 
44
- Python Client for Maintenance API
45
- =================================
43
+ Python Client for Maintenance
44
+ =============================
46
45
 
47
46
  |preview| |pypi| |versions|
48
47
 
49
- `Maintenance API`_: The Maintenance API provides a centralized view of planned disruptive maintenance events across supported Google Cloud products. It offers users visibility into upcoming, ongoing, and completed maintenance, along with controls to manage certain maintenance activities, such as mainteance windows, rescheduling, and on-demand updates.
48
+ `Cloud Maintenance`_: The Maintenance API provides a centralized view of planned disruptive
49
+ maintenance events across supported Google Cloud products. It offers users
50
+ visibility into upcoming, ongoing, and completed maintenance, along with
51
+ controls to manage certain maintenance activities, such as maintenance
52
+ windows, rescheduling, and on-demand updates.
50
53
 
51
54
  - `Client Library Documentation`_
52
55
  - `Product Documentation`_
@@ -57,9 +60,9 @@ Python Client for Maintenance API
57
60
  :target: https://pypi.org/project/google-cloud-maintenance-api/
58
61
  .. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-maintenance-api.svg
59
62
  :target: https://pypi.org/project/google-cloud-maintenance-api/
60
- .. _Maintenance API: https://cloud.google.com/unified-maintenance/docs/overview
63
+ .. _Cloud Maintenance: https://cloud.google.com/unified-maintenance/
61
64
  .. _Client Library Documentation: https://cloud.google.com/python/docs/reference/google-cloud-maintenance-api/latest/summary_overview
62
- .. _Product Documentation: https://cloud.google.com/unified-maintenance/docs/overview
65
+ .. _Product Documentation: https://cloud.google.com/unified-maintenance/
63
66
 
64
67
  Quick Start
65
68
  -----------
@@ -68,12 +71,12 @@ In order to use this library, you first need to go through the following steps:
68
71
 
69
72
  1. `Select or create a Cloud Platform project.`_
70
73
  2. `Enable billing for your project.`_
71
- 3. `Enable the Maintenance API.`_
74
+ 3. `Enable the Maintenance.`_
72
75
  4. `Set up Authentication.`_
73
76
 
74
77
  .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
75
78
  .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
76
- .. _Enable the Maintenance API.: https://cloud.google.com/unified-maintenance/docs/overview
79
+ .. _Enable the Maintenance.: https://cloud.google.com/unified-maintenance/
77
80
  .. _Set up Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
78
81
 
79
82
  Installation
@@ -104,14 +107,15 @@ Supported Python Versions
104
107
  Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
105
108
  Python.
106
109
 
107
- Python >= 3.9, including 3.14
110
+ Python >= 3.10, including 3.14
108
111
 
109
112
  .. _active: https://devguide.python.org/devcycle/#in-development-main-branch
110
113
  .. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
111
114
 
112
115
  Unsupported Python Versions
113
116
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
114
- Python <= 3.8
117
+ Python <= 3.9
118
+
115
119
 
116
120
  If you are using an `end-of-life`_
117
121
  version of Python, we recommend that you update as soon as possible to an actively supported version.
@@ -140,14 +144,14 @@ Windows
140
144
  Next Steps
141
145
  ~~~~~~~~~~
142
146
 
143
- - Read the `Client Library Documentation`_ for Maintenance API
147
+ - Read the `Client Library Documentation`_ for Maintenance
144
148
  to see other available methods on the client.
145
- - Read the `Maintenance API Product documentation`_ to learn
149
+ - Read the `Maintenance Product documentation`_ to learn
146
150
  more about the product and see How-to Guides.
147
151
  - View this `README`_ to see the full list of Cloud
148
152
  APIs that we cover.
149
153
 
150
- .. _Maintenance API Product documentation: https://cloud.google.com/unified-maintenance/docs/overview
154
+ .. _Maintenance Product documentation: https://cloud.google.com/unified-maintenance/
151
155
  .. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
152
156
 
153
157
  Logging
@@ -1,9 +1,13 @@
1
- Python Client for Maintenance API
2
- =================================
1
+ Python Client for Maintenance
2
+ =============================
3
3
 
4
4
  |preview| |pypi| |versions|
5
5
 
6
- `Maintenance API`_: The Maintenance API provides a centralized view of planned disruptive maintenance events across supported Google Cloud products. It offers users visibility into upcoming, ongoing, and completed maintenance, along with controls to manage certain maintenance activities, such as mainteance windows, rescheduling, and on-demand updates.
6
+ `Cloud Maintenance`_: The Maintenance API provides a centralized view of planned disruptive
7
+ maintenance events across supported Google Cloud products. It offers users
8
+ visibility into upcoming, ongoing, and completed maintenance, along with
9
+ controls to manage certain maintenance activities, such as maintenance
10
+ windows, rescheduling, and on-demand updates.
7
11
 
8
12
  - `Client Library Documentation`_
9
13
  - `Product Documentation`_
@@ -14,9 +18,9 @@ Python Client for Maintenance API
14
18
  :target: https://pypi.org/project/google-cloud-maintenance-api/
15
19
  .. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-maintenance-api.svg
16
20
  :target: https://pypi.org/project/google-cloud-maintenance-api/
17
- .. _Maintenance API: https://cloud.google.com/unified-maintenance/docs/overview
21
+ .. _Cloud Maintenance: https://cloud.google.com/unified-maintenance/
18
22
  .. _Client Library Documentation: https://cloud.google.com/python/docs/reference/google-cloud-maintenance-api/latest/summary_overview
19
- .. _Product Documentation: https://cloud.google.com/unified-maintenance/docs/overview
23
+ .. _Product Documentation: https://cloud.google.com/unified-maintenance/
20
24
 
21
25
  Quick Start
22
26
  -----------
@@ -25,12 +29,12 @@ In order to use this library, you first need to go through the following steps:
25
29
 
26
30
  1. `Select or create a Cloud Platform project.`_
27
31
  2. `Enable billing for your project.`_
28
- 3. `Enable the Maintenance API.`_
32
+ 3. `Enable the Maintenance.`_
29
33
  4. `Set up Authentication.`_
30
34
 
31
35
  .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
32
36
  .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
33
- .. _Enable the Maintenance API.: https://cloud.google.com/unified-maintenance/docs/overview
37
+ .. _Enable the Maintenance.: https://cloud.google.com/unified-maintenance/
34
38
  .. _Set up Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
35
39
 
36
40
  Installation
@@ -61,14 +65,15 @@ Supported Python Versions
61
65
  Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
62
66
  Python.
63
67
 
64
- Python >= 3.9, including 3.14
68
+ Python >= 3.10, including 3.14
65
69
 
66
70
  .. _active: https://devguide.python.org/devcycle/#in-development-main-branch
67
71
  .. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
68
72
 
69
73
  Unsupported Python Versions
70
74
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
71
- Python <= 3.8
75
+ Python <= 3.9
76
+
72
77
 
73
78
  If you are using an `end-of-life`_
74
79
  version of Python, we recommend that you update as soon as possible to an actively supported version.
@@ -97,14 +102,14 @@ Windows
97
102
  Next Steps
98
103
  ~~~~~~~~~~
99
104
 
100
- - Read the `Client Library Documentation`_ for Maintenance API
105
+ - Read the `Client Library Documentation`_ for Maintenance
101
106
  to see other available methods on the client.
102
- - Read the `Maintenance API Product documentation`_ to learn
107
+ - Read the `Maintenance Product documentation`_ to learn
103
108
  more about the product and see How-to Guides.
104
109
  - View this `README`_ to see the full list of Cloud
105
110
  APIs that we cover.
106
111
 
107
- .. _Maintenance API Product documentation: https://cloud.google.com/unified-maintenance/docs/overview
112
+ .. _Maintenance Product documentation: https://cloud.google.com/unified-maintenance/
108
113
  .. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
109
114
 
110
115
  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__ = "0.4.0" # {x-release-please-version}
16
+ __version__ = "0.4.1" # {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.
@@ -21,13 +21,7 @@ from google.cloud.maintenance_api_v1 import gapic_version as package_version
21
21
 
22
22
  __version__ = package_version.__version__
23
23
 
24
- if sys.version_info >= (3, 8): # pragma: NO COVER
25
- from importlib import metadata
26
- else: # pragma: NO COVER
27
- # TODO(https://github.com/googleapis/python-api-core/issues/835): Remove
28
- # this code path once we drop support for Python 3.7
29
- import importlib_metadata as metadata
30
-
24
+ from importlib import metadata
31
25
 
32
26
  from .services.maintenance import MaintenanceAsyncClient, MaintenanceClient
33
27
  from .types.maintenance_service import (
@@ -51,28 +45,17 @@ else: # pragma: NO COVER
51
45
  # An older version of api_core is installed which does not define the
52
46
  # functions above. We do equivalent checks manually.
53
47
  try:
54
- import sys
55
48
  import warnings
56
49
 
57
50
  _py_version_str = sys.version.split()[0]
58
51
  _package_label = "google.cloud.maintenance_api_v1"
59
- if sys.version_info < (3, 9):
52
+ if sys.version_info < (3, 10):
60
53
  warnings.warn(
61
54
  "You are using a non-supported Python version "
62
55
  + f"({_py_version_str}). Google will not post any further "
63
56
  + f"updates to {_package_label} supporting this Python version. "
64
57
  + "Please upgrade to the latest Python version, or at "
65
- + f"least to Python 3.9, and then update {_package_label}.",
66
- FutureWarning,
67
- )
68
- if sys.version_info[:2] == (3, 9):
69
- warnings.warn(
70
- f"You are using a Python version ({_py_version_str}) "
71
- + f"which Google will stop supporting in {_package_label} in "
72
- + "January 2026. Please "
73
- + "upgrade to the latest Python version, or at "
74
- + "least to Python 3.10, before then, and "
75
- + f"then update {_package_label}.",
58
+ + f"least to Python 3.10, and then update {_package_label}.",
76
59
  FutureWarning,
77
60
  )
78
61
 
@@ -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__ = "0.4.0" # {x-release-please-version}
16
+ __version__ = "0.4.1" # {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.
@@ -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.
@@ -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.
@@ -21,13 +21,7 @@ from google.cloud.maintenance_api_v1beta import gapic_version as package_version
21
21
 
22
22
  __version__ = package_version.__version__
23
23
 
24
- if sys.version_info >= (3, 8): # pragma: NO COVER
25
- from importlib import metadata
26
- else: # pragma: NO COVER
27
- # TODO(https://github.com/googleapis/python-api-core/issues/835): Remove
28
- # this code path once we drop support for Python 3.7
29
- import importlib_metadata as metadata
30
-
24
+ from importlib import metadata
31
25
 
32
26
  from .services.maintenance import MaintenanceAsyncClient, MaintenanceClient
33
27
  from .types.maintenance_service import (
@@ -51,28 +45,17 @@ else: # pragma: NO COVER
51
45
  # An older version of api_core is installed which does not define the
52
46
  # functions above. We do equivalent checks manually.
53
47
  try:
54
- import sys
55
48
  import warnings
56
49
 
57
50
  _py_version_str = sys.version.split()[0]
58
51
  _package_label = "google.cloud.maintenance_api_v1beta"
59
- if sys.version_info < (3, 9):
52
+ if sys.version_info < (3, 10):
60
53
  warnings.warn(
61
54
  "You are using a non-supported Python version "
62
55
  + f"({_py_version_str}). Google will not post any further "
63
56
  + f"updates to {_package_label} supporting this Python version. "
64
57
  + "Please upgrade to the latest Python version, or at "
65
- + f"least to Python 3.9, and then update {_package_label}.",
66
- FutureWarning,
67
- )
68
- if sys.version_info[:2] == (3, 9):
69
- warnings.warn(
70
- f"You are using a Python version ({_py_version_str}) "
71
- + f"which Google will stop supporting in {_package_label} in "
72
- + "January 2026. Please "
73
- + "upgrade to the latest Python version, or at "
74
- + "least to Python 3.10, before then, and "
75
- + f"then update {_package_label}.",
58
+ + f"least to Python 3.10, and then update {_package_label}.",
76
59
  FutureWarning,
77
60
  )
78
61
 
@@ -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__ = "0.4.0" # {x-release-please-version}
16
+ __version__ = "0.4.1" # {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.
@@ -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.
@@ -352,7 +352,7 @@ class ResourceMaintenance(proto.Message):
352
352
  user_controllable (bool):
353
353
  Output only. Indicates whether the user has
354
354
  some control over that maintenance, either
355
- proactively before maintenance was scheduled
355
+ proactively before maintenance was scheduled
356
356
  with maintenance policy or with reactive
357
357
  controls after it was scheduled (see controls
358
358
  field)