Repository navigation
In ServiceApi classes, consider how to expose the underlying gRPC layer for advanced use cases. #396
Description
Activity
I wonder, if we decide to do that, if returning the
ServiceApiSettingswouldn't be preferred.As a side not (related to the suggestion), I wonder if in
ApiUtils.settingsWithChannelswe should not configure the newly created channel (if setting didn't include channel) withsettings.getCredentialsif it
is notnull?Also, if we decide to return the
ServiceApiSettingsreference that was created byApiUtils.ServiceApiSettingsthen I think we need also to populate the other fields (such as Credentials,
ServicePath and Port).- addedapi: pubsubIssues related to the Pub/Sub API.Issues related to the Pub/Sub API.
on Nov 20, 2015 garrettjonesgoogle commented
on Mar 21, 2016 ContributorAuthorMore actionsThe code has changed a bit since Arie's comment - ApiUtils is now gone, and ServiceApiSettings now handles the population of the default channel itself. I think Arie's concerns are addressed now.
I'm unsure if we currently have a demonstrated need to expose the gRPC layer through the Api classes - it is already accessible from its own package, which is a dependency.
@aozarov , what are your thoughts?
garrettjonesgoogle commented
on Nov 22, 2016 ContributorAuthorMore actionsThe Service Api classes now expose the corresponding Settings classes. Resolving this issue.
- added🚨 criticalP0 critical issue. Requires immediate fixP0 critical issue. Requires immediate fixtriage meI really want to be triaged.I really want to be triaged.
on Apr 6, 2020 - added a commit that references this issue
on Sep 15, 2022 - added a commit that references this issue
on Nov 16, 2022 - added a commit that references this issue
on Feb 1, 2023 - added a commit that references this issue
on Dec 22, 2025 - added a commit that references this issue
on Jan 6, 2026 - added a commit that references this issue
on Jan 22, 2026 - added a commit that references this issue
on Feb 24, 2026 - added a commit that references this issue
on Mar 11, 2026 - added a commit that references this issue
on Mar 12, 2026 - added a commit that references this issue
on Mar 23, 2026 - added a commit that references this issue
on Jul 13, 2026
We may want to expose the channel and 1 or more gRPC stubs for advanced use cases not met by the generated methods in the wrapper.