Skip to main content

Class: DescribeTaskQueueResponse

workflowservice.v1.DescribeTaskQueueResponse

Represents a DescribeTaskQueueResponse.

Implements

Constructors

constructor

new DescribeTaskQueueResponse(properties?): DescribeTaskQueueResponse

Constructs a new DescribeTaskQueueResponse.

Parameters

NameTypeDescription
properties?IDescribeTaskQueueResponseProperties to set

Returns

DescribeTaskQueueResponse

Properties

config

Optional config: null | ITaskQueueConfig

Only populated if report_task_queue_config is set to true.

Implementation of

IDescribeTaskQueueResponse.config


effectiveRateLimit

Optional effectiveRateLimit: null | IEffectiveRateLimit

DescribeTaskQueueResponse effectiveRateLimit.

Implementation of

IDescribeTaskQueueResponse.effectiveRateLimit


pollers

pollers: IPollerInfo[]

DescribeTaskQueueResponse pollers.

Implementation of

IDescribeTaskQueueResponse.pollers


stats

Optional stats: null | ITaskQueueStats

Statistics for the task queue. Only set if report_stats is set on the request.

Implementation of

IDescribeTaskQueueResponse.stats


statsByPriorityKey

statsByPriorityKey: Object

Task queue stats breakdown by priority key. Only contains actively used priority keys. Only set if report_stats is set on the request. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "by" is used to clarify the keys and values. --)

Index signature

▪ [k: string]: ITaskQueueStats

Implementation of

IDescribeTaskQueueResponse.statsByPriorityKey


taskQueueStatus

Optional taskQueueStatus: null | ITaskQueueStatus

Deprecated. Status of the task queue. Only populated when include_task_queue_status is set to true in the request.

Implementation of

IDescribeTaskQueueResponse.taskQueueStatus


versioningInfo

Optional versioningInfo: null | ITaskQueueVersioningInfo

Specifies which Worker Deployment Version(s) Server routes this Task Queue's tasks to. When not present, it means the tasks are routed to Unversioned workers (workers with UNVERSIONED or unspecified WorkerVersioningMode.) Task Queue Versioning info is updated indirectly by calling SetWorkerDeploymentCurrentVersion and SetWorkerDeploymentRampingVersion on Worker Deployments. Note: This information is not relevant to Pinned workflow executions and their activities as they are always routed to their Pinned Deployment Version. However, new workflow executions are typically not Pinned until they complete their first task (unless they are started with a Pinned VersioningOverride or are Child Workflows of a Pinned parent).

Implementation of

IDescribeTaskQueueResponse.versioningInfo


versionsInfo

versionsInfo: Object

Deprecated. Only returned in ENHANCED mode. This map contains Task Queue information for each Build ID. Empty string as key value means unversioned.

Index signature

▪ [k: string]: ITaskQueueVersionInfo

Implementation of

IDescribeTaskQueueResponse.versionsInfo

Methods

toJSON

toJSON(): Object

Converts this DescribeTaskQueueResponse to JSON.

Returns

Object

JSON object


create

create(properties?): DescribeTaskQueueResponse

Creates a new DescribeTaskQueueResponse instance using the specified properties.

Parameters

NameTypeDescription
properties?IDescribeTaskQueueResponseProperties to set

Returns

DescribeTaskQueueResponse

DescribeTaskQueueResponse instance


decode

decode(reader, length?): DescribeTaskQueueResponse

Decodes a DescribeTaskQueueResponse message from the specified reader or buffer.

Parameters

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

Returns

DescribeTaskQueueResponse

DescribeTaskQueueResponse

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): DescribeTaskQueueResponse

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

DescribeTaskQueueResponse

DescribeTaskQueueResponse

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 DescribeTaskQueueResponse message. Does not implicitly temporal.api.workflowservice.v1.DescribeTaskQueueResponse.verify|verify messages.

Parameters

NameTypeDescription
messageIDescribeTaskQueueResponseDescribeTaskQueueResponse message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

NameTypeDescription
messageIDescribeTaskQueueResponseDescribeTaskQueueResponse message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

fromObject(object): DescribeTaskQueueResponse

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

DescribeTaskQueueResponse

DescribeTaskQueueResponse


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for DescribeTaskQueueResponse

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 DescribeTaskQueueResponse message. Also converts values to other types if specified.

Parameters

NameTypeDescription
messageDescribeTaskQueueResponseDescribeTaskQueueResponse
options?IConversionOptionsConversion options

Returns

Object

Plain object