Getting GCP available regions without doing a request #4234
Labels
api: compute
Issues related to the Compute Engine API.
priority: p2
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.
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.
The text was updated successfully, but these errors were encountered: