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.
Files changed (492) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +1461 -621
  3. data/Cargo.toml +1 -1
  4. data/Gemfile +6 -5
  5. data/README.md +42 -1
  6. data/ext/Cargo.toml +9 -3
  7. data/lib/temporalio/api/activity/v1/message.rb +1 -1
  8. data/lib/temporalio/api/cloud/billing/v1/message.rb +2 -1
  9. data/lib/temporalio/api/cloud/cloudservice/v1/request_response.rb +17 -1
  10. data/lib/temporalio/api/cloud/cloudservice/v1/service.rb +1 -1
  11. data/lib/temporalio/api/cloud/connectivityrule/v1/message.rb +1 -1
  12. data/lib/temporalio/api/cloud/identity/v1/message.rb +8 -1
  13. data/lib/temporalio/api/cloud/namespace/v1/message.rb +5 -1
  14. data/lib/temporalio/api/command/v1/message.rb +2 -1
  15. data/lib/temporalio/api/common/v1/message.rb +5 -1
  16. data/lib/temporalio/api/deployment/v1/message.rb +3 -1
  17. data/lib/temporalio/api/history/v1/message.rb +3 -1
  18. data/lib/temporalio/api/namespace/v1/message.rb +1 -1
  19. data/lib/temporalio/api/nexus/v1/message.rb +1 -1
  20. data/lib/temporalio/api/nexusannotations/v1/options.rb +20 -0
  21. data/lib/temporalio/api/payload_visitor.rb +32 -0
  22. data/lib/temporalio/api/schedule/v1/message.rb +1 -1
  23. data/lib/temporalio/api/sdk/v1/event_group_marker.rb +26 -0
  24. data/lib/temporalio/api/update/v1/message.rb +1 -1
  25. data/lib/temporalio/api/workflow/v1/message.rb +3 -2
  26. data/lib/temporalio/api/workflowservice/v1/request_response.rb +11 -1
  27. data/lib/temporalio/api/workflowservice/v1/service.rb +3 -2
  28. data/lib/temporalio/client/connection/cloud_service.rb +120 -0
  29. data/lib/temporalio/client/connection/workflow_service.rb +75 -0
  30. data/lib/temporalio/client/connection.rb +37 -2
  31. data/lib/temporalio/client.rb +10 -5
  32. data/lib/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rb +1 -1
  33. data/lib/temporalio/internal/bridge/client.rb +6 -1
  34. data/lib/temporalio/internal/bridge.rb +20 -0
  35. data/lib/temporalio/internal/google_protobuf.rb +11 -0
  36. data/lib/temporalio/internal/worker/workflow_instance/context.rb +2 -0
  37. data/lib/temporalio/internal/worker/workflow_instance/details.rb +3 -1
  38. data/lib/temporalio/internal/worker/workflow_instance/scheduler.rb +73 -2
  39. data/lib/temporalio/internal/worker/workflow_instance.rb +36 -6
  40. data/lib/temporalio/internal/worker/workflow_worker.rb +10 -2
  41. data/lib/temporalio/internal/workflow_task_failure_error.rb +9 -0
  42. data/lib/temporalio/version.rb +1 -1
  43. data/lib/temporalio/worker/activity_executor/fiber.rb +1 -1
  44. data/lib/temporalio/worker/activity_executor/thread_pool.rb +1 -1
  45. data/lib/temporalio/worker/illegal_workflow_call_validator.rb +3 -1
  46. data/lib/temporalio/worker/workflow_executor/thread_pool.rb +5 -1
  47. data/lib/temporalio/worker/workflow_replayer.rb +17 -4
  48. data/lib/temporalio/worker.rb +30 -5
  49. data/lib/temporalio/workflow/future.rb +5 -0
  50. data/lib/temporalio/workflow/nexus_operation_cancellation_type.rb +4 -2
  51. data/lib/temporalio/workflow.rb +8 -0
  52. data/rbi/google/protobuf.rbi +25 -0
  53. data/rbi/temporalio/activity/cancellation_details.rbi +33 -0
  54. data/rbi/temporalio/activity/complete_async_error.rbi +3 -0
  55. data/rbi/temporalio/activity/context.rbi +42 -0
  56. data/rbi/temporalio/activity/definition.rbi +74 -0
  57. data/rbi/temporalio/activity/info.rbi +112 -0
  58. data/rbi/temporalio/activity.rbi +3 -0
  59. data/rbi/temporalio/api/activity/v1/message.rbi +1453 -0
  60. data/rbi/temporalio/api/batch/v1/message.rbi +1283 -0
  61. data/rbi/temporalio/api/callback/v1/message.rbi +188 -0
  62. data/rbi/temporalio/api/cloud/account/v1/message.rbi +650 -0
  63. data/rbi/temporalio/api/cloud/auditlog/v1/message.rbi +318 -0
  64. data/rbi/temporalio/api/cloud/billing/v1/message.rbi +480 -0
  65. data/rbi/temporalio/api/cloud/cloudservice/v1/request_response.rbi +12454 -0
  66. data/rbi/temporalio/api/cloud/cloudservice/v1/service.rbi +3 -0
  67. data/rbi/temporalio/api/cloud/cloudservice/v1/service_services.rbi +709 -0
  68. data/rbi/temporalio/api/cloud/cloudservice.rbi +5 -0
  69. data/rbi/temporalio/api/cloud/connectivityrule/v1/message.rbi +403 -0
  70. data/rbi/temporalio/api/cloud/identity/v1/message.rbi +3072 -0
  71. data/rbi/temporalio/api/cloud/namespace/v1/message.rbi +3659 -0
  72. data/rbi/temporalio/api/cloud/nexus/v1/message.rbi +595 -0
  73. data/rbi/temporalio/api/cloud/operation/v1/message.rbi +244 -0
  74. data/rbi/temporalio/api/cloud/region/v1/message.rbi +166 -0
  75. data/rbi/temporalio/api/cloud/resource/v1/message.rbi +29 -0
  76. data/rbi/temporalio/api/cloud/sink/v1/message.rbi +438 -0
  77. data/rbi/temporalio/api/cloud/usage/v1/message.rbi +409 -0
  78. data/rbi/temporalio/api/command/v1/message.rbi +2655 -0
  79. data/rbi/temporalio/api/common/v1/grpc_status.rbi +92 -0
  80. data/rbi/temporalio/api/common/v1/message.rbi +2983 -0
  81. data/rbi/temporalio/api/compute/v1/config.rbi +421 -0
  82. data/rbi/temporalio/api/compute/v1/provider.rbi +125 -0
  83. data/rbi/temporalio/api/compute/v1/scaler.rbi +102 -0
  84. data/rbi/temporalio/api/deployment/v1/message.rbi +2340 -0
  85. data/rbi/temporalio/api/enums/v1/activity.rbi +62 -0
  86. data/rbi/temporalio/api/enums/v1/batch_operation.rbi +47 -0
  87. data/rbi/temporalio/api/enums/v1/command_type.rbi +36 -0
  88. data/rbi/temporalio/api/enums/v1/common.rbi +181 -0
  89. data/rbi/temporalio/api/enums/v1/deployment.rbi +80 -0
  90. data/rbi/temporalio/api/enums/v1/event_type.rbi +79 -0
  91. data/rbi/temporalio/api/enums/v1/failed_cause.rbi +155 -0
  92. data/rbi/temporalio/api/enums/v1/namespace.rbi +58 -0
  93. data/rbi/temporalio/api/enums/v1/nexus.rbi +98 -0
  94. data/rbi/temporalio/api/enums/v1/query.rbi +40 -0
  95. data/rbi/temporalio/api/enums/v1/reset.rbi +60 -0
  96. data/rbi/temporalio/api/enums/v1/schedule.rbi +25 -0
  97. data/rbi/temporalio/api/enums/v1/task_queue.rbi +134 -0
  98. data/rbi/temporalio/api/enums/v1/update.rbi +39 -0
  99. data/rbi/temporalio/api/enums/v1/workflow.rbi +259 -0
  100. data/rbi/temporalio/api/errordetails/v1/message.rbi +1389 -0
  101. data/rbi/temporalio/api/export/v1/message.rbi +123 -0
  102. data/rbi/temporalio/api/failure/v1/message.rbi +1303 -0
  103. data/rbi/temporalio/api/filter/v1/message.rbi +267 -0
  104. data/rbi/temporalio/api/history/v1/message.rbi +10737 -0
  105. data/rbi/temporalio/api/namespace/v1/message.rbi +1044 -0
  106. data/rbi/temporalio/api/nexus/v1/message.rbi +2780 -0
  107. data/rbi/temporalio/api/nexusannotations/v1/options.rbi +161 -0
  108. data/rbi/temporalio/api/nexusservices/workerservice/v1/request_response.rbi +124 -0
  109. data/rbi/temporalio/api/operatorservice/v1/request_response.rbi +1836 -0
  110. data/rbi/temporalio/api/operatorservice/v1/service.rbi +3 -0
  111. data/rbi/temporalio/api/operatorservice/v1/service_services.rbi +143 -0
  112. data/rbi/temporalio/api/operatorservice.rbi +5 -0
  113. data/rbi/temporalio/api/payload_visitor.rbi +876 -0
  114. data/rbi/temporalio/api/protoc_gen_openapiv2/options/annotations.rbi +3 -0
  115. data/rbi/temporalio/api/protoc_gen_openapiv2/options/openapiv2.rbi +3482 -0
  116. data/rbi/temporalio/api/protocol/v1/message.rbi +139 -0
  117. data/rbi/temporalio/api/protometa/v1/annotations.rbi +97 -0
  118. data/rbi/temporalio/api/query/v1/message.rbi +288 -0
  119. data/rbi/temporalio/api/replication/v1/message.rbi +226 -0
  120. data/rbi/temporalio/api/rules/v1/message.rbi +492 -0
  121. data/rbi/temporalio/api/schedule/v1/message.rbi +2377 -0
  122. data/rbi/temporalio/api/sdk/v1/enhanced_stack_trace.rbi +478 -0
  123. data/rbi/temporalio/api/sdk/v1/event_group_marker.rbi +337 -0
  124. data/rbi/temporalio/api/sdk/v1/external_storage.rbi +85 -0
  125. data/rbi/temporalio/api/sdk/v1/task_complete_metadata.rbi +206 -0
  126. data/rbi/temporalio/api/sdk/v1/user_metadata.rbi +98 -0
  127. data/rbi/temporalio/api/sdk/v1/worker_config.rbi +255 -0
  128. data/rbi/temporalio/api/sdk/v1/workflow_metadata.rbi +297 -0
  129. data/rbi/temporalio/api/taskqueue/v1/message.rbi +2460 -0
  130. data/rbi/temporalio/api/testservice/v1/request_response.rbi +380 -0
  131. data/rbi/temporalio/api/testservice/v1/service.rbi +3 -0
  132. data/rbi/temporalio/api/testservice/v1/service_services.rbi +100 -0
  133. data/rbi/temporalio/api/update/v1/message.rbi +800 -0
  134. data/rbi/temporalio/api/version/v1/message.rbi +281 -0
  135. data/rbi/temporalio/api/worker/v1/message.rbi +1565 -0
  136. data/rbi/temporalio/api/workflow/v1/message.rbi +5011 -0
  137. data/rbi/temporalio/api/workflowservice/v1/request_response.rbi +30477 -0
  138. data/rbi/temporalio/api/workflowservice/v1/service.rbi +3 -0
  139. data/rbi/temporalio/api/workflowservice/v1/service_services.rbi +1571 -0
  140. data/rbi/temporalio/api/workflowservice.rbi +5 -0
  141. data/rbi/temporalio/api.rbi +7 -0
  142. data/rbi/temporalio/cancellation.rbi +40 -0
  143. data/rbi/temporalio/client/activity_execution.rbi +134 -0
  144. data/rbi/temporalio/client/activity_execution_count.rbi +23 -0
  145. data/rbi/temporalio/client/activity_execution_status.rbi +11 -0
  146. data/rbi/temporalio/client/activity_handle.rbi +49 -0
  147. data/rbi/temporalio/client/activity_id_reference.rbi +24 -0
  148. data/rbi/temporalio/client/async_activity_handle.rbi +49 -0
  149. data/rbi/temporalio/client/connection/cloud_service.rbi +239 -0
  150. data/rbi/temporalio/client/connection/operator_service.rbi +47 -0
  151. data/rbi/temporalio/client/connection/service.rbi +19 -0
  152. data/rbi/temporalio/client/connection/test_service.rbi +29 -0
  153. data/rbi/temporalio/client/connection/workflow_service.rbi +377 -0
  154. data/rbi/temporalio/client/connection.rbi +284 -0
  155. data/rbi/temporalio/client/interceptor.rbi +1067 -0
  156. data/rbi/temporalio/client/pending_activity_state.rbi +9 -0
  157. data/rbi/temporalio/client/plugin.rbi +17 -0
  158. data/rbi/temporalio/client/schedule.rbi +677 -0
  159. data/rbi/temporalio/client/schedule_handle.rbi +40 -0
  160. data/rbi/temporalio/client/with_start_workflow_operation.rbi +126 -0
  161. data/rbi/temporalio/client/workflow_execution.rbi +62 -0
  162. data/rbi/temporalio/client/workflow_execution_count.rbi +23 -0
  163. data/rbi/temporalio/client/workflow_execution_status.rbi +11 -0
  164. data/rbi/temporalio/client/workflow_handle.rbi +148 -0
  165. data/rbi/temporalio/client/workflow_query_reject_condition.rbi +7 -0
  166. data/rbi/temporalio/client/workflow_update_handle.rbi +38 -0
  167. data/rbi/temporalio/client/workflow_update_wait_stage.rbi +7 -0
  168. data/rbi/temporalio/client.rbi +534 -0
  169. data/rbi/temporalio/common_enums.rbi +45 -0
  170. data/rbi/temporalio/contrib/open_telemetry.rbi +73 -0
  171. data/rbi/temporalio/converters/data_converter.rbi +44 -0
  172. data/rbi/temporalio/converters/failure_converter.rbi +20 -0
  173. data/rbi/temporalio/converters/payload_codec.rbi +11 -0
  174. data/rbi/temporalio/converters/payload_converter/binary_null.rbi +5 -0
  175. data/rbi/temporalio/converters/payload_converter/binary_plain.rbi +5 -0
  176. data/rbi/temporalio/converters/payload_converter/binary_protobuf.rbi +5 -0
  177. data/rbi/temporalio/converters/payload_converter/composite.rbi +20 -0
  178. data/rbi/temporalio/converters/payload_converter/encoding.rbi +14 -0
  179. data/rbi/temporalio/converters/payload_converter/json_plain.rbi +10 -0
  180. data/rbi/temporalio/converters/payload_converter/json_protobuf.rbi +5 -0
  181. data/rbi/temporalio/converters/payload_converter.rbi +28 -0
  182. data/rbi/temporalio/converters/raw_value.rbi +11 -0
  183. data/rbi/temporalio/converters.rbi +3 -0
  184. data/rbi/temporalio/env_config.rbi +156 -0
  185. data/rbi/temporalio/error/failure.rbi +3 -0
  186. data/rbi/temporalio/error.rbi +313 -0
  187. data/rbi/temporalio/internal/bridge/api/activity_result/activity_result.rbi +547 -0
  188. data/rbi/temporalio/internal/bridge/api/activity_task/activity_task.rbi +705 -0
  189. data/rbi/temporalio/internal/bridge/api/child_workflow/child_workflow.rbi +332 -0
  190. data/rbi/temporalio/internal/bridge/api/common/common.rbi +191 -0
  191. data/rbi/temporalio/internal/bridge/api/core_interface.rbi +567 -0
  192. data/rbi/temporalio/internal/bridge/api/external_data/external_data.rbi +255 -0
  193. data/rbi/temporalio/internal/bridge/api/nexus/nexus.rbi +527 -0
  194. data/rbi/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbi +2808 -0
  195. data/rbi/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rbi +3309 -0
  196. data/rbi/temporalio/internal/bridge/api/workflow_completion/workflow_completion.rbi +272 -0
  197. data/rbi/temporalio/internal/bridge/api.rbi +3 -0
  198. data/rbi/temporalio/internal/bridge/client.rbi +346 -0
  199. data/rbi/temporalio/internal/bridge/runtime.rbi +231 -0
  200. data/rbi/temporalio/internal/bridge/testing.rbi +109 -0
  201. data/rbi/temporalio/internal/bridge/worker.rbi +250 -0
  202. data/rbi/temporalio/internal/bridge.rbi +47 -0
  203. data/rbi/temporalio/internal/client/implementation.rbi +53 -0
  204. data/rbi/temporalio/internal/google_protobuf.rbi +8 -0
  205. data/rbi/temporalio/internal/metric.rbi +55 -0
  206. data/rbi/temporalio/internal/proto_utils.rbi +148 -0
  207. data/rbi/temporalio/internal/worker/activity_worker.rbi +108 -0
  208. data/rbi/temporalio/internal/worker/multi_runner.rbi +175 -0
  209. data/rbi/temporalio/internal/worker/workflow_instance/child_workflow_handle.rbi +20 -0
  210. data/rbi/temporalio/internal/worker/workflow_instance/context.rbi +290 -0
  211. data/rbi/temporalio/internal/worker/workflow_instance/details.rbi +87 -0
  212. data/rbi/temporalio/internal/worker/workflow_instance/external_workflow_handle.rbi +14 -0
  213. data/rbi/temporalio/internal/worker/workflow_instance/externally_immutable_hash.rbi +17 -0
  214. data/rbi/temporalio/internal/worker/workflow_instance/handler_execution.rbi +17 -0
  215. data/rbi/temporalio/internal/worker/workflow_instance/handler_hash.rbi +24 -0
  216. data/rbi/temporalio/internal/worker/workflow_instance/illegal_call_tracer.rbi +17 -0
  217. data/rbi/temporalio/internal/worker/workflow_instance/inbound_implementation.rbi +21 -0
  218. data/rbi/temporalio/internal/worker/workflow_instance/nexus_client.rbi +47 -0
  219. data/rbi/temporalio/internal/worker/workflow_instance/nexus_operation_handle.rbi +19 -0
  220. data/rbi/temporalio/internal/worker/workflow_instance/outbound_implementation.rbi +43 -0
  221. data/rbi/temporalio/internal/worker/workflow_instance/replay_safe_logger.rbi +11 -0
  222. data/rbi/temporalio/internal/worker/workflow_instance/replay_safe_metric.rbi +15 -0
  223. data/rbi/temporalio/internal/worker/workflow_instance/scheduler.rbi +36 -0
  224. data/rbi/temporalio/internal/worker/workflow_instance.rbi +231 -0
  225. data/rbi/temporalio/internal/worker/workflow_worker.rbi +199 -0
  226. data/rbi/temporalio/internal/workflow_task_failure_error.rbi +3 -0
  227. data/rbi/temporalio/internal.rbi +3 -0
  228. data/rbi/temporalio/metric.rbi +56 -0
  229. data/rbi/temporalio/priority.rbi +38 -0
  230. data/rbi/temporalio/retry_policy.rbi +40 -0
  231. data/rbi/temporalio/runtime/metric_buffer.rbi +45 -0
  232. data/rbi/temporalio/runtime.rbi +185 -0
  233. data/rbi/temporalio/scoped_logger.rbi +50 -0
  234. data/rbi/temporalio/search_attributes.rbi +94 -0
  235. data/rbi/temporalio/simple_plugin.rbi +41 -0
  236. data/rbi/temporalio/testing/activity_environment.rbi +43 -0
  237. data/rbi/temporalio/testing/workflow_environment.rbi +116 -0
  238. data/rbi/temporalio/testing.rbi +3 -0
  239. data/rbi/temporalio/version.rbi +5 -0
  240. data/rbi/temporalio/versioning_override.rbi +13 -0
  241. data/rbi/temporalio/worker/activity_executor/fiber.rbi +20 -0
  242. data/rbi/temporalio/worker/activity_executor/thread_pool.rbi +20 -0
  243. data/rbi/temporalio/worker/activity_executor.rbi +20 -0
  244. data/rbi/temporalio/worker/deployment_options.rbi +23 -0
  245. data/rbi/temporalio/worker/illegal_workflow_call_validator.rbi +33 -0
  246. data/rbi/temporalio/worker/interceptor.rbi +489 -0
  247. data/rbi/temporalio/worker/plugin.rbi +49 -0
  248. data/rbi/temporalio/worker/poller_behavior.rbi +29 -0
  249. data/rbi/temporalio/worker/thread_pool.rbi +38 -0
  250. data/rbi/temporalio/worker/tuner.rbi +221 -0
  251. data/rbi/temporalio/worker/workflow_executor/thread_pool.rbi +15 -0
  252. data/rbi/temporalio/worker/workflow_executor.rbi +8 -0
  253. data/rbi/temporalio/worker/workflow_replayer.rbi +152 -0
  254. data/rbi/temporalio/worker.rbi +258 -0
  255. data/rbi/temporalio/worker_deployment_version.rbi +29 -0
  256. data/rbi/temporalio/workflow/activity_cancellation_type.rbi +7 -0
  257. data/rbi/temporalio/workflow/child_workflow_cancellation_type.rbi +8 -0
  258. data/rbi/temporalio/workflow/child_workflow_handle.rbi +27 -0
  259. data/rbi/temporalio/workflow/definition.rbi +305 -0
  260. data/rbi/temporalio/workflow/external_workflow_handle.rbi +24 -0
  261. data/rbi/temporalio/workflow/future.rbi +62 -0
  262. data/rbi/temporalio/workflow/handler_unfinished_policy.rbi +6 -0
  263. data/rbi/temporalio/workflow/info.rbi +100 -0
  264. data/rbi/temporalio/workflow/nexus_client.rbi +65 -0
  265. data/rbi/temporalio/workflow/nexus_operation_cancellation_type.rbi +8 -0
  266. data/rbi/temporalio/workflow/nexus_operation_handle.rbi +14 -0
  267. data/rbi/temporalio/workflow/parent_close_policy.rbi +8 -0
  268. data/rbi/temporalio/workflow/update_info.rbi +14 -0
  269. data/rbi/temporalio/workflow.rbi +393 -0
  270. data/rbi/temporalio/workflow_history.rbi +21 -0
  271. data/rbi/temporalio.rbi +5 -0
  272. data/sig/common.rbs +1 -0
  273. data/sig/google/protobuf_compat.rbs +17 -0
  274. data/sig/open_telemetry.rbs +47 -0
  275. data/sig/temporalio/activity/cancellation_details.rbs +21 -0
  276. data/sig/temporalio/activity/complete_async_error.rbs +6 -0
  277. data/sig/temporalio/activity/context.rbs +26 -0
  278. data/sig/temporalio/activity/definition.rbs +60 -0
  279. data/sig/temporalio/activity/info.rbs +57 -0
  280. data/sig/temporalio/activity.rbs +4 -0
  281. data/sig/temporalio/api/activity/v1/message.rbs +708 -0
  282. data/sig/temporalio/api/batch/v1/message.rbs +594 -0
  283. data/sig/temporalio/api/callback/v1/message.rbs +112 -0
  284. data/sig/temporalio/api/cloud/account/v1/message.rbs +314 -0
  285. data/sig/temporalio/api/cloud/auditlog/v1/message.rbs +168 -0
  286. data/sig/temporalio/api/cloud/billing/v1/message.rbs +279 -0
  287. data/sig/temporalio/api/cloud/cloudservice/v1/request_response.rbs +4726 -0
  288. data/sig/temporalio/api/cloud/cloudservice/v1/service.rbs +25 -0
  289. data/sig/temporalio/api/cloud/cloudservice.rbs +8 -0
  290. data/sig/temporalio/api/cloud/connectivityrule/v1/message.rbs +191 -0
  291. data/sig/temporalio/api/cloud/identity/v1/message.rbs +1372 -0
  292. data/sig/temporalio/api/cloud/namespace/v1/message.rbs +1571 -0
  293. data/sig/temporalio/api/cloud/nexus/v1/message.rbs +269 -0
  294. data/sig/temporalio/api/cloud/operation/v1/message.rbs +156 -0
  295. data/sig/temporalio/api/cloud/region/v1/message.rbs +109 -0
  296. data/sig/temporalio/api/cloud/resource/v1/message.rbs +61 -0
  297. data/sig/temporalio/api/cloud/sink/v1/message.rbs +207 -0
  298. data/sig/temporalio/api/cloud/usage/v1/message.rbs +230 -0
  299. data/sig/temporalio/api/command/v1/message.rbs +1211 -0
  300. data/sig/temporalio/api/common/v1/grpc_status.rbs +59 -0
  301. data/sig/temporalio/api/common/v1/message.rbs +1238 -0
  302. data/sig/temporalio/api/compute/v1/config.rbs +176 -0
  303. data/sig/temporalio/api/compute/v1/provider.rbs +73 -0
  304. data/sig/temporalio/api/compute/v1/scaler.rbs +60 -0
  305. data/sig/temporalio/api/deployment/v1/message.rbs +1063 -0
  306. data/sig/temporalio/api/enums/v1/activity.rbs +134 -0
  307. data/sig/temporalio/api/enums/v1/batch_operation.rbs +80 -0
  308. data/sig/temporalio/api/enums/v1/command_type.rbs +74 -0
  309. data/sig/temporalio/api/enums/v1/common.rbs +271 -0
  310. data/sig/temporalio/api/enums/v1/deployment.rbs +177 -0
  311. data/sig/temporalio/api/enums/v1/event_type.rbs +263 -0
  312. data/sig/temporalio/api/enums/v1/failed_cause.rbs +281 -0
  313. data/sig/temporalio/api/enums/v1/namespace.rbs +87 -0
  314. data/sig/temporalio/api/enums/v1/nexus.rbs +172 -0
  315. data/sig/temporalio/api/enums/v1/query.rbs +69 -0
  316. data/sig/temporalio/api/enums/v1/reset.rbs +106 -0
  317. data/sig/temporalio/api/enums/v1/schedule.rbs +68 -0
  318. data/sig/temporalio/api/enums/v1/task_queue.rbs +238 -0
  319. data/sig/temporalio/api/enums/v1/update.rbs +87 -0
  320. data/sig/temporalio/api/enums/v1/workflow.rbs +435 -0
  321. data/sig/temporalio/api/errordetails/v1/message.rbs +532 -0
  322. data/sig/temporalio/api/export/v1/message.rbs +63 -0
  323. data/sig/temporalio/api/failure/v1/message.rbs +579 -0
  324. data/sig/temporalio/api/filter/v1/message.rbs +121 -0
  325. data/sig/temporalio/api/history/v1/message.rbs +4928 -0
  326. data/sig/temporalio/api/namespace/v1/message.rbs +465 -0
  327. data/sig/temporalio/api/nexus/v1/message.rbs +1268 -0
  328. data/sig/temporalio/api/nexusannotations/v1/options.rbs +76 -0
  329. data/sig/temporalio/api/nexusservices/workerservice/v1/request_response.rbs +65 -0
  330. data/sig/temporalio/api/operatorservice/v1/request_response.rbs +679 -0
  331. data/sig/temporalio/api/operatorservice/v1/service.rbs +23 -0
  332. data/sig/temporalio/api/operatorservice.rbs +6 -0
  333. data/sig/temporalio/api/payload_visitor.rbs +298 -0
  334. data/sig/temporalio/api/protoc_gen_openapiv2/options/annotations.rbs +23 -0
  335. data/sig/temporalio/api/protoc_gen_openapiv2/options/openapiv2.rbs +1691 -0
  336. data/sig/temporalio/api/protocol/v1/message.rbs +90 -0
  337. data/sig/temporalio/api/protometa/v1/annotations.rbs +62 -0
  338. data/sig/temporalio/api/query/v1/message.rbs +138 -0
  339. data/sig/temporalio/api/replication/v1/message.rbs +109 -0
  340. data/sig/temporalio/api/rules/v1/message.rbs +213 -0
  341. data/sig/temporalio/api/schedule/v1/message.rbs +1066 -0
  342. data/sig/temporalio/api/sdk/v1/enhanced_stack_trace.rbs +210 -0
  343. data/sig/temporalio/api/sdk/v1/event_group_marker.rbs +154 -0
  344. data/sig/temporalio/api/sdk/v1/external_storage.rbs +54 -0
  345. data/sig/temporalio/api/sdk/v1/task_complete_metadata.rbs +92 -0
  346. data/sig/temporalio/api/sdk/v1/user_metadata.rbs +58 -0
  347. data/sig/temporalio/api/sdk/v1/worker_config.rbs +122 -0
  348. data/sig/temporalio/api/sdk/v1/workflow_metadata.rbs +138 -0
  349. data/sig/temporalio/api/taskqueue/v1/message.rbs +1013 -0
  350. data/sig/temporalio/api/testservice/v1/request_response.rbs +125 -0
  351. data/sig/temporalio/api/testservice/v1/service.rbs +23 -0
  352. data/sig/temporalio/api/update/v1/message.rbs +349 -0
  353. data/sig/temporalio/api/version/v1/message.rbs +143 -0
  354. data/sig/temporalio/api/worker/v1/message.rbs +716 -0
  355. data/sig/temporalio/api/workflow/v1/message.rbs +2322 -0
  356. data/sig/temporalio/api/workflowservice/v1/request_response.rbs +12735 -0
  357. data/sig/temporalio/api/workflowservice/v1/service.rbs +23 -0
  358. data/sig/temporalio/api/workflowservice.rbs +6 -0
  359. data/sig/temporalio/api.rbs +4 -0
  360. data/sig/temporalio/cancellation.rbs +20 -0
  361. data/sig/temporalio/client/activity_execution.rbs +50 -0
  362. data/sig/temporalio/client/activity_execution_count.rbs +17 -0
  363. data/sig/temporalio/client/activity_execution_status.rbs +15 -0
  364. data/sig/temporalio/client/activity_handle.rbs +26 -0
  365. data/sig/temporalio/client/activity_id_reference.rbs +16 -0
  366. data/sig/temporalio/client/async_activity_handle.rbs +41 -0
  367. data/sig/temporalio/client/connection/cloud_service.rbs +315 -0
  368. data/sig/temporalio/client/connection/operator_service.rbs +59 -0
  369. data/sig/temporalio/client/connection/service.rbs +17 -0
  370. data/sig/temporalio/client/connection/test_service.rbs +35 -0
  371. data/sig/temporalio/client/connection/workflow_service.rbs +499 -0
  372. data/sig/temporalio/client/connection.rbs +143 -0
  373. data/sig/temporalio/client/interceptor.rbs +622 -0
  374. data/sig/temporalio/client/pending_activity_state.rbs +14 -0
  375. data/sig/temporalio/client/plugin.rbs +14 -0
  376. data/sig/temporalio/client/schedule.rbs +337 -0
  377. data/sig/temporalio/client/schedule_handle.rbs +44 -0
  378. data/sig/temporalio/client/with_start_workflow_operation.rbs +82 -0
  379. data/sig/temporalio/client/workflow_execution.rbs +37 -0
  380. data/sig/temporalio/client/workflow_execution_count.rbs +17 -0
  381. data/sig/temporalio/client/workflow_execution_status.rbs +16 -0
  382. data/sig/temporalio/client/workflow_handle.rbs +95 -0
  383. data/sig/temporalio/client/workflow_query_reject_condition.rbs +12 -0
  384. data/sig/temporalio/client/workflow_update_handle.rbs +26 -0
  385. data/sig/temporalio/client/workflow_update_wait_stage.rbs +12 -0
  386. data/sig/temporalio/client.rbs +271 -0
  387. data/sig/temporalio/common_enums.rbs +60 -0
  388. data/sig/temporalio/contrib/open_telemetry.rbs +74 -0
  389. data/sig/temporalio/converters/data_converter.rbs +32 -0
  390. data/sig/temporalio/converters/failure_converter.rbs +12 -0
  391. data/sig/temporalio/converters/payload_codec.rbs +8 -0
  392. data/sig/temporalio/converters/payload_converter/binary_null.rbs +9 -0
  393. data/sig/temporalio/converters/payload_converter/binary_plain.rbs +9 -0
  394. data/sig/temporalio/converters/payload_converter/binary_protobuf.rbs +9 -0
  395. data/sig/temporalio/converters/payload_converter/composite.rbs +16 -0
  396. data/sig/temporalio/converters/payload_converter/encoding.rbs +13 -0
  397. data/sig/temporalio/converters/payload_converter/json_plain.rbs +14 -0
  398. data/sig/temporalio/converters/payload_converter/json_protobuf.rbs +9 -0
  399. data/sig/temporalio/converters/payload_converter.rbs +24 -0
  400. data/sig/temporalio/converters/raw_value.rbs +9 -0
  401. data/sig/temporalio/converters.rbs +4 -0
  402. data/sig/temporalio/env_config.rbs +86 -0
  403. data/sig/temporalio/error/failure.rbs +170 -0
  404. data/sig/temporalio/error.rbs +88 -0
  405. data/sig/temporalio/internal/bridge/api/activity_result/activity_result.rbs +247 -0
  406. data/sig/temporalio/internal/bridge/api/activity_task/activity_task.rbs +372 -0
  407. data/sig/temporalio/internal/bridge/api/child_workflow/child_workflow.rbs +207 -0
  408. data/sig/temporalio/internal/bridge/api/common/common.rbs +123 -0
  409. data/sig/temporalio/internal/bridge/api/core_interface.rbs +231 -0
  410. data/sig/temporalio/internal/bridge/api/external_data/external_data.rbs +134 -0
  411. data/sig/temporalio/internal/bridge/api/nexus/nexus.rbs +285 -0
  412. data/sig/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbs +1304 -0
  413. data/sig/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rbs +1526 -0
  414. data/sig/temporalio/internal/bridge/api/workflow_completion/workflow_completion.rbs +136 -0
  415. data/sig/temporalio/internal/bridge/api.rbs +8 -0
  416. data/sig/temporalio/internal/bridge/client.rbs +144 -0
  417. data/sig/temporalio/internal/bridge/metric.rbs +28 -0
  418. data/sig/temporalio/internal/bridge/runtime.rbs +97 -0
  419. data/sig/temporalio/internal/bridge/testing.rbs +91 -0
  420. data/sig/temporalio/internal/bridge/worker.rbs +199 -0
  421. data/sig/temporalio/internal/bridge.rbs +36 -0
  422. data/sig/temporalio/internal/client/implementation.rbs +33 -0
  423. data/sig/temporalio/internal/google_protobuf.rbs +7 -0
  424. data/sig/temporalio/internal/metric.rbs +35 -0
  425. data/sig/temporalio/internal/proto_utils.rbs +94 -0
  426. data/sig/temporalio/internal/worker/activity_worker.rbs +64 -0
  427. data/sig/temporalio/internal/worker/multi_runner.rbs +132 -0
  428. data/sig/temporalio/internal/worker/workflow_instance/child_workflow_handle.rbs +22 -0
  429. data/sig/temporalio/internal/worker/workflow_instance/context.rbs +172 -0
  430. data/sig/temporalio/internal/worker/workflow_instance/details.rbs +43 -0
  431. data/sig/temporalio/internal/worker/workflow_instance/external_workflow_handle.rbs +15 -0
  432. data/sig/temporalio/internal/worker/workflow_instance/externally_immutable_hash.rbs +16 -0
  433. data/sig/temporalio/internal/worker/workflow_instance/handler_execution.rbs +19 -0
  434. data/sig/temporalio/internal/worker/workflow_instance/handler_hash.rbs +14 -0
  435. data/sig/temporalio/internal/worker/workflow_instance/illegal_call_tracer.rbs +20 -0
  436. data/sig/temporalio/internal/worker/workflow_instance/inbound_implementation.rbs +19 -0
  437. data/sig/temporalio/internal/worker/workflow_instance/nexus_client.rbs +25 -0
  438. data/sig/temporalio/internal/worker/workflow_instance/nexus_operation_handle.rbs +19 -0
  439. data/sig/temporalio/internal/worker/workflow_instance/outbound_implementation.rbs +35 -0
  440. data/sig/temporalio/internal/worker/workflow_instance/replay_safe_logger.rbs +16 -0
  441. data/sig/temporalio/internal/worker/workflow_instance/replay_safe_metric.rbs +15 -0
  442. data/sig/temporalio/internal/worker/workflow_instance/scheduler.rbs +52 -0
  443. data/sig/temporalio/internal/worker/workflow_instance.rbs +111 -0
  444. data/sig/temporalio/internal/worker/workflow_worker.rbs +99 -0
  445. data/sig/temporalio/internal/workflow_task_failure_error.rbs +6 -0
  446. data/sig/temporalio/internal.rbs +4 -0
  447. data/sig/temporalio/metric.rbs +55 -0
  448. data/sig/temporalio/priority.rbs +17 -0
  449. data/sig/temporalio/retry_policy.rbs +21 -0
  450. data/sig/temporalio/runtime/metric_buffer.rbs +49 -0
  451. data/sig/temporalio/runtime.rbs +118 -0
  452. data/sig/temporalio/scoped_logger.rbs +15 -0
  453. data/sig/temporalio/search_attributes.rbs +82 -0
  454. data/sig/temporalio/simple_plugin.rbs +65 -0
  455. data/sig/temporalio/testing/activity_environment.rbs +52 -0
  456. data/sig/temporalio/testing/workflow_environment.rbs +141 -0
  457. data/sig/temporalio/testing.rbs +4 -0
  458. data/sig/temporalio/version.rbs +3 -0
  459. data/sig/temporalio/versioning_override.rbs +17 -0
  460. data/sig/temporalio/worker/activity_executor/fiber.rbs +9 -0
  461. data/sig/temporalio/worker/activity_executor/thread_pool.rbs +11 -0
  462. data/sig/temporalio/worker/activity_executor.rbs +12 -0
  463. data/sig/temporalio/worker/deployment_options.rbs +17 -0
  464. data/sig/temporalio/worker/illegal_workflow_call_validator.rbs +25 -0
  465. data/sig/temporalio/worker/interceptor.rbs +373 -0
  466. data/sig/temporalio/worker/plugin.rbs +47 -0
  467. data/sig/temporalio/worker/poller_behavior.rbs +23 -0
  468. data/sig/temporalio/worker/thread_pool.rbs +44 -0
  469. data/sig/temporalio/worker/tuner.rbs +121 -0
  470. data/sig/temporalio/worker/workflow_executor/thread_pool.rbs +58 -0
  471. data/sig/temporalio/worker/workflow_executor.rbs +15 -0
  472. data/sig/temporalio/worker/workflow_replayer.rbs +105 -0
  473. data/sig/temporalio/worker.rbs +168 -0
  474. data/sig/temporalio/worker_deployment_version.rbs +17 -0
  475. data/sig/temporalio/workflow/activity_cancellation_type.rbs +11 -0
  476. data/sig/temporalio/workflow/child_workflow_cancellation_type.rbs +12 -0
  477. data/sig/temporalio/workflow/child_workflow_handle.rbs +18 -0
  478. data/sig/temporalio/workflow/definition.rbs +181 -0
  479. data/sig/temporalio/workflow/external_workflow_handle.rbs +17 -0
  480. data/sig/temporalio/workflow/future.rbs +24 -0
  481. data/sig/temporalio/workflow/handler_unfinished_policy.rbs +10 -0
  482. data/sig/temporalio/workflow/info.rbs +79 -0
  483. data/sig/temporalio/workflow/nexus_client.rbs +34 -0
  484. data/sig/temporalio/workflow/nexus_operation_cancellation_type.rbs +12 -0
  485. data/sig/temporalio/workflow/nexus_operation_handle.rbs +10 -0
  486. data/sig/temporalio/workflow/parent_close_policy.rbs +12 -0
  487. data/sig/temporalio/workflow/update_info.rbs +15 -0
  488. data/sig/temporalio/workflow.rbs +215 -0
  489. data/sig/temporalio/workflow_history.rbs +13 -0
  490. data/sig/temporalio.rbs +3 -0
  491. data/temporalio.gemspec +1 -1
  492. metadata +445 -2
