temporalio 1.5.0 → 1.6.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/Cargo.lock +1461 -621
- data/Cargo.toml +1 -1
- data/Gemfile +6 -5
- data/README.md +42 -1
- data/ext/Cargo.toml +9 -3
- data/lib/temporalio/api/activity/v1/message.rb +1 -1
- data/lib/temporalio/api/cloud/billing/v1/message.rb +2 -1
- data/lib/temporalio/api/cloud/cloudservice/v1/request_response.rb +17 -1
- data/lib/temporalio/api/cloud/cloudservice/v1/service.rb +1 -1
- data/lib/temporalio/api/cloud/connectivityrule/v1/message.rb +1 -1
- data/lib/temporalio/api/cloud/identity/v1/message.rb +8 -1
- data/lib/temporalio/api/cloud/namespace/v1/message.rb +5 -1
- data/lib/temporalio/api/command/v1/message.rb +2 -1
- data/lib/temporalio/api/common/v1/message.rb +5 -1
- data/lib/temporalio/api/deployment/v1/message.rb +3 -1
- data/lib/temporalio/api/history/v1/message.rb +3 -1
- data/lib/temporalio/api/namespace/v1/message.rb +1 -1
- data/lib/temporalio/api/nexus/v1/message.rb +1 -1
- data/lib/temporalio/api/nexusannotations/v1/options.rb +20 -0
- data/lib/temporalio/api/payload_visitor.rb +32 -0
- data/lib/temporalio/api/schedule/v1/message.rb +1 -1
- data/lib/temporalio/api/sdk/v1/event_group_marker.rb +26 -0
- data/lib/temporalio/api/update/v1/message.rb +1 -1
- data/lib/temporalio/api/workflow/v1/message.rb +3 -2
- data/lib/temporalio/api/workflowservice/v1/request_response.rb +11 -1
- data/lib/temporalio/api/workflowservice/v1/service.rb +3 -2
- data/lib/temporalio/client/connection/cloud_service.rb +120 -0
- data/lib/temporalio/client/connection/workflow_service.rb +75 -0
- data/lib/temporalio/client/connection.rb +37 -2
- data/lib/temporalio/client.rb +10 -5
- data/lib/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rb +1 -1
- data/lib/temporalio/internal/bridge/client.rb +6 -1
- data/lib/temporalio/internal/bridge.rb +20 -0
- data/lib/temporalio/internal/google_protobuf.rb +11 -0
- data/lib/temporalio/internal/worker/workflow_instance/context.rb +2 -0
- data/lib/temporalio/internal/worker/workflow_instance/details.rb +3 -1
- data/lib/temporalio/internal/worker/workflow_instance/scheduler.rb +73 -2
- data/lib/temporalio/internal/worker/workflow_instance.rb +36 -6
- data/lib/temporalio/internal/worker/workflow_worker.rb +10 -2
- data/lib/temporalio/internal/workflow_task_failure_error.rb +9 -0
- data/lib/temporalio/version.rb +1 -1
- data/lib/temporalio/worker/activity_executor/fiber.rb +1 -1
- data/lib/temporalio/worker/activity_executor/thread_pool.rb +1 -1
- data/lib/temporalio/worker/illegal_workflow_call_validator.rb +3 -1
- data/lib/temporalio/worker/workflow_executor/thread_pool.rb +5 -1
- data/lib/temporalio/worker/workflow_replayer.rb +17 -4
- data/lib/temporalio/worker.rb +30 -5
- data/lib/temporalio/workflow/future.rb +5 -0
- data/lib/temporalio/workflow/nexus_operation_cancellation_type.rb +4 -2
- data/lib/temporalio/workflow.rb +8 -0
- data/rbi/google/protobuf.rbi +25 -0
- data/rbi/temporalio/activity/cancellation_details.rbi +33 -0
- data/rbi/temporalio/activity/complete_async_error.rbi +3 -0
- data/rbi/temporalio/activity/context.rbi +42 -0
- data/rbi/temporalio/activity/definition.rbi +74 -0
- data/rbi/temporalio/activity/info.rbi +112 -0
- data/rbi/temporalio/activity.rbi +3 -0
- data/rbi/temporalio/api/activity/v1/message.rbi +1453 -0
- data/rbi/temporalio/api/batch/v1/message.rbi +1283 -0
- data/rbi/temporalio/api/callback/v1/message.rbi +188 -0
- data/rbi/temporalio/api/cloud/account/v1/message.rbi +650 -0
- data/rbi/temporalio/api/cloud/auditlog/v1/message.rbi +318 -0
- data/rbi/temporalio/api/cloud/billing/v1/message.rbi +480 -0
- data/rbi/temporalio/api/cloud/cloudservice/v1/request_response.rbi +12454 -0
- data/rbi/temporalio/api/cloud/cloudservice/v1/service.rbi +3 -0
- data/rbi/temporalio/api/cloud/cloudservice/v1/service_services.rbi +709 -0
- data/rbi/temporalio/api/cloud/cloudservice.rbi +5 -0
- data/rbi/temporalio/api/cloud/connectivityrule/v1/message.rbi +403 -0
- data/rbi/temporalio/api/cloud/identity/v1/message.rbi +3072 -0
- data/rbi/temporalio/api/cloud/namespace/v1/message.rbi +3659 -0
- data/rbi/temporalio/api/cloud/nexus/v1/message.rbi +595 -0
- data/rbi/temporalio/api/cloud/operation/v1/message.rbi +244 -0
- data/rbi/temporalio/api/cloud/region/v1/message.rbi +166 -0
- data/rbi/temporalio/api/cloud/resource/v1/message.rbi +29 -0
- data/rbi/temporalio/api/cloud/sink/v1/message.rbi +438 -0
- data/rbi/temporalio/api/cloud/usage/v1/message.rbi +409 -0
- data/rbi/temporalio/api/command/v1/message.rbi +2655 -0
- data/rbi/temporalio/api/common/v1/grpc_status.rbi +92 -0
- data/rbi/temporalio/api/common/v1/message.rbi +2983 -0
- data/rbi/temporalio/api/compute/v1/config.rbi +421 -0
- data/rbi/temporalio/api/compute/v1/provider.rbi +125 -0
- data/rbi/temporalio/api/compute/v1/scaler.rbi +102 -0
- data/rbi/temporalio/api/deployment/v1/message.rbi +2340 -0
- data/rbi/temporalio/api/enums/v1/activity.rbi +62 -0
- data/rbi/temporalio/api/enums/v1/batch_operation.rbi +47 -0
- data/rbi/temporalio/api/enums/v1/command_type.rbi +36 -0
- data/rbi/temporalio/api/enums/v1/common.rbi +181 -0
- data/rbi/temporalio/api/enums/v1/deployment.rbi +80 -0
- data/rbi/temporalio/api/enums/v1/event_type.rbi +79 -0
- data/rbi/temporalio/api/enums/v1/failed_cause.rbi +155 -0
- data/rbi/temporalio/api/enums/v1/namespace.rbi +58 -0
- data/rbi/temporalio/api/enums/v1/nexus.rbi +98 -0
- data/rbi/temporalio/api/enums/v1/query.rbi +40 -0
- data/rbi/temporalio/api/enums/v1/reset.rbi +60 -0
- data/rbi/temporalio/api/enums/v1/schedule.rbi +25 -0
- data/rbi/temporalio/api/enums/v1/task_queue.rbi +134 -0
- data/rbi/temporalio/api/enums/v1/update.rbi +39 -0
- data/rbi/temporalio/api/enums/v1/workflow.rbi +259 -0
- data/rbi/temporalio/api/errordetails/v1/message.rbi +1389 -0
- data/rbi/temporalio/api/export/v1/message.rbi +123 -0
- data/rbi/temporalio/api/failure/v1/message.rbi +1303 -0
- data/rbi/temporalio/api/filter/v1/message.rbi +267 -0
- data/rbi/temporalio/api/history/v1/message.rbi +10737 -0
- data/rbi/temporalio/api/namespace/v1/message.rbi +1044 -0
- data/rbi/temporalio/api/nexus/v1/message.rbi +2780 -0
- data/rbi/temporalio/api/nexusannotations/v1/options.rbi +161 -0
- data/rbi/temporalio/api/nexusservices/workerservice/v1/request_response.rbi +124 -0
- data/rbi/temporalio/api/operatorservice/v1/request_response.rbi +1836 -0
- data/rbi/temporalio/api/operatorservice/v1/service.rbi +3 -0
- data/rbi/temporalio/api/operatorservice/v1/service_services.rbi +143 -0
- data/rbi/temporalio/api/operatorservice.rbi +5 -0
- data/rbi/temporalio/api/payload_visitor.rbi +876 -0
- data/rbi/temporalio/api/protoc_gen_openapiv2/options/annotations.rbi +3 -0
- data/rbi/temporalio/api/protoc_gen_openapiv2/options/openapiv2.rbi +3482 -0
- data/rbi/temporalio/api/protocol/v1/message.rbi +139 -0
- data/rbi/temporalio/api/protometa/v1/annotations.rbi +97 -0
- data/rbi/temporalio/api/query/v1/message.rbi +288 -0
- data/rbi/temporalio/api/replication/v1/message.rbi +226 -0
- data/rbi/temporalio/api/rules/v1/message.rbi +492 -0
- data/rbi/temporalio/api/schedule/v1/message.rbi +2377 -0
- data/rbi/temporalio/api/sdk/v1/enhanced_stack_trace.rbi +478 -0
- data/rbi/temporalio/api/sdk/v1/event_group_marker.rbi +337 -0
- data/rbi/temporalio/api/sdk/v1/external_storage.rbi +85 -0
- data/rbi/temporalio/api/sdk/v1/task_complete_metadata.rbi +206 -0
- data/rbi/temporalio/api/sdk/v1/user_metadata.rbi +98 -0
- data/rbi/temporalio/api/sdk/v1/worker_config.rbi +255 -0
- data/rbi/temporalio/api/sdk/v1/workflow_metadata.rbi +297 -0
- data/rbi/temporalio/api/taskqueue/v1/message.rbi +2460 -0
- data/rbi/temporalio/api/testservice/v1/request_response.rbi +380 -0
- data/rbi/temporalio/api/testservice/v1/service.rbi +3 -0
- data/rbi/temporalio/api/testservice/v1/service_services.rbi +100 -0
- data/rbi/temporalio/api/update/v1/message.rbi +800 -0
- data/rbi/temporalio/api/version/v1/message.rbi +281 -0
- data/rbi/temporalio/api/worker/v1/message.rbi +1565 -0
- data/rbi/temporalio/api/workflow/v1/message.rbi +5011 -0
- data/rbi/temporalio/api/workflowservice/v1/request_response.rbi +30477 -0
- data/rbi/temporalio/api/workflowservice/v1/service.rbi +3 -0
- data/rbi/temporalio/api/workflowservice/v1/service_services.rbi +1571 -0
- data/rbi/temporalio/api/workflowservice.rbi +5 -0
- data/rbi/temporalio/api.rbi +7 -0
- data/rbi/temporalio/cancellation.rbi +40 -0
- data/rbi/temporalio/client/activity_execution.rbi +134 -0
- data/rbi/temporalio/client/activity_execution_count.rbi +23 -0
- data/rbi/temporalio/client/activity_execution_status.rbi +11 -0
- data/rbi/temporalio/client/activity_handle.rbi +49 -0
- data/rbi/temporalio/client/activity_id_reference.rbi +24 -0
- data/rbi/temporalio/client/async_activity_handle.rbi +49 -0
- data/rbi/temporalio/client/connection/cloud_service.rbi +239 -0
- data/rbi/temporalio/client/connection/operator_service.rbi +47 -0
- data/rbi/temporalio/client/connection/service.rbi +19 -0
- data/rbi/temporalio/client/connection/test_service.rbi +29 -0
- data/rbi/temporalio/client/connection/workflow_service.rbi +377 -0
- data/rbi/temporalio/client/connection.rbi +284 -0
- data/rbi/temporalio/client/interceptor.rbi +1067 -0
- data/rbi/temporalio/client/pending_activity_state.rbi +9 -0
- data/rbi/temporalio/client/plugin.rbi +17 -0
- data/rbi/temporalio/client/schedule.rbi +677 -0
- data/rbi/temporalio/client/schedule_handle.rbi +40 -0
- data/rbi/temporalio/client/with_start_workflow_operation.rbi +126 -0
- data/rbi/temporalio/client/workflow_execution.rbi +62 -0
- data/rbi/temporalio/client/workflow_execution_count.rbi +23 -0
- data/rbi/temporalio/client/workflow_execution_status.rbi +11 -0
- data/rbi/temporalio/client/workflow_handle.rbi +148 -0
- data/rbi/temporalio/client/workflow_query_reject_condition.rbi +7 -0
- data/rbi/temporalio/client/workflow_update_handle.rbi +38 -0
- data/rbi/temporalio/client/workflow_update_wait_stage.rbi +7 -0
- data/rbi/temporalio/client.rbi +534 -0
- data/rbi/temporalio/common_enums.rbi +45 -0
- data/rbi/temporalio/contrib/open_telemetry.rbi +73 -0
- data/rbi/temporalio/converters/data_converter.rbi +44 -0
- data/rbi/temporalio/converters/failure_converter.rbi +20 -0
- data/rbi/temporalio/converters/payload_codec.rbi +11 -0
- data/rbi/temporalio/converters/payload_converter/binary_null.rbi +5 -0
- data/rbi/temporalio/converters/payload_converter/binary_plain.rbi +5 -0
- data/rbi/temporalio/converters/payload_converter/binary_protobuf.rbi +5 -0
- data/rbi/temporalio/converters/payload_converter/composite.rbi +20 -0
- data/rbi/temporalio/converters/payload_converter/encoding.rbi +14 -0
- data/rbi/temporalio/converters/payload_converter/json_plain.rbi +10 -0
- data/rbi/temporalio/converters/payload_converter/json_protobuf.rbi +5 -0
- data/rbi/temporalio/converters/payload_converter.rbi +28 -0
- data/rbi/temporalio/converters/raw_value.rbi +11 -0
- data/rbi/temporalio/converters.rbi +3 -0
- data/rbi/temporalio/env_config.rbi +156 -0
- data/rbi/temporalio/error/failure.rbi +3 -0
- data/rbi/temporalio/error.rbi +313 -0
- data/rbi/temporalio/internal/bridge/api/activity_result/activity_result.rbi +547 -0
- data/rbi/temporalio/internal/bridge/api/activity_task/activity_task.rbi +705 -0
- data/rbi/temporalio/internal/bridge/api/child_workflow/child_workflow.rbi +332 -0
- data/rbi/temporalio/internal/bridge/api/common/common.rbi +191 -0
- data/rbi/temporalio/internal/bridge/api/core_interface.rbi +567 -0
- data/rbi/temporalio/internal/bridge/api/external_data/external_data.rbi +255 -0
- data/rbi/temporalio/internal/bridge/api/nexus/nexus.rbi +527 -0
- data/rbi/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbi +2808 -0
- data/rbi/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rbi +3309 -0
- data/rbi/temporalio/internal/bridge/api/workflow_completion/workflow_completion.rbi +272 -0
- data/rbi/temporalio/internal/bridge/api.rbi +3 -0
- data/rbi/temporalio/internal/bridge/client.rbi +346 -0
- data/rbi/temporalio/internal/bridge/runtime.rbi +231 -0
- data/rbi/temporalio/internal/bridge/testing.rbi +109 -0
- data/rbi/temporalio/internal/bridge/worker.rbi +250 -0
- data/rbi/temporalio/internal/bridge.rbi +47 -0
- data/rbi/temporalio/internal/client/implementation.rbi +53 -0
- data/rbi/temporalio/internal/google_protobuf.rbi +8 -0
- data/rbi/temporalio/internal/metric.rbi +55 -0
- data/rbi/temporalio/internal/proto_utils.rbi +148 -0
- data/rbi/temporalio/internal/worker/activity_worker.rbi +108 -0
- data/rbi/temporalio/internal/worker/multi_runner.rbi +175 -0
- data/rbi/temporalio/internal/worker/workflow_instance/child_workflow_handle.rbi +20 -0
- data/rbi/temporalio/internal/worker/workflow_instance/context.rbi +290 -0
- data/rbi/temporalio/internal/worker/workflow_instance/details.rbi +87 -0
- data/rbi/temporalio/internal/worker/workflow_instance/external_workflow_handle.rbi +14 -0
- data/rbi/temporalio/internal/worker/workflow_instance/externally_immutable_hash.rbi +17 -0
- data/rbi/temporalio/internal/worker/workflow_instance/handler_execution.rbi +17 -0
- data/rbi/temporalio/internal/worker/workflow_instance/handler_hash.rbi +24 -0
- data/rbi/temporalio/internal/worker/workflow_instance/illegal_call_tracer.rbi +17 -0
- data/rbi/temporalio/internal/worker/workflow_instance/inbound_implementation.rbi +21 -0
- data/rbi/temporalio/internal/worker/workflow_instance/nexus_client.rbi +47 -0
- data/rbi/temporalio/internal/worker/workflow_instance/nexus_operation_handle.rbi +19 -0
- data/rbi/temporalio/internal/worker/workflow_instance/outbound_implementation.rbi +43 -0
- data/rbi/temporalio/internal/worker/workflow_instance/replay_safe_logger.rbi +11 -0
- data/rbi/temporalio/internal/worker/workflow_instance/replay_safe_metric.rbi +15 -0
- data/rbi/temporalio/internal/worker/workflow_instance/scheduler.rbi +36 -0
- data/rbi/temporalio/internal/worker/workflow_instance.rbi +231 -0
- data/rbi/temporalio/internal/worker/workflow_worker.rbi +199 -0
- data/rbi/temporalio/internal/workflow_task_failure_error.rbi +3 -0
- data/rbi/temporalio/internal.rbi +3 -0
- data/rbi/temporalio/metric.rbi +56 -0
- data/rbi/temporalio/priority.rbi +38 -0
- data/rbi/temporalio/retry_policy.rbi +40 -0
- data/rbi/temporalio/runtime/metric_buffer.rbi +45 -0
- data/rbi/temporalio/runtime.rbi +185 -0
- data/rbi/temporalio/scoped_logger.rbi +50 -0
- data/rbi/temporalio/search_attributes.rbi +94 -0
- data/rbi/temporalio/simple_plugin.rbi +41 -0
- data/rbi/temporalio/testing/activity_environment.rbi +43 -0
- data/rbi/temporalio/testing/workflow_environment.rbi +116 -0
- data/rbi/temporalio/testing.rbi +3 -0
- data/rbi/temporalio/version.rbi +5 -0
- data/rbi/temporalio/versioning_override.rbi +13 -0
- data/rbi/temporalio/worker/activity_executor/fiber.rbi +20 -0
- data/rbi/temporalio/worker/activity_executor/thread_pool.rbi +20 -0
- data/rbi/temporalio/worker/activity_executor.rbi +20 -0
- data/rbi/temporalio/worker/deployment_options.rbi +23 -0
- data/rbi/temporalio/worker/illegal_workflow_call_validator.rbi +33 -0
- data/rbi/temporalio/worker/interceptor.rbi +489 -0
- data/rbi/temporalio/worker/plugin.rbi +49 -0
- data/rbi/temporalio/worker/poller_behavior.rbi +29 -0
- data/rbi/temporalio/worker/thread_pool.rbi +38 -0
- data/rbi/temporalio/worker/tuner.rbi +221 -0
- data/rbi/temporalio/worker/workflow_executor/thread_pool.rbi +15 -0
- data/rbi/temporalio/worker/workflow_executor.rbi +8 -0
- data/rbi/temporalio/worker/workflow_replayer.rbi +152 -0
- data/rbi/temporalio/worker.rbi +258 -0
- data/rbi/temporalio/worker_deployment_version.rbi +29 -0
- data/rbi/temporalio/workflow/activity_cancellation_type.rbi +7 -0
- data/rbi/temporalio/workflow/child_workflow_cancellation_type.rbi +8 -0
- data/rbi/temporalio/workflow/child_workflow_handle.rbi +27 -0
- data/rbi/temporalio/workflow/definition.rbi +305 -0
- data/rbi/temporalio/workflow/external_workflow_handle.rbi +24 -0
- data/rbi/temporalio/workflow/future.rbi +62 -0
- data/rbi/temporalio/workflow/handler_unfinished_policy.rbi +6 -0
- data/rbi/temporalio/workflow/info.rbi +100 -0
- data/rbi/temporalio/workflow/nexus_client.rbi +65 -0
- data/rbi/temporalio/workflow/nexus_operation_cancellation_type.rbi +8 -0
- data/rbi/temporalio/workflow/nexus_operation_handle.rbi +14 -0
- data/rbi/temporalio/workflow/parent_close_policy.rbi +8 -0
- data/rbi/temporalio/workflow/update_info.rbi +14 -0
- data/rbi/temporalio/workflow.rbi +393 -0
- data/rbi/temporalio/workflow_history.rbi +21 -0
- data/rbi/temporalio.rbi +5 -0
- data/sig/common.rbs +1 -0
- data/sig/google/protobuf_compat.rbs +17 -0
- data/sig/open_telemetry.rbs +47 -0
- data/sig/temporalio/activity/cancellation_details.rbs +21 -0
- data/sig/temporalio/activity/complete_async_error.rbs +6 -0
- data/sig/temporalio/activity/context.rbs +26 -0
- data/sig/temporalio/activity/definition.rbs +60 -0
- data/sig/temporalio/activity/info.rbs +57 -0
- data/sig/temporalio/activity.rbs +4 -0
- data/sig/temporalio/api/activity/v1/message.rbs +708 -0
- data/sig/temporalio/api/batch/v1/message.rbs +594 -0
- data/sig/temporalio/api/callback/v1/message.rbs +112 -0
- data/sig/temporalio/api/cloud/account/v1/message.rbs +314 -0
- data/sig/temporalio/api/cloud/auditlog/v1/message.rbs +168 -0
- data/sig/temporalio/api/cloud/billing/v1/message.rbs +279 -0
- data/sig/temporalio/api/cloud/cloudservice/v1/request_response.rbs +4726 -0
- data/sig/temporalio/api/cloud/cloudservice/v1/service.rbs +25 -0
- data/sig/temporalio/api/cloud/cloudservice.rbs +8 -0
- data/sig/temporalio/api/cloud/connectivityrule/v1/message.rbs +191 -0
- data/sig/temporalio/api/cloud/identity/v1/message.rbs +1372 -0
- data/sig/temporalio/api/cloud/namespace/v1/message.rbs +1571 -0
- data/sig/temporalio/api/cloud/nexus/v1/message.rbs +269 -0
- data/sig/temporalio/api/cloud/operation/v1/message.rbs +156 -0
- data/sig/temporalio/api/cloud/region/v1/message.rbs +109 -0
- data/sig/temporalio/api/cloud/resource/v1/message.rbs +61 -0
- data/sig/temporalio/api/cloud/sink/v1/message.rbs +207 -0
- data/sig/temporalio/api/cloud/usage/v1/message.rbs +230 -0
- data/sig/temporalio/api/command/v1/message.rbs +1211 -0
- data/sig/temporalio/api/common/v1/grpc_status.rbs +59 -0
- data/sig/temporalio/api/common/v1/message.rbs +1238 -0
- data/sig/temporalio/api/compute/v1/config.rbs +176 -0
- data/sig/temporalio/api/compute/v1/provider.rbs +73 -0
- data/sig/temporalio/api/compute/v1/scaler.rbs +60 -0
- data/sig/temporalio/api/deployment/v1/message.rbs +1063 -0
- data/sig/temporalio/api/enums/v1/activity.rbs +134 -0
- data/sig/temporalio/api/enums/v1/batch_operation.rbs +80 -0
- data/sig/temporalio/api/enums/v1/command_type.rbs +74 -0
- data/sig/temporalio/api/enums/v1/common.rbs +271 -0
- data/sig/temporalio/api/enums/v1/deployment.rbs +177 -0
- data/sig/temporalio/api/enums/v1/event_type.rbs +263 -0
- data/sig/temporalio/api/enums/v1/failed_cause.rbs +281 -0
- data/sig/temporalio/api/enums/v1/namespace.rbs +87 -0
- data/sig/temporalio/api/enums/v1/nexus.rbs +172 -0
- data/sig/temporalio/api/enums/v1/query.rbs +69 -0
- data/sig/temporalio/api/enums/v1/reset.rbs +106 -0
- data/sig/temporalio/api/enums/v1/schedule.rbs +68 -0
- data/sig/temporalio/api/enums/v1/task_queue.rbs +238 -0
- data/sig/temporalio/api/enums/v1/update.rbs +87 -0
- data/sig/temporalio/api/enums/v1/workflow.rbs +435 -0
- data/sig/temporalio/api/errordetails/v1/message.rbs +532 -0
- data/sig/temporalio/api/export/v1/message.rbs +63 -0
- data/sig/temporalio/api/failure/v1/message.rbs +579 -0
- data/sig/temporalio/api/filter/v1/message.rbs +121 -0
- data/sig/temporalio/api/history/v1/message.rbs +4928 -0
- data/sig/temporalio/api/namespace/v1/message.rbs +465 -0
- data/sig/temporalio/api/nexus/v1/message.rbs +1268 -0
- data/sig/temporalio/api/nexusannotations/v1/options.rbs +76 -0
- data/sig/temporalio/api/nexusservices/workerservice/v1/request_response.rbs +65 -0
- data/sig/temporalio/api/operatorservice/v1/request_response.rbs +679 -0
- data/sig/temporalio/api/operatorservice/v1/service.rbs +23 -0
- data/sig/temporalio/api/operatorservice.rbs +6 -0
- data/sig/temporalio/api/payload_visitor.rbs +298 -0
- data/sig/temporalio/api/protoc_gen_openapiv2/options/annotations.rbs +23 -0
- data/sig/temporalio/api/protoc_gen_openapiv2/options/openapiv2.rbs +1691 -0
- data/sig/temporalio/api/protocol/v1/message.rbs +90 -0
- data/sig/temporalio/api/protometa/v1/annotations.rbs +62 -0
- data/sig/temporalio/api/query/v1/message.rbs +138 -0
- data/sig/temporalio/api/replication/v1/message.rbs +109 -0
- data/sig/temporalio/api/rules/v1/message.rbs +213 -0
- data/sig/temporalio/api/schedule/v1/message.rbs +1066 -0
- data/sig/temporalio/api/sdk/v1/enhanced_stack_trace.rbs +210 -0
- data/sig/temporalio/api/sdk/v1/event_group_marker.rbs +154 -0
- data/sig/temporalio/api/sdk/v1/external_storage.rbs +54 -0
- data/sig/temporalio/api/sdk/v1/task_complete_metadata.rbs +92 -0
- data/sig/temporalio/api/sdk/v1/user_metadata.rbs +58 -0
- data/sig/temporalio/api/sdk/v1/worker_config.rbs +122 -0
- data/sig/temporalio/api/sdk/v1/workflow_metadata.rbs +138 -0
- data/sig/temporalio/api/taskqueue/v1/message.rbs +1013 -0
- data/sig/temporalio/api/testservice/v1/request_response.rbs +125 -0
- data/sig/temporalio/api/testservice/v1/service.rbs +23 -0
- data/sig/temporalio/api/update/v1/message.rbs +349 -0
- data/sig/temporalio/api/version/v1/message.rbs +143 -0
- data/sig/temporalio/api/worker/v1/message.rbs +716 -0
- data/sig/temporalio/api/workflow/v1/message.rbs +2322 -0
- data/sig/temporalio/api/workflowservice/v1/request_response.rbs +12735 -0
- data/sig/temporalio/api/workflowservice/v1/service.rbs +23 -0
- data/sig/temporalio/api/workflowservice.rbs +6 -0
- data/sig/temporalio/api.rbs +4 -0
- data/sig/temporalio/cancellation.rbs +20 -0
- data/sig/temporalio/client/activity_execution.rbs +50 -0
- data/sig/temporalio/client/activity_execution_count.rbs +17 -0
- data/sig/temporalio/client/activity_execution_status.rbs +15 -0
- data/sig/temporalio/client/activity_handle.rbs +26 -0
- data/sig/temporalio/client/activity_id_reference.rbs +16 -0
- data/sig/temporalio/client/async_activity_handle.rbs +41 -0
- data/sig/temporalio/client/connection/cloud_service.rbs +315 -0
- data/sig/temporalio/client/connection/operator_service.rbs +59 -0
- data/sig/temporalio/client/connection/service.rbs +17 -0
- data/sig/temporalio/client/connection/test_service.rbs +35 -0
- data/sig/temporalio/client/connection/workflow_service.rbs +499 -0
- data/sig/temporalio/client/connection.rbs +143 -0
- data/sig/temporalio/client/interceptor.rbs +622 -0
- data/sig/temporalio/client/pending_activity_state.rbs +14 -0
- data/sig/temporalio/client/plugin.rbs +14 -0
- data/sig/temporalio/client/schedule.rbs +337 -0
- data/sig/temporalio/client/schedule_handle.rbs +44 -0
- data/sig/temporalio/client/with_start_workflow_operation.rbs +82 -0
- data/sig/temporalio/client/workflow_execution.rbs +37 -0
- data/sig/temporalio/client/workflow_execution_count.rbs +17 -0
- data/sig/temporalio/client/workflow_execution_status.rbs +16 -0
- data/sig/temporalio/client/workflow_handle.rbs +95 -0
- data/sig/temporalio/client/workflow_query_reject_condition.rbs +12 -0
- data/sig/temporalio/client/workflow_update_handle.rbs +26 -0
- data/sig/temporalio/client/workflow_update_wait_stage.rbs +12 -0
- data/sig/temporalio/client.rbs +271 -0
- data/sig/temporalio/common_enums.rbs +60 -0
- data/sig/temporalio/contrib/open_telemetry.rbs +74 -0
- data/sig/temporalio/converters/data_converter.rbs +32 -0
- data/sig/temporalio/converters/failure_converter.rbs +12 -0
- data/sig/temporalio/converters/payload_codec.rbs +8 -0
- data/sig/temporalio/converters/payload_converter/binary_null.rbs +9 -0
- data/sig/temporalio/converters/payload_converter/binary_plain.rbs +9 -0
- data/sig/temporalio/converters/payload_converter/binary_protobuf.rbs +9 -0
- data/sig/temporalio/converters/payload_converter/composite.rbs +16 -0
- data/sig/temporalio/converters/payload_converter/encoding.rbs +13 -0
- data/sig/temporalio/converters/payload_converter/json_plain.rbs +14 -0
- data/sig/temporalio/converters/payload_converter/json_protobuf.rbs +9 -0
- data/sig/temporalio/converters/payload_converter.rbs +24 -0
- data/sig/temporalio/converters/raw_value.rbs +9 -0
- data/sig/temporalio/converters.rbs +4 -0
- data/sig/temporalio/env_config.rbs +86 -0
- data/sig/temporalio/error/failure.rbs +170 -0
- data/sig/temporalio/error.rbs +88 -0
- data/sig/temporalio/internal/bridge/api/activity_result/activity_result.rbs +247 -0
- data/sig/temporalio/internal/bridge/api/activity_task/activity_task.rbs +372 -0
- data/sig/temporalio/internal/bridge/api/child_workflow/child_workflow.rbs +207 -0
- data/sig/temporalio/internal/bridge/api/common/common.rbs +123 -0
- data/sig/temporalio/internal/bridge/api/core_interface.rbs +231 -0
- data/sig/temporalio/internal/bridge/api/external_data/external_data.rbs +134 -0
- data/sig/temporalio/internal/bridge/api/nexus/nexus.rbs +285 -0
- data/sig/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbs +1304 -0
- data/sig/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rbs +1526 -0
- data/sig/temporalio/internal/bridge/api/workflow_completion/workflow_completion.rbs +136 -0
- data/sig/temporalio/internal/bridge/api.rbs +8 -0
- data/sig/temporalio/internal/bridge/client.rbs +144 -0
- data/sig/temporalio/internal/bridge/metric.rbs +28 -0
- data/sig/temporalio/internal/bridge/runtime.rbs +97 -0
- data/sig/temporalio/internal/bridge/testing.rbs +91 -0
- data/sig/temporalio/internal/bridge/worker.rbs +199 -0
- data/sig/temporalio/internal/bridge.rbs +36 -0
- data/sig/temporalio/internal/client/implementation.rbs +33 -0
- data/sig/temporalio/internal/google_protobuf.rbs +7 -0
- data/sig/temporalio/internal/metric.rbs +35 -0
- data/sig/temporalio/internal/proto_utils.rbs +94 -0
- data/sig/temporalio/internal/worker/activity_worker.rbs +64 -0
- data/sig/temporalio/internal/worker/multi_runner.rbs +132 -0
- data/sig/temporalio/internal/worker/workflow_instance/child_workflow_handle.rbs +22 -0
- data/sig/temporalio/internal/worker/workflow_instance/context.rbs +172 -0
- data/sig/temporalio/internal/worker/workflow_instance/details.rbs +43 -0
- data/sig/temporalio/internal/worker/workflow_instance/external_workflow_handle.rbs +15 -0
- data/sig/temporalio/internal/worker/workflow_instance/externally_immutable_hash.rbs +16 -0
- data/sig/temporalio/internal/worker/workflow_instance/handler_execution.rbs +19 -0
- data/sig/temporalio/internal/worker/workflow_instance/handler_hash.rbs +14 -0
- data/sig/temporalio/internal/worker/workflow_instance/illegal_call_tracer.rbs +20 -0
- data/sig/temporalio/internal/worker/workflow_instance/inbound_implementation.rbs +19 -0
- data/sig/temporalio/internal/worker/workflow_instance/nexus_client.rbs +25 -0
- data/sig/temporalio/internal/worker/workflow_instance/nexus_operation_handle.rbs +19 -0
- data/sig/temporalio/internal/worker/workflow_instance/outbound_implementation.rbs +35 -0
- data/sig/temporalio/internal/worker/workflow_instance/replay_safe_logger.rbs +16 -0
- data/sig/temporalio/internal/worker/workflow_instance/replay_safe_metric.rbs +15 -0
- data/sig/temporalio/internal/worker/workflow_instance/scheduler.rbs +52 -0
- data/sig/temporalio/internal/worker/workflow_instance.rbs +111 -0
- data/sig/temporalio/internal/worker/workflow_worker.rbs +99 -0
- data/sig/temporalio/internal/workflow_task_failure_error.rbs +6 -0
- data/sig/temporalio/internal.rbs +4 -0
- data/sig/temporalio/metric.rbs +55 -0
- data/sig/temporalio/priority.rbs +17 -0
- data/sig/temporalio/retry_policy.rbs +21 -0
- data/sig/temporalio/runtime/metric_buffer.rbs +49 -0
- data/sig/temporalio/runtime.rbs +118 -0
- data/sig/temporalio/scoped_logger.rbs +15 -0
- data/sig/temporalio/search_attributes.rbs +82 -0
- data/sig/temporalio/simple_plugin.rbs +65 -0
- data/sig/temporalio/testing/activity_environment.rbs +52 -0
- data/sig/temporalio/testing/workflow_environment.rbs +141 -0
- data/sig/temporalio/testing.rbs +4 -0
- data/sig/temporalio/version.rbs +3 -0
- data/sig/temporalio/versioning_override.rbs +17 -0
- data/sig/temporalio/worker/activity_executor/fiber.rbs +9 -0
- data/sig/temporalio/worker/activity_executor/thread_pool.rbs +11 -0
- data/sig/temporalio/worker/activity_executor.rbs +12 -0
- data/sig/temporalio/worker/deployment_options.rbs +17 -0
- data/sig/temporalio/worker/illegal_workflow_call_validator.rbs +25 -0
- data/sig/temporalio/worker/interceptor.rbs +373 -0
- data/sig/temporalio/worker/plugin.rbs +47 -0
- data/sig/temporalio/worker/poller_behavior.rbs +23 -0
- data/sig/temporalio/worker/thread_pool.rbs +44 -0
- data/sig/temporalio/worker/tuner.rbs +121 -0
- data/sig/temporalio/worker/workflow_executor/thread_pool.rbs +58 -0
- data/sig/temporalio/worker/workflow_executor.rbs +15 -0
- data/sig/temporalio/worker/workflow_replayer.rbs +105 -0
- data/sig/temporalio/worker.rbs +168 -0
- data/sig/temporalio/worker_deployment_version.rbs +17 -0
- data/sig/temporalio/workflow/activity_cancellation_type.rbs +11 -0
- data/sig/temporalio/workflow/child_workflow_cancellation_type.rbs +12 -0
- data/sig/temporalio/workflow/child_workflow_handle.rbs +18 -0
- data/sig/temporalio/workflow/definition.rbs +181 -0
- data/sig/temporalio/workflow/external_workflow_handle.rbs +17 -0
- data/sig/temporalio/workflow/future.rbs +24 -0
- data/sig/temporalio/workflow/handler_unfinished_policy.rbs +10 -0
- data/sig/temporalio/workflow/info.rbs +79 -0
- data/sig/temporalio/workflow/nexus_client.rbs +34 -0
- data/sig/temporalio/workflow/nexus_operation_cancellation_type.rbs +12 -0
- data/sig/temporalio/workflow/nexus_operation_handle.rbs +10 -0
- data/sig/temporalio/workflow/parent_close_policy.rbs +12 -0
- data/sig/temporalio/workflow/update_info.rbs +15 -0
- data/sig/temporalio/workflow.rbs +215 -0
- data/sig/temporalio/workflow_history.rbs +13 -0
- data/sig/temporalio.rbs +3 -0
- data/temporalio.gemspec +1 -1
- metadata +445 -2
|
@@ -0,0 +1,1063 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# This RBS interface is provided for convenience, on a best-effort basis.
|
|
3
|
+
# The library is the definitive source for the API contract; if the RBS file
|
|
4
|
+
# and the library's behavior differ, the library behavior is authoritative.
|
|
5
|
+
# We welcome fixes to change the RBS file to match.
|
|
6
|
+
# source: temporal/api/deployment/v1/message.proto
|
|
7
|
+
|
|
8
|
+
module Temporalio
|
|
9
|
+
module Api
|
|
10
|
+
module Deployment
|
|
11
|
+
module V1
|
|
12
|
+
# Worker Deployment options set in SDK that need to be sent to server in every poll.
|
|
13
|
+
class WorkerDeploymentOptions < ::Google::Protobuf::AbstractMessage
|
|
14
|
+
|
|
15
|
+
# Required when `worker_versioning_mode==VERSIONED`.
|
|
16
|
+
attr_reader deployment_name(): ::String
|
|
17
|
+
attr_writer deployment_name(): ::String | ::Symbol
|
|
18
|
+
def clear_deployment_name: () -> void
|
|
19
|
+
|
|
20
|
+
# The Build ID of the worker. Required when `worker_versioning_mode==VERSIONED`, in which case,
|
|
21
|
+
# the worker will be part of a Deployment Version.
|
|
22
|
+
attr_reader build_id(): ::String
|
|
23
|
+
attr_writer build_id(): ::String | ::Symbol
|
|
24
|
+
def clear_build_id: () -> void
|
|
25
|
+
|
|
26
|
+
# Required. Versioning Mode for this worker. Must be the same for all workers with the
|
|
27
|
+
# same `deployment_name` and `build_id` combination, across all Task Queues.
|
|
28
|
+
# When `worker_versioning_mode==VERSIONED`, the worker will be part of a Deployment Version.
|
|
29
|
+
attr_reader worker_versioning_mode(): ::Temporalio::Api::Enums::V1::WorkerVersioningMode::names | ::Integer
|
|
30
|
+
attr_writer worker_versioning_mode(): ::Temporalio::Api::Enums::V1::WorkerVersioningMode::names | ::Temporalio::Api::Enums::V1::WorkerVersioningMode::strings | ::Integer | ::Float
|
|
31
|
+
attr_reader worker_versioning_mode_const(): ::Integer
|
|
32
|
+
def clear_worker_versioning_mode: () -> void
|
|
33
|
+
|
|
34
|
+
type init_map = {
|
|
35
|
+
deployment_name: (::String | ::Symbol)?,
|
|
36
|
+
"deployment_name" => (::String | ::Symbol)?,
|
|
37
|
+
build_id: (::String | ::Symbol)?,
|
|
38
|
+
"build_id" => (::String | ::Symbol)?,
|
|
39
|
+
worker_versioning_mode: (::Temporalio::Api::Enums::V1::WorkerVersioningMode::names | ::Temporalio::Api::Enums::V1::WorkerVersioningMode::strings | ::Integer | ::Float)?,
|
|
40
|
+
"worker_versioning_mode" => (::Temporalio::Api::Enums::V1::WorkerVersioningMode::names | ::Temporalio::Api::Enums::V1::WorkerVersioningMode::strings | ::Integer | ::Float)?,
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def initialize: (?init_map initial_value) -> void
|
|
44
|
+
|
|
45
|
+
def []:
|
|
46
|
+
("deployment_name" name) -> ::String
|
|
47
|
+
| ("build_id" name) -> ::String
|
|
48
|
+
| ("worker_versioning_mode" name) -> (::Temporalio::Api::Enums::V1::WorkerVersioningMode::names | ::Integer)
|
|
49
|
+
|
|
50
|
+
def []=:
|
|
51
|
+
("deployment_name" name, (::String | ::Symbol) value) -> void
|
|
52
|
+
| ("build_id" name, (::String | ::Symbol) value) -> void
|
|
53
|
+
| ("worker_versioning_mode" name, (::Temporalio::Api::Enums::V1::WorkerVersioningMode::names | ::Temporalio::Api::Enums::V1::WorkerVersioningMode::strings | ::Integer | ::Float) value) -> void
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# `Deployment` identifies a deployment of Temporal workers. The combination of deployment series
|
|
57
|
+
# name + build ID serves as the identifier. User can use `WorkerDeploymentOptions` in their worker
|
|
58
|
+
# programs to specify these values.
|
|
59
|
+
# Deprecated.
|
|
60
|
+
class Deployment < ::Google::Protobuf::AbstractMessage
|
|
61
|
+
|
|
62
|
+
# Different versions of the same worker service/application are related together by having a
|
|
63
|
+
# shared series name.
|
|
64
|
+
# Out of all deployments of a series, one can be designated as the current deployment, which
|
|
65
|
+
# receives new workflow executions and new tasks of workflows with
|
|
66
|
+
# `VERSIONING_BEHAVIOR_AUTO_UPGRADE` versioning behavior.
|
|
67
|
+
attr_reader series_name(): ::String
|
|
68
|
+
attr_writer series_name(): ::String | ::Symbol
|
|
69
|
+
def clear_series_name: () -> void
|
|
70
|
+
|
|
71
|
+
# Build ID changes with each version of the worker when the worker program code and/or config
|
|
72
|
+
# changes.
|
|
73
|
+
attr_reader build_id(): ::String
|
|
74
|
+
attr_writer build_id(): ::String | ::Symbol
|
|
75
|
+
def clear_build_id: () -> void
|
|
76
|
+
|
|
77
|
+
type init_map = {
|
|
78
|
+
series_name: (::String | ::Symbol)?,
|
|
79
|
+
"series_name" => (::String | ::Symbol)?,
|
|
80
|
+
build_id: (::String | ::Symbol)?,
|
|
81
|
+
"build_id" => (::String | ::Symbol)?,
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
def initialize: (?init_map initial_value) -> void
|
|
85
|
+
|
|
86
|
+
def []:
|
|
87
|
+
("series_name" name) -> ::String
|
|
88
|
+
| ("build_id" name) -> ::String
|
|
89
|
+
|
|
90
|
+
def []=:
|
|
91
|
+
("series_name" name, (::String | ::Symbol) value) -> void
|
|
92
|
+
| ("build_id" name, (::String | ::Symbol) value) -> void
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
# `DeploymentInfo` holds information about a deployment. Deployment information is tracked
|
|
96
|
+
# automatically by server as soon as the first poll from that deployment reaches the server. There
|
|
97
|
+
# can be multiple task queue workers in a single deployment which are listed in this message.
|
|
98
|
+
# Deprecated.
|
|
99
|
+
class DeploymentInfo < ::Google::Protobuf::AbstractMessage
|
|
100
|
+
class TaskQueueInfo < ::Google::Protobuf::AbstractMessage
|
|
101
|
+
|
|
102
|
+
attr_reader name(): ::String
|
|
103
|
+
attr_writer name(): ::String | ::Symbol
|
|
104
|
+
def clear_name: () -> void
|
|
105
|
+
|
|
106
|
+
attr_reader type(): ::Temporalio::Api::Enums::V1::TaskQueueType::names | ::Integer
|
|
107
|
+
attr_writer type(): ::Temporalio::Api::Enums::V1::TaskQueueType::names | ::Temporalio::Api::Enums::V1::TaskQueueType::strings | ::Integer | ::Float
|
|
108
|
+
attr_reader type_const(): ::Integer
|
|
109
|
+
def clear_type: () -> void
|
|
110
|
+
|
|
111
|
+
# When server saw the first poller for this task queue in this deployment.
|
|
112
|
+
attr_reader first_poller_time(): ::Google::Protobuf::Timestamp?
|
|
113
|
+
attr_writer first_poller_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
114
|
+
def has_first_poller_time?: () -> bool
|
|
115
|
+
def clear_first_poller_time: () -> void
|
|
116
|
+
|
|
117
|
+
type init_map = {
|
|
118
|
+
name: (::String | ::Symbol)?,
|
|
119
|
+
"name" => (::String | ::Symbol)?,
|
|
120
|
+
type: (::Temporalio::Api::Enums::V1::TaskQueueType::names | ::Temporalio::Api::Enums::V1::TaskQueueType::strings | ::Integer | ::Float)?,
|
|
121
|
+
"type" => (::Temporalio::Api::Enums::V1::TaskQueueType::names | ::Temporalio::Api::Enums::V1::TaskQueueType::strings | ::Integer | ::Float)?,
|
|
122
|
+
first_poller_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
123
|
+
"first_poller_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
def initialize: (?init_map initial_value) -> void
|
|
127
|
+
|
|
128
|
+
def []:
|
|
129
|
+
("name" name) -> ::String
|
|
130
|
+
| ("type" name) -> (::Temporalio::Api::Enums::V1::TaskQueueType::names | ::Integer)
|
|
131
|
+
| ("first_poller_time" name) -> ::Google::Protobuf::Timestamp?
|
|
132
|
+
|
|
133
|
+
def []=:
|
|
134
|
+
("name" name, (::String | ::Symbol) value) -> void
|
|
135
|
+
| ("type" name, (::Temporalio::Api::Enums::V1::TaskQueueType::names | ::Temporalio::Api::Enums::V1::TaskQueueType::strings | ::Integer | ::Float) value) -> void
|
|
136
|
+
| ("first_poller_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
attr_accessor deployment(): ::Temporalio::Api::Deployment::V1::Deployment?
|
|
140
|
+
def has_deployment?: () -> bool
|
|
141
|
+
def clear_deployment: () -> void
|
|
142
|
+
|
|
143
|
+
attr_reader create_time(): ::Google::Protobuf::Timestamp?
|
|
144
|
+
attr_writer create_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
145
|
+
def has_create_time?: () -> bool
|
|
146
|
+
def clear_create_time: () -> void
|
|
147
|
+
|
|
148
|
+
attr_accessor task_queue_infos(): ::Google::Protobuf::RepeatedField
|
|
149
|
+
def clear_task_queue_infos: () -> void
|
|
150
|
+
|
|
151
|
+
# A user-defined set of key-values. Can be updated as part of write operations to the
|
|
152
|
+
# deployment, such as `SetCurrentDeployment`.
|
|
153
|
+
attr_accessor metadata(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]
|
|
154
|
+
def clear_metadata: () -> void
|
|
155
|
+
|
|
156
|
+
# If this deployment is the current deployment of its deployment series.
|
|
157
|
+
attr_accessor is_current(): bool
|
|
158
|
+
def clear_is_current: () -> void
|
|
159
|
+
|
|
160
|
+
type init_map = {
|
|
161
|
+
deployment: (::Temporalio::Api::Deployment::V1::Deployment | ::Temporalio::Api::Deployment::V1::Deployment::init_map)?,
|
|
162
|
+
"deployment" => (::Temporalio::Api::Deployment::V1::Deployment | ::Temporalio::Api::Deployment::V1::Deployment::init_map)?,
|
|
163
|
+
create_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
164
|
+
"create_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
165
|
+
task_queue_infos: ::Array[::Temporalio::Api::Deployment::V1::DeploymentInfo::TaskQueueInfo]?,
|
|
166
|
+
"task_queue_infos" => ::Array[::Temporalio::Api::Deployment::V1::DeploymentInfo::TaskQueueInfo]?,
|
|
167
|
+
metadata: ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?,
|
|
168
|
+
"metadata" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?,
|
|
169
|
+
is_current: bool?,
|
|
170
|
+
"is_current" => bool?,
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
def initialize: (?init_map initial_value) -> void
|
|
174
|
+
|
|
175
|
+
def []:
|
|
176
|
+
("deployment" name) -> ::Temporalio::Api::Deployment::V1::Deployment?
|
|
177
|
+
| ("create_time" name) -> ::Google::Protobuf::Timestamp?
|
|
178
|
+
| ("task_queue_infos" name) -> ::Google::Protobuf::RepeatedField
|
|
179
|
+
| ("metadata" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload])
|
|
180
|
+
| ("is_current" name) -> bool
|
|
181
|
+
|
|
182
|
+
def []=:
|
|
183
|
+
("deployment" name, ::Temporalio::Api::Deployment::V1::Deployment? value) -> void
|
|
184
|
+
| ("create_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
185
|
+
| ("task_queue_infos" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
186
|
+
| ("metadata" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]) value) -> void
|
|
187
|
+
| ("is_current" name, bool value) -> void
|
|
188
|
+
end
|
|
189
|
+
|
|
190
|
+
# Used as part of Deployment write APIs to update metadata attached to a deployment.
|
|
191
|
+
# Deprecated.
|
|
192
|
+
class UpdateDeploymentMetadata < ::Google::Protobuf::AbstractMessage
|
|
193
|
+
|
|
194
|
+
attr_accessor upsert_entries(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]
|
|
195
|
+
def clear_upsert_entries: () -> void
|
|
196
|
+
|
|
197
|
+
# List of keys to remove from the metadata.
|
|
198
|
+
attr_accessor remove_entries(): ::Google::Protobuf::RepeatedField
|
|
199
|
+
def clear_remove_entries: () -> void
|
|
200
|
+
|
|
201
|
+
type init_map = {
|
|
202
|
+
upsert_entries: ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?,
|
|
203
|
+
"upsert_entries" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?,
|
|
204
|
+
remove_entries: ::Array[::String | ::Symbol]?,
|
|
205
|
+
"remove_entries" => ::Array[::String | ::Symbol]?,
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
def initialize: (?init_map initial_value) -> void
|
|
209
|
+
|
|
210
|
+
def []:
|
|
211
|
+
("upsert_entries" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload])
|
|
212
|
+
| ("remove_entries" name) -> (::Google::Protobuf::RepeatedField)
|
|
213
|
+
|
|
214
|
+
def []=:
|
|
215
|
+
("upsert_entries" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]) value) -> void
|
|
216
|
+
| ("remove_entries" name, (::Google::Protobuf::RepeatedField) value) -> void
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
# DeploymentListInfo is an abbreviated set of fields from DeploymentInfo that's returned in
|
|
220
|
+
# ListDeployments.
|
|
221
|
+
# Deprecated.
|
|
222
|
+
class DeploymentListInfo < ::Google::Protobuf::AbstractMessage
|
|
223
|
+
|
|
224
|
+
attr_accessor deployment(): ::Temporalio::Api::Deployment::V1::Deployment?
|
|
225
|
+
def has_deployment?: () -> bool
|
|
226
|
+
def clear_deployment: () -> void
|
|
227
|
+
|
|
228
|
+
attr_reader create_time(): ::Google::Protobuf::Timestamp?
|
|
229
|
+
attr_writer create_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
230
|
+
def has_create_time?: () -> bool
|
|
231
|
+
def clear_create_time: () -> void
|
|
232
|
+
|
|
233
|
+
# If this deployment is the current deployment of its deployment series.
|
|
234
|
+
attr_accessor is_current(): bool
|
|
235
|
+
def clear_is_current: () -> void
|
|
236
|
+
|
|
237
|
+
type init_map = {
|
|
238
|
+
deployment: (::Temporalio::Api::Deployment::V1::Deployment | ::Temporalio::Api::Deployment::V1::Deployment::init_map)?,
|
|
239
|
+
"deployment" => (::Temporalio::Api::Deployment::V1::Deployment | ::Temporalio::Api::Deployment::V1::Deployment::init_map)?,
|
|
240
|
+
create_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
241
|
+
"create_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
242
|
+
is_current: bool?,
|
|
243
|
+
"is_current" => bool?,
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
def initialize: (?init_map initial_value) -> void
|
|
247
|
+
|
|
248
|
+
def []:
|
|
249
|
+
("deployment" name) -> ::Temporalio::Api::Deployment::V1::Deployment?
|
|
250
|
+
| ("create_time" name) -> ::Google::Protobuf::Timestamp?
|
|
251
|
+
| ("is_current" name) -> bool
|
|
252
|
+
|
|
253
|
+
def []=:
|
|
254
|
+
("deployment" name, ::Temporalio::Api::Deployment::V1::Deployment? value) -> void
|
|
255
|
+
| ("create_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
256
|
+
| ("is_current" name, bool value) -> void
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
# A Worker Deployment Version (Version, for short) represents all workers of the same
|
|
260
|
+
# code and config within a Deployment. Workers of the same Version are expected to
|
|
261
|
+
# behave exactly the same so when executions move between them there are no
|
|
262
|
+
# non-determinism issues.
|
|
263
|
+
# Worker Deployment Versions are created in Temporal server automatically when
|
|
264
|
+
# their first poller arrives to the server.
|
|
265
|
+
class WorkerDeploymentVersionInfo < ::Google::Protobuf::AbstractMessage
|
|
266
|
+
class VersionTaskQueueInfo < ::Google::Protobuf::AbstractMessage
|
|
267
|
+
|
|
268
|
+
attr_reader name(): ::String
|
|
269
|
+
attr_writer name(): ::String | ::Symbol
|
|
270
|
+
def clear_name: () -> void
|
|
271
|
+
|
|
272
|
+
attr_reader type(): ::Temporalio::Api::Enums::V1::TaskQueueType::names | ::Integer
|
|
273
|
+
attr_writer type(): ::Temporalio::Api::Enums::V1::TaskQueueType::names | ::Temporalio::Api::Enums::V1::TaskQueueType::strings | ::Integer | ::Float
|
|
274
|
+
attr_reader type_const(): ::Integer
|
|
275
|
+
def clear_type: () -> void
|
|
276
|
+
|
|
277
|
+
type init_map = {
|
|
278
|
+
name: (::String | ::Symbol)?,
|
|
279
|
+
"name" => (::String | ::Symbol)?,
|
|
280
|
+
type: (::Temporalio::Api::Enums::V1::TaskQueueType::names | ::Temporalio::Api::Enums::V1::TaskQueueType::strings | ::Integer | ::Float)?,
|
|
281
|
+
"type" => (::Temporalio::Api::Enums::V1::TaskQueueType::names | ::Temporalio::Api::Enums::V1::TaskQueueType::strings | ::Integer | ::Float)?,
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
def initialize: (?init_map initial_value) -> void
|
|
285
|
+
|
|
286
|
+
def []:
|
|
287
|
+
("name" name) -> ::String
|
|
288
|
+
| ("type" name) -> (::Temporalio::Api::Enums::V1::TaskQueueType::names | ::Integer)
|
|
289
|
+
|
|
290
|
+
def []=:
|
|
291
|
+
("name" name, (::String | ::Symbol) value) -> void
|
|
292
|
+
| ("type" name, (::Temporalio::Api::Enums::V1::TaskQueueType::names | ::Temporalio::Api::Enums::V1::TaskQueueType::strings | ::Integer | ::Float) value) -> void
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
# Deprecated. Use `deployment_version`.
|
|
296
|
+
# @deprecated
|
|
297
|
+
attr_reader version(): ::String
|
|
298
|
+
attr_writer version(): ::String | ::Symbol
|
|
299
|
+
def clear_version: () -> void
|
|
300
|
+
|
|
301
|
+
# The status of the Worker Deployment Version.
|
|
302
|
+
attr_reader status(): ::Temporalio::Api::Enums::V1::WorkerDeploymentVersionStatus::names | ::Integer
|
|
303
|
+
attr_writer status(): ::Temporalio::Api::Enums::V1::WorkerDeploymentVersionStatus::names | ::Temporalio::Api::Enums::V1::WorkerDeploymentVersionStatus::strings | ::Integer | ::Float
|
|
304
|
+
attr_reader status_const(): ::Integer
|
|
305
|
+
def clear_status: () -> void
|
|
306
|
+
|
|
307
|
+
# Required.
|
|
308
|
+
attr_accessor deployment_version(): ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion?
|
|
309
|
+
def has_deployment_version?: () -> bool
|
|
310
|
+
def clear_deployment_version: () -> void
|
|
311
|
+
|
|
312
|
+
# Deprecated. User deployment_version.deployment_name.
|
|
313
|
+
attr_reader deployment_name(): ::String
|
|
314
|
+
attr_writer deployment_name(): ::String | ::Symbol
|
|
315
|
+
def clear_deployment_name: () -> void
|
|
316
|
+
|
|
317
|
+
attr_reader create_time(): ::Google::Protobuf::Timestamp?
|
|
318
|
+
attr_writer create_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
319
|
+
def has_create_time?: () -> bool
|
|
320
|
+
def clear_create_time: () -> void
|
|
321
|
+
|
|
322
|
+
# Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.
|
|
323
|
+
attr_reader routing_changed_time(): ::Google::Protobuf::Timestamp?
|
|
324
|
+
attr_writer routing_changed_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
325
|
+
def has_routing_changed_time?: () -> bool
|
|
326
|
+
def clear_routing_changed_time: () -> void
|
|
327
|
+
|
|
328
|
+
# (-- api-linter: core::0140::prepositions=disabled
|
|
329
|
+
# aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --)
|
|
330
|
+
# Unset if not current.
|
|
331
|
+
attr_reader current_since_time(): ::Google::Protobuf::Timestamp?
|
|
332
|
+
attr_writer current_since_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
333
|
+
def has_current_since_time?: () -> bool
|
|
334
|
+
def clear_current_since_time: () -> void
|
|
335
|
+
|
|
336
|
+
# (-- api-linter: core::0140::prepositions=disabled
|
|
337
|
+
# aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --)
|
|
338
|
+
# Unset if not ramping. Updated when the version first starts ramping, not on each ramp change.
|
|
339
|
+
attr_reader ramping_since_time(): ::Google::Protobuf::Timestamp?
|
|
340
|
+
attr_writer ramping_since_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
341
|
+
def has_ramping_since_time?: () -> bool
|
|
342
|
+
def clear_ramping_since_time: () -> void
|
|
343
|
+
|
|
344
|
+
# Timestamp when this version first became current or ramping.
|
|
345
|
+
attr_reader first_activation_time(): ::Google::Protobuf::Timestamp?
|
|
346
|
+
attr_writer first_activation_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
347
|
+
def has_first_activation_time?: () -> bool
|
|
348
|
+
def clear_first_activation_time: () -> void
|
|
349
|
+
|
|
350
|
+
# Timestamp when this version last became current.
|
|
351
|
+
# Can be used to determine whether a version has ever been Current.
|
|
352
|
+
attr_reader last_current_time(): ::Google::Protobuf::Timestamp?
|
|
353
|
+
attr_writer last_current_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
354
|
+
def has_last_current_time?: () -> bool
|
|
355
|
+
def clear_last_current_time: () -> void
|
|
356
|
+
|
|
357
|
+
# Timestamp when this version last stopped being current or ramping.
|
|
358
|
+
# Cleared if the version becomes current or ramping again.
|
|
359
|
+
attr_reader last_deactivation_time(): ::Google::Protobuf::Timestamp?
|
|
360
|
+
attr_writer last_deactivation_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
361
|
+
def has_last_deactivation_time?: () -> bool
|
|
362
|
+
def clear_last_deactivation_time: () -> void
|
|
363
|
+
|
|
364
|
+
# Range: [0, 100]. Must be zero if the version is not ramping (i.e. `ramping_since_time` is nil).
|
|
365
|
+
# Can be in the range [0, 100] if the version is ramping.
|
|
366
|
+
attr_reader ramp_percentage(): ::Float
|
|
367
|
+
attr_writer ramp_percentage(): ::Float | ::Integer
|
|
368
|
+
def clear_ramp_percentage: () -> void
|
|
369
|
+
|
|
370
|
+
# All the Task Queues that have ever polled from this Deployment version.
|
|
371
|
+
# Deprecated. Use `version_task_queues` in DescribeWorkerDeploymentVersionResponse instead.
|
|
372
|
+
attr_accessor task_queue_infos(): ::Google::Protobuf::RepeatedField
|
|
373
|
+
def clear_task_queue_infos: () -> void
|
|
374
|
+
|
|
375
|
+
# Helps user determine when it is safe to decommission the workers of this
|
|
376
|
+
# Version. Not present when version is current or ramping.
|
|
377
|
+
# Current limitations:
|
|
378
|
+
# - Not supported for Unversioned mode.
|
|
379
|
+
# - Periodically refreshed, may have delays up to few minutes (consult the
|
|
380
|
+
# last_checked_time value).
|
|
381
|
+
# - Refreshed only when version is not current or ramping AND the status is not
|
|
382
|
+
# "drained" yet.
|
|
383
|
+
# - Once the status is changed to "drained", it is not changed until the Version
|
|
384
|
+
# becomes Current or Ramping again, at which time the drainage info is cleared.
|
|
385
|
+
# This means if the Version is "drained" but new workflows are sent to it via
|
|
386
|
+
# Pinned Versioning Override, the status does not account for those Pinned-override
|
|
387
|
+
# executions and remains "drained".
|
|
388
|
+
attr_accessor drainage_info(): ::Temporalio::Api::Deployment::V1::VersionDrainageInfo?
|
|
389
|
+
def has_drainage_info?: () -> bool
|
|
390
|
+
def clear_drainage_info: () -> void
|
|
391
|
+
|
|
392
|
+
# Arbitrary user-provided metadata attached to this version.
|
|
393
|
+
attr_accessor metadata(): ::Temporalio::Api::Deployment::V1::VersionMetadata?
|
|
394
|
+
def has_metadata?: () -> bool
|
|
395
|
+
def clear_metadata: () -> void
|
|
396
|
+
|
|
397
|
+
# Optional. Contains the new worker compute configuration for the Worker
|
|
398
|
+
# Deployment. Used for worker scale management.
|
|
399
|
+
attr_accessor compute_config(): ::Temporalio::Api::Compute::V1::ComputeConfig?
|
|
400
|
+
def has_compute_config?: () -> bool
|
|
401
|
+
def clear_compute_config: () -> void
|
|
402
|
+
|
|
403
|
+
# Identity of the last client who modified the configuration of this Version.
|
|
404
|
+
# As of now, this field only covers changes through the following APIs:
|
|
405
|
+
# - `CreateWorkerDeploymentVersion`
|
|
406
|
+
# - `UpdateWorkerDeploymentVersionComputeConfig`
|
|
407
|
+
# - `UpdateWorkerDeploymentVersionMetadata`
|
|
408
|
+
attr_reader last_modifier_identity(): ::String
|
|
409
|
+
attr_writer last_modifier_identity(): ::String | ::Symbol
|
|
410
|
+
def clear_last_modifier_identity: () -> void
|
|
411
|
+
|
|
412
|
+
type init_map = {
|
|
413
|
+
version: (::String | ::Symbol)?,
|
|
414
|
+
"version" => (::String | ::Symbol)?,
|
|
415
|
+
status: (::Temporalio::Api::Enums::V1::WorkerDeploymentVersionStatus::names | ::Temporalio::Api::Enums::V1::WorkerDeploymentVersionStatus::strings | ::Integer | ::Float)?,
|
|
416
|
+
"status" => (::Temporalio::Api::Enums::V1::WorkerDeploymentVersionStatus::names | ::Temporalio::Api::Enums::V1::WorkerDeploymentVersionStatus::strings | ::Integer | ::Float)?,
|
|
417
|
+
deployment_version: (::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion | ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion::init_map)?,
|
|
418
|
+
"deployment_version" => (::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion | ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion::init_map)?,
|
|
419
|
+
deployment_name: (::String | ::Symbol)?,
|
|
420
|
+
"deployment_name" => (::String | ::Symbol)?,
|
|
421
|
+
create_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
422
|
+
"create_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
423
|
+
routing_changed_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
424
|
+
"routing_changed_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
425
|
+
current_since_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
426
|
+
"current_since_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
427
|
+
ramping_since_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
428
|
+
"ramping_since_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
429
|
+
first_activation_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
430
|
+
"first_activation_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
431
|
+
last_current_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
432
|
+
"last_current_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
433
|
+
last_deactivation_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
434
|
+
"last_deactivation_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
435
|
+
ramp_percentage: (::Float | ::Integer)?,
|
|
436
|
+
"ramp_percentage" => (::Float | ::Integer)?,
|
|
437
|
+
task_queue_infos: ::Array[::Temporalio::Api::Deployment::V1::WorkerDeploymentVersionInfo::VersionTaskQueueInfo]?,
|
|
438
|
+
"task_queue_infos" => ::Array[::Temporalio::Api::Deployment::V1::WorkerDeploymentVersionInfo::VersionTaskQueueInfo]?,
|
|
439
|
+
drainage_info: (::Temporalio::Api::Deployment::V1::VersionDrainageInfo | ::Temporalio::Api::Deployment::V1::VersionDrainageInfo::init_map)?,
|
|
440
|
+
"drainage_info" => (::Temporalio::Api::Deployment::V1::VersionDrainageInfo | ::Temporalio::Api::Deployment::V1::VersionDrainageInfo::init_map)?,
|
|
441
|
+
metadata: (::Temporalio::Api::Deployment::V1::VersionMetadata | ::Temporalio::Api::Deployment::V1::VersionMetadata::init_map)?,
|
|
442
|
+
"metadata" => (::Temporalio::Api::Deployment::V1::VersionMetadata | ::Temporalio::Api::Deployment::V1::VersionMetadata::init_map)?,
|
|
443
|
+
compute_config: (::Temporalio::Api::Compute::V1::ComputeConfig | ::Temporalio::Api::Compute::V1::ComputeConfig::init_map)?,
|
|
444
|
+
"compute_config" => (::Temporalio::Api::Compute::V1::ComputeConfig | ::Temporalio::Api::Compute::V1::ComputeConfig::init_map)?,
|
|
445
|
+
last_modifier_identity: (::String | ::Symbol)?,
|
|
446
|
+
"last_modifier_identity" => (::String | ::Symbol)?,
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
def initialize: (?init_map initial_value) -> void
|
|
450
|
+
|
|
451
|
+
def []:
|
|
452
|
+
("version" name) -> ::String
|
|
453
|
+
| ("status" name) -> (::Temporalio::Api::Enums::V1::WorkerDeploymentVersionStatus::names | ::Integer)
|
|
454
|
+
| ("deployment_version" name) -> ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion?
|
|
455
|
+
| ("deployment_name" name) -> ::String
|
|
456
|
+
| ("create_time" name) -> ::Google::Protobuf::Timestamp?
|
|
457
|
+
| ("routing_changed_time" name) -> ::Google::Protobuf::Timestamp?
|
|
458
|
+
| ("current_since_time" name) -> ::Google::Protobuf::Timestamp?
|
|
459
|
+
| ("ramping_since_time" name) -> ::Google::Protobuf::Timestamp?
|
|
460
|
+
| ("first_activation_time" name) -> ::Google::Protobuf::Timestamp?
|
|
461
|
+
| ("last_current_time" name) -> ::Google::Protobuf::Timestamp?
|
|
462
|
+
| ("last_deactivation_time" name) -> ::Google::Protobuf::Timestamp?
|
|
463
|
+
| ("ramp_percentage" name) -> ::Float
|
|
464
|
+
| ("task_queue_infos" name) -> ::Google::Protobuf::RepeatedField
|
|
465
|
+
| ("drainage_info" name) -> ::Temporalio::Api::Deployment::V1::VersionDrainageInfo?
|
|
466
|
+
| ("metadata" name) -> ::Temporalio::Api::Deployment::V1::VersionMetadata?
|
|
467
|
+
| ("compute_config" name) -> ::Temporalio::Api::Compute::V1::ComputeConfig?
|
|
468
|
+
| ("last_modifier_identity" name) -> ::String
|
|
469
|
+
|
|
470
|
+
def []=:
|
|
471
|
+
("version" name, (::String | ::Symbol) value) -> void
|
|
472
|
+
| ("status" name, (::Temporalio::Api::Enums::V1::WorkerDeploymentVersionStatus::names | ::Temporalio::Api::Enums::V1::WorkerDeploymentVersionStatus::strings | ::Integer | ::Float) value) -> void
|
|
473
|
+
| ("deployment_version" name, ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion? value) -> void
|
|
474
|
+
| ("deployment_name" name, (::String | ::Symbol) value) -> void
|
|
475
|
+
| ("create_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
476
|
+
| ("routing_changed_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
477
|
+
| ("current_since_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
478
|
+
| ("ramping_since_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
479
|
+
| ("first_activation_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
480
|
+
| ("last_current_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
481
|
+
| ("last_deactivation_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
482
|
+
| ("ramp_percentage" name, (::Float | ::Integer) value) -> void
|
|
483
|
+
| ("task_queue_infos" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
484
|
+
| ("drainage_info" name, ::Temporalio::Api::Deployment::V1::VersionDrainageInfo? value) -> void
|
|
485
|
+
| ("metadata" name, ::Temporalio::Api::Deployment::V1::VersionMetadata? value) -> void
|
|
486
|
+
| ("compute_config" name, ::Temporalio::Api::Compute::V1::ComputeConfig? value) -> void
|
|
487
|
+
| ("last_modifier_identity" name, (::String | ::Symbol) value) -> void
|
|
488
|
+
end
|
|
489
|
+
|
|
490
|
+
# Information about workflow drainage to help the user determine when it is safe
|
|
491
|
+
# to decommission a Version. Not present while version is current or ramping.
|
|
492
|
+
class VersionDrainageInfo < ::Google::Protobuf::AbstractMessage
|
|
493
|
+
|
|
494
|
+
# Set to DRAINING when the version first stops accepting new executions (is no longer current or ramping).
|
|
495
|
+
# Set to DRAINED when no more open pinned workflows exist on this version.
|
|
496
|
+
attr_reader status(): ::Temporalio::Api::Enums::V1::VersionDrainageStatus::names | ::Integer
|
|
497
|
+
attr_writer status(): ::Temporalio::Api::Enums::V1::VersionDrainageStatus::names | ::Temporalio::Api::Enums::V1::VersionDrainageStatus::strings | ::Integer | ::Float
|
|
498
|
+
attr_reader status_const(): ::Integer
|
|
499
|
+
def clear_status: () -> void
|
|
500
|
+
|
|
501
|
+
# Last time the drainage status changed.
|
|
502
|
+
attr_reader last_changed_time(): ::Google::Protobuf::Timestamp?
|
|
503
|
+
attr_writer last_changed_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
504
|
+
def has_last_changed_time?: () -> bool
|
|
505
|
+
def clear_last_changed_time: () -> void
|
|
506
|
+
|
|
507
|
+
# Last time the system checked for drainage of this version.
|
|
508
|
+
attr_reader last_checked_time(): ::Google::Protobuf::Timestamp?
|
|
509
|
+
attr_writer last_checked_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
510
|
+
def has_last_checked_time?: () -> bool
|
|
511
|
+
def clear_last_checked_time: () -> void
|
|
512
|
+
|
|
513
|
+
type init_map = {
|
|
514
|
+
status: (::Temporalio::Api::Enums::V1::VersionDrainageStatus::names | ::Temporalio::Api::Enums::V1::VersionDrainageStatus::strings | ::Integer | ::Float)?,
|
|
515
|
+
"status" => (::Temporalio::Api::Enums::V1::VersionDrainageStatus::names | ::Temporalio::Api::Enums::V1::VersionDrainageStatus::strings | ::Integer | ::Float)?,
|
|
516
|
+
last_changed_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
517
|
+
"last_changed_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
518
|
+
last_checked_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
519
|
+
"last_checked_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
def initialize: (?init_map initial_value) -> void
|
|
523
|
+
|
|
524
|
+
def []:
|
|
525
|
+
("status" name) -> (::Temporalio::Api::Enums::V1::VersionDrainageStatus::names | ::Integer)
|
|
526
|
+
| ("last_changed_time" name) -> ::Google::Protobuf::Timestamp?
|
|
527
|
+
| ("last_checked_time" name) -> ::Google::Protobuf::Timestamp?
|
|
528
|
+
|
|
529
|
+
def []=:
|
|
530
|
+
("status" name, (::Temporalio::Api::Enums::V1::VersionDrainageStatus::names | ::Temporalio::Api::Enums::V1::VersionDrainageStatus::strings | ::Integer | ::Float) value) -> void
|
|
531
|
+
| ("last_changed_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
532
|
+
| ("last_checked_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
533
|
+
end
|
|
534
|
+
|
|
535
|
+
# ComputeStatus represents compute-related configuration and health for a Worker Deployment Version.
|
|
536
|
+
class ComputeStatus < ::Google::Protobuf::AbstractMessage
|
|
537
|
+
# ProviderValidationStatus represents the result of the most recent
|
|
538
|
+
# connectivity check between Temporal and a customer's compute provider.
|
|
539
|
+
class ProviderValidationStatus < ::Google::Protobuf::AbstractMessage
|
|
540
|
+
|
|
541
|
+
# Human-readable error message if connectivity validation failed.
|
|
542
|
+
# An empty string means validation passed.
|
|
543
|
+
attr_reader error_message(): ::String
|
|
544
|
+
attr_writer error_message(): ::String | ::Symbol
|
|
545
|
+
def clear_error_message: () -> void
|
|
546
|
+
|
|
547
|
+
# Timestamp of the last validation check.
|
|
548
|
+
attr_reader last_check_time(): ::Google::Protobuf::Timestamp?
|
|
549
|
+
attr_writer last_check_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
550
|
+
def has_last_check_time?: () -> bool
|
|
551
|
+
def clear_last_check_time: () -> void
|
|
552
|
+
|
|
553
|
+
type init_map = {
|
|
554
|
+
error_message: (::String | ::Symbol)?,
|
|
555
|
+
"error_message" => (::String | ::Symbol)?,
|
|
556
|
+
last_check_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
557
|
+
"last_check_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
def initialize: (?init_map initial_value) -> void
|
|
561
|
+
|
|
562
|
+
def []:
|
|
563
|
+
("error_message" name) -> ::String
|
|
564
|
+
| ("last_check_time" name) -> ::Google::Protobuf::Timestamp?
|
|
565
|
+
|
|
566
|
+
def []=:
|
|
567
|
+
("error_message" name, (::String | ::Symbol) value) -> void
|
|
568
|
+
| ("last_check_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
569
|
+
end
|
|
570
|
+
|
|
571
|
+
# provider_validation encapsulates the health signal for validating the compute provider.
|
|
572
|
+
attr_accessor provider_validation(): ::Temporalio::Api::Deployment::V1::ComputeStatus::ProviderValidationStatus?
|
|
573
|
+
def has_provider_validation?: () -> bool
|
|
574
|
+
def clear_provider_validation: () -> void
|
|
575
|
+
|
|
576
|
+
type init_map = {
|
|
577
|
+
provider_validation: (::Temporalio::Api::Deployment::V1::ComputeStatus::ProviderValidationStatus | ::Temporalio::Api::Deployment::V1::ComputeStatus::ProviderValidationStatus::init_map)?,
|
|
578
|
+
"provider_validation" => (::Temporalio::Api::Deployment::V1::ComputeStatus::ProviderValidationStatus | ::Temporalio::Api::Deployment::V1::ComputeStatus::ProviderValidationStatus::init_map)?,
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
def initialize: (?init_map initial_value) -> void
|
|
582
|
+
|
|
583
|
+
def []:
|
|
584
|
+
("provider_validation" name) -> ::Temporalio::Api::Deployment::V1::ComputeStatus::ProviderValidationStatus?
|
|
585
|
+
|
|
586
|
+
def []=:
|
|
587
|
+
("provider_validation" name, ::Temporalio::Api::Deployment::V1::ComputeStatus::ProviderValidationStatus? value) -> void
|
|
588
|
+
end
|
|
589
|
+
|
|
590
|
+
# A Worker Deployment (Deployment, for short) represents all workers serving
|
|
591
|
+
# a shared set of Task Queues. Typically, a Deployment represents one service or
|
|
592
|
+
# application.
|
|
593
|
+
# A Deployment contains multiple Deployment Versions, each representing a different
|
|
594
|
+
# version of workers. (see documentation of WorkerDeploymentVersionInfo)
|
|
595
|
+
# Deployment records are created in Temporal server automatically when their
|
|
596
|
+
# first poller arrives to the server.
|
|
597
|
+
class WorkerDeploymentInfo < ::Google::Protobuf::AbstractMessage
|
|
598
|
+
class WorkerDeploymentVersionSummary < ::Google::Protobuf::AbstractMessage
|
|
599
|
+
|
|
600
|
+
# Deprecated. Use `deployment_version`.
|
|
601
|
+
# @deprecated
|
|
602
|
+
attr_reader version(): ::String
|
|
603
|
+
attr_writer version(): ::String | ::Symbol
|
|
604
|
+
def clear_version: () -> void
|
|
605
|
+
|
|
606
|
+
# The status of the Worker Deployment Version.
|
|
607
|
+
attr_reader status(): ::Temporalio::Api::Enums::V1::WorkerDeploymentVersionStatus::names | ::Integer
|
|
608
|
+
attr_writer status(): ::Temporalio::Api::Enums::V1::WorkerDeploymentVersionStatus::names | ::Temporalio::Api::Enums::V1::WorkerDeploymentVersionStatus::strings | ::Integer | ::Float
|
|
609
|
+
attr_reader status_const(): ::Integer
|
|
610
|
+
def clear_status: () -> void
|
|
611
|
+
|
|
612
|
+
# Required.
|
|
613
|
+
attr_accessor deployment_version(): ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion?
|
|
614
|
+
def has_deployment_version?: () -> bool
|
|
615
|
+
def clear_deployment_version: () -> void
|
|
616
|
+
|
|
617
|
+
attr_reader create_time(): ::Google::Protobuf::Timestamp?
|
|
618
|
+
attr_writer create_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
619
|
+
def has_create_time?: () -> bool
|
|
620
|
+
def clear_create_time: () -> void
|
|
621
|
+
|
|
622
|
+
# Deprecated. Use `drainage_info` instead.
|
|
623
|
+
attr_reader drainage_status(): ::Temporalio::Api::Enums::V1::VersionDrainageStatus::names | ::Integer
|
|
624
|
+
attr_writer drainage_status(): ::Temporalio::Api::Enums::V1::VersionDrainageStatus::names | ::Temporalio::Api::Enums::V1::VersionDrainageStatus::strings | ::Integer | ::Float
|
|
625
|
+
attr_reader drainage_status_const(): ::Integer
|
|
626
|
+
def clear_drainage_status: () -> void
|
|
627
|
+
|
|
628
|
+
# Information about workflow drainage to help the user determine when it is safe
|
|
629
|
+
# to decommission a Version. Not present while version is current or ramping
|
|
630
|
+
attr_accessor drainage_info(): ::Temporalio::Api::Deployment::V1::VersionDrainageInfo?
|
|
631
|
+
def has_drainage_info?: () -> bool
|
|
632
|
+
def clear_drainage_info: () -> void
|
|
633
|
+
|
|
634
|
+
# Unset if not current.
|
|
635
|
+
# (-- api-linter: core::0140::prepositions=disabled
|
|
636
|
+
# aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --)
|
|
637
|
+
attr_reader current_since_time(): ::Google::Protobuf::Timestamp?
|
|
638
|
+
attr_writer current_since_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
639
|
+
def has_current_since_time?: () -> bool
|
|
640
|
+
def clear_current_since_time: () -> void
|
|
641
|
+
|
|
642
|
+
# Unset if not ramping. Updated when the version first starts ramping, not on each ramp change.
|
|
643
|
+
# (-- api-linter: core::0140::prepositions=disabled
|
|
644
|
+
# aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --)
|
|
645
|
+
attr_reader ramping_since_time(): ::Google::Protobuf::Timestamp?
|
|
646
|
+
attr_writer ramping_since_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
647
|
+
def has_ramping_since_time?: () -> bool
|
|
648
|
+
def clear_ramping_since_time: () -> void
|
|
649
|
+
|
|
650
|
+
# Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.
|
|
651
|
+
attr_reader routing_update_time(): ::Google::Protobuf::Timestamp?
|
|
652
|
+
attr_writer routing_update_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
653
|
+
def has_routing_update_time?: () -> bool
|
|
654
|
+
def clear_routing_update_time: () -> void
|
|
655
|
+
|
|
656
|
+
# Timestamp when this version first became current or ramping.
|
|
657
|
+
attr_reader first_activation_time(): ::Google::Protobuf::Timestamp?
|
|
658
|
+
attr_writer first_activation_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
659
|
+
def has_first_activation_time?: () -> bool
|
|
660
|
+
def clear_first_activation_time: () -> void
|
|
661
|
+
|
|
662
|
+
# Timestamp when this version last became current.
|
|
663
|
+
# Can be used to determine whether a version has ever been Current.
|
|
664
|
+
attr_reader last_current_time(): ::Google::Protobuf::Timestamp?
|
|
665
|
+
attr_writer last_current_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
666
|
+
def has_last_current_time?: () -> bool
|
|
667
|
+
def clear_last_current_time: () -> void
|
|
668
|
+
|
|
669
|
+
# Timestamp when this version last stopped being current or ramping.
|
|
670
|
+
# Cleared if the version becomes current or ramping again.
|
|
671
|
+
attr_reader last_deactivation_time(): ::Google::Protobuf::Timestamp?
|
|
672
|
+
attr_writer last_deactivation_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
673
|
+
def has_last_deactivation_time?: () -> bool
|
|
674
|
+
def clear_last_deactivation_time: () -> void
|
|
675
|
+
|
|
676
|
+
attr_accessor compute_config(): ::Temporalio::Api::Compute::V1::ComputeConfigSummary?
|
|
677
|
+
def has_compute_config?: () -> bool
|
|
678
|
+
def clear_compute_config: () -> void
|
|
679
|
+
|
|
680
|
+
# ComputeStatus represents compute-related configuration and healthchecks.
|
|
681
|
+
attr_accessor compute_status(): ::Temporalio::Api::Deployment::V1::ComputeStatus?
|
|
682
|
+
def has_compute_status?: () -> bool
|
|
683
|
+
def clear_compute_status: () -> void
|
|
684
|
+
|
|
685
|
+
type init_map = {
|
|
686
|
+
version: (::String | ::Symbol)?,
|
|
687
|
+
"version" => (::String | ::Symbol)?,
|
|
688
|
+
status: (::Temporalio::Api::Enums::V1::WorkerDeploymentVersionStatus::names | ::Temporalio::Api::Enums::V1::WorkerDeploymentVersionStatus::strings | ::Integer | ::Float)?,
|
|
689
|
+
"status" => (::Temporalio::Api::Enums::V1::WorkerDeploymentVersionStatus::names | ::Temporalio::Api::Enums::V1::WorkerDeploymentVersionStatus::strings | ::Integer | ::Float)?,
|
|
690
|
+
deployment_version: (::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion | ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion::init_map)?,
|
|
691
|
+
"deployment_version" => (::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion | ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion::init_map)?,
|
|
692
|
+
create_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
693
|
+
"create_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
694
|
+
drainage_status: (::Temporalio::Api::Enums::V1::VersionDrainageStatus::names | ::Temporalio::Api::Enums::V1::VersionDrainageStatus::strings | ::Integer | ::Float)?,
|
|
695
|
+
"drainage_status" => (::Temporalio::Api::Enums::V1::VersionDrainageStatus::names | ::Temporalio::Api::Enums::V1::VersionDrainageStatus::strings | ::Integer | ::Float)?,
|
|
696
|
+
drainage_info: (::Temporalio::Api::Deployment::V1::VersionDrainageInfo | ::Temporalio::Api::Deployment::V1::VersionDrainageInfo::init_map)?,
|
|
697
|
+
"drainage_info" => (::Temporalio::Api::Deployment::V1::VersionDrainageInfo | ::Temporalio::Api::Deployment::V1::VersionDrainageInfo::init_map)?,
|
|
698
|
+
current_since_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
699
|
+
"current_since_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
700
|
+
ramping_since_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
701
|
+
"ramping_since_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
702
|
+
routing_update_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
703
|
+
"routing_update_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
704
|
+
first_activation_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
705
|
+
"first_activation_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
706
|
+
last_current_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
707
|
+
"last_current_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
708
|
+
last_deactivation_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
709
|
+
"last_deactivation_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
710
|
+
compute_config: (::Temporalio::Api::Compute::V1::ComputeConfigSummary | ::Temporalio::Api::Compute::V1::ComputeConfigSummary::init_map)?,
|
|
711
|
+
"compute_config" => (::Temporalio::Api::Compute::V1::ComputeConfigSummary | ::Temporalio::Api::Compute::V1::ComputeConfigSummary::init_map)?,
|
|
712
|
+
compute_status: (::Temporalio::Api::Deployment::V1::ComputeStatus | ::Temporalio::Api::Deployment::V1::ComputeStatus::init_map)?,
|
|
713
|
+
"compute_status" => (::Temporalio::Api::Deployment::V1::ComputeStatus | ::Temporalio::Api::Deployment::V1::ComputeStatus::init_map)?,
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
def initialize: (?init_map initial_value) -> void
|
|
717
|
+
|
|
718
|
+
def []:
|
|
719
|
+
("version" name) -> ::String
|
|
720
|
+
| ("status" name) -> (::Temporalio::Api::Enums::V1::WorkerDeploymentVersionStatus::names | ::Integer)
|
|
721
|
+
| ("deployment_version" name) -> ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion?
|
|
722
|
+
| ("create_time" name) -> ::Google::Protobuf::Timestamp?
|
|
723
|
+
| ("drainage_status" name) -> (::Temporalio::Api::Enums::V1::VersionDrainageStatus::names | ::Integer)
|
|
724
|
+
| ("drainage_info" name) -> ::Temporalio::Api::Deployment::V1::VersionDrainageInfo?
|
|
725
|
+
| ("current_since_time" name) -> ::Google::Protobuf::Timestamp?
|
|
726
|
+
| ("ramping_since_time" name) -> ::Google::Protobuf::Timestamp?
|
|
727
|
+
| ("routing_update_time" name) -> ::Google::Protobuf::Timestamp?
|
|
728
|
+
| ("first_activation_time" name) -> ::Google::Protobuf::Timestamp?
|
|
729
|
+
| ("last_current_time" name) -> ::Google::Protobuf::Timestamp?
|
|
730
|
+
| ("last_deactivation_time" name) -> ::Google::Protobuf::Timestamp?
|
|
731
|
+
| ("compute_config" name) -> ::Temporalio::Api::Compute::V1::ComputeConfigSummary?
|
|
732
|
+
| ("compute_status" name) -> ::Temporalio::Api::Deployment::V1::ComputeStatus?
|
|
733
|
+
|
|
734
|
+
def []=:
|
|
735
|
+
("version" name, (::String | ::Symbol) value) -> void
|
|
736
|
+
| ("status" name, (::Temporalio::Api::Enums::V1::WorkerDeploymentVersionStatus::names | ::Temporalio::Api::Enums::V1::WorkerDeploymentVersionStatus::strings | ::Integer | ::Float) value) -> void
|
|
737
|
+
| ("deployment_version" name, ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion? value) -> void
|
|
738
|
+
| ("create_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
739
|
+
| ("drainage_status" name, (::Temporalio::Api::Enums::V1::VersionDrainageStatus::names | ::Temporalio::Api::Enums::V1::VersionDrainageStatus::strings | ::Integer | ::Float) value) -> void
|
|
740
|
+
| ("drainage_info" name, ::Temporalio::Api::Deployment::V1::VersionDrainageInfo? value) -> void
|
|
741
|
+
| ("current_since_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
742
|
+
| ("ramping_since_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
743
|
+
| ("routing_update_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
744
|
+
| ("first_activation_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
745
|
+
| ("last_current_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
746
|
+
| ("last_deactivation_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
747
|
+
| ("compute_config" name, ::Temporalio::Api::Compute::V1::ComputeConfigSummary? value) -> void
|
|
748
|
+
| ("compute_status" name, ::Temporalio::Api::Deployment::V1::ComputeStatus? value) -> void
|
|
749
|
+
end
|
|
750
|
+
|
|
751
|
+
# Identifies a Worker Deployment. Must be unique within the namespace.
|
|
752
|
+
attr_reader name(): ::String
|
|
753
|
+
attr_writer name(): ::String | ::Symbol
|
|
754
|
+
def clear_name: () -> void
|
|
755
|
+
|
|
756
|
+
# Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be
|
|
757
|
+
# cleaned up automatically if all the following conditions meet:
|
|
758
|
+
# - It does not receive new executions (is not current or ramping)
|
|
759
|
+
# - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status)
|
|
760
|
+
# - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
|
|
761
|
+
attr_accessor version_summaries(): ::Google::Protobuf::RepeatedField
|
|
762
|
+
def clear_version_summaries: () -> void
|
|
763
|
+
|
|
764
|
+
attr_reader create_time(): ::Google::Protobuf::Timestamp?
|
|
765
|
+
attr_writer create_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
766
|
+
def has_create_time?: () -> bool
|
|
767
|
+
def clear_create_time: () -> void
|
|
768
|
+
|
|
769
|
+
attr_accessor routing_config(): ::Temporalio::Api::Deployment::V1::RoutingConfig?
|
|
770
|
+
def has_routing_config?: () -> bool
|
|
771
|
+
def clear_routing_config: () -> void
|
|
772
|
+
|
|
773
|
+
# Identity of the last client who modified the configuration of this Deployment. Set to the
|
|
774
|
+
# `identity` value sent by APIs such as `SetWorkerDeploymentCurrentVersion` and
|
|
775
|
+
# `SetWorkerDeploymentRampingVersion`.
|
|
776
|
+
attr_reader last_modifier_identity(): ::String
|
|
777
|
+
attr_writer last_modifier_identity(): ::String | ::Symbol
|
|
778
|
+
def clear_last_modifier_identity: () -> void
|
|
779
|
+
|
|
780
|
+
# Identity of the client that has the exclusive right to make changes to this Worker Deployment.
|
|
781
|
+
# Empty by default.
|
|
782
|
+
# If this is set, clients whose identity does not match `manager_identity` will not be able to make changes
|
|
783
|
+
# to this Worker Deployment. They can either set their own identity as the manager or unset the field to proceed.
|
|
784
|
+
attr_reader manager_identity(): ::String
|
|
785
|
+
attr_writer manager_identity(): ::String | ::Symbol
|
|
786
|
+
def clear_manager_identity: () -> void
|
|
787
|
+
|
|
788
|
+
# Indicates whether the routing_config has been fully propagated to all
|
|
789
|
+
# relevant task queues and their partitions.
|
|
790
|
+
attr_reader routing_config_update_state(): ::Temporalio::Api::Enums::V1::RoutingConfigUpdateState::names | ::Integer
|
|
791
|
+
attr_writer routing_config_update_state(): ::Temporalio::Api::Enums::V1::RoutingConfigUpdateState::names | ::Temporalio::Api::Enums::V1::RoutingConfigUpdateState::strings | ::Integer | ::Float
|
|
792
|
+
attr_reader routing_config_update_state_const(): ::Integer
|
|
793
|
+
def clear_routing_config_update_state: () -> void
|
|
794
|
+
|
|
795
|
+
type init_map = {
|
|
796
|
+
name: (::String | ::Symbol)?,
|
|
797
|
+
"name" => (::String | ::Symbol)?,
|
|
798
|
+
version_summaries: ::Array[::Temporalio::Api::Deployment::V1::WorkerDeploymentInfo::WorkerDeploymentVersionSummary]?,
|
|
799
|
+
"version_summaries" => ::Array[::Temporalio::Api::Deployment::V1::WorkerDeploymentInfo::WorkerDeploymentVersionSummary]?,
|
|
800
|
+
create_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
801
|
+
"create_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
802
|
+
routing_config: (::Temporalio::Api::Deployment::V1::RoutingConfig | ::Temporalio::Api::Deployment::V1::RoutingConfig::init_map)?,
|
|
803
|
+
"routing_config" => (::Temporalio::Api::Deployment::V1::RoutingConfig | ::Temporalio::Api::Deployment::V1::RoutingConfig::init_map)?,
|
|
804
|
+
last_modifier_identity: (::String | ::Symbol)?,
|
|
805
|
+
"last_modifier_identity" => (::String | ::Symbol)?,
|
|
806
|
+
manager_identity: (::String | ::Symbol)?,
|
|
807
|
+
"manager_identity" => (::String | ::Symbol)?,
|
|
808
|
+
routing_config_update_state: (::Temporalio::Api::Enums::V1::RoutingConfigUpdateState::names | ::Temporalio::Api::Enums::V1::RoutingConfigUpdateState::strings | ::Integer | ::Float)?,
|
|
809
|
+
"routing_config_update_state" => (::Temporalio::Api::Enums::V1::RoutingConfigUpdateState::names | ::Temporalio::Api::Enums::V1::RoutingConfigUpdateState::strings | ::Integer | ::Float)?,
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
def initialize: (?init_map initial_value) -> void
|
|
813
|
+
|
|
814
|
+
def []:
|
|
815
|
+
("name" name) -> ::String
|
|
816
|
+
| ("version_summaries" name) -> ::Google::Protobuf::RepeatedField
|
|
817
|
+
| ("create_time" name) -> ::Google::Protobuf::Timestamp?
|
|
818
|
+
| ("routing_config" name) -> ::Temporalio::Api::Deployment::V1::RoutingConfig?
|
|
819
|
+
| ("last_modifier_identity" name) -> ::String
|
|
820
|
+
| ("manager_identity" name) -> ::String
|
|
821
|
+
| ("routing_config_update_state" name) -> (::Temporalio::Api::Enums::V1::RoutingConfigUpdateState::names | ::Integer)
|
|
822
|
+
|
|
823
|
+
def []=:
|
|
824
|
+
("name" name, (::String | ::Symbol) value) -> void
|
|
825
|
+
| ("version_summaries" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
826
|
+
| ("create_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
827
|
+
| ("routing_config" name, ::Temporalio::Api::Deployment::V1::RoutingConfig? value) -> void
|
|
828
|
+
| ("last_modifier_identity" name, (::String | ::Symbol) value) -> void
|
|
829
|
+
| ("manager_identity" name, (::String | ::Symbol) value) -> void
|
|
830
|
+
| ("routing_config_update_state" name, (::Temporalio::Api::Enums::V1::RoutingConfigUpdateState::names | ::Temporalio::Api::Enums::V1::RoutingConfigUpdateState::strings | ::Integer | ::Float) value) -> void
|
|
831
|
+
end
|
|
832
|
+
|
|
833
|
+
# A Worker Deployment Version (Version, for short) represents a
|
|
834
|
+
# version of workers within a Worker Deployment. (see documentation of WorkerDeploymentVersionInfo)
|
|
835
|
+
# Version records are created in Temporal server automatically when their
|
|
836
|
+
# first poller arrives to the server.
|
|
837
|
+
# Experimental. Worker Deployment Versions are experimental and might significantly change in the future.
|
|
838
|
+
class WorkerDeploymentVersion < ::Google::Protobuf::AbstractMessage
|
|
839
|
+
|
|
840
|
+
# A unique identifier for this Version within the Deployment it is a part of.
|
|
841
|
+
# Not necessarily unique within the namespace.
|
|
842
|
+
# The combination of `deployment_name` and `build_id` uniquely identifies this
|
|
843
|
+
# Version within the namespace, because Deployment names are unique within a namespace.
|
|
844
|
+
attr_reader build_id(): ::String
|
|
845
|
+
attr_writer build_id(): ::String | ::Symbol
|
|
846
|
+
def clear_build_id: () -> void
|
|
847
|
+
|
|
848
|
+
# Identifies the Worker Deployment this Version is part of.
|
|
849
|
+
attr_reader deployment_name(): ::String
|
|
850
|
+
attr_writer deployment_name(): ::String | ::Symbol
|
|
851
|
+
def clear_deployment_name: () -> void
|
|
852
|
+
|
|
853
|
+
type init_map = {
|
|
854
|
+
build_id: (::String | ::Symbol)?,
|
|
855
|
+
"build_id" => (::String | ::Symbol)?,
|
|
856
|
+
deployment_name: (::String | ::Symbol)?,
|
|
857
|
+
"deployment_name" => (::String | ::Symbol)?,
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
def initialize: (?init_map initial_value) -> void
|
|
861
|
+
|
|
862
|
+
def []:
|
|
863
|
+
("build_id" name) -> ::String
|
|
864
|
+
| ("deployment_name" name) -> ::String
|
|
865
|
+
|
|
866
|
+
def []=:
|
|
867
|
+
("build_id" name, (::String | ::Symbol) value) -> void
|
|
868
|
+
| ("deployment_name" name, (::String | ::Symbol) value) -> void
|
|
869
|
+
end
|
|
870
|
+
|
|
871
|
+
class VersionMetadata < ::Google::Protobuf::AbstractMessage
|
|
872
|
+
|
|
873
|
+
# Arbitrary key-values.
|
|
874
|
+
attr_accessor entries(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]
|
|
875
|
+
def clear_entries: () -> void
|
|
876
|
+
|
|
877
|
+
type init_map = {
|
|
878
|
+
entries: ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?,
|
|
879
|
+
"entries" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?,
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
def initialize: (?init_map initial_value) -> void
|
|
883
|
+
|
|
884
|
+
def []:
|
|
885
|
+
("entries" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload])
|
|
886
|
+
|
|
887
|
+
def []=:
|
|
888
|
+
("entries" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]) value) -> void
|
|
889
|
+
end
|
|
890
|
+
|
|
891
|
+
class RoutingConfig < ::Google::Protobuf::AbstractMessage
|
|
892
|
+
|
|
893
|
+
# Specifies which Deployment Version should receive new workflow executions and tasks of
|
|
894
|
+
# existing unversioned or AutoUpgrade workflows.
|
|
895
|
+
# Nil value means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set) goes to unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.).
|
|
896
|
+
# Note: Current Version is overridden by the Ramping Version for a portion of traffic when ramp percentage
|
|
897
|
+
# is non-zero (see `ramping_deployment_version` and `ramping_version_percentage`).
|
|
898
|
+
attr_accessor current_deployment_version(): ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion?
|
|
899
|
+
def has_current_deployment_version?: () -> bool
|
|
900
|
+
def clear_current_deployment_version: () -> void
|
|
901
|
+
|
|
902
|
+
# Deprecated. Use `current_deployment_version`.
|
|
903
|
+
# @deprecated
|
|
904
|
+
attr_reader current_version(): ::String
|
|
905
|
+
attr_writer current_version(): ::String | ::Symbol
|
|
906
|
+
def clear_current_version: () -> void
|
|
907
|
+
|
|
908
|
+
# When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.
|
|
909
|
+
# Must always be different from `current_deployment_version` unless both are nil.
|
|
910
|
+
# Nil value represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)
|
|
911
|
+
# Note that it is possible to ramp from one Version to another Version, or from unversioned
|
|
912
|
+
# workers to a particular Version, or from a particular Version to unversioned workers.
|
|
913
|
+
attr_accessor ramping_deployment_version(): ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion?
|
|
914
|
+
def has_ramping_deployment_version?: () -> bool
|
|
915
|
+
def clear_ramping_deployment_version: () -> void
|
|
916
|
+
|
|
917
|
+
# Deprecated. Use `ramping_deployment_version`.
|
|
918
|
+
# @deprecated
|
|
919
|
+
attr_reader ramping_version(): ::String
|
|
920
|
+
attr_writer ramping_version(): ::String | ::Symbol
|
|
921
|
+
def clear_ramping_version: () -> void
|
|
922
|
+
|
|
923
|
+
# Percentage of tasks that are routed to the Ramping Version instead of the Current Version.
|
|
924
|
+
# Valid range: [0, 100]. A 100% value means the Ramping Version is receiving full traffic but
|
|
925
|
+
# not yet "promoted" to be the Current Version, likely due to pending validations.
|
|
926
|
+
# A 0% value means the Ramping Version is receiving no traffic.
|
|
927
|
+
attr_reader ramping_version_percentage(): ::Float
|
|
928
|
+
attr_writer ramping_version_percentage(): ::Float | ::Integer
|
|
929
|
+
def clear_ramping_version_percentage: () -> void
|
|
930
|
+
|
|
931
|
+
# Last time current version was changed.
|
|
932
|
+
attr_reader current_version_changed_time(): ::Google::Protobuf::Timestamp?
|
|
933
|
+
attr_writer current_version_changed_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
934
|
+
def has_current_version_changed_time?: () -> bool
|
|
935
|
+
def clear_current_version_changed_time: () -> void
|
|
936
|
+
|
|
937
|
+
# Last time ramping version was changed. Not updated if only the ramp percentage changes.
|
|
938
|
+
attr_reader ramping_version_changed_time(): ::Google::Protobuf::Timestamp?
|
|
939
|
+
attr_writer ramping_version_changed_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
940
|
+
def has_ramping_version_changed_time?: () -> bool
|
|
941
|
+
def clear_ramping_version_changed_time: () -> void
|
|
942
|
+
|
|
943
|
+
# Last time ramping version percentage was changed.
|
|
944
|
+
# If ramping version is changed, this is also updated, even if the percentage stays the same.
|
|
945
|
+
attr_reader ramping_version_percentage_changed_time(): ::Google::Protobuf::Timestamp?
|
|
946
|
+
attr_writer ramping_version_percentage_changed_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
947
|
+
def has_ramping_version_percentage_changed_time?: () -> bool
|
|
948
|
+
def clear_ramping_version_percentage_changed_time: () -> void
|
|
949
|
+
|
|
950
|
+
# Monotonically increasing value which is incremented on every mutation
|
|
951
|
+
# to any field of this message to achieve eventual consistency between task queues and their partitions.
|
|
952
|
+
attr_reader revision_number(): ::Integer
|
|
953
|
+
attr_writer revision_number(): ::Integer | ::Float
|
|
954
|
+
def clear_revision_number: () -> void
|
|
955
|
+
|
|
956
|
+
type init_map = {
|
|
957
|
+
current_deployment_version: (::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion | ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion::init_map)?,
|
|
958
|
+
"current_deployment_version" => (::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion | ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion::init_map)?,
|
|
959
|
+
current_version: (::String | ::Symbol)?,
|
|
960
|
+
"current_version" => (::String | ::Symbol)?,
|
|
961
|
+
ramping_deployment_version: (::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion | ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion::init_map)?,
|
|
962
|
+
"ramping_deployment_version" => (::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion | ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion::init_map)?,
|
|
963
|
+
ramping_version: (::String | ::Symbol)?,
|
|
964
|
+
"ramping_version" => (::String | ::Symbol)?,
|
|
965
|
+
ramping_version_percentage: (::Float | ::Integer)?,
|
|
966
|
+
"ramping_version_percentage" => (::Float | ::Integer)?,
|
|
967
|
+
current_version_changed_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
968
|
+
"current_version_changed_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
969
|
+
ramping_version_changed_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
970
|
+
"ramping_version_changed_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
971
|
+
ramping_version_percentage_changed_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
972
|
+
"ramping_version_percentage_changed_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
973
|
+
revision_number: (::Integer | ::Float)?,
|
|
974
|
+
"revision_number" => (::Integer | ::Float)?,
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
def initialize: (?init_map initial_value) -> void
|
|
978
|
+
|
|
979
|
+
def []:
|
|
980
|
+
("current_deployment_version" name) -> ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion?
|
|
981
|
+
| ("current_version" name) -> ::String
|
|
982
|
+
| ("ramping_deployment_version" name) -> ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion?
|
|
983
|
+
| ("ramping_version" name) -> ::String
|
|
984
|
+
| ("ramping_version_percentage" name) -> ::Float
|
|
985
|
+
| ("current_version_changed_time" name) -> ::Google::Protobuf::Timestamp?
|
|
986
|
+
| ("ramping_version_changed_time" name) -> ::Google::Protobuf::Timestamp?
|
|
987
|
+
| ("ramping_version_percentage_changed_time" name) -> ::Google::Protobuf::Timestamp?
|
|
988
|
+
| ("revision_number" name) -> ::Integer
|
|
989
|
+
|
|
990
|
+
def []=:
|
|
991
|
+
("current_deployment_version" name, ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion? value) -> void
|
|
992
|
+
| ("current_version" name, (::String | ::Symbol) value) -> void
|
|
993
|
+
| ("ramping_deployment_version" name, ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion? value) -> void
|
|
994
|
+
| ("ramping_version" name, (::String | ::Symbol) value) -> void
|
|
995
|
+
| ("ramping_version_percentage" name, (::Float | ::Integer) value) -> void
|
|
996
|
+
| ("current_version_changed_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
997
|
+
| ("ramping_version_changed_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
998
|
+
| ("ramping_version_percentage_changed_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
999
|
+
| ("revision_number" name, (::Integer | ::Float) value) -> void
|
|
1000
|
+
end
|
|
1001
|
+
|
|
1002
|
+
# Used as part of WorkflowExecutionStartedEventAttributes to pass down the AutoUpgrade behavior and source deployment version
|
|
1003
|
+
# to a workflow execution whose parent/previous workflow has an AutoUpgrade behavior.
|
|
1004
|
+
# Also used for Upgrade-on-CaN behaviors AutoUpgrade and UseRampingVersion.
|
|
1005
|
+
class InheritedAutoUpgradeInfo < ::Google::Protobuf::AbstractMessage
|
|
1006
|
+
|
|
1007
|
+
# The source deployment version of the parent/previous workflow.
|
|
1008
|
+
attr_accessor source_deployment_version(): ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion?
|
|
1009
|
+
def has_source_deployment_version?: () -> bool
|
|
1010
|
+
def clear_source_deployment_version: () -> void
|
|
1011
|
+
|
|
1012
|
+
# The revision number of the source deployment version of the parent/previous workflow.
|
|
1013
|
+
attr_reader source_deployment_revision_number(): ::Integer
|
|
1014
|
+
attr_writer source_deployment_revision_number(): ::Integer | ::Float
|
|
1015
|
+
def clear_source_deployment_revision_number: () -> void
|
|
1016
|
+
|
|
1017
|
+
# Experimental.
|
|
1018
|
+
# If this workflow is the result of a continue-as-new, this field is set to the initial_versioning_behavior
|
|
1019
|
+
# specified in that command.
|
|
1020
|
+
# Only used for the initial task of this run and the initial task of any retries of this run.
|
|
1021
|
+
# Not passed to children or to future continue-as-new.
|
|
1022
|
+
# Note: In the first release of Upgrade-on-CaN, when the only ContinueAsNewVersioningBehavior was AutoUpgrade,
|
|
1023
|
+
# a non-empty InheritedAutoUpgradeInfo meant that the workflow should start as AutoUpgrade. So for compatibility
|
|
1024
|
+
# with history events generated during that time, know that an UNSPECIFIED value here is equivalent to AutoUpgrade
|
|
1025
|
+
# value if the InheritedAutoUpgradeInfo is non-empty.
|
|
1026
|
+
attr_reader continue_as_new_initial_versioning_behavior(): ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Integer
|
|
1027
|
+
attr_writer continue_as_new_initial_versioning_behavior(): ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::strings | ::Integer | ::Float
|
|
1028
|
+
attr_reader continue_as_new_initial_versioning_behavior_const(): ::Integer
|
|
1029
|
+
def clear_continue_as_new_initial_versioning_behavior: () -> void
|
|
1030
|
+
|
|
1031
|
+
type init_map = {
|
|
1032
|
+
source_deployment_version: (::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion | ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion::init_map)?,
|
|
1033
|
+
"source_deployment_version" => (::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion | ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion::init_map)?,
|
|
1034
|
+
source_deployment_revision_number: (::Integer | ::Float)?,
|
|
1035
|
+
"source_deployment_revision_number" => (::Integer | ::Float)?,
|
|
1036
|
+
continue_as_new_initial_versioning_behavior: (::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::strings | ::Integer | ::Float)?,
|
|
1037
|
+
"continue_as_new_initial_versioning_behavior" => (::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::strings | ::Integer | ::Float)?,
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
def initialize: (?init_map initial_value) -> void
|
|
1041
|
+
|
|
1042
|
+
def []:
|
|
1043
|
+
("source_deployment_version" name) -> ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion?
|
|
1044
|
+
| ("source_deployment_revision_number" name) -> ::Integer
|
|
1045
|
+
| ("continue_as_new_initial_versioning_behavior" name) -> (::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Integer)
|
|
1046
|
+
|
|
1047
|
+
def []=:
|
|
1048
|
+
("source_deployment_version" name, ::Temporalio::Api::Deployment::V1::WorkerDeploymentVersion? value) -> void
|
|
1049
|
+
| ("source_deployment_revision_number" name, (::Integer | ::Float) value) -> void
|
|
1050
|
+
| ("continue_as_new_initial_versioning_behavior" name, (::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::strings | ::Integer | ::Float) value) -> void
|
|
1051
|
+
end
|
|
1052
|
+
end
|
|
1053
|
+
end
|
|
1054
|
+
end
|
|
1055
|
+
end
|
|
1056
|
+
|
|
1057
|
+
module Google
|
|
1058
|
+
module Protobuf
|
|
1059
|
+
class DescriptorPool
|
|
1060
|
+
def lookup: (::String name) -> ::Google::Protobuf::Descriptor
|
|
1061
|
+
end
|
|
1062
|
+
end
|
|
1063
|
+
end
|