googleapis / googleapis/google-cloud-node

Allow `port`, `protocol` and `fallback` properties in `LoggingConfig`

Open
#7,564 0 comments 0 reactions 0 assignees View on GitHub
api: logging priority: p3 type: feature request
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.