Class: TaskQueueReachability
taskqueue.v1.TaskQueueReachability
Reachability of tasks for a worker on a single task queue.
Properties
reachability
• reachability: TaskReachability[]
Task reachability for a worker in a single task queue. See the TaskReachability docstring for information about each enum variant. If reachability is empty, this worker is considered unreachable in this task queue.
taskQueue
• taskQueue: string
TaskQueueReachability taskQueue.
Methods
toJSON
▸ toJSON(): Object
Converts this TaskQueueReachability to JSON.
Returns
Object
JSON object
create
▸ create(properties?): TaskQueueReachability & $Properties
Creates a new TaskQueueReachability instance using the specified properties.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | $Properties | Properties to set |
Returns
TaskQueueReachability & $Properties
TaskQueueReachability instance
▸ create(properties?): TaskQueueReachability
Parameters
| Name | Type |
|---|---|
properties? | $Properties |
Returns
decode
▸ decode(reader, length?): TaskQueueReachability & $Properties
Decodes a TaskQueueReachability message from the specified reader or buffer.
Parameters
| Name | Type | Description |
|---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
length? | number | Message length if known beforehand |
Returns
TaskQueueReachability & $Properties
TaskQueueReachability
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing