'Fetch a resource and return its object representation by mapping its
\'kind\' parameter to the appropriate class.  Returns ``None`` if url is
``None``
:param  url: fully qualified URL of the resource to request from GCE
:type   url: ``str``
:return:  Object representation of the requested resource.
"rtype:   :class:`object` or ``None``'

def _get_object_by_kind(self, url):

    if (not url):
        return None
    response = self.connection.request(url, method='GET').object
    return GCENodeDriver.KIND_METHOD_MAP[response['kind']](self, response)
