googleapis / googleapis/google-cloud-rust

storage: restore `.google.storage.control.v2.ObjectFullContext.extended_data` field

Open
#6,419 0 comments 0 reactions 0 assignees View on GitHub
api: storage priority: p3 type: feature request
Dominant language
Rust
Stars
955
Forks
144
Avg merge
1d 5h
Merged PRs (30d)
279

Description

In #6415 I removed this field from the generated code becase sidekick cannot support sending or receiving the field via gRPC.

If StorageControl supports HTTP+JSON we can avoid the intermediate representation as Prost-gencode and send or receive any type via the `wkt::Any`.

If the potential set of types contained in the `Any` are known, then we can use a hand-crafted conversion function from the `ObjectFullContext` type generated by sidekick and the type generated by Prost.

/cc @joshuatants

Contributor guide

Open the contributing guide

Research direction

Start by reviewing issue #6415 and the generated ObjectFullContext definition, then trace how StorageControl handles gRPC and the mentioned Prost-gencode, sidekick, and wkt::Any paths. Done means establishing whether the extended_data field can be restored without unsupported gRPC serialization, with the HTTP+JSON possibility and any required conversion covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
grpc, rust
Domain
api, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.