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,1372 @@
|
|
|
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/identity/v1/message.proto
|
|
7
|
+
|
|
8
|
+
module Temporalio
|
|
9
|
+
module Api
|
|
10
|
+
module Cloud
|
|
11
|
+
module Identity
|
|
12
|
+
module V1
|
|
13
|
+
class AccountAccess < ::Google::Protobuf::AbstractMessage
|
|
14
|
+
module Role
|
|
15
|
+
|
|
16
|
+
ROLE_UNSPECIFIED: 0
|
|
17
|
+
|
|
18
|
+
ROLE_OWNER: 1
|
|
19
|
+
|
|
20
|
+
ROLE_ADMIN: 2
|
|
21
|
+
|
|
22
|
+
ROLE_DEVELOPER: 3
|
|
23
|
+
|
|
24
|
+
ROLE_FINANCE_ADMIN: 4
|
|
25
|
+
|
|
26
|
+
ROLE_READ: 5
|
|
27
|
+
|
|
28
|
+
ROLE_METRICS_READ: 6
|
|
29
|
+
|
|
30
|
+
def self.lookup: (::Integer number) -> ::Symbol
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def self.resolve: (::Symbol name) -> ::Integer
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
type names = :ROLE_UNSPECIFIED | :ROLE_OWNER | :ROLE_ADMIN | :ROLE_DEVELOPER | :ROLE_FINANCE_ADMIN | :ROLE_READ | :ROLE_METRICS_READ
|
|
37
|
+
|
|
38
|
+
type strings = "ROLE_UNSPECIFIED" | "ROLE_OWNER" | "ROLE_ADMIN" | "ROLE_DEVELOPER" | "ROLE_FINANCE_ADMIN" | "ROLE_READ" | "ROLE_METRICS_READ"
|
|
39
|
+
|
|
40
|
+
type numbers = 0 | 1 | 2 | 3 | 4 | 5 | 6
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# The role on the account, should be one of [owner, admin, developer, financeadmin, read, metricsread]
|
|
44
|
+
# owner - gives full access to the account, including users, namespaces, and billing
|
|
45
|
+
# admin - gives full access the account, including users and namespaces
|
|
46
|
+
# developer - gives access to create namespaces on the account
|
|
47
|
+
# financeadmin - gives read only access and write access for billing
|
|
48
|
+
# read - gives read only access to the account
|
|
49
|
+
# metricsread - gives read only access to all namespace metrics
|
|
50
|
+
# Deprecated: Not supported after v0.3.0 api version. Use role instead.
|
|
51
|
+
# temporal:versioning:max_version=v0.3.0
|
|
52
|
+
# @deprecated
|
|
53
|
+
attr_reader role_deprecated(): ::String
|
|
54
|
+
attr_writer role_deprecated(): ::String | ::Symbol
|
|
55
|
+
def clear_role_deprecated: () -> void
|
|
56
|
+
|
|
57
|
+
# The role on the account.
|
|
58
|
+
# temporal:versioning:min_version=v0.3.0
|
|
59
|
+
# temporal:enums:replaces=role_deprecated
|
|
60
|
+
attr_reader role(): ::Temporalio::Api::Cloud::Identity::V1::AccountAccess::Role::names | ::Integer
|
|
61
|
+
attr_writer role(): ::Temporalio::Api::Cloud::Identity::V1::AccountAccess::Role::names | ::Temporalio::Api::Cloud::Identity::V1::AccountAccess::Role::strings | ::Integer | ::Float
|
|
62
|
+
attr_reader role_const(): ::Integer
|
|
63
|
+
def clear_role: () -> void
|
|
64
|
+
|
|
65
|
+
# List of custom role IDs assigned to the user or service account.
|
|
66
|
+
# temporal:versioning:min_version=v0.13.0
|
|
67
|
+
attr_accessor custom_roles(): ::Google::Protobuf::RepeatedField
|
|
68
|
+
def clear_custom_roles: () -> void
|
|
69
|
+
|
|
70
|
+
type init_map = {
|
|
71
|
+
role_deprecated: (::String | ::Symbol)?,
|
|
72
|
+
"role_deprecated" => (::String | ::Symbol)?,
|
|
73
|
+
role: (::Temporalio::Api::Cloud::Identity::V1::AccountAccess::Role::names | ::Temporalio::Api::Cloud::Identity::V1::AccountAccess::Role::strings | ::Integer | ::Float)?,
|
|
74
|
+
"role" => (::Temporalio::Api::Cloud::Identity::V1::AccountAccess::Role::names | ::Temporalio::Api::Cloud::Identity::V1::AccountAccess::Role::strings | ::Integer | ::Float)?,
|
|
75
|
+
custom_roles: ::Array[::String | ::Symbol]?,
|
|
76
|
+
"custom_roles" => ::Array[::String | ::Symbol]?,
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
def initialize: (?init_map initial_value) -> void
|
|
80
|
+
|
|
81
|
+
def []:
|
|
82
|
+
("role_deprecated" name) -> ::String
|
|
83
|
+
| ("role" name) -> (::Temporalio::Api::Cloud::Identity::V1::AccountAccess::Role::names | ::Integer)
|
|
84
|
+
| ("custom_roles" name) -> (::Google::Protobuf::RepeatedField)
|
|
85
|
+
|
|
86
|
+
def []=:
|
|
87
|
+
("role_deprecated" name, (::String | ::Symbol) value) -> void
|
|
88
|
+
| ("role" name, (::Temporalio::Api::Cloud::Identity::V1::AccountAccess::Role::names | ::Temporalio::Api::Cloud::Identity::V1::AccountAccess::Role::strings | ::Integer | ::Float) value) -> void
|
|
89
|
+
| ("custom_roles" name, (::Google::Protobuf::RepeatedField) value) -> void
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
class NamespaceAccess < ::Google::Protobuf::AbstractMessage
|
|
93
|
+
module Permission
|
|
94
|
+
|
|
95
|
+
PERMISSION_UNSPECIFIED: 0
|
|
96
|
+
|
|
97
|
+
PERMISSION_ADMIN: 1
|
|
98
|
+
|
|
99
|
+
PERMISSION_WRITE: 2
|
|
100
|
+
|
|
101
|
+
PERMISSION_READ: 3
|
|
102
|
+
|
|
103
|
+
def self.lookup: (::Integer number) -> ::Symbol
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
def self.resolve: (::Symbol name) -> ::Integer
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
type names = :PERMISSION_UNSPECIFIED | :PERMISSION_ADMIN | :PERMISSION_WRITE | :PERMISSION_READ
|
|
110
|
+
|
|
111
|
+
type strings = "PERMISSION_UNSPECIFIED" | "PERMISSION_ADMIN" | "PERMISSION_WRITE" | "PERMISSION_READ"
|
|
112
|
+
|
|
113
|
+
type numbers = 0 | 1 | 2 | 3
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
# The permission to the namespace, should be one of [admin, write, read]
|
|
117
|
+
# admin - gives full access to the namespace, including assigning namespace access to other users
|
|
118
|
+
# write - gives write access to the namespace configuration and workflows within the namespace
|
|
119
|
+
# read - gives read only access to the namespace configuration and workflows within the namespace
|
|
120
|
+
# Deprecated: Not supported after v0.3.0 api version. Use permission instead.
|
|
121
|
+
# temporal:versioning:max_version=v0.3.0
|
|
122
|
+
# @deprecated
|
|
123
|
+
attr_reader permission_deprecated(): ::String
|
|
124
|
+
attr_writer permission_deprecated(): ::String | ::Symbol
|
|
125
|
+
def clear_permission_deprecated: () -> void
|
|
126
|
+
|
|
127
|
+
# The permission to the namespace.
|
|
128
|
+
# temporal:versioning:min_version=v0.3.0
|
|
129
|
+
# temporal:enums:replaces=permission_deprecated
|
|
130
|
+
attr_reader permission(): ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::Permission::names | ::Integer
|
|
131
|
+
attr_writer permission(): ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::Permission::names | ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::Permission::strings | ::Integer | ::Float
|
|
132
|
+
attr_reader permission_const(): ::Integer
|
|
133
|
+
def clear_permission: () -> void
|
|
134
|
+
|
|
135
|
+
type init_map = {
|
|
136
|
+
permission_deprecated: (::String | ::Symbol)?,
|
|
137
|
+
"permission_deprecated" => (::String | ::Symbol)?,
|
|
138
|
+
permission: (::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::Permission::names | ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::Permission::strings | ::Integer | ::Float)?,
|
|
139
|
+
"permission" => (::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::Permission::names | ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::Permission::strings | ::Integer | ::Float)?,
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
def initialize: (?init_map initial_value) -> void
|
|
143
|
+
|
|
144
|
+
def []:
|
|
145
|
+
("permission_deprecated" name) -> ::String
|
|
146
|
+
| ("permission" name) -> (::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::Permission::names | ::Integer)
|
|
147
|
+
|
|
148
|
+
def []=:
|
|
149
|
+
("permission_deprecated" name, (::String | ::Symbol) value) -> void
|
|
150
|
+
| ("permission" name, (::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::Permission::names | ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::Permission::strings | ::Integer | ::Float) value) -> void
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
class Access < ::Google::Protobuf::AbstractMessage
|
|
154
|
+
|
|
155
|
+
# The account access
|
|
156
|
+
attr_accessor account_access(): ::Temporalio::Api::Cloud::Identity::V1::AccountAccess?
|
|
157
|
+
def has_account_access?: () -> bool
|
|
158
|
+
def clear_account_access: () -> void
|
|
159
|
+
|
|
160
|
+
# The map of namespace accesses
|
|
161
|
+
# The key is the namespace name and the value is the access to the namespace
|
|
162
|
+
attr_accessor namespace_accesses(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess]
|
|
163
|
+
def clear_namespace_accesses: () -> void
|
|
164
|
+
|
|
165
|
+
# List of custom role IDs assigned to the user or service account.
|
|
166
|
+
# Deprecated: Not supported after v0.12.0 api version. Use account_access.custom_roles instead.
|
|
167
|
+
# temporal:versioning:max_version=v0.12.0
|
|
168
|
+
# @deprecated
|
|
169
|
+
attr_accessor custom_roles_deprecated(): ::Google::Protobuf::RepeatedField
|
|
170
|
+
def clear_custom_roles_deprecated: () -> void
|
|
171
|
+
|
|
172
|
+
type init_map = {
|
|
173
|
+
account_access: (::Temporalio::Api::Cloud::Identity::V1::AccountAccess | ::Temporalio::Api::Cloud::Identity::V1::AccountAccess::init_map)?,
|
|
174
|
+
"account_access" => (::Temporalio::Api::Cloud::Identity::V1::AccountAccess | ::Temporalio::Api::Cloud::Identity::V1::AccountAccess::init_map)?,
|
|
175
|
+
namespace_accesses: ::Hash[::String | ::Symbol, ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess]?,
|
|
176
|
+
"namespace_accesses" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess]?,
|
|
177
|
+
custom_roles_deprecated: ::Array[::String | ::Symbol]?,
|
|
178
|
+
"custom_roles_deprecated" => ::Array[::String | ::Symbol]?,
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
def initialize: (?init_map initial_value) -> void
|
|
182
|
+
|
|
183
|
+
def []:
|
|
184
|
+
("account_access" name) -> ::Temporalio::Api::Cloud::Identity::V1::AccountAccess?
|
|
185
|
+
| ("namespace_accesses" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess])
|
|
186
|
+
| ("custom_roles_deprecated" name) -> (::Google::Protobuf::RepeatedField)
|
|
187
|
+
|
|
188
|
+
def []=:
|
|
189
|
+
("account_access" name, ::Temporalio::Api::Cloud::Identity::V1::AccountAccess? value) -> void
|
|
190
|
+
| ("namespace_accesses" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess]) value) -> void
|
|
191
|
+
| ("custom_roles_deprecated" name, (::Google::Protobuf::RepeatedField) value) -> void
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
class NamespaceScopedAccess < ::Google::Protobuf::AbstractMessage
|
|
195
|
+
|
|
196
|
+
# The namespace the service account is assigned to - immutable.
|
|
197
|
+
attr_reader namespace(): ::String
|
|
198
|
+
attr_writer namespace(): ::String | ::Symbol
|
|
199
|
+
def clear_namespace: () -> void
|
|
200
|
+
|
|
201
|
+
# The namespace access assigned to the service account - mutable.
|
|
202
|
+
attr_accessor access(): ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess?
|
|
203
|
+
def has_access?: () -> bool
|
|
204
|
+
def clear_access: () -> void
|
|
205
|
+
|
|
206
|
+
type init_map = {
|
|
207
|
+
namespace: (::String | ::Symbol)?,
|
|
208
|
+
"namespace" => (::String | ::Symbol)?,
|
|
209
|
+
access: (::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess | ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::init_map)?,
|
|
210
|
+
"access" => (::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess | ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::init_map)?,
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
def initialize: (?init_map initial_value) -> void
|
|
214
|
+
|
|
215
|
+
def []:
|
|
216
|
+
("namespace" name) -> ::String
|
|
217
|
+
| ("access" name) -> ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess?
|
|
218
|
+
|
|
219
|
+
def []=:
|
|
220
|
+
("namespace" name, (::String | ::Symbol) value) -> void
|
|
221
|
+
| ("access" name, ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess? value) -> void
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
class UserSpec < ::Google::Protobuf::AbstractMessage
|
|
225
|
+
|
|
226
|
+
# The email address associated to the user
|
|
227
|
+
attr_reader email(): ::String
|
|
228
|
+
attr_writer email(): ::String | ::Symbol
|
|
229
|
+
def clear_email: () -> void
|
|
230
|
+
|
|
231
|
+
# The access to assigned to the user
|
|
232
|
+
attr_accessor access(): ::Temporalio::Api::Cloud::Identity::V1::Access?
|
|
233
|
+
def has_access?: () -> bool
|
|
234
|
+
def clear_access: () -> void
|
|
235
|
+
|
|
236
|
+
type init_map = {
|
|
237
|
+
email: (::String | ::Symbol)?,
|
|
238
|
+
"email" => (::String | ::Symbol)?,
|
|
239
|
+
access: (::Temporalio::Api::Cloud::Identity::V1::Access | ::Temporalio::Api::Cloud::Identity::V1::Access::init_map)?,
|
|
240
|
+
"access" => (::Temporalio::Api::Cloud::Identity::V1::Access | ::Temporalio::Api::Cloud::Identity::V1::Access::init_map)?,
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
def initialize: (?init_map initial_value) -> void
|
|
244
|
+
|
|
245
|
+
def []:
|
|
246
|
+
("email" name) -> ::String
|
|
247
|
+
| ("access" name) -> ::Temporalio::Api::Cloud::Identity::V1::Access?
|
|
248
|
+
|
|
249
|
+
def []=:
|
|
250
|
+
("email" name, (::String | ::Symbol) value) -> void
|
|
251
|
+
| ("access" name, ::Temporalio::Api::Cloud::Identity::V1::Access? value) -> void
|
|
252
|
+
end
|
|
253
|
+
|
|
254
|
+
class Invitation < ::Google::Protobuf::AbstractMessage
|
|
255
|
+
|
|
256
|
+
# The date and time when the user was created
|
|
257
|
+
attr_reader created_time(): ::Google::Protobuf::Timestamp?
|
|
258
|
+
attr_writer created_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
259
|
+
def has_created_time?: () -> bool
|
|
260
|
+
def clear_created_time: () -> void
|
|
261
|
+
|
|
262
|
+
# The date and time when the invitation expires or has expired
|
|
263
|
+
attr_reader expired_time(): ::Google::Protobuf::Timestamp?
|
|
264
|
+
attr_writer expired_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
265
|
+
def has_expired_time?: () -> bool
|
|
266
|
+
def clear_expired_time: () -> void
|
|
267
|
+
|
|
268
|
+
type init_map = {
|
|
269
|
+
created_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
270
|
+
"created_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
271
|
+
expired_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
272
|
+
"expired_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
def initialize: (?init_map initial_value) -> void
|
|
276
|
+
|
|
277
|
+
def []:
|
|
278
|
+
("created_time" name) -> ::Google::Protobuf::Timestamp?
|
|
279
|
+
| ("expired_time" name) -> ::Google::Protobuf::Timestamp?
|
|
280
|
+
|
|
281
|
+
def []=:
|
|
282
|
+
("created_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
283
|
+
| ("expired_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
284
|
+
end
|
|
285
|
+
|
|
286
|
+
class User < ::Google::Protobuf::AbstractMessage
|
|
287
|
+
|
|
288
|
+
# The id of the user
|
|
289
|
+
attr_reader id(): ::String
|
|
290
|
+
attr_writer id(): ::String | ::Symbol
|
|
291
|
+
def clear_id: () -> void
|
|
292
|
+
|
|
293
|
+
# The current version of the user specification
|
|
294
|
+
# The next update operation will have to include this version
|
|
295
|
+
attr_reader resource_version(): ::String
|
|
296
|
+
attr_writer resource_version(): ::String | ::Symbol
|
|
297
|
+
def clear_resource_version: () -> void
|
|
298
|
+
|
|
299
|
+
# The user specification
|
|
300
|
+
attr_accessor spec(): ::Temporalio::Api::Cloud::Identity::V1::UserSpec?
|
|
301
|
+
def has_spec?: () -> bool
|
|
302
|
+
def clear_spec: () -> void
|
|
303
|
+
|
|
304
|
+
# The current state of the user
|
|
305
|
+
# Deprecated: Not supported after v0.3.0 api version. Use state instead.
|
|
306
|
+
# temporal:versioning:max_version=v0.3.0
|
|
307
|
+
# @deprecated
|
|
308
|
+
attr_reader state_deprecated(): ::String
|
|
309
|
+
attr_writer state_deprecated(): ::String | ::Symbol
|
|
310
|
+
def clear_state_deprecated: () -> void
|
|
311
|
+
|
|
312
|
+
# The current state of the user.
|
|
313
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
314
|
+
# temporal:versioning:min_version=v0.3.0
|
|
315
|
+
# temporal:enums:replaces=state_deprecated
|
|
316
|
+
attr_reader state(): ::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Integer
|
|
317
|
+
attr_writer state(): ::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float
|
|
318
|
+
attr_reader state_const(): ::Integer
|
|
319
|
+
def clear_state: () -> void
|
|
320
|
+
|
|
321
|
+
# The id of the async operation that is creating/updating/deleting the user, if any
|
|
322
|
+
attr_reader async_operation_id(): ::String
|
|
323
|
+
attr_writer async_operation_id(): ::String | ::Symbol
|
|
324
|
+
def clear_async_operation_id: () -> void
|
|
325
|
+
|
|
326
|
+
# The details of the open invitation sent to the user, if any
|
|
327
|
+
attr_accessor invitation(): ::Temporalio::Api::Cloud::Identity::V1::Invitation?
|
|
328
|
+
def has_invitation?: () -> bool
|
|
329
|
+
def clear_invitation: () -> void
|
|
330
|
+
|
|
331
|
+
# The date and time when the user was created
|
|
332
|
+
attr_reader created_time(): ::Google::Protobuf::Timestamp?
|
|
333
|
+
attr_writer created_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
334
|
+
def has_created_time?: () -> bool
|
|
335
|
+
def clear_created_time: () -> void
|
|
336
|
+
|
|
337
|
+
# The date and time when the user was last modified
|
|
338
|
+
# Will not be set if the user has never been modified
|
|
339
|
+
attr_reader last_modified_time(): ::Google::Protobuf::Timestamp?
|
|
340
|
+
attr_writer last_modified_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
341
|
+
def has_last_modified_time?: () -> bool
|
|
342
|
+
def clear_last_modified_time: () -> void
|
|
343
|
+
|
|
344
|
+
type init_map = {
|
|
345
|
+
id: (::String | ::Symbol)?,
|
|
346
|
+
"id" => (::String | ::Symbol)?,
|
|
347
|
+
resource_version: (::String | ::Symbol)?,
|
|
348
|
+
"resource_version" => (::String | ::Symbol)?,
|
|
349
|
+
spec: (::Temporalio::Api::Cloud::Identity::V1::UserSpec | ::Temporalio::Api::Cloud::Identity::V1::UserSpec::init_map)?,
|
|
350
|
+
"spec" => (::Temporalio::Api::Cloud::Identity::V1::UserSpec | ::Temporalio::Api::Cloud::Identity::V1::UserSpec::init_map)?,
|
|
351
|
+
state_deprecated: (::String | ::Symbol)?,
|
|
352
|
+
"state_deprecated" => (::String | ::Symbol)?,
|
|
353
|
+
state: (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float)?,
|
|
354
|
+
"state" => (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float)?,
|
|
355
|
+
async_operation_id: (::String | ::Symbol)?,
|
|
356
|
+
"async_operation_id" => (::String | ::Symbol)?,
|
|
357
|
+
invitation: (::Temporalio::Api::Cloud::Identity::V1::Invitation | ::Temporalio::Api::Cloud::Identity::V1::Invitation::init_map)?,
|
|
358
|
+
"invitation" => (::Temporalio::Api::Cloud::Identity::V1::Invitation | ::Temporalio::Api::Cloud::Identity::V1::Invitation::init_map)?,
|
|
359
|
+
created_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
360
|
+
"created_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
361
|
+
last_modified_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
362
|
+
"last_modified_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
def initialize: (?init_map initial_value) -> void
|
|
366
|
+
|
|
367
|
+
def []:
|
|
368
|
+
("id" name) -> ::String
|
|
369
|
+
| ("resource_version" name) -> ::String
|
|
370
|
+
| ("spec" name) -> ::Temporalio::Api::Cloud::Identity::V1::UserSpec?
|
|
371
|
+
| ("state_deprecated" name) -> ::String
|
|
372
|
+
| ("state" name) -> (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Integer)
|
|
373
|
+
| ("async_operation_id" name) -> ::String
|
|
374
|
+
| ("invitation" name) -> ::Temporalio::Api::Cloud::Identity::V1::Invitation?
|
|
375
|
+
| ("created_time" name) -> ::Google::Protobuf::Timestamp?
|
|
376
|
+
| ("last_modified_time" name) -> ::Google::Protobuf::Timestamp?
|
|
377
|
+
|
|
378
|
+
def []=:
|
|
379
|
+
("id" name, (::String | ::Symbol) value) -> void
|
|
380
|
+
| ("resource_version" name, (::String | ::Symbol) value) -> void
|
|
381
|
+
| ("spec" name, ::Temporalio::Api::Cloud::Identity::V1::UserSpec? value) -> void
|
|
382
|
+
| ("state_deprecated" name, (::String | ::Symbol) value) -> void
|
|
383
|
+
| ("state" name, (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float) value) -> void
|
|
384
|
+
| ("async_operation_id" name, (::String | ::Symbol) value) -> void
|
|
385
|
+
| ("invitation" name, ::Temporalio::Api::Cloud::Identity::V1::Invitation? value) -> void
|
|
386
|
+
| ("created_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
387
|
+
| ("last_modified_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
388
|
+
end
|
|
389
|
+
|
|
390
|
+
class GoogleGroupSpec < ::Google::Protobuf::AbstractMessage
|
|
391
|
+
|
|
392
|
+
# The email address of the Google group.
|
|
393
|
+
# The email address is immutable. Once set during creation, it cannot be changed.
|
|
394
|
+
attr_reader email_address(): ::String
|
|
395
|
+
attr_writer email_address(): ::String | ::Symbol
|
|
396
|
+
def clear_email_address: () -> void
|
|
397
|
+
|
|
398
|
+
type init_map = {
|
|
399
|
+
email_address: (::String | ::Symbol)?,
|
|
400
|
+
"email_address" => (::String | ::Symbol)?,
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
def initialize: (?init_map initial_value) -> void
|
|
404
|
+
|
|
405
|
+
def []:
|
|
406
|
+
("email_address" name) -> ::String
|
|
407
|
+
|
|
408
|
+
def []=:
|
|
409
|
+
("email_address" name, (::String | ::Symbol) value) -> void
|
|
410
|
+
end
|
|
411
|
+
|
|
412
|
+
class SCIMGroupSpec < ::Google::Protobuf::AbstractMessage
|
|
413
|
+
|
|
414
|
+
# The id used in the upstream identity provider.
|
|
415
|
+
attr_reader idp_id(): ::String
|
|
416
|
+
attr_writer idp_id(): ::String | ::Symbol
|
|
417
|
+
def clear_idp_id: () -> void
|
|
418
|
+
|
|
419
|
+
type init_map = {
|
|
420
|
+
idp_id: (::String | ::Symbol)?,
|
|
421
|
+
"idp_id" => (::String | ::Symbol)?,
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
def initialize: (?init_map initial_value) -> void
|
|
425
|
+
|
|
426
|
+
def []:
|
|
427
|
+
("idp_id" name) -> ::String
|
|
428
|
+
|
|
429
|
+
def []=:
|
|
430
|
+
("idp_id" name, (::String | ::Symbol) value) -> void
|
|
431
|
+
end
|
|
432
|
+
|
|
433
|
+
class CloudGroupSpec < ::Google::Protobuf::AbstractMessage
|
|
434
|
+
|
|
435
|
+
type init_map = {
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
def initialize: (?init_map initial_value) -> void
|
|
439
|
+
end
|
|
440
|
+
|
|
441
|
+
class UserGroupSpec < ::Google::Protobuf::AbstractMessage
|
|
442
|
+
|
|
443
|
+
# The display name of the group.
|
|
444
|
+
attr_reader display_name(): ::String
|
|
445
|
+
attr_writer display_name(): ::String | ::Symbol
|
|
446
|
+
def clear_display_name: () -> void
|
|
447
|
+
|
|
448
|
+
# The access assigned to the group.
|
|
449
|
+
attr_accessor access(): ::Temporalio::Api::Cloud::Identity::V1::Access?
|
|
450
|
+
def has_access?: () -> bool
|
|
451
|
+
def clear_access: () -> void
|
|
452
|
+
|
|
453
|
+
# The specification of the google group that this group is associated with.
|
|
454
|
+
attr_accessor google_group(): ::Temporalio::Api::Cloud::Identity::V1::GoogleGroupSpec?
|
|
455
|
+
def has_google_group?: () -> bool
|
|
456
|
+
def clear_google_group: () -> void
|
|
457
|
+
|
|
458
|
+
# The specification of the SCIM group that this group is associated with.
|
|
459
|
+
# SCIM groups cannot be created or deleted directly, but their access can be managed.
|
|
460
|
+
attr_accessor scim_group(): ::Temporalio::Api::Cloud::Identity::V1::SCIMGroupSpec?
|
|
461
|
+
def has_scim_group?: () -> bool
|
|
462
|
+
def clear_scim_group: () -> void
|
|
463
|
+
|
|
464
|
+
# The specification for a Cloud group. Cloud groups can manage members using
|
|
465
|
+
# the add and remove member APIs.
|
|
466
|
+
attr_accessor cloud_group(): ::Temporalio::Api::Cloud::Identity::V1::CloudGroupSpec?
|
|
467
|
+
def has_cloud_group?: () -> bool
|
|
468
|
+
def clear_cloud_group: () -> void
|
|
469
|
+
|
|
470
|
+
attr_reader group_type(): (::Temporalio::Api::Cloud::Identity::V1::GoogleGroupSpec | ::Temporalio::Api::Cloud::Identity::V1::SCIMGroupSpec | ::Temporalio::Api::Cloud::Identity::V1::CloudGroupSpec)?
|
|
471
|
+
def has_group_type?: () -> bool
|
|
472
|
+
def clear_group_type: () -> void
|
|
473
|
+
|
|
474
|
+
type init_map = {
|
|
475
|
+
display_name: (::String | ::Symbol)?,
|
|
476
|
+
"display_name" => (::String | ::Symbol)?,
|
|
477
|
+
access: (::Temporalio::Api::Cloud::Identity::V1::Access | ::Temporalio::Api::Cloud::Identity::V1::Access::init_map)?,
|
|
478
|
+
"access" => (::Temporalio::Api::Cloud::Identity::V1::Access | ::Temporalio::Api::Cloud::Identity::V1::Access::init_map)?,
|
|
479
|
+
google_group: (::Temporalio::Api::Cloud::Identity::V1::GoogleGroupSpec | ::Temporalio::Api::Cloud::Identity::V1::GoogleGroupSpec::init_map)?,
|
|
480
|
+
"google_group" => (::Temporalio::Api::Cloud::Identity::V1::GoogleGroupSpec | ::Temporalio::Api::Cloud::Identity::V1::GoogleGroupSpec::init_map)?,
|
|
481
|
+
scim_group: (::Temporalio::Api::Cloud::Identity::V1::SCIMGroupSpec | ::Temporalio::Api::Cloud::Identity::V1::SCIMGroupSpec::init_map)?,
|
|
482
|
+
"scim_group" => (::Temporalio::Api::Cloud::Identity::V1::SCIMGroupSpec | ::Temporalio::Api::Cloud::Identity::V1::SCIMGroupSpec::init_map)?,
|
|
483
|
+
cloud_group: (::Temporalio::Api::Cloud::Identity::V1::CloudGroupSpec | ::Temporalio::Api::Cloud::Identity::V1::CloudGroupSpec::init_map)?,
|
|
484
|
+
"cloud_group" => (::Temporalio::Api::Cloud::Identity::V1::CloudGroupSpec | ::Temporalio::Api::Cloud::Identity::V1::CloudGroupSpec::init_map)?,
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
def initialize: (?init_map initial_value) -> void
|
|
488
|
+
|
|
489
|
+
def []:
|
|
490
|
+
("display_name" name) -> ::String
|
|
491
|
+
| ("access" name) -> ::Temporalio::Api::Cloud::Identity::V1::Access?
|
|
492
|
+
| ("google_group" name) -> ::Temporalio::Api::Cloud::Identity::V1::GoogleGroupSpec?
|
|
493
|
+
| ("scim_group" name) -> ::Temporalio::Api::Cloud::Identity::V1::SCIMGroupSpec?
|
|
494
|
+
| ("cloud_group" name) -> ::Temporalio::Api::Cloud::Identity::V1::CloudGroupSpec?
|
|
495
|
+
|
|
496
|
+
def []=:
|
|
497
|
+
("display_name" name, (::String | ::Symbol) value) -> void
|
|
498
|
+
| ("access" name, ::Temporalio::Api::Cloud::Identity::V1::Access? value) -> void
|
|
499
|
+
| ("google_group" name, ::Temporalio::Api::Cloud::Identity::V1::GoogleGroupSpec? value) -> void
|
|
500
|
+
| ("scim_group" name, ::Temporalio::Api::Cloud::Identity::V1::SCIMGroupSpec? value) -> void
|
|
501
|
+
| ("cloud_group" name, ::Temporalio::Api::Cloud::Identity::V1::CloudGroupSpec? value) -> void
|
|
502
|
+
end
|
|
503
|
+
|
|
504
|
+
class UserGroup < ::Google::Protobuf::AbstractMessage
|
|
505
|
+
|
|
506
|
+
# The id of the group
|
|
507
|
+
attr_reader id(): ::String
|
|
508
|
+
attr_writer id(): ::String | ::Symbol
|
|
509
|
+
def clear_id: () -> void
|
|
510
|
+
|
|
511
|
+
# The current version of the group specification
|
|
512
|
+
# The next update operation will have to include this version
|
|
513
|
+
attr_reader resource_version(): ::String
|
|
514
|
+
attr_writer resource_version(): ::String | ::Symbol
|
|
515
|
+
def clear_resource_version: () -> void
|
|
516
|
+
|
|
517
|
+
# The group specification
|
|
518
|
+
attr_accessor spec(): ::Temporalio::Api::Cloud::Identity::V1::UserGroupSpec?
|
|
519
|
+
def has_spec?: () -> bool
|
|
520
|
+
def clear_spec: () -> void
|
|
521
|
+
|
|
522
|
+
# The current state of the group.
|
|
523
|
+
# Deprecated: Not supported after v0.3.0 api version. Use state instead.
|
|
524
|
+
# temporal:versioning:max_version=v0.3.0
|
|
525
|
+
# @deprecated
|
|
526
|
+
attr_reader state_deprecated(): ::String
|
|
527
|
+
attr_writer state_deprecated(): ::String | ::Symbol
|
|
528
|
+
def clear_state_deprecated: () -> void
|
|
529
|
+
|
|
530
|
+
# The current state of the group.
|
|
531
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
532
|
+
# temporal:versioning:min_version=v0.3.0
|
|
533
|
+
# temporal:enums:replaces=state_deprecated
|
|
534
|
+
attr_reader state(): ::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Integer
|
|
535
|
+
attr_writer state(): ::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float
|
|
536
|
+
attr_reader state_const(): ::Integer
|
|
537
|
+
def clear_state: () -> void
|
|
538
|
+
|
|
539
|
+
# The id of the async operation that is creating/updating/deleting the group, if any
|
|
540
|
+
attr_reader async_operation_id(): ::String
|
|
541
|
+
attr_writer async_operation_id(): ::String | ::Symbol
|
|
542
|
+
def clear_async_operation_id: () -> void
|
|
543
|
+
|
|
544
|
+
# The date and time when the group was created
|
|
545
|
+
attr_reader created_time(): ::Google::Protobuf::Timestamp?
|
|
546
|
+
attr_writer created_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
547
|
+
def has_created_time?: () -> bool
|
|
548
|
+
def clear_created_time: () -> void
|
|
549
|
+
|
|
550
|
+
# The date and time when the group was last modified
|
|
551
|
+
# Will not be set if the group has never been modified
|
|
552
|
+
attr_reader last_modified_time(): ::Google::Protobuf::Timestamp?
|
|
553
|
+
attr_writer last_modified_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
554
|
+
def has_last_modified_time?: () -> bool
|
|
555
|
+
def clear_last_modified_time: () -> void
|
|
556
|
+
|
|
557
|
+
type init_map = {
|
|
558
|
+
id: (::String | ::Symbol)?,
|
|
559
|
+
"id" => (::String | ::Symbol)?,
|
|
560
|
+
resource_version: (::String | ::Symbol)?,
|
|
561
|
+
"resource_version" => (::String | ::Symbol)?,
|
|
562
|
+
spec: (::Temporalio::Api::Cloud::Identity::V1::UserGroupSpec | ::Temporalio::Api::Cloud::Identity::V1::UserGroupSpec::init_map)?,
|
|
563
|
+
"spec" => (::Temporalio::Api::Cloud::Identity::V1::UserGroupSpec | ::Temporalio::Api::Cloud::Identity::V1::UserGroupSpec::init_map)?,
|
|
564
|
+
state_deprecated: (::String | ::Symbol)?,
|
|
565
|
+
"state_deprecated" => (::String | ::Symbol)?,
|
|
566
|
+
state: (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float)?,
|
|
567
|
+
"state" => (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float)?,
|
|
568
|
+
async_operation_id: (::String | ::Symbol)?,
|
|
569
|
+
"async_operation_id" => (::String | ::Symbol)?,
|
|
570
|
+
created_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
571
|
+
"created_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
572
|
+
last_modified_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
573
|
+
"last_modified_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
def initialize: (?init_map initial_value) -> void
|
|
577
|
+
|
|
578
|
+
def []:
|
|
579
|
+
("id" name) -> ::String
|
|
580
|
+
| ("resource_version" name) -> ::String
|
|
581
|
+
| ("spec" name) -> ::Temporalio::Api::Cloud::Identity::V1::UserGroupSpec?
|
|
582
|
+
| ("state_deprecated" name) -> ::String
|
|
583
|
+
| ("state" name) -> (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Integer)
|
|
584
|
+
| ("async_operation_id" name) -> ::String
|
|
585
|
+
| ("created_time" name) -> ::Google::Protobuf::Timestamp?
|
|
586
|
+
| ("last_modified_time" name) -> ::Google::Protobuf::Timestamp?
|
|
587
|
+
|
|
588
|
+
def []=:
|
|
589
|
+
("id" name, (::String | ::Symbol) value) -> void
|
|
590
|
+
| ("resource_version" name, (::String | ::Symbol) value) -> void
|
|
591
|
+
| ("spec" name, ::Temporalio::Api::Cloud::Identity::V1::UserGroupSpec? value) -> void
|
|
592
|
+
| ("state_deprecated" name, (::String | ::Symbol) value) -> void
|
|
593
|
+
| ("state" name, (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float) value) -> void
|
|
594
|
+
| ("async_operation_id" name, (::String | ::Symbol) value) -> void
|
|
595
|
+
| ("created_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
596
|
+
| ("last_modified_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
597
|
+
end
|
|
598
|
+
|
|
599
|
+
class UserGroupMemberId < ::Google::Protobuf::AbstractMessage
|
|
600
|
+
|
|
601
|
+
attr_reader user_id(): ::String
|
|
602
|
+
attr_writer user_id(): (::String | ::Symbol)?
|
|
603
|
+
def has_user_id?: () -> bool
|
|
604
|
+
def clear_user_id: () -> void
|
|
605
|
+
|
|
606
|
+
attr_reader member_type(): ::String?
|
|
607
|
+
def has_member_type?: () -> bool
|
|
608
|
+
def clear_member_type: () -> void
|
|
609
|
+
|
|
610
|
+
type init_map = {
|
|
611
|
+
user_id: (::String | ::Symbol)?,
|
|
612
|
+
"user_id" => (::String | ::Symbol)?,
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
def initialize: (?init_map initial_value) -> void
|
|
616
|
+
|
|
617
|
+
def []:
|
|
618
|
+
("user_id" name) -> ::String
|
|
619
|
+
|
|
620
|
+
def []=:
|
|
621
|
+
("user_id" name, ((::String | ::Symbol)?) value) -> void
|
|
622
|
+
end
|
|
623
|
+
|
|
624
|
+
class UserGroupMember < ::Google::Protobuf::AbstractMessage
|
|
625
|
+
|
|
626
|
+
attr_accessor member_id(): ::Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId?
|
|
627
|
+
def has_member_id?: () -> bool
|
|
628
|
+
def clear_member_id: () -> void
|
|
629
|
+
|
|
630
|
+
attr_reader created_time(): ::Google::Protobuf::Timestamp?
|
|
631
|
+
attr_writer created_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
632
|
+
def has_created_time?: () -> bool
|
|
633
|
+
def clear_created_time: () -> void
|
|
634
|
+
|
|
635
|
+
type init_map = {
|
|
636
|
+
member_id: (::Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId | ::Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId::init_map)?,
|
|
637
|
+
"member_id" => (::Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId | ::Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId::init_map)?,
|
|
638
|
+
created_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
639
|
+
"created_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
def initialize: (?init_map initial_value) -> void
|
|
643
|
+
|
|
644
|
+
def []:
|
|
645
|
+
("member_id" name) -> ::Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId?
|
|
646
|
+
| ("created_time" name) -> ::Google::Protobuf::Timestamp?
|
|
647
|
+
|
|
648
|
+
def []=:
|
|
649
|
+
("member_id" name, ::Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId? value) -> void
|
|
650
|
+
| ("created_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
651
|
+
end
|
|
652
|
+
|
|
653
|
+
class ServiceAccount < ::Google::Protobuf::AbstractMessage
|
|
654
|
+
|
|
655
|
+
# The id of the service account.
|
|
656
|
+
attr_reader id(): ::String
|
|
657
|
+
attr_writer id(): ::String | ::Symbol
|
|
658
|
+
def clear_id: () -> void
|
|
659
|
+
|
|
660
|
+
# The current version of the service account specification.
|
|
661
|
+
# The next update operation will have to include this version.
|
|
662
|
+
attr_reader resource_version(): ::String
|
|
663
|
+
attr_writer resource_version(): ::String | ::Symbol
|
|
664
|
+
def clear_resource_version: () -> void
|
|
665
|
+
|
|
666
|
+
# The service account specification.
|
|
667
|
+
attr_accessor spec(): ::Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec?
|
|
668
|
+
def has_spec?: () -> bool
|
|
669
|
+
def clear_spec: () -> void
|
|
670
|
+
|
|
671
|
+
# The current state of the service account.
|
|
672
|
+
# Possible values: activating, activationfailed, active, updating, updatefailed, deleting, deletefailed, deleted, suspending, suspendfailed, suspended.
|
|
673
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
674
|
+
# Deprecated: Not supported after v0.3.0 api version. Use state instead.
|
|
675
|
+
# temporal:versioning:max_version=v0.3.0
|
|
676
|
+
# @deprecated
|
|
677
|
+
attr_reader state_deprecated(): ::String
|
|
678
|
+
attr_writer state_deprecated(): ::String | ::Symbol
|
|
679
|
+
def clear_state_deprecated: () -> void
|
|
680
|
+
|
|
681
|
+
# The current state of the service account.
|
|
682
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
683
|
+
# temporal:versioning:min_version=v0.3.0
|
|
684
|
+
# temporal:enums:replaces=state_deprecated
|
|
685
|
+
attr_reader state(): ::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Integer
|
|
686
|
+
attr_writer state(): ::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float
|
|
687
|
+
attr_reader state_const(): ::Integer
|
|
688
|
+
def clear_state: () -> void
|
|
689
|
+
|
|
690
|
+
# The id of the async operation that is creating/updating/deleting the service account, if any.
|
|
691
|
+
attr_reader async_operation_id(): ::String
|
|
692
|
+
attr_writer async_operation_id(): ::String | ::Symbol
|
|
693
|
+
def clear_async_operation_id: () -> void
|
|
694
|
+
|
|
695
|
+
# The date and time when the service account was created.
|
|
696
|
+
attr_reader created_time(): ::Google::Protobuf::Timestamp?
|
|
697
|
+
attr_writer created_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
698
|
+
def has_created_time?: () -> bool
|
|
699
|
+
def clear_created_time: () -> void
|
|
700
|
+
|
|
701
|
+
# The date and time when the service account was last modified
|
|
702
|
+
# Will not be set if the service account has never been modified.
|
|
703
|
+
attr_reader last_modified_time(): ::Google::Protobuf::Timestamp?
|
|
704
|
+
attr_writer last_modified_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
705
|
+
def has_last_modified_time?: () -> bool
|
|
706
|
+
def clear_last_modified_time: () -> void
|
|
707
|
+
|
|
708
|
+
type init_map = {
|
|
709
|
+
id: (::String | ::Symbol)?,
|
|
710
|
+
"id" => (::String | ::Symbol)?,
|
|
711
|
+
resource_version: (::String | ::Symbol)?,
|
|
712
|
+
"resource_version" => (::String | ::Symbol)?,
|
|
713
|
+
spec: (::Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec | ::Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec::init_map)?,
|
|
714
|
+
"spec" => (::Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec | ::Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec::init_map)?,
|
|
715
|
+
state_deprecated: (::String | ::Symbol)?,
|
|
716
|
+
"state_deprecated" => (::String | ::Symbol)?,
|
|
717
|
+
state: (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float)?,
|
|
718
|
+
"state" => (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float)?,
|
|
719
|
+
async_operation_id: (::String | ::Symbol)?,
|
|
720
|
+
"async_operation_id" => (::String | ::Symbol)?,
|
|
721
|
+
created_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
722
|
+
"created_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
723
|
+
last_modified_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
724
|
+
"last_modified_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
def initialize: (?init_map initial_value) -> void
|
|
728
|
+
|
|
729
|
+
def []:
|
|
730
|
+
("id" name) -> ::String
|
|
731
|
+
| ("resource_version" name) -> ::String
|
|
732
|
+
| ("spec" name) -> ::Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec?
|
|
733
|
+
| ("state_deprecated" name) -> ::String
|
|
734
|
+
| ("state" name) -> (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Integer)
|
|
735
|
+
| ("async_operation_id" name) -> ::String
|
|
736
|
+
| ("created_time" name) -> ::Google::Protobuf::Timestamp?
|
|
737
|
+
| ("last_modified_time" name) -> ::Google::Protobuf::Timestamp?
|
|
738
|
+
|
|
739
|
+
def []=:
|
|
740
|
+
("id" name, (::String | ::Symbol) value) -> void
|
|
741
|
+
| ("resource_version" name, (::String | ::Symbol) value) -> void
|
|
742
|
+
| ("spec" name, ::Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec? value) -> void
|
|
743
|
+
| ("state_deprecated" name, (::String | ::Symbol) value) -> void
|
|
744
|
+
| ("state" name, (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float) value) -> void
|
|
745
|
+
| ("async_operation_id" name, (::String | ::Symbol) value) -> void
|
|
746
|
+
| ("created_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
747
|
+
| ("last_modified_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
748
|
+
end
|
|
749
|
+
|
|
750
|
+
class ServiceAccountSpec < ::Google::Protobuf::AbstractMessage
|
|
751
|
+
|
|
752
|
+
# The name associated with the service account.
|
|
753
|
+
# The name is mutable, but must be unique across all your active service accounts.
|
|
754
|
+
attr_reader name(): ::String
|
|
755
|
+
attr_writer name(): ::String | ::Symbol
|
|
756
|
+
def clear_name: () -> void
|
|
757
|
+
|
|
758
|
+
# Note: one of `Access` or `NamespaceScopedAccess` must be provided, but not both.
|
|
759
|
+
# The access assigned to the service account.
|
|
760
|
+
# If set, creates an account scoped service account.
|
|
761
|
+
# The access is mutable.
|
|
762
|
+
attr_accessor access(): ::Temporalio::Api::Cloud::Identity::V1::Access?
|
|
763
|
+
def has_access?: () -> bool
|
|
764
|
+
def clear_access: () -> void
|
|
765
|
+
|
|
766
|
+
# The namespace scoped access assigned to the service account.
|
|
767
|
+
# If set, creates a namespace scoped service account (limited to a single namespace).
|
|
768
|
+
# The namespace scoped access is partially mutable.
|
|
769
|
+
# Refer to `NamespaceScopedAccess` for details.
|
|
770
|
+
attr_accessor namespace_scoped_access(): ::Temporalio::Api::Cloud::Identity::V1::NamespaceScopedAccess?
|
|
771
|
+
def has_namespace_scoped_access?: () -> bool
|
|
772
|
+
def clear_namespace_scoped_access: () -> void
|
|
773
|
+
|
|
774
|
+
# The description associated with the service account - optional.
|
|
775
|
+
# The description is mutable.
|
|
776
|
+
attr_reader description(): ::String
|
|
777
|
+
attr_writer description(): ::String | ::Symbol
|
|
778
|
+
def clear_description: () -> void
|
|
779
|
+
|
|
780
|
+
type init_map = {
|
|
781
|
+
name: (::String | ::Symbol)?,
|
|
782
|
+
"name" => (::String | ::Symbol)?,
|
|
783
|
+
access: (::Temporalio::Api::Cloud::Identity::V1::Access | ::Temporalio::Api::Cloud::Identity::V1::Access::init_map)?,
|
|
784
|
+
"access" => (::Temporalio::Api::Cloud::Identity::V1::Access | ::Temporalio::Api::Cloud::Identity::V1::Access::init_map)?,
|
|
785
|
+
namespace_scoped_access: (::Temporalio::Api::Cloud::Identity::V1::NamespaceScopedAccess | ::Temporalio::Api::Cloud::Identity::V1::NamespaceScopedAccess::init_map)?,
|
|
786
|
+
"namespace_scoped_access" => (::Temporalio::Api::Cloud::Identity::V1::NamespaceScopedAccess | ::Temporalio::Api::Cloud::Identity::V1::NamespaceScopedAccess::init_map)?,
|
|
787
|
+
description: (::String | ::Symbol)?,
|
|
788
|
+
"description" => (::String | ::Symbol)?,
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
def initialize: (?init_map initial_value) -> void
|
|
792
|
+
|
|
793
|
+
def []:
|
|
794
|
+
("name" name) -> ::String
|
|
795
|
+
| ("access" name) -> ::Temporalio::Api::Cloud::Identity::V1::Access?
|
|
796
|
+
| ("namespace_scoped_access" name) -> ::Temporalio::Api::Cloud::Identity::V1::NamespaceScopedAccess?
|
|
797
|
+
| ("description" name) -> ::String
|
|
798
|
+
|
|
799
|
+
def []=:
|
|
800
|
+
("name" name, (::String | ::Symbol) value) -> void
|
|
801
|
+
| ("access" name, ::Temporalio::Api::Cloud::Identity::V1::Access? value) -> void
|
|
802
|
+
| ("namespace_scoped_access" name, ::Temporalio::Api::Cloud::Identity::V1::NamespaceScopedAccess? value) -> void
|
|
803
|
+
| ("description" name, (::String | ::Symbol) value) -> void
|
|
804
|
+
end
|
|
805
|
+
|
|
806
|
+
class ApiKey < ::Google::Protobuf::AbstractMessage
|
|
807
|
+
|
|
808
|
+
# The id of the API Key.
|
|
809
|
+
attr_reader id(): ::String
|
|
810
|
+
attr_writer id(): ::String | ::Symbol
|
|
811
|
+
def clear_id: () -> void
|
|
812
|
+
|
|
813
|
+
# The current version of the API key specification.
|
|
814
|
+
# The next update operation will have to include this version.
|
|
815
|
+
attr_reader resource_version(): ::String
|
|
816
|
+
attr_writer resource_version(): ::String | ::Symbol
|
|
817
|
+
def clear_resource_version: () -> void
|
|
818
|
+
|
|
819
|
+
# The API key specification.
|
|
820
|
+
attr_accessor spec(): ::Temporalio::Api::Cloud::Identity::V1::ApiKeySpec?
|
|
821
|
+
def has_spec?: () -> bool
|
|
822
|
+
def clear_spec: () -> void
|
|
823
|
+
|
|
824
|
+
# The current state of the API key.
|
|
825
|
+
# Possible values: activating, activationfailed, active, updating, updatefailed, deleting, deletefailed, deleted, suspending, suspendfailed, suspended.
|
|
826
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
827
|
+
# Deprecated: Not supported after v0.3.0 api version. Use state instead.
|
|
828
|
+
# temporal:versioning:max_version=v0.3.0
|
|
829
|
+
# @deprecated
|
|
830
|
+
attr_reader state_deprecated(): ::String
|
|
831
|
+
attr_writer state_deprecated(): ::String | ::Symbol
|
|
832
|
+
def clear_state_deprecated: () -> void
|
|
833
|
+
|
|
834
|
+
# The current state of the API key.
|
|
835
|
+
# temporal:versioning:min_version=v0.3.0
|
|
836
|
+
# temporal:enums:replaces=state_deprecated
|
|
837
|
+
attr_reader state(): ::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Integer
|
|
838
|
+
attr_writer state(): ::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float
|
|
839
|
+
attr_reader state_const(): ::Integer
|
|
840
|
+
def clear_state: () -> void
|
|
841
|
+
|
|
842
|
+
# The id of the async operation that is creating/updating/deleting the API key, if any.
|
|
843
|
+
attr_reader async_operation_id(): ::String
|
|
844
|
+
attr_writer async_operation_id(): ::String | ::Symbol
|
|
845
|
+
def clear_async_operation_id: () -> void
|
|
846
|
+
|
|
847
|
+
# The date and time when the API key was created.
|
|
848
|
+
attr_reader created_time(): ::Google::Protobuf::Timestamp?
|
|
849
|
+
attr_writer created_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
850
|
+
def has_created_time?: () -> bool
|
|
851
|
+
def clear_created_time: () -> void
|
|
852
|
+
|
|
853
|
+
# The date and time when the API key was last modified.
|
|
854
|
+
# Will not be set if the API key has never been modified.
|
|
855
|
+
attr_reader last_modified_time(): ::Google::Protobuf::Timestamp?
|
|
856
|
+
attr_writer last_modified_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
857
|
+
def has_last_modified_time?: () -> bool
|
|
858
|
+
def clear_last_modified_time: () -> void
|
|
859
|
+
|
|
860
|
+
type init_map = {
|
|
861
|
+
id: (::String | ::Symbol)?,
|
|
862
|
+
"id" => (::String | ::Symbol)?,
|
|
863
|
+
resource_version: (::String | ::Symbol)?,
|
|
864
|
+
"resource_version" => (::String | ::Symbol)?,
|
|
865
|
+
spec: (::Temporalio::Api::Cloud::Identity::V1::ApiKeySpec | ::Temporalio::Api::Cloud::Identity::V1::ApiKeySpec::init_map)?,
|
|
866
|
+
"spec" => (::Temporalio::Api::Cloud::Identity::V1::ApiKeySpec | ::Temporalio::Api::Cloud::Identity::V1::ApiKeySpec::init_map)?,
|
|
867
|
+
state_deprecated: (::String | ::Symbol)?,
|
|
868
|
+
"state_deprecated" => (::String | ::Symbol)?,
|
|
869
|
+
state: (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float)?,
|
|
870
|
+
"state" => (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float)?,
|
|
871
|
+
async_operation_id: (::String | ::Symbol)?,
|
|
872
|
+
"async_operation_id" => (::String | ::Symbol)?,
|
|
873
|
+
created_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
874
|
+
"created_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
875
|
+
last_modified_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
876
|
+
"last_modified_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
def initialize: (?init_map initial_value) -> void
|
|
880
|
+
|
|
881
|
+
def []:
|
|
882
|
+
("id" name) -> ::String
|
|
883
|
+
| ("resource_version" name) -> ::String
|
|
884
|
+
| ("spec" name) -> ::Temporalio::Api::Cloud::Identity::V1::ApiKeySpec?
|
|
885
|
+
| ("state_deprecated" name) -> ::String
|
|
886
|
+
| ("state" name) -> (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Integer)
|
|
887
|
+
| ("async_operation_id" name) -> ::String
|
|
888
|
+
| ("created_time" name) -> ::Google::Protobuf::Timestamp?
|
|
889
|
+
| ("last_modified_time" name) -> ::Google::Protobuf::Timestamp?
|
|
890
|
+
|
|
891
|
+
def []=:
|
|
892
|
+
("id" name, (::String | ::Symbol) value) -> void
|
|
893
|
+
| ("resource_version" name, (::String | ::Symbol) value) -> void
|
|
894
|
+
| ("spec" name, ::Temporalio::Api::Cloud::Identity::V1::ApiKeySpec? value) -> void
|
|
895
|
+
| ("state_deprecated" name, (::String | ::Symbol) value) -> void
|
|
896
|
+
| ("state" name, (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float) value) -> void
|
|
897
|
+
| ("async_operation_id" name, (::String | ::Symbol) value) -> void
|
|
898
|
+
| ("created_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
899
|
+
| ("last_modified_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
900
|
+
end
|
|
901
|
+
|
|
902
|
+
class ApiKeySpec < ::Google::Protobuf::AbstractMessage
|
|
903
|
+
|
|
904
|
+
# The id of the owner to create the API key for.
|
|
905
|
+
# The owner id is immutable. Once set during creation, it cannot be changed.
|
|
906
|
+
# The owner id is the id of the user when the owner type is user.
|
|
907
|
+
# The owner id is the id of the service account when the owner type is service account.
|
|
908
|
+
attr_reader owner_id(): ::String
|
|
909
|
+
attr_writer owner_id(): ::String | ::Symbol
|
|
910
|
+
def clear_owner_id: () -> void
|
|
911
|
+
|
|
912
|
+
# The type of the owner to create the API key for.
|
|
913
|
+
# The owner type is immutable. Once set during creation, it cannot be changed.
|
|
914
|
+
# Possible values: user, service-account.
|
|
915
|
+
# Deprecated: Not supported after v0.3.0 api version. Use owner_type instead.
|
|
916
|
+
# temporal:versioning:max_version=v0.3.0
|
|
917
|
+
# @deprecated
|
|
918
|
+
attr_reader owner_type_deprecated(): ::String
|
|
919
|
+
attr_writer owner_type_deprecated(): ::String | ::Symbol
|
|
920
|
+
def clear_owner_type_deprecated: () -> void
|
|
921
|
+
|
|
922
|
+
# The type of the owner to create the API key for.
|
|
923
|
+
# temporal:versioning:min_version=v0.3.0
|
|
924
|
+
# temporal:enums:replaces=owner_type_deprecated
|
|
925
|
+
attr_reader owner_type(): ::Temporalio::Api::Cloud::Identity::V1::OwnerType::names | ::Integer
|
|
926
|
+
attr_writer owner_type(): ::Temporalio::Api::Cloud::Identity::V1::OwnerType::names | ::Temporalio::Api::Cloud::Identity::V1::OwnerType::strings | ::Integer | ::Float
|
|
927
|
+
attr_reader owner_type_const(): ::Integer
|
|
928
|
+
def clear_owner_type: () -> void
|
|
929
|
+
|
|
930
|
+
# The display name of the API key.
|
|
931
|
+
attr_reader display_name(): ::String
|
|
932
|
+
attr_writer display_name(): ::String | ::Symbol
|
|
933
|
+
def clear_display_name: () -> void
|
|
934
|
+
|
|
935
|
+
# The description of the API key.
|
|
936
|
+
attr_reader description(): ::String
|
|
937
|
+
attr_writer description(): ::String | ::Symbol
|
|
938
|
+
def clear_description: () -> void
|
|
939
|
+
|
|
940
|
+
# The expiry time of the API key.
|
|
941
|
+
attr_reader expiry_time(): ::Google::Protobuf::Timestamp?
|
|
942
|
+
attr_writer expiry_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
943
|
+
def has_expiry_time?: () -> bool
|
|
944
|
+
def clear_expiry_time: () -> void
|
|
945
|
+
|
|
946
|
+
# True if the API key is disabled.
|
|
947
|
+
attr_accessor disabled(): bool
|
|
948
|
+
def clear_disabled: () -> void
|
|
949
|
+
|
|
950
|
+
type init_map = {
|
|
951
|
+
owner_id: (::String | ::Symbol)?,
|
|
952
|
+
"owner_id" => (::String | ::Symbol)?,
|
|
953
|
+
owner_type_deprecated: (::String | ::Symbol)?,
|
|
954
|
+
"owner_type_deprecated" => (::String | ::Symbol)?,
|
|
955
|
+
owner_type: (::Temporalio::Api::Cloud::Identity::V1::OwnerType::names | ::Temporalio::Api::Cloud::Identity::V1::OwnerType::strings | ::Integer | ::Float)?,
|
|
956
|
+
"owner_type" => (::Temporalio::Api::Cloud::Identity::V1::OwnerType::names | ::Temporalio::Api::Cloud::Identity::V1::OwnerType::strings | ::Integer | ::Float)?,
|
|
957
|
+
display_name: (::String | ::Symbol)?,
|
|
958
|
+
"display_name" => (::String | ::Symbol)?,
|
|
959
|
+
description: (::String | ::Symbol)?,
|
|
960
|
+
"description" => (::String | ::Symbol)?,
|
|
961
|
+
expiry_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
962
|
+
"expiry_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
963
|
+
disabled: bool?,
|
|
964
|
+
"disabled" => bool?,
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
def initialize: (?init_map initial_value) -> void
|
|
968
|
+
|
|
969
|
+
def []:
|
|
970
|
+
("owner_id" name) -> ::String
|
|
971
|
+
| ("owner_type_deprecated" name) -> ::String
|
|
972
|
+
| ("owner_type" name) -> (::Temporalio::Api::Cloud::Identity::V1::OwnerType::names | ::Integer)
|
|
973
|
+
| ("display_name" name) -> ::String
|
|
974
|
+
| ("description" name) -> ::String
|
|
975
|
+
| ("expiry_time" name) -> ::Google::Protobuf::Timestamp?
|
|
976
|
+
| ("disabled" name) -> bool
|
|
977
|
+
|
|
978
|
+
def []=:
|
|
979
|
+
("owner_id" name, (::String | ::Symbol) value) -> void
|
|
980
|
+
| ("owner_type_deprecated" name, (::String | ::Symbol) value) -> void
|
|
981
|
+
| ("owner_type" name, (::Temporalio::Api::Cloud::Identity::V1::OwnerType::names | ::Temporalio::Api::Cloud::Identity::V1::OwnerType::strings | ::Integer | ::Float) value) -> void
|
|
982
|
+
| ("display_name" name, (::String | ::Symbol) value) -> void
|
|
983
|
+
| ("description" name, (::String | ::Symbol) value) -> void
|
|
984
|
+
| ("expiry_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
985
|
+
| ("disabled" name, bool value) -> void
|
|
986
|
+
end
|
|
987
|
+
|
|
988
|
+
class CustomRoleSpec < ::Google::Protobuf::AbstractMessage
|
|
989
|
+
class Resources < ::Google::Protobuf::AbstractMessage
|
|
990
|
+
|
|
991
|
+
# The resource type the permission applies to.
|
|
992
|
+
attr_reader resource_type(): ::String
|
|
993
|
+
attr_writer resource_type(): ::String | ::Symbol
|
|
994
|
+
def clear_resource_type: () -> void
|
|
995
|
+
|
|
996
|
+
# The resource IDs the permission applies to. Can be empty if allow_all is true.
|
|
997
|
+
attr_accessor resource_ids(): ::Google::Protobuf::RepeatedField
|
|
998
|
+
def clear_resource_ids: () -> void
|
|
999
|
+
|
|
1000
|
+
# Whether the permission applies to all resources of the given type.
|
|
1001
|
+
attr_accessor allow_all(): bool
|
|
1002
|
+
def clear_allow_all: () -> void
|
|
1003
|
+
|
|
1004
|
+
type init_map = {
|
|
1005
|
+
resource_type: (::String | ::Symbol)?,
|
|
1006
|
+
"resource_type" => (::String | ::Symbol)?,
|
|
1007
|
+
resource_ids: ::Array[::String | ::Symbol]?,
|
|
1008
|
+
"resource_ids" => ::Array[::String | ::Symbol]?,
|
|
1009
|
+
allow_all: bool?,
|
|
1010
|
+
"allow_all" => bool?,
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
def initialize: (?init_map initial_value) -> void
|
|
1014
|
+
|
|
1015
|
+
def []:
|
|
1016
|
+
("resource_type" name) -> ::String
|
|
1017
|
+
| ("resource_ids" name) -> (::Google::Protobuf::RepeatedField)
|
|
1018
|
+
| ("allow_all" name) -> bool
|
|
1019
|
+
|
|
1020
|
+
def []=:
|
|
1021
|
+
("resource_type" name, (::String | ::Symbol) value) -> void
|
|
1022
|
+
| ("resource_ids" name, (::Google::Protobuf::RepeatedField) value) -> void
|
|
1023
|
+
| ("allow_all" name, bool value) -> void
|
|
1024
|
+
end
|
|
1025
|
+
|
|
1026
|
+
class Permission < ::Google::Protobuf::AbstractMessage
|
|
1027
|
+
|
|
1028
|
+
# The resources the permission applies to.
|
|
1029
|
+
attr_accessor resources(): ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Resources?
|
|
1030
|
+
def has_resources?: () -> bool
|
|
1031
|
+
def clear_resources: () -> void
|
|
1032
|
+
|
|
1033
|
+
# The actions allowed by the permission.
|
|
1034
|
+
attr_accessor actions(): ::Google::Protobuf::RepeatedField
|
|
1035
|
+
def clear_actions: () -> void
|
|
1036
|
+
|
|
1037
|
+
type init_map = {
|
|
1038
|
+
resources: (::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Resources | ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Resources::init_map)?,
|
|
1039
|
+
"resources" => (::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Resources | ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Resources::init_map)?,
|
|
1040
|
+
actions: ::Array[::String | ::Symbol]?,
|
|
1041
|
+
"actions" => ::Array[::String | ::Symbol]?,
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
def initialize: (?init_map initial_value) -> void
|
|
1045
|
+
|
|
1046
|
+
def []:
|
|
1047
|
+
("resources" name) -> ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Resources?
|
|
1048
|
+
| ("actions" name) -> (::Google::Protobuf::RepeatedField)
|
|
1049
|
+
|
|
1050
|
+
def []=:
|
|
1051
|
+
("resources" name, ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Resources? value) -> void
|
|
1052
|
+
| ("actions" name, (::Google::Protobuf::RepeatedField) value) -> void
|
|
1053
|
+
end
|
|
1054
|
+
|
|
1055
|
+
# The name of the custom role.
|
|
1056
|
+
attr_reader name(): ::String
|
|
1057
|
+
attr_writer name(): ::String | ::Symbol
|
|
1058
|
+
def clear_name: () -> void
|
|
1059
|
+
|
|
1060
|
+
# The description of the custom role.
|
|
1061
|
+
attr_reader description(): ::String
|
|
1062
|
+
attr_writer description(): ::String | ::Symbol
|
|
1063
|
+
def clear_description: () -> void
|
|
1064
|
+
|
|
1065
|
+
# The permissions assigned to the custom role.
|
|
1066
|
+
attr_accessor permissions(): ::Google::Protobuf::RepeatedField
|
|
1067
|
+
def clear_permissions: () -> void
|
|
1068
|
+
|
|
1069
|
+
type init_map = {
|
|
1070
|
+
name: (::String | ::Symbol)?,
|
|
1071
|
+
"name" => (::String | ::Symbol)?,
|
|
1072
|
+
description: (::String | ::Symbol)?,
|
|
1073
|
+
"description" => (::String | ::Symbol)?,
|
|
1074
|
+
permissions: ::Array[::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Permission]?,
|
|
1075
|
+
"permissions" => ::Array[::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Permission]?,
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
def initialize: (?init_map initial_value) -> void
|
|
1079
|
+
|
|
1080
|
+
def []:
|
|
1081
|
+
("name" name) -> ::String
|
|
1082
|
+
| ("description" name) -> ::String
|
|
1083
|
+
| ("permissions" name) -> ::Google::Protobuf::RepeatedField
|
|
1084
|
+
|
|
1085
|
+
def []=:
|
|
1086
|
+
("name" name, (::String | ::Symbol) value) -> void
|
|
1087
|
+
| ("description" name, (::String | ::Symbol) value) -> void
|
|
1088
|
+
| ("permissions" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
1089
|
+
end
|
|
1090
|
+
|
|
1091
|
+
class CustomRole < ::Google::Protobuf::AbstractMessage
|
|
1092
|
+
|
|
1093
|
+
# The id of the custom role.
|
|
1094
|
+
attr_reader id(): ::String
|
|
1095
|
+
attr_writer id(): ::String | ::Symbol
|
|
1096
|
+
def clear_id: () -> void
|
|
1097
|
+
|
|
1098
|
+
# The current version of the custom role specification.
|
|
1099
|
+
# The next update operation will have to include this version.
|
|
1100
|
+
attr_reader resource_version(): ::String
|
|
1101
|
+
attr_writer resource_version(): ::String | ::Symbol
|
|
1102
|
+
def clear_resource_version: () -> void
|
|
1103
|
+
|
|
1104
|
+
# The custom role specification.
|
|
1105
|
+
attr_accessor spec(): ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec?
|
|
1106
|
+
def has_spec?: () -> bool
|
|
1107
|
+
def clear_spec: () -> void
|
|
1108
|
+
|
|
1109
|
+
# The current state of the custom role.
|
|
1110
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
1111
|
+
attr_reader state(): ::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Integer
|
|
1112
|
+
attr_writer state(): ::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float
|
|
1113
|
+
attr_reader state_const(): ::Integer
|
|
1114
|
+
def clear_state: () -> void
|
|
1115
|
+
|
|
1116
|
+
# The id of the async operation that is creating/updating/deleting the custom role, if any.
|
|
1117
|
+
attr_reader async_operation_id(): ::String
|
|
1118
|
+
attr_writer async_operation_id(): ::String | ::Symbol
|
|
1119
|
+
def clear_async_operation_id: () -> void
|
|
1120
|
+
|
|
1121
|
+
# The date and time when the custom role was created.
|
|
1122
|
+
attr_reader created_time(): ::Google::Protobuf::Timestamp?
|
|
1123
|
+
attr_writer created_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
1124
|
+
def has_created_time?: () -> bool
|
|
1125
|
+
def clear_created_time: () -> void
|
|
1126
|
+
|
|
1127
|
+
# The date and time when the custom role was last modified.
|
|
1128
|
+
# Will not be set if the custom role has never been modified.
|
|
1129
|
+
attr_reader last_modified_time(): ::Google::Protobuf::Timestamp?
|
|
1130
|
+
attr_writer last_modified_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
1131
|
+
def has_last_modified_time?: () -> bool
|
|
1132
|
+
def clear_last_modified_time: () -> void
|
|
1133
|
+
|
|
1134
|
+
type init_map = {
|
|
1135
|
+
id: (::String | ::Symbol)?,
|
|
1136
|
+
"id" => (::String | ::Symbol)?,
|
|
1137
|
+
resource_version: (::String | ::Symbol)?,
|
|
1138
|
+
"resource_version" => (::String | ::Symbol)?,
|
|
1139
|
+
spec: (::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec | ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::init_map)?,
|
|
1140
|
+
"spec" => (::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec | ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::init_map)?,
|
|
1141
|
+
state: (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float)?,
|
|
1142
|
+
"state" => (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float)?,
|
|
1143
|
+
async_operation_id: (::String | ::Symbol)?,
|
|
1144
|
+
"async_operation_id" => (::String | ::Symbol)?,
|
|
1145
|
+
created_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
1146
|
+
"created_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
1147
|
+
last_modified_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
1148
|
+
"last_modified_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
def initialize: (?init_map initial_value) -> void
|
|
1152
|
+
|
|
1153
|
+
def []:
|
|
1154
|
+
("id" name) -> ::String
|
|
1155
|
+
| ("resource_version" name) -> ::String
|
|
1156
|
+
| ("spec" name) -> ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec?
|
|
1157
|
+
| ("state" name) -> (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Integer)
|
|
1158
|
+
| ("async_operation_id" name) -> ::String
|
|
1159
|
+
| ("created_time" name) -> ::Google::Protobuf::Timestamp?
|
|
1160
|
+
| ("last_modified_time" name) -> ::Google::Protobuf::Timestamp?
|
|
1161
|
+
|
|
1162
|
+
def []=:
|
|
1163
|
+
("id" name, (::String | ::Symbol) value) -> void
|
|
1164
|
+
| ("resource_version" name, (::String | ::Symbol) value) -> void
|
|
1165
|
+
| ("spec" name, ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec? value) -> void
|
|
1166
|
+
| ("state" name, (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float) value) -> void
|
|
1167
|
+
| ("async_operation_id" name, (::String | ::Symbol) value) -> void
|
|
1168
|
+
| ("created_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
1169
|
+
| ("last_modified_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
1170
|
+
end
|
|
1171
|
+
|
|
1172
|
+
class UserNamespaceAssignment < ::Google::Protobuf::AbstractMessage
|
|
1173
|
+
|
|
1174
|
+
# The ID of the user.
|
|
1175
|
+
attr_reader id(): ::String
|
|
1176
|
+
attr_writer id(): ::String | ::Symbol
|
|
1177
|
+
def clear_id: () -> void
|
|
1178
|
+
|
|
1179
|
+
# The email of the user.
|
|
1180
|
+
attr_reader email(): ::String
|
|
1181
|
+
attr_writer email(): ::String | ::Symbol
|
|
1182
|
+
def clear_email: () -> void
|
|
1183
|
+
|
|
1184
|
+
# The access assigned to the user at the namespace level.
|
|
1185
|
+
attr_accessor namespace_access(): ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess?
|
|
1186
|
+
def has_namespace_access?: () -> bool
|
|
1187
|
+
def clear_namespace_access: () -> void
|
|
1188
|
+
|
|
1189
|
+
# True if the user has inherited access to the namespace through an account or project role.
|
|
1190
|
+
attr_accessor inherited_access(): bool
|
|
1191
|
+
def clear_inherited_access: () -> void
|
|
1192
|
+
|
|
1193
|
+
# The current resource version of the user.
|
|
1194
|
+
attr_reader resource_version(): ::String
|
|
1195
|
+
attr_writer resource_version(): ::String | ::Symbol
|
|
1196
|
+
def clear_resource_version: () -> void
|
|
1197
|
+
|
|
1198
|
+
type init_map = {
|
|
1199
|
+
id: (::String | ::Symbol)?,
|
|
1200
|
+
"id" => (::String | ::Symbol)?,
|
|
1201
|
+
email: (::String | ::Symbol)?,
|
|
1202
|
+
"email" => (::String | ::Symbol)?,
|
|
1203
|
+
namespace_access: (::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess | ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::init_map)?,
|
|
1204
|
+
"namespace_access" => (::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess | ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::init_map)?,
|
|
1205
|
+
inherited_access: bool?,
|
|
1206
|
+
"inherited_access" => bool?,
|
|
1207
|
+
resource_version: (::String | ::Symbol)?,
|
|
1208
|
+
"resource_version" => (::String | ::Symbol)?,
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
def initialize: (?init_map initial_value) -> void
|
|
1212
|
+
|
|
1213
|
+
def []:
|
|
1214
|
+
("id" name) -> ::String
|
|
1215
|
+
| ("email" name) -> ::String
|
|
1216
|
+
| ("namespace_access" name) -> ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess?
|
|
1217
|
+
| ("inherited_access" name) -> bool
|
|
1218
|
+
| ("resource_version" name) -> ::String
|
|
1219
|
+
|
|
1220
|
+
def []=:
|
|
1221
|
+
("id" name, (::String | ::Symbol) value) -> void
|
|
1222
|
+
| ("email" name, (::String | ::Symbol) value) -> void
|
|
1223
|
+
| ("namespace_access" name, ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess? value) -> void
|
|
1224
|
+
| ("inherited_access" name, bool value) -> void
|
|
1225
|
+
| ("resource_version" name, (::String | ::Symbol) value) -> void
|
|
1226
|
+
end
|
|
1227
|
+
|
|
1228
|
+
class ServiceAccountNamespaceAssignment < ::Google::Protobuf::AbstractMessage
|
|
1229
|
+
|
|
1230
|
+
# The ID of the service account.
|
|
1231
|
+
attr_reader id(): ::String
|
|
1232
|
+
attr_writer id(): ::String | ::Symbol
|
|
1233
|
+
def clear_id: () -> void
|
|
1234
|
+
|
|
1235
|
+
# The name of the service account.
|
|
1236
|
+
attr_reader name(): ::String
|
|
1237
|
+
attr_writer name(): ::String | ::Symbol
|
|
1238
|
+
def clear_name: () -> void
|
|
1239
|
+
|
|
1240
|
+
# The access assigned to the service account at the namespace level.
|
|
1241
|
+
attr_accessor namespace_access(): ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess?
|
|
1242
|
+
def has_namespace_access?: () -> bool
|
|
1243
|
+
def clear_namespace_access: () -> void
|
|
1244
|
+
|
|
1245
|
+
# True if the service account has inherited access to the namespace through an account or project role.
|
|
1246
|
+
attr_accessor inherited_access(): bool
|
|
1247
|
+
def clear_inherited_access: () -> void
|
|
1248
|
+
|
|
1249
|
+
# The current resource version of the service account.
|
|
1250
|
+
attr_reader resource_version(): ::String
|
|
1251
|
+
attr_writer resource_version(): ::String | ::Symbol
|
|
1252
|
+
def clear_resource_version: () -> void
|
|
1253
|
+
|
|
1254
|
+
type init_map = {
|
|
1255
|
+
id: (::String | ::Symbol)?,
|
|
1256
|
+
"id" => (::String | ::Symbol)?,
|
|
1257
|
+
name: (::String | ::Symbol)?,
|
|
1258
|
+
"name" => (::String | ::Symbol)?,
|
|
1259
|
+
namespace_access: (::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess | ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::init_map)?,
|
|
1260
|
+
"namespace_access" => (::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess | ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::init_map)?,
|
|
1261
|
+
inherited_access: bool?,
|
|
1262
|
+
"inherited_access" => bool?,
|
|
1263
|
+
resource_version: (::String | ::Symbol)?,
|
|
1264
|
+
"resource_version" => (::String | ::Symbol)?,
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
def initialize: (?init_map initial_value) -> void
|
|
1268
|
+
|
|
1269
|
+
def []:
|
|
1270
|
+
("id" name) -> ::String
|
|
1271
|
+
| ("name" name) -> ::String
|
|
1272
|
+
| ("namespace_access" name) -> ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess?
|
|
1273
|
+
| ("inherited_access" name) -> bool
|
|
1274
|
+
| ("resource_version" name) -> ::String
|
|
1275
|
+
|
|
1276
|
+
def []=:
|
|
1277
|
+
("id" name, (::String | ::Symbol) value) -> void
|
|
1278
|
+
| ("name" name, (::String | ::Symbol) value) -> void
|
|
1279
|
+
| ("namespace_access" name, ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess? value) -> void
|
|
1280
|
+
| ("inherited_access" name, bool value) -> void
|
|
1281
|
+
| ("resource_version" name, (::String | ::Symbol) value) -> void
|
|
1282
|
+
end
|
|
1283
|
+
|
|
1284
|
+
class UserGroupNamespaceAssignment < ::Google::Protobuf::AbstractMessage
|
|
1285
|
+
|
|
1286
|
+
# The ID of the group.
|
|
1287
|
+
attr_reader id(): ::String
|
|
1288
|
+
attr_writer id(): ::String | ::Symbol
|
|
1289
|
+
def clear_id: () -> void
|
|
1290
|
+
|
|
1291
|
+
# The display name of the group.
|
|
1292
|
+
attr_reader display_name(): ::String
|
|
1293
|
+
attr_writer display_name(): ::String | ::Symbol
|
|
1294
|
+
def clear_display_name: () -> void
|
|
1295
|
+
|
|
1296
|
+
# The access assigned to the group at the namespace level.
|
|
1297
|
+
attr_accessor namespace_access(): ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess?
|
|
1298
|
+
def has_namespace_access?: () -> bool
|
|
1299
|
+
def clear_namespace_access: () -> void
|
|
1300
|
+
|
|
1301
|
+
# True if the group has inherited access to the namespace through an account or project role.
|
|
1302
|
+
attr_accessor inherited_access(): bool
|
|
1303
|
+
def clear_inherited_access: () -> void
|
|
1304
|
+
|
|
1305
|
+
# The current resource version of the group.
|
|
1306
|
+
attr_reader resource_version(): ::String
|
|
1307
|
+
attr_writer resource_version(): ::String | ::Symbol
|
|
1308
|
+
def clear_resource_version: () -> void
|
|
1309
|
+
|
|
1310
|
+
type init_map = {
|
|
1311
|
+
id: (::String | ::Symbol)?,
|
|
1312
|
+
"id" => (::String | ::Symbol)?,
|
|
1313
|
+
display_name: (::String | ::Symbol)?,
|
|
1314
|
+
"display_name" => (::String | ::Symbol)?,
|
|
1315
|
+
namespace_access: (::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess | ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::init_map)?,
|
|
1316
|
+
"namespace_access" => (::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess | ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::init_map)?,
|
|
1317
|
+
inherited_access: bool?,
|
|
1318
|
+
"inherited_access" => bool?,
|
|
1319
|
+
resource_version: (::String | ::Symbol)?,
|
|
1320
|
+
"resource_version" => (::String | ::Symbol)?,
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
def initialize: (?init_map initial_value) -> void
|
|
1324
|
+
|
|
1325
|
+
def []:
|
|
1326
|
+
("id" name) -> ::String
|
|
1327
|
+
| ("display_name" name) -> ::String
|
|
1328
|
+
| ("namespace_access" name) -> ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess?
|
|
1329
|
+
| ("inherited_access" name) -> bool
|
|
1330
|
+
| ("resource_version" name) -> ::String
|
|
1331
|
+
|
|
1332
|
+
def []=:
|
|
1333
|
+
("id" name, (::String | ::Symbol) value) -> void
|
|
1334
|
+
| ("display_name" name, (::String | ::Symbol) value) -> void
|
|
1335
|
+
| ("namespace_access" name, ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess? value) -> void
|
|
1336
|
+
| ("inherited_access" name, bool value) -> void
|
|
1337
|
+
| ("resource_version" name, (::String | ::Symbol) value) -> void
|
|
1338
|
+
end
|
|
1339
|
+
|
|
1340
|
+
module OwnerType
|
|
1341
|
+
|
|
1342
|
+
OWNER_TYPE_UNSPECIFIED: 0
|
|
1343
|
+
|
|
1344
|
+
OWNER_TYPE_USER: 1
|
|
1345
|
+
|
|
1346
|
+
OWNER_TYPE_SERVICE_ACCOUNT: 2
|
|
1347
|
+
|
|
1348
|
+
def self.lookup: (::Integer number) -> ::Symbol
|
|
1349
|
+
|
|
1350
|
+
|
|
1351
|
+
def self.resolve: (::Symbol name) -> ::Integer
|
|
1352
|
+
|
|
1353
|
+
|
|
1354
|
+
type names = :OWNER_TYPE_UNSPECIFIED | :OWNER_TYPE_USER | :OWNER_TYPE_SERVICE_ACCOUNT
|
|
1355
|
+
|
|
1356
|
+
type strings = "OWNER_TYPE_UNSPECIFIED" | "OWNER_TYPE_USER" | "OWNER_TYPE_SERVICE_ACCOUNT"
|
|
1357
|
+
|
|
1358
|
+
type numbers = 0 | 1 | 2
|
|
1359
|
+
end
|
|
1360
|
+
end
|
|
1361
|
+
end
|
|
1362
|
+
end
|
|
1363
|
+
end
|
|
1364
|
+
end
|
|
1365
|
+
|
|
1366
|
+
module Google
|
|
1367
|
+
module Protobuf
|
|
1368
|
+
class DescriptorPool
|
|
1369
|
+
def lookup: (::String name) -> ::Google::Protobuf::Descriptor
|
|
1370
|
+
end
|
|
1371
|
+
end
|
|
1372
|
+
end
|