Add organization-id as an auto-setter #1400
Labels
area/hydrate
customer
deep engagement
enhancement
New feature or request
p2
triaged
Issue has been triaged by adding an `area/` label
Packages using org-level functionality often depend on knowing the organization ID. We should add organization ID as an autosetter (similar to project ID), which can be retrieved from the current gcloud context.
The org ID for the active project can be retrieved with this command:
gcloud projects get-ancestors $(gcloud config get-value core/project) --format='get(id)' | tail -1
Suggested name:
gcloud.core.organization-id
The text was updated successfully, but these errors were encountered: