Class: UnpauseWorkflowExecutionRequest
workflowservice.v1.UnpauseWorkflowExecutionRequest
Represents an UnpauseWorkflowExecutionRequest.
Implements
Constructors
constructor
• new UnpauseWorkflowExecutionRequest(properties?): UnpauseWorkflowExecutionRequest
Constructs a new UnpauseWorkflowExecutionRequest.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IUnpauseWorkflowExecutionRequest | Properties to set |
Returns
UnpauseWorkflowExecutionRequest
Properties
identity
• identity: string
The identity of the client who initiated this request.
Implementation of
IUnpauseWorkflowExecutionRequest.identity
namespace
• namespace: string
Namespace of the workflow to unpause.
Implementation of
IUnpauseWorkflowExecutionRequest.namespace
reason
• reason: string
Reason to unpause the workflow execution.
Implementation of
IUnpauseWorkflowExecutionRequest.reason
requestId
• requestId: string
A unique identifier for this unpause request for idempotence. Typically UUIDv4.
Implementation of
IUnpauseWorkflowExecutionRequest.requestId
runId
• runId: string
Run ID of the workflow execution to be paused. Optional. If not provided, the current run of the workflow will be paused.
Implementation of
IUnpauseWorkflowExecutionRequest.runId
workflowId
• workflowId: string
ID of the workflow execution to be paused. Required.
Implementation of
IUnpauseWorkflowExecutionRequest.workflowId
Methods
toJSON
▸ toJSON(): Object
Converts this UnpauseWorkflowExecutionRequest to JSON.
Returns
Object
JSON object
create
▸ create(properties?): UnpauseWorkflowExecutionRequest
Creates a new UnpauseWorkflowExecutionRequest instance using the specified properties.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IUnpauseWorkflowExecutionRequest | Properties to set |
Returns
UnpauseWorkflowExecutionRequest
UnpauseWorkflowExecutionRequest instance
decode
▸ decode(reader, length?): UnpauseWorkflowExecutionRequest
Decodes an UnpauseWorkflowExecutionRequest 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
UnpauseWorkflowExecutionRequest
UnpauseWorkflowExecutionRequest
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited
▸ decodeDelimited(reader): UnpauseWorkflowExecutionRequest
Decodes an UnpauseWorkflowExecutionRequest message from the specified reader or buffer, length delimited.
Parameters
| Name | Type | Description |
|---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
Returns
UnpauseWorkflowExecutionRequest
UnpauseWorkflowExecutionRequest
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 UnpauseWorkflowExecutionRequest message. Does not implicitly temporal.api.workflowservice.v1.UnpauseWorkflowExecutionRequest.verify|verify messages.
Parameters
| Name | Type | Description |
|---|---|---|
message | IUnpauseWorkflowExecutionRequest | UnpauseWorkflowExecutionRequest message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
encodeDelimited
▸ encodeDelimited(message, writer?): Writer
Encodes the specified UnpauseWorkflowExecutionRequest message, length delimited. Does not implicitly temporal.api.workflowservice.v1.UnpauseWorkflowExecutionRequest.verify|verify messages.
Parameters
| Name | Type | Description |
|---|---|---|
message | IUnpauseWorkflowExecutionRequest | UnpauseWorkflowExecutionRequest message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
fromObject
▸ fromObject(object): UnpauseWorkflowExecutionRequest
Creates an UnpauseWorkflowExecutionRequest message from a plain object. Also converts values to their respective internal types.
Parameters
| Name | Type | Description |
|---|---|---|
object | Object | Plain object |
Returns
UnpauseWorkflowExecutionRequest
UnpauseWorkflowExecutionRequest
getTypeUrl
▸ getTypeUrl(typeUrlPrefix?): string
Gets the default type url for UnpauseWorkflowExecutionRequest
Parameters
| Name | Type | Description |
|---|---|---|
typeUrlPrefix? | string | your custom typeUrlPrefix(default "type.googleapis.com") |
Returns
string
The default type url
toObject
▸ toObject(message, options?): Object
Creates a plain object from an UnpauseWorkflowExecutionRequest message. Also converts values to other types if specified.
Parameters
| Name | Type | Description |
|---|---|---|
message | UnpauseWorkflowExecutionRequest | UnpauseWorkflowExecutionRequest |
options? | IConversionOptions | Conversion options |
Returns
Object
Plain object