Closed
Description
We define policy types like this:
This is in violation of https://github.com/googleapis/google-cloud-cpp/blob/main/doc/adr/2022-01-21-only-public-types-in-public-APIs.md
There is no way to learn the interface of this type, other than by looking at the code. (Doxygen does not generate documentation for internal::TraitBasedRetryPolicy<T>
)
To allow for customer-defined retry policies, I think we need to release RetryPolicy
and TraitBasedRetryPolicy
.