'Return a HealthCheck object from the JSON-response dictionary.
:param  healthcheck: The dictionary describing the healthcheck.
:type   healthcheck: ``dict``
:return: HealthCheck object
:rtype: :class:`GCEHealthCheck`'

def _to_healthcheck(self, healthcheck):

    extra = {}
    extra['selfLink'] = healthcheck.get('selfLink')
    extra['creationTimestamp'] = healthcheck.get('creationTimestamp')
    extra['description'] = healthcheck.get('description')
    extra['host'] = healthcheck.get('host')
    return GCEHealthCheck(id=healthcheck['id'], name=healthcheck['name'], path=healthcheck.get('requestPath'), port=healthcheck.get('port'), interval=healthcheck.get('checkIntervalSec'), timeout=healthcheck.get('timeoutSec'), unhealthy_threshold=healthcheck.get('unhealthyThreshold'), healthy_threshold=healthcheck.get('healthyThreshold'), driver=self, extra=extra)
