Class: Google::Apis::VaultV1::CorpusQuery
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::CorpusQuery
- 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
-
#drive_query ⇒ Google::Apis::VaultV1::HeldDriveQuery
Query options for Drive holds.
-
#groups_query ⇒ Google::Apis::VaultV1::HeldGroupsQuery
Query options for group holds.
-
#hangouts_chat_query ⇒ Google::Apis::VaultV1::HeldHangoutsChatQuery
Query options for hangouts chat holds.
-
#mail_query ⇒ Google::Apis::VaultV1::HeldMailQuery
Query options for mail holds.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CorpusQuery
constructor
A new instance of CorpusQuery.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CorpusQuery
Returns a new instance of CorpusQuery
121 122 123 |
# File 'generated/google/apis/vault_v1/classes.rb', line 121 def initialize(**args) update!(**args) end |
Instance Attribute Details
#drive_query ⇒ Google::Apis::VaultV1::HeldDriveQuery
Query options for Drive holds.
Corresponds to the JSON property driveQuery
104 105 106 |
# File 'generated/google/apis/vault_v1/classes.rb', line 104 def drive_query @drive_query end |
#groups_query ⇒ Google::Apis::VaultV1::HeldGroupsQuery
Query options for group holds.
Corresponds to the JSON property groupsQuery
109 110 111 |
# File 'generated/google/apis/vault_v1/classes.rb', line 109 def groups_query @groups_query end |
#hangouts_chat_query ⇒ Google::Apis::VaultV1::HeldHangoutsChatQuery
Query options for hangouts chat holds.
Corresponds to the JSON property hangoutsChatQuery
114 115 116 |
# File 'generated/google/apis/vault_v1/classes.rb', line 114 def hangouts_chat_query @hangouts_chat_query end |
#mail_query ⇒ Google::Apis::VaultV1::HeldMailQuery
Query options for mail holds.
Corresponds to the JSON property mailQuery
119 120 121 |
# File 'generated/google/apis/vault_v1/classes.rb', line 119 def mail_query @mail_query end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
126 127 128 129 130 131 |
# File 'generated/google/apis/vault_v1/classes.rb', line 126 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) end |