You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found myself carrying around a method to derive a region from metadata.google.internal. It's fairly analogous to projectIdFromMetadataServer from package:gcp
Usage of this method looks like:
final location =awaitlocationFromMetadataServer();
print(location);
...
// Outputs: us-central1
I've scanned through a couple other issues, it looks like #123 is somewhat related, although is potentially larger in scope.
Would this be a welcome contribution, to be added to package:gcp?
The text was updated successfully, but these errors were encountered:
I've found myself carrying around a method to derive a region from
metadata.google.internal
. It's fairly analogous toprojectIdFromMetadataServer
frompackage:gcp
Usage of this method looks like:
I've scanned through a couple other issues, it looks like #123 is somewhat related, although is potentially larger in scope.
Would this be a welcome contribution, to be added to
package:gcp
?The text was updated successfully, but these errors were encountered: