add bigtable support for per-operation options #7688
Labels
api: bigtable
Issues related to the Bigtable API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Add an
Options options = {}
argument to the constructor of the client class(es). Merge these options with the default options for the service, and store them as a member of the client class.Add an
Options options = {}
argument to each operation within each client. These options should then be merged with the client options from above, and installed as the prevailing options for the duration of the operation by instantiating aninternal::OptionsSpan
.You could then use
internal::CurrentOptions()
to obtain (aconst&
to) the prevailing options from anywhere you might need them. Any cleanup for call paths whereOptions
have been passed explicitly is discretionary.Similar support for the generated client classes was added in #7683, so you might be able to use that as an example.
The text was updated successfully, but these errors were encountered: