We are showing the full, original object and documenting what each setting does. However, it's not obvious at all that this entire structure will replace the original in gax. It's easy to end up in a situation where a bunch of the settings get set to zero. This should be improved.
The defaults shown are also old at this point and should be updated.
In this sample...
https://github.com/googleapis/nodejs-pubsub/blob/main/samples/typescript/publishWithRetrySettings.ts
We are showing the full, original object and documenting what each setting does. However, it's not obvious at all that this entire structure will replace the original in gax. It's easy to end up in a situation where a bunch of the settings get set to zero. This should be improved.
The defaults shown are also old at this point and should be updated.