lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb in twilio-ruby-6.1.0 vs lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb in twilio-ruby-6.2.0

- old
+ new

@@ -65,11 +65,11 @@ # memory before returning. # @param [String] activity_name The `activity_name` of the Worker resources to read. # @param [String] activity_sid The `activity_sid` of the Worker resources to read. # @param [String] available Whether to return only Worker resources that are available or unavailable. Can be `true`, `1`, or `yes` to return Worker resources that are available, and `false`, or any value returns the Worker resources that are not available. # @param [String] friendly_name The `friendly_name` of the Worker resources to read. - # @param [String] target_workers_expression Filter by Workers that would match an expression on a TaskQueue. This is helpful for debugging which Workers would match a potential queue. + # @param [String] target_workers_expression Filter by Workers that would match an expression. In addition to fields in the workers' attributes, the expression can include the following worker fields: `sid`, `friendly_name`, `activity_sid`, or `activity_name` # @param [String] task_queue_name The `friendly_name` of the TaskQueue that the Workers to read are eligible for. # @param [String] task_queue_sid The SID of the TaskQueue that the Workers to read are eligible for. # @param [String] ordering Sorting parameter for Workers # @param [Integer] limit Upper limit for the number of records to return. stream() # guarantees to never return more than limit. Default is no limit @@ -99,11 +99,11 @@ # is reached. # @param [String] activity_name The `activity_name` of the Worker resources to read. # @param [String] activity_sid The `activity_sid` of the Worker resources to read. # @param [String] available Whether to return only Worker resources that are available or unavailable. Can be `true`, `1`, or `yes` to return Worker resources that are available, and `false`, or any value returns the Worker resources that are not available. # @param [String] friendly_name The `friendly_name` of the Worker resources to read. - # @param [String] target_workers_expression Filter by Workers that would match an expression on a TaskQueue. This is helpful for debugging which Workers would match a potential queue. + # @param [String] target_workers_expression Filter by Workers that would match an expression. In addition to fields in the workers' attributes, the expression can include the following worker fields: `sid`, `friendly_name`, `activity_sid`, or `activity_name` # @param [String] task_queue_name The `friendly_name` of the TaskQueue that the Workers to read are eligible for. # @param [String] task_queue_sid The SID of the TaskQueue that the Workers to read are eligible for. # @param [String] ordering Sorting parameter for Workers # @param [Integer] limit Upper limit for the number of records to return. stream() # guarantees to never return more than limit. Default is no limit @@ -148,10 +148,10 @@ # Request is executed immediately. # @param [String] activity_name The `activity_name` of the Worker resources to read. # @param [String] activity_sid The `activity_sid` of the Worker resources to read. # @param [String] available Whether to return only Worker resources that are available or unavailable. Can be `true`, `1`, or `yes` to return Worker resources that are available, and `false`, or any value returns the Worker resources that are not available. # @param [String] friendly_name The `friendly_name` of the Worker resources to read. - # @param [String] target_workers_expression Filter by Workers that would match an expression on a TaskQueue. This is helpful for debugging which Workers would match a potential queue. + # @param [String] target_workers_expression Filter by Workers that would match an expression. In addition to fields in the workers' attributes, the expression can include the following worker fields: `sid`, `friendly_name`, `activity_sid`, or `activity_name` # @param [String] task_queue_name The `friendly_name` of the TaskQueue that the Workers to read are eligible for. # @param [String] task_queue_sid The SID of the TaskQueue that the Workers to read are eligible for. # @param [String] ordering Sorting parameter for Workers # @param [String] page_token PageToken provided by the API # @param [Integer] page_number Page Number, this value is simply for client state