temporalio 1.6.0 → 1.6.1.test.only.rc2

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.

Potentially problematic release.


This version of temporalio might be problematic. Click here for more details.

Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +9 -17
  3. data/lib/temporalio/api/activity/v1/message.rb +1 -1
  4. data/lib/temporalio/api/batch/v1/message.rb +4 -1
  5. data/lib/temporalio/api/command/v1/message.rb +2 -1
  6. data/lib/temporalio/api/common/v1/message.rb +2 -1
  7. data/lib/temporalio/api/enums/v1/activity.rb +1 -1
  8. data/lib/temporalio/api/enums/v1/batch_operation.rb +1 -1
  9. data/lib/temporalio/api/enums/v1/common.rb +2 -1
  10. data/lib/temporalio/api/enums/v1/failed_cause.rb +1 -1
  11. data/lib/temporalio/api/errordetails/v1/message.rb +2 -1
  12. data/lib/temporalio/api/history/v1/message.rb +1 -1
  13. data/lib/temporalio/api/namespace/v1/message.rb +1 -1
  14. data/lib/temporalio/api/taskqueue/v1/message.rb +2 -1
  15. data/lib/temporalio/api/workflowservice/v1/request_response.rb +1 -1
  16. data/lib/temporalio/client/connection.rb +33 -3
  17. data/lib/temporalio/client/schedule.rb +4 -5
  18. data/lib/temporalio/client/workflow_execution.rb +2 -2
  19. data/lib/temporalio/client/workflow_handle.rb +13 -7
  20. data/lib/temporalio/client.rb +4 -6
  21. data/lib/temporalio/internal/bridge/client.rb +3 -1
  22. data/lib/temporalio/internal/bridge/worker.rb +3 -1
  23. data/lib/temporalio/internal/worker/workflow_instance/illegal_call_tracer.rb +9 -0
  24. data/lib/temporalio/runtime.rb +2 -2
  25. data/lib/temporalio/version.rb +1 -1
  26. data/lib/temporalio/worker/workflow_replayer.rb +2 -0
  27. data/lib/temporalio/worker.rb +24 -4
  28. data/lib/temporalio/workflow.rb +8 -9
  29. data/rbi/temporalio/api/activity/v1/message.rbi +78 -12
  30. data/rbi/temporalio/api/batch/v1/message.rbi +229 -2
  31. data/rbi/temporalio/api/command/v1/message.rbi +22 -2
  32. data/rbi/temporalio/api/common/v1/message.rbi +100 -8
  33. data/rbi/temporalio/api/enums/v1/activity.rbi +1 -0
  34. data/rbi/temporalio/api/enums/v1/batch_operation.rbi +9 -0
  35. data/rbi/temporalio/api/enums/v1/common.rbi +18 -0
  36. data/rbi/temporalio/api/enums/v1/failed_cause.rbi +3 -0
  37. data/rbi/temporalio/api/errordetails/v1/message.rbi +59 -2
  38. data/rbi/temporalio/api/history/v1/message.rbi +22 -2
  39. data/rbi/temporalio/api/namespace/v1/message.rbi +70 -2
  40. data/rbi/temporalio/api/taskqueue/v1/message.rbi +113 -2
  41. data/rbi/temporalio/api/workflowservice/v1/request_response.rbi +379 -57
  42. data/rbi/temporalio/client/connection.rbi +2 -0
  43. data/rbi/temporalio/internal/bridge/worker.rbi +2 -0
  44. data/rbi/temporalio/worker.rbi +9 -2
  45. data/rbi/temporalio/workflow/future.rbi +1 -1
  46. data/sig/temporalio/api/activity/v1/message.rbs +37 -2
  47. data/sig/temporalio/api/batch/v1/message.rbs +86 -0
  48. data/sig/temporalio/api/command/v1/message.rbs +10 -0
  49. data/sig/temporalio/api/common/v1/message.rbs +47 -7
  50. data/sig/temporalio/api/enums/v1/activity.rbs +9 -5
  51. data/sig/temporalio/api/enums/v1/batch_operation.rbs +33 -3
  52. data/sig/temporalio/api/enums/v1/common.rbs +23 -0
  53. data/sig/temporalio/api/enums/v1/failed_cause.rbs +15 -6
  54. data/sig/temporalio/api/errordetails/v1/message.rbs +19 -0
  55. data/sig/temporalio/api/history/v1/message.rbs +10 -0
  56. data/sig/temporalio/api/namespace/v1/message.rbs +32 -0
  57. data/sig/temporalio/api/taskqueue/v1/message.rbs +44 -0
  58. data/sig/temporalio/api/workflowservice/v1/request_response.rbs +174 -18
  59. data/sig/temporalio/client/connection.rbs +14 -1
  60. data/sig/temporalio/internal/bridge/client.rbs +5 -1
  61. data/sig/temporalio/internal/bridge/worker.rbs +5 -1
  62. data/sig/temporalio/worker.rbs +8 -2
  63. metadata +1 -1
@@ -262,12 +262,22 @@ module Temporalio
262
262
  attr_accessor failover_history(): ::Google::Protobuf::RepeatedField
263
263
  def clear_failover_history: () -> void
264
264
 
265
+ # Deprecated. Use `poller_groups_info` instead, which carries a version so the client can
266
+ # ignore stale updates.
265
267
  # The initial info that client should use for poller group assignment. This information is
266
268
  # updated through poll response. Client is supposed to use the info received in the latest
267
269
  # poll response.
270
+ # @deprecated
268
271
  attr_accessor poller_group_infos(): ::Google::Protobuf::RepeatedField
269
272
  def clear_poller_group_infos: () -> void
270
273
 
