'Set all health checks in upsert to hc.'

def _set_all_hcs(self, upsert, hc):

    upsert['defaultService']['healthCheck'] = hc
    for host_rule in upsert['hostRules']:
        path_matcher = host_rule['pathMatcher']
        path_matcher['defaultService']['healthCheck'] = hc
        for path_rule in path_matcher['pathRules']:
            path_rule['backendService']['healthCheck'] = hc
