'Return a Region object based on the region name.
:param  name: The name of the region.
:type   name: ``str``
:return:  A GCERegion object for the region
:rtype:   :class:`GCERegion`'

def ex_get_region(self, name):

    if name.startswith('https://'):
        short_name = self._get_components_from_path(name)['name']
        request = name
    else:
        short_name = name
        request = ('/regions/%s' % name)
    if (short_name in self.region_dict):
        return self.region_dict[short_name]
    response = self.connection.request(request, method='GET').object
    return self._to_region(response)
