- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Full name: projects.locations.instances.operations.streamSearch
Streams the results of an in-progress search operation, or returns the final results of a completed operation.
HTTP request
Path parameters
| Parameters | |
|---|---|
| name | 
 Required. The name of the operation resource to stream results from. Format: projects/{project}/locations/{location}/instances/{instance}/operations/{operation} | 
Query parameters
| Parameters | |
|---|---|
| eventIndexStart | 
 Optional. Event index to start from. If unset (or 0), entire result set will be returned. | 
| eventIndexEnd | 
 Optional. Last event index. | 
| pageRequest | 
 Optional. For page request, trim the response to only include requested events. | 
| sortAscending | 
 Optional. Sort order for the results, default is descending, i.e., false. | 
| sortColumn | 
 Optional. Sort column name for the results, default is based on timestamp. | 
Request body
The request body must be empty.
Response body
The current state of a search operation.
For the types of metadata and response, see documentation for the method that created the operation.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "operation": {
    object ( | 
| Fields | |
|---|---|
| operation | 
 The current state of the operation, including the latest streaming response. | 
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name resource:
- chronicle.operations.streamSearch
For more information, see the IAM documentation.