googleapis / googleapis/google-cloud-node
Allow `port`, `protocol` and `fallback` properties in `LoggingConfig`
- Dominant language
- TypeScript
- Stars
- 3.2k
- Forks
- 712
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 99
Description
Hello,
For local developing, I’m creating a mock server for the Cloud Logging API. To use the mock server, I need to specify a custom API endpoint, port, protocol and enable REST fallback.
It appears the `Logging` class constructor doesn't expose options for this. However, the underlying clients it uses (like `LoggingServiceV2Client`) are initialized with `google-gax`'s `ClientOptions`, which supports `apiEndpoint`, `port`, `protocol`, and `fallback`.
Could you please consider exposing these properties in `LoggingConfig`? This would make it much easier to mock the service for local development and testing.
Thanks you.
Contributor guide
Assessment
This issue has not been assessed yet.