Skip to main content

Class: DescribeTaskQueueRequest

workflowservice.v1.DescribeTaskQueueRequest

(-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --)

Properties

apiMode

apiMode: DescribeTaskQueueMode

Deprecated. ENHANCED mode is also being deprecated. Select the API mode to use for this request: DEFAULT mode (if unset) or ENHANCED mode. Consult the documentation for each field to understand which mode it is supported in.


includeTaskQueueStatus

includeTaskQueueStatus: boolean

Deprecated, use report_stats instead. If true, the task queue status will be included in the response.


namespace

namespace: string

DescribeTaskQueueRequest namespace.


reportConfig

reportConfig: boolean

Report Task Queue Config


reportPollers

reportPollers: boolean

Deprecated (as part of the ENHANCED mode deprecation). Report list of pollers for requested task queue types and versions.


reportStats

reportStats: boolean

Report stats for the requested task queue type(s).


reportTaskReachability

reportTaskReachability: boolean

Deprecated (as part of the ENHANCED mode deprecation). Report task reachability for the requested versions and all task types (task reachability is not reported per task type).


taskQueue

Optional taskQueue: null | $Properties

Sticky queues are not supported in deprecated ENHANCED mode.


taskQueueType

taskQueueType: TaskQueueType

If unspecified (TASK_QUEUE_TYPE_UNSPECIFIED), then default value (TASK_QUEUE_TYPE_WORKFLOW) will be used. Only supported in default mode (use task_queue_types in ENHANCED mode instead).


taskQueueTypes

taskQueueTypes: TaskQueueType[]

Deprecated (as part of the ENHANCED mode deprecation). Task queue types to report info about. If not specified, all types are considered.


versions

Optional versions: null | $Properties

Deprecated (as part of the ENHANCED mode deprecation). Optional. If not provided, the result for the default Build ID will be returned. The default Build ID is the one mentioned in the first unconditional Assignment Rule. If there is no default Build ID, the result for the unversioned queue will be returned. (-- api-linter: core::0140::prepositions --)

Methods

toJSON

toJSON(): Object

Converts this DescribeTaskQueueRequest to JSON.

Returns

Object

JSON object


create

create(properties?): DescribeTaskQueueRequest & $Properties

Creates a new DescribeTaskQueueRequest instance using the specified properties.

Parameters

NameTypeDescription
properties?$PropertiesProperties to set

Returns

DescribeTaskQueueRequest & $Properties

DescribeTaskQueueRequest instance

create(properties?): DescribeTaskQueueRequest

Parameters

NameType
properties?$Properties

Returns

DescribeTaskQueueRequest


decode

decode(reader, length?): DescribeTaskQueueRequest & $Properties

Decodes a DescribeTaskQueueRequest message from the specified reader or buffer.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns

DescribeTaskQueueRequest & $Properties

DescribeTaskQueueRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): DescribeTaskQueueRequest & $Properties

Decodes a DescribeTaskQueueRequest message from the specified reader or buffer, length delimited.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

DescribeTaskQueueRequest & $Properties

DescribeTaskQueueRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


encode

encode(message, writer?): Writer

Encodes the specified DescribeTaskQueueRequest message. Does not implicitly temporal.api.workflowservice.v1.DescribeTaskQueueRequest.verify|verify messages.

Parameters

NameTypeDescription
message$PropertiesDescribeTaskQueueRequest message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

Encodes the specified DescribeTaskQueueRequest message, length delimited. Does not implicitly temporal.api.workflowservice.v1.DescribeTaskQueueRequest.verify|verify messages.

Parameters

NameTypeDescription
message$PropertiesDescribeTaskQueueRequest message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

fromObject(object): DescribeTaskQueueRequest

Creates a DescribeTaskQueueRequest message from a plain object. Also converts values to their respective internal types.

Parameters

NameTypeDescription
objectObjectPlain object

Returns

DescribeTaskQueueRequest

DescribeTaskQueueRequest


toObject

toObject(message, options?): Object

Creates a plain object from a DescribeTaskQueueRequest message. Also converts values to other types if specified.

Parameters

NameTypeDescription
messageDescribeTaskQueueRequestDescribeTaskQueueRequest
options?IConversionOptionsConversion options

Returns

Object

Plain object