Class: 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?
optionaltaskQueue?:$Properties|null
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?
optionalversions?:$Properties|null
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()
Call Signature
staticcreate(properties?):DescribeTaskQueueRequest&$Properties
Creates a new DescribeTaskQueueRequest instance using the specified properties.
Parameters
properties?
Properties to set
Returns
DescribeTaskQueueRequest & $Properties
DescribeTaskQueueRequest instance
Call Signature
staticcreate(properties?):DescribeTaskQueueRequest
Creates a new DescribeTaskQueueRequest instance using the specified properties.
Parameters
properties?
Properties to set
Returns
DescribeTaskQueueRequest
DescribeTaskQueueRequest instance
decode()
staticdecode(reader,length?):DescribeTaskQueueRequest&$Properties
Decodes a DescribeTaskQueueRequest message from the specified reader or buffer.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
length?
number
Message 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()
staticdecodeDelimited(reader):DescribeTaskQueueRequest&$Properties
Decodes a DescribeTaskQueueRequest message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader 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()
staticencode(message,writer?):Writer
Encodes the specified DescribeTaskQueueRequest message. Does not implicitly temporal.api.workflowservice.v1.DescribeTaskQueueRequest.verify|verify messages.
Parameters
message
DescribeTaskQueueRequest message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified DescribeTaskQueueRequest message, length delimited. Does not implicitly temporal.api.workflowservice.v1.DescribeTaskQueueRequest.verify|verify messages.
Parameters
message
DescribeTaskQueueRequest message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):DescribeTaskQueueRequest
Creates a DescribeTaskQueueRequest message from a plain object. Also converts values to their respective internal types.
Parameters
object
{[k: string]: any; }
Plain object
Returns
DescribeTaskQueueRequest
DescribeTaskQueueRequest
toObject()
statictoObject(message,options?):object
Creates a plain object from a DescribeTaskQueueRequest message. Also converts values to other types if specified.
Parameters
message
DescribeTaskQueueRequest
DescribeTaskQueueRequest
options?
IConversionOptions
Conversion options
Returns
object
Plain object