WooCommerce API:列出带过滤器的产品(例如:无虚拟)

I'm using Automattic\WooCommerce (PHP) to create an external module for my WooCommerce. I want to list all products only if it's not a virtual product.

Is it possible? How can I do that?

I already tried like these but it doesn't work

$params = [
    'attribute' => 'virtual',
    'attribute_term' => true
];
//or
$params = [
    'virtual' => false,
];
//or
$params = [
    'virtual' => 0,
];
$products = $services->search($table, $params);