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,1595 @@
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 WorkspaceObjectClient(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("workspace_object", 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 copy_workspace_object(self, ai_data_platform_id, workspace_key, copy_workspace_object_details, **kwargs):
89
+ """
90
+ Copy a workspace object to different location.
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 oci.aidataplatform_dp.models.CopyWorkspaceObjectDetails copy_workspace_object_details: (required)
102
+ Details for copying the workspace object to a different path.
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 bool should_update_recent: (optional)
117
+ A flag to identify if the recent list should be updated.
118
+
119
+ :param obj retry_strategy: (optional)
120
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
121
+
122
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
123
+ 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>`__.
124
+
125
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
126
+
127
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.WorkspaceObjectDetails`
128
+ :rtype: :class:`~oci.response.Response`
129
+ """
130
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/actions/copyObject"
131
+ method = "POST"
132
+
133
+ # Don't accept unknown kwargs
134
+ expected_kwargs = [
135
+ "retry_strategy",
136
+ "if_match",
137
+ "opc_request_id",
138
+ "should_update_recent"
139
+ ]
140
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
141
+ if extra_kwargs:
142
+ raise ValueError(
143
+ "copy_workspace_object got unknown kwargs: {!r}".format(extra_kwargs))
144
+
145
+ path_params = {
146
+ "aiDataPlatformId": ai_data_platform_id,
147
+ "workspaceKey": workspace_key
148
+ }
149
+
150
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
151
+
152
+ for (k, v) in six.iteritems(path_params):
153
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
154
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
155
+
156
+ header_params = {
157
+ "accept": "application/json",
158
+ "content-type": "application/json",
159
+ "if-match": kwargs.get("if_match", missing),
160
+ "opc-request-id": kwargs.get("opc_request_id", missing),
161
+ "should-update-recent": kwargs.get("should_update_recent", missing)
162
+ }
163
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
164
+
165
+ retry_strategy = self.retry_strategy
166
+ if kwargs.get('retry_strategy'):
167
+ retry_strategy = kwargs.get('retry_strategy')
168
+
169
+ if retry_strategy:
170
+ return retry_strategy.make_retrying_call(
171
+ self.base_client.call_api,
172
+ resource_path=resource_path,
173
+ method=method,
174
+ path_params=path_params,
175
+ header_params=header_params,
176
+ body=copy_workspace_object_details,
177
+ response_type="WorkspaceObjectDetails")
178
+ else:
179
+ return self.base_client.call_api(
180
+ resource_path=resource_path,
181
+ method=method,
182
+ path_params=path_params,
183
+ header_params=header_params,
184
+ body=copy_workspace_object_details,
185
+ response_type="WorkspaceObjectDetails")
186
+
187
+ def create_workspace_object(self, ai_data_platform_id, workspace_key, create_workspace_object_details, path, **kwargs):
188
+ """
189
+ Creates a workspace object. You can create a file or folder in the workspace.
190
+
191
+
192
+ :param str ai_data_platform_id: (required)
193
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
194
+
195
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
196
+
197
+ :param str workspace_key: (required)
198
+ The key of the Workspace
199
+
200
+ :param stream create_workspace_object_details: (required)
201
+ Details for the new workspace object.
202
+
203
+ :param str path: (required)
204
+ The absolute path of the file or folder
205
+
206
+ :param str type: (optional)
207
+ The type of workspace object.
208
+
209
+ :param str opc_retry_token: (optional)
210
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
211
+ server error without risk of running that same action again. Retry tokens expire after 24
212
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
213
+ has been deleted and removed from the system, then a retry of the original creation request
214
+ might be rejected.
215
+
216
+ :param str opc_request_id: (optional)
217
+ Unique Oracle-assigned identifier for the request. If you need to contact
218
+ Oracle about a particular request, please provide the request ID.
219
+ The only valid characters for request IDs are letters, numbers,
220
+ underscore, and dash.
221
+
222
+ :param bool should_update_recent: (optional)
223
+ A flag to identify if the recent list should be updated.
224
+
225
+ :param bool is_upload_file_base64_encoded: (optional)
226
+ A flag to identify if the upload file is base64 encoded
227
+
228
+ :param bool is_overwrite: (optional)
229
+ A boolean which decides if overwrite is allowed
230
+
231
+ :param str object_description: (optional)
232
+ The description of the workspace object
233
+
234
+ :param obj retry_strategy: (optional)
235
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
236
+
237
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
238
+ 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>`__.
239
+
240
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
241
+
242
+ :return: A :class:`~oci.response.Response` object with data of type stream
243
+ :rtype: :class:`~oci.response.Response`
244
+ """
245
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/objects"
246
+ method = "POST"
247
+
248
+ # Don't accept unknown kwargs
249
+ expected_kwargs = [
250
+ "retry_strategy",
251
+ "type",
252
+ "opc_retry_token",
253
+ "opc_request_id",
254
+ "should_update_recent",
255
+ "is_upload_file_base64_encoded",
256
+ "is_overwrite",
257
+ "object_description"
258
+ ]
259
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
260
+ if extra_kwargs:
261
+ raise ValueError(
262
+ "create_workspace_object got unknown kwargs: {!r}".format(extra_kwargs))
263
+
264
+ path_params = {
265
+ "aiDataPlatformId": ai_data_platform_id,
266
+ "workspaceKey": workspace_key
267
+ }
268
+
269
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
270
+
271
+ for (k, v) in six.iteritems(path_params):
272
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
273
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
274
+
275
+ query_params = {
276
+ "objectDescription": kwargs.get("object_description", missing)
277
+ }
278
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
279
+
280
+ header_params = {
281
+ "accept": "application/x-yaml",
282
+ "type": kwargs.get("type", missing),
283
+ "path": path,
284
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
285
+ "opc-request-id": kwargs.get("opc_request_id", missing),
286
+ "should-update-recent": kwargs.get("should_update_recent", missing),
287
+ "is-upload-file-base64-encoded": kwargs.get("is_upload_file_base64_encoded", missing),
288
+ "is-overwrite": kwargs.get("is_overwrite", missing)
289
+ }
290
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
291
+
292
+ # If the body parameter is optional we need to assign it to a variable so additional type checking can be performed.
293
+ try:
294
+ create_workspace_object_details
295
+ except NameError:
296
+ create_workspace_object_details = kwargs.get("create_workspace_object_details", missing)
297
+
298
+ if create_workspace_object_details is not missing and create_workspace_object_details is not None:
299
+ if (not isinstance(create_workspace_object_details, (six.binary_type, six.string_types)) and
300
+ not hasattr(create_workspace_object_details, "read")):
301
+ raise TypeError('The body must be a string, bytes, or provide a read() method.')
302
+
303
+ if hasattr(create_workspace_object_details, 'fileno') and hasattr(create_workspace_object_details, 'name') and create_workspace_object_details.name != '<stdin>':
304
+ if requests.utils.super_len(create_workspace_object_details) == 0:
305
+ header_params['Content-Length'] = '0'
306
+
307
+ retry_strategy = self.retry_strategy
308
+ if kwargs.get('retry_strategy'):
309
+ retry_strategy = kwargs.get('retry_strategy')
310
+
311
+ # Disable the retry_strategy to work around data corruption issue temporarily
312
+ if retry_strategy:
313
+ retry_strategy = None
314
+ if retry_strategy:
315
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
316
+ self.base_client.add_opc_retry_token_if_needed(header_params)
317
+ return retry_strategy.make_retrying_call(
318
+ self.base_client.call_api,
319
+ resource_path=resource_path,
320
+ method=method,
321
+ path_params=path_params,
322
+ query_params=query_params,
323
+ header_params=header_params,
324
+ body=create_workspace_object_details,
325
+ response_type="stream")
326
+ else:
327
+ return self.base_client.call_api(
328
+ resource_path=resource_path,
329
+ method=method,
330
+ path_params=path_params,
331
+ query_params=query_params,
332
+ header_params=header_params,
333
+ body=create_workspace_object_details,
334
+ response_type="stream")
335
+
336
+ def delete_workspace_object(self, ai_data_platform_id, workspace_key, object_path, **kwargs):
337
+ """
338
+ Deletes a workspace object.
339
+
340
+
341
+ :param str ai_data_platform_id: (required)
342
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
343
+
344
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
345
+
346
+ :param str workspace_key: (required)
347
+ The key of the Workspace
348
+
349
+ :param str object_path: (required)
350
+ The fully qualified path of the workspace object.
351
+
352
+ :param str if_match: (optional)
353
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
354
+ `if-match` parameter to the value of the etag from a previous GET or POST response for
355
+ that resource. The resource will be updated or deleted only if the etag you provide
356
+ matches the resource's current etag value.
357
+
358
+ :param str opc_request_id: (optional)
359
+ Unique Oracle-assigned identifier for the request. If you need to contact
360
+ Oracle about a particular request, please provide the request ID.
361
+ The only valid characters for request IDs are letters, numbers,
362
+ underscore, and dash.
363
+
364
+ :param obj retry_strategy: (optional)
365
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
366
+
367
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
368
+ 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>`__.
369
+
370
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
371
+
372
+ :return: A :class:`~oci.response.Response` object with data of type None
373
+ :rtype: :class:`~oci.response.Response`
374
+ """
375
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/objects/{objectPath}"
376
+ method = "DELETE"
377
+
378
+ # Don't accept unknown kwargs
379
+ expected_kwargs = [
380
+ "retry_strategy",
381
+ "if_match",
382
+ "opc_request_id"
383
+ ]
384
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
385
+ if extra_kwargs:
386
+ raise ValueError(
387
+ "delete_workspace_object got unknown kwargs: {!r}".format(extra_kwargs))
388
+
389
+ path_params = {
390
+ "aiDataPlatformId": ai_data_platform_id,
391
+ "workspaceKey": workspace_key,
392
+ "objectPath": object_path
393
+ }
394
+
395
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
396
+
397
+ for (k, v) in six.iteritems(path_params):
398
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
399
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
400
+
401
+ header_params = {
402
+ "accept": "application/json",
403
+ "content-type": "application/json",
404
+ "if-match": kwargs.get("if_match", missing),
405
+ "opc-request-id": kwargs.get("opc_request_id", missing)
406
+ }
407
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
408
+
409
+ retry_strategy = self.retry_strategy
410
+ if kwargs.get('retry_strategy'):
411
+ retry_strategy = kwargs.get('retry_strategy')
412
+
413
+ if retry_strategy:
414
+ return retry_strategy.make_retrying_call(
415
+ self.base_client.call_api,
416
+ resource_path=resource_path,
417
+ method=method,
418
+ path_params=path_params,
419
+ header_params=header_params)
420
+ else:
421
+ return self.base_client.call_api(
422
+ resource_path=resource_path,
423
+ method=method,
424
+ path_params=path_params,
425
+ header_params=header_params)
426
+
427
+ def download_workspace_object_with_par(self, ai_data_platform_id, workspace_key, path, **kwargs):
428
+ """
429
+ Downloads a workspace file by providing the PAR info for downloading the file for given path.
430
+
431
+
432
+ :param str ai_data_platform_id: (required)
433
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
434
+
435
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
436
+
437
+ :param str workspace_key: (required)
438
+ The key of the Workspace
439
+
440
+ :param str path: (required)
441
+ The absolute path of the file or folder
442
+
443
+ :param bool should_generate_new_par: (optional)
444
+ Flag to toggle to generate short living par
445
+
446
+ :param str opc_retry_token: (optional)
447
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
448
+ server error without risk of running that same action again. Retry tokens expire after 24
449
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
450
+ has been deleted and removed from the system, then a retry of the original creation request
451
+ might be rejected.
452
+
453
+ :param str opc_request_id: (optional)
454
+ Unique Oracle-assigned identifier for the request. If you need to contact
455
+ Oracle about a particular request, please provide the request ID.
456
+ The only valid characters for request IDs are letters, numbers,
457
+ underscore, and dash.
458
+
459
+ :param str type: (optional)
460
+ The type of workspace object.
461
+
462
+ :param bool should_update_recent: (optional)
463
+ A flag to identify if the recent list should be updated.
464
+
465
+ :param obj retry_strategy: (optional)
466
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
467
+
468
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
469
+ 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>`__.
470
+
471
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
472
+
473
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.DownloadFileWithParResult`
474
+ :rtype: :class:`~oci.response.Response`
475
+ """
476
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/actions/downloadFileMeta"
477
+ method = "POST"
478
+
479
+ # Don't accept unknown kwargs
480
+ expected_kwargs = [
481
+ "retry_strategy",
482
+ "should_generate_new_par",
483
+ "opc_retry_token",
484
+ "opc_request_id",
485
+ "type",
486
+ "should_update_recent"
487
+ ]
488
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
489
+ if extra_kwargs:
490
+ raise ValueError(
491
+ "download_workspace_object_with_par got unknown kwargs: {!r}".format(extra_kwargs))
492
+
493
+ path_params = {
494
+ "aiDataPlatformId": ai_data_platform_id,
495
+ "workspaceKey": workspace_key
496
+ }
497
+
498
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
499
+
500
+ for (k, v) in six.iteritems(path_params):
501
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
502
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
503
+
504
+ query_params = {
505
+ "shouldGenerateNewPar": kwargs.get("should_generate_new_par", missing)
506
+ }
507
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
508
+
509
+ header_params = {
510
+ "accept": "application/json",
511
+ "content-type": "application/json",
512
+ "path": path,
513
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
514
+ "opc-request-id": kwargs.get("opc_request_id", missing),
515
+ "type": kwargs.get("type", missing),
516
+ "should-update-recent": kwargs.get("should_update_recent", missing)
517
+ }
518
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
519
+
520
+ retry_strategy = self.retry_strategy
521
+ if kwargs.get('retry_strategy'):
522
+ retry_strategy = kwargs.get('retry_strategy')
523
+
524
+ if retry_strategy:
525
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
526
+ self.base_client.add_opc_retry_token_if_needed(header_params)
527
+ return retry_strategy.make_retrying_call(
528
+ self.base_client.call_api,
529
+ resource_path=resource_path,
530
+ method=method,
531
+ path_params=path_params,
532
+ query_params=query_params,
533
+ header_params=header_params,
534
+ response_type="DownloadFileWithParResult")
535
+ else:
536
+ return self.base_client.call_api(
537
+ resource_path=resource_path,
538
+ method=method,
539
+ path_params=path_params,
540
+ query_params=query_params,
541
+ header_params=header_params,
542
+ response_type="DownloadFileWithParResult")
543
+
544
+ def get_workspace_object(self, ai_data_platform_id, workspace_key, object_path, **kwargs):
545
+ """
546
+ Returns detailed information about a workspace object.
547
+
548
+
549
+ :param str ai_data_platform_id: (required)
550
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
551
+
552
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
553
+
554
+ :param str workspace_key: (required)
555
+ The key of the Workspace
556
+
557
+ :param str object_path: (required)
558
+ The fully qualified path of the workspace object.
559
+
560
+ :param bool should_include_metadata: (optional)
561
+ Path to list all metadata for a file or folder.
562
+
563
+ :param str opc_request_id: (optional)
564
+ Unique Oracle-assigned identifier for the request. If you need to contact
565
+ Oracle about a particular request, please provide the request ID.
566
+ The only valid characters for request IDs are letters, numbers,
567
+ underscore, and dash.
568
+
569
+ :param bool should_update_recent: (optional)
570
+ A flag to identify if the recent list should be updated.
571
+
572
+ :param obj retry_strategy: (optional)
573
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
574
+
575
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
576
+ 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>`__.
577
+
578
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
579
+
580
+ :return: A :class:`~oci.response.Response` object with data of type stream
581
+ :rtype: :class:`~oci.response.Response`
582
+ """
583
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/objects/{objectPath}"
584
+ method = "GET"
585
+
586
+ # Don't accept unknown kwargs
587
+ expected_kwargs = [
588
+ "retry_strategy",
589
+ "should_include_metadata",
590
+ "opc_request_id",
591
+ "should_update_recent"
592
+ ]
593
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
594
+ if extra_kwargs:
595
+ raise ValueError(
596
+ "get_workspace_object got unknown kwargs: {!r}".format(extra_kwargs))
597
+
598
+ path_params = {
599
+ "aiDataPlatformId": ai_data_platform_id,
600
+ "workspaceKey": workspace_key,
601
+ "objectPath": object_path
602
+ }
603
+
604
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
605
+
606
+ for (k, v) in six.iteritems(path_params):
607
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
608
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
609
+
610
+ query_params = {
611
+ "shouldIncludeMetadata": kwargs.get("should_include_metadata", missing)
612
+ }
613
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
614
+
615
+ header_params = {
616
+ "accept": "application/x-yaml",
617
+ "content-type": "application/json",
618
+ "opc-request-id": kwargs.get("opc_request_id", missing),
619
+ "should-update-recent": kwargs.get("should_update_recent", missing)
620
+ }
621
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
622
+
623
+ retry_strategy = self.retry_strategy
624
+ if kwargs.get('retry_strategy'):
625
+ retry_strategy = kwargs.get('retry_strategy')
626
+
627
+ if retry_strategy:
628
+ return retry_strategy.make_retrying_call(
629
+ self.base_client.call_api,
630
+ resource_path=resource_path,
631
+ method=method,
632
+ path_params=path_params,
633
+ query_params=query_params,
634
+ header_params=header_params,
635
+ response_type="stream")
636
+ else:
637
+ return self.base_client.call_api(
638
+ resource_path=resource_path,
639
+ method=method,
640
+ path_params=path_params,
641
+ query_params=query_params,
642
+ header_params=header_params,
643
+ response_type="stream")
644
+
645
+ def head_workspace_object(self, ai_data_platform_id, workspace_key, object_path, **kwargs):
646
+ """
647
+ Returns metadata about a workspace object. The contents of the file are not retrieved.
648
+
649
+
650
+ :param str ai_data_platform_id: (required)
651
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
652
+
653
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
654
+
655
+ :param str workspace_key: (required)
656
+ The key of the Workspace
657
+
658
+ :param str object_path: (required)
659
+ The fully qualified path of the workspace object.
660
+
661
+ :param bool should_include_metadata: (optional)
662
+ Path to list all metadata for a file or folder.
663
+
664
+ :param str opc_request_id: (optional)
665
+ Unique Oracle-assigned identifier for the request. If you need to contact
666
+ Oracle about a particular request, please provide the request ID.
667
+ The only valid characters for request IDs are letters, numbers,
668
+ underscore, and dash.
669
+
670
+ :param bool should_update_recent: (optional)
671
+ A flag to identify if the recent list should be updated.
672
+
673
+ :param obj retry_strategy: (optional)
674
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
675
+
676
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
677
+ 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>`__.
678
+
679
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
680
+
681
+ :return: A :class:`~oci.response.Response` object with data of type None
682
+ :rtype: :class:`~oci.response.Response`
683
+ """
684
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/objects/{objectPath}"
685
+ method = "HEAD"
686
+
687
+ # Don't accept unknown kwargs
688
+ expected_kwargs = [
689
+ "retry_strategy",
690
+ "should_include_metadata",
691
+ "opc_request_id",
692
+ "should_update_recent"
693
+ ]
694
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
695
+ if extra_kwargs:
696
+ raise ValueError(
697
+ "head_workspace_object got unknown kwargs: {!r}".format(extra_kwargs))
698
+
699
+ path_params = {
700
+ "aiDataPlatformId": ai_data_platform_id,
701
+ "workspaceKey": workspace_key,
702
+ "objectPath": object_path
703
+ }
704
+
705
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
706
+
707
+ for (k, v) in six.iteritems(path_params):
708
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
709
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
710
+
711
+ query_params = {
712
+ "shouldIncludeMetadata": kwargs.get("should_include_metadata", missing)
713
+ }
714
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
715
+
716
+ header_params = {
717
+ "accept": "application/json",
718
+ "content-type": "application/json",
719
+ "opc-request-id": kwargs.get("opc_request_id", missing),
720
+ "should-update-recent": kwargs.get("should_update_recent", missing)
721
+ }
722
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
723
+
724
+ retry_strategy = self.retry_strategy
725
+ if kwargs.get('retry_strategy'):
726
+ retry_strategy = kwargs.get('retry_strategy')
727
+
728
+ if retry_strategy:
729
+ return retry_strategy.make_retrying_call(
730
+ self.base_client.call_api,
731
+ resource_path=resource_path,
732
+ method=method,
733
+ path_params=path_params,
734
+ query_params=query_params,
735
+ header_params=header_params)
736
+ else:
737
+ return self.base_client.call_api(
738
+ resource_path=resource_path,
739
+ method=method,
740
+ path_params=path_params,
741
+ query_params=query_params,
742
+ header_params=header_params)
743
+
744
+ def list_workspace_object_permissions(self, ai_data_platform_id, workspace_key, object_key, **kwargs):
745
+ """
746
+ Returns a list of workspace object permissions.
747
+
748
+
749
+ :param str ai_data_platform_id: (required)
750
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
751
+
752
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
753
+
754
+ :param str workspace_key: (required)
755
+ The key of the Workspace
756
+
757
+ :param str object_key: (required)
758
+ The key of the workspace object.
759
+
760
+ :param int limit: (optional)
761
+ For list pagination. The maximum number of results per page, or items to return in a
762
+ paginated \"List\" call. For important details about how pagination works, see
763
+ `List Pagination`__.
764
+
765
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
766
+
767
+ :param str page: (optional)
768
+ For list pagination. The value of the opc-next-page response header from the previous
769
+ \"List\" call. For important details about how pagination works, see
770
+ `List Pagination`__.
771
+
772
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
773
+
774
+ :param str sort_order: (optional)
775
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
776
+
777
+ Allowed values are: "ASC", "DESC"
778
+
779
+ :param str sort_by: (optional)
780
+ The field to sort by. You can provide only one sort order. Default order for `timeCreated`
781
+ is descending. Default order for `displayName` is ascending.
782
+
783
+ Allowed values are: "timeCreated", "displayName"
784
+
785
+ :param str opc_request_id: (optional)
786
+ Unique Oracle-assigned identifier for the request. If you need to contact
787
+ Oracle about a particular request, please provide the request ID.
788
+ The only valid characters for request IDs are letters, numbers,
789
+ underscore, and dash.
790
+
791
+ :param obj retry_strategy: (optional)
792
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
793
+
794
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
795
+ 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>`__.
796
+
797
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
798
+
799
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.WorkspaceObjectPermissionCollection`
800
+ :rtype: :class:`~oci.response.Response`
801
+ """
802
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/objects/{objectKey}/permissions"
803
+ method = "GET"
804
+
805
+ # Don't accept unknown kwargs
806
+ expected_kwargs = [
807
+ "retry_strategy",
808
+ "limit",
809
+ "page",
810
+ "sort_order",
811
+ "sort_by",
812
+ "opc_request_id"
813
+ ]
814
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
815
+ if extra_kwargs:
816
+ raise ValueError(
817
+ "list_workspace_object_permissions got unknown kwargs: {!r}".format(extra_kwargs))
818
+
819
+ path_params = {
820
+ "aiDataPlatformId": ai_data_platform_id,
821
+ "workspaceKey": workspace_key,
822
+ "objectKey": object_key
823
+ }
824
+
825
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
826
+
827
+ for (k, v) in six.iteritems(path_params):
828
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
829
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
830
+
831
+ if 'sort_order' in kwargs:
832
+ sort_order_allowed_values = ["ASC", "DESC"]
833
+ if kwargs['sort_order'] not in sort_order_allowed_values:
834
+ raise ValueError(
835
+ "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
836
+ )
837
+
838
+ if 'sort_by' in kwargs:
839
+ sort_by_allowed_values = ["timeCreated", "displayName"]
840
+ if kwargs['sort_by'] not in sort_by_allowed_values:
841
+ raise ValueError(
842
+ "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
843
+ )
844
+
845
+ query_params = {
846
+ "limit": kwargs.get("limit", missing),
847
+ "page": kwargs.get("page", missing),
848
+ "sortOrder": kwargs.get("sort_order", missing),
849
+ "sortBy": kwargs.get("sort_by", missing)
850
+ }
851
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
852
+
853
+ header_params = {
854
+ "accept": "application/json",
855
+ "content-type": "application/json",
856
+ "opc-request-id": kwargs.get("opc_request_id", missing)
857
+ }
858
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
859
+
860
+ retry_strategy = self.retry_strategy
861
+ if kwargs.get('retry_strategy'):
862
+ retry_strategy = kwargs.get('retry_strategy')
863
+
864
+ if retry_strategy:
865
+ return retry_strategy.make_retrying_call(
866
+ self.base_client.call_api,
867
+ resource_path=resource_path,
868
+ method=method,
869
+ path_params=path_params,
870
+ query_params=query_params,
871
+ header_params=header_params,
872
+ response_type="WorkspaceObjectPermissionCollection")
873
+ else:
874
+ return self.base_client.call_api(
875
+ resource_path=resource_path,
876
+ method=method,
877
+ path_params=path_params,
878
+ query_params=query_params,
879
+ header_params=header_params,
880
+ response_type="WorkspaceObjectPermissionCollection")
881
+
882
+ def list_workspace_objects(self, ai_data_platform_id, workspace_key, path, **kwargs):
883
+ """
884
+ Returns a list of objects in the workspace.
885
+
886
+
887
+ :param str ai_data_platform_id: (required)
888
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
889
+
890
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
891
+
892
+ :param str workspace_key: (required)
893
+ The key of the Workspace
894
+
895
+ :param str path: (required)
896
+ The absolute path of the file or folder
897
+
898
+ :param str type: (optional)
899
+ Filter by object type. For example, NOTEBOOK, LIBRARY, or FILE.
900
+
901
+ :param str display_name: (optional)
902
+ A filter to return only resources that match the given display name exactly.
903
+
904
+ :param int limit: (optional)
905
+ For list pagination. The maximum number of results per page, or items to return in a
906
+ paginated \"List\" call. For important details about how pagination works, see
907
+ `List Pagination`__.
908
+
909
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
910
+
911
+ :param str metadata_keys: (optional)
912
+ Comma separated keys to have in list response.
913
+
914
+ :param str page: (optional)
915
+ For list pagination. The value of the opc-next-page response header from the previous
916
+ \"List\" call. For important details about how pagination works, see
917
+ `List Pagination`__.
918
+
919
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
920
+
921
+ :param str sort_order: (optional)
922
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
923
+
924
+ Allowed values are: "ASC", "DESC"
925
+
926
+ :param str sort_by: (optional)
927
+ The field to sort by. You can provide only one sort order. Default order for `timeCreated`
928
+ is descending. Default order for `displayName` is ascending.
929
+
930
+ Allowed values are: "timeCreated", "displayName"
931
+
932
+ :param str opc_request_id: (optional)
933
+ Unique Oracle-assigned identifier for the request. If you need to contact
934
+ Oracle about a particular request, please provide the request ID.
935
+ The only valid characters for request IDs are letters, numbers,
936
+ underscore, and dash.
937
+
938
+ :param bool should_update_recent: (optional)
939
+ A flag to identify if the recent list should be updated.
940
+
941
+ :param obj retry_strategy: (optional)
942
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
943
+
944
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
945
+ 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>`__.
946
+
947
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
948
+
949
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.WorkspaceObjectCollection`
950
+ :rtype: :class:`~oci.response.Response`
951
+ """
952
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/objects"
953
+ method = "GET"
954
+
955
+ # Don't accept unknown kwargs
956
+ expected_kwargs = [
957
+ "retry_strategy",
958
+ "type",
959
+ "display_name",
960
+ "limit",
961
+ "metadata_keys",
962
+ "page",
963
+ "sort_order",
964
+ "sort_by",
965
+ "opc_request_id",
966
+ "should_update_recent"
967
+ ]
968
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
969
+ if extra_kwargs:
970
+ raise ValueError(
971
+ "list_workspace_objects got unknown kwargs: {!r}".format(extra_kwargs))
972
+
973
+ path_params = {
974
+ "aiDataPlatformId": ai_data_platform_id,
975
+ "workspaceKey": workspace_key
976
+ }
977
+
978
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
979
+
980
+ for (k, v) in six.iteritems(path_params):
981
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
982
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
983
+
984
+ if 'sort_order' in kwargs:
985
+ sort_order_allowed_values = ["ASC", "DESC"]
986
+ if kwargs['sort_order'] not in sort_order_allowed_values:
987
+ raise ValueError(
988
+ "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
989
+ )
990
+
991
+ if 'sort_by' in kwargs:
992
+ sort_by_allowed_values = ["timeCreated", "displayName"]
993
+ if kwargs['sort_by'] not in sort_by_allowed_values:
994
+ raise ValueError(
995
+ "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
996
+ )
997
+
998
+ query_params = {
999
+ "path": path,
1000
+ "type": kwargs.get("type", missing),
1001
+ "displayName": kwargs.get("display_name", missing),
1002
+ "limit": kwargs.get("limit", missing),
1003
+ "metadataKeys": kwargs.get("metadata_keys", missing),
1004
+ "page": kwargs.get("page", missing),
1005
+ "sortOrder": kwargs.get("sort_order", missing),
1006
+ "sortBy": kwargs.get("sort_by", missing)
1007
+ }
1008
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
1009
+
1010
+ header_params = {
1011
+ "accept": "application/json",
1012
+ "content-type": "application/json",
1013
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1014
+ "should-update-recent": kwargs.get("should_update_recent", missing)
1015
+ }
1016
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1017
+
1018
+ retry_strategy = self.retry_strategy
1019
+ if kwargs.get('retry_strategy'):
1020
+ retry_strategy = kwargs.get('retry_strategy')
1021
+
1022
+ if retry_strategy:
1023
+ return retry_strategy.make_retrying_call(
1024
+ self.base_client.call_api,
1025
+ resource_path=resource_path,
1026
+ method=method,
1027
+ path_params=path_params,
1028
+ query_params=query_params,
1029
+ header_params=header_params,
1030
+ response_type="WorkspaceObjectCollection")
1031
+ else:
1032
+ return self.base_client.call_api(
1033
+ resource_path=resource_path,
1034
+ method=method,
1035
+ path_params=path_params,
1036
+ query_params=query_params,
1037
+ header_params=header_params,
1038
+ response_type="WorkspaceObjectCollection")
1039
+
1040
+ def manage_workspace_object_permission(self, ai_data_platform_id, workspace_key, object_key, manage_workspace_object_permission_details, **kwargs):
1041
+ """
1042
+ Updates permissions on a workspace object.
1043
+
1044
+
1045
+ :param str ai_data_platform_id: (required)
1046
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1047
+
1048
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1049
+
1050
+ :param str workspace_key: (required)
1051
+ The key of the Workspace
1052
+
1053
+ :param str object_key: (required)
1054
+ The key of the workspace object.
1055
+
1056
+ :param oci.aidataplatform_dp.models.ManageWorkspaceObjectPermissionDetails manage_workspace_object_permission_details: (required)
1057
+ The information to be updated.
1058
+
1059
+ :param str if_match: (optional)
1060
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
1061
+ `if-match` parameter to the value of the etag from a previous GET or POST response for
1062
+ that resource. The resource will be updated or deleted only if the etag you provide
1063
+ matches the resource's current etag value.
1064
+
1065
+ :param str opc_request_id: (optional)
1066
+ Unique Oracle-assigned identifier for the request. If you need to contact
1067
+ Oracle about a particular request, please provide the request ID.
1068
+ The only valid characters for request IDs are letters, numbers,
1069
+ underscore, and dash.
1070
+
1071
+ :param obj retry_strategy: (optional)
1072
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1073
+
1074
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1075
+ 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>`__.
1076
+
1077
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1078
+
1079
+ :return: A :class:`~oci.response.Response` object with data of type None
1080
+ :rtype: :class:`~oci.response.Response`
1081
+ """
1082
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/objects/{objectKey}/actions/managePermission"
1083
+ method = "POST"
1084
+
1085
+ # Don't accept unknown kwargs
1086
+ expected_kwargs = [
1087
+ "retry_strategy",
1088
+ "if_match",
1089
+ "opc_request_id"
1090
+ ]
1091
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1092
+ if extra_kwargs:
1093
+ raise ValueError(
1094
+ "manage_workspace_object_permission got unknown kwargs: {!r}".format(extra_kwargs))
1095
+
1096
+ path_params = {
1097
+ "aiDataPlatformId": ai_data_platform_id,
1098
+ "workspaceKey": workspace_key,
1099
+ "objectKey": object_key
1100
+ }
1101
+
1102
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1103
+
1104
+ for (k, v) in six.iteritems(path_params):
1105
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1106
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1107
+
1108
+ header_params = {
1109
+ "accept": "application/json",
1110
+ "content-type": "application/json",
1111
+ "if-match": kwargs.get("if_match", missing),
1112
+ "opc-request-id": kwargs.get("opc_request_id", missing)
1113
+ }
1114
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1115
+
1116
+ retry_strategy = self.retry_strategy
1117
+ if kwargs.get('retry_strategy'):
1118
+ retry_strategy = kwargs.get('retry_strategy')
1119
+
1120
+ if retry_strategy:
1121
+ return retry_strategy.make_retrying_call(
1122
+ self.base_client.call_api,
1123
+ resource_path=resource_path,
1124
+ method=method,
1125
+ path_params=path_params,
1126
+ header_params=header_params,
1127
+ body=manage_workspace_object_permission_details)
1128
+ else:
1129
+ return self.base_client.call_api(
1130
+ resource_path=resource_path,
1131
+ method=method,
1132
+ path_params=path_params,
1133
+ header_params=header_params,
1134
+ body=manage_workspace_object_permission_details)
1135
+
1136
+ def move_workspace_object(self, ai_data_platform_id, workspace_key, move_workspace_object_details, **kwargs):
1137
+ """
1138
+ Moves a workspace object to different location.
1139
+
1140
+
1141
+ :param str ai_data_platform_id: (required)
1142
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1143
+
1144
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1145
+
1146
+ :param str workspace_key: (required)
1147
+ The key of the Workspace
1148
+
1149
+ :param oci.aidataplatform_dp.models.MoveWorkspaceObjectDetails move_workspace_object_details: (required)
1150
+ Details for moving the workspace object to a different path.
1151
+
1152
+ :param str if_match: (optional)
1153
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
1154
+ `if-match` parameter to the value of the etag from a previous GET or POST response for
1155
+ that resource. The resource will be updated or deleted only if the etag you provide
1156
+ matches the resource's current etag value.
1157
+
1158
+ :param str opc_request_id: (optional)
1159
+ Unique Oracle-assigned identifier for the request. If you need to contact
1160
+ Oracle about a particular request, please provide the request ID.
1161
+ The only valid characters for request IDs are letters, numbers,
1162
+ underscore, and dash.
1163
+
1164
+ :param bool should_update_recent: (optional)
1165
+ A flag to identify if the recent list should be updated.
1166
+
1167
+ :param obj retry_strategy: (optional)
1168
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1169
+
1170
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1171
+ 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>`__.
1172
+
1173
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1174
+
1175
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.WorkspaceObjectDetails`
1176
+ :rtype: :class:`~oci.response.Response`
1177
+ """
1178
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/actions/moveObject"
1179
+ method = "POST"
1180
+
1181
+ # Don't accept unknown kwargs
1182
+ expected_kwargs = [
1183
+ "retry_strategy",
1184
+ "if_match",
1185
+ "opc_request_id",
1186
+ "should_update_recent"
1187
+ ]
1188
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1189
+ if extra_kwargs:
1190
+ raise ValueError(
1191
+ "move_workspace_object got unknown kwargs: {!r}".format(extra_kwargs))
1192
+
1193
+ path_params = {
1194
+ "aiDataPlatformId": ai_data_platform_id,
1195
+ "workspaceKey": workspace_key
1196
+ }
1197
+
1198
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1199
+
1200
+ for (k, v) in six.iteritems(path_params):
1201
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1202
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1203
+
1204
+ header_params = {
1205
+ "accept": "application/json",
1206
+ "content-type": "application/json",
1207
+ "if-match": kwargs.get("if_match", missing),
1208
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1209
+ "should-update-recent": kwargs.get("should_update_recent", missing)
1210
+ }
1211
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1212
+
1213
+ retry_strategy = self.retry_strategy
1214
+ if kwargs.get('retry_strategy'):
1215
+ retry_strategy = kwargs.get('retry_strategy')
1216
+
1217
+ if retry_strategy:
1218
+ return retry_strategy.make_retrying_call(
1219
+ self.base_client.call_api,
1220
+ resource_path=resource_path,
1221
+ method=method,
1222
+ path_params=path_params,
1223
+ header_params=header_params,
1224
+ body=move_workspace_object_details,
1225
+ response_type="WorkspaceObjectDetails")
1226
+ else:
1227
+ return self.base_client.call_api(
1228
+ resource_path=resource_path,
1229
+ method=method,
1230
+ path_params=path_params,
1231
+ header_params=header_params,
1232
+ body=move_workspace_object_details,
1233
+ response_type="WorkspaceObjectDetails")
1234
+
1235
+ def rename_workspace_object(self, ai_data_platform_id, workspace_key, rename_workspace_object_details, **kwargs):
1236
+ """
1237
+ Renames a workspace object.
1238
+
1239
+
1240
+ :param str ai_data_platform_id: (required)
1241
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1242
+
1243
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1244
+
1245
+ :param str workspace_key: (required)
1246
+ The key of the Workspace
1247
+
1248
+ :param oci.aidataplatform_dp.models.RenameWorkspaceObjectDetails rename_workspace_object_details: (required)
1249
+ Details for renaming the workspace object.
1250
+
1251
+ :param bool should_update_recent: (optional)
1252
+ A flag to identify if the recent list should be updated.
1253
+
1254
+ :param str if_match: (optional)
1255
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
1256
+ `if-match` parameter to the value of the etag from a previous GET or POST response for
1257
+ that resource. The resource will be updated or deleted only if the etag you provide
1258
+ matches the resource's current etag value.
1259
+
1260
+ :param str opc_request_id: (optional)
1261
+ Unique Oracle-assigned identifier for the request. If you need to contact
1262
+ Oracle about a particular request, please provide the request ID.
1263
+ The only valid characters for request IDs are letters, numbers,
1264
+ underscore, and dash.
1265
+
1266
+ :param obj retry_strategy: (optional)
1267
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1268
+
1269
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1270
+ 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>`__.
1271
+
1272
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1273
+
1274
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.WorkspaceObjectDetails`
1275
+ :rtype: :class:`~oci.response.Response`
1276
+ """
1277
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/actions/renameObject"
1278
+ method = "POST"
1279
+
1280
+ # Don't accept unknown kwargs
1281
+ expected_kwargs = [
1282
+ "retry_strategy",
1283
+ "should_update_recent",
1284
+ "if_match",
1285
+ "opc_request_id"
1286
+ ]
1287
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1288
+ if extra_kwargs:
1289
+ raise ValueError(
1290
+ "rename_workspace_object got unknown kwargs: {!r}".format(extra_kwargs))
1291
+
1292
+ path_params = {
1293
+ "aiDataPlatformId": ai_data_platform_id,
1294
+ "workspaceKey": workspace_key
1295
+ }
1296
+
1297
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1298
+
1299
+ for (k, v) in six.iteritems(path_params):
1300
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1301
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1302
+
1303
+ header_params = {
1304
+ "accept": "application/json",
1305
+ "content-type": "application/json",
1306
+ "should-update-recent": kwargs.get("should_update_recent", missing),
1307
+ "if-match": kwargs.get("if_match", missing),
1308
+ "opc-request-id": kwargs.get("opc_request_id", missing)
1309
+ }
1310
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1311
+
1312
+ retry_strategy = self.retry_strategy
1313
+ if kwargs.get('retry_strategy'):
1314
+ retry_strategy = kwargs.get('retry_strategy')
1315
+
1316
+ if retry_strategy:
1317
+ return retry_strategy.make_retrying_call(
1318
+ self.base_client.call_api,
1319
+ resource_path=resource_path,
1320
+ method=method,
1321
+ path_params=path_params,
1322
+ header_params=header_params,
1323
+ body=rename_workspace_object_details,
1324
+ response_type="WorkspaceObjectDetails")
1325
+ else:
1326
+ return self.base_client.call_api(
1327
+ resource_path=resource_path,
1328
+ method=method,
1329
+ path_params=path_params,
1330
+ header_params=header_params,
1331
+ body=rename_workspace_object_details,
1332
+ response_type="WorkspaceObjectDetails")
1333
+
1334
+ def update_workspace_object(self, ai_data_platform_id, workspace_key, object_path, update_workspace_object_details, **kwargs):
1335
+ """
1336
+ Updates a workspace object with the provided information.
1337
+
1338
+
1339
+ :param str ai_data_platform_id: (required)
1340
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1341
+
1342
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1343
+
1344
+ :param str workspace_key: (required)
1345
+ The key of the Workspace
1346
+
1347
+ :param str object_path: (required)
1348
+ The fully qualified path of the workspace object.
1349
+
1350
+ :param stream update_workspace_object_details: (required)
1351
+ The information to be updated.
1352
+
1353
+ :param str object_description: (optional)
1354
+ The description of the workspace object
1355
+
1356
+ :param str if_match: (optional)
1357
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
1358
+ `if-match` parameter to the value of the etag from a previous GET or POST response for
1359
+ that resource. The resource will be updated or deleted only if the etag you provide
1360
+ matches the resource's current etag value.
1361
+
1362
+ :param str opc_request_id: (optional)
1363
+ Unique Oracle-assigned identifier for the request. If you need to contact
1364
+ Oracle about a particular request, please provide the request ID.
1365
+ The only valid characters for request IDs are letters, numbers,
1366
+ underscore, and dash.
1367
+
1368
+ :param bool should_update_recent: (optional)
1369
+ A flag to identify if the recent list should be updated.
1370
+
1371
+ :param obj retry_strategy: (optional)
1372
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1373
+
1374
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1375
+ 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>`__.
1376
+
1377
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1378
+
1379
+ :return: A :class:`~oci.response.Response` object with data of type stream
1380
+ :rtype: :class:`~oci.response.Response`
1381
+ """
1382
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/objects/{objectPath}"
1383
+ method = "PUT"
1384
+
1385
+ # Don't accept unknown kwargs
1386
+ expected_kwargs = [
1387
+ "retry_strategy",
1388
+ "object_description",
1389
+ "if_match",
1390
+ "opc_request_id",
1391
+ "should_update_recent"
1392
+ ]
1393
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1394
+ if extra_kwargs:
1395
+ raise ValueError(
1396
+ "update_workspace_object got unknown kwargs: {!r}".format(extra_kwargs))
1397
+
1398
+ path_params = {
1399
+ "aiDataPlatformId": ai_data_platform_id,
1400
+ "workspaceKey": workspace_key,
1401
+ "objectPath": object_path
1402
+ }
1403
+
1404
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1405
+
1406
+ for (k, v) in six.iteritems(path_params):
1407
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1408
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1409
+
1410
+ query_params = {
1411
+ "objectDescription": kwargs.get("object_description", missing)
1412
+ }
1413
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
1414
+
1415
+ header_params = {
1416
+ "accept": "application/x-yaml",
1417
+ "if-match": kwargs.get("if_match", missing),
1418
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1419
+ "should-update-recent": kwargs.get("should_update_recent", missing)
1420
+ }
1421
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1422
+
1423
+ # If the body parameter is optional we need to assign it to a variable so additional type checking can be performed.
1424
+ try:
1425
+ update_workspace_object_details
1426
+ except NameError:
1427
+ update_workspace_object_details = kwargs.get("update_workspace_object_details", missing)
1428
+
1429
+ if update_workspace_object_details is not missing and update_workspace_object_details is not None:
1430
+ if (not isinstance(update_workspace_object_details, (six.binary_type, six.string_types)) and
1431
+ not hasattr(update_workspace_object_details, "read")):
1432
+ raise TypeError('The body must be a string, bytes, or provide a read() method.')
1433
+
1434
+ if hasattr(update_workspace_object_details, 'fileno') and hasattr(update_workspace_object_details, 'name') and update_workspace_object_details.name != '<stdin>':
1435
+ if requests.utils.super_len(update_workspace_object_details) == 0:
1436
+ header_params['Content-Length'] = '0'
1437
+
1438
+ retry_strategy = self.retry_strategy
1439
+ if kwargs.get('retry_strategy'):
1440
+ retry_strategy = kwargs.get('retry_strategy')
1441
+
1442
+ # Disable the retry_strategy to work around data corruption issue temporarily
1443
+ if retry_strategy:
1444
+ retry_strategy = None
1445
+ if retry_strategy:
1446
+ return retry_strategy.make_retrying_call(
1447
+ self.base_client.call_api,
1448
+ resource_path=resource_path,
1449
+ method=method,
1450
+ path_params=path_params,
1451
+ query_params=query_params,
1452
+ header_params=header_params,
1453
+ body=update_workspace_object_details,
1454
+ response_type="stream")
1455
+ else:
1456
+ return self.base_client.call_api(
1457
+ resource_path=resource_path,
1458
+ method=method,
1459
+ path_params=path_params,
1460
+ query_params=query_params,
1461
+ header_params=header_params,
1462
+ body=update_workspace_object_details,
1463
+ response_type="stream")
1464
+
1465
+ def upload_workspace_object_with_par(self, ai_data_platform_id, workspace_key, upload_file_with_par_details, path, **kwargs):
1466
+ """
1467
+ Creates a workspace file by generating PAR or updates the metadata by close file. If file exists, then it will be updated.
1468
+
1469
+
1470
+ :param str ai_data_platform_id: (required)
1471
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1472
+
1473
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1474
+
1475
+ :param str workspace_key: (required)
1476
+ The key of the Workspace
1477
+
1478
+ :param oci.aidataplatform_dp.models.UploadFileWithParDetails upload_file_with_par_details: (required)
1479
+ Contents of the file to upload.
1480
+
1481
+ :param str path: (required)
1482
+ The absolute path of the file or folder
1483
+
1484
+ :param bool is_overwrite: (optional)
1485
+ A boolean which decides if overwrite is allowed
1486
+
1487
+ :param bool should_generate_new_par: (optional)
1488
+ Flag to toggle to generate short living par
1489
+
1490
+ :param bool should_update_recent: (optional)
1491
+ A flag to identify if the recent list should be updated.
1492
+
1493
+ :param str opc_retry_token: (optional)
1494
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
1495
+ server error without risk of running that same action again. Retry tokens expire after 24
1496
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
1497
+ has been deleted and removed from the system, then a retry of the original creation request
1498
+ might be rejected.
1499
+
1500
+ :param str opc_request_id: (optional)
1501
+ Unique Oracle-assigned identifier for the request. If you need to contact
1502
+ Oracle about a particular request, please provide the request ID.
1503
+ The only valid characters for request IDs are letters, numbers,
1504
+ underscore, and dash.
1505
+
1506
+ :param str type: (optional)
1507
+ The type of workspace object.
1508
+
1509
+ :param str object_description: (optional)
1510
+ The description of the workspace object
1511
+
1512
+ :param obj retry_strategy: (optional)
1513
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1514
+
1515
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1516
+ 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>`__.
1517
+
1518
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1519
+
1520
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.UploadFileWithParResult`
1521
+ :rtype: :class:`~oci.response.Response`
1522
+ """
1523
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/actions/uploadFileMeta"
1524
+ method = "POST"
1525
+
1526
+ # Don't accept unknown kwargs
1527
+ expected_kwargs = [
1528
+ "retry_strategy",
1529
+ "is_overwrite",
1530
+ "should_generate_new_par",
1531
+ "should_update_recent",
1532
+ "opc_retry_token",
1533
+ "opc_request_id",
1534
+ "type",
1535
+ "object_description"
1536
+ ]
1537
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1538
+ if extra_kwargs:
1539
+ raise ValueError(
1540
+ "upload_workspace_object_with_par got unknown kwargs: {!r}".format(extra_kwargs))
1541
+
1542
+ path_params = {
1543
+ "aiDataPlatformId": ai_data_platform_id,
1544
+ "workspaceKey": workspace_key
1545
+ }
1546
+
1547
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1548
+
1549
+ for (k, v) in six.iteritems(path_params):
1550
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1551
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1552
+
1553
+ query_params = {
1554
+ "isOverwrite": kwargs.get("is_overwrite", missing),
1555
+ "shouldGenerateNewPar": kwargs.get("should_generate_new_par", missing),
1556
+ "objectDescription": kwargs.get("object_description", missing)
1557
+ }
1558
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
1559
+
1560
+ header_params = {
1561
+ "accept": "application/json",
1562
+ "content-type": "application/json",
1563
+ "should-update-recent": kwargs.get("should_update_recent", missing),
1564
+ "path": path,
1565
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
1566
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1567
+ "type": kwargs.get("type", missing)
1568
+ }
1569
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1570
+
1571
+ retry_strategy = self.retry_strategy
1572
+ if kwargs.get('retry_strategy'):
1573
+ retry_strategy = kwargs.get('retry_strategy')
1574
+
1575
+ if retry_strategy:
1576
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1577
+ self.base_client.add_opc_retry_token_if_needed(header_params)
1578
+ return retry_strategy.make_retrying_call(
1579
+ self.base_client.call_api,
1580
+ resource_path=resource_path,
1581
+ method=method,
1582
+ path_params=path_params,
1583
+ query_params=query_params,
1584
+ header_params=header_params,
1585
+ body=upload_file_with_par_details,
1586
+ response_type="UploadFileWithParResult")
1587
+ else:
1588
+ return 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
+ body=upload_file_with_par_details,
1595
+ response_type="UploadFileWithParResult")