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

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

Overview

Service-specific options for holds.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CorpusQuery

Returns a new instance of CorpusQuery.



432
433
434
# File 'lib/google/apis/vault_v1/classes.rb', line 432

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

Instance Attribute Details

#calendar_queryGoogle::Apis::VaultV1::HeldCalendarQuery

Options for Calendar holds. Corresponds to the JSON property calendarQuery



405
406
407
# File 'lib/google/apis/vault_v1/classes.rb', line 405

def calendar_query
  @calendar_query
end

#drive_queryGoogle::Apis::VaultV1::HeldDriveQuery

Options for Drive holds. Corresponds to the JSON property driveQuery



410
411
412
# File 'lib/google/apis/vault_v1/classes.rb', line 410

def drive_query
  @drive_query
end

#groups_queryGoogle::Apis::VaultV1::HeldGroupsQuery

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



415
416
417
# File 'lib/google/apis/vault_v1/classes.rb', line 415

def groups_query
  @groups_query
end

#hangouts_chat_queryGoogle::Apis::VaultV1::HeldHangoutsChatQuery

Options for Chat holds. Corresponds to the JSON property hangoutsChatQuery



420
421
422
# File 'lib/google/apis/vault_v1/classes.rb', line 420

def hangouts_chat_query
  @hangouts_chat_query
end

#mail_queryGoogle::Apis::VaultV1::HeldMailQuery

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



425
426
427
# File 'lib/google/apis/vault_v1/classes.rb', line 425

def mail_query
  @mail_query
end

#voice_queryGoogle::Apis::VaultV1::HeldVoiceQuery

Options for Voice holds. Corresponds to the JSON property voiceQuery



430
431
432
# File 'lib/google/apis/vault_v1/classes.rb', line 430

def voice_query
  @voice_query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



437
438
439
440
441
442
443
444
# File 'lib/google/apis/vault_v1/classes.rb', line 437

def update!(**args)
  @calendar_query = args[:calendar_query] if args.key?(:calendar_query)
  @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