temporalio 0.2.0-x86_64-darwin → 0.3.0-x86_64-darwin
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +2 -0
- data/Gemfile +3 -3
- data/Rakefile +10 -296
- data/lib/temporalio/activity/complete_async_error.rb +1 -1
- data/lib/temporalio/activity/context.rb +5 -2
- data/lib/temporalio/activity/definition.rb +163 -65
- data/lib/temporalio/activity/info.rb +22 -21
- data/lib/temporalio/activity.rb +2 -59
- data/lib/temporalio/api/activity/v1/message.rb +25 -0
- data/lib/temporalio/api/cloud/account/v1/message.rb +28 -0
- data/lib/temporalio/api/cloud/cloudservice/v1/request_response.rb +34 -1
- data/lib/temporalio/api/cloud/cloudservice/v1/service.rb +1 -1
- data/lib/temporalio/api/cloud/identity/v1/message.rb +6 -1
- data/lib/temporalio/api/cloud/namespace/v1/message.rb +8 -1
- data/lib/temporalio/api/cloud/nexus/v1/message.rb +31 -0
- data/lib/temporalio/api/cloud/operation/v1/message.rb +2 -1
- data/lib/temporalio/api/cloud/region/v1/message.rb +2 -1
- data/lib/temporalio/api/cloud/resource/v1/message.rb +23 -0
- data/lib/temporalio/api/cloud/sink/v1/message.rb +24 -0
- data/lib/temporalio/api/cloud/usage/v1/message.rb +31 -0
- data/lib/temporalio/api/common/v1/message.rb +7 -1
- data/lib/temporalio/api/enums/v1/event_type.rb +1 -1
- data/lib/temporalio/api/enums/v1/failed_cause.rb +1 -1
- data/lib/temporalio/api/enums/v1/reset.rb +1 -1
- data/lib/temporalio/api/history/v1/message.rb +1 -1
- data/lib/temporalio/api/nexus/v1/message.rb +2 -2
- data/lib/temporalio/api/operatorservice/v1/service.rb +1 -1
- data/lib/temporalio/api/payload_visitor.rb +1513 -0
- data/lib/temporalio/api/schedule/v1/message.rb +2 -1
- data/lib/temporalio/api/testservice/v1/request_response.rb +31 -0
- data/lib/temporalio/api/testservice/v1/service.rb +23 -0
- data/lib/temporalio/api/workflow/v1/message.rb +1 -1
- data/lib/temporalio/api/workflowservice/v1/request_response.rb +17 -2
- data/lib/temporalio/api/workflowservice/v1/service.rb +1 -1
- data/lib/temporalio/api.rb +1 -0
- data/lib/temporalio/cancellation.rb +34 -14
- data/lib/temporalio/client/async_activity_handle.rb +12 -37
- data/lib/temporalio/client/connection/cloud_service.rb +309 -231
- data/lib/temporalio/client/connection/operator_service.rb +36 -84
- data/lib/temporalio/client/connection/service.rb +6 -5
- data/lib/temporalio/client/connection/test_service.rb +111 -0
- data/lib/temporalio/client/connection/workflow_service.rb +264 -441
- data/lib/temporalio/client/connection.rb +90 -44
- data/lib/temporalio/client/interceptor.rb +160 -60
- data/lib/temporalio/client/schedule.rb +967 -0
- data/lib/temporalio/client/schedule_handle.rb +126 -0
- data/lib/temporalio/client/workflow_execution.rb +7 -10
- data/lib/temporalio/client/workflow_handle.rb +38 -95
- data/lib/temporalio/client/workflow_update_handle.rb +3 -5
- data/lib/temporalio/client.rb +122 -42
- data/lib/temporalio/common_enums.rb +17 -0
- data/lib/temporalio/converters/data_converter.rb +4 -7
- data/lib/temporalio/converters/failure_converter.rb +5 -3
- data/lib/temporalio/converters/payload_converter/composite.rb +4 -0
- data/lib/temporalio/converters/payload_converter.rb +6 -8
- data/lib/temporalio/converters/raw_value.rb +20 -0
- data/lib/temporalio/error/failure.rb +1 -1
- data/lib/temporalio/error.rb +10 -2
- data/lib/temporalio/internal/bridge/3.2/temporalio_bridge.bundle +0 -0
- data/lib/temporalio/internal/bridge/3.3/temporalio_bridge.bundle +0 -0
- data/lib/temporalio/internal/bridge/{3.1 → 3.4}/temporalio_bridge.bundle +0 -0
- data/lib/temporalio/internal/bridge/api/core_interface.rb +5 -1
- data/lib/temporalio/internal/bridge/api/nexus/nexus.rb +33 -0
- data/lib/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rb +5 -1
- data/lib/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rb +4 -1
- data/lib/temporalio/internal/bridge/client.rb +11 -6
- data/lib/temporalio/internal/bridge/testing.rb +20 -0
- data/lib/temporalio/internal/bridge/worker.rb +2 -0
- data/lib/temporalio/internal/bridge.rb +1 -1
- data/lib/temporalio/internal/client/implementation.rb +245 -70
- data/lib/temporalio/internal/metric.rb +122 -0
- data/lib/temporalio/internal/proto_utils.rb +86 -7
- data/lib/temporalio/internal/worker/activity_worker.rb +52 -24
- data/lib/temporalio/internal/worker/multi_runner.rb +51 -7
- data/lib/temporalio/internal/worker/workflow_instance/child_workflow_handle.rb +54 -0
- data/lib/temporalio/internal/worker/workflow_instance/context.rb +329 -0
- data/lib/temporalio/internal/worker/workflow_instance/details.rb +44 -0
- data/lib/temporalio/internal/worker/workflow_instance/external_workflow_handle.rb +32 -0
- data/lib/temporalio/internal/worker/workflow_instance/externally_immutable_hash.rb +22 -0
- data/lib/temporalio/internal/worker/workflow_instance/handler_execution.rb +25 -0
- data/lib/temporalio/internal/worker/workflow_instance/handler_hash.rb +41 -0
- data/lib/temporalio/internal/worker/workflow_instance/illegal_call_tracer.rb +97 -0
- data/lib/temporalio/internal/worker/workflow_instance/inbound_implementation.rb +62 -0
- data/lib/temporalio/internal/worker/workflow_instance/outbound_implementation.rb +415 -0
- data/lib/temporalio/internal/worker/workflow_instance/replay_safe_logger.rb +37 -0
- data/lib/temporalio/internal/worker/workflow_instance/replay_safe_metric.rb +40 -0
- data/lib/temporalio/internal/worker/workflow_instance/scheduler.rb +163 -0
- data/lib/temporalio/internal/worker/workflow_instance.rb +730 -0
- data/lib/temporalio/internal/worker/workflow_worker.rb +196 -0
- data/lib/temporalio/metric.rb +109 -0
- data/lib/temporalio/retry_policy.rb +37 -14
- data/lib/temporalio/runtime.rb +118 -75
- data/lib/temporalio/search_attributes.rb +80 -37
- data/lib/temporalio/testing/activity_environment.rb +2 -2
- data/lib/temporalio/testing/workflow_environment.rb +251 -5
- data/lib/temporalio/version.rb +1 -1
- data/lib/temporalio/worker/activity_executor/thread_pool.rb +9 -217
- data/lib/temporalio/worker/activity_executor.rb +3 -3
- data/lib/temporalio/worker/interceptor.rb +340 -66
- data/lib/temporalio/worker/thread_pool.rb +237 -0
- data/lib/temporalio/worker/workflow_executor/thread_pool.rb +230 -0
- data/lib/temporalio/worker/workflow_executor.rb +26 -0
- data/lib/temporalio/worker.rb +201 -30
- data/lib/temporalio/workflow/activity_cancellation_type.rb +20 -0
- data/lib/temporalio/workflow/child_workflow_cancellation_type.rb +21 -0
- data/lib/temporalio/workflow/child_workflow_handle.rb +43 -0
- data/lib/temporalio/workflow/definition.rb +566 -0
- data/lib/temporalio/workflow/external_workflow_handle.rb +41 -0
- data/lib/temporalio/workflow/future.rb +151 -0
- data/lib/temporalio/workflow/handler_unfinished_policy.rb +13 -0
- data/lib/temporalio/workflow/info.rb +82 -0
- data/lib/temporalio/workflow/parent_close_policy.rb +19 -0
- data/lib/temporalio/workflow/update_info.rb +20 -0
- data/lib/temporalio/workflow.rb +523 -0
- data/lib/temporalio.rb +4 -0
- data/temporalio.gemspec +2 -2
- metadata +52 -6
@@ -19,1197 +19,1020 @@ module Temporalio
|
|
19
19
|
# Calls WorkflowService.RegisterNamespace API call.
|
20
20
|
#
|
21
21
|
# @param request [Temporalio::Api::WorkflowService::V1::RegisterNamespaceRequest] API request.
|
22
|
-
# @param
|
23
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
24
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
22
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
25
23
|
# @return [Temporalio::Api::WorkflowService::V1::RegisterNamespaceResponse] API response.
|
26
|
-
def register_namespace(request,
|
24
|
+
def register_namespace(request, rpc_options: nil)
|
27
25
|
invoke_rpc(
|
28
26
|
rpc: 'register_namespace',
|
29
27
|
request_class: Temporalio::Api::WorkflowService::V1::RegisterNamespaceRequest,
|
30
28
|
response_class: Temporalio::Api::WorkflowService::V1::RegisterNamespaceResponse,
|
31
29
|
request:,
|
32
|
-
|
33
|
-
rpc_metadata:,
|
34
|
-
rpc_timeout:
|
30
|
+
rpc_options:
|
35
31
|
)
|
36
32
|
end
|
37
33
|
|
38
34
|
# Calls WorkflowService.DescribeNamespace API call.
|
39
35
|
#
|
40
36
|
# @param request [Temporalio::Api::WorkflowService::V1::DescribeNamespaceRequest] API request.
|
41
|
-
# @param
|
42
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
43
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
37
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
44
38
|
# @return [Temporalio::Api::WorkflowService::V1::DescribeNamespaceResponse] API response.
|
45
|
-
def describe_namespace(request,
|
39
|
+
def describe_namespace(request, rpc_options: nil)
|
46
40
|
invoke_rpc(
|
47
41
|
rpc: 'describe_namespace',
|
48
42
|
request_class: Temporalio::Api::WorkflowService::V1::DescribeNamespaceRequest,
|
49
43
|
response_class: Temporalio::Api::WorkflowService::V1::DescribeNamespaceResponse,
|
50
44
|
request:,
|
51
|
-
|
52
|
-
rpc_metadata:,
|
53
|
-
rpc_timeout:
|
45
|
+
rpc_options:
|
54
46
|
)
|
55
47
|
end
|
56
48
|
|
57
49
|
# Calls WorkflowService.ListNamespaces API call.
|
58
50
|
#
|
59
51
|
# @param request [Temporalio::Api::WorkflowService::V1::ListNamespacesRequest] API request.
|
60
|
-
# @param
|
61
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
62
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
52
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
63
53
|
# @return [Temporalio::Api::WorkflowService::V1::ListNamespacesResponse] API response.
|
64
|
-
def list_namespaces(request,
|
54
|
+
def list_namespaces(request, rpc_options: nil)
|
65
55
|
invoke_rpc(
|
66
56
|
rpc: 'list_namespaces',
|
67
57
|
request_class: Temporalio::Api::WorkflowService::V1::ListNamespacesRequest,
|
68
58
|
response_class: Temporalio::Api::WorkflowService::V1::ListNamespacesResponse,
|
69
59
|
request:,
|
70
|
-
|
71
|
-
rpc_metadata:,
|
72
|
-
rpc_timeout:
|
60
|
+
rpc_options:
|
73
61
|
)
|
74
62
|
end
|
75
63
|
|
76
64
|
# Calls WorkflowService.UpdateNamespace API call.
|
77
65
|
#
|
78
66
|
# @param request [Temporalio::Api::WorkflowService::V1::UpdateNamespaceRequest] API request.
|
79
|
-
# @param
|
80
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
81
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
67
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
82
68
|
# @return [Temporalio::Api::WorkflowService::V1::UpdateNamespaceResponse] API response.
|
83
|
-
def update_namespace(request,
|
69
|
+
def update_namespace(request, rpc_options: nil)
|
84
70
|
invoke_rpc(
|
85
71
|
rpc: 'update_namespace',
|
86
72
|
request_class: Temporalio::Api::WorkflowService::V1::UpdateNamespaceRequest,
|
87
73
|
response_class: Temporalio::Api::WorkflowService::V1::UpdateNamespaceResponse,
|
88
74
|
request:,
|
89
|
-
|
90
|
-
rpc_metadata:,
|
91
|
-
rpc_timeout:
|
75
|
+
rpc_options:
|
92
76
|
)
|
93
77
|
end
|
94
78
|
|
95
79
|
# Calls WorkflowService.DeprecateNamespace API call.
|
96
80
|
#
|
97
81
|
# @param request [Temporalio::Api::WorkflowService::V1::DeprecateNamespaceRequest] API request.
|
98
|
-
# @param
|
99
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
100
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
82
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
101
83
|
# @return [Temporalio::Api::WorkflowService::V1::DeprecateNamespaceResponse] API response.
|
102
|
-
def deprecate_namespace(request,
|
84
|
+
def deprecate_namespace(request, rpc_options: nil)
|
103
85
|
invoke_rpc(
|
104
86
|
rpc: 'deprecate_namespace',
|
105
87
|
request_class: Temporalio::Api::WorkflowService::V1::DeprecateNamespaceRequest,
|
106
88
|
response_class: Temporalio::Api::WorkflowService::V1::DeprecateNamespaceResponse,
|
107
89
|
request:,
|
108
|
-
|
109
|
-
rpc_metadata:,
|
110
|
-
rpc_timeout:
|
90
|
+
rpc_options:
|
111
91
|
)
|
112
92
|
end
|
113
93
|
|
114
94
|
# Calls WorkflowService.StartWorkflowExecution API call.
|
115
95
|
#
|
116
96
|
# @param request [Temporalio::Api::WorkflowService::V1::StartWorkflowExecutionRequest] API request.
|
117
|
-
# @param
|
118
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
119
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
97
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
120
98
|
# @return [Temporalio::Api::WorkflowService::V1::StartWorkflowExecutionResponse] API response.
|
121
|
-
def start_workflow_execution(request,
|
99
|
+
def start_workflow_execution(request, rpc_options: nil)
|
122
100
|
invoke_rpc(
|
123
101
|
rpc: 'start_workflow_execution',
|
124
102
|
request_class: Temporalio::Api::WorkflowService::V1::StartWorkflowExecutionRequest,
|
125
103
|
response_class: Temporalio::Api::WorkflowService::V1::StartWorkflowExecutionResponse,
|
126
104
|
request:,
|
127
|
-
|
128
|
-
rpc_metadata:,
|
129
|
-
rpc_timeout:
|
105
|
+
rpc_options:
|
130
106
|
)
|
131
107
|
end
|
132
108
|
|
133
109
|
# Calls WorkflowService.ExecuteMultiOperation API call.
|
134
110
|
#
|
135
111
|
# @param request [Temporalio::Api::WorkflowService::V1::ExecuteMultiOperationRequest] API request.
|
136
|
-
# @param
|
137
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
138
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
112
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
139
113
|
# @return [Temporalio::Api::WorkflowService::V1::ExecuteMultiOperationResponse] API response.
|
140
|
-
def execute_multi_operation(request,
|
114
|
+
def execute_multi_operation(request, rpc_options: nil)
|
141
115
|
invoke_rpc(
|
142
116
|
rpc: 'execute_multi_operation',
|
143
117
|
request_class: Temporalio::Api::WorkflowService::V1::ExecuteMultiOperationRequest,
|
144
118
|
response_class: Temporalio::Api::WorkflowService::V1::ExecuteMultiOperationResponse,
|
145
119
|
request:,
|
146
|
-
|
147
|
-
rpc_metadata:,
|
148
|
-
rpc_timeout:
|
120
|
+
rpc_options:
|
149
121
|
)
|
150
122
|
end
|
151
123
|
|
152
124
|
# Calls WorkflowService.GetWorkflowExecutionHistory API call.
|
153
125
|
#
|
154
126
|
# @param request [Temporalio::Api::WorkflowService::V1::GetWorkflowExecutionHistoryRequest] API request.
|
155
|
-
# @param
|
156
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
157
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
127
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
158
128
|
# @return [Temporalio::Api::WorkflowService::V1::GetWorkflowExecutionHistoryResponse] API response.
|
159
|
-
def get_workflow_execution_history(request,
|
129
|
+
def get_workflow_execution_history(request, rpc_options: nil)
|
160
130
|
invoke_rpc(
|
161
131
|
rpc: 'get_workflow_execution_history',
|
162
132
|
request_class: Temporalio::Api::WorkflowService::V1::GetWorkflowExecutionHistoryRequest,
|
163
133
|
response_class: Temporalio::Api::WorkflowService::V1::GetWorkflowExecutionHistoryResponse,
|
164
134
|
request:,
|
165
|
-
|
166
|
-
rpc_metadata:,
|
167
|
-
rpc_timeout:
|
135
|
+
rpc_options:
|
168
136
|
)
|
169
137
|
end
|
170
138
|
|
171
139
|
# Calls WorkflowService.GetWorkflowExecutionHistoryReverse API call.
|
172
140
|
#
|
173
141
|
# @param request [Temporalio::Api::WorkflowService::V1::GetWorkflowExecutionHistoryReverseRequest] API request.
|
174
|
-
# @param
|
175
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
176
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
142
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
177
143
|
# @return [Temporalio::Api::WorkflowService::V1::GetWorkflowExecutionHistoryReverseResponse] API response.
|
178
|
-
def get_workflow_execution_history_reverse(request,
|
144
|
+
def get_workflow_execution_history_reverse(request, rpc_options: nil)
|
179
145
|
invoke_rpc(
|
180
146
|
rpc: 'get_workflow_execution_history_reverse',
|
181
147
|
request_class: Temporalio::Api::WorkflowService::V1::GetWorkflowExecutionHistoryReverseRequest,
|
182
148
|
response_class: Temporalio::Api::WorkflowService::V1::GetWorkflowExecutionHistoryReverseResponse,
|
183
149
|
request:,
|
184
|
-
|
185
|
-
rpc_metadata:,
|
186
|
-
rpc_timeout:
|
150
|
+
rpc_options:
|
187
151
|
)
|
188
152
|
end
|
189
153
|
|
190
154
|
# Calls WorkflowService.PollWorkflowTaskQueue API call.
|
191
155
|
#
|
192
156
|
# @param request [Temporalio::Api::WorkflowService::V1::PollWorkflowTaskQueueRequest] API request.
|
193
|
-
# @param
|
194
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
195
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
157
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
196
158
|
# @return [Temporalio::Api::WorkflowService::V1::PollWorkflowTaskQueueResponse] API response.
|
197
|
-
def poll_workflow_task_queue(request,
|
159
|
+
def poll_workflow_task_queue(request, rpc_options: nil)
|
198
160
|
invoke_rpc(
|
199
161
|
rpc: 'poll_workflow_task_queue',
|
200
162
|
request_class: Temporalio::Api::WorkflowService::V1::PollWorkflowTaskQueueRequest,
|
201
163
|
response_class: Temporalio::Api::WorkflowService::V1::PollWorkflowTaskQueueResponse,
|
202
164
|
request:,
|
203
|
-
|
204
|
-
rpc_metadata:,
|
205
|
-
rpc_timeout:
|
165
|
+
rpc_options:
|
206
166
|
)
|
207
167
|
end
|
208
168
|
|
209
169
|
# Calls WorkflowService.RespondWorkflowTaskCompleted API call.
|
210
170
|
#
|
211
171
|
# @param request [Temporalio::Api::WorkflowService::V1::RespondWorkflowTaskCompletedRequest] API request.
|
212
|
-
# @param
|
213
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
214
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
172
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
215
173
|
# @return [Temporalio::Api::WorkflowService::V1::RespondWorkflowTaskCompletedResponse] API response.
|
216
|
-
def respond_workflow_task_completed(request,
|
174
|
+
def respond_workflow_task_completed(request, rpc_options: nil)
|
217
175
|
invoke_rpc(
|
218
176
|
rpc: 'respond_workflow_task_completed',
|
219
177
|
request_class: Temporalio::Api::WorkflowService::V1::RespondWorkflowTaskCompletedRequest,
|
220
178
|
response_class: Temporalio::Api::WorkflowService::V1::RespondWorkflowTaskCompletedResponse,
|
221
179
|
request:,
|
222
|
-
|
223
|
-
rpc_metadata:,
|
224
|
-
rpc_timeout:
|
180
|
+
rpc_options:
|
225
181
|
)
|
226
182
|
end
|
227
183
|
|
228
184
|
# Calls WorkflowService.RespondWorkflowTaskFailed API call.
|
229
185
|
#
|
230
186
|
# @param request [Temporalio::Api::WorkflowService::V1::RespondWorkflowTaskFailedRequest] API request.
|
231
|
-
# @param
|
232
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
233
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
187
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
234
188
|
# @return [Temporalio::Api::WorkflowService::V1::RespondWorkflowTaskFailedResponse] API response.
|
235
|
-
def respond_workflow_task_failed(request,
|
189
|
+
def respond_workflow_task_failed(request, rpc_options: nil)
|
236
190
|
invoke_rpc(
|
237
191
|
rpc: 'respond_workflow_task_failed',
|
238
192
|
request_class: Temporalio::Api::WorkflowService::V1::RespondWorkflowTaskFailedRequest,
|
239
193
|
response_class: Temporalio::Api::WorkflowService::V1::RespondWorkflowTaskFailedResponse,
|
240
194
|
request:,
|
241
|
-
|
242
|
-
rpc_metadata:,
|
243
|
-
rpc_timeout:
|
195
|
+
rpc_options:
|
244
196
|
)
|
245
197
|
end
|
246
198
|
|
247
199
|
# Calls WorkflowService.PollActivityTaskQueue API call.
|
248
200
|
#
|
249
201
|
# @param request [Temporalio::Api::WorkflowService::V1::PollActivityTaskQueueRequest] API request.
|
250
|
-
# @param
|
251
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
252
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
202
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
253
203
|
# @return [Temporalio::Api::WorkflowService::V1::PollActivityTaskQueueResponse] API response.
|
254
|
-
def poll_activity_task_queue(request,
|
204
|
+
def poll_activity_task_queue(request, rpc_options: nil)
|
255
205
|
invoke_rpc(
|
256
206
|
rpc: 'poll_activity_task_queue',
|
257
207
|
request_class: Temporalio::Api::WorkflowService::V1::PollActivityTaskQueueRequest,
|
258
208
|
response_class: Temporalio::Api::WorkflowService::V1::PollActivityTaskQueueResponse,
|
259
209
|
request:,
|
260
|
-
|
261
|
-
rpc_metadata:,
|
262
|
-
rpc_timeout:
|
210
|
+
rpc_options:
|
263
211
|
)
|
264
212
|
end
|
265
213
|
|
266
214
|
# Calls WorkflowService.RecordActivityTaskHeartbeat API call.
|
267
215
|
#
|
268
216
|
# @param request [Temporalio::Api::WorkflowService::V1::RecordActivityTaskHeartbeatRequest] API request.
|
269
|
-
# @param
|
270
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
271
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
217
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
272
218
|
# @return [Temporalio::Api::WorkflowService::V1::RecordActivityTaskHeartbeatResponse] API response.
|
273
|
-
def record_activity_task_heartbeat(request,
|
219
|
+
def record_activity_task_heartbeat(request, rpc_options: nil)
|
274
220
|
invoke_rpc(
|
275
221
|
rpc: 'record_activity_task_heartbeat',
|
276
222
|
request_class: Temporalio::Api::WorkflowService::V1::RecordActivityTaskHeartbeatRequest,
|
277
223
|
response_class: Temporalio::Api::WorkflowService::V1::RecordActivityTaskHeartbeatResponse,
|
278
224
|
request:,
|
279
|
-
|
280
|
-
rpc_metadata:,
|
281
|
-
rpc_timeout:
|
225
|
+
rpc_options:
|
282
226
|
)
|
283
227
|
end
|
284
228
|
|
285
229
|
# Calls WorkflowService.RecordActivityTaskHeartbeatById API call.
|
286
230
|
#
|
287
231
|
# @param request [Temporalio::Api::WorkflowService::V1::RecordActivityTaskHeartbeatByIdRequest] API request.
|
288
|
-
# @param
|
289
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
290
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
232
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
291
233
|
# @return [Temporalio::Api::WorkflowService::V1::RecordActivityTaskHeartbeatByIdResponse] API response.
|
292
|
-
def record_activity_task_heartbeat_by_id(request,
|
234
|
+
def record_activity_task_heartbeat_by_id(request, rpc_options: nil)
|
293
235
|
invoke_rpc(
|
294
236
|
rpc: 'record_activity_task_heartbeat_by_id',
|
295
237
|
request_class: Temporalio::Api::WorkflowService::V1::RecordActivityTaskHeartbeatByIdRequest,
|
296
238
|
response_class: Temporalio::Api::WorkflowService::V1::RecordActivityTaskHeartbeatByIdResponse,
|
297
239
|
request:,
|
298
|
-
|
299
|
-
rpc_metadata:,
|
300
|
-
rpc_timeout:
|
240
|
+
rpc_options:
|
301
241
|
)
|
302
242
|
end
|
303
243
|
|
304
244
|
# Calls WorkflowService.RespondActivityTaskCompleted API call.
|
305
245
|
#
|
306
246
|
# @param request [Temporalio::Api::WorkflowService::V1::RespondActivityTaskCompletedRequest] API request.
|
307
|
-
# @param
|
308
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
309
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
247
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
310
248
|
# @return [Temporalio::Api::WorkflowService::V1::RespondActivityTaskCompletedResponse] API response.
|
311
|
-
def respond_activity_task_completed(request,
|
249
|
+
def respond_activity_task_completed(request, rpc_options: nil)
|
312
250
|
invoke_rpc(
|
313
251
|
rpc: 'respond_activity_task_completed',
|
314
252
|
request_class: Temporalio::Api::WorkflowService::V1::RespondActivityTaskCompletedRequest,
|
315
253
|
response_class: Temporalio::Api::WorkflowService::V1::RespondActivityTaskCompletedResponse,
|
316
254
|
request:,
|
317
|
-
|
318
|
-
rpc_metadata:,
|
319
|
-
rpc_timeout:
|
255
|
+
rpc_options:
|
320
256
|
)
|
321
257
|
end
|
322
258
|
|
323
259
|
# Calls WorkflowService.RespondActivityTaskCompletedById API call.
|
324
260
|
#
|
325
261
|
# @param request [Temporalio::Api::WorkflowService::V1::RespondActivityTaskCompletedByIdRequest] API request.
|
326
|
-
# @param
|
327
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
328
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
262
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
329
263
|
# @return [Temporalio::Api::WorkflowService::V1::RespondActivityTaskCompletedByIdResponse] API response.
|
330
|
-
def respond_activity_task_completed_by_id(request,
|
264
|
+
def respond_activity_task_completed_by_id(request, rpc_options: nil)
|
331
265
|
invoke_rpc(
|
332
266
|
rpc: 'respond_activity_task_completed_by_id',
|
333
267
|
request_class: Temporalio::Api::WorkflowService::V1::RespondActivityTaskCompletedByIdRequest,
|
334
268
|
response_class: Temporalio::Api::WorkflowService::V1::RespondActivityTaskCompletedByIdResponse,
|
335
269
|
request:,
|
336
|
-
|
337
|
-
rpc_metadata:,
|
338
|
-
rpc_timeout:
|
270
|
+
rpc_options:
|
339
271
|
)
|
340
272
|
end
|
341
273
|
|
342
274
|
# Calls WorkflowService.RespondActivityTaskFailed API call.
|
343
275
|
#
|
344
276
|
# @param request [Temporalio::Api::WorkflowService::V1::RespondActivityTaskFailedRequest] API request.
|
345
|
-
# @param
|
346
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
347
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
277
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
348
278
|
# @return [Temporalio::Api::WorkflowService::V1::RespondActivityTaskFailedResponse] API response.
|
349
|
-
def respond_activity_task_failed(request,
|
279
|
+
def respond_activity_task_failed(request, rpc_options: nil)
|
350
280
|
invoke_rpc(
|
351
281
|
rpc: 'respond_activity_task_failed',
|
352
282
|
request_class: Temporalio::Api::WorkflowService::V1::RespondActivityTaskFailedRequest,
|
353
283
|
response_class: Temporalio::Api::WorkflowService::V1::RespondActivityTaskFailedResponse,
|
354
284
|
request:,
|
355
|
-
|
356
|
-
rpc_metadata:,
|
357
|
-
rpc_timeout:
|
285
|
+
rpc_options:
|
358
286
|
)
|
359
287
|
end
|
360
288
|
|
361
289
|
# Calls WorkflowService.RespondActivityTaskFailedById API call.
|
362
290
|
#
|
363
291
|
# @param request [Temporalio::Api::WorkflowService::V1::RespondActivityTaskFailedByIdRequest] API request.
|
364
|
-
# @param
|
365
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
366
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
292
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
367
293
|
# @return [Temporalio::Api::WorkflowService::V1::RespondActivityTaskFailedByIdResponse] API response.
|
368
|
-
def respond_activity_task_failed_by_id(request,
|
294
|
+
def respond_activity_task_failed_by_id(request, rpc_options: nil)
|
369
295
|
invoke_rpc(
|
370
296
|
rpc: 'respond_activity_task_failed_by_id',
|
371
297
|
request_class: Temporalio::Api::WorkflowService::V1::RespondActivityTaskFailedByIdRequest,
|
372
298
|
response_class: Temporalio::Api::WorkflowService::V1::RespondActivityTaskFailedByIdResponse,
|
373
299
|
request:,
|
374
|
-
|
375
|
-
rpc_metadata:,
|
376
|
-
rpc_timeout:
|
300
|
+
rpc_options:
|
377
301
|
)
|
378
302
|
end
|
379
303
|
|
380
304
|
# Calls WorkflowService.RespondActivityTaskCanceled API call.
|
381
305
|
#
|
382
306
|
# @param request [Temporalio::Api::WorkflowService::V1::RespondActivityTaskCanceledRequest] API request.
|
383
|
-
# @param
|
384
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
385
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
307
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
386
308
|
# @return [Temporalio::Api::WorkflowService::V1::RespondActivityTaskCanceledResponse] API response.
|
387
|
-
def respond_activity_task_canceled(request,
|
309
|
+
def respond_activity_task_canceled(request, rpc_options: nil)
|
388
310
|
invoke_rpc(
|
389
311
|
rpc: 'respond_activity_task_canceled',
|
390
312
|
request_class: Temporalio::Api::WorkflowService::V1::RespondActivityTaskCanceledRequest,
|
391
313
|
response_class: Temporalio::Api::WorkflowService::V1::RespondActivityTaskCanceledResponse,
|
392
314
|
request:,
|
393
|
-
|
394
|
-
rpc_metadata:,
|
395
|
-
rpc_timeout:
|
315
|
+
rpc_options:
|
396
316
|
)
|
397
317
|
end
|
398
318
|
|
399
319
|
# Calls WorkflowService.RespondActivityTaskCanceledById API call.
|
400
320
|
#
|
401
321
|
# @param request [Temporalio::Api::WorkflowService::V1::RespondActivityTaskCanceledByIdRequest] API request.
|
402
|
-
# @param
|
403
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
404
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
322
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
405
323
|
# @return [Temporalio::Api::WorkflowService::V1::RespondActivityTaskCanceledByIdResponse] API response.
|
406
|
-
def respond_activity_task_canceled_by_id(request,
|
324
|
+
def respond_activity_task_canceled_by_id(request, rpc_options: nil)
|
407
325
|
invoke_rpc(
|
408
326
|
rpc: 'respond_activity_task_canceled_by_id',
|
409
327
|
request_class: Temporalio::Api::WorkflowService::V1::RespondActivityTaskCanceledByIdRequest,
|
410
328
|
response_class: Temporalio::Api::WorkflowService::V1::RespondActivityTaskCanceledByIdResponse,
|
411
329
|
request:,
|
412
|
-
|
413
|
-
rpc_metadata:,
|
414
|
-
rpc_timeout:
|
330
|
+
rpc_options:
|
415
331
|
)
|
416
332
|
end
|
417
333
|
|
418
334
|
# Calls WorkflowService.RequestCancelWorkflowExecution API call.
|
419
335
|
#
|
420
336
|
# @param request [Temporalio::Api::WorkflowService::V1::RequestCancelWorkflowExecutionRequest] API request.
|
421
|
-
# @param
|
422
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
423
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
337
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
424
338
|
# @return [Temporalio::Api::WorkflowService::V1::RequestCancelWorkflowExecutionResponse] API response.
|
425
|
-
def request_cancel_workflow_execution(request,
|
339
|
+
def request_cancel_workflow_execution(request, rpc_options: nil)
|
426
340
|
invoke_rpc(
|
427
341
|
rpc: 'request_cancel_workflow_execution',
|
428
342
|
request_class: Temporalio::Api::WorkflowService::V1::RequestCancelWorkflowExecutionRequest,
|
429
343
|
response_class: Temporalio::Api::WorkflowService::V1::RequestCancelWorkflowExecutionResponse,
|
430
344
|
request:,
|
431
|
-
|
432
|
-
rpc_metadata:,
|
433
|
-
rpc_timeout:
|
345
|
+
rpc_options:
|
434
346
|
)
|
435
347
|
end
|
436
348
|
|
437
349
|
# Calls WorkflowService.SignalWorkflowExecution API call.
|
438
350
|
#
|
439
351
|
# @param request [Temporalio::Api::WorkflowService::V1::SignalWorkflowExecutionRequest] API request.
|
440
|
-
# @param
|
441
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
442
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
352
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
443
353
|
# @return [Temporalio::Api::WorkflowService::V1::SignalWorkflowExecutionResponse] API response.
|
444
|
-
def signal_workflow_execution(request,
|
354
|
+
def signal_workflow_execution(request, rpc_options: nil)
|
445
355
|
invoke_rpc(
|
446
356
|
rpc: 'signal_workflow_execution',
|
447
357
|
request_class: Temporalio::Api::WorkflowService::V1::SignalWorkflowExecutionRequest,
|
448
358
|
response_class: Temporalio::Api::WorkflowService::V1::SignalWorkflowExecutionResponse,
|
449
359
|
request:,
|
450
|
-
|
451
|
-
rpc_metadata:,
|
452
|
-
rpc_timeout:
|
360
|
+
rpc_options:
|
453
361
|
)
|
454
362
|
end
|
455
363
|
|
456
364
|
# Calls WorkflowService.SignalWithStartWorkflowExecution API call.
|
457
365
|
#
|
458
366
|
# @param request [Temporalio::Api::WorkflowService::V1::SignalWithStartWorkflowExecutionRequest] API request.
|
459
|
-
# @param
|
460
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
461
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
367
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
462
368
|
# @return [Temporalio::Api::WorkflowService::V1::SignalWithStartWorkflowExecutionResponse] API response.
|
463
|
-
def signal_with_start_workflow_execution(request,
|
369
|
+
def signal_with_start_workflow_execution(request, rpc_options: nil)
|
464
370
|
invoke_rpc(
|
465
371
|
rpc: 'signal_with_start_workflow_execution',
|
466
372
|
request_class: Temporalio::Api::WorkflowService::V1::SignalWithStartWorkflowExecutionRequest,
|
467
373
|
response_class: Temporalio::Api::WorkflowService::V1::SignalWithStartWorkflowExecutionResponse,
|
468
374
|
request:,
|
469
|
-
|
470
|
-
rpc_metadata:,
|
471
|
-
rpc_timeout:
|
375
|
+
rpc_options:
|
472
376
|
)
|
473
377
|
end
|
474
378
|
|
475
379
|
# Calls WorkflowService.ResetWorkflowExecution API call.
|
476
380
|
#
|
477
381
|
# @param request [Temporalio::Api::WorkflowService::V1::ResetWorkflowExecutionRequest] API request.
|
478
|
-
# @param
|
479
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
480
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
382
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
481
383
|
# @return [Temporalio::Api::WorkflowService::V1::ResetWorkflowExecutionResponse] API response.
|
482
|
-
def reset_workflow_execution(request,
|
384
|
+
def reset_workflow_execution(request, rpc_options: nil)
|
483
385
|
invoke_rpc(
|
484
386
|
rpc: 'reset_workflow_execution',
|
485
387
|
request_class: Temporalio::Api::WorkflowService::V1::ResetWorkflowExecutionRequest,
|
486
388
|
response_class: Temporalio::Api::WorkflowService::V1::ResetWorkflowExecutionResponse,
|
487
389
|
request:,
|
488
|
-
|
489
|
-
rpc_metadata:,
|
490
|
-
rpc_timeout:
|
390
|
+
rpc_options:
|
491
391
|
)
|
492
392
|
end
|
493
393
|
|
494
394
|
# Calls WorkflowService.TerminateWorkflowExecution API call.
|
495
395
|
#
|
496
396
|
# @param request [Temporalio::Api::WorkflowService::V1::TerminateWorkflowExecutionRequest] API request.
|
497
|
-
# @param
|
498
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
499
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
397
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
500
398
|
# @return [Temporalio::Api::WorkflowService::V1::TerminateWorkflowExecutionResponse] API response.
|
501
|
-
def terminate_workflow_execution(request,
|
399
|
+
def terminate_workflow_execution(request, rpc_options: nil)
|
502
400
|
invoke_rpc(
|
503
401
|
rpc: 'terminate_workflow_execution',
|
504
402
|
request_class: Temporalio::Api::WorkflowService::V1::TerminateWorkflowExecutionRequest,
|
505
403
|
response_class: Temporalio::Api::WorkflowService::V1::TerminateWorkflowExecutionResponse,
|
506
404
|
request:,
|
507
|
-
|
508
|
-
rpc_metadata:,
|
509
|
-
rpc_timeout:
|
405
|
+
rpc_options:
|
510
406
|
)
|
511
407
|
end
|
512
408
|
|
513
409
|
# Calls WorkflowService.DeleteWorkflowExecution API call.
|
514
410
|
#
|
515
411
|
# @param request [Temporalio::Api::WorkflowService::V1::DeleteWorkflowExecutionRequest] API request.
|
516
|
-
# @param
|
517
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
518
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
412
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
519
413
|
# @return [Temporalio::Api::WorkflowService::V1::DeleteWorkflowExecutionResponse] API response.
|
520
|
-
def delete_workflow_execution(request,
|
414
|
+
def delete_workflow_execution(request, rpc_options: nil)
|
521
415
|
invoke_rpc(
|
522
416
|
rpc: 'delete_workflow_execution',
|
523
417
|
request_class: Temporalio::Api::WorkflowService::V1::DeleteWorkflowExecutionRequest,
|
524
418
|
response_class: Temporalio::Api::WorkflowService::V1::DeleteWorkflowExecutionResponse,
|
525
419
|
request:,
|
526
|
-
|
527
|
-
rpc_metadata:,
|
528
|
-
rpc_timeout:
|
420
|
+
rpc_options:
|
529
421
|
)
|
530
422
|
end
|
531
423
|
|
532
424
|
# Calls WorkflowService.ListOpenWorkflowExecutions API call.
|
533
425
|
#
|
534
426
|
# @param request [Temporalio::Api::WorkflowService::V1::ListOpenWorkflowExecutionsRequest] API request.
|
535
|
-
# @param
|
536
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
537
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
427
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
538
428
|
# @return [Temporalio::Api::WorkflowService::V1::ListOpenWorkflowExecutionsResponse] API response.
|
539
|
-
def list_open_workflow_executions(request,
|
429
|
+
def list_open_workflow_executions(request, rpc_options: nil)
|
540
430
|
invoke_rpc(
|
541
431
|
rpc: 'list_open_workflow_executions',
|
542
432
|
request_class: Temporalio::Api::WorkflowService::V1::ListOpenWorkflowExecutionsRequest,
|
543
433
|
response_class: Temporalio::Api::WorkflowService::V1::ListOpenWorkflowExecutionsResponse,
|
544
434
|
request:,
|
545
|
-
|
546
|
-
rpc_metadata:,
|
547
|
-
rpc_timeout:
|
435
|
+
rpc_options:
|
548
436
|
)
|
549
437
|
end
|
550
438
|
|
551
439
|
# Calls WorkflowService.ListClosedWorkflowExecutions API call.
|
552
440
|
#
|
553
441
|
# @param request [Temporalio::Api::WorkflowService::V1::ListClosedWorkflowExecutionsRequest] API request.
|
554
|
-
# @param
|
555
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
556
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
442
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
557
443
|
# @return [Temporalio::Api::WorkflowService::V1::ListClosedWorkflowExecutionsResponse] API response.
|
558
|
-
def list_closed_workflow_executions(request,
|
444
|
+
def list_closed_workflow_executions(request, rpc_options: nil)
|
559
445
|
invoke_rpc(
|
560
446
|
rpc: 'list_closed_workflow_executions',
|
561
447
|
request_class: Temporalio::Api::WorkflowService::V1::ListClosedWorkflowExecutionsRequest,
|
562
448
|
response_class: Temporalio::Api::WorkflowService::V1::ListClosedWorkflowExecutionsResponse,
|
563
449
|
request:,
|
564
|
-
|
565
|
-
rpc_metadata:,
|
566
|
-
rpc_timeout:
|
450
|
+
rpc_options:
|
567
451
|
)
|
568
452
|
end
|
569
453
|
|
570
454
|
# Calls WorkflowService.ListWorkflowExecutions API call.
|
571
455
|
#
|
572
456
|
# @param request [Temporalio::Api::WorkflowService::V1::ListWorkflowExecutionsRequest] API request.
|
573
|
-
# @param
|
574
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
575
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
457
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
576
458
|
# @return [Temporalio::Api::WorkflowService::V1::ListWorkflowExecutionsResponse] API response.
|
577
|
-
def list_workflow_executions(request,
|
459
|
+
def list_workflow_executions(request, rpc_options: nil)
|
578
460
|
invoke_rpc(
|
579
461
|
rpc: 'list_workflow_executions',
|
580
462
|
request_class: Temporalio::Api::WorkflowService::V1::ListWorkflowExecutionsRequest,
|
581
463
|
response_class: Temporalio::Api::WorkflowService::V1::ListWorkflowExecutionsResponse,
|
582
464
|
request:,
|
583
|
-
|
584
|
-
rpc_metadata:,
|
585
|
-
rpc_timeout:
|
465
|
+
rpc_options:
|
586
466
|
)
|
587
467
|
end
|
588
468
|
|
589
469
|
# Calls WorkflowService.ListArchivedWorkflowExecutions API call.
|
590
470
|
#
|
591
471
|
# @param request [Temporalio::Api::WorkflowService::V1::ListArchivedWorkflowExecutionsRequest] API request.
|
592
|
-
# @param
|
593
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
594
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
472
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
595
473
|
# @return [Temporalio::Api::WorkflowService::V1::ListArchivedWorkflowExecutionsResponse] API response.
|
596
|
-
def list_archived_workflow_executions(request,
|
474
|
+
def list_archived_workflow_executions(request, rpc_options: nil)
|
597
475
|
invoke_rpc(
|
598
476
|
rpc: 'list_archived_workflow_executions',
|
599
477
|
request_class: Temporalio::Api::WorkflowService::V1::ListArchivedWorkflowExecutionsRequest,
|
600
478
|
response_class: Temporalio::Api::WorkflowService::V1::ListArchivedWorkflowExecutionsResponse,
|
601
479
|
request:,
|
602
|
-
|
603
|
-
rpc_metadata:,
|
604
|
-
rpc_timeout:
|
480
|
+
rpc_options:
|
605
481
|
)
|
606
482
|
end
|
607
483
|
|
608
484
|
# Calls WorkflowService.ScanWorkflowExecutions API call.
|
609
485
|
#
|
610
486
|
# @param request [Temporalio::Api::WorkflowService::V1::ScanWorkflowExecutionsRequest] API request.
|
611
|
-
# @param
|
612
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
613
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
487
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
614
488
|
# @return [Temporalio::Api::WorkflowService::V1::ScanWorkflowExecutionsResponse] API response.
|
615
|
-
def scan_workflow_executions(request,
|
489
|
+
def scan_workflow_executions(request, rpc_options: nil)
|
616
490
|
invoke_rpc(
|
617
491
|
rpc: 'scan_workflow_executions',
|
618
492
|
request_class: Temporalio::Api::WorkflowService::V1::ScanWorkflowExecutionsRequest,
|
619
493
|
response_class: Temporalio::Api::WorkflowService::V1::ScanWorkflowExecutionsResponse,
|
620
494
|
request:,
|
621
|
-
|
622
|
-
rpc_metadata:,
|
623
|
-
rpc_timeout:
|
495
|
+
rpc_options:
|
624
496
|
)
|
625
497
|
end
|
626
498
|
|
627
499
|
# Calls WorkflowService.CountWorkflowExecutions API call.
|
628
500
|
#
|
629
501
|
# @param request [Temporalio::Api::WorkflowService::V1::CountWorkflowExecutionsRequest] API request.
|
630
|
-
# @param
|
631
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
632
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
502
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
633
503
|
# @return [Temporalio::Api::WorkflowService::V1::CountWorkflowExecutionsResponse] API response.
|
634
|
-
def count_workflow_executions(request,
|
504
|
+
def count_workflow_executions(request, rpc_options: nil)
|
635
505
|
invoke_rpc(
|
636
506
|
rpc: 'count_workflow_executions',
|
637
507
|
request_class: Temporalio::Api::WorkflowService::V1::CountWorkflowExecutionsRequest,
|
638
508
|
response_class: Temporalio::Api::WorkflowService::V1::CountWorkflowExecutionsResponse,
|
639
509
|
request:,
|
640
|
-
|
641
|
-
rpc_metadata:,
|
642
|
-
rpc_timeout:
|
510
|
+
rpc_options:
|
643
511
|
)
|
644
512
|
end
|
645
513
|
|
646
514
|
# Calls WorkflowService.GetSearchAttributes API call.
|
647
515
|
#
|
648
516
|
# @param request [Temporalio::Api::WorkflowService::V1::GetSearchAttributesRequest] API request.
|
649
|
-
# @param
|
650
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
651
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
517
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
652
518
|
# @return [Temporalio::Api::WorkflowService::V1::GetSearchAttributesResponse] API response.
|
653
|
-
def get_search_attributes(request,
|
519
|
+
def get_search_attributes(request, rpc_options: nil)
|
654
520
|
invoke_rpc(
|
655
521
|
rpc: 'get_search_attributes',
|
656
522
|
request_class: Temporalio::Api::WorkflowService::V1::GetSearchAttributesRequest,
|
657
523
|
response_class: Temporalio::Api::WorkflowService::V1::GetSearchAttributesResponse,
|
658
524
|
request:,
|
659
|
-
|
660
|
-
rpc_metadata:,
|
661
|
-
rpc_timeout:
|
525
|
+
rpc_options:
|
662
526
|
)
|
663
527
|
end
|
664
528
|
|
665
529
|
# Calls WorkflowService.RespondQueryTaskCompleted API call.
|
666
530
|
#
|
667
531
|
# @param request [Temporalio::Api::WorkflowService::V1::RespondQueryTaskCompletedRequest] API request.
|
668
|
-
# @param
|
669
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
670
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
532
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
671
533
|
# @return [Temporalio::Api::WorkflowService::V1::RespondQueryTaskCompletedResponse] API response.
|
672
|
-
def respond_query_task_completed(request,
|
534
|
+
def respond_query_task_completed(request, rpc_options: nil)
|
673
535
|
invoke_rpc(
|
674
536
|
rpc: 'respond_query_task_completed',
|
675
537
|
request_class: Temporalio::Api::WorkflowService::V1::RespondQueryTaskCompletedRequest,
|
676
538
|
response_class: Temporalio::Api::WorkflowService::V1::RespondQueryTaskCompletedResponse,
|
677
539
|
request:,
|
678
|
-
|
679
|
-
rpc_metadata:,
|
680
|
-
rpc_timeout:
|
540
|
+
rpc_options:
|
681
541
|
)
|
682
542
|
end
|
683
543
|
|
684
544
|
# Calls WorkflowService.ResetStickyTaskQueue API call.
|
685
545
|
#
|
686
546
|
# @param request [Temporalio::Api::WorkflowService::V1::ResetStickyTaskQueueRequest] API request.
|
687
|
-
# @param
|
688
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
689
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
547
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
690
548
|
# @return [Temporalio::Api::WorkflowService::V1::ResetStickyTaskQueueResponse] API response.
|
691
|
-
def reset_sticky_task_queue(request,
|
549
|
+
def reset_sticky_task_queue(request, rpc_options: nil)
|
692
550
|
invoke_rpc(
|
693
551
|
rpc: 'reset_sticky_task_queue',
|
694
552
|
request_class: Temporalio::Api::WorkflowService::V1::ResetStickyTaskQueueRequest,
|
695
553
|
response_class: Temporalio::Api::WorkflowService::V1::ResetStickyTaskQueueResponse,
|
696
554
|
request:,
|
697
|
-
|
698
|
-
|
699
|
-
|
555
|
+
rpc_options:
|
556
|
+
)
|
557
|
+
end
|
558
|
+
|
559
|
+
# Calls WorkflowService.ShutdownWorker API call.
|
560
|
+
#
|
561
|
+
# @param request [Temporalio::Api::WorkflowService::V1::ShutdownWorkerRequest] API request.
|
562
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
563
|
+
# @return [Temporalio::Api::WorkflowService::V1::ShutdownWorkerResponse] API response.
|
564
|
+
def shutdown_worker(request, rpc_options: nil)
|
565
|
+
invoke_rpc(
|
566
|
+
rpc: 'shutdown_worker',
|
567
|
+
request_class: Temporalio::Api::WorkflowService::V1::ShutdownWorkerRequest,
|
568
|
+
response_class: Temporalio::Api::WorkflowService::V1::ShutdownWorkerResponse,
|
569
|
+
request:,
|
570
|
+
rpc_options:
|
700
571
|
)
|
701
572
|
end
|
702
573
|
|
703
574
|
# Calls WorkflowService.QueryWorkflow API call.
|
704
575
|
#
|
705
576
|
# @param request [Temporalio::Api::WorkflowService::V1::QueryWorkflowRequest] API request.
|
706
|
-
# @param
|
707
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
708
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
577
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
709
578
|
# @return [Temporalio::Api::WorkflowService::V1::QueryWorkflowResponse] API response.
|
710
|
-
def query_workflow(request,
|
579
|
+
def query_workflow(request, rpc_options: nil)
|
711
580
|
invoke_rpc(
|
712
581
|
rpc: 'query_workflow',
|
713
582
|
request_class: Temporalio::Api::WorkflowService::V1::QueryWorkflowRequest,
|
714
583
|
response_class: Temporalio::Api::WorkflowService::V1::QueryWorkflowResponse,
|
715
584
|
request:,
|
716
|
-
|
717
|
-
rpc_metadata:,
|
718
|
-
rpc_timeout:
|
585
|
+
rpc_options:
|
719
586
|
)
|
720
587
|
end
|
721
588
|
|
722
589
|
# Calls WorkflowService.DescribeWorkflowExecution API call.
|
723
590
|
#
|
724
591
|
# @param request [Temporalio::Api::WorkflowService::V1::DescribeWorkflowExecutionRequest] API request.
|
725
|
-
# @param
|
726
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
727
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
592
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
728
593
|
# @return [Temporalio::Api::WorkflowService::V1::DescribeWorkflowExecutionResponse] API response.
|
729
|
-
def describe_workflow_execution(request,
|
594
|
+
def describe_workflow_execution(request, rpc_options: nil)
|
730
595
|
invoke_rpc(
|
731
596
|
rpc: 'describe_workflow_execution',
|
732
597
|
request_class: Temporalio::Api::WorkflowService::V1::DescribeWorkflowExecutionRequest,
|
733
598
|
response_class: Temporalio::Api::WorkflowService::V1::DescribeWorkflowExecutionResponse,
|
734
599
|
request:,
|
735
|
-
|
736
|
-
rpc_metadata:,
|
737
|
-
rpc_timeout:
|
600
|
+
rpc_options:
|
738
601
|
)
|
739
602
|
end
|
740
603
|
|
741
604
|
# Calls WorkflowService.DescribeTaskQueue API call.
|
742
605
|
#
|
743
606
|
# @param request [Temporalio::Api::WorkflowService::V1::DescribeTaskQueueRequest] API request.
|
744
|
-
# @param
|
745
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
746
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
607
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
747
608
|
# @return [Temporalio::Api::WorkflowService::V1::DescribeTaskQueueResponse] API response.
|
748
|
-
def describe_task_queue(request,
|
609
|
+
def describe_task_queue(request, rpc_options: nil)
|
749
610
|
invoke_rpc(
|
750
611
|
rpc: 'describe_task_queue',
|
751
612
|
request_class: Temporalio::Api::WorkflowService::V1::DescribeTaskQueueRequest,
|
752
613
|
response_class: Temporalio::Api::WorkflowService::V1::DescribeTaskQueueResponse,
|
753
614
|
request:,
|
754
|
-
|
755
|
-
rpc_metadata:,
|
756
|
-
rpc_timeout:
|
615
|
+
rpc_options:
|
757
616
|
)
|
758
617
|
end
|
759
618
|
|
760
619
|
# Calls WorkflowService.GetClusterInfo API call.
|
761
620
|
#
|
762
621
|
# @param request [Temporalio::Api::WorkflowService::V1::GetClusterInfoRequest] API request.
|
763
|
-
# @param
|
764
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
765
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
622
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
766
623
|
# @return [Temporalio::Api::WorkflowService::V1::GetClusterInfoResponse] API response.
|
767
|
-
def get_cluster_info(request,
|
624
|
+
def get_cluster_info(request, rpc_options: nil)
|
768
625
|
invoke_rpc(
|
769
626
|
rpc: 'get_cluster_info',
|
770
627
|
request_class: Temporalio::Api::WorkflowService::V1::GetClusterInfoRequest,
|
771
628
|
response_class: Temporalio::Api::WorkflowService::V1::GetClusterInfoResponse,
|
772
629
|
request:,
|
773
|
-
|
774
|
-
rpc_metadata:,
|
775
|
-
rpc_timeout:
|
630
|
+
rpc_options:
|
776
631
|
)
|
777
632
|
end
|
778
633
|
|
779
634
|
# Calls WorkflowService.GetSystemInfo API call.
|
780
635
|
#
|
781
636
|
# @param request [Temporalio::Api::WorkflowService::V1::GetSystemInfoRequest] API request.
|
782
|
-
# @param
|
783
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
784
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
637
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
785
638
|
# @return [Temporalio::Api::WorkflowService::V1::GetSystemInfoResponse] API response.
|
786
|
-
def get_system_info(request,
|
639
|
+
def get_system_info(request, rpc_options: nil)
|
787
640
|
invoke_rpc(
|
788
641
|
rpc: 'get_system_info',
|
789
642
|
request_class: Temporalio::Api::WorkflowService::V1::GetSystemInfoRequest,
|
790
643
|
response_class: Temporalio::Api::WorkflowService::V1::GetSystemInfoResponse,
|
791
644
|
request:,
|
792
|
-
|
793
|
-
rpc_metadata:,
|
794
|
-
rpc_timeout:
|
645
|
+
rpc_options:
|
795
646
|
)
|
796
647
|
end
|
797
648
|
|
798
649
|
# Calls WorkflowService.ListTaskQueuePartitions API call.
|
799
650
|
#
|
800
651
|
# @param request [Temporalio::Api::WorkflowService::V1::ListTaskQueuePartitionsRequest] API request.
|
801
|
-
# @param
|
802
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
803
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
652
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
804
653
|
# @return [Temporalio::Api::WorkflowService::V1::ListTaskQueuePartitionsResponse] API response.
|
805
|
-
def list_task_queue_partitions(request,
|
654
|
+
def list_task_queue_partitions(request, rpc_options: nil)
|
806
655
|
invoke_rpc(
|
807
656
|
rpc: 'list_task_queue_partitions',
|
808
657
|
request_class: Temporalio::Api::WorkflowService::V1::ListTaskQueuePartitionsRequest,
|
809
658
|
response_class: Temporalio::Api::WorkflowService::V1::ListTaskQueuePartitionsResponse,
|
810
659
|
request:,
|
811
|
-
|
812
|
-
rpc_metadata:,
|
813
|
-
rpc_timeout:
|
660
|
+
rpc_options:
|
814
661
|
)
|
815
662
|
end
|
816
663
|
|
817
664
|
# Calls WorkflowService.CreateSchedule API call.
|
818
665
|
#
|
819
666
|
# @param request [Temporalio::Api::WorkflowService::V1::CreateScheduleRequest] API request.
|
820
|
-
# @param
|
821
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
822
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
667
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
823
668
|
# @return [Temporalio::Api::WorkflowService::V1::CreateScheduleResponse] API response.
|
824
|
-
def create_schedule(request,
|
669
|
+
def create_schedule(request, rpc_options: nil)
|
825
670
|
invoke_rpc(
|
826
671
|
rpc: 'create_schedule',
|
827
672
|
request_class: Temporalio::Api::WorkflowService::V1::CreateScheduleRequest,
|
828
673
|
response_class: Temporalio::Api::WorkflowService::V1::CreateScheduleResponse,
|
829
674
|
request:,
|
830
|
-
|
831
|
-
rpc_metadata:,
|
832
|
-
rpc_timeout:
|
675
|
+
rpc_options:
|
833
676
|
)
|
834
677
|
end
|
835
678
|
|
836
679
|
# Calls WorkflowService.DescribeSchedule API call.
|
837
680
|
#
|
838
681
|
# @param request [Temporalio::Api::WorkflowService::V1::DescribeScheduleRequest] API request.
|
839
|
-
# @param
|
840
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
841
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
682
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
842
683
|
# @return [Temporalio::Api::WorkflowService::V1::DescribeScheduleResponse] API response.
|
843
|
-
def describe_schedule(request,
|
684
|
+
def describe_schedule(request, rpc_options: nil)
|
844
685
|
invoke_rpc(
|
845
686
|
rpc: 'describe_schedule',
|
846
687
|
request_class: Temporalio::Api::WorkflowService::V1::DescribeScheduleRequest,
|
847
688
|
response_class: Temporalio::Api::WorkflowService::V1::DescribeScheduleResponse,
|
848
689
|
request:,
|
849
|
-
|
850
|
-
rpc_metadata:,
|
851
|
-
rpc_timeout:
|
690
|
+
rpc_options:
|
852
691
|
)
|
853
692
|
end
|
854
693
|
|
855
694
|
# Calls WorkflowService.UpdateSchedule API call.
|
856
695
|
#
|
857
696
|
# @param request [Temporalio::Api::WorkflowService::V1::UpdateScheduleRequest] API request.
|
858
|
-
# @param
|
859
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
860
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
697
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
861
698
|
# @return [Temporalio::Api::WorkflowService::V1::UpdateScheduleResponse] API response.
|
862
|
-
def update_schedule(request,
|
699
|
+
def update_schedule(request, rpc_options: nil)
|
863
700
|
invoke_rpc(
|
864
701
|
rpc: 'update_schedule',
|
865
702
|
request_class: Temporalio::Api::WorkflowService::V1::UpdateScheduleRequest,
|
866
703
|
response_class: Temporalio::Api::WorkflowService::V1::UpdateScheduleResponse,
|
867
704
|
request:,
|
868
|
-
|
869
|
-
rpc_metadata:,
|
870
|
-
rpc_timeout:
|
705
|
+
rpc_options:
|
871
706
|
)
|
872
707
|
end
|
873
708
|
|
874
709
|
# Calls WorkflowService.PatchSchedule API call.
|
875
710
|
#
|
876
711
|
# @param request [Temporalio::Api::WorkflowService::V1::PatchScheduleRequest] API request.
|
877
|
-
# @param
|
878
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
879
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
712
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
880
713
|
# @return [Temporalio::Api::WorkflowService::V1::PatchScheduleResponse] API response.
|
881
|
-
def patch_schedule(request,
|
714
|
+
def patch_schedule(request, rpc_options: nil)
|
882
715
|
invoke_rpc(
|
883
716
|
rpc: 'patch_schedule',
|
884
717
|
request_class: Temporalio::Api::WorkflowService::V1::PatchScheduleRequest,
|
885
718
|
response_class: Temporalio::Api::WorkflowService::V1::PatchScheduleResponse,
|
886
719
|
request:,
|
887
|
-
|
888
|
-
rpc_metadata:,
|
889
|
-
rpc_timeout:
|
720
|
+
rpc_options:
|
890
721
|
)
|
891
722
|
end
|
892
723
|
|
893
724
|
# Calls WorkflowService.ListScheduleMatchingTimes API call.
|
894
725
|
#
|
895
726
|
# @param request [Temporalio::Api::WorkflowService::V1::ListScheduleMatchingTimesRequest] API request.
|
896
|
-
# @param
|
897
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
898
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
727
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
899
728
|
# @return [Temporalio::Api::WorkflowService::V1::ListScheduleMatchingTimesResponse] API response.
|
900
|
-
def list_schedule_matching_times(request,
|
729
|
+
def list_schedule_matching_times(request, rpc_options: nil)
|
901
730
|
invoke_rpc(
|
902
731
|
rpc: 'list_schedule_matching_times',
|
903
732
|
request_class: Temporalio::Api::WorkflowService::V1::ListScheduleMatchingTimesRequest,
|
904
733
|
response_class: Temporalio::Api::WorkflowService::V1::ListScheduleMatchingTimesResponse,
|
905
734
|
request:,
|
906
|
-
|
907
|
-
rpc_metadata:,
|
908
|
-
rpc_timeout:
|
735
|
+
rpc_options:
|
909
736
|
)
|
910
737
|
end
|
911
738
|
|
912
739
|
# Calls WorkflowService.DeleteSchedule API call.
|
913
740
|
#
|
914
741
|
# @param request [Temporalio::Api::WorkflowService::V1::DeleteScheduleRequest] API request.
|
915
|
-
# @param
|
916
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
917
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
742
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
918
743
|
# @return [Temporalio::Api::WorkflowService::V1::DeleteScheduleResponse] API response.
|
919
|
-
def delete_schedule(request,
|
744
|
+
def delete_schedule(request, rpc_options: nil)
|
920
745
|
invoke_rpc(
|
921
746
|
rpc: 'delete_schedule',
|
922
747
|
request_class: Temporalio::Api::WorkflowService::V1::DeleteScheduleRequest,
|
923
748
|
response_class: Temporalio::Api::WorkflowService::V1::DeleteScheduleResponse,
|
924
749
|
request:,
|
925
|
-
|
926
|
-
rpc_metadata:,
|
927
|
-
rpc_timeout:
|
750
|
+
rpc_options:
|
928
751
|
)
|
929
752
|
end
|
930
753
|
|
931
754
|
# Calls WorkflowService.ListSchedules API call.
|
932
755
|
#
|
933
756
|
# @param request [Temporalio::Api::WorkflowService::V1::ListSchedulesRequest] API request.
|
934
|
-
# @param
|
935
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
936
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
757
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
937
758
|
# @return [Temporalio::Api::WorkflowService::V1::ListSchedulesResponse] API response.
|
938
|
-
def list_schedules(request,
|
759
|
+
def list_schedules(request, rpc_options: nil)
|
939
760
|
invoke_rpc(
|
940
761
|
rpc: 'list_schedules',
|
941
762
|
request_class: Temporalio::Api::WorkflowService::V1::ListSchedulesRequest,
|
942
763
|
response_class: Temporalio::Api::WorkflowService::V1::ListSchedulesResponse,
|
943
764
|
request:,
|
944
|
-
|
945
|
-
rpc_metadata:,
|
946
|
-
rpc_timeout:
|
765
|
+
rpc_options:
|
947
766
|
)
|
948
767
|
end
|
949
768
|
|
950
769
|
# Calls WorkflowService.UpdateWorkerBuildIdCompatibility API call.
|
951
770
|
#
|
952
771
|
# @param request [Temporalio::Api::WorkflowService::V1::UpdateWorkerBuildIdCompatibilityRequest] API request.
|
953
|
-
# @param
|
954
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
955
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
772
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
956
773
|
# @return [Temporalio::Api::WorkflowService::V1::UpdateWorkerBuildIdCompatibilityResponse] API response.
|
957
|
-
def update_worker_build_id_compatibility(request,
|
774
|
+
def update_worker_build_id_compatibility(request, rpc_options: nil)
|
958
775
|
invoke_rpc(
|
959
776
|
rpc: 'update_worker_build_id_compatibility',
|
960
777
|
request_class: Temporalio::Api::WorkflowService::V1::UpdateWorkerBuildIdCompatibilityRequest,
|
961
778
|
response_class: Temporalio::Api::WorkflowService::V1::UpdateWorkerBuildIdCompatibilityResponse,
|
962
779
|
request:,
|
963
|
-
|
964
|
-
rpc_metadata:,
|
965
|
-
rpc_timeout:
|
780
|
+
rpc_options:
|
966
781
|
)
|
967
782
|
end
|
968
783
|
|
969
784
|
# Calls WorkflowService.GetWorkerBuildIdCompatibility API call.
|
970
785
|
#
|
971
786
|
# @param request [Temporalio::Api::WorkflowService::V1::GetWorkerBuildIdCompatibilityRequest] API request.
|
972
|
-
# @param
|
973
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
974
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
787
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
975
788
|
# @return [Temporalio::Api::WorkflowService::V1::GetWorkerBuildIdCompatibilityResponse] API response.
|
976
|
-
def get_worker_build_id_compatibility(request,
|
789
|
+
def get_worker_build_id_compatibility(request, rpc_options: nil)
|
977
790
|
invoke_rpc(
|
978
791
|
rpc: 'get_worker_build_id_compatibility',
|
979
792
|
request_class: Temporalio::Api::WorkflowService::V1::GetWorkerBuildIdCompatibilityRequest,
|
980
793
|
response_class: Temporalio::Api::WorkflowService::V1::GetWorkerBuildIdCompatibilityResponse,
|
981
794
|
request:,
|
982
|
-
|
983
|
-
rpc_metadata:,
|
984
|
-
rpc_timeout:
|
795
|
+
rpc_options:
|
985
796
|
)
|
986
797
|
end
|
987
798
|
|
988
799
|
# Calls WorkflowService.UpdateWorkerVersioningRules API call.
|
989
800
|
#
|
990
801
|
# @param request [Temporalio::Api::WorkflowService::V1::UpdateWorkerVersioningRulesRequest] API request.
|
991
|
-
# @param
|
992
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
993
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
802
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
994
803
|
# @return [Temporalio::Api::WorkflowService::V1::UpdateWorkerVersioningRulesResponse] API response.
|
995
|
-
def update_worker_versioning_rules(request,
|
804
|
+
def update_worker_versioning_rules(request, rpc_options: nil)
|
996
805
|
invoke_rpc(
|
997
806
|
rpc: 'update_worker_versioning_rules',
|
998
807
|
request_class: Temporalio::Api::WorkflowService::V1::UpdateWorkerVersioningRulesRequest,
|
999
808
|
response_class: Temporalio::Api::WorkflowService::V1::UpdateWorkerVersioningRulesResponse,
|
1000
809
|
request:,
|
1001
|
-
|
1002
|
-
rpc_metadata:,
|
1003
|
-
rpc_timeout:
|
810
|
+
rpc_options:
|
1004
811
|
)
|
1005
812
|
end
|
1006
813
|
|
1007
814
|
# Calls WorkflowService.GetWorkerVersioningRules API call.
|
1008
815
|
#
|
1009
816
|
# @param request [Temporalio::Api::WorkflowService::V1::GetWorkerVersioningRulesRequest] API request.
|
1010
|
-
# @param
|
1011
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
1012
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
817
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1013
818
|
# @return [Temporalio::Api::WorkflowService::V1::GetWorkerVersioningRulesResponse] API response.
|
1014
|
-
def get_worker_versioning_rules(request,
|
819
|
+
def get_worker_versioning_rules(request, rpc_options: nil)
|
1015
820
|
invoke_rpc(
|
1016
821
|
rpc: 'get_worker_versioning_rules',
|
1017
822
|
request_class: Temporalio::Api::WorkflowService::V1::GetWorkerVersioningRulesRequest,
|
1018
823
|
response_class: Temporalio::Api::WorkflowService::V1::GetWorkerVersioningRulesResponse,
|
1019
824
|
request:,
|
1020
|
-
|
1021
|
-
rpc_metadata:,
|
1022
|
-
rpc_timeout:
|
825
|
+
rpc_options:
|
1023
826
|
)
|
1024
827
|
end
|
1025
828
|
|
1026
829
|
# Calls WorkflowService.GetWorkerTaskReachability API call.
|
1027
830
|
#
|
1028
831
|
# @param request [Temporalio::Api::WorkflowService::V1::GetWorkerTaskReachabilityRequest] API request.
|
1029
|
-
# @param
|
1030
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
1031
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
832
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1032
833
|
# @return [Temporalio::Api::WorkflowService::V1::GetWorkerTaskReachabilityResponse] API response.
|
1033
|
-
def get_worker_task_reachability(request,
|
834
|
+
def get_worker_task_reachability(request, rpc_options: nil)
|
1034
835
|
invoke_rpc(
|
1035
836
|
rpc: 'get_worker_task_reachability',
|
1036
837
|
request_class: Temporalio::Api::WorkflowService::V1::GetWorkerTaskReachabilityRequest,
|
1037
838
|
response_class: Temporalio::Api::WorkflowService::V1::GetWorkerTaskReachabilityResponse,
|
1038
839
|
request:,
|
1039
|
-
|
1040
|
-
rpc_metadata:,
|
1041
|
-
rpc_timeout:
|
840
|
+
rpc_options:
|
1042
841
|
)
|
1043
842
|
end
|
1044
843
|
|
1045
844
|
# Calls WorkflowService.UpdateWorkflowExecution API call.
|
1046
845
|
#
|
1047
846
|
# @param request [Temporalio::Api::WorkflowService::V1::UpdateWorkflowExecutionRequest] API request.
|
1048
|
-
# @param
|
1049
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
1050
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
847
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1051
848
|
# @return [Temporalio::Api::WorkflowService::V1::UpdateWorkflowExecutionResponse] API response.
|
1052
|
-
def update_workflow_execution(request,
|
849
|
+
def update_workflow_execution(request, rpc_options: nil)
|
1053
850
|
invoke_rpc(
|
1054
851
|
rpc: 'update_workflow_execution',
|
1055
852
|
request_class: Temporalio::Api::WorkflowService::V1::UpdateWorkflowExecutionRequest,
|
1056
853
|
response_class: Temporalio::Api::WorkflowService::V1::UpdateWorkflowExecutionResponse,
|
1057
854
|
request:,
|
1058
|
-
|
1059
|
-
rpc_metadata:,
|
1060
|
-
rpc_timeout:
|
855
|
+
rpc_options:
|
1061
856
|
)
|
1062
857
|
end
|
1063
858
|
|
1064
859
|
# Calls WorkflowService.PollWorkflowExecutionUpdate API call.
|
1065
860
|
#
|
1066
861
|
# @param request [Temporalio::Api::WorkflowService::V1::PollWorkflowExecutionUpdateRequest] API request.
|
1067
|
-
# @param
|
1068
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
1069
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
862
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1070
863
|
# @return [Temporalio::Api::WorkflowService::V1::PollWorkflowExecutionUpdateResponse] API response.
|
1071
|
-
def poll_workflow_execution_update(request,
|
864
|
+
def poll_workflow_execution_update(request, rpc_options: nil)
|
1072
865
|
invoke_rpc(
|
1073
866
|
rpc: 'poll_workflow_execution_update',
|
1074
867
|
request_class: Temporalio::Api::WorkflowService::V1::PollWorkflowExecutionUpdateRequest,
|
1075
868
|
response_class: Temporalio::Api::WorkflowService::V1::PollWorkflowExecutionUpdateResponse,
|
1076
869
|
request:,
|
1077
|
-
|
1078
|
-
rpc_metadata:,
|
1079
|
-
rpc_timeout:
|
870
|
+
rpc_options:
|
1080
871
|
)
|
1081
872
|
end
|
1082
873
|
|
1083
874
|
# Calls WorkflowService.StartBatchOperation API call.
|
1084
875
|
#
|
1085
876
|
# @param request [Temporalio::Api::WorkflowService::V1::StartBatchOperationRequest] API request.
|
1086
|
-
# @param
|
1087
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
1088
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
877
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1089
878
|
# @return [Temporalio::Api::WorkflowService::V1::StartBatchOperationResponse] API response.
|
1090
|
-
def start_batch_operation(request,
|
879
|
+
def start_batch_operation(request, rpc_options: nil)
|
1091
880
|
invoke_rpc(
|
1092
881
|
rpc: 'start_batch_operation',
|
1093
882
|
request_class: Temporalio::Api::WorkflowService::V1::StartBatchOperationRequest,
|
1094
883
|
response_class: Temporalio::Api::WorkflowService::V1::StartBatchOperationResponse,
|
1095
884
|
request:,
|
1096
|
-
|
1097
|
-
rpc_metadata:,
|
1098
|
-
rpc_timeout:
|
885
|
+
rpc_options:
|
1099
886
|
)
|
1100
887
|
end
|
1101
888
|
|
1102
889
|
# Calls WorkflowService.StopBatchOperation API call.
|
1103
890
|
#
|
1104
891
|
# @param request [Temporalio::Api::WorkflowService::V1::StopBatchOperationRequest] API request.
|
1105
|
-
# @param
|
1106
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
1107
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
892
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1108
893
|
# @return [Temporalio::Api::WorkflowService::V1::StopBatchOperationResponse] API response.
|
1109
|
-
def stop_batch_operation(request,
|
894
|
+
def stop_batch_operation(request, rpc_options: nil)
|
1110
895
|
invoke_rpc(
|
1111
896
|
rpc: 'stop_batch_operation',
|
1112
897
|
request_class: Temporalio::Api::WorkflowService::V1::StopBatchOperationRequest,
|
1113
898
|
response_class: Temporalio::Api::WorkflowService::V1::StopBatchOperationResponse,
|
1114
899
|
request:,
|
1115
|
-
|
1116
|
-
rpc_metadata:,
|
1117
|
-
rpc_timeout:
|
900
|
+
rpc_options:
|
1118
901
|
)
|
1119
902
|
end
|
1120
903
|
|
1121
904
|
# Calls WorkflowService.DescribeBatchOperation API call.
|
1122
905
|
#
|
1123
906
|
# @param request [Temporalio::Api::WorkflowService::V1::DescribeBatchOperationRequest] API request.
|
1124
|
-
# @param
|
1125
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
1126
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
907
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1127
908
|
# @return [Temporalio::Api::WorkflowService::V1::DescribeBatchOperationResponse] API response.
|
1128
|
-
def describe_batch_operation(request,
|
909
|
+
def describe_batch_operation(request, rpc_options: nil)
|
1129
910
|
invoke_rpc(
|
1130
911
|
rpc: 'describe_batch_operation',
|
1131
912
|
request_class: Temporalio::Api::WorkflowService::V1::DescribeBatchOperationRequest,
|
1132
913
|
response_class: Temporalio::Api::WorkflowService::V1::DescribeBatchOperationResponse,
|
1133
914
|
request:,
|
1134
|
-
|
1135
|
-
rpc_metadata:,
|
1136
|
-
rpc_timeout:
|
915
|
+
rpc_options:
|
1137
916
|
)
|
1138
917
|
end
|
1139
918
|
|
1140
919
|
# Calls WorkflowService.ListBatchOperations API call.
|
1141
920
|
#
|
1142
921
|
# @param request [Temporalio::Api::WorkflowService::V1::ListBatchOperationsRequest] API request.
|
1143
|
-
# @param
|
1144
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
1145
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
922
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1146
923
|
# @return [Temporalio::Api::WorkflowService::V1::ListBatchOperationsResponse] API response.
|
1147
|
-
def list_batch_operations(request,
|
924
|
+
def list_batch_operations(request, rpc_options: nil)
|
1148
925
|
invoke_rpc(
|
1149
926
|
rpc: 'list_batch_operations',
|
1150
927
|
request_class: Temporalio::Api::WorkflowService::V1::ListBatchOperationsRequest,
|
1151
928
|
response_class: Temporalio::Api::WorkflowService::V1::ListBatchOperationsResponse,
|
1152
929
|
request:,
|
1153
|
-
|
1154
|
-
rpc_metadata:,
|
1155
|
-
rpc_timeout:
|
930
|
+
rpc_options:
|
1156
931
|
)
|
1157
932
|
end
|
1158
933
|
|
1159
934
|
# Calls WorkflowService.PollNexusTaskQueue API call.
|
1160
935
|
#
|
1161
936
|
# @param request [Temporalio::Api::WorkflowService::V1::PollNexusTaskQueueRequest] API request.
|
1162
|
-
# @param
|
1163
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
1164
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
937
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1165
938
|
# @return [Temporalio::Api::WorkflowService::V1::PollNexusTaskQueueResponse] API response.
|
1166
|
-
def poll_nexus_task_queue(request,
|
939
|
+
def poll_nexus_task_queue(request, rpc_options: nil)
|
1167
940
|
invoke_rpc(
|
1168
941
|
rpc: 'poll_nexus_task_queue',
|
1169
942
|
request_class: Temporalio::Api::WorkflowService::V1::PollNexusTaskQueueRequest,
|
1170
943
|
response_class: Temporalio::Api::WorkflowService::V1::PollNexusTaskQueueResponse,
|
1171
944
|
request:,
|
1172
|
-
|
1173
|
-
rpc_metadata:,
|
1174
|
-
rpc_timeout:
|
945
|
+
rpc_options:
|
1175
946
|
)
|
1176
947
|
end
|
1177
948
|
|
1178
949
|
# Calls WorkflowService.RespondNexusTaskCompleted API call.
|
1179
950
|
#
|
1180
951
|
# @param request [Temporalio::Api::WorkflowService::V1::RespondNexusTaskCompletedRequest] API request.
|
1181
|
-
# @param
|
1182
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
1183
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
952
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1184
953
|
# @return [Temporalio::Api::WorkflowService::V1::RespondNexusTaskCompletedResponse] API response.
|
1185
|
-
def respond_nexus_task_completed(request,
|
954
|
+
def respond_nexus_task_completed(request, rpc_options: nil)
|
1186
955
|
invoke_rpc(
|
1187
956
|
rpc: 'respond_nexus_task_completed',
|
1188
957
|
request_class: Temporalio::Api::WorkflowService::V1::RespondNexusTaskCompletedRequest,
|
1189
958
|
response_class: Temporalio::Api::WorkflowService::V1::RespondNexusTaskCompletedResponse,
|
1190
959
|
request:,
|
1191
|
-
|
1192
|
-
rpc_metadata:,
|
1193
|
-
rpc_timeout:
|
960
|
+
rpc_options:
|
1194
961
|
)
|
1195
962
|
end
|
1196
963
|
|
1197
964
|
# Calls WorkflowService.RespondNexusTaskFailed API call.
|
1198
965
|
#
|
1199
966
|
# @param request [Temporalio::Api::WorkflowService::V1::RespondNexusTaskFailedRequest] API request.
|
1200
|
-
# @param
|
1201
|
-
# @param rpc_metadata [Hash<String, String>, nil] Headers to include on the RPC call.
|
1202
|
-
# @param rpc_timeout [Float, nil] Number of seconds before timeout.
|
967
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1203
968
|
# @return [Temporalio::Api::WorkflowService::V1::RespondNexusTaskFailedResponse] API response.
|
1204
|
-
def respond_nexus_task_failed(request,
|
969
|
+
def respond_nexus_task_failed(request, rpc_options: nil)
|
1205
970
|
invoke_rpc(
|
1206
971
|
rpc: 'respond_nexus_task_failed',
|
1207
972
|
request_class: Temporalio::Api::WorkflowService::V1::RespondNexusTaskFailedRequest,
|
1208
973
|
response_class: Temporalio::Api::WorkflowService::V1::RespondNexusTaskFailedResponse,
|
1209
974
|
request:,
|
1210
|
-
|
1211
|
-
|
1212
|
-
|
975
|
+
rpc_options:
|
976
|
+
)
|
977
|
+
end
|
978
|
+
|
979
|
+
# Calls WorkflowService.UpdateActivityOptionsById API call.
|
980
|
+
#
|
981
|
+
# @param request [Temporalio::Api::WorkflowService::V1::UpdateActivityOptionsByIdRequest] API request.
|
982
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
983
|
+
# @return [Temporalio::Api::WorkflowService::V1::UpdateActivityOptionsByIdResponse] API response.
|
984
|
+
def update_activity_options_by_id(request, rpc_options: nil)
|
985
|
+
invoke_rpc(
|
986
|
+
rpc: 'update_activity_options_by_id',
|
987
|
+
request_class: Temporalio::Api::WorkflowService::V1::UpdateActivityOptionsByIdRequest,
|
988
|
+
response_class: Temporalio::Api::WorkflowService::V1::UpdateActivityOptionsByIdResponse,
|
989
|
+
request:,
|
990
|
+
rpc_options:
|
991
|
+
)
|
992
|
+
end
|
993
|
+
|
994
|
+
# Calls WorkflowService.PauseActivityById API call.
|
995
|
+
#
|
996
|
+
# @param request [Temporalio::Api::WorkflowService::V1::PauseActivityByIdRequest] API request.
|
997
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
998
|
+
# @return [Temporalio::Api::WorkflowService::V1::PauseActivityByIdResponse] API response.
|
999
|
+
def pause_activity_by_id(request, rpc_options: nil)
|
1000
|
+
invoke_rpc(
|
1001
|
+
rpc: 'pause_activity_by_id',
|
1002
|
+
request_class: Temporalio::Api::WorkflowService::V1::PauseActivityByIdRequest,
|
1003
|
+
response_class: Temporalio::Api::WorkflowService::V1::PauseActivityByIdResponse,
|
1004
|
+
request:,
|
1005
|
+
rpc_options:
|
1006
|
+
)
|
1007
|
+
end
|
1008
|
+
|
1009
|
+
# Calls WorkflowService.UnpauseActivityById API call.
|
1010
|
+
#
|
1011
|
+
# @param request [Temporalio::Api::WorkflowService::V1::UnpauseActivityByIdRequest] API request.
|
1012
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1013
|
+
# @return [Temporalio::Api::WorkflowService::V1::UnpauseActivityByIdResponse] API response.
|
1014
|
+
def unpause_activity_by_id(request, rpc_options: nil)
|
1015
|
+
invoke_rpc(
|
1016
|
+
rpc: 'unpause_activity_by_id',
|
1017
|
+
request_class: Temporalio::Api::WorkflowService::V1::UnpauseActivityByIdRequest,
|
1018
|
+
response_class: Temporalio::Api::WorkflowService::V1::UnpauseActivityByIdResponse,
|
1019
|
+
request:,
|
1020
|
+
rpc_options:
|
1021
|
+
)
|
1022
|
+
end
|
1023
|
+
|
1024
|
+
# Calls WorkflowService.ResetActivityById API call.
|
1025
|
+
#
|
1026
|
+
# @param request [Temporalio::Api::WorkflowService::V1::ResetActivityByIdRequest] API request.
|
1027
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1028
|
+
# @return [Temporalio::Api::WorkflowService::V1::ResetActivityByIdResponse] API response.
|
1029
|
+
def reset_activity_by_id(request, rpc_options: nil)
|
1030
|
+
invoke_rpc(
|
1031
|
+
rpc: 'reset_activity_by_id',
|
1032
|
+
request_class: Temporalio::Api::WorkflowService::V1::ResetActivityByIdRequest,
|
1033
|
+
response_class: Temporalio::Api::WorkflowService::V1::ResetActivityByIdResponse,
|
1034
|
+
request:,
|
1035
|
+
rpc_options:
|
1213
1036
|
)
|
1214
1037
|
end
|
1215
1038
|
end
|