volcano-sdk 0.32.7 → 0.34.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 (496) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +54 -2
  3. data/lib/volcano/auth_profile_fields.rb +2 -2
  4. data/lib/volcano/client.rb +3 -2
  5. data/lib/volcano/durable.rb +7 -34
  6. data/lib/volcano/durable_approval_models.rb +171 -0
  7. data/lib/volcano/durable_approval_responses.rb +222 -0
  8. data/lib/volcano/durable_approvals.rb +143 -0
  9. data/lib/volcano/durable_arguments.rb +59 -0
  10. data/lib/volcano/durable_models.rb +0 -4
  11. data/lib/volcano/errors.rb +5 -0
  12. data/lib/volcano/generated/lib/volcano-generated/api/anon_keys_api.rb +8 -8
  13. data/lib/volcano/generated/lib/volcano-generated/api/auth_admin_api.rb +17 -17
  14. data/lib/volcano/generated/lib/volcano-generated/api/auth_configuration_api.rb +26 -26
  15. data/lib/volcano/generated/lib/volcano-generated/api/authentication_api.rb +4 -4
  16. data/lib/volcano/generated/lib/volcano-generated/api/database_backups_api.rb +11 -11
  17. data/lib/volcano/generated/lib/volcano-generated/api/database_branches_api.rb +9 -9
  18. data/lib/volcano/generated/lib/volcano-generated/api/database_queries_api.rb +4 -4
  19. data/lib/volcano/generated/lib/volcano-generated/api/databases_api.rb +18 -18
  20. data/lib/volcano/generated/lib/volcano-generated/api/durable_functions_api.rb +559 -8
  21. data/lib/volcano/generated/lib/volcano-generated/api/frontends_api.rb +337 -21
  22. data/lib/volcano/generated/lib/volcano-generated/api/functions_api.rb +33 -27
  23. data/lib/volcano/generated/lib/volcano-generated/api/git_connections_api.rb +19 -11
  24. data/lib/volcano/generated/lib/volcano-generated/api/locks_api.rb +2 -2
  25. data/lib/volcano/generated/lib/volcano-generated/api/logs_api.rb +11 -11
  26. data/lib/volcano/generated/lib/volcano-generated/api/o_auth_authentication_api.rb +2 -2
  27. data/lib/volcano/generated/lib/volcano-generated/api/o_auth_configuration_api.rb +8 -8
  28. data/lib/volcano/generated/lib/volcano-generated/api/project_access_tokens_api.rb +479 -0
  29. data/lib/volcano/generated/lib/volcano-generated/api/project_imports_api.rb +10 -2
  30. data/lib/volcano/generated/lib/volcano-generated/api/projects_api.rb +110 -30
  31. data/lib/volcano/generated/lib/volcano-generated/api/realtime_api.rb +5 -5
  32. data/lib/volcano/generated/lib/volcano-generated/api/sandboxes_api.rb +1792 -0
  33. data/lib/volcano/generated/lib/volcano-generated/api/service_keys_api.rb +9 -9
  34. data/lib/volcano/generated/lib/volcano-generated/api/storage_admin_api.rb +4 -4
  35. data/lib/volcano/generated/lib/volcano-generated/api/storage_buckets_api.rb +7 -7
  36. data/lib/volcano/generated/lib/volcano-generated/api/storage_objects_api.rb +2 -2
  37. data/lib/volcano/generated/lib/volcano-generated/api/storage_policies_api.rb +5 -5
  38. data/lib/volcano/generated/lib/volcano-generated/api/system_api.rb +310 -2
  39. data/lib/volcano/generated/lib/volcano-generated/api/variables_api.rb +13 -13
  40. data/lib/volcano/generated/lib/volcano-generated/api/verified_domains_api.rb +214 -0
  41. data/lib/volcano/generated/lib/volcano-generated/api_client.rb +2 -2
  42. data/lib/volcano/generated/lib/volcano-generated/api_error.rb +2 -2
  43. data/lib/volcano/generated/lib/volcano-generated/api_model_base.rb +2 -2
  44. data/lib/volcano/generated/lib/volcano-generated/configuration.rb +11 -3
  45. data/lib/volcano/generated/lib/volcano-generated/models/anon_key.rb +2 -2
  46. data/lib/volcano/generated/lib/volcano-generated/models/auth_config.rb +2 -2
  47. data/lib/volcano/generated/lib/volcano-generated/models/auth_confirm_email200_response.rb +2 -2
  48. data/lib/volcano/generated/lib/volcano-generated/models/auth_confirm_email_change200_response.rb +2 -2
  49. data/lib/volcano/generated/lib/volcano-generated/models/auth_confirm_email_change_request.rb +2 -2
  50. data/lib/volcano/generated/lib/volcano-generated/models/auth_confirm_email_request.rb +2 -2
  51. data/lib/volcano/generated/lib/volcano-generated/models/auth_convert_anonymous200_response.rb +2 -2
  52. data/lib/volcano/generated/lib/volcano-generated/models/auth_device_authorize_request.rb +2 -2
  53. data/lib/volcano/generated/lib/volcano-generated/models/auth_device_token_request.rb +2 -2
  54. data/lib/volcano/generated/lib/volcano-generated/models/auth_device_verify200_response.rb +2 -2
  55. data/lib/volcano/generated/lib/volcano-generated/models/auth_device_verify_request.rb +2 -2
  56. data/lib/volcano/generated/lib/volcano-generated/models/auth_forgot_password200_response.rb +2 -2
  57. data/lib/volcano/generated/lib/volcano-generated/models/auth_forgot_password_request.rb +2 -2
  58. data/lib/volcano/generated/lib/volcano-generated/models/auth_get_my_sessions200_response.rb +2 -2
  59. data/lib/volcano/generated/lib/volcano-generated/models/auth_hosted_page.rb +2 -2
  60. data/lib/volcano/generated/lib/volcano-generated/models/auth_hosted_page_defaults.rb +2 -2
  61. data/lib/volcano/generated/lib/volcano-generated/models/auth_hosted_page_response.rb +2 -2
  62. data/lib/volcano/generated/lib/volcano-generated/models/auth_hosted_page_runtime.rb +2 -2
  63. data/lib/volcano/generated/lib/volcano-generated/models/auth_identities_response.rb +2 -2
  64. data/lib/volcano/generated/lib/volcano-generated/models/auth_identity.rb +2 -2
  65. data/lib/volcano/generated/lib/volcano-generated/models/auth_insights_interval.rb +2 -2
  66. data/lib/volcano/generated/lib/volcano-generated/models/auth_insights_response.rb +2 -2
  67. data/lib/volcano/generated/lib/volcano-generated/models/auth_insights_series_point.rb +67 -4
  68. data/lib/volcano/generated/lib/volcano-generated/models/auth_insights_summary.rb +77 -5
  69. data/lib/volcano/generated/lib/volcano-generated/models/auth_insights_window.rb +2 -2
  70. data/lib/volcano/generated/lib/volcano-generated/models/auth_link_o_auth_provider200_response.rb +2 -2
  71. data/lib/volcano/generated/lib/volcano-generated/models/auth_list_o_auth_providers200_response.rb +2 -2
  72. data/lib/volcano/generated/lib/volcano-generated/models/auth_list_o_auth_providers200_response_providers_inner.rb +2 -2
  73. data/lib/volcano/generated/lib/volcano-generated/models/auth_method_summary.rb +2 -2
  74. data/lib/volcano/generated/lib/volcano-generated/models/auth_methods_response.rb +2 -2
  75. data/lib/volcano/generated/lib/volcano-generated/models/auth_o_auth_exchange_request.rb +2 -2
  76. data/lib/volcano/generated/lib/volcano-generated/models/auth_page_appearance_defaults.rb +2 -2
  77. data/lib/volcano/generated/lib/volcano-generated/models/auth_page_appearance_options.rb +2 -2
  78. data/lib/volcano/generated/lib/volcano-generated/models/auth_page_appearance_response.rb +2 -2
  79. data/lib/volcano/generated/lib/volcano-generated/models/auth_page_density.rb +2 -2
  80. data/lib/volcano/generated/lib/volcano-generated/models/auth_page_font.rb +2 -2
  81. data/lib/volcano/generated/lib/volcano-generated/models/auth_page_layout.rb +2 -2
  82. data/lib/volcano/generated/lib/volcano-generated/models/auth_page_radius.rb +2 -2
  83. data/lib/volcano/generated/lib/volcano-generated/models/auth_page_scale.rb +2 -2
  84. data/lib/volcano/generated/lib/volcano-generated/models/auth_page_theme.rb +2 -2
  85. data/lib/volcano/generated/lib/volcano-generated/models/auth_page_theme_colors.rb +2 -2
  86. data/lib/volcano/generated/lib/volcano-generated/models/auth_password_policy.rb +2 -2
  87. data/lib/volcano/generated/lib/volcano-generated/models/auth_platform_exchange_request.rb +2 -2
  88. data/lib/volcano/generated/lib/volcano-generated/models/auth_refresh_request.rb +2 -2
  89. data/lib/volcano/generated/lib/volcano-generated/models/auth_request_email_change200_response.rb +2 -2
  90. data/lib/volcano/generated/lib/volcano-generated/models/auth_request_email_change_request.rb +2 -2
  91. data/lib/volcano/generated/lib/volcano-generated/models/auth_reset_password200_response.rb +2 -2
  92. data/lib/volcano/generated/lib/volcano-generated/models/auth_reset_password_request.rb +2 -2
  93. data/lib/volcano/generated/lib/volcano-generated/models/auth_session.rb +2 -2
  94. data/lib/volcano/generated/lib/volcano-generated/models/auth_signin_request.rb +2 -2
  95. data/lib/volcano/generated/lib/volcano-generated/models/auth_signup_anonymous_request.rb +2 -2
  96. data/lib/volcano/generated/lib/volcano-generated/models/auth_signup_request.rb +2 -2
  97. data/lib/volcano/generated/lib/volcano-generated/models/auth_signup_response.rb +2 -2
  98. data/lib/volcano/generated/lib/volcano-generated/models/auth_token_response.rb +2 -2
  99. data/lib/volcano/generated/lib/volcano-generated/models/auth_update_user_request.rb +2 -2
  100. data/lib/volcano/generated/lib/volcano-generated/models/auth_user.rb +2 -2
  101. data/lib/volcano/generated/lib/volcano-generated/models/ban_auth_user_request.rb +2 -2
  102. data/lib/volcano/generated/lib/volcano-generated/models/ban_user_response.rb +2 -2
  103. data/lib/volcano/generated/lib/volcano-generated/models/batch_function_deploy_failure.rb +2 -2
  104. data/lib/volcano/generated/lib/volcano-generated/models/batch_function_deploy_response.rb +2 -2
  105. data/lib/volcano/generated/lib/volcano-generated/models/byoc_project_config_frontend_custom_domain_tls_config.rb +270 -0
  106. data/lib/volcano/generated/lib/volcano-generated/models/byoc_project_config_frontend_custom_domain_tls_config_not.rb +102 -0
  107. data/lib/volcano/generated/lib/volcano-generated/models/call_mcp200_response.rb +220 -0
  108. data/lib/volcano/generated/lib/volcano-generated/models/call_mcp200_response_error.rb +190 -0
  109. data/lib/volcano/generated/lib/volcano-generated/models/call_mcp200_response_id.rb +105 -0
  110. data/lib/volcano/generated/lib/volcano-generated/models/call_mcp_request.rb +236 -0
  111. data/lib/volcano/generated/lib/volcano-generated/models/call_mcp_request_id.rb +105 -0
  112. data/lib/volcano/generated/lib/volcano-generated/models/call_o_auth_provider_api200_response.rb +2 -2
  113. data/lib/volcano/generated/lib/volcano-generated/models/call_o_auth_provider_api_request.rb +2 -2
  114. data/lib/volcano/generated/lib/volcano-generated/models/complete_upload_session_response.rb +2 -2
  115. data/lib/volcano/generated/lib/volcano-generated/models/configure_auth_methods_request.rb +2 -2
  116. data/lib/volcano/generated/lib/volcano-generated/models/configure_auth_methods_request_oauth_providers_inner.rb +2 -2
  117. data/lib/volcano/generated/lib/volcano-generated/models/connect_project_git_request.rb +2 -2
  118. data/lib/volcano/generated/lib/volcano-generated/models/create_anon_key_request.rb +2 -2
  119. data/lib/volcano/generated/lib/volcano-generated/models/create_database_backup_request.rb +2 -2
  120. data/lib/volcano/generated/lib/volcano-generated/models/create_database_branch_request.rb +2 -2
  121. data/lib/volcano/generated/lib/volcano-generated/models/create_database_request.rb +6 -6
  122. data/lib/volcano/generated/lib/volcano-generated/models/create_database_restore_request.rb +2 -2
  123. data/lib/volcano/generated/lib/volcano-generated/models/create_email_template_request.rb +2 -2
  124. data/lib/volcano/generated/lib/volcano-generated/models/create_frontend_custom_domain_request.rb +12 -3
  125. data/lib/volcano/generated/lib/volcano-generated/models/create_frontend_function_route_request.rb +230 -0
  126. data/lib/volcano/generated/lib/volcano-generated/models/create_function_scheduler_request.rb +2 -2
  127. data/lib/volcano/generated/lib/volcano-generated/models/create_o_auth_config_request.rb +2 -2
  128. data/lib/volcano/generated/lib/volcano-generated/models/create_project_access_token_request.rb +241 -0
  129. data/lib/volcano/generated/lib/volcano-generated/models/create_project_request.rb +57 -3
  130. data/lib/volcano/generated/lib/volcano-generated/models/create_sandbox_session_request.rb +292 -0
  131. data/lib/volcano/generated/lib/volcano-generated/models/create_sandbox_template_request.rb +247 -0
  132. data/lib/volcano/generated/lib/volcano-generated/models/create_service_key_request.rb +2 -2
  133. data/lib/volcano/generated/lib/volcano-generated/models/create_storage_bucket_request.rb +2 -2
  134. data/lib/volcano/generated/lib/volcano-generated/models/create_storage_policy_request.rb +2 -2
  135. data/lib/volcano/generated/lib/volcano-generated/models/create_upload_session_request.rb +2 -2
  136. data/lib/volcano/generated/lib/volcano-generated/models/create_upload_session_response.rb +2 -2
  137. data/lib/volcano/generated/lib/volcano-generated/models/create_variable_request.rb +3 -2
  138. data/lib/volcano/generated/lib/volcano-generated/models/created_project_access_token.rb +459 -0
  139. data/lib/volcano/generated/lib/volcano-generated/models/database.rb +2 -2
  140. data/lib/volcano/generated/lib/volcano-generated/models/database_backup.rb +2 -2
  141. data/lib/volcano/generated/lib/volcano-generated/models/database_backup_list.rb +2 -2
  142. data/lib/volcano/generated/lib/volcano-generated/models/database_backup_schedule.rb +2 -2
  143. data/lib/volcano/generated/lib/volcano-generated/models/database_backup_schedule_entry.rb +2 -2
  144. data/lib/volcano/generated/lib/volcano-generated/models/database_branch.rb +2 -2
  145. data/lib/volcano/generated/lib/volcano-generated/models/database_branch_list.rb +2 -2
  146. data/lib/volcano/generated/lib/volcano-generated/models/database_branch_storage.rb +2 -2
  147. data/lib/volcano/generated/lib/volcano-generated/models/database_delete_request.rb +2 -2
  148. data/lib/volcano/generated/lib/volcano-generated/models/database_insert_request.rb +3 -3
  149. data/lib/volcano/generated/lib/volcano-generated/models/database_query_filter.rb +2 -2
  150. data/lib/volcano/generated/lib/volcano-generated/models/database_query_filter_value.rb +3 -3
  151. data/lib/volcano/generated/lib/volcano-generated/models/database_query_filter_value_one_of_inner.rb +3 -3
  152. data/lib/volcano/generated/lib/volcano-generated/models/database_query_order.rb +2 -2
  153. data/lib/volcano/generated/lib/volcano-generated/models/database_query_performance_database.rb +2 -2
  154. data/lib/volcano/generated/lib/volcano-generated/models/database_query_performance_item.rb +4 -4
  155. data/lib/volcano/generated/lib/volcano-generated/models/database_query_performance_response.rb +2 -2
  156. data/lib/volcano/generated/lib/volcano-generated/models/database_query_result.rb +2 -2
  157. data/lib/volcano/generated/lib/volcano-generated/models/database_restore.rb +2 -2
  158. data/lib/volcano/generated/lib/volcano-generated/models/database_restore_list.rb +2 -2
  159. data/lib/volcano/generated/lib/volcano-generated/models/database_restore_window.rb +2 -2
  160. data/lib/volcano/generated/lib/volcano-generated/models/database_select_request.rb +2 -2
  161. data/lib/volcano/generated/lib/volcano-generated/models/database_stats.rb +2 -2
  162. data/lib/volcano/generated/lib/volcano-generated/models/database_update_request.rb +3 -3
  163. data/lib/volcano/generated/lib/volcano-generated/models/delete_database202_response.rb +2 -2
  164. data/lib/volcano/generated/lib/volcano-generated/models/delete_database_backup200_response.rb +2 -2
  165. data/lib/volcano/generated/lib/volcano-generated/models/delete_database_branch202_response.rb +2 -2
  166. data/lib/volcano/generated/lib/volcano-generated/models/deployment_phase.rb +2 -2
  167. data/lib/volcano/generated/lib/volcano-generated/models/deployment_progress.rb +2 -2
  168. data/lib/volcano/generated/lib/volcano-generated/models/deployment_reference.rb +2 -2
  169. data/lib/volcano/generated/lib/volcano-generated/models/device_authorization_response.rb +2 -2
  170. data/lib/volcano/generated/lib/volcano-generated/models/durable_approval.rb +406 -0
  171. data/lib/volcano/generated/lib/volcano-generated/models/durable_approval_counts.rb +295 -0
  172. data/lib/volcano/generated/lib/volcano-generated/models/durable_approval_daily_counts.rb +190 -0
  173. data/lib/volcano/generated/lib/volcano-generated/models/durable_approval_decider.rb +191 -0
  174. data/lib/volcano/generated/lib/volcano-generated/models/durable_approval_decision.rb +203 -0
  175. data/lib/volcano/generated/lib/volcano-generated/models/durable_approval_decision_request.rb +167 -0
  176. data/lib/volcano/generated/lib/volcano-generated/models/durable_approval_execution.rb +211 -0
  177. data/lib/volcano/generated/lib/volcano-generated/models/durable_approval_function.rb +177 -0
  178. data/lib/volcano/generated/lib/volcano-generated/models/durable_approval_function_counts.rb +190 -0
  179. data/lib/volcano/generated/lib/volcano-generated/models/durable_approval_registration.rb +225 -0
  180. data/lib/volcano/generated/lib/volcano-generated/models/durable_approval_stats.rb +339 -0
  181. data/lib/volcano/generated/lib/volcano-generated/models/durable_approval_status.rb +43 -0
  182. data/lib/volcano/generated/lib/volcano-generated/models/durable_execution.rb +2 -2
  183. data/lib/volcano/generated/lib/volcano-generated/models/durable_execution_error.rb +2 -2
  184. data/lib/volcano/generated/lib/volcano-generated/models/durable_execution_invocation.rb +191 -0
  185. data/lib/volcano/generated/lib/volcano-generated/models/durable_execution_operation.rb +372 -0
  186. data/lib/volcano/generated/lib/volcano-generated/models/durable_execution_operation_attempt.rb +271 -0
  187. data/lib/volcano/generated/lib/volcano-generated/models/durable_execution_operation_list.rb +234 -0
  188. data/lib/volcano/generated/lib/volcano-generated/models/durable_execution_status.rb +2 -2
  189. data/lib/volcano/generated/lib/volcano-generated/models/durable_function.rb +31 -4
  190. data/lib/volcano/generated/lib/volcano-generated/models/durable_function_config.rb +2 -2
  191. data/lib/volcano/generated/lib/volcano-generated/models/email_template.rb +2 -2
  192. data/lib/volcano/generated/lib/volcano-generated/models/error.rb +2 -2
  193. data/lib/volcano/generated/lib/volcano-generated/models/export_project_source_request.rb +2 -2
  194. data/lib/volcano/generated/lib/volcano-generated/models/frontend.rb +85 -3
  195. data/lib/volcano/generated/lib/volcano-generated/models/frontend_custom_domain_conflict_error.rb +191 -0
  196. data/lib/volcano/generated/lib/volcano-generated/models/frontend_custom_domain_response.rb +27 -5
  197. data/lib/volcano/generated/lib/volcano-generated/models/frontend_custom_domain_tls_config.rb +42 -18
  198. data/lib/volcano/generated/lib/volcano-generated/models/frontend_custom_domain_tls_config_not.rb +103 -0
  199. data/lib/volcano/generated/lib/volcano-generated/models/frontend_custom_domain_tls_config_not_any_of.rb +188 -0
  200. data/lib/volcano/generated/lib/volcano-generated/models/frontend_custom_domain_tls_config_not_any_of1.rb +188 -0
  201. data/lib/volcano/generated/lib/volcano-generated/models/frontend_deployment.rb +24 -68
  202. data/lib/volcano/generated/lib/volcano-generated/models/frontend_domain_routing_record.rb +2 -2
  203. data/lib/volcano/generated/lib/volcano-generated/models/frontend_domain_verification_record.rb +3 -2
  204. data/lib/volcano/generated/lib/volcano-generated/models/frontend_function_route.rb +375 -0
  205. data/lib/volcano/generated/lib/volcano-generated/models/frontend_function_route_list.rb +166 -0
  206. data/lib/volcano/generated/lib/volcano-generated/models/frontend_usage_daily_entry.rb +2 -2
  207. data/lib/volcano/generated/lib/volcano-generated/models/frontend_usage_data.rb +2 -2
  208. data/lib/volcano/generated/lib/volcano-generated/models/frontend_usage_history_response.rb +2 -2
  209. data/lib/volcano/generated/lib/volcano-generated/models/function.rb +31 -14
  210. data/lib/volcano/generated/lib/volcano-generated/models/function_deployment.rb +24 -50
  211. data/lib/volcano/generated/lib/volcano-generated/models/function_http_auth_mode.rb +2 -2
  212. data/lib/volcano/generated/lib/volcano-generated/models/function_invocation_mode.rb +2 -2
  213. data/lib/volcano/generated/lib/volcano-generated/models/function_invocation_request.rb +2 -2
  214. data/lib/volcano/generated/lib/volcano-generated/models/function_kind.rb +2 -2
  215. data/lib/volcano/generated/lib/volcano-generated/models/function_kind_filter.rb +40 -0
  216. data/lib/volcano/generated/lib/volcano-generated/models/function_region.rb +2 -2
  217. data/lib/volcano/generated/lib/volcano-generated/models/function_runtime_deployment.rb +2 -2
  218. data/lib/volcano/generated/lib/volcano-generated/models/function_runtime_option.rb +30 -3
  219. data/lib/volcano/generated/lib/volcano-generated/models/function_runtimes_response.rb +2 -2
  220. data/lib/volcano/generated/lib/volcano-generated/models/function_scheduler.rb +2 -2
  221. data/lib/volcano/generated/lib/volcano-generated/models/function_scheduler_list_response.rb +2 -2
  222. data/lib/volcano/generated/lib/volcano-generated/models/function_visibility.rb +41 -0
  223. data/lib/volcano/generated/lib/volcano-generated/models/get_auth_methods200_response.rb +2 -2
  224. data/lib/volcano/generated/lib/volcano-generated/models/get_auth_methods200_response_email_password.rb +2 -2
  225. data/lib/volcano/generated/lib/volcano-generated/models/get_auth_methods200_response_oauth_providers_inner.rb +2 -2
  226. data/lib/volcano/generated/lib/volcano-generated/models/git_connect_start_response.rb +2 -2
  227. data/lib/volcano/generated/lib/volcano-generated/models/git_connection.rb +2 -2
  228. data/lib/volcano/generated/lib/volcano-generated/models/git_connections_response.rb +2 -2
  229. data/lib/volcano/generated/lib/volcano-generated/models/git_installation.rb +2 -2
  230. data/lib/volcano/generated/lib/volcano-generated/models/git_installations_response.rb +2 -2
  231. data/lib/volcano/generated/lib/volcano-generated/models/git_repositories_response.rb +2 -2
  232. data/lib/volcano/generated/lib/volcano-generated/models/git_repository.rb +2 -2
  233. data/lib/volcano/generated/lib/volcano-generated/models/hosted_auth_page_type.rb +2 -2
  234. data/lib/volcano/generated/lib/volcano-generated/models/hosted_login_email_check_request.rb +2 -2
  235. data/lib/volcano/generated/lib/volcano-generated/models/hosted_login_email_check_response.rb +2 -2
  236. data/lib/volcano/generated/lib/volcano-generated/models/hosted_login_options_response.rb +2 -2
  237. data/lib/volcano/generated/lib/volcano-generated/models/hosted_renderable_page_type.rb +2 -2
  238. data/lib/volcano/generated/lib/volcano-generated/models/import_connect_start_response.rb +2 -2
  239. data/lib/volcano/generated/lib/volcano-generated/models/import_connection.rb +2 -2
  240. data/lib/volcano/generated/lib/volcano-generated/models/import_connections_response.rb +2 -2
  241. data/lib/volcano/generated/lib/volcano-generated/models/import_provider.rb +2 -2
  242. data/lib/volcano/generated/lib/volcano-generated/models/import_source.rb +2 -2
  243. data/lib/volcano/generated/lib/volcano-generated/models/import_sources_response.rb +2 -2
  244. data/lib/volcano/generated/lib/volcano-generated/models/list_anon_keys200_response.rb +2 -2
  245. data/lib/volcano/generated/lib/volcano-generated/models/list_available_o_auth_providers200_response.rb +2 -2
  246. data/lib/volcano/generated/lib/volcano-generated/models/list_available_o_auth_providers200_response_providers_inner.rb +2 -2
  247. data/lib/volcano/generated/lib/volcano-generated/models/list_database_regions200_response_inner.rb +2 -2
  248. data/lib/volcano/generated/lib/volcano-generated/models/list_email_templates200_response.rb +2 -2
  249. data/lib/volcano/generated/lib/volcano-generated/models/list_o_auth_configs200_response.rb +2 -2
  250. data/lib/volcano/generated/lib/volcano-generated/models/list_postgres_versions200_response_inner.rb +14 -4
  251. data/lib/volcano/generated/lib/volcano-generated/models/list_storage_buckets200_response.rb +3 -3
  252. data/lib/volcano/generated/lib/volcano-generated/models/list_storage_objects_admin200_response.rb +2 -2
  253. data/lib/volcano/generated/lib/volcano-generated/models/live_log_level.rb +2 -2
  254. data/lib/volcano/generated/lib/volcano-generated/models/log_activity_bucket.rb +5 -5
  255. data/lib/volcano/generated/lib/volcano-generated/models/log_activity_bucket_counts.rb +2 -2
  256. data/lib/volcano/generated/lib/volcano-generated/models/log_activity_request.rb +5 -5
  257. data/lib/volcano/generated/lib/volcano-generated/models/log_activity_response.rb +2 -2
  258. data/lib/volcano/generated/lib/volcano-generated/models/log_database_request_resource.rb +2 -2
  259. data/lib/volcano/generated/lib/volcano-generated/models/log_deployment.rb +2 -2
  260. data/lib/volcano/generated/lib/volcano-generated/models/log_deployment_request_selector.rb +2 -2
  261. data/lib/volcano/generated/lib/volcano-generated/models/log_event.rb +2 -2
  262. data/lib/volcano/generated/lib/volcano-generated/models/log_event_body.rb +3 -3
  263. data/lib/volcano/generated/lib/volcano-generated/models/log_frontend_request_resource.rb +2 -2
  264. data/lib/volcano/generated/lib/volcano-generated/models/log_function_request_resource.rb +13 -3
  265. data/lib/volcano/generated/lib/volcano-generated/models/log_request_resource.rb +3 -3
  266. data/lib/volcano/generated/lib/volcano-generated/models/log_resource.rb +2 -2
  267. data/lib/volcano/generated/lib/volcano-generated/models/log_search_event.rb +2 -2
  268. data/lib/volcano/generated/lib/volcano-generated/models/log_search_request.rb +2 -2
  269. data/lib/volcano/generated/lib/volcano-generated/models/log_search_response.rb +4 -4
  270. data/lib/volcano/generated/lib/volcano-generated/models/log_stream_request.rb +2 -2
  271. data/lib/volcano/generated/lib/volcano-generated/models/managed_project_config_frontend_custom_domain_tls_config.rb +189 -0
  272. data/lib/volcano/generated/lib/volcano-generated/models/metric_usage_data.rb +3 -3
  273. data/lib/volcano/generated/lib/volcano-generated/models/o_auth_config.rb +2 -2
  274. data/lib/volcano/generated/lib/volcano-generated/models/o_auth_error_response.rb +2 -2
  275. data/lib/volcano/generated/lib/volcano-generated/models/paginated_auth_users.rb +2 -2
  276. data/lib/volcano/generated/lib/volcano-generated/models/paginated_databases.rb +2 -2
  277. data/lib/volcano/generated/lib/volcano-generated/models/paginated_durable_approvals.rb +274 -0
  278. data/lib/volcano/generated/lib/volcano-generated/models/paginated_durable_executions.rb +2 -2
  279. data/lib/volcano/generated/lib/volcano-generated/models/paginated_durable_functions.rb +2 -2
  280. data/lib/volcano/generated/lib/volcano-generated/models/paginated_frontend_deployments.rb +2 -2
  281. data/lib/volcano/generated/lib/volcano-generated/models/paginated_frontends.rb +2 -2
  282. data/lib/volcano/generated/lib/volcano-generated/models/paginated_function_deployments.rb +2 -2
  283. data/lib/volcano/generated/lib/volcano-generated/models/paginated_functions.rb +2 -2
  284. data/lib/volcano/generated/lib/volcano-generated/models/paginated_project_access_tokens.rb +279 -0
  285. data/lib/volcano/generated/lib/volcano-generated/models/paginated_project_custom_domains.rb +2 -2
  286. data/lib/volcano/generated/lib/volcano-generated/models/paginated_project_deployments.rb +2 -2
  287. data/lib/volcano/generated/lib/volcano-generated/models/paginated_projects.rb +2 -2
  288. data/lib/volcano/generated/lib/volcano-generated/models/paginated_service_keys.rb +2 -2
  289. data/lib/volcano/generated/lib/volcano-generated/models/paginated_storage_buckets.rb +2 -2
  290. data/lib/volcano/generated/lib/volcano-generated/models/paginated_variables.rb +2 -2
  291. data/lib/volcano/generated/lib/volcano-generated/models/platform_exchange_response.rb +2 -2
  292. data/lib/volcano/generated/lib/volcano-generated/models/preview_auth_page_request.rb +2 -2
  293. data/lib/volcano/generated/lib/volcano-generated/models/preview_auth_page_response.rb +2 -2
  294. data/lib/volcano/generated/lib/volcano-generated/models/project.rb +13 -13
  295. data/lib/volcano/generated/lib/volcano-generated/models/project_access_token.rb +426 -0
  296. data/lib/volcano/generated/lib/volcano-generated/models/project_access_token_scope.rb +40 -0
  297. data/lib/volcano/generated/lib/volcano-generated/models/project_access_token_usage.rb +299 -0
  298. data/lib/volcano/generated/lib/volcano-generated/models/project_access_token_usage_daily_entry.rb +191 -0
  299. data/lib/volcano/generated/lib/volcano-generated/models/project_config.rb +40 -6
  300. data/lib/volcano/generated/lib/volcano-generated/models/project_config_apply_result.rb +2 -2
  301. data/lib/volcano/generated/lib/volcano-generated/models/project_config_apply_result_entry.rb +2 -2
  302. data/lib/volcano/generated/lib/volcano-generated/models/project_config_apply_summary.rb +2 -2
  303. data/lib/volcano/generated/lib/volcano-generated/models/project_config_auth.rb +2 -2
  304. data/lib/volcano/generated/lib/volcano-generated/models/project_config_auth_cors.rb +2 -2
  305. data/lib/volcano/generated/lib/volcano-generated/models/project_config_auth_email.rb +2 -2
  306. data/lib/volcano/generated/lib/volcano-generated/models/project_config_auth_email_from.rb +2 -2
  307. data/lib/volcano/generated/lib/volcano-generated/models/project_config_auth_email_password_provider.rb +2 -2
  308. data/lib/volcano/generated/lib/volcano-generated/models/project_config_auth_email_smtp.rb +2 -2
  309. data/lib/volcano/generated/lib/volcano-generated/models/project_config_auth_email_verification.rb +2 -2
  310. data/lib/volcano/generated/lib/volcano-generated/models/project_config_auth_managed_pages.rb +2 -2
  311. data/lib/volcano/generated/lib/volcano-generated/models/project_config_auth_page_appearance.rb +2 -2
  312. data/lib/volcano/generated/lib/volcano-generated/models/project_config_auth_page_layouts.rb +2 -2
  313. data/lib/volcano/generated/lib/volcano-generated/models/project_config_auth_password.rb +2 -2
  314. data/lib/volcano/generated/lib/volcano-generated/models/project_config_auth_password_reset.rb +2 -2
  315. data/lib/volcano/generated/lib/volcano-generated/models/project_config_auth_providers.rb +2 -2
  316. data/lib/volcano/generated/lib/volcano-generated/models/project_config_auth_rate_limits.rb +2 -2
  317. data/lib/volcano/generated/lib/volcano-generated/models/project_config_auth_redirects.rb +2 -2
  318. data/lib/volcano/generated/lib/volcano-generated/models/project_config_auth_sessions.rb +2 -2
  319. data/lib/volcano/generated/lib/volcano-generated/models/project_config_auth_signup.rb +2 -2
  320. data/lib/volcano/generated/lib/volcano-generated/models/project_config_auth_tokens.rb +2 -2
  321. data/lib/volcano/generated/lib/volcano-generated/models/project_config_bucket.rb +2 -2
  322. data/lib/volcano/generated/lib/volcano-generated/models/project_config_bucket_policy.rb +2 -2
  323. data/lib/volcano/generated/lib/volcano-generated/models/project_config_custom_domain.rb +14 -5
  324. data/lib/volcano/generated/lib/volcano-generated/models/project_config_database.rb +6 -6
  325. data/lib/volcano/generated/lib/volcano-generated/models/project_config_email_template.rb +2 -2
  326. data/lib/volcano/generated/lib/volcano-generated/models/project_config_email_templates.rb +2 -2
  327. data/lib/volcano/generated/lib/volcano-generated/models/project_config_frontend.rb +103 -6
  328. data/lib/volcano/generated/lib/volcano-generated/models/project_config_frontend_custom_domain_tls_config.rb +105 -0
  329. data/lib/volcano/generated/lib/volcano-generated/models/project_config_frontend_function_route.rb +240 -0
  330. data/lib/volcano/generated/lib/volcano-generated/models/project_config_function.rb +13 -4
  331. data/lib/volcano/generated/lib/volcano-generated/models/project_config_hosted_page.rb +2 -2
  332. data/lib/volcano/generated/lib/volcano-generated/models/project_config_hosted_pages.rb +2 -2
  333. data/lib/volcano/generated/lib/volcano-generated/models/project_config_missing_resource.rb +4 -4
  334. data/lib/volcano/generated/lib/volcano-generated/models/project_config_o_auth_provider.rb +2 -2
  335. data/lib/volcano/generated/lib/volcano-generated/models/project_config_project.rb +2 -2
  336. data/lib/volcano/generated/lib/volcano-generated/models/project_config_realtime.rb +2 -2
  337. data/lib/volcano/generated/lib/volcano-generated/models/project_config_sandbox.rb +327 -0
  338. data/lib/volcano/generated/lib/volcano-generated/models/project_config_scheduler.rb +2 -2
  339. data/lib/volcano/generated/lib/volcano-generated/models/project_config_skipped_resource.rb +4 -4
  340. data/lib/volcano/generated/lib/volcano-generated/models/project_config_validation_error.rb +2 -2
  341. data/lib/volcano/generated/lib/volcano-generated/models/project_config_validation_error_response.rb +2 -2
  342. data/lib/volcano/generated/lib/volcano-generated/models/project_config_variable.rb +3 -2
  343. data/lib/volcano/generated/lib/volcano-generated/models/project_deployment.rb +3 -12
  344. data/lib/volcano/generated/lib/volcano-generated/models/project_deployment_resource.rb +2 -2
  345. data/lib/volcano/generated/lib/volcano-generated/models/project_deployment_summary.rb +3 -3
  346. data/lib/volcano/generated/lib/volcano-generated/models/project_frontend_custom_domain.rb +27 -5
  347. data/lib/volcano/generated/lib/volcano-generated/models/project_frontend_custom_domain_all_of_frontend.rb +2 -2
  348. data/lib/volcano/generated/lib/volcano-generated/models/project_git_connection.rb +2 -2
  349. data/lib/volcano/generated/lib/volcano-generated/models/project_git_connection_summary.rb +2 -2
  350. data/lib/volcano/generated/lib/volcano-generated/models/project_git_deploy_settings.rb +2 -2
  351. data/lib/volcano/generated/lib/volcano-generated/models/project_health_category.rb +2 -2
  352. data/lib/volcano/generated/lib/volcano-generated/models/project_health_check.rb +2 -2
  353. data/lib/volcano/generated/lib/volcano-generated/models/project_health_data_status.rb +2 -2
  354. data/lib/volcano/generated/lib/volcano-generated/models/project_health_evidence.rb +2 -2
  355. data/lib/volcano/generated/lib/volcano-generated/models/project_health_resource.rb +2 -2
  356. data/lib/volcano/generated/lib/volcano-generated/models/project_health_response.rb +2 -2
  357. data/lib/volcano/generated/lib/volcano-generated/models/project_health_scope.rb +2 -2
  358. data/lib/volcano/generated/lib/volcano-generated/models/project_health_status.rb +2 -2
  359. data/lib/volcano/generated/lib/volcano-generated/models/project_health_summary.rb +2 -2
  360. data/lib/volcano/generated/lib/volcano-generated/models/project_import_action.rb +2 -2
  361. data/lib/volcano/generated/lib/volcano-generated/models/project_import_action_code.rb +2 -2
  362. data/lib/volcano/generated/lib/volcano-generated/models/project_import_destination.rb +2 -2
  363. data/lib/volcano/generated/lib/volcano-generated/models/project_import_destination_mode.rb +2 -2
  364. data/lib/volcano/generated/lib/volcano-generated/models/project_import_disposition.rb +2 -2
  365. data/lib/volcano/generated/lib/volcano-generated/models/project_import_finding.rb +2 -2
  366. data/lib/volcano/generated/lib/volcano-generated/models/project_import_impact.rb +2 -2
  367. data/lib/volcano/generated/lib/volcano-generated/models/project_import_preflight_request.rb +2 -2
  368. data/lib/volcano/generated/lib/volcano-generated/models/project_import_readiness.rb +2 -2
  369. data/lib/volcano/generated/lib/volcano-generated/models/project_import_report.rb +2 -2
  370. data/lib/volcano/generated/lib/volcano-generated/models/project_import_resource.rb +2 -2
  371. data/lib/volcano/generated/lib/volcano-generated/models/project_import_resource_kind.rb +2 -2
  372. data/lib/volcano/generated/lib/volcano-generated/models/project_import_run.rb +2 -2
  373. data/lib/volcano/generated/lib/volcano-generated/models/project_import_run_status.rb +2 -2
  374. data/lib/volcano/generated/lib/volcano-generated/models/project_import_start_request.rb +2 -2
  375. data/lib/volcano/generated/lib/volcano-generated/models/project_import_summary.rb +2 -2
  376. data/lib/volcano/generated/lib/volcano-generated/models/project_import_target.rb +2 -2
  377. data/lib/volcano/generated/lib/volcano-generated/models/project_lock_lease.rb +2 -2
  378. data/lib/volcano/generated/lib/volcano-generated/models/project_lock_lease_request.rb +2 -2
  379. data/lib/volcano/generated/lib/volcano-generated/models/project_lock_state.rb +2 -2
  380. data/lib/volcano/generated/lib/volcano-generated/models/project_metrics_data_status.rb +2 -2
  381. data/lib/volcano/generated/lib/volcano-generated/models/project_metrics_dimensions.rb +2 -2
  382. data/lib/volcano/generated/lib/volcano-generated/models/project_metrics_group_by.rb +2 -2
  383. data/lib/volcano/generated/lib/volcano-generated/models/project_metrics_metric.rb +2 -2
  384. data/lib/volcano/generated/lib/volcano-generated/models/project_metrics_query.rb +2 -2
  385. data/lib/volcano/generated/lib/volcano-generated/models/project_metrics_query_request.rb +2 -2
  386. data/lib/volcano/generated/lib/volcano-generated/models/project_metrics_query_response.rb +2 -2
  387. data/lib/volcano/generated/lib/volcano-generated/models/project_metrics_query_time_range.rb +2 -2
  388. data/lib/volcano/generated/lib/volcano-generated/models/project_metrics_result.rb +2 -2
  389. data/lib/volcano/generated/lib/volcano-generated/models/project_metrics_unit.rb +2 -2
  390. data/lib/volcano/generated/lib/volcano-generated/models/project_metrics_value.rb +2 -2
  391. data/lib/volcano/generated/lib/volcano-generated/models/project_metrics_window.rb +2 -2
  392. data/lib/volcano/generated/lib/volcano-generated/models/project_source_export.rb +2 -2
  393. data/lib/volcano/generated/lib/volcano-generated/models/project_source_export_omission.rb +2 -2
  394. data/lib/volcano/generated/lib/volcano-generated/models/project_source_export_skip.rb +2 -2
  395. data/lib/volcano/generated/lib/volcano-generated/models/project_source_export_state.rb +2 -2
  396. data/lib/volcano/generated/lib/volcano-generated/models/project_template_installation.rb +217 -0
  397. data/lib/volcano/generated/lib/volcano-generated/models/project_usage_response.rb +2 -2
  398. data/lib/volcano/generated/lib/volcano-generated/models/publish_sandbox_preset_request.rb +268 -0
  399. data/lib/volcano/generated/lib/volcano-generated/models/realtime_config.rb +2 -2
  400. data/lib/volcano/generated/lib/volcano-generated/models/realtime_plan_limits.rb +2 -2
  401. data/lib/volcano/generated/lib/volcano-generated/models/realtime_stats.rb +2 -2
  402. data/lib/volcano/generated/lib/volcano-generated/models/refresh_o_auth_provider_token200_response.rb +2 -2
  403. data/lib/volcano/generated/lib/volcano-generated/models/replace_frontend_shared_variables_request.rb +237 -0
  404. data/lib/volcano/generated/lib/volcano-generated/models/replace_shared_variables_request.rb +2 -2
  405. data/lib/volcano/generated/lib/volcano-generated/models/request_durable_approval_request.rb +355 -0
  406. data/lib/volcano/generated/lib/volcano-generated/models/reset_database_password200_response.rb +2 -2
  407. data/lib/volcano/generated/lib/volcano-generated/models/resolve_function_response.rb +13 -3
  408. data/lib/volcano/generated/lib/volcano-generated/models/resource_reference.rb +2 -2
  409. data/lib/volcano/generated/lib/volcano-generated/models/sandbox_access.rb +216 -0
  410. data/lib/volcano/generated/lib/volcano-generated/models/sandbox_access_request.rb +221 -0
  411. data/lib/volcano/generated/lib/volcano-generated/models/sandbox_build_log_page.rb +176 -0
  412. data/lib/volcano/generated/lib/volcano-generated/models/sandbox_build_log_page_data_inner.rb +190 -0
  413. data/lib/volcano/generated/lib/volcano-generated/models/sandbox_capacity.rb +199 -0
  414. data/lib/volcano/generated/lib/volcano-generated/models/sandbox_capacity_list.rb +166 -0
  415. data/lib/volcano/generated/lib/volcano-generated/models/sandbox_command_request.rb +251 -0
  416. data/lib/volcano/generated/lib/volcano-generated/models/sandbox_command_result.rb +294 -0
  417. data/lib/volcano/generated/lib/volcano-generated/models/sandbox_deployment.rb +242 -0
  418. data/lib/volcano/generated/lib/volcano-generated/models/sandbox_deployment_page.rb +192 -0
  419. data/lib/volcano/generated/lib/volcano-generated/models/sandbox_execution_request.rb +329 -0
  420. data/lib/volcano/generated/lib/volcano-generated/models/sandbox_execution_result.rb +381 -0
  421. data/lib/volcano/generated/lib/volcano-generated/models/sandbox_file_read_request.rb +182 -0
  422. data/lib/volcano/generated/lib/volcano-generated/models/sandbox_file_result.rb +164 -0
  423. data/lib/volcano/generated/lib/volcano-generated/models/sandbox_file_write_request.rb +217 -0
  424. data/lib/volcano/generated/lib/volcano-generated/models/sandbox_pagination.rb +199 -0
  425. data/lib/volcano/generated/lib/volcano-generated/models/sandbox_preset.rb +294 -0
  426. data/lib/volcano/generated/lib/volcano-generated/models/sandbox_preset_list.rb +166 -0
  427. data/lib/volcano/generated/lib/volcano-generated/models/sandbox_session.rb +407 -0
  428. data/lib/volcano/generated/lib/volcano-generated/models/sandbox_session_page.rb +192 -0
  429. data/lib/volcano/generated/lib/volcano-generated/models/sandbox_subject_grant_request.rb +164 -0
  430. data/lib/volcano/generated/lib/volcano-generated/models/sandbox_template.rb +321 -0
  431. data/lib/volcano/generated/lib/volcano-generated/models/sandbox_template_page.rb +192 -0
  432. data/lib/volcano/generated/lib/volcano-generated/models/schedule_request.rb +2 -2
  433. data/lib/volcano/generated/lib/volcano-generated/models/service_key.rb +2 -2
  434. data/lib/volcano/generated/lib/volcano-generated/models/set_project_git_production_branch_request.rb +2 -2
  435. data/lib/volcano/generated/lib/volcano-generated/models/storage_bucket.rb +2 -2
  436. data/lib/volcano/generated/lib/volcano-generated/models/storage_copy_request.rb +2 -2
  437. data/lib/volcano/generated/lib/volcano-generated/models/storage_list_response.rb +2 -2
  438. data/lib/volcano/generated/lib/volcano-generated/models/storage_move_request.rb +2 -2
  439. data/lib/volcano/generated/lib/volcano-generated/models/storage_object.rb +2 -2
  440. data/lib/volcano/generated/lib/volcano-generated/models/storage_object_with_bucket.rb +2 -2
  441. data/lib/volcano/generated/lib/volcano-generated/models/storage_policy.rb +2 -2
  442. data/lib/volcano/generated/lib/volcano-generated/models/storage_stats.rb +2 -2
  443. data/lib/volcano/generated/lib/volcano-generated/models/storage_visibility_request.rb +2 -2
  444. data/lib/volcano/generated/lib/volcano-generated/models/test_email_request.rb +2 -2
  445. data/lib/volcano/generated/lib/volcano-generated/models/test_email_response.rb +2 -2
  446. data/lib/volcano/generated/lib/volcano-generated/models/unban_user_response.rb +2 -2
  447. data/lib/volcano/generated/lib/volcano-generated/models/update_auth_config_request.rb +2 -2
  448. data/lib/volcano/generated/lib/volcano-generated/models/update_auth_hosted_page_request.rb +2 -2
  449. data/lib/volcano/generated/lib/volcano-generated/models/update_auth_page_layout_request.rb +2 -2
  450. data/lib/volcano/generated/lib/volcano-generated/models/update_auth_page_theme_request.rb +2 -2
  451. data/lib/volcano/generated/lib/volcano-generated/models/update_database_branch_request.rb +2 -2
  452. data/lib/volcano/generated/lib/volcano-generated/models/update_database_type_request.rb +2 -2
  453. data/lib/volcano/generated/lib/volcano-generated/models/update_email_template_request.rb +2 -2
  454. data/lib/volcano/generated/lib/volcano-generated/models/update_function_request.rb +13 -4
  455. data/lib/volcano/generated/lib/volcano-generated/models/update_function_scheduler_request.rb +2 -2
  456. data/lib/volcano/generated/lib/volcano-generated/models/update_o_auth_config_request.rb +2 -2
  457. data/lib/volcano/generated/lib/volcano-generated/models/update_project_git_deploy_settings_request.rb +2 -2
  458. data/lib/volcano/generated/lib/volcano-generated/models/update_project_request.rb +2 -2
  459. data/lib/volcano/generated/lib/volcano-generated/models/update_realtime_config_request.rb +2 -2
  460. data/lib/volcano/generated/lib/volcano-generated/models/update_sandbox_template_request.rb +175 -0
  461. data/lib/volcano/generated/lib/volcano-generated/models/update_storage_bucket_request.rb +2 -2
  462. data/lib/volcano/generated/lib/volcano-generated/models/update_variable_request.rb +2 -2
  463. data/lib/volcano/generated/lib/volcano-generated/models/upload_session_part.rb +2 -2
  464. data/lib/volcano/generated/lib/volcano-generated/models/upload_session_status_response.rb +2 -2
  465. data/lib/volcano/generated/lib/volcano-generated/models/upload_storage_object201_response.rb +3 -3
  466. data/lib/volcano/generated/lib/volcano-generated/models/usage_data_point.rb +2 -2
  467. data/lib/volcano/generated/lib/volcano-generated/models/variable.rb +13 -3
  468. data/lib/volcano/generated/lib/volcano-generated/models/verified_domain.rb +192 -0
  469. data/lib/volcano/generated/lib/volcano-generated/models/verified_domains_response.rb +166 -0
  470. data/lib/volcano/generated/lib/volcano-generated/models/verify_domain_request.rb +183 -0
  471. data/lib/volcano/generated/lib/volcano-generated/version.rb +2 -2
  472. data/lib/volcano/generated/lib/volcano-generated.rb +82 -2
  473. data/lib/volcano/generated_transport.rb +1 -0
  474. data/lib/volcano/generated_transport_durable.rb +59 -0
  475. data/lib/volcano/generated_transport_functions.rb +1 -1
  476. data/lib/volcano/generated_transport_sandbox.rb +101 -0
  477. data/lib/volcano/lock_response.rb +2 -2
  478. data/lib/volcano/sandbox_deployment_response.rb +39 -0
  479. data/lib/volcano/sandbox_deployments.rb +79 -0
  480. data/lib/volcano/sandbox_files.rb +37 -0
  481. data/lib/volcano/sandbox_models.rb +32 -0
  482. data/lib/volcano/sandbox_request.rb +98 -0
  483. data/lib/volcano/sandbox_response.rb +74 -0
  484. data/lib/volcano/sandbox_session.rb +78 -0
  485. data/lib/volcano/sandboxes.rb +69 -0
  486. data/lib/volcano/storage_mutations.rb +2 -2
  487. data/lib/volcano/storage_object_response.rb +2 -2
  488. data/lib/volcano/transport.rb +1 -1
  489. data/lib/volcano/version.rb +1 -1
  490. data/lib/volcano.rb +13 -0
  491. data/sig/client.rbs +1 -0
  492. data/sig/core_facades.rbs +14 -0
  493. data/sig/durable_approval_records.rbs +218 -0
  494. data/sig/errors.rbs +3 -0
  495. data/sig/sandboxes.rbs +125 -0
  496. metadata +119 -10
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #Volcano Hosting API
2
+ #Volcano API
3
3
 
4
- #Public API for Volcano Hosting clients, SDKs, and CLI tooling (Port 8000). This specification intentionally excludes first-party/internal APIs. See api/openapi-internal.yaml for non-public internal and Builder operations.
4
+ #Public API for Volcano clients, SDKs, and CLI tooling (Port 8000). This specification intentionally excludes first-party/internal APIs. See api/openapi-internal.yaml for non-public internal and Builder operations.
5
5
 
6
6
  The version of the OpenAPI document: 3.0.0
7
7
  Contact: support@volcano.dev
@@ -19,6 +19,82 @@ module Volcano::Generated
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # Approve a durable approval
23
+ # Approves a pending approval. The workflow resumes with the decision. Only a person can decide: use the dashboard or a platform token from `volcano login`. Project access tokens are refused with `403`. Approving an approval that is already approved returns it unchanged. If the workflow cannot be reached right away, the decision still stands and Volcano keeps delivering it.
24
+ # @param id [String] Project ID
25
+ # @param approval_id [String] Durable approval ID
26
+ # @param [Hash] opts the optional parameters
27
+ # @option opts [DurableApprovalDecisionRequest] :durable_approval_decision_request
28
+ # @return [DurableApproval]
29
+ def approve_durable_approval(id, approval_id, opts = {})
30
+ data, _status_code, _headers = approve_durable_approval_with_http_info(id, approval_id, opts)
31
+ data
32
+ end
33
+
34
+ # Approve a durable approval
35
+ # Approves a pending approval. The workflow resumes with the decision. Only a person can decide: use the dashboard or a platform token from `volcano login`. Project access tokens are refused with `403`. Approving an approval that is already approved returns it unchanged. If the workflow cannot be reached right away, the decision still stands and Volcano keeps delivering it.
36
+ # @param id [String] Project ID
37
+ # @param approval_id [String] Durable approval ID
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [DurableApprovalDecisionRequest] :durable_approval_decision_request
40
+ # @return [Array<(DurableApproval, Integer, Hash)>] DurableApproval data, response status code and response headers
41
+ def approve_durable_approval_with_http_info(id, approval_id, opts = {})
42
+ if @api_client.config.debugging
43
+ @api_client.config.logger.debug 'Calling API: DurableFunctionsApi.approve_durable_approval ...'
44
+ end
45
+ # verify the required parameter 'id' is set
46
+ if @api_client.config.client_side_validation && id.nil?
47
+ fail ArgumentError, "Missing the required parameter 'id' when calling DurableFunctionsApi.approve_durable_approval"
48
+ end
49
+ # verify the required parameter 'approval_id' is set
50
+ if @api_client.config.client_side_validation && approval_id.nil?
51
+ fail ArgumentError, "Missing the required parameter 'approval_id' when calling DurableFunctionsApi.approve_durable_approval"
52
+ end
53
+ # resource path
54
+ local_var_path = '/projects/{id}/durable-approvals/{approvalId}/approve'.sub('{' + 'id' + '}', CGI.escape(id.to_s)).sub('{' + 'approvalId' + '}', CGI.escape(approval_id.to_s))
55
+
56
+ # query parameters
57
+ query_params = opts[:query_params] || {}
58
+
59
+ # header parameters
60
+ header_params = opts[:header_params] || {}
61
+ # HTTP header 'Accept' (if needed)
62
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
63
+ # HTTP header 'Content-Type'
64
+ content_type = @api_client.select_header_content_type(['application/json'])
65
+ if !content_type.nil?
66
+ header_params['Content-Type'] = content_type
67
+ end
68
+
69
+ # form parameters
70
+ form_params = opts[:form_params] || {}
71
+
72
+ # http body (model)
73
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'durable_approval_decision_request'])
74
+
75
+ # return_type
76
+ return_type = opts[:debug_return_type] || 'DurableApproval'
77
+
78
+ # auth_names
79
+ auth_names = opts[:debug_auth_names] || ['UserToken']
80
+
81
+ new_options = opts.merge(
82
+ :operation => :"DurableFunctionsApi.approve_durable_approval",
83
+ :header_params => header_params,
84
+ :query_params => query_params,
85
+ :form_params => form_params,
86
+ :body => post_body,
87
+ :auth_names => auth_names,
88
+ :return_type => return_type
89
+ )
90
+
91
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
92
+ if @api_client.config.debugging
93
+ @api_client.config.logger.debug "API called: DurableFunctionsApi#approve_durable_approval\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
94
+ end
95
+ return data, status_code, headers
96
+ end
97
+
22
98
  # Create or update a durable function
