Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, h1, h2, h3, div, span, p, pre, a { |
| 5 | margin: 0; |
| 6 | padding: 0; |
| 7 | border: 0; |
| 8 | font-weight: inherit; |
| 9 | font-style: inherit; |
| 10 | font-size: 100%; |
| 11 | font-family: inherit; |
| 12 | vertical-align: baseline; |
| 13 | } |
| 14 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, h2, h3 { |
| 50 | border-bottom: solid #CCC 1px; |
| 51 | } |
| 52 | |
| 53 | .toc_element { |
| 54 | margin-top: 0.5em; |
| 55 | } |
| 56 | |
| 57 | .firstline { |
| 58 | margin-left: 2 em; |
| 59 | } |
| 60 | |
| 61 | .method { |
| 62 | margin-top: 1em; |
| 63 | border: solid 1px #CCC; |
| 64 | padding: 1em; |
| 65 | background: #EEE; |
| 66 | } |
| 67 | |
| 68 | .details { |
| 69 | font-weight: bold; |
| 70 | font-size: 14px; |
| 71 | } |
| 72 | |
| 73 | </style> |
| 74 | |
| 75 | <h1><a href="vault_v1.html">G Suite Vault API</a> . <a href="vault_v1.matters.html">matters</a> . <a href="vault_v1.matters.savedQueries.html">savedQueries</a></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 78 | <code><a href="#close">close()</a></code></p> |
| 79 | <p class="firstline">Close httplib2 connections.</p> |
| 80 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 81 | <code><a href="#create">create(matterId, body=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 82 | <p class="firstline">Creates a saved query.</p> |
| 83 | <p class="toc_element"> |
| 84 | <code><a href="#delete">delete(matterId, savedQueryId, x__xgafv=None)</a></code></p> |
| 85 | <p class="firstline">Deletes a saved query by Id.</p> |
| 86 | <p class="toc_element"> |
| 87 | <code><a href="#get">get(matterId, savedQueryId, x__xgafv=None)</a></code></p> |
| 88 | <p class="firstline">Retrieves a saved query by Id.</p> |
| 89 | <p class="toc_element"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 90 | <code><a href="#list">list(matterId, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> |
| 91 | <p class="firstline">Lists saved queries within a matter. An empty page token in ListSavedQueriesResponse denotes no more saved queries to list.</p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 92 | <p class="toc_element"> |
| 93 | <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> |
| 94 | <p class="firstline">Retrieves the next page of results.</p> |
| 95 | <h3>Method Details</h3> |
| 96 | <div class="method"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 97 | <code class="details" id="close">close()</code> |
| 98 | <pre>Close httplib2 connections.</pre> |
| 99 | </div> |
| 100 | |
| 101 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 102 | <code class="details" id="create">create(matterId, body=None, x__xgafv=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 103 | <pre>Creates a saved query. |
| 104 | |
| 105 | Args: |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 106 | matterId: string, The matter ID of the parent matter for which the saved query is to be created. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 107 | body: object, The request body. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 108 | The object takes the form of: |
| 109 | |
| 110 | { # Definition of the saved query. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 111 | "savedQueryId": "A String", # A unique identifier for the saved query. |
| 112 | "matterId": "A String", # Output only. The matter ID of the associated matter. The server does not look at this field during create and always uses matter id in the URL. |
| 113 | "displayName": "A String", # Name of the saved query. |
| 114 | "createTime": "A String", # Output only. The server generated timestamp at which saved query was created. |
| 115 | "query": { # A query definition relevant for search & export. # The underlying Query object which contains all the information of the saved query. |
| 116 | "corpus": "A String", # The corpus to search. |
| 117 | "driveOptions": { # Drive search advanced options # For Drive search, specify more options in this field. |
| 118 | "includeSharedDrives": True or False, # Set to true to include shared drive. |
| 119 | "versionDate": "A String", # Search the versions of the Drive file as of the reference date. These timestamps are in GMT and rounded down to the given date. |
| 120 | "includeTeamDrives": True or False, # Set to true to include Team Drive. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 121 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 122 | "endTime": "A String", # The end time range for the search query. These timestamps are in GMT and rounded down to the start of the given date. |
| 123 | "method": "A 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. |
| 124 | "hangoutsChatInfo": { # Accounts to search # When 'ROOM' is chosen as search method, hangout_chats_info needs to be specified. (read-only) |
| 125 | "roomId": [ # A set of rooms to search. |
| 126 | "A String", |
| 127 | ], |
| 128 | }, |
| 129 | "hangoutsChatOptions": { # Hangouts chat search advanced options # For hangouts chat search, specify more options in this field. (read-only) |
| 130 | "includeRooms": True or False, # Set to true to include rooms. |
| 131 | }, |
| 132 | "terms": "A String", # The corpus-specific search operators used to generate search results. |
| 133 | "sharedDriveInfo": { # Shared drives to search # When 'SHARED_DRIVE' is chosen as search method, shared_drive_info needs to be specified. |
| 134 | "sharedDriveIds": [ # List of Shared drive IDs, as provided by Drive API. |
| 135 | "A String", |
| 136 | ], |
| 137 | }, |
| 138 | "searchMethod": "A String", # The search method to use. |
| 139 | "accountInfo": { # Accounts to search # When 'ACCOUNT' is chosen as search method, account_info needs to be specified. |
| 140 | "emails": [ # A set of accounts to search. |
| 141 | "A String", |
| 142 | ], |
| 143 | }, |
| 144 | "mailOptions": { # Mail search advanced options # For mail search, specify more options in this field. |
| 145 | "excludeDrafts": True or False, # Set to true to exclude drafts. |
| 146 | }, |
| 147 | "timeZone": "A String", # The time zone name. It should be an IANA TZ name, such as "America/Los_Angeles". For more information, see Time Zone. |
| 148 | "teamDriveInfo": { # Team Drives to search # When 'TEAM_DRIVE' is chosen as search method, team_drive_info needs to be specified. |
| 149 | "teamDriveIds": [ # List of Team Drive IDs, as provided by Drive API. |
| 150 | "A String", |
| 151 | ], |
| 152 | }, |
| 153 | "startTime": "A String", # The start time range for the search query. These timestamps are in GMT and rounded down to the start of the given date. |
| 154 | "orgUnitInfo": { # Org Unit to search # When 'ORG_UNIT' is chosen as as search method, org_unit_info needs to be specified. |
| 155 | "orgUnitId": "A String", # Org unit to search, as provided by the Admin SDK Directory API. |
| 156 | }, |
| 157 | "dataScope": "A String", # The data source to search from. |
| 158 | }, |
| 159 | } |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 160 | |
| 161 | x__xgafv: string, V1 error format. |
| 162 | Allowed values |
| 163 | 1 - v1 error format |
| 164 | 2 - v2 error format |
| 165 | |
| 166 | Returns: |
| 167 | An object of the form: |
| 168 | |
| 169 | { # Definition of the saved query. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 170 | "savedQueryId": "A String", # A unique identifier for the saved query. |
| 171 | "matterId": "A String", # Output only. The matter ID of the associated matter. The server does not look at this field during create and always uses matter id in the URL. |
| 172 | "displayName": "A String", # Name of the saved query. |
| 173 | "createTime": "A String", # Output only. The server generated timestamp at which saved query was created. |
| 174 | "query": { # A query definition relevant for search & export. # The underlying Query object which contains all the information of the saved query. |
| 175 | "corpus": "A String", # The corpus to search. |
| 176 | "driveOptions": { # Drive search advanced options # For Drive search, specify more options in this field. |
| 177 | "includeSharedDrives": True or False, # Set to true to include shared drive. |
| 178 | "versionDate": "A String", # Search the versions of the Drive file as of the reference date. These timestamps are in GMT and rounded down to the given date. |
| 179 | "includeTeamDrives": True or False, # Set to true to include Team Drive. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 180 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 181 | "endTime": "A String", # The end time range for the search query. These timestamps are in GMT and rounded down to the start of the given date. |
| 182 | "method": "A 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. |
| 183 | "hangoutsChatInfo": { # Accounts to search # When 'ROOM' is chosen as search method, hangout_chats_info needs to be specified. (read-only) |
| 184 | "roomId": [ # A set of rooms to search. |
| 185 | "A String", |
| 186 | ], |
| 187 | }, |
| 188 | "hangoutsChatOptions": { # Hangouts chat search advanced options # For hangouts chat search, specify more options in this field. (read-only) |
| 189 | "includeRooms": True or False, # Set to true to include rooms. |
| 190 | }, |
| 191 | "terms": "A String", # The corpus-specific search operators used to generate search results. |
| 192 | "sharedDriveInfo": { # Shared drives to search # When 'SHARED_DRIVE' is chosen as search method, shared_drive_info needs to be specified. |
| 193 | "sharedDriveIds": [ # List of Shared drive IDs, as provided by Drive API. |
| 194 | "A String", |
| 195 | ], |
| 196 | }, |
| 197 | "searchMethod": "A String", # The search method to use. |
| 198 | "accountInfo": { # Accounts to search # When 'ACCOUNT' is chosen as search method, account_info needs to be specified. |
| 199 | "emails": [ # A set of accounts to search. |
| 200 | "A String", |
| 201 | ], |
| 202 | }, |
| 203 | "mailOptions": { # Mail search advanced options # For mail search, specify more options in this field. |
| 204 | "excludeDrafts": True or False, # Set to true to exclude drafts. |
| 205 | }, |
| 206 | "timeZone": "A String", # The time zone name. It should be an IANA TZ name, such as "America/Los_Angeles". For more information, see Time Zone. |
| 207 | "teamDriveInfo": { # Team Drives to search # When 'TEAM_DRIVE' is chosen as search method, team_drive_info needs to be specified. |
| 208 | "teamDriveIds": [ # List of Team Drive IDs, as provided by Drive API. |
| 209 | "A String", |
| 210 | ], |
| 211 | }, |
| 212 | "startTime": "A String", # The start time range for the search query. These timestamps are in GMT and rounded down to the start of the given date. |
| 213 | "orgUnitInfo": { # Org Unit to search # When 'ORG_UNIT' is chosen as as search method, org_unit_info needs to be specified. |
| 214 | "orgUnitId": "A String", # Org unit to search, as provided by the Admin SDK Directory API. |
| 215 | }, |
| 216 | "dataScope": "A String", # The data source to search from. |
| 217 | }, |
| 218 | }</pre> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 219 | </div> |
| 220 | |
| 221 | <div class="method"> |
| 222 | <code class="details" id="delete">delete(matterId, savedQueryId, x__xgafv=None)</code> |
| 223 | <pre>Deletes a saved query by Id. |
| 224 | |
| 225 | Args: |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 226 | matterId: string, The matter ID of the parent matter for which the saved query is to be deleted. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 227 | savedQueryId: string, ID of the saved query to be deleted. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 228 | x__xgafv: string, V1 error format. |
| 229 | Allowed values |
| 230 | 1 - v1 error format |
| 231 | 2 - v2 error format |
| 232 | |
| 233 | Returns: |
| 234 | An object of the form: |
| 235 | |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 236 | { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 237 | }</pre> |
| 238 | </div> |
| 239 | |
| 240 | <div class="method"> |
| 241 | <code class="details" id="get">get(matterId, savedQueryId, x__xgafv=None)</code> |
| 242 | <pre>Retrieves a saved query by Id. |
| 243 | |
| 244 | Args: |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 245 | matterId: string, The matter ID of the parent matter for which the saved query is to be retrieved. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 246 | savedQueryId: string, ID of the saved query to be retrieved. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 247 | x__xgafv: string, V1 error format. |
| 248 | Allowed values |
| 249 | 1 - v1 error format |
| 250 | 2 - v2 error format |
| 251 | |
| 252 | Returns: |
| 253 | An object of the form: |
| 254 | |
| 255 | { # Definition of the saved query. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 256 | "savedQueryId": "A String", # A unique identifier for the saved query. |
| 257 | "matterId": "A String", # Output only. The matter ID of the associated matter. The server does not look at this field during create and always uses matter id in the URL. |
| 258 | "displayName": "A String", # Name of the saved query. |
| 259 | "createTime": "A String", # Output only. The server generated timestamp at which saved query was created. |
| 260 | "query": { # A query definition relevant for search & export. # The underlying Query object which contains all the information of the saved query. |
| 261 | "corpus": "A String", # The corpus to search. |
| 262 | "driveOptions": { # Drive search advanced options # For Drive search, specify more options in this field. |
| 263 | "includeSharedDrives": True or False, # Set to true to include shared drive. |
| 264 | "versionDate": "A String", # Search the versions of the Drive file as of the reference date. These timestamps are in GMT and rounded down to the given date. |
| 265 | "includeTeamDrives": True or False, # Set to true to include Team Drive. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 266 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 267 | "endTime": "A String", # The end time range for the search query. These timestamps are in GMT and rounded down to the start of the given date. |
| 268 | "method": "A 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. |
| 269 | "hangoutsChatInfo": { # Accounts to search # When 'ROOM' is chosen as search method, hangout_chats_info needs to be specified. (read-only) |
| 270 | "roomId": [ # A set of rooms to search. |
| 271 | "A String", |
| 272 | ], |
| 273 | }, |
| 274 | "hangoutsChatOptions": { # Hangouts chat search advanced options # For hangouts chat search, specify more options in this field. (read-only) |
| 275 | "includeRooms": True or False, # Set to true to include rooms. |
| 276 | }, |
| 277 | "terms": "A String", # The corpus-specific search operators used to generate search results. |
| 278 | "sharedDriveInfo": { # Shared drives to search # When 'SHARED_DRIVE' is chosen as search method, shared_drive_info needs to be specified. |
| 279 | "sharedDriveIds": [ # List of Shared drive IDs, as provided by Drive API. |
| 280 | "A String", |
| 281 | ], |
| 282 | }, |
| 283 | "searchMethod": "A String", # The search method to use. |
| 284 | "accountInfo": { # Accounts to search # When 'ACCOUNT' is chosen as search method, account_info needs to be specified. |
| 285 | "emails": [ # A set of accounts to search. |
| 286 | "A String", |
| 287 | ], |
| 288 | }, |
| 289 | "mailOptions": { # Mail search advanced options # For mail search, specify more options in this field. |
| 290 | "excludeDrafts": True or False, # Set to true to exclude drafts. |
| 291 | }, |
| 292 | "timeZone": "A String", # The time zone name. It should be an IANA TZ name, such as "America/Los_Angeles". For more information, see Time Zone. |
| 293 | "teamDriveInfo": { # Team Drives to search # When 'TEAM_DRIVE' is chosen as search method, team_drive_info needs to be specified. |
| 294 | "teamDriveIds": [ # List of Team Drive IDs, as provided by Drive API. |
| 295 | "A String", |
| 296 | ], |
| 297 | }, |
| 298 | "startTime": "A String", # The start time range for the search query. These timestamps are in GMT and rounded down to the start of the given date. |
| 299 | "orgUnitInfo": { # Org Unit to search # When 'ORG_UNIT' is chosen as as search method, org_unit_info needs to be specified. |
| 300 | "orgUnitId": "A String", # Org unit to search, as provided by the Admin SDK Directory API. |
| 301 | }, |
| 302 | "dataScope": "A String", # The data source to search from. |
| 303 | }, |
| 304 | }</pre> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 305 | </div> |
| 306 | |
| 307 | <div class="method"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 308 | <code class="details" id="list">list(matterId, pageSize=None, pageToken=None, x__xgafv=None)</code> |
| 309 | <pre>Lists saved queries within a matter. An empty page token in ListSavedQueriesResponse denotes no more saved queries to list. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 310 | |
| 311 | Args: |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 312 | matterId: string, The matter ID of the parent matter for which the saved queries are to be retrieved. (required) |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 313 | pageSize: integer, The maximum number of saved queries to return. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 314 | pageToken: string, The pagination token as returned in the previous response. An empty token means start from the beginning. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 315 | x__xgafv: string, V1 error format. |
| 316 | Allowed values |
| 317 | 1 - v1 error format |
| 318 | 2 - v2 error format |
| 319 | |
| 320 | Returns: |
| 321 | An object of the form: |
| 322 | |
| 323 | { # Definition of the response for method ListSaveQuery. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 324 | "nextPageToken": "A String", # Page token to retrieve the next page of results in the list. If this is empty, then there are no more saved queries to list. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 325 | "savedQueries": [ # List of output saved queries. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 326 | { # Definition of the saved query. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 327 | "savedQueryId": "A String", # A unique identifier for the saved query. |
| 328 | "matterId": "A String", # Output only. The matter ID of the associated matter. The server does not look at this field during create and always uses matter id in the URL. |
| 329 | "displayName": "A String", # Name of the saved query. |
| 330 | "createTime": "A String", # Output only. The server generated timestamp at which saved query was created. |
| 331 | "query": { # A query definition relevant for search & export. # The underlying Query object which contains all the information of the saved query. |
| 332 | "corpus": "A String", # The corpus to search. |
| 333 | "driveOptions": { # Drive search advanced options # For Drive search, specify more options in this field. |
| 334 | "includeSharedDrives": True or False, # Set to true to include shared drive. |
| 335 | "versionDate": "A String", # Search the versions of the Drive file as of the reference date. These timestamps are in GMT and rounded down to the given date. |
| 336 | "includeTeamDrives": True or False, # Set to true to include Team Drive. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 337 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 338 | "endTime": "A String", # The end time range for the search query. These timestamps are in GMT and rounded down to the start of the given date. |
| 339 | "method": "A 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. |
| 340 | "hangoutsChatInfo": { # Accounts to search # When 'ROOM' is chosen as search method, hangout_chats_info needs to be specified. (read-only) |
| 341 | "roomId": [ # A set of rooms to search. |
| 342 | "A String", |
| 343 | ], |
| 344 | }, |
| 345 | "hangoutsChatOptions": { # Hangouts chat search advanced options # For hangouts chat search, specify more options in this field. (read-only) |
| 346 | "includeRooms": True or False, # Set to true to include rooms. |
| 347 | }, |
| 348 | "terms": "A String", # The corpus-specific search operators used to generate search results. |
| 349 | "sharedDriveInfo": { # Shared drives to search # When 'SHARED_DRIVE' is chosen as search method, shared_drive_info needs to be specified. |
| 350 | "sharedDriveIds": [ # List of Shared drive IDs, as provided by Drive API. |
| 351 | "A String", |
| 352 | ], |
| 353 | }, |
| 354 | "searchMethod": "A String", # The search method to use. |
| 355 | "accountInfo": { # Accounts to search # When 'ACCOUNT' is chosen as search method, account_info needs to be specified. |
| 356 | "emails": [ # A set of accounts to search. |
| 357 | "A String", |
| 358 | ], |
| 359 | }, |
| 360 | "mailOptions": { # Mail search advanced options # For mail search, specify more options in this field. |
| 361 | "excludeDrafts": True or False, # Set to true to exclude drafts. |
| 362 | }, |
| 363 | "timeZone": "A String", # The time zone name. It should be an IANA TZ name, such as "America/Los_Angeles". For more information, see Time Zone. |
| 364 | "teamDriveInfo": { # Team Drives to search # When 'TEAM_DRIVE' is chosen as search method, team_drive_info needs to be specified. |
| 365 | "teamDriveIds": [ # List of Team Drive IDs, as provided by Drive API. |
| 366 | "A String", |
| 367 | ], |
| 368 | }, |
| 369 | "startTime": "A String", # The start time range for the search query. These timestamps are in GMT and rounded down to the start of the given date. |
| 370 | "orgUnitInfo": { # Org Unit to search # When 'ORG_UNIT' is chosen as as search method, org_unit_info needs to be specified. |
| 371 | "orgUnitId": "A String", # Org unit to search, as provided by the Admin SDK Directory API. |
| 372 | }, |
| 373 | "dataScope": "A String", # The data source to search from. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 374 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 375 | }, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 376 | ], |
| 377 | }</pre> |
| 378 | </div> |
| 379 | |
| 380 | <div class="method"> |
| 381 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 382 | <pre>Retrieves the next page of results. |
| 383 | |
| 384 | Args: |
| 385 | previous_request: The request for the previous page. (required) |
| 386 | previous_response: The response from the request for the previous page. (required) |
| 387 | |
| 388 | Returns: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 389 | A request object that you can call 'execute()' on to request the next |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 390 | page. Returns None if there are no more items in the collection. |
| 391 | </pre> |
| 392 | </div> |
| 393 | |
| 394 | </body></html> |