-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Getting GCP available regions without doing a request #4234
Copy link
Copy link
Closed
Labels
api: computeIssues related to the Compute Engine API.Issues related to the Compute Engine API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Metadata
Metadata
Assignees
Labels
api: computeIssues related to the Compute Engine API.Issues related to the Compute Engine API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Hello,
I would like to know if there is a way to get all GCP available regions without doing a request to GCP.
I've been looking at the source code, and the only way that I found to retrieve all the regions is doing a request:
google-cloud-java/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionClient.java
Line 272 in 969bbee
So, maybe it's not possible 😓
Do you thing this could be a cool feature? I've been working with others cloud competitors SDK and they have this feature, and I think it's useful.