-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Labels
api: loggingIssues related to the googleapis/nodejs-logging API.Issues related to the googleapis/nodejs-logging API.priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
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.
Metadata
Metadata
Assignees
Labels
api: loggingIssues related to the googleapis/nodejs-logging API.Issues related to the googleapis/nodejs-logging API.priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.