@@ -0,0 +1,4726 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # This RBS interface is provided for convenience, on a best-effort basis.
3
+ # The library is the definitive source for the API contract; if the RBS file
4
+ # and the library's behavior differ, the library behavior is authoritative.
5
+ # We welcome fixes to change the RBS file to match.
6
+ # source: temporal/api/cloud/cloudservice/v1/request_response.proto
7
+
8
+ module Temporalio
9
+ module Api
10
+ module Cloud
11
+ module CloudService
12
+ module V1
13
+ class GetCurrentIdentityRequest < ::Google::Protobuf::AbstractMessage
14
+
15
+ type init_map = {
16
+ }
17
+
18
+ def initialize: (?init_map initial_value) -> void
19
+ end
20
+
21
+ class GetCurrentIdentityResponse < ::Google::Protobuf::AbstractMessage
22
+
23
+ # The user is a regular user
24
+ attr_accessor user(): ::Temporalio::Api::Cloud::Identity::V1::User?
25
+ def has_user?: () -> bool
26
+ def clear_user: () -> void
27
+
28
+ # The user is a service account
29
+ attr_accessor service_account(): ::Temporalio::Api::Cloud::Identity::V1::ServiceAccount?
30
+ def has_service_account?: () -> bool
31
+ def clear_service_account: () -> void
32
+
33
+ # The API key info used to authenticate the request, if any
34
+ attr_accessor principal_api_key(): ::Temporalio::Api::Cloud::Identity::V1::ApiKey?
35
+ def has_principal_api_key?: () -> bool
36
+ def clear_principal_api_key: () -> void
37
+
38
+ # The authenticated principal making the request
39
+ attr_reader principal(): (::Temporalio::Api::Cloud::Identity::V1::User | ::Temporalio::Api::Cloud::Identity::V1::ServiceAccount)?
40
+ def has_principal?: () -> bool
41
+ def clear_principal: () -> void
42
+
43
+ type init_map = {
44
+ user: (::Temporalio::Api::Cloud::Identity::V1::User | ::Temporalio::Api::Cloud::Identity::V1::User::init_map)?,
45
+ "user" => (::Temporalio::Api::Cloud::Identity::V1::User | ::Temporalio::Api::Cloud::Identity::V1::User::init_map)?,
46
+ service_account: (::Temporalio::Api::Cloud::Identity::V1::ServiceAccount | ::Temporalio::Api::Cloud::Identity::V1::ServiceAccount::init_map)?,
47
+ "service_account" => (::Temporalio::Api::Cloud::Identity::V1::ServiceAccount | ::Temporalio::Api::Cloud::Identity::V1::ServiceAccount::init_map)?,
48
+ principal_api_key: (::Temporalio::Api::Cloud::Identity::V1::ApiKey | ::Temporalio::Api::Cloud::Identity::V1::ApiKey::init_map)?,
49
+ "principal_api_key" => (::Temporalio::Api::Cloud::Identity::V1::ApiKey | ::Temporalio::Api::Cloud::Identity::V1::ApiKey::init_map)?,
50
+ }
51
+
52
+ def initialize: (?init_map initial_value) -> void
53
+
54
+ def []:
55
+ ("user" name) -> ::Temporalio::Api::Cloud::Identity::V1::User?
56
+ | ("service_account" name) -> ::Temporalio::Api::Cloud::Identity::V1::ServiceAccount?
57
+ | ("principal_api_key" name) -> ::Temporalio::Api::Cloud::Identity::V1::ApiKey?
58
+
59
+ def []=:
60
+ ("user" name, ::Temporalio::Api::Cloud::Identity::V1::User? value) -> void
61
+ | ("service_account" name, ::Temporalio::Api::Cloud::Identity::V1::ServiceAccount? value) -> void
62
+ | ("principal_api_key" name, ::Temporalio::Api::Cloud::Identity::V1::ApiKey? value) -> void
63
+ end
64
+
65
+ class GetUsersRequest < ::Google::Protobuf::AbstractMessage
66
+
67
+ # The requested size of the page to retrieve - optional.
68
+ # Cannot exceed 1000. Defaults to 100.
69
+ attr_reader page_size(): ::Integer
70
+ attr_writer page_size(): ::Integer | ::Float
71
+ def clear_page_size: () -> void
72
+
73
+ # The page token if this is continuing from another response - optional.
74
+ attr_reader page_token(): ::String
75
+ attr_writer page_token(): ::String | ::Symbol
76
+ def clear_page_token: () -> void
77
+
78
+ # Filter users by email address - optional.
79
+ attr_reader email(): ::String
80
+ attr_writer email(): ::String | ::Symbol
81
+ def clear_email: () -> void
82
+
83
+ # Filter users by the namespace they have access to - optional.
84
+ attr_reader namespace(): ::String
85
+ attr_writer namespace(): ::String | ::Symbol
86
+ def clear_namespace: () -> void
87
+
88
+ type init_map = {
89
+ page_size: (::Integer | ::Float)?,
90
+ "page_size" => (::Integer | ::Float)?,
91
+ page_token: (::String | ::Symbol)?,
92
+ "page_token" => (::String | ::Symbol)?,
93
+ email: (::String | ::Symbol)?,
94
+ "email" => (::String | ::Symbol)?,
95
+ namespace: (::String | ::Symbol)?,
96
+ "namespace" => (::String | ::Symbol)?,
97
+ }
98
+
99
+ def initialize: (?init_map initial_value) -> void
100
+
101
+ def []:
102
+ ("page_size" name) -> ::Integer
103
+ | ("page_token" name) -> ::String
104
+ | ("email" name) -> ::String
105
+ | ("namespace" name) -> ::String
106
+
107
+ def []=:
108
+ ("page_size" name, (::Integer | ::Float) value) -> void
109
+ | ("page_token" name, (::String | ::Symbol) value) -> void
110
+ | ("email" name, (::String | ::Symbol) value) -> void
111
+ | ("namespace" name, (::String | ::Symbol) value) -> void
112
+ end
113
+
114
+ class GetUsersResponse < ::Google::Protobuf::AbstractMessage
115
+
116
+ # The list of users in ascending ids order
117
+ attr_accessor users(): ::Google::Protobuf::RepeatedField
118
+ def clear_users: () -> void
119
+
120
+ # The next page's token
121
+ attr_reader next_page_token(): ::String
122
+ attr_writer next_page_token(): ::String | ::Symbol
123
+ def clear_next_page_token: () -> void
124
+
125
+ type init_map = {
126
+ users: ::Array[::Temporalio::Api::Cloud::Identity::V1::User]?,
127
+ "users" => ::Array[::Temporalio::Api::Cloud::Identity::V1::User]?,
128
+ next_page_token: (::String | ::Symbol)?,
129
+ "next_page_token" => (::String | ::Symbol)?,
130
+ }
131
+
132
+ def initialize: (?init_map initial_value) -> void
133
+
134
+ def []:
135
+ ("users" name) -> ::Google::Protobuf::RepeatedField
136
+ | ("next_page_token" name) -> ::String
137
+
138
+ def []=:
139
+ ("users" name, ::Google::Protobuf::RepeatedField value) -> void
140
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
141
+ end
142
+
143
+ class GetUserRequest < ::Google::Protobuf::AbstractMessage
144
+
145
+ # The id of the user to get
146
+ attr_reader user_id(): ::String
147
+ attr_writer user_id(): ::String | ::Symbol
148
+ def clear_user_id: () -> void
149
+
150
+ type init_map = {
151
+ user_id: (::String | ::Symbol)?,
152
+ "user_id" => (::String | ::Symbol)?,
153
+ }
154
+
155
+ def initialize: (?init_map initial_value) -> void
156
+
157
+ def []:
158
+ ("user_id" name) -> ::String
159
+
160
+ def []=:
161
+ ("user_id" name, (::String | ::Symbol) value) -> void
162
+ end
163
+
164
+ class GetUserResponse < ::Google::Protobuf::AbstractMessage
165
+
166
+ # The user
167
+ attr_accessor user(): ::Temporalio::Api::Cloud::Identity::V1::User?
168
+ def has_user?: () -> bool
169
+ def clear_user: () -> void
170
+
171
+ type init_map = {
172
+ user: (::Temporalio::Api::Cloud::Identity::V1::User | ::Temporalio::Api::Cloud::Identity::V1::User::init_map)?,
173
+ "user" => (::Temporalio::Api::Cloud::Identity::V1::User | ::Temporalio::Api::Cloud::Identity::V1::User::init_map)?,
174
+ }
175
+
176
+ def initialize: (?init_map initial_value) -> void
177
+
178
+ def []:
179
+ ("user" name) -> ::Temporalio::Api::Cloud::Identity::V1::User?
180
+
181
+ def []=:
182
+ ("user" name, ::Temporalio::Api::Cloud::Identity::V1::User? value) -> void
183
+ end
184
+
185
+ class CreateUserRequest < ::Google::Protobuf::AbstractMessage
186
+
187
+ # The spec for the user to invite
188
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Identity::V1::UserSpec?
189
+ def has_spec?: () -> bool
190
+ def clear_spec: () -> void
191
+
192
+ # The id to use for this async operation - optional
193
+ attr_reader async_operation_id(): ::String
194
+ attr_writer async_operation_id(): ::String | ::Symbol
195
+ def clear_async_operation_id: () -> void
196
+
197
+ type init_map = {
198
+ spec: (::Temporalio::Api::Cloud::Identity::V1::UserSpec | ::Temporalio::Api::Cloud::Identity::V1::UserSpec::init_map)?,
199
+ "spec" => (::Temporalio::Api::Cloud::Identity::V1::UserSpec | ::Temporalio::Api::Cloud::Identity::V1::UserSpec::init_map)?,
200
+ async_operation_id: (::String | ::Symbol)?,
201
+ "async_operation_id" => (::String | ::Symbol)?,
202
+ }
203
+
204
+ def initialize: (?init_map initial_value) -> void
205
+
206
+ def []:
207
+ ("spec" name) -> ::Temporalio::Api::Cloud::Identity::V1::UserSpec?
208
+ | ("async_operation_id" name) -> ::String
209
+
210
+ def []=:
211
+ ("spec" name, ::Temporalio::Api::Cloud::Identity::V1::UserSpec? value) -> void
212
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
213
+ end
214
+
215
+ class CreateUserResponse < ::Google::Protobuf::AbstractMessage
216
+
217
+ # The id of the user that was invited
218
+ attr_reader user_id(): ::String
219
+ attr_writer user_id(): ::String | ::Symbol
220
+ def clear_user_id: () -> void
221
+
222
+ # The async operation
223
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
224
+ def has_async_operation?: () -> bool
225
+ def clear_async_operation: () -> void
226
+
227
+ type init_map = {
228
+ user_id: (::String | ::Symbol)?,
229
+ "user_id" => (::String | ::Symbol)?,
230
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
231
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
232
+ }
233
+
234
+ def initialize: (?init_map initial_value) -> void
235
+
236
+ def []:
237
+ ("user_id" name) -> ::String
238
+ | ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
239
+
240
+ def []=:
241
+ ("user_id" name, (::String | ::Symbol) value) -> void
242
+ | ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
243
+ end
244
+
245
+ class UpdateUserRequest < ::Google::Protobuf::AbstractMessage
246
+
247
+ # The id of the user to update
248
+ attr_reader user_id(): ::String
249
+ attr_writer user_id(): ::String | ::Symbol
250
+ def clear_user_id: () -> void
251
+
252
+ # The new user specification
253
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Identity::V1::UserSpec?
254
+ def has_spec?: () -> bool
255
+ def clear_spec: () -> void
256
+
257
+ # The version of the user for which this update is intended for
258
+ # The latest version can be found in the GetUser operation response
259
+ attr_reader resource_version(): ::String
260
+ attr_writer resource_version(): ::String | ::Symbol
261
+ def clear_resource_version: () -> void
262
+
263
+ # The id to use for this async operation - optional
264
+ attr_reader async_operation_id(): ::String
265
+ attr_writer async_operation_id(): ::String | ::Symbol
266
+ def clear_async_operation_id: () -> void
267
+
268
+ type init_map = {
269
+ user_id: (::String | ::Symbol)?,
270
+ "user_id" => (::String | ::Symbol)?,
271
+ spec: (::Temporalio::Api::Cloud::Identity::V1::UserSpec | ::Temporalio::Api::Cloud::Identity::V1::UserSpec::init_map)?,
272
+ "spec" => (::Temporalio::Api::Cloud::Identity::V1::UserSpec | ::Temporalio::Api::Cloud::Identity::V1::UserSpec::init_map)?,
273
+ resource_version: (::String | ::Symbol)?,
274
+ "resource_version" => (::String | ::Symbol)?,
275
+ async_operation_id: (::String | ::Symbol)?,
276
+ "async_operation_id" => (::String | ::Symbol)?,
277
+ }
278
+
279
+ def initialize: (?init_map initial_value) -> void
280
+
281
+ def []:
282
+ ("user_id" name) -> ::String
283
+ | ("spec" name) -> ::Temporalio::Api::Cloud::Identity::V1::UserSpec?
284
+ | ("resource_version" name) -> ::String
285
+ | ("async_operation_id" name) -> ::String
286
+
287
+ def []=:
288
+ ("user_id" name, (::String | ::Symbol) value) -> void
289
+ | ("spec" name, ::Temporalio::Api::Cloud::Identity::V1::UserSpec? value) -> void
290
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
291
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
292
+ end
293
+
294
+ class UpdateUserResponse < ::Google::Protobuf::AbstractMessage
295
+
296
+ # The async operation
297
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
298
+ def has_async_operation?: () -> bool
299
+ def clear_async_operation: () -> void
300
+
301
+ type init_map = {
302
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
303
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
304
+ }
305
+
306
+ def initialize: (?init_map initial_value) -> void
307
+
308
+ def []:
309
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
310
+
311
+ def []=:
312
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
313
+ end
314
+
315
+ class DeleteUserRequest < ::Google::Protobuf::AbstractMessage
316
+
317
+ # The id of the user to delete
318
+ attr_reader user_id(): ::String
319
+ attr_writer user_id(): ::String | ::Symbol
320
+ def clear_user_id: () -> void
321
+
322
+ # The version of the user for which this delete is intended for
323
+ # The latest version can be found in the GetUser operation response
324
+ attr_reader resource_version(): ::String
325
+ attr_writer resource_version(): ::String | ::Symbol
326
+ def clear_resource_version: () -> void
327
+
328
+ # The id to use for this async operation - optional
329
+ attr_reader async_operation_id(): ::String
330
+ attr_writer async_operation_id(): ::String | ::Symbol
331
+ def clear_async_operation_id: () -> void
332
+
333
+ type init_map = {
334
+ user_id: (::String | ::Symbol)?,
335
+ "user_id" => (::String | ::Symbol)?,
336
+ resource_version: (::String | ::Symbol)?,
337
+ "resource_version" => (::String | ::Symbol)?,
338
+ async_operation_id: (::String | ::Symbol)?,
339
+ "async_operation_id" => (::String | ::Symbol)?,
340
+ }
341
+
342
+ def initialize: (?init_map initial_value) -> void
343
+
344
+ def []:
345
+ ("user_id" name) -> ::String
346
+ | ("resource_version" name) -> ::String
347
+ | ("async_operation_id" name) -> ::String
348
+
349
+ def []=:
350
+ ("user_id" name, (::String | ::Symbol) value) -> void
351
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
352
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
353
+ end
354
+
355
+ class DeleteUserResponse < ::Google::Protobuf::AbstractMessage
356
+
357
+ # The async operation
358
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
359
+ def has_async_operation?: () -> bool
360
+ def clear_async_operation: () -> void
361
+
362
+ type init_map = {
363
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
364
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
365
+ }
366
+
367
+ def initialize: (?init_map initial_value) -> void
368
+
369
+ def []:
370
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
371
+
372
+ def []=:
373
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
374
+ end
375
+
376
+ class SetUserNamespaceAccessRequest < ::Google::Protobuf::AbstractMessage
377
+
378
+ # The namespace to set permissions for
379
+ attr_reader namespace(): ::String
380
+ attr_writer namespace(): ::String | ::Symbol
381
+ def clear_namespace: () -> void
382
+
383
+ # The id of the user to set permissions for
384
+ attr_reader user_id(): ::String
385
+ attr_writer user_id(): ::String | ::Symbol
386
+ def clear_user_id: () -> void
387
+
388
+ # The namespace access to assign the user
389
+ attr_accessor access(): ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess?
390
+ def has_access?: () -> bool
391
+ def clear_access: () -> void
392
+
393
+ # The version of the user for which this update is intended for
394
+ # The latest version can be found in the GetUser operation response
395
+ attr_reader resource_version(): ::String
396
+ attr_writer resource_version(): ::String | ::Symbol
397
+ def clear_resource_version: () -> void
398
+
399
+ # The id to use for this async operation - optional
400
+ attr_reader async_operation_id(): ::String
401
+ attr_writer async_operation_id(): ::String | ::Symbol
402
+ def clear_async_operation_id: () -> void
403
+
404
+ type init_map = {
405
+ namespace: (::String | ::Symbol)?,
406
+ "namespace" => (::String | ::Symbol)?,
407
+ user_id: (::String | ::Symbol)?,
408
+ "user_id" => (::String | ::Symbol)?,
409
+ access: (::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess | ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::init_map)?,
410
+ "access" => (::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess | ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::init_map)?,
411
+ resource_version: (::String | ::Symbol)?,
412
+ "resource_version" => (::String | ::Symbol)?,
413
+ async_operation_id: (::String | ::Symbol)?,
414
+ "async_operation_id" => (::String | ::Symbol)?,
415
+ }
416
+
417
+ def initialize: (?init_map initial_value) -> void
418
+
419
+ def []:
420
+ ("namespace" name) -> ::String
421
+ | ("user_id" name) -> ::String
422
+ | ("access" name) -> ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess?
423
+ | ("resource_version" name) -> ::String
424
+ | ("async_operation_id" name) -> ::String
425
+
426
+ def []=:
427
+ ("namespace" name, (::String | ::Symbol) value) -> void
428
+ | ("user_id" name, (::String | ::Symbol) value) -> void
429
+ | ("access" name, ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess? value) -> void
430
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
431
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
432
+ end
433
+
434
+ class SetUserNamespaceAccessResponse < ::Google::Protobuf::AbstractMessage
435
+
436
+ # The async operation
437
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
438
+ def has_async_operation?: () -> bool
439
+ def clear_async_operation: () -> void
440
+
441
+ type init_map = {
442
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
443
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
444
+ }
445
+
446
+ def initialize: (?init_map initial_value) -> void
447
+
448
+ def []:
449
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
450
+
451
+ def []=:
452
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
453
+ end
454
+
455
+ class GetAsyncOperationRequest < ::Google::Protobuf::AbstractMessage
456
+
457
+ # The id of the async operation to get
458
+ attr_reader async_operation_id(): ::String
459
+ attr_writer async_operation_id(): ::String | ::Symbol
460
+ def clear_async_operation_id: () -> void
461
+
462
+ type init_map = {
463
+ async_operation_id: (::String | ::Symbol)?,
464
+ "async_operation_id" => (::String | ::Symbol)?,
465
+ }
466
+
467
+ def initialize: (?init_map initial_value) -> void
468
+
469
+ def []:
470
+ ("async_operation_id" name) -> ::String
471
+
472
+ def []=:
473
+ ("async_operation_id" name, (::String | ::Symbol) value) -> void
474
+ end
475
+
476
+ class GetAsyncOperationResponse < ::Google::Protobuf::AbstractMessage
477
+
478
+ # The async operation
479
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
480
+ def has_async_operation?: () -> bool
481
+ def clear_async_operation: () -> void
482
+
483
+ type init_map = {
484
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
485
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
486
+ }
487
+
488
+ def initialize: (?init_map initial_value) -> void
489
+
490
+ def []:
491
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
492
+
493
+ def []=:
494
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
495
+ end
496
+
497
+ class CreateNamespaceRequest < ::Google::Protobuf::AbstractMessage
498
+
499
+ # The namespace specification.
500
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec?
501
+ def has_spec?: () -> bool
502
+ def clear_spec: () -> void
503
+
504
+ # The id to use for this async operation.
505
+ # Optional, if not provided a random id will be generated.
506
+ attr_reader async_operation_id(): ::String
507
+ attr_writer async_operation_id(): ::String | ::Symbol
508
+ def clear_async_operation_id: () -> void
509
+
510
+ # The tags to add to the namespace.
511
+ # Note: This field can be set by global admins or account owners only.
512
+ attr_accessor tags(): ::Google::Protobuf::Map[::String, ::String]
513
+ def clear_tags: () -> void
514
+
515
+ type init_map = {
516
+ spec: (::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec::init_map)?,
517
+ "spec" => (::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec::init_map)?,
518
+ async_operation_id: (::String | ::Symbol)?,
519
+ "async_operation_id" => (::String | ::Symbol)?,
520
+ tags: ::Hash[::String | ::Symbol, ::String | ::Symbol]?,
521
+ "tags" => ::Hash[::String | ::Symbol, ::String | ::Symbol]?,
522
+ }
523
+
524
+ def initialize: (?init_map initial_value) -> void
525
+
526
+ def []:
527
+ ("spec" name) -> ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec?
528
+ | ("async_operation_id" name) -> ::String
529
+ | ("tags" name) -> (::Google::Protobuf::Map[::String, ::String])
530
+
531
+ def []=:
532
+ ("spec" name, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec? value) -> void
533
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
534
+ | ("tags" name, (::Google::Protobuf::Map[::String, ::String]) value) -> void
535
+ end
536
+
537
+ class CreateNamespaceResponse < ::Google::Protobuf::AbstractMessage
538
+
539
+ # The namespace that was created.
540
+ attr_reader namespace(): ::String
541
+ attr_writer namespace(): ::String | ::Symbol
542
+ def clear_namespace: () -> void
543
+
544
+ # The async operation.
545
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
546
+ def has_async_operation?: () -> bool
547
+ def clear_async_operation: () -> void
548
+
549
+ type init_map = {
550
+ namespace: (::String | ::Symbol)?,
551
+ "namespace" => (::String | ::Symbol)?,
552
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
553
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
554
+ }
555
+
556
+ def initialize: (?init_map initial_value) -> void
557
+
558
+ def []:
559
+ ("namespace" name) -> ::String
560
+ | ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
561
+
562
+ def []=:
563
+ ("namespace" name, (::String | ::Symbol) value) -> void
564
+ | ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
565
+ end
566
+
567
+ class GetNamespacesRequest < ::Google::Protobuf::AbstractMessage
568
+
569
+ # The requested size of the page to retrieve.
570
+ # Cannot exceed 1000.
571
+ # Optional, defaults to 100.
572
+ attr_reader page_size(): ::Integer
573
+ attr_writer page_size(): ::Integer | ::Float
574
+ def clear_page_size: () -> void
575
+
576
+ # The page token if this is continuing from another response.
577
+ # Optional, defaults to empty.
578
+ attr_reader page_token(): ::String
579
+ attr_writer page_token(): ::String | ::Symbol
580
+ def clear_page_token: () -> void
581
+
582
+ # Filter namespaces by their name.
583
+ # Optional, defaults to empty.
584
+ attr_reader name(): ::String
585
+ attr_writer name(): ::String | ::Symbol
586
+ def clear_name: () -> void
587
+
588
+ type init_map = {
589
+ page_size: (::Integer | ::Float)?,
590
+ "page_size" => (::Integer | ::Float)?,
591
+ page_token: (::String | ::Symbol)?,
592
+ "page_token" => (::String | ::Symbol)?,
593
+ name: (::String | ::Symbol)?,
594
+ "name" => (::String | ::Symbol)?,
595
+ }
596
+
597
+ def initialize: (?init_map initial_value) -> void
598
+
599
+ def []:
600
+ ("page_size" name) -> ::Integer
601
+ | ("page_token" name) -> ::String
602
+ | ("name" name) -> ::String
603
+
604
+ def []=:
605
+ ("page_size" name, (::Integer | ::Float) value) -> void
606
+ | ("page_token" name, (::String | ::Symbol) value) -> void
607
+ | ("name" name, (::String | ::Symbol) value) -> void
608
+ end
609
+
610
+ class GetNamespacesResponse < ::Google::Protobuf::AbstractMessage
611
+
612
+ # The list of namespaces in ascending name order.
613
+ attr_accessor namespaces(): ::Google::Protobuf::RepeatedField
614
+ def clear_namespaces: () -> void
615
+
616
+ # The next page's token.
617
+ attr_reader next_page_token(): ::String
618
+ attr_writer next_page_token(): ::String | ::Symbol
619
+ def clear_next_page_token: () -> void
620
+
621
+ type init_map = {
622
+ namespaces: ::Array[::Temporalio::Api::Cloud::Namespace::V1::Namespace]?,
623
+ "namespaces" => ::Array[::Temporalio::Api::Cloud::Namespace::V1::Namespace]?,
624
+ next_page_token: (::String | ::Symbol)?,
625
+ "next_page_token" => (::String | ::Symbol)?,
626
+ }
627
+
628
+ def initialize: (?init_map initial_value) -> void
629
+
630
+ def []:
631
+ ("namespaces" name) -> ::Google::Protobuf::RepeatedField
632
+ | ("next_page_token" name) -> ::String
633
+
634
+ def []=:
635
+ ("namespaces" name, ::Google::Protobuf::RepeatedField value) -> void
636
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
637
+ end
638
+
639
+ class GetNamespaceRequest < ::Google::Protobuf::AbstractMessage
640
+
641
+ # The namespace to get.
642
+ attr_reader namespace(): ::String
643
+ attr_writer namespace(): ::String | ::Symbol
644
+ def clear_namespace: () -> void
645
+
646
+ type init_map = {
647
+ namespace: (::String | ::Symbol)?,
648
+ "namespace" => (::String | ::Symbol)?,
649
+ }
650
+
651
+ def initialize: (?init_map initial_value) -> void
652
+
653
+ def []:
654
+ ("namespace" name) -> ::String
655
+
656
+ def []=:
657
+ ("namespace" name, (::String | ::Symbol) value) -> void
658
+ end
659
+
660
+ class GetNamespaceResponse < ::Google::Protobuf::AbstractMessage
661
+
662
+ # The namespace.
663
+ attr_accessor namespace(): ::Temporalio::Api::Cloud::Namespace::V1::Namespace?
664
+ def has_namespace?: () -> bool
665
+ def clear_namespace: () -> void
666
+
667
+ type init_map = {
668
+ namespace: (::Temporalio::Api::Cloud::Namespace::V1::Namespace | ::Temporalio::Api::Cloud::Namespace::V1::Namespace::init_map)?,
669
+ "namespace" => (::Temporalio::Api::Cloud::Namespace::V1::Namespace | ::Temporalio::Api::Cloud::Namespace::V1::Namespace::init_map)?,
670
+ }
671
+
672
+ def initialize: (?init_map initial_value) -> void
673
+
674
+ def []:
675
+ ("namespace" name) -> ::Temporalio::Api::Cloud::Namespace::V1::Namespace?
676
+
677
+ def []=:
678
+ ("namespace" name, ::Temporalio::Api::Cloud::Namespace::V1::Namespace? value) -> void
679
+ end
680
+
681
+ class UpdateNamespaceRequest < ::Google::Protobuf::AbstractMessage
682
+
683
+ # The namespace to update.
684
+ attr_reader namespace(): ::String
685
+ attr_writer namespace(): ::String | ::Symbol
686
+ def clear_namespace: () -> void
687
+
688
+ # The new namespace specification.
689
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec?
690
+ def has_spec?: () -> bool
691
+ def clear_spec: () -> void
692
+
693
+ # The version of the namespace for which this update is intended for.
694
+ # The latest version can be found in the namespace status.
695
+ attr_reader resource_version(): ::String
696
+ attr_writer resource_version(): ::String | ::Symbol
697
+ def clear_resource_version: () -> void
698
+
699
+ # The id to use for this async operation.
700
+ # Optional, if not provided a random id will be generated.
701
+ attr_reader async_operation_id(): ::String
702
+ attr_writer async_operation_id(): ::String | ::Symbol
703
+ def clear_async_operation_id: () -> void
704
+
705
+ type init_map = {
706
+ namespace: (::String | ::Symbol)?,
707
+ "namespace" => (::String | ::Symbol)?,
708
+ spec: (::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec::init_map)?,
709
+ "spec" => (::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec::init_map)?,
710
+ resource_version: (::String | ::Symbol)?,
711
+ "resource_version" => (::String | ::Symbol)?,
712
+ async_operation_id: (::String | ::Symbol)?,
713
+ "async_operation_id" => (::String | ::Symbol)?,
714
+ }
715
+
716
+ def initialize: (?init_map initial_value) -> void
717
+
718
+ def []:
719
+ ("namespace" name) -> ::String
720
+ | ("spec" name) -> ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec?
721
+ | ("resource_version" name) -> ::String
722
+ | ("async_operation_id" name) -> ::String
723
+
724
+ def []=:
725
+ ("namespace" name, (::String | ::Symbol) value) -> void
726
+ | ("spec" name, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec? value) -> void
727
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
728
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
729
+ end
730
+
731
+ class UpdateNamespaceResponse < ::Google::Protobuf::AbstractMessage
732
+
733
+ # The async operation.
734
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
735
+ def has_async_operation?: () -> bool
736
+ def clear_async_operation: () -> void
737
+
738
+ type init_map = {
739
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
740
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
741
+ }
742
+
743
+ def initialize: (?init_map initial_value) -> void
744
+
745
+ def []:
746
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
747
+
748
+ def []=:
749
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
750
+ end
751
+
752
+ class RenameCustomSearchAttributeRequest < ::Google::Protobuf::AbstractMessage
753
+
754
+ # The namespace to rename the custom search attribute for.
755
+ attr_reader namespace(): ::String
756
+ attr_writer namespace(): ::String | ::Symbol
757
+ def clear_namespace: () -> void
758
+
759
+ # The existing name of the custom search attribute to be renamed.
760
+ attr_reader existing_custom_search_attribute_name(): ::String
761
+ attr_writer existing_custom_search_attribute_name(): ::String | ::Symbol
762
+ def clear_existing_custom_search_attribute_name: () -> void
763
+
764
+ # The new name of the custom search attribute.
765
+ attr_reader new_custom_search_attribute_name(): ::String
766
+ attr_writer new_custom_search_attribute_name(): ::String | ::Symbol
767
+ def clear_new_custom_search_attribute_name: () -> void
768
+
769
+ # The version of the namespace for which this update is intended for.
770
+ # The latest version can be found in the namespace status.
771
+ attr_reader resource_version(): ::String
772
+ attr_writer resource_version(): ::String | ::Symbol
773
+ def clear_resource_version: () -> void
774
+
775
+ # The id to use for this async operation.
776
+ # Optional, if not provided a random id will be generated.
777
+ attr_reader async_operation_id(): ::String
778
+ attr_writer async_operation_id(): ::String | ::Symbol
779
+ def clear_async_operation_id: () -> void
780
+
781
+ type init_map = {
782
+ namespace: (::String | ::Symbol)?,
783
+ "namespace" => (::String | ::Symbol)?,
784
+ existing_custom_search_attribute_name: (::String | ::Symbol)?,
785
+ "existing_custom_search_attribute_name" => (::String | ::Symbol)?,
786
+ new_custom_search_attribute_name: (::String | ::Symbol)?,
787
+ "new_custom_search_attribute_name" => (::String | ::Symbol)?,
788
+ resource_version: (::String | ::Symbol)?,
789
+ "resource_version" => (::String | ::Symbol)?,
790
+ async_operation_id: (::String | ::Symbol)?,
791
+ "async_operation_id" => (::String | ::Symbol)?,
792
+ }
793
+
794
+ def initialize: (?init_map initial_value) -> void
795
+
796
+ def []:
797
+ ("namespace" name) -> ::String
798
+ | ("existing_custom_search_attribute_name" name) -> ::String
799
+ | ("new_custom_search_attribute_name" name) -> ::String
800
+ | ("resource_version" name) -> ::String
801
+ | ("async_operation_id" name) -> ::String
802
+
803
+ def []=:
804
+ ("namespace" name, (::String | ::Symbol) value) -> void
805
+ | ("existing_custom_search_attribute_name" name, (::String | ::Symbol) value) -> void
806
+ | ("new_custom_search_attribute_name" name, (::String | ::Symbol) value) -> void
807
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
808
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
809
+ end
810
+
811
+ class RenameCustomSearchAttributeResponse < ::Google::Protobuf::AbstractMessage
812
+
813
+ # The async operation.
814
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
815
+ def has_async_operation?: () -> bool
816
+ def clear_async_operation: () -> void
817
+
818
+ type init_map = {
819
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
820
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
821
+ }
822
+
823
+ def initialize: (?init_map initial_value) -> void
824
+
825
+ def []:
826
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
827
+
828
+ def []=:
829
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
830
+ end
831
+
832
+ class DeleteNamespaceRequest < ::Google::Protobuf::AbstractMessage
833
+
834
+ # The namespace to delete.
835
+ attr_reader namespace(): ::String
836
+ attr_writer namespace(): ::String | ::Symbol
837
+ def clear_namespace: () -> void
838
+
839
+ # The version of the namespace for which this delete is intended for.
840
+ # The latest version can be found in the namespace status.
841
+ attr_reader resource_version(): ::String
842
+ attr_writer resource_version(): ::String | ::Symbol
843
+ def clear_resource_version: () -> void
844
+
845
+ # The id to use for this async operation.
846
+ # Optional, if not provided a random id will be generated.
847
+ attr_reader async_operation_id(): ::String
848
+ attr_writer async_operation_id(): ::String | ::Symbol
849
+ def clear_async_operation_id: () -> void
850
+
851
+ type init_map = {
852
+ namespace: (::String | ::Symbol)?,
853
+ "namespace" => (::String | ::Symbol)?,
854
+ resource_version: (::String | ::Symbol)?,
855
+ "resource_version" => (::String | ::Symbol)?,
856
+ async_operation_id: (::String | ::Symbol)?,
857
+ "async_operation_id" => (::String | ::Symbol)?,
858
+ }
859
+
860
+ def initialize: (?init_map initial_value) -> void
861
+
862
+ def []:
863
+ ("namespace" name) -> ::String
864
+ | ("resource_version" name) -> ::String
865
+ | ("async_operation_id" name) -> ::String
866
+
867
+ def []=:
868
+ ("namespace" name, (::String | ::Symbol) value) -> void
869
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
870
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
871
+ end
872
+
873
+ class DeleteNamespaceResponse < ::Google::Protobuf::AbstractMessage
874
+
875
+ # The async operation.
876
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
877
+ def has_async_operation?: () -> bool
878
+ def clear_async_operation: () -> void
879
+
880
+ type init_map = {
881
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
882
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
883
+ }
884
+
885
+ def initialize: (?init_map initial_value) -> void
886
+
887
+ def []:
888
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
889
+
890
+ def []=:
891
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
892
+ end
893
+
894
+ class FailoverNamespaceRegionRequest < ::Google::Protobuf::AbstractMessage
895
+
896
+ # The namespace to failover.
897
+ attr_reader namespace(): ::String
898
+ attr_writer namespace(): ::String | ::Symbol
899
+ def clear_namespace: () -> void
900
+
901
+ # The id of the region to failover to.
902
+ # Must be a region that the namespace is currently available in.
903
+ attr_reader region(): ::String
904
+ attr_writer region(): ::String | ::Symbol
905
+ def clear_region: () -> void
906
+
907
+ # The id to use for this async operation - optional.
908
+ attr_reader async_operation_id(): ::String
909
+ attr_writer async_operation_id(): ::String | ::Symbol
910
+ def clear_async_operation_id: () -> void
911
+
912
+ type init_map = {
913
+ namespace: (::String | ::Symbol)?,
914
+ "namespace" => (::String | ::Symbol)?,
915
+ region: (::String | ::Symbol)?,
916
+ "region" => (::String | ::Symbol)?,
917
+ async_operation_id: (::String | ::Symbol)?,
918
+ "async_operation_id" => (::String | ::Symbol)?,
919
+ }
920
+
921
+ def initialize: (?init_map initial_value) -> void
922
+
923
+ def []:
924
+ ("namespace" name) -> ::String
925
+ | ("region" name) -> ::String
926
+ | ("async_operation_id" name) -> ::String
927
+
928
+ def []=:
929
+ ("namespace" name, (::String | ::Symbol) value) -> void
930
+ | ("region" name, (::String | ::Symbol) value) -> void
931
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
932
+ end
933
+
934
+ class FailoverNamespaceRegionResponse < ::Google::Protobuf::AbstractMessage
935
+
936
+ # The async operation.
937
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
938
+ def has_async_operation?: () -> bool
939
+ def clear_async_operation: () -> void
940
+
941
+ type init_map = {
942
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
943
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
944
+ }
945
+
946
+ def initialize: (?init_map initial_value) -> void
947
+
948
+ def []:
949
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
950
+
951
+ def []=:
952
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
953
+ end
954
+
955
+ class AddNamespaceRegionRequest < ::Google::Protobuf::AbstractMessage
956
+
957
+ # The namespace to add the region to.
958
+ attr_reader namespace(): ::String
959
+ attr_writer namespace(): ::String | ::Symbol
960
+ def clear_namespace: () -> void
961
+
962
+ # The id of the standby region to add to the namespace.
963
+ # The GetRegions API can be used to get the list of valid region ids.
964
+ # Example: "aws-us-west-2".
965
+ attr_reader region(): ::String
966
+ attr_writer region(): ::String | ::Symbol
967
+ def clear_region: () -> void
968
+
969
+ # The version of the namespace for which this add region operation is intended for.
970
+ # The latest version can be found in the GetNamespace operation response.
971
+ attr_reader resource_version(): ::String
972
+ attr_writer resource_version(): ::String | ::Symbol
973
+ def clear_resource_version: () -> void
974
+
975
+ # The id to use for this async operation - optional.
976
+ attr_reader async_operation_id(): ::String
977
+ attr_writer async_operation_id(): ::String | ::Symbol
978
+ def clear_async_operation_id: () -> void
979
+
980
+ type init_map = {
981
+ namespace: (::String | ::Symbol)?,
982
+ "namespace" => (::String | ::Symbol)?,
983
+ region: (::String | ::Symbol)?,
984
+ "region" => (::String | ::Symbol)?,
985
+ resource_version: (::String | ::Symbol)?,
986
+ "resource_version" => (::String | ::Symbol)?,
987
+ async_operation_id: (::String | ::Symbol)?,
988
+ "async_operation_id" => (::String | ::Symbol)?,
989
+ }
990
+
991
+ def initialize: (?init_map initial_value) -> void
992
+
993
+ def []:
994
+ ("namespace" name) -> ::String
995
+ | ("region" name) -> ::String
996
+ | ("resource_version" name) -> ::String
997
+ | ("async_operation_id" name) -> ::String
998
+
999
+ def []=:
1000
+ ("namespace" name, (::String | ::Symbol) value) -> void
1001
+ | ("region" name, (::String | ::Symbol) value) -> void
1002
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
1003
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
1004
+ end
1005
+
1006
+ class AddNamespaceRegionResponse < ::Google::Protobuf::AbstractMessage
1007
+
1008
+ # The async operation.
1009
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
1010
+ def has_async_operation?: () -> bool
1011
+ def clear_async_operation: () -> void
1012
+
1013
+ type init_map = {
1014
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
1015
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
1016
+ }
1017
+
1018
+ def initialize: (?init_map initial_value) -> void
1019
+
1020
+ def []:
1021
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
1022
+
1023
+ def []=:
1024
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
1025
+ end
1026
+
1027
+ class DeleteNamespaceRegionRequest < ::Google::Protobuf::AbstractMessage
1028
+
1029
+ # The namespace to delete a region.
1030
+ attr_reader namespace(): ::String
1031
+ attr_writer namespace(): ::String | ::Symbol
1032
+ def clear_namespace: () -> void
1033
+
1034
+ # The id of the standby region to be deleted.
1035
+ # The GetRegions API can be used to get the list of valid region ids.
1036
+ # Example: "aws-us-west-2".
1037
+ attr_reader region(): ::String
1038
+ attr_writer region(): ::String | ::Symbol
1039
+ def clear_region: () -> void
1040
+
1041
+ # The version of the namespace for which this delete region operation is intended for.
1042
+ # The latest version can be found in the GetNamespace operation response.
1043
+ attr_reader resource_version(): ::String
1044
+ attr_writer resource_version(): ::String | ::Symbol
1045
+ def clear_resource_version: () -> void
1046
+
1047
+ # The id to use for this async operation - optional.
1048
+ attr_reader async_operation_id(): ::String
1049
+ attr_writer async_operation_id(): ::String | ::Symbol
1050
+ def clear_async_operation_id: () -> void
1051
+
1052
+ type init_map = {
1053
+ namespace: (::String | ::Symbol)?,
1054
+ "namespace" => (::String | ::Symbol)?,
1055
+ region: (::String | ::Symbol)?,
1056
+ "region" => (::String | ::Symbol)?,
1057
+ resource_version: (::String | ::Symbol)?,
1058
+ "resource_version" => (::String | ::Symbol)?,
1059
+ async_operation_id: (::String | ::Symbol)?,
1060
+ "async_operation_id" => (::String | ::Symbol)?,
1061
+ }
1062
+
1063
+ def initialize: (?init_map initial_value) -> void
1064
+
1065
+ def []:
1066
+ ("namespace" name) -> ::String
1067
+ | ("region" name) -> ::String
1068
+ | ("resource_version" name) -> ::String
1069
+ | ("async_operation_id" name) -> ::String
1070
+
1071
+ def []=:
1072
+ ("namespace" name, (::String | ::Symbol) value) -> void
1073
+ | ("region" name, (::String | ::Symbol) value) -> void
1074
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
1075
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
1076
+ end
1077
+
1078
+ class DeleteNamespaceRegionResponse < ::Google::Protobuf::AbstractMessage
1079
+
1080
+ # The async operation.
1081
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
1082
+ def has_async_operation?: () -> bool
1083
+ def clear_async_operation: () -> void
1084
+
1085
+ type init_map = {
1086
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
1087
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
1088
+ }
1089
+
1090
+ def initialize: (?init_map initial_value) -> void
1091
+
1092
+ def []:
1093
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
1094
+
1095
+ def []=:
1096
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
1097
+ end
1098
+
1099
+ class GetRegionsRequest < ::Google::Protobuf::AbstractMessage
1100
+
1101
+ type init_map = {
1102
+ }
1103
+
1104
+ def initialize: (?init_map initial_value) -> void
1105
+ end
1106
+
1107
+ class GetRegionsResponse < ::Google::Protobuf::AbstractMessage
1108
+
1109
+ # The temporal cloud regions.
1110
+ attr_accessor regions(): ::Google::Protobuf::RepeatedField
1111
+ def clear_regions: () -> void
1112
+
1113
+ type init_map = {
1114
+ regions: ::Array[::Temporalio::Api::Cloud::Region::V1::Region]?,
1115
+ "regions" => ::Array[::Temporalio::Api::Cloud::Region::V1::Region]?,
1116
+ }
1117
+
1118
+ def initialize: (?init_map initial_value) -> void
1119
+
1120
+ def []:
1121
+ ("regions" name) -> ::Google::Protobuf::RepeatedField
1122
+
1123
+ def []=:
1124
+ ("regions" name, ::Google::Protobuf::RepeatedField value) -> void
1125
+ end
1126
+
1127
+ class GetRegionRequest < ::Google::Protobuf::AbstractMessage
1128
+
1129
+ # The id of the region to get.
1130
+ attr_reader region(): ::String
1131
+ attr_writer region(): ::String | ::Symbol
1132
+ def clear_region: () -> void
1133
+
1134
+ type init_map = {
1135
+ region: (::String | ::Symbol)?,
1136
+ "region" => (::String | ::Symbol)?,
1137
+ }
1138
+
1139
+ def initialize: (?init_map initial_value) -> void
1140
+
1141
+ def []:
1142
+ ("region" name) -> ::String
1143
+
1144
+ def []=:
1145
+ ("region" name, (::String | ::Symbol) value) -> void
1146
+ end
1147
+
1148
+ class GetRegionResponse < ::Google::Protobuf::AbstractMessage
1149
+
1150
+ # The temporal cloud region.
1151
+ attr_accessor region(): ::Temporalio::Api::Cloud::Region::V1::Region?
1152
+ def has_region?: () -> bool
1153
+ def clear_region: () -> void
1154
+
1155
+ type init_map = {
1156
+ region: (::Temporalio::Api::Cloud::Region::V1::Region | ::Temporalio::Api::Cloud::Region::V1::Region::init_map)?,
1157
+ "region" => (::Temporalio::Api::Cloud::Region::V1::Region | ::Temporalio::Api::Cloud::Region::V1::Region::init_map)?,
1158
+ }
1159
+
1160
+ def initialize: (?init_map initial_value) -> void
1161
+
1162
+ def []:
1163
+ ("region" name) -> ::Temporalio::Api::Cloud::Region::V1::Region?
1164
+
1165
+ def []=:
1166
+ ("region" name, ::Temporalio::Api::Cloud::Region::V1::Region? value) -> void
1167
+ end
1168
+
1169
+ class GetApiKeysRequest < ::Google::Protobuf::AbstractMessage
1170
+
1171
+ # The requested size of the page to retrieve - optional.
1172
+ # Cannot exceed 1000. Defaults to 100.
1173
+ attr_reader page_size(): ::Integer
1174
+ attr_writer page_size(): ::Integer | ::Float
1175
+ def clear_page_size: () -> void
1176
+
1177
+ # The page token if this is continuing from another response - optional.
1178
+ attr_reader page_token(): ::String
1179
+ attr_writer page_token(): ::String | ::Symbol
1180
+ def clear_page_token: () -> void
1181
+
1182
+ # Filter api keys by owner id - optional.
1183
+ attr_reader owner_id(): ::String
1184
+ attr_writer owner_id(): ::String | ::Symbol
1185
+ def clear_owner_id: () -> void
1186
+
1187
+ # Filter api keys by owner type - optional.
1188
+ # Possible values: user, service-account
1189
+ # temporal:versioning:max_version=v0.3.0
1190
+ # @deprecated
1191
+ attr_reader owner_type_deprecated(): ::String
1192
+ attr_writer owner_type_deprecated(): ::String | ::Symbol
1193
+ def clear_owner_type_deprecated: () -> void
1194
+
1195
+ # Filter api keys by owner type - optional.
1196
+ # temporal:enums:replaces=owner_type_deprecated
1197
+ attr_reader owner_type(): ::Temporalio::Api::Cloud::Identity::V1::OwnerType::names | ::Integer
1198
+ attr_writer owner_type(): ::Temporalio::Api::Cloud::Identity::V1::OwnerType::names | ::Temporalio::Api::Cloud::Identity::V1::OwnerType::strings | ::Integer | ::Float
1199
+ attr_reader owner_type_const(): ::Integer
1200
+ def clear_owner_type: () -> void
1201
+
1202
+ type init_map = {
1203
+ page_size: (::Integer | ::Float)?,
1204
+ "page_size" => (::Integer | ::Float)?,
1205
+ page_token: (::String | ::Symbol)?,
1206
+ "page_token" => (::String | ::Symbol)?,
1207
+ owner_id: (::String | ::Symbol)?,
1208
+ "owner_id" => (::String | ::Symbol)?,
1209
+ owner_type_deprecated: (::String | ::Symbol)?,
1210
+ "owner_type_deprecated" => (::String | ::Symbol)?,
1211
+ owner_type: (::Temporalio::Api::Cloud::Identity::V1::OwnerType::names | ::Temporalio::Api::Cloud::Identity::V1::OwnerType::strings | ::Integer | ::Float)?,
1212
+ "owner_type" => (::Temporalio::Api::Cloud::Identity::V1::OwnerType::names | ::Temporalio::Api::Cloud::Identity::V1::OwnerType::strings | ::Integer | ::Float)?,
1213
+ }
1214
+
1215
+ def initialize: (?init_map initial_value) -> void
1216
+
1217
+ def []:
1218
+ ("page_size" name) -> ::Integer
1219
+ | ("page_token" name) -> ::String
1220
+ | ("owner_id" name) -> ::String
1221
+ | ("owner_type_deprecated" name) -> ::String
1222
+ | ("owner_type" name) -> (::Temporalio::Api::Cloud::Identity::V1::OwnerType::names | ::Integer)
1223
+
1224
+ def []=:
1225
+ ("page_size" name, (::Integer | ::Float) value) -> void
1226
+ | ("page_token" name, (::String | ::Symbol) value) -> void
1227
+ | ("owner_id" name, (::String | ::Symbol) value) -> void
1228
+ | ("owner_type_deprecated" name, (::String | ::Symbol) value) -> void
1229
+ | ("owner_type" name, (::Temporalio::Api::Cloud::Identity::V1::OwnerType::names | ::Temporalio::Api::Cloud::Identity::V1::OwnerType::strings | ::Integer | ::Float) value) -> void
1230
+ end
1231
+
1232
+ class GetApiKeysResponse < ::Google::Protobuf::AbstractMessage
1233
+
1234
+ # The list of api keys in ascending id order.
1235
+ attr_accessor api_keys(): ::Google::Protobuf::RepeatedField
1236
+ def clear_api_keys: () -> void
1237
+
1238
+ # The next page's token.
1239
+ attr_reader next_page_token(): ::String
1240
+ attr_writer next_page_token(): ::String | ::Symbol
1241
+ def clear_next_page_token: () -> void
1242
+
1243
+ type init_map = {
1244
+ api_keys: ::Array[::Temporalio::Api::Cloud::Identity::V1::ApiKey]?,
1245
+ "api_keys" => ::Array[::Temporalio::Api::Cloud::Identity::V1::ApiKey]?,
1246
+ next_page_token: (::String | ::Symbol)?,
1247
+ "next_page_token" => (::String | ::Symbol)?,
1248
+ }
1249
+
1250
+ def initialize: (?init_map initial_value) -> void
1251
+
1252
+ def []:
1253
+ ("api_keys" name) -> ::Google::Protobuf::RepeatedField
1254
+ | ("next_page_token" name) -> ::String
1255
+
1256
+ def []=:
1257
+ ("api_keys" name, ::Google::Protobuf::RepeatedField value) -> void
1258
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
1259
+ end
1260
+
1261
+ class GetApiKeyRequest < ::Google::Protobuf::AbstractMessage
1262
+
1263
+ # The id of the api key to get.
1264
+ attr_reader key_id(): ::String
1265
+ attr_writer key_id(): ::String | ::Symbol
1266
+ def clear_key_id: () -> void
1267
+
1268
+ type init_map = {
1269
+ key_id: (::String | ::Symbol)?,
1270
+ "key_id" => (::String | ::Symbol)?,
1271
+ }
1272
+
1273
+ def initialize: (?init_map initial_value) -> void
1274
+
1275
+ def []:
1276
+ ("key_id" name) -> ::String
1277
+
1278
+ def []=:
1279
+ ("key_id" name, (::String | ::Symbol) value) -> void
1280
+ end
1281
+
1282
+ class GetApiKeyResponse < ::Google::Protobuf::AbstractMessage
1283
+
1284
+ # The api key.
1285
+ attr_accessor api_key(): ::Temporalio::Api::Cloud::Identity::V1::ApiKey?
1286
+ def has_api_key?: () -> bool
1287
+ def clear_api_key: () -> void
1288
+
1289
+ type init_map = {
1290
+ api_key: (::Temporalio::Api::Cloud::Identity::V1::ApiKey | ::Temporalio::Api::Cloud::Identity::V1::ApiKey::init_map)?,
1291
+ "api_key" => (::Temporalio::Api::Cloud::Identity::V1::ApiKey | ::Temporalio::Api::Cloud::Identity::V1::ApiKey::init_map)?,
1292
+ }
1293
+
1294
+ def initialize: (?init_map initial_value) -> void
1295
+
1296
+ def []:
1297
+ ("api_key" name) -> ::Temporalio::Api::Cloud::Identity::V1::ApiKey?
1298
+
1299
+ def []=:
1300
+ ("api_key" name, ::Temporalio::Api::Cloud::Identity::V1::ApiKey? value) -> void
1301
+ end
1302
+
1303
+ class CreateApiKeyRequest < ::Google::Protobuf::AbstractMessage
1304
+
1305
+ # The spec for the api key to create.
1306
+ # Create api key only supports service-account owner type for now.
1307
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Identity::V1::ApiKeySpec?
1308
+ def has_spec?: () -> bool
1309
+ def clear_spec: () -> void
1310
+
1311
+ # The id to use for this async operation - optional.
1312
+ attr_reader async_operation_id(): ::String
1313
+ attr_writer async_operation_id(): ::String | ::Symbol
1314
+ def clear_async_operation_id: () -> void
1315
+
1316
+ type init_map = {
1317
+ spec: (::Temporalio::Api::Cloud::Identity::V1::ApiKeySpec | ::Temporalio::Api::Cloud::Identity::V1::ApiKeySpec::init_map)?,
1318
+ "spec" => (::Temporalio::Api::Cloud::Identity::V1::ApiKeySpec | ::Temporalio::Api::Cloud::Identity::V1::ApiKeySpec::init_map)?,
1319
+ async_operation_id: (::String | ::Symbol)?,
1320
+ "async_operation_id" => (::String | ::Symbol)?,
1321
+ }
1322
+
1323
+ def initialize: (?init_map initial_value) -> void
1324
+
1325
+ def []:
1326
+ ("spec" name) -> ::Temporalio::Api::Cloud::Identity::V1::ApiKeySpec?
1327
+ | ("async_operation_id" name) -> ::String
1328
+
1329
+ def []=:
1330
+ ("spec" name, ::Temporalio::Api::Cloud::Identity::V1::ApiKeySpec? value) -> void
1331
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
1332
+ end
1333
+
1334
+ class CreateApiKeyResponse < ::Google::Protobuf::AbstractMessage
1335
+
1336
+ # The id of the api key created.
1337
+ attr_reader key_id(): ::String
1338
+ attr_writer key_id(): ::String | ::Symbol
1339
+ def clear_key_id: () -> void
1340
+
1341
+ # The token of the api key created.
1342
+ # This is a secret and should be stored securely.
1343
+ # It will not be retrievable after this response.
1344
+ attr_reader token(): ::String
1345
+ attr_writer token(): ::String | ::Symbol
1346
+ def clear_token: () -> void
1347
+
1348
+ # The async operation.
1349
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
1350
+ def has_async_operation?: () -> bool
1351
+ def clear_async_operation: () -> void
1352
+
1353
+ type init_map = {
1354
+ key_id: (::String | ::Symbol)?,
1355
+ "key_id" => (::String | ::Symbol)?,
1356
+ token: (::String | ::Symbol)?,
1357
+ "token" => (::String | ::Symbol)?,
1358
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
1359
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
1360
+ }
1361
+
1362
+ def initialize: (?init_map initial_value) -> void
1363
+
1364
+ def []:
1365
+ ("key_id" name) -> ::String
1366
+ | ("token" name) -> ::String
1367
+ | ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
1368
+
1369
+ def []=:
1370
+ ("key_id" name, (::String | ::Symbol) value) -> void
1371
+ | ("token" name, (::String | ::Symbol) value) -> void
1372
+ | ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
1373
+ end
1374
+
1375
+ class UpdateApiKeyRequest < ::Google::Protobuf::AbstractMessage
1376
+
1377
+ # The id of the api key to update.
1378
+ attr_reader key_id(): ::String
1379
+ attr_writer key_id(): ::String | ::Symbol
1380
+ def clear_key_id: () -> void
1381
+
1382
+ # The new api key specification.
1383
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Identity::V1::ApiKeySpec?
1384
+ def has_spec?: () -> bool
1385
+ def clear_spec: () -> void
1386
+
1387
+ # The version of the api key for which this update is intended for.
1388
+ # The latest version can be found in the GetApiKey operation response.
1389
+ attr_reader resource_version(): ::String
1390
+ attr_writer resource_version(): ::String | ::Symbol
1391
+ def clear_resource_version: () -> void
1392
+
1393
+ # The id to use for this async operation - optional.
1394
+ attr_reader async_operation_id(): ::String
1395
+ attr_writer async_operation_id(): ::String | ::Symbol
1396
+ def clear_async_operation_id: () -> void
1397
+
1398
+ type init_map = {
1399
+ key_id: (::String | ::Symbol)?,
1400
+ "key_id" => (::String | ::Symbol)?,
1401
+ spec: (::Temporalio::Api::Cloud::Identity::V1::ApiKeySpec | ::Temporalio::Api::Cloud::Identity::V1::ApiKeySpec::init_map)?,
1402
+ "spec" => (::Temporalio::Api::Cloud::Identity::V1::ApiKeySpec | ::Temporalio::Api::Cloud::Identity::V1::ApiKeySpec::init_map)?,
1403
+ resource_version: (::String | ::Symbol)?,
1404
+ "resource_version" => (::String | ::Symbol)?,
1405
+ async_operation_id: (::String | ::Symbol)?,
1406
+ "async_operation_id" => (::String | ::Symbol)?,
1407
+ }
1408
+
1409
+ def initialize: (?init_map initial_value) -> void
1410
+
1411
+ def []:
1412
+ ("key_id" name) -> ::String
1413
+ | ("spec" name) -> ::Temporalio::Api::Cloud::Identity::V1::ApiKeySpec?
1414
+ | ("resource_version" name) -> ::String
1415
+ | ("async_operation_id" name) -> ::String
1416
+
1417
+ def []=:
1418
+ ("key_id" name, (::String | ::Symbol) value) -> void
1419
+ | ("spec" name, ::Temporalio::Api::Cloud::Identity::V1::ApiKeySpec? value) -> void
1420
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
1421
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
1422
+ end
1423
+
1424
+ class UpdateApiKeyResponse < ::Google::Protobuf::AbstractMessage
1425
+
1426
+ # The async operation.
1427
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
1428
+ def has_async_operation?: () -> bool
1429
+ def clear_async_operation: () -> void
1430
+
1431
+ type init_map = {
1432
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
1433
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
1434
+ }
1435
+
1436
+ def initialize: (?init_map initial_value) -> void
1437
+
1438
+ def []:
1439
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
1440
+
1441
+ def []=:
1442
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
1443
+ end
1444
+
1445
+ class DeleteApiKeyRequest < ::Google::Protobuf::AbstractMessage
1446
+
1447
+ # The id of the api key to delete.
1448
+ attr_reader key_id(): ::String
1449
+ attr_writer key_id(): ::String | ::Symbol
1450
+ def clear_key_id: () -> void
1451
+
1452
+ # The version of the api key for which this delete is intended for.
1453
+ # The latest version can be found in the GetApiKey operation response.
1454
+ attr_reader resource_version(): ::String
1455
+ attr_writer resource_version(): ::String | ::Symbol
1456
+ def clear_resource_version: () -> void
1457
+
1458
+ # The id to use for this async operation - optional.
1459
+ attr_reader async_operation_id(): ::String
1460
+ attr_writer async_operation_id(): ::String | ::Symbol
1461
+ def clear_async_operation_id: () -> void
1462
+
1463
+ type init_map = {
1464
+ key_id: (::String | ::Symbol)?,
1465
+ "key_id" => (::String | ::Symbol)?,
1466
+ resource_version: (::String | ::Symbol)?,
1467
+ "resource_version" => (::String | ::Symbol)?,
1468
+ async_operation_id: (::String | ::Symbol)?,
1469
+ "async_operation_id" => (::String | ::Symbol)?,
1470
+ }
1471
+
1472
+ def initialize: (?init_map initial_value) -> void
1473
+
1474
+ def []:
1475
+ ("key_id" name) -> ::String
1476
+ | ("resource_version" name) -> ::String
1477
+ | ("async_operation_id" name) -> ::String
1478
+
1479
+ def []=:
1480
+ ("key_id" name, (::String | ::Symbol) value) -> void
1481
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
1482
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
1483
+ end
1484
+
1485
+ class DeleteApiKeyResponse < ::Google::Protobuf::AbstractMessage
1486
+
1487
+ # The async operation.
1488
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
1489
+ def has_async_operation?: () -> bool
1490
+ def clear_async_operation: () -> void
1491
+
1492
+ type init_map = {
1493
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
1494
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
1495
+ }
1496
+
1497
+ def initialize: (?init_map initial_value) -> void
1498
+
1499
+ def []:
1500
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
1501
+
1502
+ def []=:
1503
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
1504
+ end
1505
+
1506
+ class GetNexusEndpointsRequest < ::Google::Protobuf::AbstractMessage
1507
+
1508
+ # The requested size of the page to retrieve - optional.
1509
+ # Cannot exceed 1000. Defaults to 100.
1510
+ attr_reader page_size(): ::Integer
1511
+ attr_writer page_size(): ::Integer | ::Float
1512
+ def clear_page_size: () -> void
1513
+
1514
+ # The page token if this is continuing from another response - optional.
1515
+ attr_reader page_token(): ::String
1516
+ attr_writer page_token(): ::String | ::Symbol
1517
+ def clear_page_token: () -> void
1518
+
1519
+ # optional, treated as an AND if specified
1520
+ attr_reader target_namespace_id(): ::String
1521
+ attr_writer target_namespace_id(): ::String | ::Symbol
1522
+ def clear_target_namespace_id: () -> void
1523
+
1524
+ # optional, treated as an AND if specified
1525
+ attr_reader target_task_queue(): ::String
1526
+ attr_writer target_task_queue(): ::String | ::Symbol
1527
+ def clear_target_task_queue: () -> void
1528
+
1529
+ # Filter endpoints by their name - optional, treated as an AND if specified. Specifying this will result in zero or one results.
1530
+ attr_reader name(): ::String
1531
+ attr_writer name(): ::String | ::Symbol
1532
+ def clear_name: () -> void
1533
+
1534
+ type init_map = {
1535
+ page_size: (::Integer | ::Float)?,
1536
+ "page_size" => (::Integer | ::Float)?,
1537
+ page_token: (::String | ::Symbol)?,
1538
+ "page_token" => (::String | ::Symbol)?,
1539
+ target_namespace_id: (::String | ::Symbol)?,
1540
+ "target_namespace_id" => (::String | ::Symbol)?,
1541
+ target_task_queue: (::String | ::Symbol)?,
1542
+ "target_task_queue" => (::String | ::Symbol)?,
1543
+ name: (::String | ::Symbol)?,
1544
+ "name" => (::String | ::Symbol)?,
1545
+ }
1546
+
1547
+ def initialize: (?init_map initial_value) -> void
1548
+
1549
+ def []:
1550
+ ("page_size" name) -> ::Integer
1551
+ | ("page_token" name) -> ::String
1552
+ | ("target_namespace_id" name) -> ::String
1553
+ | ("target_task_queue" name) -> ::String
1554
+ | ("name" name) -> ::String
1555
+
1556
+ def []=:
1557
+ ("page_size" name, (::Integer | ::Float) value) -> void
1558
+ | ("page_token" name, (::String | ::Symbol) value) -> void
1559
+ | ("target_namespace_id" name, (::String | ::Symbol) value) -> void
1560
+ | ("target_task_queue" name, (::String | ::Symbol) value) -> void
1561
+ | ("name" name, (::String | ::Symbol) value) -> void
1562
+ end
1563
+
1564
+ class GetNexusEndpointsResponse < ::Google::Protobuf::AbstractMessage
1565
+
1566
+ # The list of endpoints in ascending id order.
1567
+ attr_accessor endpoints(): ::Google::Protobuf::RepeatedField
1568
+ def clear_endpoints: () -> void
1569
+
1570
+ # The next page's token.
1571
+ attr_reader next_page_token(): ::String
1572
+ attr_writer next_page_token(): ::String | ::Symbol
1573
+ def clear_next_page_token: () -> void
1574
+
1575
+ type init_map = {
1576
+ endpoints: ::Array[::Temporalio::Api::Cloud::Nexus::V1::Endpoint]?,
1577
+ "endpoints" => ::Array[::Temporalio::Api::Cloud::Nexus::V1::Endpoint]?,
1578
+ next_page_token: (::String | ::Symbol)?,
1579
+ "next_page_token" => (::String | ::Symbol)?,
1580
+ }
1581
+
1582
+ def initialize: (?init_map initial_value) -> void
1583
+
1584
+ def []:
1585
+ ("endpoints" name) -> ::Google::Protobuf::RepeatedField
1586
+ | ("next_page_token" name) -> ::String
1587
+
1588
+ def []=:
1589
+ ("endpoints" name, ::Google::Protobuf::RepeatedField value) -> void
1590
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
1591
+ end
1592
+
1593
+ class GetNexusEndpointRequest < ::Google::Protobuf::AbstractMessage
1594
+
1595
+ # The id of the nexus endpoint to get.
1596
+ attr_reader endpoint_id(): ::String
1597
+ attr_writer endpoint_id(): ::String | ::Symbol
1598
+ def clear_endpoint_id: () -> void
1599
+
1600
+ type init_map = {
1601
+ endpoint_id: (::String | ::Symbol)?,
1602
+ "endpoint_id" => (::String | ::Symbol)?,
1603
+ }
1604
+
1605
+ def initialize: (?init_map initial_value) -> void
1606
+
1607
+ def []:
1608
+ ("endpoint_id" name) -> ::String
1609
+
1610
+ def []=:
1611
+ ("endpoint_id" name, (::String | ::Symbol) value) -> void
1612
+ end
1613
+
1614
+ class GetNexusEndpointResponse < ::Google::Protobuf::AbstractMessage
1615
+
1616
+ # The nexus endpoint.
1617
+ attr_accessor endpoint(): ::Temporalio::Api::Cloud::Nexus::V1::Endpoint?
1618
+ def has_endpoint?: () -> bool
1619
+ def clear_endpoint: () -> void
1620
+
1621
+ type init_map = {
1622
+ endpoint: (::Temporalio::Api::Cloud::Nexus::V1::Endpoint | ::Temporalio::Api::Cloud::Nexus::V1::Endpoint::init_map)?,
1623
+ "endpoint" => (::Temporalio::Api::Cloud::Nexus::V1::Endpoint | ::Temporalio::Api::Cloud::Nexus::V1::Endpoint::init_map)?,
1624
+ }
1625
+
1626
+ def initialize: (?init_map initial_value) -> void
1627
+
1628
+ def []:
1629
+ ("endpoint" name) -> ::Temporalio::Api::Cloud::Nexus::V1::Endpoint?
1630
+
1631
+ def []=:
1632
+ ("endpoint" name, ::Temporalio::Api::Cloud::Nexus::V1::Endpoint? value) -> void
1633
+ end
1634
+
1635
+ class CreateNexusEndpointRequest < ::Google::Protobuf::AbstractMessage
1636
+
1637
+ # The spec for the nexus endpoint.
1638
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Nexus::V1::EndpointSpec?
1639
+ def has_spec?: () -> bool
1640
+ def clear_spec: () -> void
1641
+
1642
+ # The id to use for this async operation - optional.
1643
+ attr_reader async_operation_id(): ::String
1644
+ attr_writer async_operation_id(): ::String | ::Symbol
1645
+ def clear_async_operation_id: () -> void
1646
+
1647
+ type init_map = {
1648
+ spec: (::Temporalio::Api::Cloud::Nexus::V1::EndpointSpec | ::Temporalio::Api::Cloud::Nexus::V1::EndpointSpec::init_map)?,
1649
+ "spec" => (::Temporalio::Api::Cloud::Nexus::V1::EndpointSpec | ::Temporalio::Api::Cloud::Nexus::V1::EndpointSpec::init_map)?,
1650
+ async_operation_id: (::String | ::Symbol)?,
1651
+ "async_operation_id" => (::String | ::Symbol)?,
1652
+ }
1653
+
1654
+ def initialize: (?init_map initial_value) -> void
1655
+
1656
+ def []:
1657
+ ("spec" name) -> ::Temporalio::Api::Cloud::Nexus::V1::EndpointSpec?
1658
+ | ("async_operation_id" name) -> ::String
1659
+
1660
+ def []=:
1661
+ ("spec" name, ::Temporalio::Api::Cloud::Nexus::V1::EndpointSpec? value) -> void
1662
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
1663
+ end
1664
+
1665
+ class CreateNexusEndpointResponse < ::Google::Protobuf::AbstractMessage
1666
+
1667
+ # The id of the endpoint that was created.
1668
+ attr_reader endpoint_id(): ::String
1669
+ attr_writer endpoint_id(): ::String | ::Symbol
1670
+ def clear_endpoint_id: () -> void
1671
+
1672
+ # The async operation.
1673
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
1674
+ def has_async_operation?: () -> bool
1675
+ def clear_async_operation: () -> void
1676
+
1677
+ type init_map = {
1678
+ endpoint_id: (::String | ::Symbol)?,
1679
+ "endpoint_id" => (::String | ::Symbol)?,
1680
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
1681
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
1682
+ }
1683
+
1684
+ def initialize: (?init_map initial_value) -> void
1685
+
1686
+ def []:
1687
+ ("endpoint_id" name) -> ::String
1688
+ | ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
1689
+
1690
+ def []=:
1691
+ ("endpoint_id" name, (::String | ::Symbol) value) -> void
1692
+ | ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
1693
+ end
1694
+
1695
+ class UpdateNexusEndpointRequest < ::Google::Protobuf::AbstractMessage
1696
+
1697
+ # The id of the nexus endpoint to update.
1698
+ attr_reader endpoint_id(): ::String
1699
+ attr_writer endpoint_id(): ::String | ::Symbol
1700
+ def clear_endpoint_id: () -> void
1701
+
1702
+ # The updated nexus endpoint specification.
1703
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Nexus::V1::EndpointSpec?
1704
+ def has_spec?: () -> bool
1705
+ def clear_spec: () -> void
1706
+
1707
+ # The version of the nexus endpoint for which this update is intended for.
1708
+ # The latest version can be found in the GetNexusEndpoint operation response.
1709
+ attr_reader resource_version(): ::String
1710
+ attr_writer resource_version(): ::String | ::Symbol
1711
+ def clear_resource_version: () -> void
1712
+
1713
+ # The id to use for this async operation - optional.
1714
+ attr_reader async_operation_id(): ::String
1715
+ attr_writer async_operation_id(): ::String | ::Symbol
1716
+ def clear_async_operation_id: () -> void
1717
+
1718
+ type init_map = {
1719
+ endpoint_id: (::String | ::Symbol)?,
1720
+ "endpoint_id" => (::String | ::Symbol)?,
1721
+ spec: (::Temporalio::Api::Cloud::Nexus::V1::EndpointSpec | ::Temporalio::Api::Cloud::Nexus::V1::EndpointSpec::init_map)?,
1722
+ "spec" => (::Temporalio::Api::Cloud::Nexus::V1::EndpointSpec | ::Temporalio::Api::Cloud::Nexus::V1::EndpointSpec::init_map)?,
1723
+ resource_version: (::String | ::Symbol)?,
1724
+ "resource_version" => (::String | ::Symbol)?,
1725
+ async_operation_id: (::String | ::Symbol)?,
1726
+ "async_operation_id" => (::String | ::Symbol)?,
1727
+ }
1728
+
1729
+ def initialize: (?init_map initial_value) -> void
1730
+
1731
+ def []:
1732
+ ("endpoint_id" name) -> ::String
1733
+ | ("spec" name) -> ::Temporalio::Api::Cloud::Nexus::V1::EndpointSpec?
1734
+ | ("resource_version" name) -> ::String
1735
+ | ("async_operation_id" name) -> ::String
1736
+
1737
+ def []=:
1738
+ ("endpoint_id" name, (::String | ::Symbol) value) -> void
1739
+ | ("spec" name, ::Temporalio::Api::Cloud::Nexus::V1::EndpointSpec? value) -> void
1740
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
1741
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
1742
+ end
1743
+
1744
+ class UpdateNexusEndpointResponse < ::Google::Protobuf::AbstractMessage
1745
+
1746
+ # The async operation.
1747
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
1748
+ def has_async_operation?: () -> bool
1749
+ def clear_async_operation: () -> void
1750
+
1751
+ type init_map = {
1752
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
1753
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
1754
+ }
1755
+
1756
+ def initialize: (?init_map initial_value) -> void
1757
+
1758
+ def []:
1759
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
1760
+
1761
+ def []=:
1762
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
1763
+ end
1764
+
1765
+ class DeleteNexusEndpointRequest < ::Google::Protobuf::AbstractMessage
1766
+
1767
+ # The id of the nexus endpoint to delete.
1768
+ attr_reader endpoint_id(): ::String
1769
+ attr_writer endpoint_id(): ::String | ::Symbol
1770
+ def clear_endpoint_id: () -> void
1771
+
1772
+ # The version of the endpoint for which this delete is intended for.
1773
+ # The latest version can be found in the GetNexusEndpoint operation response.
1774
+ attr_reader resource_version(): ::String
1775
+ attr_writer resource_version(): ::String | ::Symbol
1776
+ def clear_resource_version: () -> void
1777
+
1778
+ # The id to use for this async operation - optional.
1779
+ attr_reader async_operation_id(): ::String
1780
+ attr_writer async_operation_id(): ::String | ::Symbol
1781
+ def clear_async_operation_id: () -> void
1782
+
1783
+ type init_map = {
1784
+ endpoint_id: (::String | ::Symbol)?,
1785
+ "endpoint_id" => (::String | ::Symbol)?,
1786
+ resource_version: (::String | ::Symbol)?,
1787
+ "resource_version" => (::String | ::Symbol)?,
1788
+ async_operation_id: (::String | ::Symbol)?,
1789
+ "async_operation_id" => (::String | ::Symbol)?,
1790
+ }
1791
+
1792
+ def initialize: (?init_map initial_value) -> void
1793
+
1794
+ def []:
1795
+ ("endpoint_id" name) -> ::String
1796
+ | ("resource_version" name) -> ::String
1797
+ | ("async_operation_id" name) -> ::String
1798
+
1799
+ def []=:
1800
+ ("endpoint_id" name, (::String | ::Symbol) value) -> void
1801
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
1802
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
1803
+ end
1804
+
1805
+ class DeleteNexusEndpointResponse < ::Google::Protobuf::AbstractMessage
1806
+
1807
+ # The async operation
1808
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
1809
+ def has_async_operation?: () -> bool
1810
+ def clear_async_operation: () -> void
1811
+
1812
+ type init_map = {
1813
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
1814
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
1815
+ }
1816
+
1817
+ def initialize: (?init_map initial_value) -> void
1818
+
1819
+ def []:
1820
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
1821
+
1822
+ def []=:
1823
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
1824
+ end
1825
+
1826
+ class GetUserGroupsRequest < ::Google::Protobuf::AbstractMessage
1827
+ class GoogleGroupFilter < ::Google::Protobuf::AbstractMessage
1828
+
1829
+ # Filter groups by the google group email - optional.
1830
+ attr_reader email_address(): ::String
1831
+ attr_writer email_address(): ::String | ::Symbol
1832
+ def clear_email_address: () -> void
1833
+
1834
+ type init_map = {
1835
+ email_address: (::String | ::Symbol)?,
1836
+ "email_address" => (::String | ::Symbol)?,
1837
+ }
1838
+
1839
+ def initialize: (?init_map initial_value) -> void
1840
+
1841
+ def []:
1842
+ ("email_address" name) -> ::String
1843
+
1844
+ def []=:
1845
+ ("email_address" name, (::String | ::Symbol) value) -> void
1846
+ end
1847
+
1848
+ class SCIMGroupFilter < ::Google::Protobuf::AbstractMessage
1849
+
1850
+ # Filter groups by the SCIM IDP id - optional.
1851
+ attr_reader idp_id(): ::String
1852
+ attr_writer idp_id(): ::String | ::Symbol
1853
+ def clear_idp_id: () -> void
1854
+
1855
+ type init_map = {
1856
+ idp_id: (::String | ::Symbol)?,
1857
+ "idp_id" => (::String | ::Symbol)?,
1858
+ }
1859
+
1860
+ def initialize: (?init_map initial_value) -> void
1861
+
1862
+ def []:
1863
+ ("idp_id" name) -> ::String
1864
+
1865
+ def []=:
1866
+ ("idp_id" name, (::String | ::Symbol) value) -> void
1867
+ end
1868
+
1869
+ # The requested size of the page to retrieve - optional.
1870
+ # Cannot exceed 1000. Defaults to 100.
1871
+ attr_reader page_size(): ::Integer
1872
+ attr_writer page_size(): ::Integer | ::Float
1873
+ def clear_page_size: () -> void
1874
+
1875
+ # The page token if this is continuing from another response - optional.
1876
+ attr_reader page_token(): ::String
1877
+ attr_writer page_token(): ::String | ::Symbol
1878
+ def clear_page_token: () -> void
1879
+
1880
+ # Filter groups by the namespace they have access to - optional.
1881
+ attr_reader namespace(): ::String
1882
+ attr_writer namespace(): ::String | ::Symbol
1883
+ def clear_namespace: () -> void
1884
+
1885
+ # Filter groups by the display name - optional.
1886
+ attr_reader display_name(): ::String
1887
+ attr_writer display_name(): ::String | ::Symbol
1888
+ def clear_display_name: () -> void
1889
+
1890
+ # Filter groups by the google group specification - optional.
1891
+ attr_accessor google_group(): ::Temporalio::Api::Cloud::CloudService::V1::GetUserGroupsRequest::GoogleGroupFilter?
1892
+ def has_google_group?: () -> bool
1893
+ def clear_google_group: () -> void
1894
+
1895
+ # Filter groups by the SCIM group specification - optional.
1896
+ attr_accessor scim_group(): ::Temporalio::Api::Cloud::CloudService::V1::GetUserGroupsRequest::SCIMGroupFilter?
1897
+ def has_scim_group?: () -> bool
1898
+ def clear_scim_group: () -> void
1899
+
1900
+ type init_map = {
1901
+ page_size: (::Integer | ::Float)?,
1902
+ "page_size" => (::Integer | ::Float)?,
1903
+ page_token: (::String | ::Symbol)?,
1904
+ "page_token" => (::String | ::Symbol)?,
1905
+ namespace: (::String | ::Symbol)?,
1906
+ "namespace" => (::String | ::Symbol)?,
1907
+ display_name: (::String | ::Symbol)?,
1908
+ "display_name" => (::String | ::Symbol)?,
1909
+ google_group: (::Temporalio::Api::Cloud::CloudService::V1::GetUserGroupsRequest::GoogleGroupFilter | ::Temporalio::Api::Cloud::CloudService::V1::GetUserGroupsRequest::GoogleGroupFilter::init_map)?,
1910
+ "google_group" => (::Temporalio::Api::Cloud::CloudService::V1::GetUserGroupsRequest::GoogleGroupFilter | ::Temporalio::Api::Cloud::CloudService::V1::GetUserGroupsRequest::GoogleGroupFilter::init_map)?,
1911
+ scim_group: (::Temporalio::Api::Cloud::CloudService::V1::GetUserGroupsRequest::SCIMGroupFilter | ::Temporalio::Api::Cloud::CloudService::V1::GetUserGroupsRequest::SCIMGroupFilter::init_map)?,
1912
+ "scim_group" => (::Temporalio::Api::Cloud::CloudService::V1::GetUserGroupsRequest::SCIMGroupFilter | ::Temporalio::Api::Cloud::CloudService::V1::GetUserGroupsRequest::SCIMGroupFilter::init_map)?,
1913
+ }
1914
+
1915
+ def initialize: (?init_map initial_value) -> void
1916
+
1917
+ def []:
1918
+ ("page_size" name) -> ::Integer
1919
+ | ("page_token" name) -> ::String
1920
+ | ("namespace" name) -> ::String
1921
+ | ("display_name" name) -> ::String
1922
+ | ("google_group" name) -> ::Temporalio::Api::Cloud::CloudService::V1::GetUserGroupsRequest::GoogleGroupFilter?
1923
+ | ("scim_group" name) -> ::Temporalio::Api::Cloud::CloudService::V1::GetUserGroupsRequest::SCIMGroupFilter?
1924
+
1925
+ def []=:
1926
+ ("page_size" name, (::Integer | ::Float) value) -> void
1927
+ | ("page_token" name, (::String | ::Symbol) value) -> void
1928
+ | ("namespace" name, (::String | ::Symbol) value) -> void
1929
+ | ("display_name" name, (::String | ::Symbol) value) -> void
1930
+ | ("google_group" name, ::Temporalio::Api::Cloud::CloudService::V1::GetUserGroupsRequest::GoogleGroupFilter? value) -> void
1931
+ | ("scim_group" name, ::Temporalio::Api::Cloud::CloudService::V1::GetUserGroupsRequest::SCIMGroupFilter? value) -> void
1932
+ end
1933
+
1934
+ class GetUserGroupsResponse < ::Google::Protobuf::AbstractMessage
1935
+
1936
+ # The list of groups in ascending name order.
1937
+ attr_accessor groups(): ::Google::Protobuf::RepeatedField
1938
+ def clear_groups: () -> void
1939
+
1940
+ # The next page's token.
1941
+ attr_reader next_page_token(): ::String
1942
+ attr_writer next_page_token(): ::String | ::Symbol
1943
+ def clear_next_page_token: () -> void
1944
+
1945
+ type init_map = {
1946
+ groups: ::Array[::Temporalio::Api::Cloud::Identity::V1::UserGroup]?,
1947
+ "groups" => ::Array[::Temporalio::Api::Cloud::Identity::V1::UserGroup]?,
1948
+ next_page_token: (::String | ::Symbol)?,
1949
+ "next_page_token" => (::String | ::Symbol)?,
1950
+ }
1951
+
1952
+ def initialize: (?init_map initial_value) -> void
1953
+
1954
+ def []:
1955
+ ("groups" name) -> ::Google::Protobuf::RepeatedField
1956
+ | ("next_page_token" name) -> ::String
1957
+
1958
+ def []=:
1959
+ ("groups" name, ::Google::Protobuf::RepeatedField value) -> void
1960
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
1961
+ end
1962
+
1963
+ class GetUserGroupRequest < ::Google::Protobuf::AbstractMessage
1964
+
1965
+ # The id of the group to get.
1966
+ attr_reader group_id(): ::String
1967
+ attr_writer group_id(): ::String | ::Symbol
1968
+ def clear_group_id: () -> void
1969
+
1970
+ type init_map = {
1971
+ group_id: (::String | ::Symbol)?,
1972
+ "group_id" => (::String | ::Symbol)?,
1973
+ }
1974
+
1975
+ def initialize: (?init_map initial_value) -> void
1976
+
1977
+ def []:
1978
+ ("group_id" name) -> ::String
1979
+
1980
+ def []=:
1981
+ ("group_id" name, (::String | ::Symbol) value) -> void
1982
+ end
1983
+
1984
+ class GetUserGroupResponse < ::Google::Protobuf::AbstractMessage
1985
+
1986
+ # The group.
1987
+ attr_accessor group(): ::Temporalio::Api::Cloud::Identity::V1::UserGroup?
1988
+ def has_group?: () -> bool
1989
+ def clear_group: () -> void
1990
+
1991
+ type init_map = {
1992
+ group: (::Temporalio::Api::Cloud::Identity::V1::UserGroup | ::Temporalio::Api::Cloud::Identity::V1::UserGroup::init_map)?,
1993
+ "group" => (::Temporalio::Api::Cloud::Identity::V1::UserGroup | ::Temporalio::Api::Cloud::Identity::V1::UserGroup::init_map)?,
1994
+ }
1995
+
1996
+ def initialize: (?init_map initial_value) -> void
1997
+
1998
+ def []:
1999
+ ("group" name) -> ::Temporalio::Api::Cloud::Identity::V1::UserGroup?
2000
+
2001
+ def []=:
2002
+ ("group" name, ::Temporalio::Api::Cloud::Identity::V1::UserGroup? value) -> void
2003
+ end
2004
+
2005
+ class CreateUserGroupRequest < ::Google::Protobuf::AbstractMessage
2006
+
2007
+ # The spec for the group to create.
2008
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Identity::V1::UserGroupSpec?
2009
+ def has_spec?: () -> bool
2010
+ def clear_spec: () -> void
2011
+
2012
+ # The id to use for this async operation.
2013
+ # Optional, if not provided a random id will be generated.
2014
+ attr_reader async_operation_id(): ::String
2015
+ attr_writer async_operation_id(): ::String | ::Symbol
2016
+ def clear_async_operation_id: () -> void
2017
+
2018
+ type init_map = {
2019
+ spec: (::Temporalio::Api::Cloud::Identity::V1::UserGroupSpec | ::Temporalio::Api::Cloud::Identity::V1::UserGroupSpec::init_map)?,
2020
+ "spec" => (::Temporalio::Api::Cloud::Identity::V1::UserGroupSpec | ::Temporalio::Api::Cloud::Identity::V1::UserGroupSpec::init_map)?,
2021
+ async_operation_id: (::String | ::Symbol)?,
2022
+ "async_operation_id" => (::String | ::Symbol)?,
2023
+ }
2024
+
2025
+ def initialize: (?init_map initial_value) -> void
2026
+
2027
+ def []:
2028
+ ("spec" name) -> ::Temporalio::Api::Cloud::Identity::V1::UserGroupSpec?
2029
+ | ("async_operation_id" name) -> ::String
2030
+
2031
+ def []=:
2032
+ ("spec" name, ::Temporalio::Api::Cloud::Identity::V1::UserGroupSpec? value) -> void
2033
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
2034
+ end
2035
+
2036
+ class CreateUserGroupResponse < ::Google::Protobuf::AbstractMessage
2037
+
2038
+ # The id of the group that was created.
2039
+ attr_reader group_id(): ::String
2040
+ attr_writer group_id(): ::String | ::Symbol
2041
+ def clear_group_id: () -> void
2042
+
2043
+ # The async operation.
2044
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
2045
+ def has_async_operation?: () -> bool
2046
+ def clear_async_operation: () -> void
2047
+
2048
+ type init_map = {
2049
+ group_id: (::String | ::Symbol)?,
2050
+ "group_id" => (::String | ::Symbol)?,
2051
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
2052
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
2053
+ }
2054
+
2055
+ def initialize: (?init_map initial_value) -> void
2056
+
2057
+ def []:
2058
+ ("group_id" name) -> ::String
2059
+ | ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
2060
+
2061
+ def []=:
2062
+ ("group_id" name, (::String | ::Symbol) value) -> void
2063
+ | ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
2064
+ end
2065
+
2066
+ class UpdateUserGroupRequest < ::Google::Protobuf::AbstractMessage
2067
+
2068
+ # The id of the group to update.
2069
+ attr_reader group_id(): ::String
2070
+ attr_writer group_id(): ::String | ::Symbol
2071
+ def clear_group_id: () -> void
2072
+
2073
+ # The new group specification.
2074
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Identity::V1::UserGroupSpec?
2075
+ def has_spec?: () -> bool
2076
+ def clear_spec: () -> void
2077
+
2078
+ # The version of the group for which this update is intended for.
2079
+ # The latest version can be found in the GetGroup operation response.
2080
+ attr_reader resource_version(): ::String
2081
+ attr_writer resource_version(): ::String | ::Symbol
2082
+ def clear_resource_version: () -> void
2083
+
2084
+ # The id to use for this async operation.
2085
+ # Optional, if not provided a random id will be generated.
2086
+ attr_reader async_operation_id(): ::String
2087
+ attr_writer async_operation_id(): ::String | ::Symbol
2088
+ def clear_async_operation_id: () -> void
2089
+
2090
+ type init_map = {
2091
+ group_id: (::String | ::Symbol)?,
2092
+ "group_id" => (::String | ::Symbol)?,
2093
+ spec: (::Temporalio::Api::Cloud::Identity::V1::UserGroupSpec | ::Temporalio::Api::Cloud::Identity::V1::UserGroupSpec::init_map)?,
2094
+ "spec" => (::Temporalio::Api::Cloud::Identity::V1::UserGroupSpec | ::Temporalio::Api::Cloud::Identity::V1::UserGroupSpec::init_map)?,
2095
+ resource_version: (::String | ::Symbol)?,
2096
+ "resource_version" => (::String | ::Symbol)?,
2097
+ async_operation_id: (::String | ::Symbol)?,
2098
+ "async_operation_id" => (::String | ::Symbol)?,
2099
+ }
2100
+
2101
+ def initialize: (?init_map initial_value) -> void
2102
+
2103
+ def []:
2104
+ ("group_id" name) -> ::String
2105
+ | ("spec" name) -> ::Temporalio::Api::Cloud::Identity::V1::UserGroupSpec?
2106
+ | ("resource_version" name) -> ::String
2107
+ | ("async_operation_id" name) -> ::String
2108
+
2109
+ def []=:
2110
+ ("group_id" name, (::String | ::Symbol) value) -> void
2111
+ | ("spec" name, ::Temporalio::Api::Cloud::Identity::V1::UserGroupSpec? value) -> void
2112
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
2113
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
2114
+ end
2115
+
2116
+ class UpdateUserGroupResponse < ::Google::Protobuf::AbstractMessage
2117
+
2118
+ # The async operation.
2119
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
2120
+ def has_async_operation?: () -> bool
2121
+ def clear_async_operation: () -> void
2122
+
2123
+ type init_map = {
2124
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
2125
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
2126
+ }
2127
+
2128
+ def initialize: (?init_map initial_value) -> void
2129
+
2130
+ def []:
2131
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
2132
+
2133
+ def []=:
2134
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
2135
+ end
2136
+
2137
+ class DeleteUserGroupRequest < ::Google::Protobuf::AbstractMessage
2138
+
2139
+ # The id of the group to delete.
2140
+ attr_reader group_id(): ::String
2141
+ attr_writer group_id(): ::String | ::Symbol
2142
+ def clear_group_id: () -> void
2143
+
2144
+ # The version of the group for which this delete is intended for.
2145
+ # The latest version can be found in the GetGroup operation response.
2146
+ attr_reader resource_version(): ::String
2147
+ attr_writer resource_version(): ::String | ::Symbol
2148
+ def clear_resource_version: () -> void
2149
+
2150
+ # The id to use for this async operation.
2151
+ # Optional, if not provided a random id will be generated.
2152
+ attr_reader async_operation_id(): ::String
2153
+ attr_writer async_operation_id(): ::String | ::Symbol
2154
+ def clear_async_operation_id: () -> void
2155
+
2156
+ type init_map = {
2157
+ group_id: (::String | ::Symbol)?,
2158
+ "group_id" => (::String | ::Symbol)?,
2159
+ resource_version: (::String | ::Symbol)?,
2160
+ "resource_version" => (::String | ::Symbol)?,
2161
+ async_operation_id: (::String | ::Symbol)?,
2162
+ "async_operation_id" => (::String | ::Symbol)?,
2163
+ }
2164
+
2165
+ def initialize: (?init_map initial_value) -> void
2166
+
2167
+ def []:
2168
+ ("group_id" name) -> ::String
2169
+ | ("resource_version" name) -> ::String
2170
+ | ("async_operation_id" name) -> ::String
2171
+
2172
+ def []=:
2173
+ ("group_id" name, (::String | ::Symbol) value) -> void
2174
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
2175
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
2176
+ end
2177
+
2178
+ class DeleteUserGroupResponse < ::Google::Protobuf::AbstractMessage
2179
+
2180
+ # The async operation.
2181
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
2182
+ def has_async_operation?: () -> bool
2183
+ def clear_async_operation: () -> void
2184
+
2185
+ type init_map = {
2186
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
2187
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
2188
+ }
2189
+
2190
+ def initialize: (?init_map initial_value) -> void
2191
+
2192
+ def []:
2193
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
2194
+
2195
+ def []=:
2196
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
2197
+ end
2198
+
2199
+ class SetUserGroupNamespaceAccessRequest < ::Google::Protobuf::AbstractMessage
2200
+
2201
+ # The namespace to set permissions for.
2202
+ attr_reader namespace(): ::String
2203
+ attr_writer namespace(): ::String | ::Symbol
2204
+ def clear_namespace: () -> void
2205
+
2206
+ # The id of the group to set permissions for.
2207
+ attr_reader group_id(): ::String
2208
+ attr_writer group_id(): ::String | ::Symbol
2209
+ def clear_group_id: () -> void
2210
+
2211
+ # The namespace access to assign the group. If left empty, the group will be removed from the namespace access.
2212
+ attr_accessor access(): ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess?
2213
+ def has_access?: () -> bool
2214
+ def clear_access: () -> void
2215
+
2216
+ # The version of the group for which this update is intended for.
2217
+ # The latest version can be found in the GetGroup operation response.
2218
+ attr_reader resource_version(): ::String
2219
+ attr_writer resource_version(): ::String | ::Symbol
2220
+ def clear_resource_version: () -> void
2221
+
2222
+ # The id to use for this async operation - optional.
2223
+ attr_reader async_operation_id(): ::String
2224
+ attr_writer async_operation_id(): ::String | ::Symbol
2225
+ def clear_async_operation_id: () -> void
2226
+
2227
+ type init_map = {
2228
+ namespace: (::String | ::Symbol)?,
2229
+ "namespace" => (::String | ::Symbol)?,
2230
+ group_id: (::String | ::Symbol)?,
2231
+ "group_id" => (::String | ::Symbol)?,
2232
+ access: (::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess | ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::init_map)?,
2233
+ "access" => (::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess | ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::init_map)?,
2234
+ resource_version: (::String | ::Symbol)?,
2235
+ "resource_version" => (::String | ::Symbol)?,
2236
+ async_operation_id: (::String | ::Symbol)?,
2237
+ "async_operation_id" => (::String | ::Symbol)?,
2238
+ }
2239
+
2240
+ def initialize: (?init_map initial_value) -> void
2241
+
2242
+ def []:
2243
+ ("namespace" name) -> ::String
2244
+ | ("group_id" name) -> ::String
2245
+ | ("access" name) -> ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess?
2246
+ | ("resource_version" name) -> ::String
2247
+ | ("async_operation_id" name) -> ::String
2248
+
2249
+ def []=:
2250
+ ("namespace" name, (::String | ::Symbol) value) -> void
2251
+ | ("group_id" name, (::String | ::Symbol) value) -> void
2252
+ | ("access" name, ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess? value) -> void
2253
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
2254
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
2255
+ end
2256
+
2257
+ class SetUserGroupNamespaceAccessResponse < ::Google::Protobuf::AbstractMessage
2258
+
2259
+ # The async operation.
2260
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
2261
+ def has_async_operation?: () -> bool
2262
+ def clear_async_operation: () -> void
2263
+
2264
+ type init_map = {
2265
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
2266
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
2267
+ }
2268
+
2269
+ def initialize: (?init_map initial_value) -> void
2270
+
2271
+ def []:
2272
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
2273
+
2274
+ def []=:
2275
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
2276
+ end
2277
+
2278
+ class AddUserGroupMemberRequest < ::Google::Protobuf::AbstractMessage
2279
+
2280
+ # The id of the group to add the member for.
2281
+ attr_reader group_id(): ::String
2282
+ attr_writer group_id(): ::String | ::Symbol
2283
+ def clear_group_id: () -> void
2284
+
2285
+ # The member id to add to the group.
2286
+ attr_accessor member_id(): ::Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId?
2287
+ def has_member_id?: () -> bool
2288
+ def clear_member_id: () -> void
2289
+
2290
+ # The id to use for this async operation.
2291
+ # Optional, if not provided a random id will be generated.
2292
+ attr_reader async_operation_id(): ::String
2293
+ attr_writer async_operation_id(): ::String | ::Symbol
2294
+ def clear_async_operation_id: () -> void
2295
+
2296
+ type init_map = {
2297
+ group_id: (::String | ::Symbol)?,
2298
+ "group_id" => (::String | ::Symbol)?,
2299
+ member_id: (::Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId | ::Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId::init_map)?,
2300
+ "member_id" => (::Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId | ::Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId::init_map)?,
2301
+ async_operation_id: (::String | ::Symbol)?,
2302
+ "async_operation_id" => (::String | ::Symbol)?,
2303
+ }
2304
+
2305
+ def initialize: (?init_map initial_value) -> void
2306
+
2307
+ def []:
2308
+ ("group_id" name) -> ::String
2309
+ | ("member_id" name) -> ::Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId?
2310
+ | ("async_operation_id" name) -> ::String
2311
+
2312
+ def []=:
2313
+ ("group_id" name, (::String | ::Symbol) value) -> void
2314
+ | ("member_id" name, ::Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId? value) -> void
2315
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
2316
+ end
2317
+
2318
+ class AddUserGroupMemberResponse < ::Google::Protobuf::AbstractMessage
2319
+
2320
+ # The async operation.
2321
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
2322
+ def has_async_operation?: () -> bool
2323
+ def clear_async_operation: () -> void
2324
+
2325
+ type init_map = {
2326
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
2327
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
2328
+ }
2329
+
2330
+ def initialize: (?init_map initial_value) -> void
2331
+
2332
+ def []:
2333
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
2334
+
2335
+ def []=:
2336
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
2337
+ end
2338
+
2339
+ class RemoveUserGroupMemberRequest < ::Google::Protobuf::AbstractMessage
2340
+
2341
+ # The id of the group to add the member for.
2342
+ attr_reader group_id(): ::String
2343
+ attr_writer group_id(): ::String | ::Symbol
2344
+ def clear_group_id: () -> void
2345
+
2346
+ # The member id to add to the group.
2347
+ attr_accessor member_id(): ::Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId?
2348
+ def has_member_id?: () -> bool
2349
+ def clear_member_id: () -> void
2350
+
2351
+ # The id to use for this async operation.
2352
+ # Optional, if not provided a random id will be generated.
2353
+ attr_reader async_operation_id(): ::String
2354
+ attr_writer async_operation_id(): ::String | ::Symbol
2355
+ def clear_async_operation_id: () -> void
2356
+
2357
+ type init_map = {
2358
+ group_id: (::String | ::Symbol)?,
2359
+ "group_id" => (::String | ::Symbol)?,
2360
+ member_id: (::Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId | ::Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId::init_map)?,
2361
+ "member_id" => (::Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId | ::Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId::init_map)?,
2362
+ async_operation_id: (::String | ::Symbol)?,
2363
+ "async_operation_id" => (::String | ::Symbol)?,
2364
+ }
2365
+
2366
+ def initialize: (?init_map initial_value) -> void
2367
+
2368
+ def []:
2369
+ ("group_id" name) -> ::String
2370
+ | ("member_id" name) -> ::Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId?
2371
+ | ("async_operation_id" name) -> ::String
2372
+
2373
+ def []=:
2374
+ ("group_id" name, (::String | ::Symbol) value) -> void
2375
+ | ("member_id" name, ::Temporalio::Api::Cloud::Identity::V1::UserGroupMemberId? value) -> void
2376
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
2377
+ end
2378
+
2379
+ class RemoveUserGroupMemberResponse < ::Google::Protobuf::AbstractMessage
2380
+
2381
+ # The async operation.
2382
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
2383
+ def has_async_operation?: () -> bool
2384
+ def clear_async_operation: () -> void
2385
+
2386
+ type init_map = {
2387
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
2388
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
2389
+ }
2390
+
2391
+ def initialize: (?init_map initial_value) -> void
2392
+
2393
+ def []:
2394
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
2395
+
2396
+ def []=:
2397
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
2398
+ end
2399
+
2400
+ class GetUserGroupMembersRequest < ::Google::Protobuf::AbstractMessage
2401
+
2402
+ # The requested size of the page to retrieve - optional.
2403
+ # Cannot exceed 1000. Defaults to 100.
2404
+ attr_reader page_size(): ::Integer
2405
+ attr_writer page_size(): ::Integer | ::Float
2406
+ def clear_page_size: () -> void
2407
+
2408
+ # The page token if this is continuing from another response - optional.
2409
+ attr_reader page_token(): ::String
2410
+ attr_writer page_token(): ::String | ::Symbol
2411
+ def clear_page_token: () -> void
2412
+
2413
+ # The group id to list members of.
2414
+ attr_reader group_id(): ::String
2415
+ attr_writer group_id(): ::String | ::Symbol
2416
+ def clear_group_id: () -> void
2417
+
2418
+ type init_map = {
2419
+ page_size: (::Integer | ::Float)?,
2420
+ "page_size" => (::Integer | ::Float)?,
2421
+ page_token: (::String | ::Symbol)?,
2422
+ "page_token" => (::String | ::Symbol)?,
2423
+ group_id: (::String | ::Symbol)?,
2424
+ "group_id" => (::String | ::Symbol)?,
2425
+ }
2426
+
2427
+ def initialize: (?init_map initial_value) -> void
2428
+
2429
+ def []:
2430
+ ("page_size" name) -> ::Integer
2431
+ | ("page_token" name) -> ::String
2432
+ | ("group_id" name) -> ::String
2433
+
2434
+ def []=:
2435
+ ("page_size" name, (::Integer | ::Float) value) -> void
2436
+ | ("page_token" name, (::String | ::Symbol) value) -> void
2437
+ | ("group_id" name, (::String | ::Symbol) value) -> void
2438
+ end
2439
+
2440
+ class GetUserGroupMembersResponse < ::Google::Protobuf::AbstractMessage
2441
+
2442
+ # The list of group members
2443
+ attr_accessor members(): ::Google::Protobuf::RepeatedField
2444
+ def clear_members: () -> void
2445
+
2446
+ # The next page's token.
2447
+ attr_reader next_page_token(): ::String
2448
+ attr_writer next_page_token(): ::String | ::Symbol
2449
+ def clear_next_page_token: () -> void
2450
+
2451
+ type init_map = {
2452
+ members: ::Array[::Temporalio::Api::Cloud::Identity::V1::UserGroupMember]?,
2453
+ "members" => ::Array[::Temporalio::Api::Cloud::Identity::V1::UserGroupMember]?,
2454
+ next_page_token: (::String | ::Symbol)?,
2455
+ "next_page_token" => (::String | ::Symbol)?,
2456
+ }
2457
+
2458
+ def initialize: (?init_map initial_value) -> void
2459
+
2460
+ def []:
2461
+ ("members" name) -> ::Google::Protobuf::RepeatedField
2462
+ | ("next_page_token" name) -> ::String
2463
+
2464
+ def []=:
2465
+ ("members" name, ::Google::Protobuf::RepeatedField value) -> void
2466
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
2467
+ end
2468
+
2469
+ class CreateServiceAccountRequest < ::Google::Protobuf::AbstractMessage
2470
+
2471
+ # The spec of the service account to create.
2472
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec?
2473
+ def has_spec?: () -> bool
2474
+ def clear_spec: () -> void
2475
+
2476
+ # The ID to use for this async operation - optional.
2477
+ attr_reader async_operation_id(): ::String
2478
+ attr_writer async_operation_id(): ::String | ::Symbol
2479
+ def clear_async_operation_id: () -> void
2480
+
2481
+ type init_map = {
2482
+ spec: (::Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec | ::Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec::init_map)?,
2483
+ "spec" => (::Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec | ::Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec::init_map)?,
2484
+ async_operation_id: (::String | ::Symbol)?,
2485
+ "async_operation_id" => (::String | ::Symbol)?,
2486
+ }
2487
+
2488
+ def initialize: (?init_map initial_value) -> void
2489
+
2490
+ def []:
2491
+ ("spec" name) -> ::Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec?
2492
+ | ("async_operation_id" name) -> ::String
2493
+
2494
+ def []=:
2495
+ ("spec" name, ::Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec? value) -> void
2496
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
2497
+ end
2498
+
2499
+ class CreateServiceAccountResponse < ::Google::Protobuf::AbstractMessage
2500
+
2501
+ # The ID of the created service account.
2502
+ attr_reader service_account_id(): ::String
2503
+ attr_writer service_account_id(): ::String | ::Symbol
2504
+ def clear_service_account_id: () -> void
2505
+
2506
+ # The async operation.
2507
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
2508
+ def has_async_operation?: () -> bool
2509
+ def clear_async_operation: () -> void
2510
+
2511
+ type init_map = {
2512
+ service_account_id: (::String | ::Symbol)?,
2513
+ "service_account_id" => (::String | ::Symbol)?,
2514
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
2515
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
2516
+ }
2517
+
2518
+ def initialize: (?init_map initial_value) -> void
2519
+
2520
+ def []:
2521
+ ("service_account_id" name) -> ::String
2522
+ | ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
2523
+
2524
+ def []=:
2525
+ ("service_account_id" name, (::String | ::Symbol) value) -> void
2526
+ | ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
2527
+ end
2528
+
2529
+ class GetServiceAccountRequest < ::Google::Protobuf::AbstractMessage
2530
+
2531
+ # ID of the service account to retrieve.
2532
+ attr_reader service_account_id(): ::String
2533
+ attr_writer service_account_id(): ::String | ::Symbol
2534
+ def clear_service_account_id: () -> void
2535
+
2536
+ type init_map = {
2537
+ service_account_id: (::String | ::Symbol)?,
2538
+ "service_account_id" => (::String | ::Symbol)?,
2539
+ }
2540
+
2541
+ def initialize: (?init_map initial_value) -> void
2542
+
2543
+ def []:
2544
+ ("service_account_id" name) -> ::String
2545
+
2546
+ def []=:
2547
+ ("service_account_id" name, (::String | ::Symbol) value) -> void
2548
+ end
2549
+
2550
+ class GetServiceAccountResponse < ::Google::Protobuf::AbstractMessage
2551
+
2552
+ # The service account retrieved.
2553
+ attr_accessor service_account(): ::Temporalio::Api::Cloud::Identity::V1::ServiceAccount?
2554
+ def has_service_account?: () -> bool
2555
+ def clear_service_account: () -> void
2556
+
2557
+ type init_map = {
2558
+ service_account: (::Temporalio::Api::Cloud::Identity::V1::ServiceAccount | ::Temporalio::Api::Cloud::Identity::V1::ServiceAccount::init_map)?,
2559
+ "service_account" => (::Temporalio::Api::Cloud::Identity::V1::ServiceAccount | ::Temporalio::Api::Cloud::Identity::V1::ServiceAccount::init_map)?,
2560
+ }
2561
+
2562
+ def initialize: (?init_map initial_value) -> void
2563
+
2564
+ def []:
2565
+ ("service_account" name) -> ::Temporalio::Api::Cloud::Identity::V1::ServiceAccount?
2566
+
2567
+ def []=:
2568
+ ("service_account" name, ::Temporalio::Api::Cloud::Identity::V1::ServiceAccount? value) -> void
2569
+ end
2570
+
2571
+ class GetServiceAccountsRequest < ::Google::Protobuf::AbstractMessage
2572
+
2573
+ # The requested size of the page to retrieve - optional.
2574
+ # Cannot exceed 1000. Defaults to 100.
2575
+ attr_reader page_size(): ::Integer
2576
+ attr_writer page_size(): ::Integer | ::Float
2577
+ def clear_page_size: () -> void
2578
+
2579
+ # The page token if this is continuing from another response - optional.
2580
+ attr_reader page_token(): ::String
2581
+ attr_writer page_token(): ::String | ::Symbol
2582
+ def clear_page_token: () -> void
2583
+
2584
+ type init_map = {
2585
+ page_size: (::Integer | ::Float)?,
2586
+ "page_size" => (::Integer | ::Float)?,
2587
+ page_token: (::String | ::Symbol)?,
2588
+ "page_token" => (::String | ::Symbol)?,
2589
+ }
2590
+
2591
+ def initialize: (?init_map initial_value) -> void
2592
+
2593
+ def []:
2594
+ ("page_size" name) -> ::Integer
2595
+ | ("page_token" name) -> ::String
2596
+
2597
+ def []=:
2598
+ ("page_size" name, (::Integer | ::Float) value) -> void
2599
+ | ("page_token" name, (::String | ::Symbol) value) -> void
2600
+ end
2601
+
2602
+ class GetServiceAccountsResponse < ::Google::Protobuf::AbstractMessage
2603
+
2604
+ # The list of service accounts in ascending ID order.
2605
+ attr_accessor service_account(): ::Google::Protobuf::RepeatedField
2606
+ def clear_service_account: () -> void
2607
+
2608
+ # The next page token, set if there is another page.
2609
+ attr_reader next_page_token(): ::String
2610
+ attr_writer next_page_token(): ::String | ::Symbol
2611
+ def clear_next_page_token: () -> void
2612
+
2613
+ type init_map = {
2614
+ service_account: ::Array[::Temporalio::Api::Cloud::Identity::V1::ServiceAccount]?,
2615
+ "service_account" => ::Array[::Temporalio::Api::Cloud::Identity::V1::ServiceAccount]?,
2616
+ next_page_token: (::String | ::Symbol)?,
2617
+ "next_page_token" => (::String | ::Symbol)?,
2618
+ }
2619
+
2620
+ def initialize: (?init_map initial_value) -> void
2621
+
2622
+ def []:
2623
+ ("service_account" name) -> ::Google::Protobuf::RepeatedField
2624
+ | ("next_page_token" name) -> ::String
2625
+
2626
+ def []=:
2627
+ ("service_account" name, ::Google::Protobuf::RepeatedField value) -> void
2628
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
2629
+ end
2630
+
2631
+ class UpdateServiceAccountRequest < ::Google::Protobuf::AbstractMessage
2632
+
2633
+ # The ID of the service account to update.
2634
+ attr_reader service_account_id(): ::String
2635
+ attr_writer service_account_id(): ::String | ::Symbol
2636
+ def clear_service_account_id: () -> void
2637
+
2638
+ # The new service account specification.
2639
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec?
2640
+ def has_spec?: () -> bool
2641
+ def clear_spec: () -> void
2642
+
2643
+ # The version of the service account for which this update is intended for.
2644
+ # The latest version can be found in the GetServiceAccount response.
2645
+ attr_reader resource_version(): ::String
2646
+ attr_writer resource_version(): ::String | ::Symbol
2647
+ def clear_resource_version: () -> void
2648
+
2649
+ # The ID to use for this async operation - optional.
2650
+ attr_reader async_operation_id(): ::String
2651
+ attr_writer async_operation_id(): ::String | ::Symbol
2652
+ def clear_async_operation_id: () -> void
2653
+
2654
+ type init_map = {
2655
+ service_account_id: (::String | ::Symbol)?,
2656
+ "service_account_id" => (::String | ::Symbol)?,
2657
+ spec: (::Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec | ::Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec::init_map)?,
2658
+ "spec" => (::Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec | ::Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec::init_map)?,
2659
+ resource_version: (::String | ::Symbol)?,
2660
+ "resource_version" => (::String | ::Symbol)?,
2661
+ async_operation_id: (::String | ::Symbol)?,
2662
+ "async_operation_id" => (::String | ::Symbol)?,
2663
+ }
2664
+
2665
+ def initialize: (?init_map initial_value) -> void
2666
+
2667
+ def []:
2668
+ ("service_account_id" name) -> ::String
2669
+ | ("spec" name) -> ::Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec?
2670
+ | ("resource_version" name) -> ::String
2671
+ | ("async_operation_id" name) -> ::String
2672
+
2673
+ def []=:
2674
+ ("service_account_id" name, (::String | ::Symbol) value) -> void
2675
+ | ("spec" name, ::Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec? value) -> void
2676
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
2677
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
2678
+ end
2679
+
2680
+ class UpdateServiceAccountResponse < ::Google::Protobuf::AbstractMessage
2681
+
2682
+ # The async operation.
2683
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
2684
+ def has_async_operation?: () -> bool
2685
+ def clear_async_operation: () -> void
2686
+
2687
+ type init_map = {
2688
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
2689
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
2690
+ }
2691
+
2692
+ def initialize: (?init_map initial_value) -> void
2693
+
2694
+ def []:
2695
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
2696
+
2697
+ def []=:
2698
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
2699
+ end
2700
+
2701
+ class SetServiceAccountNamespaceAccessRequest < ::Google::Protobuf::AbstractMessage
2702
+
2703
+ # The ID of the service account to update.
2704
+ attr_reader service_account_id(): ::String
2705
+ attr_writer service_account_id(): ::String | ::Symbol
2706
+ def clear_service_account_id: () -> void
2707
+
2708
+ # The namespace to set permissions for.
2709
+ attr_reader namespace(): ::String
2710
+ attr_writer namespace(): ::String | ::Symbol
2711
+ def clear_namespace: () -> void
2712
+
2713
+ # The namespace access to assign the service account.
2714
+ attr_accessor access(): ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess?
2715
+ def has_access?: () -> bool
2716
+ def clear_access: () -> void
2717
+
2718
+ # The version of the service account for which this update is intended for.
2719
+ # The latest version can be found in the GetServiceAccount response.
2720
+ attr_reader resource_version(): ::String
2721
+ attr_writer resource_version(): ::String | ::Symbol
2722
+ def clear_resource_version: () -> void
2723
+
2724
+ # The ID to use for this async operation - optional.
2725
+ attr_reader async_operation_id(): ::String
2726
+ attr_writer async_operation_id(): ::String | ::Symbol
2727
+ def clear_async_operation_id: () -> void
2728
+
2729
+ type init_map = {
2730
+ service_account_id: (::String | ::Symbol)?,
2731
+ "service_account_id" => (::String | ::Symbol)?,
2732
+ namespace: (::String | ::Symbol)?,
2733
+ "namespace" => (::String | ::Symbol)?,
2734
+ access: (::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess | ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::init_map)?,
2735
+ "access" => (::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess | ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::init_map)?,
2736
+ resource_version: (::String | ::Symbol)?,
2737
+ "resource_version" => (::String | ::Symbol)?,
2738
+ async_operation_id: (::String | ::Symbol)?,
2739
+ "async_operation_id" => (::String | ::Symbol)?,
2740
+ }
2741
+
2742
+ def initialize: (?init_map initial_value) -> void
2743
+
2744
+ def []:
2745
+ ("service_account_id" name) -> ::String
2746
+ | ("namespace" name) -> ::String
2747
+ | ("access" name) -> ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess?
2748
+ | ("resource_version" name) -> ::String
2749
+ | ("async_operation_id" name) -> ::String
2750
+
2751
+ def []=:
2752
+ ("service_account_id" name, (::String | ::Symbol) value) -> void
2753
+ | ("namespace" name, (::String | ::Symbol) value) -> void
2754
+ | ("access" name, ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess? value) -> void
2755
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
2756
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
2757
+ end
2758
+
2759
+ class SetServiceAccountNamespaceAccessResponse < ::Google::Protobuf::AbstractMessage
2760
+
2761
+ # The async operation.
2762
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
2763
+ def has_async_operation?: () -> bool
2764
+ def clear_async_operation: () -> void
2765
+
2766
+ type init_map = {
2767
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
2768
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
2769
+ }
2770
+
2771
+ def initialize: (?init_map initial_value) -> void
2772
+
2773
+ def []:
2774
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
2775
+
2776
+ def []=:
2777
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
2778
+ end
2779
+
2780
+ class DeleteServiceAccountRequest < ::Google::Protobuf::AbstractMessage
2781
+
2782
+ # The ID of the service account to delete;
2783
+ attr_reader service_account_id(): ::String
2784
+ attr_writer service_account_id(): ::String | ::Symbol
2785
+ def clear_service_account_id: () -> void
2786
+
2787
+ # The version of the service account for which this update is intended for.
2788
+ # The latest version can be found in the GetServiceAccount response.
2789
+ attr_reader resource_version(): ::String
2790
+ attr_writer resource_version(): ::String | ::Symbol
2791
+ def clear_resource_version: () -> void
2792
+
2793
+ # The ID to use for this async operation - optional.
2794
+ attr_reader async_operation_id(): ::String
2795
+ attr_writer async_operation_id(): ::String | ::Symbol
2796
+ def clear_async_operation_id: () -> void
2797
+
2798
+ type init_map = {
2799
+ service_account_id: (::String | ::Symbol)?,
2800
+ "service_account_id" => (::String | ::Symbol)?,
2801
+ resource_version: (::String | ::Symbol)?,
2802
+ "resource_version" => (::String | ::Symbol)?,
2803
+ async_operation_id: (::String | ::Symbol)?,
2804
+ "async_operation_id" => (::String | ::Symbol)?,
2805
+ }
2806
+
2807
+ def initialize: (?init_map initial_value) -> void
2808
+
2809
+ def []:
2810
+ ("service_account_id" name) -> ::String
2811
+ | ("resource_version" name) -> ::String
2812
+ | ("async_operation_id" name) -> ::String
2813
+
2814
+ def []=:
2815
+ ("service_account_id" name, (::String | ::Symbol) value) -> void
2816
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
2817
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
2818
+ end
2819
+
2820
+ class DeleteServiceAccountResponse < ::Google::Protobuf::AbstractMessage
2821
+
2822
+ # The async operation.
2823
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
2824
+ def has_async_operation?: () -> bool
2825
+ def clear_async_operation: () -> void
2826
+
2827
+ type init_map = {
2828
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
2829
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
2830
+ }
2831
+
2832
+ def initialize: (?init_map initial_value) -> void
2833
+
2834
+ def []:
2835
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
2836
+
2837
+ def []=:
2838
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
2839
+ end
2840
+
2841
+ class GetUsageRequest < ::Google::Protobuf::AbstractMessage
2842
+
2843
+ # Filter for UTC time >= - optional.
2844
+ # Defaults to: start of the current month.
2845
+ # Must be: within the last 90 days from the current date.
2846
+ # Must be: midnight UTC time.
2847
+ attr_reader start_time_inclusive(): ::Google::Protobuf::Timestamp?
2848
+ attr_writer start_time_inclusive(): (::Google::Protobuf::Timestamp | ::Time)?
2849
+ def has_start_time_inclusive?: () -> bool
2850
+ def clear_start_time_inclusive: () -> void
2851
+
2852
+ # Filter for UTC time < - optional.
2853
+ # Defaults to: start of the next UTC day.
2854
+ # Must be: within the last 90 days from the current date.
2855
+ # Must be: midnight UTC time.
2856
+ attr_reader end_time_exclusive(): ::Google::Protobuf::Timestamp?
2857
+ attr_writer end_time_exclusive(): (::Google::Protobuf::Timestamp | ::Time)?
2858
+ def has_end_time_exclusive?: () -> bool
2859
+ def clear_end_time_exclusive: () -> void
2860
+
2861
+ # The requested size of the page to retrieve - optional.
2862
+ # Each count corresponds to a single object - per day per namespace
2863
+ # Cannot exceed 1000. Defaults to 100.
2864
+ attr_reader page_size(): ::Integer
2865
+ attr_writer page_size(): ::Integer | ::Float
2866
+ def clear_page_size: () -> void
2867
+
2868
+ # The page token if this is continuing from another response - optional.
2869
+ attr_reader page_token(): ::String
2870
+ attr_writer page_token(): ::String | ::Symbol
2871
+ def clear_page_token: () -> void
2872
+
2873
+ type init_map = {
2874
+ start_time_inclusive: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
2875
+ "start_time_inclusive" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
2876
+ end_time_exclusive: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
2877
+ "end_time_exclusive" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
2878
+ page_size: (::Integer | ::Float)?,
2879
+ "page_size" => (::Integer | ::Float)?,
2880
+ page_token: (::String | ::Symbol)?,
2881
+ "page_token" => (::String | ::Symbol)?,
2882
+ }
2883
+
2884
+ def initialize: (?init_map initial_value) -> void
2885
+
2886
+ def []:
2887
+ ("start_time_inclusive" name) -> ::Google::Protobuf::Timestamp?
2888
+ | ("end_time_exclusive" name) -> ::Google::Protobuf::Timestamp?
2889
+ | ("page_size" name) -> ::Integer
2890
+ | ("page_token" name) -> ::String
2891
+
2892
+ def []=:
2893
+ ("start_time_inclusive" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
2894
+ | ("end_time_exclusive" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
2895
+ | ("page_size" name, (::Integer | ::Float) value) -> void
2896
+ | ("page_token" name, (::String | ::Symbol) value) -> void
2897
+ end
2898
+
2899
+ class GetUsageResponse < ::Google::Protobuf::AbstractMessage
2900
+
2901
+ # The list of data based on granularity (per Day for now)
2902
+ # Ordered by: time range in ascending order
2903
+ attr_accessor summaries(): ::Google::Protobuf::RepeatedField
2904
+ def clear_summaries: () -> void
2905
+
2906
+ # The next page's token.
2907
+ attr_reader next_page_token(): ::String
2908
+ attr_writer next_page_token(): ::String | ::Symbol
2909
+ def clear_next_page_token: () -> void
2910
+
2911
+ type init_map = {
2912
+ summaries: ::Array[::Temporalio::Api::Cloud::Usage::V1::Summary]?,
2913
+ "summaries" => ::Array[::Temporalio::Api::Cloud::Usage::V1::Summary]?,
2914
+ next_page_token: (::String | ::Symbol)?,
2915
+ "next_page_token" => (::String | ::Symbol)?,
2916
+ }
2917
+
2918
+ def initialize: (?init_map initial_value) -> void
2919
+
2920
+ def []:
2921
+ ("summaries" name) -> ::Google::Protobuf::RepeatedField
2922
+ | ("next_page_token" name) -> ::String
2923
+
2924
+ def []=:
2925
+ ("summaries" name, ::Google::Protobuf::RepeatedField value) -> void
2926
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
2927
+ end
2928
+
2929
+ class GetAccountRequest < ::Google::Protobuf::AbstractMessage
2930
+
2931
+ type init_map = {
2932
+ }
2933
+
2934
+ def initialize: (?init_map initial_value) -> void
2935
+ end
2936
+
2937
+ class GetAccountResponse < ::Google::Protobuf::AbstractMessage
2938
+
2939
+ # The account.
2940
+ attr_accessor account(): ::Temporalio::Api::Cloud::Account::V1::Account?
2941
+ def has_account?: () -> bool
2942
+ def clear_account: () -> void
2943
+
2944
+ type init_map = {
2945
+ account: (::Temporalio::Api::Cloud::Account::V1::Account | ::Temporalio::Api::Cloud::Account::V1::Account::init_map)?,
2946
+ "account" => (::Temporalio::Api::Cloud::Account::V1::Account | ::Temporalio::Api::Cloud::Account::V1::Account::init_map)?,
2947
+ }
2948
+
2949
+ def initialize: (?init_map initial_value) -> void
2950
+
2951
+ def []:
2952
+ ("account" name) -> ::Temporalio::Api::Cloud::Account::V1::Account?
2953
+
2954
+ def []=:
2955
+ ("account" name, ::Temporalio::Api::Cloud::Account::V1::Account? value) -> void
2956
+ end
2957
+
2958
+ class UpdateAccountRequest < ::Google::Protobuf::AbstractMessage
2959
+
2960
+ # The updated account specification to apply.
2961
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Account::V1::AccountSpec?
2962
+ def has_spec?: () -> bool
2963
+ def clear_spec: () -> void
2964
+
2965
+ # The version of the account for which this update is intended for.
2966
+ # The latest version can be found in the GetAccount operation response.
2967
+ attr_reader resource_version(): ::String
2968
+ attr_writer resource_version(): ::String | ::Symbol
2969
+ def clear_resource_version: () -> void
2970
+
2971
+ # The id to use for this async operation.
2972
+ # Optional, if not provided a random id will be generated.
2973
+ attr_reader async_operation_id(): ::String
2974
+ attr_writer async_operation_id(): ::String | ::Symbol
2975
+ def clear_async_operation_id: () -> void
2976
+
2977
+ type init_map = {
2978
+ spec: (::Temporalio::Api::Cloud::Account::V1::AccountSpec | ::Temporalio::Api::Cloud::Account::V1::AccountSpec::init_map)?,
2979
+ "spec" => (::Temporalio::Api::Cloud::Account::V1::AccountSpec | ::Temporalio::Api::Cloud::Account::V1::AccountSpec::init_map)?,
2980
+ resource_version: (::String | ::Symbol)?,
2981
+ "resource_version" => (::String | ::Symbol)?,
2982
+ async_operation_id: (::String | ::Symbol)?,
2983
+ "async_operation_id" => (::String | ::Symbol)?,
2984
+ }
2985
+
2986
+ def initialize: (?init_map initial_value) -> void
2987
+
2988
+ def []:
2989
+ ("spec" name) -> ::Temporalio::Api::Cloud::Account::V1::AccountSpec?
2990
+ | ("resource_version" name) -> ::String
2991
+ | ("async_operation_id" name) -> ::String
2992
+
2993
+ def []=:
2994
+ ("spec" name, ::Temporalio::Api::Cloud::Account::V1::AccountSpec? value) -> void
2995
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
2996
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
2997
+ end
2998
+
2999
+ class UpdateAccountResponse < ::Google::Protobuf::AbstractMessage
3000
+
3001
+ # The async operation.
3002
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3003
+ def has_async_operation?: () -> bool
3004
+ def clear_async_operation: () -> void
3005
+
3006
+ type init_map = {
3007
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3008
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3009
+ }
3010
+
3011
+ def initialize: (?init_map initial_value) -> void
3012
+
3013
+ def []:
3014
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3015
+
3016
+ def []=:
3017
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
3018
+ end
3019
+
3020
+ class CreateNamespaceExportSinkRequest < ::Google::Protobuf::AbstractMessage
3021
+
3022
+ # The namespace under which the sink is configured.
3023
+ attr_reader namespace(): ::String
3024
+ attr_writer namespace(): ::String | ::Symbol
3025
+ def clear_namespace: () -> void
3026
+
3027
+ # The specification for the export sink.
3028
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec?
3029
+ def has_spec?: () -> bool
3030
+ def clear_spec: () -> void
3031
+
3032
+ # Optional. The ID to use for this async operation.
3033
+ attr_reader async_operation_id(): ::String
3034
+ attr_writer async_operation_id(): ::String | ::Symbol
3035
+ def clear_async_operation_id: () -> void
3036
+
3037
+ type init_map = {
3038
+ namespace: (::String | ::Symbol)?,
3039
+ "namespace" => (::String | ::Symbol)?,
3040
+ spec: (::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec | ::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec::init_map)?,
3041
+ "spec" => (::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec | ::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec::init_map)?,
3042
+ async_operation_id: (::String | ::Symbol)?,
3043
+ "async_operation_id" => (::String | ::Symbol)?,
3044
+ }
3045
+
3046
+ def initialize: (?init_map initial_value) -> void
3047
+
3048
+ def []:
3049
+ ("namespace" name) -> ::String
3050
+ | ("spec" name) -> ::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec?
3051
+ | ("async_operation_id" name) -> ::String
3052
+
3053
+ def []=:
3054
+ ("namespace" name, (::String | ::Symbol) value) -> void
3055
+ | ("spec" name, ::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec? value) -> void
3056
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
3057
+ end
3058
+
3059
+ class CreateNamespaceExportSinkResponse < ::Google::Protobuf::AbstractMessage
3060
+
3061
+ # The async operation.
3062
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3063
+ def has_async_operation?: () -> bool
3064
+ def clear_async_operation: () -> void
3065
+
3066
+ type init_map = {
3067
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3068
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3069
+ }
3070
+
3071
+ def initialize: (?init_map initial_value) -> void
3072
+
3073
+ def []:
3074
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3075
+
3076
+ def []=:
3077
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
3078
+ end
3079
+
3080
+ class GetNamespaceExportSinkRequest < ::Google::Protobuf::AbstractMessage
3081
+
3082
+ # The namespace to which the sink belongs.
3083
+ attr_reader namespace(): ::String
3084
+ attr_writer namespace(): ::String | ::Symbol
3085
+ def clear_namespace: () -> void
3086
+
3087
+ # The name of the sink to retrieve.
3088
+ attr_reader name(): ::String
3089
+ attr_writer name(): ::String | ::Symbol
3090
+ def clear_name: () -> void
3091
+
3092
+ type init_map = {
3093
+ namespace: (::String | ::Symbol)?,
3094
+ "namespace" => (::String | ::Symbol)?,
3095
+ name: (::String | ::Symbol)?,
3096
+ "name" => (::String | ::Symbol)?,
3097
+ }
3098
+
3099
+ def initialize: (?init_map initial_value) -> void
3100
+
3101
+ def []:
3102
+ ("namespace" name) -> ::String
3103
+ | ("name" name) -> ::String
3104
+
3105
+ def []=:
3106
+ ("namespace" name, (::String | ::Symbol) value) -> void
3107
+ | ("name" name, (::String | ::Symbol) value) -> void
3108
+ end
3109
+
3110
+ class GetNamespaceExportSinkResponse < ::Google::Protobuf::AbstractMessage
3111
+
3112
+ # The export sink retrieved.
3113
+ attr_accessor sink(): ::Temporalio::Api::Cloud::Namespace::V1::ExportSink?
3114
+ def has_sink?: () -> bool
3115
+ def clear_sink: () -> void
3116
+
3117
+ type init_map = {
3118
+ sink: (::Temporalio::Api::Cloud::Namespace::V1::ExportSink | ::Temporalio::Api::Cloud::Namespace::V1::ExportSink::init_map)?,
3119
+ "sink" => (::Temporalio::Api::Cloud::Namespace::V1::ExportSink | ::Temporalio::Api::Cloud::Namespace::V1::ExportSink::init_map)?,
3120
+ }
3121
+
3122
+ def initialize: (?init_map initial_value) -> void
3123
+
3124
+ def []:
3125
+ ("sink" name) -> ::Temporalio::Api::Cloud::Namespace::V1::ExportSink?
3126
+
3127
+ def []=:
3128
+ ("sink" name, ::Temporalio::Api::Cloud::Namespace::V1::ExportSink? value) -> void
3129
+ end
3130
+
3131
+ class GetNamespaceExportSinksRequest < ::Google::Protobuf::AbstractMessage
3132
+
3133
+ # The namespace to which the sinks belong.
3134
+ attr_reader namespace(): ::String
3135
+ attr_writer namespace(): ::String | ::Symbol
3136
+ def clear_namespace: () -> void
3137
+
3138
+ # The requested size of the page to retrieve. Cannot exceed 1000.
3139
+ # Defaults to 100 if not specified.
3140
+ attr_reader page_size(): ::Integer
3141
+ attr_writer page_size(): ::Integer | ::Float
3142
+ def clear_page_size: () -> void
3143
+
3144
+ # The page token if this is continuing from another response - optional.
3145
+ attr_reader page_token(): ::String
3146
+ attr_writer page_token(): ::String | ::Symbol
3147
+ def clear_page_token: () -> void
3148
+
3149
+ type init_map = {
3150
+ namespace: (::String | ::Symbol)?,
3151
+ "namespace" => (::String | ::Symbol)?,
3152
+ page_size: (::Integer | ::Float)?,
3153
+ "page_size" => (::Integer | ::Float)?,
3154
+ page_token: (::String | ::Symbol)?,
3155
+ "page_token" => (::String | ::Symbol)?,
3156
+ }
3157
+
3158
+ def initialize: (?init_map initial_value) -> void
3159
+
3160
+ def []:
3161
+ ("namespace" name) -> ::String
3162
+ | ("page_size" name) -> ::Integer
3163
+ | ("page_token" name) -> ::String
3164
+
3165
+ def []=:
3166
+ ("namespace" name, (::String | ::Symbol) value) -> void
3167
+ | ("page_size" name, (::Integer | ::Float) value) -> void
3168
+ | ("page_token" name, (::String | ::Symbol) value) -> void
3169
+ end
3170
+
3171
+ class GetNamespaceExportSinksResponse < ::Google::Protobuf::AbstractMessage
3172
+
3173
+ # The list of export sinks retrieved.
3174
+ attr_accessor sinks(): ::Google::Protobuf::RepeatedField
3175
+ def clear_sinks: () -> void
3176
+
3177
+ # The next page token, set if there is another page.
3178
+ attr_reader next_page_token(): ::String
3179
+ attr_writer next_page_token(): ::String | ::Symbol
3180
+ def clear_next_page_token: () -> void
3181
+
3182
+ type init_map = {
3183
+ sinks: ::Array[::Temporalio::Api::Cloud::Namespace::V1::ExportSink]?,
3184
+ "sinks" => ::Array[::Temporalio::Api::Cloud::Namespace::V1::ExportSink]?,
3185
+ next_page_token: (::String | ::Symbol)?,
3186
+ "next_page_token" => (::String | ::Symbol)?,
3187
+ }
3188
+
3189
+ def initialize: (?init_map initial_value) -> void
3190
+
3191
+ def []:
3192
+ ("sinks" name) -> ::Google::Protobuf::RepeatedField
3193
+ | ("next_page_token" name) -> ::String
3194
+
3195
+ def []=:
3196
+ ("sinks" name, ::Google::Protobuf::RepeatedField value) -> void
3197
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
3198
+ end
3199
+
3200
+ class UpdateNamespaceExportSinkRequest < ::Google::Protobuf::AbstractMessage
3201
+
3202
+ # The namespace to which the sink belongs.
3203
+ attr_reader namespace(): ::String
3204
+ attr_writer namespace(): ::String | ::Symbol
3205
+ def clear_namespace: () -> void
3206
+
3207
+ # The updated export sink specification.
3208
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec?
3209
+ def has_spec?: () -> bool
3210
+ def clear_spec: () -> void
3211
+
3212
+ # The version of the sink to update. The latest version can be
3213
+ # retrieved using the GetNamespaceExportSink call.
3214
+ attr_reader resource_version(): ::String
3215
+ attr_writer resource_version(): ::String | ::Symbol
3216
+ def clear_resource_version: () -> void
3217
+
3218
+ # The ID to use for this async operation - optional.
3219
+ attr_reader async_operation_id(): ::String
3220
+ attr_writer async_operation_id(): ::String | ::Symbol
3221
+ def clear_async_operation_id: () -> void
3222
+
3223
+ type init_map = {
3224
+ namespace: (::String | ::Symbol)?,
3225
+ "namespace" => (::String | ::Symbol)?,
3226
+ spec: (::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec | ::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec::init_map)?,
3227
+ "spec" => (::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec | ::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec::init_map)?,
3228
+ resource_version: (::String | ::Symbol)?,
3229
+ "resource_version" => (::String | ::Symbol)?,
3230
+ async_operation_id: (::String | ::Symbol)?,
3231
+ "async_operation_id" => (::String | ::Symbol)?,
3232
+ }
3233
+
3234
+ def initialize: (?init_map initial_value) -> void
3235
+
3236
+ def []:
3237
+ ("namespace" name) -> ::String
3238
+ | ("spec" name) -> ::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec?
3239
+ | ("resource_version" name) -> ::String
3240
+ | ("async_operation_id" name) -> ::String
3241
+
3242
+ def []=:
3243
+ ("namespace" name, (::String | ::Symbol) value) -> void
3244
+ | ("spec" name, ::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec? value) -> void
3245
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
3246
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
3247
+ end
3248
+
3249
+ class UpdateNamespaceExportSinkResponse < ::Google::Protobuf::AbstractMessage
3250
+
3251
+ # The async operation.
3252
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3253
+ def has_async_operation?: () -> bool
3254
+ def clear_async_operation: () -> void
3255
+
3256
+ type init_map = {
3257
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3258
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3259
+ }
3260
+
3261
+ def initialize: (?init_map initial_value) -> void
3262
+
3263
+ def []:
3264
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3265
+
3266
+ def []=:
3267
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
3268
+ end
3269
+
3270
+ class DeleteNamespaceExportSinkRequest < ::Google::Protobuf::AbstractMessage
3271
+
3272
+ # The namespace to which the sink belongs.
3273
+ attr_reader namespace(): ::String
3274
+ attr_writer namespace(): ::String | ::Symbol
3275
+ def clear_namespace: () -> void
3276
+
3277
+ # The name of the sink to delete.
3278
+ attr_reader name(): ::String
3279
+ attr_writer name(): ::String | ::Symbol
3280
+ def clear_name: () -> void
3281
+
3282
+ # The version of the sink to delete. The latest version can be
3283
+ # retrieved using the GetNamespaceExportSink call.
3284
+ attr_reader resource_version(): ::String
3285
+ attr_writer resource_version(): ::String | ::Symbol
3286
+ def clear_resource_version: () -> void
3287
+
3288
+ # The ID to use for this async operation - optional.
3289
+ attr_reader async_operation_id(): ::String
3290
+ attr_writer async_operation_id(): ::String | ::Symbol
3291
+ def clear_async_operation_id: () -> void
3292
+
3293
+ type init_map = {
3294
+ namespace: (::String | ::Symbol)?,
3295
+ "namespace" => (::String | ::Symbol)?,
3296
+ name: (::String | ::Symbol)?,
3297
+ "name" => (::String | ::Symbol)?,
3298
+ resource_version: (::String | ::Symbol)?,
3299
+ "resource_version" => (::String | ::Symbol)?,
3300
+ async_operation_id: (::String | ::Symbol)?,
3301
+ "async_operation_id" => (::String | ::Symbol)?,
3302
+ }
3303
+
3304
+ def initialize: (?init_map initial_value) -> void
3305
+
3306
+ def []:
3307
+ ("namespace" name) -> ::String
3308
+ | ("name" name) -> ::String
3309
+ | ("resource_version" name) -> ::String
3310
+ | ("async_operation_id" name) -> ::String
3311
+
3312
+ def []=:
3313
+ ("namespace" name, (::String | ::Symbol) value) -> void
3314
+ | ("name" name, (::String | ::Symbol) value) -> void
3315
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
3316
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
3317
+ end
3318
+
3319
+ class DeleteNamespaceExportSinkResponse < ::Google::Protobuf::AbstractMessage
3320
+
3321
+ # The async operation.
3322
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3323
+ def has_async_operation?: () -> bool
3324
+ def clear_async_operation: () -> void
3325
+
3326
+ type init_map = {
3327
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3328
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3329
+ }
3330
+
3331
+ def initialize: (?init_map initial_value) -> void
3332
+
3333
+ def []:
3334
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3335
+
3336
+ def []=:
3337
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
3338
+ end
3339
+
3340
+ class ValidateNamespaceExportSinkRequest < ::Google::Protobuf::AbstractMessage
3341
+
3342
+ # The namespace to which the sink belongs.
3343
+ attr_reader namespace(): ::String
3344
+ attr_writer namespace(): ::String | ::Symbol
3345
+ def clear_namespace: () -> void
3346
+
3347
+ # The export sink specification to validate.
3348
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec?
3349
+ def has_spec?: () -> bool
3350
+ def clear_spec: () -> void
3351
+
3352
+ type init_map = {
3353
+ namespace: (::String | ::Symbol)?,
3354
+ "namespace" => (::String | ::Symbol)?,
3355
+ spec: (::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec | ::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec::init_map)?,
3356
+ "spec" => (::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec | ::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec::init_map)?,
3357
+ }
3358
+
3359
+ def initialize: (?init_map initial_value) -> void
3360
+
3361
+ def []:
3362
+ ("namespace" name) -> ::String
3363
+ | ("spec" name) -> ::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec?
3364
+
3365
+ def []=:
3366
+ ("namespace" name, (::String | ::Symbol) value) -> void
3367
+ | ("spec" name, ::Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec? value) -> void
3368
+ end
3369
+
3370
+ class ValidateNamespaceExportSinkResponse < ::Google::Protobuf::AbstractMessage
3371
+
3372
+ type init_map = {
3373
+ }
3374
+
3375
+ def initialize: (?init_map initial_value) -> void
3376
+ end
3377
+
3378
+ class UpdateNamespaceTagsRequest < ::Google::Protobuf::AbstractMessage
3379
+
3380
+ # The namespace to set tags for.
3381
+ attr_reader namespace(): ::String
3382
+ attr_writer namespace(): ::String | ::Symbol
3383
+ def clear_namespace: () -> void
3384
+
3385
+ # A list of tags to add or update.
3386
+ # If a key of an existing tag is added, the tag's value is updated.
3387
+ # At least one of tags_to_upsert or tags_to_remove must be specified.
3388
+ attr_accessor tags_to_upsert(): ::Google::Protobuf::Map[::String, ::String]
3389
+ def clear_tags_to_upsert: () -> void
3390
+
3391
+ # A list of tag keys to remove.
3392
+ # If a tag key doesn't exist, it is silently ignored.
3393
+ # At least one of tags_to_upsert or tags_to_remove must be specified.
3394
+ attr_accessor tags_to_remove(): ::Google::Protobuf::RepeatedField
3395
+ def clear_tags_to_remove: () -> void
3396
+
3397
+ # The id to use for this async operation - optional.
3398
+ attr_reader async_operation_id(): ::String
3399
+ attr_writer async_operation_id(): ::String | ::Symbol
3400
+ def clear_async_operation_id: () -> void
3401
+
3402
+ type init_map = {
3403
+ namespace: (::String | ::Symbol)?,
3404
+ "namespace" => (::String | ::Symbol)?,
3405
+ tags_to_upsert: ::Hash[::String | ::Symbol, ::String | ::Symbol]?,
3406
+ "tags_to_upsert" => ::Hash[::String | ::Symbol, ::String | ::Symbol]?,
3407
+ tags_to_remove: ::Array[::String | ::Symbol]?,
3408
+ "tags_to_remove" => ::Array[::String | ::Symbol]?,
3409
+ async_operation_id: (::String | ::Symbol)?,
3410
+ "async_operation_id" => (::String | ::Symbol)?,
3411
+ }
3412
+
3413
+ def initialize: (?init_map initial_value) -> void
3414
+
3415
+ def []:
3416
+ ("namespace" name) -> ::String
3417
+ | ("tags_to_upsert" name) -> (::Google::Protobuf::Map[::String, ::String])
3418
+ | ("tags_to_remove" name) -> (::Google::Protobuf::RepeatedField)
3419
+ | ("async_operation_id" name) -> ::String
3420
+
3421
+ def []=:
3422
+ ("namespace" name, (::String | ::Symbol) value) -> void
3423
+ | ("tags_to_upsert" name, (::Google::Protobuf::Map[::String, ::String]) value) -> void
3424
+ | ("tags_to_remove" name, (::Google::Protobuf::RepeatedField) value) -> void
3425
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
3426
+ end
3427
+
3428
+ class UpdateNamespaceTagsResponse < ::Google::Protobuf::AbstractMessage
3429
+
3430
+ # The async operation.
3431
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3432
+ def has_async_operation?: () -> bool
3433
+ def clear_async_operation: () -> void
3434
+
3435
+ type init_map = {
3436
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3437
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3438
+ }
3439
+
3440
+ def initialize: (?init_map initial_value) -> void
3441
+
3442
+ def []:
3443
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3444
+
3445
+ def []=:
3446
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
3447
+ end
3448
+
3449
+ class CreateConnectivityRuleRequest < ::Google::Protobuf::AbstractMessage
3450
+
3451
+ # The connectivity rule specification.
3452
+ attr_accessor spec(): ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRuleSpec?
3453
+ def has_spec?: () -> bool
3454
+ def clear_spec: () -> void
3455
+
3456
+ # The id to use for this async operation.
3457
+ # Optional, if not provided a random id will be generated.
3458
+ attr_reader async_operation_id(): ::String
3459
+ attr_writer async_operation_id(): ::String | ::Symbol
3460
+ def clear_async_operation_id: () -> void
3461
+
3462
+ type init_map = {
3463
+ spec: (::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRuleSpec | ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRuleSpec::init_map)?,
3464
+ "spec" => (::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRuleSpec | ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRuleSpec::init_map)?,
3465
+ async_operation_id: (::String | ::Symbol)?,
3466
+ "async_operation_id" => (::String | ::Symbol)?,
3467
+ }
3468
+
3469
+ def initialize: (?init_map initial_value) -> void
3470
+
3471
+ def []:
3472
+ ("spec" name) -> ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRuleSpec?
3473
+ | ("async_operation_id" name) -> ::String
3474
+
3475
+ def []=:
3476
+ ("spec" name, ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRuleSpec? value) -> void
3477
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
3478
+ end
3479
+
3480
+ class CreateConnectivityRuleResponse < ::Google::Protobuf::AbstractMessage
3481
+
3482
+ # The id of the connectivity rule that was created.
3483
+ attr_reader connectivity_rule_id(): ::String
3484
+ attr_writer connectivity_rule_id(): ::String | ::Symbol
3485
+ def clear_connectivity_rule_id: () -> void
3486
+
3487
+ # The async operation
3488
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3489
+ def has_async_operation?: () -> bool
3490
+ def clear_async_operation: () -> void
3491
+
3492
+ type init_map = {
3493
+ connectivity_rule_id: (::String | ::Symbol)?,
3494
+ "connectivity_rule_id" => (::String | ::Symbol)?,
3495
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3496
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3497
+ }
3498
+
3499
+ def initialize: (?init_map initial_value) -> void
3500
+
3501
+ def []:
3502
+ ("connectivity_rule_id" name) -> ::String
3503
+ | ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3504
+
3505
+ def []=:
3506
+ ("connectivity_rule_id" name, (::String | ::Symbol) value) -> void
3507
+ | ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
3508
+ end
3509
+
3510
+ class GetConnectivityRuleRequest < ::Google::Protobuf::AbstractMessage
3511
+
3512
+ # The id of the connectivity rule to get.
3513
+ attr_reader connectivity_rule_id(): ::String
3514
+ attr_writer connectivity_rule_id(): ::String | ::Symbol
3515
+ def clear_connectivity_rule_id: () -> void
3516
+
3517
+ type init_map = {
3518
+ connectivity_rule_id: (::String | ::Symbol)?,
3519
+ "connectivity_rule_id" => (::String | ::Symbol)?,
3520
+ }
3521
+
3522
+ def initialize: (?init_map initial_value) -> void
3523
+
3524
+ def []:
3525
+ ("connectivity_rule_id" name) -> ::String
3526
+
3527
+ def []=:
3528
+ ("connectivity_rule_id" name, (::String | ::Symbol) value) -> void
3529
+ end
3530
+
3531
+ class GetConnectivityRuleResponse < ::Google::Protobuf::AbstractMessage
3532
+
3533
+ attr_accessor connectivity_rule(): ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule?
3534
+ def has_connectivity_rule?: () -> bool
3535
+ def clear_connectivity_rule: () -> void
3536
+
3537
+ type init_map = {
3538
+ connectivity_rule: (::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule | ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule::init_map)?,
3539
+ "connectivity_rule" => (::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule | ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule::init_map)?,
3540
+ }
3541
+
3542
+ def initialize: (?init_map initial_value) -> void
3543
+
3544
+ def []:
3545
+ ("connectivity_rule" name) -> ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule?
3546
+
3547
+ def []=:
3548
+ ("connectivity_rule" name, ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule? value) -> void
3549
+ end
3550
+
3551
+ class GetConnectivityRulesRequest < ::Google::Protobuf::AbstractMessage
3552
+
3553
+ # The requested size of the page to retrieve.
3554
+ # Optional, defaults to 100.
3555
+ attr_reader page_size(): ::Integer
3556
+ attr_writer page_size(): ::Integer | ::Float
3557
+ def clear_page_size: () -> void
3558
+
3559
+ # The page token if this is continuing from another response.
3560
+ # Optional, defaults to empty.
3561
+ attr_reader page_token(): ::String
3562
+ attr_writer page_token(): ::String | ::Symbol
3563
+ def clear_page_token: () -> void
3564
+
3565
+ # Filter connectivity rule by the namespace id.
3566
+ attr_reader namespace(): ::String
3567
+ attr_writer namespace(): ::String | ::Symbol
3568
+ def clear_namespace: () -> void
3569
+
3570
+ type init_map = {
3571
+ page_size: (::Integer | ::Float)?,
3572
+ "page_size" => (::Integer | ::Float)?,
3573
+ page_token: (::String | ::Symbol)?,
3574
+ "page_token" => (::String | ::Symbol)?,
3575
+ namespace: (::String | ::Symbol)?,
3576
+ "namespace" => (::String | ::Symbol)?,
3577
+ }
3578
+
3579
+ def initialize: (?init_map initial_value) -> void
3580
+
3581
+ def []:
3582
+ ("page_size" name) -> ::Integer
3583
+ | ("page_token" name) -> ::String
3584
+ | ("namespace" name) -> ::String
3585
+
3586
+ def []=:
3587
+ ("page_size" name, (::Integer | ::Float) value) -> void
3588
+ | ("page_token" name, (::String | ::Symbol) value) -> void
3589
+ | ("namespace" name, (::String | ::Symbol) value) -> void
3590
+ end
3591
+
3592
+ class GetConnectivityRulesResponse < ::Google::Protobuf::AbstractMessage
3593
+
3594
+ # connectivity_rules returned
3595
+ attr_accessor connectivity_rules(): ::Google::Protobuf::RepeatedField
3596
+ def clear_connectivity_rules: () -> void
3597
+
3598
+ # The next page token
3599
+ attr_reader next_page_token(): ::String
3600
+ attr_writer next_page_token(): ::String | ::Symbol
3601
+ def clear_next_page_token: () -> void
3602
+
3603
+ type init_map = {
3604
+ connectivity_rules: ::Array[::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule]?,
3605
+ "connectivity_rules" => ::Array[::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule]?,
3606
+ next_page_token: (::String | ::Symbol)?,
3607
+ "next_page_token" => (::String | ::Symbol)?,
3608
+ }
3609
+
3610
+ def initialize: (?init_map initial_value) -> void
3611
+
3612
+ def []:
3613
+ ("connectivity_rules" name) -> ::Google::Protobuf::RepeatedField
3614
+ | ("next_page_token" name) -> ::String
3615
+
3616
+ def []=:
3617
+ ("connectivity_rules" name, ::Google::Protobuf::RepeatedField value) -> void
3618
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
3619
+ end
3620
+
3621
+ class DeleteConnectivityRuleRequest < ::Google::Protobuf::AbstractMessage
3622
+
3623
+ # The ID of the connectivity rule that need be deleted, required.
3624
+ attr_reader connectivity_rule_id(): ::String
3625
+ attr_writer connectivity_rule_id(): ::String | ::Symbol
3626
+ def clear_connectivity_rule_id: () -> void
3627
+
3628
+ # The resource version which should be the same from the the db, required
3629
+ # The latest version can be found in the GetConnectivityRule operation response
3630
+ attr_reader resource_version(): ::String
3631
+ attr_writer resource_version(): ::String | ::Symbol
3632
+ def clear_resource_version: () -> void
3633
+
3634
+ # The id to use for this async operation.
3635
+ # Optional, if not provided a random id will be generated.
3636
+ attr_reader async_operation_id(): ::String
3637
+ attr_writer async_operation_id(): ::String | ::Symbol
3638
+ def clear_async_operation_id: () -> void
3639
+
3640
+ type init_map = {
3641
+ connectivity_rule_id: (::String | ::Symbol)?,
3642
+ "connectivity_rule_id" => (::String | ::Symbol)?,
3643
+ resource_version: (::String | ::Symbol)?,
3644
+ "resource_version" => (::String | ::Symbol)?,
3645
+ async_operation_id: (::String | ::Symbol)?,
3646
+ "async_operation_id" => (::String | ::Symbol)?,
3647
+ }
3648
+
3649
+ def initialize: (?init_map initial_value) -> void
3650
+
3651
+ def []:
3652
+ ("connectivity_rule_id" name) -> ::String
3653
+ | ("resource_version" name) -> ::String
3654
+ | ("async_operation_id" name) -> ::String
3655
+
3656
+ def []=:
3657
+ ("connectivity_rule_id" name, (::String | ::Symbol) value) -> void
3658
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
3659
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
3660
+ end
3661
+
3662
+ class DeleteConnectivityRuleResponse < ::Google::Protobuf::AbstractMessage
3663
+
3664
+ # The async operation
3665
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3666
+ def has_async_operation?: () -> bool
3667
+ def clear_async_operation: () -> void
3668
+
3669
+ type init_map = {
3670
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3671
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3672
+ }
3673
+
3674
+ def initialize: (?init_map initial_value) -> void
3675
+
3676
+ def []:
3677
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3678
+
3679
+ def []=:
3680
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
3681
+ end
3682
+
3683
+ class GetAuditLogsRequest < ::Google::Protobuf::AbstractMessage
3684
+
3685
+ # The requested size of the page to retrieve - optional.
3686
+ # Cannot exceed 1000. Defaults to 100.
3687
+ attr_reader page_size(): ::Integer
3688
+ attr_writer page_size(): ::Integer | ::Float
3689
+ def clear_page_size: () -> void
3690
+
3691
+ # The page token if this is continuing from another response - optional.
3692
+ attr_reader page_token(): ::String
3693
+ attr_writer page_token(): ::String | ::Symbol
3694
+ def clear_page_token: () -> void
3695
+
3696
+ # Filter for UTC time >= (defaults to 30 days ago) - optional.
3697
+ attr_reader start_time_inclusive(): ::Google::Protobuf::Timestamp?
3698
+ attr_writer start_time_inclusive(): (::Google::Protobuf::Timestamp | ::Time)?
3699
+ def has_start_time_inclusive?: () -> bool
3700
+ def clear_start_time_inclusive: () -> void
3701
+
3702
+ # Filter for UTC time < (defaults to current time) - optional.
3703
+ attr_reader end_time_exclusive(): ::Google::Protobuf::Timestamp?
3704
+ attr_writer end_time_exclusive(): (::Google::Protobuf::Timestamp | ::Time)?
3705
+ def has_end_time_exclusive?: () -> bool
3706
+ def clear_end_time_exclusive: () -> void
3707
+
3708
+ type init_map = {
3709
+ page_size: (::Integer | ::Float)?,
3710
+ "page_size" => (::Integer | ::Float)?,
3711
+ page_token: (::String | ::Symbol)?,
3712
+ "page_token" => (::String | ::Symbol)?,
3713
+ start_time_inclusive: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
3714
+ "start_time_inclusive" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
3715
+ end_time_exclusive: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
3716
+ "end_time_exclusive" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
3717
+ }
3718
+
3719
+ def initialize: (?init_map initial_value) -> void
3720
+
3721
+ def []:
3722
+ ("page_size" name) -> ::Integer
3723
+ | ("page_token" name) -> ::String
3724
+ | ("start_time_inclusive" name) -> ::Google::Protobuf::Timestamp?
3725
+ | ("end_time_exclusive" name) -> ::Google::Protobuf::Timestamp?
3726
+
3727
+ def []=:
3728
+ ("page_size" name, (::Integer | ::Float) value) -> void
3729
+ | ("page_token" name, (::String | ::Symbol) value) -> void
3730
+ | ("start_time_inclusive" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
3731
+ | ("end_time_exclusive" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
3732
+ end
3733
+
3734
+ class GetAuditLogsResponse < ::Google::Protobuf::AbstractMessage
3735
+
3736
+ # The list of audit logs ordered by emit time, log_id
3737
+ attr_accessor logs(): ::Google::Protobuf::RepeatedField
3738
+ def clear_logs: () -> void
3739
+
3740
+ # The next page's token.
3741
+ attr_reader next_page_token(): ::String
3742
+ attr_writer next_page_token(): ::String | ::Symbol
3743
+ def clear_next_page_token: () -> void
3744
+
3745
+ type init_map = {
3746
+ logs: ::Array[::Temporalio::Api::Cloud::AuditLog::V1::LogRecord]?,
3747
+ "logs" => ::Array[::Temporalio::Api::Cloud::AuditLog::V1::LogRecord]?,
3748
+ next_page_token: (::String | ::Symbol)?,
3749
+ "next_page_token" => (::String | ::Symbol)?,
3750
+ }
3751
+
3752
+ def initialize: (?init_map initial_value) -> void
3753
+
3754
+ def []:
3755
+ ("logs" name) -> ::Google::Protobuf::RepeatedField
3756
+ | ("next_page_token" name) -> ::String
3757
+
3758
+ def []=:
3759
+ ("logs" name, ::Google::Protobuf::RepeatedField value) -> void
3760
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
3761
+ end
3762
+
3763
+ class ValidateAccountAuditLogSinkRequest < ::Google::Protobuf::AbstractMessage
3764
+
3765
+ # The audit log sink spec that will be validated
3766
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec?
3767
+ def has_spec?: () -> bool
3768
+ def clear_spec: () -> void
3769
+
3770
+ type init_map = {
3771
+ spec: (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?,
3772
+ "spec" => (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?,
3773
+ }
3774
+
3775
+ def initialize: (?init_map initial_value) -> void
3776
+
3777
+ def []:
3778
+ ("spec" name) -> ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec?
3779
+
3780
+ def []=:
3781
+ ("spec" name, ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec? value) -> void
3782
+ end
3783
+
3784
+ class ValidateAccountAuditLogSinkResponse < ::Google::Protobuf::AbstractMessage
3785
+
3786
+ type init_map = {
3787
+ }
3788
+
3789
+ def initialize: (?init_map initial_value) -> void
3790
+ end
3791
+
3792
+ class CreateAccountAuditLogSinkRequest < ::Google::Protobuf::AbstractMessage
3793
+
3794
+ # The specification for the audit log sink.
3795
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec?
3796
+ def has_spec?: () -> bool
3797
+ def clear_spec: () -> void
3798
+
3799
+ # Optional. The ID to use for this async operation.
3800
+ attr_reader async_operation_id(): ::String
3801
+ attr_writer async_operation_id(): ::String | ::Symbol
3802
+ def clear_async_operation_id: () -> void
3803
+
3804
+ type init_map = {
3805
+ spec: (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?,
3806
+ "spec" => (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?,
3807
+ async_operation_id: (::String | ::Symbol)?,
3808
+ "async_operation_id" => (::String | ::Symbol)?,
3809
+ }
3810
+
3811
+ def initialize: (?init_map initial_value) -> void
3812
+
3813
+ def []:
3814
+ ("spec" name) -> ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec?
3815
+ | ("async_operation_id" name) -> ::String
3816
+
3817
+ def []=:
3818
+ ("spec" name, ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec? value) -> void
3819
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
3820
+ end
3821
+
3822
+ class CreateAccountAuditLogSinkResponse < ::Google::Protobuf::AbstractMessage
3823
+
3824
+ # The async operation.
3825
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3826
+ def has_async_operation?: () -> bool
3827
+ def clear_async_operation: () -> void
3828
+
3829
+ type init_map = {
3830
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3831
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3832
+ }
3833
+
3834
+ def initialize: (?init_map initial_value) -> void
3835
+
3836
+ def []:
3837
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3838
+
3839
+ def []=:
3840
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
3841
+ end
3842
+
3843
+ class GetAccountAuditLogSinkRequest < ::Google::Protobuf::AbstractMessage
3844
+
3845
+ # The name of the sink to retrieve.
3846
+ attr_reader name(): ::String
3847
+ attr_writer name(): ::String | ::Symbol
3848
+ def clear_name: () -> void
3849
+
3850
+ type init_map = {
3851
+ name: (::String | ::Symbol)?,
3852
+ "name" => (::String | ::Symbol)?,
3853
+ }
3854
+
3855
+ def initialize: (?init_map initial_value) -> void
3856
+
3857
+ def []:
3858
+ ("name" name) -> ::String
3859
+
3860
+ def []=:
3861
+ ("name" name, (::String | ::Symbol) value) -> void
3862
+ end
3863
+
3864
+ class GetAccountAuditLogSinkResponse < ::Google::Protobuf::AbstractMessage
3865
+
3866
+ # The audit log sink retrieved.
3867
+ attr_accessor sink(): ::Temporalio::Api::Cloud::Account::V1::AuditLogSink?
3868
+ def has_sink?: () -> bool
3869
+ def clear_sink: () -> void
3870
+
3871
+ type init_map = {
3872
+ sink: (::Temporalio::Api::Cloud::Account::V1::AuditLogSink | ::Temporalio::Api::Cloud::Account::V1::AuditLogSink::init_map)?,
3873
+ "sink" => (::Temporalio::Api::Cloud::Account::V1::AuditLogSink | ::Temporalio::Api::Cloud::Account::V1::AuditLogSink::init_map)?,
3874
+ }
3875
+
3876
+ def initialize: (?init_map initial_value) -> void
3877
+
3878
+ def []:
3879
+ ("sink" name) -> ::Temporalio::Api::Cloud::Account::V1::AuditLogSink?
3880
+
3881
+ def []=:
3882
+ ("sink" name, ::Temporalio::Api::Cloud::Account::V1::AuditLogSink? value) -> void
3883
+ end
3884
+
3885
+ class GetAccountAuditLogSinksRequest < ::Google::Protobuf::AbstractMessage
3886
+
3887
+ # The requested size of the page to retrieve. Cannot exceed 1000.
3888
+ # Defaults to 100 if not specified.
3889
+ attr_reader page_size(): ::Integer
3890
+ attr_writer page_size(): ::Integer | ::Float
3891
+ def clear_page_size: () -> void
3892
+
3893
+ # The page token if this is continuing from another response - optional.
3894
+ attr_reader page_token(): ::String
3895
+ attr_writer page_token(): ::String | ::Symbol
3896
+ def clear_page_token: () -> void
3897
+
3898
+ type init_map = {
3899
+ page_size: (::Integer | ::Float)?,
3900
+ "page_size" => (::Integer | ::Float)?,
3901
+ page_token: (::String | ::Symbol)?,
3902
+ "page_token" => (::String | ::Symbol)?,
3903
+ }
3904
+
3905
+ def initialize: (?init_map initial_value) -> void
3906
+
3907
+ def []:
3908
+ ("page_size" name) -> ::Integer
3909
+ | ("page_token" name) -> ::String
3910
+
3911
+ def []=:
3912
+ ("page_size" name, (::Integer | ::Float) value) -> void
3913
+ | ("page_token" name, (::String | ::Symbol) value) -> void
3914
+ end
3915
+
3916
+ class GetAccountAuditLogSinksResponse < ::Google::Protobuf::AbstractMessage
3917
+
3918
+ # The list of audit log sinks retrieved.
3919
+ attr_accessor sinks(): ::Google::Protobuf::RepeatedField
3920
+ def clear_sinks: () -> void
3921
+
3922
+ # The next page token, set if there is another page.
3923
+ attr_reader next_page_token(): ::String
3924
+ attr_writer next_page_token(): ::String | ::Symbol
3925
+ def clear_next_page_token: () -> void
3926
+
3927
+ type init_map = {
3928
+ sinks: ::Array[::Temporalio::Api::Cloud::Account::V1::AuditLogSink]?,
3929
+ "sinks" => ::Array[::Temporalio::Api::Cloud::Account::V1::AuditLogSink]?,
3930
+ next_page_token: (::String | ::Symbol)?,
3931
+ "next_page_token" => (::String | ::Symbol)?,
3932
+ }
3933
+
3934
+ def initialize: (?init_map initial_value) -> void
3935
+
3936
+ def []:
3937
+ ("sinks" name) -> ::Google::Protobuf::RepeatedField
3938
+ | ("next_page_token" name) -> ::String
3939
+
3940
+ def []=:
3941
+ ("sinks" name, ::Google::Protobuf::RepeatedField value) -> void
3942
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
3943
+ end
3944
+
3945
+ class UpdateAccountAuditLogSinkRequest < ::Google::Protobuf::AbstractMessage
3946
+
3947
+ # The updated audit log sink specification.
3948
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec?
3949
+ def has_spec?: () -> bool
3950
+ def clear_spec: () -> void
3951
+
3952
+ # The version of the audit log sink to update. The latest version can be
3953
+ # retrieved using the GetAuditLogSink call.
3954
+ attr_reader resource_version(): ::String
3955
+ attr_writer resource_version(): ::String | ::Symbol
3956
+ def clear_resource_version: () -> void
3957
+
3958
+ # The ID to use for this async operation - optional.
3959
+ attr_reader async_operation_id(): ::String
3960
+ attr_writer async_operation_id(): ::String | ::Symbol
3961
+ def clear_async_operation_id: () -> void
3962
+
3963
+ type init_map = {
3964
+ spec: (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?,
3965
+ "spec" => (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?,
3966
+ resource_version: (::String | ::Symbol)?,
3967
+ "resource_version" => (::String | ::Symbol)?,
3968
+ async_operation_id: (::String | ::Symbol)?,
3969
+ "async_operation_id" => (::String | ::Symbol)?,
3970
+ }
3971
+
3972
+ def initialize: (?init_map initial_value) -> void
3973
+
3974
+ def []:
3975
+ ("spec" name) -> ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec?
3976
+ | ("resource_version" name) -> ::String
3977
+ | ("async_operation_id" name) -> ::String
3978
+
3979
+ def []=:
3980
+ ("spec" name, ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec? value) -> void
3981
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
3982
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
3983
+ end
3984
+
3985
+ class UpdateAccountAuditLogSinkResponse < ::Google::Protobuf::AbstractMessage
3986
+
3987
+ # The async operation.
3988
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3989
+ def has_async_operation?: () -> bool
3990
+ def clear_async_operation: () -> void
3991
+
3992
+ type init_map = {
3993
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3994
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3995
+ }
3996
+
3997
+ def initialize: (?init_map initial_value) -> void
3998
+
3999
+ def []:
4000
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
4001
+
4002
+ def []=:
4003
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
4004
+ end
4005
+
4006
+ class DeleteAccountAuditLogSinkRequest < ::Google::Protobuf::AbstractMessage
4007
+
4008
+ # The name of the sink to delete.
4009
+ attr_reader name(): ::String
4010
+ attr_writer name(): ::String | ::Symbol
4011
+ def clear_name: () -> void
4012
+
4013
+ # The version of the sink to delete. The latest version can be
4014
+ # retrieved using the GetAccountAuditLogSink call.
4015
+ attr_reader resource_version(): ::String
4016
+ attr_writer resource_version(): ::String | ::Symbol
4017
+ def clear_resource_version: () -> void
4018
+
4019
+ # The ID to use for this async operation - optional.
4020
+ attr_reader async_operation_id(): ::String
4021
+ attr_writer async_operation_id(): ::String | ::Symbol
4022
+ def clear_async_operation_id: () -> void
4023
+
4024
+ type init_map = {
4025
+ name: (::String | ::Symbol)?,
4026
+ "name" => (::String | ::Symbol)?,
4027
+ resource_version: (::String | ::Symbol)?,
4028
+ "resource_version" => (::String | ::Symbol)?,
4029
+ async_operation_id: (::String | ::Symbol)?,
4030
+ "async_operation_id" => (::String | ::Symbol)?,
4031
+ }
4032
+
4033
+ def initialize: (?init_map initial_value) -> void
4034
+
4035
+ def []:
4036
+ ("name" name) -> ::String
4037
+ | ("resource_version" name) -> ::String
4038
+ | ("async_operation_id" name) -> ::String
4039
+
4040
+ def []=:
4041
+ ("name" name, (::String | ::Symbol) value) -> void
4042
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
4043
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
4044
+ end
4045
+
4046
+ class DeleteAccountAuditLogSinkResponse < ::Google::Protobuf::AbstractMessage
4047
+
4048
+ # The async operation.
4049
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
4050
+ def has_async_operation?: () -> bool
4051
+ def clear_async_operation: () -> void
4052
+
4053
+ type init_map = {
4054
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
4055
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
4056
+ }
4057
+
4058
+ def initialize: (?init_map initial_value) -> void
4059
+
4060
+ def []:
4061
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
4062
+
4063
+ def []=:
4064
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
4065
+ end
4066
+
4067
+ class GetNamespaceCapacityInfoRequest < ::Google::Protobuf::AbstractMessage
4068
+
4069
+ # The namespace identifier.
4070
+ # Required.
4071
+ attr_reader namespace(): ::String
4072
+ attr_writer namespace(): ::String | ::Symbol
4073
+ def clear_namespace: () -> void
4074
+
4075
+ type init_map = {
4076
+ namespace: (::String | ::Symbol)?,
4077
+ "namespace" => (::String | ::Symbol)?,
4078
+ }
4079
+
4080
+ def initialize: (?init_map initial_value) -> void
4081
+
4082
+ def []:
4083
+ ("namespace" name) -> ::String
4084
+
4085
+ def []=:
4086
+ ("namespace" name, (::String | ::Symbol) value) -> void
4087
+ end
4088
+
4089
+ class GetNamespaceCapacityInfoResponse < ::Google::Protobuf::AbstractMessage
4090
+
4091
+ # Capacity information for the namespace.
4092
+ attr_accessor capacity_info(): ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo?
4093
+ def has_capacity_info?: () -> bool
4094
+ def clear_capacity_info: () -> void
4095
+
4096
+ type init_map = {
4097
+ capacity_info: (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::init_map)?,
4098
+ "capacity_info" => (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::init_map)?,
4099
+ }
4100
+
4101
+ def initialize: (?init_map initial_value) -> void
4102
+
4103
+ def []:
4104
+ ("capacity_info" name) -> ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo?
4105
+
4106
+ def []=:
4107
+ ("capacity_info" name, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo? value) -> void
4108
+ end
4109
+
4110
+ class CreateBillingReportRequest < ::Google::Protobuf::AbstractMessage
4111
+
4112
+ # The specification for the billing report.
4113
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec?
4114
+ def has_spec?: () -> bool
4115
+ def clear_spec: () -> void
4116
+
4117
+ # Optional, if not provided a random id will be generated.
4118
+ attr_reader async_operation_id(): ::String
4119
+ attr_writer async_operation_id(): ::String | ::Symbol
4120
+ def clear_async_operation_id: () -> void
4121
+
4122
+ type init_map = {
4123
+ spec: (::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec | ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec::init_map)?,
4124
+ "spec" => (::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec | ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec::init_map)?,
4125
+ async_operation_id: (::String | ::Symbol)?,
4126
+ "async_operation_id" => (::String | ::Symbol)?,
4127
+ }
4128
+
4129
+ def initialize: (?init_map initial_value) -> void
4130
+
4131
+ def []:
4132
+ ("spec" name) -> ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec?
4133
+ | ("async_operation_id" name) -> ::String
4134
+
4135
+ def []=:
4136
+ ("spec" name, ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec? value) -> void
4137
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
4138
+ end
4139
+
4140
+ class CreateBillingReportResponse < ::Google::Protobuf::AbstractMessage
4141
+
4142
+ # The id of the billing report created.
4143
+ attr_reader billing_report_id(): ::String
4144
+ attr_writer billing_report_id(): ::String | ::Symbol
4145
+ def clear_billing_report_id: () -> void
4146
+
4147
+ # The async operation.
4148
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
4149
+ def has_async_operation?: () -> bool
4150
+ def clear_async_operation: () -> void
4151
+
4152
+ type init_map = {
4153
+ billing_report_id: (::String | ::Symbol)?,
4154
+ "billing_report_id" => (::String | ::Symbol)?,
4155
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
4156
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
4157
+ }
4158
+
4159
+ def initialize: (?init_map initial_value) -> void
4160
+
4161
+ def []:
4162
+ ("billing_report_id" name) -> ::String
4163
+ | ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
4164
+
4165
+ def []=:
4166
+ ("billing_report_id" name, (::String | ::Symbol) value) -> void
4167
+ | ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
4168
+ end
4169
+
4170
+ class GetBillingReportRequest < ::Google::Protobuf::AbstractMessage
4171
+
4172
+ # The id of the billing report to retrieve.
4173
+ attr_reader billing_report_id(): ::String
4174
+ attr_writer billing_report_id(): ::String | ::Symbol
4175
+ def clear_billing_report_id: () -> void
4176
+
4177
+ type init_map = {
4178
+ billing_report_id: (::String | ::Symbol)?,
4179
+ "billing_report_id" => (::String | ::Symbol)?,
4180
+ }
4181
+
4182
+ def initialize: (?init_map initial_value) -> void
4183
+
4184
+ def []:
4185
+ ("billing_report_id" name) -> ::String
4186
+
4187
+ def []=:
4188
+ ("billing_report_id" name, (::String | ::Symbol) value) -> void
4189
+ end
4190
+
4191
+ class GetBillingReportResponse < ::Google::Protobuf::AbstractMessage
4192
+
4193
+ # The billing report retrieved.
4194
+ attr_accessor billing_report(): ::Temporalio::Api::Cloud::Billing::V1::BillingReport?
4195
+ def has_billing_report?: () -> bool
4196
+ def clear_billing_report: () -> void
4197
+
4198
+ type init_map = {
4199
+ billing_report: (::Temporalio::Api::Cloud::Billing::V1::BillingReport | ::Temporalio::Api::Cloud::Billing::V1::BillingReport::init_map)?,
4200
+ "billing_report" => (::Temporalio::Api::Cloud::Billing::V1::BillingReport | ::Temporalio::Api::Cloud::Billing::V1::BillingReport::init_map)?,
4201
+ }
4202
+
4203
+ def initialize: (?init_map initial_value) -> void
4204
+
4205
+ def []:
4206
+ ("billing_report" name) -> ::Temporalio::Api::Cloud::Billing::V1::BillingReport?
4207
+
4208
+ def []=:
4209
+ ("billing_report" name, ::Temporalio::Api::Cloud::Billing::V1::BillingReport? value) -> void
4210
+ end
4211
+
4212
+ class GetCustomRolesRequest < ::Google::Protobuf::AbstractMessage
4213
+
4214
+ # The requested size of the page to retrieve.
4215
+ # Cannot exceed 1000. Defaults to 100.
4216
+ attr_reader page_size(): ::Integer
4217
+ attr_writer page_size(): ::Integer | ::Float
4218
+ def clear_page_size: () -> void
4219
+
4220
+ # The page token if this is continuing from another response.
4221
+ attr_reader page_token(): ::String
4222
+ attr_writer page_token(): ::String | ::Symbol
4223
+ def clear_page_token: () -> void
4224
+
4225
+ type init_map = {
4226
+ page_size: (::Integer | ::Float)?,
4227
+ "page_size" => (::Integer | ::Float)?,
4228
+ page_token: (::String | ::Symbol)?,
4229
+ "page_token" => (::String | ::Symbol)?,
4230
+ }
4231
+
4232
+ def initialize: (?init_map initial_value) -> void
4233
+
4234
+ def []:
4235
+ ("page_size" name) -> ::Integer
4236
+ | ("page_token" name) -> ::String
4237
+
4238
+ def []=:
4239
+ ("page_size" name, (::Integer | ::Float) value) -> void
4240
+ | ("page_token" name, (::String | ::Symbol) value) -> void
4241
+ end
4242
+
4243
+ class GetCustomRolesResponse < ::Google::Protobuf::AbstractMessage
4244
+
4245
+ # The list of custom roles in ascending ID order.
4246
+ attr_accessor custom_roles(): ::Google::Protobuf::RepeatedField
4247
+ def clear_custom_roles: () -> void
4248
+
4249
+ # The next page token.
4250
+ attr_reader next_page_token(): ::String
4251
+ attr_writer next_page_token(): ::String | ::Symbol
4252
+ def clear_next_page_token: () -> void
4253
+
4254
+ type init_map = {
4255
+ custom_roles: ::Array[::Temporalio::Api::Cloud::Identity::V1::CustomRole]?,
4256
+ "custom_roles" => ::Array[::Temporalio::Api::Cloud::Identity::V1::CustomRole]?,
4257
+ next_page_token: (::String | ::Symbol)?,
4258
+ "next_page_token" => (::String | ::Symbol)?,
4259
+ }
4260
+
4261
+ def initialize: (?init_map initial_value) -> void
4262
+
4263
+ def []:
4264
+ ("custom_roles" name) -> ::Google::Protobuf::RepeatedField
4265
+ | ("next_page_token" name) -> ::String
4266
+
4267
+ def []=:
4268
+ ("custom_roles" name, ::Google::Protobuf::RepeatedField value) -> void
4269
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
4270
+ end
4271
+
4272
+ class GetCustomRoleRequest < ::Google::Protobuf::AbstractMessage
4273
+
4274
+ # The ID of the custom role to retrieve.
4275
+ attr_reader role_id(): ::String
4276
+ attr_writer role_id(): ::String | ::Symbol
4277
+ def clear_role_id: () -> void
4278
+
4279
+ type init_map = {
4280
+ role_id: (::String | ::Symbol)?,
4281
+ "role_id" => (::String | ::Symbol)?,
4282
+ }
4283
+
4284
+ def initialize: (?init_map initial_value) -> void
4285
+
4286
+ def []:
4287
+ ("role_id" name) -> ::String
4288
+
4289
+ def []=:
4290
+ ("role_id" name, (::String | ::Symbol) value) -> void
4291
+ end
4292
+
4293
+ class GetCustomRoleResponse < ::Google::Protobuf::AbstractMessage
4294
+
4295
+ # The custom role retrieved.
4296
+ attr_accessor custom_role(): ::Temporalio::Api::Cloud::Identity::V1::CustomRole?
4297
+ def has_custom_role?: () -> bool
4298
+ def clear_custom_role: () -> void
4299
+
4300
+ type init_map = {
4301
+ custom_role: (::Temporalio::Api::Cloud::Identity::V1::CustomRole | ::Temporalio::Api::Cloud::Identity::V1::CustomRole::init_map)?,
4302
+ "custom_role" => (::Temporalio::Api::Cloud::Identity::V1::CustomRole | ::Temporalio::Api::Cloud::Identity::V1::CustomRole::init_map)?,
4303
+ }
4304
+
4305
+ def initialize: (?init_map initial_value) -> void
4306
+
4307
+ def []:
4308
+ ("custom_role" name) -> ::Temporalio::Api::Cloud::Identity::V1::CustomRole?
4309
+
4310
+ def []=:
4311
+ ("custom_role" name, ::Temporalio::Api::Cloud::Identity::V1::CustomRole? value) -> void
4312
+ end
4313
+
4314
+ class CreateCustomRoleRequest < ::Google::Protobuf::AbstractMessage
4315
+
4316
+ # The specification for the custom role to create.
4317
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec?
4318
+ def has_spec?: () -> bool
4319
+ def clear_spec: () -> void
4320
+
4321
+ # The ID to use for this async operation.
4322
+ # Optional, if not provided a random ID will be generated.
4323
+ attr_reader async_operation_id(): ::String
4324
+ attr_writer async_operation_id(): ::String | ::Symbol
4325
+ def clear_async_operation_id: () -> void
4326
+
4327
+ type init_map = {
4328
+ spec: (::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec | ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::init_map)?,
4329
+ "spec" => (::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec | ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::init_map)?,
4330
+ async_operation_id: (::String | ::Symbol)?,
4331
+ "async_operation_id" => (::String | ::Symbol)?,
4332
+ }
4333
+
4334
+ def initialize: (?init_map initial_value) -> void
4335
+
4336
+ def []:
4337
+ ("spec" name) -> ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec?
4338
+ | ("async_operation_id" name) -> ::String
4339
+
4340
+ def []=:
4341
+ ("spec" name, ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec? value) -> void
4342
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
4343
+ end
4344
+
4345
+ class CreateCustomRoleResponse < ::Google::Protobuf::AbstractMessage
4346
+
4347
+ # The ID of the custom role created.
4348
+ attr_reader role_id(): ::String
4349
+ attr_writer role_id(): ::String | ::Symbol
4350
+ def clear_role_id: () -> void
4351
+
4352
+ # The async operation.
4353
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
4354
+ def has_async_operation?: () -> bool
4355
+ def clear_async_operation: () -> void
4356
+
4357
+ type init_map = {
4358
+ role_id: (::String | ::Symbol)?,
4359
+ "role_id" => (::String | ::Symbol)?,
4360
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
4361
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
4362
+ }
4363
+
4364
+ def initialize: (?init_map initial_value) -> void
4365
+
4366
+ def []:
4367
+ ("role_id" name) -> ::String
4368
+ | ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
4369
+
4370
+ def []=:
4371
+ ("role_id" name, (::String | ::Symbol) value) -> void
4372
+ | ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
4373
+ end
4374
+
4375
+ class UpdateCustomRoleRequest < ::Google::Protobuf::AbstractMessage
4376
+
4377
+ # The ID of the custom role to update.
4378
+ attr_reader role_id(): ::String
4379
+ attr_writer role_id(): ::String | ::Symbol
4380
+ def clear_role_id: () -> void
4381
+
4382
+ # The new custom role specification.
4383
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec?
4384
+ def has_spec?: () -> bool
4385
+ def clear_spec: () -> void
4386
+
4387
+ # The version of the custom role for which this update is intended.
4388
+ # The latest version can be found in the GetCustomRole operation response.
4389
+ attr_reader resource_version(): ::String
4390
+ attr_writer resource_version(): ::String | ::Symbol
4391
+ def clear_resource_version: () -> void
4392
+
4393
+ # The ID to use for this async operation.
4394
+ # Optional, if not provided a random ID will be generated.
4395
+ attr_reader async_operation_id(): ::String
4396
+ attr_writer async_operation_id(): ::String | ::Symbol
4397
+ def clear_async_operation_id: () -> void
4398
+
4399
+ type init_map = {
4400
+ role_id: (::String | ::Symbol)?,
4401
+ "role_id" => (::String | ::Symbol)?,
4402
+ spec: (::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec | ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::init_map)?,
4403
+ "spec" => (::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec | ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::init_map)?,
4404
+ resource_version: (::String | ::Symbol)?,
4405
+ "resource_version" => (::String | ::Symbol)?,
4406
+ async_operation_id: (::String | ::Symbol)?,
4407
+ "async_operation_id" => (::String | ::Symbol)?,
4408
+ }
4409
+
4410
+ def initialize: (?init_map initial_value) -> void
4411
+
4412
+ def []:
4413
+ ("role_id" name) -> ::String
4414
+ | ("spec" name) -> ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec?
4415
+ | ("resource_version" name) -> ::String
4416
+ | ("async_operation_id" name) -> ::String
4417
+
4418
+ def []=:
4419
+ ("role_id" name, (::String | ::Symbol) value) -> void
4420
+ | ("spec" name, ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec? value) -> void
4421
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
4422
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
4423
+ end
4424
+
4425
+ class UpdateCustomRoleResponse < ::Google::Protobuf::AbstractMessage
4426
+
4427
+ # The async operation.
4428
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
4429
+ def has_async_operation?: () -> bool
4430
+ def clear_async_operation: () -> void
4431
+
4432
+ type init_map = {
4433
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
4434
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
4435
+ }
4436
+
4437
+ def initialize: (?init_map initial_value) -> void
4438
+
4439
+ def []:
4440
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
4441
+
4442
+ def []=:
4443
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
4444
+ end
4445
+
4446
+ class DeleteCustomRoleRequest < ::Google::Protobuf::AbstractMessage
4447
+
4448
+ # The ID of the custom role to delete.
4449
+ attr_reader role_id(): ::String
4450
+ attr_writer role_id(): ::String | ::Symbol
4451
+ def clear_role_id: () -> void
4452
+
4453
+ # The version of the custom role for which this delete is intended.
4454
+ # The latest version can be found in the GetCustomRole operation response.
4455
+ attr_reader resource_version(): ::String
4456
+ attr_writer resource_version(): ::String | ::Symbol
4457
+ def clear_resource_version: () -> void
4458
+
4459
+ # The ID to use for this async operation.
4460
+ # Optional, if not provided a random ID will be generated.
4461
+ attr_reader async_operation_id(): ::String
4462
+ attr_writer async_operation_id(): ::String | ::Symbol
4463
+ def clear_async_operation_id: () -> void
4464
+
4465
+ type init_map = {
4466
+ role_id: (::String | ::Symbol)?,
4467
+ "role_id" => (::String | ::Symbol)?,
4468
+ resource_version: (::String | ::Symbol)?,
4469
+ "resource_version" => (::String | ::Symbol)?,
4470
+ async_operation_id: (::String | ::Symbol)?,
4471
+ "async_operation_id" => (::String | ::Symbol)?,
4472
+ }
4473
+
4474
+ def initialize: (?init_map initial_value) -> void
4475
+
4476
+ def []:
4477
+ ("role_id" name) -> ::String
4478
+ | ("resource_version" name) -> ::String
4479
+ | ("async_operation_id" name) -> ::String
4480
+
4481
+ def []=:
4482
+ ("role_id" name, (::String | ::Symbol) value) -> void
4483
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
4484
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
4485
+ end
4486
+
4487
+ class DeleteCustomRoleResponse < ::Google::Protobuf::AbstractMessage
4488
+
4489
+ # The async operation.
4490
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
4491
+ def has_async_operation?: () -> bool
4492
+ def clear_async_operation: () -> void
4493
+
4494
+ type init_map = {
4495
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
4496
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
4497
+ }
4498
+
4499
+ def initialize: (?init_map initial_value) -> void
4500
+
4501
+ def []:
4502
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
4503
+
4504
+ def []=:
4505
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
4506
+ end
4507
+
4508
+ class GetUserNamespaceAssignmentsRequest < ::Google::Protobuf::AbstractMessage
4509
+
4510
+ # The namespace to get users for.
4511
+ attr_reader namespace(): ::String
4512
+ attr_writer namespace(): ::String | ::Symbol
4513
+ def clear_namespace: () -> void
4514
+
4515
+ # The requested size of the page to retrieve - optional.
4516
+ # Cannot exceed 1000. Defaults to 100.
4517
+ attr_reader page_size(): ::Integer
4518
+ attr_writer page_size(): ::Integer | ::Float
4519
+ def clear_page_size: () -> void
4520
+
4521
+ # The page token if this is continuing from another response - optional.
4522
+ attr_reader page_token(): ::String
4523
+ attr_writer page_token(): ::String | ::Symbol
4524
+ def clear_page_token: () -> void
4525
+
4526
+ type init_map = {
4527
+ namespace: (::String | ::Symbol)?,
4528
+ "namespace" => (::String | ::Symbol)?,
4529
+ page_size: (::Integer | ::Float)?,
4530
+ "page_size" => (::Integer | ::Float)?,
4531
+ page_token: (::String | ::Symbol)?,
4532
+ "page_token" => (::String | ::Symbol)?,
4533
+ }
4534
+
4535
+ def initialize: (?init_map initial_value) -> void
4536
+
4537
+ def []:
4538
+ ("namespace" name) -> ::String
4539
+ | ("page_size" name) -> ::Integer
4540
+ | ("page_token" name) -> ::String
4541
+
4542
+ def []=:
4543
+ ("namespace" name, (::String | ::Symbol) value) -> void
4544
+ | ("page_size" name, (::Integer | ::Float) value) -> void
4545
+ | ("page_token" name, (::String | ::Symbol) value) -> void
4546
+ end
4547
+
4548
+ class GetUserNamespaceAssignmentsResponse < ::Google::Protobuf::AbstractMessage
4549
+
4550
+ # The list of users with access to the namespace.
4551
+ attr_accessor users(): ::Google::Protobuf::RepeatedField
4552
+ def clear_users: () -> void
4553
+
4554
+ # The next page's token.
4555
+ attr_reader next_page_token(): ::String
4556
+ attr_writer next_page_token(): ::String | ::Symbol
4557
+ def clear_next_page_token: () -> void
4558
+
4559
+ type init_map = {
4560
+ users: ::Array[::Temporalio::Api::Cloud::Identity::V1::UserNamespaceAssignment]?,
4561
+ "users" => ::Array[::Temporalio::Api::Cloud::Identity::V1::UserNamespaceAssignment]?,
4562
+ next_page_token: (::String | ::Symbol)?,
4563
+ "next_page_token" => (::String | ::Symbol)?,
4564
+ }
4565
+
4566
+ def initialize: (?init_map initial_value) -> void
4567
+
4568
+ def []:
4569
+ ("users" name) -> ::Google::Protobuf::RepeatedField
4570
+ | ("next_page_token" name) -> ::String
4571
+
4572
+ def []=:
4573
+ ("users" name, ::Google::Protobuf::RepeatedField value) -> void
4574
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
4575
+ end
4576
+
4577
+ class GetServiceAccountNamespaceAssignmentsRequest < ::Google::Protobuf::AbstractMessage
4578
+
4579
+ # The namespace to get service accounts for.
4580
+ attr_reader namespace(): ::String
4581
+ attr_writer namespace(): ::String | ::Symbol
4582
+ def clear_namespace: () -> void
4583
+
4584
+ # The requested size of the page to retrieve - optional.
4585
+ # Cannot exceed 1000. Defaults to 100.
4586
+ attr_reader page_size(): ::Integer
4587
+ attr_writer page_size(): ::Integer | ::Float
4588
+ def clear_page_size: () -> void
4589
+
4590
+ # The page token if this is continuing from another response - optional.
4591
+ attr_reader page_token(): ::String
4592
+ attr_writer page_token(): ::String | ::Symbol
4593
+ def clear_page_token: () -> void
4594
+
4595
+ type init_map = {
4596
+ namespace: (::String | ::Symbol)?,
4597
+ "namespace" => (::String | ::Symbol)?,
4598
+ page_size: (::Integer | ::Float)?,
4599
+ "page_size" => (::Integer | ::Float)?,
4600
+ page_token: (::String | ::Symbol)?,
4601
+ "page_token" => (::String | ::Symbol)?,
4602
+ }
4603
+
4604
+ def initialize: (?init_map initial_value) -> void
4605
+
4606
+ def []:
4607
+ ("namespace" name) -> ::String
4608
+ | ("page_size" name) -> ::Integer
4609
+ | ("page_token" name) -> ::String
4610
+
4611
+ def []=:
4612
+ ("namespace" name, (::String | ::Symbol) value) -> void
4613
+ | ("page_size" name, (::Integer | ::Float) value) -> void
4614
+ | ("page_token" name, (::String | ::Symbol) value) -> void
4615
+ end
4616
+
4617
+ class GetServiceAccountNamespaceAssignmentsResponse < ::Google::Protobuf::AbstractMessage
4618
+
4619
+ # The list of service accounts with access to the namespace.
4620
+ attr_accessor service_accounts(): ::Google::Protobuf::RepeatedField
4621
+ def clear_service_accounts: () -> void
4622
+
4623
+ # The next page's token.
4624
+ attr_reader next_page_token(): ::String
4625
+ attr_writer next_page_token(): ::String | ::Symbol
4626
+ def clear_next_page_token: () -> void
4627
+
4628
+ type init_map = {
4629
+ service_accounts: ::Array[::Temporalio::Api::Cloud::Identity::V1::ServiceAccountNamespaceAssignment]?,
4630
+ "service_accounts" => ::Array[::Temporalio::Api::Cloud::Identity::V1::ServiceAccountNamespaceAssignment]?,
4631
+ next_page_token: (::String | ::Symbol)?,
4632
+ "next_page_token" => (::String | ::Symbol)?,
4633
+ }
4634
+
4635
+ def initialize: (?init_map initial_value) -> void
4636
+
4637
+ def []:
4638
+ ("service_accounts" name) -> ::Google::Protobuf::RepeatedField
4639
+ | ("next_page_token" name) -> ::String
4640
+
4641
+ def []=:
4642
+ ("service_accounts" name, ::Google::Protobuf::RepeatedField value) -> void
4643
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
4644
+ end
4645
+
4646
+ class GetUserGroupNamespaceAssignmentsRequest < ::Google::Protobuf::AbstractMessage
4647
+
4648
+ # The namespace to get user groups for.
4649
+ attr_reader namespace(): ::String
4650
+ attr_writer namespace(): ::String | ::Symbol
4651
+ def clear_namespace: () -> void
4652
+
4653
+ # The requested size of the page to retrieve - optional.
4654
+ # Cannot exceed 1000. Defaults to 100.
4655
+ attr_reader page_size(): ::Integer
4656
+ attr_writer page_size(): ::Integer | ::Float
4657
+ def clear_page_size: () -> void
4658
+
4659
+ # The page token if this is continuing from another response - optional.
4660
+ attr_reader page_token(): ::String
4661
+ attr_writer page_token(): ::String | ::Symbol
4662
+ def clear_page_token: () -> void
4663
+
4664
+ type init_map = {
4665
+ namespace: (::String | ::Symbol)?,
4666
+ "namespace" => (::String | ::Symbol)?,
4667
+ page_size: (::Integer | ::Float)?,
4668
+ "page_size" => (::Integer | ::Float)?,
4669
+ page_token: (::String | ::Symbol)?,
4670
+ "page_token" => (::String | ::Symbol)?,
4671
+ }
4672
+
4673
+ def initialize: (?init_map initial_value) -> void
4674
+
4675
+ def []:
4676
+ ("namespace" name) -> ::String
4677
+ | ("page_size" name) -> ::Integer
4678
+ | ("page_token" name) -> ::String
4679
+
4680
+ def []=:
4681
+ ("namespace" name, (::String | ::Symbol) value) -> void
4682
+ | ("page_size" name, (::Integer | ::Float) value) -> void
4683
+ | ("page_token" name, (::String | ::Symbol) value) -> void
4684
+ end
4685
+
4686
+ class GetUserGroupNamespaceAssignmentsResponse < ::Google::Protobuf::AbstractMessage
4687
+
4688
+ # The list of user groups with access to the namespace.
4689
+ attr_accessor groups(): ::Google::Protobuf::RepeatedField
4690
+ def clear_groups: () -> void
4691
+
4692
+ # The next page's token.
4693
+ attr_reader next_page_token(): ::String
4694
+ attr_writer next_page_token(): ::String | ::Symbol
4695
+ def clear_next_page_token: () -> void
4696
+
4697
+ type init_map = {
4698
+ groups: ::Array[::Temporalio::Api::Cloud::Identity::V1::UserGroupNamespaceAssignment]?,
4699
+ "groups" => ::Array[::Temporalio::Api::Cloud::Identity::V1::UserGroupNamespaceAssignment]?,
4700
+ next_page_token: (::String | ::Symbol)?,
4701
+ "next_page_token" => (::String | ::Symbol)?,
4702
+ }
4703
+
4704
+ def initialize: (?init_map initial_value) -> void
4705
+
4706
+ def []:
4707
+ ("groups" name) -> ::Google::Protobuf::RepeatedField
4708
+ | ("next_page_token" name) -> ::String
4709
+
4710
+ def []=:
4711
+ ("groups" name, ::Google::Protobuf::RepeatedField value) -> void
4712
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
4713
+ end
4714
+ end
4715
+ end
4716
+ end
4717
+ end
4718
+ end
4719
+
4720
+ module Google
4721
+ module Protobuf
4722
+ class DescriptorPool
4723
+ def lookup: (::String name) -> ::Google::Protobuf::Descriptor
4724
+ end
4725
+ end
4726
+ end