def __get_region(conn, vm_):
    '''
    Return a GCE libcloud region object with matching name.
    '''
    location = __get_location(conn, vm_)
    region = '-'.join(location.name.split('-')[:2])

    return conn.ex_get_region(region)
Return a GCE libcloud region object with matching name.