Skip to content

getApplicationDefault is undefined.  #121

Description

@neoadventist

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

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