Skip to content

impl(GCS+gRPC): InsertObjectRequest for AsyncClient#12503

Merged
coryan merged 1 commit intogoogleapis:mainfrom
coryan:impl-GCS+gRPC-AsyncInsertObjecRequest
Aug 31, 2023
Merged

impl(GCS+gRPC): InsertObjectRequest for AsyncClient#12503
coryan merged 1 commit intogoogleapis:mainfrom
coryan:impl-GCS+gRPC-AsyncInsertObjecRequest

Conversation

@coryan
Copy link
Contributor

@coryan coryan commented Aug 30, 2023

We need a class to represent requests that insert objects via the AsyncClient. We cannot use the class from the synchronous client because that uses non-owning types for the data payload. And we also want the class in the public API (eventually) as it is needed for mocking.

Part of the work for #9131


This change is Reviewable

We need a class to represent requests that insert objects via the
`AsyncClient`. We cannot use the class from the synchronous client
because that uses non-owning types for the data payload. And we also
want the class in the public API (eventually) as it is needed for
mocking.
@coryan coryan temporarily deployed to internal August 30, 2023 21:17 — with GitHub Actions Inactive
@codecov
Copy link

codecov bot commented Aug 30, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (254d4b6) 93.62% compared to head (73c3bd1) 93.62%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #12503   +/-   ##
=======================================
  Coverage   93.62%   93.62%           
=======================================
  Files        2043     2043           
  Lines      180866   180935   +69     
=======================================
+ Hits       169342   169408   +66     
- Misses      11524    11527    +3     
Files Changed Coverage Δ
...d/storage/internal/grpc/configure_client_context.h 100.00% <ø> (ø)
google/cloud/storage/internal/hash_function.h 100.00% <ø> (ø)
google/cloud/storage/async_object_requests.h 100.00% <100.00%> (ø)
.../storage/internal/grpc/configure_client_context.cc 100.00% <100.00%> (ø)
...age/internal/grpc/configure_client_context_test.cc 100.00% <100.00%> (ø)
...oud/storage/internal/grpc/object_request_parser.cc 97.79% <100.00%> (+0.01%) ⬆️
...torage/internal/grpc/object_request_parser_test.cc 99.10% <100.00%> (+0.05%) ⬆️
google/cloud/storage/internal/hash_function.cc 100.00% <100.00%> (ø)
.../cloud/storage/internal/hash_function_impl_test.cc 100.00% <100.00%> (ø)
google/cloud/storage/internal/object_requests.cc 96.84% <100.00%> (+0.02%) ⬆️
... and 1 more

... and 4 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@coryan coryan marked this pull request as ready for review August 30, 2023 22:19
@coryan coryan requested a review from a team August 30, 2023 22:19
@coryan coryan merged commit db48d1a into googleapis:main Aug 31, 2023
@coryan coryan deleted the impl-GCS+gRPC-AsyncInsertObjecRequest branch August 31, 2023 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants