- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Full name: projects.locations.instances.legacyPublisher.legacyListTasks
Legacy endpoint for listing remote tasks.
HTTP request
Path parameters
Parameters | |
---|---|
instance |
Required. The name of the parent resource, which is the SecOps instance of the legacy publisher. Format: projects/{project}/locations/{location}/instances/{instance} |
Query parameters
Parameters | |
---|---|
agent_id |
Optional. The id of the remote agent. |
status |
Optional. The status of the tasks that are to be listed. |
count |
Optional. The number of tasks to be listed. |
filter_mode |
Optional. The filter mode of the tasks that are to be listed. |
task_types |
Optional. The types of the tasks that are to be listed. |
new_tasks |
Optional. Should be true if we want to list only new tasks. |
Request body
The request body must be empty.
Response body
Response message for legacyPublisher.legacyListTasks.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"tasks": [
{
object ( |
Fields | |
---|---|
tasks[] |
The list of tasks. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.