Hi Yaron, This is also fixed in the latest SNAPSHOT. See [1]. As said int he other thread, we're about to release 1.9.0, which will include that fix.
HTH! I. [1] https://github.com/jclouds/jclouds-labs-google/blob/master/google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/compute/GoogleComputeEngineServiceAdapter.java#L201-L220 On 18 March 2015 at 13:25, Yaron Rosenbaum <[email protected]> wrote: > Bump > > (Y) > > On Mar 15, 2015, at 2:29 PM, Yaron Rosenbaum <[email protected]> > wrote: > > 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) > >
