Pick up projectId from keyFilename #380
Labels
api: clouderrorreporting
Issues related to the googleapis/nodejs-error-reporting API.
priority: p3
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.
Describe the solution you'd like
Automatically fill in
projectId
ifkeyFilename
is provided and resolves to a json file.Additional context
@google-cloud/logging-winston
does this.https://github.com/googleapis/nodejs-logging-winston/blob/b202975b1d000e320b7416f5a3b2a527eb4e7f83/src/types/core.d.ts#L68-L74
The text was updated successfully, but these errors were encountered: