Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 71b73e5

Browse filesBrowse files
authored
feat(memorystore): enable gRPC transport (googleapis#16927)
1 parent 199ef25 commit 71b73e5
Copy full SHA for 71b73e5

46 files changed

+31,350-7,526Lines changed: 31350 additions & 7526 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎librarian.yaml‎

Copy file name to clipboardExpand all lines: librarian.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414
language: python
15-
version: v0.11.0
15+
version: v0.12.0
1616
repo: googleapis/google-cloud-python
1717
sources:
1818
googleapis:
Collapse file

‎packages/google-cloud-memorystore/google/cloud/memorystore/__init__.py‎

Copy file name to clipboardExpand all lines: packages/google-cloud-memorystore/google/cloud/memorystore/__init__.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
__version__ = package_version.__version__
1919

2020

21+
from google.cloud.memorystore_v1.services.memorystore.async_client import (
22+
MemorystoreAsyncClient,
23+
)
2124
from google.cloud.memorystore_v1.services.memorystore.client import MemorystoreClient
2225
from google.cloud.memorystore_v1.types.memorystore import (
2326
AutomatedBackupConfig,
@@ -64,6 +67,7 @@
6467

6568
__all__ = (
6669
"MemorystoreClient",
70+
"MemorystoreAsyncClient",
6771
"AutomatedBackupConfig",
6872
"Backup",
6973
"BackupCollection",
Collapse file

‎packages/google-cloud-memorystore/google/cloud/memorystore_v1/__init__.py‎

Copy file name to clipboardExpand all lines: packages/google-cloud-memorystore/google/cloud/memorystore_v1/__init__.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
import importlib_metadata as metadata
3030

3131

32-
from .services.memorystore import MemorystoreClient
32+
from .services.memorystore import MemorystoreAsyncClient, MemorystoreClient
3333
from .types.memorystore import (
3434
AutomatedBackupConfig,
3535
Backup,
@@ -168,6 +168,7 @@ def _get_version(dependency_name):
168168
)
169169

170170
__all__ = (
171+
"MemorystoreAsyncClient",
171172
"AutomatedBackupConfig",
172173
"Backup",
173174
"BackupCollection",
Collapse file

‎packages/google-cloud-memorystore/google/cloud/memorystore_v1/gapic_metadata.json‎

Copy file name to clipboardExpand all lines: packages/google-cloud-memorystore/google/cloud/memorystore_v1/gapic_metadata.json
+160Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,166 @@
77
"services": {
88
"Memorystore": {
99
"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+
},
10170
"rest": {
11171
"libraryClient": "MemorystoreClient",
12172
"rpcs": {
Collapse file

‎packages/google-cloud-memorystore/google/cloud/memorystore_v1/services/memorystore/__init__.py‎

Copy file name to clipboardExpand all lines: packages/google-cloud-memorystore/google/cloud/memorystore_v1/services/memorystore/__init__.py
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from .async_client import MemorystoreAsyncClient
1617
from .client import MemorystoreClient
1718

18-
__all__ = ("MemorystoreClient",)
19+
__all__ = (
20+
"MemorystoreClient",
21+
"MemorystoreAsyncClient",
22+
)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.