google-cloud-memorystore 0.1.2__tar.gz → 0.1.3__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 (55) hide show
  1. google_cloud_memorystore-0.1.3/MANIFEST.in +20 -0
  2. {google_cloud_memorystore-0.1.2/google_cloud_memorystore.egg-info → google_cloud_memorystore-0.1.3}/PKG-INFO +3 -3
  3. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/README.rst +2 -2
  4. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore/__init__.py +39 -1
  5. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore/gapic_version.py +2 -2
  6. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore_v1/__init__.py +39 -1
  7. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore_v1/gapic_metadata.json +40 -0
  8. {google_cloud_memorystore-0.1.2/google/cloud/memorystore_v1beta → google_cloud_memorystore-0.1.3/google/cloud/memorystore_v1}/gapic_version.py +2 -2
  9. {google_cloud_memorystore-0.1.2/google/cloud/memorystore_v1beta → google_cloud_memorystore-0.1.3/google/cloud/memorystore_v1}/services/__init__.py +1 -1
  10. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore_v1/services/memorystore/__init__.py +1 -1
  11. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore_v1/services/memorystore/client.py +1051 -13
  12. google_cloud_memorystore-0.1.3/google/cloud/memorystore_v1/services/memorystore/pagers.py +269 -0
  13. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore_v1/services/memorystore/transports/__init__.py +1 -1
  14. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore_v1/services/memorystore/transports/base.py +122 -1
  15. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore_v1/services/memorystore/transports/rest.py +1920 -199
  16. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore_v1/services/memorystore/transports/rest_base.py +407 -1
  17. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore_v1/types/__init__.py +39 -1
  18. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore_v1/types/memorystore.py +1103 -36
  19. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore_v1beta/__init__.py +1 -1
  20. {google_cloud_memorystore-0.1.2/google/cloud/memorystore_v1 → google_cloud_memorystore-0.1.3/google/cloud/memorystore_v1beta}/gapic_version.py +2 -2
  21. {google_cloud_memorystore-0.1.2/tests → google_cloud_memorystore-0.1.3/google/cloud/memorystore_v1beta/services}/__init__.py +1 -1
  22. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore_v1beta/services/memorystore/__init__.py +1 -1
  23. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore_v1beta/services/memorystore/client.py +4 -1
  24. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore_v1beta/services/memorystore/pagers.py +1 -1
  25. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore_v1beta/services/memorystore/transports/__init__.py +1 -1
  26. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore_v1beta/services/memorystore/transports/base.py +5 -1
  27. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore_v1beta/services/memorystore/transports/rest.py +5 -1
  28. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore_v1beta/services/memorystore/transports/rest_base.py +1 -1
  29. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore_v1beta/types/__init__.py +1 -1
  30. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore_v1beta/types/memorystore.py +1 -1
  31. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3/google_cloud_memorystore.egg-info}/PKG-INFO +3 -3
  32. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/setup.py +1 -1
  33. {google_cloud_memorystore-0.1.2/tests/unit → google_cloud_memorystore-0.1.3/tests}/__init__.py +1 -1
  34. {google_cloud_memorystore-0.1.2/google/cloud/memorystore_v1/services → google_cloud_memorystore-0.1.3/tests/unit}/__init__.py +1 -1
  35. google_cloud_memorystore-0.1.3/tests/unit/gapic/__init__.py +15 -0
  36. google_cloud_memorystore-0.1.3/tests/unit/gapic/memorystore_v1/__init__.py +15 -0
  37. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/tests/unit/gapic/memorystore_v1/test_memorystore.py +3557 -560
  38. google_cloud_memorystore-0.1.3/tests/unit/gapic/memorystore_v1beta/__init__.py +15 -0
  39. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/tests/unit/gapic/memorystore_v1beta/test_memorystore.py +1 -1
  40. google_cloud_memorystore-0.1.2/MANIFEST.in +0 -25
  41. google_cloud_memorystore-0.1.2/google/cloud/memorystore_v1/services/memorystore/pagers.py +0 -117
  42. google_cloud_memorystore-0.1.2/tests/unit/gapic/__init__.py +0 -15
  43. google_cloud_memorystore-0.1.2/tests/unit/gapic/memorystore_v1/__init__.py +0 -15
  44. google_cloud_memorystore-0.1.2/tests/unit/gapic/memorystore_v1beta/__init__.py +0 -15
  45. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/LICENSE +0 -0
  46. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore/py.typed +0 -0
  47. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore_v1/py.typed +0 -0
  48. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore_v1beta/gapic_metadata.json +0 -0
  49. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google/cloud/memorystore_v1beta/py.typed +0 -0
  50. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google_cloud_memorystore.egg-info/SOURCES.txt +0 -0
  51. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google_cloud_memorystore.egg-info/dependency_links.txt +0 -0
  52. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google_cloud_memorystore.egg-info/not-zip-safe +0 -0
  53. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google_cloud_memorystore.egg-info/requires.txt +0 -0
  54. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/google_cloud_memorystore.egg-info/top_level.txt +0 -0
  55. {google_cloud_memorystore-0.1.2 → google_cloud_memorystore-0.1.3}/setup.cfg +0 -0