23
99
  # Upload a durable function source bundle. Creates the function on the first call for a name and redeploys it on every call after that, the same create-or-update contract `POST /projects/{id}/functions` has. Volcano builds and deploys asynchronously. A deployment that starts immediately returns `status: provisioning`, then transitions to `active` or `failed`; a deployment that has to wait for a running one is exposed through `pending_deployment_id`. Existing executions keep running against the runtime they started on. The `durable` configuration is derived from the project's plan rather than supplied here, and is fixed once the function exists. A name already held by a standard function is rejected with 409: a function cannot change kind.
24
100
  # @param id [String] Project ID
@@ -27,7 +103,8 @@ module Volcano::Generated
27
103
  # @param runtime [String] Runtime environment. Required. Durable execution needs the durable authoring API, which ships for these runtimes only; any other runtime is rejected with 400 and the response names the ones that work. Note that a durable Python function needs a newer runtime than a standard one defaults to. &#x60;GET /functions/runtimes&#x60; reports &#x60;durable_capable&#x60; per runtime.
28
104
  # @param [Hash] opts the optional parameters
29
105
  # @option opts [String] :handler The name of the function to invoke. Defaults to \\\&quot;handler\\\&quot; if not specified. (default to 'handler')
30
- # @option opts [Boolean] :is_public Whether anon keys with &#x60;functions.invoke&#x60; may start an execution. Redeploying is the only way to change it, since the collection has no update endpoint; omit it to keep the current visibility, and a new function starts private. The standard collection&#39;s synchronous invocation fields — &#x60;invocation_mode&#x60;, &#x60;http_auth_mode&#x60;, &#x60;openapi_spec&#x60; — configure a request path no durable route serves, and are rejected with 400 rather than ignored.
106
+ # @option opts [FunctionVisibility] :visibility Who may start an execution. Redeploying is the only way to change it, since the collection has no update endpoint; omit it to keep the current visibility, and a new function starts &#x60;private&#x60;. The standard collection&#39;s synchronous invocation fields — &#x60;invocation_mode&#x60;, &#x60;http_auth_mode&#x60;, &#x60;openapi_spec&#x60; — configure a request path no durable route serves, and are rejected with 400 rather than ignored.
107
+ # @option opts [Boolean] :is_public Deprecated alias for &#x60;visibility&#x60;: &#x60;true&#x60; means &#x60;public&#x60; and &#x60;false&#x60; means &#x60;authenticated&#x60;. Sending both with different meanings returns 400.
31
108
  # @option opts [String] :variable_scope Which project variables this function receives. &#x60;all&#x60; (the default) gives it every project variable; &#x60;scoped&#x60; gives it only the variables it selects. Omitting this leaves an existing function&#39;s scope unchanged.
