Skip to main content

Interface: $Properties

v1.WorkerSelector.$Properties

Properties of a WorkerSelector.

Hierarchy

Properties

selector

Optional selector: "workerInstanceKey"

Options are:

  • query (will be used as query to ListWorkers, same format as in ListWorkersRequest.query)
  • task queue (just a shortcut. Same as query=' "TaskQueue"="my-task-queue" ')
  • etc. All but 'query' are shortcuts, can be replaced with a query, but it is not convenient. string query = 5; string task_queue = 6; ...

workerInstanceKey

Optional workerInstanceKey: null | string

Worker instance key to which the command should be sent.