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,1571 @@
|
|
|
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/cloud/namespace/v1/message.proto
|
|
7
|
+
|
|
8
|
+
module Temporalio
|
|
9
|
+
module Api
|
|
10
|
+
module Cloud
|
|
11
|
+
module Namespace
|
|
12
|
+
module V1
|
|
13
|
+
class CertificateFilterSpec < ::Google::Protobuf::AbstractMessage
|
|
14
|
+
|
|
15
|
+
# The common_name in the certificate.
|
|
16
|
+
# Optional, default is empty.
|
|
17
|
+
attr_reader common_name(): ::String
|
|
18
|
+
attr_writer common_name(): ::String | ::Symbol
|
|
19
|
+
def clear_common_name: () -> void
|
|
20
|
+
|
|
21
|
+
# The organization in the certificate.
|
|
22
|
+
# Optional, default is empty.
|
|
23
|
+
attr_reader organization(): ::String
|
|
24
|
+
attr_writer organization(): ::String | ::Symbol
|
|
25
|
+
def clear_organization: () -> void
|
|
26
|
+
|
|
27
|
+
# The organizational_unit in the certificate.
|
|
28
|
+
# Optional, default is empty.
|
|
29
|
+
attr_reader organizational_unit(): ::String
|
|
30
|
+
attr_writer organizational_unit(): ::String | ::Symbol
|
|
31
|
+
def clear_organizational_unit: () -> void
|
|
32
|
+
|
|
33
|
+
# The subject_alternative_name in the certificate.
|
|
34
|
+
# Optional, default is empty.
|
|
35
|
+
attr_reader subject_alternative_name(): ::String
|
|
36
|
+
attr_writer subject_alternative_name(): ::String | ::Symbol
|
|
37
|
+
def clear_subject_alternative_name: () -> void
|
|
38
|
+
|
|
39
|
+
type init_map = {
|
|
40
|
+
common_name: (::String | ::Symbol)?,
|
|
41
|
+
"common_name" => (::String | ::Symbol)?,
|
|
42
|
+
organization: (::String | ::Symbol)?,
|
|
43
|
+
"organization" => (::String | ::Symbol)?,
|
|
44
|
+
organizational_unit: (::String | ::Symbol)?,
|
|
45
|
+
"organizational_unit" => (::String | ::Symbol)?,
|
|
46
|
+
subject_alternative_name: (::String | ::Symbol)?,
|
|
47
|
+
"subject_alternative_name" => (::String | ::Symbol)?,
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
def initialize: (?init_map initial_value) -> void
|
|
51
|
+
|
|
52
|
+
def []:
|
|
53
|
+
("common_name" name) -> ::String
|
|
54
|
+
| ("organization" name) -> ::String
|
|
55
|
+
| ("organizational_unit" name) -> ::String
|
|
56
|
+
| ("subject_alternative_name" name) -> ::String
|
|
57
|
+
|
|
58
|
+
def []=:
|
|
59
|
+
("common_name" name, (::String | ::Symbol) value) -> void
|
|
60
|
+
| ("organization" name, (::String | ::Symbol) value) -> void
|
|
61
|
+
| ("organizational_unit" name, (::String | ::Symbol) value) -> void
|
|
62
|
+
| ("subject_alternative_name" name, (::String | ::Symbol) value) -> void
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
class MtlsAuthSpec < ::Google::Protobuf::AbstractMessage
|
|
66
|
+
|
|
67
|
+
# The base64 encoded ca cert(s) in PEM format that the clients can use for authentication and authorization.
|
|
68
|
+
# This must only be one value, but the CA can have a chain.
|
|
69
|
+
# (-- api-linter: core::0140::base64=disabled --)
|
|
70
|
+
# Deprecated: Not supported after v0.2.0 api version. Use accepted_client_ca instead.
|
|
71
|
+
# temporal:versioning:max_version=v0.2.0
|
|
72
|
+
# @deprecated
|
|
73
|
+
attr_reader accepted_client_ca_deprecated(): ::String
|
|
74
|
+
attr_writer accepted_client_ca_deprecated(): ::String | ::Symbol
|
|
75
|
+
def clear_accepted_client_ca_deprecated: () -> void
|
|
76
|
+
|
|
77
|
+
# The ca cert(s) in PEM format that the clients can use for authentication and authorization.
|
|
78
|
+
# This must only be one value, but the CA can have a chain.
|
|
79
|
+
# temporal:versioning:min_version=v0.2.0
|
|
80
|
+
attr_accessor accepted_client_ca(): ::String
|
|
81
|
+
def clear_accepted_client_ca: () -> void
|
|
82
|
+
|
|
83
|
+
# Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.
|
|
84
|
+
# This allows limiting access to specific end-entity certificates.
|
|
85
|
+
# Optional, default is empty.
|
|
86
|
+
attr_accessor certificate_filters(): ::Google::Protobuf::RepeatedField
|
|
87
|
+
def clear_certificate_filters: () -> void
|
|
88
|
+
|
|
89
|
+
# Flag to enable mTLS auth (default: disabled).
|
|
90
|
+
# Note: disabling mTLS auth will cause existing mTLS connections to fail.
|
|
91
|
+
# temporal:versioning:min_version=v0.2.0
|
|
92
|
+
attr_accessor enabled(): bool
|
|
93
|
+
def clear_enabled: () -> void
|
|
94
|
+
|
|
95
|
+
type init_map = {
|
|
96
|
+
accepted_client_ca_deprecated: (::String | ::Symbol)?,
|
|
97
|
+
"accepted_client_ca_deprecated" => (::String | ::Symbol)?,
|
|
98
|
+
accepted_client_ca: ::String?,
|
|
99
|
+
"accepted_client_ca" => ::String?,
|
|
100
|
+
certificate_filters: ::Array[::Temporalio::Api::Cloud::Namespace::V1::CertificateFilterSpec]?,
|
|
101
|
+
"certificate_filters" => ::Array[::Temporalio::Api::Cloud::Namespace::V1::CertificateFilterSpec]?,
|
|
102
|
+
enabled: bool?,
|
|
103
|
+
"enabled" => bool?,
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
def initialize: (?init_map initial_value) -> void
|
|
107
|
+
|
|
108
|
+
def []:
|
|
109
|
+
("accepted_client_ca_deprecated" name) -> ::String
|
|
110
|
+
| ("accepted_client_ca" name) -> ::String
|
|
111
|
+
| ("certificate_filters" name) -> ::Google::Protobuf::RepeatedField
|
|
112
|
+
| ("enabled" name) -> bool
|
|
113
|
+
|
|
114
|
+
def []=:
|
|
115
|
+
("accepted_client_ca_deprecated" name, (::String | ::Symbol) value) -> void
|
|
116
|
+
| ("accepted_client_ca" name, ::String value) -> void
|
|
117
|
+
| ("certificate_filters" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
118
|
+
| ("enabled" name, bool value) -> void
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
class ApiKeyAuthSpec < ::Google::Protobuf::AbstractMessage
|
|
122
|
+
|
|
123
|
+
# Flag to enable API key auth (default: disabled).
|
|
124
|
+
# Note: disabling API key auth will cause existing API key connections to fail.
|
|
125
|
+
attr_accessor enabled(): bool
|
|
126
|
+
def clear_enabled: () -> void
|
|
127
|
+
|
|
128
|
+
type init_map = {
|
|
129
|
+
enabled: bool?,
|
|
130
|
+
"enabled" => bool?,
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
def initialize: (?init_map initial_value) -> void
|
|
134
|
+
|
|
135
|
+
def []:
|
|
136
|
+
("enabled" name) -> bool
|
|
137
|
+
|
|
138
|
+
def []=:
|
|
139
|
+
("enabled" name, bool value) -> void
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
class LifecycleSpec < ::Google::Protobuf::AbstractMessage
|
|
143
|
+
|
|
144
|
+
# Flag to enable delete protection for the namespace.
|
|
145
|
+
attr_accessor enable_delete_protection(): bool
|
|
146
|
+
def clear_enable_delete_protection: () -> void
|
|
147
|
+
|
|
148
|
+
type init_map = {
|
|
149
|
+
enable_delete_protection: bool?,
|
|
150
|
+
"enable_delete_protection" => bool?,
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
def initialize: (?init_map initial_value) -> void
|
|
154
|
+
|
|
155
|
+
def []:
|
|
156
|
+
("enable_delete_protection" name) -> bool
|
|
157
|
+
|
|
158
|
+
def []=:
|
|
159
|
+
("enable_delete_protection" name, bool value) -> void
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
class CodecServerSpec < ::Google::Protobuf::AbstractMessage
|
|
163
|
+
class CustomErrorMessage < ::Google::Protobuf::AbstractMessage
|
|
164
|
+
class ErrorMessage < ::Google::Protobuf::AbstractMessage
|
|
165
|
+
|
|
166
|
+
# A message to display.
|
|
167
|
+
attr_reader message(): ::String
|
|
168
|
+
attr_writer message(): ::String | ::Symbol
|
|
169
|
+
def clear_message: () -> void
|
|
170
|
+
|
|
171
|
+
# A link that is displayed along side the configured message.
|
|
172
|
+
attr_reader link(): ::String
|
|
173
|
+
attr_writer link(): ::String | ::Symbol
|
|
174
|
+
def clear_link: () -> void
|
|
175
|
+
|
|
176
|
+
type init_map = {
|
|
177
|
+
message: (::String | ::Symbol)?,
|
|
178
|
+
"message" => (::String | ::Symbol)?,
|
|
179
|
+
link: (::String | ::Symbol)?,
|
|
180
|
+
"link" => (::String | ::Symbol)?,
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
def initialize: (?init_map initial_value) -> void
|
|
184
|
+
|
|
185
|
+
def []:
|
|
186
|
+
("message" name) -> ::String
|
|
187
|
+
| ("link" name) -> ::String
|
|
188
|
+
|
|
189
|
+
def []=:
|
|
190
|
+
("message" name, (::String | ::Symbol) value) -> void
|
|
191
|
+
| ("link" name, (::String | ::Symbol) value) -> void
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
# The error message to display by default for any remote codec server errors.
|
|
195
|
+
attr_accessor default(): ::Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage::ErrorMessage?
|
|
196
|
+
def has_default?: () -> bool
|
|
197
|
+
def clear_default: () -> void
|
|
198
|
+
|
|
199
|
+
type init_map = {
|
|
200
|
+
default: (::Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage::ErrorMessage | ::Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage::ErrorMessage::init_map)?,
|
|
201
|
+
"default" => (::Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage::ErrorMessage | ::Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage::ErrorMessage::init_map)?,
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
def initialize: (?init_map initial_value) -> void
|
|
205
|
+
|
|
206
|
+
def []:
|
|
207
|
+
("default" name) -> ::Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage::ErrorMessage?
|
|
208
|
+
|
|
209
|
+
def []=:
|
|
210
|
+
("default" name, ::Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage::ErrorMessage? value) -> void
|
|
211
|
+
end
|
|
212
|
+
|
|
213
|
+
# The codec server endpoint.
|
|
214
|
+
attr_reader endpoint(): ::String
|
|
215
|
+
attr_writer endpoint(): ::String | ::Symbol
|
|
216
|
+
def clear_endpoint: () -> void
|
|
217
|
+
|
|
218
|
+
# Whether to pass the user access token with your endpoint.
|
|
219
|
+
attr_accessor pass_access_token(): bool
|
|
220
|
+
def clear_pass_access_token: () -> void
|
|
221
|
+
|
|
222
|
+
# Whether to include cross-origin credentials.
|
|
223
|
+
attr_accessor include_cross_origin_credentials(): bool
|
|
224
|
+
def clear_include_cross_origin_credentials: () -> void
|
|
225
|
+
|
|
226
|
+
# A custom error message to display for remote codec server errors.
|
|
227
|
+
# temporal:versioning:min_version=v0.5.1
|
|
228
|
+
attr_accessor custom_error_message(): ::Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage?
|
|
229
|
+
def has_custom_error_message?: () -> bool
|
|
230
|
+
def clear_custom_error_message: () -> void
|
|
231
|
+
|
|
232
|
+
type init_map = {
|
|
233
|
+
endpoint: (::String | ::Symbol)?,
|
|
234
|
+
"endpoint" => (::String | ::Symbol)?,
|
|
235
|
+
pass_access_token: bool?,
|
|
236
|
+
"pass_access_token" => bool?,
|
|
237
|
+
include_cross_origin_credentials: bool?,
|
|
238
|
+
"include_cross_origin_credentials" => bool?,
|
|
239
|
+
custom_error_message: (::Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage | ::Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage::init_map)?,
|
|
240
|
+
"custom_error_message" => (::Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage | ::Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage::init_map)?,
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
def initialize: (?init_map initial_value) -> void
|
|
244
|
+
|
|
245
|
+
def []:
|
|
246
|
+
("endpoint" name) -> ::String
|
|
247
|
+
| ("pass_access_token" name) -> bool
|
|
248
|
+
| ("include_cross_origin_credentials" name) -> bool
|
|
249
|
+
| ("custom_error_message" name) -> ::Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage?
|
|
250
|
+
|
|
251
|
+
def []=:
|
|
252
|
+
("endpoint" name, (::String | ::Symbol) value) -> void
|
|
253
|
+
| ("pass_access_token" name, bool value) -> void
|
|
254
|
+
| ("include_cross_origin_credentials" name, bool value) -> void
|
|
255
|
+
| ("custom_error_message" name, ::Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage? value) -> void
|
|
256
|
+
end
|
|
257
|
+
|
|
258
|
+
class HighAvailabilitySpec < ::Google::Protobuf::AbstractMessage
|
|
259
|
+
|
|
260
|
+
# Flag to disable managed failover for the namespace.
|
|
261
|
+
attr_accessor disable_managed_failover(): bool
|
|
262
|
+
def clear_disable_managed_failover: () -> void
|
|
263
|
+
|
|
264
|
+
# Flag to disable passive poller forwarding for this namespace.
|
|
265
|
+
# temporal:versioning:min_version=v0.13.0
|
|
266
|
+
attr_accessor disable_passive_poller_forwarding(): bool
|
|
267
|
+
def clear_disable_passive_poller_forwarding: () -> void
|
|
268
|
+
|
|
269
|
+
type init_map = {
|
|
270
|
+
disable_managed_failover: bool?,
|
|
271
|
+
"disable_managed_failover" => bool?,
|
|
272
|
+
disable_passive_poller_forwarding: bool?,
|
|
273
|
+
"disable_passive_poller_forwarding" => bool?,
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
def initialize: (?init_map initial_value) -> void
|
|
277
|
+
|
|
278
|
+
def []:
|
|
279
|
+
("disable_managed_failover" name) -> bool
|
|
280
|
+
| ("disable_passive_poller_forwarding" name) -> bool
|
|
281
|
+
|
|
282
|
+
def []=:
|
|
283
|
+
("disable_managed_failover" name, bool value) -> void
|
|
284
|
+
| ("disable_passive_poller_forwarding" name, bool value) -> void
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
# temporal:versioning:min_version=v0.13.0
|
|
288
|
+
class ReplicaSpec < ::Google::Protobuf::AbstractMessage
|
|
289
|
+
|
|
290
|
+
# The id of the region where the replica should be placed.
|
|
291
|
+
# The GetRegions API can be used to get the list of valid region ids.
|
|
292
|
+
# All the replicas must adhere to the region's max_in_region_replicas limit and connectable_region_ids.
|
|
293
|
+
# Required. Immutable.
|
|
294
|
+
# Example: "aws-us-west-2".
|
|
295
|
+
attr_reader region(): ::String
|
|
296
|
+
attr_writer region(): ::String | ::Symbol
|
|
297
|
+
def clear_region: () -> void
|
|
298
|
+
|
|
299
|
+
type init_map = {
|
|
300
|
+
region: (::String | ::Symbol)?,
|
|
301
|
+
"region" => (::String | ::Symbol)?,
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
def initialize: (?init_map initial_value) -> void
|
|
305
|
+
|
|
306
|
+
def []:
|
|
307
|
+
("region" name) -> ::String
|
|
308
|
+
|
|
309
|
+
def []=:
|
|
310
|
+
("region" name, (::String | ::Symbol) value) -> void
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
# temporal:versioning:min_version=v0.13.0
|
|
314
|
+
class Replica < ::Google::Protobuf::AbstractMessage
|
|
315
|
+
module ReplicaState
|
|
316
|
+
|
|
317
|
+
REPLICA_STATE_UNSPECIFIED: 0
|
|
318
|
+
|
|
319
|
+
REPLICA_STATE_ADDING: 1
|
|
320
|
+
|
|
321
|
+
REPLICA_STATE_ACTIVE: 2
|
|
322
|
+
|
|
323
|
+
REPLICA_STATE_REMOVING: 3
|
|
324
|
+
|
|
325
|
+
REPLICA_STATE_FAILED: 5
|
|
326
|
+
|
|
327
|
+
def self.lookup: (::Integer number) -> ::Symbol
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
def self.resolve: (::Symbol name) -> ::Integer
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
type names = :REPLICA_STATE_UNSPECIFIED | :REPLICA_STATE_ADDING | :REPLICA_STATE_ACTIVE | :REPLICA_STATE_REMOVING | :REPLICA_STATE_FAILED
|
|
334
|
+
|
|
335
|
+
type strings = "REPLICA_STATE_UNSPECIFIED" | "REPLICA_STATE_ADDING" | "REPLICA_STATE_ACTIVE" | "REPLICA_STATE_REMOVING" | "REPLICA_STATE_FAILED"
|
|
336
|
+
|
|
337
|
+
type numbers = 0 | 1 | 2 | 3 | 5
|
|
338
|
+
end
|
|
339
|
+
|
|
340
|
+
# The id of the replica. This is generated by Temporal after a replica is created.
|
|
341
|
+
attr_reader id(): ::String
|
|
342
|
+
attr_writer id(): ::String | ::Symbol
|
|
343
|
+
def clear_id: () -> void
|
|
344
|
+
|
|
345
|
+
# Whether this replica is currently the primary one.
|
|
346
|
+
attr_accessor is_primary(): bool
|
|
347
|
+
def clear_is_primary: () -> void
|
|
348
|
+
|
|
349
|
+
# The current state of this replica.
|
|
350
|
+
attr_reader state(): ::Temporalio::Api::Cloud::Namespace::V1::Replica::ReplicaState::names | ::Integer
|
|
351
|
+
attr_writer state(): ::Temporalio::Api::Cloud::Namespace::V1::Replica::ReplicaState::names | ::Temporalio::Api::Cloud::Namespace::V1::Replica::ReplicaState::strings | ::Integer | ::Float
|
|
352
|
+
attr_reader state_const(): ::Integer
|
|
353
|
+
def clear_state: () -> void
|
|
354
|
+
|
|
355
|
+
# The cloud provider and region of this replica.
|
|
356
|
+
attr_reader region(): ::String
|
|
357
|
+
attr_writer region(): ::String | ::Symbol
|
|
358
|
+
def clear_region: () -> void
|
|
359
|
+
|
|
360
|
+
type init_map = {
|
|
361
|
+
id: (::String | ::Symbol)?,
|
|
362
|
+
"id" => (::String | ::Symbol)?,
|
|
363
|
+
is_primary: bool?,
|
|
364
|
+
"is_primary" => bool?,
|
|
365
|
+
state: (::Temporalio::Api::Cloud::Namespace::V1::Replica::ReplicaState::names | ::Temporalio::Api::Cloud::Namespace::V1::Replica::ReplicaState::strings | ::Integer | ::Float)?,
|
|
366
|
+
"state" => (::Temporalio::Api::Cloud::Namespace::V1::Replica::ReplicaState::names | ::Temporalio::Api::Cloud::Namespace::V1::Replica::ReplicaState::strings | ::Integer | ::Float)?,
|
|
367
|
+
region: (::String | ::Symbol)?,
|
|
368
|
+
"region" => (::String | ::Symbol)?,
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
def initialize: (?init_map initial_value) -> void
|
|
372
|
+
|
|
373
|
+
def []:
|
|
374
|
+
("id" name) -> ::String
|
|
375
|
+
| ("is_primary" name) -> bool
|
|
376
|
+
| ("state" name) -> (::Temporalio::Api::Cloud::Namespace::V1::Replica::ReplicaState::names | ::Integer)
|
|
377
|
+
| ("region" name) -> ::String
|
|
378
|
+
|
|
379
|
+
def []=:
|
|
380
|
+
("id" name, (::String | ::Symbol) value) -> void
|
|
381
|
+
| ("is_primary" name, bool value) -> void
|
|
382
|
+
| ("state" name, (::Temporalio::Api::Cloud::Namespace::V1::Replica::ReplicaState::names | ::Temporalio::Api::Cloud::Namespace::V1::Replica::ReplicaState::strings | ::Integer | ::Float) value) -> void
|
|
383
|
+
| ("region" name, (::String | ::Symbol) value) -> void
|
|
384
|
+
end
|
|
385
|
+
|
|
386
|
+
# temporal:versioning:min_version=v0.10.0
|
|
387
|
+
class CapacitySpec < ::Google::Protobuf::AbstractMessage
|
|
388
|
+
class OnDemand < ::Google::Protobuf::AbstractMessage
|
|
389
|
+
|
|
390
|
+
type init_map = {
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
def initialize: (?init_map initial_value) -> void
|
|
394
|
+
end
|
|
395
|
+
|
|
396
|
+
class Provisioned < ::Google::Protobuf::AbstractMessage
|
|
397
|
+
|
|
398
|
+
# The units of provisioned capacity in TRU (Temporal Resource Units).
|
|
399
|
+
# Each TRU unit assigned to the namespace will entitle it with additional APS limits as specified in the documentation.
|
|
400
|
+
attr_reader value(): ::Float
|
|
401
|
+
attr_writer value(): ::Float | ::Integer
|
|
402
|
+
def clear_value: () -> void
|
|
403
|
+
|
|
404
|
+
type init_map = {
|
|
405
|
+
value: (::Float | ::Integer)?,
|
|
406
|
+
"value" => (::Float | ::Integer)?,
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
def initialize: (?init_map initial_value) -> void
|
|
410
|
+
|
|
411
|
+
def []:
|
|
412
|
+
("value" name) -> ::Float
|
|
413
|
+
|
|
414
|
+
def []=:
|
|
415
|
+
("value" name, (::Float | ::Integer) value) -> void
|
|
416
|
+
end
|
|
417
|
+
|
|
418
|
+
# The on-demand capacity mode configuration.
|
|
419
|
+
attr_accessor on_demand(): ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::OnDemand?
|
|
420
|
+
def has_on_demand?: () -> bool
|
|
421
|
+
def clear_on_demand: () -> void
|
|
422
|
+
|
|
423
|
+
# The provisioned capacity mode configuration.
|
|
424
|
+
attr_accessor provisioned(): ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::Provisioned?
|
|
425
|
+
def has_provisioned?: () -> bool
|
|
426
|
+
def clear_provisioned: () -> void
|
|
427
|
+
|
|
428
|
+
attr_reader spec(): (::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::OnDemand | ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::Provisioned)?
|
|
429
|
+
def has_spec?: () -> bool
|
|
430
|
+
def clear_spec: () -> void
|
|
431
|
+
|
|
432
|
+
type init_map = {
|
|
433
|
+
on_demand: (::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::OnDemand | ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::OnDemand::init_map)?,
|
|
434
|
+
"on_demand" => (::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::OnDemand | ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::OnDemand::init_map)?,
|
|
435
|
+
provisioned: (::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::Provisioned | ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::Provisioned::init_map)?,
|
|
436
|
+
"provisioned" => (::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::Provisioned | ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::Provisioned::init_map)?,
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
def initialize: (?init_map initial_value) -> void
|
|
440
|
+
|
|
441
|
+
def []:
|
|
442
|
+
("on_demand" name) -> ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::OnDemand?
|
|
443
|
+
| ("provisioned" name) -> ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::Provisioned?
|
|
444
|
+
|
|
445
|
+
def []=:
|
|
446
|
+
("on_demand" name, ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::OnDemand? value) -> void
|
|
447
|
+
| ("provisioned" name, ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::Provisioned? value) -> void
|
|
448
|
+
end
|
|
449
|
+
|
|
450
|
+
class Capacity < ::Google::Protobuf::AbstractMessage
|
|
451
|
+
class OnDemand < ::Google::Protobuf::AbstractMessage
|
|
452
|
+
|
|
453
|
+
type init_map = {
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
def initialize: (?init_map initial_value) -> void
|
|
457
|
+
end
|
|
458
|
+
|
|
459
|
+
class Provisioned < ::Google::Protobuf::AbstractMessage
|
|
460
|
+
|
|
461
|
+
# The current provisioned capacity for the namespace in Temporal Resource Units.
|
|
462
|
+
# Can be different from the requested capacity in latest_request if the request is still in progress.
|
|
463
|
+
attr_reader current_value(): ::Float
|
|
464
|
+
attr_writer current_value(): ::Float | ::Integer
|
|
465
|
+
def clear_current_value: () -> void
|
|
466
|
+
|
|
467
|
+
type init_map = {
|
|
468
|
+
current_value: (::Float | ::Integer)?,
|
|
469
|
+
"current_value" => (::Float | ::Integer)?,
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
def initialize: (?init_map initial_value) -> void
|
|
473
|
+
|
|
474
|
+
def []:
|
|
475
|
+
("current_value" name) -> ::Float
|
|
476
|
+
|
|
477
|
+
def []=:
|
|
478
|
+
("current_value" name, (::Float | ::Integer) value) -> void
|
|
479
|
+
end
|
|
480
|
+
|
|
481
|
+
class Request < ::Google::Protobuf::AbstractMessage
|
|
482
|
+
module State
|
|
483
|
+
|
|
484
|
+
STATE_CAPACITY_REQUEST_UNSPECIFIED: 0
|
|
485
|
+
|
|
486
|
+
STATE_CAPACITY_REQUEST_COMPLETED: 1
|
|
487
|
+
|
|
488
|
+
STATE_CAPACITY_REQUEST_IN_PROGRESS: 2
|
|
489
|
+
|
|
490
|
+
STATE_CAPACITY_REQUEST_FAILED: 3
|
|
491
|
+
|
|
492
|
+
def self.lookup: (::Integer number) -> ::Symbol
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
def self.resolve: (::Symbol name) -> ::Integer
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
type names = :STATE_CAPACITY_REQUEST_UNSPECIFIED | :STATE_CAPACITY_REQUEST_COMPLETED | :STATE_CAPACITY_REQUEST_IN_PROGRESS | :STATE_CAPACITY_REQUEST_FAILED
|
|
499
|
+
|
|
500
|
+
type strings = "STATE_CAPACITY_REQUEST_UNSPECIFIED" | "STATE_CAPACITY_REQUEST_COMPLETED" | "STATE_CAPACITY_REQUEST_IN_PROGRESS" | "STATE_CAPACITY_REQUEST_FAILED"
|
|
501
|
+
|
|
502
|
+
type numbers = 0 | 1 | 2 | 3
|
|
503
|
+
end
|
|
504
|
+
|
|
505
|
+
# The current state of the capacity request (e.g. in-progress, completed, failed).
|
|
506
|
+
attr_reader state(): ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::State::names | ::Integer
|
|
507
|
+
attr_writer state(): ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::State::names | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::State::strings | ::Integer | ::Float
|
|
508
|
+
attr_reader state_const(): ::Integer
|
|
509
|
+
def clear_state: () -> void
|
|
510
|
+
|
|
511
|
+
# The date and time when the capacity request was created.
|
|
512
|
+
attr_reader start_time(): ::Google::Protobuf::Timestamp?
|
|
513
|
+
attr_writer start_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
514
|
+
def has_start_time?: () -> bool
|
|
515
|
+
def clear_start_time: () -> void
|
|
516
|
+
|
|
517
|
+
# The date and time when the capacity request was completed or failed.
|
|
518
|
+
attr_reader end_time(): ::Google::Protobuf::Timestamp?
|
|
519
|
+
attr_writer end_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
520
|
+
def has_end_time?: () -> bool
|
|
521
|
+
def clear_end_time: () -> void
|
|
522
|
+
|
|
523
|
+
# The id of the async operation that is creating/updating/deleting the capacity, if any.
|
|
524
|
+
attr_reader async_operation_id(): ::String
|
|
525
|
+
attr_writer async_operation_id(): ::String | ::Symbol
|
|
526
|
+
def clear_async_operation_id: () -> void
|
|
527
|
+
|
|
528
|
+
# The requested capacity specification.
|
|
529
|
+
attr_accessor spec(): ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec?
|
|
530
|
+
def has_spec?: () -> bool
|
|
531
|
+
def clear_spec: () -> void
|
|
532
|
+
|
|
533
|
+
type init_map = {
|
|
534
|
+
state: (::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::State::names | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::State::strings | ::Integer | ::Float)?,
|
|
535
|
+
"state" => (::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::State::names | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::State::strings | ::Integer | ::Float)?,
|
|
536
|
+
start_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
537
|
+
"start_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
538
|
+
end_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
539
|
+
"end_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
540
|
+
async_operation_id: (::String | ::Symbol)?,
|
|
541
|
+
"async_operation_id" => (::String | ::Symbol)?,
|
|
542
|
+
spec: (::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec | ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::init_map)?,
|
|
543
|
+
"spec" => (::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec | ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::init_map)?,
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
def initialize: (?init_map initial_value) -> void
|
|
547
|
+
|
|
548
|
+
def []:
|
|
549
|
+
("state" name) -> (::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::State::names | ::Integer)
|
|
550
|
+
| ("start_time" name) -> ::Google::Protobuf::Timestamp?
|
|
551
|
+
| ("end_time" name) -> ::Google::Protobuf::Timestamp?
|
|
552
|
+
| ("async_operation_id" name) -> ::String
|
|
553
|
+
| ("spec" name) -> ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec?
|
|
554
|
+
|
|
555
|
+
def []=:
|
|
556
|
+
("state" name, (::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::State::names | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::State::strings | ::Integer | ::Float) value) -> void
|
|
557
|
+
| ("start_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
558
|
+
| ("end_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
559
|
+
| ("async_operation_id" name, (::String | ::Symbol) value) -> void
|
|
560
|
+
| ("spec" name, ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec? value) -> void
|
|
561
|
+
end
|
|
562
|
+
|
|
563
|
+
# The status of on-demand capacity mode.
|
|
564
|
+
attr_accessor on_demand(): ::Temporalio::Api::Cloud::Namespace::V1::Capacity::OnDemand?
|
|
565
|
+
def has_on_demand?: () -> bool
|
|
566
|
+
def clear_on_demand: () -> void
|
|
567
|
+
|
|
568
|
+
# The status of provisioned capacity mode.
|
|
569
|
+
attr_accessor provisioned(): ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Provisioned?
|
|
570
|
+
def has_provisioned?: () -> bool
|
|
571
|
+
def clear_provisioned: () -> void
|
|
572
|
+
|
|
573
|
+
# The latest requested capacity for the namespace, if any.
|
|
574
|
+
attr_accessor latest_request(): ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request?
|
|
575
|
+
def has_latest_request?: () -> bool
|
|
576
|
+
def clear_latest_request: () -> void
|
|
577
|
+
|
|
578
|
+
attr_reader current_mode(): (::Temporalio::Api::Cloud::Namespace::V1::Capacity::OnDemand | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Provisioned)?
|
|
579
|
+
def has_current_mode?: () -> bool
|
|
580
|
+
def clear_current_mode: () -> void
|
|
581
|
+
|
|
582
|
+
type init_map = {
|
|
583
|
+
on_demand: (::Temporalio::Api::Cloud::Namespace::V1::Capacity::OnDemand | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::OnDemand::init_map)?,
|
|
584
|
+
"on_demand" => (::Temporalio::Api::Cloud::Namespace::V1::Capacity::OnDemand | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::OnDemand::init_map)?,
|
|
585
|
+
provisioned: (::Temporalio::Api::Cloud::Namespace::V1::Capacity::Provisioned | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Provisioned::init_map)?,
|
|
586
|
+
"provisioned" => (::Temporalio::Api::Cloud::Namespace::V1::Capacity::Provisioned | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Provisioned::init_map)?,
|
|
587
|
+
latest_request: (::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::init_map)?,
|
|
588
|
+
"latest_request" => (::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::init_map)?,
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
def initialize: (?init_map initial_value) -> void
|
|
592
|
+
|
|
593
|
+
def []:
|
|
594
|
+
("on_demand" name) -> ::Temporalio::Api::Cloud::Namespace::V1::Capacity::OnDemand?
|
|
595
|
+
| ("provisioned" name) -> ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Provisioned?
|
|
596
|
+
| ("latest_request" name) -> ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request?
|
|
597
|
+
|
|
598
|
+
def []=:
|
|
599
|
+
("on_demand" name, ::Temporalio::Api::Cloud::Namespace::V1::Capacity::OnDemand? value) -> void
|
|
600
|
+
| ("provisioned" name, ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Provisioned? value) -> void
|
|
601
|
+
| ("latest_request" name, ::Temporalio::Api::Cloud::Namespace::V1::Capacity::Request? value) -> void
|
|
602
|
+
end
|
|
603
|
+
|
|
604
|
+
class FairnessSpec < ::Google::Protobuf::AbstractMessage
|
|
605
|
+
|
|
606
|
+
# Flag to enable task queue fairness for the namespace (default: disabled).
|
|
607
|
+
attr_accessor task_queue_fairness_enabled(): bool
|
|
608
|
+
def clear_task_queue_fairness_enabled: () -> void
|
|
609
|
+
|
|
610
|
+
type init_map = {
|
|
611
|
+
task_queue_fairness_enabled: bool?,
|
|
612
|
+
"task_queue_fairness_enabled" => bool?,
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
def initialize: (?init_map initial_value) -> void
|
|
616
|
+
|
|
617
|
+
def []:
|
|
618
|
+
("task_queue_fairness_enabled" name) -> bool
|
|
619
|
+
|
|
620
|
+
def []=:
|
|
621
|
+
("task_queue_fairness_enabled" name, bool value) -> void
|
|
622
|
+
end
|
|
623
|
+
|
|
624
|
+
class NamespaceSpec < ::Google::Protobuf::AbstractMessage
|
|
625
|
+
module SearchAttributeType
|
|
626
|
+
|
|
627
|
+
SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED: 0
|
|
628
|
+
|
|
629
|
+
SEARCH_ATTRIBUTE_TYPE_TEXT: 1
|
|
630
|
+
|
|
631
|
+
SEARCH_ATTRIBUTE_TYPE_KEYWORD: 2
|
|
632
|
+
|
|
633
|
+
SEARCH_ATTRIBUTE_TYPE_INT: 3
|
|
634
|
+
|
|
635
|
+
SEARCH_ATTRIBUTE_TYPE_DOUBLE: 4
|
|
636
|
+
|
|
637
|
+
SEARCH_ATTRIBUTE_TYPE_BOOL: 5
|
|
638
|
+
|
|
639
|
+
SEARCH_ATTRIBUTE_TYPE_DATETIME: 6
|
|
640
|
+
|
|
641
|
+
SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST: 7
|
|
642
|
+
|
|
643
|
+
def self.lookup: (::Integer number) -> ::Symbol
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
def self.resolve: (::Symbol name) -> ::Integer
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
type names = :SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED | :SEARCH_ATTRIBUTE_TYPE_TEXT | :SEARCH_ATTRIBUTE_TYPE_KEYWORD | :SEARCH_ATTRIBUTE_TYPE_INT | :SEARCH_ATTRIBUTE_TYPE_DOUBLE | :SEARCH_ATTRIBUTE_TYPE_BOOL | :SEARCH_ATTRIBUTE_TYPE_DATETIME | :SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST
|
|
650
|
+
|
|
651
|
+
type strings = "SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED" | "SEARCH_ATTRIBUTE_TYPE_TEXT" | "SEARCH_ATTRIBUTE_TYPE_KEYWORD" | "SEARCH_ATTRIBUTE_TYPE_INT" | "SEARCH_ATTRIBUTE_TYPE_DOUBLE" | "SEARCH_ATTRIBUTE_TYPE_BOOL" | "SEARCH_ATTRIBUTE_TYPE_DATETIME" | "SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST"
|
|
652
|
+
|
|
653
|
+
type numbers = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7
|
|
654
|
+
end
|
|
655
|
+
|
|
656
|
+
# The name to use for the namespace.
|
|
657
|
+
# This will create a namespace that's available at '<name>.<account>.tmprl.cloud:7233'.
|
|
658
|
+
# The name is immutable. Once set, it cannot be changed.
|
|
659
|
+
attr_reader name(): ::String
|
|
660
|
+
attr_writer name(): ::String | ::Symbol
|
|
661
|
+
def clear_name: () -> void
|
|
662
|
+
|
|
663
|
+
# The ids of the regions where the namespace should be available.
|
|
664
|
+
# The GetRegions API can be used to get the list of valid region ids.
|
|
665
|
+
# Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access.
|
|
666
|
+
# Please reach out to Temporal support for more information on global namespaces.
|
|
667
|
+
# When provisioned the global namespace will be active on the first region in the list and passive on the rest.
|
|
668
|
+
# Number of supported regions is 2.
|
|
669
|
+
# The regions is immutable. Once set, it cannot be changed.
|
|
670
|
+
# Example: ["aws-us-west-2"].
|
|
671
|
+
# Deprecated: Use replicas field instead.
|
|
672
|
+
# temporal:versioning:max_version=v0.15.0
|
|
673
|
+
# @deprecated
|
|
674
|
+
attr_accessor regions(): ::Google::Protobuf::RepeatedField
|
|
675
|
+
def clear_regions: () -> void
|
|
676
|
+
|
|
677
|
+
# The number of days the workflows data will be retained for.
|
|
678
|
+
# Changes to the retention period may impact your storage costs.
|
|
679
|
+
# Any changes to the retention period will be applied to all new running workflows.
|
|
680
|
+
attr_reader retention_days(): ::Integer
|
|
681
|
+
attr_writer retention_days(): ::Integer | ::Float
|
|
682
|
+
def clear_retention_days: () -> void
|
|
683
|
+
|
|
684
|
+
# The mTLS auth configuration for the namespace.
|
|
685
|
+
# If unspecified, mTLS will be disabled.
|
|
686
|
+
attr_accessor mtls_auth(): ::Temporalio::Api::Cloud::Namespace::V1::MtlsAuthSpec?
|
|
687
|
+
def has_mtls_auth?: () -> bool
|
|
688
|
+
def clear_mtls_auth: () -> void
|
|
689
|
+
|
|
690
|
+
# The API key auth configuration for the namespace.
|
|
691
|
+
# If unspecified, API keys will be disabled.
|
|
692
|
+
# temporal:versioning:min_version=v0.2.0
|
|
693
|
+
attr_accessor api_key_auth(): ::Temporalio::Api::Cloud::Namespace::V1::ApiKeyAuthSpec?
|
|
694
|
+
def has_api_key_auth?: () -> bool
|
|
695
|
+
def clear_api_key_auth: () -> void
|
|
696
|
+
|
|
697
|
+
# The custom search attributes to use for the namespace.
|
|
698
|
+
# The name of the attribute is the key and the type is the value.
|
|
699
|
+
# Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list.
|
|
700
|
+
# NOTE: currently deleting a search attribute is not supported.
|
|
701
|
+
# Optional, default is empty.
|
|
702
|
+
# Deprecated: Not supported after v0.3.0 api version. Use search_attributes instead.
|
|
703
|
+
# temporal:versioning:max_version=v0.3.0
|
|
704
|
+
# @deprecated
|
|
705
|
+
attr_accessor custom_search_attributes(): ::Google::Protobuf::Map[::String, ::String]
|
|
706
|
+
def clear_custom_search_attributes: () -> void
|
|
707
|
+
|
|
708
|
+
# The custom search attributes to use for the namespace.
|
|
709
|
+
# The name of the attribute is the key and the type is the value.
|
|
710
|
+
# Note: currently deleting a search attribute is not supported.
|
|
711
|
+
# Optional, default is empty.
|
|
712
|
+
# temporal:versioning:min_version=v0.3.0
|
|
713
|
+
# temporal:enums:replaces=custom_search_attributes
|
|
714
|
+
attr_accessor search_attributes(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec::SearchAttributeType::names | ::Integer]
|
|
715
|
+
def clear_search_attributes: () -> void
|
|
716
|
+
|
|
717
|
+
# Codec server spec used by UI to decode payloads for all users interacting with this namespace.
|
|
718
|
+
# Optional, default is unset.
|
|
719
|
+
attr_accessor codec_server(): ::Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec?
|
|
720
|
+
def has_codec_server?: () -> bool
|
|
721
|
+
def clear_codec_server: () -> void
|
|
722
|
+
|
|
723
|
+
# The lifecycle configuration for the namespace.
|
|
724
|
+
# temporal:versioning:min_version=v0.4.0
|
|
725
|
+
attr_accessor lifecycle(): ::Temporalio::Api::Cloud::Namespace::V1::LifecycleSpec?
|
|
726
|
+
def has_lifecycle?: () -> bool
|
|
727
|
+
def clear_lifecycle: () -> void
|
|
728
|
+
|
|
729
|
+
# The high availability configuration for the namespace.
|
|
730
|
+
# temporal:versioning:min_version=v0.4.0
|
|
731
|
+
attr_accessor high_availability(): ::Temporalio::Api::Cloud::Namespace::V1::HighAvailabilitySpec?
|
|
732
|
+
def has_high_availability?: () -> bool
|
|
733
|
+
def clear_high_availability: () -> void
|
|
734
|
+
|
|
735
|
+
# The private connectivity configuration for the namespace.
|
|
736
|
+
# This will apply the connectivity rules specified to the namespace.
|
|
737
|
+
# temporal:versioning:min_version=v0.6.0
|
|
738
|
+
attr_accessor connectivity_rule_ids(): ::Google::Protobuf::RepeatedField
|
|
739
|
+
def clear_connectivity_rule_ids: () -> void
|
|
740
|
+
|
|
741
|
+
# The capacity configuration for the namespace.
|
|
742
|
+
# There are two capacity modes: on-demand and provisioned.
|
|
743
|
+
# On-demand capacity mode allows the namespace to scale automatically based on usage.
|
|
744
|
+
# Provisioned capacity mode allows the user to specify a fixed amount of capacity (in TRUs) for the namespace.
|
|
745
|
+
# Can be changed only when the last capacity request is not in progress.
|
|
746
|
+
# temporal:versioning:min_version=v0.10.0
|
|
747
|
+
attr_accessor capacity_spec(): ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec?
|
|
748
|
+
def has_capacity_spec?: () -> bool
|
|
749
|
+
def clear_capacity_spec: () -> void
|
|
750
|
+
|
|
751
|
+
# The replication configuration for the namespace.
|
|
752
|
+
# At least one replica must be specified.
|
|
753
|
+
# Only one replica can be marked to be the desired active one.
|
|
754
|
+
# The status of each replica is available in the Namespace.replicas field.
|
|
755
|
+
# Use HighAvailabilitySpec to set the preferred primary replica ID.
|
|
756
|
+
# If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary.
|
|
757
|
+
# temporal:versioning:min_version=v0.13.0
|
|
758
|
+
attr_accessor replicas(): ::Google::Protobuf::RepeatedField
|
|
759
|
+
def clear_replicas: () -> void
|
|
760
|
+
|
|
761
|
+
# The fairness configuration for the namespace.
|
|
762
|
+
# If unspecified, fairness features will be disabled.
|
|
763
|
+
# temporal:versioning:min_version=v0.14.0
|
|
764
|
+
attr_accessor fairness(): ::Temporalio::Api::Cloud::Namespace::V1::FairnessSpec?
|
|
765
|
+
def has_fairness?: () -> bool
|
|
766
|
+
def clear_fairness: () -> void
|
|
767
|
+
|
|
768
|
+
type init_map = {
|
|
769
|
+
name: (::String | ::Symbol)?,
|
|
770
|
+
"name" => (::String | ::Symbol)?,
|
|
771
|
+
regions: ::Array[::String | ::Symbol]?,
|
|
772
|
+
"regions" => ::Array[::String | ::Symbol]?,
|
|
773
|
+
retention_days: (::Integer | ::Float)?,
|
|
774
|
+
"retention_days" => (::Integer | ::Float)?,
|
|
775
|
+
mtls_auth: (::Temporalio::Api::Cloud::Namespace::V1::MtlsAuthSpec | ::Temporalio::Api::Cloud::Namespace::V1::MtlsAuthSpec::init_map)?,
|
|
776
|
+
"mtls_auth" => (::Temporalio::Api::Cloud::Namespace::V1::MtlsAuthSpec | ::Temporalio::Api::Cloud::Namespace::V1::MtlsAuthSpec::init_map)?,
|
|
777
|
+
api_key_auth: (::Temporalio::Api::Cloud::Namespace::V1::ApiKeyAuthSpec | ::Temporalio::Api::Cloud::Namespace::V1::ApiKeyAuthSpec::init_map)?,
|
|
778
|
+
"api_key_auth" => (::Temporalio::Api::Cloud::Namespace::V1::ApiKeyAuthSpec | ::Temporalio::Api::Cloud::Namespace::V1::ApiKeyAuthSpec::init_map)?,
|
|
779
|
+
custom_search_attributes: ::Hash[::String | ::Symbol, ::String | ::Symbol]?,
|
|
780
|
+
"custom_search_attributes" => ::Hash[::String | ::Symbol, ::String | ::Symbol]?,
|
|
781
|
+
search_attributes: ::Hash[::String | ::Symbol, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec::SearchAttributeType::names | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec::SearchAttributeType::strings | ::Integer | ::Float]?,
|
|
782
|
+
"search_attributes" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec::SearchAttributeType::names | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec::SearchAttributeType::strings | ::Integer | ::Float]?,
|
|
783
|
+
codec_server: (::Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec | ::Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::init_map)?,
|
|
784
|
+
"codec_server" => (::Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec | ::Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::init_map)?,
|
|
785
|
+
lifecycle: (::Temporalio::Api::Cloud::Namespace::V1::LifecycleSpec | ::Temporalio::Api::Cloud::Namespace::V1::LifecycleSpec::init_map)?,
|
|
786
|
+
"lifecycle" => (::Temporalio::Api::Cloud::Namespace::V1::LifecycleSpec | ::Temporalio::Api::Cloud::Namespace::V1::LifecycleSpec::init_map)?,
|
|
787
|
+
high_availability: (::Temporalio::Api::Cloud::Namespace::V1::HighAvailabilitySpec | ::Temporalio::Api::Cloud::Namespace::V1::HighAvailabilitySpec::init_map)?,
|
|
788
|
+
"high_availability" => (::Temporalio::Api::Cloud::Namespace::V1::HighAvailabilitySpec | ::Temporalio::Api::Cloud::Namespace::V1::HighAvailabilitySpec::init_map)?,
|
|
789
|
+
connectivity_rule_ids: ::Array[::String | ::Symbol]?,
|
|
790
|
+
"connectivity_rule_ids" => ::Array[::String | ::Symbol]?,
|
|
791
|
+
capacity_spec: (::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec | ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::init_map)?,
|
|
792
|
+
"capacity_spec" => (::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec | ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::init_map)?,
|
|
793
|
+
replicas: ::Array[::Temporalio::Api::Cloud::Namespace::V1::ReplicaSpec]?,
|
|
794
|
+
"replicas" => ::Array[::Temporalio::Api::Cloud::Namespace::V1::ReplicaSpec]?,
|
|
795
|
+
fairness: (::Temporalio::Api::Cloud::Namespace::V1::FairnessSpec | ::Temporalio::Api::Cloud::Namespace::V1::FairnessSpec::init_map)?,
|
|
796
|
+
"fairness" => (::Temporalio::Api::Cloud::Namespace::V1::FairnessSpec | ::Temporalio::Api::Cloud::Namespace::V1::FairnessSpec::init_map)?,
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
def initialize: (?init_map initial_value) -> void
|
|
800
|
+
|
|
801
|
+
def []:
|
|
802
|
+
("name" name) -> ::String
|
|
803
|
+
| ("regions" name) -> (::Google::Protobuf::RepeatedField)
|
|
804
|
+
| ("retention_days" name) -> ::Integer
|
|
805
|
+
| ("mtls_auth" name) -> ::Temporalio::Api::Cloud::Namespace::V1::MtlsAuthSpec?
|
|
806
|
+
| ("api_key_auth" name) -> ::Temporalio::Api::Cloud::Namespace::V1::ApiKeyAuthSpec?
|
|
807
|
+
| ("custom_search_attributes" name) -> (::Google::Protobuf::Map[::String, ::String])
|
|
808
|
+
| ("search_attributes" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec::SearchAttributeType::names | ::Integer])
|
|
809
|
+
| ("codec_server" name) -> ::Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec?
|
|
810
|
+
| ("lifecycle" name) -> ::Temporalio::Api::Cloud::Namespace::V1::LifecycleSpec?
|
|
811
|
+
| ("high_availability" name) -> ::Temporalio::Api::Cloud::Namespace::V1::HighAvailabilitySpec?
|
|
812
|
+
| ("connectivity_rule_ids" name) -> (::Google::Protobuf::RepeatedField)
|
|
813
|
+
| ("capacity_spec" name) -> ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec?
|
|
814
|
+
| ("replicas" name) -> ::Google::Protobuf::RepeatedField
|
|
815
|
+
| ("fairness" name) -> ::Temporalio::Api::Cloud::Namespace::V1::FairnessSpec?
|
|
816
|
+
|
|
817
|
+
def []=:
|
|
818
|
+
("name" name, (::String | ::Symbol) value) -> void
|
|
819
|
+
| ("regions" name, (::Google::Protobuf::RepeatedField) value) -> void
|
|
820
|
+
| ("retention_days" name, (::Integer | ::Float) value) -> void
|
|
821
|
+
| ("mtls_auth" name, ::Temporalio::Api::Cloud::Namespace::V1::MtlsAuthSpec? value) -> void
|
|
822
|
+
| ("api_key_auth" name, ::Temporalio::Api::Cloud::Namespace::V1::ApiKeyAuthSpec? value) -> void
|
|
823
|
+
| ("custom_search_attributes" name, (::Google::Protobuf::Map[::String, ::String]) value) -> void
|
|
824
|
+
| ("search_attributes" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec::SearchAttributeType::names | ::Integer]) value) -> void
|
|
825
|
+
| ("codec_server" name, ::Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec? value) -> void
|
|
826
|
+
| ("lifecycle" name, ::Temporalio::Api::Cloud::Namespace::V1::LifecycleSpec? value) -> void
|
|
827
|
+
| ("high_availability" name, ::Temporalio::Api::Cloud::Namespace::V1::HighAvailabilitySpec? value) -> void
|
|
828
|
+
| ("connectivity_rule_ids" name, (::Google::Protobuf::RepeatedField) value) -> void
|
|
829
|
+
| ("capacity_spec" name, ::Temporalio::Api::Cloud::Namespace::V1::CapacitySpec? value) -> void
|
|
830
|
+
| ("replicas" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
831
|
+
| ("fairness" name, ::Temporalio::Api::Cloud::Namespace::V1::FairnessSpec? value) -> void
|
|
832
|
+
end
|
|
833
|
+
|
|
834
|
+
class Endpoints < ::Google::Protobuf::AbstractMessage
|
|
835
|
+
|
|
836
|
+
# The web UI address.
|
|
837
|
+
attr_reader web_address(): ::String
|
|
838
|
+
attr_writer web_address(): ::String | ::Symbol
|
|
839
|
+
def clear_web_address: () -> void
|
|
840
|
+
|
|
841
|
+
# The gRPC address for mTLS client connections (may be empty if mTLS is disabled).
|
|
842
|
+
attr_reader mtls_grpc_address(): ::String
|
|
843
|
+
attr_writer mtls_grpc_address(): ::String | ::Symbol
|
|
844
|
+
def clear_mtls_grpc_address: () -> void
|
|
845
|
+
|
|
846
|
+
# The gRPC address for API key client connections (may be empty if API keys are disabled).
|
|
847
|
+
attr_reader grpc_address(): ::String
|
|
848
|
+
attr_writer grpc_address(): ::String | ::Symbol
|
|
849
|
+
def clear_grpc_address: () -> void
|
|
850
|
+
|
|
851
|
+
type init_map = {
|
|
852
|
+
web_address: (::String | ::Symbol)?,
|
|
853
|
+
"web_address" => (::String | ::Symbol)?,
|
|
854
|
+
mtls_grpc_address: (::String | ::Symbol)?,
|
|
855
|
+
"mtls_grpc_address" => (::String | ::Symbol)?,
|
|
856
|
+
grpc_address: (::String | ::Symbol)?,
|
|
857
|
+
"grpc_address" => (::String | ::Symbol)?,
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
def initialize: (?init_map initial_value) -> void
|
|
861
|
+
|
|
862
|
+
def []:
|
|
863
|
+
("web_address" name) -> ::String
|
|
864
|
+
| ("mtls_grpc_address" name) -> ::String
|
|
865
|
+
| ("grpc_address" name) -> ::String
|
|
866
|
+
|
|
867
|
+
def []=:
|
|
868
|
+
("web_address" name, (::String | ::Symbol) value) -> void
|
|
869
|
+
| ("mtls_grpc_address" name, (::String | ::Symbol) value) -> void
|
|
870
|
+
| ("grpc_address" name, (::String | ::Symbol) value) -> void
|
|
871
|
+
end
|
|
872
|
+
|
|
873
|
+
class Limits < ::Google::Protobuf::AbstractMessage
|
|
874
|
+
|
|
875
|
+
# The number of actions per second (APS) that is currently allowed for the namespace.
|
|
876
|
+
# The namespace may be throttled if its APS exceeds the limit.
|
|
877
|
+
attr_reader actions_per_second_limit(): ::Integer
|
|
878
|
+
attr_writer actions_per_second_limit(): ::Integer | ::Float
|
|
879
|
+
def clear_actions_per_second_limit: () -> void
|
|
880
|
+
|
|
881
|
+
type init_map = {
|
|
882
|
+
actions_per_second_limit: (::Integer | ::Float)?,
|
|
883
|
+
"actions_per_second_limit" => (::Integer | ::Float)?,
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
def initialize: (?init_map initial_value) -> void
|
|
887
|
+
|
|
888
|
+
def []:
|
|
889
|
+
("actions_per_second_limit" name) -> ::Integer
|
|
890
|
+
|
|
891
|
+
def []=:
|
|
892
|
+
("actions_per_second_limit" name, (::Integer | ::Float) value) -> void
|
|
893
|
+
end
|
|
894
|
+
|
|
895
|
+
class AWSPrivateLinkInfo < ::Google::Protobuf::AbstractMessage
|
|
896
|
+
|
|
897
|
+
# The list of principal arns that are allowed to access the namespace on the private link.
|
|
898
|
+
attr_accessor allowed_principal_arns(): ::Google::Protobuf::RepeatedField
|
|
899
|
+
def clear_allowed_principal_arns: () -> void
|
|
900
|
+
|
|
901
|
+
# The list of vpc endpoint service names that are associated with the namespace.
|
|
902
|
+
attr_accessor vpc_endpoint_service_names(): ::Google::Protobuf::RepeatedField
|
|
903
|
+
def clear_vpc_endpoint_service_names: () -> void
|
|
904
|
+
|
|
905
|
+
type init_map = {
|
|
906
|
+
allowed_principal_arns: ::Array[::String | ::Symbol]?,
|
|
907
|
+
"allowed_principal_arns" => ::Array[::String | ::Symbol]?,
|
|
908
|
+
vpc_endpoint_service_names: ::Array[::String | ::Symbol]?,
|
|
909
|
+
"vpc_endpoint_service_names" => ::Array[::String | ::Symbol]?,
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
def initialize: (?init_map initial_value) -> void
|
|
913
|
+
|
|
914
|
+
def []:
|
|
915
|
+
("allowed_principal_arns" name) -> (::Google::Protobuf::RepeatedField)
|
|
916
|
+
| ("vpc_endpoint_service_names" name) -> (::Google::Protobuf::RepeatedField)
|
|
917
|
+
|
|
918
|
+
def []=:
|
|
919
|
+
("allowed_principal_arns" name, (::Google::Protobuf::RepeatedField) value) -> void
|
|
920
|
+
| ("vpc_endpoint_service_names" name, (::Google::Protobuf::RepeatedField) value) -> void
|
|
921
|
+
end
|
|
922
|
+
|
|
923
|
+
class PrivateConnectivity < ::Google::Protobuf::AbstractMessage
|
|
924
|
+
|
|
925
|
+
# The id of the region where the private connectivity applies.
|
|
926
|
+
attr_reader region(): ::String
|
|
927
|
+
attr_writer region(): ::String | ::Symbol
|
|
928
|
+
def clear_region: () -> void
|
|
929
|
+
|
|
930
|
+
# The AWS PrivateLink info.
|
|
931
|
+
# This will only be set for an aws region.
|
|
932
|
+
attr_accessor aws_private_link(): ::Temporalio::Api::Cloud::Namespace::V1::AWSPrivateLinkInfo?
|
|
933
|
+
def has_aws_private_link?: () -> bool
|
|
934
|
+
def clear_aws_private_link: () -> void
|
|
935
|
+
|
|
936
|
+
type init_map = {
|
|
937
|
+
region: (::String | ::Symbol)?,
|
|
938
|
+
"region" => (::String | ::Symbol)?,
|
|
939
|
+
aws_private_link: (::Temporalio::Api::Cloud::Namespace::V1::AWSPrivateLinkInfo | ::Temporalio::Api::Cloud::Namespace::V1::AWSPrivateLinkInfo::init_map)?,
|
|
940
|
+
"aws_private_link" => (::Temporalio::Api::Cloud::Namespace::V1::AWSPrivateLinkInfo | ::Temporalio::Api::Cloud::Namespace::V1::AWSPrivateLinkInfo::init_map)?,
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
def initialize: (?init_map initial_value) -> void
|
|
944
|
+
|
|
945
|
+
def []:
|
|
946
|
+
("region" name) -> ::String
|
|
947
|
+
| ("aws_private_link" name) -> ::Temporalio::Api::Cloud::Namespace::V1::AWSPrivateLinkInfo?
|
|
948
|
+
|
|
949
|
+
def []=:
|
|
950
|
+
("region" name, (::String | ::Symbol) value) -> void
|
|
951
|
+
| ("aws_private_link" name, ::Temporalio::Api::Cloud::Namespace::V1::AWSPrivateLinkInfo? value) -> void
|
|
952
|
+
end
|
|
953
|
+
|
|
954
|
+
class Namespace < ::Google::Protobuf::AbstractMessage
|
|
955
|
+
|
|
956
|
+
# The namespace identifier.
|
|
957
|
+
attr_reader namespace(): ::String
|
|
958
|
+
attr_writer namespace(): ::String | ::Symbol
|
|
959
|
+
def clear_namespace: () -> void
|
|
960
|
+
|
|
961
|
+
# The current version of the namespace specification.
|
|
962
|
+
# The next update operation will have to include this version.
|
|
963
|
+
attr_reader resource_version(): ::String
|
|
964
|
+
attr_writer resource_version(): ::String | ::Symbol
|
|
965
|
+
def clear_resource_version: () -> void
|
|
966
|
+
|
|
967
|
+
# The namespace specification.
|
|
968
|
+
attr_accessor spec(): ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec?
|
|
969
|
+
def has_spec?: () -> bool
|
|
970
|
+
def clear_spec: () -> void
|
|
971
|
+
|
|
972
|
+
# The current state of the namespace.
|
|
973
|
+
# Deprecated: Not supported after v0.3.0 api version. Use state instead.
|
|
974
|
+
# temporal:versioning:max_version=v0.3.0
|
|
975
|
+
# @deprecated
|
|
976
|
+
attr_reader state_deprecated(): ::String
|
|
977
|
+
attr_writer state_deprecated(): ::String | ::Symbol
|
|
978
|
+
def clear_state_deprecated: () -> void
|
|
979
|
+
|
|
980
|
+
# The current state of the namespace.
|
|
981
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
982
|
+
# temporal:versioning:min_version=v0.3.0
|
|
983
|
+
# temporal:enums:replaces=state_deprecated
|
|
984
|
+
attr_reader state(): ::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Integer
|
|
985
|
+
attr_writer state(): ::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float
|
|
986
|
+
attr_reader state_const(): ::Integer
|
|
987
|
+
def clear_state: () -> void
|
|
988
|
+
|
|
989
|
+
# The id of the async operation that is creating/updating/deleting the namespace, if any.
|
|
990
|
+
attr_reader async_operation_id(): ::String
|
|
991
|
+
attr_writer async_operation_id(): ::String | ::Symbol
|
|
992
|
+
def clear_async_operation_id: () -> void
|
|
993
|
+
|
|
994
|
+
# The endpoints for the namespace.
|
|
995
|
+
attr_accessor endpoints(): ::Temporalio::Api::Cloud::Namespace::V1::Endpoints?
|
|
996
|
+
def has_endpoints?: () -> bool
|
|
997
|
+
def clear_endpoints: () -> void
|
|
998
|
+
|
|
999
|
+
# The currently active region for the namespace.
|
|
1000
|
+
attr_reader active_region(): ::String
|
|
1001
|
+
attr_writer active_region(): ::String | ::Symbol
|
|
1002
|
+
def clear_active_region: () -> void
|
|
1003
|
+
|
|
1004
|
+
# The limits set on the namespace currently.
|
|
1005
|
+
attr_accessor limits(): ::Temporalio::Api::Cloud::Namespace::V1::Limits?
|
|
1006
|
+
def has_limits?: () -> bool
|
|
1007
|
+
def clear_limits: () -> void
|
|
1008
|
+
|
|
1009
|
+
# The private connectivities for the namespace, if any.
|
|
1010
|
+
attr_accessor private_connectivities(): ::Google::Protobuf::RepeatedField
|
|
1011
|
+
def clear_private_connectivities: () -> void
|
|
1012
|
+
|
|
1013
|
+
# The date and time when the namespace was created.
|
|
1014
|
+
attr_reader created_time(): ::Google::Protobuf::Timestamp?
|
|
1015
|
+
attr_writer created_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
1016
|
+
def has_created_time?: () -> bool
|
|
1017
|
+
def clear_created_time: () -> void
|
|
1018
|
+
|
|
1019
|
+
# The date and time when the namespace was last modified.
|
|
1020
|
+
# Will not be set if the namespace has never been modified.
|
|
1021
|
+
attr_reader last_modified_time(): ::Google::Protobuf::Timestamp?
|
|
1022
|
+
attr_writer last_modified_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
1023
|
+
def has_last_modified_time?: () -> bool
|
|
1024
|
+
def clear_last_modified_time: () -> void
|
|
1025
|
+
|
|
1026
|
+
# The status of each region where the namespace is available.
|
|
1027
|
+
# The id of the region is the key and the status is the value of the map.
|
|
1028
|
+
# deprecated: Use replicas field instead.
|
|
1029
|
+
# temporal:versioning:max_version=v0.15.0
|
|
1030
|
+
# @deprecated
|
|
1031
|
+
attr_accessor region_status(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus]
|
|
1032
|
+
def clear_region_status: () -> void
|
|
1033
|
+
|
|
1034
|
+
# The connectivity rules that are set on this namespace.
|
|
1035
|
+
attr_accessor connectivity_rules(): ::Google::Protobuf::RepeatedField
|
|
1036
|
+
def clear_connectivity_rules: () -> void
|
|
1037
|
+
|
|
1038
|
+
# The tags for the namespace.
|
|
1039
|
+
attr_accessor tags(): ::Google::Protobuf::Map[::String, ::String]
|
|
1040
|
+
def clear_tags: () -> void
|
|
1041
|
+
|
|
1042
|
+
# The status of namespace's capacity, if any.
|
|
1043
|
+
attr_accessor capacity(): ::Temporalio::Api::Cloud::Namespace::V1::Capacity?
|
|
1044
|
+
def has_capacity?: () -> bool
|
|
1045
|
+
def clear_capacity: () -> void
|
|
1046
|
+
|
|
1047
|
+
# The status of each replica where the namespace is available.
|
|
1048
|
+
# temporal:versioning:min_version=v0.13.0
|
|
1049
|
+
attr_accessor replicas(): ::Google::Protobuf::RepeatedField
|
|
1050
|
+
def clear_replicas: () -> void
|
|
1051
|
+
|
|
1052
|
+
type init_map = {
|
|
1053
|
+
namespace: (::String | ::Symbol)?,
|
|
1054
|
+
"namespace" => (::String | ::Symbol)?,
|
|
1055
|
+
resource_version: (::String | ::Symbol)?,
|
|
1056
|
+
"resource_version" => (::String | ::Symbol)?,
|
|
1057
|
+
spec: (::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec::init_map)?,
|
|
1058
|
+
"spec" => (::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec::init_map)?,
|
|
1059
|
+
state_deprecated: (::String | ::Symbol)?,
|
|
1060
|
+
"state_deprecated" => (::String | ::Symbol)?,
|
|
1061
|
+
state: (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float)?,
|
|
1062
|
+
"state" => (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float)?,
|
|
1063
|
+
async_operation_id: (::String | ::Symbol)?,
|
|
1064
|
+
"async_operation_id" => (::String | ::Symbol)?,
|
|
1065
|
+
endpoints: (::Temporalio::Api::Cloud::Namespace::V1::Endpoints | ::Temporalio::Api::Cloud::Namespace::V1::Endpoints::init_map)?,
|
|
1066
|
+
"endpoints" => (::Temporalio::Api::Cloud::Namespace::V1::Endpoints | ::Temporalio::Api::Cloud::Namespace::V1::Endpoints::init_map)?,
|
|
1067
|
+
active_region: (::String | ::Symbol)?,
|
|
1068
|
+
"active_region" => (::String | ::Symbol)?,
|
|
1069
|
+
limits: (::Temporalio::Api::Cloud::Namespace::V1::Limits | ::Temporalio::Api::Cloud::Namespace::V1::Limits::init_map)?,
|
|
1070
|
+
"limits" => (::Temporalio::Api::Cloud::Namespace::V1::Limits | ::Temporalio::Api::Cloud::Namespace::V1::Limits::init_map)?,
|
|
1071
|
+
private_connectivities: ::Array[::Temporalio::Api::Cloud::Namespace::V1::PrivateConnectivity]?,
|
|
1072
|
+
"private_connectivities" => ::Array[::Temporalio::Api::Cloud::Namespace::V1::PrivateConnectivity]?,
|
|
1073
|
+
created_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
1074
|
+
"created_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
1075
|
+
last_modified_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
1076
|
+
"last_modified_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
1077
|
+
region_status: ::Hash[::String | ::Symbol, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus]?,
|
|
1078
|
+
"region_status" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus]?,
|
|
1079
|
+
connectivity_rules: ::Array[::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule]?,
|
|
1080
|
+
"connectivity_rules" => ::Array[::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule]?,
|
|
1081
|
+
tags: ::Hash[::String | ::Symbol, ::String | ::Symbol]?,
|
|
1082
|
+
"tags" => ::Hash[::String | ::Symbol, ::String | ::Symbol]?,
|
|
1083
|
+
capacity: (::Temporalio::Api::Cloud::Namespace::V1::Capacity | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::init_map)?,
|
|
1084
|
+
"capacity" => (::Temporalio::Api::Cloud::Namespace::V1::Capacity | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::init_map)?,
|
|
1085
|
+
replicas: ::Array[::Temporalio::Api::Cloud::Namespace::V1::Replica]?,
|
|
1086
|
+
"replicas" => ::Array[::Temporalio::Api::Cloud::Namespace::V1::Replica]?,
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
def initialize: (?init_map initial_value) -> void
|
|
1090
|
+
|
|
1091
|
+
def []:
|
|
1092
|
+
("namespace" name) -> ::String
|
|
1093
|
+
| ("resource_version" name) -> ::String
|
|
1094
|
+
| ("spec" name) -> ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec?
|
|
1095
|
+
| ("state_deprecated" name) -> ::String
|
|
1096
|
+
| ("state" name) -> (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Integer)
|
|
1097
|
+
| ("async_operation_id" name) -> ::String
|
|
1098
|
+
| ("endpoints" name) -> ::Temporalio::Api::Cloud::Namespace::V1::Endpoints?
|
|
1099
|
+
| ("active_region" name) -> ::String
|
|
1100
|
+
| ("limits" name) -> ::Temporalio::Api::Cloud::Namespace::V1::Limits?
|
|
1101
|
+
| ("private_connectivities" name) -> ::Google::Protobuf::RepeatedField
|
|
1102
|
+
| ("created_time" name) -> ::Google::Protobuf::Timestamp?
|
|
1103
|
+
| ("last_modified_time" name) -> ::Google::Protobuf::Timestamp?
|
|
1104
|
+
| ("region_status" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus])
|
|
1105
|
+
| ("connectivity_rules" name) -> ::Google::Protobuf::RepeatedField
|
|
1106
|
+
| ("tags" name) -> (::Google::Protobuf::Map[::String, ::String])
|
|
1107
|
+
| ("capacity" name) -> ::Temporalio::Api::Cloud::Namespace::V1::Capacity?
|
|
1108
|
+
| ("replicas" name) -> ::Google::Protobuf::RepeatedField
|
|
1109
|
+
|
|
1110
|
+
def []=:
|
|
1111
|
+
("namespace" name, (::String | ::Symbol) value) -> void
|
|
1112
|
+
| ("resource_version" name, (::String | ::Symbol) value) -> void
|
|
1113
|
+
| ("spec" name, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec? value) -> void
|
|
1114
|
+
| ("state_deprecated" name, (::String | ::Symbol) value) -> void
|
|
1115
|
+
| ("state" name, (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float) value) -> void
|
|
1116
|
+
| ("async_operation_id" name, (::String | ::Symbol) value) -> void
|
|
1117
|
+
| ("endpoints" name, ::Temporalio::Api::Cloud::Namespace::V1::Endpoints? value) -> void
|
|
1118
|
+
| ("active_region" name, (::String | ::Symbol) value) -> void
|
|
1119
|
+
| ("limits" name, ::Temporalio::Api::Cloud::Namespace::V1::Limits? value) -> void
|
|
1120
|
+
| ("private_connectivities" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
1121
|
+
| ("created_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
1122
|
+
| ("last_modified_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
1123
|
+
| ("region_status" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus]) value) -> void
|
|
1124
|
+
| ("connectivity_rules" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
1125
|
+
| ("tags" name, (::Google::Protobuf::Map[::String, ::String]) value) -> void
|
|
1126
|
+
| ("capacity" name, ::Temporalio::Api::Cloud::Namespace::V1::Capacity? value) -> void
|
|
1127
|
+
| ("replicas" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
1128
|
+
end
|
|
1129
|
+
|
|
1130
|
+
class NamespaceRegionStatus < ::Google::Protobuf::AbstractMessage
|
|
1131
|
+
module State
|
|
1132
|
+
|
|
1133
|
+
STATE_UNSPECIFIED: 0
|
|
1134
|
+
|
|
1135
|
+
STATE_ADDING: 1
|
|
1136
|
+
|
|
1137
|
+
STATE_ACTIVE: 2
|
|
1138
|
+
|
|
1139
|
+
STATE_PASSIVE: 3
|
|
1140
|
+
|
|
1141
|
+
STATE_REMOVING: 4
|
|
1142
|
+
|
|
1143
|
+
STATE_FAILED: 5
|
|
1144
|
+
|
|
1145
|
+
def self.lookup: (::Integer number) -> ::Symbol
|
|
1146
|
+
|
|
1147
|
+
|
|
1148
|
+
def self.resolve: (::Symbol name) -> ::Integer
|
|
1149
|
+
|
|
1150
|
+
|
|
1151
|
+
type names = :STATE_UNSPECIFIED | :STATE_ADDING | :STATE_ACTIVE | :STATE_PASSIVE | :STATE_REMOVING | :STATE_FAILED
|
|
1152
|
+
|
|
1153
|
+
type strings = "STATE_UNSPECIFIED" | "STATE_ADDING" | "STATE_ACTIVE" | "STATE_PASSIVE" | "STATE_REMOVING" | "STATE_FAILED"
|
|
1154
|
+
|
|
1155
|
+
type numbers = 0 | 1 | 2 | 3 | 4 | 5
|
|
1156
|
+
end
|
|
1157
|
+
|
|
1158
|
+
# The current state of the namespace region.
|
|
1159
|
+
# Possible values: adding, active, passive, removing, failed.
|
|
1160
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
1161
|
+
# Deprecated: Not supported after v0.3.0 api version. Use state instead.
|
|
1162
|
+
# temporal:versioning:max_version=v0.3.0
|
|
1163
|
+
# @deprecated
|
|
1164
|
+
attr_reader state_deprecated(): ::String
|
|
1165
|
+
attr_writer state_deprecated(): ::String | ::Symbol
|
|
1166
|
+
def clear_state_deprecated: () -> void
|
|
1167
|
+
|
|
1168
|
+
# The current state of the namespace region.
|
|
1169
|
+
# temporal:versioning:min_version=v0.3.0
|
|
1170
|
+
# temporal:enums:replaces=state_deprecated
|
|
1171
|
+
attr_reader state(): ::Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus::State::names | ::Integer
|
|
1172
|
+
attr_writer state(): ::Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus::State::names | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus::State::strings | ::Integer | ::Float
|
|
1173
|
+
attr_reader state_const(): ::Integer
|
|
1174
|
+
def clear_state: () -> void
|
|
1175
|
+
|
|
1176
|
+
# The id of the async operation that is making changes to where the namespace is available, if any.
|
|
1177
|
+
attr_reader async_operation_id(): ::String
|
|
1178
|
+
attr_writer async_operation_id(): ::String | ::Symbol
|
|
1179
|
+
def clear_async_operation_id: () -> void
|
|
1180
|
+
|
|
1181
|
+
type init_map = {
|
|
1182
|
+
state_deprecated: (::String | ::Symbol)?,
|
|
1183
|
+
"state_deprecated" => (::String | ::Symbol)?,
|
|
1184
|
+
state: (::Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus::State::names | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus::State::strings | ::Integer | ::Float)?,
|
|
1185
|
+
"state" => (::Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus::State::names | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus::State::strings | ::Integer | ::Float)?,
|
|
1186
|
+
async_operation_id: (::String | ::Symbol)?,
|
|
1187
|
+
"async_operation_id" => (::String | ::Symbol)?,
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
def initialize: (?init_map initial_value) -> void
|
|
1191
|
+
|
|
1192
|
+
def []:
|
|
1193
|
+
("state_deprecated" name) -> ::String
|
|
1194
|
+
| ("state" name) -> (::Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus::State::names | ::Integer)
|
|
1195
|
+
| ("async_operation_id" name) -> ::String
|
|
1196
|
+
|
|
1197
|
+
def []=:
|
|
1198
|
+
("state_deprecated" name, (::String | ::Symbol) value) -> void
|
|
1199
|
+
| ("state" name, (::Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus::State::names | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus::State::strings | ::Integer | ::Float) value) -> void
|
|
1200
|
+
| ("async_operation_id" name, (::String | ::Symbol) value) -> void
|
|
1201
|
+
end
|
|
1202
|
+
|
|
1203
|
+
class ExportSinkSpec < ::Google::Protobuf::AbstractMessage
|
|
1204
|
+
|
|
1205
|
+
# The unique name of the export sink, it can't be changed once set.
|
|
1206
|
+
attr_reader name(): ::String
|
|
1207
|
+
attr_writer name(): ::String | ::Symbol
|
|
1208
|
+
def clear_name: () -> void
|
|
1209
|
+
|
|
1210
|
+
# A flag indicating whether the export sink is enabled or not.
|
|
1211
|
+
attr_accessor enabled(): bool
|
|
1212
|
+
def clear_enabled: () -> void
|
|
1213
|
+
|
|
1214
|
+
# The S3 configuration details when destination_type is S3.
|
|
1215
|
+
attr_accessor s3(): ::Temporalio::Api::Cloud::Sink::V1::S3Spec?
|
|
1216
|
+
def has_s3?: () -> bool
|
|
1217
|
+
def clear_s3: () -> void
|
|
1218
|
+
|
|
1219
|
+
# This is a feature under development. We will allow GCS sink support for GCP Namespaces.
|
|
1220
|
+
# The GCS configuration details when destination_type is GCS.
|
|
1221
|
+
attr_accessor gcs(): ::Temporalio::Api::Cloud::Sink::V1::GCSSpec?
|
|
1222
|
+
def has_gcs?: () -> bool
|
|
1223
|
+
def clear_gcs: () -> void
|
|
1224
|
+
|
|
1225
|
+
type init_map = {
|
|
1226
|
+
name: (::String | ::Symbol)?,
|
|
1227
|
+
"name" => (::String | ::Symbol)?,
|
|
1228
|
+
enabled: bool?,
|
|
1229
|
+
"enabled" => bool?,
|
|
1230
|
+
s3: (::Temporalio::Api::Cloud::Sink::V1::S3Spec | ::Temporalio::Api::Cloud::Sink::V1::S3Spec::init_map)?,
|
|
1231
|
+
"s3" => (::Temporalio::Api::Cloud::Sink::V1::S3Spec | ::Temporalio::Api::Cloud::Sink::V1::S3Spec::init_map)?,
|
|
1232
|
+
gcs: (::Temporalio::Api::Cloud::Sink::V1::GCSSpec | ::Temporalio::Api::Cloud::Sink::V1::GCSSpec::init_map)?,
|
|
1233
|
+
"gcs" => (::Temporalio::Api::Cloud::Sink::V1::GCSSpec | ::Temporalio::Api::Cloud::Sink::V1::GCSSpec::init_map)?,
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
def initialize: (?init_map initial_value) -> void
|
|
1237
|
+
|
|
1238
|
+
def []:
|
|
1239
|
+
("name" name) -> ::String
|
|
1240
|
+
| ("enabled" name) -> bool
|
|
1241
|
+
| ("s3" name) -> ::Temporalio::Api::Cloud::Sink::V1::S3Spec?
|
|
1242
|
+
| ("gcs" name) -> ::Temporalio::Api::Cloud::Sink::V1::GCSSpec?
|
|
1243
|
+
|
|
1244
|
+
def []=:
|
|
1245
|
+
("name" name, (::String | ::Symbol) value) -> void
|
|
1246
|
+
| ("enabled" name, bool value) -> void
|
|
1247
|
+
| ("s3" name, ::Temporalio::Api::Cloud::Sink::V1::S3Spec? value) -> void
|
|
1248
|
+
| ("gcs" name, ::Temporalio::Api::Cloud::Sink::V1::GCSSpec? value) -> void
|
|
1249
|
+
end
|
|
1250
|
+
|
|
1251
|
+
class ExportSink < ::Google::Protobuf::AbstractMessage
|
|
1252
|
+
module Health
|
|
1253
|
+
|
|
1254
|
+
HEALTH_UNSPECIFIED: 0
|
|
1255
|
+
|
|
1256
|
+
HEALTH_OK: 1
|
|
1257
|
+
|
|
1258
|
+
HEALTH_ERROR_INTERNAL: 2
|
|
1259
|
+
|
|
1260
|
+
HEALTH_ERROR_USER_CONFIGURATION: 3
|
|
1261
|
+
|
|
1262
|
+
def self.lookup: (::Integer number) -> ::Symbol
|
|
1263
|
+
|
|
1264
|
+
|
|
1265
|
+
def self.resolve: (::Symbol name) -> ::Integer
|
|
1266
|
+
|
|
1267
|
+
|
|
1268
|
+
type names = :HEALTH_UNSPECIFIED | :HEALTH_OK | :HEALTH_ERROR_INTERNAL | :HEALTH_ERROR_USER_CONFIGURATION
|
|
1269
|
+
|
|
1270
|
+
type strings = "HEALTH_UNSPECIFIED" | "HEALTH_OK" | "HEALTH_ERROR_INTERNAL" | "HEALTH_ERROR_USER_CONFIGURATION"
|
|
1271
|
+
|
|
1272
|
+
type numbers = 0 | 1 | 2 | 3
|
|
1273
|
+
end
|
|
1274
|
+
|
|
1275
|
+
# The unique name of the export sink, once set it can't be changed
|
|
1276
|
+
attr_reader name(): ::String
|
|
1277
|
+
attr_writer name(): ::String | ::Symbol
|
|
1278
|
+
def clear_name: () -> void
|
|
1279
|
+
|
|
1280
|
+
# The version of the export sink resource.
|
|
1281
|
+
attr_reader resource_version(): ::String
|
|
1282
|
+
attr_writer resource_version(): ::String | ::Symbol
|
|
1283
|
+
def clear_resource_version: () -> void
|
|
1284
|
+
|
|
1285
|
+
# The current state of the export sink.
|
|
1286
|
+
attr_reader state(): ::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Integer
|
|
1287
|
+
attr_writer state(): ::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float
|
|
1288
|
+
attr_reader state_const(): ::Integer
|
|
1289
|
+
def clear_state: () -> void
|
|
1290
|
+
|
|
1291
|
+
# The specification details of the export sink.
|
|
1292
|
+
attr_accessor spec(): ::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec?
|
|
1293
|
+
def has_spec?: () -> bool
|
|
1294
|
+
def clear_spec: () -> void
|
|
1295
|
+
|
|
1296
|
+
# The health status of the export sink.
|
|
1297
|
+
attr_reader health(): ::Temporalio::Api::Cloud::Namespace::V1::ExportSink::Health::names | ::Integer
|
|
1298
|
+
attr_writer health(): ::Temporalio::Api::Cloud::Namespace::V1::ExportSink::Health::names | ::Temporalio::Api::Cloud::Namespace::V1::ExportSink::Health::strings | ::Integer | ::Float
|
|
1299
|
+
attr_reader health_const(): ::Integer
|
|
1300
|
+
def clear_health: () -> void
|
|
1301
|
+
|
|
1302
|
+
# An error message describing any issues with the export sink, if applicable.
|
|
1303
|
+
attr_reader error_message(): ::String
|
|
1304
|
+
attr_writer error_message(): ::String | ::Symbol
|
|
1305
|
+
def clear_error_message: () -> void
|
|
1306
|
+
|
|
1307
|
+
# The timestamp of the latest successful data export.
|
|
1308
|
+
attr_reader latest_data_export_time(): ::Google::Protobuf::Timestamp?
|
|
1309
|
+
attr_writer latest_data_export_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
1310
|
+
def has_latest_data_export_time?: () -> bool
|
|
1311
|
+
def clear_latest_data_export_time: () -> void
|
|
1312
|
+
|
|
1313
|
+
# The timestamp of the last health check performed on the export sink.
|
|
1314
|
+
attr_reader last_health_check_time(): ::Google::Protobuf::Timestamp?
|
|
1315
|
+
attr_writer last_health_check_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
1316
|
+
def has_last_health_check_time?: () -> bool
|
|
1317
|
+
def clear_last_health_check_time: () -> void
|
|
1318
|
+
|
|
1319
|
+
type init_map = {
|
|
1320
|
+
name: (::String | ::Symbol)?,
|
|
1321
|
+
"name" => (::String | ::Symbol)?,
|
|
1322
|
+
resource_version: (::String | ::Symbol)?,
|
|
1323
|
+
"resource_version" => (::String | ::Symbol)?,
|
|
1324
|
+
state: (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float)?,
|
|
1325
|
+
"state" => (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float)?,
|
|
1326
|
+
spec: (::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec | ::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec::init_map)?,
|
|
1327
|
+
"spec" => (::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec | ::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec::init_map)?,
|
|
1328
|
+
health: (::Temporalio::Api::Cloud::Namespace::V1::ExportSink::Health::names | ::Temporalio::Api::Cloud::Namespace::V1::ExportSink::Health::strings | ::Integer | ::Float)?,
|
|
1329
|
+
"health" => (::Temporalio::Api::Cloud::Namespace::V1::ExportSink::Health::names | ::Temporalio::Api::Cloud::Namespace::V1::ExportSink::Health::strings | ::Integer | ::Float)?,
|
|
1330
|
+
error_message: (::String | ::Symbol)?,
|
|
1331
|
+
"error_message" => (::String | ::Symbol)?,
|
|
1332
|
+
latest_data_export_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
1333
|
+
"latest_data_export_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
1334
|
+
last_health_check_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
1335
|
+
"last_health_check_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
def initialize: (?init_map initial_value) -> void
|
|
1339
|
+
|
|
1340
|
+
def []:
|
|
1341
|
+
("name" name) -> ::String
|
|
1342
|
+
| ("resource_version" name) -> ::String
|
|
1343
|
+
| ("state" name) -> (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Integer)
|
|
1344
|
+
| ("spec" name) -> ::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec?
|
|
1345
|
+
| ("health" name) -> (::Temporalio::Api::Cloud::Namespace::V1::ExportSink::Health::names | ::Integer)
|
|
1346
|
+
| ("error_message" name) -> ::String
|
|
1347
|
+
| ("latest_data_export_time" name) -> ::Google::Protobuf::Timestamp?
|
|
1348
|
+
| ("last_health_check_time" name) -> ::Google::Protobuf::Timestamp?
|
|
1349
|
+
|
|
1350
|
+
def []=:
|
|
1351
|
+
("name" name, (::String | ::Symbol) value) -> void
|
|
1352
|
+
| ("resource_version" name, (::String | ::Symbol) value) -> void
|
|
1353
|
+
| ("state" name, (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float) value) -> void
|
|
1354
|
+
| ("spec" name, ::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec? value) -> void
|
|
1355
|
+
| ("health" name, (::Temporalio::Api::Cloud::Namespace::V1::ExportSink::Health::names | ::Temporalio::Api::Cloud::Namespace::V1::ExportSink::Health::strings | ::Integer | ::Float) value) -> void
|
|
1356
|
+
| ("error_message" name, (::String | ::Symbol) value) -> void
|
|
1357
|
+
| ("latest_data_export_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
1358
|
+
| ("last_health_check_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
1359
|
+
end
|
|
1360
|
+
|
|
1361
|
+
# NamespaceCapacityInfo contains detailed capacity information for a namespace.
|
|
1362
|
+
class NamespaceCapacityInfo < ::Google::Protobuf::AbstractMessage
|
|
1363
|
+
class CapacityModeOptions < ::Google::Protobuf::AbstractMessage
|
|
1364
|
+
class Provisioned < ::Google::Protobuf::AbstractMessage
|
|
1365
|
+
|
|
1366
|
+
# The valid TRU (Temporal Resource Unit) values that can be set.
|
|
1367
|
+
# These are the discrete capacity tiers available for selection.
|
|
1368
|
+
attr_accessor valid_tru_values(): ::Google::Protobuf::RepeatedField
|
|
1369
|
+
def clear_valid_tru_values: () -> void
|
|
1370
|
+
|
|
1371
|
+
# The maximum TRU value that can currently be set for this namespace.
|
|
1372
|
+
# This may be lower than the highest value in valid_tru_values due to
|
|
1373
|
+
# inventory constraints.
|
|
1374
|
+
attr_reader max_available_tru_value(): ::Float
|
|
1375
|
+
attr_writer max_available_tru_value(): ::Float | ::Integer
|
|
1376
|
+
def clear_max_available_tru_value: () -> void
|
|
1377
|
+
|
|
1378
|
+
type init_map = {
|
|
1379
|
+
valid_tru_values: ::Array[::Float | ::Integer]?,
|
|
1380
|
+
"valid_tru_values" => ::Array[::Float | ::Integer]?,
|
|
1381
|
+
max_available_tru_value: (::Float | ::Integer)?,
|
|
1382
|
+
"max_available_tru_value" => (::Float | ::Integer)?,
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
def initialize: (?init_map initial_value) -> void
|
|
1386
|
+
|
|
1387
|
+
def []:
|
|
1388
|
+
("valid_tru_values" name) -> (::Google::Protobuf::RepeatedField)
|
|
1389
|
+
| ("max_available_tru_value" name) -> ::Float
|
|
1390
|
+
|
|
1391
|
+
def []=:
|
|
1392
|
+
("valid_tru_values" name, (::Google::Protobuf::RepeatedField) value) -> void
|
|
1393
|
+
| ("max_available_tru_value" name, (::Float | ::Integer) value) -> void
|
|
1394
|
+
end
|
|
1395
|
+
|
|
1396
|
+
class OnDemand < ::Google::Protobuf::AbstractMessage
|
|
1397
|
+
|
|
1398
|
+
# The APS limit that would apply to this namespace in on-demand mode.
|
|
1399
|
+
# See: https://docs.temporal.io/cloud/limits#actions-per-second
|
|
1400
|
+
attr_reader aps_limit(): ::Float
|
|
1401
|
+
attr_writer aps_limit(): ::Float | ::Integer
|
|
1402
|
+
def clear_aps_limit: () -> void
|
|
1403
|
+
|
|
1404
|
+
type init_map = {
|
|
1405
|
+
aps_limit: (::Float | ::Integer)?,
|
|
1406
|
+
"aps_limit" => (::Float | ::Integer)?,
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
def initialize: (?init_map initial_value) -> void
|
|
1410
|
+
|
|
1411
|
+
def []:
|
|
1412
|
+
("aps_limit" name) -> ::Float
|
|
1413
|
+
|
|
1414
|
+
def []=:
|
|
1415
|
+
("aps_limit" name, (::Float | ::Integer) value) -> void
|
|
1416
|
+
end
|
|
1417
|
+
|
|
1418
|
+
# Provisioned capacity options and entitlements.
|
|
1419
|
+
attr_accessor provisioned(): ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::Provisioned?
|
|
1420
|
+
def has_provisioned?: () -> bool
|
|
1421
|
+
def clear_provisioned: () -> void
|
|
1422
|
+
|
|
1423
|
+
# On-Demand capacity information.
|
|
1424
|
+
attr_accessor on_demand(): ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::OnDemand?
|
|
1425
|
+
def has_on_demand?: () -> bool
|
|
1426
|
+
def clear_on_demand: () -> void
|
|
1427
|
+
|
|
1428
|
+
type init_map = {
|
|
1429
|
+
provisioned: (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::Provisioned | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::Provisioned::init_map)?,
|
|
1430
|
+
"provisioned" => (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::Provisioned | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::Provisioned::init_map)?,
|
|
1431
|
+
on_demand: (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::OnDemand | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::OnDemand::init_map)?,
|
|
1432
|
+
"on_demand" => (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::OnDemand | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::OnDemand::init_map)?,
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
def initialize: (?init_map initial_value) -> void
|
|
1436
|
+
|
|
1437
|
+
def []:
|
|
1438
|
+
("provisioned" name) -> ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::Provisioned?
|
|
1439
|
+
| ("on_demand" name) -> ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::OnDemand?
|
|
1440
|
+
|
|
1441
|
+
def []=:
|
|
1442
|
+
("provisioned" name, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::Provisioned? value) -> void
|
|
1443
|
+
| ("on_demand" name, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::OnDemand? value) -> void
|
|
1444
|
+
end
|
|
1445
|
+
|
|
1446
|
+
class Stats < ::Google::Protobuf::AbstractMessage
|
|
1447
|
+
class Summary < ::Google::Protobuf::AbstractMessage
|
|
1448
|
+
|
|
1449
|
+
attr_reader mean(): ::Float
|
|
1450
|
+
attr_writer mean(): ::Float | ::Integer
|
|
1451
|
+
def clear_mean: () -> void
|
|
1452
|
+
|
|
1453
|
+
attr_reader p90(): ::Float
|
|
1454
|
+
attr_writer p90(): ::Float | ::Integer
|
|
1455
|
+
def clear_p90: () -> void
|
|
1456
|
+
|
|
1457
|
+
attr_reader p99(): ::Float
|
|
1458
|
+
attr_writer p99(): ::Float | ::Integer
|
|
1459
|
+
def clear_p99: () -> void
|
|
1460
|
+
|
|
1461
|
+
type init_map = {
|
|
1462
|
+
mean: (::Float | ::Integer)?,
|
|
1463
|
+
"mean" => (::Float | ::Integer)?,
|
|
1464
|
+
p90: (::Float | ::Integer)?,
|
|
1465
|
+
"p90" => (::Float | ::Integer)?,
|
|
1466
|
+
p99: (::Float | ::Integer)?,
|
|
1467
|
+
"p99" => (::Float | ::Integer)?,
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
def initialize: (?init_map initial_value) -> void
|
|
1471
|
+
|
|
1472
|
+
def []:
|
|
1473
|
+
("mean" name) -> ::Float
|
|
1474
|
+
| ("p90" name) -> ::Float
|
|
1475
|
+
| ("p99" name) -> ::Float
|
|
1476
|
+
|
|
1477
|
+
def []=:
|
|
1478
|
+
("mean" name, (::Float | ::Integer) value) -> void
|
|
1479
|
+
| ("p90" name, (::Float | ::Integer) value) -> void
|
|
1480
|
+
| ("p99" name, (::Float | ::Integer) value) -> void
|
|
1481
|
+
end
|
|
1482
|
+
|
|
1483
|
+
# Actions-per-second measurements summarized over the last 7 days.
|
|
1484
|
+
attr_accessor aps(): ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::Summary?
|
|
1485
|
+
def has_aps?: () -> bool
|
|
1486
|
+
def clear_aps: () -> void
|
|
1487
|
+
|
|
1488
|
+
type init_map = {
|
|
1489
|
+
aps: (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::Summary | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::Summary::init_map)?,
|
|
1490
|
+
"aps" => (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::Summary | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::Summary::init_map)?,
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
def initialize: (?init_map initial_value) -> void
|
|
1494
|
+
|
|
1495
|
+
def []:
|
|
1496
|
+
("aps" name) -> ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::Summary?
|
|
1497
|
+
|
|
1498
|
+
def []=:
|
|
1499
|
+
("aps" name, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::Summary? value) -> void
|
|
1500
|
+
end
|
|
1501
|
+
|
|
1502
|
+
# The namespace identifier.
|
|
1503
|
+
attr_reader namespace(): ::String
|
|
1504
|
+
attr_writer namespace(): ::String | ::Symbol
|
|
1505
|
+
def clear_namespace: () -> void
|
|
1506
|
+
|
|
1507
|
+
# Whether the namespace's APS limit was set by Temporal Support.
|
|
1508
|
+
# When true, adjusting the namespace's capacity will reset this limit.
|
|
1509
|
+
attr_accessor has_legacy_limits(): bool
|
|
1510
|
+
def clear_has_legacy_limits: () -> void
|
|
1511
|
+
|
|
1512
|
+
# The current capacity of the namespace.
|
|
1513
|
+
# Includes the current mode (on-demand or provisioned) and latest request status.
|
|
1514
|
+
attr_accessor current_capacity(): ::Temporalio::Api::Cloud::Namespace::V1::Capacity?
|
|
1515
|
+
def has_current_capacity?: () -> bool
|
|
1516
|
+
def clear_current_capacity: () -> void
|
|
1517
|
+
|
|
1518
|
+
# Available capacity mode options for this namespace.
|
|
1519
|
+
# Contains configuration limits for both provisioned and on-demand modes.
|
|
1520
|
+
attr_accessor mode_options(): ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions?
|
|
1521
|
+
def has_mode_options?: () -> bool
|
|
1522
|
+
def clear_mode_options: () -> void
|
|
1523
|
+
|
|
1524
|
+
# Usage statistics for the namespace over the last 7 days.
|
|
1525
|
+
# Used to calculate On-Demand capacity limits, also useful for capacity planning.
|
|
1526
|
+
attr_accessor stats(): ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats?
|
|
1527
|
+
def has_stats?: () -> bool
|
|
1528
|
+
def clear_stats: () -> void
|
|
1529
|
+
|
|
1530
|
+
type init_map = {
|
|
1531
|
+
namespace: (::String | ::Symbol)?,
|
|
1532
|
+
"namespace" => (::String | ::Symbol)?,
|
|
1533
|
+
has_legacy_limits: bool?,
|
|
1534
|
+
"has_legacy_limits" => bool?,
|
|
1535
|
+
current_capacity: (::Temporalio::Api::Cloud::Namespace::V1::Capacity | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::init_map)?,
|
|
1536
|
+
"current_capacity" => (::Temporalio::Api::Cloud::Namespace::V1::Capacity | ::Temporalio::Api::Cloud::Namespace::V1::Capacity::init_map)?,
|
|
1537
|
+
mode_options: (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::init_map)?,
|
|
1538
|
+
"mode_options" => (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::init_map)?,
|
|
1539
|
+
stats: (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::init_map)?,
|
|
1540
|
+
"stats" => (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::init_map)?,
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
def initialize: (?init_map initial_value) -> void
|
|
1544
|
+
|
|
1545
|
+
def []:
|
|
1546
|
+
("namespace" name) -> ::String
|
|
1547
|
+
| ("has_legacy_limits" name) -> bool
|
|
1548
|
+
| ("current_capacity" name) -> ::Temporalio::Api::Cloud::Namespace::V1::Capacity?
|
|
1549
|
+
| ("mode_options" name) -> ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions?
|
|
1550
|
+
| ("stats" name) -> ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats?
|
|
1551
|
+
|
|
1552
|
+
def []=:
|
|
1553
|
+
("namespace" name, (::String | ::Symbol) value) -> void
|
|
1554
|
+
| ("has_legacy_limits" name, bool value) -> void
|
|
1555
|
+
| ("current_capacity" name, ::Temporalio::Api::Cloud::Namespace::V1::Capacity? value) -> void
|
|
1556
|
+
| ("mode_options" name, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions? value) -> void
|
|
1557
|
+
| ("stats" name, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats? value) -> void
|
|
1558
|
+
end
|
|
1559
|
+
end
|
|
1560
|
+
end
|
|
1561
|
+
end
|
|
1562
|
+
end
|
|
1563
|
+
end
|
|
1564
|
+
|
|
1565
|
+
module Google
|
|
1566
|
+
module Protobuf
|
|
1567
|
+
class DescriptorPool
|
|
1568
|
+
def lookup: (::String name) -> ::Google::Protobuf::Descriptor
|
|
1569
|
+
end
|
|
1570
|
+
end
|
|
1571
|
+
end
|