google-cloud-memorystore 0.4.0__tar.gz → 0.5.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 (62) hide show
  1. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/MANIFEST.in +1 -1
  2. {google_cloud_memorystore-0.4.0/google_cloud_memorystore.egg-info → google_cloud_memorystore-0.5.1}/PKG-INFO +13 -13
  3. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/README.rst +8 -7
  4. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore/__init__.py +9 -1
  5. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore/gapic_version.py +2 -2
  6. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore_v1/__init__.py +10 -22
  7. google_cloud_memorystore-0.5.1/google/cloud/memorystore_v1/gapic_metadata.json +253 -0
  8. {google_cloud_memorystore-0.4.0/google/cloud/memorystore_v1beta → google_cloud_memorystore-0.5.1/google/cloud/memorystore_v1}/gapic_version.py +2 -2
  9. {google_cloud_memorystore-0.4.0/google/cloud/memorystore_v1beta → google_cloud_memorystore-0.5.1/google/cloud/memorystore_v1}/services/__init__.py +1 -1
  10. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore_v1/services/memorystore/__init__.py +6 -2
  11. google_cloud_memorystore-0.5.1/google/cloud/memorystore_v1/services/memorystore/async_client.py +2597 -0
  12. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore_v1/services/memorystore/client.py +164 -1
  13. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore_v1/services/memorystore/pagers.py +241 -1
  14. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore_v1/services/memorystore/transports/__init__.py +7 -1
  15. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore_v1/services/memorystore/transports/base.py +18 -1
  16. google_cloud_memorystore-0.5.1/google/cloud/memorystore_v1/services/memorystore/transports/grpc.py +890 -0
  17. google_cloud_memorystore-0.5.1/google/cloud/memorystore_v1/services/memorystore/transports/grpc_asyncio.py +1058 -0
  18. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore_v1/services/memorystore/transports/rest.py +233 -1
  19. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore_v1/services/memorystore/transports/rest_base.py +50 -1
  20. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore_v1/types/__init__.py +5 -1
  21. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore_v1/types/memorystore.py +165 -1
  22. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore_v1beta/__init__.py +10 -22
  23. google_cloud_memorystore-0.5.1/google/cloud/memorystore_v1beta/gapic_metadata.json +133 -0
  24. {google_cloud_memorystore-0.4.0/google/cloud/memorystore_v1 → google_cloud_memorystore-0.5.1/google/cloud/memorystore_v1beta}/gapic_version.py +2 -2
  25. {google_cloud_memorystore-0.4.0/tests → google_cloud_memorystore-0.5.1/google/cloud/memorystore_v1beta/services}/__init__.py +1 -1
  26. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore_v1beta/services/memorystore/__init__.py +6 -2
  27. google_cloud_memorystore-0.5.1/google/cloud/memorystore_v1beta/services/memorystore/async_client.py +1597 -0
  28. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore_v1beta/services/memorystore/client.py +164 -1
  29. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore_v1beta/services/memorystore/pagers.py +81 -1
  30. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore_v1beta/services/memorystore/transports/__init__.py +7 -1
  31. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore_v1beta/services/memorystore/transports/base.py +18 -1
  32. google_cloud_memorystore-0.5.1/google/cloud/memorystore_v1beta/services/memorystore/transports/grpc.py +656 -0
  33. google_cloud_memorystore-0.5.1/google/cloud/memorystore_v1beta/services/memorystore/transports/grpc_asyncio.py +773 -0
  34. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore_v1beta/services/memorystore/transports/rest.py +233 -1
  35. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore_v1beta/services/memorystore/transports/rest_base.py +50 -1
  36. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore_v1beta/types/__init__.py +5 -1
  37. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore_v1beta/types/memorystore.py +165 -1
  38. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1/google_cloud_memorystore.egg-info}/PKG-INFO +13 -13
  39. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google_cloud_memorystore.egg-info/SOURCES.txt +6 -0
  40. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google_cloud_memorystore.egg-info/requires.txt +2 -2
  41. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/setup.py +5 -6
  42. {google_cloud_memorystore-0.4.0/tests/unit → google_cloud_memorystore-0.5.1/tests}/__init__.py +1 -1
  43. {google_cloud_memorystore-0.4.0/google/cloud/memorystore_v1/services → google_cloud_memorystore-0.5.1/tests/unit}/__init__.py +1 -1
  44. google_cloud_memorystore-0.5.1/tests/unit/gapic/__init__.py +15 -0
  45. google_cloud_memorystore-0.5.1/tests/unit/gapic/memorystore_v1/__init__.py +15 -0
  46. google_cloud_memorystore-0.5.1/tests/unit/gapic/memorystore_v1/test_memorystore.py +16117 -0
  47. google_cloud_memorystore-0.5.1/tests/unit/gapic/memorystore_v1beta/__init__.py +15 -0
  48. {google_cloud_memorystore-0.4.0/tests/unit/gapic/memorystore_v1 → google_cloud_memorystore-0.5.1/tests/unit/gapic/memorystore_v1beta}/test_memorystore.py +5289 -3436
  49. google_cloud_memorystore-0.4.0/google/cloud/memorystore_v1/gapic_metadata.json +0 -88
  50. google_cloud_memorystore-0.4.0/google/cloud/memorystore_v1beta/gapic_metadata.json +0 -48
  51. google_cloud_memorystore-0.4.0/tests/unit/gapic/__init__.py +0 -15
  52. google_cloud_memorystore-0.4.0/tests/unit/gapic/memorystore_v1/__init__.py +0 -15
  53. google_cloud_memorystore-0.4.0/tests/unit/gapic/memorystore_v1beta/__init__.py +0 -15
  54. google_cloud_memorystore-0.4.0/tests/unit/gapic/memorystore_v1beta/test_memorystore.py +0 -4514
  55. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/LICENSE +0 -0
  56. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore/py.typed +0 -0
  57. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore_v1/py.typed +0 -0
  58. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google/cloud/memorystore_v1beta/py.typed +0 -0
  59. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google_cloud_memorystore.egg-info/dependency_links.txt +0 -0
  60. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google_cloud_memorystore.egg-info/not-zip-safe +0 -0
  61. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.1}/google_cloud_memorystore.egg-info/top_level.txt +0 -0
  62. {google_cloud_memorystore-0.4.0 → google_cloud_memorystore-0.5.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-memorystore
3
- Version: 0.4.0
3
+ Version: 0.5.1
4
4
  Summary: Google Cloud Memorystore API client library
5
5
  Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-memorystore
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"
@@ -46,7 +45,7 @@ Python Client for Memorystore
46
45
 
47
46
  |preview| |pypi| |versions|
48
47
 
49
- `Memorystore`_: Memorystore for Valkey is a fully managed Valkey Cluster service for Google Cloud. Applications running on Google Cloud can achieve extreme performance by leveraging the highly scalable, available, secure Valkey service without the burden of managing complex Valkey deployments.
48
+ `Memorystore`_: Memorystore for Valkey is a fully managed Valkey service for Google Cloud which supports both Cluster Mode Enabled and Cluster Mode Disabled instances.
50
49
 
51
50
  - `Client Library Documentation`_
52
51
  - `Product Documentation`_
@@ -57,9 +56,9 @@ Python Client for Memorystore
57
56
  :target: https://pypi.org/project/google-cloud-memorystore/
58
57
  .. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-memorystore.svg
59
58
  :target: https://pypi.org/project/google-cloud-memorystore/
60
- .. _Memorystore: https://cloud.google.com/memorystore/docs/valkey
59
+ .. _Memorystore: https://cloud.google.com/memorystore/
61
60
  .. _Client Library Documentation: https://cloud.google.com/python/docs/reference/google-cloud-memorystore/latest/summary_overview
62
- .. _Product Documentation: https://cloud.google.com/memorystore/docs/valkey
61
+ .. _Product Documentation: https://cloud.google.com/memorystore/
63
62
 
64
63
  Quick Start
65
64
  -----------
@@ -73,7 +72,7 @@ In order to use this library, you first need to go through the following steps:
73
72
 
74
73
  .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
75
74
  .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
76
- .. _Enable the Memorystore.: https://cloud.google.com/memorystore/docs/valkey
75
+ .. _Enable the Memorystore.: https://cloud.google.com/memorystore/
77
76
  .. _Set up Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
78
77
 
79
78
  Installation
@@ -104,14 +103,15 @@ Supported Python Versions
104
103
  Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
105
104
  Python.
106
105
 
107
- Python >= 3.9, including 3.14
106
+ Python >= 3.10, including 3.14
108
107
 
109
108
  .. _active: https://devguide.python.org/devcycle/#in-development-main-branch
110
109
  .. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
111
110
 
112
111
  Unsupported Python Versions
113
112
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
114
- Python <= 3.8
113
+ Python <= 3.9
114
+
115
115
 
116
116
  If you are using an `end-of-life`_
117
117
  version of Python, we recommend that you update as soon as possible to an actively supported version.
@@ -147,7 +147,7 @@ Next Steps
147
147
  - View this `README`_ to see the full list of Cloud
148
148
  APIs that we cover.
149
149
 
150
- .. _Memorystore Product documentation: https://cloud.google.com/memorystore/docs/valkey
150
+ .. _Memorystore Product documentation: https://cloud.google.com/memorystore/
151
151
  .. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
152
152
 
153
153
  Logging
@@ -3,7 +3,7 @@ Python Client for Memorystore
3
3
 
4
4
  |preview| |pypi| |versions|
5
5
 
6
- `Memorystore`_: Memorystore for Valkey is a fully managed Valkey Cluster service for Google Cloud. Applications running on Google Cloud can achieve extreme performance by leveraging the highly scalable, available, secure Valkey service without the burden of managing complex Valkey deployments.
6
+ `Memorystore`_: Memorystore for Valkey is a fully managed Valkey service for Google Cloud which supports both Cluster Mode Enabled and Cluster Mode Disabled instances.
7
7
 
8
8
  - `Client Library Documentation`_
9
9
  - `Product Documentation`_
@@ -14,9 +14,9 @@ Python Client for Memorystore
14
14
  :target: https://pypi.org/project/google-cloud-memorystore/
15
15
  .. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-memorystore.svg
16
16
  :target: https://pypi.org/project/google-cloud-memorystore/
17
- .. _Memorystore: https://cloud.google.com/memorystore/docs/valkey
17
+ .. _Memorystore: https://cloud.google.com/memorystore/
18
18
  .. _Client Library Documentation: https://cloud.google.com/python/docs/reference/google-cloud-memorystore/latest/summary_overview
19
- .. _Product Documentation: https://cloud.google.com/memorystore/docs/valkey
19
+ .. _Product Documentation: https://cloud.google.com/memorystore/
20
20
 
21
21
  Quick Start
22
22
  -----------
@@ -30,7 +30,7 @@ In order to use this library, you first need to go through the following steps:
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 Memorystore.: https://cloud.google.com/memorystore/docs/valkey
33
+ .. _Enable the Memorystore.: https://cloud.google.com/memorystore/
34
34
  .. _Set up Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
35
35
 
36
36
  Installation
@@ -61,14 +61,15 @@ Supported Python Versions
61
61
  Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
62
62
  Python.
63
63
 
64
- Python >= 3.9, including 3.14
64
+ Python >= 3.10, including 3.14
65
65
 
66
66
  .. _active: https://devguide.python.org/devcycle/#in-development-main-branch
67
67
  .. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
68
68
 
69
69
  Unsupported Python Versions
70
70
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
71
- Python <= 3.8
71
+ Python <= 3.9
72
+
72
73
 
73
74
  If you are using an `end-of-life`_
74
75
  version of Python, we recommend that you update as soon as possible to an actively supported version.
@@ -104,7 +105,7 @@ Next Steps
104
105
  - View this `README`_ to see the full list of Cloud
105
106
  APIs that we cover.
106
107
 
107
- .. _Memorystore Product documentation: https://cloud.google.com/memorystore/docs/valkey
108
+ .. _Memorystore Product documentation: https://cloud.google.com/memorystore/
108
109
  .. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
109
110
 
110
111
  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.
@@ -18,6 +18,9 @@ from google.cloud.memorystore import gapic_version as package_version
18
18
  __version__ = package_version.__version__
19
19
 
20
20
 
21
+ from google.cloud.memorystore_v1.services.memorystore.async_client import (
22
+ MemorystoreAsyncClient,
23
+ )
21
24
  from google.cloud.memorystore_v1.services.memorystore.client import MemorystoreClient
22
25
  from google.cloud.memorystore_v1.types.memorystore import (
23
26
  AutomatedBackupConfig,
@@ -38,6 +41,7 @@ from google.cloud.memorystore_v1.types.memorystore import (
38
41
  GetBackupRequest,
39
42
  GetCertificateAuthorityRequest,
40
43
  GetInstanceRequest,
44
+ GetSharedRegionalCertificateAuthorityRequest,
41
45
  Instance,
42
46
  ListBackupCollectionsRequest,
43
47
  ListBackupCollectionsResponse,
@@ -55,6 +59,7 @@ from google.cloud.memorystore_v1.types.memorystore import (
55
59
  PscConnection,
56
60
  PscConnectionStatus,
57
61
  RescheduleMaintenanceRequest,
62
+ SharedRegionalCertificateAuthority,
58
63
  UpdateInstanceRequest,
59
64
  WeeklyMaintenanceWindow,
60
65
  ZoneDistributionConfig,
@@ -62,6 +67,7 @@ from google.cloud.memorystore_v1.types.memorystore import (
62
67
 
63
68
  __all__ = (
64
69
  "MemorystoreClient",
70
+ "MemorystoreAsyncClient",
65
71
  "AutomatedBackupConfig",
66
72
  "Backup",
67
73
  "BackupCollection",
@@ -79,6 +85,7 @@ __all__ = (
79
85
  "GetBackupRequest",
80
86
  "GetCertificateAuthorityRequest",
81
87
  "GetInstanceRequest",
88
+ "GetSharedRegionalCertificateAuthorityRequest",
82
89
  "Instance",
83
90
  "ListBackupCollectionsRequest",
84
91
  "ListBackupCollectionsResponse",
@@ -95,6 +102,7 @@ __all__ = (
95
102
  "PscAutoConnection",
96
103
  "PscConnection",
97
104
  "RescheduleMaintenanceRequest",
105
+ "SharedRegionalCertificateAuthority",
98
106
  "UpdateInstanceRequest",
99
107
  "WeeklyMaintenanceWindow",
100
108
  "ZoneDistributionConfig",
@@ -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.5.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,15 +21,9 @@ from google.cloud.memorystore_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
- from .services.memorystore import MemorystoreClient
26
+ from .services.memorystore import MemorystoreAsyncClient, MemorystoreClient
33
27
  from .types.memorystore import (
34
28
  AutomatedBackupConfig,
35
29
  Backup,
@@ -49,6 +43,7 @@ from .types.memorystore import (
49
43
  GetBackupRequest,
50
44
  GetCertificateAuthorityRequest,
51
45
  GetInstanceRequest,
46
+ GetSharedRegionalCertificateAuthorityRequest,
52
47
  Instance,
53
48
  ListBackupCollectionsRequest,
54
49
  ListBackupCollectionsResponse,
@@ -66,6 +61,7 @@ from .types.memorystore import (
66
61
  PscConnection,
67
62
  PscConnectionStatus,
68
63
  RescheduleMaintenanceRequest,
64
+ SharedRegionalCertificateAuthority,
69
65
  UpdateInstanceRequest,
70
66
  WeeklyMaintenanceWindow,
71
67
  ZoneDistributionConfig,
@@ -80,28 +76,17 @@ else: # pragma: NO COVER
80
76
  # An older version of api_core is installed which does not define the
81
77
  # functions above. We do equivalent checks manually.
82
78
  try:
83
- import sys
84
79
  import warnings
85
80
 
86
81
  _py_version_str = sys.version.split()[0]
87
82
  _package_label = "google.cloud.memorystore_v1"
88
- if sys.version_info < (3, 9):
83
+ if sys.version_info < (3, 10):
89
84
  warnings.warn(
90
85
  "You are using a non-supported Python version "
91
86
  + f"({_py_version_str}). Google will not post any further "
92
87
  + f"updates to {_package_label} supporting this Python version. "
93
88
  + "Please upgrade to the latest Python version, or at "
94
- + f"least to Python 3.9, and then update {_package_label}.",
95
- FutureWarning,
96
- )
97
- if sys.version_info[:2] == (3, 9):
98
- warnings.warn(
99
- f"You are using a Python version ({_py_version_str}) "
100
- + f"which Google will stop supporting in {_package_label} in "
101
- + "January 2026. Please "
102
- + "upgrade to the latest Python version, or at "
103
- + "least to Python 3.10, before then, and "
104
- + f"then update {_package_label}.",
89
+ + f"least to Python 3.10, and then update {_package_label}.",
105
90
  FutureWarning,
106
91
  )
107
92
 
@@ -166,6 +151,7 @@ else: # pragma: NO COVER
166
151
  )
167
152
 
168
153
  __all__ = (
154
+ "MemorystoreAsyncClient",
169
155
  "AutomatedBackupConfig",
170
156
  "Backup",
171
157
  "BackupCollection",
@@ -184,6 +170,7 @@ __all__ = (
184
170
  "GetBackupRequest",
185
171
  "GetCertificateAuthorityRequest",
186
172
  "GetInstanceRequest",
173
+ "GetSharedRegionalCertificateAuthorityRequest",
187
174
  "Instance",
188
175
  "ListBackupCollectionsRequest",
189
176
  "ListBackupCollectionsResponse",
@@ -202,6 +189,7 @@ __all__ = (
202
189
  "PscConnection",
203
190
  "PscConnectionStatus",
204
191
  "RescheduleMaintenanceRequest",
192
+ "SharedRegionalCertificateAuthority",
205
193
  "UpdateInstanceRequest",
206
194
  "WeeklyMaintenanceWindow",
207
195
  "ZoneDistributionConfig",
@@ -0,0 +1,253 @@
1
+ {
2
+ "comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
3
+ "language": "python",
4
+ "libraryPackage": "google.cloud.memorystore_v1",
5
+ "protoPackage": "google.cloud.memorystore.v1",
6
+ "schema": "1.0",
7
+ "services": {
8
+ "Memorystore": {
9
+ "clients": {
10
+ "grpc": {
11
+ "libraryClient": "MemorystoreClient",
12
+ "rpcs": {
13
+ "BackupInstance": {
14
+ "methods": [
15
+ "backup_instance"
16
+ ]
17
+ },
18
+ "CreateInstance": {
19
+ "methods": [
20
+ "create_instance"
21
+ ]
22
+ },
23
+ "DeleteBackup": {
24
+ "methods": [
25
+ "delete_backup"
26
+ ]
27
+ },
28
+ "DeleteInstance": {
29
+ "methods": [
30
+ "delete_instance"
31
+ ]
32
+ },
33
+ "ExportBackup": {
34
+ "methods": [
35
+ "export_backup"
36
+ ]
37
+ },
38
+ "GetBackup": {
39
+ "methods": [
40
+ "get_backup"
41
+ ]
42
+ },
43
+ "GetBackupCollection": {
44
+ "methods": [
45
+ "get_backup_collection"
46
+ ]
47
+ },
48
+ "GetCertificateAuthority": {
49
+ "methods": [
50
+ "get_certificate_authority"
51
+ ]
52
+ },
53
+ "GetInstance": {
54
+ "methods": [
55
+ "get_instance"
56
+ ]
57
+ },
58
+ "GetSharedRegionalCertificateAuthority": {
59
+ "methods": [
60
+ "get_shared_regional_certificate_authority"
61
+ ]
62
+ },
63
+ "ListBackupCollections": {
64
+ "methods": [
65
+ "list_backup_collections"
66
+ ]
67
+ },
68
+ "ListBackups": {
69
+ "methods": [
70
+ "list_backups"
71
+ ]
72
+ },
73
+ "ListInstances": {
74
+ "methods": [
75
+ "list_instances"
76
+ ]
77
+ },
78
+ "RescheduleMaintenance": {
79
+ "methods": [
80
+ "reschedule_maintenance"
81
+ ]
82
+ },
83
+ "UpdateInstance": {
84
+ "methods": [
85
+ "update_instance"
86
+ ]
87
+ }
88
+ }
89
+ },
90
+ "grpc-async": {
91
+ "libraryClient": "MemorystoreAsyncClient",
92
+ "rpcs": {
93
+ "BackupInstance": {
94
+ "methods": [
95
+ "backup_instance"
96
+ ]
97
+ },
98
+ "CreateInstance": {
99
+ "methods": [
100
+ "create_instance"
101
+ ]
102
+ },
103
+ "DeleteBackup": {
104
+ "methods": [
105
+ "delete_backup"
106
+ ]
107
+ },
108
+ "DeleteInstance": {
109
+ "methods": [
110
+ "delete_instance"
111
+ ]
112
+ },
113
+ "ExportBackup": {
114
+ "methods": [
115
+ "export_backup"
116
+ ]
117
+ },
118
+ "GetBackup": {
119
+ "methods": [
120
+ "get_backup"
121
+ ]
122
+ },
123
+ "GetBackupCollection": {
124
+ "methods": [
125
+ "get_backup_collection"
126
+ ]
127
+ },
128
+ "GetCertificateAuthority": {
129
+ "methods": [
130
+ "get_certificate_authority"
131
+ ]
132
+ },
133
+ "GetInstance": {
134
+ "methods": [
135
+ "get_instance"
136
+ ]
137
+ },
138
+ "GetSharedRegionalCertificateAuthority": {
139
+ "methods": [
140
+ "get_shared_regional_certificate_authority"
141
+ ]
142
+ },
143
+ "ListBackupCollections": {
144
+ "methods": [
145
+ "list_backup_collections"
146
+ ]
147
+ },
148
+ "ListBackups": {
149
+ "methods": [
150
+ "list_backups"
151
+ ]
152
+ },
153
+ "ListInstances": {
154
+ "methods": [
155
+ "list_instances"
156
+ ]
157
+ },
158
+ "RescheduleMaintenance": {
159
+ "methods": [
160
+ "reschedule_maintenance"
161
+ ]
162
+ },
163
+ "UpdateInstance": {
164
+ "methods": [
165
+ "update_instance"
166
+ ]
167
+ }
168
+ }
169
+ },
170
+ "rest": {
171
+ "libraryClient": "MemorystoreClient",
172
+ "rpcs": {
173
+ "BackupInstance": {
174
+ "methods": [
175
+ "backup_instance"
176
+ ]
177
+ },
178
+ "CreateInstance": {
179
+ "methods": [
180
+ "create_instance"
181
+ ]
182
+ },
183
+ "DeleteBackup": {
184
+ "methods": [
185
+ "delete_backup"
186
+ ]
187
+ },
188
+ "DeleteInstance": {
189
+ "methods": [
190
+ "delete_instance"
191
+ ]
192
+ },
193
+ "ExportBackup": {
194
+ "methods": [
195
+ "export_backup"
196
+ ]
197
+ },
198
+ "GetBackup": {
199
+ "methods": [
200
+ "get_backup"
201
+ ]
202
+ },
203
+ "GetBackupCollection": {
204
+ "methods": [
205
+ "get_backup_collection"
206
+ ]
207
+ },
208
+ "GetCertificateAuthority": {
209
+ "methods": [
210
+ "get_certificate_authority"
211
+ ]
212
+ },
213
+ "GetInstance": {
214
+ "methods": [
215
+ "get_instance"
216
+ ]
217
+ },
218
+ "GetSharedRegionalCertificateAuthority": {
219
+ "methods": [
220
+ "get_shared_regional_certificate_authority"
221
+ ]
222
+ },
223
+ "ListBackupCollections": {
224
+ "methods": [
225
+ "list_backup_collections"
226
+ ]
227
+ },
228
+ "ListBackups": {
229
+ "methods": [
230
+ "list_backups"
231
+ ]
232
+ },
233
+ "ListInstances": {
234
+ "methods": [
235
+ "list_instances"
236
+ ]
237
+ },
238
+ "RescheduleMaintenance": {
239
+ "methods": [
240
+ "reschedule_maintenance"
241
+ ]
242
+ },
243
+ "UpdateInstance": {
244
+ "methods": [
245
+ "update_instance"
246
+ ]
247
+ }
248
+ }
249
+ }
250
+ }
251
+ }
252
+ }
253
+ }
@@ -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.5.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.
@@ -13,6 +13,10 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
+ from .async_client import MemorystoreAsyncClient
16
17
  from .client import MemorystoreClient
17
18
 
18
- __all__ = ("MemorystoreClient",)
19
+ __all__ = (
20
+ "MemorystoreClient",
21
+ "MemorystoreAsyncClient",
22
+ )