def delete_instance(compute, project, zone, name):
    """Remove a Google Compute Engine instance."""
    return (
        compute.instances()
        .delete(project=project, zone=zone, instance=name)
        .execute()
    )