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,3659 @@
|
|
|
1
|
+
# Code generated by protoc-gen-rbi. DO NOT EDIT.
|
|
2
|
+
# source: temporal/api/cloud/namespace/v1/message.proto
|
|
3
|
+
# typed: strict
|
|
4
|
+
|
|
5
|
+
class Temporalio::Api::Cloud::Namespace::V1::CertificateFilterSpec
|
|
6
|
+
include ::Google::Protobuf::MessageExts
|
|
7
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
8
|
+
|
|
9
|
+
sig do
|
|
10
|
+
params(
|
|
11
|
+
common_name: T.nilable(String),
|
|
12
|
+
organization: T.nilable(String),
|
|
13
|
+
organizational_unit: T.nilable(String),
|
|
14
|
+
subject_alternative_name: T.nilable(String)
|
|
15
|
+
).void
|
|
16
|
+
end
|
|
17
|
+
def initialize(
|
|
18
|
+
common_name: "",
|
|
19
|
+
organization: "",
|
|
20
|
+
organizational_unit: "",
|
|
21
|
+
subject_alternative_name: ""
|
|
22
|
+
)
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
# The common_name in the certificate.
|
|
26
|
+
# Optional, default is empty.
|
|
27
|
+
sig { returns(String) }
|
|
28
|
+
def common_name
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# The common_name in the certificate.
|
|
32
|
+
# Optional, default is empty.
|
|
33
|
+
sig { params(value: String).void }
|
|
34
|
+
def common_name=(value)
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# The common_name in the certificate.
|
|
38
|
+
# Optional, default is empty.
|
|
39
|
+
sig { void }
|
|
40
|
+
def clear_common_name
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# The organization in the certificate.
|
|
44
|
+
# Optional, default is empty.
|
|
45
|
+
sig { returns(String) }
|
|
46
|
+
def organization
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# The organization in the certificate.
|
|
50
|
+
# Optional, default is empty.
|
|
51
|
+
sig { params(value: String).void }
|
|
52
|
+
def organization=(value)
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# The organization in the certificate.
|
|
56
|
+
# Optional, default is empty.
|
|
57
|
+
sig { void }
|
|
58
|
+
def clear_organization
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# The organizational_unit in the certificate.
|
|
62
|
+
# Optional, default is empty.
|
|
63
|
+
sig { returns(String) }
|
|
64
|
+
def organizational_unit
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
# The organizational_unit in the certificate.
|
|
68
|
+
# Optional, default is empty.
|
|
69
|
+
sig { params(value: String).void }
|
|
70
|
+
def organizational_unit=(value)
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# The organizational_unit in the certificate.
|
|
74
|
+
# Optional, default is empty.
|
|
75
|
+
sig { void }
|
|
76
|
+
def clear_organizational_unit
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# The subject_alternative_name in the certificate.
|
|
80
|
+
# Optional, default is empty.
|
|
81
|
+
sig { returns(String) }
|
|
82
|
+
def subject_alternative_name
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# The subject_alternative_name in the certificate.
|
|
86
|
+
# Optional, default is empty.
|
|
87
|
+
sig { params(value: String).void }
|
|
88
|
+
def subject_alternative_name=(value)
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
# The subject_alternative_name in the certificate.
|
|
92
|
+
# Optional, default is empty.
|
|
93
|
+
sig { void }
|
|
94
|
+
def clear_subject_alternative_name
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
sig { params(field: String).returns(T.untyped) }
|
|
98
|
+
def [](field)
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
sig { params(field: String, value: T.untyped).void }
|
|
102
|
+
def []=(field, value)
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
106
|
+
def to_h
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::CertificateFilterSpec) }
|
|
110
|
+
def self.decode(str)
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::CertificateFilterSpec).returns(String) }
|
|
114
|
+
def self.encode(msg)
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::CertificateFilterSpec) }
|
|
118
|
+
def self.decode_json(str, **kw)
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::CertificateFilterSpec, kw: T.untyped).returns(String) }
|
|
122
|
+
def self.encode_json(msg, **kw)
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
126
|
+
def self.descriptor
|
|
127
|
+
end
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
class Temporalio::Api::Cloud::Namespace::V1::MtlsAuthSpec
|
|
131
|
+
include ::Google::Protobuf::MessageExts
|
|
132
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
133
|
+
|
|
134
|
+
sig do
|
|
135
|
+
params(
|
|
136
|
+
accepted_client_ca_deprecated: T.nilable(String),
|
|
137
|
+
accepted_client_ca: T.nilable(String),
|
|
138
|
+
certificate_filters: T.nilable(T::Array[T.nilable(Temporalio::Api::Cloud::Namespace::V1::CertificateFilterSpec)]),
|
|
139
|
+
enabled: T.nilable(T::Boolean)
|
|
140
|
+
).void
|
|
141
|
+
end
|
|
142
|
+
def initialize(
|
|
143
|
+
accepted_client_ca_deprecated: "",
|
|
144
|
+
accepted_client_ca: "",
|
|
145
|
+
certificate_filters: [],
|
|
146
|
+
enabled: false
|
|
147
|
+
)
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
# The base64 encoded ca cert(s) in PEM format that the clients can use for authentication and authorization.
|
|
151
|
+
# This must only be one value, but the CA can have a chain.
|
|
152
|
+
#
|
|
153
|
+
# (-- api-linter: core::0140::base64=disabled --)
|
|
154
|
+
# Deprecated: Not supported after v0.2.0 api version. Use accepted_client_ca instead.
|
|
155
|
+
# temporal:versioning:max_version=v0.2.0
|
|
156
|
+
sig { returns(String) }
|
|
157
|
+
def accepted_client_ca_deprecated
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
# The base64 encoded ca cert(s) in PEM format that the clients can use for authentication and authorization.
|
|
161
|
+
# This must only be one value, but the CA can have a chain.
|
|
162
|
+
#
|
|
163
|
+
# (-- api-linter: core::0140::base64=disabled --)
|
|
164
|
+
# Deprecated: Not supported after v0.2.0 api version. Use accepted_client_ca instead.
|
|
165
|
+
# temporal:versioning:max_version=v0.2.0
|
|
166
|
+
sig { params(value: String).void }
|
|
167
|
+
def accepted_client_ca_deprecated=(value)
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
# The base64 encoded ca cert(s) in PEM format that the clients can use for authentication and authorization.
|
|
171
|
+
# This must only be one value, but the CA can have a chain.
|
|
172
|
+
#
|
|
173
|
+
# (-- api-linter: core::0140::base64=disabled --)
|
|
174
|
+
# Deprecated: Not supported after v0.2.0 api version. Use accepted_client_ca instead.
|
|
175
|
+
# temporal:versioning:max_version=v0.2.0
|
|
176
|
+
sig { void }
|
|
177
|
+
def clear_accepted_client_ca_deprecated
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
# The ca cert(s) in PEM format that the clients can use for authentication and authorization.
|
|
181
|
+
# This must only be one value, but the CA can have a chain.
|
|
182
|
+
# temporal:versioning:min_version=v0.2.0
|
|
183
|
+
sig { returns(String) }
|
|
184
|
+
def accepted_client_ca
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
# The ca cert(s) in PEM format that the clients can use for authentication and authorization.
|
|
188
|
+
# This must only be one value, but the CA can have a chain.
|
|
189
|
+
# temporal:versioning:min_version=v0.2.0
|
|
190
|
+
sig { params(value: String).void }
|
|
191
|
+
def accepted_client_ca=(value)
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
# The ca cert(s) in PEM format that the clients can use for authentication and authorization.
|
|
195
|
+
# This must only be one value, but the CA can have a chain.
|
|
196
|
+
# temporal:versioning:min_version=v0.2.0
|
|
197
|
+
sig { void }
|
|
198
|
+
def clear_accepted_client_ca
|
|
199
|
+
end
|
|
200
|
+
|
|
201
|
+
# Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.
|
|
202
|
+
# This allows limiting access to specific end-entity certificates.
|
|
203
|
+
# Optional, default is empty.
|
|
204
|
+
sig { returns(T::Array[T.nilable(Temporalio::Api::Cloud::Namespace::V1::CertificateFilterSpec)]) }
|
|
205
|
+
def certificate_filters
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
# Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.
|
|
209
|
+
# This allows limiting access to specific end-entity certificates.
|
|
210
|
+
# Optional, default is empty.
|
|
211
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
|
212
|
+
def certificate_filters=(value)
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
# Certificate filters which, if specified, only allow connections from client certificates whose distinguished name properties match at least one of the filters.
|
|
216
|
+
# This allows limiting access to specific end-entity certificates.
|
|
217
|
+
# Optional, default is empty.
|
|
218
|
+
sig { void }
|
|
219
|
+
def clear_certificate_filters
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
# Flag to enable mTLS auth (default: disabled).
|
|
223
|
+
# Note: disabling mTLS auth will cause existing mTLS connections to fail.
|
|
224
|
+
# temporal:versioning:min_version=v0.2.0
|
|
225
|
+
sig { returns(T::Boolean) }
|
|
226
|
+
def enabled
|
|
227
|
+
end
|
|
228
|
+
|
|
229
|
+
# Flag to enable mTLS auth (default: disabled).
|
|
230
|
+
# Note: disabling mTLS auth will cause existing mTLS connections to fail.
|
|
231
|
+
# temporal:versioning:min_version=v0.2.0
|
|
232
|
+
sig { params(value: T::Boolean).void }
|
|
233
|
+
def enabled=(value)
|
|
234
|
+
end
|
|
235
|
+
|
|
236
|
+
# Flag to enable mTLS auth (default: disabled).
|
|
237
|
+
# Note: disabling mTLS auth will cause existing mTLS connections to fail.
|
|
238
|
+
# temporal:versioning:min_version=v0.2.0
|
|
239
|
+
sig { void }
|
|
240
|
+
def clear_enabled
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
sig { params(field: String).returns(T.untyped) }
|
|
244
|
+
def [](field)
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
sig { params(field: String, value: T.untyped).void }
|
|
248
|
+
def []=(field, value)
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
252
|
+
def to_h
|
|
253
|
+
end
|
|
254
|
+
|
|
255
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::MtlsAuthSpec) }
|
|
256
|
+
def self.decode(str)
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::MtlsAuthSpec).returns(String) }
|
|
260
|
+
def self.encode(msg)
|
|
261
|
+
end
|
|
262
|
+
|
|
263
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::MtlsAuthSpec) }
|
|
264
|
+
def self.decode_json(str, **kw)
|
|
265
|
+
end
|
|
266
|
+
|
|
267
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::MtlsAuthSpec, kw: T.untyped).returns(String) }
|
|
268
|
+
def self.encode_json(msg, **kw)
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
272
|
+
def self.descriptor
|
|
273
|
+
end
|
|
274
|
+
end
|
|
275
|
+
|
|
276
|
+
class Temporalio::Api::Cloud::Namespace::V1::ApiKeyAuthSpec
|
|
277
|
+
include ::Google::Protobuf::MessageExts
|
|
278
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
279
|
+
|
|
280
|
+
sig do
|
|
281
|
+
params(
|
|
282
|
+
enabled: T.nilable(T::Boolean)
|
|
283
|
+
).void
|
|
284
|
+
end
|
|
285
|
+
def initialize(
|
|
286
|
+
enabled: false
|
|
287
|
+
)
|
|
288
|
+
end
|
|
289
|
+
|
|
290
|
+
# Flag to enable API key auth (default: disabled).
|
|
291
|
+
# Note: disabling API key auth will cause existing API key connections to fail.
|
|
292
|
+
sig { returns(T::Boolean) }
|
|
293
|
+
def enabled
|
|
294
|
+
end
|
|
295
|
+
|
|
296
|
+
# Flag to enable API key auth (default: disabled).
|
|
297
|
+
# Note: disabling API key auth will cause existing API key connections to fail.
|
|
298
|
+
sig { params(value: T::Boolean).void }
|
|
299
|
+
def enabled=(value)
|
|
300
|
+
end
|
|
301
|
+
|
|
302
|
+
# Flag to enable API key auth (default: disabled).
|
|
303
|
+
# Note: disabling API key auth will cause existing API key connections to fail.
|
|
304
|
+
sig { void }
|
|
305
|
+
def clear_enabled
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
sig { params(field: String).returns(T.untyped) }
|
|
309
|
+
def [](field)
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
sig { params(field: String, value: T.untyped).void }
|
|
313
|
+
def []=(field, value)
|
|
314
|
+
end
|
|
315
|
+
|
|
316
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
317
|
+
def to_h
|
|
318
|
+
end
|
|
319
|
+
|
|
320
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::ApiKeyAuthSpec) }
|
|
321
|
+
def self.decode(str)
|
|
322
|
+
end
|
|
323
|
+
|
|
324
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::ApiKeyAuthSpec).returns(String) }
|
|
325
|
+
def self.encode(msg)
|
|
326
|
+
end
|
|
327
|
+
|
|
328
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::ApiKeyAuthSpec) }
|
|
329
|
+
def self.decode_json(str, **kw)
|
|
330
|
+
end
|
|
331
|
+
|
|
332
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::ApiKeyAuthSpec, kw: T.untyped).returns(String) }
|
|
333
|
+
def self.encode_json(msg, **kw)
|
|
334
|
+
end
|
|
335
|
+
|
|
336
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
337
|
+
def self.descriptor
|
|
338
|
+
end
|
|
339
|
+
end
|
|
340
|
+
|
|
341
|
+
class Temporalio::Api::Cloud::Namespace::V1::LifecycleSpec
|
|
342
|
+
include ::Google::Protobuf::MessageExts
|
|
343
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
344
|
+
|
|
345
|
+
sig do
|
|
346
|
+
params(
|
|
347
|
+
enable_delete_protection: T.nilable(T::Boolean)
|
|
348
|
+
).void
|
|
349
|
+
end
|
|
350
|
+
def initialize(
|
|
351
|
+
enable_delete_protection: false
|
|
352
|
+
)
|
|
353
|
+
end
|
|
354
|
+
|
|
355
|
+
# Flag to enable delete protection for the namespace.
|
|
356
|
+
sig { returns(T::Boolean) }
|
|
357
|
+
def enable_delete_protection
|
|
358
|
+
end
|
|
359
|
+
|
|
360
|
+
# Flag to enable delete protection for the namespace.
|
|
361
|
+
sig { params(value: T::Boolean).void }
|
|
362
|
+
def enable_delete_protection=(value)
|
|
363
|
+
end
|
|
364
|
+
|
|
365
|
+
# Flag to enable delete protection for the namespace.
|
|
366
|
+
sig { void }
|
|
367
|
+
def clear_enable_delete_protection
|
|
368
|
+
end
|
|
369
|
+
|
|
370
|
+
sig { params(field: String).returns(T.untyped) }
|
|
371
|
+
def [](field)
|
|
372
|
+
end
|
|
373
|
+
|
|
374
|
+
sig { params(field: String, value: T.untyped).void }
|
|
375
|
+
def []=(field, value)
|
|
376
|
+
end
|
|
377
|
+
|
|
378
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
379
|
+
def to_h
|
|
380
|
+
end
|
|
381
|
+
|
|
382
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::LifecycleSpec) }
|
|
383
|
+
def self.decode(str)
|
|
384
|
+
end
|
|
385
|
+
|
|
386
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::LifecycleSpec).returns(String) }
|
|
387
|
+
def self.encode(msg)
|
|
388
|
+
end
|
|
389
|
+
|
|
390
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::LifecycleSpec) }
|
|
391
|
+
def self.decode_json(str, **kw)
|
|
392
|
+
end
|
|
393
|
+
|
|
394
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::LifecycleSpec, kw: T.untyped).returns(String) }
|
|
395
|
+
def self.encode_json(msg, **kw)
|
|
396
|
+
end
|
|
397
|
+
|
|
398
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
399
|
+
def self.descriptor
|
|
400
|
+
end
|
|
401
|
+
end
|
|
402
|
+
|
|
403
|
+
class Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec
|
|
404
|
+
include ::Google::Protobuf::MessageExts
|
|
405
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
406
|
+
|
|
407
|
+
sig do
|
|
408
|
+
params(
|
|
409
|
+
endpoint: T.nilable(String),
|
|
410
|
+
pass_access_token: T.nilable(T::Boolean),
|
|
411
|
+
include_cross_origin_credentials: T.nilable(T::Boolean),
|
|
412
|
+
custom_error_message: T.nilable(Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage)
|
|
413
|
+
).void
|
|
414
|
+
end
|
|
415
|
+
def initialize(
|
|
416
|
+
endpoint: "",
|
|
417
|
+
pass_access_token: false,
|
|
418
|
+
include_cross_origin_credentials: false,
|
|
419
|
+
custom_error_message: nil
|
|
420
|
+
)
|
|
421
|
+
end
|
|
422
|
+
|
|
423
|
+
# The codec server endpoint.
|
|
424
|
+
sig { returns(String) }
|
|
425
|
+
def endpoint
|
|
426
|
+
end
|
|
427
|
+
|
|
428
|
+
# The codec server endpoint.
|
|
429
|
+
sig { params(value: String).void }
|
|
430
|
+
def endpoint=(value)
|
|
431
|
+
end
|
|
432
|
+
|
|
433
|
+
# The codec server endpoint.
|
|
434
|
+
sig { void }
|
|
435
|
+
def clear_endpoint
|
|
436
|
+
end
|
|
437
|
+
|
|
438
|
+
# Whether to pass the user access token with your endpoint.
|
|
439
|
+
sig { returns(T::Boolean) }
|
|
440
|
+
def pass_access_token
|
|
441
|
+
end
|
|
442
|
+
|
|
443
|
+
# Whether to pass the user access token with your endpoint.
|
|
444
|
+
sig { params(value: T::Boolean).void }
|
|
445
|
+
def pass_access_token=(value)
|
|
446
|
+
end
|
|
447
|
+
|
|
448
|
+
# Whether to pass the user access token with your endpoint.
|
|
449
|
+
sig { void }
|
|
450
|
+
def clear_pass_access_token
|
|
451
|
+
end
|
|
452
|
+
|
|
453
|
+
# Whether to include cross-origin credentials.
|
|
454
|
+
sig { returns(T::Boolean) }
|
|
455
|
+
def include_cross_origin_credentials
|
|
456
|
+
end
|
|
457
|
+
|
|
458
|
+
# Whether to include cross-origin credentials.
|
|
459
|
+
sig { params(value: T::Boolean).void }
|
|
460
|
+
def include_cross_origin_credentials=(value)
|
|
461
|
+
end
|
|
462
|
+
|
|
463
|
+
# Whether to include cross-origin credentials.
|
|
464
|
+
sig { void }
|
|
465
|
+
def clear_include_cross_origin_credentials
|
|
466
|
+
end
|
|
467
|
+
|
|
468
|
+
# A custom error message to display for remote codec server errors.
|
|
469
|
+
# temporal:versioning:min_version=v0.5.1
|
|
470
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage)) }
|
|
471
|
+
def custom_error_message
|
|
472
|
+
end
|
|
473
|
+
|
|
474
|
+
# A custom error message to display for remote codec server errors.
|
|
475
|
+
# temporal:versioning:min_version=v0.5.1
|
|
476
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage)).void }
|
|
477
|
+
def custom_error_message=(value)
|
|
478
|
+
end
|
|
479
|
+
|
|
480
|
+
# A custom error message to display for remote codec server errors.
|
|
481
|
+
# temporal:versioning:min_version=v0.5.1
|
|
482
|
+
sig { void }
|
|
483
|
+
def clear_custom_error_message
|
|
484
|
+
end
|
|
485
|
+
|
|
486
|
+
sig { params(field: String).returns(T.untyped) }
|
|
487
|
+
def [](field)
|
|
488
|
+
end
|
|
489
|
+
|
|
490
|
+
sig { params(field: String, value: T.untyped).void }
|
|
491
|
+
def []=(field, value)
|
|
492
|
+
end
|
|
493
|
+
|
|
494
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
495
|
+
def to_h
|
|
496
|
+
end
|
|
497
|
+
|
|
498
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec) }
|
|
499
|
+
def self.decode(str)
|
|
500
|
+
end
|
|
501
|
+
|
|
502
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec).returns(String) }
|
|
503
|
+
def self.encode(msg)
|
|
504
|
+
end
|
|
505
|
+
|
|
506
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec) }
|
|
507
|
+
def self.decode_json(str, **kw)
|
|
508
|
+
end
|
|
509
|
+
|
|
510
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec, kw: T.untyped).returns(String) }
|
|
511
|
+
def self.encode_json(msg, **kw)
|
|
512
|
+
end
|
|
513
|
+
|
|
514
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
515
|
+
def self.descriptor
|
|
516
|
+
end
|
|
517
|
+
end
|
|
518
|
+
|
|
519
|
+
class Temporalio::Api::Cloud::Namespace::V1::HighAvailabilitySpec
|
|
520
|
+
include ::Google::Protobuf::MessageExts
|
|
521
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
522
|
+
|
|
523
|
+
sig do
|
|
524
|
+
params(
|
|
525
|
+
disable_managed_failover: T.nilable(T::Boolean),
|
|
526
|
+
disable_passive_poller_forwarding: T.nilable(T::Boolean)
|
|
527
|
+
).void
|
|
528
|
+
end
|
|
529
|
+
def initialize(
|
|
530
|
+
disable_managed_failover: false,
|
|
531
|
+
disable_passive_poller_forwarding: false
|
|
532
|
+
)
|
|
533
|
+
end
|
|
534
|
+
|
|
535
|
+
# Flag to disable managed failover for the namespace.
|
|
536
|
+
sig { returns(T::Boolean) }
|
|
537
|
+
def disable_managed_failover
|
|
538
|
+
end
|
|
539
|
+
|
|
540
|
+
# Flag to disable managed failover for the namespace.
|
|
541
|
+
sig { params(value: T::Boolean).void }
|
|
542
|
+
def disable_managed_failover=(value)
|
|
543
|
+
end
|
|
544
|
+
|
|
545
|
+
# Flag to disable managed failover for the namespace.
|
|
546
|
+
sig { void }
|
|
547
|
+
def clear_disable_managed_failover
|
|
548
|
+
end
|
|
549
|
+
|
|
550
|
+
# Flag to disable passive poller forwarding for this namespace.
|
|
551
|
+
# temporal:versioning:min_version=v0.13.0
|
|
552
|
+
sig { returns(T::Boolean) }
|
|
553
|
+
def disable_passive_poller_forwarding
|
|
554
|
+
end
|
|
555
|
+
|
|
556
|
+
# Flag to disable passive poller forwarding for this namespace.
|
|
557
|
+
# temporal:versioning:min_version=v0.13.0
|
|
558
|
+
sig { params(value: T::Boolean).void }
|
|
559
|
+
def disable_passive_poller_forwarding=(value)
|
|
560
|
+
end
|
|
561
|
+
|
|
562
|
+
# Flag to disable passive poller forwarding for this namespace.
|
|
563
|
+
# temporal:versioning:min_version=v0.13.0
|
|
564
|
+
sig { void }
|
|
565
|
+
def clear_disable_passive_poller_forwarding
|
|
566
|
+
end
|
|
567
|
+
|
|
568
|
+
sig { params(field: String).returns(T.untyped) }
|
|
569
|
+
def [](field)
|
|
570
|
+
end
|
|
571
|
+
|
|
572
|
+
sig { params(field: String, value: T.untyped).void }
|
|
573
|
+
def []=(field, value)
|
|
574
|
+
end
|
|
575
|
+
|
|
576
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
577
|
+
def to_h
|
|
578
|
+
end
|
|
579
|
+
|
|
580
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::HighAvailabilitySpec) }
|
|
581
|
+
def self.decode(str)
|
|
582
|
+
end
|
|
583
|
+
|
|
584
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::HighAvailabilitySpec).returns(String) }
|
|
585
|
+
def self.encode(msg)
|
|
586
|
+
end
|
|
587
|
+
|
|
588
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::HighAvailabilitySpec) }
|
|
589
|
+
def self.decode_json(str, **kw)
|
|
590
|
+
end
|
|
591
|
+
|
|
592
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::HighAvailabilitySpec, kw: T.untyped).returns(String) }
|
|
593
|
+
def self.encode_json(msg, **kw)
|
|
594
|
+
end
|
|
595
|
+
|
|
596
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
597
|
+
def self.descriptor
|
|
598
|
+
end
|
|
599
|
+
end
|
|
600
|
+
|
|
601
|
+
# temporal:versioning:min_version=v0.13.0
|
|
602
|
+
class Temporalio::Api::Cloud::Namespace::V1::ReplicaSpec
|
|
603
|
+
include ::Google::Protobuf::MessageExts
|
|
604
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
605
|
+
|
|
606
|
+
sig do
|
|
607
|
+
params(
|
|
608
|
+
region: T.nilable(String)
|
|
609
|
+
).void
|
|
610
|
+
end
|
|
611
|
+
def initialize(
|
|
612
|
+
region: ""
|
|
613
|
+
)
|
|
614
|
+
end
|
|
615
|
+
|
|
616
|
+
# The id of the region where the replica should be placed.
|
|
617
|
+
# The GetRegions API can be used to get the list of valid region ids.
|
|
618
|
+
# All the replicas must adhere to the region's max_in_region_replicas limit and connectable_region_ids.
|
|
619
|
+
# Required. Immutable.
|
|
620
|
+
# Example: "aws-us-west-2".
|
|
621
|
+
sig { returns(String) }
|
|
622
|
+
def region
|
|
623
|
+
end
|
|
624
|
+
|
|
625
|
+
# The id of the region where the replica should be placed.
|
|
626
|
+
# The GetRegions API can be used to get the list of valid region ids.
|
|
627
|
+
# All the replicas must adhere to the region's max_in_region_replicas limit and connectable_region_ids.
|
|
628
|
+
# Required. Immutable.
|
|
629
|
+
# Example: "aws-us-west-2".
|
|
630
|
+
sig { params(value: String).void }
|
|
631
|
+
def region=(value)
|
|
632
|
+
end
|
|
633
|
+
|
|
634
|
+
# The id of the region where the replica should be placed.
|
|
635
|
+
# The GetRegions API can be used to get the list of valid region ids.
|
|
636
|
+
# All the replicas must adhere to the region's max_in_region_replicas limit and connectable_region_ids.
|
|
637
|
+
# Required. Immutable.
|
|
638
|
+
# Example: "aws-us-west-2".
|
|
639
|
+
sig { void }
|
|
640
|
+
def clear_region
|
|
641
|
+
end
|
|
642
|
+
|
|
643
|
+
sig { params(field: String).returns(T.untyped) }
|
|
644
|
+
def [](field)
|
|
645
|
+
end
|
|
646
|
+
|
|
647
|
+
sig { params(field: String, value: T.untyped).void }
|
|
648
|
+
def []=(field, value)
|
|
649
|
+
end
|
|
650
|
+
|
|
651
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
652
|
+
def to_h
|
|
653
|
+
end
|
|
654
|
+
|
|
655
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::ReplicaSpec) }
|
|
656
|
+
def self.decode(str)
|
|
657
|
+
end
|
|
658
|
+
|
|
659
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::ReplicaSpec).returns(String) }
|
|
660
|
+
def self.encode(msg)
|
|
661
|
+
end
|
|
662
|
+
|
|
663
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::ReplicaSpec) }
|
|
664
|
+
def self.decode_json(str, **kw)
|
|
665
|
+
end
|
|
666
|
+
|
|
667
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::ReplicaSpec, kw: T.untyped).returns(String) }
|
|
668
|
+
def self.encode_json(msg, **kw)
|
|
669
|
+
end
|
|
670
|
+
|
|
671
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
672
|
+
def self.descriptor
|
|
673
|
+
end
|
|
674
|
+
end
|
|
675
|
+
|
|
676
|
+
# temporal:versioning:min_version=v0.13.0
|
|
677
|
+
class Temporalio::Api::Cloud::Namespace::V1::Replica
|
|
678
|
+
include ::Google::Protobuf::MessageExts
|
|
679
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
680
|
+
|
|
681
|
+
sig do
|
|
682
|
+
params(
|
|
683
|
+
id: T.nilable(String),
|
|
684
|
+
is_primary: T.nilable(T::Boolean),
|
|
685
|
+
state: T.nilable(T.any(Symbol, String, Integer)),
|
|
686
|
+
region: T.nilable(String)
|
|
687
|
+
).void
|
|
688
|
+
end
|
|
689
|
+
def initialize(
|
|
690
|
+
id: "",
|
|
691
|
+
is_primary: false,
|
|
692
|
+
state: :REPLICA_STATE_UNSPECIFIED,
|
|
693
|
+
region: ""
|
|
694
|
+
)
|
|
695
|
+
end
|
|
696
|
+
|
|
697
|
+
# The id of the replica. This is generated by Temporal after a replica is created.
|
|
698
|
+
sig { returns(String) }
|
|
699
|
+
def id
|
|
700
|
+
end
|
|
701
|
+
|
|
702
|
+
# The id of the replica. This is generated by Temporal after a replica is created.
|
|
703
|
+
sig { params(value: String).void }
|
|
704
|
+
def id=(value)
|
|
705
|
+
end
|
|
706
|
+
|
|
707
|
+
# The id of the replica. This is generated by Temporal after a replica is created.
|
|
708
|
+
sig { void }
|
|
709
|
+
def clear_id
|
|
710
|
+
end
|
|
711
|
+
|
|
712
|
+
# Whether this replica is currently the primary one.
|
|
713
|
+
sig { returns(T::Boolean) }
|
|
714
|
+
def is_primary
|
|
715
|
+
end
|
|
716
|
+
|
|
717
|
+
# Whether this replica is currently the primary one.
|
|
718
|
+
sig { params(value: T::Boolean).void }
|
|
719
|
+
def is_primary=(value)
|
|
720
|
+
end
|
|
721
|
+
|
|
722
|
+
# Whether this replica is currently the primary one.
|
|
723
|
+
sig { void }
|
|
724
|
+
def clear_is_primary
|
|
725
|
+
end
|
|
726
|
+
|
|
727
|
+
# The current state of this replica.
|
|
728
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
729
|
+
def state
|
|
730
|
+
end
|
|
731
|
+
|
|
732
|
+
# The current state of this replica.
|
|
733
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
734
|
+
def state=(value)
|
|
735
|
+
end
|
|
736
|
+
|
|
737
|
+
# The current state of this replica.
|
|
738
|
+
sig { void }
|
|
739
|
+
def clear_state
|
|
740
|
+
end
|
|
741
|
+
|
|
742
|
+
# The cloud provider and region of this replica.
|
|
743
|
+
sig { returns(String) }
|
|
744
|
+
def region
|
|
745
|
+
end
|
|
746
|
+
|
|
747
|
+
# The cloud provider and region of this replica.
|
|
748
|
+
sig { params(value: String).void }
|
|
749
|
+
def region=(value)
|
|
750
|
+
end
|
|
751
|
+
|
|
752
|
+
# The cloud provider and region of this replica.
|
|
753
|
+
sig { void }
|
|
754
|
+
def clear_region
|
|
755
|
+
end
|
|
756
|
+
|
|
757
|
+
sig { params(field: String).returns(T.untyped) }
|
|
758
|
+
def [](field)
|
|
759
|
+
end
|
|
760
|
+
|
|
761
|
+
sig { params(field: String, value: T.untyped).void }
|
|
762
|
+
def []=(field, value)
|
|
763
|
+
end
|
|
764
|
+
|
|
765
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
766
|
+
def to_h
|
|
767
|
+
end
|
|
768
|
+
|
|
769
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::Replica) }
|
|
770
|
+
def self.decode(str)
|
|
771
|
+
end
|
|
772
|
+
|
|
773
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::Replica).returns(String) }
|
|
774
|
+
def self.encode(msg)
|
|
775
|
+
end
|
|
776
|
+
|
|
777
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::Replica) }
|
|
778
|
+
def self.decode_json(str, **kw)
|
|
779
|
+
end
|
|
780
|
+
|
|
781
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::Replica, kw: T.untyped).returns(String) }
|
|
782
|
+
def self.encode_json(msg, **kw)
|
|
783
|
+
end
|
|
784
|
+
|
|
785
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
786
|
+
def self.descriptor
|
|
787
|
+
end
|
|
788
|
+
end
|
|
789
|
+
|
|
790
|
+
# temporal:versioning:min_version=v0.10.0
|
|
791
|
+
class Temporalio::Api::Cloud::Namespace::V1::CapacitySpec
|
|
792
|
+
include ::Google::Protobuf::MessageExts
|
|
793
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
794
|
+
|
|
795
|
+
sig do
|
|
796
|
+
params(
|
|
797
|
+
on_demand: T.nilable(Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::OnDemand),
|
|
798
|
+
provisioned: T.nilable(Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::Provisioned)
|
|
799
|
+
).void
|
|
800
|
+
end
|
|
801
|
+
def initialize(
|
|
802
|
+
on_demand: nil,
|
|
803
|
+
provisioned: nil
|
|
804
|
+
)
|
|
805
|
+
end
|
|
806
|
+
|
|
807
|
+
# The on-demand capacity mode configuration.
|
|
808
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::OnDemand)) }
|
|
809
|
+
def on_demand
|
|
810
|
+
end
|
|
811
|
+
|
|
812
|
+
# The on-demand capacity mode configuration.
|
|
813
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::OnDemand)).void }
|
|
814
|
+
def on_demand=(value)
|
|
815
|
+
end
|
|
816
|
+
|
|
817
|
+
# The on-demand capacity mode configuration.
|
|
818
|
+
sig { void }
|
|
819
|
+
def clear_on_demand
|
|
820
|
+
end
|
|
821
|
+
|
|
822
|
+
# The provisioned capacity mode configuration.
|
|
823
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::Provisioned)) }
|
|
824
|
+
def provisioned
|
|
825
|
+
end
|
|
826
|
+
|
|
827
|
+
# The provisioned capacity mode configuration.
|
|
828
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::Provisioned)).void }
|
|
829
|
+
def provisioned=(value)
|
|
830
|
+
end
|
|
831
|
+
|
|
832
|
+
# The provisioned capacity mode configuration.
|
|
833
|
+
sig { void }
|
|
834
|
+
def clear_provisioned
|
|
835
|
+
end
|
|
836
|
+
|
|
837
|
+
sig { returns(T.nilable(Symbol)) }
|
|
838
|
+
def spec
|
|
839
|
+
end
|
|
840
|
+
|
|
841
|
+
sig { params(field: String).returns(T.untyped) }
|
|
842
|
+
def [](field)
|
|
843
|
+
end
|
|
844
|
+
|
|
845
|
+
sig { params(field: String, value: T.untyped).void }
|
|
846
|
+
def []=(field, value)
|
|
847
|
+
end
|
|
848
|
+
|
|
849
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
850
|
+
def to_h
|
|
851
|
+
end
|
|
852
|
+
|
|
853
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::CapacitySpec) }
|
|
854
|
+
def self.decode(str)
|
|
855
|
+
end
|
|
856
|
+
|
|
857
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::CapacitySpec).returns(String) }
|
|
858
|
+
def self.encode(msg)
|
|
859
|
+
end
|
|
860
|
+
|
|
861
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::CapacitySpec) }
|
|
862
|
+
def self.decode_json(str, **kw)
|
|
863
|
+
end
|
|
864
|
+
|
|
865
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::CapacitySpec, kw: T.untyped).returns(String) }
|
|
866
|
+
def self.encode_json(msg, **kw)
|
|
867
|
+
end
|
|
868
|
+
|
|
869
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
870
|
+
def self.descriptor
|
|
871
|
+
end
|
|
872
|
+
end
|
|
873
|
+
|
|
874
|
+
class Temporalio::Api::Cloud::Namespace::V1::Capacity
|
|
875
|
+
include ::Google::Protobuf::MessageExts
|
|
876
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
877
|
+
|
|
878
|
+
sig do
|
|
879
|
+
params(
|
|
880
|
+
on_demand: T.nilable(Temporalio::Api::Cloud::Namespace::V1::Capacity::OnDemand),
|
|
881
|
+
provisioned: T.nilable(Temporalio::Api::Cloud::Namespace::V1::Capacity::Provisioned),
|
|
882
|
+
latest_request: T.nilable(Temporalio::Api::Cloud::Namespace::V1::Capacity::Request)
|
|
883
|
+
).void
|
|
884
|
+
end
|
|
885
|
+
def initialize(
|
|
886
|
+
on_demand: nil,
|
|
887
|
+
provisioned: nil,
|
|
888
|
+
latest_request: nil
|
|
889
|
+
)
|
|
890
|
+
end
|
|
891
|
+
|
|
892
|
+
# The status of on-demand capacity mode.
|
|
893
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::Capacity::OnDemand)) }
|
|
894
|
+
def on_demand
|
|
895
|
+
end
|
|
896
|
+
|
|
897
|
+
# The status of on-demand capacity mode.
|
|
898
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::Capacity::OnDemand)).void }
|
|
899
|
+
def on_demand=(value)
|
|
900
|
+
end
|
|
901
|
+
|
|
902
|
+
# The status of on-demand capacity mode.
|
|
903
|
+
sig { void }
|
|
904
|
+
def clear_on_demand
|
|
905
|
+
end
|
|
906
|
+
|
|
907
|
+
# The status of provisioned capacity mode.
|
|
908
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::Capacity::Provisioned)) }
|
|
909
|
+
def provisioned
|
|
910
|
+
end
|
|
911
|
+
|
|
912
|
+
# The status of provisioned capacity mode.
|
|
913
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::Capacity::Provisioned)).void }
|
|
914
|
+
def provisioned=(value)
|
|
915
|
+
end
|
|
916
|
+
|
|
917
|
+
# The status of provisioned capacity mode.
|
|
918
|
+
sig { void }
|
|
919
|
+
def clear_provisioned
|
|
920
|
+
end
|
|
921
|
+
|
|
922
|
+
# The latest requested capacity for the namespace, if any.
|
|
923
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::Capacity::Request)) }
|
|
924
|
+
def latest_request
|
|
925
|
+
end
|
|
926
|
+
|
|
927
|
+
# The latest requested capacity for the namespace, if any.
|
|
928
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::Capacity::Request)).void }
|
|
929
|
+
def latest_request=(value)
|
|
930
|
+
end
|
|
931
|
+
|
|
932
|
+
# The latest requested capacity for the namespace, if any.
|
|
933
|
+
sig { void }
|
|
934
|
+
def clear_latest_request
|
|
935
|
+
end
|
|
936
|
+
|
|
937
|
+
sig { returns(T.nilable(Symbol)) }
|
|
938
|
+
def current_mode
|
|
939
|
+
end
|
|
940
|
+
|
|
941
|
+
sig { params(field: String).returns(T.untyped) }
|
|
942
|
+
def [](field)
|
|
943
|
+
end
|
|
944
|
+
|
|
945
|
+
sig { params(field: String, value: T.untyped).void }
|
|
946
|
+
def []=(field, value)
|
|
947
|
+
end
|
|
948
|
+
|
|
949
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
950
|
+
def to_h
|
|
951
|
+
end
|
|
952
|
+
|
|
953
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::Capacity) }
|
|
954
|
+
def self.decode(str)
|
|
955
|
+
end
|
|
956
|
+
|
|
957
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::Capacity).returns(String) }
|
|
958
|
+
def self.encode(msg)
|
|
959
|
+
end
|
|
960
|
+
|
|
961
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::Capacity) }
|
|
962
|
+
def self.decode_json(str, **kw)
|
|
963
|
+
end
|
|
964
|
+
|
|
965
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::Capacity, kw: T.untyped).returns(String) }
|
|
966
|
+
def self.encode_json(msg, **kw)
|
|
967
|
+
end
|
|
968
|
+
|
|
969
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
970
|
+
def self.descriptor
|
|
971
|
+
end
|
|
972
|
+
end
|
|
973
|
+
|
|
974
|
+
class Temporalio::Api::Cloud::Namespace::V1::FairnessSpec
|
|
975
|
+
include ::Google::Protobuf::MessageExts
|
|
976
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
977
|
+
|
|
978
|
+
sig do
|
|
979
|
+
params(
|
|
980
|
+
task_queue_fairness_enabled: T.nilable(T::Boolean)
|
|
981
|
+
).void
|
|
982
|
+
end
|
|
983
|
+
def initialize(
|
|
984
|
+
task_queue_fairness_enabled: false
|
|
985
|
+
)
|
|
986
|
+
end
|
|
987
|
+
|
|
988
|
+
# Flag to enable task queue fairness for the namespace (default: disabled).
|
|
989
|
+
sig { returns(T::Boolean) }
|
|
990
|
+
def task_queue_fairness_enabled
|
|
991
|
+
end
|
|
992
|
+
|
|
993
|
+
# Flag to enable task queue fairness for the namespace (default: disabled).
|
|
994
|
+
sig { params(value: T::Boolean).void }
|
|
995
|
+
def task_queue_fairness_enabled=(value)
|
|
996
|
+
end
|
|
997
|
+
|
|
998
|
+
# Flag to enable task queue fairness for the namespace (default: disabled).
|
|
999
|
+
sig { void }
|
|
1000
|
+
def clear_task_queue_fairness_enabled
|
|
1001
|
+
end
|
|
1002
|
+
|
|
1003
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1004
|
+
def [](field)
|
|
1005
|
+
end
|
|
1006
|
+
|
|
1007
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1008
|
+
def []=(field, value)
|
|
1009
|
+
end
|
|
1010
|
+
|
|
1011
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1012
|
+
def to_h
|
|
1013
|
+
end
|
|
1014
|
+
|
|
1015
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::FairnessSpec) }
|
|
1016
|
+
def self.decode(str)
|
|
1017
|
+
end
|
|
1018
|
+
|
|
1019
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::FairnessSpec).returns(String) }
|
|
1020
|
+
def self.encode(msg)
|
|
1021
|
+
end
|
|
1022
|
+
|
|
1023
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::FairnessSpec) }
|
|
1024
|
+
def self.decode_json(str, **kw)
|
|
1025
|
+
end
|
|
1026
|
+
|
|
1027
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::FairnessSpec, kw: T.untyped).returns(String) }
|
|
1028
|
+
def self.encode_json(msg, **kw)
|
|
1029
|
+
end
|
|
1030
|
+
|
|
1031
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1032
|
+
def self.descriptor
|
|
1033
|
+
end
|
|
1034
|
+
end
|
|
1035
|
+
|
|
1036
|
+
class Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec
|
|
1037
|
+
include ::Google::Protobuf::MessageExts
|
|
1038
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1039
|
+
|
|
1040
|
+
sig do
|
|
1041
|
+
params(
|
|
1042
|
+
name: T.nilable(String),
|
|
1043
|
+
regions: T.nilable(T::Array[String]),
|
|
1044
|
+
retention_days: T.nilable(Integer),
|
|
1045
|
+
mtls_auth: T.nilable(Temporalio::Api::Cloud::Namespace::V1::MtlsAuthSpec),
|
|
1046
|
+
api_key_auth: T.nilable(Temporalio::Api::Cloud::Namespace::V1::ApiKeyAuthSpec),
|
|
1047
|
+
custom_search_attributes: T.nilable(T::Hash[String, String]),
|
|
1048
|
+
search_attributes: T.nilable(T::Hash[String, T.any(Symbol, String, Integer)]),
|
|
1049
|
+
codec_server: T.nilable(Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec),
|
|
1050
|
+
lifecycle: T.nilable(Temporalio::Api::Cloud::Namespace::V1::LifecycleSpec),
|
|
1051
|
+
high_availability: T.nilable(Temporalio::Api::Cloud::Namespace::V1::HighAvailabilitySpec),
|
|
1052
|
+
connectivity_rule_ids: T.nilable(T::Array[String]),
|
|
1053
|
+
capacity_spec: T.nilable(Temporalio::Api::Cloud::Namespace::V1::CapacitySpec),
|
|
1054
|
+
replicas: T.nilable(T::Array[T.nilable(Temporalio::Api::Cloud::Namespace::V1::ReplicaSpec)]),
|
|
1055
|
+
fairness: T.nilable(Temporalio::Api::Cloud::Namespace::V1::FairnessSpec)
|
|
1056
|
+
).void
|
|
1057
|
+
end
|
|
1058
|
+
def initialize(
|
|
1059
|
+
name: "",
|
|
1060
|
+
regions: [],
|
|
1061
|
+
retention_days: 0,
|
|
1062
|
+
mtls_auth: nil,
|
|
1063
|
+
api_key_auth: nil,
|
|
1064
|
+
custom_search_attributes: ::Google::Protobuf::Map.new(:string, :string),
|
|
1065
|
+
search_attributes: ::Google::Protobuf::Map.new(:string, :enum),
|
|
1066
|
+
codec_server: nil,
|
|
1067
|
+
lifecycle: nil,
|
|
1068
|
+
high_availability: nil,
|
|
1069
|
+
connectivity_rule_ids: [],
|
|
1070
|
+
capacity_spec: nil,
|
|
1071
|
+
replicas: [],
|
|
1072
|
+
fairness: nil
|
|
1073
|
+
)
|
|
1074
|
+
end
|
|
1075
|
+
|
|
1076
|
+
# The name to use for the namespace.
|
|
1077
|
+
# This will create a namespace that's available at '<name>.<account>.tmprl.cloud:7233'.
|
|
1078
|
+
# The name is immutable. Once set, it cannot be changed.
|
|
1079
|
+
sig { returns(String) }
|
|
1080
|
+
def name
|
|
1081
|
+
end
|
|
1082
|
+
|
|
1083
|
+
# The name to use for the namespace.
|
|
1084
|
+
# This will create a namespace that's available at '<name>.<account>.tmprl.cloud:7233'.
|
|
1085
|
+
# The name is immutable. Once set, it cannot be changed.
|
|
1086
|
+
sig { params(value: String).void }
|
|
1087
|
+
def name=(value)
|
|
1088
|
+
end
|
|
1089
|
+
|
|
1090
|
+
# The name to use for the namespace.
|
|
1091
|
+
# This will create a namespace that's available at '<name>.<account>.tmprl.cloud:7233'.
|
|
1092
|
+
# The name is immutable. Once set, it cannot be changed.
|
|
1093
|
+
sig { void }
|
|
1094
|
+
def clear_name
|
|
1095
|
+
end
|
|
1096
|
+
|
|
1097
|
+
# The ids of the regions where the namespace should be available.
|
|
1098
|
+
# The GetRegions API can be used to get the list of valid region ids.
|
|
1099
|
+
# Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access.
|
|
1100
|
+
# Please reach out to Temporal support for more information on global namespaces.
|
|
1101
|
+
# When provisioned the global namespace will be active on the first region in the list and passive on the rest.
|
|
1102
|
+
# Number of supported regions is 2.
|
|
1103
|
+
# The regions is immutable. Once set, it cannot be changed.
|
|
1104
|
+
# Example: ["aws-us-west-2"].
|
|
1105
|
+
# Deprecated: Use replicas field instead.
|
|
1106
|
+
# temporal:versioning:max_version=v0.15.0
|
|
1107
|
+
sig { returns(T::Array[String]) }
|
|
1108
|
+
def regions
|
|
1109
|
+
end
|
|
1110
|
+
|
|
1111
|
+
# The ids of the regions where the namespace should be available.
|
|
1112
|
+
# The GetRegions API can be used to get the list of valid region ids.
|
|
1113
|
+
# Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access.
|
|
1114
|
+
# Please reach out to Temporal support for more information on global namespaces.
|
|
1115
|
+
# When provisioned the global namespace will be active on the first region in the list and passive on the rest.
|
|
1116
|
+
# Number of supported regions is 2.
|
|
1117
|
+
# The regions is immutable. Once set, it cannot be changed.
|
|
1118
|
+
# Example: ["aws-us-west-2"].
|
|
1119
|
+
# Deprecated: Use replicas field instead.
|
|
1120
|
+
# temporal:versioning:max_version=v0.15.0
|
|
1121
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
|
1122
|
+
def regions=(value)
|
|
1123
|
+
end
|
|
1124
|
+
|
|
1125
|
+
# The ids of the regions where the namespace should be available.
|
|
1126
|
+
# The GetRegions API can be used to get the list of valid region ids.
|
|
1127
|
+
# Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access.
|
|
1128
|
+
# Please reach out to Temporal support for more information on global namespaces.
|
|
1129
|
+
# When provisioned the global namespace will be active on the first region in the list and passive on the rest.
|
|
1130
|
+
# Number of supported regions is 2.
|
|
1131
|
+
# The regions is immutable. Once set, it cannot be changed.
|
|
1132
|
+
# Example: ["aws-us-west-2"].
|
|
1133
|
+
# Deprecated: Use replicas field instead.
|
|
1134
|
+
# temporal:versioning:max_version=v0.15.0
|
|
1135
|
+
sig { void }
|
|
1136
|
+
def clear_regions
|
|
1137
|
+
end
|
|
1138
|
+
|
|
1139
|
+
# The number of days the workflows data will be retained for.
|
|
1140
|
+
# Changes to the retention period may impact your storage costs.
|
|
1141
|
+
# Any changes to the retention period will be applied to all new running workflows.
|
|
1142
|
+
sig { returns(Integer) }
|
|
1143
|
+
def retention_days
|
|
1144
|
+
end
|
|
1145
|
+
|
|
1146
|
+
# The number of days the workflows data will be retained for.
|
|
1147
|
+
# Changes to the retention period may impact your storage costs.
|
|
1148
|
+
# Any changes to the retention period will be applied to all new running workflows.
|
|
1149
|
+
sig { params(value: Integer).void }
|
|
1150
|
+
def retention_days=(value)
|
|
1151
|
+
end
|
|
1152
|
+
|
|
1153
|
+
# The number of days the workflows data will be retained for.
|
|
1154
|
+
# Changes to the retention period may impact your storage costs.
|
|
1155
|
+
# Any changes to the retention period will be applied to all new running workflows.
|
|
1156
|
+
sig { void }
|
|
1157
|
+
def clear_retention_days
|
|
1158
|
+
end
|
|
1159
|
+
|
|
1160
|
+
# The mTLS auth configuration for the namespace.
|
|
1161
|
+
# If unspecified, mTLS will be disabled.
|
|
1162
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::MtlsAuthSpec)) }
|
|
1163
|
+
def mtls_auth
|
|
1164
|
+
end
|
|
1165
|
+
|
|
1166
|
+
# The mTLS auth configuration for the namespace.
|
|
1167
|
+
# If unspecified, mTLS will be disabled.
|
|
1168
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::MtlsAuthSpec)).void }
|
|
1169
|
+
def mtls_auth=(value)
|
|
1170
|
+
end
|
|
1171
|
+
|
|
1172
|
+
# The mTLS auth configuration for the namespace.
|
|
1173
|
+
# If unspecified, mTLS will be disabled.
|
|
1174
|
+
sig { void }
|
|
1175
|
+
def clear_mtls_auth
|
|
1176
|
+
end
|
|
1177
|
+
|
|
1178
|
+
# The API key auth configuration for the namespace.
|
|
1179
|
+
# If unspecified, API keys will be disabled.
|
|
1180
|
+
# temporal:versioning:min_version=v0.2.0
|
|
1181
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::ApiKeyAuthSpec)) }
|
|
1182
|
+
def api_key_auth
|
|
1183
|
+
end
|
|
1184
|
+
|
|
1185
|
+
# The API key auth configuration for the namespace.
|
|
1186
|
+
# If unspecified, API keys will be disabled.
|
|
1187
|
+
# temporal:versioning:min_version=v0.2.0
|
|
1188
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::ApiKeyAuthSpec)).void }
|
|
1189
|
+
def api_key_auth=(value)
|
|
1190
|
+
end
|
|
1191
|
+
|
|
1192
|
+
# The API key auth configuration for the namespace.
|
|
1193
|
+
# If unspecified, API keys will be disabled.
|
|
1194
|
+
# temporal:versioning:min_version=v0.2.0
|
|
1195
|
+
sig { void }
|
|
1196
|
+
def clear_api_key_auth
|
|
1197
|
+
end
|
|
1198
|
+
|
|
1199
|
+
# The custom search attributes to use for the namespace.
|
|
1200
|
+
# The name of the attribute is the key and the type is the value.
|
|
1201
|
+
# Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list.
|
|
1202
|
+
# NOTE: currently deleting a search attribute is not supported.
|
|
1203
|
+
# Optional, default is empty.
|
|
1204
|
+
# Deprecated: Not supported after v0.3.0 api version. Use search_attributes instead.
|
|
1205
|
+
# temporal:versioning:max_version=v0.3.0
|
|
1206
|
+
sig { returns(T::Hash[String, String]) }
|
|
1207
|
+
def custom_search_attributes
|
|
1208
|
+
end
|
|
1209
|
+
|
|
1210
|
+
# The custom search attributes to use for the namespace.
|
|
1211
|
+
# The name of the attribute is the key and the type is the value.
|
|
1212
|
+
# Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list.
|
|
1213
|
+
# NOTE: currently deleting a search attribute is not supported.
|
|
1214
|
+
# Optional, default is empty.
|
|
1215
|
+
# Deprecated: Not supported after v0.3.0 api version. Use search_attributes instead.
|
|
1216
|
+
# temporal:versioning:max_version=v0.3.0
|
|
1217
|
+
sig { params(value: ::Google::Protobuf::Map).void }
|
|
1218
|
+
def custom_search_attributes=(value)
|
|
1219
|
+
end
|
|
1220
|
+
|
|
1221
|
+
# The custom search attributes to use for the namespace.
|
|
1222
|
+
# The name of the attribute is the key and the type is the value.
|
|
1223
|
+
# Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list.
|
|
1224
|
+
# NOTE: currently deleting a search attribute is not supported.
|
|
1225
|
+
# Optional, default is empty.
|
|
1226
|
+
# Deprecated: Not supported after v0.3.0 api version. Use search_attributes instead.
|
|
1227
|
+
# temporal:versioning:max_version=v0.3.0
|
|
1228
|
+
sig { void }
|
|
1229
|
+
def clear_custom_search_attributes
|
|
1230
|
+
end
|
|
1231
|
+
|
|
1232
|
+
# The custom search attributes to use for the namespace.
|
|
1233
|
+
# The name of the attribute is the key and the type is the value.
|
|
1234
|
+
# Note: currently deleting a search attribute is not supported.
|
|
1235
|
+
# Optional, default is empty.
|
|
1236
|
+
# temporal:versioning:min_version=v0.3.0
|
|
1237
|
+
# temporal:enums:replaces=custom_search_attributes
|
|
1238
|
+
sig { returns(T::Hash[String, T.any(Symbol, Integer)]) }
|
|
1239
|
+
def search_attributes
|
|
1240
|
+
end
|
|
1241
|
+
|
|
1242
|
+
# The custom search attributes to use for the namespace.
|
|
1243
|
+
# The name of the attribute is the key and the type is the value.
|
|
1244
|
+
# Note: currently deleting a search attribute is not supported.
|
|
1245
|
+
# Optional, default is empty.
|
|
1246
|
+
# temporal:versioning:min_version=v0.3.0
|
|
1247
|
+
# temporal:enums:replaces=custom_search_attributes
|
|
1248
|
+
sig { params(value: ::Google::Protobuf::Map).void }
|
|
1249
|
+
def search_attributes=(value)
|
|
1250
|
+
end
|
|
1251
|
+
|
|
1252
|
+
# The custom search attributes to use for the namespace.
|
|
1253
|
+
# The name of the attribute is the key and the type is the value.
|
|
1254
|
+
# Note: currently deleting a search attribute is not supported.
|
|
1255
|
+
# Optional, default is empty.
|
|
1256
|
+
# temporal:versioning:min_version=v0.3.0
|
|
1257
|
+
# temporal:enums:replaces=custom_search_attributes
|
|
1258
|
+
sig { void }
|
|
1259
|
+
def clear_search_attributes
|
|
1260
|
+
end
|
|
1261
|
+
|
|
1262
|
+
# Codec server spec used by UI to decode payloads for all users interacting with this namespace.
|
|
1263
|
+
# Optional, default is unset.
|
|
1264
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec)) }
|
|
1265
|
+
def codec_server
|
|
1266
|
+
end
|
|
1267
|
+
|
|
1268
|
+
# Codec server spec used by UI to decode payloads for all users interacting with this namespace.
|
|
1269
|
+
# Optional, default is unset.
|
|
1270
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec)).void }
|
|
1271
|
+
def codec_server=(value)
|
|
1272
|
+
end
|
|
1273
|
+
|
|
1274
|
+
# Codec server spec used by UI to decode payloads for all users interacting with this namespace.
|
|
1275
|
+
# Optional, default is unset.
|
|
1276
|
+
sig { void }
|
|
1277
|
+
def clear_codec_server
|
|
1278
|
+
end
|
|
1279
|
+
|
|
1280
|
+
# The lifecycle configuration for the namespace.
|
|
1281
|
+
# temporal:versioning:min_version=v0.4.0
|
|
1282
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::LifecycleSpec)) }
|
|
1283
|
+
def lifecycle
|
|
1284
|
+
end
|
|
1285
|
+
|
|
1286
|
+
# The lifecycle configuration for the namespace.
|
|
1287
|
+
# temporal:versioning:min_version=v0.4.0
|
|
1288
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::LifecycleSpec)).void }
|
|
1289
|
+
def lifecycle=(value)
|
|
1290
|
+
end
|
|
1291
|
+
|
|
1292
|
+
# The lifecycle configuration for the namespace.
|
|
1293
|
+
# temporal:versioning:min_version=v0.4.0
|
|
1294
|
+
sig { void }
|
|
1295
|
+
def clear_lifecycle
|
|
1296
|
+
end
|
|
1297
|
+
|
|
1298
|
+
# The high availability configuration for the namespace.
|
|
1299
|
+
# temporal:versioning:min_version=v0.4.0
|
|
1300
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::HighAvailabilitySpec)) }
|
|
1301
|
+
def high_availability
|
|
1302
|
+
end
|
|
1303
|
+
|
|
1304
|
+
# The high availability configuration for the namespace.
|
|
1305
|
+
# temporal:versioning:min_version=v0.4.0
|
|
1306
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::HighAvailabilitySpec)).void }
|
|
1307
|
+
def high_availability=(value)
|
|
1308
|
+
end
|
|
1309
|
+
|
|
1310
|
+
# The high availability configuration for the namespace.
|
|
1311
|
+
# temporal:versioning:min_version=v0.4.0
|
|
1312
|
+
sig { void }
|
|
1313
|
+
def clear_high_availability
|
|
1314
|
+
end
|
|
1315
|
+
|
|
1316
|
+
# The private connectivity configuration for the namespace.
|
|
1317
|
+
# This will apply the connectivity rules specified to the namespace.
|
|
1318
|
+
# temporal:versioning:min_version=v0.6.0
|
|
1319
|
+
sig { returns(T::Array[String]) }
|
|
1320
|
+
def connectivity_rule_ids
|
|
1321
|
+
end
|
|
1322
|
+
|
|
1323
|
+
# The private connectivity configuration for the namespace.
|
|
1324
|
+
# This will apply the connectivity rules specified to the namespace.
|
|
1325
|
+
# temporal:versioning:min_version=v0.6.0
|
|
1326
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
|
1327
|
+
def connectivity_rule_ids=(value)
|
|
1328
|
+
end
|
|
1329
|
+
|
|
1330
|
+
# The private connectivity configuration for the namespace.
|
|
1331
|
+
# This will apply the connectivity rules specified to the namespace.
|
|
1332
|
+
# temporal:versioning:min_version=v0.6.0
|
|
1333
|
+
sig { void }
|
|
1334
|
+
def clear_connectivity_rule_ids
|
|
1335
|
+
end
|
|
1336
|
+
|
|
1337
|
+
# The capacity configuration for the namespace.
|
|
1338
|
+
# There are two capacity modes: on-demand and provisioned.
|
|
1339
|
+
# On-demand capacity mode allows the namespace to scale automatically based on usage.
|
|
1340
|
+
# Provisioned capacity mode allows the user to specify a fixed amount of capacity (in TRUs) for the namespace.
|
|
1341
|
+
# Can be changed only when the last capacity request is not in progress.
|
|
1342
|
+
# temporal:versioning:min_version=v0.10.0
|
|
1343
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::CapacitySpec)) }
|
|
1344
|
+
def capacity_spec
|
|
1345
|
+
end
|
|
1346
|
+
|
|
1347
|
+
# The capacity configuration for the namespace.
|
|
1348
|
+
# There are two capacity modes: on-demand and provisioned.
|
|
1349
|
+
# On-demand capacity mode allows the namespace to scale automatically based on usage.
|
|
1350
|
+
# Provisioned capacity mode allows the user to specify a fixed amount of capacity (in TRUs) for the namespace.
|
|
1351
|
+
# Can be changed only when the last capacity request is not in progress.
|
|
1352
|
+
# temporal:versioning:min_version=v0.10.0
|
|
1353
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::CapacitySpec)).void }
|
|
1354
|
+
def capacity_spec=(value)
|
|
1355
|
+
end
|
|
1356
|
+
|
|
1357
|
+
# The capacity configuration for the namespace.
|
|
1358
|
+
# There are two capacity modes: on-demand and provisioned.
|
|
1359
|
+
# On-demand capacity mode allows the namespace to scale automatically based on usage.
|
|
1360
|
+
# Provisioned capacity mode allows the user to specify a fixed amount of capacity (in TRUs) for the namespace.
|
|
1361
|
+
# Can be changed only when the last capacity request is not in progress.
|
|
1362
|
+
# temporal:versioning:min_version=v0.10.0
|
|
1363
|
+
sig { void }
|
|
1364
|
+
def clear_capacity_spec
|
|
1365
|
+
end
|
|
1366
|
+
|
|
1367
|
+
# The replication configuration for the namespace.
|
|
1368
|
+
# At least one replica must be specified.
|
|
1369
|
+
# Only one replica can be marked to be the desired active one.
|
|
1370
|
+
# The status of each replica is available in the Namespace.replicas field.
|
|
1371
|
+
# Use HighAvailabilitySpec to set the preferred primary replica ID.
|
|
1372
|
+
# If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary.
|
|
1373
|
+
# temporal:versioning:min_version=v0.13.0
|
|
1374
|
+
sig { returns(T::Array[T.nilable(Temporalio::Api::Cloud::Namespace::V1::ReplicaSpec)]) }
|
|
1375
|
+
def replicas
|
|
1376
|
+
end
|
|
1377
|
+
|
|
1378
|
+
# The replication configuration for the namespace.
|
|
1379
|
+
# At least one replica must be specified.
|
|
1380
|
+
# Only one replica can be marked to be the desired active one.
|
|
1381
|
+
# The status of each replica is available in the Namespace.replicas field.
|
|
1382
|
+
# Use HighAvailabilitySpec to set the preferred primary replica ID.
|
|
1383
|
+
# If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary.
|
|
1384
|
+
# temporal:versioning:min_version=v0.13.0
|
|
1385
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
|
1386
|
+
def replicas=(value)
|
|
1387
|
+
end
|
|
1388
|
+
|
|
1389
|
+
# The replication configuration for the namespace.
|
|
1390
|
+
# At least one replica must be specified.
|
|
1391
|
+
# Only one replica can be marked to be the desired active one.
|
|
1392
|
+
# The status of each replica is available in the Namespace.replicas field.
|
|
1393
|
+
# Use HighAvailabilitySpec to set the preferred primary replica ID.
|
|
1394
|
+
# If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary.
|
|
1395
|
+
# temporal:versioning:min_version=v0.13.0
|
|
1396
|
+
sig { void }
|
|
1397
|
+
def clear_replicas
|
|
1398
|
+
end
|
|
1399
|
+
|
|
1400
|
+
# The fairness configuration for the namespace.
|
|
1401
|
+
# If unspecified, fairness features will be disabled.
|
|
1402
|
+
# temporal:versioning:min_version=v0.14.0
|
|
1403
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::FairnessSpec)) }
|
|
1404
|
+
def fairness
|
|
1405
|
+
end
|
|
1406
|
+
|
|
1407
|
+
# The fairness configuration for the namespace.
|
|
1408
|
+
# If unspecified, fairness features will be disabled.
|
|
1409
|
+
# temporal:versioning:min_version=v0.14.0
|
|
1410
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::FairnessSpec)).void }
|
|
1411
|
+
def fairness=(value)
|
|
1412
|
+
end
|
|
1413
|
+
|
|
1414
|
+
# The fairness configuration for the namespace.
|
|
1415
|
+
# If unspecified, fairness features will be disabled.
|
|
1416
|
+
# temporal:versioning:min_version=v0.14.0
|
|
1417
|
+
sig { void }
|
|
1418
|
+
def clear_fairness
|
|
1419
|
+
end
|
|
1420
|
+
|
|
1421
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1422
|
+
def [](field)
|
|
1423
|
+
end
|
|
1424
|
+
|
|
1425
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1426
|
+
def []=(field, value)
|
|
1427
|
+
end
|
|
1428
|
+
|
|
1429
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1430
|
+
def to_h
|
|
1431
|
+
end
|
|
1432
|
+
|
|
1433
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec) }
|
|
1434
|
+
def self.decode(str)
|
|
1435
|
+
end
|
|
1436
|
+
|
|
1437
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec).returns(String) }
|
|
1438
|
+
def self.encode(msg)
|
|
1439
|
+
end
|
|
1440
|
+
|
|
1441
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec) }
|
|
1442
|
+
def self.decode_json(str, **kw)
|
|
1443
|
+
end
|
|
1444
|
+
|
|
1445
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec, kw: T.untyped).returns(String) }
|
|
1446
|
+
def self.encode_json(msg, **kw)
|
|
1447
|
+
end
|
|
1448
|
+
|
|
1449
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1450
|
+
def self.descriptor
|
|
1451
|
+
end
|
|
1452
|
+
end
|
|
1453
|
+
|
|
1454
|
+
class Temporalio::Api::Cloud::Namespace::V1::Endpoints
|
|
1455
|
+
include ::Google::Protobuf::MessageExts
|
|
1456
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1457
|
+
|
|
1458
|
+
sig do
|
|
1459
|
+
params(
|
|
1460
|
+
web_address: T.nilable(String),
|
|
1461
|
+
mtls_grpc_address: T.nilable(String),
|
|
1462
|
+
grpc_address: T.nilable(String)
|
|
1463
|
+
).void
|
|
1464
|
+
end
|
|
1465
|
+
def initialize(
|
|
1466
|
+
web_address: "",
|
|
1467
|
+
mtls_grpc_address: "",
|
|
1468
|
+
grpc_address: ""
|
|
1469
|
+
)
|
|
1470
|
+
end
|
|
1471
|
+
|
|
1472
|
+
# The web UI address.
|
|
1473
|
+
sig { returns(String) }
|
|
1474
|
+
def web_address
|
|
1475
|
+
end
|
|
1476
|
+
|
|
1477
|
+
# The web UI address.
|
|
1478
|
+
sig { params(value: String).void }
|
|
1479
|
+
def web_address=(value)
|
|
1480
|
+
end
|
|
1481
|
+
|
|
1482
|
+
# The web UI address.
|
|
1483
|
+
sig { void }
|
|
1484
|
+
def clear_web_address
|
|
1485
|
+
end
|
|
1486
|
+
|
|
1487
|
+
# The gRPC address for mTLS client connections (may be empty if mTLS is disabled).
|
|
1488
|
+
sig { returns(String) }
|
|
1489
|
+
def mtls_grpc_address
|
|
1490
|
+
end
|
|
1491
|
+
|
|
1492
|
+
# The gRPC address for mTLS client connections (may be empty if mTLS is disabled).
|
|
1493
|
+
sig { params(value: String).void }
|
|
1494
|
+
def mtls_grpc_address=(value)
|
|
1495
|
+
end
|
|
1496
|
+
|
|
1497
|
+
# The gRPC address for mTLS client connections (may be empty if mTLS is disabled).
|
|
1498
|
+
sig { void }
|
|
1499
|
+
def clear_mtls_grpc_address
|
|
1500
|
+
end
|
|
1501
|
+
|
|
1502
|
+
# The gRPC address for API key client connections (may be empty if API keys are disabled).
|
|
1503
|
+
sig { returns(String) }
|
|
1504
|
+
def grpc_address
|
|
1505
|
+
end
|
|
1506
|
+
|
|
1507
|
+
# The gRPC address for API key client connections (may be empty if API keys are disabled).
|
|
1508
|
+
sig { params(value: String).void }
|
|
1509
|
+
def grpc_address=(value)
|
|
1510
|
+
end
|
|
1511
|
+
|
|
1512
|
+
# The gRPC address for API key client connections (may be empty if API keys are disabled).
|
|
1513
|
+
sig { void }
|
|
1514
|
+
def clear_grpc_address
|
|
1515
|
+
end
|
|
1516
|
+
|
|
1517
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1518
|
+
def [](field)
|
|
1519
|
+
end
|
|
1520
|
+
|
|
1521
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1522
|
+
def []=(field, value)
|
|
1523
|
+
end
|
|
1524
|
+
|
|
1525
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1526
|
+
def to_h
|
|
1527
|
+
end
|
|
1528
|
+
|
|
1529
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::Endpoints) }
|
|
1530
|
+
def self.decode(str)
|
|
1531
|
+
end
|
|
1532
|
+
|
|
1533
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::Endpoints).returns(String) }
|
|
1534
|
+
def self.encode(msg)
|
|
1535
|
+
end
|
|
1536
|
+
|
|
1537
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::Endpoints) }
|
|
1538
|
+
def self.decode_json(str, **kw)
|
|
1539
|
+
end
|
|
1540
|
+
|
|
1541
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::Endpoints, kw: T.untyped).returns(String) }
|
|
1542
|
+
def self.encode_json(msg, **kw)
|
|
1543
|
+
end
|
|
1544
|
+
|
|
1545
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1546
|
+
def self.descriptor
|
|
1547
|
+
end
|
|
1548
|
+
end
|
|
1549
|
+
|
|
1550
|
+
class Temporalio::Api::Cloud::Namespace::V1::Limits
|
|
1551
|
+
include ::Google::Protobuf::MessageExts
|
|
1552
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1553
|
+
|
|
1554
|
+
sig do
|
|
1555
|
+
params(
|
|
1556
|
+
actions_per_second_limit: T.nilable(Integer)
|
|
1557
|
+
).void
|
|
1558
|
+
end
|
|
1559
|
+
def initialize(
|
|
1560
|
+
actions_per_second_limit: 0
|
|
1561
|
+
)
|
|
1562
|
+
end
|
|
1563
|
+
|
|
1564
|
+
# The number of actions per second (APS) that is currently allowed for the namespace.
|
|
1565
|
+
# The namespace may be throttled if its APS exceeds the limit.
|
|
1566
|
+
sig { returns(Integer) }
|
|
1567
|
+
def actions_per_second_limit
|
|
1568
|
+
end
|
|
1569
|
+
|
|
1570
|
+
# The number of actions per second (APS) that is currently allowed for the namespace.
|
|
1571
|
+
# The namespace may be throttled if its APS exceeds the limit.
|
|
1572
|
+
sig { params(value: Integer).void }
|
|
1573
|
+
def actions_per_second_limit=(value)
|
|
1574
|
+
end
|
|
1575
|
+
|
|
1576
|
+
# The number of actions per second (APS) that is currently allowed for the namespace.
|
|
1577
|
+
# The namespace may be throttled if its APS exceeds the limit.
|
|
1578
|
+
sig { void }
|
|
1579
|
+
def clear_actions_per_second_limit
|
|
1580
|
+
end
|
|
1581
|
+
|
|
1582
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1583
|
+
def [](field)
|
|
1584
|
+
end
|
|
1585
|
+
|
|
1586
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1587
|
+
def []=(field, value)
|
|
1588
|
+
end
|
|
1589
|
+
|
|
1590
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1591
|
+
def to_h
|
|
1592
|
+
end
|
|
1593
|
+
|
|
1594
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::Limits) }
|
|
1595
|
+
def self.decode(str)
|
|
1596
|
+
end
|
|
1597
|
+
|
|
1598
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::Limits).returns(String) }
|
|
1599
|
+
def self.encode(msg)
|
|
1600
|
+
end
|
|
1601
|
+
|
|
1602
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::Limits) }
|
|
1603
|
+
def self.decode_json(str, **kw)
|
|
1604
|
+
end
|
|
1605
|
+
|
|
1606
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::Limits, kw: T.untyped).returns(String) }
|
|
1607
|
+
def self.encode_json(msg, **kw)
|
|
1608
|
+
end
|
|
1609
|
+
|
|
1610
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1611
|
+
def self.descriptor
|
|
1612
|
+
end
|
|
1613
|
+
end
|
|
1614
|
+
|
|
1615
|
+
class Temporalio::Api::Cloud::Namespace::V1::AWSPrivateLinkInfo
|
|
1616
|
+
include ::Google::Protobuf::MessageExts
|
|
1617
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1618
|
+
|
|
1619
|
+
sig do
|
|
1620
|
+
params(
|
|
1621
|
+
allowed_principal_arns: T.nilable(T::Array[String]),
|
|
1622
|
+
vpc_endpoint_service_names: T.nilable(T::Array[String])
|
|
1623
|
+
).void
|
|
1624
|
+
end
|
|
1625
|
+
def initialize(
|
|
1626
|
+
allowed_principal_arns: [],
|
|
1627
|
+
vpc_endpoint_service_names: []
|
|
1628
|
+
)
|
|
1629
|
+
end
|
|
1630
|
+
|
|
1631
|
+
# The list of principal arns that are allowed to access the namespace on the private link.
|
|
1632
|
+
sig { returns(T::Array[String]) }
|
|
1633
|
+
def allowed_principal_arns
|
|
1634
|
+
end
|
|
1635
|
+
|
|
1636
|
+
# The list of principal arns that are allowed to access the namespace on the private link.
|
|
1637
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
|
1638
|
+
def allowed_principal_arns=(value)
|
|
1639
|
+
end
|
|
1640
|
+
|
|
1641
|
+
# The list of principal arns that are allowed to access the namespace on the private link.
|
|
1642
|
+
sig { void }
|
|
1643
|
+
def clear_allowed_principal_arns
|
|
1644
|
+
end
|
|
1645
|
+
|
|
1646
|
+
# The list of vpc endpoint service names that are associated with the namespace.
|
|
1647
|
+
sig { returns(T::Array[String]) }
|
|
1648
|
+
def vpc_endpoint_service_names
|
|
1649
|
+
end
|
|
1650
|
+
|
|
1651
|
+
# The list of vpc endpoint service names that are associated with the namespace.
|
|
1652
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
|
1653
|
+
def vpc_endpoint_service_names=(value)
|
|
1654
|
+
end
|
|
1655
|
+
|
|
1656
|
+
# The list of vpc endpoint service names that are associated with the namespace.
|
|
1657
|
+
sig { void }
|
|
1658
|
+
def clear_vpc_endpoint_service_names
|
|
1659
|
+
end
|
|
1660
|
+
|
|
1661
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1662
|
+
def [](field)
|
|
1663
|
+
end
|
|
1664
|
+
|
|
1665
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1666
|
+
def []=(field, value)
|
|
1667
|
+
end
|
|
1668
|
+
|
|
1669
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1670
|
+
def to_h
|
|
1671
|
+
end
|
|
1672
|
+
|
|
1673
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::AWSPrivateLinkInfo) }
|
|
1674
|
+
def self.decode(str)
|
|
1675
|
+
end
|
|
1676
|
+
|
|
1677
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::AWSPrivateLinkInfo).returns(String) }
|
|
1678
|
+
def self.encode(msg)
|
|
1679
|
+
end
|
|
1680
|
+
|
|
1681
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::AWSPrivateLinkInfo) }
|
|
1682
|
+
def self.decode_json(str, **kw)
|
|
1683
|
+
end
|
|
1684
|
+
|
|
1685
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::AWSPrivateLinkInfo, kw: T.untyped).returns(String) }
|
|
1686
|
+
def self.encode_json(msg, **kw)
|
|
1687
|
+
end
|
|
1688
|
+
|
|
1689
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1690
|
+
def self.descriptor
|
|
1691
|
+
end
|
|
1692
|
+
end
|
|
1693
|
+
|
|
1694
|
+
class Temporalio::Api::Cloud::Namespace::V1::PrivateConnectivity
|
|
1695
|
+
include ::Google::Protobuf::MessageExts
|
|
1696
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1697
|
+
|
|
1698
|
+
sig do
|
|
1699
|
+
params(
|
|
1700
|
+
region: T.nilable(String),
|
|
1701
|
+
aws_private_link: T.nilable(Temporalio::Api::Cloud::Namespace::V1::AWSPrivateLinkInfo)
|
|
1702
|
+
).void
|
|
1703
|
+
end
|
|
1704
|
+
def initialize(
|
|
1705
|
+
region: "",
|
|
1706
|
+
aws_private_link: nil
|
|
1707
|
+
)
|
|
1708
|
+
end
|
|
1709
|
+
|
|
1710
|
+
# The id of the region where the private connectivity applies.
|
|
1711
|
+
sig { returns(String) }
|
|
1712
|
+
def region
|
|
1713
|
+
end
|
|
1714
|
+
|
|
1715
|
+
# The id of the region where the private connectivity applies.
|
|
1716
|
+
sig { params(value: String).void }
|
|
1717
|
+
def region=(value)
|
|
1718
|
+
end
|
|
1719
|
+
|
|
1720
|
+
# The id of the region where the private connectivity applies.
|
|
1721
|
+
sig { void }
|
|
1722
|
+
def clear_region
|
|
1723
|
+
end
|
|
1724
|
+
|
|
1725
|
+
# The AWS PrivateLink info.
|
|
1726
|
+
# This will only be set for an aws region.
|
|
1727
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::AWSPrivateLinkInfo)) }
|
|
1728
|
+
def aws_private_link
|
|
1729
|
+
end
|
|
1730
|
+
|
|
1731
|
+
# The AWS PrivateLink info.
|
|
1732
|
+
# This will only be set for an aws region.
|
|
1733
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::AWSPrivateLinkInfo)).void }
|
|
1734
|
+
def aws_private_link=(value)
|
|
1735
|
+
end
|
|
1736
|
+
|
|
1737
|
+
# The AWS PrivateLink info.
|
|
1738
|
+
# This will only be set for an aws region.
|
|
1739
|
+
sig { void }
|
|
1740
|
+
def clear_aws_private_link
|
|
1741
|
+
end
|
|
1742
|
+
|
|
1743
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1744
|
+
def [](field)
|
|
1745
|
+
end
|
|
1746
|
+
|
|
1747
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1748
|
+
def []=(field, value)
|
|
1749
|
+
end
|
|
1750
|
+
|
|
1751
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1752
|
+
def to_h
|
|
1753
|
+
end
|
|
1754
|
+
|
|
1755
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::PrivateConnectivity) }
|
|
1756
|
+
def self.decode(str)
|
|
1757
|
+
end
|
|
1758
|
+
|
|
1759
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::PrivateConnectivity).returns(String) }
|
|
1760
|
+
def self.encode(msg)
|
|
1761
|
+
end
|
|
1762
|
+
|
|
1763
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::PrivateConnectivity) }
|
|
1764
|
+
def self.decode_json(str, **kw)
|
|
1765
|
+
end
|
|
1766
|
+
|
|
1767
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::PrivateConnectivity, kw: T.untyped).returns(String) }
|
|
1768
|
+
def self.encode_json(msg, **kw)
|
|
1769
|
+
end
|
|
1770
|
+
|
|
1771
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1772
|
+
def self.descriptor
|
|
1773
|
+
end
|
|
1774
|
+
end
|
|
1775
|
+
|
|
1776
|
+
class Temporalio::Api::Cloud::Namespace::V1::Namespace
|
|
1777
|
+
include ::Google::Protobuf::MessageExts
|
|
1778
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1779
|
+
|
|
1780
|
+
sig do
|
|
1781
|
+
params(
|
|
1782
|
+
namespace: T.nilable(String),
|
|
1783
|
+
resource_version: T.nilable(String),
|
|
1784
|
+
spec: T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec),
|
|
1785
|
+
state_deprecated: T.nilable(String),
|
|
1786
|
+
state: T.nilable(T.any(Symbol, String, Integer)),
|
|
1787
|
+
async_operation_id: T.nilable(String),
|
|
1788
|
+
endpoints: T.nilable(Temporalio::Api::Cloud::Namespace::V1::Endpoints),
|
|
1789
|
+
active_region: T.nilable(String),
|
|
1790
|
+
limits: T.nilable(Temporalio::Api::Cloud::Namespace::V1::Limits),
|
|
1791
|
+
private_connectivities: T.nilable(T::Array[T.nilable(Temporalio::Api::Cloud::Namespace::V1::PrivateConnectivity)]),
|
|
1792
|
+
created_time: T.nilable(Google::Protobuf::Timestamp),
|
|
1793
|
+
last_modified_time: T.nilable(Google::Protobuf::Timestamp),
|
|
1794
|
+
region_status: T.nilable(T::Hash[String, T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus)]),
|
|
1795
|
+
connectivity_rules: T.nilable(T::Array[T.nilable(Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule)]),
|
|
1796
|
+
tags: T.nilable(T::Hash[String, String]),
|
|
1797
|
+
capacity: T.nilable(Temporalio::Api::Cloud::Namespace::V1::Capacity),
|
|
1798
|
+
replicas: T.nilable(T::Array[T.nilable(Temporalio::Api::Cloud::Namespace::V1::Replica)])
|
|
1799
|
+
).void
|
|
1800
|
+
end
|
|
1801
|
+
def initialize(
|
|
1802
|
+
namespace: "",
|
|
1803
|
+
resource_version: "",
|
|
1804
|
+
spec: nil,
|
|
1805
|
+
state_deprecated: "",
|
|
1806
|
+
state: :RESOURCE_STATE_UNSPECIFIED,
|
|
1807
|
+
async_operation_id: "",
|
|
1808
|
+
endpoints: nil,
|
|
1809
|
+
active_region: "",
|
|
1810
|
+
limits: nil,
|
|
1811
|
+
private_connectivities: [],
|
|
1812
|
+
created_time: nil,
|
|
1813
|
+
last_modified_time: nil,
|
|
1814
|
+
region_status: ::Google::Protobuf::Map.new(:string, :message, Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus),
|
|
1815
|
+
connectivity_rules: [],
|
|
1816
|
+
tags: ::Google::Protobuf::Map.new(:string, :string),
|
|
1817
|
+
capacity: nil,
|
|
1818
|
+
replicas: []
|
|
1819
|
+
)
|
|
1820
|
+
end
|
|
1821
|
+
|
|
1822
|
+
# The namespace identifier.
|
|
1823
|
+
sig { returns(String) }
|
|
1824
|
+
def namespace
|
|
1825
|
+
end
|
|
1826
|
+
|
|
1827
|
+
# The namespace identifier.
|
|
1828
|
+
sig { params(value: String).void }
|
|
1829
|
+
def namespace=(value)
|
|
1830
|
+
end
|
|
1831
|
+
|
|
1832
|
+
# The namespace identifier.
|
|
1833
|
+
sig { void }
|
|
1834
|
+
def clear_namespace
|
|
1835
|
+
end
|
|
1836
|
+
|
|
1837
|
+
# The current version of the namespace specification.
|
|
1838
|
+
# The next update operation will have to include this version.
|
|
1839
|
+
sig { returns(String) }
|
|
1840
|
+
def resource_version
|
|
1841
|
+
end
|
|
1842
|
+
|
|
1843
|
+
# The current version of the namespace specification.
|
|
1844
|
+
# The next update operation will have to include this version.
|
|
1845
|
+
sig { params(value: String).void }
|
|
1846
|
+
def resource_version=(value)
|
|
1847
|
+
end
|
|
1848
|
+
|
|
1849
|
+
# The current version of the namespace specification.
|
|
1850
|
+
# The next update operation will have to include this version.
|
|
1851
|
+
sig { void }
|
|
1852
|
+
def clear_resource_version
|
|
1853
|
+
end
|
|
1854
|
+
|
|
1855
|
+
# The namespace specification.
|
|
1856
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec)) }
|
|
1857
|
+
def spec
|
|
1858
|
+
end
|
|
1859
|
+
|
|
1860
|
+
# The namespace specification.
|
|
1861
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec)).void }
|
|
1862
|
+
def spec=(value)
|
|
1863
|
+
end
|
|
1864
|
+
|
|
1865
|
+
# The namespace specification.
|
|
1866
|
+
sig { void }
|
|
1867
|
+
def clear_spec
|
|
1868
|
+
end
|
|
1869
|
+
|
|
1870
|
+
# The current state of the namespace.
|
|
1871
|
+
# Deprecated: Not supported after v0.3.0 api version. Use state instead.
|
|
1872
|
+
# temporal:versioning:max_version=v0.3.0
|
|
1873
|
+
sig { returns(String) }
|
|
1874
|
+
def state_deprecated
|
|
1875
|
+
end
|
|
1876
|
+
|
|
1877
|
+
# The current state of the namespace.
|
|
1878
|
+
# Deprecated: Not supported after v0.3.0 api version. Use state instead.
|
|
1879
|
+
# temporal:versioning:max_version=v0.3.0
|
|
1880
|
+
sig { params(value: String).void }
|
|
1881
|
+
def state_deprecated=(value)
|
|
1882
|
+
end
|
|
1883
|
+
|
|
1884
|
+
# The current state of the namespace.
|
|
1885
|
+
# Deprecated: Not supported after v0.3.0 api version. Use state instead.
|
|
1886
|
+
# temporal:versioning:max_version=v0.3.0
|
|
1887
|
+
sig { void }
|
|
1888
|
+
def clear_state_deprecated
|
|
1889
|
+
end
|
|
1890
|
+
|
|
1891
|
+
# The current state of the namespace.
|
|
1892
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
1893
|
+
# temporal:versioning:min_version=v0.3.0
|
|
1894
|
+
# temporal:enums:replaces=state_deprecated
|
|
1895
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
1896
|
+
def state
|
|
1897
|
+
end
|
|
1898
|
+
|
|
1899
|
+
# The current state of the namespace.
|
|
1900
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
1901
|
+
# temporal:versioning:min_version=v0.3.0
|
|
1902
|
+
# temporal:enums:replaces=state_deprecated
|
|
1903
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
1904
|
+
def state=(value)
|
|
1905
|
+
end
|
|
1906
|
+
|
|
1907
|
+
# The current state of the namespace.
|
|
1908
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
1909
|
+
# temporal:versioning:min_version=v0.3.0
|
|
1910
|
+
# temporal:enums:replaces=state_deprecated
|
|
1911
|
+
sig { void }
|
|
1912
|
+
def clear_state
|
|
1913
|
+
end
|
|
1914
|
+
|
|
1915
|
+
# The id of the async operation that is creating/updating/deleting the namespace, if any.
|
|
1916
|
+
sig { returns(String) }
|
|
1917
|
+
def async_operation_id
|
|
1918
|
+
end
|
|
1919
|
+
|
|
1920
|
+
# The id of the async operation that is creating/updating/deleting the namespace, if any.
|
|
1921
|
+
sig { params(value: String).void }
|
|
1922
|
+
def async_operation_id=(value)
|
|
1923
|
+
end
|
|
1924
|
+
|
|
1925
|
+
# The id of the async operation that is creating/updating/deleting the namespace, if any.
|
|
1926
|
+
sig { void }
|
|
1927
|
+
def clear_async_operation_id
|
|
1928
|
+
end
|
|
1929
|
+
|
|
1930
|
+
# The endpoints for the namespace.
|
|
1931
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::Endpoints)) }
|
|
1932
|
+
def endpoints
|
|
1933
|
+
end
|
|
1934
|
+
|
|
1935
|
+
# The endpoints for the namespace.
|
|
1936
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::Endpoints)).void }
|
|
1937
|
+
def endpoints=(value)
|
|
1938
|
+
end
|
|
1939
|
+
|
|
1940
|
+
# The endpoints for the namespace.
|
|
1941
|
+
sig { void }
|
|
1942
|
+
def clear_endpoints
|
|
1943
|
+
end
|
|
1944
|
+
|
|
1945
|
+
# The currently active region for the namespace.
|
|
1946
|
+
sig { returns(String) }
|
|
1947
|
+
def active_region
|
|
1948
|
+
end
|
|
1949
|
+
|
|
1950
|
+
# The currently active region for the namespace.
|
|
1951
|
+
sig { params(value: String).void }
|
|
1952
|
+
def active_region=(value)
|
|
1953
|
+
end
|
|
1954
|
+
|
|
1955
|
+
# The currently active region for the namespace.
|
|
1956
|
+
sig { void }
|
|
1957
|
+
def clear_active_region
|
|
1958
|
+
end
|
|
1959
|
+
|
|
1960
|
+
# The limits set on the namespace currently.
|
|
1961
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::Limits)) }
|
|
1962
|
+
def limits
|
|
1963
|
+
end
|
|
1964
|
+
|
|
1965
|
+
# The limits set on the namespace currently.
|
|
1966
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::Limits)).void }
|
|
1967
|
+
def limits=(value)
|
|
1968
|
+
end
|
|
1969
|
+
|
|
1970
|
+
# The limits set on the namespace currently.
|
|
1971
|
+
sig { void }
|
|
1972
|
+
def clear_limits
|
|
1973
|
+
end
|
|
1974
|
+
|
|
1975
|
+
# The private connectivities for the namespace, if any.
|
|
1976
|
+
sig { returns(T::Array[T.nilable(Temporalio::Api::Cloud::Namespace::V1::PrivateConnectivity)]) }
|
|
1977
|
+
def private_connectivities
|
|
1978
|
+
end
|
|
1979
|
+
|
|
1980
|
+
# The private connectivities for the namespace, if any.
|
|
1981
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
|
1982
|
+
def private_connectivities=(value)
|
|
1983
|
+
end
|
|
1984
|
+
|
|
1985
|
+
# The private connectivities for the namespace, if any.
|
|
1986
|
+
sig { void }
|
|
1987
|
+
def clear_private_connectivities
|
|
1988
|
+
end
|
|
1989
|
+
|
|
1990
|
+
# The date and time when the namespace was created.
|
|
1991
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
1992
|
+
def created_time
|
|
1993
|
+
end
|
|
1994
|
+
|
|
1995
|
+
# The date and time when the namespace was created.
|
|
1996
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
1997
|
+
def created_time=(value)
|
|
1998
|
+
end
|
|
1999
|
+
|
|
2000
|
+
# The date and time when the namespace was created.
|
|
2001
|
+
sig { void }
|
|
2002
|
+
def clear_created_time
|
|
2003
|
+
end
|
|
2004
|
+
|
|
2005
|
+
# The date and time when the namespace was last modified.
|
|
2006
|
+
# Will not be set if the namespace has never been modified.
|
|
2007
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
2008
|
+
def last_modified_time
|
|
2009
|
+
end
|
|
2010
|
+
|
|
2011
|
+
# The date and time when the namespace was last modified.
|
|
2012
|
+
# Will not be set if the namespace has never been modified.
|
|
2013
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
2014
|
+
def last_modified_time=(value)
|
|
2015
|
+
end
|
|
2016
|
+
|
|
2017
|
+
# The date and time when the namespace was last modified.
|
|
2018
|
+
# Will not be set if the namespace has never been modified.
|
|
2019
|
+
sig { void }
|
|
2020
|
+
def clear_last_modified_time
|
|
2021
|
+
end
|
|
2022
|
+
|
|
2023
|
+
# The status of each region where the namespace is available.
|
|
2024
|
+
# The id of the region is the key and the status is the value of the map.
|
|
2025
|
+
# deprecated: Use replicas field instead.
|
|
2026
|
+
# temporal:versioning:max_version=v0.15.0
|
|
2027
|
+
sig { returns(T::Hash[String, T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus)]) }
|
|
2028
|
+
def region_status
|
|
2029
|
+
end
|
|
2030
|
+
|
|
2031
|
+
# The status of each region where the namespace is available.
|
|
2032
|
+
# The id of the region is the key and the status is the value of the map.
|
|
2033
|
+
# deprecated: Use replicas field instead.
|
|
2034
|
+
# temporal:versioning:max_version=v0.15.0
|
|
2035
|
+
sig { params(value: ::Google::Protobuf::Map).void }
|
|
2036
|
+
def region_status=(value)
|
|
2037
|
+
end
|
|
2038
|
+
|
|
2039
|
+
# The status of each region where the namespace is available.
|
|
2040
|
+
# The id of the region is the key and the status is the value of the map.
|
|
2041
|
+
# deprecated: Use replicas field instead.
|
|
2042
|
+
# temporal:versioning:max_version=v0.15.0
|
|
2043
|
+
sig { void }
|
|
2044
|
+
def clear_region_status
|
|
2045
|
+
end
|
|
2046
|
+
|
|
2047
|
+
# The connectivity rules that are set on this namespace.
|
|
2048
|
+
sig { returns(T::Array[T.nilable(Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule)]) }
|
|
2049
|
+
def connectivity_rules
|
|
2050
|
+
end
|
|
2051
|
+
|
|
2052
|
+
# The connectivity rules that are set on this namespace.
|
|
2053
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
|
2054
|
+
def connectivity_rules=(value)
|
|
2055
|
+
end
|
|
2056
|
+
|
|
2057
|
+
# The connectivity rules that are set on this namespace.
|
|
2058
|
+
sig { void }
|
|
2059
|
+
def clear_connectivity_rules
|
|
2060
|
+
end
|
|
2061
|
+
|
|
2062
|
+
# The tags for the namespace.
|
|
2063
|
+
sig { returns(T::Hash[String, String]) }
|
|
2064
|
+
def tags
|
|
2065
|
+
end
|
|
2066
|
+
|
|
2067
|
+
# The tags for the namespace.
|
|
2068
|
+
sig { params(value: ::Google::Protobuf::Map).void }
|
|
2069
|
+
def tags=(value)
|
|
2070
|
+
end
|
|
2071
|
+
|
|
2072
|
+
# The tags for the namespace.
|
|
2073
|
+
sig { void }
|
|
2074
|
+
def clear_tags
|
|
2075
|
+
end
|
|
2076
|
+
|
|
2077
|
+
# The status of namespace's capacity, if any.
|
|
2078
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::Capacity)) }
|
|
2079
|
+
def capacity
|
|
2080
|
+
end
|
|
2081
|
+
|
|
2082
|
+
# The status of namespace's capacity, if any.
|
|
2083
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::Capacity)).void }
|
|
2084
|
+
def capacity=(value)
|
|
2085
|
+
end
|
|
2086
|
+
|
|
2087
|
+
# The status of namespace's capacity, if any.
|
|
2088
|
+
sig { void }
|
|
2089
|
+
def clear_capacity
|
|
2090
|
+
end
|
|
2091
|
+
|
|
2092
|
+
# The status of each replica where the namespace is available.
|
|
2093
|
+
# temporal:versioning:min_version=v0.13.0
|
|
2094
|
+
sig { returns(T::Array[T.nilable(Temporalio::Api::Cloud::Namespace::V1::Replica)]) }
|
|
2095
|
+
def replicas
|
|
2096
|
+
end
|
|
2097
|
+
|
|
2098
|
+
# The status of each replica where the namespace is available.
|
|
2099
|
+
# temporal:versioning:min_version=v0.13.0
|
|
2100
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
|
2101
|
+
def replicas=(value)
|
|
2102
|
+
end
|
|
2103
|
+
|
|
2104
|
+
# The status of each replica where the namespace is available.
|
|
2105
|
+
# temporal:versioning:min_version=v0.13.0
|
|
2106
|
+
sig { void }
|
|
2107
|
+
def clear_replicas
|
|
2108
|
+
end
|
|
2109
|
+
|
|
2110
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2111
|
+
def [](field)
|
|
2112
|
+
end
|
|
2113
|
+
|
|
2114
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2115
|
+
def []=(field, value)
|
|
2116
|
+
end
|
|
2117
|
+
|
|
2118
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2119
|
+
def to_h
|
|
2120
|
+
end
|
|
2121
|
+
|
|
2122
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::Namespace) }
|
|
2123
|
+
def self.decode(str)
|
|
2124
|
+
end
|
|
2125
|
+
|
|
2126
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::Namespace).returns(String) }
|
|
2127
|
+
def self.encode(msg)
|
|
2128
|
+
end
|
|
2129
|
+
|
|
2130
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::Namespace) }
|
|
2131
|
+
def self.decode_json(str, **kw)
|
|
2132
|
+
end
|
|
2133
|
+
|
|
2134
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::Namespace, kw: T.untyped).returns(String) }
|
|
2135
|
+
def self.encode_json(msg, **kw)
|
|
2136
|
+
end
|
|
2137
|
+
|
|
2138
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2139
|
+
def self.descriptor
|
|
2140
|
+
end
|
|
2141
|
+
end
|
|
2142
|
+
|
|
2143
|
+
class Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus
|
|
2144
|
+
include ::Google::Protobuf::MessageExts
|
|
2145
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2146
|
+
|
|
2147
|
+
sig do
|
|
2148
|
+
params(
|
|
2149
|
+
state_deprecated: T.nilable(String),
|
|
2150
|
+
state: T.nilable(T.any(Symbol, String, Integer)),
|
|
2151
|
+
async_operation_id: T.nilable(String)
|
|
2152
|
+
).void
|
|
2153
|
+
end
|
|
2154
|
+
def initialize(
|
|
2155
|
+
state_deprecated: "",
|
|
2156
|
+
state: :STATE_UNSPECIFIED,
|
|
2157
|
+
async_operation_id: ""
|
|
2158
|
+
)
|
|
2159
|
+
end
|
|
2160
|
+
|
|
2161
|
+
# The current state of the namespace region.
|
|
2162
|
+
# Possible values: adding, active, passive, removing, failed.
|
|
2163
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
2164
|
+
# Deprecated: Not supported after v0.3.0 api version. Use state instead.
|
|
2165
|
+
# temporal:versioning:max_version=v0.3.0
|
|
2166
|
+
sig { returns(String) }
|
|
2167
|
+
def state_deprecated
|
|
2168
|
+
end
|
|
2169
|
+
|
|
2170
|
+
# The current state of the namespace region.
|
|
2171
|
+
# Possible values: adding, active, passive, removing, failed.
|
|
2172
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
2173
|
+
# Deprecated: Not supported after v0.3.0 api version. Use state instead.
|
|
2174
|
+
# temporal:versioning:max_version=v0.3.0
|
|
2175
|
+
sig { params(value: String).void }
|
|
2176
|
+
def state_deprecated=(value)
|
|
2177
|
+
end
|
|
2178
|
+
|
|
2179
|
+
# The current state of the namespace region.
|
|
2180
|
+
# Possible values: adding, active, passive, removing, failed.
|
|
2181
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
2182
|
+
# Deprecated: Not supported after v0.3.0 api version. Use state instead.
|
|
2183
|
+
# temporal:versioning:max_version=v0.3.0
|
|
2184
|
+
sig { void }
|
|
2185
|
+
def clear_state_deprecated
|
|
2186
|
+
end
|
|
2187
|
+
|
|
2188
|
+
# The current state of the namespace region.
|
|
2189
|
+
# temporal:versioning:min_version=v0.3.0
|
|
2190
|
+
# temporal:enums:replaces=state_deprecated
|
|
2191
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
2192
|
+
def state
|
|
2193
|
+
end
|
|
2194
|
+
|
|
2195
|
+
# The current state of the namespace region.
|
|
2196
|
+
# temporal:versioning:min_version=v0.3.0
|
|
2197
|
+
# temporal:enums:replaces=state_deprecated
|
|
2198
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
2199
|
+
def state=(value)
|
|
2200
|
+
end
|
|
2201
|
+
|
|
2202
|
+
# The current state of the namespace region.
|
|
2203
|
+
# temporal:versioning:min_version=v0.3.0
|
|
2204
|
+
# temporal:enums:replaces=state_deprecated
|
|
2205
|
+
sig { void }
|
|
2206
|
+
def clear_state
|
|
2207
|
+
end
|
|
2208
|
+
|
|
2209
|
+
# The id of the async operation that is making changes to where the namespace is available, if any.
|
|
2210
|
+
sig { returns(String) }
|
|
2211
|
+
def async_operation_id
|
|
2212
|
+
end
|
|
2213
|
+
|
|
2214
|
+
# The id of the async operation that is making changes to where the namespace is available, if any.
|
|
2215
|
+
sig { params(value: String).void }
|
|
2216
|
+
def async_operation_id=(value)
|
|
2217
|
+
end
|
|
2218
|
+
|
|
2219
|
+
# The id of the async operation that is making changes to where the namespace is available, if any.
|
|
2220
|
+
sig { void }
|
|
2221
|
+
def clear_async_operation_id
|
|
2222
|
+
end
|
|
2223
|
+
|
|
2224
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2225
|
+
def [](field)
|
|
2226
|
+
end
|
|
2227
|
+
|
|
2228
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2229
|
+
def []=(field, value)
|
|
2230
|
+
end
|
|
2231
|
+
|
|
2232
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2233
|
+
def to_h
|
|
2234
|
+
end
|
|
2235
|
+
|
|
2236
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus) }
|
|
2237
|
+
def self.decode(str)
|
|
2238
|
+
end
|
|
2239
|
+
|
|
2240
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus).returns(String) }
|
|
2241
|
+
def self.encode(msg)
|
|
2242
|
+
end
|
|
2243
|
+
|
|
2244
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus) }
|
|
2245
|
+
def self.decode_json(str, **kw)
|
|
2246
|
+
end
|
|
2247
|
+
|
|
2248
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus, kw: T.untyped).returns(String) }
|
|
2249
|
+
def self.encode_json(msg, **kw)
|
|
2250
|
+
end
|
|
2251
|
+
|
|
2252
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2253
|
+
def self.descriptor
|
|
2254
|
+
end
|
|
2255
|
+
end
|
|
2256
|
+
|
|
2257
|
+
class Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec
|
|
2258
|
+
include ::Google::Protobuf::MessageExts
|
|
2259
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2260
|
+
|
|
2261
|
+
sig do
|
|
2262
|
+
params(
|
|
2263
|
+
name: T.nilable(String),
|
|
2264
|
+
enabled: T.nilable(T::Boolean),
|
|
2265
|
+
s3: T.nilable(Temporalio::Api::Cloud::Sink::V1::S3Spec),
|
|
2266
|
+
gcs: T.nilable(Temporalio::Api::Cloud::Sink::V1::GCSSpec)
|
|
2267
|
+
).void
|
|
2268
|
+
end
|
|
2269
|
+
def initialize(
|
|
2270
|
+
name: "",
|
|
2271
|
+
enabled: false,
|
|
2272
|
+
s3: nil,
|
|
2273
|
+
gcs: nil
|
|
2274
|
+
)
|
|
2275
|
+
end
|
|
2276
|
+
|
|
2277
|
+
# The unique name of the export sink, it can't be changed once set.
|
|
2278
|
+
sig { returns(String) }
|
|
2279
|
+
def name
|
|
2280
|
+
end
|
|
2281
|
+
|
|
2282
|
+
# The unique name of the export sink, it can't be changed once set.
|
|
2283
|
+
sig { params(value: String).void }
|
|
2284
|
+
def name=(value)
|
|
2285
|
+
end
|
|
2286
|
+
|
|
2287
|
+
# The unique name of the export sink, it can't be changed once set.
|
|
2288
|
+
sig { void }
|
|
2289
|
+
def clear_name
|
|
2290
|
+
end
|
|
2291
|
+
|
|
2292
|
+
# A flag indicating whether the export sink is enabled or not.
|
|
2293
|
+
sig { returns(T::Boolean) }
|
|
2294
|
+
def enabled
|
|
2295
|
+
end
|
|
2296
|
+
|
|
2297
|
+
# A flag indicating whether the export sink is enabled or not.
|
|
2298
|
+
sig { params(value: T::Boolean).void }
|
|
2299
|
+
def enabled=(value)
|
|
2300
|
+
end
|
|
2301
|
+
|
|
2302
|
+
# A flag indicating whether the export sink is enabled or not.
|
|
2303
|
+
sig { void }
|
|
2304
|
+
def clear_enabled
|
|
2305
|
+
end
|
|
2306
|
+
|
|
2307
|
+
# The S3 configuration details when destination_type is S3.
|
|
2308
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Sink::V1::S3Spec)) }
|
|
2309
|
+
def s3
|
|
2310
|
+
end
|
|
2311
|
+
|
|
2312
|
+
# The S3 configuration details when destination_type is S3.
|
|
2313
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Sink::V1::S3Spec)).void }
|
|
2314
|
+
def s3=(value)
|
|
2315
|
+
end
|
|
2316
|
+
|
|
2317
|
+
# The S3 configuration details when destination_type is S3.
|
|
2318
|
+
sig { void }
|
|
2319
|
+
def clear_s3
|
|
2320
|
+
end
|
|
2321
|
+
|
|
2322
|
+
# This is a feature under development. We will allow GCS sink support for GCP Namespaces.
|
|
2323
|
+
# The GCS configuration details when destination_type is GCS.
|
|
2324
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Sink::V1::GCSSpec)) }
|
|
2325
|
+
def gcs
|
|
2326
|
+
end
|
|
2327
|
+
|
|
2328
|
+
# This is a feature under development. We will allow GCS sink support for GCP Namespaces.
|
|
2329
|
+
# The GCS configuration details when destination_type is GCS.
|
|
2330
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Sink::V1::GCSSpec)).void }
|
|
2331
|
+
def gcs=(value)
|
|
2332
|
+
end
|
|
2333
|
+
|
|
2334
|
+
# This is a feature under development. We will allow GCS sink support for GCP Namespaces.
|
|
2335
|
+
# The GCS configuration details when destination_type is GCS.
|
|
2336
|
+
sig { void }
|
|
2337
|
+
def clear_gcs
|
|
2338
|
+
end
|
|
2339
|
+
|
|
2340
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2341
|
+
def [](field)
|
|
2342
|
+
end
|
|
2343
|
+
|
|
2344
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2345
|
+
def []=(field, value)
|
|
2346
|
+
end
|
|
2347
|
+
|
|
2348
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2349
|
+
def to_h
|
|
2350
|
+
end
|
|
2351
|
+
|
|
2352
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec) }
|
|
2353
|
+
def self.decode(str)
|
|
2354
|
+
end
|
|
2355
|
+
|
|
2356
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec).returns(String) }
|
|
2357
|
+
def self.encode(msg)
|
|
2358
|
+
end
|
|
2359
|
+
|
|
2360
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec) }
|
|
2361
|
+
def self.decode_json(str, **kw)
|
|
2362
|
+
end
|
|
2363
|
+
|
|
2364
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec, kw: T.untyped).returns(String) }
|
|
2365
|
+
def self.encode_json(msg, **kw)
|
|
2366
|
+
end
|
|
2367
|
+
|
|
2368
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2369
|
+
def self.descriptor
|
|
2370
|
+
end
|
|
2371
|
+
end
|
|
2372
|
+
|
|
2373
|
+
class Temporalio::Api::Cloud::Namespace::V1::ExportSink
|
|
2374
|
+
include ::Google::Protobuf::MessageExts
|
|
2375
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2376
|
+
|
|
2377
|
+
sig do
|
|
2378
|
+
params(
|
|
2379
|
+
name: T.nilable(String),
|
|
2380
|
+
resource_version: T.nilable(String),
|
|
2381
|
+
state: T.nilable(T.any(Symbol, String, Integer)),
|
|
2382
|
+
spec: T.nilable(Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec),
|
|
2383
|
+
health: T.nilable(T.any(Symbol, String, Integer)),
|
|
2384
|
+
error_message: T.nilable(String),
|
|
2385
|
+
latest_data_export_time: T.nilable(Google::Protobuf::Timestamp),
|
|
2386
|
+
last_health_check_time: T.nilable(Google::Protobuf::Timestamp)
|
|
2387
|
+
).void
|
|
2388
|
+
end
|
|
2389
|
+
def initialize(
|
|
2390
|
+
name: "",
|
|
2391
|
+
resource_version: "",
|
|
2392
|
+
state: :RESOURCE_STATE_UNSPECIFIED,
|
|
2393
|
+
spec: nil,
|
|
2394
|
+
health: :HEALTH_UNSPECIFIED,
|
|
2395
|
+
error_message: "",
|
|
2396
|
+
latest_data_export_time: nil,
|
|
2397
|
+
last_health_check_time: nil
|
|
2398
|
+
)
|
|
2399
|
+
end
|
|
2400
|
+
|
|
2401
|
+
# The unique name of the export sink, once set it can't be changed
|
|
2402
|
+
sig { returns(String) }
|
|
2403
|
+
def name
|
|
2404
|
+
end
|
|
2405
|
+
|
|
2406
|
+
# The unique name of the export sink, once set it can't be changed
|
|
2407
|
+
sig { params(value: String).void }
|
|
2408
|
+
def name=(value)
|
|
2409
|
+
end
|
|
2410
|
+
|
|
2411
|
+
# The unique name of the export sink, once set it can't be changed
|
|
2412
|
+
sig { void }
|
|
2413
|
+
def clear_name
|
|
2414
|
+
end
|
|
2415
|
+
|
|
2416
|
+
# The version of the export sink resource.
|
|
2417
|
+
sig { returns(String) }
|
|
2418
|
+
def resource_version
|
|
2419
|
+
end
|
|
2420
|
+
|
|
2421
|
+
# The version of the export sink resource.
|
|
2422
|
+
sig { params(value: String).void }
|
|
2423
|
+
def resource_version=(value)
|
|
2424
|
+
end
|
|
2425
|
+
|
|
2426
|
+
# The version of the export sink resource.
|
|
2427
|
+
sig { void }
|
|
2428
|
+
def clear_resource_version
|
|
2429
|
+
end
|
|
2430
|
+
|
|
2431
|
+
# The current state of the export sink.
|
|
2432
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
2433
|
+
def state
|
|
2434
|
+
end
|
|
2435
|
+
|
|
2436
|
+
# The current state of the export sink.
|
|
2437
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
2438
|
+
def state=(value)
|
|
2439
|
+
end
|
|
2440
|
+
|
|
2441
|
+
# The current state of the export sink.
|
|
2442
|
+
sig { void }
|
|
2443
|
+
def clear_state
|
|
2444
|
+
end
|
|
2445
|
+
|
|
2446
|
+
# The specification details of the export sink.
|
|
2447
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec)) }
|
|
2448
|
+
def spec
|
|
2449
|
+
end
|
|
2450
|
+
|
|
2451
|
+
# The specification details of the export sink.
|
|
2452
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec)).void }
|
|
2453
|
+
def spec=(value)
|
|
2454
|
+
end
|
|
2455
|
+
|
|
2456
|
+
# The specification details of the export sink.
|
|
2457
|
+
sig { void }
|
|
2458
|
+
def clear_spec
|
|
2459
|
+
end
|
|
2460
|
+
|
|
2461
|
+
# The health status of the export sink.
|
|
2462
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
2463
|
+
def health
|
|
2464
|
+
end
|
|
2465
|
+
|
|
2466
|
+
# The health status of the export sink.
|
|
2467
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
2468
|
+
def health=(value)
|
|
2469
|
+
end
|
|
2470
|
+
|
|
2471
|
+
# The health status of the export sink.
|
|
2472
|
+
sig { void }
|
|
2473
|
+
def clear_health
|
|
2474
|
+
end
|
|
2475
|
+
|
|
2476
|
+
# An error message describing any issues with the export sink, if applicable.
|
|
2477
|
+
sig { returns(String) }
|
|
2478
|
+
def error_message
|
|
2479
|
+
end
|
|
2480
|
+
|
|
2481
|
+
# An error message describing any issues with the export sink, if applicable.
|
|
2482
|
+
sig { params(value: String).void }
|
|
2483
|
+
def error_message=(value)
|
|
2484
|
+
end
|
|
2485
|
+
|
|
2486
|
+
# An error message describing any issues with the export sink, if applicable.
|
|
2487
|
+
sig { void }
|
|
2488
|
+
def clear_error_message
|
|
2489
|
+
end
|
|
2490
|
+
|
|
2491
|
+
# The timestamp of the latest successful data export.
|
|
2492
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
2493
|
+
def latest_data_export_time
|
|
2494
|
+
end
|
|
2495
|
+
|
|
2496
|
+
# The timestamp of the latest successful data export.
|
|
2497
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
2498
|
+
def latest_data_export_time=(value)
|
|
2499
|
+
end
|
|
2500
|
+
|
|
2501
|
+
# The timestamp of the latest successful data export.
|
|
2502
|
+
sig { void }
|
|
2503
|
+
def clear_latest_data_export_time
|
|
2504
|
+
end
|
|
2505
|
+
|
|
2506
|
+
# The timestamp of the last health check performed on the export sink.
|
|
2507
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
2508
|
+
def last_health_check_time
|
|
2509
|
+
end
|
|
2510
|
+
|
|
2511
|
+
# The timestamp of the last health check performed on the export sink.
|
|
2512
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
2513
|
+
def last_health_check_time=(value)
|
|
2514
|
+
end
|
|
2515
|
+
|
|
2516
|
+
# The timestamp of the last health check performed on the export sink.
|
|
2517
|
+
sig { void }
|
|
2518
|
+
def clear_last_health_check_time
|
|
2519
|
+
end
|
|
2520
|
+
|
|
2521
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2522
|
+
def [](field)
|
|
2523
|
+
end
|
|
2524
|
+
|
|
2525
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2526
|
+
def []=(field, value)
|
|
2527
|
+
end
|
|
2528
|
+
|
|
2529
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2530
|
+
def to_h
|
|
2531
|
+
end
|
|
2532
|
+
|
|
2533
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::ExportSink) }
|
|
2534
|
+
def self.decode(str)
|
|
2535
|
+
end
|
|
2536
|
+
|
|
2537
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::ExportSink).returns(String) }
|
|
2538
|
+
def self.encode(msg)
|
|
2539
|
+
end
|
|
2540
|
+
|
|
2541
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::ExportSink) }
|
|
2542
|
+
def self.decode_json(str, **kw)
|
|
2543
|
+
end
|
|
2544
|
+
|
|
2545
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::ExportSink, kw: T.untyped).returns(String) }
|
|
2546
|
+
def self.encode_json(msg, **kw)
|
|
2547
|
+
end
|
|
2548
|
+
|
|
2549
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2550
|
+
def self.descriptor
|
|
2551
|
+
end
|
|
2552
|
+
end
|
|
2553
|
+
|
|
2554
|
+
# NamespaceCapacityInfo contains detailed capacity information for a namespace.
|
|
2555
|
+
class Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo
|
|
2556
|
+
include ::Google::Protobuf::MessageExts
|
|
2557
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2558
|
+
|
|
2559
|
+
sig do
|
|
2560
|
+
params(
|
|
2561
|
+
namespace: T.nilable(String),
|
|
2562
|
+
has_legacy_limits: T.nilable(T::Boolean),
|
|
2563
|
+
current_capacity: T.nilable(Temporalio::Api::Cloud::Namespace::V1::Capacity),
|
|
2564
|
+
mode_options: T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions),
|
|
2565
|
+
stats: T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats)
|
|
2566
|
+
).void
|
|
2567
|
+
end
|
|
2568
|
+
def initialize(
|
|
2569
|
+
namespace: "",
|
|
2570
|
+
has_legacy_limits: false,
|
|
2571
|
+
current_capacity: nil,
|
|
2572
|
+
mode_options: nil,
|
|
2573
|
+
stats: nil
|
|
2574
|
+
)
|
|
2575
|
+
end
|
|
2576
|
+
|
|
2577
|
+
# The namespace identifier.
|
|
2578
|
+
sig { returns(String) }
|
|
2579
|
+
def namespace
|
|
2580
|
+
end
|
|
2581
|
+
|
|
2582
|
+
# The namespace identifier.
|
|
2583
|
+
sig { params(value: String).void }
|
|
2584
|
+
def namespace=(value)
|
|
2585
|
+
end
|
|
2586
|
+
|
|
2587
|
+
# The namespace identifier.
|
|
2588
|
+
sig { void }
|
|
2589
|
+
def clear_namespace
|
|
2590
|
+
end
|
|
2591
|
+
|
|
2592
|
+
# Whether the namespace's APS limit was set by Temporal Support.
|
|
2593
|
+
# When true, adjusting the namespace's capacity will reset this limit.
|
|
2594
|
+
sig { returns(T::Boolean) }
|
|
2595
|
+
def has_legacy_limits
|
|
2596
|
+
end
|
|
2597
|
+
|
|
2598
|
+
# Whether the namespace's APS limit was set by Temporal Support.
|
|
2599
|
+
# When true, adjusting the namespace's capacity will reset this limit.
|
|
2600
|
+
sig { params(value: T::Boolean).void }
|
|
2601
|
+
def has_legacy_limits=(value)
|
|
2602
|
+
end
|
|
2603
|
+
|
|
2604
|
+
# Whether the namespace's APS limit was set by Temporal Support.
|
|
2605
|
+
# When true, adjusting the namespace's capacity will reset this limit.
|
|
2606
|
+
sig { void }
|
|
2607
|
+
def clear_has_legacy_limits
|
|
2608
|
+
end
|
|
2609
|
+
|
|
2610
|
+
# The current capacity of the namespace.
|
|
2611
|
+
# Includes the current mode (on-demand or provisioned) and latest request status.
|
|
2612
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::Capacity)) }
|
|
2613
|
+
def current_capacity
|
|
2614
|
+
end
|
|
2615
|
+
|
|
2616
|
+
# The current capacity of the namespace.
|
|
2617
|
+
# Includes the current mode (on-demand or provisioned) and latest request status.
|
|
2618
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::Capacity)).void }
|
|
2619
|
+
def current_capacity=(value)
|
|
2620
|
+
end
|
|
2621
|
+
|
|
2622
|
+
# The current capacity of the namespace.
|
|
2623
|
+
# Includes the current mode (on-demand or provisioned) and latest request status.
|
|
2624
|
+
sig { void }
|
|
2625
|
+
def clear_current_capacity
|
|
2626
|
+
end
|
|
2627
|
+
|
|
2628
|
+
# Available capacity mode options for this namespace.
|
|
2629
|
+
# Contains configuration limits for both provisioned and on-demand modes.
|
|
2630
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions)) }
|
|
2631
|
+
def mode_options
|
|
2632
|
+
end
|
|
2633
|
+
|
|
2634
|
+
# Available capacity mode options for this namespace.
|
|
2635
|
+
# Contains configuration limits for both provisioned and on-demand modes.
|
|
2636
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions)).void }
|
|
2637
|
+
def mode_options=(value)
|
|
2638
|
+
end
|
|
2639
|
+
|
|
2640
|
+
# Available capacity mode options for this namespace.
|
|
2641
|
+
# Contains configuration limits for both provisioned and on-demand modes.
|
|
2642
|
+
sig { void }
|
|
2643
|
+
def clear_mode_options
|
|
2644
|
+
end
|
|
2645
|
+
|
|
2646
|
+
# Usage statistics for the namespace over the last 7 days.
|
|
2647
|
+
# Used to calculate On-Demand capacity limits, also useful for capacity planning.
|
|
2648
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats)) }
|
|
2649
|
+
def stats
|
|
2650
|
+
end
|
|
2651
|
+
|
|
2652
|
+
# Usage statistics for the namespace over the last 7 days.
|
|
2653
|
+
# Used to calculate On-Demand capacity limits, also useful for capacity planning.
|
|
2654
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats)).void }
|
|
2655
|
+
def stats=(value)
|
|
2656
|
+
end
|
|
2657
|
+
|
|
2658
|
+
# Usage statistics for the namespace over the last 7 days.
|
|
2659
|
+
# Used to calculate On-Demand capacity limits, also useful for capacity planning.
|
|
2660
|
+
sig { void }
|
|
2661
|
+
def clear_stats
|
|
2662
|
+
end
|
|
2663
|
+
|
|
2664
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2665
|
+
def [](field)
|
|
2666
|
+
end
|
|
2667
|
+
|
|
2668
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2669
|
+
def []=(field, value)
|
|
2670
|
+
end
|
|
2671
|
+
|
|
2672
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2673
|
+
def to_h
|
|
2674
|
+
end
|
|
2675
|
+
|
|
2676
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo) }
|
|
2677
|
+
def self.decode(str)
|
|
2678
|
+
end
|
|
2679
|
+
|
|
2680
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo).returns(String) }
|
|
2681
|
+
def self.encode(msg)
|
|
2682
|
+
end
|
|
2683
|
+
|
|
2684
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo) }
|
|
2685
|
+
def self.decode_json(str, **kw)
|
|
2686
|
+
end
|
|
2687
|
+
|
|
2688
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo, kw: T.untyped).returns(String) }
|
|
2689
|
+
def self.encode_json(msg, **kw)
|
|
2690
|
+
end
|
|
2691
|
+
|
|
2692
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2693
|
+
def self.descriptor
|
|
2694
|
+
end
|
|
2695
|
+
end
|
|
2696
|
+
|
|
2697
|
+
class Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage
|
|
2698
|
+
include ::Google::Protobuf::MessageExts
|
|
2699
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2700
|
+
|
|
2701
|
+
sig do
|
|
2702
|
+
params(
|
|
2703
|
+
default: T.nilable(Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage::ErrorMessage)
|
|
2704
|
+
).void
|
|
2705
|
+
end
|
|
2706
|
+
def initialize(
|
|
2707
|
+
default: nil
|
|
2708
|
+
)
|
|
2709
|
+
end
|
|
2710
|
+
|
|
2711
|
+
# The error message to display by default for any remote codec server errors.
|
|
2712
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage::ErrorMessage)) }
|
|
2713
|
+
def default
|
|
2714
|
+
end
|
|
2715
|
+
|
|
2716
|
+
# The error message to display by default for any remote codec server errors.
|
|
2717
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage::ErrorMessage)).void }
|
|
2718
|
+
def default=(value)
|
|
2719
|
+
end
|
|
2720
|
+
|
|
2721
|
+
# The error message to display by default for any remote codec server errors.
|
|
2722
|
+
sig { void }
|
|
2723
|
+
def clear_default
|
|
2724
|
+
end
|
|
2725
|
+
|
|
2726
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2727
|
+
def [](field)
|
|
2728
|
+
end
|
|
2729
|
+
|
|
2730
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2731
|
+
def []=(field, value)
|
|
2732
|
+
end
|
|
2733
|
+
|
|
2734
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2735
|
+
def to_h
|
|
2736
|
+
end
|
|
2737
|
+
|
|
2738
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage) }
|
|
2739
|
+
def self.decode(str)
|
|
2740
|
+
end
|
|
2741
|
+
|
|
2742
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage).returns(String) }
|
|
2743
|
+
def self.encode(msg)
|
|
2744
|
+
end
|
|
2745
|
+
|
|
2746
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage) }
|
|
2747
|
+
def self.decode_json(str, **kw)
|
|
2748
|
+
end
|
|
2749
|
+
|
|
2750
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage, kw: T.untyped).returns(String) }
|
|
2751
|
+
def self.encode_json(msg, **kw)
|
|
2752
|
+
end
|
|
2753
|
+
|
|
2754
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2755
|
+
def self.descriptor
|
|
2756
|
+
end
|
|
2757
|
+
end
|
|
2758
|
+
|
|
2759
|
+
class Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage::ErrorMessage
|
|
2760
|
+
include ::Google::Protobuf::MessageExts
|
|
2761
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2762
|
+
|
|
2763
|
+
sig do
|
|
2764
|
+
params(
|
|
2765
|
+
message: T.nilable(String),
|
|
2766
|
+
link: T.nilable(String)
|
|
2767
|
+
).void
|
|
2768
|
+
end
|
|
2769
|
+
def initialize(
|
|
2770
|
+
message: "",
|
|
2771
|
+
link: ""
|
|
2772
|
+
)
|
|
2773
|
+
end
|
|
2774
|
+
|
|
2775
|
+
# A message to display.
|
|
2776
|
+
sig { returns(String) }
|
|
2777
|
+
def message
|
|
2778
|
+
end
|
|
2779
|
+
|
|
2780
|
+
# A message to display.
|
|
2781
|
+
sig { params(value: String).void }
|
|
2782
|
+
def message=(value)
|
|
2783
|
+
end
|
|
2784
|
+
|
|
2785
|
+
# A message to display.
|
|
2786
|
+
sig { void }
|
|
2787
|
+
def clear_message
|
|
2788
|
+
end
|
|
2789
|
+
|
|
2790
|
+
# A link that is displayed along side the configured message.
|
|
2791
|
+
sig { returns(String) }
|
|
2792
|
+
def link
|
|
2793
|
+
end
|
|
2794
|
+
|
|
2795
|
+
# A link that is displayed along side the configured message.
|
|
2796
|
+
sig { params(value: String).void }
|
|
2797
|
+
def link=(value)
|
|
2798
|
+
end
|
|
2799
|
+
|
|
2800
|
+
# A link that is displayed along side the configured message.
|
|
2801
|
+
sig { void }
|
|
2802
|
+
def clear_link
|
|
2803
|
+
end
|
|
2804
|
+
|
|
2805
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2806
|
+
def [](field)
|
|
2807
|
+
end
|
|
2808
|
+
|
|
2809
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2810
|
+
def []=(field, value)
|
|
2811
|
+
end
|
|
2812
|
+
|
|
2813
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2814
|
+
def to_h
|
|
2815
|
+
end
|
|
2816
|
+
|
|
2817
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage::ErrorMessage) }
|
|
2818
|
+
def self.decode(str)
|
|
2819
|
+
end
|
|
2820
|
+
|
|
2821
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage::ErrorMessage).returns(String) }
|
|
2822
|
+
def self.encode(msg)
|
|
2823
|
+
end
|
|
2824
|
+
|
|
2825
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage::ErrorMessage) }
|
|
2826
|
+
def self.decode_json(str, **kw)
|
|
2827
|
+
end
|
|
2828
|
+
|
|
2829
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::CodecServerSpec::CustomErrorMessage::ErrorMessage, kw: T.untyped).returns(String) }
|
|
2830
|
+
def self.encode_json(msg, **kw)
|
|
2831
|
+
end
|
|
2832
|
+
|
|
2833
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2834
|
+
def self.descriptor
|
|
2835
|
+
end
|
|
2836
|
+
end
|
|
2837
|
+
|
|
2838
|
+
class Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::OnDemand
|
|
2839
|
+
include ::Google::Protobuf::MessageExts
|
|
2840
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2841
|
+
|
|
2842
|
+
sig {void}
|
|
2843
|
+
def initialize; end
|
|
2844
|
+
|
|
2845
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2846
|
+
def [](field)
|
|
2847
|
+
end
|
|
2848
|
+
|
|
2849
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2850
|
+
def []=(field, value)
|
|
2851
|
+
end
|
|
2852
|
+
|
|
2853
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2854
|
+
def to_h
|
|
2855
|
+
end
|
|
2856
|
+
|
|
2857
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::OnDemand) }
|
|
2858
|
+
def self.decode(str)
|
|
2859
|
+
end
|
|
2860
|
+
|
|
2861
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::OnDemand).returns(String) }
|
|
2862
|
+
def self.encode(msg)
|
|
2863
|
+
end
|
|
2864
|
+
|
|
2865
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::OnDemand) }
|
|
2866
|
+
def self.decode_json(str, **kw)
|
|
2867
|
+
end
|
|
2868
|
+
|
|
2869
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::OnDemand, kw: T.untyped).returns(String) }
|
|
2870
|
+
def self.encode_json(msg, **kw)
|
|
2871
|
+
end
|
|
2872
|
+
|
|
2873
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2874
|
+
def self.descriptor
|
|
2875
|
+
end
|
|
2876
|
+
end
|
|
2877
|
+
|
|
2878
|
+
class Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::Provisioned
|
|
2879
|
+
include ::Google::Protobuf::MessageExts
|
|
2880
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2881
|
+
|
|
2882
|
+
sig do
|
|
2883
|
+
params(
|
|
2884
|
+
value: T.nilable(Float)
|
|
2885
|
+
).void
|
|
2886
|
+
end
|
|
2887
|
+
def initialize(
|
|
2888
|
+
value: 0.0
|
|
2889
|
+
)
|
|
2890
|
+
end
|
|
2891
|
+
|
|
2892
|
+
# The units of provisioned capacity in TRU (Temporal Resource Units).
|
|
2893
|
+
# Each TRU unit assigned to the namespace will entitle it with additional APS limits as specified in the documentation.
|
|
2894
|
+
sig { returns(Float) }
|
|
2895
|
+
def value
|
|
2896
|
+
end
|
|
2897
|
+
|
|
2898
|
+
# The units of provisioned capacity in TRU (Temporal Resource Units).
|
|
2899
|
+
# Each TRU unit assigned to the namespace will entitle it with additional APS limits as specified in the documentation.
|
|
2900
|
+
sig { params(value: Float).void }
|
|
2901
|
+
def value=(value)
|
|
2902
|
+
end
|
|
2903
|
+
|
|
2904
|
+
# The units of provisioned capacity in TRU (Temporal Resource Units).
|
|
2905
|
+
# Each TRU unit assigned to the namespace will entitle it with additional APS limits as specified in the documentation.
|
|
2906
|
+
sig { void }
|
|
2907
|
+
def clear_value
|
|
2908
|
+
end
|
|
2909
|
+
|
|
2910
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2911
|
+
def [](field)
|
|
2912
|
+
end
|
|
2913
|
+
|
|
2914
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2915
|
+
def []=(field, value)
|
|
2916
|
+
end
|
|
2917
|
+
|
|
2918
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2919
|
+
def to_h
|
|
2920
|
+
end
|
|
2921
|
+
|
|
2922
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::Provisioned) }
|
|
2923
|
+
def self.decode(str)
|
|
2924
|
+
end
|
|
2925
|
+
|
|
2926
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::Provisioned).returns(String) }
|
|
2927
|
+
def self.encode(msg)
|
|
2928
|
+
end
|
|
2929
|
+
|
|
2930
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::Provisioned) }
|
|
2931
|
+
def self.decode_json(str, **kw)
|
|
2932
|
+
end
|
|
2933
|
+
|
|
2934
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::CapacitySpec::Provisioned, kw: T.untyped).returns(String) }
|
|
2935
|
+
def self.encode_json(msg, **kw)
|
|
2936
|
+
end
|
|
2937
|
+
|
|
2938
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2939
|
+
def self.descriptor
|
|
2940
|
+
end
|
|
2941
|
+
end
|
|
2942
|
+
|
|
2943
|
+
class Temporalio::Api::Cloud::Namespace::V1::Capacity::OnDemand
|
|
2944
|
+
include ::Google::Protobuf::MessageExts
|
|
2945
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2946
|
+
|
|
2947
|
+
sig {void}
|
|
2948
|
+
def initialize; end
|
|
2949
|
+
|
|
2950
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2951
|
+
def [](field)
|
|
2952
|
+
end
|
|
2953
|
+
|
|
2954
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2955
|
+
def []=(field, value)
|
|
2956
|
+
end
|
|
2957
|
+
|
|
2958
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2959
|
+
def to_h
|
|
2960
|
+
end
|
|
2961
|
+
|
|
2962
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::Capacity::OnDemand) }
|
|
2963
|
+
def self.decode(str)
|
|
2964
|
+
end
|
|
2965
|
+
|
|
2966
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::Capacity::OnDemand).returns(String) }
|
|
2967
|
+
def self.encode(msg)
|
|
2968
|
+
end
|
|
2969
|
+
|
|
2970
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::Capacity::OnDemand) }
|
|
2971
|
+
def self.decode_json(str, **kw)
|
|
2972
|
+
end
|
|
2973
|
+
|
|
2974
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::Capacity::OnDemand, kw: T.untyped).returns(String) }
|
|
2975
|
+
def self.encode_json(msg, **kw)
|
|
2976
|
+
end
|
|
2977
|
+
|
|
2978
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2979
|
+
def self.descriptor
|
|
2980
|
+
end
|
|
2981
|
+
end
|
|
2982
|
+
|
|
2983
|
+
class Temporalio::Api::Cloud::Namespace::V1::Capacity::Provisioned
|
|
2984
|
+
include ::Google::Protobuf::MessageExts
|
|
2985
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2986
|
+
|
|
2987
|
+
sig do
|
|
2988
|
+
params(
|
|
2989
|
+
current_value: T.nilable(Float)
|
|
2990
|
+
).void
|
|
2991
|
+
end
|
|
2992
|
+
def initialize(
|
|
2993
|
+
current_value: 0.0
|
|
2994
|
+
)
|
|
2995
|
+
end
|
|
2996
|
+
|
|
2997
|
+
# The current provisioned capacity for the namespace in Temporal Resource Units.
|
|
2998
|
+
# Can be different from the requested capacity in latest_request if the request is still in progress.
|
|
2999
|
+
sig { returns(Float) }
|
|
3000
|
+
def current_value
|
|
3001
|
+
end
|
|
3002
|
+
|
|
3003
|
+
# The current provisioned capacity for the namespace in Temporal Resource Units.
|
|
3004
|
+
# Can be different from the requested capacity in latest_request if the request is still in progress.
|
|
3005
|
+
sig { params(value: Float).void }
|
|
3006
|
+
def current_value=(value)
|
|
3007
|
+
end
|
|
3008
|
+
|
|
3009
|
+
# The current provisioned capacity for the namespace in Temporal Resource Units.
|
|
3010
|
+
# Can be different from the requested capacity in latest_request if the request is still in progress.
|
|
3011
|
+
sig { void }
|
|
3012
|
+
def clear_current_value
|
|
3013
|
+
end
|
|
3014
|
+
|
|
3015
|
+
sig { params(field: String).returns(T.untyped) }
|
|
3016
|
+
def [](field)
|
|
3017
|
+
end
|
|
3018
|
+
|
|
3019
|
+
sig { params(field: String, value: T.untyped).void }
|
|
3020
|
+
def []=(field, value)
|
|
3021
|
+
end
|
|
3022
|
+
|
|
3023
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
3024
|
+
def to_h
|
|
3025
|
+
end
|
|
3026
|
+
|
|
3027
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::Capacity::Provisioned) }
|
|
3028
|
+
def self.decode(str)
|
|
3029
|
+
end
|
|
3030
|
+
|
|
3031
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::Capacity::Provisioned).returns(String) }
|
|
3032
|
+
def self.encode(msg)
|
|
3033
|
+
end
|
|
3034
|
+
|
|
3035
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::Capacity::Provisioned) }
|
|
3036
|
+
def self.decode_json(str, **kw)
|
|
3037
|
+
end
|
|
3038
|
+
|
|
3039
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::Capacity::Provisioned, kw: T.untyped).returns(String) }
|
|
3040
|
+
def self.encode_json(msg, **kw)
|
|
3041
|
+
end
|
|
3042
|
+
|
|
3043
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
3044
|
+
def self.descriptor
|
|
3045
|
+
end
|
|
3046
|
+
end
|
|
3047
|
+
|
|
3048
|
+
class Temporalio::Api::Cloud::Namespace::V1::Capacity::Request
|
|
3049
|
+
include ::Google::Protobuf::MessageExts
|
|
3050
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
3051
|
+
|
|
3052
|
+
sig do
|
|
3053
|
+
params(
|
|
3054
|
+
state: T.nilable(T.any(Symbol, String, Integer)),
|
|
3055
|
+
start_time: T.nilable(Google::Protobuf::Timestamp),
|
|
3056
|
+
end_time: T.nilable(Google::Protobuf::Timestamp),
|
|
3057
|
+
async_operation_id: T.nilable(String),
|
|
3058
|
+
spec: T.nilable(Temporalio::Api::Cloud::Namespace::V1::CapacitySpec)
|
|
3059
|
+
).void
|
|
3060
|
+
end
|
|
3061
|
+
def initialize(
|
|
3062
|
+
state: :STATE_CAPACITY_REQUEST_UNSPECIFIED,
|
|
3063
|
+
start_time: nil,
|
|
3064
|
+
end_time: nil,
|
|
3065
|
+
async_operation_id: "",
|
|
3066
|
+
spec: nil
|
|
3067
|
+
)
|
|
3068
|
+
end
|
|
3069
|
+
|
|
3070
|
+
# The current state of the capacity request (e.g. in-progress, completed, failed).
|
|
3071
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
3072
|
+
def state
|
|
3073
|
+
end
|
|
3074
|
+
|
|
3075
|
+
# The current state of the capacity request (e.g. in-progress, completed, failed).
|
|
3076
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
3077
|
+
def state=(value)
|
|
3078
|
+
end
|
|
3079
|
+
|
|
3080
|
+
# The current state of the capacity request (e.g. in-progress, completed, failed).
|
|
3081
|
+
sig { void }
|
|
3082
|
+
def clear_state
|
|
3083
|
+
end
|
|
3084
|
+
|
|
3085
|
+
# The date and time when the capacity request was created.
|
|
3086
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
3087
|
+
def start_time
|
|
3088
|
+
end
|
|
3089
|
+
|
|
3090
|
+
# The date and time when the capacity request was created.
|
|
3091
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
3092
|
+
def start_time=(value)
|
|
3093
|
+
end
|
|
3094
|
+
|
|
3095
|
+
# The date and time when the capacity request was created.
|
|
3096
|
+
sig { void }
|
|
3097
|
+
def clear_start_time
|
|
3098
|
+
end
|
|
3099
|
+
|
|
3100
|
+
# The date and time when the capacity request was completed or failed.
|
|
3101
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
3102
|
+
def end_time
|
|
3103
|
+
end
|
|
3104
|
+
|
|
3105
|
+
# The date and time when the capacity request was completed or failed.
|
|
3106
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
3107
|
+
def end_time=(value)
|
|
3108
|
+
end
|
|
3109
|
+
|
|
3110
|
+
# The date and time when the capacity request was completed or failed.
|
|
3111
|
+
sig { void }
|
|
3112
|
+
def clear_end_time
|
|
3113
|
+
end
|
|
3114
|
+
|
|
3115
|
+
# The id of the async operation that is creating/updating/deleting the capacity, if any.
|
|
3116
|
+
sig { returns(String) }
|
|
3117
|
+
def async_operation_id
|
|
3118
|
+
end
|
|
3119
|
+
|
|
3120
|
+
# The id of the async operation that is creating/updating/deleting the capacity, if any.
|
|
3121
|
+
sig { params(value: String).void }
|
|
3122
|
+
def async_operation_id=(value)
|
|
3123
|
+
end
|
|
3124
|
+
|
|
3125
|
+
# The id of the async operation that is creating/updating/deleting the capacity, if any.
|
|
3126
|
+
sig { void }
|
|
3127
|
+
def clear_async_operation_id
|
|
3128
|
+
end
|
|
3129
|
+
|
|
3130
|
+
# The requested capacity specification.
|
|
3131
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::CapacitySpec)) }
|
|
3132
|
+
def spec
|
|
3133
|
+
end
|
|
3134
|
+
|
|
3135
|
+
# The requested capacity specification.
|
|
3136
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::CapacitySpec)).void }
|
|
3137
|
+
def spec=(value)
|
|
3138
|
+
end
|
|
3139
|
+
|
|
3140
|
+
# The requested capacity specification.
|
|
3141
|
+
sig { void }
|
|
3142
|
+
def clear_spec
|
|
3143
|
+
end
|
|
3144
|
+
|
|
3145
|
+
sig { params(field: String).returns(T.untyped) }
|
|
3146
|
+
def [](field)
|
|
3147
|
+
end
|
|
3148
|
+
|
|
3149
|
+
sig { params(field: String, value: T.untyped).void }
|
|
3150
|
+
def []=(field, value)
|
|
3151
|
+
end
|
|
3152
|
+
|
|
3153
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
3154
|
+
def to_h
|
|
3155
|
+
end
|
|
3156
|
+
|
|
3157
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::Capacity::Request) }
|
|
3158
|
+
def self.decode(str)
|
|
3159
|
+
end
|
|
3160
|
+
|
|
3161
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::Capacity::Request).returns(String) }
|
|
3162
|
+
def self.encode(msg)
|
|
3163
|
+
end
|
|
3164
|
+
|
|
3165
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::Capacity::Request) }
|
|
3166
|
+
def self.decode_json(str, **kw)
|
|
3167
|
+
end
|
|
3168
|
+
|
|
3169
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::Capacity::Request, kw: T.untyped).returns(String) }
|
|
3170
|
+
def self.encode_json(msg, **kw)
|
|
3171
|
+
end
|
|
3172
|
+
|
|
3173
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
3174
|
+
def self.descriptor
|
|
3175
|
+
end
|
|
3176
|
+
end
|
|
3177
|
+
|
|
3178
|
+
class Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions
|
|
3179
|
+
include ::Google::Protobuf::MessageExts
|
|
3180
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
3181
|
+
|
|
3182
|
+
sig do
|
|
3183
|
+
params(
|
|
3184
|
+
provisioned: T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::Provisioned),
|
|
3185
|
+
on_demand: T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::OnDemand)
|
|
3186
|
+
).void
|
|
3187
|
+
end
|
|
3188
|
+
def initialize(
|
|
3189
|
+
provisioned: nil,
|
|
3190
|
+
on_demand: nil
|
|
3191
|
+
)
|
|
3192
|
+
end
|
|
3193
|
+
|
|
3194
|
+
# Provisioned capacity options and entitlements.
|
|
3195
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::Provisioned)) }
|
|
3196
|
+
def provisioned
|
|
3197
|
+
end
|
|
3198
|
+
|
|
3199
|
+
# Provisioned capacity options and entitlements.
|
|
3200
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::Provisioned)).void }
|
|
3201
|
+
def provisioned=(value)
|
|
3202
|
+
end
|
|
3203
|
+
|
|
3204
|
+
# Provisioned capacity options and entitlements.
|
|
3205
|
+
sig { void }
|
|
3206
|
+
def clear_provisioned
|
|
3207
|
+
end
|
|
3208
|
+
|
|
3209
|
+
# On-Demand capacity information.
|
|
3210
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::OnDemand)) }
|
|
3211
|
+
def on_demand
|
|
3212
|
+
end
|
|
3213
|
+
|
|
3214
|
+
# On-Demand capacity information.
|
|
3215
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::OnDemand)).void }
|
|
3216
|
+
def on_demand=(value)
|
|
3217
|
+
end
|
|
3218
|
+
|
|
3219
|
+
# On-Demand capacity information.
|
|
3220
|
+
sig { void }
|
|
3221
|
+
def clear_on_demand
|
|
3222
|
+
end
|
|
3223
|
+
|
|
3224
|
+
sig { params(field: String).returns(T.untyped) }
|
|
3225
|
+
def [](field)
|
|
3226
|
+
end
|
|
3227
|
+
|
|
3228
|
+
sig { params(field: String, value: T.untyped).void }
|
|
3229
|
+
def []=(field, value)
|
|
3230
|
+
end
|
|
3231
|
+
|
|
3232
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
3233
|
+
def to_h
|
|
3234
|
+
end
|
|
3235
|
+
|
|
3236
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions) }
|
|
3237
|
+
def self.decode(str)
|
|
3238
|
+
end
|
|
3239
|
+
|
|
3240
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions).returns(String) }
|
|
3241
|
+
def self.encode(msg)
|
|
3242
|
+
end
|
|
3243
|
+
|
|
3244
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions) }
|
|
3245
|
+
def self.decode_json(str, **kw)
|
|
3246
|
+
end
|
|
3247
|
+
|
|
3248
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions, kw: T.untyped).returns(String) }
|
|
3249
|
+
def self.encode_json(msg, **kw)
|
|
3250
|
+
end
|
|
3251
|
+
|
|
3252
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
3253
|
+
def self.descriptor
|
|
3254
|
+
end
|
|
3255
|
+
end
|
|
3256
|
+
|
|
3257
|
+
class Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats
|
|
3258
|
+
include ::Google::Protobuf::MessageExts
|
|
3259
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
3260
|
+
|
|
3261
|
+
sig do
|
|
3262
|
+
params(
|
|
3263
|
+
aps: T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::Summary)
|
|
3264
|
+
).void
|
|
3265
|
+
end
|
|
3266
|
+
def initialize(
|
|
3267
|
+
aps: nil
|
|
3268
|
+
)
|
|
3269
|
+
end
|
|
3270
|
+
|
|
3271
|
+
# Actions-per-second measurements summarized over the last 7 days.
|
|
3272
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::Summary)) }
|
|
3273
|
+
def aps
|
|
3274
|
+
end
|
|
3275
|
+
|
|
3276
|
+
# Actions-per-second measurements summarized over the last 7 days.
|
|
3277
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::Summary)).void }
|
|
3278
|
+
def aps=(value)
|
|
3279
|
+
end
|
|
3280
|
+
|
|
3281
|
+
# Actions-per-second measurements summarized over the last 7 days.
|
|
3282
|
+
sig { void }
|
|
3283
|
+
def clear_aps
|
|
3284
|
+
end
|
|
3285
|
+
|
|
3286
|
+
sig { params(field: String).returns(T.untyped) }
|
|
3287
|
+
def [](field)
|
|
3288
|
+
end
|
|
3289
|
+
|
|
3290
|
+
sig { params(field: String, value: T.untyped).void }
|
|
3291
|
+
def []=(field, value)
|
|
3292
|
+
end
|
|
3293
|
+
|
|
3294
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
3295
|
+
def to_h
|
|
3296
|
+
end
|
|
3297
|
+
|
|
3298
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats) }
|
|
3299
|
+
def self.decode(str)
|
|
3300
|
+
end
|
|
3301
|
+
|
|
3302
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats).returns(String) }
|
|
3303
|
+
def self.encode(msg)
|
|
3304
|
+
end
|
|
3305
|
+
|
|
3306
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats) }
|
|
3307
|
+
def self.decode_json(str, **kw)
|
|
3308
|
+
end
|
|
3309
|
+
|
|
3310
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats, kw: T.untyped).returns(String) }
|
|
3311
|
+
def self.encode_json(msg, **kw)
|
|
3312
|
+
end
|
|
3313
|
+
|
|
3314
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
3315
|
+
def self.descriptor
|
|
3316
|
+
end
|
|
3317
|
+
end
|
|
3318
|
+
|
|
3319
|
+
class Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::Provisioned
|
|
3320
|
+
include ::Google::Protobuf::MessageExts
|
|
3321
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
3322
|
+
|
|
3323
|
+
sig do
|
|
3324
|
+
params(
|
|
3325
|
+
valid_tru_values: T.nilable(T::Array[Float]),
|
|
3326
|
+
max_available_tru_value: T.nilable(Float)
|
|
3327
|
+
).void
|
|
3328
|
+
end
|
|
3329
|
+
def initialize(
|
|
3330
|
+
valid_tru_values: [],
|
|
3331
|
+
max_available_tru_value: 0.0
|
|
3332
|
+
)
|
|
3333
|
+
end
|
|
3334
|
+
|
|
3335
|
+
# The valid TRU (Temporal Resource Unit) values that can be set.
|
|
3336
|
+
# These are the discrete capacity tiers available for selection.
|
|
3337
|
+
sig { returns(T::Array[Float]) }
|
|
3338
|
+
def valid_tru_values
|
|
3339
|
+
end
|
|
3340
|
+
|
|
3341
|
+
# The valid TRU (Temporal Resource Unit) values that can be set.
|
|
3342
|
+
# These are the discrete capacity tiers available for selection.
|
|
3343
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
|
3344
|
+
def valid_tru_values=(value)
|
|
3345
|
+
end
|
|
3346
|
+
|
|
3347
|
+
# The valid TRU (Temporal Resource Unit) values that can be set.
|
|
3348
|
+
# These are the discrete capacity tiers available for selection.
|
|
3349
|
+
sig { void }
|
|
3350
|
+
def clear_valid_tru_values
|
|
3351
|
+
end
|
|
3352
|
+
|
|
3353
|
+
# The maximum TRU value that can currently be set for this namespace.
|
|
3354
|
+
# This may be lower than the highest value in valid_tru_values due to
|
|
3355
|
+
# inventory constraints.
|
|
3356
|
+
sig { returns(Float) }
|
|
3357
|
+
def max_available_tru_value
|
|
3358
|
+
end
|
|
3359
|
+
|
|
3360
|
+
# The maximum TRU value that can currently be set for this namespace.
|
|
3361
|
+
# This may be lower than the highest value in valid_tru_values due to
|
|
3362
|
+
# inventory constraints.
|
|
3363
|
+
sig { params(value: Float).void }
|
|
3364
|
+
def max_available_tru_value=(value)
|
|
3365
|
+
end
|
|
3366
|
+
|
|
3367
|
+
# The maximum TRU value that can currently be set for this namespace.
|
|
3368
|
+
# This may be lower than the highest value in valid_tru_values due to
|
|
3369
|
+
# inventory constraints.
|
|
3370
|
+
sig { void }
|
|
3371
|
+
def clear_max_available_tru_value
|
|
3372
|
+
end
|
|
3373
|
+
|
|
3374
|
+
sig { params(field: String).returns(T.untyped) }
|
|
3375
|
+
def [](field)
|
|
3376
|
+
end
|
|
3377
|
+
|
|
3378
|
+
sig { params(field: String, value: T.untyped).void }
|
|
3379
|
+
def []=(field, value)
|
|
3380
|
+
end
|
|
3381
|
+
|
|
3382
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
3383
|
+
def to_h
|
|
3384
|
+
end
|
|
3385
|
+
|
|
3386
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::Provisioned) }
|
|
3387
|
+
def self.decode(str)
|
|
3388
|
+
end
|
|
3389
|
+
|
|
3390
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::Provisioned).returns(String) }
|
|
3391
|
+
def self.encode(msg)
|
|
3392
|
+
end
|
|
3393
|
+
|
|
3394
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::Provisioned) }
|
|
3395
|
+
def self.decode_json(str, **kw)
|
|
3396
|
+
end
|
|
3397
|
+
|
|
3398
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::Provisioned, kw: T.untyped).returns(String) }
|
|
3399
|
+
def self.encode_json(msg, **kw)
|
|
3400
|
+
end
|
|
3401
|
+
|
|
3402
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
3403
|
+
def self.descriptor
|
|
3404
|
+
end
|
|
3405
|
+
end
|
|
3406
|
+
|
|
3407
|
+
class Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::OnDemand
|
|
3408
|
+
include ::Google::Protobuf::MessageExts
|
|
3409
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
3410
|
+
|
|
3411
|
+
sig do
|
|
3412
|
+
params(
|
|
3413
|
+
aps_limit: T.nilable(Float)
|
|
3414
|
+
).void
|
|
3415
|
+
end
|
|
3416
|
+
def initialize(
|
|
3417
|
+
aps_limit: 0.0
|
|
3418
|
+
)
|
|
3419
|
+
end
|
|
3420
|
+
|
|
3421
|
+
# The APS limit that would apply to this namespace in on-demand mode.
|
|
3422
|
+
# See: https://docs.temporal.io/cloud/limits#actions-per-second
|
|
3423
|
+
sig { returns(Float) }
|
|
3424
|
+
def aps_limit
|
|
3425
|
+
end
|
|
3426
|
+
|
|
3427
|
+
# The APS limit that would apply to this namespace in on-demand mode.
|
|
3428
|
+
# See: https://docs.temporal.io/cloud/limits#actions-per-second
|
|
3429
|
+
sig { params(value: Float).void }
|
|
3430
|
+
def aps_limit=(value)
|
|
3431
|
+
end
|
|
3432
|
+
|
|
3433
|
+
# The APS limit that would apply to this namespace in on-demand mode.
|
|
3434
|
+
# See: https://docs.temporal.io/cloud/limits#actions-per-second
|
|
3435
|
+
sig { void }
|
|
3436
|
+
def clear_aps_limit
|
|
3437
|
+
end
|
|
3438
|
+
|
|
3439
|
+
sig { params(field: String).returns(T.untyped) }
|
|
3440
|
+
def [](field)
|
|
3441
|
+
end
|
|
3442
|
+
|
|
3443
|
+
sig { params(field: String, value: T.untyped).void }
|
|
3444
|
+
def []=(field, value)
|
|
3445
|
+
end
|
|
3446
|
+
|
|
3447
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
3448
|
+
def to_h
|
|
3449
|
+
end
|
|
3450
|
+
|
|
3451
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::OnDemand) }
|
|
3452
|
+
def self.decode(str)
|
|
3453
|
+
end
|
|
3454
|
+
|
|
3455
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::OnDemand).returns(String) }
|
|
3456
|
+
def self.encode(msg)
|
|
3457
|
+
end
|
|
3458
|
+
|
|
3459
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::OnDemand) }
|
|
3460
|
+
def self.decode_json(str, **kw)
|
|
3461
|
+
end
|
|
3462
|
+
|
|
3463
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions::OnDemand, kw: T.untyped).returns(String) }
|
|
3464
|
+
def self.encode_json(msg, **kw)
|
|
3465
|
+
end
|
|
3466
|
+
|
|
3467
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
3468
|
+
def self.descriptor
|
|
3469
|
+
end
|
|
3470
|
+
end
|
|
3471
|
+
|
|
3472
|
+
class Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::Summary
|
|
3473
|
+
include ::Google::Protobuf::MessageExts
|
|
3474
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
3475
|
+
|
|
3476
|
+
sig do
|
|
3477
|
+
params(
|
|
3478
|
+
mean: T.nilable(Float),
|
|
3479
|
+
p90: T.nilable(Float),
|
|
3480
|
+
p99: T.nilable(Float)
|
|
3481
|
+
).void
|
|
3482
|
+
end
|
|
3483
|
+
def initialize(
|
|
3484
|
+
mean: 0.0,
|
|
3485
|
+
p90: 0.0,
|
|
3486
|
+
p99: 0.0
|
|
3487
|
+
)
|
|
3488
|
+
end
|
|
3489
|
+
|
|
3490
|
+
sig { returns(Float) }
|
|
3491
|
+
def mean
|
|
3492
|
+
end
|
|
3493
|
+
|
|
3494
|
+
sig { params(value: Float).void }
|
|
3495
|
+
def mean=(value)
|
|
3496
|
+
end
|
|
3497
|
+
|
|
3498
|
+
sig { void }
|
|
3499
|
+
def clear_mean
|
|
3500
|
+
end
|
|
3501
|
+
|
|
3502
|
+
sig { returns(Float) }
|
|
3503
|
+
def p90
|
|
3504
|
+
end
|
|
3505
|
+
|
|
3506
|
+
sig { params(value: Float).void }
|
|
3507
|
+
def p90=(value)
|
|
3508
|
+
end
|
|
3509
|
+
|
|
3510
|
+
sig { void }
|
|
3511
|
+
def clear_p90
|
|
3512
|
+
end
|
|
3513
|
+
|
|
3514
|
+
sig { returns(Float) }
|
|
3515
|
+
def p99
|
|
3516
|
+
end
|
|
3517
|
+
|
|
3518
|
+
sig { params(value: Float).void }
|
|
3519
|
+
def p99=(value)
|
|
3520
|
+
end
|
|
3521
|
+
|
|
3522
|
+
sig { void }
|
|
3523
|
+
def clear_p99
|
|
3524
|
+
end
|
|
3525
|
+
|
|
3526
|
+
sig { params(field: String).returns(T.untyped) }
|
|
3527
|
+
def [](field)
|
|
3528
|
+
end
|
|
3529
|
+
|
|
3530
|
+
sig { params(field: String, value: T.untyped).void }
|
|
3531
|
+
def []=(field, value)
|
|
3532
|
+
end
|
|
3533
|
+
|
|
3534
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
3535
|
+
def to_h
|
|
3536
|
+
end
|
|
3537
|
+
|
|
3538
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::Summary) }
|
|
3539
|
+
def self.decode(str)
|
|
3540
|
+
end
|
|
3541
|
+
|
|
3542
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::Summary).returns(String) }
|
|
3543
|
+
def self.encode(msg)
|
|
3544
|
+
end
|
|
3545
|
+
|
|
3546
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::Summary) }
|
|
3547
|
+
def self.decode_json(str, **kw)
|
|
3548
|
+
end
|
|
3549
|
+
|
|
3550
|
+
sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::Stats::Summary, kw: T.untyped).returns(String) }
|
|
3551
|
+
def self.encode_json(msg, **kw)
|
|
3552
|
+
end
|
|
3553
|
+
|
|
3554
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
3555
|
+
def self.descriptor
|
|
3556
|
+
end
|
|
3557
|
+
end
|
|
3558
|
+
|
|
3559
|
+
module Temporalio::Api::Cloud::Namespace::V1::Replica::ReplicaState
|
|
3560
|
+
self::REPLICA_STATE_UNSPECIFIED = T.let(0, Integer)
|
|
3561
|
+
self::REPLICA_STATE_ADDING = T.let(1, Integer)
|
|
3562
|
+
self::REPLICA_STATE_ACTIVE = T.let(2, Integer)
|
|
3563
|
+
self::REPLICA_STATE_REMOVING = T.let(3, Integer)
|
|
3564
|
+
self::REPLICA_STATE_FAILED = T.let(5, Integer)
|
|
3565
|
+
|
|
3566
|
+
sig { params(value: Integer).returns(T.nilable(Symbol)) }
|
|
3567
|
+
def self.lookup(value)
|
|
3568
|
+
end
|
|
3569
|
+
|
|
3570
|
+
sig { params(value: Symbol).returns(T.nilable(Integer)) }
|
|
3571
|
+
def self.resolve(value)
|
|
3572
|
+
end
|
|
3573
|
+
|
|
3574
|
+
sig { returns(::Google::Protobuf::EnumDescriptor) }
|
|
3575
|
+
def self.descriptor
|
|
3576
|
+
end
|
|
3577
|
+
end
|
|
3578
|
+
|
|
3579
|
+
module Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::State
|
|
3580
|
+
self::STATE_CAPACITY_REQUEST_UNSPECIFIED = T.let(0, Integer)
|
|
3581
|
+
self::STATE_CAPACITY_REQUEST_COMPLETED = T.let(1, Integer)
|
|
3582
|
+
self::STATE_CAPACITY_REQUEST_IN_PROGRESS = T.let(2, Integer)
|
|
3583
|
+
self::STATE_CAPACITY_REQUEST_FAILED = T.let(3, Integer)
|
|
3584
|
+
|
|
3585
|
+
sig { params(value: Integer).returns(T.nilable(Symbol)) }
|
|
3586
|
+
def self.lookup(value)
|
|
3587
|
+
end
|
|
3588
|
+
|
|
3589
|
+
sig { params(value: Symbol).returns(T.nilable(Integer)) }
|
|
3590
|
+
def self.resolve(value)
|
|
3591
|
+
end
|
|
3592
|
+
|
|
3593
|
+
sig { returns(::Google::Protobuf::EnumDescriptor) }
|
|
3594
|
+
def self.descriptor
|
|
3595
|
+
end
|
|
3596
|
+
end
|
|
3597
|
+
|
|
3598
|
+
module Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec::SearchAttributeType
|
|
3599
|
+
self::SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED = T.let(0, Integer)
|
|
3600
|
+
self::SEARCH_ATTRIBUTE_TYPE_TEXT = T.let(1, Integer)
|
|
3601
|
+
self::SEARCH_ATTRIBUTE_TYPE_KEYWORD = T.let(2, Integer)
|
|
3602
|
+
self::SEARCH_ATTRIBUTE_TYPE_INT = T.let(3, Integer)
|
|
3603
|
+
self::SEARCH_ATTRIBUTE_TYPE_DOUBLE = T.let(4, Integer)
|
|
3604
|
+
self::SEARCH_ATTRIBUTE_TYPE_BOOL = T.let(5, Integer)
|
|
3605
|
+
self::SEARCH_ATTRIBUTE_TYPE_DATETIME = T.let(6, Integer)
|
|
3606
|
+
self::SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST = T.let(7, Integer)
|
|
3607
|
+
|
|
3608
|
+
sig { params(value: Integer).returns(T.nilable(Symbol)) }
|
|
3609
|
+
def self.lookup(value)
|
|
3610
|
+
end
|
|
3611
|
+
|
|
3612
|
+
sig { params(value: Symbol).returns(T.nilable(Integer)) }
|
|
3613
|
+
def self.resolve(value)
|
|
3614
|
+
end
|
|
3615
|
+
|
|
3616
|
+
sig { returns(::Google::Protobuf::EnumDescriptor) }
|
|
3617
|
+
def self.descriptor
|
|
3618
|
+
end
|
|
3619
|
+
end
|
|
3620
|
+
|
|
3621
|
+
module Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus::State
|
|
3622
|
+
self::STATE_UNSPECIFIED = T.let(0, Integer)
|
|
3623
|
+
self::STATE_ADDING = T.let(1, Integer)
|
|
3624
|
+
self::STATE_ACTIVE = T.let(2, Integer)
|
|
3625
|
+
self::STATE_PASSIVE = T.let(3, Integer)
|
|
3626
|
+
self::STATE_REMOVING = T.let(4, Integer)
|
|
3627
|
+
self::STATE_FAILED = T.let(5, Integer)
|
|
3628
|
+
|
|
3629
|
+
sig { params(value: Integer).returns(T.nilable(Symbol)) }
|
|
3630
|
+
def self.lookup(value)
|
|
3631
|
+
end
|
|
3632
|
+
|
|
3633
|
+
sig { params(value: Symbol).returns(T.nilable(Integer)) }
|
|
3634
|
+
def self.resolve(value)
|
|
3635
|
+
end
|
|
3636
|
+
|
|
3637
|
+
sig { returns(::Google::Protobuf::EnumDescriptor) }
|
|
3638
|
+
def self.descriptor
|
|
3639
|
+
end
|
|
3640
|
+
end
|
|
3641
|
+
|
|
3642
|
+
module Temporalio::Api::Cloud::Namespace::V1::ExportSink::Health
|
|
3643
|
+
self::HEALTH_UNSPECIFIED = T.let(0, Integer)
|
|
3644
|
+
self::HEALTH_OK = T.let(1, Integer)
|
|
3645
|
+
self::HEALTH_ERROR_INTERNAL = T.let(2, Integer)
|
|
3646
|
+
self::HEALTH_ERROR_USER_CONFIGURATION = T.let(3, Integer)
|
|
3647
|
+
|
|
3648
|
+
sig { params(value: Integer).returns(T.nilable(Symbol)) }
|
|
3649
|
+
def self.lookup(value)
|
|
3650
|
+
end
|
|
3651
|
+
|
|
3652
|
+
sig { params(value: Symbol).returns(T.nilable(Integer)) }
|
|
3653
|
+
def self.resolve(value)
|
|
3654
|
+
end
|
|
3655
|
+
|
|
3656
|
+
sig { returns(::Google::Protobuf::EnumDescriptor) }
|
|
3657
|
+
def self.descriptor
|
|
3658
|
+
end
|
|
3659
|
+
end
|