aidp-python-client 1.0.0__py3-none-any.whl

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 (847) hide show
  1. aidp_python_client/aidataplatform_dp/__init__.py +44 -0
  2. aidp_python_client/aidataplatform_dp/async_operations_client.py +322 -0
  3. aidp_python_client/aidataplatform_dp/async_operations_client_composite_operations.py +24 -0
  4. aidp_python_client/aidataplatform_dp/audit_client.py +294 -0
  5. aidp_python_client/aidataplatform_dp/audit_client_composite_operations.py +24 -0
  6. aidp_python_client/aidataplatform_dp/bundle_client.py +711 -0
  7. aidp_python_client/aidataplatform_dp/bundle_client_composite_operations.py +24 -0
  8. aidp_python_client/aidataplatform_dp/catalog_client.py +1071 -0
  9. aidp_python_client/aidataplatform_dp/catalog_client_composite_operations.py +24 -0
  10. aidp_python_client/aidataplatform_dp/cluster_client.py +1873 -0
  11. aidp_python_client/aidataplatform_dp/cluster_client_composite_operations.py +24 -0
  12. aidp_python_client/aidataplatform_dp/credentials_client.py +620 -0
  13. aidp_python_client/aidataplatform_dp/credentials_client_composite_operations.py +24 -0
  14. aidp_python_client/aidataplatform_dp/delta_share_client.py +2210 -0
  15. aidp_python_client/aidataplatform_dp/delta_share_client_composite_operations.py +110 -0
  16. aidp_python_client/aidataplatform_dp/git_client.py +1819 -0
  17. aidp_python_client/aidataplatform_dp/git_client_composite_operations.py +24 -0
  18. aidp_python_client/aidataplatform_dp/ml_ops_client.py +4689 -0
  19. aidp_python_client/aidataplatform_dp/ml_ops_client_composite_operations.py +24 -0
  20. aidp_python_client/aidataplatform_dp/models/__init__.py +1618 -0
  21. aidp_python_client/aidataplatform_dp/models/active_cluster_resources.py +194 -0
  22. aidp_python_client/aidataplatform_dp/models/add_member_to_role_details.py +70 -0
  23. aidp_python_client/aidataplatform_dp/models/admin_setting.py +159 -0
  24. aidp_python_client/aidataplatform_dp/models/admin_setting_collection.py +70 -0
  25. aidp_python_client/aidataplatform_dp/models/admin_setting_summary.py +277 -0
  26. aidp_python_client/aidataplatform_dp/models/adw_schema.py +134 -0
  27. aidp_python_client/aidataplatform_dp/models/adw_schema_summary.py +128 -0
  28. aidp_python_client/aidataplatform_dp/models/adw_table.py +177 -0
  29. aidp_python_client/aidataplatform_dp/models/adw_table_summary.py +107 -0
  30. aidp_python_client/aidataplatform_dp/models/agent_card_capabilities_detail.py +70 -0
  31. aidp_python_client/aidataplatform_dp/models/agent_card_config_detail.py +248 -0
  32. aidp_python_client/aidataplatform_dp/models/agent_card_preview_response.py +70 -0
  33. aidp_python_client/aidataplatform_dp/models/agent_card_skill_detail.py +194 -0
  34. aidp_python_client/aidataplatform_dp/models/agent_flow.py +803 -0
  35. aidp_python_client/aidataplatform_dp/models/agent_flow_attachment.py +101 -0
  36. aidp_python_client/aidataplatform_dp/models/agent_flow_collection.py +70 -0
  37. aidp_python_client/aidataplatform_dp/models/agent_flow_compute.py +170 -0
  38. aidp_python_client/aidataplatform_dp/models/agent_flow_dependency.py +132 -0
  39. aidp_python_client/aidataplatform_dp/models/agent_flow_dependency_item.py +132 -0
  40. aidp_python_client/aidataplatform_dp/models/agent_flow_deployment.py +577 -0
  41. aidp_python_client/aidataplatform_dp/models/agent_flow_deployment_collection.py +70 -0
  42. aidp_python_client/aidataplatform_dp/models/agent_flow_deployment_summary.py +461 -0
  43. aidp_python_client/aidataplatform_dp/models/agent_flow_detachment.py +101 -0
  44. aidp_python_client/aidataplatform_dp/models/agent_flow_diagram.py +287 -0
  45. aidp_python_client/aidataplatform_dp/models/agent_flow_edge.py +411 -0
  46. aidp_python_client/aidataplatform_dp/models/agent_flow_guardrails_collection.py +70 -0
  47. aidp_python_client/aidataplatform_dp/models/agent_flow_guardrails_summary.py +335 -0
  48. aidp_python_client/aidataplatform_dp/models/agent_flow_node.py +661 -0
  49. aidp_python_client/aidataplatform_dp/models/agent_flow_permission_collection.py +70 -0
  50. aidp_python_client/aidataplatform_dp/models/agent_flow_permission_summary.py +336 -0
  51. aidp_python_client/aidataplatform_dp/models/agent_flow_session.py +467 -0
  52. aidp_python_client/aidataplatform_dp/models/agent_flow_session_collection.py +70 -0
  53. aidp_python_client/aidataplatform_dp/models/agent_flow_session_context.py +66 -0
  54. aidp_python_client/aidataplatform_dp/models/agent_flow_session_metric.py +872 -0
  55. aidp_python_client/aidataplatform_dp/models/agent_flow_session_metrics_range.py +163 -0
  56. aidp_python_client/aidataplatform_dp/models/agent_flow_session_summary.py +440 -0
  57. aidp_python_client/aidataplatform_dp/models/agent_flow_summary.py +647 -0
  58. aidp_python_client/aidataplatform_dp/models/agent_flow_validation_issue.py +399 -0
  59. aidp_python_client/aidataplatform_dp/models/agent_flow_validation_metadata.py +257 -0
  60. aidp_python_client/aidataplatform_dp/models/agent_flow_validation_options.py +101 -0
  61. aidp_python_client/aidataplatform_dp/models/agent_flow_validation_result.py +203 -0
  62. aidp_python_client/aidataplatform_dp/models/agent_flow_validation_summary.py +194 -0
  63. aidp_python_client/aidataplatform_dp/models/agent_node.py +332 -0
  64. aidp_python_client/aidataplatform_dp/models/agent_provider.py +101 -0
  65. aidp_python_client/aidataplatform_dp/models/aggregated_data_point.py +101 -0
  66. aidp_python_client/aidataplatform_dp/models/aggregated_time_series_data_point.py +101 -0
  67. aidp_python_client/aidataplatform_dp/models/ai_compute_override_item.py +194 -0
  68. aidp_python_client/aidataplatform_dp/models/ai_data_platform.py +42 -0
  69. aidp_python_client/aidataplatform_dp/models/ai_model.py +251 -0
  70. aidp_python_client/aidataplatform_dp/models/airflow_cell_config.py +101 -0
  71. aidp_python_client/aidataplatform_dp/models/alh_schema.py +134 -0
  72. aidp_python_client/aidataplatform_dp/models/alh_schema_summary.py +128 -0
  73. aidp_python_client/aidataplatform_dp/models/alh_table.py +177 -0
  74. aidp_python_client/aidataplatform_dp/models/alh_table_summary.py +107 -0
  75. aidp_python_client/aidataplatform_dp/models/allowed_tool_details.py +128 -0
  76. aidp_python_client/aidataplatform_dp/models/artifact_file_info.py +132 -0
  77. aidp_python_client/aidataplatform_dp/models/artifact_list.py +132 -0
  78. aidp_python_client/aidataplatform_dp/models/assign_agent_flow_permission_details.py +187 -0
  79. aidp_python_client/aidataplatform_dp/models/assign_catalog_permission_details.py +125 -0
  80. aidp_python_client/aidataplatform_dp/models/assign_cluster_permission_details.py +121 -0
  81. aidp_python_client/aidataplatform_dp/models/assign_create_workspace_permission_details.py +66 -0
  82. aidp_python_client/aidataplatform_dp/models/assign_credential_permission_details.py +125 -0
  83. aidp_python_client/aidataplatform_dp/models/assign_job_permission_details.py +125 -0
  84. aidp_python_client/aidataplatform_dp/models/assign_knowledge_base_permission_details.py +121 -0
  85. aidp_python_client/aidataplatform_dp/models/assign_master_catalog_permission_details.py +129 -0
  86. aidp_python_client/aidataplatform_dp/models/assign_recipient_permission_details.py +121 -0
  87. aidp_python_client/aidataplatform_dp/models/assign_role_permission_details.py +70 -0
  88. aidp_python_client/aidataplatform_dp/models/assign_schema_permission_details.py +137 -0
  89. aidp_python_client/aidataplatform_dp/models/assign_share_permission_details.py +121 -0
  90. aidp_python_client/aidataplatform_dp/models/assign_table_permission_details.py +195 -0
  91. aidp_python_client/aidataplatform_dp/models/assign_tool_permission_details.py +183 -0
  92. aidp_python_client/aidataplatform_dp/models/assign_view_permission_details.py +183 -0
  93. aidp_python_client/aidataplatform_dp/models/assign_volume_permission_details.py +121 -0
  94. aidp_python_client/aidataplatform_dp/models/assign_workspace_object_permission_details.py +156 -0
  95. aidp_python_client/aidataplatform_dp/models/assign_workspace_permission_details.py +121 -0
  96. aidp_python_client/aidataplatform_dp/models/async_operation.py +747 -0
  97. aidp_python_client/aidataplatform_dp/models/async_operation_collection.py +70 -0
  98. aidp_python_client/aidataplatform_dp/models/async_operation_summary.py +685 -0
  99. aidp_python_client/aidataplatform_dp/models/atp_schema.py +134 -0
  100. aidp_python_client/aidataplatform_dp/models/atp_schema_summary.py +128 -0
  101. aidp_python_client/aidataplatform_dp/models/atp_table.py +177 -0
  102. aidp_python_client/aidataplatform_dp/models/atp_table_summary.py +107 -0
  103. aidp_python_client/aidataplatform_dp/models/attach_compute_details.py +70 -0
  104. aidp_python_client/aidataplatform_dp/models/attach_master_catalog_to_cluster_details.py +70 -0
  105. aidp_python_client/aidataplatform_dp/models/attach_to_notebook_config.py +70 -0
  106. aidp_python_client/aidataplatform_dp/models/attach_workspace_object_to_cluster_details.py +42 -0
  107. aidp_python_client/aidataplatform_dp/models/attached_session.py +195 -0
  108. aidp_python_client/aidataplatform_dp/models/audit_log_search_result_collection.py +70 -0
  109. aidp_python_client/aidataplatform_dp/models/audit_log_search_result_summary.py +542 -0
  110. aidp_python_client/aidataplatform_dp/models/auth.py +124 -0
  111. aidp_python_client/aidataplatform_dp/models/auto_scale.py +101 -0
  112. aidp_python_client/aidataplatform_dp/models/bearer_token_auth.py +80 -0
  113. aidp_python_client/aidataplatform_dp/models/bucket_collection.py +70 -0
  114. aidp_python_client/aidataplatform_dp/models/bucket_summary.py +204 -0
  115. aidp_python_client/aidataplatform_dp/models/bundle.py +42 -0
  116. aidp_python_client/aidataplatform_dp/models/bundle_deployed_resource.py +148 -0
  117. aidp_python_client/aidataplatform_dp/models/bundle_deployment_status.py +218 -0
  118. aidp_python_client/aidataplatform_dp/models/bundle_overrides.py +101 -0
  119. aidp_python_client/aidataplatform_dp/models/bundle_overrides_with_path.py +97 -0
  120. aidp_python_client/aidataplatform_dp/models/bundle_validation_result.py +153 -0
  121. aidp_python_client/aidataplatform_dp/models/bundled_resource.py +118 -0
  122. aidp_python_client/aidataplatform_dp/models/catalog.py +548 -0
  123. aidp_python_client/aidataplatform_dp/models/catalog_collection.py +70 -0
  124. aidp_python_client/aidataplatform_dp/models/catalog_connection_details.py +101 -0
  125. aidp_python_client/aidataplatform_dp/models/catalog_migration_detail.py +211 -0
  126. aidp_python_client/aidataplatform_dp/models/catalog_permission_collection.py +70 -0
  127. aidp_python_client/aidataplatform_dp/models/catalog_permission_summary.py +207 -0
  128. aidp_python_client/aidataplatform_dp/models/catalog_summary.py +569 -0
  129. aidp_python_client/aidataplatform_dp/models/catalog_test_connection_details.py +165 -0
  130. aidp_python_client/aidataplatform_dp/models/category_config.py +184 -0
  131. aidp_python_client/aidataplatform_dp/models/chat_message.py +184 -0
  132. aidp_python_client/aidataplatform_dp/models/checkout_branch_details.py +101 -0
  133. aidp_python_client/aidataplatform_dp/models/clear_outputs_details.py +70 -0
  134. aidp_python_client/aidataplatform_dp/models/cluster.py +757 -0
  135. aidp_python_client/aidataplatform_dp/models/cluster_collection.py +70 -0
  136. aidp_python_client/aidataplatform_dp/models/cluster_event.py +116 -0
  137. aidp_python_client/aidataplatform_dp/models/cluster_execution_context_availability_event.py +80 -0
  138. aidp_python_client/aidataplatform_dp/models/cluster_instance.py +102 -0
  139. aidp_python_client/aidataplatform_dp/models/cluster_library_collection.py +70 -0
  140. aidp_python_client/aidataplatform_dp/models/cluster_library_details.py +156 -0
  141. aidp_python_client/aidataplatform_dp/models/cluster_library_summary.py +261 -0
  142. aidp_python_client/aidataplatform_dp/models/cluster_log_collection.py +70 -0
  143. aidp_python_client/aidataplatform_dp/models/cluster_logs_summary.py +128 -0
  144. aidp_python_client/aidataplatform_dp/models/cluster_patch_event.py +205 -0
  145. aidp_python_client/aidataplatform_dp/models/cluster_permission_collection.py +70 -0
  146. aidp_python_client/aidataplatform_dp/models/cluster_permission_summary.py +203 -0
  147. aidp_python_client/aidataplatform_dp/models/cluster_runtime_config.py +130 -0
  148. aidp_python_client/aidataplatform_dp/models/cluster_spec.py +124 -0
  149. aidp_python_client/aidataplatform_dp/models/cluster_state_event.py +157 -0
  150. aidp_python_client/aidataplatform_dp/models/cluster_summary.py +690 -0
  151. aidp_python_client/aidataplatform_dp/models/commit_push_details.py +194 -0
  152. aidp_python_client/aidataplatform_dp/models/compute_dependency.py +80 -0
  153. aidp_python_client/aidataplatform_dp/models/compute_override_item.py +194 -0
  154. aidp_python_client/aidataplatform_dp/models/conflict_resolve_details.py +122 -0
  155. aidp_python_client/aidataplatform_dp/models/content.py +502 -0
  156. aidp_python_client/aidataplatform_dp/models/content_moderation_category_config.py +217 -0
  157. aidp_python_client/aidataplatform_dp/models/content_moderation_config.py +149 -0
  158. aidp_python_client/aidataplatform_dp/models/content_moderation_policy.py +117 -0
  159. aidp_python_client/aidataplatform_dp/models/continuous.py +86 -0
  160. aidp_python_client/aidataplatform_dp/models/copy_agent_flow_details.py +163 -0
  161. aidp_python_client/aidataplatform_dp/models/copy_workspace_object_details.py +225 -0
  162. aidp_python_client/aidataplatform_dp/models/create_admin_setting_details.py +128 -0
  163. aidp_python_client/aidataplatform_dp/models/create_agent_flow_compute_details.py +77 -0
  164. aidp_python_client/aidataplatform_dp/models/create_agent_flow_details.py +381 -0
  165. aidp_python_client/aidataplatform_dp/models/create_agent_flow_edge_details.py +262 -0
  166. aidp_python_client/aidataplatform_dp/models/create_agent_flow_node_details.py +482 -0
  167. aidp_python_client/aidataplatform_dp/models/create_agent_flow_session_details.py +128 -0
  168. aidp_python_client/aidataplatform_dp/models/create_agent_node_details.py +266 -0
  169. aidp_python_client/aidataplatform_dp/models/create_bundle_details.py +165 -0
  170. aidp_python_client/aidataplatform_dp/models/create_catalog_details.py +275 -0
  171. aidp_python_client/aidataplatform_dp/models/create_cluster_details.py +228 -0
  172. aidp_python_client/aidataplatform_dp/models/create_connection_details.py +70 -0
  173. aidp_python_client/aidataplatform_dp/models/create_content_details.py +132 -0
  174. aidp_python_client/aidataplatform_dp/models/create_custom_tool_details.py +190 -0
  175. aidp_python_client/aidataplatform_dp/models/create_custom_tool_node_details.py +208 -0
  176. aidp_python_client/aidataplatform_dp/models/create_data_lake_credential_details.py +180 -0
  177. aidp_python_client/aidataplatform_dp/models/create_data_table_details.py +417 -0
  178. aidp_python_client/aidataplatform_dp/models/create_experiment_details.py +132 -0
  179. aidp_python_client/aidataplatform_dp/models/create_experiment_response_details.py +70 -0
  180. aidp_python_client/aidataplatform_dp/models/create_experiment_run_details.py +163 -0
  181. aidp_python_client/aidataplatform_dp/models/create_experiment_run_response_details.py +66 -0
  182. aidp_python_client/aidataplatform_dp/models/create_git_branch.py +256 -0
  183. aidp_python_client/aidataplatform_dp/models/create_git_branch_details.py +101 -0
  184. aidp_python_client/aidataplatform_dp/models/create_git_folder_details.py +225 -0
  185. aidp_python_client/aidataplatform_dp/models/create_http_tool_details.py +128 -0
  186. aidp_python_client/aidataplatform_dp/models/create_http_tool_node_details.py +208 -0
  187. aidp_python_client/aidataplatform_dp/models/create_job_details.py +426 -0
  188. aidp_python_client/aidataplatform_dp/models/create_job_run_details.py +248 -0
  189. aidp_python_client/aidataplatform_dp/models/create_knowledge_base_details.py +516 -0
  190. aidp_python_client/aidataplatform_dp/models/create_knowledge_base_job_details.py +290 -0
  191. aidp_python_client/aidataplatform_dp/models/create_knowledge_base_job_run_details.py +70 -0
  192. aidp_python_client/aidataplatform_dp/models/create_master_catalog_details.py +101 -0
  193. aidp_python_client/aidataplatform_dp/models/create_mcp_tool_node_details.py +208 -0
  194. aidp_python_client/aidataplatform_dp/models/create_model_version_details.py +256 -0
  195. aidp_python_client/aidataplatform_dp/models/create_model_version_response_details.py +66 -0
  196. aidp_python_client/aidataplatform_dp/models/create_nl_to_sql_tool_details.py +124 -0
  197. aidp_python_client/aidataplatform_dp/models/create_or_update_bundle_overrides_details.py +97 -0
  198. aidp_python_client/aidataplatform_dp/models/create_prompt_tool_details.py +128 -0
  199. aidp_python_client/aidataplatform_dp/models/create_prompt_tool_node_details.py +208 -0
  200. aidp_python_client/aidataplatform_dp/models/create_rag_tool_details.py +124 -0
  201. aidp_python_client/aidataplatform_dp/models/create_rag_tool_node_details.py +204 -0
  202. aidp_python_client/aidataplatform_dp/models/create_recipient_details.py +134 -0
  203. aidp_python_client/aidataplatform_dp/models/create_registered_model_details.py +163 -0
  204. aidp_python_client/aidataplatform_dp/models/create_registered_model_response_details.py +66 -0
  205. aidp_python_client/aidataplatform_dp/models/create_role_details.py +101 -0
  206. aidp_python_client/aidataplatform_dp/models/create_schema_details.py +163 -0
  207. aidp_python_client/aidataplatform_dp/models/create_session_details.py +252 -0
  208. aidp_python_client/aidataplatform_dp/models/create_setting_details.py +128 -0
  209. aidp_python_client/aidataplatform_dp/models/create_share_details.py +101 -0
  210. aidp_python_client/aidataplatform_dp/models/create_spark_cluster_details.py +243 -0
  211. aidp_python_client/aidataplatform_dp/models/create_sql_tool_details.py +128 -0
  212. aidp_python_client/aidataplatform_dp/models/create_sql_tool_node_details.py +208 -0
  213. aidp_python_client/aidataplatform_dp/models/create_table_details.py +358 -0
  214. aidp_python_client/aidataplatform_dp/models/create_tool_details.py +237 -0
  215. aidp_python_client/aidataplatform_dp/models/create_user_setting_details.py +128 -0
  216. aidp_python_client/aidataplatform_dp/models/create_view_details.py +256 -0
  217. aidp_python_client/aidataplatform_dp/models/create_volume_details.py +242 -0
  218. aidp_python_client/aidataplatform_dp/models/create_workspace_details.py +165 -0
  219. aidp_python_client/aidataplatform_dp/models/create_workspace_permission_collection.py +70 -0
  220. aidp_python_client/aidataplatform_dp/models/create_workspace_permission_summary.py +152 -0
  221. aidp_python_client/aidataplatform_dp/models/credential.py +420 -0
  222. aidp_python_client/aidataplatform_dp/models/credential_collection.py +70 -0
  223. aidp_python_client/aidataplatform_dp/models/credential_details.py +117 -0
  224. aidp_python_client/aidataplatform_dp/models/credential_summary.py +362 -0
  225. aidp_python_client/aidataplatform_dp/models/credential_v2.py +422 -0
  226. aidp_python_client/aidataplatform_dp/models/credential_v2_collection.py +70 -0
  227. aidp_python_client/aidataplatform_dp/models/credential_v2_name_and_secret_key.py +102 -0
  228. aidp_python_client/aidataplatform_dp/models/credential_v2_summary.py +364 -0
  229. aidp_python_client/aidataplatform_dp/models/credentials_permission_collection.py +70 -0
  230. aidp_python_client/aidataplatform_dp/models/custom_pii_rule.py +256 -0
  231. aidp_python_client/aidataplatform_dp/models/custom_result.py +163 -0
  232. aidp_python_client/aidataplatform_dp/models/custom_test_tool_result.py +76 -0
  233. aidp_python_client/aidataplatform_dp/models/custom_tool.py +246 -0
  234. aidp_python_client/aidataplatform_dp/models/custom_tool_configuration.py +283 -0
  235. aidp_python_client/aidataplatform_dp/models/custom_tool_entry.py +225 -0
  236. aidp_python_client/aidataplatform_dp/models/custom_tool_node.py +185 -0
  237. aidp_python_client/aidataplatform_dp/models/dac_endpoint_collection.py +70 -0
  238. aidp_python_client/aidataplatform_dp/models/dac_endpoint_summary.py +458 -0
  239. aidp_python_client/aidataplatform_dp/models/data_lake.py +48 -0
  240. aidp_python_client/aidataplatform_dp/models/data_lake_cluster_collection.py +70 -0
  241. aidp_python_client/aidataplatform_dp/models/data_lake_cluster_summary.py +132 -0
  242. aidp_python_client/aidataplatform_dp/models/data_lake_metadata.py +163 -0
  243. aidp_python_client/aidataplatform_dp/models/dataset.py +225 -0
  244. aidp_python_client/aidataplatform_dp/models/dataset_input.py +97 -0
  245. aidp_python_client/aidataplatform_dp/models/de_provision_user_schemas_details.py +48 -0
  246. aidp_python_client/aidataplatform_dp/models/default_cluster.py +438 -0
  247. aidp_python_client/aidataplatform_dp/models/delete_experiment_details.py +70 -0
  248. aidp_python_client/aidataplatform_dp/models/delete_experiment_response_details.py +42 -0
  249. aidp_python_client/aidataplatform_dp/models/delete_experiment_run_details.py +70 -0
  250. aidp_python_client/aidataplatform_dp/models/delete_experiment_run_response_details.py +42 -0
  251. aidp_python_client/aidataplatform_dp/models/delete_experiment_run_tag_details.py +101 -0
  252. aidp_python_client/aidataplatform_dp/models/delete_experiment_run_tag_response_details.py +42 -0
  253. aidp_python_client/aidataplatform_dp/models/delete_experiment_tag_details.py +101 -0
  254. aidp_python_client/aidataplatform_dp/models/delete_experiment_tag_response_details.py +42 -0
  255. aidp_python_client/aidataplatform_dp/models/delete_model_version_details.py +101 -0
  256. aidp_python_client/aidataplatform_dp/models/delete_model_version_response_details.py +42 -0
  257. aidp_python_client/aidataplatform_dp/models/delete_model_version_tag_details.py +132 -0
  258. aidp_python_client/aidataplatform_dp/models/delete_model_version_tag_response_details.py +42 -0
  259. aidp_python_client/aidataplatform_dp/models/delete_registered_model_details.py +70 -0
  260. aidp_python_client/aidataplatform_dp/models/delete_registered_model_response_details.py +42 -0
  261. aidp_python_client/aidataplatform_dp/models/delete_registered_model_tag_details.py +101 -0
  262. aidp_python_client/aidataplatform_dp/models/delete_registered_model_tag_response_details.py +42 -0
  263. aidp_python_client/aidataplatform_dp/models/denied_topic.py +132 -0
  264. aidp_python_client/aidataplatform_dp/models/denied_topics_policy.py +117 -0
  265. aidp_python_client/aidataplatform_dp/models/dependency.py +116 -0
  266. aidp_python_client/aidataplatform_dp/models/depends_on.py +101 -0
  267. aidp_python_client/aidataplatform_dp/models/deploy_agent_flow_details.py +269 -0
  268. aidp_python_client/aidataplatform_dp/models/deploy_bundle_details.py +70 -0
  269. aidp_python_client/aidataplatform_dp/models/detach_compute_details.py +70 -0
  270. aidp_python_client/aidataplatform_dp/models/detach_workspace_object_from_cluster_details.py +42 -0
  271. aidp_python_client/aidataplatform_dp/models/download_cluster_logs_details.py +404 -0
  272. aidp_python_client/aidataplatform_dp/models/download_file_with_par_result.py +353 -0
  273. aidp_python_client/aidataplatform_dp/models/driver_config.py +128 -0
  274. aidp_python_client/aidataplatform_dp/models/embedding_model_details.py +110 -0
  275. aidp_python_client/aidataplatform_dp/models/exadata_schema.py +134 -0
  276. aidp_python_client/aidataplatform_dp/models/exadata_schema_summary.py +128 -0
  277. aidp_python_client/aidataplatform_dp/models/exadata_table.py +177 -0
  278. aidp_python_client/aidataplatform_dp/models/exadata_table_summary.py +107 -0
  279. aidp_python_client/aidataplatform_dp/models/execute_database_user_workflows_details.py +99 -0
  280. aidp_python_client/aidataplatform_dp/models/execute_sql_command_details.py +110 -0
  281. aidp_python_client/aidataplatform_dp/models/experiment.py +256 -0
  282. aidp_python_client/aidataplatform_dp/models/experiment_collection.py +101 -0
  283. aidp_python_client/aidataplatform_dp/models/experiment_response.py +66 -0
  284. aidp_python_client/aidataplatform_dp/models/experiment_run.py +147 -0
  285. aidp_python_client/aidataplatform_dp/models/experiment_run_collection.py +101 -0
  286. aidp_python_client/aidataplatform_dp/models/experiment_run_data.py +132 -0
  287. aidp_python_client/aidataplatform_dp/models/experiment_run_info.py +381 -0
  288. aidp_python_client/aidataplatform_dp/models/experiment_run_inputs.py +101 -0
  289. aidp_python_client/aidataplatform_dp/models/experiment_run_metric.py +163 -0
  290. aidp_python_client/aidataplatform_dp/models/experiment_run_metric_history_collection.py +101 -0
  291. aidp_python_client/aidataplatform_dp/models/experiment_run_outputs.py +70 -0
  292. aidp_python_client/aidataplatform_dp/models/experiment_run_param.py +101 -0
  293. aidp_python_client/aidataplatform_dp/models/experiment_run_tag.py +101 -0
  294. aidp_python_client/aidataplatform_dp/models/experiment_run_tag_key.py +70 -0
  295. aidp_python_client/aidataplatform_dp/models/experiment_tag.py +101 -0
  296. aidp_python_client/aidataplatform_dp/models/experiment_tag_key.py +70 -0
  297. aidp_python_client/aidataplatform_dp/models/export_contents_details.py +87 -0
  298. aidp_python_client/aidataplatform_dp/models/export_task_run_output_details.py +87 -0
  299. aidp_python_client/aidataplatform_dp/models/exported_contents.py +181 -0
  300. aidp_python_client/aidataplatform_dp/models/exported_task_run_output_contents.py +181 -0
  301. aidp_python_client/aidataplatform_dp/models/expression.py +101 -0
  302. aidp_python_client/aidataplatform_dp/models/external_agent_node.py +216 -0
  303. aidp_python_client/aidataplatform_dp/models/external_catalog_migration_result.py +194 -0
  304. aidp_python_client/aidataplatform_dp/models/external_table_definition.py +215 -0
  305. aidp_python_client/aidataplatform_dp/models/feature.py +101 -0
  306. aidp_python_client/aidataplatform_dp/models/feature_status_collection.py +70 -0
  307. aidp_python_client/aidataplatform_dp/models/feature_status_result.py +66 -0
  308. aidp_python_client/aidataplatform_dp/models/feature_status_summary.py +132 -0
  309. aidp_python_client/aidataplatform_dp/models/fetch_bundle_deployment_status_details.py +70 -0
  310. aidp_python_client/aidataplatform_dp/models/fetch_mcp_objects_details.py +352 -0
  311. aidp_python_client/aidataplatform_dp/models/fetch_mcp_objects_result.py +181 -0
  312. aidp_python_client/aidataplatform_dp/models/fetch_output_details.py +70 -0
  313. aidp_python_client/aidataplatform_dp/models/field_info.py +125 -0
  314. aidp_python_client/aidataplatform_dp/models/file_dependency.py +80 -0
  315. aidp_python_client/aidataplatform_dp/models/filter_types.py +101 -0
  316. aidp_python_client/aidataplatform_dp/models/generate_temp_file_upload_target_response_details.py +132 -0
  317. aidp_python_client/aidataplatform_dp/models/get_bundle_overrides_details.py +70 -0
  318. aidp_python_client/aidataplatform_dp/models/get_experiment_run_response_details.py +66 -0
  319. aidp_python_client/aidataplatform_dp/models/get_model_version_response_details.py +66 -0
  320. aidp_python_client/aidataplatform_dp/models/get_registered_model_response_details.py +66 -0
  321. aidp_python_client/aidataplatform_dp/models/git_account_user_setting.py +210 -0
  322. aidp_python_client/aidataplatform_dp/models/git_branch.py +225 -0
  323. aidp_python_client/aidataplatform_dp/models/git_branch_collection.py +70 -0
  324. aidp_python_client/aidataplatform_dp/models/git_branch_summary.py +101 -0
  325. aidp_python_client/aidataplatform_dp/models/git_config.py +187 -0
  326. aidp_python_client/aidataplatform_dp/models/git_diff_detail.py +249 -0
  327. aidp_python_client/aidataplatform_dp/models/git_diff_summary.py +270 -0
  328. aidp_python_client/aidataplatform_dp/models/git_diff_summary_collection.py +70 -0
  329. aidp_python_client/aidataplatform_dp/models/git_folder.py +225 -0
  330. aidp_python_client/aidataplatform_dp/models/git_folder_metadatum.py +101 -0
  331. aidp_python_client/aidataplatform_dp/models/git_merge_details.py +163 -0
  332. aidp_python_client/aidataplatform_dp/models/git_operation_state.py +381 -0
  333. aidp_python_client/aidataplatform_dp/models/git_pull_details.py +215 -0
  334. aidp_python_client/aidataplatform_dp/models/git_rebase_details.py +163 -0
  335. aidp_python_client/aidataplatform_dp/models/git_repair_work_tree_details.py +101 -0
  336. aidp_python_client/aidataplatform_dp/models/git_repository.py +225 -0
  337. aidp_python_client/aidataplatform_dp/models/git_reset_details.py +184 -0
  338. aidp_python_client/aidataplatform_dp/models/git_restore_branch_details.py +132 -0
  339. aidp_python_client/aidataplatform_dp/models/grouped_search_criteria.py +252 -0
  340. aidp_python_client/aidataplatform_dp/models/guardrail_node.py +216 -0
  341. aidp_python_client/aidataplatform_dp/models/guardrails_configuration.py +163 -0
  342. aidp_python_client/aidataplatform_dp/models/history_collection.py +101 -0
  343. aidp_python_client/aidataplatform_dp/models/history_summary.py +256 -0
  344. aidp_python_client/aidataplatform_dp/models/http_result.py +256 -0
  345. aidp_python_client/aidataplatform_dp/models/http_test_tool_result.py +76 -0
  346. aidp_python_client/aidataplatform_dp/models/http_tool.py +184 -0
  347. aidp_python_client/aidataplatform_dp/models/http_tool_configuration.py +312 -0
  348. aidp_python_client/aidataplatform_dp/models/http_tool_node.py +185 -0
  349. aidp_python_client/aidataplatform_dp/models/human_in_the_loop_node.py +185 -0
  350. aidp_python_client/aidataplatform_dp/models/iam_user_credential_user_setting.py +204 -0
  351. aidp_python_client/aidataplatform_dp/models/identity_domain_collection.py +70 -0
  352. aidp_python_client/aidataplatform_dp/models/identity_domain_summary.py +188 -0
  353. aidp_python_client/aidataplatform_dp/models/identity_group_collection.py +70 -0
  354. aidp_python_client/aidataplatform_dp/models/identity_group_summary.py +101 -0
  355. aidp_python_client/aidataplatform_dp/models/identity_user_collection.py +70 -0
  356. aidp_python_client/aidataplatform_dp/models/identity_user_summary.py +132 -0
  357. aidp_python_client/aidataplatform_dp/models/if_else_task.py +185 -0
  358. aidp_python_client/aidataplatform_dp/models/infer_schema.py +70 -0
  359. aidp_python_client/aidataplatform_dp/models/infer_schema_column.py +163 -0
  360. aidp_python_client/aidataplatform_dp/models/infer_schema_properties.py +101 -0
  361. aidp_python_client/aidataplatform_dp/models/infer_schema_with_preview.py +101 -0
  362. aidp_python_client/aidataplatform_dp/models/init_script_path.py +70 -0
  363. aidp_python_client/aidataplatform_dp/models/input_tag.py +101 -0
  364. aidp_python_client/aidataplatform_dp/models/install_cluster_library_details.py +88 -0
  365. aidp_python_client/aidataplatform_dp/models/is_principal_admin.py +70 -0
  366. aidp_python_client/aidataplatform_dp/models/is_principal_aidp_admin.py +70 -0
  367. aidp_python_client/aidataplatform_dp/models/jar_task.py +381 -0
  368. aidp_python_client/aidataplatform_dp/models/job.py +652 -0
  369. aidp_python_client/aidataplatform_dp/models/job_cluster.py +128 -0
  370. aidp_python_client/aidataplatform_dp/models/job_collection.py +70 -0
  371. aidp_python_client/aidataplatform_dp/models/job_dependency.py +111 -0
  372. aidp_python_client/aidataplatform_dp/models/job_permission_collection.py +70 -0
  373. aidp_python_client/aidataplatform_dp/models/job_permission_summary.py +207 -0
  374. aidp_python_client/aidataplatform_dp/models/job_run.py +1178 -0
  375. aidp_python_client/aidataplatform_dp/models/job_run_collection.py +70 -0
  376. aidp_python_client/aidataplatform_dp/models/job_run_summary.py +454 -0
  377. aidp_python_client/aidataplatform_dp/models/job_summary.py +442 -0
  378. aidp_python_client/aidataplatform_dp/models/job_task.py +185 -0
  379. aidp_python_client/aidataplatform_dp/models/kafka_topic_schema.py +258 -0
  380. aidp_python_client/aidataplatform_dp/models/kafka_topic_schema_summary.py +190 -0
  381. aidp_python_client/aidataplatform_dp/models/kb_v_hnsw_index_details.py +200 -0
  382. aidp_python_client/aidataplatform_dp/models/kb_v_ivf_index_details.py +200 -0
  383. aidp_python_client/aidataplatform_dp/models/kernel.py +242 -0
  384. aidp_python_client/aidataplatform_dp/models/kernel_collection.py +70 -0
  385. aidp_python_client/aidataplatform_dp/models/kernel_summary.py +202 -0
  386. aidp_python_client/aidataplatform_dp/models/keyed_time_series.py +101 -0
  387. aidp_python_client/aidataplatform_dp/models/knowledge_base.py +1339 -0
  388. aidp_python_client/aidataplatform_dp/models/knowledge_base_collection.py +101 -0
  389. aidp_python_client/aidataplatform_dp/models/knowledge_base_job.py +656 -0
  390. aidp_python_client/aidataplatform_dp/models/knowledge_base_job_collection.py +101 -0
  391. aidp_python_client/aidataplatform_dp/models/knowledge_base_job_run.py +502 -0
  392. aidp_python_client/aidataplatform_dp/models/knowledge_base_job_run_collection.py +70 -0
  393. aidp_python_client/aidataplatform_dp/models/knowledge_base_job_run_data.py +211 -0
  394. aidp_python_client/aidataplatform_dp/models/knowledge_base_job_run_summary.py +502 -0
  395. aidp_python_client/aidataplatform_dp/models/knowledge_base_job_summary.py +546 -0
  396. aidp_python_client/aidataplatform_dp/models/knowledge_base_permission_collection.py +70 -0
  397. aidp_python_client/aidataplatform_dp/models/knowledge_base_permission_summary.py +274 -0
  398. aidp_python_client/aidataplatform_dp/models/knowledge_base_source_metadata_details.py +428 -0
  399. aidp_python_client/aidataplatform_dp/models/knowledge_base_summary.py +452 -0
  400. aidp_python_client/aidataplatform_dp/models/knowledge_base_vector_index_details.py +141 -0
  401. aidp_python_client/aidataplatform_dp/models/libraries.py +70 -0
  402. aidp_python_client/aidataplatform_dp/models/lifecycle_state.py +294 -0
  403. aidp_python_client/aidataplatform_dp/models/list_experiment_runs_details.py +268 -0
  404. aidp_python_client/aidataplatform_dp/models/list_experiments_details.py +231 -0
  405. aidp_python_client/aidataplatform_dp/models/list_filter.py +194 -0
  406. aidp_python_client/aidataplatform_dp/models/list_logged_models_details.py +196 -0
  407. aidp_python_client/aidataplatform_dp/models/list_permissions_with_resource_details.py +206 -0
  408. aidp_python_client/aidataplatform_dp/models/llm_config.py +132 -0
  409. aidp_python_client/aidataplatform_dp/models/log_experiment_run_batch_details.py +163 -0
  410. aidp_python_client/aidataplatform_dp/models/log_experiment_run_batch_response_details.py +42 -0
  411. aidp_python_client/aidataplatform_dp/models/log_experiment_run_inputs_details.py +101 -0
  412. aidp_python_client/aidataplatform_dp/models/log_experiment_run_inputs_response_details.py +42 -0
  413. aidp_python_client/aidataplatform_dp/models/log_experiment_run_metric_details.py +194 -0
  414. aidp_python_client/aidataplatform_dp/models/log_experiment_run_metric_response_details.py +42 -0
  415. aidp_python_client/aidataplatform_dp/models/log_experiment_run_model_details.py +101 -0
  416. aidp_python_client/aidataplatform_dp/models/log_experiment_run_model_response_details.py +42 -0
  417. aidp_python_client/aidataplatform_dp/models/log_experiment_run_param_details.py +132 -0
  418. aidp_python_client/aidataplatform_dp/models/log_experiment_run_param_response_details.py +42 -0
  419. aidp_python_client/aidataplatform_dp/models/log_group.py +132 -0
  420. aidp_python_client/aidataplatform_dp/models/logged_model.py +97 -0
  421. aidp_python_client/aidataplatform_dp/models/logged_model_collection.py +101 -0
  422. aidp_python_client/aidataplatform_dp/models/logged_model_info.py +349 -0
  423. aidp_python_client/aidataplatform_dp/models/logged_model_order.py +101 -0
  424. aidp_python_client/aidataplatform_dp/models/logged_model_tag.py +101 -0
  425. aidp_python_client/aidataplatform_dp/models/logging_config.py +99 -0
  426. aidp_python_client/aidataplatform_dp/models/manage_agent_flow_permission_details.py +93 -0
  427. aidp_python_client/aidataplatform_dp/models/manage_audit_logs_details.py +118 -0
  428. aidp_python_client/aidataplatform_dp/models/manage_catalog_permission_details.py +93 -0
  429. aidp_python_client/aidataplatform_dp/models/manage_cluster_permission_details.py +93 -0
  430. aidp_python_client/aidataplatform_dp/models/manage_create_workspace_permission_details.py +93 -0
  431. aidp_python_client/aidataplatform_dp/models/manage_credential_permission_details.py +93 -0
  432. aidp_python_client/aidataplatform_dp/models/manage_job_permission_details.py +93 -0
  433. aidp_python_client/aidataplatform_dp/models/manage_knowledge_base_permission_details.py +93 -0
  434. aidp_python_client/aidataplatform_dp/models/manage_master_catalog_permission_details.py +93 -0
  435. aidp_python_client/aidataplatform_dp/models/manage_recipient_permission_details.py +93 -0
  436. aidp_python_client/aidataplatform_dp/models/manage_role_permission_details.py +93 -0
  437. aidp_python_client/aidataplatform_dp/models/manage_schema_permission_details.py +93 -0
  438. aidp_python_client/aidataplatform_dp/models/manage_share_access_details.py +118 -0
  439. aidp_python_client/aidataplatform_dp/models/manage_share_data_asset_details.py +263 -0
  440. aidp_python_client/aidataplatform_dp/models/manage_share_permission_details.py +93 -0
  441. aidp_python_client/aidataplatform_dp/models/manage_table_permission_details.py +93 -0
  442. aidp_python_client/aidataplatform_dp/models/manage_tool_permission_details.py +93 -0
  443. aidp_python_client/aidataplatform_dp/models/manage_view_permission_details.py +93 -0
  444. aidp_python_client/aidataplatform_dp/models/manage_volume_permission_details.py +93 -0
  445. aidp_python_client/aidataplatform_dp/models/manage_workspace_object_permission_details.py +93 -0
  446. aidp_python_client/aidataplatform_dp/models/manage_workspace_permission_details.py +93 -0
  447. aidp_python_client/aidataplatform_dp/models/managed_table_definition.py +110 -0
  448. aidp_python_client/aidataplatform_dp/models/master_catalog.py +357 -0
  449. aidp_python_client/aidataplatform_dp/models/master_catalog_collection.py +70 -0
  450. aidp_python_client/aidataplatform_dp/models/master_catalog_permission_collection.py +70 -0
  451. aidp_python_client/aidataplatform_dp/models/master_catalog_permission_summary.py +216 -0
  452. aidp_python_client/aidataplatform_dp/models/master_catalog_summary.py +351 -0
  453. aidp_python_client/aidataplatform_dp/models/mcp_object.py +178 -0
  454. aidp_python_client/aidataplatform_dp/models/mcp_prompt_object.py +94 -0
  455. aidp_python_client/aidataplatform_dp/models/mcp_resource_object.py +94 -0
  456. aidp_python_client/aidataplatform_dp/models/mcp_result.py +70 -0
  457. aidp_python_client/aidataplatform_dp/models/mcp_test_tool_result.py +76 -0
  458. aidp_python_client/aidataplatform_dp/models/mcp_tool.py +184 -0
  459. aidp_python_client/aidataplatform_dp/models/mcp_tool_configuration.py +159 -0
  460. aidp_python_client/aidataplatform_dp/models/mcp_tool_node.py +185 -0
  461. aidp_python_client/aidataplatform_dp/models/mcp_tool_object.py +94 -0
  462. aidp_python_client/aidataplatform_dp/models/memory_configuration.py +128 -0
  463. aidp_python_client/aidataplatform_dp/models/memory_limit_configuration.py +110 -0
  464. aidp_python_client/aidataplatform_dp/models/memory_limit_configuration_details.py +101 -0
  465. aidp_python_client/aidataplatform_dp/models/metrics_summary.py +287 -0
  466. aidp_python_client/aidataplatform_dp/models/mkdir_details.py +101 -0
  467. aidp_python_client/aidataplatform_dp/models/model.py +470 -0
  468. aidp_python_client/aidataplatform_dp/models/model_input.py +70 -0
  469. aidp_python_client/aidataplatform_dp/models/model_metric.py +163 -0
  470. aidp_python_client/aidataplatform_dp/models/model_output.py +101 -0
  471. aidp_python_client/aidataplatform_dp/models/model_param.py +101 -0
  472. aidp_python_client/aidataplatform_dp/models/model_parameter.py +97 -0
  473. aidp_python_client/aidataplatform_dp/models/model_parameter_detail.py +132 -0
  474. aidp_python_client/aidataplatform_dp/models/model_parameter_response.py +363 -0
  475. aidp_python_client/aidataplatform_dp/models/model_summary.py +238 -0
  476. aidp_python_client/aidataplatform_dp/models/model_version.py +613 -0
  477. aidp_python_client/aidataplatform_dp/models/model_version_collection.py +101 -0
  478. aidp_python_client/aidataplatform_dp/models/model_version_deployment_job_state.py +258 -0
  479. aidp_python_client/aidataplatform_dp/models/model_version_tag.py +101 -0
  480. aidp_python_client/aidataplatform_dp/models/model_version_tag_key.py +70 -0
  481. aidp_python_client/aidataplatform_dp/models/models_collection.py +70 -0
  482. aidp_python_client/aidataplatform_dp/models/modify_content_details.py +70 -0
  483. aidp_python_client/aidataplatform_dp/models/move_workspace_object_details.py +101 -0
  484. aidp_python_client/aidataplatform_dp/models/nested_agent_flow_node.py +243 -0
  485. aidp_python_client/aidataplatform_dp/models/new_cluster_configuration.py +190 -0
  486. aidp_python_client/aidataplatform_dp/models/nl_to_sql_tool.py +180 -0
  487. aidp_python_client/aidataplatform_dp/models/nl_to_sql_tool_configuration.py +225 -0
  488. aidp_python_client/aidataplatform_dp/models/nl_to_sql_tool_input_schema.py +70 -0
  489. aidp_python_client/aidataplatform_dp/models/no_auth.py +49 -0
  490. aidp_python_client/aidataplatform_dp/models/node_input.py +246 -0
  491. aidp_python_client/aidataplatform_dp/models/node_io.py +158 -0
  492. aidp_python_client/aidataplatform_dp/models/node_io_color.py +149 -0
  493. aidp_python_client/aidataplatform_dp/models/node_output.py +215 -0
  494. aidp_python_client/aidataplatform_dp/models/notebook_task.py +319 -0
  495. aidp_python_client/aidataplatform_dp/models/notify_cluster_event_handler_details.py +253 -0
  496. aidp_python_client/aidataplatform_dp/models/o_auth.py +173 -0
  497. aidp_python_client/aidataplatform_dp/models/o_auth_admin_setting.py +111 -0
  498. aidp_python_client/aidataplatform_dp/models/o_auth_configuration.py +132 -0
  499. aidp_python_client/aidataplatform_dp/models/oac_schema.py +134 -0
  500. aidp_python_client/aidataplatform_dp/models/oac_schema_summary.py +128 -0
  501. aidp_python_client/aidataplatform_dp/models/oac_table.py +177 -0
  502. aidp_python_client/aidataplatform_dp/models/oac_table_summary.py +107 -0
  503. aidp_python_client/aidataplatform_dp/models/object_recent_search_summary.py +70 -0
  504. aidp_python_client/aidataplatform_dp/models/object_search_summary.py +516 -0
  505. aidp_python_client/aidataplatform_dp/models/object_suggest_summary.py +287 -0
  506. aidp_python_client/aidataplatform_dp/models/oci_logging.py +80 -0
  507. aidp_python_client/aidataplatform_dp/models/oci_resource_principal_auth.py +49 -0
  508. aidp_python_client/aidataplatform_dp/models/oracle_schema.py +134 -0
  509. aidp_python_client/aidataplatform_dp/models/oracle_schema_summary.py +128 -0
  510. aidp_python_client/aidataplatform_dp/models/oracle_table.py +177 -0
  511. aidp_python_client/aidataplatform_dp/models/oracle_table_summary.py +107 -0
  512. aidp_python_client/aidataplatform_dp/models/output_parameter.py +101 -0
  513. aidp_python_client/aidataplatform_dp/models/par_details.py +195 -0
  514. aidp_python_client/aidataplatform_dp/models/parameter.py +101 -0
  515. aidp_python_client/aidataplatform_dp/models/patch_cluster_library_details.py +70 -0
  516. aidp_python_client/aidataplatform_dp/models/patch_session_details.py +252 -0
  517. aidp_python_client/aidataplatform_dp/models/perform_infer_schema_details.py +204 -0
  518. aidp_python_client/aidataplatform_dp/models/permission_assignees.py +122 -0
  519. aidp_python_client/aidataplatform_dp/models/permission_summary.py +274 -0
  520. aidp_python_client/aidataplatform_dp/models/permission_with_resource_details.py +288 -0
  521. aidp_python_client/aidataplatform_dp/models/pii_category.py +209 -0
  522. aidp_python_client/aidataplatform_dp/models/pii_detection_policy.py +148 -0
  523. aidp_python_client/aidataplatform_dp/models/playground_cache.py +70 -0
  524. aidp_python_client/aidataplatform_dp/models/point.py +101 -0
  525. aidp_python_client/aidataplatform_dp/models/preview_agent_flow_agent_card_details.py +66 -0
  526. aidp_python_client/aidataplatform_dp/models/principals_with_workspace_access_collection.py +70 -0
  527. aidp_python_client/aidataplatform_dp/models/principals_with_workspace_access_summary.py +153 -0
  528. aidp_python_client/aidataplatform_dp/models/prompt_attacks_prevention_policy.py +86 -0
  529. aidp_python_client/aidataplatform_dp/models/prompt_result.py +101 -0
  530. aidp_python_client/aidataplatform_dp/models/prompt_test_tool_result.py +76 -0
  531. aidp_python_client/aidataplatform_dp/models/prompt_tool.py +184 -0
  532. aidp_python_client/aidataplatform_dp/models/prompt_tool_configuration.py +128 -0
  533. aidp_python_client/aidataplatform_dp/models/prompt_tool_node.py +185 -0
  534. aidp_python_client/aidataplatform_dp/models/provision_user_schema_details.py +110 -0
  535. aidp_python_client/aidataplatform_dp/models/purge_bundle_details.py +70 -0
  536. aidp_python_client/aidataplatform_dp/models/python_task.py +319 -0
  537. aidp_python_client/aidataplatform_dp/models/queue.py +70 -0
  538. aidp_python_client/aidataplatform_dp/models/rag_result.py +101 -0
  539. aidp_python_client/aidataplatform_dp/models/rag_test_tool_result.py +76 -0
  540. aidp_python_client/aidataplatform_dp/models/rag_tool.py +180 -0
  541. aidp_python_client/aidataplatform_dp/models/rag_tool_configuration.py +221 -0
  542. aidp_python_client/aidataplatform_dp/models/rag_tool_input_schema.py +70 -0
  543. aidp_python_client/aidataplatform_dp/models/rag_tool_node.py +181 -0
  544. aidp_python_client/aidataplatform_dp/models/range_filter.py +201 -0
  545. aidp_python_client/aidataplatform_dp/models/recent_resource_item.py +283 -0
  546. aidp_python_client/aidataplatform_dp/models/recent_search_results_collection.py +101 -0
  547. aidp_python_client/aidataplatform_dp/models/recent_searches_criteria.py +70 -0
  548. aidp_python_client/aidataplatform_dp/models/recently_accessed.py +101 -0
  549. aidp_python_client/aidataplatform_dp/models/recently_accessed_resource.py +101 -0
  550. aidp_python_client/aidataplatform_dp/models/recipient.py +402 -0
  551. aidp_python_client/aidataplatform_dp/models/recipient_collection.py +70 -0
  552. aidp_python_client/aidataplatform_dp/models/recipient_permission_collection.py +70 -0
  553. aidp_python_client/aidataplatform_dp/models/recipient_permission_summary.py +203 -0
  554. aidp_python_client/aidataplatform_dp/models/recipient_summary.py +369 -0
  555. aidp_python_client/aidataplatform_dp/models/registered_model.py +346 -0
  556. aidp_python_client/aidataplatform_dp/models/registered_model_alias.py +101 -0
  557. aidp_python_client/aidataplatform_dp/models/registered_model_collection.py +101 -0
  558. aidp_python_client/aidataplatform_dp/models/registered_model_tag.py +101 -0
  559. aidp_python_client/aidataplatform_dp/models/registered_model_tag_key.py +70 -0
  560. aidp_python_client/aidataplatform_dp/models/remove_member_from_role_details.py +70 -0
  561. aidp_python_client/aidataplatform_dp/models/rename_registered_model_details.py +101 -0
  562. aidp_python_client/aidataplatform_dp/models/rename_registered_model_response_details.py +66 -0
  563. aidp_python_client/aidataplatform_dp/models/rename_table_field_details.py +101 -0
  564. aidp_python_client/aidataplatform_dp/models/rename_workspace_object_details.py +101 -0
  565. aidp_python_client/aidataplatform_dp/models/repair_history.py +361 -0
  566. aidp_python_client/aidataplatform_dp/models/repair_job_run_details.py +101 -0
  567. aidp_python_client/aidataplatform_dp/models/reset_git_folder_state_details.py +157 -0
  568. aidp_python_client/aidataplatform_dp/models/restart_cluster_details.py +42 -0
  569. aidp_python_client/aidataplatform_dp/models/restore_experiment_details.py +70 -0
  570. aidp_python_client/aidataplatform_dp/models/restore_experiment_response_details.py +42 -0
  571. aidp_python_client/aidataplatform_dp/models/restore_experiment_run_details.py +70 -0
  572. aidp_python_client/aidataplatform_dp/models/restore_experiment_run_response_details.py +42 -0
  573. aidp_python_client/aidataplatform_dp/models/retrieved_chunk.py +132 -0
  574. aidp_python_client/aidataplatform_dp/models/revoke_agent_flow_permission_details.py +187 -0
  575. aidp_python_client/aidataplatform_dp/models/revoke_catalog_permission_details.py +125 -0
  576. aidp_python_client/aidataplatform_dp/models/revoke_cluster_permission_details.py +121 -0
  577. aidp_python_client/aidataplatform_dp/models/revoke_create_workspace_permission_details.py +66 -0
  578. aidp_python_client/aidataplatform_dp/models/revoke_credential_permission_details.py +125 -0
  579. aidp_python_client/aidataplatform_dp/models/revoke_job_permission_details.py +125 -0
  580. aidp_python_client/aidataplatform_dp/models/revoke_knowledge_base_permission_details.py +121 -0
  581. aidp_python_client/aidataplatform_dp/models/revoke_master_catalog_permission_details.py +129 -0
  582. aidp_python_client/aidataplatform_dp/models/revoke_recipient_permission_details.py +121 -0
  583. aidp_python_client/aidataplatform_dp/models/revoke_role_permission_details.py +70 -0
  584. aidp_python_client/aidataplatform_dp/models/revoke_schema_permission_details.py +137 -0
  585. aidp_python_client/aidataplatform_dp/models/revoke_share_permission_details.py +121 -0
  586. aidp_python_client/aidataplatform_dp/models/revoke_table_permission_details.py +195 -0
  587. aidp_python_client/aidataplatform_dp/models/revoke_tool_permission_details.py +183 -0
  588. aidp_python_client/aidataplatform_dp/models/revoke_view_permission_details.py +183 -0
  589. aidp_python_client/aidataplatform_dp/models/revoke_volume_permission_details.py +121 -0
  590. aidp_python_client/aidataplatform_dp/models/revoke_workspace_object_permission_details.py +156 -0
  591. aidp_python_client/aidataplatform_dp/models/revoke_workspace_permission_details.py +121 -0
  592. aidp_python_client/aidataplatform_dp/models/role.py +439 -0
  593. aidp_python_client/aidataplatform_dp/models/role_assignee.py +152 -0
  594. aidp_python_client/aidataplatform_dp/models/role_collection.py +70 -0
  595. aidp_python_client/aidataplatform_dp/models/role_permission_collection.py +70 -0
  596. aidp_python_client/aidataplatform_dp/models/role_permission_summary.py +128 -0
  597. aidp_python_client/aidataplatform_dp/models/role_summary.py +396 -0
  598. aidp_python_client/aidataplatform_dp/models/run_output_data.py +313 -0
  599. aidp_python_client/aidataplatform_dp/models/safety_policy.py +337 -0
  600. aidp_python_client/aidataplatform_dp/models/scan.py +101 -0
  601. aidp_python_client/aidataplatform_dp/models/schedule.py +148 -0
  602. aidp_python_client/aidataplatform_dp/models/schema.py +551 -0
  603. aidp_python_client/aidataplatform_dp/models/schema_collection.py +70 -0
  604. aidp_python_client/aidataplatform_dp/models/schema_permission_collection.py +70 -0
  605. aidp_python_client/aidataplatform_dp/models/schema_permission_summary.py +285 -0
  606. aidp_python_client/aidataplatform_dp/models/schema_summary.py +536 -0
  607. aidp_python_client/aidataplatform_dp/models/search_audit_logs_details.py +626 -0
  608. aidp_python_client/aidataplatform_dp/models/search_cluster_logs_details.py +437 -0
  609. aidp_python_client/aidataplatform_dp/models/search_criteria.py +221 -0
  610. aidp_python_client/aidataplatform_dp/models/search_object_type.py +101 -0
  611. aidp_python_client/aidataplatform_dp/models/search_result.py +70 -0
  612. aidp_python_client/aidataplatform_dp/models/search_result_summary.py +101 -0
  613. aidp_python_client/aidataplatform_dp/models/search_results_collection.py +163 -0
  614. aidp_python_client/aidataplatform_dp/models/search_results_group_by_collection.py +163 -0
  615. aidp_python_client/aidataplatform_dp/models/secret_pair.py +101 -0
  616. aidp_python_client/aidataplatform_dp/models/secret_token_credential_details.py +81 -0
  617. aidp_python_client/aidataplatform_dp/models/service_account_credential_details.py +236 -0
  618. aidp_python_client/aidataplatform_dp/models/session.py +324 -0
  619. aidp_python_client/aidataplatform_dp/models/session_chat_history_collection.py +70 -0
  620. aidp_python_client/aidataplatform_dp/models/session_chat_history_summary.py +287 -0
  621. aidp_python_client/aidataplatform_dp/models/session_collection.py +70 -0
  622. aidp_python_client/aidataplatform_dp/models/session_configuration.py +97 -0
  623. aidp_python_client/aidataplatform_dp/models/session_retention_configuration.py +132 -0
  624. aidp_python_client/aidataplatform_dp/models/session_summary.py +283 -0
  625. aidp_python_client/aidataplatform_dp/models/session_variable.py +101 -0
  626. aidp_python_client/aidataplatform_dp/models/session_variable_details.py +225 -0
  627. aidp_python_client/aidataplatform_dp/models/set_experiment_run_tag_details.py +132 -0
  628. aidp_python_client/aidataplatform_dp/models/set_experiment_run_tag_response_details.py +42 -0
  629. aidp_python_client/aidataplatform_dp/models/set_experiment_tag_details.py +132 -0
  630. aidp_python_client/aidataplatform_dp/models/set_experiment_tag_response_details.py +42 -0
  631. aidp_python_client/aidataplatform_dp/models/set_model_version_tag_details.py +163 -0
  632. aidp_python_client/aidataplatform_dp/models/set_model_version_tag_response_details.py +42 -0
  633. aidp_python_client/aidataplatform_dp/models/set_registered_model_tag_details.py +132 -0
  634. aidp_python_client/aidataplatform_dp/models/set_registered_model_tag_response_details.py +42 -0
  635. aidp_python_client/aidataplatform_dp/models/setting.py +159 -0
  636. aidp_python_client/aidataplatform_dp/models/setting_data.py +115 -0
  637. aidp_python_client/aidataplatform_dp/models/shape_config.py +132 -0
  638. aidp_python_client/aidataplatform_dp/models/share.py +396 -0
  639. aidp_python_client/aidataplatform_dp/models/share_collection.py +70 -0
  640. aidp_python_client/aidataplatform_dp/models/share_data_asset_collection.py +70 -0
  641. aidp_python_client/aidataplatform_dp/models/share_data_asset_summary.py +311 -0
  642. aidp_python_client/aidataplatform_dp/models/share_permission_collection.py +70 -0
  643. aidp_python_client/aidataplatform_dp/models/share_permission_summary.py +203 -0
  644. aidp_python_client/aidataplatform_dp/models/share_summary.py +365 -0
  645. aidp_python_client/aidataplatform_dp/models/sort_details.py +143 -0
  646. aidp_python_client/aidataplatform_dp/models/span_details.py +345 -0
  647. aidp_python_client/aidataplatform_dp/models/span_status.py +101 -0
  648. aidp_python_client/aidataplatform_dp/models/spark_cluster.py +497 -0
  649. aidp_python_client/aidataplatform_dp/models/spark_runtime_config.py +155 -0
  650. aidp_python_client/aidataplatform_dp/models/sql_result.py +70 -0
  651. aidp_python_client/aidataplatform_dp/models/sql_test_tool_result.py +76 -0
  652. aidp_python_client/aidataplatform_dp/models/sql_tool.py +184 -0
  653. aidp_python_client/aidataplatform_dp/models/sql_tool_configuration.py +194 -0
  654. aidp_python_client/aidataplatform_dp/models/sql_tool_node.py +185 -0
  655. aidp_python_client/aidataplatform_dp/models/standard_schema.py +134 -0
  656. aidp_python_client/aidataplatform_dp/models/standard_schema_summary.py +128 -0
  657. aidp_python_client/aidataplatform_dp/models/standard_table.py +177 -0
  658. aidp_python_client/aidataplatform_dp/models/standard_table_summary.py +107 -0
  659. aidp_python_client/aidataplatform_dp/models/start_cluster_details.py +42 -0
  660. aidp_python_client/aidataplatform_dp/models/start_node.py +185 -0
  661. aidp_python_client/aidataplatform_dp/models/state.py +231 -0
  662. aidp_python_client/aidataplatform_dp/models/stop_agent_flow_session_details.py +42 -0
  663. aidp_python_client/aidataplatform_dp/models/stop_cluster_details.py +42 -0
  664. aidp_python_client/aidataplatform_dp/models/subscription_details.py +101 -0
  665. aidp_python_client/aidataplatform_dp/models/suggest_criteria.py +101 -0
  666. aidp_python_client/aidataplatform_dp/models/suggest_results_collection.py +132 -0
  667. aidp_python_client/aidataplatform_dp/models/summarize_metrics_data_details.py +308 -0
  668. aidp_python_client/aidataplatform_dp/models/summarize_metrics_response.py +70 -0
  669. aidp_python_client/aidataplatform_dp/models/supervisor_agent_node.py +363 -0
  670. aidp_python_client/aidataplatform_dp/models/sync_bundle_details.py +70 -0
  671. aidp_python_client/aidataplatform_dp/models/table.py +737 -0
  672. aidp_python_client/aidataplatform_dp/models/table_collection.py +70 -0
  673. aidp_python_client/aidataplatform_dp/models/table_field_details.py +194 -0
  674. aidp_python_client/aidataplatform_dp/models/table_permission_collection.py +70 -0
  675. aidp_python_client/aidataplatform_dp/models/table_permission_summary.py +347 -0
  676. aidp_python_client/aidataplatform_dp/models/table_property.py +101 -0
  677. aidp_python_client/aidataplatform_dp/models/table_summary.py +435 -0
  678. aidp_python_client/aidataplatform_dp/models/task.py +357 -0
  679. aidp_python_client/aidataplatform_dp/models/task_execution_result.py +221 -0
  680. aidp_python_client/aidataplatform_dp/models/task_run.py +771 -0
  681. aidp_python_client/aidataplatform_dp/models/task_run_collection.py +70 -0
  682. aidp_python_client/aidataplatform_dp/models/task_run_output.py +288 -0
  683. aidp_python_client/aidataplatform_dp/models/task_run_retry.py +345 -0
  684. aidp_python_client/aidataplatform_dp/models/task_run_summary.py +407 -0
  685. aidp_python_client/aidataplatform_dp/models/test_custom_tool_details.py +141 -0
  686. aidp_python_client/aidataplatform_dp/models/test_http_tool_details.py +110 -0
  687. aidp_python_client/aidataplatform_dp/models/test_mcp_connection.py +49 -0
  688. aidp_python_client/aidataplatform_dp/models/test_mcp_external_tool.py +107 -0
  689. aidp_python_client/aidataplatform_dp/models/test_mcp_operation.py +108 -0
  690. aidp_python_client/aidataplatform_dp/models/test_mcp_tool_details.py +168 -0
  691. aidp_python_client/aidataplatform_dp/models/test_prompt_tool_details.py +110 -0
  692. aidp_python_client/aidataplatform_dp/models/test_rag_tool_details.py +114 -0
  693. aidp_python_client/aidataplatform_dp/models/test_sql_tool_details.py +110 -0
  694. aidp_python_client/aidataplatform_dp/models/test_tool_details.py +171 -0
  695. aidp_python_client/aidataplatform_dp/models/test_tool_param_values.py +70 -0
  696. aidp_python_client/aidataplatform_dp/models/test_tool_result.py +140 -0
  697. aidp_python_client/aidataplatform_dp/models/time_created.py +42 -0
  698. aidp_python_client/aidataplatform_dp/models/time_updated.py +42 -0
  699. aidp_python_client/aidataplatform_dp/models/tool.py +489 -0
  700. aidp_python_client/aidataplatform_dp/models/tool_collection.py +70 -0
  701. aidp_python_client/aidataplatform_dp/models/tool_permission_collection.py +70 -0
  702. aidp_python_client/aidataplatform_dp/models/tool_permission_summary.py +332 -0
  703. aidp_python_client/aidataplatform_dp/models/tool_summary.py +355 -0
  704. aidp_python_client/aidataplatform_dp/models/trace_details.py +225 -0
  705. aidp_python_client/aidataplatform_dp/models/trace_event.py +132 -0
  706. aidp_python_client/aidataplatform_dp/models/transition_model_version_stage_details.py +163 -0
  707. aidp_python_client/aidataplatform_dp/models/transition_model_version_stage_response_details.py +66 -0
  708. aidp_python_client/aidataplatform_dp/models/txt_file_definition.py +101 -0
  709. aidp_python_client/aidataplatform_dp/models/uninstall_cluster_library_details.py +88 -0
  710. aidp_python_client/aidataplatform_dp/models/update_admin_setting_details.py +128 -0
  711. aidp_python_client/aidataplatform_dp/models/update_agent_flow_compute_details.py +77 -0
  712. aidp_python_client/aidataplatform_dp/models/update_agent_flow_deployment_details.py +242 -0
  713. aidp_python_client/aidataplatform_dp/models/update_agent_flow_deployment_metadata_details.py +97 -0
  714. aidp_python_client/aidataplatform_dp/models/update_agent_flow_details.py +395 -0
  715. aidp_python_client/aidataplatform_dp/models/update_agent_flow_node_details.py +451 -0
  716. aidp_python_client/aidataplatform_dp/models/update_agent_flow_session_details.py +159 -0
  717. aidp_python_client/aidataplatform_dp/models/update_agent_flow_session_playground_cache_details.py +70 -0
  718. aidp_python_client/aidataplatform_dp/models/update_agent_node_details.py +259 -0
  719. aidp_python_client/aidataplatform_dp/models/update_catalog_details.py +159 -0
  720. aidp_python_client/aidataplatform_dp/models/update_cluster_async_operation_status_details.py +293 -0
  721. aidp_python_client/aidataplatform_dp/models/update_cluster_details.py +228 -0
  722. aidp_python_client/aidataplatform_dp/models/update_connection_details.py +70 -0
  723. aidp_python_client/aidataplatform_dp/models/update_content_details.py +252 -0
  724. aidp_python_client/aidataplatform_dp/models/update_custom_tool_details.py +190 -0
  725. aidp_python_client/aidataplatform_dp/models/update_custom_tool_node_details.py +201 -0
  726. aidp_python_client/aidataplatform_dp/models/update_data_lake_credential_details.py +180 -0
  727. aidp_python_client/aidataplatform_dp/models/update_dir_details.py +70 -0
  728. aidp_python_client/aidataplatform_dp/models/update_experiment_details.py +101 -0
  729. aidp_python_client/aidataplatform_dp/models/update_experiment_response_details.py +42 -0
  730. aidp_python_client/aidataplatform_dp/models/update_experiment_run_details.py +196 -0
  731. aidp_python_client/aidataplatform_dp/models/update_experiment_run_response_details.py +66 -0
  732. aidp_python_client/aidataplatform_dp/models/update_experiment_run_tags_details.py +132 -0
  733. aidp_python_client/aidataplatform_dp/models/update_experiment_run_tags_response_details.py +42 -0
  734. aidp_python_client/aidataplatform_dp/models/update_experiment_tags_details.py +132 -0
  735. aidp_python_client/aidataplatform_dp/models/update_experiment_tags_response_details.py +42 -0
  736. aidp_python_client/aidataplatform_dp/models/update_file_metadata_details.py +126 -0
  737. aidp_python_client/aidataplatform_dp/models/update_git_repository_details.py +132 -0
  738. aidp_python_client/aidataplatform_dp/models/update_http_tool_details.py +128 -0
  739. aidp_python_client/aidataplatform_dp/models/update_http_tool_node_details.py +143 -0
  740. aidp_python_client/aidataplatform_dp/models/update_job_details.py +426 -0
  741. aidp_python_client/aidataplatform_dp/models/update_knowledge_base_add_source_details.py +366 -0
  742. aidp_python_client/aidataplatform_dp/models/update_knowledge_base_delete_source_details.py +118 -0
  743. aidp_python_client/aidataplatform_dp/models/update_knowledge_base_details.py +176 -0
  744. aidp_python_client/aidataplatform_dp/models/update_knowledge_base_metadata_update_details.py +101 -0
  745. aidp_python_client/aidataplatform_dp/models/update_knowledge_base_source_update_details.py +70 -0
  746. aidp_python_client/aidataplatform_dp/models/update_knowledge_base_source_update_details_item.py +141 -0
  747. aidp_python_client/aidataplatform_dp/models/update_master_catalog_details.py +70 -0
  748. aidp_python_client/aidataplatform_dp/models/update_mcp_tool_node_details.py +143 -0
  749. aidp_python_client/aidataplatform_dp/models/update_model_version_details.py +132 -0
  750. aidp_python_client/aidataplatform_dp/models/update_model_version_response_details.py +66 -0
  751. aidp_python_client/aidataplatform_dp/models/update_model_version_tags_details.py +163 -0
  752. aidp_python_client/aidataplatform_dp/models/update_model_version_tags_response_details.py +42 -0
  753. aidp_python_client/aidataplatform_dp/models/update_nl_to_sql_tool_details.py +124 -0
  754. aidp_python_client/aidataplatform_dp/models/update_prompt_tool_details.py +128 -0
  755. aidp_python_client/aidataplatform_dp/models/update_prompt_tool_node_details.py +143 -0
  756. aidp_python_client/aidataplatform_dp/models/update_rag_tool_details.py +124 -0
  757. aidp_python_client/aidataplatform_dp/models/update_rag_tool_node_details.py +139 -0
  758. aidp_python_client/aidataplatform_dp/models/update_recipient_details.py +134 -0
  759. aidp_python_client/aidataplatform_dp/models/update_registered_model_details.py +132 -0
  760. aidp_python_client/aidataplatform_dp/models/update_registered_model_response_details.py +66 -0
  761. aidp_python_client/aidataplatform_dp/models/update_registered_model_tags_details.py +132 -0
  762. aidp_python_client/aidataplatform_dp/models/update_registered_model_tags_response_details.py +42 -0
  763. aidp_python_client/aidataplatform_dp/models/update_role_details.py +101 -0
  764. aidp_python_client/aidataplatform_dp/models/update_schema_details.py +132 -0
  765. aidp_python_client/aidataplatform_dp/models/update_setting_details.py +128 -0
  766. aidp_python_client/aidataplatform_dp/models/update_share_details.py +101 -0
  767. aidp_python_client/aidataplatform_dp/models/update_spark_cluster_details.py +216 -0
  768. aidp_python_client/aidataplatform_dp/models/update_sql_tool_details.py +128 -0
  769. aidp_python_client/aidataplatform_dp/models/update_sql_tool_node_details.py +143 -0
  770. aidp_python_client/aidataplatform_dp/models/update_table_details.py +287 -0
  771. aidp_python_client/aidataplatform_dp/models/update_table_field_details.py +101 -0
  772. aidp_python_client/aidataplatform_dp/models/update_tool_details.py +237 -0
  773. aidp_python_client/aidataplatform_dp/models/update_user_setting_details.py +128 -0
  774. aidp_python_client/aidataplatform_dp/models/update_view_details.py +130 -0
  775. aidp_python_client/aidataplatform_dp/models/update_volume_details.py +101 -0
  776. aidp_python_client/aidataplatform_dp/models/update_workspace_async_operation_status_details.py +196 -0
  777. aidp_python_client/aidataplatform_dp/models/update_workspace_details.py +165 -0
  778. aidp_python_client/aidataplatform_dp/models/upload_file_with_par_details.py +188 -0
  779. aidp_python_client/aidataplatform_dp/models/upload_file_with_par_result.py +353 -0
  780. aidp_python_client/aidataplatform_dp/models/user_setting.py +159 -0
  781. aidp_python_client/aidataplatform_dp/models/user_setting_collection.py +70 -0
  782. aidp_python_client/aidataplatform_dp/models/user_setting_summary.py +276 -0
  783. aidp_python_client/aidataplatform_dp/models/validate_agent_flow_diagram_details.py +203 -0
  784. aidp_python_client/aidataplatform_dp/models/validate_agent_flow_response.py +101 -0
  785. aidp_python_client/aidataplatform_dp/models/validate_bundle_details.py +70 -0
  786. aidp_python_client/aidataplatform_dp/models/validate_view_sql_details.py +70 -0
  787. aidp_python_client/aidataplatform_dp/models/validation_error.py +163 -0
  788. aidp_python_client/aidataplatform_dp/models/vault_reference_credential_details.py +81 -0
  789. aidp_python_client/aidataplatform_dp/models/view.py +489 -0
  790. aidp_python_client/aidataplatform_dp/models/view_collection.py +70 -0
  791. aidp_python_client/aidataplatform_dp/models/view_field_details.py +194 -0
  792. aidp_python_client/aidataplatform_dp/models/view_permission_collection.py +70 -0
  793. aidp_python_client/aidataplatform_dp/models/view_permission_summary.py +347 -0
  794. aidp_python_client/aidataplatform_dp/models/view_property.py +101 -0
  795. aidp_python_client/aidataplatform_dp/models/view_sql_parse_details.py +132 -0
  796. aidp_python_client/aidataplatform_dp/models/view_summary.py +303 -0
  797. aidp_python_client/aidataplatform_dp/models/view_update_details.py +225 -0
  798. aidp_python_client/aidataplatform_dp/models/volume.py +559 -0
  799. aidp_python_client/aidataplatform_dp/models/volume_collection.py +70 -0
  800. aidp_python_client/aidataplatform_dp/models/volume_file.py +42 -0
  801. aidp_python_client/aidataplatform_dp/models/volume_file_cluster_library_summary.py +139 -0
  802. aidp_python_client/aidataplatform_dp/models/volume_file_collection.py +70 -0
  803. aidp_python_client/aidataplatform_dp/models/volume_file_summary.py +408 -0
  804. aidp_python_client/aidataplatform_dp/models/volume_permission_collection.py +70 -0
  805. aidp_python_client/aidataplatform_dp/models/volume_permission_summary.py +273 -0
  806. aidp_python_client/aidataplatform_dp/models/volume_summary.py +435 -0
  807. aidp_python_client/aidataplatform_dp/models/word_filters_policy.py +148 -0
  808. aidp_python_client/aidataplatform_dp/models/worker_config.py +159 -0
  809. aidp_python_client/aidataplatform_dp/models/workspace.py +665 -0
  810. aidp_python_client/aidataplatform_dp/models/workspace_collection.py +70 -0
  811. aidp_python_client/aidataplatform_dp/models/workspace_file_cluster_library_summary.py +139 -0
  812. aidp_python_client/aidataplatform_dp/models/workspace_network_configuration_details.py +134 -0
  813. aidp_python_client/aidataplatform_dp/models/workspace_object.py +42 -0
  814. aidp_python_client/aidataplatform_dp/models/workspace_object_collection.py +70 -0
  815. aidp_python_client/aidataplatform_dp/models/workspace_object_details.py +342 -0
  816. aidp_python_client/aidataplatform_dp/models/workspace_object_permission_collection.py +70 -0
  817. aidp_python_client/aidataplatform_dp/models/workspace_object_permission_summary.py +238 -0
  818. aidp_python_client/aidataplatform_dp/models/workspace_object_search_results_collection.py +70 -0
  819. aidp_python_client/aidataplatform_dp/models/workspace_object_search_summary.py +423 -0
  820. aidp_python_client/aidataplatform_dp/models/workspace_object_summary.py +392 -0
  821. aidp_python_client/aidataplatform_dp/models/workspace_permission_collection.py +70 -0
  822. aidp_python_client/aidataplatform_dp/models/workspace_permission_summary.py +203 -0
  823. aidp_python_client/aidataplatform_dp/models/workspace_search_criteria.py +252 -0
  824. aidp_python_client/aidataplatform_dp/models/workspace_summary.py +567 -0
  825. aidp_python_client/aidataplatform_dp/notebook_client.py +1199 -0
  826. aidp_python_client/aidataplatform_dp/notebook_client_composite_operations.py +70 -0
  827. aidp_python_client/aidataplatform_dp/role_client.py +965 -0
  828. aidp_python_client/aidataplatform_dp/role_client_composite_operations.py +113 -0
  829. aidp_python_client/aidataplatform_dp/schema_client.py +3023 -0
  830. aidp_python_client/aidataplatform_dp/schema_client_composite_operations.py +159 -0
  831. aidp_python_client/aidataplatform_dp/user_setting_client.py +610 -0
  832. aidp_python_client/aidataplatform_dp/user_setting_client_composite_operations.py +24 -0
  833. aidp_python_client/aidataplatform_dp/volume_client.py +1838 -0
  834. aidp_python_client/aidataplatform_dp/volume_client_composite_operations.py +113 -0
  835. aidp_python_client/aidataplatform_dp/workflow_client.py +2220 -0
  836. aidp_python_client/aidataplatform_dp/workflow_client_composite_operations.py +24 -0
  837. aidp_python_client/aidataplatform_dp/workspace_client.py +1294 -0
  838. aidp_python_client/aidataplatform_dp/workspace_client_composite_operations.py +162 -0
  839. aidp_python_client/aidataplatform_dp/workspace_object_client.py +1595 -0
  840. aidp_python_client/aidataplatform_dp/workspace_object_client_composite_operations.py +24 -0
  841. aidp_python_client/service_endpoints.py +22 -0
  842. aidp_python_client-1.0.0.dist-info/METADATA +9 -0
  843. aidp_python_client-1.0.0.dist-info/RECORD +847 -0
  844. aidp_python_client-1.0.0.dist-info/WHEEL +5 -0
  845. aidp_python_client-1.0.0.dist-info/licenses/LICENSE.txt +35 -0
  846. aidp_python_client-1.0.0.dist-info/licenses/NOTICE.txt +1 -0
  847. aidp_python_client-1.0.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,2220 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2026, Oracle and/or its affiliates. All rights reserved.
