google-cloud-rust
google-cloud-rust copied to clipboard
Sample for StorageControl RewriteObject
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-testsis 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.