Hi
I’ve got a bunch of Locations from GCE:

    Set<? extends Location> assignableLocations = 
context.getComputeService().listAssignableLocations();

When looking at a specific location from this set, it’s scope is ZONE
   l.getScope().equals(LocationScope.ZONE)
I would expect it’s parent to be REGION, but alas 
   l.getParent().getScope().equals(LocationScope.PROVIDER)
 {scope=PROVIDER, id=google-compute-engine, description=google-compute-engine}

Before I make an argument why the parent of ZONE is a REGION for all cloud 
providers, is this a bug or by design?
BTW, GCE has a term called REGION, and in this case it should be ‘US’

Thanks :)

(Y)

Reply via email to