- JSON representation
- DataScope
- SearchMethod
- AccountInfo
- OrgUnitInfo
- SharedDriveInfo
- HangoutsChatInfo
- SitesUrlInfo
- DriveDocumentInfo
- DriveDocumentIds
- TeamDriveInfo
- MailOptions
- ClientSideEncryptedOption
- DriveOptions
- SharedDrivesOption
- HangoutsChatOptions
- VoiceOptions
- CalendarOptions
- AttendeeResponse
- GeminiOptions
The query definition used for search and export.
| JSON representation |
|---|
{ "corpus": enum ( |
| Fields | |
|---|---|
corpus |
The Google Workspace service to search. |
dataScope |
The data source to search. |
searchMethod |
The search method to use. |
method |
The entity to search. This field replaces searchMethod to support shared drives. When searchMethod is TEAM_DRIVE, the response of this field is SHARED_DRIVE. |
terms |
Service-specific search operators to filter search results. |
startTime |
The start time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
endTime |
The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
teamDriveInfo |
Required when SearchMethod is TEAM_DRIVE. |
timeZone |
The time zone name. It should be an IANA TZ name, such as "America/Los_Angeles". For a list of time zone names, see Time Zone. For more information about how Vault uses time zones, see the Vault help center. |
Union field search_method_field. When required, the details of the entities to search search_method_field can be only one of the following: |
|
accountInfo |
Required when SearchMethod is ACCOUNT. |
orgUnitInfo |
Required when SearchMethod is ORG_UNIT. |
sharedDriveInfo |
Required when SearchMethod is SHARED_DRIVE. |
hangoutsChatInfo |
Required when SearchMethod is |