32
109
  # @option opts [String] :variables JSON-encoded array of project variable names this function requires, on top of the ones detected in its source. A declared name the project does not define is rejected with 400; a detected name it does not define is ignored. Only used when &#x60;variable_scope&#x60; is &#x60;scoped&#x60;. Omitting this leaves an existing function&#39;s declared names unchanged.
33
110
  # @return [DurableFunction]
@@ -44,7 +121,8 @@ module Volcano::Generated
44
121
  # @param runtime [String] Runtime environment. Required. Durable execution needs the durable authoring API, which ships for these runtimes only; any other runtime is rejected with 400 and the response names the ones that work. Note that a durable Python function needs a newer runtime than a standard one defaults to. &#x60;GET /functions/runtimes&#x60; reports &#x60;durable_capable&#x60; per runtime.
45
122
  # @param [Hash] opts the optional parameters
46
123
  # @option opts [String] :handler The name of the function to invoke. Defaults to \\\&quot;handler\\\&quot; if not specified. (default to 'handler')
47
- # @option opts [Boolean] :is_public Whether anon keys with &#x60;functions.invoke&#x60; may start an execution. Redeploying is the only way to change it, since the collection has no update endpoint; omit it to keep the current visibility, and a new function starts private. The standard collection&#39;s synchronous invocation fields — &#x60;invocation_mode&#x60;, &#x60;http_auth_mode&#x60;, &#x60;openapi_spec&#x60; — configure a request path no durable route serves, and are rejected with 400 rather than ignored.
124
+ # @option opts [FunctionVisibility] :visibility Who may start an execution. Redeploying is the only way to change it, since the collection has no update endpoint; omit it to keep the current visibility, and a new function starts &#x60;private&#x60;. The standard collection&#39;s synchronous invocation fields — &#x60;invocation_mode&#x60;, &#x60;http_auth_mode&#x60;, &#x60;openapi_spec&#x60; — configure a request path no durable route serves, and are rejected with 400 rather than ignored.
125
+ # @option opts [Boolean] :is_public Deprecated alias for &#x60;visibility&#x60;: &#x60;true&#x60; means &#x60;public&#x60; and &#x60;false&#x60; means &#x60;authenticated&#x60;. Sending both with different meanings returns 400.
48
126
  # @option opts [String] :variable_scope Which project variables this function receives. &#x60;all&#x60; (the default) gives it every project variable; &#x60;scoped&#x60; gives it only the variables it selects. Omitting this leaves an existing function&#39;s scope unchanged.