@@ -0,0 +1,20 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright 2025 Google LLC
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+ include README.rst LICENSE
17
+ recursive-include google *.py *.pyi *.json *.proto py.typed
18
+ recursive-include tests *
19
+ global-exclude *.py[co]
20
+ global-exclude __pycache__
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: google-cloud-memorystore
3
- Version: 0.1.2
3
+ Version: 0.1.3
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
@@ -193,7 +193,7 @@ Code-Based Examples
193
193
 
194
194
  import logging
195
195
 
196
- from google.cloud.translate_v3 import translate
196
+ from google.cloud import library_v1
197
197
 
198
198
  base_logger = logging.getLogger("google")
199
199
  base_logger.addHandler(logging.StreamHandler())
@@ -205,7 +205,7 @@ Code-Based Examples
205
205
 
206
206
  import logging
207
207
 
208
- from google.cloud.translate_v3 import translate
208
+ from google.cloud import library_v1
209
209
 
210
210
  base_logger = logging.getLogger("google.cloud.library_v1")
211
211
  base_logger.addHandler(logging.StreamHandler())
@@ -162,7 +162,7 @@ Code-Based Examples
162
162
 
163
163
  import logging
164
164
 
165
- from google.cloud.translate_v3 import translate
165
+ from google.cloud import library_v1
166
166
 
167
167
  base_logger = logging.getLogger("google")
168
168
  base_logger.addHandler(logging.StreamHandler())
@@ -174,7 +174,7 @@ Code-Based Examples
174
174
 
175
175
  import logging
176
176
 
177
- from google.cloud.translate_v3 import translate
177
+ from google.cloud import library_v1
178
178
 
179
179
  base_logger = logging.getLogger("google.cloud.library_v1")
180
180
  base_logger.addHandler(logging.StreamHandler())
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2024 Google LLC
2
+ # Copyright 2025 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.
@@ -20,43 +20,81 @@ __version__ = package_version.__version__
20
20
 
21
21
  from google.cloud.memorystore_v1.services.memorystore.client import MemorystoreClient
