Skip to content

getApplicationDefault is undefined.  #121

Closed
@neoadventist

Description

running the create_custom_metric on line https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/master/monitoring/create_custom_metric.js#L218

the object google.auth looks like

{ Compute: [Function], JWT: [Function], OAuth2: [Function] }

no getApplicationDefault function

I'm supplying a project id, is there something i'm doing wrong here?

Thanks.

Metadata

Assignees

Labels

🚨This issue needs some love.triage meI really want to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions