Class: Google::Apis::VaultV1::CorpusQuery
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::CorpusQuery
- 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
-
#drive_query ⇒ Google::Apis::VaultV1::HeldDriveQuery
Options for Drive holds.
-
#groups_query ⇒ Google::Apis::VaultV1::HeldGroupsQuery
Query options for group holds.
-
#hangouts_chat_query ⇒ Google::Apis::VaultV1::HeldHangoutsChatQuery
Options for Chat holds.
-
#mail_query ⇒ Google::Apis::VaultV1::HeldMailQuery
Query options for Gmail holds.
-
#voice_query ⇒ Google::Apis::VaultV1::HeldVoiceQuery
Options for Voice holds.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CorpusQuery
constructor
A new instance of CorpusQuery.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CorpusQuery
Returns a new instance of CorpusQuery.
353 354 355 |
# File 'lib/google/apis/vault_v1/classes.rb', line 353 def initialize(**args) update!(**args) end |
Instance Attribute Details
#drive_query ⇒ Google::Apis::VaultV1::HeldDriveQuery
Options for Drive holds.
Corresponds to the JSON property driveQuery
331 332 333 |
# File 'lib/google/apis/vault_v1/classes.rb', line 331 def drive_query @drive_query end |
#groups_query ⇒ Google::Apis::VaultV1::HeldGroupsQuery
Query options for group holds.
Corresponds to the JSON property groupsQuery
336 337 338 |
# File 'lib/google/apis/vault_v1/classes.rb', line 336 def groups_query @groups_query end |
#hangouts_chat_query ⇒ Google::Apis::VaultV1::HeldHangoutsChatQuery
Options for Chat holds.
Corresponds to the JSON property hangoutsChatQuery
341 342 343 |
# File 'lib/google/apis/vault_v1/classes.rb', line 341 def hangouts_chat_query @hangouts_chat_query end |
#mail_query ⇒ Google::Apis::VaultV1::HeldMailQuery
Query options for Gmail holds.
Corresponds to the JSON property mailQuery
346 347 348 |
# File 'lib/google/apis/vault_v1/classes.rb', line 346 def mail_query @mail_query end |
#voice_query ⇒ Google::Apis::VaultV1::HeldVoiceQuery
Options for Voice holds.
Corresponds to the JSON property voiceQuery
351 352 353 |
# File 'lib/google/apis/vault_v1/classes.rb', line 351 def voice_query @voice_query end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
358 359 360 361 362 363 364 |
# 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 |