22
22
  from google.cloud.memorystore_v1.types.memorystore import (
23
+ AutomatedBackupConfig,
24
+ Backup,
25
+ BackupCollection,
26
+ BackupFile,
27
+ BackupInstanceRequest,
23
28
  CertificateAuthority,
24
29
  ConnectionType,
25
30
  CreateInstanceRequest,
31
+ CrossInstanceReplicationConfig,
32
+ DeleteBackupRequest,
26
33
  DeleteInstanceRequest,
27
34
  DiscoveryEndpoint,
35
+ ExportBackupRequest,
36
+ GetBackupCollectionRequest,
37
+ GetBackupRequest,
28
38
  GetCertificateAuthorityRequest,
29
39
  GetInstanceRequest,
30
40
  Instance,
41
+ ListBackupCollectionsRequest,
42
+ ListBackupCollectionsResponse,
43
+ ListBackupsRequest,
44
+ ListBackupsResponse,
31
45
  ListInstancesRequest,
32
46
  ListInstancesResponse,
47
+ MaintenancePolicy,
48
+ MaintenanceSchedule,
33
49
  NodeConfig,
34
50
  OperationMetadata,
35
51
  PersistenceConfig,
52
+ PscAttachmentDetail,
36
53
  PscAutoConnection,
37
54
  PscConnection,
38
55
  PscConnectionStatus,
56
+ RescheduleMaintenanceRequest,
39
57
  UpdateInstanceRequest,
58
+ WeeklyMaintenanceWindow,
40
59
  ZoneDistributionConfig,
41
60
  )
42
61
 
