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

Automatically populate the request id in the Compute API

Open coryan opened this issue 3 months ago • 3 comments

Many requests in Compute have a request id. This can be populated with a UUIDv4 to make the requests idempotent.

coryan avatar Oct 17 '25 11:10 coryan

Hi can I tackle this issue?

namn-grg avatar Oct 24 '25 12:10 namn-grg

Thanks for the offer! I do not think this is a great task for an external contributor.

The code is compute is largely generated, so any changes would need to happen in the generator. That is implemented in go and lives at: https://github.com/googleapis/librarian

We would need a configuration option to configure the fields that are good candidates for auto-population, because we don't want to hard-code it. But we would not want to list all the fields by id, there are too many of them. So maybe some kind of rule that gets activated by a configuration option. To write the rule we should talk to the (Google internal) service team.

coryan avatar Oct 24 '25 13:10 coryan

That makes sense. Are there any other issues you recommend I can work on to contribute? Thanks for the reply

namn-grg avatar Oct 24 '25 15:10 namn-grg