google_api_vault v0.3.0 GoogleApi.Vault.V1.Model.Query View Source
A query definition relevant for search & export.
Attributes
- accountInfo (AccountInfo): When 'ACCOUNT' is chosen as search method, account_info needs to be specified. Defaults to:
null
. corpus (String.t): The corpus to search. Defaults to:
null
.- Enum - one of [CORPUS_TYPE_UNSPECIFIED, DRIVE, MAIL, GROUPS, HANGOUTS_CHAT]
dataScope (String.t): The data source to search from. Defaults to:
null
.- Enum - one of [DATA_SCOPE_UNSPECIFIED, ALL_DATA, HELD_DATA, UNPROCESSED_DATA]
- driveOptions (DriveOptions): For Drive search, specify more options in this field. Defaults to:
null
. - endTime (DateTime.t): The end time range for the search query. These timestamps are in GMT and rounded down to the start of the given date. Defaults to:
null
. - hangoutsChatInfo (HangoutsChatInfo): When 'ROOM' is chosen as search method, hangout_chats_info needs to be specified. (read-only) Defaults to:
null
. - hangoutsChatOptions (HangoutsChatOptions): For hangouts chat search, specify more options in this field. (read-only) Defaults to:
null
. - mailOptions (MailOptions): For mail search, specify more options in this field. Defaults to:
null
. - orgUnitInfo (OrgUnitInfo): When 'ORG_UNIT' is chosen as as search method, org_unit_info needs to be specified. Defaults to:
null
. searchMethod (String.t): The search method to use. Defaults to:
null
.- Enum - one of [SEARCH_METHOD_UNSPECIFIED, ACCOUNT, ORG_UNIT, TEAM_DRIVE, ENTIRE_ORG, ROOM]
- startTime (DateTime.t): The start time range for the search query. These timestamps are in GMT and rounded down to the start of the given date. Defaults to:
null
. - teamDriveInfo (TeamDriveInfo): When 'TEAM_DRIVE' is chosen as search method, team_drive_info needs to be specified. Defaults to:
null
. - terms (String.t): The corpus-specific <a href="https://support.google.com/vault/answer/2474474">search operators</a> used to generate search results. Defaults to:
null
. - timeZone (String.t): The time zone name. It should be an IANA TZ name, such as "America/Los_Angeles". For more information, see <a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones">Time Zone</a>. Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.Vault.V1.Model.Query{
accountInfo: GoogleApi.Vault.V1.Model.AccountInfo.t(),
corpus: any(),
dataScope: any(),
driveOptions: GoogleApi.Vault.V1.Model.DriveOptions.t(),
endTime: DateTime.t(),
hangoutsChatInfo: GoogleApi.Vault.V1.Model.HangoutsChatInfo.t(),
hangoutsChatOptions: GoogleApi.Vault.V1.Model.HangoutsChatOptions.t(),
mailOptions: GoogleApi.Vault.V1.Model.MailOptions.t(),
orgUnitInfo: GoogleApi.Vault.V1.Model.OrgUnitInfo.t(),
searchMethod: any(),
startTime: DateTime.t(),
teamDriveInfo: GoogleApi.Vault.V1.Model.TeamDriveInfo.t(),
terms: any(),
timeZone: any()
}
t() :: %GoogleApi.Vault.V1.Model.Query{ accountInfo: GoogleApi.Vault.V1.Model.AccountInfo.t(), corpus: any(), dataScope: any(), driveOptions: GoogleApi.Vault.V1.Model.DriveOptions.t(), endTime: DateTime.t(), hangoutsChatInfo: GoogleApi.Vault.V1.Model.HangoutsChatInfo.t(), hangoutsChatOptions: GoogleApi.Vault.V1.Model.HangoutsChatOptions.t(), mailOptions: GoogleApi.Vault.V1.Model.MailOptions.t(), orgUnitInfo: GoogleApi.Vault.V1.Model.OrgUnitInfo.t(), searchMethod: any(), startTime: DateTime.t(), teamDriveInfo: GoogleApi.Vault.V1.Model.TeamDriveInfo.t(), terms: any(), timeZone: any() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.