class Google::Apis::VaultV1::CorpusQuery

Service-specific options for holds.

Attributes

drive_query[RW]

Options for Drive holds. Corresponds to the JSON property `driveQuery` @return [Google::Apis::VaultV1::HeldDriveQuery]

groups_query[RW]

Query options for group holds. Corresponds to the JSON property `groupsQuery` @return [Google::Apis::VaultV1::HeldGroupsQuery]

hangouts_chat_query[RW]

Options for Chat holds. Corresponds to the JSON property `hangoutsChatQuery` @return [Google::Apis::VaultV1::HeldHangoutsChatQuery]

mail_query[RW]

Query options for Gmail holds. Corresponds to the JSON property `mailQuery` @return [Google::Apis::VaultV1::HeldMailQuery]

voice_query[RW]

Options for Voice holds. Corresponds to the JSON property `voiceQuery` @return [Google::Apis::VaultV1::HeldVoiceQuery]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/vault_v1/classes.rb, line 353
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 358
def update!(**args)
  @drive_query = args[:drive_query] if args.key?(:drive_query)
  @groups_query = args[:groups_query] if args.key?(:groups_query)
  @hangouts_chat_query = args[:hangouts_chat_query] if args.key?(:hangouts_chat_query)
  @mail_query = args[:mail_query] if args.key?(:mail_query)
  @voice_query = args[:voice_query] if args.key?(:voice_query)
end