Gmail and Google Drive can save your searches like documents, emails, and so on so that you can quickly retrieve them later. These are a part of the Google Workspace search history.
These searches are for quicker access and are not used for advertising. They will be available only when you are logged into your Google account, and if the history setting is on.
You can choose to toggle this history setting if needed. Here is how:
Open Google Drive and click Settings from the gear icon.
From the General section, scroll down to Privacy. Click on Manage search history.
It will open the Google Workspace search history settings page.
From the section YOUR PERSONALIZATION SETTINGS, toggle the search history on/off.
Auto-deletion of history:
When the search history is enabled, another setting of auto-deleting is enabled too.
You can customize that if needed. Click on the Auto-delete settings.
There will be two choices – auto-deleting history after a certain time, or disabling auto-delete. You can set auto-delete after 3, 6, or 18 months if needed. Choose and click the Next button.
Confirm the changes to toggle auto-delete.
The auto-delete settings will now be in effect.
So, these settings provide you better control over your search privacy, and you can turn them off if needed.