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