49
127
  # @option opts [String] :variables JSON-encoded array of project variable names this function requires, on top of the ones detected in its source. A declared name the project does not define is rejected with 400; a detected name it does not define is ignored. Only used when &#x60;variable_scope&#x60; is &#x60;scoped&#x60;. Omitting this leaves an existing function&#39;s declared names unchanged.
50
128
  # @return [Array<(DurableFunction, Integer, Hash)>] DurableFunction data, response status code and response headers
@@ -108,6 +186,7 @@ module Volcano::Generated
108
186
  form_params['code'] = code
109
187
  form_params['runtime'] = runtime
110
188
  form_params['handler'] = opts[:'handler'] if !opts[:'handler'].nil?
189
+ form_params['visibility'] = opts[:'visibility'] if !opts[:'visibility'].nil?
111
190
  form_params['is_public'] = opts[:'is_public'] if !opts[:'is_public'].nil?
112
191
  form_params['variable_scope'] = opts[:'variable_scope'] if !opts[:'variable_scope'].nil?
113
192
  form_params['variables'] = opts[:'variables'] if !opts[:'variables'].nil?
@@ -219,7 +298,7 @@ module Volcano::Generated
219
298
  end
220
299
 
221
300
  # Delete a durable function
222
- # Accepted for asynchronous teardown; the work continues after the response. The function's executions go with it: history stops being readable whatever `retention_days` had left, and the executions still running stop counting against the project's concurrency cap. Stop an execution first if you need it to end before the function does.
301
+ # Accepted for asynchronous teardown; the work continues after the response. The function's executions go with it: executions still in flight are stopped, and history stops being readable whatever `retention_days` had left. Stopping is asynchronous at the platform, and it does not interrupt a step already running -- that step runs to its next checkpoint. So a delete ends an execution rather than halting it mid-step; stop the execution yourself first if you need to observe it ending.
223
302
  # @param id [String] Project ID
224
303
  # @param function_id [String] Durable function ID, or its name within the project
225
304
  # @param [Hash] opts the optional parameters
@@ -230,7 +309,7 @@ module Volcano::Generated
230
309
  end
231
310
 
232
311
  # Delete a durable function
233
- # Accepted for asynchronous teardown; the work continues after the response. The function&#39;s executions go with it: history stops being readable whatever &#x60;retention_days&#x60; had left, and the executions still running stop counting against the project&#39;s concurrency cap. Stop an execution first if you need it to end before the function does.
312
+ # Accepted for asynchronous teardown; the work continues after the response. The function&#39;s executions go with it: executions still in flight are stopped, and history stops being readable whatever &#x60;retention_days&#x60; had left. Stopping is asynchronous at the platform, and it does not interrupt a step already running -- that step runs to its next checkpoint. So a delete ends an execution rather than halting it mid-step; stop the execution yourself first if you need to observe it ending.
234
313
  # @param id [String] Project ID
235
314
  # @param function_id [String] Durable function ID, or its name within the project
236
315
  # @param [Hash] opts the optional parameters
@@ -360,6 +439,231 @@ module Volcano::Generated
360
439
  return data, status_code, headers
361
440
  end
362
441
 
442
+ # Deny a durable approval
443
+ # Denies a pending approval. The workflow resumes with the decision; a denial is a value the workflow branches on, not an error. Only a person can decide: use the dashboard or a platform token from `volcano login`. Project access tokens are refused with `403`. Denying an approval that is already denied returns it unchanged. If the workflow cannot be reached right away, the decision still stands and Volcano keeps delivering it.
444
+ # @param id [String] Project ID
445
+ # @param approval_id [String] Durable approval ID
446
+ # @param [Hash] opts the optional parameters
447
+ # @option opts [DurableApprovalDecisionRequest] :durable_approval_decision_request
448
+ # @return [DurableApproval]
449
+ def deny_durable_approval(id, approval_id, opts = {})
450
+ data, _status_code, _headers = deny_durable_approval_with_http_info(id, approval_id, opts)
451
+ data
452
+ end
453
+
454
+ # Deny a durable approval
455
+ # Denies a pending approval. The workflow resumes with the decision; a denial is a value the workflow branches on, not an error. Only a person can decide: use the dashboard or a platform token from &#x60;volcano login&#x60;. Project access tokens are refused with &#x60;403&#x60;. Denying an approval that is already denied returns it unchanged. If the workflow cannot be reached right away, the decision still stands and Volcano keeps delivering it.
456
+ # @param id [String] Project ID
457
+ # @param approval_id [String] Durable approval ID
458
+ # @param [Hash] opts the optional parameters
459
+ # @option opts [DurableApprovalDecisionRequest] :durable_approval_decision_request
460
+ # @return [Array<(DurableApproval, Integer, Hash)>] DurableApproval data, response status code and response headers
461
+ def deny_durable_approval_with_http_info(id, approval_id, opts = {})
462
+ if @api_client.config.debugging
463
+ @api_client.config.logger.debug 'Calling API: DurableFunctionsApi.deny_durable_approval ...'
464
+ end
465
+ # verify the required parameter 'id' is set
466
+ if @api_client.config.client_side_validation && id.nil?
467
+ fail ArgumentError, "Missing the required parameter 'id' when calling DurableFunctionsApi.deny_durable_approval"
468
+ end
469
+ # verify the required parameter 'approval_id' is set
470
+ if @api_client.config.client_side_validation && approval_id.nil?
471
+ fail ArgumentError, "Missing the required parameter 'approval_id' when calling DurableFunctionsApi.deny_durable_approval"
472
+ end
473
+ # resource path
474
+ local_var_path = '/projects/{id}/durable-approvals/{approvalId}/deny'.sub('{' + 'id' + '}', CGI.escape(id.to_s)).sub('{' + 'approvalId' + '}', CGI.escape(approval_id.to_s))
475
+
476
+ # query parameters
477
+ query_params = opts[:query_params] || {}
478
+
479
+ # header parameters
480
+ header_params = opts[:header_params] || {}
481
+ # HTTP header 'Accept' (if needed)
482
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
483
+ # HTTP header 'Content-Type'
484
+ content_type = @api_client.select_header_content_type(['application/json'])
485
+ if !content_type.nil?
486
+ header_params['Content-Type'] = content_type
487
+ end
488
+
489
+ # form parameters
490
+ form_params = opts[:form_params] || {}
491
+
492
+ # http body (model)
493
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'durable_approval_decision_request'])
494
+
495
+ # return_type
496
+ return_type = opts[:debug_return_type] || 'DurableApproval'
497
+
498
+ # auth_names
499
+ auth_names = opts[:debug_auth_names] || ['UserToken']
500
+
501
+ new_options = opts.merge(
502
+ :operation => :"DurableFunctionsApi.deny_durable_approval",
503
+ :header_params => header_params,
504
+ :query_params => query_params,
505
+ :form_params => form_params,
506
+ :body => post_body,
507
+ :auth_names => auth_names,
508
+ :return_type => return_type
509
+ )
510
+
511
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
512
+ if @api_client.config.debugging
513
+ @api_client.config.logger.debug "API called: DurableFunctionsApi#deny_durable_approval\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
514
+ end
515
+ return data, status_code, headers
516
+ end
517
+
518
+ # Get a durable approval
519
+ # Returns one approval: what the workflow asked, the durable function and execution that asked it, its deadline, and the decision once one is made. Project access tokens can read approvals, including read-only ones.
520
+ # @param id [String] Project ID
521
+ # @param approval_id [String] Durable approval ID
522
+ # @param [Hash] opts the optional parameters
523
+ # @return [DurableApproval]
524
+ def get_durable_approval(id, approval_id, opts = {})
525
+ data, _status_code, _headers = get_durable_approval_with_http_info(id, approval_id, opts)
526
+ data
527
+ end
528
+
529
+ # Get a durable approval
530
+ # Returns one approval: what the workflow asked, the durable function and execution that asked it, its deadline, and the decision once one is made. Project access tokens can read approvals, including read-only ones.
531
+ # @param id [String] Project ID
532
+ # @param approval_id [String] Durable approval ID
533
+ # @param [Hash] opts the optional parameters
534
+ # @return [Array<(DurableApproval, Integer, Hash)>] DurableApproval data, response status code and response headers
535
+ def get_durable_approval_with_http_info(id, approval_id, opts = {})
536
+ if @api_client.config.debugging
537
+ @api_client.config.logger.debug 'Calling API: DurableFunctionsApi.get_durable_approval ...'
538
+ end
539
+ # verify the required parameter 'id' is set
540
+ if @api_client.config.client_side_validation && id.nil?
541
+ fail ArgumentError, "Missing the required parameter 'id' when calling DurableFunctionsApi.get_durable_approval"
542
+ end
543
+ # verify the required parameter 'approval_id' is set
544
+ if @api_client.config.client_side_validation && approval_id.nil?
545
+ fail ArgumentError, "Missing the required parameter 'approval_id' when calling DurableFunctionsApi.get_durable_approval"
546
+ end
547
+ # resource path
548
+ local_var_path = '/projects/{id}/durable-approvals/{approvalId}'.sub('{' + 'id' + '}', CGI.escape(id.to_s)).sub('{' + 'approvalId' + '}', CGI.escape(approval_id.to_s))
549
+
550
+ # query parameters
551
+ query_params = opts[:query_params] || {}
552
+
553
+ # header parameters
554
+ header_params = opts[:header_params] || {}
555
+ # HTTP header 'Accept' (if needed)
556
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
557
+
558
+ # form parameters
559
+ form_params = opts[:form_params] || {}
560
+
561
+ # http body (model)
562
+ post_body = opts[:debug_body]
563
+
564
+ # return_type
565
+ return_type = opts[:debug_return_type] || 'DurableApproval'
566
+
567
+ # auth_names
568
+ auth_names = opts[:debug_auth_names] || ['UserToken', 'ProjectAccessToken']
569
+
570
+ new_options = opts.merge(
571
+ :operation => :"DurableFunctionsApi.get_durable_approval",
572
+ :header_params => header_params,
573
+ :query_params => query_params,
574
+ :form_params => form_params,
575
+ :body => post_body,
576
+ :auth_names => auth_names,
577
+ :return_type => return_type
578
+ )
579
+
580
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
581
+ if @api_client.config.debugging
582
+ @api_client.config.logger.debug "API called: DurableFunctionsApi#get_durable_approval\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
583
+ end
584
+ return data, status_code, headers
585
+ end
586
+
587
+ # Get durable approval statistics
588
+ # Counts the project's approvals by outcome over a time window, overall, per workflow, and per day. The window defaults to the last 30 days and can cover up to a year. An approval is counted on the day it was requested. Project access tokens can read statistics, including read-only ones.
589
+ # @param id [String] Project ID
590
+ # @param [Hash] opts the optional parameters
591
+ # @option opts [String] :function Only approvals requested by this durable function, given by id or by name. A name also matches approvals from a deleted function of that name.
592
+ # @option opts [Time] :from Start of the window. Defaults to 30 days before &#x60;to&#x60;.
593
+ # @option opts [Time] :to End of the window. Defaults to now.
594
+ # @return [DurableApprovalStats]
595
+ def get_durable_approval_stats(id, opts = {})
596
+ data, _status_code, _headers = get_durable_approval_stats_with_http_info(id, opts)
597
+ data
598
+ end
599
+
600
+ # Get durable approval statistics
601
+ # Counts the project&#39;s approvals by outcome over a time window, overall, per workflow, and per day. The window defaults to the last 30 days and can cover up to a year. An approval is counted on the day it was requested. Project access tokens can read statistics, including read-only ones.
602
+ # @param id [String] Project ID
603
+ # @param [Hash] opts the optional parameters
604
+ # @option opts [String] :function Only approvals requested by this durable function, given by id or by name. A name also matches approvals from a deleted function of that name.
605
+ # @option opts [Time] :from Start of the window. Defaults to 30 days before &#x60;to&#x60;.
606
+ # @option opts [Time] :to End of the window. Defaults to now.
607
+ # @return [Array<(DurableApprovalStats, Integer, Hash)>] DurableApprovalStats data, response status code and response headers
608
+ def get_durable_approval_stats_with_http_info(id, opts = {})
609
+ if @api_client.config.debugging
610
+ @api_client.config.logger.debug 'Calling API: DurableFunctionsApi.get_durable_approval_stats ...'
611
+ end
612
+ # verify the required parameter 'id' is set
613
+ if @api_client.config.client_side_validation && id.nil?
614
+ fail ArgumentError, "Missing the required parameter 'id' when calling DurableFunctionsApi.get_durable_approval_stats"
615
+ end
616
+ if @api_client.config.client_side_validation && !opts[:'function'].nil? && opts[:'function'].to_s.length > 255
617
+ fail ArgumentError, 'invalid value for "opts[:"function"]" when calling DurableFunctionsApi.get_durable_approval_stats, the character length must be smaller than or equal to 255.'
618
+ end
619
+
620
+ if @api_client.config.client_side_validation && !opts[:'function'].nil? && opts[:'function'].to_s.length < 1
621
+ fail ArgumentError, 'invalid value for "opts[:"function"]" when calling DurableFunctionsApi.get_durable_approval_stats, the character length must be greater than or equal to 1.'
622
+ end
623
+
624
+ # resource path
625
+ local_var_path = '/projects/{id}/durable-approvals/stats'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
626
+
627
+ # query parameters
628
+ query_params = opts[:query_params] || {}
629
+ query_params[:'function'] = opts[:'function'] if !opts[:'function'].nil?
630
+ query_params[:'from'] = opts[:'from'] if !opts[:'from'].nil?
631
+ query_params[:'to'] = opts[:'to'] if !opts[:'to'].nil?
632
+
633
+ # header parameters
634
+ header_params = opts[:header_params] || {}
635
+ # HTTP header 'Accept' (if needed)
636
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
637
+
638
+ # form parameters
639
+ form_params = opts[:form_params] || {}
640
+
641
+ # http body (model)
642
+ post_body = opts[:debug_body]
643
+
644
+ # return_type
645
+ return_type = opts[:debug_return_type] || 'DurableApprovalStats'
646
+
647
+ # auth_names
648
+ auth_names = opts[:debug_auth_names] || ['UserToken', 'ProjectAccessToken']
649
+
650
+ new_options = opts.merge(
651
+ :operation => :"DurableFunctionsApi.get_durable_approval_stats",
652
+ :header_params => header_params,
653
+ :query_params => query_params,
654
+ :form_params => form_params,
655
+ :body => post_body,
656
+ :auth_names => auth_names,
657
+ :return_type => return_type
658
+ )
659
+
660
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
661
+ if @api_client.config.debugging
662
+ @api_client.config.logger.debug "API called: DurableFunctionsApi#get_durable_approval_stats\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
663
+ end
664
+ return data, status_code, headers
665
+ end
666
+
363
667
  # Get a durable execution
