feat(memorystore): enable gRPC transport#16927
Merged
noahdietz merged 2 commits intogoogleapis:mainfrom May 4, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces gRPC and gRPC AsyncIO transport support for the Memorystore client, including the necessary infrastructure, pagers, and generated samples. The reviewer identified a potential security risk regarding the hardcoded gRPC message length limits, which are set to -1 (unlimited) in the new transport implementations, potentially exposing the service to denial-of-service attacks via memory exhaustion.
Comment on lines
+264
to
+267
| options=[ | ||
| ("grpc.max_send_message_length", -1), | ||
| ("grpc.max_receive_message_length", -1), | ||
| ], |
Contributor
Comment on lines
+209
to
+212
| scopes (Optional[Sequence[str]]): A optional list of scopes needed for this | ||
| service. These are only used when credentials are not specified and | ||
| are passed to :func:`google.auth.default`. | ||
| channel (Optional[Union[aio.Channel, Callable[..., aio.Channel]]]): |
Contributor
Comment on lines
+264
to
+267
| options=[ | ||
| ("grpc.max_send_message_length", -1), | ||
| ("grpc.max_receive_message_length", -1), | ||
| ], |
Contributor
Comment on lines
+209
to
+212
| scopes (Optional[Sequence[str]]): A optional list of scopes needed for this | ||
| service. These are only used when credentials are not specified and | ||
| are passed to :func:`google.auth.default`. | ||
| channel (Optional[Union[aio.Channel, Callable[..., aio.Channel]]]): |
Contributor
daniel-sanche
approved these changes
May 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates
librarianversion tov0.12.0and regenerates all clients.This tag picked up a change to the
memorystoreconfiguration to enablegrpcas a client transport, the changes for which are included in this update.These were the only changes produced by
generate --all.