GoogleCloudPlatform / GoogleCloudPlatform/functions-framework-dart

Export CloudMetadata?

Open
#123 8 comments 0 reactions 0 assignees View on GitHub
kind/enhancement
Dominant language
Dart
Stars
548
Forks
49
Avg merge
53m
Merged PRs (30d)
1

Description

I'm trying to access other Google Cloud Services in Cloud Run, so I need to know my project id at runtime. For now I'm just getting it via an environment variable, but since this package can already look it up from the metadata server I wonder if `CloudMetadata.projectId()` could be exported?

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.