class Google::Apis::VaultV1::Query

The query definition used for search and export.

Attributes

account_info[RW]

The accounts to search Corresponds to the JSON property `accountInfo` @return [Google::Apis::VaultV1::AccountInfo]

corpus[RW]

The Google Workspace service to search. Corresponds to the JSON property `corpus` @return [String]

data_scope[RW]

The data source to search. Corresponds to the JSON property `dataScope` @return [String]

drive_options[RW]

Additional options for Drive search Corresponds to the JSON property `driveOptions` @return [Google::Apis::VaultV1::DriveOptions]

end_time[RW]

The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date. Corresponds to the JSON property `endTime` @return [String]

hangouts_chat_info[RW]

The Chat spaces to search Corresponds to the JSON property `hangoutsChatInfo` @return [Google::Apis::VaultV1::HangoutsChatInfo]

hangouts_chat_options[RW]

Additional options for Google Chat search Corresponds to the JSON property `hangoutsChatOptions` @return [Google::Apis::VaultV1::HangoutsChatOptions]

mail_options[RW]

Additional options for Gmail search Corresponds to the JSON property `mailOptions` @return [Google::Apis::VaultV1::MailOptions]

method_prop[RW]

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. Corresponds to the JSON property `method` @return [String]

org_unit_info[RW]

The organizational unit to search Corresponds to the JSON property `orgUnitInfo` @return [Google::Apis::VaultV1::OrgUnitInfo]

search_method[RW]

The search method to use. Corresponds to the JSON property `searchMethod` @return [String]

shared_drive_info[RW]

The shared drives to search Corresponds to the JSON property `sharedDriveInfo` @return [Google::Apis::VaultV1::SharedDriveInfo]

start_time[RW]

The start time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date. Corresponds to the JSON property `startTime` @return [String]

team_drive_info[RW]

Team Drives to search Corresponds to the JSON property `teamDriveInfo` @return [Google::Apis::VaultV1::TeamDriveInfo]

terms[RW]

Service-specific [search operators](support.google.com/vault/answer/ 2474474) to filter search results. Corresponds to the JSON property `terms` @return [String]

time_zone[RW]

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](en.wikipedia.org/wiki/ List_of_tz_database_time_zones). For more information about how Vault uses time zones, see [the Vault help center](support.google.com/vault/ answer/6092995#time). Corresponds to the JSON property `timeZone` @return [String]

voice_options[RW]

Additional options for Voice search Corresponds to the JSON property `voiceOptions` @return [Google::Apis::VaultV1::VoiceOptions]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/vault_v1/classes.rb, line 1579
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/vault_v1/classes.rb, line 1584
def update!(**args)
  @account_info = args[:account_info] if args.key?(:account_info)
  @corpus = args[:corpus] if args.key?(:corpus)
  @data_scope = args[:data_scope] if args.key?(:data_scope)
  @drive_options = args[:drive_options] if args.key?(:drive_options)
  @end_time = args[:end_time] if args.key?(:end_time)
  @hangouts_chat_info = args[:hangouts_chat_info] if args.key?(:hangouts_chat_info)
  @hangouts_chat_options = args[:hangouts_chat_options] if args.key?(:hangouts_chat_options)
  @mail_options = args[:mail_options] if args.key?(:mail_options)
  @method_prop = args[:method_prop] if args.key?(:method_prop)
  @org_unit_info = args[:org_unit_info] if args.key?(:org_unit_info)
  @search_method = args[:search_method] if args.key?(:search_method)
  @shared_drive_info = args[:shared_drive_info] if args.key?(:shared_drive_info)
  @start_time = args[:start_time] if args.key?(:start_time)
  @team_drive_info = args[:team_drive_info] if args.key?(:team_drive_info)
  @terms = args[:terms] if args.key?(:terms)
  @time_zone = args[:time_zone] if args.key?(:time_zone)
  @voice_options = args[:voice_options] if args.key?(:voice_options)
end