Class: Google::Apis::VaultV1::CorpusQuery

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/vault_v1/classes.rb,
generated/google/apis/vault_v1/representations.rb,
generated/google/apis/vault_v1/representations.rb

Overview

Corpus specific queries.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CorpusQuery

Returns a new instance of CorpusQuery.



343
344
345
# File 'generated/google/apis/vault_v1/classes.rb', line 343

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#drive_queryGoogle::Apis::VaultV1::HeldDriveQuery

Query options for Drive holds. Corresponds to the JSON property driveQuery



321
322
323
# File 'generated/google/apis/vault_v1/classes.rb', line 321

def drive_query
  @drive_query
end

#groups_queryGoogle::Apis::VaultV1::HeldGroupsQuery

Query options for group holds. Corresponds to the JSON property groupsQuery



326
327
328
# File 'generated/google/apis/vault_v1/classes.rb', line 326

def groups_query
  @groups_query
end

#hangouts_chat_queryGoogle::Apis::VaultV1::HeldHangoutsChatQuery

Query options for hangouts chat holds. Corresponds to the JSON property hangoutsChatQuery



331
332
333
# File 'generated/google/apis/vault_v1/classes.rb', line 331

def hangouts_chat_query
  @hangouts_chat_query
end

#mail_queryGoogle::Apis::VaultV1::HeldMailQuery

Query options for mail holds. Corresponds to the JSON property mailQuery



336
337
338
# File 'generated/google/apis/vault_v1/classes.rb', line 336

def mail_query
  @mail_query
end

#voice_queryGoogle::Apis::VaultV1::HeldVoiceQuery

Query options for Voice holds. Corresponds to the JSON property voiceQuery



341
342
343
# File 'generated/google/apis/vault_v1/classes.rb', line 341

def voice_query
  @voice_query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



348
349
350
351
352
353
354
# File 'generated/google/apis/vault_v1/classes.rb', line 348

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