Class: Google::Apis::VaultV1::Query
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::Query
- 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
A query definition relevant for search & export.
Instance Attribute Summary collapse
-
#account_info ⇒ Google::Apis::VaultV1::AccountInfo
Accounts to search Corresponds to the JSON property
accountInfo. -
#corpus ⇒ String
The corpus to search.
-
#data_scope ⇒ String
The data source to search from.
-
#drive_options ⇒ Google::Apis::VaultV1::DriveOptions
Drive search advanced options Corresponds to the JSON property
driveOptions. -
#end_time ⇒ String
The end time range for the search query.
-
#hangouts_chat_info ⇒ Google::Apis::VaultV1::HangoutsChatInfo
Accounts to search Corresponds to the JSON property
hangoutsChatInfo. -
#hangouts_chat_options ⇒ Google::Apis::VaultV1::HangoutsChatOptions
Hangouts chat search advanced options Corresponds to the JSON property
hangoutsChatOptions. -
#mail_options ⇒ Google::Apis::VaultV1::MailOptions
Mail search advanced options Corresponds to the JSON property
mailOptions. -
#method_prop ⇒ String
The search method to use.
-
#org_unit_info ⇒ Google::Apis::VaultV1::OrgUnitInfo
Org Unit to search Corresponds to the JSON property
orgUnitInfo. -
#search_method ⇒ String
The search method to use.
-
#shared_drive_info ⇒ Google::Apis::VaultV1::SharedDriveInfo
Shared drives to search Corresponds to the JSON property
sharedDriveInfo. -
#start_time ⇒ String
The start time range for the search query.
-
#team_drive_info ⇒ Google::Apis::VaultV1::TeamDriveInfo
Team Drives to search Corresponds to the JSON property
teamDriveInfo. -
#terms ⇒ String
The corpus-specific search operators used to generate search results.
-
#time_zone ⇒ String
The time zone name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Query
constructor
A new instance of Query.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Query
Returns a new instance of Query
1224 1225 1226 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1224 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_info ⇒ Google::Apis::VaultV1::AccountInfo
Accounts to search
Corresponds to the JSON property accountInfo
1136 1137 1138 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1136 def account_info @account_info end |
#corpus ⇒ String
The corpus to search.
Corresponds to the JSON property corpus
1141 1142 1143 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1141 def corpus @corpus end |
#data_scope ⇒ String
The data source to search from.
Corresponds to the JSON property dataScope
1146 1147 1148 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1146 def data_scope @data_scope end |
#drive_options ⇒ Google::Apis::VaultV1::DriveOptions
Drive search advanced options
Corresponds to the JSON property driveOptions
1151 1152 1153 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1151 def @drive_options end |
#end_time ⇒ String
The end time range for the search query. These timestamps are in GMT and
rounded down to the start of the given date.
Corresponds to the JSON property endTime
1157 1158 1159 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1157 def end_time @end_time end |
#hangouts_chat_info ⇒ Google::Apis::VaultV1::HangoutsChatInfo
Accounts to search
Corresponds to the JSON property hangoutsChatInfo
1162 1163 1164 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1162 def hangouts_chat_info @hangouts_chat_info end |
#hangouts_chat_options ⇒ Google::Apis::VaultV1::HangoutsChatOptions
Hangouts chat search advanced options
Corresponds to the JSON property hangoutsChatOptions
1167 1168 1169 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1167 def @hangouts_chat_options end |
#mail_options ⇒ Google::Apis::VaultV1::MailOptions
Mail search advanced options
Corresponds to the JSON property mailOptions
1172 1173 1174 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1172 def @mail_options end |
#method_prop ⇒ String
The search method to use. This field is similar to the search_method field
but is introduced to support shared drives. It supports all
search method types. In case the search_method is TEAM_DRIVE the response
of this field will be SHARED_DRIVE only.
Corresponds to the JSON property method
1180 1181 1182 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1180 def method_prop @method_prop end |
#org_unit_info ⇒ Google::Apis::VaultV1::OrgUnitInfo
Org Unit to search
Corresponds to the JSON property orgUnitInfo
1185 1186 1187 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1185 def org_unit_info @org_unit_info end |
#search_method ⇒ String
The search method to use.
Corresponds to the JSON property searchMethod
1190 1191 1192 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1190 def search_method @search_method end |
#shared_drive_info ⇒ Google::Apis::VaultV1::SharedDriveInfo
Shared drives to search
Corresponds to the JSON property sharedDriveInfo
1195 1196 1197 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1195 def shared_drive_info @shared_drive_info end |
#start_time ⇒ String
The start time range for the search query. These timestamps are in GMT and
rounded down to the start of the given date.
Corresponds to the JSON property startTime
1201 1202 1203 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1201 def start_time @start_time end |
#team_drive_info ⇒ Google::Apis::VaultV1::TeamDriveInfo
Team Drives to search
Corresponds to the JSON property teamDriveInfo
1206 1207 1208 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1206 def team_drive_info @team_drive_info end |
#terms ⇒ String
The corpus-specific
search
operators used to generate search results.
Corresponds to the JSON property terms
1213 1214 1215 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1213 def terms @terms end |
#time_zone ⇒ String
The time zone name.
It should be an IANA TZ name, such as "America/Los_Angeles".
For more information, see
Time
Zone.
Corresponds to the JSON property timeZone
1222 1223 1224 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1222 def time_zone @time_zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1229 def update!(**args) @account_info = args[:account_info] if args.key?(:account_info) @corpus = args[:corpus] if args.key?(:corpus) @data_scope = args[:data_scope] if args.key?(:data_scope) @drive_options = args[:drive_options] if args.key?(:drive_options) @end_time = args[:end_time] if args.key?(:end_time) @hangouts_chat_info = args[:hangouts_chat_info] if args.key?(:hangouts_chat_info) @hangouts_chat_options = args[:hangouts_chat_options] if args.key?(:hangouts_chat_options) @mail_options = args[:mail_options] if args.key?(:mail_options) @method_prop = args[:method_prop] if args.key?(:method_prop) @org_unit_info = args[:org_unit_info] if args.key?(:org_unit_info) @search_method = args[:search_method] if args.key?(:search_method) @shared_drive_info = args[:shared_drive_info] if args.key?(:shared_drive_info) @start_time = args[:start_time] if args.key?(:start_time) @team_drive_info = args[:team_drive_info] if args.key?(:team_drive_info) @terms = args[:terms] if args.key?(:terms) @time_zone = args[:time_zone] if args.key?(:time_zone) end |