Method: Twilio::REST::Taskrouter::V1::WorkspaceContext::TaskQueueInstance#target_workers

Defined in:
lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb

#target_workersString

Returns A string describing the Worker selection criteria for any Tasks that enter the TaskQueue. For example ‘’"language" == "spanish"‘` If no TargetWorkers parameter is provided, Tasks will wait in the TaskQueue until they are either deleted or moved to another TaskQueue. Additional examples on how to describing Worker selection criteria below. Defaults to 1==1.

Returns:

  • (String)

    A string describing the Worker selection criteria for any Tasks that enter the TaskQueue. For example ‘’"language" == "spanish"‘` If no TargetWorkers parameter is provided, Tasks will wait in the TaskQueue until they are either deleted or moved to another TaskQueue. Additional examples on how to describing Worker selection criteria below. Defaults to 1==1.



493
494
495
# File 'lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb', line 493

def target_workers
    @properties['target_workers']
end