274
+ # The initial, versioned info that client should use for poller group assignment. This
275
+ # information is updated through poll responses. Client is supposed to use the info with the
276
+ # highest version it has received.
277
+ attr_accessor poller_groups_info(): ::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo?
278
+ def has_poller_groups_info?: () -> bool
279
+ def clear_poller_groups_info: () -> void
280
+
271
281
  type init_map = {
272
282
  namespace_info: (::Temporalio::Api::Namespace::V1::NamespaceInfo | ::Temporalio::Api::Namespace::V1::NamespaceInfo::init_map)?,
273
283
  "namespace_info" => (::Temporalio::Api::Namespace::V1::NamespaceInfo | ::Temporalio::Api::Namespace::V1::NamespaceInfo::init_map)?,
@@ -283,6 +293,8 @@ module Temporalio
283
293
  "failover_history" => ::Array[::Temporalio::Api::Replication::V1::FailoverStatus]?,
284
294
  poller_group_infos: ::Array[::Temporalio::Api::TaskQueue::V1::PollerGroupInfo]?,
285
295
  "poller_group_infos" => ::Array[::Temporalio::Api::TaskQueue::V1::PollerGroupInfo]?,
296
+ poller_groups_info: (::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo | ::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo::init_map)?,
297
+ "poller_groups_info" => (::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo | ::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo::init_map)?,
286
298
  }
287
299
 
288
300
  def initialize: (?init_map initial_value) -> void
@@ -295,6 +307,7 @@ module Temporalio
295
307
  | ("is_global_namespace" name) -> bool
296
308
  | ("failover_history" name) -> ::Google::Protobuf::RepeatedField
297
309
  | ("poller_group_infos" name) -> ::Google::Protobuf::RepeatedField
310
+ | ("poller_groups_info" name) -> ::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo?
298
311
 
299
312
  def []=:
300
313
  ("namespace_info" name, ::Temporalio::Api::Namespace::V1::NamespaceInfo? value) -> void
@@ -304,6 +317,7 @@ module Temporalio
304
317
  | ("is_global_namespace" name, bool value) -> void
305
318
  | ("failover_history" name, ::Google::Protobuf::RepeatedField value) -> void
306
319
  | ("poller_group_infos" name, ::Google::Protobuf::RepeatedField value) -> void
320
+ | ("poller_groups_info" name, ::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo? value) -> void
307
321
  end
308
322
 
309
323
  class UpdateNamespaceRequest < ::Google::Protobuf::AbstractMessage
@@ -571,8 +585,8 @@ module Temporalio
571
585
  def has_last_completion_result?: () -> bool
572
586
  def clear_last_completion_result: () -> void
573
587
 
574
- # Time to wait before dispatching the first workflow task. Cannot be used with `cron_schedule`.
575
- # If the workflow gets a signal before the delay, a workflow task will be dispatched and the rest
588
+ # Time to wait before making the first workflow task available for dispatch. Cannot be used with `cron_schedule`.
589
+ # If the workflow gets a signal before the delay, a workflow task will be made available for dispatch and the rest
576
590
  # of the delay will be ignored.
577
591
  attr_reader workflow_start_delay(): ::Google::Protobuf::Duration?
578
592
  attr_writer workflow_start_delay(): (::Google::Protobuf::Duration | ::int)?
@@ -758,6 +772,11 @@ module Temporalio
758
772
  attr_writer run_id(): ::String | ::Symbol
759
773
  def clear_run_id: () -> void
760
774
 
775
+ # If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain.
776
+ attr_reader first_execution_run_id(): ::String
777
+ attr_writer first_execution_run_id(): ::String | ::Symbol
778
+ def clear_first_execution_run_id: () -> void
779
+
761
780
  # If true, a new workflow was started.
762
781
  attr_accessor started(): bool
763
782
  def clear_started: () -> void
