| Package | Description |
|---|---|
| com.google.api.services.vault.v1.model |
| Modifier and Type | Method and Description |
|---|---|
Query |
Query.clone() |
Query |
Export.getQuery()
The query parameters used to create the export.
|
Query |
CountArtifactsRequest.getQuery()
The search query.
|
Query |
CountArtifactsMetadata.getQuery()
The search query from the request.
|
Query |
SavedQuery.getQuery()
The search parameters of the saved query.
|
Query |
Query.set(String fieldName,
Object value) |
Query |
Query.setAccountInfo(AccountInfo accountInfo)
Required when **SearchMethod** is **ACCOUNT**.
|
Query |
Query.setCalendarOptions(CalendarOptions calendarOptions)
Set Calendar search-specific options.
|
Query |
Query.setCorpus(String corpus)
The Google Workspace service to search.
|
Query |
Query.setDataScope(String dataScope)
The data source to search.
|
Query |
Query.setDriveDocumentInfo(DriveDocumentInfo driveDocumentInfo)
Required when **SearchMethod** is **DRIVE_DOCUMENT**.
|
Query |
Query.setDriveOptions(DriveOptions driveOptions)
Set Drive search-specific options.
|
Query |
Query.setEndTime(String endTime)
The end time for the search query.
|
Query |
Query.setGeminiOptions(GeminiOptions geminiOptions)
Set Gemini search-specific options.
|
Query |
Query.setHangoutsChatInfo(HangoutsChatInfo hangoutsChatInfo)
Required when **SearchMethod** is **ROOM**.
|
Query |
Query.setHangoutsChatOptions(HangoutsChatOptions hangoutsChatOptions)
Set Chat search-specific options.
|
Query |
Query.setMailOptions(MailOptions mailOptions)
Set Gmail search-specific options.
|
Query |
Query.setMethod(String method)
The entity to search.
|
Query |
Query.setOrgUnitInfo(OrgUnitInfo orgUnitInfo)
Required when **SearchMethod** is **ORG_UNIT**.
|
Query |
Query.setSearchMethod(String searchMethod)
The search method to use.
|
Query |
Query.setSharedDriveInfo(SharedDriveInfo sharedDriveInfo)
Required when **SearchMethod** is **SHARED_DRIVE**.
|
Query |
Query.setSitesUrlInfo(SitesUrlInfo sitesUrlInfo)
Required when **SearchMethod** is **SITES_URL**.
|
Query |
Query.setStartTime(String startTime)
The start time for the search query.
|
Query |
Query.setTeamDriveInfo(TeamDriveInfo teamDriveInfo)
Required when **SearchMethod** is **TEAM_DRIVE**.
|
Query |
Query.setTerms(String terms)
Service-specific [search operators](https://support.google.com/vault/answer/2474474) to filter
search results.
|
Query |
Query.setTimeZone(String timeZone)
The time zone name.
|
Query |
Query.setVoiceOptions(VoiceOptions voiceOptions)
Set Voice search-specific options.
|
| Modifier and Type | Method and Description |
|---|---|
Export |
Export.setQuery(Query query)
The query parameters used to create the export.
|
CountArtifactsRequest |
CountArtifactsRequest.setQuery(Query query)
The search query.
|
CountArtifactsMetadata |
CountArtifactsMetadata.setQuery(Query query)
The search query from the request.
|
SavedQuery |
SavedQuery.setQuery(Query query)
The search parameters of the saved query.
|
Copyright © 2011–2025 Google. All rights reserved.