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

BigtableTableAdminSettings is missing credential provider options

Open ajaaym opened this issue 8 years ago • 4 comments

BigtableTableAdminSettings dont have option to set CredentialProvider. As of now to set credentialProvider we need to get stubSettings and set in that. Its Better to have this as setter in BigtableTableAdminSettings.

ajaaym avatar Sep 01 '18 18:09 ajaaym

Can you clarify why its better?

igorbernstein2 avatar Sep 05 '18 15:09 igorbernstein2

so that it can be chained with other method call. Right now we need to create builder, set it in stub setting and then build the settings builder.

ajaaym avatar Sep 05 '18 17:09 ajaaym

We should generalize this to make a list of settings that need to be promoted to the top level settings. (I'm planning on updating the data client to hide most settings in stubSettings() as well)

igorbernstein2 avatar Sep 06 '18 15:09 igorbernstein2

Can we close this issue?

As both BigtableDataSettings & BigtableTableAdminSettings have consistent options to set CredentialProvider on Builder as well as their Stub.

rahulKQL avatar Apr 08 '19 15:04 rahulKQL