Method: legacyPublisher.legacyListTasks

Full name: projects.locations.instances.legacyPublisher.legacyListTasks

Legacy endpoint for listing remote tasks.

HTTP request


Path parameters

Parameters
instance

string

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

string

Optional. The id of the remote agent.

status

string

Optional. The status of the tasks that are to be listed.

count

integer

Optional. The number of tasks to be listed.

filter_mode

string

Optional. The filter mode of the tasks that are to be listed.

task_types

string

Optional. The types of the tasks that are to be listed.

new_tasks

boolean

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 (LegacyTask)
    }
  ]
}
Fields
tasks[]

object (LegacyTask)

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.