364
668
  # Returns the execution's current state, including its `result` once it has succeeded. Poll this to wait for an execution to finish.
365
669
  # @param id [String] Project ID
@@ -575,6 +879,185 @@ module Volcano::Generated
575
879
  return data, status_code, headers
576
880
  end
577
881
 
882
+ # List durable approvals
883
+ # Lists the approvals durable workflows in the project have requested, newest first. Pending approvals are the ones a workflow is waiting on; decided, expired, and cancelled ones are kept for a year. Project access tokens can list approvals, including read-only ones.
884
+ # @param id [String] Project ID
885
+ # @param [Hash] opts the optional parameters
886
+ # @option opts [Integer] :page Page number (1-indexed) for offset pagination. Declares no schema default so the request validator does not inject one: handlers that omit &#x60;page&#x60; see it unset (nil) and default to 1 in code, while cursor-first endpoints (e.g. the project deployments feed) can detect its absence to stay in keyset/search mode. Supplying &#x60;page&#x60; selects offset pagination.
887
+ # @option opts [Integer] :limit Number of items per page (max 100) (default to 10)
888
+ # @option opts [DurableApprovalStatus] :status Return only approvals in this status.
889
+ # @option opts [String] :function Only approvals requested by this durable function, given by id or by name. A name also matches approvals from a deleted function of that name.
890
+ # @option opts [String] :execution_id Return only approvals requested by this durable execution.
891
+ # @option opts [Time] :from Return only approvals requested at or after this time.
892
+ # @option opts [Time] :to Return only approvals requested before this time.
893
+ # @return [PaginatedDurableApprovals]
894
+ def list_durable_approvals(id, opts = {})
895
+ data, _status_code, _headers = list_durable_approvals_with_http_info(id, opts)
896
+ data
897
+ end
898
+
899
+ # List durable approvals
900
+ # Lists the approvals durable workflows in the project have requested, newest first. Pending approvals are the ones a workflow is waiting on; decided, expired, and cancelled ones are kept for a year. Project access tokens can list approvals, including read-only ones.
901
+ # @param id [String] Project ID
902
+ # @param [Hash] opts the optional parameters
903
+ # @option opts [Integer] :page Page number (1-indexed) for offset pagination. Declares no schema default so the request validator does not inject one: handlers that omit &#x60;page&#x60; see it unset (nil) and default to 1 in code, while cursor-first endpoints (e.g. the project deployments feed) can detect its absence to stay in keyset/search mode. Supplying &#x60;page&#x60; selects offset pagination.
904
+ # @option opts [Integer] :limit Number of items per page (max 100) (default to 10)
905
+ # @option opts [DurableApprovalStatus] :status Return only approvals in this status.
906
+ # @option opts [String] :function Only approvals requested by this durable function, given by id or by name. A name also matches approvals from a deleted function of that name.
907
+ # @option opts [String] :execution_id Return only approvals requested by this durable execution.
908
+ # @option opts [Time] :from Return only approvals requested at or after this time.
909
+ # @option opts [Time] :to Return only approvals requested before this time.
910
+ # @return [Array<(PaginatedDurableApprovals, Integer, Hash)>] PaginatedDurableApprovals data, response status code and response headers
911
+ def list_durable_approvals_with_http_info(id, opts = {})
912
+ if @api_client.config.debugging
913
+ @api_client.config.logger.debug 'Calling API: DurableFunctionsApi.list_durable_approvals ...'
914
+ end
915
+ # verify the required parameter 'id' is set
916
+ if @api_client.config.client_side_validation && id.nil?
917
+ fail ArgumentError, "Missing the required parameter 'id' when calling DurableFunctionsApi.list_durable_approvals"
918
+ end
919
+ if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'] < 1
920
+ fail ArgumentError, 'invalid value for "opts[:"page"]" when calling DurableFunctionsApi.list_durable_approvals, must be greater than or equal to 1.'
921
+ end
922
+
923
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 100
924
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling DurableFunctionsApi.list_durable_approvals, must be smaller than or equal to 100.'
925
+ end
926
+
927
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
928
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling DurableFunctionsApi.list_durable_approvals, must be greater than or equal to 1.'
929
+ end
930
+
931
+ if @api_client.config.client_side_validation && !opts[:'function'].nil? && opts[:'function'].to_s.length > 255
932
+ fail ArgumentError, 'invalid value for "opts[:"function"]" when calling DurableFunctionsApi.list_durable_approvals, the character length must be smaller than or equal to 255.'
933
+ end
934
+
935
+ if @api_client.config.client_side_validation && !opts[:'function'].nil? && opts[:'function'].to_s.length < 1
936
+ fail ArgumentError, 'invalid value for "opts[:"function"]" when calling DurableFunctionsApi.list_durable_approvals, the character length must be greater than or equal to 1.'
937
+ end
938
+
939
+ # resource path
940
+ local_var_path = '/projects/{id}/durable-approvals'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
941
+
942
+ # query parameters
943
+ query_params = opts[:query_params] || {}
944
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
945
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
946
+ query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
947
+ query_params[:'function'] = opts[:'function'] if !opts[:'function'].nil?
948
+ query_params[:'execution_id'] = opts[:'execution_id'] if !opts[:'execution_id'].nil?
949
+ query_params[:'from'] = opts[:'from'] if !opts[:'from'].nil?
950
+ query_params[:'to'] = opts[:'to'] if !opts[:'to'].nil?
951
+
952
+ # header parameters
953
+ header_params = opts[:header_params] || {}
954
+ # HTTP header 'Accept' (if needed)
955
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
956
+
957
+ # form parameters
958
+ form_params = opts[:form_params] || {}
959
+
960
+ # http body (model)
961
+ post_body = opts[:debug_body]
962
+
963
+ # return_type
964
+ return_type = opts[:debug_return_type] || 'PaginatedDurableApprovals'
965
+
966
+ # auth_names
967
+ auth_names = opts[:debug_auth_names] || ['UserToken', 'ProjectAccessToken']
968
+
969
+ new_options = opts.merge(
970
+ :operation => :"DurableFunctionsApi.list_durable_approvals",
971
+ :header_params => header_params,
972
+ :query_params => query_params,
973
+ :form_params => form_params,
974
+ :body => post_body,
975
+ :auth_names => auth_names,
976
+ :return_type => return_type
977
+ )
978
+
979
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
980
+ if @api_client.config.debugging
981
+ @api_client.config.logger.debug "API called: DurableFunctionsApi#list_durable_approvals\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
982
+ end
983
+ return data, status_code, headers
984
+ end
985
+
986
+ # List a durable execution's operations
987
+ # Returns the execution's trace: every operation it began — each step, wait, poll, child context, map item and parallel branch — with when it started and ended, how it ended, and each attempt of a retried step. `invocations` are the windows the function's code was actually running; the gaps between them are time the execution spent suspended, which is not charged. A finished execution's trace is final and `complete` is `true`. A running one is refreshed when it is read, and can be up to about ten seconds behind; `synced_at` says when it was last refreshed. Inputs, results and other payloads are never included. The list is not paginated: an execution is limited to 3,000 operations, and a trace is read whole.
988
+ # @param id [String] Project ID
989
+ # @param function_id [String] Durable function ID, or its name within the project
990
+ # @param execution_id [String] Durable execution ID
991
+ # @param [Hash] opts the optional parameters
992
+ # @return [DurableExecutionOperationList]
993
+ def list_durable_execution_operations(id, function_id, execution_id, opts = {})
994
+ data, _status_code, _headers = list_durable_execution_operations_with_http_info(id, function_id, execution_id, opts)
995
+ data
996
+ end
997
+
998
+ # List a durable execution&#39;s operations
999
+ # Returns the execution&#39;s trace: every operation it began — each step, wait, poll, child context, map item and parallel branch — with when it started and ended, how it ended, and each attempt of a retried step. &#x60;invocations&#x60; are the windows the function&#39;s code was actually running; the gaps between them are time the execution spent suspended, which is not charged. A finished execution&#39;s trace is final and &#x60;complete&#x60; is &#x60;true&#x60;. A running one is refreshed when it is read, and can be up to about ten seconds behind; &#x60;synced_at&#x60; says when it was last refreshed. Inputs, results and other payloads are never included. The list is not paginated: an execution is limited to 3,000 operations, and a trace is read whole.
1000
+ # @param id [String] Project ID
1001
+ # @param function_id [String] Durable function ID, or its name within the project
1002
+ # @param execution_id [String] Durable execution ID
1003
+ # @param [Hash] opts the optional parameters
1004
+ # @return [Array<(DurableExecutionOperationList, Integer, Hash)>] DurableExecutionOperationList data, response status code and response headers
1005
+ def list_durable_execution_operations_with_http_info(id, function_id, execution_id, opts = {})
1006
+ if @api_client.config.debugging
1007
+ @api_client.config.logger.debug 'Calling API: DurableFunctionsApi.list_durable_execution_operations ...'
1008
+ end
1009
+ # verify the required parameter 'id' is set
1010
+ if @api_client.config.client_side_validation && id.nil?
1011
+ fail ArgumentError, "Missing the required parameter 'id' when calling DurableFunctionsApi.list_durable_execution_operations"
1012
+ end
1013
+ # verify the required parameter 'function_id' is set
1014
+ if @api_client.config.client_side_validation && function_id.nil?
1015
+ fail ArgumentError, "Missing the required parameter 'function_id' when calling DurableFunctionsApi.list_durable_execution_operations"
1016
+ end
1017
+ # verify the required parameter 'execution_id' is set
1018
+ if @api_client.config.client_side_validation && execution_id.nil?
1019
+ fail ArgumentError, "Missing the required parameter 'execution_id' when calling DurableFunctionsApi.list_durable_execution_operations"
1020
+ end
1021
+ # resource path
1022
+ local_var_path = '/projects/{id}/durable-functions/{functionId}/executions/{executionId}/operations'.sub('{' + 'id' + '}', CGI.escape(id.to_s)).sub('{' + 'functionId' + '}', CGI.escape(function_id.to_s)).sub('{' + 'executionId' + '}', CGI.escape(execution_id.to_s))
1023
+
1024
+ # query parameters
1025
+ query_params = opts[:query_params] || {}
1026
+
1027
+ # header parameters
1028
+ header_params = opts[:header_params] || {}
1029
+ # HTTP header 'Accept' (if needed)
1030
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1031
+
1032
+ # form parameters
1033
+ form_params = opts[:form_params] || {}
1034
+
1035
+ # http body (model)
1036
+ post_body = opts[:debug_body]
1037
+
1038
+ # return_type
1039
+ return_type = opts[:debug_return_type] || 'DurableExecutionOperationList'
1040
+
1041
+ # auth_names
1042
+ auth_names = opts[:debug_auth_names] || ['UserToken']
1043
+
1044
+ new_options = opts.merge(
1045
+ :operation => :"DurableFunctionsApi.list_durable_execution_operations",
1046
+ :header_params => header_params,
1047
+ :query_params => query_params,
1048
+ :form_params => form_params,
1049
+ :body => post_body,
1050
+ :auth_names => auth_names,
1051
+ :return_type => return_type
1052
+ )
1053
+
1054
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1055
+ if @api_client.config.debugging
1056
+ @api_client.config.logger.debug "API called: DurableFunctionsApi#list_durable_execution_operations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1057
+ end
1058
+ return data, status_code, headers
1059
+ end
1060
+
578
1061
  # List a durable function's executions
