temporalio 0.2.0 → 0.4.0
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/Cargo.lock +980 -583
- data/Cargo.toml +2 -2
- data/Gemfile +7 -3
- data/README.md +769 -54
- data/Rakefile +10 -296
- data/ext/Cargo.toml +2 -0
- data/lib/temporalio/activity/complete_async_error.rb +1 -1
- data/lib/temporalio/activity/context.rb +18 -2
- data/lib/temporalio/activity/definition.rb +180 -65
- data/lib/temporalio/activity/info.rb +25 -21
- data/lib/temporalio/activity.rb +2 -59
- data/lib/temporalio/api/activity/v1/message.rb +25 -0
- data/lib/temporalio/api/batch/v1/message.rb +6 -1
- 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/command/v1/message.rb +1 -1
- data/lib/temporalio/api/common/v1/message.rb +8 -1
- data/lib/temporalio/api/deployment/v1/message.rb +38 -0
- data/lib/temporalio/api/enums/v1/batch_operation.rb +1 -1
- data/lib/temporalio/api/enums/v1/common.rb +1 -1
- data/lib/temporalio/api/enums/v1/deployment.rb +23 -0
- 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/nexus.rb +21 -0
- data/lib/temporalio/api/enums/v1/reset.rb +1 -1
- data/lib/temporalio/api/enums/v1/workflow.rb +2 -1
- data/lib/temporalio/api/errordetails/v1/message.rb +3 -1
- data/lib/temporalio/api/failure/v1/message.rb +3 -1
- data/lib/temporalio/api/history/v1/message.rb +3 -1
- data/lib/temporalio/api/nexus/v1/message.rb +3 -2
- data/lib/temporalio/api/operatorservice/v1/service.rb +1 -1
- data/lib/temporalio/api/payload_visitor.rb +1581 -0
- data/lib/temporalio/api/query/v1/message.rb +2 -1
- data/lib/temporalio/api/schedule/v1/message.rb +2 -1
- data/lib/temporalio/api/taskqueue/v1/message.rb +4 -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 +9 -1
- data/lib/temporalio/api/workflowservice/v1/request_response.rb +46 -2
- data/lib/temporalio/api/workflowservice/v1/service.rb +1 -1
- data/lib/temporalio/api.rb +2 -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 +474 -441
- data/lib/temporalio/client/connection.rb +90 -44
- data/lib/temporalio/client/interceptor.rb +199 -60
- data/lib/temporalio/client/schedule.rb +991 -0
- data/lib/temporalio/client/schedule_handle.rb +126 -0
- data/lib/temporalio/client/with_start_workflow_operation.rb +115 -0
- data/lib/temporalio/client/workflow_execution.rb +26 -10
- data/lib/temporalio/client/workflow_handle.rb +41 -98
- data/lib/temporalio/client/workflow_update_handle.rb +3 -5
- data/lib/temporalio/client.rb +247 -44
- data/lib/temporalio/common_enums.rb +17 -0
- data/lib/temporalio/contrib/open_telemetry.rb +470 -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 +11 -2
- data/lib/temporalio/internal/bridge/api/activity_task/activity_task.rb +1 -1
- data/lib/temporalio/internal/bridge/api/common/common.rb +2 -1
- 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/api/workflow_completion/workflow_completion.rb +2 -1
- data/lib/temporalio/internal/bridge/client.rb +11 -6
- data/lib/temporalio/internal/bridge/runtime.rb +3 -0
- data/lib/temporalio/internal/bridge/testing.rb +23 -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 +468 -71
- data/lib/temporalio/internal/metric.rb +122 -0
- data/lib/temporalio/internal/proto_utils.rb +118 -7
- data/lib/temporalio/internal/worker/activity_worker.rb +69 -29
- data/lib/temporalio/internal/worker/multi_runner.rb +53 -9
- data/lib/temporalio/internal/worker/workflow_instance/child_workflow_handle.rb +54 -0
- data/lib/temporalio/internal/worker/workflow_instance/context.rb +383 -0
- data/lib/temporalio/internal/worker/workflow_instance/details.rb +46 -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 +400 -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 +183 -0
- data/lib/temporalio/internal/worker/workflow_instance.rb +774 -0
- data/lib/temporalio/internal/worker/workflow_worker.rb +239 -0
- data/lib/temporalio/metric.rb +109 -0
- data/lib/temporalio/retry_policy.rb +37 -14
- data/lib/temporalio/runtime/metric_buffer.rb +94 -0
- data/lib/temporalio/runtime.rb +160 -79
- data/lib/temporalio/search_attributes.rb +93 -37
- data/lib/temporalio/testing/activity_environment.rb +44 -16
- data/lib/temporalio/testing/workflow_environment.rb +276 -7
- 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 +343 -66
- data/lib/temporalio/worker/thread_pool.rb +237 -0
- data/lib/temporalio/worker/tuner.rb +38 -0
- data/lib/temporalio/worker/workflow_executor/thread_pool.rb +235 -0
- data/lib/temporalio/worker/workflow_executor.rb +26 -0
- data/lib/temporalio/worker/workflow_replayer.rb +350 -0
- data/lib/temporalio/worker.rb +235 -58
- 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 +598 -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 +104 -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 +575 -0
- data/lib/temporalio/workflow_history.rb +26 -1
- data/lib/temporalio.rb +4 -0
- data/temporalio.gemspec +4 -3
- metadata +73 -10
@@ -19,1197 +19,1230 @@ 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
|
-
|
1041
|
-
|
840
|
+
rpc_options:
|
841
|
+
)
|
842
|
+
end
|
843
|
+
|
844
|
+
# Calls WorkflowService.DescribeDeployment API call.
|
845
|
+
#
|
846
|
+
# @param request [Temporalio::Api::WorkflowService::V1::DescribeDeploymentRequest] API request.
|
847
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
848
|
+
# @return [Temporalio::Api::WorkflowService::V1::DescribeDeploymentResponse] API response.
|
849
|
+
def describe_deployment(request, rpc_options: nil)
|
850
|
+
invoke_rpc(
|
851
|
+
rpc: 'describe_deployment',
|
852
|
+
request_class: Temporalio::Api::WorkflowService::V1::DescribeDeploymentRequest,
|
853
|
+
response_class: Temporalio::Api::WorkflowService::V1::DescribeDeploymentResponse,
|
854
|
+
request:,
|
855
|
+
rpc_options:
|
856
|
+
)
|
857
|
+
end
|
858
|
+
|
859
|
+
# Calls WorkflowService.DescribeWorkerDeploymentVersion API call.
|
860
|
+
#
|
861
|
+
# @param request [Temporalio::Api::WorkflowService::V1::DescribeWorkerDeploymentVersionRequest] API request.
|
862
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
863
|
+
# @return [Temporalio::Api::WorkflowService::V1::DescribeWorkerDeploymentVersionResponse] API response.
|
864
|
+
def describe_worker_deployment_version(request, rpc_options: nil)
|
865
|
+
invoke_rpc(
|
866
|
+
rpc: 'describe_worker_deployment_version',
|
867
|
+
request_class: Temporalio::Api::WorkflowService::V1::DescribeWorkerDeploymentVersionRequest,
|
868
|
+
response_class: Temporalio::Api::WorkflowService::V1::DescribeWorkerDeploymentVersionResponse,
|
869
|
+
request:,
|
870
|
+
rpc_options:
|
871
|
+
)
|
872
|
+
end
|
873
|
+
|
874
|
+
# Calls WorkflowService.ListDeployments API call.
|
875
|
+
#
|
876
|
+
# @param request [Temporalio::Api::WorkflowService::V1::ListDeploymentsRequest] API request.
|
877
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
878
|
+
# @return [Temporalio::Api::WorkflowService::V1::ListDeploymentsResponse] API response.
|
879
|
+
def list_deployments(request, rpc_options: nil)
|
880
|
+
invoke_rpc(
|
881
|
+
rpc: 'list_deployments',
|
882
|
+
request_class: Temporalio::Api::WorkflowService::V1::ListDeploymentsRequest,
|
883
|
+
response_class: Temporalio::Api::WorkflowService::V1::ListDeploymentsResponse,
|
884
|
+
request:,
|
885
|
+
rpc_options:
|
886
|
+
)
|
887
|
+
end
|
888
|
+
|
889
|
+
# Calls WorkflowService.GetDeploymentReachability API call.
|
890
|
+
#
|
891
|
+
# @param request [Temporalio::Api::WorkflowService::V1::GetDeploymentReachabilityRequest] API request.
|
892
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
893
|
+
# @return [Temporalio::Api::WorkflowService::V1::GetDeploymentReachabilityResponse] API response.
|
894
|
+
def get_deployment_reachability(request, rpc_options: nil)
|
895
|
+
invoke_rpc(
|
896
|
+
rpc: 'get_deployment_reachability',
|
897
|
+
request_class: Temporalio::Api::WorkflowService::V1::GetDeploymentReachabilityRequest,
|
898
|
+
response_class: Temporalio::Api::WorkflowService::V1::GetDeploymentReachabilityResponse,
|
899
|
+
request:,
|
900
|
+
rpc_options:
|
901
|
+
)
|
902
|
+
end
|
903
|
+
|
904
|
+
# Calls WorkflowService.GetCurrentDeployment API call.
|
905
|
+
#
|
906
|
+
# @param request [Temporalio::Api::WorkflowService::V1::GetCurrentDeploymentRequest] API request.
|
907
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
908
|
+
# @return [Temporalio::Api::WorkflowService::V1::GetCurrentDeploymentResponse] API response.
|
909
|
+
def get_current_deployment(request, rpc_options: nil)
|
910
|
+
invoke_rpc(
|
911
|
+
rpc: 'get_current_deployment',
|
912
|
+
request_class: Temporalio::Api::WorkflowService::V1::GetCurrentDeploymentRequest,
|
913
|
+
response_class: Temporalio::Api::WorkflowService::V1::GetCurrentDeploymentResponse,
|
914
|
+
request:,
|
915
|
+
rpc_options:
|
916
|
+
)
|
917
|
+
end
|
918
|
+
|
919
|
+
# Calls WorkflowService.SetCurrentDeployment API call.
|
920
|
+
#
|
921
|
+
# @param request [Temporalio::Api::WorkflowService::V1::SetCurrentDeploymentRequest] API request.
|
922
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
923
|
+
# @return [Temporalio::Api::WorkflowService::V1::SetCurrentDeploymentResponse] API response.
|
924
|
+
def set_current_deployment(request, rpc_options: nil)
|
925
|
+
invoke_rpc(
|
926
|
+
rpc: 'set_current_deployment',
|
927
|
+
request_class: Temporalio::Api::WorkflowService::V1::SetCurrentDeploymentRequest,
|
928
|
+
response_class: Temporalio::Api::WorkflowService::V1::SetCurrentDeploymentResponse,
|
929
|
+
request:,
|
930
|
+
rpc_options:
|
931
|
+
)
|
932
|
+
end
|
933
|
+
|
934
|
+
# Calls WorkflowService.SetWorkerDeploymentCurrentVersion API call.
|
935
|
+
#
|
936
|
+
# @param request [Temporalio::Api::WorkflowService::V1::SetWorkerDeploymentCurrentVersionRequest] API request.
|
937
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
938
|
+
# @return [Temporalio::Api::WorkflowService::V1::SetWorkerDeploymentCurrentVersionResponse] API response.
|
939
|
+
def set_worker_deployment_current_version(request, rpc_options: nil)
|
940
|
+
invoke_rpc(
|
941
|
+
rpc: 'set_worker_deployment_current_version',
|
942
|
+
request_class: Temporalio::Api::WorkflowService::V1::SetWorkerDeploymentCurrentVersionRequest,
|
943
|
+
response_class: Temporalio::Api::WorkflowService::V1::SetWorkerDeploymentCurrentVersionResponse,
|
944
|
+
request:,
|
945
|
+
rpc_options:
|
946
|
+
)
|
947
|
+
end
|
948
|
+
|
949
|
+
# Calls WorkflowService.DescribeWorkerDeployment API call.
|
950
|
+
#
|
951
|
+
# @param request [Temporalio::Api::WorkflowService::V1::DescribeWorkerDeploymentRequest] API request.
|
952
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
953
|
+
# @return [Temporalio::Api::WorkflowService::V1::DescribeWorkerDeploymentResponse] API response.
|
954
|
+
def describe_worker_deployment(request, rpc_options: nil)
|
955
|
+
invoke_rpc(
|
956
|
+
rpc: 'describe_worker_deployment',
|
957
|
+
request_class: Temporalio::Api::WorkflowService::V1::DescribeWorkerDeploymentRequest,
|
958
|
+
response_class: Temporalio::Api::WorkflowService::V1::DescribeWorkerDeploymentResponse,
|
959
|
+
request:,
|
960
|
+
rpc_options:
|
961
|
+
)
|
962
|
+
end
|
963
|
+
|
964
|
+
# Calls WorkflowService.DeleteWorkerDeployment API call.
|
965
|
+
#
|
966
|
+
# @param request [Temporalio::Api::WorkflowService::V1::DeleteWorkerDeploymentRequest] API request.
|
967
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
968
|
+
# @return [Temporalio::Api::WorkflowService::V1::DeleteWorkerDeploymentResponse] API response.
|
969
|
+
def delete_worker_deployment(request, rpc_options: nil)
|
970
|
+
invoke_rpc(
|
971
|
+
rpc: 'delete_worker_deployment',
|
972
|
+
request_class: Temporalio::Api::WorkflowService::V1::DeleteWorkerDeploymentRequest,
|
973
|
+
response_class: Temporalio::Api::WorkflowService::V1::DeleteWorkerDeploymentResponse,
|
974
|
+
request:,
|
975
|
+
rpc_options:
|
976
|
+
)
|
977
|
+
end
|
978
|
+
|
979
|
+
# Calls WorkflowService.DeleteWorkerDeploymentVersion API call.
|
980
|
+
#
|
981
|
+
# @param request [Temporalio::Api::WorkflowService::V1::DeleteWorkerDeploymentVersionRequest] API request.
|
982
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
983
|
+
# @return [Temporalio::Api::WorkflowService::V1::DeleteWorkerDeploymentVersionResponse] API response.
|
984
|
+
def delete_worker_deployment_version(request, rpc_options: nil)
|
985
|
+
invoke_rpc(
|
986
|
+
rpc: 'delete_worker_deployment_version',
|
987
|
+
request_class: Temporalio::Api::WorkflowService::V1::DeleteWorkerDeploymentVersionRequest,
|
988
|
+
response_class: Temporalio::Api::WorkflowService::V1::DeleteWorkerDeploymentVersionResponse,
|
989
|
+
request:,
|
990
|
+
rpc_options:
|
991
|
+
)
|
992
|
+
end
|
993
|
+
|
994
|
+
# Calls WorkflowService.SetWorkerDeploymentRampingVersion API call.
|
995
|
+
#
|
996
|
+
# @param request [Temporalio::Api::WorkflowService::V1::SetWorkerDeploymentRampingVersionRequest] API request.
|
997
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
998
|
+
# @return [Temporalio::Api::WorkflowService::V1::SetWorkerDeploymentRampingVersionResponse] API response.
|
999
|
+
def set_worker_deployment_ramping_version(request, rpc_options: nil)
|
1000
|
+
invoke_rpc(
|
1001
|
+
rpc: 'set_worker_deployment_ramping_version',
|
1002
|
+
request_class: Temporalio::Api::WorkflowService::V1::SetWorkerDeploymentRampingVersionRequest,
|
1003
|
+
response_class: Temporalio::Api::WorkflowService::V1::SetWorkerDeploymentRampingVersionResponse,
|
1004
|
+
request:,
|
1005
|
+
rpc_options:
|
1006
|
+
)
|
1007
|
+
end
|
1008
|
+
|
1009
|
+
# Calls WorkflowService.ListWorkerDeployments API call.
|
1010
|
+
#
|
1011
|
+
# @param request [Temporalio::Api::WorkflowService::V1::ListWorkerDeploymentsRequest] API request.
|
1012
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1013
|
+
# @return [Temporalio::Api::WorkflowService::V1::ListWorkerDeploymentsResponse] API response.
|
1014
|
+
def list_worker_deployments(request, rpc_options: nil)
|
1015
|
+
invoke_rpc(
|
1016
|
+
rpc: 'list_worker_deployments',
|
1017
|
+
request_class: Temporalio::Api::WorkflowService::V1::ListWorkerDeploymentsRequest,
|
1018
|
+
response_class: Temporalio::Api::WorkflowService::V1::ListWorkerDeploymentsResponse,
|
1019
|
+
request:,
|
1020
|
+
rpc_options:
|
1021
|
+
)
|
1022
|
+
end
|
1023
|
+
|
1024
|
+
# Calls WorkflowService.UpdateWorkerDeploymentVersionMetadata API call.
|
1025
|
+
#
|
1026
|
+
# @param request [Temporalio::Api::WorkflowService::V1::UpdateWorkerDeploymentVersionMetadataRequest] API request.
|
1027
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1028
|
+
# @return [Temporalio::Api::WorkflowService::V1::UpdateWorkerDeploymentVersionMetadataResponse] API response.
|
1029
|
+
def update_worker_deployment_version_metadata(request, rpc_options: nil)
|
1030
|
+
invoke_rpc(
|
1031
|
+
rpc: 'update_worker_deployment_version_metadata',
|
1032
|
+
request_class: Temporalio::Api::WorkflowService::V1::UpdateWorkerDeploymentVersionMetadataRequest,
|
1033
|
+
response_class: Temporalio::Api::WorkflowService::V1::UpdateWorkerDeploymentVersionMetadataResponse,
|
1034
|
+
request:,
|
1035
|
+
rpc_options:
|
1042
1036
|
)
|
1043
1037
|
end
|
1044
1038
|
|
1045
1039
|
# Calls WorkflowService.UpdateWorkflowExecution API call.
|
1046
1040
|
#
|
1047
1041
|
# @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.
|
1042
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1051
1043
|
# @return [Temporalio::Api::WorkflowService::V1::UpdateWorkflowExecutionResponse] API response.
|
1052
|
-
def update_workflow_execution(request,
|
1044
|
+
def update_workflow_execution(request, rpc_options: nil)
|
1053
1045
|
invoke_rpc(
|
1054
1046
|
rpc: 'update_workflow_execution',
|
1055
1047
|
request_class: Temporalio::Api::WorkflowService::V1::UpdateWorkflowExecutionRequest,
|
1056
1048
|
response_class: Temporalio::Api::WorkflowService::V1::UpdateWorkflowExecutionResponse,
|
1057
1049
|
request:,
|
1058
|
-
|
1059
|
-
rpc_metadata:,
|
1060
|
-
rpc_timeout:
|
1050
|
+
rpc_options:
|
1061
1051
|
)
|
1062
1052
|
end
|
1063
1053
|
|
1064
1054
|
# Calls WorkflowService.PollWorkflowExecutionUpdate API call.
|
1065
1055
|
#
|
1066
1056
|
# @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.
|
1057
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1070
1058
|
# @return [Temporalio::Api::WorkflowService::V1::PollWorkflowExecutionUpdateResponse] API response.
|
1071
|
-
def poll_workflow_execution_update(request,
|
1059
|
+
def poll_workflow_execution_update(request, rpc_options: nil)
|
1072
1060
|
invoke_rpc(
|
1073
1061
|
rpc: 'poll_workflow_execution_update',
|
1074
1062
|
request_class: Temporalio::Api::WorkflowService::V1::PollWorkflowExecutionUpdateRequest,
|
1075
1063
|
response_class: Temporalio::Api::WorkflowService::V1::PollWorkflowExecutionUpdateResponse,
|
1076
1064
|
request:,
|
1077
|
-
|
1078
|
-
rpc_metadata:,
|
1079
|
-
rpc_timeout:
|
1065
|
+
rpc_options:
|
1080
1066
|
)
|
1081
1067
|
end
|
1082
1068
|
|
1083
1069
|
# Calls WorkflowService.StartBatchOperation API call.
|
1084
1070
|
#
|
1085
1071
|
# @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.
|
1072
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1089
1073
|
# @return [Temporalio::Api::WorkflowService::V1::StartBatchOperationResponse] API response.
|
1090
|
-
def start_batch_operation(request,
|
1074
|
+
def start_batch_operation(request, rpc_options: nil)
|
1091
1075
|
invoke_rpc(
|
1092
1076
|
rpc: 'start_batch_operation',
|
1093
1077
|
request_class: Temporalio::Api::WorkflowService::V1::StartBatchOperationRequest,
|
1094
1078
|
response_class: Temporalio::Api::WorkflowService::V1::StartBatchOperationResponse,
|
1095
1079
|
request:,
|
1096
|
-
|
1097
|
-
rpc_metadata:,
|
1098
|
-
rpc_timeout:
|
1080
|
+
rpc_options:
|
1099
1081
|
)
|
1100
1082
|
end
|
1101
1083
|
|
1102
1084
|
# Calls WorkflowService.StopBatchOperation API call.
|
1103
1085
|
#
|
1104
1086
|
# @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.
|
1087
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1108
1088
|
# @return [Temporalio::Api::WorkflowService::V1::StopBatchOperationResponse] API response.
|
1109
|
-
def stop_batch_operation(request,
|
1089
|
+
def stop_batch_operation(request, rpc_options: nil)
|
1110
1090
|
invoke_rpc(
|
1111
1091
|
rpc: 'stop_batch_operation',
|
1112
1092
|
request_class: Temporalio::Api::WorkflowService::V1::StopBatchOperationRequest,
|
1113
1093
|
response_class: Temporalio::Api::WorkflowService::V1::StopBatchOperationResponse,
|
1114
1094
|
request:,
|
1115
|
-
|
1116
|
-
rpc_metadata:,
|
1117
|
-
rpc_timeout:
|
1095
|
+
rpc_options:
|
1118
1096
|
)
|
1119
1097
|
end
|
1120
1098
|
|
1121
1099
|
# Calls WorkflowService.DescribeBatchOperation API call.
|
1122
1100
|
#
|
1123
1101
|
# @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.
|
1102
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1127
1103
|
# @return [Temporalio::Api::WorkflowService::V1::DescribeBatchOperationResponse] API response.
|
1128
|
-
def describe_batch_operation(request,
|
1104
|
+
def describe_batch_operation(request, rpc_options: nil)
|
1129
1105
|
invoke_rpc(
|
1130
1106
|
rpc: 'describe_batch_operation',
|
1131
1107
|
request_class: Temporalio::Api::WorkflowService::V1::DescribeBatchOperationRequest,
|
1132
1108
|
response_class: Temporalio::Api::WorkflowService::V1::DescribeBatchOperationResponse,
|
1133
1109
|
request:,
|
1134
|
-
|
1135
|
-
rpc_metadata:,
|
1136
|
-
rpc_timeout:
|
1110
|
+
rpc_options:
|
1137
1111
|
)
|
1138
1112
|
end
|
1139
1113
|
|
1140
1114
|
# Calls WorkflowService.ListBatchOperations API call.
|
1141
1115
|
#
|
1142
1116
|
# @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.
|
1117
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1146
1118
|
# @return [Temporalio::Api::WorkflowService::V1::ListBatchOperationsResponse] API response.
|
1147
|
-
def list_batch_operations(request,
|
1119
|
+
def list_batch_operations(request, rpc_options: nil)
|
1148
1120
|
invoke_rpc(
|
1149
1121
|
rpc: 'list_batch_operations',
|
1150
1122
|
request_class: Temporalio::Api::WorkflowService::V1::ListBatchOperationsRequest,
|
1151
1123
|
response_class: Temporalio::Api::WorkflowService::V1::ListBatchOperationsResponse,
|
1152
1124
|
request:,
|
1153
|
-
|
1154
|
-
rpc_metadata:,
|
1155
|
-
rpc_timeout:
|
1125
|
+
rpc_options:
|
1156
1126
|
)
|
1157
1127
|
end
|
1158
1128
|
|
1159
1129
|
# Calls WorkflowService.PollNexusTaskQueue API call.
|
1160
1130
|
#
|
1161
1131
|
# @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.
|
1132
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1165
1133
|
# @return [Temporalio::Api::WorkflowService::V1::PollNexusTaskQueueResponse] API response.
|
1166
|
-
def poll_nexus_task_queue(request,
|
1134
|
+
def poll_nexus_task_queue(request, rpc_options: nil)
|
1167
1135
|
invoke_rpc(
|
1168
1136
|
rpc: 'poll_nexus_task_queue',
|
1169
1137
|
request_class: Temporalio::Api::WorkflowService::V1::PollNexusTaskQueueRequest,
|
1170
1138
|
response_class: Temporalio::Api::WorkflowService::V1::PollNexusTaskQueueResponse,
|
1171
1139
|
request:,
|
1172
|
-
|
1173
|
-
rpc_metadata:,
|
1174
|
-
rpc_timeout:
|
1140
|
+
rpc_options:
|
1175
1141
|
)
|
1176
1142
|
end
|
1177
1143
|
|
1178
1144
|
# Calls WorkflowService.RespondNexusTaskCompleted API call.
|
1179
1145
|
#
|
1180
1146
|
# @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.
|
1147
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1184
1148
|
# @return [Temporalio::Api::WorkflowService::V1::RespondNexusTaskCompletedResponse] API response.
|
1185
|
-
def respond_nexus_task_completed(request,
|
1149
|
+
def respond_nexus_task_completed(request, rpc_options: nil)
|
1186
1150
|
invoke_rpc(
|
1187
1151
|
rpc: 'respond_nexus_task_completed',
|
1188
1152
|
request_class: Temporalio::Api::WorkflowService::V1::RespondNexusTaskCompletedRequest,
|
1189
1153
|
response_class: Temporalio::Api::WorkflowService::V1::RespondNexusTaskCompletedResponse,
|
1190
1154
|
request:,
|
1191
|
-
|
1192
|
-
rpc_metadata:,
|
1193
|
-
rpc_timeout:
|
1155
|
+
rpc_options:
|
1194
1156
|
)
|
1195
1157
|
end
|
1196
1158
|
|
1197
1159
|
# Calls WorkflowService.RespondNexusTaskFailed API call.
|
1198
1160
|
#
|
1199
1161
|
# @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.
|
1162
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1203
1163
|
# @return [Temporalio::Api::WorkflowService::V1::RespondNexusTaskFailedResponse] API response.
|
1204
|
-
def respond_nexus_task_failed(request,
|
1164
|
+
def respond_nexus_task_failed(request, rpc_options: nil)
|
1205
1165
|
invoke_rpc(
|
1206
1166
|
rpc: 'respond_nexus_task_failed',
|
1207
1167
|
request_class: Temporalio::Api::WorkflowService::V1::RespondNexusTaskFailedRequest,
|
1208
1168
|
response_class: Temporalio::Api::WorkflowService::V1::RespondNexusTaskFailedResponse,
|
1209
1169
|
request:,
|
1210
|
-
|
1211
|
-
|
1212
|
-
|
1170
|
+
rpc_options:
|
1171
|
+
)
|
1172
|
+
end
|
1173
|
+
|
1174
|
+
# Calls WorkflowService.UpdateActivityOptions API call.
|
1175
|
+
#
|
1176
|
+
# @param request [Temporalio::Api::WorkflowService::V1::UpdateActivityOptionsRequest] API request.
|
1177
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1178
|
+
# @return [Temporalio::Api::WorkflowService::V1::UpdateActivityOptionsResponse] API response.
|
1179
|
+
def update_activity_options(request, rpc_options: nil)
|
1180
|
+
invoke_rpc(
|
1181
|
+
rpc: 'update_activity_options',
|
1182
|
+
request_class: Temporalio::Api::WorkflowService::V1::UpdateActivityOptionsRequest,
|
1183
|
+
response_class: Temporalio::Api::WorkflowService::V1::UpdateActivityOptionsResponse,
|
1184
|
+
request:,
|
1185
|
+
rpc_options:
|
1186
|
+
)
|
1187
|
+
end
|
1188
|
+
|
1189
|
+
# Calls WorkflowService.UpdateWorkflowExecutionOptions API call.
|
1190
|
+
#
|
1191
|
+
# @param request [Temporalio::Api::WorkflowService::V1::UpdateWorkflowExecutionOptionsRequest] API request.
|
1192
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1193
|
+
# @return [Temporalio::Api::WorkflowService::V1::UpdateWorkflowExecutionOptionsResponse] API response.
|
1194
|
+
def update_workflow_execution_options(request, rpc_options: nil)
|
1195
|
+
invoke_rpc(
|
1196
|
+
rpc: 'update_workflow_execution_options',
|
1197
|
+
request_class: Temporalio::Api::WorkflowService::V1::UpdateWorkflowExecutionOptionsRequest,
|
1198
|
+
response_class: Temporalio::Api::WorkflowService::V1::UpdateWorkflowExecutionOptionsResponse,
|
1199
|
+
request:,
|
1200
|
+
rpc_options:
|
1201
|
+
)
|
1202
|
+
end
|
1203
|
+
|
1204
|
+
# Calls WorkflowService.PauseActivity API call.
|
1205
|
+
#
|
1206
|
+
# @param request [Temporalio::Api::WorkflowService::V1::PauseActivityRequest] API request.
|
1207
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1208
|
+
# @return [Temporalio::Api::WorkflowService::V1::PauseActivityResponse] API response.
|
1209
|
+
def pause_activity(request, rpc_options: nil)
|
1210
|
+
invoke_rpc(
|
1211
|
+
rpc: 'pause_activity',
|
1212
|
+
request_class: Temporalio::Api::WorkflowService::V1::PauseActivityRequest,
|
1213
|
+
response_class: Temporalio::Api::WorkflowService::V1::PauseActivityResponse,
|
1214
|
+
request:,
|
1215
|
+
rpc_options:
|
1216
|
+
)
|
1217
|
+
end
|
1218
|
+
|
1219
|
+
# Calls WorkflowService.UnpauseActivity API call.
|
1220
|
+
#
|
1221
|
+
# @param request [Temporalio::Api::WorkflowService::V1::UnpauseActivityRequest] API request.
|
1222
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1223
|
+
# @return [Temporalio::Api::WorkflowService::V1::UnpauseActivityResponse] API response.
|
1224
|
+
def unpause_activity(request, rpc_options: nil)
|
1225
|
+
invoke_rpc(
|
1226
|
+
rpc: 'unpause_activity',
|
1227
|
+
request_class: Temporalio::Api::WorkflowService::V1::UnpauseActivityRequest,
|
1228
|
+
response_class: Temporalio::Api::WorkflowService::V1::UnpauseActivityResponse,
|
1229
|
+
request:,
|
1230
|
+
rpc_options:
|
1231
|
+
)
|
1232
|
+
end
|
1233
|
+
|
1234
|
+
# Calls WorkflowService.ResetActivity API call.
|
1235
|
+
#
|
1236
|
+
# @param request [Temporalio::Api::WorkflowService::V1::ResetActivityRequest] API request.
|
1237
|
+
# @param rpc_options [RPCOptions, nil] Advanced RPC options.
|
1238
|
+
# @return [Temporalio::Api::WorkflowService::V1::ResetActivityResponse] API response.
|
1239
|
+
def reset_activity(request, rpc_options: nil)
|
1240
|
+
invoke_rpc(
|
1241
|
+
rpc: 'reset_activity',
|
1242
|
+
request_class: Temporalio::Api::WorkflowService::V1::ResetActivityRequest,
|
1243
|
+
response_class: Temporalio::Api::WorkflowService::V1::ResetActivityResponse,
|
1244
|
+
request:,
|
1245
|
+
rpc_options:
|
1213
1246
|
)
|
1214
1247
|
end
|
1215
1248
|
end
|