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,3072 @@
|
|
|
1
|
+
# Code generated by protoc-gen-rbi. DO NOT EDIT.
|
|
2
|
+
# source: temporal/api/cloud/identity/v1/message.proto
|
|
3
|
+
# typed: strict
|
|
4
|
+
|
|
5
|
+
class Temporalio::Api::Cloud::Identity::V1::AccountAccess
|
|
6
|
+
include ::Google::Protobuf::MessageExts
|
|
7
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
8
|
+
|
|
9
|
+
sig do
|
|
10
|
+
params(
|
|
11
|
+
role_deprecated: T.nilable(String),
|
|
12
|
+
role: T.nilable(T.any(Symbol, String, Integer)),
|
|
13
|
+
custom_roles: T.nilable(T::Array[String])
|
|
14
|
+
).void
|
|
15
|
+
end
|
|
16
|
+
def initialize(
|
|
17
|
+
role_deprecated: "",
|
|
18
|
+
role: :ROLE_UNSPECIFIED,
|
|
19
|
+
custom_roles: []
|
|
20
|
+
)
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# The role on the account, should be one of [owner, admin, developer, financeadmin, read, metricsread]
|
|
24
|
+
# owner - gives full access to the account, including users, namespaces, and billing
|
|
25
|
+
# admin - gives full access the account, including users and namespaces
|
|
26
|
+
# developer - gives access to create namespaces on the account
|
|
27
|
+
# financeadmin - gives read only access and write access for billing
|
|
28
|
+
# read - gives read only access to the account
|
|
29
|
+
# metricsread - gives read only access to all namespace metrics
|
|
30
|
+
# Deprecated: Not supported after v0.3.0 api version. Use role instead.
|
|
31
|
+
# temporal:versioning:max_version=v0.3.0
|
|
32
|
+
sig { returns(String) }
|
|
33
|
+
def role_deprecated
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# The role on the account, should be one of [owner, admin, developer, financeadmin, read, metricsread]
|
|
37
|
+
# owner - gives full access to the account, including users, namespaces, and billing
|
|
38
|
+
# admin - gives full access the account, including users and namespaces
|
|
39
|
+
# developer - gives access to create namespaces on the account
|
|
40
|
+
# financeadmin - gives read only access and write access for billing
|
|
41
|
+
# read - gives read only access to the account
|
|
42
|
+
# metricsread - gives read only access to all namespace metrics
|
|
43
|
+
# Deprecated: Not supported after v0.3.0 api version. Use role instead.
|
|
44
|
+
# temporal:versioning:max_version=v0.3.0
|
|
45
|
+
sig { params(value: String).void }
|
|
46
|
+
def role_deprecated=(value)
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# The role on the account, should be one of [owner, admin, developer, financeadmin, read, metricsread]
|
|
50
|
+
# owner - gives full access to the account, including users, namespaces, and billing
|
|
51
|
+
# admin - gives full access the account, including users and namespaces
|
|
52
|
+
# developer - gives access to create namespaces on the account
|
|
53
|
+
# financeadmin - gives read only access and write access for billing
|
|
54
|
+
# read - gives read only access to the account
|
|
55
|
+
# metricsread - gives read only access to all namespace metrics
|
|
56
|
+
# Deprecated: Not supported after v0.3.0 api version. Use role instead.
|
|
57
|
+
# temporal:versioning:max_version=v0.3.0
|
|
58
|
+
sig { void }
|
|
59
|
+
def clear_role_deprecated
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# The role on the account.
|
|
63
|
+
# temporal:versioning:min_version=v0.3.0
|
|
64
|
+
# temporal:enums:replaces=role_deprecated
|
|
65
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
66
|
+
def role
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# The role on the account.
|
|
70
|
+
# temporal:versioning:min_version=v0.3.0
|
|
71
|
+
# temporal:enums:replaces=role_deprecated
|
|
72
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
73
|
+
def role=(value)
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
# The role on the account.
|
|
77
|
+
# temporal:versioning:min_version=v0.3.0
|
|
78
|
+
# temporal:enums:replaces=role_deprecated
|
|
79
|
+
sig { void }
|
|
80
|
+
def clear_role
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# List of custom role IDs assigned to the user or service account.
|
|
84
|
+
# temporal:versioning:min_version=v0.13.0
|
|
85
|
+
sig { returns(T::Array[String]) }
|
|
86
|
+
def custom_roles
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# List of custom role IDs assigned to the user or service account.
|
|
90
|
+
# temporal:versioning:min_version=v0.13.0
|
|
91
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
|
92
|
+
def custom_roles=(value)
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
# List of custom role IDs assigned to the user or service account.
|
|
96
|
+
# temporal:versioning:min_version=v0.13.0
|
|
97
|
+
sig { void }
|
|
98
|
+
def clear_custom_roles
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
sig { params(field: String).returns(T.untyped) }
|
|
102
|
+
def [](field)
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
sig { params(field: String, value: T.untyped).void }
|
|
106
|
+
def []=(field, value)
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
110
|
+
def to_h
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::AccountAccess) }
|
|
114
|
+
def self.decode(str)
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::AccountAccess).returns(String) }
|
|
118
|
+
def self.encode(msg)
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::AccountAccess) }
|
|
122
|
+
def self.decode_json(str, **kw)
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::AccountAccess, kw: T.untyped).returns(String) }
|
|
126
|
+
def self.encode_json(msg, **kw)
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
130
|
+
def self.descriptor
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
class Temporalio::Api::Cloud::Identity::V1::NamespaceAccess
|
|
135
|
+
include ::Google::Protobuf::MessageExts
|
|
136
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
137
|
+
|
|
138
|
+
sig do
|
|
139
|
+
params(
|
|
140
|
+
permission_deprecated: T.nilable(String),
|
|
141
|
+
permission: T.nilable(T.any(Symbol, String, Integer))
|
|
142
|
+
).void
|
|
143
|
+
end
|
|
144
|
+
def initialize(
|
|
145
|
+
permission_deprecated: "",
|
|
146
|
+
permission: :PERMISSION_UNSPECIFIED
|
|
147
|
+
)
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
# The permission to the namespace, should be one of [admin, write, read]
|
|
151
|
+
# admin - gives full access to the namespace, including assigning namespace access to other users
|
|
152
|
+
# write - gives write access to the namespace configuration and workflows within the namespace
|
|
153
|
+
# read - gives read only access to the namespace configuration and workflows within the namespace
|
|
154
|
+
# Deprecated: Not supported after v0.3.0 api version. Use permission instead.
|
|
155
|
+
# temporal:versioning:max_version=v0.3.0
|
|
156
|
+
sig { returns(String) }
|
|
157
|
+
def permission_deprecated
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
# The permission to the namespace, should be one of [admin, write, read]
|
|
161
|
+
# admin - gives full access to the namespace, including assigning namespace access to other users
|
|
162
|
+
# write - gives write access to the namespace configuration and workflows within the namespace
|
|
163
|
+
# read - gives read only access to the namespace configuration and workflows within the namespace
|
|
164
|
+
# Deprecated: Not supported after v0.3.0 api version. Use permission instead.
|
|
165
|
+
# temporal:versioning:max_version=v0.3.0
|
|
166
|
+
sig { params(value: String).void }
|
|
167
|
+
def permission_deprecated=(value)
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
# The permission to the namespace, should be one of [admin, write, read]
|
|
171
|
+
# admin - gives full access to the namespace, including assigning namespace access to other users
|
|
172
|
+
# write - gives write access to the namespace configuration and workflows within the namespace
|
|
173
|
+
# read - gives read only access to the namespace configuration and workflows within the namespace
|
|
174
|
+
# Deprecated: Not supported after v0.3.0 api version. Use permission instead.
|
|
175
|
+
# temporal:versioning:max_version=v0.3.0
|
|
176
|
+
sig { void }
|
|
177
|
+
def clear_permission_deprecated
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
# The permission to the namespace.
|
|
181
|
+
# temporal:versioning:min_version=v0.3.0
|
|
182
|
+
# temporal:enums:replaces=permission_deprecated
|
|
183
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
184
|
+
def permission
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
# The permission to the namespace.
|
|
188
|
+
# temporal:versioning:min_version=v0.3.0
|
|
189
|
+
# temporal:enums:replaces=permission_deprecated
|
|
190
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
191
|
+
def permission=(value)
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
# The permission to the namespace.
|
|
195
|
+
# temporal:versioning:min_version=v0.3.0
|
|
196
|
+
# temporal:enums:replaces=permission_deprecated
|
|
197
|
+
sig { void }
|
|
198
|
+
def clear_permission
|
|
199
|
+
end
|
|
200
|
+
|
|
201
|
+
sig { params(field: String).returns(T.untyped) }
|
|
202
|
+
def [](field)
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
sig { params(field: String, value: T.untyped).void }
|
|
206
|
+
def []=(field, value)
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
210
|
+
def to_h
|
|
211
|
+
end
|
|
212
|
+
|
|
213
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::NamespaceAccess) }
|
|
214
|
+
def self.decode(str)
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::NamespaceAccess).returns(String) }
|
|
218
|
+
def self.encode(msg)
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::NamespaceAccess) }
|
|
222
|
+
def self.decode_json(str, **kw)
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::NamespaceAccess, kw: T.untyped).returns(String) }
|
|
226
|
+
def self.encode_json(msg, **kw)
|
|
227
|
+
end
|
|
228
|
+
|
|
229
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
230
|
+
def self.descriptor
|
|
231
|
+
end
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
class Temporalio::Api::Cloud::Identity::V1::Access
|
|
235
|
+
include ::Google::Protobuf::MessageExts
|
|
236
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
237
|
+
|
|
238
|
+
sig do
|
|
239
|
+
params(
|
|
240
|
+
account_access: T.nilable(Temporalio::Api::Cloud::Identity::V1::AccountAccess),
|
|
241
|
+
namespace_accesses: T.nilable(T::Hash[String, T.nilable(Temporalio::Api::Cloud::Identity::V1::NamespaceAccess)]),
|
|
242
|
+
custom_roles_deprecated: T.nilable(T::Array[String])
|
|
243
|
+
).void
|
|
244
|
+
end
|
|
245
|
+
def initialize(
|
|
246
|
+
account_access: nil,
|
|
247
|
+
namespace_accesses: ::Google::Protobuf::Map.new(:string, :message, Temporalio::Api::Cloud::Identity::V1::NamespaceAccess),
|
|
248
|
+
custom_roles_deprecated: []
|
|
249
|
+
)
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
# The account access
|
|
253
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::AccountAccess)) }
|
|
254
|
+
def account_access
|
|
255
|
+
end
|
|
256
|
+
|
|
257
|
+
# The account access
|
|
258
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::AccountAccess)).void }
|
|
259
|
+
def account_access=(value)
|
|
260
|
+
end
|
|
261
|
+
|
|
262
|
+
# The account access
|
|
263
|
+
sig { void }
|
|
264
|
+
def clear_account_access
|
|
265
|
+
end
|
|
266
|
+
|
|
267
|
+
# The map of namespace accesses
|
|
268
|
+
# The key is the namespace name and the value is the access to the namespace
|
|
269
|
+
sig { returns(T::Hash[String, T.nilable(Temporalio::Api::Cloud::Identity::V1::NamespaceAccess)]) }
|
|
270
|
+
def namespace_accesses
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
# The map of namespace accesses
|
|
274
|
+
# The key is the namespace name and the value is the access to the namespace
|
|
275
|
+
sig { params(value: ::Google::Protobuf::Map).void }
|
|
276
|
+
def namespace_accesses=(value)
|
|
277
|
+
end
|
|
278
|
+
|
|
279
|
+
# The map of namespace accesses
|
|
280
|
+
# The key is the namespace name and the value is the access to the namespace
|
|
281
|
+
sig { void }
|
|
282
|
+
def clear_namespace_accesses
|
|
283
|
+
end
|
|
284
|
+
|
|
285
|
+
# List of custom role IDs assigned to the user or service account.
|
|
286
|
+
# Deprecated: Not supported after v0.12.0 api version. Use account_access.custom_roles instead.
|
|
287
|
+
# temporal:versioning:max_version=v0.12.0
|
|
288
|
+
sig { returns(T::Array[String]) }
|
|
289
|
+
def custom_roles_deprecated
|
|
290
|
+
end
|
|
291
|
+
|
|
292
|
+
# List of custom role IDs assigned to the user or service account.
|
|
293
|
+
# Deprecated: Not supported after v0.12.0 api version. Use account_access.custom_roles instead.
|
|
294
|
+
# temporal:versioning:max_version=v0.12.0
|
|
295
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
|
296
|
+
def custom_roles_deprecated=(value)
|
|
297
|
+
end
|
|
298
|
+
|
|
299
|
+
# List of custom role IDs assigned to the user or service account.
|
|
300
|
+
# Deprecated: Not supported after v0.12.0 api version. Use account_access.custom_roles instead.
|
|
301
|
+
# temporal:versioning:max_version=v0.12.0
|
|
302
|
+
sig { void }
|
|
303
|
+
def clear_custom_roles_deprecated
|
|
304
|
+
end
|
|
305
|
+
|
|
306
|
+
sig { params(field: String).returns(T.untyped) }
|
|
307
|
+
def [](field)
|
|
308
|
+
end
|
|
309
|
+
|
|
310
|
+
sig { params(field: String, value: T.untyped).void }
|
|
311
|
+
def []=(field, value)
|
|
312
|
+
end
|
|
313
|
+
|
|
314
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
315
|
+
def to_h
|
|
316
|
+
end
|
|
317
|
+
|
|
318
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::Access) }
|
|
319
|
+
def self.decode(str)
|
|
320
|
+
end
|
|
321
|
+
|
|
322
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::Access).returns(String) }
|
|
323
|
+
def self.encode(msg)
|
|
324
|
+
end
|
|
325
|
+
|
|
326
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::Access) }
|
|
327
|
+
def self.decode_json(str, **kw)
|
|
328
|
+
end
|
|
329
|
+
|
|
330
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::Access, kw: T.untyped).returns(String) }
|
|
331
|
+
def self.encode_json(msg, **kw)
|
|
332
|
+
end
|
|
333
|
+
|
|
334
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
335
|
+
def self.descriptor
|
|
336
|
+
end
|
|
337
|
+
end
|
|
338
|
+
|
|
339
|
+
class Temporalio::Api::Cloud::Identity::V1::NamespaceScopedAccess
|
|
340
|
+
include ::Google::Protobuf::MessageExts
|
|
341
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
342
|
+
|
|
343
|
+
sig do
|
|
344
|
+
params(
|
|
345
|
+
namespace: T.nilable(String),
|
|
346
|
+
access: T.nilable(Temporalio::Api::Cloud::Identity::V1::NamespaceAccess)
|
|
347
|
+
).void
|
|
348
|
+
end
|
|
349
|
+
def initialize(
|
|
350
|
+
namespace: "",
|
|
351
|
+
access: nil
|
|
352
|
+
)
|
|
353
|
+
end
|
|
354
|
+
|
|
355
|
+
# The namespace the service account is assigned to - immutable.
|
|
356
|
+
sig { returns(String) }
|
|
357
|
+
def namespace
|
|
358
|
+
end
|
|
359
|
+
|
|
360
|
+
# The namespace the service account is assigned to - immutable.
|
|
361
|
+
sig { params(value: String).void }
|
|
362
|
+
def namespace=(value)
|
|
363
|
+
end
|
|
364
|
+
|
|
365
|
+
# The namespace the service account is assigned to - immutable.
|
|
366
|
+
sig { void }
|
|
367
|
+
def clear_namespace
|
|
368
|
+
end
|
|
369
|
+
|
|
370
|
+
# The namespace access assigned to the service account - mutable.
|
|
371
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::NamespaceAccess)) }
|
|
372
|
+
def access
|
|
373
|
+
end
|
|
374
|
+
|
|
375
|
+
# The namespace access assigned to the service account - mutable.
|
|
376
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::NamespaceAccess)).void }
|
|
377
|
+
def access=(value)
|
|
378
|
+
end
|
|
379
|
+
|
|
380
|
+
# The namespace access assigned to the service account - mutable.
|
|
381
|
+
sig { void }
|
|
382
|
+
def clear_access
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
sig { params(field: String).returns(T.untyped) }
|
|
386
|
+
def [](field)
|
|
387
|
+
end
|
|
388
|
+
|
|
389
|
+
sig { params(field: String, value: T.untyped).void }
|
|
390
|
+
def []=(field, value)
|
|
391
|
+
end
|
|
392
|
+
|
|
393
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
394
|
+
def to_h
|
|
395
|
+
end
|
|
396
|
+
|
|
397
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::NamespaceScopedAccess) }
|
|
398
|
+
def self.decode(str)
|
|
399
|
+
end
|
|
400
|
+
|
|
401
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::NamespaceScopedAccess).returns(String) }
|
|
402
|
+
def self.encode(msg)
|
|
403
|
+
end
|
|
404
|
+
|
|
405
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::NamespaceScopedAccess) }
|
|
406
|
+
def self.decode_json(str, **kw)
|
|
407
|
+
end
|
|
408
|
+
|
|
409
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::NamespaceScopedAccess, kw: T.untyped).returns(String) }
|
|
410
|
+
def self.encode_json(msg, **kw)
|
|
411
|
+
end
|
|
412
|
+
|
|
413
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
414
|
+
def self.descriptor
|
|
415
|
+
end
|
|
416
|
+
end
|
|
417
|
+
|
|
418
|
+
class Temporalio::Api::Cloud::Identity::V1::UserSpec
|
|
419
|
+
include ::Google::Protobuf::MessageExts
|
|
420
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
421
|
+
|
|
422
|
+
sig do
|
|
423
|
+
params(
|
|
424
|
+
email: T.nilable(String),
|
|
425
|
+
access: T.nilable(Temporalio::Api::Cloud::Identity::V1::Access)
|
|
426
|
+
).void
|
|
427
|
+
end
|
|
428
|
+
def initialize(
|
|
429
|
+
email: "",
|
|
430
|
+
access: nil
|
|
431
|
+
)
|
|
432
|
+
end
|
|
433
|
+
|
|
434
|
+
# The email address associated to the user
|
|
435
|
+
sig { returns(String) }
|
|
436
|
+
def email
|
|
437
|
+
end
|
|
438
|
+
|
|
439
|
+
# The email address associated to the user
|
|
440
|
+
sig { params(value: String).void }
|
|
441
|
+
def email=(value)
|
|
442
|
+
end
|
|
443
|
+
|
|
444
|
+
# The email address associated to the user
|
|
445
|
+
sig { void }
|
|
446
|
+
def clear_email
|
|
447
|
+
end
|
|
448
|
+
|
|
449
|
+
# The access to assigned to the user
|
|
450
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::Access)) }
|
|
451
|
+
def access
|
|
452
|
+
end
|
|
453
|
+
|
|
454
|
+
# The access to assigned to the user
|
|
455
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::Access)).void }
|
|
456
|
+
def access=(value)
|
|
457
|
+
end
|
|
458
|
+
|
|
459
|
+
# The access to assigned to the user
|
|
460
|
+
sig { void }
|
|
461
|
+
def clear_access
|
|
462
|
+
end
|
|
463
|
+
|
|
464
|
+
sig { params(field: String).returns(T.untyped) }
|
|
465
|
+
def [](field)
|
|
466
|
+
end
|
|
467
|
+
|
|
468
|
+
sig { params(field: String, value: T.untyped).void }
|
|
469
|
+
def []=(field, value)
|
|
470
|
+
end
|
|
471
|
+
|
|
472
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
473
|
+
def to_h
|
|
474
|
+
end
|
|
475
|
+
|
|
476
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::UserSpec) }
|
|
477
|
+
def self.decode(str)
|
|
478
|
+
end
|
|
479
|
+
|
|
480
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::UserSpec).returns(String) }
|
|
481
|
+
def self.encode(msg)
|
|
482
|
+
end
|
|
483
|
+
|
|
484
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::UserSpec) }
|
|
485
|
+
def self.decode_json(str, **kw)
|
|
486
|
+
end
|
|
487
|
+
|
|
488
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::UserSpec, kw: T.untyped).returns(String) }
|
|
489
|
+
def self.encode_json(msg, **kw)
|
|
490
|
+
end
|
|
491
|
+
|
|
492
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
493
|
+
def self.descriptor
|
|
494
|
+
end
|
|
495
|
+
end
|
|
496
|
+
|
|
497
|
+
class Temporalio::Api::Cloud::Identity::V1::Invitation
|
|
498
|
+
include ::Google::Protobuf::MessageExts
|
|
499
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
500
|
+
|
|
501
|
+
sig do
|
|
502
|
+
params(
|
|
503
|
+
created_time: T.nilable(Google::Protobuf::Timestamp),
|
|
504
|
+
expired_time: T.nilable(Google::Protobuf::Timestamp)
|
|
505
|
+
).void
|
|
506
|
+
end
|
|
507
|
+
def initialize(
|
|
508
|
+
created_time: nil,
|
|
509
|
+
expired_time: nil
|
|
510
|
+
)
|
|
511
|
+
end
|
|
512
|
+
|
|
513
|
+
# The date and time when the user was created
|
|
514
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
515
|
+
def created_time
|
|
516
|
+
end
|
|
517
|
+
|
|
518
|
+
# The date and time when the user was created
|
|
519
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
520
|
+
def created_time=(value)
|
|
521
|
+
end
|
|
522
|
+
|
|
523
|
+
# The date and time when the user was created
|
|
524
|
+
sig { void }
|
|
525
|
+
def clear_created_time
|
|
526
|
+
end
|
|
527
|
+
|
|
528
|
+
# The date and time when the invitation expires or has expired
|
|
529
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
530
|
+
def expired_time
|
|
531
|
+
end
|
|
532
|
+
|
|
533
|
+
# The date and time when the invitation expires or has expired
|
|
534
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
535
|
+
def expired_time=(value)
|
|
536
|
+
end
|
|
537
|
+
|
|
538
|
+
# The date and time when the invitation expires or has expired
|
|
539
|
+
sig { void }
|
|
540
|
+
def clear_expired_time
|
|
541
|
+
end
|
|
542
|
+
|
|
543
|
+
sig { params(field: String).returns(T.untyped) }
|
|
544
|
+
def [](field)
|
|
545
|
+
end
|
|
546
|
+
|
|
547
|
+
sig { params(field: String, value: T.untyped).void }
|
|
548
|
+
def []=(field, value)
|
|
549
|
+
end
|
|
550
|
+
|
|
551
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
552
|
+
def to_h
|
|
553
|
+
end
|
|
554
|
+
|
|
555
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::Invitation) }
|
|
556
|
+
def self.decode(str)
|
|
557
|
+
end
|
|
558
|
+
|
|
559
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::Invitation).returns(String) }
|
|
560
|
+
def self.encode(msg)
|
|
561
|
+
end
|
|
562
|
+
|
|
563
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::Invitation) }
|
|
564
|
+
def self.decode_json(str, **kw)
|
|
565
|
+
end
|
|
566
|
+
|
|
567
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::Invitation, kw: T.untyped).returns(String) }
|
|
568
|
+
def self.encode_json(msg, **kw)
|
|
569
|
+
end
|
|
570
|
+
|
|
571
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
572
|
+
def self.descriptor
|
|
573
|
+
end
|
|
574
|
+
end
|
|
575
|
+
|
|
576
|
+
class Temporalio::Api::Cloud::Identity::V1::User
|
|
577
|
+
include ::Google::Protobuf::MessageExts
|
|
578
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
579
|
+
|
|
580
|
+
sig do
|
|
581
|
+
params(
|
|
582
|
+
id: T.nilable(String),
|
|
583
|
+
resource_version: T.nilable(String),
|
|
584
|
+
spec: T.nilable(Temporalio::Api::Cloud::Identity::V1::UserSpec),
|
|
585
|
+
state_deprecated: T.nilable(String),
|
|
586
|
+
state: T.nilable(T.any(Symbol, String, Integer)),
|
|
587
|
+
async_operation_id: T.nilable(String),
|
|
588
|
+
invitation: T.nilable(Temporalio::Api::Cloud::Identity::V1::Invitation),
|
|
589
|
+
created_time: T.nilable(Google::Protobuf::Timestamp),
|
|
590
|
+
last_modified_time: T.nilable(Google::Protobuf::Timestamp)
|
|
591
|
+
).void
|
|
592
|
+
end
|
|
593
|
+
def initialize(
|
|
594
|
+
id: "",
|
|
595
|
+
resource_version: "",
|
|
596
|
+
spec: nil,
|
|
597
|
+
state_deprecated: "",
|
|
598
|
+
state: :RESOURCE_STATE_UNSPECIFIED,
|
|
599
|
+
async_operation_id: "",
|
|
600
|
+
invitation: nil,
|
|
601
|
+
created_time: nil,
|
|
602
|
+
last_modified_time: nil
|
|
603
|
+
)
|
|
604
|
+
end
|
|
605
|
+
|
|
606
|
+
# The id of the user
|
|
607
|
+
sig { returns(String) }
|
|
608
|
+
def id
|
|
609
|
+
end
|
|
610
|
+
|
|
611
|
+
# The id of the user
|
|
612
|
+
sig { params(value: String).void }
|
|
613
|
+
def id=(value)
|
|
614
|
+
end
|
|
615
|
+
|
|
616
|
+
# The id of the user
|
|
617
|
+
sig { void }
|
|
618
|
+
def clear_id
|
|
619
|
+
end
|
|
620
|
+
|
|
621
|
+
# The current version of the user specification
|
|
622
|
+
# The next update operation will have to include this version
|
|
623
|
+
sig { returns(String) }
|
|
624
|
+
def resource_version
|
|
625
|
+
end
|
|
626
|
+
|
|
627
|
+
# The current version of the user specification
|
|
628
|
+
# The next update operation will have to include this version
|
|
629
|
+
sig { params(value: String).void }
|
|
630
|
+
def resource_version=(value)
|
|
631
|
+
end
|
|
632
|
+
|
|
633
|
+
# The current version of the user specification
|
|
634
|
+
# The next update operation will have to include this version
|
|
635
|
+
sig { void }
|
|
636
|
+
def clear_resource_version
|
|
637
|
+
end
|
|
638
|
+
|
|
639
|
+
# The user specification
|
|
640
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::UserSpec)) }
|
|
641
|
+
def spec
|
|
642
|
+
end
|
|
643
|
+
|
|
644
|
+
# The user specification
|
|
645
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::UserSpec)).void }
|
|
646
|
+
def spec=(value)
|
|
647
|
+
end
|
|
648
|
+
|
|
649
|
+
# The user specification
|
|
650
|
+
sig { void }
|
|
651
|
+
def clear_spec
|
|
652
|
+
end
|
|
653
|
+
|
|
654
|
+
# The current state of the user
|
|
655
|
+
# Deprecated: Not supported after v0.3.0 api version. Use state instead.
|
|
656
|
+
# temporal:versioning:max_version=v0.3.0
|
|
657
|
+
sig { returns(String) }
|
|
658
|
+
def state_deprecated
|
|
659
|
+
end
|
|
660
|
+
|
|
661
|
+
# The current state of the user
|
|
662
|
+
# Deprecated: Not supported after v0.3.0 api version. Use state instead.
|
|
663
|
+
# temporal:versioning:max_version=v0.3.0
|
|
664
|
+
sig { params(value: String).void }
|
|
665
|
+
def state_deprecated=(value)
|
|
666
|
+
end
|
|
667
|
+
|
|
668
|
+
# The current state of the user
|
|
669
|
+
# Deprecated: Not supported after v0.3.0 api version. Use state instead.
|
|
670
|
+
# temporal:versioning:max_version=v0.3.0
|
|
671
|
+
sig { void }
|
|
672
|
+
def clear_state_deprecated
|
|
673
|
+
end
|
|
674
|
+
|
|
675
|
+
# The current state of the user.
|
|
676
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
677
|
+
# temporal:versioning:min_version=v0.3.0
|
|
678
|
+
# temporal:enums:replaces=state_deprecated
|
|
679
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
680
|
+
def state
|
|
681
|
+
end
|
|
682
|
+
|
|
683
|
+
# The current state of the user.
|
|
684
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
685
|
+
# temporal:versioning:min_version=v0.3.0
|
|
686
|
+
# temporal:enums:replaces=state_deprecated
|
|
687
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
688
|
+
def state=(value)
|
|
689
|
+
end
|
|
690
|
+
|
|
691
|
+
# The current state of the user.
|
|
692
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
693
|
+
# temporal:versioning:min_version=v0.3.0
|
|
694
|
+
# temporal:enums:replaces=state_deprecated
|
|
695
|
+
sig { void }
|
|
696
|
+
def clear_state
|
|
697
|
+
end
|
|
698
|
+
|
|
699
|
+
# The id of the async operation that is creating/updating/deleting the user, if any
|
|
700
|
+
sig { returns(String) }
|
|
701
|
+
def async_operation_id
|
|
702
|
+
end
|
|
703
|
+
|
|
704
|
+
# The id of the async operation that is creating/updating/deleting the user, if any
|
|
705
|
+
sig { params(value: String).void }
|
|
706
|
+
def async_operation_id=(value)
|
|
707
|
+
end
|
|
708
|
+
|
|
709
|
+
# The id of the async operation that is creating/updating/deleting the user, if any
|
|
710
|
+
sig { void }
|
|
711
|
+
def clear_async_operation_id
|
|
712
|
+
end
|
|
713
|
+
|
|
714
|
+
# The details of the open invitation sent to the user, if any
|
|
715
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::Invitation)) }
|
|
716
|
+
def invitation
|
|
717
|
+
end
|
|
718
|
+
|
|
719
|
+
# The details of the open invitation sent to the user, if any
|
|
720
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::Invitation)).void }
|
|
721
|
+
def invitation=(value)
|
|
722
|
+
end
|
|
723
|
+
|
|
724
|
+
# The details of the open invitation sent to the user, if any
|
|
725
|
+
sig { void }
|
|
726
|
+
def clear_invitation
|
|
727
|
+
end
|
|
728
|
+
|
|
729
|
+
# The date and time when the user was created
|
|
730
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
731
|
+
def created_time
|
|
732
|
+
end
|
|
733
|
+
|
|
734
|
+
# The date and time when the user was created
|
|
735
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
736
|
+
def created_time=(value)
|
|
737
|
+
end
|
|
738
|
+
|
|
739
|
+
# The date and time when the user was created
|
|
740
|
+
sig { void }
|
|
741
|
+
def clear_created_time
|
|
742
|
+
end
|
|
743
|
+
|
|
744
|
+
# The date and time when the user was last modified
|
|
745
|
+
# Will not be set if the user has never been modified
|
|
746
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
747
|
+
def last_modified_time
|
|
748
|
+
end
|
|
749
|
+
|
|
750
|
+
# The date and time when the user was last modified
|
|
751
|
+
# Will not be set if the user has never been modified
|
|
752
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
753
|
+
def last_modified_time=(value)
|
|
754
|
+
end
|
|
755
|
+
|
|
756
|
+
# The date and time when the user was last modified
|
|
757
|
+
# Will not be set if the user has never been modified
|
|
758
|
+
sig { void }
|
|
759
|
+
def clear_last_modified_time
|
|
760
|
+
end
|
|
761
|
+
|
|
762
|
+
sig { params(field: String).returns(T.untyped) }
|
|
763
|
+
def [](field)
|
|
764
|
+
end
|
|
765
|
+
|
|
766
|
+
sig { params(field: String, value: T.untyped).void }
|
|
767
|
+
def []=(field, value)
|
|
768
|
+
end
|
|
769
|
+
|
|
770
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
771
|
+
def to_h
|
|
772
|
+
end
|
|
773
|
+
|
|
774
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::User) }
|
|
775
|
+
def self.decode(str)
|
|
776
|
+
end
|
|
777
|
+
|
|
778
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::User).returns(String) }
|
|
779
|
+
def self.encode(msg)
|
|
780
|
+
end
|
|
781
|
+
|
|
782
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::User) }
|
|
783
|
+
def self.decode_json(str, **kw)
|
|
784
|
+
end
|
|
785
|
+
|
|
786
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::User, kw: T.untyped).returns(String) }
|
|
787
|
+
def self.encode_json(msg, **kw)
|
|
788
|
+
end
|
|
789
|
+
|
|
790
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
791
|
+
def self.descriptor
|
|
792
|
+
end
|
|
793
|
+
end
|
|
794
|
+
|
|
795
|
+
class Temporalio::Api::Cloud::Identity::V1::GoogleGroupSpec
|
|
796
|
+
include ::Google::Protobuf::MessageExts
|
|
797
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
798
|
+
|
|
799
|
+
sig do
|
|
800
|
+
params(
|
|
801
|
+
email_address: T.nilable(String)
|
|
802
|
+
).void
|
|
803
|
+
end
|
|
804
|
+
def initialize(
|
|
805
|
+
email_address: ""
|
|
806
|
+
)
|
|
807
|
+
end
|
|
808
|
+
|
|
809
|
+
# The email address of the Google group.
|
|
810
|
+
# The email address is immutable. Once set during creation, it cannot be changed.
|
|
811
|
+
sig { returns(String) }
|
|
812
|
+
def email_address
|
|
813
|
+
end
|
|
814
|
+
|
|
815
|
+
# The email address of the Google group.
|
|
816
|
+
# The email address is immutable. Once set during creation, it cannot be changed.
|
|
817
|
+
sig { params(value: String).void }
|
|
818
|
+
def email_address=(value)
|
|
819
|
+
end
|
|
820
|
+
|
|
821
|
+
# The email address of the Google group.
|
|
822
|
+
# The email address is immutable. Once set during creation, it cannot be changed.
|
|
823
|
+
sig { void }
|
|
824
|
+
def clear_email_address
|
|
825
|
+
end
|
|
826
|
+
|
|
827
|
+
sig { params(field: String).returns(T.untyped) }
|
|
828
|
+
def [](field)
|
|
829
|
+
end
|
|
830
|
+
|
|
831
|
+
sig { params(field: String, value: T.untyped).void }
|
|
832
|
+
def []=(field, value)
|
|
833
|
+
end
|
|
834
|
+
|
|
835
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
836
|
+
def to_h
|
|
837
|
+
end
|
|
838
|
+
|
|
839
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::GoogleGroupSpec) }
|
|
840
|
+
def self.decode(str)
|
|
841
|
+
end
|
|
842
|
+
|
|
843
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::GoogleGroupSpec).returns(String) }
|
|
844
|
+
def self.encode(msg)
|
|
845
|
+
end
|
|
846
|
+
|
|
847
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::GoogleGroupSpec) }
|
|
848
|
+
def self.decode_json(str, **kw)
|
|
849
|
+
end
|
|
850
|
+
|
|
851
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::GoogleGroupSpec, kw: T.untyped).returns(String) }
|
|
852
|
+
def self.encode_json(msg, **kw)
|
|
853
|
+
end
|
|
854
|
+
|
|
855
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
856
|
+
def self.descriptor
|
|
857
|
+
end
|
|
858
|
+
end
|
|
859
|
+
|
|
860
|
+
class Temporalio::Api::Cloud::Identity::V1::SCIMGroupSpec
|
|
861
|
+
include ::Google::Protobuf::MessageExts
|
|
862
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
863
|
+
|
|
864
|
+
sig do
|
|
865
|
+
params(
|
|
866
|
+
idp_id: T.nilable(String)
|
|
867
|
+
).void
|
|
868
|
+
end
|
|
869
|
+
def initialize(
|
|
870
|
+
idp_id: ""
|
|
871
|
+
)
|
|
872
|
+
end
|
|
873
|
+
|
|
874
|
+
# The id used in the upstream identity provider.
|
|
875
|
+
sig { returns(String) }
|
|
876
|
+
def idp_id
|
|
877
|
+
end
|
|
878
|
+
|
|
879
|
+
# The id used in the upstream identity provider.
|
|
880
|
+
sig { params(value: String).void }
|
|
881
|
+
def idp_id=(value)
|
|
882
|
+
end
|
|
883
|
+
|
|
884
|
+
# The id used in the upstream identity provider.
|
|
885
|
+
sig { void }
|
|
886
|
+
def clear_idp_id
|
|
887
|
+
end
|
|
888
|
+
|
|
889
|
+
sig { params(field: String).returns(T.untyped) }
|
|
890
|
+
def [](field)
|
|
891
|
+
end
|
|
892
|
+
|
|
893
|
+
sig { params(field: String, value: T.untyped).void }
|
|
894
|
+
def []=(field, value)
|
|
895
|
+
end
|
|
896
|
+
|
|
897
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
898
|
+
def to_h
|
|
899
|
+
end
|
|
900
|
+
|
|
901
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::SCIMGroupSpec) }
|
|
902
|
+
def self.decode(str)
|
|
903
|
+
end
|
|
904
|
+
|
|
905
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::SCIMGroupSpec).returns(String) }
|
|
906
|
+
def self.encode(msg)
|
|
907
|
+
end
|
|
908
|
+
|
|
909
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::SCIMGroupSpec) }
|
|
910
|
+
def self.decode_json(str, **kw)
|
|
911
|
+
end
|
|
912
|
+
|
|
913
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::SCIMGroupSpec, kw: T.untyped).returns(String) }
|
|
914
|
+
def self.encode_json(msg, **kw)
|
|
915
|
+
end
|
|
916
|
+
|
|
917
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
918
|
+
def self.descriptor
|
|
919
|
+
end
|
|
920
|
+
end
|
|
921
|
+
|
|
922
|
+
class Temporalio::Api::Cloud::Identity::V1::CloudGroupSpec
|
|
923
|
+
include ::Google::Protobuf::MessageExts
|
|
924
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
925
|
+
|
|
926
|
+
sig {void}
|
|
927
|
+
def initialize; end
|
|
928
|
+
|
|
929
|
+
sig { params(field: String).returns(T.untyped) }
|
|
930
|
+
def [](field)
|
|
931
|
+
end
|
|
932
|
+
|
|
933
|
+
sig { params(field: String, value: T.untyped).void }
|
|
934
|
+
def []=(field, value)
|
|
935
|
+
end
|
|
936
|
+
|
|
937
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
938
|
+
def to_h
|
|
939
|
+
end
|
|
940
|
+
|
|
941
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::CloudGroupSpec) }
|
|
942
|
+
def self.decode(str)
|
|
943
|
+
end
|
|
944
|
+
|
|
945
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::CloudGroupSpec).returns(String) }
|
|
946
|
+
def self.encode(msg)
|
|
947
|
+
end
|
|
948
|
+
|
|
949
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::CloudGroupSpec) }
|
|
950
|
+
def self.decode_json(str, **kw)
|
|
951
|
+
end
|
|
952
|
+
|
|
953
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::CloudGroupSpec, kw: T.untyped).returns(String) }
|
|
954
|
+
def self.encode_json(msg, **kw)
|
|
955
|
+
end
|
|
956
|
+
|
|
957
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
958
|
+
def self.descriptor
|
|
959
|
+
end
|
|
960
|
+
end
|
|
961
|
+
|
|
962
|
+
class Temporalio::Api::Cloud::Identity::V1::UserGroupSpec
|
|
963
|
+
include ::Google::Protobuf::MessageExts
|
|
964
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
965
|
+
|
|
966
|
+
sig do
|
|
967
|
+
params(
|
|
968
|
+
display_name: T.nilable(String),
|
|
969
|
+
access: T.nilable(Temporalio::Api::Cloud::Identity::V1::Access),
|
|
970
|
+
google_group: T.nilable(Temporalio::Api::Cloud::Identity::V1::GoogleGroupSpec),
|
|
971
|
+
scim_group: T.nilable(Temporalio::Api::Cloud::Identity::V1::SCIMGroupSpec),
|
|
972
|
+
cloud_group: T.nilable(Temporalio::Api::Cloud::Identity::V1::CloudGroupSpec)
|
|
973
|
+
).void
|
|
974
|
+
end
|
|
975
|
+
def initialize(
|
|
976
|
+
display_name: "",
|
|
977
|
+
access: nil,
|
|
978
|
+
google_group: nil,
|
|
979
|
+
scim_group: nil,
|
|
980
|
+
cloud_group: nil
|
|
981
|
+
)
|
|
982
|
+
end
|
|
983
|
+
|
|
984
|
+
# The display name of the group.
|
|
985
|
+
sig { returns(String) }
|
|
986
|
+
def display_name
|
|
987
|
+
end
|
|
988
|
+
|
|
989
|
+
# The display name of the group.
|
|
990
|
+
sig { params(value: String).void }
|
|
991
|
+
def display_name=(value)
|
|
992
|
+
end
|
|
993
|
+
|
|
994
|
+
# The display name of the group.
|
|
995
|
+
sig { void }
|
|
996
|
+
def clear_display_name
|
|
997
|
+
end
|
|
998
|
+
|
|
999
|
+
# The access assigned to the group.
|
|
1000
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::Access)) }
|
|
1001
|
+
def access
|
|
1002
|
+
end
|
|
1003
|
+
|
|
1004
|
+
# The access assigned to the group.
|
|
1005
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::Access)).void }
|
|
1006
|
+
def access=(value)
|
|
1007
|
+
end
|
|
1008
|
+
|
|
1009
|
+
# The access assigned to the group.
|
|
1010
|
+
sig { void }
|
|
1011
|
+
def clear_access
|
|
1012
|
+
end
|
|
1013
|
+
|
|
1014
|
+
# The specification of the google group that this group is associated with.
|
|
1015
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::GoogleGroupSpec)) }
|
|
1016
|
+
def google_group
|
|
1017
|
+
end
|
|
1018
|
+
|
|
1019
|
+
# The specification of the google group that this group is associated with.
|
|
1020
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::GoogleGroupSpec)).void }
|
|
1021
|
+
def google_group=(value)
|
|
1022
|
+
end
|
|
1023
|
+
|
|
1024
|
+
# The specification of the google group that this group is associated with.
|
|
1025
|
+
sig { void }
|
|
1026
|
+
def clear_google_group
|
|
1027
|
+
end
|
|
1028
|
+
|
|
1029
|
+
# The specification of the SCIM group that this group is associated with.
|
|
1030
|
+
# SCIM groups cannot be created or deleted directly, but their access can be managed.
|
|
1031
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::SCIMGroupSpec)) }
|
|
1032
|
+
def scim_group
|
|
1033
|
+
end
|
|
1034
|
+
|
|
1035
|
+
# The specification of the SCIM group that this group is associated with.
|
|
1036
|
+
# SCIM groups cannot be created or deleted directly, but their access can be managed.
|
|
1037
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::SCIMGroupSpec)).void }
|
|
1038
|
+
def scim_group=(value)
|
|
1039
|
+
end
|
|
1040
|
+
|
|
1041
|
+
# The specification of the SCIM group that this group is associated with.
|
|
1042
|
+
# SCIM groups cannot be created or deleted directly, but their access can be managed.
|
|
1043
|
+
sig { void }
|
|
1044
|
+
def clear_scim_group
|
|
1045
|
+
end
|
|
1046
|
+
|
|
1047
|
+
# The specification for a Cloud group. Cloud groups can manage members using
|
|
1048
|
+
# the add and remove member APIs.
|
|
1049
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::CloudGroupSpec)) }
|
|
1050
|
+
def cloud_group
|
|
1051
|
+
end
|
|
1052
|
+
|
|
1053
|
+
# The specification for a Cloud group. Cloud groups can manage members using
|
|
1054
|
+
# the add and remove member APIs.
|
|
1055
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::CloudGroupSpec)).void }
|
|
1056
|
+
def cloud_group=(value)
|
|
1057
|
+
end
|
|
1058
|
+
|
|
1059
|
+
# The specification for a Cloud group. Cloud groups can manage members using
|
|
1060
|
+
# the add and remove member APIs.
|
|
1061
|
+
sig { void }
|
|
1062
|
+
def clear_cloud_group
|
|
1063
|
+
end
|
|
1064
|
+
|
|
1065
|
+
sig { returns(T.nilable(Symbol)) }
|
|
1066
|
+
def group_type
|
|
1067
|
+
end
|
|
1068
|
+
|
|
1069
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1070
|
+
def [](field)
|
|
1071
|
+
end
|
|
1072
|
+
|
|
1073
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1074
|
+
def []=(field, value)
|
|
1075
|
+
end
|
|
1076
|
+
|
|
1077
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1078
|
+
def to_h
|
|
1079
|
+
end
|
|
1080
|
+
|
|
1081
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::UserGroupSpec) }
|
|
1082
|
+
def self.decode(str)
|
|
1083
|
+
end
|
|
1084
|
+
|
|
1085
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::UserGroupSpec).returns(String) }
|
|
1086
|
+
def self.encode(msg)
|
|
1087
|
+
end
|
|
1088
|
+
|
|
1089
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::UserGroupSpec) }
|
|
1090
|
+
def self.decode_json(str, **kw)
|
|
1091
|
+
end
|
|
1092
|
+
|
|
1093
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::UserGroupSpec, kw: T.untyped).returns(String) }
|
|
1094
|
+
def self.encode_json(msg, **kw)
|
|
1095
|
+
end
|
|
1096
|
+
|
|
1097
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1098
|
+
def self.descriptor
|
|
1099
|
+
end
|
|
1100
|
+
end
|
|
1101
|
+
|
|
1102
|
+
class Temporalio::Api::Cloud::Identity::V1::UserGroup
|
|
1103
|
+
include ::Google::Protobuf::MessageExts
|
|
1104
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1105
|
+
|
|
1106
|
+
sig do
|
|
1107
|
+
params(
|
|
1108
|
+
id: T.nilable(String),
|
|
1109
|
+
resource_version: T.nilable(String),
|
|
1110
|
+
spec: T.nilable(Temporalio::Api::Cloud::Identity::V1::UserGroupSpec),
|
|
1111
|
+
state_deprecated: T.nilable(String),
|
|
1112
|
+
state: T.nilable(T.any(Symbol, String, Integer)),
|
|
1113
|
+
async_operation_id: T.nilable(String),
|
|
1114
|
+
created_time: T.nilable(Google::Protobuf::Timestamp),
|
|
1115
|
+
last_modified_time: T.nilable(Google::Protobuf::Timestamp)
|
|
1116
|
+
).void
|
|
1117
|
+
end
|
|
1118
|
+
def initialize(
|
|
1119
|
+
id: "",
|
|
1120
|
+
resource_version: "",
|
|
1121
|
+
spec: nil,
|
|
1122
|
+
state_deprecated: "",
|
|
1123
|
+
state: :RESOURCE_STATE_UNSPECIFIED,
|
|
1124
|
+
async_operation_id: "",
|
|
1125
|
+
created_time: nil,
|
|
1126
|
+
last_modified_time: nil
|
|
1127
|
+
)
|
|
1128
|
+
end
|
|
1129
|
+
|
|
1130
|
+
# The id of the group
|
|
1131
|
+
sig { returns(String) }
|
|
1132
|
+
def id
|
|
1133
|
+
end
|
|
1134
|
+
|
|
1135
|
+
# The id of the group
|
|
1136
|
+
sig { params(value: String).void }
|
|
1137
|
+
def id=(value)
|
|
1138
|
+
end
|
|
1139
|
+
|
|
1140
|
+
# The id of the group
|
|
1141
|
+
sig { void }
|
|
1142
|
+
def clear_id
|
|
1143
|
+
end
|
|
1144
|
+
|
|
1145
|
+
# The current version of the group specification
|
|
1146
|
+
# The next update operation will have to include this version
|
|
1147
|
+
sig { returns(String) }
|
|
1148
|
+
def resource_version
|
|
1149
|
+
end
|
|
1150
|
+
|
|
1151
|
+
# The current version of the group specification
|
|
1152
|
+
# The next update operation will have to include this version
|
|
1153
|
+
sig { params(value: String).void }
|
|
1154
|
+
def resource_version=(value)
|
|
1155
|
+
end
|
|
1156
|
+
|
|
1157
|
+
# The current version of the group specification
|
|
1158
|
+
# The next update operation will have to include this version
|
|
1159
|
+
sig { void }
|
|
1160
|
+
def clear_resource_version
|
|
1161
|
+
end
|
|
1162
|
+
|
|
1163
|
+
# The group specification
|
|
1164
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::UserGroupSpec)) }
|
|
1165
|
+
def spec
|
|
1166
|
+
end
|
|
1167
|
+
|
|
1168
|
+
# The group specification
|
|
1169
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::UserGroupSpec)).void }
|
|
1170
|
+
def spec=(value)
|
|
1171
|
+
end
|
|
1172
|
+
|
|
1173
|
+
# The group specification
|
|
1174
|
+
sig { void }
|
|
1175
|
+
def clear_spec
|
|
1176
|
+
end
|
|
1177
|
+
|
|
1178
|
+
# The current state of the group.
|
|
1179
|
+
# Deprecated: Not supported after v0.3.0 api version. Use state instead.
|
|
1180
|
+
# temporal:versioning:max_version=v0.3.0
|
|
1181
|
+
sig { returns(String) }
|
|
1182
|
+
def state_deprecated
|
|
1183
|
+
end
|
|
1184
|
+
|
|
1185
|
+
# The current state of the group.
|
|
1186
|
+
# Deprecated: Not supported after v0.3.0 api version. Use state instead.
|
|
1187
|
+
# temporal:versioning:max_version=v0.3.0
|
|
1188
|
+
sig { params(value: String).void }
|
|
1189
|
+
def state_deprecated=(value)
|
|
1190
|
+
end
|
|
1191
|
+
|
|
1192
|
+
# The current state of the group.
|
|
1193
|
+
# Deprecated: Not supported after v0.3.0 api version. Use state instead.
|
|
1194
|
+
# temporal:versioning:max_version=v0.3.0
|
|
1195
|
+
sig { void }
|
|
1196
|
+
def clear_state_deprecated
|
|
1197
|
+
end
|
|
1198
|
+
|
|
1199
|
+
# The current state of the group.
|
|
1200
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
1201
|
+
# temporal:versioning:min_version=v0.3.0
|
|
1202
|
+
# temporal:enums:replaces=state_deprecated
|
|
1203
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
1204
|
+
def state
|
|
1205
|
+
end
|
|
1206
|
+
|
|
1207
|
+
# The current state of the group.
|
|
1208
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
1209
|
+
# temporal:versioning:min_version=v0.3.0
|
|
1210
|
+
# temporal:enums:replaces=state_deprecated
|
|
1211
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
1212
|
+
def state=(value)
|
|
1213
|
+
end
|
|
1214
|
+
|
|
1215
|
+
# The current state of the group.
|
|
1216
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
1217
|
+
# temporal:versioning:min_version=v0.3.0
|
|
1218
|
+
# temporal:enums:replaces=state_deprecated
|
|
1219
|
+
sig { void }
|
|
1220
|
+
def clear_state
|
|
1221
|
+
end
|
|
1222
|
+
|
|
1223
|
+
# The id of the async operation that is creating/updating/deleting the group, if any
|
|
1224
|
+
sig { returns(String) }
|
|
1225
|
+
def async_operation_id
|
|
1226
|
+
end
|
|
1227
|
+
|
|
1228
|
+
# The id of the async operation that is creating/updating/deleting the group, if any
|
|
1229
|
+
sig { params(value: String).void }
|
|
1230
|
+
def async_operation_id=(value)
|
|
1231
|
+
end
|
|
1232
|
+
|
|
1233
|
+
# The id of the async operation that is creating/updating/deleting the group, if any
|
|
1234
|
+
sig { void }
|
|
1235
|
+
def clear_async_operation_id
|
|
1236
|
+
end
|
|
1237
|
+
|
|
1238
|
+
# The date and time when the group was created
|
|
1239
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
1240
|
+
def created_time
|
|
1241
|
+
end
|
|
1242
|
+
|
|
1243
|
+
# The date and time when the group was created
|
|
1244
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
1245
|
+
def created_time=(value)
|
|
1246
|
+
end
|
|
1247
|
+
|
|
1248
|
+
# The date and time when the group was created
|
|
1249
|
+
sig { void }
|
|
1250
|
+
def clear_created_time
|
|
1251
|
+
end
|
|
1252
|
+
|
|
1253
|
+
# The date and time when the group was last modified
|
|
1254
|
+
# Will not be set if the group has never been modified
|
|
1255
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
1256
|
+
def last_modified_time
|
|
1257
|
+
end
|
|
1258
|
+
|
|
1259
|
+
# The date and time when the group was last modified
|
|
1260
|
+
# Will not be set if the group has never been modified
|
|
1261
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
1262
|
+
def last_modified_time=(value)
|
|
1263
|
+
end
|
|
1264
|
+
|
|
1265
|
+
# The date and time when the group was last modified
|
|
1266
|
+
# Will not be set if the group has never been modified
|
|
1267
|
+
sig { void }
|
|
1268
|
+
def clear_last_modified_time
|
|
1269
|
+
end
|
|
1270
|
+
|
|
1271
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1272
|
+
def [](field)
|
|
1273
|
+
end
|
|
1274
|
+
|
|
1275
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1276
|
+
def []=(field, value)
|
|
1277
|
+
end
|
|
1278
|
+
|
|
1279
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1280
|
+
def to_h
|
|
1281
|
+
end
|
|
1282
|
+
|
|
1283
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::UserGroup) }
|
|
1284
|
+
def self.decode(str)
|
|
1285
|
+
end
|
|
1286
|
+
|
|
1287
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::UserGroup).returns(String) }
|
|
1288
|
+
def self.encode(msg)
|
|
1289
|
+
end
|
|
1290
|
+
|
|
1291
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::UserGroup) }
|
|
1292
|
+
def self.decode_json(str, **kw)
|
|
1293
|
+
end
|
|
1294
|
+
|
|
1295
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::UserGroup, kw: T.untyped).returns(String) }
|
|
1296
|
+
def self.encode_json(msg, **kw)
|
|
1297
|
+
end
|
|
1298
|
+
|
|
1299
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1300
|
+
def self.descriptor
|
|
1301
|
+
end
|
|
1302
|
+
end
|
|
1303
|
+
|
|
1304
|
+
class Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId
|
|
1305
|
+
include ::Google::Protobuf::MessageExts
|
|
1306
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1307
|
+
|
|
1308
|
+
sig do
|
|
1309
|
+
params(
|
|
1310
|
+
user_id: T.nilable(String)
|
|
1311
|
+
).void
|
|
1312
|
+
end
|
|
1313
|
+
def initialize(
|
|
1314
|
+
user_id: ""
|
|
1315
|
+
)
|
|
1316
|
+
end
|
|
1317
|
+
|
|
1318
|
+
sig { returns(String) }
|
|
1319
|
+
def user_id
|
|
1320
|
+
end
|
|
1321
|
+
|
|
1322
|
+
sig { params(value: String).void }
|
|
1323
|
+
def user_id=(value)
|
|
1324
|
+
end
|
|
1325
|
+
|
|
1326
|
+
sig { void }
|
|
1327
|
+
def clear_user_id
|
|
1328
|
+
end
|
|
1329
|
+
|
|
1330
|
+
sig { returns(T.nilable(Symbol)) }
|
|
1331
|
+
def member_type
|
|
1332
|
+
end
|
|
1333
|
+
|
|
1334
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1335
|
+
def [](field)
|
|
1336
|
+
end
|
|
1337
|
+
|
|
1338
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1339
|
+
def []=(field, value)
|
|
1340
|
+
end
|
|
1341
|
+
|
|
1342
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1343
|
+
def to_h
|
|
1344
|
+
end
|
|
1345
|
+
|
|
1346
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId) }
|
|
1347
|
+
def self.decode(str)
|
|
1348
|
+
end
|
|
1349
|
+
|
|
1350
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId).returns(String) }
|
|
1351
|
+
def self.encode(msg)
|
|
1352
|
+
end
|
|
1353
|
+
|
|
1354
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId) }
|
|
1355
|
+
def self.decode_json(str, **kw)
|
|
1356
|
+
end
|
|
1357
|
+
|
|
1358
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId, kw: T.untyped).returns(String) }
|
|
1359
|
+
def self.encode_json(msg, **kw)
|
|
1360
|
+
end
|
|
1361
|
+
|
|
1362
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1363
|
+
def self.descriptor
|
|
1364
|
+
end
|
|
1365
|
+
end
|
|
1366
|
+
|
|
1367
|
+
class Temporalio::Api::Cloud::Identity::V1::UserGroupMember
|
|
1368
|
+
include ::Google::Protobuf::MessageExts
|
|
1369
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1370
|
+
|
|
1371
|
+
sig do
|
|
1372
|
+
params(
|
|
1373
|
+
member_id: T.nilable(Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId),
|
|
1374
|
+
created_time: T.nilable(Google::Protobuf::Timestamp)
|
|
1375
|
+
).void
|
|
1376
|
+
end
|
|
1377
|
+
def initialize(
|
|
1378
|
+
member_id: nil,
|
|
1379
|
+
created_time: nil
|
|
1380
|
+
)
|
|
1381
|
+
end
|
|
1382
|
+
|
|
1383
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId)) }
|
|
1384
|
+
def member_id
|
|
1385
|
+
end
|
|
1386
|
+
|
|
1387
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId)).void }
|
|
1388
|
+
def member_id=(value)
|
|
1389
|
+
end
|
|
1390
|
+
|
|
1391
|
+
sig { void }
|
|
1392
|
+
def clear_member_id
|
|
1393
|
+
end
|
|
1394
|
+
|
|
1395
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
1396
|
+
def created_time
|
|
1397
|
+
end
|
|
1398
|
+
|
|
1399
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
1400
|
+
def created_time=(value)
|
|
1401
|
+
end
|
|
1402
|
+
|
|
1403
|
+
sig { void }
|
|
1404
|
+
def clear_created_time
|
|
1405
|
+
end
|
|
1406
|
+
|
|
1407
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1408
|
+
def [](field)
|
|
1409
|
+
end
|
|
1410
|
+
|
|
1411
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1412
|
+
def []=(field, value)
|
|
1413
|
+
end
|
|
1414
|
+
|
|
1415
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1416
|
+
def to_h
|
|
1417
|
+
end
|
|
1418
|
+
|
|
1419
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::UserGroupMember) }
|
|
1420
|
+
def self.decode(str)
|
|
1421
|
+
end
|
|
1422
|
+
|
|
1423
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::UserGroupMember).returns(String) }
|
|
1424
|
+
def self.encode(msg)
|
|
1425
|
+
end
|
|
1426
|
+
|
|
1427
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::UserGroupMember) }
|
|
1428
|
+
def self.decode_json(str, **kw)
|
|
1429
|
+
end
|
|
1430
|
+
|
|
1431
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::UserGroupMember, kw: T.untyped).returns(String) }
|
|
1432
|
+
def self.encode_json(msg, **kw)
|
|
1433
|
+
end
|
|
1434
|
+
|
|
1435
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1436
|
+
def self.descriptor
|
|
1437
|
+
end
|
|
1438
|
+
end
|
|
1439
|
+
|
|
1440
|
+
class Temporalio::Api::Cloud::Identity::V1::ServiceAccount
|
|
1441
|
+
include ::Google::Protobuf::MessageExts
|
|
1442
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1443
|
+
|
|
1444
|
+
sig do
|
|
1445
|
+
params(
|
|
1446
|
+
id: T.nilable(String),
|
|
1447
|
+
resource_version: T.nilable(String),
|
|
1448
|
+
spec: T.nilable(Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec),
|
|
1449
|
+
state_deprecated: T.nilable(String),
|
|
1450
|
+
state: T.nilable(T.any(Symbol, String, Integer)),
|
|
1451
|
+
async_operation_id: T.nilable(String),
|
|
1452
|
+
created_time: T.nilable(Google::Protobuf::Timestamp),
|
|
1453
|
+
last_modified_time: T.nilable(Google::Protobuf::Timestamp)
|
|
1454
|
+
).void
|
|
1455
|
+
end
|
|
1456
|
+
def initialize(
|
|
1457
|
+
id: "",
|
|
1458
|
+
resource_version: "",
|
|
1459
|
+
spec: nil,
|
|
1460
|
+
state_deprecated: "",
|
|
1461
|
+
state: :RESOURCE_STATE_UNSPECIFIED,
|
|
1462
|
+
async_operation_id: "",
|
|
1463
|
+
created_time: nil,
|
|
1464
|
+
last_modified_time: nil
|
|
1465
|
+
)
|
|
1466
|
+
end
|
|
1467
|
+
|
|
1468
|
+
# The id of the service account.
|
|
1469
|
+
sig { returns(String) }
|
|
1470
|
+
def id
|
|
1471
|
+
end
|
|
1472
|
+
|
|
1473
|
+
# The id of the service account.
|
|
1474
|
+
sig { params(value: String).void }
|
|
1475
|
+
def id=(value)
|
|
1476
|
+
end
|
|
1477
|
+
|
|
1478
|
+
# The id of the service account.
|
|
1479
|
+
sig { void }
|
|
1480
|
+
def clear_id
|
|
1481
|
+
end
|
|
1482
|
+
|
|
1483
|
+
# The current version of the service account specification.
|
|
1484
|
+
# The next update operation will have to include this version.
|
|
1485
|
+
sig { returns(String) }
|
|
1486
|
+
def resource_version
|
|
1487
|
+
end
|
|
1488
|
+
|
|
1489
|
+
# The current version of the service account specification.
|
|
1490
|
+
# The next update operation will have to include this version.
|
|
1491
|
+
sig { params(value: String).void }
|
|
1492
|
+
def resource_version=(value)
|
|
1493
|
+
end
|
|
1494
|
+
|
|
1495
|
+
# The current version of the service account specification.
|
|
1496
|
+
# The next update operation will have to include this version.
|
|
1497
|
+
sig { void }
|
|
1498
|
+
def clear_resource_version
|
|
1499
|
+
end
|
|
1500
|
+
|
|
1501
|
+
# The service account specification.
|
|
1502
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec)) }
|
|
1503
|
+
def spec
|
|
1504
|
+
end
|
|
1505
|
+
|
|
1506
|
+
# The service account specification.
|
|
1507
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec)).void }
|
|
1508
|
+
def spec=(value)
|
|
1509
|
+
end
|
|
1510
|
+
|
|
1511
|
+
# The service account specification.
|
|
1512
|
+
sig { void }
|
|
1513
|
+
def clear_spec
|
|
1514
|
+
end
|
|
1515
|
+
|
|
1516
|
+
# The current state of the service account.
|
|
1517
|
+
# Possible values: activating, activationfailed, active, updating, updatefailed, deleting, deletefailed, deleted, suspending, suspendfailed, suspended.
|
|
1518
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
1519
|
+
# Deprecated: Not supported after v0.3.0 api version. Use state instead.
|
|
1520
|
+
# temporal:versioning:max_version=v0.3.0
|
|
1521
|
+
sig { returns(String) }
|
|
1522
|
+
def state_deprecated
|
|
1523
|
+
end
|
|
1524
|
+
|
|
1525
|
+
# The current state of the service account.
|
|
1526
|
+
# Possible values: activating, activationfailed, active, updating, updatefailed, deleting, deletefailed, deleted, suspending, suspendfailed, suspended.
|
|
1527
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
1528
|
+
# Deprecated: Not supported after v0.3.0 api version. Use state instead.
|
|
1529
|
+
# temporal:versioning:max_version=v0.3.0
|
|
1530
|
+
sig { params(value: String).void }
|
|
1531
|
+
def state_deprecated=(value)
|
|
1532
|
+
end
|
|
1533
|
+
|
|
1534
|
+
# The current state of the service account.
|
|
1535
|
+
# Possible values: activating, activationfailed, active, updating, updatefailed, deleting, deletefailed, deleted, suspending, suspendfailed, suspended.
|
|
1536
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
1537
|
+
# Deprecated: Not supported after v0.3.0 api version. Use state instead.
|
|
1538
|
+
# temporal:versioning:max_version=v0.3.0
|
|
1539
|
+
sig { void }
|
|
1540
|
+
def clear_state_deprecated
|
|
1541
|
+
end
|
|
1542
|
+
|
|
1543
|
+
# The current state of the service account.
|
|
1544
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
1545
|
+
# temporal:versioning:min_version=v0.3.0
|
|
1546
|
+
# temporal:enums:replaces=state_deprecated
|
|
1547
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
1548
|
+
def state
|
|
1549
|
+
end
|
|
1550
|
+
|
|
1551
|
+
# The current state of the service account.
|
|
1552
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
1553
|
+
# temporal:versioning:min_version=v0.3.0
|
|
1554
|
+
# temporal:enums:replaces=state_deprecated
|
|
1555
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
1556
|
+
def state=(value)
|
|
1557
|
+
end
|
|
1558
|
+
|
|
1559
|
+
# The current state of the service account.
|
|
1560
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
1561
|
+
# temporal:versioning:min_version=v0.3.0
|
|
1562
|
+
# temporal:enums:replaces=state_deprecated
|
|
1563
|
+
sig { void }
|
|
1564
|
+
def clear_state
|
|
1565
|
+
end
|
|
1566
|
+
|
|
1567
|
+
# The id of the async operation that is creating/updating/deleting the service account, if any.
|
|
1568
|
+
sig { returns(String) }
|
|
1569
|
+
def async_operation_id
|
|
1570
|
+
end
|
|
1571
|
+
|
|
1572
|
+
# The id of the async operation that is creating/updating/deleting the service account, if any.
|
|
1573
|
+
sig { params(value: String).void }
|
|
1574
|
+
def async_operation_id=(value)
|
|
1575
|
+
end
|
|
1576
|
+
|
|
1577
|
+
# The id of the async operation that is creating/updating/deleting the service account, if any.
|
|
1578
|
+
sig { void }
|
|
1579
|
+
def clear_async_operation_id
|
|
1580
|
+
end
|
|
1581
|
+
|
|
1582
|
+
# The date and time when the service account was created.
|
|
1583
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
1584
|
+
def created_time
|
|
1585
|
+
end
|
|
1586
|
+
|
|
1587
|
+
# The date and time when the service account was created.
|
|
1588
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
1589
|
+
def created_time=(value)
|
|
1590
|
+
end
|
|
1591
|
+
|
|
1592
|
+
# The date and time when the service account was created.
|
|
1593
|
+
sig { void }
|
|
1594
|
+
def clear_created_time
|
|
1595
|
+
end
|
|
1596
|
+
|
|
1597
|
+
# The date and time when the service account was last modified
|
|
1598
|
+
# Will not be set if the service account has never been modified.
|
|
1599
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
1600
|
+
def last_modified_time
|
|
1601
|
+
end
|
|
1602
|
+
|
|
1603
|
+
# The date and time when the service account was last modified
|
|
1604
|
+
# Will not be set if the service account has never been modified.
|
|
1605
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
1606
|
+
def last_modified_time=(value)
|
|
1607
|
+
end
|
|
1608
|
+
|
|
1609
|
+
# The date and time when the service account was last modified
|
|
1610
|
+
# Will not be set if the service account has never been modified.
|
|
1611
|
+
sig { void }
|
|
1612
|
+
def clear_last_modified_time
|
|
1613
|
+
end
|
|
1614
|
+
|
|
1615
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1616
|
+
def [](field)
|
|
1617
|
+
end
|
|
1618
|
+
|
|
1619
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1620
|
+
def []=(field, value)
|
|
1621
|
+
end
|
|
1622
|
+
|
|
1623
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1624
|
+
def to_h
|
|
1625
|
+
end
|
|
1626
|
+
|
|
1627
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::ServiceAccount) }
|
|
1628
|
+
def self.decode(str)
|
|
1629
|
+
end
|
|
1630
|
+
|
|
1631
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::ServiceAccount).returns(String) }
|
|
1632
|
+
def self.encode(msg)
|
|
1633
|
+
end
|
|
1634
|
+
|
|
1635
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::ServiceAccount) }
|
|
1636
|
+
def self.decode_json(str, **kw)
|
|
1637
|
+
end
|
|
1638
|
+
|
|
1639
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::ServiceAccount, kw: T.untyped).returns(String) }
|
|
1640
|
+
def self.encode_json(msg, **kw)
|
|
1641
|
+
end
|
|
1642
|
+
|
|
1643
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1644
|
+
def self.descriptor
|
|
1645
|
+
end
|
|
1646
|
+
end
|
|
1647
|
+
|
|
1648
|
+
class Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec
|
|
1649
|
+
include ::Google::Protobuf::MessageExts
|
|
1650
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1651
|
+
|
|
1652
|
+
sig do
|
|
1653
|
+
params(
|
|
1654
|
+
name: T.nilable(String),
|
|
1655
|
+
access: T.nilable(Temporalio::Api::Cloud::Identity::V1::Access),
|
|
1656
|
+
namespace_scoped_access: T.nilable(Temporalio::Api::Cloud::Identity::V1::NamespaceScopedAccess),
|
|
1657
|
+
description: T.nilable(String)
|
|
1658
|
+
).void
|
|
1659
|
+
end
|
|
1660
|
+
def initialize(
|
|
1661
|
+
name: "",
|
|
1662
|
+
access: nil,
|
|
1663
|
+
namespace_scoped_access: nil,
|
|
1664
|
+
description: ""
|
|
1665
|
+
)
|
|
1666
|
+
end
|
|
1667
|
+
|
|
1668
|
+
# The name associated with the service account.
|
|
1669
|
+
# The name is mutable, but must be unique across all your active service accounts.
|
|
1670
|
+
sig { returns(String) }
|
|
1671
|
+
def name
|
|
1672
|
+
end
|
|
1673
|
+
|
|
1674
|
+
# The name associated with the service account.
|
|
1675
|
+
# The name is mutable, but must be unique across all your active service accounts.
|
|
1676
|
+
sig { params(value: String).void }
|
|
1677
|
+
def name=(value)
|
|
1678
|
+
end
|
|
1679
|
+
|
|
1680
|
+
# The name associated with the service account.
|
|
1681
|
+
# The name is mutable, but must be unique across all your active service accounts.
|
|
1682
|
+
sig { void }
|
|
1683
|
+
def clear_name
|
|
1684
|
+
end
|
|
1685
|
+
|
|
1686
|
+
# Note: one of `Access` or `NamespaceScopedAccess` must be provided, but not both.
|
|
1687
|
+
# The access assigned to the service account.
|
|
1688
|
+
# If set, creates an account scoped service account.
|
|
1689
|
+
# The access is mutable.
|
|
1690
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::Access)) }
|
|
1691
|
+
def access
|
|
1692
|
+
end
|
|
1693
|
+
|
|
1694
|
+
# Note: one of `Access` or `NamespaceScopedAccess` must be provided, but not both.
|
|
1695
|
+
# The access assigned to the service account.
|
|
1696
|
+
# If set, creates an account scoped service account.
|
|
1697
|
+
# The access is mutable.
|
|
1698
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::Access)).void }
|
|
1699
|
+
def access=(value)
|
|
1700
|
+
end
|
|
1701
|
+
|
|
1702
|
+
# Note: one of `Access` or `NamespaceScopedAccess` must be provided, but not both.
|
|
1703
|
+
# The access assigned to the service account.
|
|
1704
|
+
# If set, creates an account scoped service account.
|
|
1705
|
+
# The access is mutable.
|
|
1706
|
+
sig { void }
|
|
1707
|
+
def clear_access
|
|
1708
|
+
end
|
|
1709
|
+
|
|
1710
|
+
# The namespace scoped access assigned to the service account.
|
|
1711
|
+
# If set, creates a namespace scoped service account (limited to a single namespace).
|
|
1712
|
+
# The namespace scoped access is partially mutable.
|
|
1713
|
+
# Refer to `NamespaceScopedAccess` for details.
|
|
1714
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::NamespaceScopedAccess)) }
|
|
1715
|
+
def namespace_scoped_access
|
|
1716
|
+
end
|
|
1717
|
+
|
|
1718
|
+
# The namespace scoped access assigned to the service account.
|
|
1719
|
+
# If set, creates a namespace scoped service account (limited to a single namespace).
|
|
1720
|
+
# The namespace scoped access is partially mutable.
|
|
1721
|
+
# Refer to `NamespaceScopedAccess` for details.
|
|
1722
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::NamespaceScopedAccess)).void }
|
|
1723
|
+
def namespace_scoped_access=(value)
|
|
1724
|
+
end
|
|
1725
|
+
|
|
1726
|
+
# The namespace scoped access assigned to the service account.
|
|
1727
|
+
# If set, creates a namespace scoped service account (limited to a single namespace).
|
|
1728
|
+
# The namespace scoped access is partially mutable.
|
|
1729
|
+
# Refer to `NamespaceScopedAccess` for details.
|
|
1730
|
+
sig { void }
|
|
1731
|
+
def clear_namespace_scoped_access
|
|
1732
|
+
end
|
|
1733
|
+
|
|
1734
|
+
# The description associated with the service account - optional.
|
|
1735
|
+
# The description is mutable.
|
|
1736
|
+
sig { returns(String) }
|
|
1737
|
+
def description
|
|
1738
|
+
end
|
|
1739
|
+
|
|
1740
|
+
# The description associated with the service account - optional.
|
|
1741
|
+
# The description is mutable.
|
|
1742
|
+
sig { params(value: String).void }
|
|
1743
|
+
def description=(value)
|
|
1744
|
+
end
|
|
1745
|
+
|
|
1746
|
+
# The description associated with the service account - optional.
|
|
1747
|
+
# The description is mutable.
|
|
1748
|
+
sig { void }
|
|
1749
|
+
def clear_description
|
|
1750
|
+
end
|
|
1751
|
+
|
|
1752
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1753
|
+
def [](field)
|
|
1754
|
+
end
|
|
1755
|
+
|
|
1756
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1757
|
+
def []=(field, value)
|
|
1758
|
+
end
|
|
1759
|
+
|
|
1760
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1761
|
+
def to_h
|
|
1762
|
+
end
|
|
1763
|
+
|
|
1764
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec) }
|
|
1765
|
+
def self.decode(str)
|
|
1766
|
+
end
|
|
1767
|
+
|
|
1768
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec).returns(String) }
|
|
1769
|
+
def self.encode(msg)
|
|
1770
|
+
end
|
|
1771
|
+
|
|
1772
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec) }
|
|
1773
|
+
def self.decode_json(str, **kw)
|
|
1774
|
+
end
|
|
1775
|
+
|
|
1776
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec, kw: T.untyped).returns(String) }
|
|
1777
|
+
def self.encode_json(msg, **kw)
|
|
1778
|
+
end
|
|
1779
|
+
|
|
1780
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1781
|
+
def self.descriptor
|
|
1782
|
+
end
|
|
1783
|
+
end
|
|
1784
|
+
|
|
1785
|
+
class Temporalio::Api::Cloud::Identity::V1::ApiKey
|
|
1786
|
+
include ::Google::Protobuf::MessageExts
|
|
1787
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1788
|
+
|
|
1789
|
+
sig do
|
|
1790
|
+
params(
|
|
1791
|
+
id: T.nilable(String),
|
|
1792
|
+
resource_version: T.nilable(String),
|
|
1793
|
+
spec: T.nilable(Temporalio::Api::Cloud::Identity::V1::ApiKeySpec),
|
|
1794
|
+
state_deprecated: T.nilable(String),
|
|
1795
|
+
state: T.nilable(T.any(Symbol, String, Integer)),
|
|
1796
|
+
async_operation_id: T.nilable(String),
|
|
1797
|
+
created_time: T.nilable(Google::Protobuf::Timestamp),
|
|
1798
|
+
last_modified_time: T.nilable(Google::Protobuf::Timestamp)
|
|
1799
|
+
).void
|
|
1800
|
+
end
|
|
1801
|
+
def initialize(
|
|
1802
|
+
id: "",
|
|
1803
|
+
resource_version: "",
|
|
1804
|
+
spec: nil,
|
|
1805
|
+
state_deprecated: "",
|
|
1806
|
+
state: :RESOURCE_STATE_UNSPECIFIED,
|
|
1807
|
+
async_operation_id: "",
|
|
1808
|
+
created_time: nil,
|
|
1809
|
+
last_modified_time: nil
|
|
1810
|
+
)
|
|
1811
|
+
end
|
|
1812
|
+
|
|
1813
|
+
# The id of the API Key.
|
|
1814
|
+
sig { returns(String) }
|
|
1815
|
+
def id
|
|
1816
|
+
end
|
|
1817
|
+
|
|
1818
|
+
# The id of the API Key.
|
|
1819
|
+
sig { params(value: String).void }
|
|
1820
|
+
def id=(value)
|
|
1821
|
+
end
|
|
1822
|
+
|
|
1823
|
+
# The id of the API Key.
|
|
1824
|
+
sig { void }
|
|
1825
|
+
def clear_id
|
|
1826
|
+
end
|
|
1827
|
+
|
|
1828
|
+
# The current version of the API key specification.
|
|
1829
|
+
# The next update operation will have to include this version.
|
|
1830
|
+
sig { returns(String) }
|
|
1831
|
+
def resource_version
|
|
1832
|
+
end
|
|
1833
|
+
|
|
1834
|
+
# The current version of the API key specification.
|
|
1835
|
+
# The next update operation will have to include this version.
|
|
1836
|
+
sig { params(value: String).void }
|
|
1837
|
+
def resource_version=(value)
|
|
1838
|
+
end
|
|
1839
|
+
|
|
1840
|
+
# The current version of the API key specification.
|
|
1841
|
+
# The next update operation will have to include this version.
|
|
1842
|
+
sig { void }
|
|
1843
|
+
def clear_resource_version
|
|
1844
|
+
end
|
|
1845
|
+
|
|
1846
|
+
# The API key specification.
|
|
1847
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::ApiKeySpec)) }
|
|
1848
|
+
def spec
|
|
1849
|
+
end
|
|
1850
|
+
|
|
1851
|
+
# The API key specification.
|
|
1852
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::ApiKeySpec)).void }
|
|
1853
|
+
def spec=(value)
|
|
1854
|
+
end
|
|
1855
|
+
|
|
1856
|
+
# The API key specification.
|
|
1857
|
+
sig { void }
|
|
1858
|
+
def clear_spec
|
|
1859
|
+
end
|
|
1860
|
+
|
|
1861
|
+
# The current state of the API key.
|
|
1862
|
+
# Possible values: activating, activationfailed, active, updating, updatefailed, deleting, deletefailed, deleted, suspending, suspendfailed, suspended.
|
|
1863
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
1864
|
+
# Deprecated: Not supported after v0.3.0 api version. Use state instead.
|
|
1865
|
+
# temporal:versioning:max_version=v0.3.0
|
|
1866
|
+
sig { returns(String) }
|
|
1867
|
+
def state_deprecated
|
|
1868
|
+
end
|
|
1869
|
+
|
|
1870
|
+
# The current state of the API key.
|
|
1871
|
+
# Possible values: activating, activationfailed, active, updating, updatefailed, deleting, deletefailed, deleted, suspending, suspendfailed, suspended.
|
|
1872
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
1873
|
+
# Deprecated: Not supported after v0.3.0 api version. Use state instead.
|
|
1874
|
+
# temporal:versioning:max_version=v0.3.0
|
|
1875
|
+
sig { params(value: String).void }
|
|
1876
|
+
def state_deprecated=(value)
|
|
1877
|
+
end
|
|
1878
|
+
|
|
1879
|
+
# The current state of the API key.
|
|
1880
|
+
# Possible values: activating, activationfailed, active, updating, updatefailed, deleting, deletefailed, deleted, suspending, suspendfailed, suspended.
|
|
1881
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
1882
|
+
# Deprecated: Not supported after v0.3.0 api version. Use state instead.
|
|
1883
|
+
# temporal:versioning:max_version=v0.3.0
|
|
1884
|
+
sig { void }
|
|
1885
|
+
def clear_state_deprecated
|
|
1886
|
+
end
|
|
1887
|
+
|
|
1888
|
+
# The current state of the API key.
|
|
1889
|
+
# temporal:versioning:min_version=v0.3.0
|
|
1890
|
+
# temporal:enums:replaces=state_deprecated
|
|
1891
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
1892
|
+
def state
|
|
1893
|
+
end
|
|
1894
|
+
|
|
1895
|
+
# The current state of the API key.
|
|
1896
|
+
# temporal:versioning:min_version=v0.3.0
|
|
1897
|
+
# temporal:enums:replaces=state_deprecated
|
|
1898
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
1899
|
+
def state=(value)
|
|
1900
|
+
end
|
|
1901
|
+
|
|
1902
|
+
# The current state of the API key.
|
|
1903
|
+
# temporal:versioning:min_version=v0.3.0
|
|
1904
|
+
# temporal:enums:replaces=state_deprecated
|
|
1905
|
+
sig { void }
|
|
1906
|
+
def clear_state
|
|
1907
|
+
end
|
|
1908
|
+
|
|
1909
|
+
# The id of the async operation that is creating/updating/deleting the API key, if any.
|
|
1910
|
+
sig { returns(String) }
|
|
1911
|
+
def async_operation_id
|
|
1912
|
+
end
|
|
1913
|
+
|
|
1914
|
+
# The id of the async operation that is creating/updating/deleting the API key, if any.
|
|
1915
|
+
sig { params(value: String).void }
|
|
1916
|
+
def async_operation_id=(value)
|
|
1917
|
+
end
|
|
1918
|
+
|
|
1919
|
+
# The id of the async operation that is creating/updating/deleting the API key, if any.
|
|
1920
|
+
sig { void }
|
|
1921
|
+
def clear_async_operation_id
|
|
1922
|
+
end
|
|
1923
|
+
|
|
1924
|
+
# The date and time when the API key was created.
|
|
1925
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
1926
|
+
def created_time
|
|
1927
|
+
end
|
|
1928
|
+
|
|
1929
|
+
# The date and time when the API key was created.
|
|
1930
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
1931
|
+
def created_time=(value)
|
|
1932
|
+
end
|
|
1933
|
+
|
|
1934
|
+
# The date and time when the API key was created.
|
|
1935
|
+
sig { void }
|
|
1936
|
+
def clear_created_time
|
|
1937
|
+
end
|
|
1938
|
+
|
|
1939
|
+
# The date and time when the API key was last modified.
|
|
1940
|
+
# Will not be set if the API key has never been modified.
|
|
1941
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
1942
|
+
def last_modified_time
|
|
1943
|
+
end
|
|
1944
|
+
|
|
1945
|
+
# The date and time when the API key was last modified.
|
|
1946
|
+
# Will not be set if the API key has never been modified.
|
|
1947
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
1948
|
+
def last_modified_time=(value)
|
|
1949
|
+
end
|
|
1950
|
+
|
|
1951
|
+
# The date and time when the API key was last modified.
|
|
1952
|
+
# Will not be set if the API key has never been modified.
|
|
1953
|
+
sig { void }
|
|
1954
|
+
def clear_last_modified_time
|
|
1955
|
+
end
|
|
1956
|
+
|
|
1957
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1958
|
+
def [](field)
|
|
1959
|
+
end
|
|
1960
|
+
|
|
1961
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1962
|
+
def []=(field, value)
|
|
1963
|
+
end
|
|
1964
|
+
|
|
1965
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1966
|
+
def to_h
|
|
1967
|
+
end
|
|
1968
|
+
|
|
1969
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::ApiKey) }
|
|
1970
|
+
def self.decode(str)
|
|
1971
|
+
end
|
|
1972
|
+
|
|
1973
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::ApiKey).returns(String) }
|
|
1974
|
+
def self.encode(msg)
|
|
1975
|
+
end
|
|
1976
|
+
|
|
1977
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::ApiKey) }
|
|
1978
|
+
def self.decode_json(str, **kw)
|
|
1979
|
+
end
|
|
1980
|
+
|
|
1981
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::ApiKey, kw: T.untyped).returns(String) }
|
|
1982
|
+
def self.encode_json(msg, **kw)
|
|
1983
|
+
end
|
|
1984
|
+
|
|
1985
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1986
|
+
def self.descriptor
|
|
1987
|
+
end
|
|
1988
|
+
end
|
|
1989
|
+
|
|
1990
|
+
class Temporalio::Api::Cloud::Identity::V1::ApiKeySpec
|
|
1991
|
+
include ::Google::Protobuf::MessageExts
|
|
1992
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1993
|
+
|
|
1994
|
+
sig do
|
|
1995
|
+
params(
|
|
1996
|
+
owner_id: T.nilable(String),
|
|
1997
|
+
owner_type_deprecated: T.nilable(String),
|
|
1998
|
+
owner_type: T.nilable(T.any(Symbol, String, Integer)),
|
|
1999
|
+
display_name: T.nilable(String),
|
|
2000
|
+
description: T.nilable(String),
|
|
2001
|
+
expiry_time: T.nilable(Google::Protobuf::Timestamp),
|
|
2002
|
+
disabled: T.nilable(T::Boolean)
|
|
2003
|
+
).void
|
|
2004
|
+
end
|
|
2005
|
+
def initialize(
|
|
2006
|
+
owner_id: "",
|
|
2007
|
+
owner_type_deprecated: "",
|
|
2008
|
+
owner_type: :OWNER_TYPE_UNSPECIFIED,
|
|
2009
|
+
display_name: "",
|
|
2010
|
+
description: "",
|
|
2011
|
+
expiry_time: nil,
|
|
2012
|
+
disabled: false
|
|
2013
|
+
)
|
|
2014
|
+
end
|
|
2015
|
+
|
|
2016
|
+
# The id of the owner to create the API key for.
|
|
2017
|
+
# The owner id is immutable. Once set during creation, it cannot be changed.
|
|
2018
|
+
# The owner id is the id of the user when the owner type is user.
|
|
2019
|
+
# The owner id is the id of the service account when the owner type is service account.
|
|
2020
|
+
sig { returns(String) }
|
|
2021
|
+
def owner_id
|
|
2022
|
+
end
|
|
2023
|
+
|
|
2024
|
+
# The id of the owner to create the API key for.
|
|
2025
|
+
# The owner id is immutable. Once set during creation, it cannot be changed.
|
|
2026
|
+
# The owner id is the id of the user when the owner type is user.
|
|
2027
|
+
# The owner id is the id of the service account when the owner type is service account.
|
|
2028
|
+
sig { params(value: String).void }
|
|
2029
|
+
def owner_id=(value)
|
|
2030
|
+
end
|
|
2031
|
+
|
|
2032
|
+
# The id of the owner to create the API key for.
|
|
2033
|
+
# The owner id is immutable. Once set during creation, it cannot be changed.
|
|
2034
|
+
# The owner id is the id of the user when the owner type is user.
|
|
2035
|
+
# The owner id is the id of the service account when the owner type is service account.
|
|
2036
|
+
sig { void }
|
|
2037
|
+
def clear_owner_id
|
|
2038
|
+
end
|
|
2039
|
+
|
|
2040
|
+
# The type of the owner to create the API key for.
|
|
2041
|
+
# The owner type is immutable. Once set during creation, it cannot be changed.
|
|
2042
|
+
# Possible values: user, service-account.
|
|
2043
|
+
# Deprecated: Not supported after v0.3.0 api version. Use owner_type instead.
|
|
2044
|
+
# temporal:versioning:max_version=v0.3.0
|
|
2045
|
+
sig { returns(String) }
|
|
2046
|
+
def owner_type_deprecated
|
|
2047
|
+
end
|
|
2048
|
+
|
|
2049
|
+
# The type of the owner to create the API key for.
|
|
2050
|
+
# The owner type is immutable. Once set during creation, it cannot be changed.
|
|
2051
|
+
# Possible values: user, service-account.
|
|
2052
|
+
# Deprecated: Not supported after v0.3.0 api version. Use owner_type instead.
|
|
2053
|
+
# temporal:versioning:max_version=v0.3.0
|
|
2054
|
+
sig { params(value: String).void }
|
|
2055
|
+
def owner_type_deprecated=(value)
|
|
2056
|
+
end
|
|
2057
|
+
|
|
2058
|
+
# The type of the owner to create the API key for.
|
|
2059
|
+
# The owner type is immutable. Once set during creation, it cannot be changed.
|
|
2060
|
+
# Possible values: user, service-account.
|
|
2061
|
+
# Deprecated: Not supported after v0.3.0 api version. Use owner_type instead.
|
|
2062
|
+
# temporal:versioning:max_version=v0.3.0
|
|
2063
|
+
sig { void }
|
|
2064
|
+
def clear_owner_type_deprecated
|
|
2065
|
+
end
|
|
2066
|
+
|
|
2067
|
+
# The type of the owner to create the API key for.
|
|
2068
|
+
# temporal:versioning:min_version=v0.3.0
|
|
2069
|
+
# temporal:enums:replaces=owner_type_deprecated
|
|
2070
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
2071
|
+
def owner_type
|
|
2072
|
+
end
|
|
2073
|
+
|
|
2074
|
+
# The type of the owner to create the API key for.
|
|
2075
|
+
# temporal:versioning:min_version=v0.3.0
|
|
2076
|
+
# temporal:enums:replaces=owner_type_deprecated
|
|
2077
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
2078
|
+
def owner_type=(value)
|
|
2079
|
+
end
|
|
2080
|
+
|
|
2081
|
+
# The type of the owner to create the API key for.
|
|
2082
|
+
# temporal:versioning:min_version=v0.3.0
|
|
2083
|
+
# temporal:enums:replaces=owner_type_deprecated
|
|
2084
|
+
sig { void }
|
|
2085
|
+
def clear_owner_type
|
|
2086
|
+
end
|
|
2087
|
+
|
|
2088
|
+
# The display name of the API key.
|
|
2089
|
+
sig { returns(String) }
|
|
2090
|
+
def display_name
|
|
2091
|
+
end
|
|
2092
|
+
|
|
2093
|
+
# The display name of the API key.
|
|
2094
|
+
sig { params(value: String).void }
|
|
2095
|
+
def display_name=(value)
|
|
2096
|
+
end
|
|
2097
|
+
|
|
2098
|
+
# The display name of the API key.
|
|
2099
|
+
sig { void }
|
|
2100
|
+
def clear_display_name
|
|
2101
|
+
end
|
|
2102
|
+
|
|
2103
|
+
# The description of the API key.
|
|
2104
|
+
sig { returns(String) }
|
|
2105
|
+
def description
|
|
2106
|
+
end
|
|
2107
|
+
|
|
2108
|
+
# The description of the API key.
|
|
2109
|
+
sig { params(value: String).void }
|
|
2110
|
+
def description=(value)
|
|
2111
|
+
end
|
|
2112
|
+
|
|
2113
|
+
# The description of the API key.
|
|
2114
|
+
sig { void }
|
|
2115
|
+
def clear_description
|
|
2116
|
+
end
|
|
2117
|
+
|
|
2118
|
+
# The expiry time of the API key.
|
|
2119
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
2120
|
+
def expiry_time
|
|
2121
|
+
end
|
|
2122
|
+
|
|
2123
|
+
# The expiry time of the API key.
|
|
2124
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
2125
|
+
def expiry_time=(value)
|
|
2126
|
+
end
|
|
2127
|
+
|
|
2128
|
+
# The expiry time of the API key.
|
|
2129
|
+
sig { void }
|
|
2130
|
+
def clear_expiry_time
|
|
2131
|
+
end
|
|
2132
|
+
|
|
2133
|
+
# True if the API key is disabled.
|
|
2134
|
+
sig { returns(T::Boolean) }
|
|
2135
|
+
def disabled
|
|
2136
|
+
end
|
|
2137
|
+
|
|
2138
|
+
# True if the API key is disabled.
|
|
2139
|
+
sig { params(value: T::Boolean).void }
|
|
2140
|
+
def disabled=(value)
|
|
2141
|
+
end
|
|
2142
|
+
|
|
2143
|
+
# True if the API key is disabled.
|
|
2144
|
+
sig { void }
|
|
2145
|
+
def clear_disabled
|
|
2146
|
+
end
|
|
2147
|
+
|
|
2148
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2149
|
+
def [](field)
|
|
2150
|
+
end
|
|
2151
|
+
|
|
2152
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2153
|
+
def []=(field, value)
|
|
2154
|
+
end
|
|
2155
|
+
|
|
2156
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2157
|
+
def to_h
|
|
2158
|
+
end
|
|
2159
|
+
|
|
2160
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::ApiKeySpec) }
|
|
2161
|
+
def self.decode(str)
|
|
2162
|
+
end
|
|
2163
|
+
|
|
2164
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::ApiKeySpec).returns(String) }
|
|
2165
|
+
def self.encode(msg)
|
|
2166
|
+
end
|
|
2167
|
+
|
|
2168
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::ApiKeySpec) }
|
|
2169
|
+
def self.decode_json(str, **kw)
|
|
2170
|
+
end
|
|
2171
|
+
|
|
2172
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::ApiKeySpec, kw: T.untyped).returns(String) }
|
|
2173
|
+
def self.encode_json(msg, **kw)
|
|
2174
|
+
end
|
|
2175
|
+
|
|
2176
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2177
|
+
def self.descriptor
|
|
2178
|
+
end
|
|
2179
|
+
end
|
|
2180
|
+
|
|
2181
|
+
class Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec
|
|
2182
|
+
include ::Google::Protobuf::MessageExts
|
|
2183
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2184
|
+
|
|
2185
|
+
sig do
|
|
2186
|
+
params(
|
|
2187
|
+
name: T.nilable(String),
|
|
2188
|
+
description: T.nilable(String),
|
|
2189
|
+
permissions: T.nilable(T::Array[T.nilable(Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Permission)])
|
|
2190
|
+
).void
|
|
2191
|
+
end
|
|
2192
|
+
def initialize(
|
|
2193
|
+
name: "",
|
|
2194
|
+
description: "",
|
|
2195
|
+
permissions: []
|
|
2196
|
+
)
|
|
2197
|
+
end
|
|
2198
|
+
|
|
2199
|
+
# The name of the custom role.
|
|
2200
|
+
sig { returns(String) }
|
|
2201
|
+
def name
|
|
2202
|
+
end
|
|
2203
|
+
|
|
2204
|
+
# The name of the custom role.
|
|
2205
|
+
sig { params(value: String).void }
|
|
2206
|
+
def name=(value)
|
|
2207
|
+
end
|
|
2208
|
+
|
|
2209
|
+
# The name of the custom role.
|
|
2210
|
+
sig { void }
|
|
2211
|
+
def clear_name
|
|
2212
|
+
end
|
|
2213
|
+
|
|
2214
|
+
# The description of the custom role.
|
|
2215
|
+
sig { returns(String) }
|
|
2216
|
+
def description
|
|
2217
|
+
end
|
|
2218
|
+
|
|
2219
|
+
# The description of the custom role.
|
|
2220
|
+
sig { params(value: String).void }
|
|
2221
|
+
def description=(value)
|
|
2222
|
+
end
|
|
2223
|
+
|
|
2224
|
+
# The description of the custom role.
|
|
2225
|
+
sig { void }
|
|
2226
|
+
def clear_description
|
|
2227
|
+
end
|
|
2228
|
+
|
|
2229
|
+
# The permissions assigned to the custom role.
|
|
2230
|
+
sig { returns(T::Array[T.nilable(Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Permission)]) }
|
|
2231
|
+
def permissions
|
|
2232
|
+
end
|
|
2233
|
+
|
|
2234
|
+
# The permissions assigned to the custom role.
|
|
2235
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
|
2236
|
+
def permissions=(value)
|
|
2237
|
+
end
|
|
2238
|
+
|
|
2239
|
+
# The permissions assigned to the custom role.
|
|
2240
|
+
sig { void }
|
|
2241
|
+
def clear_permissions
|
|
2242
|
+
end
|
|
2243
|
+
|
|
2244
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2245
|
+
def [](field)
|
|
2246
|
+
end
|
|
2247
|
+
|
|
2248
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2249
|
+
def []=(field, value)
|
|
2250
|
+
end
|
|
2251
|
+
|
|
2252
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2253
|
+
def to_h
|
|
2254
|
+
end
|
|
2255
|
+
|
|
2256
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec) }
|
|
2257
|
+
def self.decode(str)
|
|
2258
|
+
end
|
|
2259
|
+
|
|
2260
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec).returns(String) }
|
|
2261
|
+
def self.encode(msg)
|
|
2262
|
+
end
|
|
2263
|
+
|
|
2264
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec) }
|
|
2265
|
+
def self.decode_json(str, **kw)
|
|
2266
|
+
end
|
|
2267
|
+
|
|
2268
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec, kw: T.untyped).returns(String) }
|
|
2269
|
+
def self.encode_json(msg, **kw)
|
|
2270
|
+
end
|
|
2271
|
+
|
|
2272
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2273
|
+
def self.descriptor
|
|
2274
|
+
end
|
|
2275
|
+
end
|
|
2276
|
+
|
|
2277
|
+
class Temporalio::Api::Cloud::Identity::V1::CustomRole
|
|
2278
|
+
include ::Google::Protobuf::MessageExts
|
|
2279
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2280
|
+
|
|
2281
|
+
sig do
|
|
2282
|
+
params(
|
|
2283
|
+
id: T.nilable(String),
|
|
2284
|
+
resource_version: T.nilable(String),
|
|
2285
|
+
spec: T.nilable(Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec),
|
|
2286
|
+
state: T.nilable(T.any(Symbol, String, Integer)),
|
|
2287
|
+
async_operation_id: T.nilable(String),
|
|
2288
|
+
created_time: T.nilable(Google::Protobuf::Timestamp),
|
|
2289
|
+
last_modified_time: T.nilable(Google::Protobuf::Timestamp)
|
|
2290
|
+
).void
|
|
2291
|
+
end
|
|
2292
|
+
def initialize(
|
|
2293
|
+
id: "",
|
|
2294
|
+
resource_version: "",
|
|
2295
|
+
spec: nil,
|
|
2296
|
+
state: :RESOURCE_STATE_UNSPECIFIED,
|
|
2297
|
+
async_operation_id: "",
|
|
2298
|
+
created_time: nil,
|
|
2299
|
+
last_modified_time: nil
|
|
2300
|
+
)
|
|
2301
|
+
end
|
|
2302
|
+
|
|
2303
|
+
# The id of the custom role.
|
|
2304
|
+
sig { returns(String) }
|
|
2305
|
+
def id
|
|
2306
|
+
end
|
|
2307
|
+
|
|
2308
|
+
# The id of the custom role.
|
|
2309
|
+
sig { params(value: String).void }
|
|
2310
|
+
def id=(value)
|
|
2311
|
+
end
|
|
2312
|
+
|
|
2313
|
+
# The id of the custom role.
|
|
2314
|
+
sig { void }
|
|
2315
|
+
def clear_id
|
|
2316
|
+
end
|
|
2317
|
+
|
|
2318
|
+
# The current version of the custom role specification.
|
|
2319
|
+
# The next update operation will have to include this version.
|
|
2320
|
+
sig { returns(String) }
|
|
2321
|
+
def resource_version
|
|
2322
|
+
end
|
|
2323
|
+
|
|
2324
|
+
# The current version of the custom role specification.
|
|
2325
|
+
# The next update operation will have to include this version.
|
|
2326
|
+
sig { params(value: String).void }
|
|
2327
|
+
def resource_version=(value)
|
|
2328
|
+
end
|
|
2329
|
+
|
|
2330
|
+
# The current version of the custom role specification.
|
|
2331
|
+
# The next update operation will have to include this version.
|
|
2332
|
+
sig { void }
|
|
2333
|
+
def clear_resource_version
|
|
2334
|
+
end
|
|
2335
|
+
|
|
2336
|
+
# The custom role specification.
|
|
2337
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec)) }
|
|
2338
|
+
def spec
|
|
2339
|
+
end
|
|
2340
|
+
|
|
2341
|
+
# The custom role specification.
|
|
2342
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec)).void }
|
|
2343
|
+
def spec=(value)
|
|
2344
|
+
end
|
|
2345
|
+
|
|
2346
|
+
# The custom role specification.
|
|
2347
|
+
sig { void }
|
|
2348
|
+
def clear_spec
|
|
2349
|
+
end
|
|
2350
|
+
|
|
2351
|
+
# The current state of the custom role.
|
|
2352
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
2353
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
2354
|
+
def state
|
|
2355
|
+
end
|
|
2356
|
+
|
|
2357
|
+
# The current state of the custom role.
|
|
2358
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
2359
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
2360
|
+
def state=(value)
|
|
2361
|
+
end
|
|
2362
|
+
|
|
2363
|
+
# The current state of the custom role.
|
|
2364
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
2365
|
+
sig { void }
|
|
2366
|
+
def clear_state
|
|
2367
|
+
end
|
|
2368
|
+
|
|
2369
|
+
# The id of the async operation that is creating/updating/deleting the custom role, if any.
|
|
2370
|
+
sig { returns(String) }
|
|
2371
|
+
def async_operation_id
|
|
2372
|
+
end
|
|
2373
|
+
|
|
2374
|
+
# The id of the async operation that is creating/updating/deleting the custom role, if any.
|
|
2375
|
+
sig { params(value: String).void }
|
|
2376
|
+
def async_operation_id=(value)
|
|
2377
|
+
end
|
|
2378
|
+
|
|
2379
|
+
# The id of the async operation that is creating/updating/deleting the custom role, if any.
|
|
2380
|
+
sig { void }
|
|
2381
|
+
def clear_async_operation_id
|
|
2382
|
+
end
|
|
2383
|
+
|
|
2384
|
+
# The date and time when the custom role was created.
|
|
2385
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
2386
|
+
def created_time
|
|
2387
|
+
end
|
|
2388
|
+
|
|
2389
|
+
# The date and time when the custom role was created.
|
|
2390
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
2391
|
+
def created_time=(value)
|
|
2392
|
+
end
|
|
2393
|
+
|
|
2394
|
+
# The date and time when the custom role was created.
|
|
2395
|
+
sig { void }
|
|
2396
|
+
def clear_created_time
|
|
2397
|
+
end
|
|
2398
|
+
|
|
2399
|
+
# The date and time when the custom role was last modified.
|
|
2400
|
+
# Will not be set if the custom role has never been modified.
|
|
2401
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
2402
|
+
def last_modified_time
|
|
2403
|
+
end
|
|
2404
|
+
|
|
2405
|
+
# The date and time when the custom role was last modified.
|
|
2406
|
+
# Will not be set if the custom role has never been modified.
|
|
2407
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
2408
|
+
def last_modified_time=(value)
|
|
2409
|
+
end
|
|
2410
|
+
|
|
2411
|
+
# The date and time when the custom role was last modified.
|
|
2412
|
+
# Will not be set if the custom role has never been modified.
|
|
2413
|
+
sig { void }
|
|
2414
|
+
def clear_last_modified_time
|
|
2415
|
+
end
|
|
2416
|
+
|
|
2417
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2418
|
+
def [](field)
|
|
2419
|
+
end
|
|
2420
|
+
|
|
2421
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2422
|
+
def []=(field, value)
|
|
2423
|
+
end
|
|
2424
|
+
|
|
2425
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2426
|
+
def to_h
|
|
2427
|
+
end
|
|
2428
|
+
|
|
2429
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::CustomRole) }
|
|
2430
|
+
def self.decode(str)
|
|
2431
|
+
end
|
|
2432
|
+
|
|
2433
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::CustomRole).returns(String) }
|
|
2434
|
+
def self.encode(msg)
|
|
2435
|
+
end
|
|
2436
|
+
|
|
2437
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::CustomRole) }
|
|
2438
|
+
def self.decode_json(str, **kw)
|
|
2439
|
+
end
|
|
2440
|
+
|
|
2441
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::CustomRole, kw: T.untyped).returns(String) }
|
|
2442
|
+
def self.encode_json(msg, **kw)
|
|
2443
|
+
end
|
|
2444
|
+
|
|
2445
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2446
|
+
def self.descriptor
|
|
2447
|
+
end
|
|
2448
|
+
end
|
|
2449
|
+
|
|
2450
|
+
class Temporalio::Api::Cloud::Identity::V1::UserNamespaceAssignment
|
|
2451
|
+
include ::Google::Protobuf::MessageExts
|
|
2452
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2453
|
+
|
|
2454
|
+
sig do
|
|
2455
|
+
params(
|
|
2456
|
+
id: T.nilable(String),
|
|
2457
|
+
email: T.nilable(String),
|
|
2458
|
+
namespace_access: T.nilable(Temporalio::Api::Cloud::Identity::V1::NamespaceAccess),
|
|
2459
|
+
inherited_access: T.nilable(T::Boolean),
|
|
2460
|
+
resource_version: T.nilable(String)
|
|
2461
|
+
).void
|
|
2462
|
+
end
|
|
2463
|
+
def initialize(
|
|
2464
|
+
id: "",
|
|
2465
|
+
email: "",
|
|
2466
|
+
namespace_access: nil,
|
|
2467
|
+
inherited_access: false,
|
|
2468
|
+
resource_version: ""
|
|
2469
|
+
)
|
|
2470
|
+
end
|
|
2471
|
+
|
|
2472
|
+
# The ID of the user.
|
|
2473
|
+
sig { returns(String) }
|
|
2474
|
+
def id
|
|
2475
|
+
end
|
|
2476
|
+
|
|
2477
|
+
# The ID of the user.
|
|
2478
|
+
sig { params(value: String).void }
|
|
2479
|
+
def id=(value)
|
|
2480
|
+
end
|
|
2481
|
+
|
|
2482
|
+
# The ID of the user.
|
|
2483
|
+
sig { void }
|
|
2484
|
+
def clear_id
|
|
2485
|
+
end
|
|
2486
|
+
|
|
2487
|
+
# The email of the user.
|
|
2488
|
+
sig { returns(String) }
|
|
2489
|
+
def email
|
|
2490
|
+
end
|
|
2491
|
+
|
|
2492
|
+
# The email of the user.
|
|
2493
|
+
sig { params(value: String).void }
|
|
2494
|
+
def email=(value)
|
|
2495
|
+
end
|
|
2496
|
+
|
|
2497
|
+
# The email of the user.
|
|
2498
|
+
sig { void }
|
|
2499
|
+
def clear_email
|
|
2500
|
+
end
|
|
2501
|
+
|
|
2502
|
+
# The access assigned to the user at the namespace level.
|
|
2503
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::NamespaceAccess)) }
|
|
2504
|
+
def namespace_access
|
|
2505
|
+
end
|
|
2506
|
+
|
|
2507
|
+
# The access assigned to the user at the namespace level.
|
|
2508
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::NamespaceAccess)).void }
|
|
2509
|
+
def namespace_access=(value)
|
|
2510
|
+
end
|
|
2511
|
+
|
|
2512
|
+
# The access assigned to the user at the namespace level.
|
|
2513
|
+
sig { void }
|
|
2514
|
+
def clear_namespace_access
|
|
2515
|
+
end
|
|
2516
|
+
|
|
2517
|
+
# True if the user has inherited access to the namespace through an account or project role.
|
|
2518
|
+
sig { returns(T::Boolean) }
|
|
2519
|
+
def inherited_access
|
|
2520
|
+
end
|
|
2521
|
+
|
|
2522
|
+
# True if the user has inherited access to the namespace through an account or project role.
|
|
2523
|
+
sig { params(value: T::Boolean).void }
|
|
2524
|
+
def inherited_access=(value)
|
|
2525
|
+
end
|
|
2526
|
+
|
|
2527
|
+
# True if the user has inherited access to the namespace through an account or project role.
|
|
2528
|
+
sig { void }
|
|
2529
|
+
def clear_inherited_access
|
|
2530
|
+
end
|
|
2531
|
+
|
|
2532
|
+
# The current resource version of the user.
|
|
2533
|
+
sig { returns(String) }
|
|
2534
|
+
def resource_version
|
|
2535
|
+
end
|
|
2536
|
+
|
|
2537
|
+
# The current resource version of the user.
|
|
2538
|
+
sig { params(value: String).void }
|
|
2539
|
+
def resource_version=(value)
|
|
2540
|
+
end
|
|
2541
|
+
|
|
2542
|
+
# The current resource version of the user.
|
|
2543
|
+
sig { void }
|
|
2544
|
+
def clear_resource_version
|
|
2545
|
+
end
|
|
2546
|
+
|
|
2547
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2548
|
+
def [](field)
|
|
2549
|
+
end
|
|
2550
|
+
|
|
2551
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2552
|
+
def []=(field, value)
|
|
2553
|
+
end
|
|
2554
|
+
|
|
2555
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2556
|
+
def to_h
|
|
2557
|
+
end
|
|
2558
|
+
|
|
2559
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::UserNamespaceAssignment) }
|
|
2560
|
+
def self.decode(str)
|
|
2561
|
+
end
|
|
2562
|
+
|
|
2563
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::UserNamespaceAssignment).returns(String) }
|
|
2564
|
+
def self.encode(msg)
|
|
2565
|
+
end
|
|
2566
|
+
|
|
2567
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::UserNamespaceAssignment) }
|
|
2568
|
+
def self.decode_json(str, **kw)
|
|
2569
|
+
end
|
|
2570
|
+
|
|
2571
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::UserNamespaceAssignment, kw: T.untyped).returns(String) }
|
|
2572
|
+
def self.encode_json(msg, **kw)
|
|
2573
|
+
end
|
|
2574
|
+
|
|
2575
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2576
|
+
def self.descriptor
|
|
2577
|
+
end
|
|
2578
|
+
end
|
|
2579
|
+
|
|
2580
|
+
class Temporalio::Api::Cloud::Identity::V1::ServiceAccountNamespaceAssignment
|
|
2581
|
+
include ::Google::Protobuf::MessageExts
|
|
2582
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2583
|
+
|
|
2584
|
+
sig do
|
|
2585
|
+
params(
|
|
2586
|
+
id: T.nilable(String),
|
|
2587
|
+
name: T.nilable(String),
|
|
2588
|
+
namespace_access: T.nilable(Temporalio::Api::Cloud::Identity::V1::NamespaceAccess),
|
|
2589
|
+
inherited_access: T.nilable(T::Boolean),
|
|
2590
|
+
resource_version: T.nilable(String)
|
|
2591
|
+
).void
|
|
2592
|
+
end
|
|
2593
|
+
def initialize(
|
|
2594
|
+
id: "",
|
|
2595
|
+
name: "",
|
|
2596
|
+
namespace_access: nil,
|
|
2597
|
+
inherited_access: false,
|
|
2598
|
+
resource_version: ""
|
|
2599
|
+
)
|
|
2600
|
+
end
|
|
2601
|
+
|
|
2602
|
+
# The ID of the service account.
|
|
2603
|
+
sig { returns(String) }
|
|
2604
|
+
def id
|
|
2605
|
+
end
|
|
2606
|
+
|
|
2607
|
+
# The ID of the service account.
|
|
2608
|
+
sig { params(value: String).void }
|
|
2609
|
+
def id=(value)
|
|
2610
|
+
end
|
|
2611
|
+
|
|
2612
|
+
# The ID of the service account.
|
|
2613
|
+
sig { void }
|
|
2614
|
+
def clear_id
|
|
2615
|
+
end
|
|
2616
|
+
|
|
2617
|
+
# The name of the service account.
|
|
2618
|
+
sig { returns(String) }
|
|
2619
|
+
def name
|
|
2620
|
+
end
|
|
2621
|
+
|
|
2622
|
+
# The name of the service account.
|
|
2623
|
+
sig { params(value: String).void }
|
|
2624
|
+
def name=(value)
|
|
2625
|
+
end
|
|
2626
|
+
|
|
2627
|
+
# The name of the service account.
|
|
2628
|
+
sig { void }
|
|
2629
|
+
def clear_name
|
|
2630
|
+
end
|
|
2631
|
+
|
|
2632
|
+
# The access assigned to the service account at the namespace level.
|
|
2633
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::NamespaceAccess)) }
|
|
2634
|
+
def namespace_access
|
|
2635
|
+
end
|
|
2636
|
+
|
|
2637
|
+
# The access assigned to the service account at the namespace level.
|
|
2638
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::NamespaceAccess)).void }
|
|
2639
|
+
def namespace_access=(value)
|
|
2640
|
+
end
|
|
2641
|
+
|
|
2642
|
+
# The access assigned to the service account at the namespace level.
|
|
2643
|
+
sig { void }
|
|
2644
|
+
def clear_namespace_access
|
|
2645
|
+
end
|
|
2646
|
+
|
|
2647
|
+
# True if the service account has inherited access to the namespace through an account or project role.
|
|
2648
|
+
sig { returns(T::Boolean) }
|
|
2649
|
+
def inherited_access
|
|
2650
|
+
end
|
|
2651
|
+
|
|
2652
|
+
# True if the service account has inherited access to the namespace through an account or project role.
|
|
2653
|
+
sig { params(value: T::Boolean).void }
|
|
2654
|
+
def inherited_access=(value)
|
|
2655
|
+
end
|
|
2656
|
+
|
|
2657
|
+
# True if the service account has inherited access to the namespace through an account or project role.
|
|
2658
|
+
sig { void }
|
|
2659
|
+
def clear_inherited_access
|
|
2660
|
+
end
|
|
2661
|
+
|
|
2662
|
+
# The current resource version of the service account.
|
|
2663
|
+
sig { returns(String) }
|
|
2664
|
+
def resource_version
|
|
2665
|
+
end
|
|
2666
|
+
|
|
2667
|
+
# The current resource version of the service account.
|
|
2668
|
+
sig { params(value: String).void }
|
|
2669
|
+
def resource_version=(value)
|
|
2670
|
+
end
|
|
2671
|
+
|
|
2672
|
+
# The current resource version of the service account.
|
|
2673
|
+
sig { void }
|
|
2674
|
+
def clear_resource_version
|
|
2675
|
+
end
|
|
2676
|
+
|
|
2677
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2678
|
+
def [](field)
|
|
2679
|
+
end
|
|
2680
|
+
|
|
2681
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2682
|
+
def []=(field, value)
|
|
2683
|
+
end
|
|
2684
|
+
|
|
2685
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2686
|
+
def to_h
|
|
2687
|
+
end
|
|
2688
|
+
|
|
2689
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::ServiceAccountNamespaceAssignment) }
|
|
2690
|
+
def self.decode(str)
|
|
2691
|
+
end
|
|
2692
|
+
|
|
2693
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::ServiceAccountNamespaceAssignment).returns(String) }
|
|
2694
|
+
def self.encode(msg)
|
|
2695
|
+
end
|
|
2696
|
+
|
|
2697
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::ServiceAccountNamespaceAssignment) }
|
|
2698
|
+
def self.decode_json(str, **kw)
|
|
2699
|
+
end
|
|
2700
|
+
|
|
2701
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::ServiceAccountNamespaceAssignment, kw: T.untyped).returns(String) }
|
|
2702
|
+
def self.encode_json(msg, **kw)
|
|
2703
|
+
end
|
|
2704
|
+
|
|
2705
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2706
|
+
def self.descriptor
|
|
2707
|
+
end
|
|
2708
|
+
end
|
|
2709
|
+
|
|
2710
|
+
class Temporalio::Api::Cloud::Identity::V1::UserGroupNamespaceAssignment
|
|
2711
|
+
include ::Google::Protobuf::MessageExts
|
|
2712
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2713
|
+
|
|
2714
|
+
sig do
|
|
2715
|
+
params(
|
|
2716
|
+
id: T.nilable(String),
|
|
2717
|
+
display_name: T.nilable(String),
|
|
2718
|
+
namespace_access: T.nilable(Temporalio::Api::Cloud::Identity::V1::NamespaceAccess),
|
|
2719
|
+
inherited_access: T.nilable(T::Boolean),
|
|
2720
|
+
resource_version: T.nilable(String)
|
|
2721
|
+
).void
|
|
2722
|
+
end
|
|
2723
|
+
def initialize(
|
|
2724
|
+
id: "",
|
|
2725
|
+
display_name: "",
|
|
2726
|
+
namespace_access: nil,
|
|
2727
|
+
inherited_access: false,
|
|
2728
|
+
resource_version: ""
|
|
2729
|
+
)
|
|
2730
|
+
end
|
|
2731
|
+
|
|
2732
|
+
# The ID of the group.
|
|
2733
|
+
sig { returns(String) }
|
|
2734
|
+
def id
|
|
2735
|
+
end
|
|
2736
|
+
|
|
2737
|
+
# The ID of the group.
|
|
2738
|
+
sig { params(value: String).void }
|
|
2739
|
+
def id=(value)
|
|
2740
|
+
end
|
|
2741
|
+
|
|
2742
|
+
# The ID of the group.
|
|
2743
|
+
sig { void }
|
|
2744
|
+
def clear_id
|
|
2745
|
+
end
|
|
2746
|
+
|
|
2747
|
+
# The display name of the group.
|
|
2748
|
+
sig { returns(String) }
|
|
2749
|
+
def display_name
|
|
2750
|
+
end
|
|
2751
|
+
|
|
2752
|
+
# The display name of the group.
|
|
2753
|
+
sig { params(value: String).void }
|
|
2754
|
+
def display_name=(value)
|
|
2755
|
+
end
|
|
2756
|
+
|
|
2757
|
+
# The display name of the group.
|
|
2758
|
+
sig { void }
|
|
2759
|
+
def clear_display_name
|
|
2760
|
+
end
|
|
2761
|
+
|
|
2762
|
+
# The access assigned to the group at the namespace level.
|
|
2763
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::NamespaceAccess)) }
|
|
2764
|
+
def namespace_access
|
|
2765
|
+
end
|
|
2766
|
+
|
|
2767
|
+
# The access assigned to the group at the namespace level.
|
|
2768
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::NamespaceAccess)).void }
|
|
2769
|
+
def namespace_access=(value)
|
|
2770
|
+
end
|
|
2771
|
+
|
|
2772
|
+
# The access assigned to the group at the namespace level.
|
|
2773
|
+
sig { void }
|
|
2774
|
+
def clear_namespace_access
|
|
2775
|
+
end
|
|
2776
|
+
|
|
2777
|
+
# True if the group has inherited access to the namespace through an account or project role.
|
|
2778
|
+
sig { returns(T::Boolean) }
|
|
2779
|
+
def inherited_access
|
|
2780
|
+
end
|
|
2781
|
+
|
|
2782
|
+
# True if the group has inherited access to the namespace through an account or project role.
|
|
2783
|
+
sig { params(value: T::Boolean).void }
|
|
2784
|
+
def inherited_access=(value)
|
|
2785
|
+
end
|
|
2786
|
+
|
|
2787
|
+
# True if the group has inherited access to the namespace through an account or project role.
|
|
2788
|
+
sig { void }
|
|
2789
|
+
def clear_inherited_access
|
|
2790
|
+
end
|
|
2791
|
+
|
|
2792
|
+
# The current resource version of the group.
|
|
2793
|
+
sig { returns(String) }
|
|
2794
|
+
def resource_version
|
|
2795
|
+
end
|
|
2796
|
+
|
|
2797
|
+
# The current resource version of the group.
|
|
2798
|
+
sig { params(value: String).void }
|
|
2799
|
+
def resource_version=(value)
|
|
2800
|
+
end
|
|
2801
|
+
|
|
2802
|
+
# The current resource version of the group.
|
|
2803
|
+
sig { void }
|
|
2804
|
+
def clear_resource_version
|
|
2805
|
+
end
|
|
2806
|
+
|
|
2807
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2808
|
+
def [](field)
|
|
2809
|
+
end
|
|
2810
|
+
|
|
2811
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2812
|
+
def []=(field, value)
|
|
2813
|
+
end
|
|
2814
|
+
|
|
2815
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2816
|
+
def to_h
|
|
2817
|
+
end
|
|
2818
|
+
|
|
2819
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::UserGroupNamespaceAssignment) }
|
|
2820
|
+
def self.decode(str)
|
|
2821
|
+
end
|
|
2822
|
+
|
|
2823
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::UserGroupNamespaceAssignment).returns(String) }
|
|
2824
|
+
def self.encode(msg)
|
|
2825
|
+
end
|
|
2826
|
+
|
|
2827
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::UserGroupNamespaceAssignment) }
|
|
2828
|
+
def self.decode_json(str, **kw)
|
|
2829
|
+
end
|
|
2830
|
+
|
|
2831
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::UserGroupNamespaceAssignment, kw: T.untyped).returns(String) }
|
|
2832
|
+
def self.encode_json(msg, **kw)
|
|
2833
|
+
end
|
|
2834
|
+
|
|
2835
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2836
|
+
def self.descriptor
|
|
2837
|
+
end
|
|
2838
|
+
end
|
|
2839
|
+
|
|
2840
|
+
class Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Resources
|
|
2841
|
+
include ::Google::Protobuf::MessageExts
|
|
2842
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2843
|
+
|
|
2844
|
+
sig do
|
|
2845
|
+
params(
|
|
2846
|
+
resource_type: T.nilable(String),
|
|
2847
|
+
resource_ids: T.nilable(T::Array[String]),
|
|
2848
|
+
allow_all: T.nilable(T::Boolean)
|
|
2849
|
+
).void
|
|
2850
|
+
end
|
|
2851
|
+
def initialize(
|
|
2852
|
+
resource_type: "",
|
|
2853
|
+
resource_ids: [],
|
|
2854
|
+
allow_all: false
|
|
2855
|
+
)
|
|
2856
|
+
end
|
|
2857
|
+
|
|
2858
|
+
# The resource type the permission applies to.
|
|
2859
|
+
sig { returns(String) }
|
|
2860
|
+
def resource_type
|
|
2861
|
+
end
|
|
2862
|
+
|
|
2863
|
+
# The resource type the permission applies to.
|
|
2864
|
+
sig { params(value: String).void }
|
|
2865
|
+
def resource_type=(value)
|
|
2866
|
+
end
|
|
2867
|
+
|
|
2868
|
+
# The resource type the permission applies to.
|
|
2869
|
+
sig { void }
|
|
2870
|
+
def clear_resource_type
|
|
2871
|
+
end
|
|
2872
|
+
|
|
2873
|
+
# The resource IDs the permission applies to. Can be empty if allow_all is true.
|
|
2874
|
+
sig { returns(T::Array[String]) }
|
|
2875
|
+
def resource_ids
|
|
2876
|
+
end
|
|
2877
|
+
|
|
2878
|
+
# The resource IDs the permission applies to. Can be empty if allow_all is true.
|
|
2879
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
|
2880
|
+
def resource_ids=(value)
|
|
2881
|
+
end
|
|
2882
|
+
|
|
2883
|
+
# The resource IDs the permission applies to. Can be empty if allow_all is true.
|
|
2884
|
+
sig { void }
|
|
2885
|
+
def clear_resource_ids
|
|
2886
|
+
end
|
|
2887
|
+
|
|
2888
|
+
# Whether the permission applies to all resources of the given type.
|
|
2889
|
+
sig { returns(T::Boolean) }
|
|
2890
|
+
def allow_all
|
|
2891
|
+
end
|
|
2892
|
+
|
|
2893
|
+
# Whether the permission applies to all resources of the given type.
|
|
2894
|
+
sig { params(value: T::Boolean).void }
|
|
2895
|
+
def allow_all=(value)
|
|
2896
|
+
end
|
|
2897
|
+
|
|
2898
|
+
# Whether the permission applies to all resources of the given type.
|
|
2899
|
+
sig { void }
|
|
2900
|
+
def clear_allow_all
|
|
2901
|
+
end
|
|
2902
|
+
|
|
2903
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2904
|
+
def [](field)
|
|
2905
|
+
end
|
|
2906
|
+
|
|
2907
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2908
|
+
def []=(field, value)
|
|
2909
|
+
end
|
|
2910
|
+
|
|
2911
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2912
|
+
def to_h
|
|
2913
|
+
end
|
|
2914
|
+
|
|
2915
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Resources) }
|
|
2916
|
+
def self.decode(str)
|
|
2917
|
+
end
|
|
2918
|
+
|
|
2919
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Resources).returns(String) }
|
|
2920
|
+
def self.encode(msg)
|
|
2921
|
+
end
|
|
2922
|
+
|
|
2923
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Resources) }
|
|
2924
|
+
def self.decode_json(str, **kw)
|
|
2925
|
+
end
|
|
2926
|
+
|
|
2927
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Resources, kw: T.untyped).returns(String) }
|
|
2928
|
+
def self.encode_json(msg, **kw)
|
|
2929
|
+
end
|
|
2930
|
+
|
|
2931
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2932
|
+
def self.descriptor
|
|
2933
|
+
end
|
|
2934
|
+
end
|
|
2935
|
+
|
|
2936
|
+
class Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Permission
|
|
2937
|
+
include ::Google::Protobuf::MessageExts
|
|
2938
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2939
|
+
|
|
2940
|
+
sig do
|
|
2941
|
+
params(
|
|
2942
|
+
resources: T.nilable(Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Resources),
|
|
2943
|
+
actions: T.nilable(T::Array[String])
|
|
2944
|
+
).void
|
|
2945
|
+
end
|
|
2946
|
+
def initialize(
|
|
2947
|
+
resources: nil,
|
|
2948
|
+
actions: []
|
|
2949
|
+
)
|
|
2950
|
+
end
|
|
2951
|
+
|
|
2952
|
+
# The resources the permission applies to.
|
|
2953
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Resources)) }
|
|
2954
|
+
def resources
|
|
2955
|
+
end
|
|
2956
|
+
|
|
2957
|
+
# The resources the permission applies to.
|
|
2958
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Resources)).void }
|
|
2959
|
+
def resources=(value)
|
|
2960
|
+
end
|
|
2961
|
+
|
|
2962
|
+
# The resources the permission applies to.
|
|
2963
|
+
sig { void }
|
|
2964
|
+
def clear_resources
|
|
2965
|
+
end
|
|
2966
|
+
|
|
2967
|
+
# The actions allowed by the permission.
|
|
2968
|
+
sig { returns(T::Array[String]) }
|
|
2969
|
+
def actions
|
|
2970
|
+
end
|
|
2971
|
+
|
|
2972
|
+
# The actions allowed by the permission.
|
|
2973
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
|
2974
|
+
def actions=(value)
|
|
2975
|
+
end
|
|
2976
|
+
|
|
2977
|
+
# The actions allowed by the permission.
|
|
2978
|
+
sig { void }
|
|
2979
|
+
def clear_actions
|
|
2980
|
+
end
|
|
2981
|
+
|
|
2982
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2983
|
+
def [](field)
|
|
2984
|
+
end
|
|
2985
|
+
|
|
2986
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2987
|
+
def []=(field, value)
|
|
2988
|
+
end
|
|
2989
|
+
|
|
2990
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2991
|
+
def to_h
|
|
2992
|
+
end
|
|
2993
|
+
|
|
2994
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Permission) }
|
|
2995
|
+
def self.decode(str)
|
|
2996
|
+
end
|
|
2997
|
+
|
|
2998
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Permission).returns(String) }
|
|
2999
|
+
def self.encode(msg)
|
|
3000
|
+
end
|
|
3001
|
+
|
|
3002
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Permission) }
|
|
3003
|
+
def self.decode_json(str, **kw)
|
|
3004
|
+
end
|
|
3005
|
+
|
|
3006
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Permission, kw: T.untyped).returns(String) }
|
|
3007
|
+
def self.encode_json(msg, **kw)
|
|
3008
|
+
end
|
|
3009
|
+
|
|
3010
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
3011
|
+
def self.descriptor
|
|
3012
|
+
end
|
|
3013
|
+
end
|
|
3014
|
+
|
|
3015
|
+
module Temporalio::Api::Cloud::Identity::V1::OwnerType
|
|
3016
|
+
self::OWNER_TYPE_UNSPECIFIED = T.let(0, Integer)
|
|
3017
|
+
self::OWNER_TYPE_USER = T.let(1, Integer)
|
|
3018
|
+
self::OWNER_TYPE_SERVICE_ACCOUNT = T.let(2, Integer)
|
|
3019
|
+
|
|
3020
|
+
sig { params(value: Integer).returns(T.nilable(Symbol)) }
|
|
3021
|
+
def self.lookup(value)
|
|
3022
|
+
end
|
|
3023
|
+
|
|
3024
|
+
sig { params(value: Symbol).returns(T.nilable(Integer)) }
|
|
3025
|
+
def self.resolve(value)
|
|
3026
|
+
end
|
|
3027
|
+
|
|
3028
|
+
sig { returns(::Google::Protobuf::EnumDescriptor) }
|
|
3029
|
+
def self.descriptor
|
|
3030
|
+
end
|
|
3031
|
+
end
|
|
3032
|
+
|
|
3033
|
+
module Temporalio::Api::Cloud::Identity::V1::AccountAccess::Role
|
|
3034
|
+
self::ROLE_UNSPECIFIED = T.let(0, Integer)
|
|
3035
|
+
self::ROLE_OWNER = T.let(1, Integer)
|
|
3036
|
+
self::ROLE_ADMIN = T.let(2, Integer)
|
|
3037
|
+
self::ROLE_DEVELOPER = T.let(3, Integer)
|
|
3038
|
+
self::ROLE_FINANCE_ADMIN = T.let(4, Integer)
|
|
3039
|
+
self::ROLE_READ = T.let(5, Integer)
|
|
3040
|
+
self::ROLE_METRICS_READ = T.let(6, Integer)
|
|
3041
|
+
|
|
3042
|
+
sig { params(value: Integer).returns(T.nilable(Symbol)) }
|
|
3043
|
+
def self.lookup(value)
|
|
3044
|
+
end
|
|
3045
|
+
|
|
3046
|
+
sig { params(value: Symbol).returns(T.nilable(Integer)) }
|
|
3047
|
+
def self.resolve(value)
|
|
3048
|
+
end
|
|
3049
|
+
|
|
3050
|
+
sig { returns(::Google::Protobuf::EnumDescriptor) }
|
|
3051
|
+
def self.descriptor
|
|
3052
|
+
end
|
|
3053
|
+
end
|
|
3054
|
+
|
|
3055
|
+
module Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::Permission
|
|
3056
|
+
self::PERMISSION_UNSPECIFIED = T.let(0, Integer)
|
|
3057
|
+
self::PERMISSION_ADMIN = T.let(1, Integer)
|
|
3058
|
+
self::PERMISSION_WRITE = T.let(2, Integer)
|
|
3059
|
+
self::PERMISSION_READ = T.let(3, Integer)
|
|
3060
|
+
|
|
3061
|
+
sig { params(value: Integer).returns(T.nilable(Symbol)) }
|
|
3062
|
+
def self.lookup(value)
|
|
3063
|
+
end
|
|
3064
|
+
|
|
3065
|
+
sig { params(value: Symbol).returns(T.nilable(Integer)) }
|
|
3066
|
+
def self.resolve(value)
|
|
3067
|
+
end
|
|
3068
|
+
|
|
3069
|
+
sig { returns(::Google::Protobuf::EnumDescriptor) }
|
|
3070
|
+
def self.descriptor
|
|
3071
|
+
end
|
|
3072
|
+
end
|