feat(storage)!: move GCS+gRPC to v2/ protos#7254
Conversation
GCS+gRPC has published a new set of protos to target. These protos rename and change the types for a number of fields, and they *only* describe the RPCs that are actually implemented. The major modifications in this change include: - The type and names of the crc32c and md5_hash fields changed. - Previously the md5 hash was sometimes represented as a hex-encoded binary blob and sometimes as just a binary blob. Now it is always a binary blob. - Several fields (like `if_generation_match` and `crc32c`) are now marked as `optional` in the protos, instead of using `*Value` message wrappers. - The proto version of `ObjectAccessControl` does not contain the `bucket`, `object` or `generation` fields. - Likewise, `BucketAccessControl` does not contain the bucket name. - We use https://github.com/googleapis/storage-testbench as it supports the v2/ protos.
|
Google Cloud Build Logs
ℹ️ NOTE: Kokoro logs are linked from "Details" below. |
|
Google Cloud Build Logs
ℹ️ NOTE: Kokoro logs are linked from "Details" below. |
|
Google Cloud Build Logs
ℹ️ NOTE: Kokoro logs are linked from "Details" below. |
Codecov Report
@@ Coverage Diff @@
## main #7254 +/- ##
==========================================
- Coverage 94.35% 94.34% -0.02%
==========================================
Files 1317 1317
Lines 114502 114528 +26
==========================================
+ Hits 108044 108048 +4
- Misses 6458 6480 +22
Continue to review full report at Codecov.
|
|
Google Cloud Build Logs
ℹ️ NOTE: Kokoro logs are linked from "Details" below. |
devjgm
left a comment
There was a problem hiding this comment.
Nice to see the emulator code now living in its own repo.
GCS+gRPC has published a new set of protos to target. These protos rename and change the types for a number of fields, and they *only* describe the RPCs that are actually implemented. The major modifications in this change include: - The type and names of the crc32c and md5_hash fields changed. - Previously the md5 hash was sometimes represented as a hex-encoded binary blob and sometimes as just a binary blob. Now it is always a binary blob. - Several fields (like `if_generation_match` and `crc32c`) are now marked as `optional` in the protos, instead of using `*Value` message wrappers. - The proto version of `ObjectAccessControl` does not contain the `bucket`, `object` or `generation` fields. - Likewise, `BucketAccessControl` does not contain the bucket name. - We use https://github.com/googleapis/storage-testbench as it supports the v2/ protos.
GCS+gRPC has published a new set of protos to target. These protos
rename and change the types for a number of fields, and they only
describe the RPCs that are actually implemented.
The major modifications in this change include:
binary blob and sometimes as just a binary blob. Now it is always
a binary blob.
if_generation_matchandcrc32c) are nowmarked as
optionalin the protos, instead of using*Valuemessage wrappers.
ObjectAccessControldoes not contain thebucket,objectorgenerationfields.BucketAccessControldoes not contain the bucket name.supports the v2/ protos.
Part of the work for #6982 Fixes #6643 Fixes #6641
This change is