43
62
  __all__ = (
44
63
  "MemorystoreClient",
64
+ "AutomatedBackupConfig",
65
+ "Backup",
66
+ "BackupCollection",
67
+ "BackupFile",
68
+ "BackupInstanceRequest",
45
69
  "CertificateAuthority",
46
70
  "CreateInstanceRequest",
71
+ "CrossInstanceReplicationConfig",
72
+ "DeleteBackupRequest",
47
73
  "DeleteInstanceRequest",
48
74
  "DiscoveryEndpoint",
75
+ "ExportBackupRequest",
76
+ "GetBackupCollectionRequest",
77
+ "GetBackupRequest",
49
78
  "GetCertificateAuthorityRequest",
50
79
  "GetInstanceRequest",
51
80
  "Instance",
81
+ "ListBackupCollectionsRequest",
82
+ "ListBackupCollectionsResponse",
83
+ "ListBackupsRequest",
84
+ "ListBackupsResponse",
52
85
  "ListInstancesRequest",
53
86
  "ListInstancesResponse",
87
+ "MaintenancePolicy",
88
+ "MaintenanceSchedule",
54
89
  "NodeConfig",
55
90
  "OperationMetadata",
56
91
  "PersistenceConfig",
92
+ "PscAttachmentDetail",
57
93
  "PscAutoConnection",
58
94
  "PscConnection",
95
+ "RescheduleMaintenanceRequest",
59
96
  "UpdateInstanceRequest",
97
+ "WeeklyMaintenanceWindow",
60
98
  "ZoneDistributionConfig",
61
99
  "ConnectionType",
62
100
  "PscConnectionStatus",
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2024 Google LLC
2
+ # Copyright 2025 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.1.2" # {x-release-please-version}
16
+ __version__ = "0.1.3" # {x-release-please-version}
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2024 Google LLC
2
+ # Copyright 2025 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.
@@ -20,44 +20,82 @@ __version__ = package_version.__version__
20
20
 
21
21
  from .services.memorystore import MemorystoreClient
22
22
  from .types.memorystore import (
23
+ AutomatedBackupConfig,
24
+ Backup,
25
+ BackupCollection,
26
+ BackupFile,
27
+ BackupInstanceRequest,
23
28
  CertificateAuthority,
24
29
  ConnectionType,
25
30
  CreateInstanceRequest,
31
+ CrossInstanceReplicationConfig,
32
+ DeleteBackupRequest,
26
33
  DeleteInstanceRequest,
27
34
  DiscoveryEndpoint,
35
+ ExportBackupRequest,
36
+ GetBackupCollectionRequest,
37
+ GetBackupRequest,
28
38
  GetCertificateAuthorityRequest,
29
39
  GetInstanceRequest,
30
40
  Instance,
41
+ ListBackupCollectionsRequest,
42
+ ListBackupCollectionsResponse,
43
+ ListBackupsRequest,
44
+ ListBackupsResponse,
31
45
  ListInstancesRequest,
32
46
  ListInstancesResponse,
47
+ MaintenancePolicy,
48
+ MaintenanceSchedule,
33
49
  NodeConfig,
34
50
  OperationMetadata,
35
51
  PersistenceConfig,
52
+ PscAttachmentDetail,
36
53
  PscAutoConnection,
37
54
  PscConnection,
38
55
  PscConnectionStatus,
56
+ RescheduleMaintenanceRequest,
39
57
  UpdateInstanceRequest,
58
+ WeeklyMaintenanceWindow,
40
59
  ZoneDistributionConfig,
41
60
  )
42
61
 
43
62
  __all__ = (
63
+ "AutomatedBackupConfig",
64
+ "Backup",
65
+ "BackupCollection",
66
+ "BackupFile",
67
+ "BackupInstanceRequest",
44
68
  "CertificateAuthority",
45
69
  "ConnectionType",
46
70
  "CreateInstanceRequest",
71
+ "CrossInstanceReplicationConfig",
72
+ "DeleteBackupRequest",
47
73
  "DeleteInstanceRequest",
48
74
  "DiscoveryEndpoint",
75
+ "ExportBackupRequest",
76
+ "GetBackupCollectionRequest",
77
+ "GetBackupRequest",
49
78
  "GetCertificateAuthorityRequest",
50
79
  "GetInstanceRequest",
51
80
  "Instance",
81
+ "ListBackupCollectionsRequest",
82
+ "ListBackupCollectionsResponse",
83
+ "ListBackupsRequest",
84
+ "ListBackupsResponse",
52
85
  "ListInstancesRequest",
53
86
  "ListInstancesResponse",
87
+ "MaintenancePolicy",
88
+ "MaintenanceSchedule",
54
89
  "MemorystoreClient",
55
90
  "NodeConfig",
56
91
  "OperationMetadata",
57
92
  "PersistenceConfig",
93
+ "PscAttachmentDetail",
58
94
  "PscAutoConnection",
59
95
  "PscConnection",
60
96
  "PscConnectionStatus",
97
+ "RescheduleMaintenanceRequest",
61
98
  "UpdateInstanceRequest",
99
+ "WeeklyMaintenanceWindow",
62
100
  "ZoneDistributionConfig",
63
101
  )
@@ -10,16 +10,41 @@
10
10
  "rest": {
11
11
  "libraryClient": "MemorystoreClient",
12
12
  "rpcs": {
13
+ "BackupInstance": {
14
+ "methods": [
15
+ "backup_instance"
16
+ ]
17
+ },
13
18
  "CreateInstance": {
14
19
  "methods": [
15
20
  "create_instance"
16
21
  ]
17
22
  },
23
+ "DeleteBackup": {
24
+ "methods": [
25
+ "delete_backup"
26
+ ]
27
+ },
18
28
  "DeleteInstance": {
19
29
  "methods": [
20
30
  "delete_instance"
21
31
  ]
22
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
+ },
23
48
  "GetCertificateAuthority": {
24
49
  "methods": [
25
50
  "get_certificate_authority"
@@ -30,11 +55,26 @@
30
55
  "get_instance"
31
56
  ]
32
57
  },
58
+ "ListBackupCollections": {
59
+ "methods": [
60
+ "list_backup_collections"
61
+ ]
62
+ },
63
+ "ListBackups": {
64
+ "methods": [
65
+ "list_backups"
66
+ ]
67
+ },
33
68
  "ListInstances": {
34
69
  "methods": [
35
70
  "list_instances"
36
71
  ]
37
72
  },
73
+ "RescheduleMaintenance": {
74
+ "methods": [
75
+ "reschedule_maintenance"
76
+ ]
77
+ },
38
78
  "UpdateInstance": {
39
79
  "methods": [
40
80
  "update_instance"
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2024 Google LLC
2
+ # Copyright 2025 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.1.2" # {x-release-please-version}
16
+ __version__ = "0.1.3" # {x-release-please-version}
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2024 Google LLC
2
+ # Copyright 2025 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 2024 Google LLC
2
+ # Copyright 2025 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.