google-cloud-rust icon indicating copy to clipboard operation
google-cloud-rust copied to clipboard

Sample for StorageControl RewriteObject

Open dbolduc opened this issue 7 months ago • 0 comments

This is a complicated RPC. It needs a sample.

Where this sample lives is an open question.

  • Client documentation seems wrong. (1) It will probably be too large to put in the client documentation. (2) We want to have this be fully generated in the longrun
  • User guide seems wrong. It is too specific for a user guide. We could have a user guide per crate. But meh. Where do we host them? meh.
  • integration-tests is good for running the sample, but bad for discoverability. That is our test code.

I think I would make a src/storage-control/samples directory and throw it in there. We would have to run the samples as part of the CI. (This is #1948). I think I would move the existing client samples (which have dummy values) in there too.

dbolduc avatar Jun 09 '25 18:06 dbolduc