@@ -784,6 +803,8 @@ module Temporalio
784
803
  type init_map = {
785
804
  run_id: (::String | ::Symbol)?,
786
805
  "run_id" => (::String | ::Symbol)?,
806
+ first_execution_run_id: (::String | ::Symbol)?,
807
+ "first_execution_run_id" => (::String | ::Symbol)?,
787
808
  started: bool?,
788
809
  "started" => bool?,
789
810
  status: (::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::names | ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::strings | ::Integer | ::Float)?,
@@ -798,6 +819,7 @@ module Temporalio
798
819
 
799
820
  def []:
800
821
  ("run_id" name) -> ::String
822
+ | ("first_execution_run_id" name) -> ::String
801
823
  | ("started" name) -> bool
802
824
  | ("status" name) -> (::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::names | ::Integer)
803
825
  | ("eager_workflow_task" name) -> ::Temporalio::Api::WorkflowService::V1::PollWorkflowTaskQueueResponse?
@@ -805,6 +827,7 @@ module Temporalio
805
827
 
806
828
  def []=:
807
829
  ("run_id" name, (::String | ::Symbol) value) -> void
830
+ | ("first_execution_run_id" name, (::String | ::Symbol) value) -> void
808
831
  | ("started" name, bool value) -> void
809
832
  | ("status" name, (::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::names | ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::strings | ::Integer | ::Float) value) -> void
810
833
  | ("eager_workflow_task" name, ::Temporalio::Api::WorkflowService::V1::PollWorkflowTaskQueueResponse? value) -> void
@@ -1204,15 +1227,29 @@ module Temporalio
1204
1227
  attr_writer poller_group_id(): ::String | ::Symbol
1205
1228
  def clear_poller_group_id: () -> void
1206
1229
 
1230
+ # Deprecated. Use `poller_groups_info` instead, which carries a version so the client can
1231
+ # ignore stale updates.
1207
1232
  # The weighted list of poller groups IDs that client should use for future polls to this task
1208
1233
  # queue. Client is expected to:
1209
1234
  # 1. Maintain minimum number of pollers no less than the number of groups.
1210
1235
  # 2. Try to assign the next poll to a group without any pending polls,
1211
1236
  # 3. If every group has some pending polls, assign the next poll to a group randomly
1212
1237
  # according to the weights.
1238
+ # @deprecated
1213
1239
  attr_accessor poller_group_infos(): ::Google::Protobuf::RepeatedField
1214
1240
  def clear_poller_group_infos: () -> void
1215
1241
 
1242
+ # The weighted, versioned list of poller groups IDs that client should use for future polls to
1243
+ # this task queue. Client should ignore this if it has already applied a snapshot with a
1244
+ # version greater than or equal to `poller_groups_info.version`. Client is expected to:
1245
+ # 1. Maintain minimum number of pollers no less than the number of groups.
1246
+ # 2. Try to assign the next poll to a group without any pending polls,
1247
+ # 3. If every group has some pending polls, assign the next poll to a group randomly
1248
+ # according to the weights.
1249
+ attr_accessor poller_groups_info(): ::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo?
1250
+ def has_poller_groups_info?: () -> bool
1251
+ def clear_poller_groups_info: () -> void
1252
+
1216
1253
  type init_map = {
1217
1254
  task_token: ::String?,
1218
1255
  "task_token" => ::String?,
@@ -1250,6 +1287,8 @@ module Temporalio
1250
1287
  "poller_group_id" => (::String | ::Symbol)?,
1251
1288
  poller_group_infos: ::Array[::Temporalio::Api::TaskQueue::V1::PollerGroupInfo]?,
1252
1289
  "poller_group_infos" => ::Array[::Temporalio::Api::TaskQueue::V1::PollerGroupInfo]?,
1290
+ poller_groups_info: (::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo | ::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo::init_map)?,
1291
+ "poller_groups_info" => (::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo | ::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo::init_map)?,
1253
1292
  }
1254
1293
 
1255
1294
  def initialize: (?init_map initial_value) -> void
@@ -1273,6 +1312,7 @@ module Temporalio
1273
1312
  | ("poller_scaling_decision" name) -> ::Temporalio::Api::TaskQueue::V1::PollerScalingDecision?
1274
1313
  | ("poller_group_id" name) -> ::String
1275
1314
  | ("poller_group_infos" name) -> ::Google::Protobuf::RepeatedField
1315
+ | ("poller_groups_info" name) -> ::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo?
1276
1316
 
1277
1317
  def []=:
1278
1318
  ("task_token" name, ::String value) -> void
@@ -1293,6 +1333,7 @@ module Temporalio
1293
1333
  | ("poller_scaling_decision" name, ::Temporalio::Api::TaskQueue::V1::PollerScalingDecision? value) -> void
1294
1334
  | ("poller_group_id" name, (::String | ::Symbol) value) -> void
1295
1335
  | ("poller_group_infos" name, ::Google::Protobuf::RepeatedField value) -> void
1336
+ | ("poller_groups_info" name, ::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo? value) -> void
1296
1337
  end
1297
1338
 
1298
1339
  class RespondWorkflowTaskCompletedRequest < ::Google::Protobuf::AbstractMessage
@@ -1433,6 +1474,19 @@ module Temporalio
1433
1474
  attr_writer worker_control_task_queue(): ::String | ::Symbol
1434
1475
  def clear_worker_control_task_queue: () -> void
1435
1476
 
1477
+ # 0-indexed page number when the workflow task completion is split across multiple
1478
+ # requests ("pages"). 0 for single-page requests. May only be set to non-zero value
1479
+ # when the namespace capability workflow_task_completion_pagination is true.
1480
+ attr_reader page_number(): ::Integer
1481
+ attr_writer page_number(): ::Integer | ::Float
1482
+ def clear_page_number: () -> void
1483
+
1484
+ # True for non-final pages of a paginated workflow task completion. The final page's
1485
+ # `page_number` tells the server how many intermediate pages (0..page_number-1) preceded it.
1486
+ # May only be used when the namespace capability workflow_task_completion_pagination is true.
1487
+ attr_accessor intermediate_page(): bool
1488
+ def clear_intermediate_page: () -> void
1489
+
1436
1490
  type init_map = {
1437
1491
  task_token: ::String?,
1438
1492
  "task_token" => ::String?,
@@ -1474,6 +1528,10 @@ module Temporalio
1474
1528
  "worker_instance_key" => (::String | ::Symbol)?,
1475
1529
  worker_control_task_queue: (::String | ::Symbol)?,
1476
1530
  "worker_control_task_queue" => (::String | ::Symbol)?,
1531
+ page_number: (::Integer | ::Float)?,
1532
+ "page_number" => (::Integer | ::Float)?,
1533
+ intermediate_page: bool?,
1534
+ "intermediate_page" => bool?,
1477
1535
  }
1478
1536
 
1479
1537
  def initialize: (?init_map initial_value) -> void
@@ -1499,6 +1557,8 @@ module Temporalio
1499
1557
  | ("deployment_options" name) -> ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions?
1500
1558
  | ("worker_instance_key" name) -> ::String
1501
1559
  | ("worker_control_task_queue" name) -> ::String
1560
+ | ("page_number" name) -> ::Integer
1561
+ | ("intermediate_page" name) -> bool
1502
1562
 
1503
1563
  def []=:
1504
1564
  ("task_token" name, ::String value) -> void
@@ -1521,6 +1581,8 @@ module Temporalio
1521
1581
  | ("deployment_options" name, ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions? value) -> void
1522
1582
  | ("worker_instance_key" name, (::String | ::Symbol) value) -> void
1523
1583
  | ("worker_control_task_queue" name, (::String | ::Symbol) value) -> void
1584
+ | ("page_number" name, (::Integer | ::Float) value) -> void
1585
+ | ("intermediate_page" name, bool value) -> void
1524
1586
  end
1525
1587
 
1526
1588
  class RespondWorkflowTaskCompletedResponse < ::Google::Protobuf::AbstractMessage
@@ -1913,9 +1975,21 @@ module Temporalio
1913
1975
  # 2. Try to assign the next poll to a group without any pending polls,
1914
1976
  # 3. If every group has some pending polls, assign the next poll to a group randomly
1915
1977
  # according to the weights.
1978
+ # @deprecated
1916
1979
  attr_accessor poller_group_infos(): ::Google::Protobuf::RepeatedField
1917
1980
  def clear_poller_group_infos: () -> void
1918
1981
 
1982
+ # The weighted, versioned list of poller groups IDs that client should use for future polls to
1983
+ # this task queue. Client should ignore this if it has already applied a snapshot with a
1984
+ # version greater than or equal to `poller_groups_info.version`. Client is expected to:
1985
+ # 1. Maintain minimum number of pollers no less than the number of groups.
1986
+ # 2. Try to assign the next poll to a group without any pending polls,
1987
+ # 3. If every group has some pending polls, assign the next poll to a group randomly
1988
+ # according to the weights.
1989
+ attr_accessor poller_groups_info(): ::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo?
1990
+ def has_poller_groups_info?: () -> bool
1991
+ def clear_poller_groups_info: () -> void
1992
+
1919
1993
  type init_map = {
1920
1994
  task_token: ::String?,
1921
1995
  "task_token" => ::String?,
@@ -1959,6 +2033,8 @@ module Temporalio
1959
2033
  "activity_run_id" => (::String | ::Symbol)?,
1960
2034
  poller_group_infos: ::Array[::Temporalio::Api::TaskQueue::V1::PollerGroupInfo]?,
1961
2035
  "poller_group_infos" => ::Array[::Temporalio::Api::TaskQueue::V1::PollerGroupInfo]?,
2036
+ poller_groups_info: (::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo | ::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo::init_map)?,
2037
+ "poller_groups_info" => (::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo | ::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo::init_map)?,
1962
2038
  }
1963
2039
 
1964
2040
  def initialize: (?init_map initial_value) -> void
@@ -1985,6 +2061,7 @@ module Temporalio
1985
2061
  | ("priority" name) -> ::Temporalio::Api::Common::V1::Priority?
1986
2062
  | ("activity_run_id" name) -> ::String
1987
2063
  | ("poller_group_infos" name) -> ::Google::Protobuf::RepeatedField
2064
+ | ("poller_groups_info" name) -> ::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo?
1988
2065
 
1989
2066
  def []=:
1990
2067
  ("task_token" name, ::String value) -> void
@@ -2008,6 +2085,7 @@ module Temporalio
2008
2085
  | ("priority" name, ::Temporalio::Api::Common::V1::Priority? value) -> void
2009
2086
  | ("activity_run_id" name, (::String | ::Symbol) value) -> void
2010
2087
  | ("poller_group_infos" name, ::Google::Protobuf::RepeatedField value) -> void
2088
+ | ("poller_groups_info" name, ::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo? value) -> void
2011
2089
  end
2012
2090
 
2013
2091
  class RecordActivityTaskHeartbeatRequest < ::Google::Protobuf::AbstractMessage
@@ -3120,9 +3198,9 @@ module Temporalio
3120
3198
  def has_header?: () -> bool
3121
3199
  def clear_header: () -> void
3122
3200
 
3123
- # Time to wait before dispatching the first workflow task. Cannot be used with `cron_schedule`.
3201
+ # Time to wait before making the first workflow task available for dispatch. Cannot be used with `cron_schedule`.
3124
3202
  # Note that the signal will be delivered with the first workflow task. If the workflow gets
3125
- # another SignalWithStartWorkflow before the delay a workflow task will be dispatched immediately
3203
+ # another SignalWithStartWorkflow before the delay a workflow task will be made available for dispatch immediately
3126
3204
  # and the rest of the delay period will be ignored, even if that request also had a delay.
3127
3205
  # Signal via SignalWorkflowExecution will not unblock the workflow.
3128
3206
  attr_reader workflow_start_delay(): ::Google::Protobuf::Duration?
@@ -3278,6 +3356,11 @@ module Temporalio
3278
3356
  attr_writer run_id(): ::String | ::Symbol
3279
3357
  def clear_run_id: () -> void
3280
3358
 
3359
+ # If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain.
3360
+ attr_reader first_execution_run_id(): ::String
3361
+ attr_writer first_execution_run_id(): ::String | ::Symbol
3362
+ def clear_first_execution_run_id: () -> void
3363
+
3281
3364
  # If true, a new workflow was started.
3282
3365
  attr_accessor started(): bool
3283
3366
  def clear_started: () -> void
@@ -3292,6 +3375,8 @@ module Temporalio
3292
3375
  type init_map = {
3293
3376
  run_id: (::String | ::Symbol)?,
3294
3377
  "run_id" => (::String | ::Symbol)?,
3378
+ first_execution_run_id: (::String | ::Symbol)?,
3379
+ "first_execution_run_id" => (::String | ::Symbol)?,
3295
3380
  started: bool?,
3296
3381
  "started" => bool?,
3297
3382
  signal_link: (::Temporalio::Api::Common::V1::Link | ::Temporalio::Api::Common::V1::Link::init_map)?,
@@ -3302,11 +3387,13 @@ module Temporalio
3302
3387
 
3303
3388
  def []:
3304
3389
  ("run_id" name) -> ::String
3390
+ | ("first_execution_run_id" name) -> ::String
3305
3391
  | ("started" name) -> bool
3306
3392
  | ("signal_link" name) -> ::Temporalio::Api::Common::V1::Link?
3307
3393
 
3308
3394
  def []=:
3309
3395
  ("run_id" name, (::String | ::Symbol) value) -> void
3396
+ | ("first_execution_run_id" name, (::String | ::Symbol) value) -> void
3310
3397
  | ("started" name, bool value) -> void
3311
3398
  | ("signal_link" name, ::Temporalio::Api::Common::V1::Link? value) -> void
3312
3399
  end
@@ -4893,6 +4980,12 @@ module Temporalio
4893
4980
  attr_accessor server_scaled_deployments(): bool
4894
4981
  def clear_server_scaled_deployments: () -> void
4895
4982
 
4983
+ # True if the server supports the Cloud Run compute provider for
4984
+ # server-scaled deployments. Dependent on server version and the
4985
+ # provider being enabled via server configuration.
4986
+ attr_accessor server_scaled_provider_cloud_run(): bool
4987
+ def clear_server_scaled_provider_cloud_run: () -> void
4988
+
4896
4989
  type init_map = {
4897
4990
  signal_and_query_header: bool?,
4898
4991
  "signal_and_query_header" => bool?,
@@ -4918,6 +5011,8 @@ module Temporalio
4918
5011
  "nexus" => bool?,
4919
5012
  server_scaled_deployments: bool?,
4920
5013
  "server_scaled_deployments" => bool?,
5014
+ server_scaled_provider_cloud_run: bool?,
5015
+ "server_scaled_provider_cloud_run" => bool?,
4921
5016
  }
4922
5017
 
4923
5018
  def initialize: (?init_map initial_value) -> void
@@ -4935,6 +5030,7 @@ module Temporalio
4935
5030
  | ("count_group_by_execution_status" name) -> bool
4936
5031
  | ("nexus" name) -> bool
4937
5032
  | ("server_scaled_deployments" name) -> bool
5033
+ | ("server_scaled_provider_cloud_run" name) -> bool
4938
5034
 
4939
5035
  def []=:
4940
5036
  ("signal_and_query_header" name, bool value) -> void
@@ -4949,6 +5045,7 @@ module Temporalio
4949
5045
  | ("count_group_by_execution_status" name, bool value) -> void
4950
5046
  | ("nexus" name, bool value) -> void
4951
5047
  | ("server_scaled_deployments" name, bool value) -> void
5048
+ | ("server_scaled_provider_cloud_run" name, bool value) -> void
4952
5049
  end
4953
5050
 
4954
5051
  # Version of the server.
@@ -6572,9 +6669,16 @@ module Temporalio
6572
6669
 
6573
6670
  # Executions to apply the batch operation
6574
6671
  # This field and `visibility_query` are mutually exclusive
6672
+ # DEPRECATED: Use `target_executions` instead.
6673
+ # @deprecated
6575
6674
  attr_accessor executions(): ::Google::Protobuf::RepeatedField
6576
6675
  def clear_executions: () -> void
6577
6676
 
6677
+ # Target executions to apply the batch operation. This field and `visibility_query`
6678
+ # are mutually exclusive.
6679
+ attr_accessor target_executions(): ::Google::Protobuf::RepeatedField
6680
+ def clear_target_executions: () -> void
6681
+
6578
6682
  # Limit for the number of operations processed per second within this batch.
6579
6683
  # Its purpose is to reduce the stress on the system caused by batch operations, which helps to prevent system
6580
6684
  # overload and minimize potential delays in executing ongoing tasks for user workers.
@@ -6621,8 +6725,20 @@ module Temporalio
6621
6725
  def has_update_activity_options_operation?: () -> bool
6622
6726
  def clear_update_activity_options_operation: () -> void
6623
6727
 
6728
+ attr_accessor cancel_activities_operation(): ::Temporalio::Api::Batch::V1::BatchOperationCancelActivities?
6729
+ def has_cancel_activities_operation?: () -> bool
6730
+ def clear_cancel_activities_operation: () -> void
6731
+
6732
+ attr_accessor terminate_activities_operation(): ::Temporalio::Api::Batch::V1::BatchOperationTerminateActivities?
6733
+ def has_terminate_activities_operation?: () -> bool
6734
+ def clear_terminate_activities_operation: () -> void
6735
+
6736
+ attr_accessor delete_activities_operation(): ::Temporalio::Api::Batch::V1::BatchOperationDeleteActivities?
6737
+ def has_delete_activities_operation?: () -> bool
6738
+ def clear_delete_activities_operation: () -> void
6739
+
6624
6740
  # Operation input
6625
- attr_reader operation(): (::Temporalio::Api::Batch::V1::BatchOperationTermination | ::Temporalio::Api::Batch::V1::BatchOperationSignal | ::Temporalio::Api::Batch::V1::BatchOperationCancellation | ::Temporalio::Api::Batch::V1::BatchOperationDeletion | ::Temporalio::Api::Batch::V1::BatchOperationReset | ::Temporalio::Api::Batch::V1::BatchOperationUpdateWorkflowExecutionOptions | ::Temporalio::Api::Batch::V1::BatchOperationUnpauseActivities | ::Temporalio::Api::Batch::V1::BatchOperationResetActivities | ::Temporalio::Api::Batch::V1::BatchOperationUpdateActivityOptions)?
6741
+ attr_reader operation(): (::Temporalio::Api::Batch::V1::BatchOperationTermination | ::Temporalio::Api::Batch::V1::BatchOperationSignal | ::Temporalio::Api::Batch::V1::BatchOperationCancellation | ::Temporalio::Api::Batch::V1::BatchOperationDeletion | ::Temporalio::Api::Batch::V1::BatchOperationReset | ::Temporalio::Api::Batch::V1::BatchOperationUpdateWorkflowExecutionOptions | ::Temporalio::Api::Batch::V1::BatchOperationUnpauseActivities | ::Temporalio::Api::Batch::V1::BatchOperationResetActivities | ::Temporalio::Api::Batch::V1::BatchOperationUpdateActivityOptions | ::Temporalio::Api::Batch::V1::BatchOperationCancelActivities | ::Temporalio::Api::Batch::V1::BatchOperationTerminateActivities | ::Temporalio::Api::Batch::V1::BatchOperationDeleteActivities)?
6626
6742
  def has_operation?: () -> bool
6627
6743
  def clear_operation: () -> void
6628
6744
 
@@ -6637,6 +6753,8 @@ module Temporalio
6637
6753
  "reason" => (::String | ::Symbol)?,
6638
6754
  executions: ::Array[::Temporalio::Api::Common::V1::WorkflowExecution]?,
6639
6755
  "executions" => ::Array[::Temporalio::Api::Common::V1::WorkflowExecution]?,
6756
+ target_executions: ::Array[::Temporalio::Api::Common::V1::Execution]?,
6757
+ "target_executions" => ::Array[::Temporalio::Api::Common::V1::Execution]?,
6640
6758
  max_operations_per_second: (::Float | ::Integer)?,
6641
6759
  "max_operations_per_second" => (::Float | ::Integer)?,
6642
6760
  termination_operation: (::Temporalio::Api::Batch::V1::BatchOperationTermination | ::Temporalio::Api::Batch::V1::BatchOperationTermination::init_map)?,
@@ -6657,6 +6775,12 @@ module Temporalio
6657
6775
  "reset_activities_operation" => (::Temporalio::Api::Batch::V1::BatchOperationResetActivities | ::Temporalio::Api::Batch::V1::BatchOperationResetActivities::init_map)?,
6658
6776
  update_activity_options_operation: (::Temporalio::Api::Batch::V1::BatchOperationUpdateActivityOptions | ::Temporalio::Api::Batch::V1::BatchOperationUpdateActivityOptions::init_map)?,
6659
6777
  "update_activity_options_operation" => (::Temporalio::Api::Batch::V1::BatchOperationUpdateActivityOptions | ::Temporalio::Api::Batch::V1::BatchOperationUpdateActivityOptions::init_map)?,
6778
+ cancel_activities_operation: (::Temporalio::Api::Batch::V1::BatchOperationCancelActivities | ::Temporalio::Api::Batch::V1::BatchOperationCancelActivities::init_map)?,
6779
+ "cancel_activities_operation" => (::Temporalio::Api::Batch::V1::BatchOperationCancelActivities | ::Temporalio::Api::Batch::V1::BatchOperationCancelActivities::init_map)?,
6780
+ terminate_activities_operation: (::Temporalio::Api::Batch::V1::BatchOperationTerminateActivities | ::Temporalio::Api::Batch::V1::BatchOperationTerminateActivities::init_map)?,
6781
+ "terminate_activities_operation" => (::Temporalio::Api::Batch::V1::BatchOperationTerminateActivities | ::Temporalio::Api::Batch::V1::BatchOperationTerminateActivities::init_map)?,
6782
+ delete_activities_operation: (::Temporalio::Api::Batch::V1::BatchOperationDeleteActivities | ::Temporalio::Api::Batch::V1::BatchOperationDeleteActivities::init_map)?,
6783
+ "delete_activities_operation" => (::Temporalio::Api::Batch::V1::BatchOperationDeleteActivities | ::Temporalio::Api::Batch::V1::BatchOperationDeleteActivities::init_map)?,
6660
6784
  }
6661
6785
 
6662
6786
  def initialize: (?init_map initial_value) -> void
@@ -6667,6 +6791,7 @@ module Temporalio
6667
6791
  | ("job_id" name) -> ::String
6668
6792
  | ("reason" name) -> ::String
6669
6793
  | ("executions" name) -> ::Google::Protobuf::RepeatedField
6794
+ | ("target_executions" name) -> ::Google::Protobuf::RepeatedField
6670
6795
  | ("max_operations_per_second" name) -> ::Float
6671
6796
  | ("termination_operation" name) -> ::Temporalio::Api::Batch::V1::BatchOperationTermination?
6672
6797
  | ("signal_operation" name) -> ::Temporalio::Api::Batch::V1::BatchOperationSignal?
@@ -6677,6 +6802,9 @@ module Temporalio
6677
6802
  | ("unpause_activities_operation" name) -> ::Temporalio::Api::Batch::V1::BatchOperationUnpauseActivities?
6678
6803
  | ("reset_activities_operation" name) -> ::Temporalio::Api::Batch::V1::BatchOperationResetActivities?
6679
6804
  | ("update_activity_options_operation" name) -> ::Temporalio::Api::Batch::V1::BatchOperationUpdateActivityOptions?
6805
+ | ("cancel_activities_operation" name) -> ::Temporalio::Api::Batch::V1::BatchOperationCancelActivities?
6806
+ | ("terminate_activities_operation" name) -> ::Temporalio::Api::Batch::V1::BatchOperationTerminateActivities?
6807
+ | ("delete_activities_operation" name) -> ::Temporalio::Api::Batch::V1::BatchOperationDeleteActivities?
6680
6808
 
6681
6809
  def []=:
6682
6810
  ("namespace" name, (::String | ::Symbol) value) -> void
@@ -6684,6 +6812,7 @@ module Temporalio
6684
6812
  | ("job_id" name, (::String | ::Symbol) value) -> void
6685
6813
  | ("reason" name, (::String | ::Symbol) value) -> void
6686
6814
  | ("executions" name, ::Google::Protobuf::RepeatedField value) -> void
6815
+ | ("target_executions" name, ::Google::Protobuf::RepeatedField value) -> void
6687
6816
  | ("max_operations_per_second" name, (::Float | ::Integer) value) -> void
6688
6817
  | ("termination_operation" name, ::Temporalio::Api::Batch::V1::BatchOperationTermination? value) -> void
6689
6818
  | ("signal_operation" name, ::Temporalio::Api::Batch::V1::BatchOperationSignal? value) -> void
@@ -6694,6 +6823,9 @@ module Temporalio
6694
6823
  | ("unpause_activities_operation" name, ::Temporalio::Api::Batch::V1::BatchOperationUnpauseActivities? value) -> void
6695
6824
  | ("reset_activities_operation" name, ::Temporalio::Api::Batch::V1::BatchOperationResetActivities? value) -> void
6696
6825
  | ("update_activity_options_operation" name, ::Temporalio::Api::Batch::V1::BatchOperationUpdateActivityOptions? value) -> void
6826
+ | ("cancel_activities_operation" name, ::Temporalio::Api::Batch::V1::BatchOperationCancelActivities? value) -> void
6827
+ | ("terminate_activities_operation" name, ::Temporalio::Api::Batch::V1::BatchOperationTerminateActivities? value) -> void
6828
+ | ("delete_activities_operation" name, ::Temporalio::Api::Batch::V1::BatchOperationDeleteActivities? value) -> void
6697
6829
  end
6698
6830
 
6699
6831
  class StartBatchOperationResponse < ::Google::Protobuf::AbstractMessage
@@ -6846,6 +6978,15 @@ module Temporalio
6846
6978
  attr_writer reason(): ::String | ::Symbol
6847
6979
  def clear_reason: () -> void
6848
6980
 
6981
+ # Query is the visibility query that defines the group of workflow to apply the batch operation
6982
+ attr_reader query(): ::String
6983
+ attr_writer query(): ::String | ::Symbol
6984
+ def clear_query: () -> void
6985
+
6986
+ # Executions is the list of workflow OR standalone activity executions to apply the batch operation
6987
+ attr_accessor executions(): ::Google::Protobuf::RepeatedField
6988
+ def clear_executions: () -> void
6989
+
6849
6990
  type init_map = {
6850
6991
  operation_type: (::Temporalio::Api::Enums::V1::BatchOperationType::names | ::Temporalio::Api::Enums::V1::BatchOperationType::strings | ::Integer | ::Float)?,
6851
6992
  "operation_type" => (::Temporalio::Api::Enums::V1::BatchOperationType::names | ::Temporalio::Api::Enums::V1::BatchOperationType::strings | ::Integer | ::Float)?,
@@ -6867,6 +7008,10 @@ module Temporalio
6867
7008
  "identity" => (::String | ::Symbol)?,
6868
7009
  reason: (::String | ::Symbol)?,
6869
7010
  "reason" => (::String | ::Symbol)?,
7011
+ query: (::String | ::Symbol)?,
7012
+ "query" => (::String | ::Symbol)?,
7013
+ executions: ::Array[::Temporalio::Api::Common::V1::Execution]?,
7014
+ "executions" => ::Array[::Temporalio::Api::Common::V1::Execution]?,
6870
7015
  }
6871
7016
 
6872
7017
  def initialize: (?init_map initial_value) -> void
@@ -6882,6 +7027,8 @@ module Temporalio
6882
7027
  | ("failure_operation_count" name) -> ::Integer
6883
7028
  | ("identity" name) -> ::String
6884
7029
  | ("reason" name) -> ::String
7030
+ | ("query" name) -> ::String
7031
+ | ("executions" name) -> ::Google::Protobuf::RepeatedField
6885
7032
 
6886
7033
  def []=:
6887
7034
  ("operation_type" name, (::Temporalio::Api::Enums::V1::BatchOperationType::names | ::Temporalio::Api::Enums::V1::BatchOperationType::strings | ::Integer | ::Float) value) -> void
@@ -6894,6 +7041,8 @@ module Temporalio
6894
7041
  | ("failure_operation_count" name, (::Integer | ::Float) value) -> void
6895
7042
  | ("identity" name, (::String | ::Symbol) value) -> void
6896
7043
  | ("reason" name, (::String | ::Symbol) value) -> void
7044
+ | ("query" name, (::String | ::Symbol) value) -> void
7045
+ | ("executions" name, ::Google::Protobuf::RepeatedField value) -> void
6897
7046
  end
6898
7047
 
6899
7048
  class ListBatchOperationsRequest < ::Google::Protobuf::AbstractMessage
@@ -7182,9 +7331,21 @@ module Temporalio
7182
7331
  # 2. Try to assign the next poll to a group without any pending polls,
7183
7332
  # 3. If every group has some pending polls, assign the next poll to a group randomly
7184
7333
  # according to the weights.
7334
+ # @deprecated
7185
7335
  attr_accessor poller_group_infos(): ::Google::Protobuf::RepeatedField
7186
7336
  def clear_poller_group_infos: () -> void
7187
7337
 
7338
+ # The weighted, versioned list of poller groups IDs that client should use for future polls to
7339
+ # this task queue. Client should ignore this if it has already applied a snapshot with a
7340
+ # version greater than or equal to `poller_groups_info.version`. Client is expected to:
7341
+ # 1. Maintain minimum number of pollers no less than the number of groups.
7342
+ # 2. Try to assign the next poll to a group without any pending polls,
7343
+ # 3. If every group has some pending polls, assign the next poll to a group randomly
7344
+ # according to the weights.
7345
+ attr_accessor poller_groups_info(): ::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo?
7346
+ def has_poller_groups_info?: () -> bool
7347
+ def clear_poller_groups_info: () -> void
7348
+
7188
7349
  type init_map = {
7189
7350
  task_token: ::String?,
7190
7351
  "task_token" => ::String?,
@@ -7196,6 +7357,8 @@ module Temporalio
7196
7357
  "poller_group_id" => (::String | ::Symbol)?,
7197
7358
  poller_group_infos: ::Array[::Temporalio::Api::TaskQueue::V1::PollerGroupInfo]?,
7198
7359
  "poller_group_infos" => ::Array[::Temporalio::Api::TaskQueue::V1::PollerGroupInfo]?,
7360
+ poller_groups_info: (::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo | ::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo::init_map)?,
7361
+ "poller_groups_info" => (::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo | ::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo::init_map)?,
7199
7362
  }
7200
7363
 
7201
7364
  def initialize: (?init_map initial_value) -> void
@@ -7206,6 +7369,7 @@ module Temporalio
7206
7369
  | ("poller_scaling_decision" name) -> ::Temporalio::Api::TaskQueue::V1::PollerScalingDecision?
7207
7370
  | ("poller_group_id" name) -> ::String
7208
7371
  | ("poller_group_infos" name) -> ::Google::Protobuf::RepeatedField
7372
+ | ("poller_groups_info" name) -> ::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo?
7209
7373
 
7210
7374
  def []=:
7211
7375
  ("task_token" name, ::String value) -> void
@@ -7213,6 +7377,7 @@ module Temporalio
7213
7377
  | ("poller_scaling_decision" name, ::Temporalio::Api::TaskQueue::V1::PollerScalingDecision? value) -> void
7214
7378
  | ("poller_group_id" name, (::String | ::Symbol) value) -> void
7215
7379
  | ("poller_group_infos" name, ::Google::Protobuf::RepeatedField value) -> void
7380
+ | ("poller_groups_info" name, ::Temporalio::Api::TaskQueue::V1::PollerGroupsInfo? value) -> void
7216
7381
  end
7217
7382
 
7218
7383
  class RespondNexusTaskCompletedRequest < ::Google::Protobuf::AbstractMessage
@@ -7608,7 +7773,7 @@ module Temporalio
7608
7773
  attr_writer workflow_id(): ::String | ::Symbol
7609
7774
  def clear_workflow_id: () -> void
7610
7775
 
7611
- # The ID of the activity to target.
7776
+ # The ID of the activity to target.
7612
7777
  attr_reader activity_id(): ::String
7613
7778
  attr_writer activity_id(): ::String | ::Symbol
7614
7779
  def clear_activity_id: () -> void
@@ -7832,7 +7997,7 @@ module Temporalio
7832
7997
  attr_writer workflow_id(): ::String | ::Symbol
7833
7998
  def clear_workflow_id: () -> void
7834
7999
 
7835
- # The ID of the activity to target.
8000
+ # The ID of the activity to target.
7836
8001
  attr_reader activity_id(): ::String
7837
8002
  attr_writer activity_id(): ::String | ::Symbol
7838
8003
  def clear_activity_id: () -> void
@@ -8035,7 +8200,7 @@ module Temporalio
8035
8200
  attr_writer workflow_id(): ::String | ::Symbol
8036
8201
  def clear_workflow_id: () -> void
8037
8202
 
8038
- # The ID of the activity to target.
8203
+ # The ID of the activity to target.
8039
8204
  attr_reader activity_id(): ::String
8040
8205
  attr_writer activity_id(): ::String | ::Symbol
8041
8206
  def clear_activity_id: () -> void
@@ -8283,11 +8448,6 @@ module Temporalio
8283
8448
  attr_writer identity(): ::String | ::Symbol
8284
8449
  def clear_identity: () -> void
8285
8450
 
8286
- # Indicates that activity should reset heartbeat details.
8287
- # This flag will be applied only to the new instance of the activity.
8288
- attr_accessor reset_heartbeat(): bool
8289
- def clear_reset_heartbeat: () -> void
8290
-
8291
8451
  # If activity is paused, it will remain paused after reset
8292
8452
  attr_accessor keep_paused(): bool
8293
8453
  def clear_keep_paused: () -> void
@@ -8321,8 +8481,6 @@ module Temporalio
8321
8481
  "run_id" => (::String | ::Symbol)?,
8322
8482
  identity: (::String | ::Symbol)?,
8323
8483
  "identity" => (::String | ::Symbol)?,
8324
- reset_heartbeat: bool?,
8325
- "reset_heartbeat" => bool?,
8326
8484
  keep_paused: bool?,
8327
8485
  "keep_paused" => bool?,
8328
8486
  jitter: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
@@ -8341,7 +8499,6 @@ module Temporalio
8341
8499
  | ("activity_id" name) -> ::String
8342
8500
  | ("run_id" name) -> ::String
8343
8501
  | ("identity" name) -> ::String
8344
- | ("reset_heartbeat" name) -> bool
8345
8502
  | ("keep_paused" name) -> bool
8346
8503
  | ("jitter" name) -> ::Google::Protobuf::Duration?
8347
8504
  | ("restore_original_options" name) -> bool
@@ -8353,7 +8510,6 @@ module Temporalio
8353
8510
  | ("activity_id" name, (::String | ::Symbol) value) -> void
8354
8511
  | ("run_id" name, (::String | ::Symbol) value) -> void
8355
8512
  | ("identity" name, (::String | ::Symbol) value) -> void
8356
- | ("reset_heartbeat" name, bool value) -> void
8357
8513
  | ("keep_paused" name, bool value) -> void
8358
8514
  | ("jitter" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
8359
8515
  | ("restore_original_options" name, bool value) -> void
@@ -11190,7 +11346,7 @@ module Temporalio
11190
11346
  def has_on_conflict_options?: () -> bool
11191
11347
  def clear_on_conflict_options: () -> void
11192
11348
 
11193
- # Time to wait before dispatching the first activity task. This delay is not applied to retry attempts.
11349
+ # Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
11194
11350
  attr_reader start_delay(): ::Google::Protobuf::Duration?
11195
11351
  attr_writer start_delay(): (::Google::Protobuf::Duration | ::int)?
11196
11352
  def has_start_delay?: () -> bool
@@ -14,6 +14,7 @@ module Temporalio
14
14
  attr_reader lazy_connect: bool
15
15
  attr_reader dns_load_balancing: DnsLoadBalancingOptions?
16
16
  attr_reader grpc_compression: GrpcCompressionOptions::Gzip | GrpcCompressionOptions::None
17
+ attr_reader payload_limits: PayloadLimitsOptions
17
18
 
18
19
  def initialize: (
19
20
  target_host: String,
@@ -27,7 +28,8 @@ module Temporalio
27
28
  runtime: Runtime,
28
29
  lazy_connect: bool,
29
30
  dns_load_balancing: DnsLoadBalancingOptions?,
30
- grpc_compression: GrpcCompressionOptions::Gzip | GrpcCompressionOptions::None
31
+ grpc_compression: GrpcCompressionOptions::Gzip | GrpcCompressionOptions::None,
32
+ payload_limits: PayloadLimitsOptions
31
33
  ) -> void
32
34
 
33
35
  def to_h: -> Hash[Symbol, untyped]
@@ -107,6 +109,16 @@ module Temporalio
107
109
  end
108
110
  end
109
111
 
112
+ class PayloadLimitsOptions
113
+ attr_reader payloads_warn_size: Integer?
114
+ attr_reader memo_warn_size: Integer?
115
+
116
+ def initialize: (
117
+ ?payloads_warn_size: Integer?,
118
+ ?memo_warn_size: Integer?
119
+ ) -> void
120
+ end
121
+
110
122
  attr_reader options: Options
111
123
 
112
124
  attr_reader workflow_service: WorkflowService
@@ -126,6 +138,7 @@ module Temporalio
126
138
  ?lazy_connect: bool,
127
139
  ?dns_load_balancing: DnsLoadBalancingOptions?,
128
140
  ?grpc_compression: GrpcCompressionOptions::Gzip | GrpcCompressionOptions::None,
141
+ ?payload_limits: PayloadLimitsOptions,
129
142
  ?around_connect: nil | ^(Options) { (Options) -> void } -> void
130
143
  ) -> void
131
144
 
@@ -15,6 +15,8 @@ module Temporalio
15
15
  attr_accessor http_connect_proxy: HTTPConnectProxyOptions?
16
16
  attr_accessor dns_load_balancing: DnsLoadBalancingOptions?
17
17
  attr_accessor grpc_compression: GrpcCompressionOptions?
18
+ attr_accessor payloads_warn_size: Integer?
19
+ attr_accessor memo_warn_size: Integer?
18
20
 
19
21
  def initialize: (
20
22
  target_host: String,
@@ -28,7 +30,9 @@ module Temporalio
28
30
  ?keep_alive: KeepAliveOptions?,
29
31
  ?http_connect_proxy: HTTPConnectProxyOptions?,
30
32
  ?dns_load_balancing: DnsLoadBalancingOptions?,
31
- ?grpc_compression: GrpcCompressionOptions?
33
+ ?grpc_compression: GrpcCompressionOptions?,
34
+ ?payloads_warn_size: Integer?,
35
+ ?memo_warn_size: Integer?
32
36
  ) -> void
33
37
  end
34
38