def METHOD_NAME(
    self, filters: Any = None, vpn_gw_ids: Optional[List[str]] = None
) -> List[VpnGateway]:
    vpn_gateways = list(self.vpn_gateways.values() or [])
    if vpn_gw_ids:
        vpn_gateways = [item for item in vpn_gateways if item.id in vpn_gw_ids]
    return generic_filter(filters, vpn_gateways)