If you need to pull pages from Google search results, you have reliable...
https://www.strobe-bookmarks.win/to-remove-pages-from-google-search-results-start-by-adding-a-noindex-meta
If you need to pull pages from Google search results, you have reliable options. Use a noindex tag in your page code to tell search engines to stop indexing the content. If you deleted a page permanently, return a 404 or 410 status code