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,112 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# This RBS interface is provided for convenience, on a best-effort basis.
|
|
3
|
+
# The library is the definitive source for the API contract; if the RBS file
|
|
4
|
+
# and the library's behavior differ, the library behavior is authoritative.
|
|
5
|
+
# We welcome fixes to change the RBS file to match.
|
|
6
|
+
# source: temporal/api/callback/v1/message.proto
|
|
7
|
+
|
|
8
|
+
module Temporalio
|
|
9
|
+
module Api
|
|
10
|
+
module Callback
|
|
11
|
+
module V1
|
|
12
|
+
# Common callback information. Specific CallbackInfo messages should embed this and may include additional fields.
|
|
13
|
+
class CallbackInfo < ::Google::Protobuf::AbstractMessage
|
|
14
|
+
|
|
15
|
+
# Information on how this callback should be invoked (e.g. its URL and type).
|
|
16
|
+
attr_accessor callback(): ::Temporalio::Api::Common::V1::Callback?
|
|
17
|
+
def has_callback?: () -> bool
|
|
18
|
+
def clear_callback: () -> void
|
|
19
|
+
|
|
20
|
+
# The time when the callback was registered.
|
|
21
|
+
attr_reader registration_time(): ::Google::Protobuf::Timestamp?
|
|
22
|
+
attr_writer registration_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
23
|
+
def has_registration_time?: () -> bool
|
|
24
|
+
def clear_registration_time: () -> void
|
|
25
|
+
|
|
26
|
+
# The current state of the callback.
|
|
27
|
+
attr_reader state(): ::Temporalio::Api::Enums::V1::CallbackState::names | ::Integer
|
|
28
|
+
attr_writer state(): ::Temporalio::Api::Enums::V1::CallbackState::names | ::Temporalio::Api::Enums::V1::CallbackState::strings | ::Integer | ::Float
|
|
29
|
+
attr_reader state_const(): ::Integer
|
|
30
|
+
def clear_state: () -> void
|
|
31
|
+
|
|
32
|
+
# The number of attempts made to deliver the callback.
|
|
33
|
+
# This number represents a minimum bound since the attempt is incremented after the callback request completes.
|
|
34
|
+
attr_reader attempt(): ::Integer
|
|
35
|
+
attr_writer attempt(): ::Integer | ::Float
|
|
36
|
+
def clear_attempt: () -> void
|
|
37
|
+
|
|
38
|
+
# The time when the last attempt completed.
|
|
39
|
+
attr_reader last_attempt_complete_time(): ::Google::Protobuf::Timestamp?
|
|
40
|
+
attr_writer last_attempt_complete_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
41
|
+
def has_last_attempt_complete_time?: () -> bool
|
|
42
|
+
def clear_last_attempt_complete_time: () -> void
|
|
43
|
+
|
|
44
|
+
# The last attempt's failure, if any.
|
|
45
|
+
attr_accessor last_attempt_failure(): ::Temporalio::Api::Failure::V1::Failure?
|
|
46
|
+
def has_last_attempt_failure?: () -> bool
|
|
47
|
+
def clear_last_attempt_failure: () -> void
|
|
48
|
+
|
|
49
|
+
# The time when the next attempt is scheduled.
|
|
50
|
+
attr_reader next_attempt_schedule_time(): ::Google::Protobuf::Timestamp?
|
|
51
|
+
attr_writer next_attempt_schedule_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
52
|
+
def has_next_attempt_schedule_time?: () -> bool
|
|
53
|
+
def clear_next_attempt_schedule_time: () -> void
|
|
54
|
+
|
|
55
|
+
# If the state is BLOCKED, blocked reason provides additional information.
|
|
56
|
+
attr_reader blocked_reason(): ::String
|
|
57
|
+
attr_writer blocked_reason(): ::String | ::Symbol
|
|
58
|
+
def clear_blocked_reason: () -> void
|
|
59
|
+
|
|
60
|
+
type init_map = {
|
|
61
|
+
callback: (::Temporalio::Api::Common::V1::Callback | ::Temporalio::Api::Common::V1::Callback::init_map)?,
|
|
62
|
+
"callback" => (::Temporalio::Api::Common::V1::Callback | ::Temporalio::Api::Common::V1::Callback::init_map)?,
|
|
63
|
+
registration_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
64
|
+
"registration_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
65
|
+
state: (::Temporalio::Api::Enums::V1::CallbackState::names | ::Temporalio::Api::Enums::V1::CallbackState::strings | ::Integer | ::Float)?,
|
|
66
|
+
"state" => (::Temporalio::Api::Enums::V1::CallbackState::names | ::Temporalio::Api::Enums::V1::CallbackState::strings | ::Integer | ::Float)?,
|
|
67
|
+
attempt: (::Integer | ::Float)?,
|
|
68
|
+
"attempt" => (::Integer | ::Float)?,
|
|
69
|
+
last_attempt_complete_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
70
|
+
"last_attempt_complete_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
71
|
+
last_attempt_failure: (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
72
|
+
"last_attempt_failure" => (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
73
|
+
next_attempt_schedule_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
74
|
+
"next_attempt_schedule_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
75
|
+
blocked_reason: (::String | ::Symbol)?,
|
|
76
|
+
"blocked_reason" => (::String | ::Symbol)?,
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
def initialize: (?init_map initial_value) -> void
|
|
80
|
+
|
|
81
|
+
def []:
|
|
82
|
+
("callback" name) -> ::Temporalio::Api::Common::V1::Callback?
|
|
83
|
+
| ("registration_time" name) -> ::Google::Protobuf::Timestamp?
|
|
84
|
+
| ("state" name) -> (::Temporalio::Api::Enums::V1::CallbackState::names | ::Integer)
|
|
85
|
+
| ("attempt" name) -> ::Integer
|
|
86
|
+
| ("last_attempt_complete_time" name) -> ::Google::Protobuf::Timestamp?
|
|
87
|
+
| ("last_attempt_failure" name) -> ::Temporalio::Api::Failure::V1::Failure?
|
|
88
|
+
| ("next_attempt_schedule_time" name) -> ::Google::Protobuf::Timestamp?
|
|
89
|
+
| ("blocked_reason" name) -> ::String
|
|
90
|
+
|
|
91
|
+
def []=:
|
|
92
|
+
("callback" name, ::Temporalio::Api::Common::V1::Callback? value) -> void
|
|
93
|
+
| ("registration_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
94
|
+
| ("state" name, (::Temporalio::Api::Enums::V1::CallbackState::names | ::Temporalio::Api::Enums::V1::CallbackState::strings | ::Integer | ::Float) value) -> void
|
|
95
|
+
| ("attempt" name, (::Integer | ::Float) value) -> void
|
|
96
|
+
| ("last_attempt_complete_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
97
|
+
| ("last_attempt_failure" name, ::Temporalio::Api::Failure::V1::Failure? value) -> void
|
|
98
|
+
| ("next_attempt_schedule_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
99
|
+
| ("blocked_reason" name, (::String | ::Symbol) value) -> void
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
module Google
|
|
107
|
+
module Protobuf
|
|
108
|
+
class DescriptorPool
|
|
109
|
+
def lookup: (::String name) -> ::Google::Protobuf::Descriptor
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
end
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# This RBS interface is provided for convenience, on a best-effort basis.
|
|
3
|
+
# The library is the definitive source for the API contract; if the RBS file
|
|
4
|
+
# and the library's behavior differ, the library behavior is authoritative.
|
|
5
|
+
# We welcome fixes to change the RBS file to match.
|
|
6
|
+
# source: temporal/api/cloud/account/v1/message.proto
|
|
7
|
+
|
|
8
|
+
module Temporalio
|
|
9
|
+
module Api
|
|
10
|
+
module Cloud
|
|
11
|
+
module Account
|
|
12
|
+
module V1
|
|
13
|
+
class MetricsSpec < ::Google::Protobuf::AbstractMessage
|
|
14
|
+
|
|
15
|
+
# The ca cert(s) in PEM format that clients connecting to the metrics endpoint can use for authentication.
|
|
16
|
+
# This must only be one value, but the CA can have a chain.
|
|
17
|
+
attr_accessor accepted_client_ca(): ::String
|
|
18
|
+
def clear_accepted_client_ca: () -> void
|
|
19
|
+
|
|
20
|
+
type init_map = {
|
|
21
|
+
accepted_client_ca: ::String?,
|
|
22
|
+
"accepted_client_ca" => ::String?,
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
def initialize: (?init_map initial_value) -> void
|
|
26
|
+
|
|
27
|
+
def []:
|
|
28
|
+
("accepted_client_ca" name) -> ::String
|
|
29
|
+
|
|
30
|
+
def []=:
|
|
31
|
+
("accepted_client_ca" name, ::String value) -> void
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
class AccountSpec < ::Google::Protobuf::AbstractMessage
|
|
35
|
+
|
|
36
|
+
# The metrics specification for this account.
|
|
37
|
+
# If not specified, metrics will not be enabled.
|
|
38
|
+
attr_accessor metrics(): ::Temporalio::Api::Cloud::Account::V1::MetricsSpec?
|
|
39
|
+
def has_metrics?: () -> bool
|
|
40
|
+
def clear_metrics: () -> void
|
|
41
|
+
|
|
42
|
+
type init_map = {
|
|
43
|
+
metrics: (::Temporalio::Api::Cloud::Account::V1::MetricsSpec | ::Temporalio::Api::Cloud::Account::V1::MetricsSpec::init_map)?,
|
|
44
|
+
"metrics" => (::Temporalio::Api::Cloud::Account::V1::MetricsSpec | ::Temporalio::Api::Cloud::Account::V1::MetricsSpec::init_map)?,
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def initialize: (?init_map initial_value) -> void
|
|
48
|
+
|
|
49
|
+
def []:
|
|
50
|
+
("metrics" name) -> ::Temporalio::Api::Cloud::Account::V1::MetricsSpec?
|
|
51
|
+
|
|
52
|
+
def []=:
|
|
53
|
+
("metrics" name, ::Temporalio::Api::Cloud::Account::V1::MetricsSpec? value) -> void
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
class Metrics < ::Google::Protobuf::AbstractMessage
|
|
57
|
+
|
|
58
|
+
# The prometheus metrics endpoint uri.
|
|
59
|
+
# This is only populated when the metrics is enabled in the metrics specification.
|
|
60
|
+
attr_reader uri(): ::String
|
|
61
|
+
attr_writer uri(): ::String | ::Symbol
|
|
62
|
+
def clear_uri: () -> void
|
|
63
|
+
|
|
64
|
+
type init_map = {
|
|
65
|
+
uri: (::String | ::Symbol)?,
|
|
66
|
+
"uri" => (::String | ::Symbol)?,
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
def initialize: (?init_map initial_value) -> void
|
|
70
|
+
|
|
71
|
+
def []:
|
|
72
|
+
("uri" name) -> ::String
|
|
73
|
+
|
|
74
|
+
def []=:
|
|
75
|
+
("uri" name, (::String | ::Symbol) value) -> void
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
class Account < ::Google::Protobuf::AbstractMessage
|
|
79
|
+
|
|
80
|
+
# The id of the account.
|
|
81
|
+
attr_reader id(): ::String
|
|
82
|
+
attr_writer id(): ::String | ::Symbol
|
|
83
|
+
def clear_id: () -> void
|
|
84
|
+
|
|
85
|
+
# The account specification.
|
|
86
|
+
attr_accessor spec(): ::Temporalio::Api::Cloud::Account::V1::AccountSpec?
|
|
87
|
+
def has_spec?: () -> bool
|
|
88
|
+
def clear_spec: () -> void
|
|
89
|
+
|
|
90
|
+
# The current version of the account specification.
|
|
91
|
+
# The next update operation will have to include this version.
|
|
92
|
+
attr_reader resource_version(): ::String
|
|
93
|
+
attr_writer resource_version(): ::String | ::Symbol
|
|
94
|
+
def clear_resource_version: () -> void
|
|
95
|
+
|
|
96
|
+
# The current state of the account.
|
|
97
|
+
attr_reader state(): ::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Integer
|
|
98
|
+
attr_writer state(): ::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float
|
|
99
|
+
attr_reader state_const(): ::Integer
|
|
100
|
+
def clear_state: () -> void
|
|
101
|
+
|
|
102
|
+
# The id of the async operation that is updating the account, if any.
|
|
103
|
+
attr_reader async_operation_id(): ::String
|
|
104
|
+
attr_writer async_operation_id(): ::String | ::Symbol
|
|
105
|
+
def clear_async_operation_id: () -> void
|
|
106
|
+
|
|
107
|
+
# Information related to metrics.
|
|
108
|
+
attr_accessor metrics(): ::Temporalio::Api::Cloud::Account::V1::Metrics?
|
|
109
|
+
def has_metrics?: () -> bool
|
|
110
|
+
def clear_metrics: () -> void
|
|
111
|
+
|
|
112
|
+
type init_map = {
|
|
113
|
+
id: (::String | ::Symbol)?,
|
|
114
|
+
"id" => (::String | ::Symbol)?,
|
|
115
|
+
spec: (::Temporalio::Api::Cloud::Account::V1::AccountSpec | ::Temporalio::Api::Cloud::Account::V1::AccountSpec::init_map)?,
|
|
116
|
+
"spec" => (::Temporalio::Api::Cloud::Account::V1::AccountSpec | ::Temporalio::Api::Cloud::Account::V1::AccountSpec::init_map)?,
|
|
117
|
+
resource_version: (::String | ::Symbol)?,
|
|
118
|
+
"resource_version" => (::String | ::Symbol)?,
|
|
119
|
+
state: (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float)?,
|
|
120
|
+
"state" => (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float)?,
|
|
121
|
+
async_operation_id: (::String | ::Symbol)?,
|
|
122
|
+
"async_operation_id" => (::String | ::Symbol)?,
|
|
123
|
+
metrics: (::Temporalio::Api::Cloud::Account::V1::Metrics | ::Temporalio::Api::Cloud::Account::V1::Metrics::init_map)?,
|
|
124
|
+
"metrics" => (::Temporalio::Api::Cloud::Account::V1::Metrics | ::Temporalio::Api::Cloud::Account::V1::Metrics::init_map)?,
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
def initialize: (?init_map initial_value) -> void
|
|
128
|
+
|
|
129
|
+
def []:
|
|
130
|
+
("id" name) -> ::String
|
|
131
|
+
| ("spec" name) -> ::Temporalio::Api::Cloud::Account::V1::AccountSpec?
|
|
132
|
+
| ("resource_version" name) -> ::String
|
|
133
|
+
| ("state" name) -> (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Integer)
|
|
134
|
+
| ("async_operation_id" name) -> ::String
|
|
135
|
+
| ("metrics" name) -> ::Temporalio::Api::Cloud::Account::V1::Metrics?
|
|
136
|
+
|
|
137
|
+
def []=:
|
|
138
|
+
("id" name, (::String | ::Symbol) value) -> void
|
|
139
|
+
| ("spec" name, ::Temporalio::Api::Cloud::Account::V1::AccountSpec? value) -> void
|
|
140
|
+
| ("resource_version" name, (::String | ::Symbol) value) -> void
|
|
141
|
+
| ("state" name, (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float) value) -> void
|
|
142
|
+
| ("async_operation_id" name, (::String | ::Symbol) value) -> void
|
|
143
|
+
| ("metrics" name, ::Temporalio::Api::Cloud::Account::V1::Metrics? value) -> void
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
# AuditLogSinkSpec is only used by Audit Log
|
|
147
|
+
class AuditLogSinkSpec < ::Google::Protobuf::AbstractMessage
|
|
148
|
+
|
|
149
|
+
# Name of the sink e.g. "audit_log_01"
|
|
150
|
+
attr_reader name(): ::String
|
|
151
|
+
attr_writer name(): ::String | ::Symbol
|
|
152
|
+
def clear_name: () -> void
|
|
153
|
+
|
|
154
|
+
# The KinesisSpec when destination_type is Kinesis
|
|
155
|
+
attr_accessor kinesis_sink(): ::Temporalio::Api::Cloud::Sink::V1::KinesisSpec?
|
|
156
|
+
def has_kinesis_sink?: () -> bool
|
|
157
|
+
def clear_kinesis_sink: () -> void
|
|
158
|
+
|
|
159
|
+
# The PubSubSpec when destination_type is PubSub
|
|
160
|
+
attr_accessor pub_sub_sink(): ::Temporalio::Api::Cloud::Sink::V1::PubSubSpec?
|
|
161
|
+
def has_pub_sub_sink?: () -> bool
|
|
162
|
+
def clear_pub_sub_sink: () -> void
|
|
163
|
+
|
|
164
|
+
# Enabled indicates whether the sink is enabled or not.
|
|
165
|
+
attr_accessor enabled(): bool
|
|
166
|
+
def clear_enabled: () -> void
|
|
167
|
+
|
|
168
|
+
attr_reader sink_type(): (::Temporalio::Api::Cloud::Sink::V1::KinesisSpec | ::Temporalio::Api::Cloud::Sink::V1::PubSubSpec)?
|
|
169
|
+
def has_sink_type?: () -> bool
|
|
170
|
+
def clear_sink_type: () -> void
|
|
171
|
+
|
|
172
|
+
type init_map = {
|
|
173
|
+
name: (::String | ::Symbol)?,
|
|
174
|
+
"name" => (::String | ::Symbol)?,
|
|
175
|
+
kinesis_sink: (::Temporalio::Api::Cloud::Sink::V1::KinesisSpec | ::Temporalio::Api::Cloud::Sink::V1::KinesisSpec::init_map)?,
|
|
176
|
+
"kinesis_sink" => (::Temporalio::Api::Cloud::Sink::V1::KinesisSpec | ::Temporalio::Api::Cloud::Sink::V1::KinesisSpec::init_map)?,
|
|
177
|
+
pub_sub_sink: (::Temporalio::Api::Cloud::Sink::V1::PubSubSpec | ::Temporalio::Api::Cloud::Sink::V1::PubSubSpec::init_map)?,
|
|
178
|
+
"pub_sub_sink" => (::Temporalio::Api::Cloud::Sink::V1::PubSubSpec | ::Temporalio::Api::Cloud::Sink::V1::PubSubSpec::init_map)?,
|
|
179
|
+
enabled: bool?,
|
|
180
|
+
"enabled" => bool?,
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
def initialize: (?init_map initial_value) -> void
|
|
184
|
+
|
|
185
|
+
def []:
|
|
186
|
+
("name" name) -> ::String
|
|
187
|
+
| ("kinesis_sink" name) -> ::Temporalio::Api::Cloud::Sink::V1::KinesisSpec?
|
|
188
|
+
| ("pub_sub_sink" name) -> ::Temporalio::Api::Cloud::Sink::V1::PubSubSpec?
|
|
189
|
+
| ("enabled" name) -> bool
|
|
190
|
+
|
|
191
|
+
def []=:
|
|
192
|
+
("name" name, (::String | ::Symbol) value) -> void
|
|
193
|
+
| ("kinesis_sink" name, ::Temporalio::Api::Cloud::Sink::V1::KinesisSpec? value) -> void
|
|
194
|
+
| ("pub_sub_sink" name, ::Temporalio::Api::Cloud::Sink::V1::PubSubSpec? value) -> void
|
|
195
|
+
| ("enabled" name, bool value) -> void
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
# AuditLogSink is only used by Audit Log
|
|
199
|
+
class AuditLogSink < ::Google::Protobuf::AbstractMessage
|
|
200
|
+
# The health status of the audit log sink.
|
|
201
|
+
module Health
|
|
202
|
+
|
|
203
|
+
HEALTH_UNSPECIFIED: 0
|
|
204
|
+
|
|
205
|
+
# The audit log sink is healthy and functioning correctly.
|
|
206
|
+
HEALTH_OK: 1
|
|
207
|
+
|
|
208
|
+
# The audit log sink has an internal error.
|
|
209
|
+
HEALTH_ERROR_INTERNAL: 2
|
|
210
|
+
|
|
211
|
+
# The audit log sink has a configuration error.
|
|
212
|
+
HEALTH_ERROR_USER_CONFIGURATION: 3
|
|
213
|
+
|
|
214
|
+
def self.lookup: (::Integer number) -> ::Symbol
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
def self.resolve: (::Symbol name) -> ::Integer
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
type names = :HEALTH_UNSPECIFIED | :HEALTH_OK | :HEALTH_ERROR_INTERNAL | :HEALTH_ERROR_USER_CONFIGURATION
|
|
221
|
+
|
|
222
|
+
type strings = "HEALTH_UNSPECIFIED" | "HEALTH_OK" | "HEALTH_ERROR_INTERNAL" | "HEALTH_ERROR_USER_CONFIGURATION"
|
|
223
|
+
|
|
224
|
+
type numbers = 0 | 1 | 2 | 3
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
# Name of the sink e.g. "audit_log_01"
|
|
228
|
+
attr_reader name(): ::String
|
|
229
|
+
attr_writer name(): ::String | ::Symbol
|
|
230
|
+
def clear_name: () -> void
|
|
231
|
+
|
|
232
|
+
# The version of the audit log sink resource.
|
|
233
|
+
attr_reader resource_version(): ::String
|
|
234
|
+
attr_writer resource_version(): ::String | ::Symbol
|
|
235
|
+
def clear_resource_version: () -> void
|
|
236
|
+
|
|
237
|
+
# The current state of the audit log sink.
|
|
238
|
+
attr_reader state(): ::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Integer
|
|
239
|
+
attr_writer state(): ::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float
|
|
240
|
+
attr_reader state_const(): ::Integer
|
|
241
|
+
def clear_state: () -> void
|
|
242
|
+
|
|
243
|
+
# The specification details of the audit log sink.
|
|
244
|
+
attr_accessor spec(): ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec?
|
|
245
|
+
def has_spec?: () -> bool
|
|
246
|
+
def clear_spec: () -> void
|
|
247
|
+
|
|
248
|
+
# The health status of the audit log sink.
|
|
249
|
+
attr_reader health(): ::Temporalio::Api::Cloud::Account::V1::AuditLogSink::Health::names | ::Integer
|
|
250
|
+
attr_writer health(): ::Temporalio::Api::Cloud::Account::V1::AuditLogSink::Health::names | ::Temporalio::Api::Cloud::Account::V1::AuditLogSink::Health::strings | ::Integer | ::Float
|
|
251
|
+
attr_reader health_const(): ::Integer
|
|
252
|
+
def clear_health: () -> void
|
|
253
|
+
|
|
254
|
+
# An error message describing any issues with the audit log sink, if applicable.
|
|
255
|
+
attr_reader error_message(): ::String
|
|
256
|
+
attr_writer error_message(): ::String | ::Symbol
|
|
257
|
+
def clear_error_message: () -> void
|
|
258
|
+
|
|
259
|
+
# The last succeeded timestamp for the internal workflow responsible for adding data to the sink.
|
|
260
|
+
attr_reader last_succeeded_time(): ::Google::Protobuf::Timestamp?
|
|
261
|
+
attr_writer last_succeeded_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
262
|
+
def has_last_succeeded_time?: () -> bool
|
|
263
|
+
def clear_last_succeeded_time: () -> void
|
|
264
|
+
|
|
265
|
+
type init_map = {
|
|
266
|
+
name: (::String | ::Symbol)?,
|
|
267
|
+
"name" => (::String | ::Symbol)?,
|
|
268
|
+
resource_version: (::String | ::Symbol)?,
|
|
269
|
+
"resource_version" => (::String | ::Symbol)?,
|
|
270
|
+
state: (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float)?,
|
|
271
|
+
"state" => (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float)?,
|
|
272
|
+
spec: (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?,
|
|
273
|
+
"spec" => (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?,
|
|
274
|
+
health: (::Temporalio::Api::Cloud::Account::V1::AuditLogSink::Health::names | ::Temporalio::Api::Cloud::Account::V1::AuditLogSink::Health::strings | ::Integer | ::Float)?,
|
|
275
|
+
"health" => (::Temporalio::Api::Cloud::Account::V1::AuditLogSink::Health::names | ::Temporalio::Api::Cloud::Account::V1::AuditLogSink::Health::strings | ::Integer | ::Float)?,
|
|
276
|
+
error_message: (::String | ::Symbol)?,
|
|
277
|
+
"error_message" => (::String | ::Symbol)?,
|
|
278
|
+
last_succeeded_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
279
|
+
"last_succeeded_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
def initialize: (?init_map initial_value) -> void
|
|
283
|
+
|
|
284
|
+
def []:
|
|
285
|
+
("name" name) -> ::String
|
|
286
|
+
| ("resource_version" name) -> ::String
|
|
287
|
+
| ("state" name) -> (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Integer)
|
|
288
|
+
| ("spec" name) -> ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec?
|
|
289
|
+
| ("health" name) -> (::Temporalio::Api::Cloud::Account::V1::AuditLogSink::Health::names | ::Integer)
|
|
290
|
+
| ("error_message" name) -> ::String
|
|
291
|
+
| ("last_succeeded_time" name) -> ::Google::Protobuf::Timestamp?
|
|
292
|
+
|
|
293
|
+
def []=:
|
|
294
|
+
("name" name, (::String | ::Symbol) value) -> void
|
|
295
|
+
| ("resource_version" name, (::String | ::Symbol) value) -> void
|
|
296
|
+
| ("state" name, (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float) value) -> void
|
|
297
|
+
| ("spec" name, ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec? value) -> void
|
|
298
|
+
| ("health" name, (::Temporalio::Api::Cloud::Account::V1::AuditLogSink::Health::names | ::Temporalio::Api::Cloud::Account::V1::AuditLogSink::Health::strings | ::Integer | ::Float) value) -> void
|
|
299
|
+
| ("error_message" name, (::String | ::Symbol) value) -> void
|
|
300
|
+
| ("last_succeeded_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
301
|
+
end
|
|
302
|
+
end
|
|
303
|
+
end
|
|
304
|
+
end
|
|
305
|
+
end
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
module Google
|
|
309
|
+
module Protobuf
|
|
310
|
+
class DescriptorPool
|
|
311
|
+
def lookup: (::String name) -> ::Google::Protobuf::Descriptor
|
|
312
|
+
end
|
|
313
|
+
end
|
|
314
|
+
end
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# This RBS interface is provided for convenience, on a best-effort basis.
|
|
3
|
+
# The library is the definitive source for the API contract; if the RBS file
|
|
4
|
+
# and the library's behavior differ, the library behavior is authoritative.
|
|
5
|
+
# We welcome fixes to change the RBS file to match.
|
|
6
|
+
# source: temporal/api/cloud/auditlog/v1/message.proto
|
|
7
|
+
|
|
8
|
+
module Temporalio
|
|
9
|
+
module Api
|
|
10
|
+
module Cloud
|
|
11
|
+
module AuditLog
|
|
12
|
+
module V1
|
|
13
|
+
# LogRecord represents an audit log entry from Temporal, structured for easy parsing and analysis.
|
|
14
|
+
class LogRecord < ::Google::Protobuf::AbstractMessage
|
|
15
|
+
|
|
16
|
+
# Time when the log was emitted.
|
|
17
|
+
attr_reader emit_time(): ::Google::Protobuf::Timestamp?
|
|
18
|
+
attr_writer emit_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
19
|
+
def has_emit_time?: () -> bool
|
|
20
|
+
def clear_emit_time: () -> void
|
|
21
|
+
|
|
22
|
+
# The operation performed.
|
|
23
|
+
attr_reader operation(): ::String
|
|
24
|
+
attr_writer operation(): ::String | ::Symbol
|
|
25
|
+
def clear_operation: () -> void
|
|
26
|
+
|
|
27
|
+
# The status of the operation.
|
|
28
|
+
attr_reader status(): ::String
|
|
29
|
+
attr_writer status(): ::String | ::Symbol
|
|
30
|
+
def clear_status: () -> void
|
|
31
|
+
|
|
32
|
+
# The internal version of the log message. Can be used in deduplication if needed.
|
|
33
|
+
attr_reader version(): ::Integer
|
|
34
|
+
attr_writer version(): ::Integer | ::Float
|
|
35
|
+
def clear_version: () -> void
|
|
36
|
+
|
|
37
|
+
# Unique ID for the log record.
|
|
38
|
+
attr_reader log_id(): ::String
|
|
39
|
+
attr_writer log_id(): ::String | ::Symbol
|
|
40
|
+
def clear_log_id: () -> void
|
|
41
|
+
|
|
42
|
+
# The principal that performed the operation.
|
|
43
|
+
attr_accessor principal(): ::Temporalio::Api::Cloud::AuditLog::V1::Principal?
|
|
44
|
+
def has_principal?: () -> bool
|
|
45
|
+
def clear_principal: () -> void
|
|
46
|
+
|
|
47
|
+
# The raw details of the operation.
|
|
48
|
+
attr_accessor raw_details(): ::Google::Protobuf::Struct[::String, ::Google::Protobuf::Value]?
|
|
49
|
+
def has_raw_details?: () -> bool
|
|
50
|
+
def clear_raw_details: () -> void
|
|
51
|
+
|
|
52
|
+
# The originating IP address of the request.
|
|
53
|
+
attr_reader x_forwarded_for(): ::String
|
|
54
|
+
attr_writer x_forwarded_for(): ::String | ::Symbol
|
|
55
|
+
def clear_x_forwarded_for: () -> void
|
|
56
|
+
|
|
57
|
+
# The ID of the async operation.
|
|
58
|
+
attr_reader async_operation_id(): ::String
|
|
59
|
+
attr_writer async_operation_id(): ::String | ::Symbol
|
|
60
|
+
def clear_async_operation_id: () -> void
|
|
61
|
+
|
|
62
|
+
type init_map = {
|
|
63
|
+
emit_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
64
|
+
"emit_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
65
|
+
operation: (::String | ::Symbol)?,
|
|
66
|
+
"operation" => (::String | ::Symbol)?,
|
|
67
|
+
status: (::String | ::Symbol)?,
|
|
68
|
+
"status" => (::String | ::Symbol)?,
|
|
69
|
+
version: (::Integer | ::Float)?,
|
|
70
|
+
"version" => (::Integer | ::Float)?,
|
|
71
|
+
log_id: (::String | ::Symbol)?,
|
|
72
|
+
"log_id" => (::String | ::Symbol)?,
|
|
73
|
+
principal: (::Temporalio::Api::Cloud::AuditLog::V1::Principal | ::Temporalio::Api::Cloud::AuditLog::V1::Principal::init_map)?,
|
|
74
|
+
"principal" => (::Temporalio::Api::Cloud::AuditLog::V1::Principal | ::Temporalio::Api::Cloud::AuditLog::V1::Principal::init_map)?,
|
|
75
|
+
raw_details: (::Google::Protobuf::Struct[::String, ::Google::Protobuf::Value] | ::Google::Protobuf::Struct[::String, ::Google::Protobuf::Value])?,
|
|
76
|
+
"raw_details" => (::Google::Protobuf::Struct[::String, ::Google::Protobuf::Value] | ::Google::Protobuf::Struct[::String, ::Google::Protobuf::Value])?,
|
|
77
|
+
x_forwarded_for: (::String | ::Symbol)?,
|
|
78
|
+
"x_forwarded_for" => (::String | ::Symbol)?,
|
|
79
|
+
async_operation_id: (::String | ::Symbol)?,
|
|
80
|
+
"async_operation_id" => (::String | ::Symbol)?,
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
def initialize: (?init_map initial_value) -> void
|
|
84
|
+
|
|
85
|
+
def []:
|
|
86
|
+
("emit_time" name) -> ::Google::Protobuf::Timestamp?
|
|
87
|
+
| ("operation" name) -> ::String
|
|
88
|
+
| ("status" name) -> ::String
|
|
89
|
+
| ("version" name) -> ::Integer
|
|
90
|
+
| ("log_id" name) -> ::String
|
|
91
|
+
| ("principal" name) -> ::Temporalio::Api::Cloud::AuditLog::V1::Principal?
|
|
92
|
+
| ("raw_details" name) -> ::Google::Protobuf::Struct[::String, ::Google::Protobuf::Value]?
|
|
93
|
+
| ("x_forwarded_for" name) -> ::String
|
|
94
|
+
| ("async_operation_id" name) -> ::String
|
|
95
|
+
|
|
96
|
+
def []=:
|
|
97
|
+
("emit_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
98
|
+
| ("operation" name, (::String | ::Symbol) value) -> void
|
|
99
|
+
| ("status" name, (::String | ::Symbol) value) -> void
|
|
100
|
+
| ("version" name, (::Integer | ::Float) value) -> void
|
|
101
|
+
| ("log_id" name, (::String | ::Symbol) value) -> void
|
|
102
|
+
| ("principal" name, ::Temporalio::Api::Cloud::AuditLog::V1::Principal? value) -> void
|
|
103
|
+
| ("raw_details" name, ::Google::Protobuf::Struct[::String, ::Google::Protobuf::Value]? value) -> void
|
|
104
|
+
| ("x_forwarded_for" name, (::String | ::Symbol) value) -> void
|
|
105
|
+
| ("async_operation_id" name, (::String | ::Symbol) value) -> void
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
class Principal < ::Google::Protobuf::AbstractMessage
|
|
109
|
+
|
|
110
|
+
# The type of the principal.
|
|
111
|
+
# Possible type values: user, serviceaccount.
|
|
112
|
+
attr_reader type(): ::String
|
|
113
|
+
attr_writer type(): ::String | ::Symbol
|
|
114
|
+
def clear_type: () -> void
|
|
115
|
+
|
|
116
|
+
# The id of the principal.
|
|
117
|
+
attr_reader id(): ::String
|
|
118
|
+
attr_writer id(): ::String | ::Symbol
|
|
119
|
+
def clear_id: () -> void
|
|
120
|
+
|
|
121
|
+
# The name of the principal.
|
|
122
|
+
attr_reader name(): ::String
|
|
123
|
+
attr_writer name(): ::String | ::Symbol
|
|
124
|
+
def clear_name: () -> void
|
|
125
|
+
|
|
126
|
+
# The api key id of the principal if provided.
|
|
127
|
+
attr_reader api_key_id(): ::String
|
|
128
|
+
attr_writer api_key_id(): ::String | ::Symbol
|
|
129
|
+
def clear_api_key_id: () -> void
|
|
130
|
+
|
|
131
|
+
type init_map = {
|
|
132
|
+
type: (::String | ::Symbol)?,
|
|
133
|
+
"type" => (::String | ::Symbol)?,
|
|
134
|
+
id: (::String | ::Symbol)?,
|
|
135
|
+
"id" => (::String | ::Symbol)?,
|
|
136
|
+
name: (::String | ::Symbol)?,
|
|
137
|
+
"name" => (::String | ::Symbol)?,
|
|
138
|
+
api_key_id: (::String | ::Symbol)?,
|
|
139
|
+
"api_key_id" => (::String | ::Symbol)?,
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
def initialize: (?init_map initial_value) -> void
|
|
143
|
+
|
|
144
|
+
def []:
|
|
145
|
+
("type" name) -> ::String
|
|
146
|
+
| ("id" name) -> ::String
|
|
147
|
+
| ("name" name) -> ::String
|
|
148
|
+
| ("api_key_id" name) -> ::String
|
|
149
|
+
|
|
150
|
+
def []=:
|
|
151
|
+
("type" name, (::String | ::Symbol) value) -> void
|
|
152
|
+
| ("id" name, (::String | ::Symbol) value) -> void
|
|
153
|
+
| ("name" name, (::String | ::Symbol) value) -> void
|
|
154
|
+
| ("api_key_id" name, (::String | ::Symbol) value) -> void
|
|
155
|
+
end
|
|
156
|
+
end
|
|
157
|
+
end
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
module Google
|
|
163
|
+
module Protobuf
|
|
164
|
+
class DescriptorPool
|
|
165
|
+
def lookup: (::String name) -> ::Google::Protobuf::Descriptor
|
|
166
|
+
end
|
|
167
|
+
end
|
|
168
|
+
end
|