Class Query
The query definition used for search and export.
Implements
Inherited Members
Namespace: Google.Apis.Vault.v1.Data
Assembly: Google.Apis.Vault.v1.dll
Syntax
public class Query : IDirectResponseSchema
Properties
AccountInfo
Required when SearchMethod is ACCOUNT.
Declaration
[JsonProperty("accountInfo")]
public virtual AccountInfo AccountInfo { get; set; }
Property Value
Type | Description |
---|---|
AccountInfo |
CalendarOptions
Set Calendar search-specific options.
Declaration
[JsonProperty("calendarOptions")]
public virtual CalendarOptions CalendarOptions { get; set; }
Property Value
Type | Description |
---|---|
CalendarOptions |
Corpus
The Google Workspace service to search.
Declaration
[JsonProperty("corpus")]
public virtual string Corpus { get; set; }
Property Value
Type | Description |
---|---|
string |
DataScope
The data source to search.
Declaration
[JsonProperty("dataScope")]
public virtual string DataScope { get; set; }
Property Value
Type | Description |
---|---|
string |
DriveOptions
Set Drive search-specific options.
Declaration
[JsonProperty("driveOptions")]
public virtual DriveOptions DriveOptions { get; set; }
Property Value
Type | Description |
---|---|
DriveOptions |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EndTime
object representation of EndTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use EndTimeDateTimeOffset instead.")]
public virtual object EndTime { get; set; }
Property Value
Type | Description |
---|---|
object |
EndTimeDateTimeOffset
DateTimeOffset representation of EndTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? EndTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
EndTimeRaw
The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date.
Declaration
[JsonProperty("endTime")]
public virtual string EndTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
HangoutsChatInfo
Required when SearchMethod is ROOM. (read-only)
Declaration
[JsonProperty("hangoutsChatInfo")]
public virtual HangoutsChatInfo HangoutsChatInfo { get; set; }
Property Value
Type | Description |
---|---|
HangoutsChatInfo |
HangoutsChatOptions
Set Chat search-specific options. (read-only)
Declaration
[JsonProperty("hangoutsChatOptions")]
public virtual HangoutsChatOptions HangoutsChatOptions { get; set; }
Property Value
Type | Description |
---|---|
HangoutsChatOptions |
MailOptions
Set Gmail search-specific options.
Declaration
[JsonProperty("mailOptions")]
public virtual MailOptions MailOptions { get; set; }
Property Value
Type | Description |
---|---|
MailOptions |
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.
Declaration
[JsonProperty("method")]
public virtual string Method { get; set; }
Property Value
Type | Description |
---|---|
string |
OrgUnitInfo
Required when SearchMethod is ORG_UNIT.
Declaration
[JsonProperty("orgUnitInfo")]
public virtual OrgUnitInfo OrgUnitInfo { get; set; }
Property Value
Type | Description |
---|---|
OrgUnitInfo |
SearchMethod
The search method to use.
Declaration
[JsonProperty("searchMethod")]
public virtual string SearchMethod { get; set; }
Property Value
Type | Description |
---|---|
string |
SharedDriveInfo
Required when SearchMethod is SHARED_DRIVE.
Declaration
[JsonProperty("sharedDriveInfo")]
public virtual SharedDriveInfo SharedDriveInfo { get; set; }
Property Value
Type | Description |
---|---|
SharedDriveInfo |
SitesUrlInfo
Required when SearchMethod is SITES_URL.
Declaration
[JsonProperty("sitesUrlInfo")]
public virtual SitesUrlInfo SitesUrlInfo { get; set; }
Property Value
Type | Description |
---|---|
SitesUrlInfo |
StartTime
object representation of StartTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use StartTimeDateTimeOffset instead.")]
public virtual object StartTime { get; set; }
Property Value
Type | Description |
---|---|
object |
StartTimeDateTimeOffset
DateTimeOffset representation of StartTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? StartTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
StartTimeRaw
The start time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date.
Declaration
[JsonProperty("startTime")]
public virtual string StartTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
TeamDriveInfo
Required when SearchMethod is TEAM_DRIVE.
Declaration
[JsonProperty("teamDriveInfo")]
public virtual TeamDriveInfo TeamDriveInfo { get; set; }
Property Value
Type | Description |
---|---|
TeamDriveInfo |
Terms
Service-specific search operators to filter search results.
Declaration
[JsonProperty("terms")]
public virtual string Terms { get; set; }
Property Value
Type | Description |
---|---|
string |
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.
Declaration
[JsonProperty("timeZone")]
public virtual string TimeZone { get; set; }
Property Value
Type | Description |
---|---|
string |
VoiceOptions
Set Voice search-specific options.
Declaration
[JsonProperty("voiceOptions")]
public virtual VoiceOptions VoiceOptions { get; set; }
Property Value
Type | Description |
---|---|
VoiceOptions |