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 --)

Implements

Constructors

constructor

new DescribeTaskQueueRequest(properties?): DescribeTaskQueueRequest

Constructs a new DescribeTaskQueueRequest.

Parameters

NameTypeDescription
properties?IDescribeTaskQueueRequestProperties to set

Returns

DescribeTaskQueueRequest

Properties

apiMode

apiMode: DescribeTaskQueueMode

All options except task_queue_type and include_task_queue_status are only available in the ENHANCED mode.

Implementation of

IDescribeTaskQueueRequest.apiMode


includeTaskQueueStatus

includeTaskQueueStatus: boolean

Deprecated. Ignored in ENHANCED mode.

Implementation of

IDescribeTaskQueueRequest.includeTaskQueueStatus


namespace

namespace: string

DescribeTaskQueueRequest namespace.

Implementation of

IDescribeTaskQueueRequest.namespace


reportPollers

reportPollers: boolean

Report list of pollers for requested task queue types and versions

Implementation of

IDescribeTaskQueueRequest.reportPollers


reportStats

reportStats: boolean

Report stats for the requested task queue types and versions

Implementation of

IDescribeTaskQueueRequest.reportStats


reportTaskReachability

reportTaskReachability: boolean

Report task reachability for the requested versions and all task types (task reachability is not reported per task type).

Implementation of

IDescribeTaskQueueRequest.reportTaskReachability


taskQueue

Optional taskQueue: null | ITaskQueue

Sticky queues are not supported in ENHANCED mode.

Implementation of

IDescribeTaskQueueRequest.taskQueue


taskQueueType

taskQueueType: TaskQueueType

Deprecated. Use ENHANCED mode with task_queue_types. Ignored in ENHANCED mode. If unspecified (TASK_QUEUE_TYPE_UNSPECIFIED), then default value (TASK_QUEUE_TYPE_WORKFLOW) will be used.

Implementation of

IDescribeTaskQueueRequest.taskQueueType


taskQueueTypes

taskQueueTypes: TaskQueueType[]

Task queue types to report info about. If not specified, all types are considered.

Implementation of

IDescribeTaskQueueRequest.taskQueueTypes


versions

Optional versions: null | ITaskQueueVersionSelection

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 --)

Implementation of

IDescribeTaskQueueRequest.versions

Methods

toJSON

toJSON(): Object

Converts this DescribeTaskQueueRequest to JSON.

Returns

Object

JSON object


create

create(properties?): DescribeTaskQueueRequest

Creates a new DescribeTaskQueueRequest instance using the specified properties.

Parameters

NameTypeDescription
properties?IDescribeTaskQueueRequestProperties to set

Returns

DescribeTaskQueueRequest

DescribeTaskQueueRequest instance


decode

decode(reader, length?): DescribeTaskQueueRequest

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

DescribeTaskQueueRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): DescribeTaskQueueRequest

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

DescribeTaskQueueRequest

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
messageIDescribeTaskQueueRequestDescribeTaskQueueRequest 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
messageIDescribeTaskQueueRequestDescribeTaskQueueRequest 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


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for DescribeTaskQueueRequest

Parameters

NameTypeDescription
typeUrlPrefix?stringyour custom typeUrlPrefix(default "type.googleapis.com")

Returns

string

The default type url


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