579
1062
  # Returns the platform's last observed status for each execution; listing does not poll each one. Fetch a single execution for its live state.
580
1063
  # @param id [String] Project ID
@@ -907,6 +1390,74 @@ module Volcano::Generated
907
1390
  return data, status_code, headers
908
1391
  end
909
1392
 
1393
+ # Request an approval from inside a workflow
1394
+ # Registers an approval request for a running durable execution. The Volcano SDK calls this from `ctx.waitForApproval`; applications do not call it directly. `execution_ref` and `callback_id` are opaque values the SDK reads from the running workflow. Together they are the request's credential, so the operation takes no other authentication. The approval belongs to the project that owns the execution, and expires when the workflow's own approval timeout does. Retrying is safe: a request for an approval that is already registered returns it with `200`.
1395
+ # @param request_durable_approval_request [RequestDurableApprovalRequest]
1396
+ # @param [Hash] opts the optional parameters
1397
+ # @return [DurableApprovalRegistration]
1398
+ def request_durable_approval(request_durable_approval_request, opts = {})
1399
+ data, _status_code, _headers = request_durable_approval_with_http_info(request_durable_approval_request, opts)
1400
+ data
1401
+ end
1402
+
1403
+ # Request an approval from inside a workflow
1404
+ # Registers an approval request for a running durable execution. The Volcano SDK calls this from &#x60;ctx.waitForApproval&#x60;; applications do not call it directly. &#x60;execution_ref&#x60; and &#x60;callback_id&#x60; are opaque values the SDK reads from the running workflow. Together they are the request&#39;s credential, so the operation takes no other authentication. The approval belongs to the project that owns the execution, and expires when the workflow&#39;s own approval timeout does. Retrying is safe: a request for an approval that is already registered returns it with &#x60;200&#x60;.
1405
+ # @param request_durable_approval_request [RequestDurableApprovalRequest]
1406
+ # @param [Hash] opts the optional parameters
1407
+ # @return [Array<(DurableApprovalRegistration, Integer, Hash)>] DurableApprovalRegistration data, response status code and response headers
1408
+ def request_durable_approval_with_http_info(request_durable_approval_request, opts = {})
1409
+ if @api_client.config.debugging
1410
+ @api_client.config.logger.debug 'Calling API: DurableFunctionsApi.request_durable_approval ...'
1411
+ end
1412
+ # verify the required parameter 'request_durable_approval_request' is set
1413
+ if @api_client.config.client_side_validation && request_durable_approval_request.nil?
1414
+ fail ArgumentError, "Missing the required parameter 'request_durable_approval_request' when calling DurableFunctionsApi.request_durable_approval"
1415
+ end
1416
+ # resource path
1417
+ local_var_path = '/durable-approvals'
1418
+
1419
+ # query parameters
1420
+ query_params = opts[:query_params] || {}
1421
+
1422
+ # header parameters
1423
+ header_params = opts[:header_params] || {}
1424
+ # HTTP header 'Accept' (if needed)
1425
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1426
+ # HTTP header 'Content-Type'
1427
+ content_type = @api_client.select_header_content_type(['application/json'])
1428
+ if !content_type.nil?
1429
+ header_params['Content-Type'] = content_type
1430
+ end
1431
+
1432
+ # form parameters
1433
+ form_params = opts[:form_params] || {}
1434
+
1435
+ # http body (model)
1436
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(request_durable_approval_request)
1437
+
1438
+ # return_type
1439
+ return_type = opts[:debug_return_type] || 'DurableApprovalRegistration'
1440
+
1441
+ # auth_names
1442
+ auth_names = opts[:debug_auth_names] || []
1443
+
1444
+ new_options = opts.merge(
1445
+ :operation => :"DurableFunctionsApi.request_durable_approval",
1446
+ :header_params => header_params,
1447
+ :query_params => query_params,
1448
+ :form_params => form_params,
1449
+ :body => post_body,
1450
+ :auth_names => auth_names,
1451
+ :return_type => return_type
1452
+ )
1453
+
1454
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
1455
+ if @api_client.config.debugging
1456
+ @api_client.config.logger.debug "API called: DurableFunctionsApi#request_durable_approval\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1457
+ end
1458
+ return data, status_code, headers
1459
+ end
1460
+
910
1461
  # Start a durable execution
911
1462
  # Starts an execution and returns its handle. Never returns a result: an execution can outlive any request a client could hold open, so the result is read back from `GET /projects/{id}/durable-functions/{functionId}/executions/{executionId}`. The request body is the execution's input and must be valid JSON if present. An empty body starts the execution with no input. Send `X-Volcano-Execution-Name` to make the start idempotent: repeating a start with the same name returns the existing execution instead of beginning a second one. Each execution counts against the project's durable execution allowance, the operations it performs count against the durable operations allowance when it finishes, and the number of executions in flight at once is capped by the plan.
912
1463
  # @param id [String] Project ID
@@ -996,7 +1547,7 @@ module Volcano::Generated
996
1547
  end
997
1548
 
998
1549
  # Start a durable execution from an application
999
- # Starts an execution of a durable function using an application credential, and returns its handle. This is the durable counterpart of `POST /functions/{functionId}/invoke`, and it is the endpoint an application calls. Like that one, it is not project-scoped: an anon key, a service key and an auth user token each carry their own project. The project-scoped collection under `/projects/{id}/durable-functions/...` remains the owner's management surface. **With a service key or an auth user token:** any durable function in the project. **With an anon key:** requires the `functions.invoke` permission, and the function must have `is_public: true`. Starting is all this endpoint does. Reading a result or stopping an execution requires the project owner's token, because an anon key is shared by everyone who loads the page and an execution is addressed by id alone. Send `X-Volcano-Execution-Name` to make the start idempotent: repeating a start with the same name returns the existing execution instead of beginning a second one. Each execution counts once against the project's durable execution allowance, however many times the start is retried under the same execution name, and the number in flight at once is capped by the plan. The operations the execution performs are counted against the durable operations allowance when it finishes.
1550
+ # Starts an execution of a durable function using an application credential, and returns its handle. This is the durable counterpart of `POST /functions/{functionId}/invoke`, and it is the endpoint an application calls. Like that one, it is not project-scoped: an anon key, a service key and an auth user token each carry their own project. The project-scoped collection under `/projects/{id}/durable-functions/...` remains the owner's management surface. **With a service key:** any durable function in the project. **With an auth user token:** a durable function whose `visibility` is `authenticated` or `public`. **With an anon key:** requires the `functions.invoke` permission, and the function must have `visibility: public`. A `private` durable function answers every credential but a service key exactly as a missing one, with 404. Starting is all this endpoint does. Reading a result or stopping an execution requires the project owner's token, because an anon key is shared by everyone who loads the page and an execution is addressed by id alone. Send `X-Volcano-Execution-Name` to make the start idempotent: repeating a start with the same name returns the existing execution instead of beginning a second one. Each execution counts once against the project's durable execution allowance, however many times the start is retried under the same execution name, and the number in flight at once is capped by the plan. The operations the execution performs are counted against the durable operations allowance when it finishes.
1000
1551
  # @param function_id [String] Durable function ID, or its name within the project
1001
1552
  # @param [Hash] opts the optional parameters
1002
1553
  # @option opts [String] :x_volcano_execution_name Idempotency key for this execution. Generated when omitted. A repeat under a name that already names a running execution returns that execution and is not charged again. Letters, digits, &#x60;-&#x60;, &#x60;_&#x60; and &#x60;.&#x60;, up to 255 characters. Anything else is rejected with &#x60;400&#x60;.
@@ -1008,7 +1559,7 @@ module Volcano::Generated
1008
1559
  end
1009
1560
 
1010
1561
  # Start a durable execution from an application
1011
- # Starts an execution of a durable function using an application credential, and returns its handle. This is the durable counterpart of &#x60;POST /functions/{functionId}/invoke&#x60;, and it is the endpoint an application calls. Like that one, it is not project-scoped: an anon key, a service key and an auth user token each carry their own project. The project-scoped collection under &#x60;/projects/{id}/durable-functions/...&#x60; remains the owner&#39;s management surface. **With a service key or an auth user token:** any durable function in the project. **With an anon key:** requires the &#x60;functions.invoke&#x60; permission, and the function must have &#x60;is_public: true&#x60;. Starting is all this endpoint does. Reading a result or stopping an execution requires the project owner&#39;s token, because an anon key is shared by everyone who loads the page and an execution is addressed by id alone. Send &#x60;X-Volcano-Execution-Name&#x60; to make the start idempotent: repeating a start with the same name returns the existing execution instead of beginning a second one. Each execution counts once against the project&#39;s durable execution allowance, however many times the start is retried under the same execution name, and the number in flight at once is capped by the plan. The operations the execution performs are counted against the durable operations allowance when it finishes.
1562
+ # Starts an execution of a durable function using an application credential, and returns its handle. This is the durable counterpart of &#x60;POST /functions/{functionId}/invoke&#x60;, and it is the endpoint an application calls. Like that one, it is not project-scoped: an anon key, a service key and an auth user token each carry their own project. The project-scoped collection under &#x60;/projects/{id}/durable-functions/...&#x60; remains the owner&#39;s management surface. **With a service key:** any durable function in the project. **With an auth user token:** a durable function whose &#x60;visibility&#x60; is &#x60;authenticated&#x60; or &#x60;public&#x60;. **With an anon key:** requires the &#x60;functions.invoke&#x60; permission, and the function must have &#x60;visibility: public&#x60;. A &#x60;private&#x60; durable function answers every credential but a service key exactly as a missing one, with 404. Starting is all this endpoint does. Reading a result or stopping an execution requires the project owner&#39;s token, because an anon key is shared by everyone who loads the page and an execution is addressed by id alone. Send &#x60;X-Volcano-Execution-Name&#x60; to make the start idempotent: repeating a start with the same name returns the existing execution instead of beginning a second one. Each execution counts once against the project&#39;s durable execution allowance, however many times the start is retried under the same execution name, and the number in flight at once is capped by the plan. The operations the execution performs are counted against the durable operations allowance when it finishes.
1012
1563
  # @param function_id [String] Durable function ID, or its name within the project
1013
1564
  # @param [Hash] opts the optional parameters
1014
1565
  # @option opts [String] :x_volcano_execution_name Idempotency key for this execution. Generated when omitted. A repeat under a name that already names a running execution returns that execution and is not charged again. Letters, digits, &#x60;-&#x60;, &#x60;_&#x60; and &#x60;.&#x60;, up to 255 characters. Anything else is rejected with &#x60;400&#x60;.