Operator |
Description |
source: |
Find content from a particular source. For Google Workspace sources, values are Mail, Drive, Sites, Groups, or Calendar. For non-Google Workspace sources, contact your administrator for the custom values set up by your organization.
Example query:
training source:mail
|
contenttype: |
Find Google Drive or Groups content or attachments; for example, spreadsheet, presentation, PDF, image, video, drawing, folder. Available for Google Workspace content.
Example query:
training contenttype:doc
|
site: |
Find Google Sites content. Available for Google Workspace content.
Example query:
training site:drive.google.com
|
owner: |
Find content you own or content that’s owned by a particular person and shared with you.
Example queries:
reports owner:me
reports owner:marysmith
|
from: |
Find emails or calendar events:
- From you
- From a particular person or group to you
Find other types of content:
- Created by you
- Created by a particular person and shared with you
Example queries:
reports from:me source:drive
reports from:(marysmith OR johndoe)
|
to: |
Find emails or calendar events:
- Sent to you (sent directly to you, to a group you belong to, or to someone else and you were copied)
- Sent to a particular person by you or by someone who copied you
Example queries:
reports to:me from:marysmith
reports to:golf-club-members
|
before: |
Find content modified before a certain date, using the date format YYYY/MM/DD.
Example query:
orders before:2018/09/30
|
after: |
Find content modified on or after a certain date, using the date format YYYY/MM/DD.
Example queries:
orders after:2018/09/20
orders after:2018/09/20 before:2018/09/30
|
createddatetimestampbefore: |
Find content created before a certain date, using the date format YYYY/MM/DD. |
createddatetimestampafter: |
Find content created on or after a certain date, using the date format YYYY/MM/DD. |
itemsize: |
Find content with a particular size specified in bytes. |
itemsizelessthan: |
Find content less than a particular size specified in bytes. |
itemsizegreaterthan: |
Find content greater than a particular size specified in bytes. |
inurl: |
Find content from a particular URL. Not available for Google Workspace content.
Example query:
inurl:training
|
mimetype: |
Find content based on the original MIME type. Not available for Google Workspace content.
Example query:
mimetype:audio/mpeg
|
size: |
Find items larger than the given size in bytes.
Example query:
size:10
|
larger: |
Find items larger than the given size in bytes, KB and MB. Synonymous with size.
Example queries:
larger:10
larger:10K
larger:10M |
smaller: |
Find items smaller than the given size in bytes, KB and MB.
Example queries:
smaller:10
smaller:10K
smaller:10M |