3
+
4
+
5
+ from __future__ import absolute_import
6
+
7
+ from oci._vendor import requests # noqa: F401
8
+ from oci._vendor import six
9
+
10
+ from oci import retry # noqa: F401
11
+ from oci.base_client import BaseClient
12
+ from oci.config import get_config_value_or_default, validate_config
13
+ from oci.signer import Signer
14
+ from oci.util import Sentinel, get_signer_from_authentication_type, AUTHENTICATION_TYPE_FIELD_NAME
15
+ from .models import aidataplatform_dp_type_mapping
16
+ missing = Sentinel("Missing")
17
+
18
+
19
+ class WorkflowClient(object):
20
+ """
21
+ Use the AI Data Platform Data Plane API to manage workspaces and objects in the workspace.
22
+ """
23
+
24
+ def __init__(self, config, **kwargs):
25
+ """
26
+ Creates a new service client
27
+
28
+ :param dict config:
29
+ Configuration keys and values as per `SDK and Tool Configuration <https://docs.cloud.oracle.com/Content/API/Concepts/sdkconfig.htm>`__.
30
+ The :py:meth:`~oci.config.from_file` method can be used to load configuration from a file. Alternatively, a ``dict`` can be passed. You can validate_config
31
+ the dict using :py:meth:`~oci.config.validate_config`
32
+
33
+ :param str service_endpoint: (optional)
34
+ The endpoint of the service to call using this client. For example ``https://iaas.us-ashburn-1.oraclecloud.com``. If this keyword argument is
35
+ not provided then it will be derived using the region in the config parameter. You should only provide this keyword argument if you have an explicit
36
+ need to specify a service endpoint.
37
+
38
+ :param timeout: (optional)
39
+ The connection and read timeouts for the client. The default values are connection timeout 10 seconds and read timeout 60 seconds. This keyword argument can be provided
40
+ as a single float, in which case the value provided is used for both the read and connection timeouts, or as a tuple of two floats. If
41
+ a tuple is provided then the first value is used as the connection timeout and the second value as the read timeout.
42
+ :type timeout: float or tuple(float, float)
43
+
44
+ :param signer: (optional)
45
+ The signer to use when signing requests made by the service client. The default is to use a :py:class:`~oci.signer.Signer` based on the values
46
+ provided in the config parameter.
47
+
48
+ One use case for this parameter is for `Instance Principals authentication <https://docs.cloud.oracle.com/Content/Identity/Tasks/callingservicesfrominstances.htm>`__
49
+ by passing an instance of :py:class:`~oci.auth.signers.InstancePrincipalsSecurityTokenSigner` as the value for this keyword argument
50
+ :type signer: :py:class:`~oci.signer.AbstractBaseSigner`
51
+
52
+ :param obj retry_strategy: (optional)
53
+ A retry strategy to apply to all calls made by this service client (i.e. at the client level). There is no retry strategy applied by default.
54
+ Retry strategies can also be applied at the operation level by passing a ``retry_strategy`` keyword argument as part of calling the operation.
55
+ Any value provided at the operation level will override whatever is specified at the client level.
56
+
57
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
58
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
59
+ """
60
+ validate_config(config, signer=kwargs.get('signer'))
61
+ if 'signer' in kwargs:
62
+ signer = kwargs['signer']
63
+
64
+ elif AUTHENTICATION_TYPE_FIELD_NAME in config:
65
+ signer = get_signer_from_authentication_type(config)
66
+
67
+ else:
68
+ signer = Signer(
69
+ tenancy=config["tenancy"],
70
+ user=config["user"],
71
+ fingerprint=config["fingerprint"],
72
+ private_key_file_location=config.get("key_file"),
73
+ pass_phrase=get_config_value_or_default(config, "pass_phrase"),
74
+ private_key_content=config.get("key_content")
75
+ )
76
+
77
+ base_client_init_kwargs = {
78
+ 'regional_client': True,
79
+ 'service_endpoint': kwargs.get('service_endpoint'),
80
+ 'timeout': kwargs.get('timeout'),
81
+ 'base_path': '/20260430',
82
+ 'service_endpoint_template': 'https://datalake.{region}.oci.{secondLevelDomain}',
83
+ 'skip_deserialization': kwargs.get('skip_deserialization', False)
84
+ }
85
+ self.base_client = BaseClient("workflow", config, signer, aidataplatform_dp_type_mapping, **base_client_init_kwargs)
86
+ self.retry_strategy = kwargs.get('retry_strategy', retry.DEFAULT_RETRY_STRATEGY)
87
+
88
+ def cancel_job_run(self, ai_data_platform_id, workspace_key, job_run_key, **kwargs):
89
+ """
90
+ Cancels a job run.
91
+
92
+
93
+ :param str ai_data_platform_id: (required)
94
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
95
+
96
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
97
+
98
+ :param str workspace_key: (required)
99
+ The key of the Workspace
100
+
101
+ :param str job_run_key: (required)
102
+ Job run key.
103
+
104
+ :param str if_match: (optional)
105
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
106
+ `if-match` parameter to the value of the etag from a previous GET or POST response for
107
+ that resource. The resource will be updated or deleted only if the etag you provide
108
+ matches the resource's current etag value.
109
+
110
+ :param str opc_request_id: (optional)
111
+ Unique Oracle-assigned identifier for the request. If you need to contact
112
+ Oracle about a particular request, please provide the request ID.
113
+ The only valid characters for request IDs are letters, numbers,
114
+ underscore, and dash.
115
+
116
+ :param str opc_retry_token: (optional)
117
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
118
+ server error without risk of running that same action again. Retry tokens expire after 24
119
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
120
+ has been deleted and removed from the system, then a retry of the original creation request
121
+ might be rejected.
122
+
123
+ :param bool should_update_recent: (optional)
124
+ A flag to identify if the recent list should be updated.
125
+
126
+ :param obj retry_strategy: (optional)
127
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
128
+
129
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
130
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
131
+
132
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
133
+
134
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.JobRun`
135
+ :rtype: :class:`~oci.response.Response`
136
+ """
137
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/jobRuns/{jobRunKey}/actions/cancel"
138
+ method = "POST"
139
+
140
+ # Don't accept unknown kwargs
141
+ expected_kwargs = [
142
+ "retry_strategy",
143
+ "if_match",
144
+ "opc_request_id",
145
+ "opc_retry_token",
146
+ "should_update_recent"
147
+ ]
148
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
149
+ if extra_kwargs:
150
+ raise ValueError(
151
+ "cancel_job_run got unknown kwargs: {!r}".format(extra_kwargs))
152
+
153
+ path_params = {
154
+ "aiDataPlatformId": ai_data_platform_id,
155
+ "workspaceKey": workspace_key,
156
+ "jobRunKey": job_run_key
157
+ }
158
+
159
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
160
+
161
+ for (k, v) in six.iteritems(path_params):
162
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
163
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
164
+
165
+ header_params = {
166
+ "accept": "application/json",
167
+ "content-type": "application/json",
168
+ "if-match": kwargs.get("if_match", missing),
169
+ "opc-request-id": kwargs.get("opc_request_id", missing),
170
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
171
+ "should-update-recent": kwargs.get("should_update_recent", missing)
172
+ }
173
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
174
+
175
+ retry_strategy = self.retry_strategy
176
+ if kwargs.get('retry_strategy'):
177
+ retry_strategy = kwargs.get('retry_strategy')
178
+
179
+ if retry_strategy:
180
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
181
+ self.base_client.add_opc_retry_token_if_needed(header_params)
182
+ return retry_strategy.make_retrying_call(
183
+ self.base_client.call_api,
184
+ resource_path=resource_path,
185
+ method=method,
186
+ path_params=path_params,
187
+ header_params=header_params,
188
+ response_type="JobRun")
189
+ else:
190
+ return self.base_client.call_api(
191
+ resource_path=resource_path,
192
+ method=method,
193
+ path_params=path_params,
194
+ header_params=header_params,
195
+ response_type="JobRun")
196
+
197
+ def cancel_job_runs(self, ai_data_platform_id, workspace_key, job_key, **kwargs):
198
+ """
199
+ Cancels all job runs for a given job.
200
+
201
+
202
+ :param str ai_data_platform_id: (required)
203
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
204
+
205
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
206
+
207
+ :param str workspace_key: (required)
208
+ The key of the Workspace
209
+
210
+ :param str job_key: (required)
211
+ Job key.
212
+
213
+ :param str if_match: (optional)
214
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
215
+ `if-match` parameter to the value of the etag from a previous GET or POST response for
216
+ that resource. The resource will be updated or deleted only if the etag you provide
217
+ matches the resource's current etag value.
218
+
219
+ :param str opc_request_id: (optional)
220
+ Unique Oracle-assigned identifier for the request. If you need to contact
221
+ Oracle about a particular request, please provide the request ID.
222
+ The only valid characters for request IDs are letters, numbers,
223
+ underscore, and dash.
224
+
225
+ :param str opc_retry_token: (optional)
226
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
227
+ server error without risk of running that same action again. Retry tokens expire after 24
228
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
229
+ has been deleted and removed from the system, then a retry of the original creation request
230
+ might be rejected.
231
+
232
+ :param obj retry_strategy: (optional)
233
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
234
+
235
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
236
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
237
+
238
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
239
+
240
+ :return: A :class:`~oci.response.Response` object with data of type None
241
+ :rtype: :class:`~oci.response.Response`
242
+ """
243
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/jobs/{jobKey}/actions/cancelJobRuns"
244
+ method = "POST"
245
+
246
+ # Don't accept unknown kwargs
247
+ expected_kwargs = [
248
+ "retry_strategy",
249
+ "if_match",
250
+ "opc_request_id",
251
+ "opc_retry_token"
252
+ ]
253
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
254
+ if extra_kwargs:
255
+ raise ValueError(
256
+ "cancel_job_runs got unknown kwargs: {!r}".format(extra_kwargs))
257
+
258
+ path_params = {
259
+ "aiDataPlatformId": ai_data_platform_id,
260
+ "workspaceKey": workspace_key,
261
+ "jobKey": job_key
262
+ }
263
+
264
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
265
+
266
+ for (k, v) in six.iteritems(path_params):
267
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
268
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
269
+
270
+ header_params = {
271
+ "accept": "application/json",
272
+ "content-type": "application/json",
273
+ "if-match": kwargs.get("if_match", missing),
274
+ "opc-request-id": kwargs.get("opc_request_id", missing),
275
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
276
+ }
277
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
278
+
279
+ retry_strategy = self.retry_strategy
280
+ if kwargs.get('retry_strategy'):
281
+ retry_strategy = kwargs.get('retry_strategy')
282
+
283
+ if retry_strategy:
284
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
285
+ self.base_client.add_opc_retry_token_if_needed(header_params)
286
+ return retry_strategy.make_retrying_call(
287
+ self.base_client.call_api,
288
+ resource_path=resource_path,
289
+ method=method,
290
+ path_params=path_params,
291
+ header_params=header_params)
292
+ else:
293
+ return self.base_client.call_api(
294
+ resource_path=resource_path,
295
+ method=method,
296
+ path_params=path_params,
297
+ header_params=header_params)
298
+
299
+ def create_job(self, ai_data_platform_id, workspace_key, create_job_details, **kwargs):
300
+ """
301
+ Creates a job in an AI Data Platform Workbench.
302
+
303
+
304
+ :param str ai_data_platform_id: (required)
305
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
306
+
307
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
308
+
309
+ :param str workspace_key: (required)
310
+ The key of the Workspace
311
+
312
+ :param oci.aidataplatform_dp.models.CreateJobDetails create_job_details: (required)
313
+ Details for the new job.
314
+
315
+ :param str opc_retry_token: (optional)
316
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
317
+ server error without risk of running that same action again. Retry tokens expire after 24
318
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
319
+ has been deleted and removed from the system, then a retry of the original creation request
320
+ might be rejected.
321
+
322
+ :param str opc_request_id: (optional)
323
+ Unique Oracle-assigned identifier for the request. If you need to contact
324
+ Oracle about a particular request, please provide the request ID.
325
+ The only valid characters for request IDs are letters, numbers,
326
+ underscore, and dash.
327
+
328
+ :param bool should_update_recent: (optional)
329
+ A flag to identify if the recent list should be updated.
330
+
331
+ :param obj retry_strategy: (optional)
332
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
333
+
334
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
335
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
336
+
337
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
338
+
339
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.Job`
340
+ :rtype: :class:`~oci.response.Response`
341
+ """
342
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/jobs"
343
+ method = "POST"
344
+
345
+ # Don't accept unknown kwargs
346
+ expected_kwargs = [
347
+ "retry_strategy",
348
+ "opc_retry_token",
349
+ "opc_request_id",
350
+ "should_update_recent"
351
+ ]
352
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
353
+ if extra_kwargs:
354
+ raise ValueError(
355
+ "create_job got unknown kwargs: {!r}".format(extra_kwargs))
356
+
357
+ path_params = {
358
+ "aiDataPlatformId": ai_data_platform_id,
359
+ "workspaceKey": workspace_key
360
+ }
361
+
362
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
363
+
364
+ for (k, v) in six.iteritems(path_params):
365
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
366
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
367
+
368
+ header_params = {
369
+ "accept": "application/json",
370
+ "content-type": "application/json",
371
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
372
+ "opc-request-id": kwargs.get("opc_request_id", missing),
373
+ "should-update-recent": kwargs.get("should_update_recent", missing)
374
+ }
375
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
376
+
377
+ retry_strategy = self.retry_strategy
378
+ if kwargs.get('retry_strategy'):
379
+ retry_strategy = kwargs.get('retry_strategy')
380
+
381
+ if retry_strategy:
382
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
383
+ self.base_client.add_opc_retry_token_if_needed(header_params)
384
+ return retry_strategy.make_retrying_call(
385
+ self.base_client.call_api,
386
+ resource_path=resource_path,
387
+ method=method,
388
+ path_params=path_params,
389
+ header_params=header_params,
390
+ body=create_job_details,
391
+ response_type="Job")
392
+ else:
393
+ return self.base_client.call_api(
394
+ resource_path=resource_path,
395
+ method=method,
396
+ path_params=path_params,
397
+ header_params=header_params,
398
+ body=create_job_details,
399
+ response_type="Job")
400
+
401
+ def create_job_run(self, ai_data_platform_id, workspace_key, create_job_run_details, **kwargs):
402
+ """
403
+ Creates a job run for an AI Data Platform Workbench.
404
+
405
+
406
+ :param str ai_data_platform_id: (required)
407
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
408
+
409
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
410
+
411
+ :param str workspace_key: (required)
412
+ The key of the Workspace
413
+
414
+ :param oci.aidataplatform_dp.models.CreateJobRunDetails create_job_run_details: (required)
415
+ Details for the new job run.
416
+
417
+ :param str opc_retry_token: (optional)
418
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
419
+ server error without risk of running that same action again. Retry tokens expire after 24
420
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
421
+ has been deleted and removed from the system, then a retry of the original creation request
422
+ might be rejected.
423
+
424
+ :param str opc_request_id: (optional)
425
+ Unique Oracle-assigned identifier for the request. If you need to contact
426
+ Oracle about a particular request, please provide the request ID.
427
+ The only valid characters for request IDs are letters, numbers,
428
+ underscore, and dash.
429
+
430
+ :param bool should_update_recent: (optional)
431
+ A flag to identify if the recent list should be updated.
432
+
433
+ :param obj retry_strategy: (optional)
434
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
435
+
436
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
437
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
438
+
439
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
440
+
441
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.JobRun`
442
+ :rtype: :class:`~oci.response.Response`
443
+ """
444
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/jobRuns"
445
+ method = "POST"
446
+
447
+ # Don't accept unknown kwargs
448
+ expected_kwargs = [
449
+ "retry_strategy",
450
+ "opc_retry_token",
451
+ "opc_request_id",
452
+ "should_update_recent"
453
+ ]
454
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
455
+ if extra_kwargs:
456
+ raise ValueError(
457
+ "create_job_run got unknown kwargs: {!r}".format(extra_kwargs))
458
+
459
+ path_params = {
460
+ "aiDataPlatformId": ai_data_platform_id,
461
+ "workspaceKey": workspace_key
462
+ }
463
+
464
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
465
+
466
+ for (k, v) in six.iteritems(path_params):
467
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
468
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
469
+
470
+ header_params = {
471
+ "accept": "application/json",
472
+ "content-type": "application/json",
473
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
474
+ "opc-request-id": kwargs.get("opc_request_id", missing),
475
+ "should-update-recent": kwargs.get("should_update_recent", missing)
476
+ }
477
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
478
+
479
+ retry_strategy = self.retry_strategy
480
+ if kwargs.get('retry_strategy'):
481
+ retry_strategy = kwargs.get('retry_strategy')
482
+
483
+ if retry_strategy:
484
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
485
+ self.base_client.add_opc_retry_token_if_needed(header_params)
486
+ return retry_strategy.make_retrying_call(
487
+ self.base_client.call_api,
488
+ resource_path=resource_path,
489
+ method=method,
490
+ path_params=path_params,
491
+ header_params=header_params,
492
+ body=create_job_run_details,
493
+ response_type="JobRun")
494
+ else:
495
+ return self.base_client.call_api(
496
+ resource_path=resource_path,
497
+ method=method,
498
+ path_params=path_params,
499
+ header_params=header_params,
500
+ body=create_job_run_details,
501
+ response_type="JobRun")
502
+
503
+ def delete_job(self, ai_data_platform_id, workspace_key, job_key, **kwargs):
504
+ """
505
+ Deletes a job from an AI Data Platform Workbench.
506
+
507
+
508
+ :param str ai_data_platform_id: (required)
509
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
510
+
511
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
512
+
513
+ :param str workspace_key: (required)
514
+ The key of the Workspace
515
+
516
+ :param str job_key: (required)
517
+ Job key.
518
+
519
+ :param str if_match: (optional)
520
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
521
+ `if-match` parameter to the value of the etag from a previous GET or POST response for
522
+ that resource. The resource will be updated or deleted only if the etag you provide
523
+ matches the resource's current etag value.
524
+
525
+ :param str opc_request_id: (optional)
526
+ Unique Oracle-assigned identifier for the request. If you need to contact
527
+ Oracle about a particular request, please provide the request ID.
528
+ The only valid characters for request IDs are letters, numbers,
529
+ underscore, and dash.
530
+
531
+ :param obj retry_strategy: (optional)
532
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
533
+
534
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
535
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
536
+
537
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
538
+
539
+ :return: A :class:`~oci.response.Response` object with data of type None
540
+ :rtype: :class:`~oci.response.Response`
541
+ """
542
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/jobs/{jobKey}"
543
+ method = "DELETE"
544
+
545
+ # Don't accept unknown kwargs
546
+ expected_kwargs = [
547
+ "retry_strategy",
548
+ "if_match",
549
+ "opc_request_id"
550
+ ]
551
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
552
+ if extra_kwargs:
553
+ raise ValueError(
554
+ "delete_job got unknown kwargs: {!r}".format(extra_kwargs))
555
+
556
+ path_params = {
557
+ "aiDataPlatformId": ai_data_platform_id,
558
+ "workspaceKey": workspace_key,
559
+ "jobKey": job_key
560
+ }
561
+
562
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
563
+
564
+ for (k, v) in six.iteritems(path_params):
565
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
566
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
567
+
568
+ header_params = {
569
+ "accept": "application/json",
570
+ "content-type": "application/json",
571
+ "if-match": kwargs.get("if_match", missing),
572
+ "opc-request-id": kwargs.get("opc_request_id", missing)
573
+ }
574
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
575
+
576
+ retry_strategy = self.retry_strategy
577
+ if kwargs.get('retry_strategy'):
578
+ retry_strategy = kwargs.get('retry_strategy')
579
+
580
+ if retry_strategy:
581
+ return retry_strategy.make_retrying_call(
582
+ self.base_client.call_api,
583
+ resource_path=resource_path,
584
+ method=method,
585
+ path_params=path_params,
586
+ header_params=header_params)
587
+ else:
588
+ return self.base_client.call_api(
589
+ resource_path=resource_path,
590
+ method=method,
591
+ path_params=path_params,
592
+ header_params=header_params)
593
+
594
+ def delete_job_run(self, ai_data_platform_id, workspace_key, job_run_key, **kwargs):
595
+ """
596
+ Deletes a job run from an AI Data Platform Workbench.
597
+
598
+
599
+ :param str ai_data_platform_id: (required)
600
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
601
+
602
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
603
+
604
+ :param str workspace_key: (required)
605
+ The key of the Workspace
606
+
607
+ :param str job_run_key: (required)
608
+ Job run key.
609
+
610
+ :param str if_match: (optional)
611
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
612
+ `if-match` parameter to the value of the etag from a previous GET or POST response for
613
+ that resource. The resource will be updated or deleted only if the etag you provide
614
+ matches the resource's current etag value.
615
+
616
+ :param str opc_request_id: (optional)
617
+ Unique Oracle-assigned identifier for the request. If you need to contact
618
+ Oracle about a particular request, please provide the request ID.
619
+ The only valid characters for request IDs are letters, numbers,
620
+ underscore, and dash.
621
+
622
+ :param obj retry_strategy: (optional)
623
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
624
+
625
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
626
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
627
+
628
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
629
+
630
+ :return: A :class:`~oci.response.Response` object with data of type None
631
+ :rtype: :class:`~oci.response.Response`
632
+ """
633
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/jobRuns/{jobRunKey}"
634
+ method = "DELETE"
635
+
636
+ # Don't accept unknown kwargs
637
+ expected_kwargs = [
638
+ "retry_strategy",
639
+ "if_match",
640
+ "opc_request_id"
641
+ ]
642
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
643
+ if extra_kwargs:
644
+ raise ValueError(
645
+ "delete_job_run got unknown kwargs: {!r}".format(extra_kwargs))
646
+
647
+ path_params = {
648
+ "aiDataPlatformId": ai_data_platform_id,
649
+ "workspaceKey": workspace_key,
650
+ "jobRunKey": job_run_key
651
+ }
652
+
653
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
654
+
655
+ for (k, v) in six.iteritems(path_params):
656
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
657
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
658
+
659
+ header_params = {
660
+ "accept": "application/json",
661
+ "content-type": "application/json",
662
+ "if-match": kwargs.get("if_match", missing),
663
+ "opc-request-id": kwargs.get("opc_request_id", missing)
664
+ }
665
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
666
+
667
+ retry_strategy = self.retry_strategy
668
+ if kwargs.get('retry_strategy'):
669
+ retry_strategy = kwargs.get('retry_strategy')
670
+
671
+ if retry_strategy:
672
+ return retry_strategy.make_retrying_call(
673
+ self.base_client.call_api,
674
+ resource_path=resource_path,
675
+ method=method,
676
+ path_params=path_params,
677
+ header_params=header_params)
678
+ else:
679
+ return self.base_client.call_api(
680
+ resource_path=resource_path,
681
+ method=method,
682
+ path_params=path_params,
683
+ header_params=header_params)
684
+
685
+ def export_task_run_output(self, ai_data_platform_id, workspace_key, task_run_key, task_run_output_key, export_task_run_output_details, **kwargs):
686
+ """
687
+ Exports task run output in HTML or ipynb format.
688
+
689
+
690
+ :param str ai_data_platform_id: (required)
691
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
692
+
693
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
694
+
695
+ :param str workspace_key: (required)
696
+ The key of the Workspace
697
+
698
+ :param str task_run_key: (required)
699
+ Task run key.
700
+
701
+ :param str task_run_output_key: (required)
702
+ Task run output key.
703
+
704
+ :param oci.aidataplatform_dp.models.ExportTaskRunOutputDetails export_task_run_output_details: (required)
705
+ Payload to export task run output to a file.
706
+
707
+ :param str opc_request_id: (optional)
708
+ Unique Oracle-assigned identifier for the request. If you need to contact
709
+ Oracle about a particular request, please provide the request ID.
710
+ The only valid characters for request IDs are letters, numbers,
711
+ underscore, and dash.
712
+
713
+ :param obj retry_strategy: (optional)
714
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
715
+
716
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
717
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
718
+
719
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
720
+
721
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.ExportedTaskRunOutputContents`
722
+ :rtype: :class:`~oci.response.Response`
723
+ """
724
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/taskRuns/{taskRunKey}/outputs/{taskRunOutputKey}/actions/export"
725
+ method = "POST"
726
+
727
+ # Don't accept unknown kwargs
728
+ expected_kwargs = [
729
+ "retry_strategy",
730
+ "opc_request_id"
731
+ ]
732
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
733
+ if extra_kwargs:
734
+ raise ValueError(
735
+ "export_task_run_output got unknown kwargs: {!r}".format(extra_kwargs))
736
+
737
+ path_params = {
738
+ "aiDataPlatformId": ai_data_platform_id,
739
+ "workspaceKey": workspace_key,
740
+ "taskRunKey": task_run_key,
741
+ "taskRunOutputKey": task_run_output_key
742
+ }
743
+
744
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
745
+
746
+ for (k, v) in six.iteritems(path_params):
747
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
748
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
749
+
750
+ header_params = {
751
+ "accept": "application/json",
752
+ "content-type": "application/json",
753
+ "opc-request-id": kwargs.get("opc_request_id", missing)
754
+ }
755
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
756
+
757
+ retry_strategy = self.retry_strategy
758
+ if kwargs.get('retry_strategy'):
759
+ retry_strategy = kwargs.get('retry_strategy')
760
+
761
+ if retry_strategy:
762
+ return retry_strategy.make_retrying_call(
763
+ self.base_client.call_api,
764
+ resource_path=resource_path,
765
+ method=method,
766
+ path_params=path_params,
767
+ header_params=header_params,
768
+ body=export_task_run_output_details,
769
+ response_type="ExportedTaskRunOutputContents")
770
+ else:
771
+ return self.base_client.call_api(
772
+ resource_path=resource_path,
773
+ method=method,
774
+ path_params=path_params,
775
+ header_params=header_params,
776
+ body=export_task_run_output_details,
777
+ response_type="ExportedTaskRunOutputContents")
778
+
779
+ def fetch_output(self, ai_data_platform_id, workspace_key, task_run_key, fetch_output_details, **kwargs):
780
+ """
781
+ Fetches the task run output from the runtime engine.
782
+
783
+
784
+ :param str ai_data_platform_id: (required)
785
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
786
+
787
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
788
+
789
+ :param str workspace_key: (required)
790
+ The key of the Workspace
791
+
792
+ :param str task_run_key: (required)
793
+ Task run key.
794
+
795
+ :param oci.aidataplatform_dp.models.FetchOutputDetails fetch_output_details: (required)
796
+ Details for task run output retrieval.
797
+
798
+ :param str opc_request_id: (optional)
799
+ Unique Oracle-assigned identifier for the request. If you need to contact
800
+ Oracle about a particular request, please provide the request ID.
801
+ The only valid characters for request IDs are letters, numbers,
802
+ underscore, and dash.
803
+
804
+ :param str opc_retry_token: (optional)
805
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
806
+ server error without risk of running that same action again. Retry tokens expire after 24
807
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
808
+ has been deleted and removed from the system, then a retry of the original creation request
809
+ might be rejected.
810
+
811
+ :param obj retry_strategy: (optional)
812
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
813
+
814
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
815
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
816
+
817
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
818
+
819
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.TaskRunOutput`
820
+ :rtype: :class:`~oci.response.Response`
821
+ """
822
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/taskRuns/{taskRunKey}/actions/fetchOutput"
823
+ method = "POST"
824
+
825
+ # Don't accept unknown kwargs
826
+ expected_kwargs = [
827
+ "retry_strategy",
828
+ "opc_request_id",
829
+ "opc_retry_token"
830
+ ]
831
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
832
+ if extra_kwargs:
833
+ raise ValueError(
834
+ "fetch_output got unknown kwargs: {!r}".format(extra_kwargs))
835
+
836
+ path_params = {
837
+ "aiDataPlatformId": ai_data_platform_id,
838
+ "workspaceKey": workspace_key,
839
+ "taskRunKey": task_run_key
840
+ }
841
+
842
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
843
+
844
+ for (k, v) in six.iteritems(path_params):
845
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
846
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
847
+
848
+ header_params = {
849
+ "accept": "application/json",
850
+ "content-type": "application/json",
851
+ "opc-request-id": kwargs.get("opc_request_id", missing),
852
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
853
+ }
854
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
855
+
856
+ retry_strategy = self.retry_strategy
857
+ if kwargs.get('retry_strategy'):
858
+ retry_strategy = kwargs.get('retry_strategy')
859
+
860
+ if retry_strategy:
861
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
862
+ self.base_client.add_opc_retry_token_if_needed(header_params)
863
+ return retry_strategy.make_retrying_call(
864
+ self.base_client.call_api,
865
+ resource_path=resource_path,
866
+ method=method,
867
+ path_params=path_params,
868
+ header_params=header_params,
869
+ body=fetch_output_details,
870
+ response_type="TaskRunOutput")
871
+ else:
872
+ return self.base_client.call_api(
873
+ resource_path=resource_path,
874
+ method=method,
875
+ path_params=path_params,
876
+ header_params=header_params,
877
+ body=fetch_output_details,
878
+ response_type="TaskRunOutput")
879
+
880
+ def get_job(self, ai_data_platform_id, workspace_key, job_key, **kwargs):
881
+ """
882
+ Returns detailed information about a given job in AI Data Platform Workbench.
883
+
884
+
885
+ :param str ai_data_platform_id: (required)
886
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
887
+
888
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
889
+
890
+ :param str workspace_key: (required)
891
+ The key of the Workspace
892
+
893
+ :param str job_key: (required)
894
+ Job key.
895
+
896
+ :param str opc_request_id: (optional)
897
+ Unique Oracle-assigned identifier for the request. If you need to contact
898
+ Oracle about a particular request, please provide the request ID.
899
+ The only valid characters for request IDs are letters, numbers,
900
+ underscore, and dash.
901
+
902
+ :param bool should_update_recent: (optional)
903
+ A flag to identify if the recent list should be updated.
904
+
905
+ :param obj retry_strategy: (optional)
906
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
907
+
908
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
909
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
910
+
911
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
912
+
913
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.Job`
914
+ :rtype: :class:`~oci.response.Response`
915
+ """
916
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/jobs/{jobKey}"
917
+ method = "GET"
918
+
919
+ # Don't accept unknown kwargs
920
+ expected_kwargs = [
921
+ "retry_strategy",
922
+ "opc_request_id",
923
+ "should_update_recent"
924
+ ]
925
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
926
+ if extra_kwargs:
927
+ raise ValueError(
928
+ "get_job got unknown kwargs: {!r}".format(extra_kwargs))
929
+
930
+ path_params = {
931
+ "aiDataPlatformId": ai_data_platform_id,
932
+ "workspaceKey": workspace_key,
933
+ "jobKey": job_key
934
+ }
935
+
936
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
937
+
938
+ for (k, v) in six.iteritems(path_params):
939
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
940
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
941
+
942
+ header_params = {
943
+ "accept": "application/json",
944
+ "content-type": "application/json",
945
+ "opc-request-id": kwargs.get("opc_request_id", missing),
946
+ "should-update-recent": kwargs.get("should_update_recent", missing)
947
+ }
948
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
949
+
950
+ retry_strategy = self.retry_strategy
951
+ if kwargs.get('retry_strategy'):
952
+ retry_strategy = kwargs.get('retry_strategy')
953
+
954
+ if retry_strategy:
955
+ return retry_strategy.make_retrying_call(
956
+ self.base_client.call_api,
957
+ resource_path=resource_path,
958
+ method=method,
959
+ path_params=path_params,
960
+ header_params=header_params,
961
+ response_type="Job")
962
+ else:
963
+ return self.base_client.call_api(
964
+ resource_path=resource_path,
965
+ method=method,
966
+ path_params=path_params,
967
+ header_params=header_params,
968
+ response_type="Job")
969
+
970
+ def get_job_run(self, ai_data_platform_id, workspace_key, job_run_key, **kwargs):
971
+ """
972
+ Returns detailed information about a given job run.
973
+
974
+
975
+ :param str ai_data_platform_id: (required)
976
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
977
+
978
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
979
+
980
+ :param str workspace_key: (required)
981
+ The key of the Workspace
982
+
983
+ :param str job_run_key: (required)
984
+ Job run key.
985
+
986
+ :param str opc_request_id: (optional)
987
+ Unique Oracle-assigned identifier for the request. If you need to contact
988
+ Oracle about a particular request, please provide the request ID.
989
+ The only valid characters for request IDs are letters, numbers,
990
+ underscore, and dash.
991
+
992
+ :param bool should_update_recent: (optional)
993
+ A flag to identify if the recent list should be updated.
994
+
995
+ :param obj retry_strategy: (optional)
996
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
997
+
998
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
999
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
1000
+
1001
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1002
+
1003
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.JobRun`
1004
+ :rtype: :class:`~oci.response.Response`
1005
+ """
1006
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/jobRuns/{jobRunKey}"
1007
+ method = "GET"
1008
+
1009
+ # Don't accept unknown kwargs
1010
+ expected_kwargs = [
1011
+ "retry_strategy",
1012
+ "opc_request_id",
1013
+ "should_update_recent"
1014
+ ]
1015
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1016
+ if extra_kwargs:
1017
+ raise ValueError(
1018
+ "get_job_run got unknown kwargs: {!r}".format(extra_kwargs))
1019
+
1020
+ path_params = {
1021
+ "aiDataPlatformId": ai_data_platform_id,
1022
+ "workspaceKey": workspace_key,
1023
+ "jobRunKey": job_run_key
1024
+ }
1025
+
1026
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1027
+
1028
+ for (k, v) in six.iteritems(path_params):
1029
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1030
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1031
+
1032
+ header_params = {
1033
+ "accept": "application/json",
1034
+ "content-type": "application/json",
1035
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1036
+ "should-update-recent": kwargs.get("should_update_recent", missing)
1037
+ }
1038
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1039
+
1040
+ retry_strategy = self.retry_strategy
1041
+ if kwargs.get('retry_strategy'):
1042
+ retry_strategy = kwargs.get('retry_strategy')
1043
+
1044
+ if retry_strategy:
1045
+ return retry_strategy.make_retrying_call(
1046
+ self.base_client.call_api,
1047
+ resource_path=resource_path,
1048
+ method=method,
1049
+ path_params=path_params,
1050
+ header_params=header_params,
1051
+ response_type="JobRun")
1052
+ else:
1053
+ return self.base_client.call_api(
1054
+ resource_path=resource_path,
1055
+ method=method,
1056
+ path_params=path_params,
1057
+ header_params=header_params,
1058
+ response_type="JobRun")
1059
+
1060
+ def get_task_run(self, ai_data_platform_id, workspace_key, task_run_key, **kwargs):
1061
+ """
1062
+ Returns detailed information about a task run with a given task run key.
1063
+
1064
+
1065
+ :param str ai_data_platform_id: (required)
1066
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1067
+
1068
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1069
+
1070
+ :param str workspace_key: (required)
1071
+ The key of the Workspace
1072
+
1073
+ :param str task_run_key: (required)
1074
+ Task run key.
1075
+
1076
+ :param str opc_request_id: (optional)
1077
+ Unique Oracle-assigned identifier for the request. If you need to contact
1078
+ Oracle about a particular request, please provide the request ID.
1079
+ The only valid characters for request IDs are letters, numbers,
1080
+ underscore, and dash.
1081
+
1082
+ :param obj retry_strategy: (optional)
1083
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1084
+
1085
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1086
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
1087
+
1088
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1089
+
1090
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.TaskRun`
1091
+ :rtype: :class:`~oci.response.Response`
1092
+ """
1093
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/taskRuns/{taskRunKey}"
1094
+ method = "GET"
1095
+
1096
+ # Don't accept unknown kwargs
1097
+ expected_kwargs = [
1098
+ "retry_strategy",
1099
+ "opc_request_id"
1100
+ ]
1101
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1102
+ if extra_kwargs:
1103
+ raise ValueError(
1104
+ "get_task_run got unknown kwargs: {!r}".format(extra_kwargs))
1105
+
1106
+ path_params = {
1107
+ "aiDataPlatformId": ai_data_platform_id,
1108
+ "workspaceKey": workspace_key,
1109
+ "taskRunKey": task_run_key
1110
+ }
1111
+
1112
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1113
+
1114
+ for (k, v) in six.iteritems(path_params):
1115
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1116
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1117
+
1118
+ header_params = {
1119
+ "accept": "application/json",
1120
+ "content-type": "application/json",
1121
+ "opc-request-id": kwargs.get("opc_request_id", missing)
1122
+ }
1123
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1124
+
1125
+ retry_strategy = self.retry_strategy
1126
+ if kwargs.get('retry_strategy'):
1127
+ retry_strategy = kwargs.get('retry_strategy')
1128
+
1129
+ if retry_strategy:
1130
+ return retry_strategy.make_retrying_call(
1131
+ self.base_client.call_api,
1132
+ resource_path=resource_path,
1133
+ method=method,
1134
+ path_params=path_params,
1135
+ header_params=header_params,
1136
+ response_type="TaskRun")
1137
+ else:
1138
+ return self.base_client.call_api(
1139
+ resource_path=resource_path,
1140
+ method=method,
1141
+ path_params=path_params,
1142
+ header_params=header_params,
1143
+ response_type="TaskRun")
1144
+
1145
+ def list_job_permissions(self, ai_data_platform_id, workspace_key, job_key, **kwargs):
1146
+ """
1147
+ Returns a list of job permissions.
1148
+
1149
+
1150
+ :param str ai_data_platform_id: (required)
1151
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1152
+
1153
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1154
+
1155
+ :param str workspace_key: (required)
1156
+ The key of the Workspace
1157
+
1158
+ :param str job_key: (required)
1159
+ Job key.
1160
+
1161
+ :param int limit: (optional)
1162
+ For list pagination. The maximum number of results per page, or items to return in a
1163
+ paginated \"List\" call. For important details about how pagination works, see
1164
+ `List Pagination`__.
1165
+
1166
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
1167
+
1168
+ :param str page: (optional)
1169
+ For list pagination. The value of the opc-next-page response header from the previous
1170
+ \"List\" call. For important details about how pagination works, see
1171
+ `List Pagination`__.
1172
+
1173
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
1174
+
1175
+ :param str sort_order: (optional)
1176
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
1177
+
1178
+ Allowed values are: "ASC", "DESC"
1179
+
1180
+ :param str sort_by: (optional)
1181
+ The field to sort by. You can provide only one sort order.
1182
+
1183
+ Allowed values are: "timeCreated", "displayName"
1184
+
1185
+ :param str opc_request_id: (optional)
1186
+ Unique Oracle-assigned identifier for the request. If you need to contact
1187
+ Oracle about a particular request, please provide the request ID.
1188
+ The only valid characters for request IDs are letters, numbers,
1189
+ underscore, and dash.
1190
+
1191
+ :param obj retry_strategy: (optional)
1192
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1193
+
1194
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1195
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
1196
+
1197
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1198
+
1199
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.JobPermissionCollection`
1200
+ :rtype: :class:`~oci.response.Response`
1201
+ """
1202
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/jobs/{jobKey}/permissions"
1203
+ method = "GET"
1204
+
1205
+ # Don't accept unknown kwargs
1206
+ expected_kwargs = [
1207
+ "retry_strategy",
1208
+ "limit",
1209
+ "page",
1210
+ "sort_order",
1211
+ "sort_by",
1212
+ "opc_request_id"
1213
+ ]
1214
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1215
+ if extra_kwargs:
1216
+ raise ValueError(
1217
+ "list_job_permissions got unknown kwargs: {!r}".format(extra_kwargs))
1218
+
1219
+ path_params = {
1220
+ "aiDataPlatformId": ai_data_platform_id,
1221
+ "workspaceKey": workspace_key,
1222
+ "jobKey": job_key
1223
+ }
1224
+
1225
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1226
+
1227
+ for (k, v) in six.iteritems(path_params):
1228
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1229
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1230
+
1231
+ if 'sort_order' in kwargs:
1232
+ sort_order_allowed_values = ["ASC", "DESC"]
1233
+ if kwargs['sort_order'] not in sort_order_allowed_values:
1234
+ raise ValueError(
1235
+ "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
1236
+ )
1237
+
1238
+ if 'sort_by' in kwargs:
1239
+ sort_by_allowed_values = ["timeCreated", "displayName"]
1240
+ if kwargs['sort_by'] not in sort_by_allowed_values:
1241
+ raise ValueError(
1242
+ "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
1243
+ )
1244
+
1245
+ query_params = {
1246
+ "limit": kwargs.get("limit", missing),
1247
+ "page": kwargs.get("page", missing),
1248
+ "sortOrder": kwargs.get("sort_order", missing),
1249
+ "sortBy": kwargs.get("sort_by", missing)
1250
+ }
1251
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
1252
+
1253
+ header_params = {
1254
+ "accept": "application/json",
1255
+ "content-type": "application/json",
1256
+ "opc-request-id": kwargs.get("opc_request_id", missing)
1257
+ }
1258
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1259
+
1260
+ retry_strategy = self.retry_strategy
1261
+ if kwargs.get('retry_strategy'):
1262
+ retry_strategy = kwargs.get('retry_strategy')
1263
+
1264
+ if retry_strategy:
1265
+ return retry_strategy.make_retrying_call(
1266
+ self.base_client.call_api,
1267
+ resource_path=resource_path,
1268
+ method=method,
1269
+ path_params=path_params,
1270
+ query_params=query_params,
1271
+ header_params=header_params,
1272
+ response_type="JobPermissionCollection")
1273
+ else:
1274
+ return self.base_client.call_api(
1275
+ resource_path=resource_path,
1276
+ method=method,
1277
+ path_params=path_params,
1278
+ query_params=query_params,
1279
+ header_params=header_params,
1280
+ response_type="JobPermissionCollection")
1281
+
1282
+ def list_job_runs(self, ai_data_platform_id, workspace_key, **kwargs):
1283
+ """
1284
+ Returns a detailed list of job runs in an AI Data Platform Workbench.
1285
+
1286
+
1287
+ :param str ai_data_platform_id: (required)
1288
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1289
+
1290
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1291
+
1292
+ :param str workspace_key: (required)
1293
+ The key of the Workspace
1294
+
1295
+ :param str display_name: (optional)
1296
+ A filter to return only resources that match the given display name exactly.
1297
+
1298
+ :param list[str] job_key: (optional)
1299
+ The field to filter based on job key.
1300
+
1301
+ :param list[str] status: (optional)
1302
+ The field to filter based on state.
1303
+
1304
+ Allowed values are: "PENDING", "RUNNING", "SKIPPED", "INTERNAL_ERROR", "BLOCKED", "SUCCESS", "FAILED", "CANCELED", "UPSTREAM_CANCELED", "UPSTREAM_FAILED", "EXCLUDED"
1305
+
1306
+ :param datetime time_created_greater_than_or_equal_to: (optional)
1307
+ Fetch objects from repository that were created after or at the exact timestamp provided in parameter
1308
+
1309
+ :param datetime time_created_less_than_or_equal_to: (optional)
1310
+ Fetch objects from repository that were created before or at the exact timestamp provided in parameter.
1311
+
1312
+ :param int limit: (optional)
1313
+ For list pagination. The maximum number of results per page, or items to return in a paginated List call.
1314
+
1315
+ :param str page: (optional)
1316
+ For list pagination. The value of the opc-next-page response header from the previous
1317
+ \"List\" call. For important details about how pagination works, see
1318
+ `List Pagination`__.
1319
+
1320
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
1321
+
1322
+ :param str sort_order: (optional)
1323
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
1324
+
1325
+ Allowed values are: "ASC", "DESC"
1326
+
1327
+ :param str sort_by: (optional)
1328
+ The field to sort by. You can provide only one sort order. Default order for `timeCreated` is descending. Default order for `displayName` is ascending.
1329
+
1330
+ Allowed values are: "timeCreated", "displayName", "status"
1331
+
1332
+ :param str opc_request_id: (optional)
1333
+ Unique Oracle-assigned identifier for the request. If you need to contact
1334
+ Oracle about a particular request, please provide the request ID.
1335
+ The only valid characters for request IDs are letters, numbers,
1336
+ underscore, and dash.
1337
+
1338
+ :param obj retry_strategy: (optional)
1339
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1340
+
1341
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1342
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
1343
+
1344
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1345
+
1346
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.JobRunCollection`
1347
+ :rtype: :class:`~oci.response.Response`
1348
+ """
1349
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/jobRuns"
1350
+ method = "GET"
1351
+
1352
+ # Don't accept unknown kwargs
1353
+ expected_kwargs = [
1354
+ "retry_strategy",
1355
+ "display_name",
1356
+ "job_key",
1357
+ "status",
1358
+ "time_created_greater_than_or_equal_to",
1359
+ "time_created_less_than_or_equal_to",
1360
+ "limit",
1361
+ "page",
1362
+ "sort_order",
1363
+ "sort_by",
1364
+ "opc_request_id"
1365
+ ]
1366
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1367
+ if extra_kwargs:
1368
+ raise ValueError(
1369
+ "list_job_runs got unknown kwargs: {!r}".format(extra_kwargs))
1370
+
1371
+ path_params = {
1372
+ "aiDataPlatformId": ai_data_platform_id,
1373
+ "workspaceKey": workspace_key
1374
+ }
1375
+
1376
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1377
+
1378
+ for (k, v) in six.iteritems(path_params):
1379
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1380
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1381
+
1382
+ if 'status' in kwargs:
1383
+ status_allowed_values = ["PENDING", "RUNNING", "SKIPPED", "INTERNAL_ERROR", "BLOCKED", "SUCCESS", "FAILED", "CANCELED", "UPSTREAM_CANCELED", "UPSTREAM_FAILED", "EXCLUDED"]
1384
+ for status_item in kwargs['status']:
1385
+ if status_item not in status_allowed_values:
1386
+ raise ValueError(
1387
+ "Invalid value for `status`, must be one of {0}".format(status_allowed_values)
1388
+ )
1389
+
1390
+ if 'sort_order' in kwargs:
1391
+ sort_order_allowed_values = ["ASC", "DESC"]
1392
+ if kwargs['sort_order'] not in sort_order_allowed_values:
1393
+ raise ValueError(
1394
+ "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
1395
+ )
1396
+
1397
+ if 'sort_by' in kwargs:
1398
+ sort_by_allowed_values = ["timeCreated", "displayName", "status"]
1399
+ if kwargs['sort_by'] not in sort_by_allowed_values:
1400
+ raise ValueError(
1401
+ "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
1402
+ )
1403
+
1404
+ query_params = {
1405
+ "displayName": kwargs.get("display_name", missing),
1406
+ "jobKey": self.base_client.generate_collection_format_param(kwargs.get("job_key", missing), 'multi'),
1407
+ "status": self.base_client.generate_collection_format_param(kwargs.get("status", missing), 'multi'),
1408
+ "timeCreatedGreaterThanOrEqualTo": kwargs.get("time_created_greater_than_or_equal_to", missing),
1409
+ "timeCreatedLessThanOrEqualTo": kwargs.get("time_created_less_than_or_equal_to", missing),
1410
+ "limit": kwargs.get("limit", missing),
1411
+ "page": kwargs.get("page", missing),
1412
+ "sortOrder": kwargs.get("sort_order", missing),
1413
+ "sortBy": kwargs.get("sort_by", missing)
1414
+ }
1415
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
1416
+
1417
+ header_params = {
1418
+ "accept": "application/json",
1419
+ "content-type": "application/json",
1420
+ "opc-request-id": kwargs.get("opc_request_id", missing)
1421
+ }
1422
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1423
+
1424
+ retry_strategy = self.retry_strategy
1425
+ if kwargs.get('retry_strategy'):
1426
+ retry_strategy = kwargs.get('retry_strategy')
1427
+
1428
+ if retry_strategy:
1429
+ return retry_strategy.make_retrying_call(
1430
+ self.base_client.call_api,
1431
+ resource_path=resource_path,
1432
+ method=method,
1433
+ path_params=path_params,
1434
+ query_params=query_params,
1435
+ header_params=header_params,
1436
+ response_type="JobRunCollection")
1437
+ else:
1438
+ return self.base_client.call_api(
1439
+ resource_path=resource_path,
1440
+ method=method,
1441
+ path_params=path_params,
1442
+ query_params=query_params,
1443
+ header_params=header_params,
1444
+ response_type="JobRunCollection")
1445
+
1446
+ def list_jobs(self, ai_data_platform_id, workspace_key, **kwargs):
1447
+ """
1448
+ Returns a list of jobs for a given AI Data Platform Workbench.
1449
+
1450
+
1451
+ :param str ai_data_platform_id: (required)
1452
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1453
+
1454
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1455
+
1456
+ :param str workspace_key: (required)
1457
+ The key of the Workspace
1458
+
1459
+ :param str display_name: (optional)
1460
+ A filter to return only resources that match the given display name exactly.
1461
+
1462
+ :param str display_name_contains: (optional)
1463
+ A filter to return only resources that have a display name containing the text provided.
1464
+
1465
+ :param str path: (optional)
1466
+ The fully qualified path where the job is stored.
1467
+
1468
+ :param str created_by: (optional)
1469
+ A filter to return only resources that are created by given user with username that matches exactly.
1470
+
1471
+ :param str updated_by: (optional)
1472
+ A filter to return only resources that was last updated by given user with username that matches exactly.
1473
+
1474
+ :param int limit: (optional)
1475
+ For list pagination. The maximum number of results per page, or items to return in a
1476
+ paginated \"List\" call. For important details about how pagination works, see
1477
+ `List Pagination`__.
1478
+
1479
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
1480
+
1481
+ :param str page: (optional)
1482
+ For list pagination. The value of the opc-next-page response header from the previous
1483
+ \"List\" call. For important details about how pagination works, see
1484
+ `List Pagination`__.
1485
+
1486
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
1487
+
1488
+ :param str sort_order: (optional)
1489
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
1490
+
1491
+ Allowed values are: "ASC", "DESC"
1492
+
1493
+ :param str sort_by: (optional)
1494
+ The field to sort by. You can provide only one sort order. Default order for `timeCreated` is descending. Default order for `displayName` is ascending.
1495
+
1496
+ Allowed values are: "timeCreated", "displayName", "status"
1497
+
1498
+ :param str opc_request_id: (optional)
1499
+ Unique Oracle-assigned identifier for the request. If you need to contact
1500
+ Oracle about a particular request, please provide the request ID.
1501
+ The only valid characters for request IDs are letters, numbers,
1502
+ underscore, and dash.
1503
+
1504
+ :param obj retry_strategy: (optional)
1505
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1506
+
1507
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1508
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
1509
+
1510
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1511
+
1512
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.JobCollection`
1513
+ :rtype: :class:`~oci.response.Response`
1514
+ """
1515
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/jobs"
1516
+ method = "GET"
1517
+
1518
+ # Don't accept unknown kwargs
1519
+ expected_kwargs = [
1520
+ "retry_strategy",
1521
+ "display_name",
1522
+ "display_name_contains",
1523
+ "path",
1524
+ "created_by",
1525
+ "updated_by",
1526
+ "limit",
1527
+ "page",
1528
+ "sort_order",
1529
+ "sort_by",
1530
+ "opc_request_id"
1531
+ ]
1532
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1533
+ if extra_kwargs:
1534
+ raise ValueError(
1535
+ "list_jobs got unknown kwargs: {!r}".format(extra_kwargs))
1536
+
1537
+ path_params = {
1538
+ "aiDataPlatformId": ai_data_platform_id,
1539
+ "workspaceKey": workspace_key
1540
+ }
1541
+
1542
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1543
+
1544
+ for (k, v) in six.iteritems(path_params):
1545
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1546
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1547
+
1548
+ if 'sort_order' in kwargs:
1549
+ sort_order_allowed_values = ["ASC", "DESC"]
1550
+ if kwargs['sort_order'] not in sort_order_allowed_values:
1551
+ raise ValueError(
1552
+ "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
1553
+ )
1554
+
1555
+ if 'sort_by' in kwargs:
1556
+ sort_by_allowed_values = ["timeCreated", "displayName", "status"]
1557
+ if kwargs['sort_by'] not in sort_by_allowed_values:
1558
+ raise ValueError(
1559
+ "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
1560
+ )
1561
+
1562
+ query_params = {
1563
+ "displayName": kwargs.get("display_name", missing),
1564
+ "displayNameContains": kwargs.get("display_name_contains", missing),
1565
+ "path": kwargs.get("path", missing),
1566
+ "createdBy": kwargs.get("created_by", missing),
1567
+ "updatedBy": kwargs.get("updated_by", missing),
1568
+ "limit": kwargs.get("limit", missing),
1569
+ "page": kwargs.get("page", missing),
1570
+ "sortOrder": kwargs.get("sort_order", missing),
1571
+ "sortBy": kwargs.get("sort_by", missing)
1572
+ }
1573
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
1574
+
1575
+ header_params = {
1576
+ "accept": "application/json",
1577
+ "content-type": "application/json",
1578
+ "opc-request-id": kwargs.get("opc_request_id", missing)
1579
+ }
1580
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1581
+
1582
+ retry_strategy = self.retry_strategy
1583
+ if kwargs.get('retry_strategy'):
1584
+ retry_strategy = kwargs.get('retry_strategy')
1585
+
1586
+ if retry_strategy:
1587
+ return retry_strategy.make_retrying_call(
1588
+ self.base_client.call_api,
1589
+ resource_path=resource_path,
1590
+ method=method,
1591
+ path_params=path_params,
1592
+ query_params=query_params,
1593
+ header_params=header_params,
1594
+ response_type="JobCollection")
1595
+ else:
1596
+ return self.base_client.call_api(
1597
+ resource_path=resource_path,
1598
+ method=method,
1599
+ path_params=path_params,
1600
+ query_params=query_params,
1601
+ header_params=header_params,
1602
+ response_type="JobCollection")
1603
+
1604
+ def list_recent_job_runs(self, ai_data_platform_id, workspace_key, job_key, **kwargs):
1605
+ """
1606
+ Returns a list of the latest job runs for a given job key.
1607
+
1608
+
1609
+ :param str ai_data_platform_id: (required)
1610
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1611
+
1612
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1613
+
1614
+ :param str workspace_key: (required)
1615
+ The key of the Workspace
1616
+
1617
+ :param oci.aidataplatform_dp.models.list[str] job_key: (required)
1618
+ The field to filter based on job key.
1619
+
1620
+ :param int record_count: (optional)
1621
+ The number of records to fetch.
1622
+
1623
+ :param int limit: (optional)
1624
+ For list pagination. The maximum number of results per page, or items to return in a paginated List call.
1625
+
1626
+ :param str page: (optional)
1627
+ For list pagination. The value of the opc-next-page response header from the previous
1628
+ \"List\" call. For important details about how pagination works, see
1629
+ `List Pagination`__.
1630
+
1631
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
1632
+
1633
+ :param str sort_order: (optional)
1634
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
1635
+
1636
+ Allowed values are: "ASC", "DESC"
1637
+
1638
+ :param str sort_by: (optional)
1639
+ The field to sort by. You can provide only one sort order. Default order for `timeCreated` is descending. Default order for `displayName` is ascending.
1640
+
1641
+ Allowed values are: "timeCreated", "displayName", "status"
1642
+
1643
+ :param str opc_request_id: (optional)
1644
+ Unique Oracle-assigned identifier for the request. If you need to contact
1645
+ Oracle about a particular request, please provide the request ID.
1646
+ The only valid characters for request IDs are letters, numbers,
1647
+ underscore, and dash.
1648
+
1649
+ :param obj retry_strategy: (optional)
1650
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1651
+
1652
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1653
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
1654
+
1655
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1656
+
1657
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.JobRunCollection`
1658
+ :rtype: :class:`~oci.response.Response`
1659
+ """
1660
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/recentJobRuns"
1661
+ method = "GET"
1662
+
1663
+ # Don't accept unknown kwargs
1664
+ expected_kwargs = [
1665
+ "retry_strategy",
1666
+ "record_count",
1667
+ "limit",
1668
+ "page",
1669
+ "sort_order",
1670
+ "sort_by",
1671
+ "opc_request_id"
1672
+ ]
1673
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1674
+ if extra_kwargs:
1675
+ raise ValueError(
1676
+ "list_recent_job_runs got unknown kwargs: {!r}".format(extra_kwargs))
1677
+
1678
+ path_params = {
1679
+ "aiDataPlatformId": ai_data_platform_id,
1680
+ "workspaceKey": workspace_key
1681
+ }
1682
+
1683
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1684
+
1685
+ for (k, v) in six.iteritems(path_params):
1686
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1687
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1688
+
1689
+ if 'sort_order' in kwargs:
1690
+ sort_order_allowed_values = ["ASC", "DESC"]
1691
+ if kwargs['sort_order'] not in sort_order_allowed_values:
1692
+ raise ValueError(
1693
+ "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
1694
+ )
1695
+
1696
+ if 'sort_by' in kwargs:
1697
+ sort_by_allowed_values = ["timeCreated", "displayName", "status"]
1698
+ if kwargs['sort_by'] not in sort_by_allowed_values:
1699
+ raise ValueError(
1700
+ "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
1701
+ )
1702
+
1703
+ query_params = {
1704
+ "jobKey": self.base_client.generate_collection_format_param(job_key, 'multi'),
1705
+ "recordCount": kwargs.get("record_count", missing),
1706
+ "limit": kwargs.get("limit", missing),
1707
+ "page": kwargs.get("page", missing),
1708
+ "sortOrder": kwargs.get("sort_order", missing),
1709
+ "sortBy": kwargs.get("sort_by", missing)
1710
+ }
1711
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
1712
+
1713
+ header_params = {
1714
+ "accept": "application/json",
1715
+ "content-type": "application/json",
1716
+ "opc-request-id": kwargs.get("opc_request_id", missing)
1717
+ }
1718
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1719
+
1720
+ retry_strategy = self.retry_strategy
1721
+ if kwargs.get('retry_strategy'):
1722
+ retry_strategy = kwargs.get('retry_strategy')
1723
+
1724
+ if retry_strategy:
1725
+ return retry_strategy.make_retrying_call(
1726
+ self.base_client.call_api,
1727
+ resource_path=resource_path,
1728
+ method=method,
1729
+ path_params=path_params,
1730
+ query_params=query_params,
1731
+ header_params=header_params,
1732
+ response_type="JobRunCollection")
1733
+ else:
1734
+ return self.base_client.call_api(
1735
+ resource_path=resource_path,
1736
+ method=method,
1737
+ path_params=path_params,
1738
+ query_params=query_params,
1739
+ header_params=header_params,
1740
+ response_type="JobRunCollection")
1741
+
1742
+ def list_task_runs(self, ai_data_platform_id, workspace_key, job_run_key, **kwargs):
1743
+ """
1744
+ Returns a list of tasks run in an AI Data Platform Workbench.
1745
+
1746
+
1747
+ :param str ai_data_platform_id: (required)
1748
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1749
+
1750
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1751
+
1752
+ :param str workspace_key: (required)
1753
+ The key of the Workspace
1754
+
1755
+ :param str job_run_key: (required)
1756
+ The field to filter based on job run key.
1757
+
1758
+ :param str display_name: (optional)
1759
+ A filter to return only resources that match the given display name exactly.
1760
+
1761
+ :param list[str] status: (optional)
1762
+ The field to filter based on state.
1763
+
1764
+ Allowed values are: "PENDING", "RUNNING", "SKIPPED", "INTERNAL_ERROR", "BLOCKED", "SUCCESS", "FAILED", "CANCELED", "UPSTREAM_CANCELED", "UPSTREAM_FAILED", "EXCLUDED"
1765
+
1766
+ :param str parent_job_run_key: (optional)
1767
+ The field to filter based on parent job run key.
1768
+
1769
+ :param str root_job_run_key: (optional)
1770
+ The field to filter based on root job run key.
1771
+
1772
+ :param int limit: (optional)
1773
+ For list pagination. The maximum number of results per page, or items to return in a
1774
+ paginated \"List\" call. For important details about how pagination works, see
1775
+ `List Pagination`__.
1776
+
1777
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
1778
+
1779
+ :param str page: (optional)
1780
+ For list pagination. The value of the opc-next-page response header from the previous
1781
+ \"List\" call. For important details about how pagination works, see
1782
+ `List Pagination`__.
1783
+
1784
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
1785
+
1786
+ :param str sort_order: (optional)
1787
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
1788
+
1789
+ Allowed values are: "ASC", "DESC"
1790
+
1791
+ :param str sort_by: (optional)
1792
+ The field to sort by. You can provide only one sort order. Default order for `timeCreated` is descending. Default order for `displayName` is ascending.
1793
+
1794
+ Allowed values are: "timeCreated", "displayName", "status"
1795
+
1796
+ :param str opc_request_id: (optional)
1797
+ Unique Oracle-assigned identifier for the request. If you need to contact
1798
+ Oracle about a particular request, please provide the request ID.
1799
+ The only valid characters for request IDs are letters, numbers,
1800
+ underscore, and dash.
1801
+
1802
+ :param obj retry_strategy: (optional)
1803
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1804
+
1805
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1806
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
1807
+
1808
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1809
+
1810
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.TaskRunCollection`
1811
+ :rtype: :class:`~oci.response.Response`
1812
+ """
1813
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/taskRuns"
1814
+ method = "GET"
1815
+
1816
+ # Don't accept unknown kwargs
1817
+ expected_kwargs = [
1818
+ "retry_strategy",
1819
+ "display_name",
1820
+ "status",
1821
+ "parent_job_run_key",
1822
+ "root_job_run_key",
1823
+ "limit",
1824
+ "page",
1825
+ "sort_order",
1826
+ "sort_by",
1827
+ "opc_request_id"
1828
+ ]
1829
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1830
+ if extra_kwargs:
1831
+ raise ValueError(
1832
+ "list_task_runs got unknown kwargs: {!r}".format(extra_kwargs))
1833
+
1834
+ path_params = {
1835
+ "aiDataPlatformId": ai_data_platform_id,
1836
+ "workspaceKey": workspace_key
1837
+ }
1838
+
1839
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1840
+
1841
+ for (k, v) in six.iteritems(path_params):
1842
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1843
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1844
+
1845
+ if 'status' in kwargs:
1846
+ status_allowed_values = ["PENDING", "RUNNING", "SKIPPED", "INTERNAL_ERROR", "BLOCKED", "SUCCESS", "FAILED", "CANCELED", "UPSTREAM_CANCELED", "UPSTREAM_FAILED", "EXCLUDED"]
1847
+ for status_item in kwargs['status']:
1848
+ if status_item not in status_allowed_values:
1849
+ raise ValueError(
1850
+ "Invalid value for `status`, must be one of {0}".format(status_allowed_values)
1851
+ )
1852
+
1853
+ if 'sort_order' in kwargs:
1854
+ sort_order_allowed_values = ["ASC", "DESC"]
1855
+ if kwargs['sort_order'] not in sort_order_allowed_values:
1856
+ raise ValueError(
1857
+ "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
1858
+ )
1859
+
1860
+ if 'sort_by' in kwargs:
1861
+ sort_by_allowed_values = ["timeCreated", "displayName", "status"]
1862
+ if kwargs['sort_by'] not in sort_by_allowed_values:
1863
+ raise ValueError(
1864
+ "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
1865
+ )
1866
+
1867
+ query_params = {
1868
+ "jobRunKey": job_run_key,
1869
+ "displayName": kwargs.get("display_name", missing),
1870
+ "status": self.base_client.generate_collection_format_param(kwargs.get("status", missing), 'multi'),
1871
+ "parentJobRunKey": kwargs.get("parent_job_run_key", missing),
1872
+ "rootJobRunKey": kwargs.get("root_job_run_key", missing),
1873
+ "limit": kwargs.get("limit", missing),
1874
+ "page": kwargs.get("page", missing),
1875
+ "sortOrder": kwargs.get("sort_order", missing),
1876
+ "sortBy": kwargs.get("sort_by", missing)
1877
+ }
1878
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
1879
+
1880
+ header_params = {
1881
+ "accept": "application/json",
1882
+ "content-type": "application/json",
1883
+ "opc-request-id": kwargs.get("opc_request_id", missing)
1884
+ }
1885
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1886
+
1887
+ retry_strategy = self.retry_strategy
1888
+ if kwargs.get('retry_strategy'):
1889
+ retry_strategy = kwargs.get('retry_strategy')
1890
+
1891
+ if retry_strategy:
1892
+ return retry_strategy.make_retrying_call(
1893
+ self.base_client.call_api,
1894
+ resource_path=resource_path,
1895
+ method=method,
1896
+ path_params=path_params,
1897
+ query_params=query_params,
1898
+ header_params=header_params,
1899
+ response_type="TaskRunCollection")
1900
+ else:
1901
+ return self.base_client.call_api(
1902
+ resource_path=resource_path,
1903
+ method=method,
1904
+ path_params=path_params,
1905
+ query_params=query_params,
1906
+ header_params=header_params,
1907
+ response_type="TaskRunCollection")
1908
+
1909
+ def manage_job_permission(self, ai_data_platform_id, workspace_key, job_key, manage_job_permission_details, **kwargs):
1910
+ """
1911
+ Update job permissions with the provided details.
1912
+
1913
+
1914
+ :param str ai_data_platform_id: (required)
1915
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1916
+
1917
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1918
+
1919
+ :param str workspace_key: (required)
1920
+ The key of the Workspace
1921
+
1922
+ :param str job_key: (required)
1923
+ Job key.
1924
+
1925
+ :param oci.aidataplatform_dp.models.ManageJobPermissionDetails manage_job_permission_details: (required)
1926
+ The information to be updated.
1927
+
1928
+ :param str if_match: (optional)
1929
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
1930
+ `if-match` parameter to the value of the etag from a previous GET or POST response for
1931
+ that resource. The resource will be updated or deleted only if the etag you provide
1932
+ matches the resource's current etag value.
1933
+
1934
+ :param str opc_request_id: (optional)
1935
+ Unique Oracle-assigned identifier for the request. If you need to contact
1936
+ Oracle about a particular request, please provide the request ID.
1937
+ The only valid characters for request IDs are letters, numbers,
1938
+ underscore, and dash.
1939
+
1940
+ :param obj retry_strategy: (optional)
1941
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1942
+
1943
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1944
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
1945
+
1946
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1947
+
1948
+ :return: A :class:`~oci.response.Response` object with data of type None
1949
+ :rtype: :class:`~oci.response.Response`
1950
+ """
1951
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/jobs/{jobKey}/actions/managePermission"
1952
+ method = "POST"
1953
+
1954
+ # Don't accept unknown kwargs
1955
+ expected_kwargs = [
1956
+ "retry_strategy",
1957
+ "if_match",
1958
+ "opc_request_id"
1959
+ ]
1960
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1961
+ if extra_kwargs:
1962
+ raise ValueError(
1963
+ "manage_job_permission got unknown kwargs: {!r}".format(extra_kwargs))
1964
+
1965
+ path_params = {
1966
+ "aiDataPlatformId": ai_data_platform_id,
1967
+ "workspaceKey": workspace_key,
1968
+ "jobKey": job_key
1969
+ }
1970
+
1971
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1972
+
1973
+ for (k, v) in six.iteritems(path_params):
1974
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1975
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1976
+
1977
+ header_params = {
1978
+ "accept": "application/json",
1979
+ "content-type": "application/json",
1980
+ "if-match": kwargs.get("if_match", missing),
1981
+ "opc-request-id": kwargs.get("opc_request_id", missing)
1982
+ }
1983
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1984
+
1985
+ retry_strategy = self.retry_strategy
1986
+ if kwargs.get('retry_strategy'):
1987
+ retry_strategy = kwargs.get('retry_strategy')
1988
+
1989
+ if retry_strategy:
1990
+ return retry_strategy.make_retrying_call(
1991
+ self.base_client.call_api,
1992
+ resource_path=resource_path,
1993
+ method=method,
1994
+ path_params=path_params,
1995
+ header_params=header_params,
1996
+ body=manage_job_permission_details)
1997
+ else:
1998
+ return self.base_client.call_api(
1999
+ resource_path=resource_path,
2000
+ method=method,
2001
+ path_params=path_params,
2002
+ header_params=header_params,
2003
+ body=manage_job_permission_details)
2004
+
2005
+ def repair_job_run(self, ai_data_platform_id, workspace_key, job_run_key, repair_job_run_details, **kwargs):
2006
+ """
2007
+ Repairs and reruns a job run.
2008
+
2009
+
2010
+ :param str ai_data_platform_id: (required)
2011
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
2012
+
2013
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
2014
+
2015
+ :param str workspace_key: (required)
2016
+ The key of the Workspace
2017
+
2018
+ :param str job_run_key: (required)
2019
+ Job run key.
2020
+
2021
+ :param oci.aidataplatform_dp.models.RepairJobRunDetails repair_job_run_details: (required)
2022
+ Details of the job run to be repaired.
2023
+
2024
+ :param str opc_retry_token: (optional)
2025
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
2026
+ server error without risk of running that same action again. Retry tokens expire after 24
2027
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
2028
+ has been deleted and removed from the system, then a retry of the original creation request
2029
+ might be rejected.
2030
+
2031
+ :param bool should_update_recent: (optional)
2032
+ A flag to identify if the recent list should be updated.
2033
+
2034
+ :param str if_match: (optional)
2035
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
2036
+ `if-match` parameter to the value of the etag from a previous GET or POST response for
2037
+ that resource. The resource will be updated or deleted only if the etag you provide
2038
+ matches the resource's current etag value.
2039
+
2040
+ :param str opc_request_id: (optional)
2041
+ Unique Oracle-assigned identifier for the request. If you need to contact
2042
+ Oracle about a particular request, please provide the request ID.
2043
+ The only valid characters for request IDs are letters, numbers,
2044
+ underscore, and dash.
2045
+
2046
+ :param obj retry_strategy: (optional)
2047
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
2048
+
2049
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
2050
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
2051
+
2052
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
2053
+
2054
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.JobRun`
2055
+ :rtype: :class:`~oci.response.Response`
2056
+ """
2057
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/jobRuns/{jobRunKey}/actions/repair"
2058
+ method = "POST"
2059
+
2060
+ # Don't accept unknown kwargs
2061
+ expected_kwargs = [
2062
+ "retry_strategy",
2063
+ "opc_retry_token",
2064
+ "should_update_recent",
2065
+ "if_match",
2066
+ "opc_request_id"
2067
+ ]
2068
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2069
+ if extra_kwargs:
2070
+ raise ValueError(
2071
+ "repair_job_run got unknown kwargs: {!r}".format(extra_kwargs))
2072
+
2073
+ path_params = {
2074
+ "aiDataPlatformId": ai_data_platform_id,
2075
+ "workspaceKey": workspace_key,
2076
+ "jobRunKey": job_run_key
2077
+ }
2078
+
2079
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
2080
+
2081
+ for (k, v) in six.iteritems(path_params):
2082
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
2083
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
2084
+
2085
+ header_params = {
2086
+ "accept": "application/json",
2087
+ "content-type": "application/json",
2088
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
2089
+ "should-update-recent": kwargs.get("should_update_recent", missing),
2090
+ "if-match": kwargs.get("if_match", missing),
2091
+ "opc-request-id": kwargs.get("opc_request_id", missing)
2092
+ }
2093
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
2094
+
2095
+ retry_strategy = self.retry_strategy
2096
+ if kwargs.get('retry_strategy'):
2097
+ retry_strategy = kwargs.get('retry_strategy')
2098
+
2099
+ if retry_strategy:
2100
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
2101
+ self.base_client.add_opc_retry_token_if_needed(header_params)
2102
+ return retry_strategy.make_retrying_call(
2103
+ self.base_client.call_api,
2104
+ resource_path=resource_path,
2105
+ method=method,
2106
+ path_params=path_params,
2107
+ header_params=header_params,
2108
+ body=repair_job_run_details,
2109
+ response_type="JobRun")
2110
+ else:
2111
+ return self.base_client.call_api(
2112
+ resource_path=resource_path,
2113
+ method=method,
2114
+ path_params=path_params,
2115
+ header_params=header_params,
2116
+ body=repair_job_run_details,
2117
+ response_type="JobRun")
2118
+
2119
+ def update_job(self, ai_data_platform_id, workspace_key, job_key, update_job_details, **kwargs):
2120
+ """
2121
+ Update details for a job in AI Data Platform Workbench.
2122
+
2123
+
2124
+ :param str ai_data_platform_id: (required)
2125
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
2126
+
2127
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
2128
+
2129
+ :param str workspace_key: (required)
2130
+ The key of the Workspace
2131
+
2132
+ :param str job_key: (required)
2133
+ Job key.
2134
+
2135
+ :param oci.aidataplatform_dp.models.UpdateJobDetails update_job_details: (required)
2136
+ The information to be updated.
2137
+
2138
+ :param str if_match: (optional)
2139
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
2140
+ `if-match` parameter to the value of the etag from a previous GET or POST response for
2141
+ that resource. The resource will be updated or deleted only if the etag you provide
2142
+ matches the resource's current etag value.
2143
+
2144
+ :param str opc_request_id: (optional)
2145
+ Unique Oracle-assigned identifier for the request. If you need to contact
2146
+ Oracle about a particular request, please provide the request ID.
2147
+ The only valid characters for request IDs are letters, numbers,
2148
+ underscore, and dash.
2149
+
2150
+ :param bool should_update_recent: (optional)
2151
+ A flag to identify if the recent list should be updated.
2152
+
2153
+ :param obj retry_strategy: (optional)
2154
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
2155
+
2156
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
2157
+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
2158
+
2159
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
2160
+
2161
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.Job`
2162
+ :rtype: :class:`~oci.response.Response`
2163
+ """
2164
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/jobs/{jobKey}"
2165
+ method = "PUT"
2166
+
2167
+ # Don't accept unknown kwargs
2168
+ expected_kwargs = [
2169
+ "retry_strategy",
2170
+ "if_match",
2171
+ "opc_request_id",
2172
+ "should_update_recent"
2173
+ ]
2174
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2175
+ if extra_kwargs:
2176
+ raise ValueError(
2177
+ "update_job got unknown kwargs: {!r}".format(extra_kwargs))
2178
+
2179
+ path_params = {
2180
+ "aiDataPlatformId": ai_data_platform_id,
2181
+ "workspaceKey": workspace_key,
2182
+ "jobKey": job_key
2183
+ }
2184
+
2185
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
2186
+
2187
+ for (k, v) in six.iteritems(path_params):
2188
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
2189
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
2190
+
2191
+ header_params = {
2192
+ "accept": "application/json",
2193
+ "content-type": "application/json",
2194
+ "if-match": kwargs.get("if_match", missing),
2195
+ "opc-request-id": kwargs.get("opc_request_id", missing),
2196
+ "should-update-recent": kwargs.get("should_update_recent", missing)
2197
+ }
2198
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
2199
+
2200
+ retry_strategy = self.retry_strategy
2201
+ if kwargs.get('retry_strategy'):
2202
+ retry_strategy = kwargs.get('retry_strategy')
2203
+
2204
+ if retry_strategy:
2205
+ return retry_strategy.make_retrying_call(
2206
+ self.base_client.call_api,
2207
+ resource_path=resource_path,
2208
+ method=method,
2209
+ path_params=path_params,
2210
+ header_params=header_params,
2211
+ body=update_job_details,
2212
+ response_type="Job")
2213
+ else:
2214
+ return self.base_client.call_api(
2215
+ resource_path=resource_path,
2216
+ method=method,
2217
+ path_params=path_params,
2218
+ header_params=header_params,
2219
+ body=update_job_details,
2220
+ response_type="Job")