Class: UpdateWorkflowExecutionRequest
workflowservice.v1.UpdateWorkflowExecutionRequest
(-- api-linter: core::0134=disabled aip.dev/not-precedent: Update RPCs don't follow Google API format. --)
Properties
firstExecutionRunId
• firstExecutionRunId: string
If set, this call will error if the most recent (if no Run Id is set on
workflow_execution), or specified (if it is) Workflow Execution is not
part of the same execution chain as this Id.
namespace
• namespace: string
The namespace name of the target Workflow.
request
• Optional request: null | $Properties
The request information that will be delivered all the way down to the Workflow Execution.
waitPolicy
• Optional waitPolicy: null | $Properties
Specifies client's intent to wait for Update results. NOTE: This field works together with API call timeout which is limited by server timeout (maximum wait time). If server timeout is expired before user specified timeout, API call returns even if specified stage is not reached. Actual reached stage will be included in the response.
workflowExecution
• Optional workflowExecution: null | $Properties
The target Workflow Id and (optionally) a specific Run Id thereof. (-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: false positive triggered by the word "optional" --)
Methods
toJSON
▸ toJSON(): Object
Converts this UpdateWorkflowExecutionRequest to JSON.
Returns
Object
JSON object
create
▸ create(properties?): UpdateWorkflowExecutionRequest & $Shape
Creates a new UpdateWorkflowExecutionRequest instance using the specified properties.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | $Shape | Properties to set |
Returns
UpdateWorkflowExecutionRequest & $Shape
UpdateWorkflowExecutionRequest instance
▸ create(properties?): UpdateWorkflowExecutionRequest
Parameters
| Name | Type |
|---|---|
properties? | $Properties |
Returns
UpdateWorkflowExecutionRequest
decode
▸ decode(reader, length?): UpdateWorkflowExecutionRequest & $Shape
Decodes an UpdateWorkflowExecutionRequest 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
UpdateWorkflowExecutionRequest & $Shape
UpdateWorkflowExecutionRequest
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited
▸ decodeDelimited(reader): UpdateWorkflowExecutionRequest & $Shape
Decodes an UpdateWorkflowExecutionRequest message from the specified reader or buffer, length delimited.
Parameters
| Name | Type | Description |
|---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
Returns
UpdateWorkflowExecutionRequest & $Shape
UpdateWorkflowExecutionRequest
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 UpdateWorkflowExecutionRequest message. Does not implicitly temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest.verify|verify messages.
Parameters
| Name | Type | Description |
|---|---|---|
message | $Properties | UpdateWorkflowExecutionRequest message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
encodeDelimited
▸ encodeDelimited(message, writer?): Writer
Encodes the specified UpdateWorkflowExecutionRequest message, length delimited. Does not implicitly temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest.verify|verify messages.
Parameters
| Name | Type | Description |
|---|---|---|
message | $Properties | UpdateWorkflowExecutionRequest message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
fromObject
▸ fromObject(object): UpdateWorkflowExecutionRequest
Creates an UpdateWorkflowExecutionRequest message from a plain object. Also converts values to their respective internal types.
Parameters
| Name | Type | Description |
|---|---|---|
object | Object | Plain object |
Returns
UpdateWorkflowExecutionRequest
UpdateWorkflowExecutionRequest
toObject
▸ toObject(message, options?): Object
Creates a plain object from an UpdateWorkflowExecutionRequest message. Also converts values to other types if specified.
Parameters
| Name | Type | Description |
|---|---|---|
message | UpdateWorkflowExecutionRequest | UpdateWorkflowExecutionRequest |
options? | IConversionOptions | Conversion options |
Returns
Object
Plain object