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,2210 @@
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 DeltaShareClient(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("delta_share", 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_recipient(self, ai_data_platform_id, create_recipient_details, **kwargs):
89
+ """
90
+ Creates a recipient for a Delta Share protocol 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.CreateRecipientDetails create_recipient_details: (required)
99
+ Details for the new recipient for Delta Share protocol in AI Data Platform Workbench.
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.Recipient`
126
+ :rtype: :class:`~oci.response.Response`
127
+ """
128
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/recipients"
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_recipient 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_recipient_details,
176
+ response_type="Recipient")
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_recipient_details,
184
+ response_type="Recipient")
185
+
186
+ def create_share(self, ai_data_platform_id, create_share_details, **kwargs):
187
+ """
188
+ Create a Delta Share protocol in AI Data Platform Workbench.
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 oci.aidataplatform_dp.models.CreateShareDetails create_share_details: (required)
197
+ Details for the new share for Delta Share protocol in AI Data Platform Workbench.
198
+
199
+ :param str opc_retry_token: (optional)
200
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
201
+ server error without risk of running that same action again. Retry tokens expire after 24
202
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
203
+ has been deleted and removed from the system, then a retry of the original creation request
204
+ might be rejected.
205
+
206
+ :param str opc_request_id: (optional)
207
+ Unique Oracle-assigned identifier for the request. If you need to contact
208
+ Oracle about a particular request, please provide the request ID.
209
+ The only valid characters for request IDs are letters, numbers,
210
+ underscore, and dash.
211
+
212
+ :param bool should_update_recent: (optional)
213
+ A flag to identify if the recent list should be updated.
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 :class:`~oci.aidataplatform_dp.models.Share`
224
+ :rtype: :class:`~oci.response.Response`
225
+ """
226
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/shares"
227
+ method = "POST"
228
+
229
+ # Don't accept unknown kwargs
230
+ expected_kwargs = [
231
+ "retry_strategy",
232
+ "opc_retry_token",
233
+ "opc_request_id",
234
+ "should_update_recent"
235
+ ]
236
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
237
+ if extra_kwargs:
238
+ raise ValueError(
239
+ "create_share got unknown kwargs: {!r}".format(extra_kwargs))
240
+
241
+ path_params = {
242
+ "aiDataPlatformId": ai_data_platform_id
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
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
255
+ "opc-request-id": kwargs.get("opc_request_id", missing),
256
+ "should-update-recent": kwargs.get("should_update_recent", 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
+ body=create_share_details,
274
+ response_type="Share")
275
+ else:
276
+ return self.base_client.call_api(
277
+ resource_path=resource_path,
278
+ method=method,
279
+ path_params=path_params,
280
+ header_params=header_params,
281
+ body=create_share_details,
282
+ response_type="Share")
283
+
284
+ def delete_recipient(self, ai_data_platform_id, recipient_key, **kwargs):
285
+ """
286
+ Deletes a Delta Share recipient from an AI Data Platform Workbench.
287
+
288
+
289
+ :param str ai_data_platform_id: (required)
290
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
291
+
292
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
293
+
294
+ :param str recipient_key: (required)
295
+ The key of the recipient resource
296
+
297
+ :param str if_match: (optional)
298
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
299
+ `if-match` parameter to the value of the etag from a previous GET or POST response for
300
+ that resource. The resource will be updated or deleted only if the etag you provide
301
+ matches the resource's current etag value.
302
+
303
+ :param str opc_request_id: (optional)
304
+ Unique Oracle-assigned identifier for the request. If you need to contact
305
+ Oracle about a particular request, please provide the request ID.
306
+ The only valid characters for request IDs are letters, numbers,
307
+ underscore, and dash.
308
+
309
+ :param bool should_update_recent: (optional)
310
+ A flag to identify if the recent list should be updated.
311
+
312
+ :param obj retry_strategy: (optional)
313
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
314
+
315
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
316
+ 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>`__.
317
+
318
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
319
+
320
+ :return: A :class:`~oci.response.Response` object with data of type None
321
+ :rtype: :class:`~oci.response.Response`
322
+ """
323
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/recipients/{recipientKey}"
324
+ method = "DELETE"
325
+
326
+ # Don't accept unknown kwargs
327
+ expected_kwargs = [
328
+ "retry_strategy",
329
+ "if_match",
330
+ "opc_request_id",
331
+ "should_update_recent"
332
+ ]
333
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
334
+ if extra_kwargs:
335
+ raise ValueError(
336
+ "delete_recipient got unknown kwargs: {!r}".format(extra_kwargs))
337
+
338
+ path_params = {
339
+ "aiDataPlatformId": ai_data_platform_id,
340
+ "recipientKey": recipient_key
341
+ }
342
+
343
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
344
+
345
+ for (k, v) in six.iteritems(path_params):
346
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
347
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
348
+
349
+ header_params = {
350
+ "accept": "application/json",
351
+ "content-type": "application/json",
352
+ "if-match": kwargs.get("if_match", missing),
353
+ "opc-request-id": kwargs.get("opc_request_id", missing),
354
+ "should-update-recent": kwargs.get("should_update_recent", missing)
355
+ }
356
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
357
+
358
+ retry_strategy = self.retry_strategy
359
+ if kwargs.get('retry_strategy'):
360
+ retry_strategy = kwargs.get('retry_strategy')
361
+
362
+ if retry_strategy:
363
+ return retry_strategy.make_retrying_call(
364
+ self.base_client.call_api,
365
+ resource_path=resource_path,
366
+ method=method,
367
+ path_params=path_params,
368
+ header_params=header_params)
369
+ else:
370
+ return self.base_client.call_api(
371
+ resource_path=resource_path,
372
+ method=method,
373
+ path_params=path_params,
374
+ header_params=header_params)
375
+
376
+ def delete_share(self, ai_data_platform_id, share_key, **kwargs):
377
+ """
378
+ Deletes a Delta Share from an AI Data Platform Workbench.
379
+
380
+
381
+ :param str ai_data_platform_id: (required)
382
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
383
+
384
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
385
+
386
+ :param str share_key: (required)
387
+ The unique key of the Share.
388
+
389
+ :param str if_match: (optional)
390
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
391
+ `if-match` parameter to the value of the etag from a previous GET or POST response for
392
+ that resource. The resource will be updated or deleted only if the etag you provide
393
+ matches the resource's current etag value.
394
+
395
+ :param str opc_request_id: (optional)
396
+ Unique Oracle-assigned identifier for the request. If you need to contact
397
+ Oracle about a particular request, please provide the request ID.
398
+ The only valid characters for request IDs are letters, numbers,
399
+ underscore, and dash.
400
+
401
+ :param bool should_update_recent: (optional)
402
+ A flag to identify if the recent list should be updated.
403
+
404
+ :param obj retry_strategy: (optional)
405
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
406
+
407
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
408
+ 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>`__.
409
+
410
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
411
+
412
+ :return: A :class:`~oci.response.Response` object with data of type None
413
+ :rtype: :class:`~oci.response.Response`
414
+ """
415
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/shares/{shareKey}"
416
+ method = "DELETE"
417
+
418
+ # Don't accept unknown kwargs
419
+ expected_kwargs = [
420
+ "retry_strategy",
421
+ "if_match",
422
+ "opc_request_id",
423
+ "should_update_recent"
424
+ ]
425
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
426
+ if extra_kwargs:
427
+ raise ValueError(
428
+ "delete_share got unknown kwargs: {!r}".format(extra_kwargs))
429
+
430
+ path_params = {
431
+ "aiDataPlatformId": ai_data_platform_id,
432
+ "shareKey": share_key
433
+ }
434
+
435
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
436
+
437
+ for (k, v) in six.iteritems(path_params):
438
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
439
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
440
+
441
+ header_params = {
442
+ "accept": "application/json",
443
+ "content-type": "application/json",
444
+ "if-match": kwargs.get("if_match", missing),
445
+ "opc-request-id": kwargs.get("opc_request_id", missing),
446
+ "should-update-recent": kwargs.get("should_update_recent", missing)
447
+ }
448
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
449
+
450
+ retry_strategy = self.retry_strategy
451
+ if kwargs.get('retry_strategy'):
452
+ retry_strategy = kwargs.get('retry_strategy')
453
+
454
+ if retry_strategy:
455
+ return retry_strategy.make_retrying_call(
456
+ self.base_client.call_api,
457
+ resource_path=resource_path,
458
+ method=method,
459
+ path_params=path_params,
460
+ header_params=header_params)
461
+ else:
462
+ return self.base_client.call_api(
463
+ resource_path=resource_path,
464
+ method=method,
465
+ path_params=path_params,
466
+ header_params=header_params)
467
+
468
+ def get_recipient(self, ai_data_platform_id, recipient_key, **kwargs):
469
+ """
470
+ Gets detailed information about a Delta Share recipient in an AI Data Platform Workbench instance.
471
+
472
+
473
+ :param str ai_data_platform_id: (required)
474
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
475
+
476
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
477
+
478
+ :param str recipient_key: (required)
479
+ The key of the recipient resource
480
+
481
+ :param str opc_request_id: (optional)
482
+ Unique Oracle-assigned identifier for the request. If you need to contact
483
+ Oracle about a particular request, please provide the request ID.
484
+ The only valid characters for request IDs are letters, numbers,
485
+ underscore, and dash.
486
+
487
+ :param bool should_update_recent: (optional)
488
+ A flag to identify if the recent list should be updated.
489
+
490
+ :param obj retry_strategy: (optional)
491
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
492
+
493
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
494
+ 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>`__.
495
+
496
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
497
+
498
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.Recipient`
499
+ :rtype: :class:`~oci.response.Response`
500
+ """
501
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/recipients/{recipientKey}"
502
+ method = "GET"
503
+
504
+ # Don't accept unknown kwargs
505
+ expected_kwargs = [
506
+ "retry_strategy",
507
+ "opc_request_id",
508
+ "should_update_recent"
509
+ ]
510
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
511
+ if extra_kwargs:
512
+ raise ValueError(
513
+ "get_recipient got unknown kwargs: {!r}".format(extra_kwargs))
514
+
515
+ path_params = {
516
+ "aiDataPlatformId": ai_data_platform_id,
517
+ "recipientKey": recipient_key
518
+ }
519
+
520
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
521
+
522
+ for (k, v) in six.iteritems(path_params):
523
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
524
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
525
+
526
+ header_params = {
527
+ "accept": "application/json",
528
+ "content-type": "application/json",
529
+ "opc-request-id": kwargs.get("opc_request_id", missing),
530
+ "should-update-recent": kwargs.get("should_update_recent", missing)
531
+ }
532
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
533
+
534
+ retry_strategy = self.retry_strategy
535
+ if kwargs.get('retry_strategy'):
536
+ retry_strategy = kwargs.get('retry_strategy')
537
+
538
+ if retry_strategy:
539
+ return retry_strategy.make_retrying_call(
540
+ self.base_client.call_api,
541
+ resource_path=resource_path,
542
+ method=method,
543
+ path_params=path_params,
544
+ header_params=header_params,
545
+ response_type="Recipient")
546
+ else:
547
+ return self.base_client.call_api(
548
+ resource_path=resource_path,
549
+ method=method,
550
+ path_params=path_params,
551
+ header_params=header_params,
552
+ response_type="Recipient")
553
+
554
+ def get_share(self, ai_data_platform_id, share_key, **kwargs):
555
+ """
556
+ Gets detailed information about a Delta Share.
557
+
558
+
559
+ :param str ai_data_platform_id: (required)
560
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
561
+
562
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
563
+
564
+ :param str share_key: (required)
565
+ The unique key of the Share.
566
+
567
+ :param str opc_request_id: (optional)
568
+ Unique Oracle-assigned identifier for the request. If you need to contact
569
+ Oracle about a particular request, please provide the request ID.
570
+ The only valid characters for request IDs are letters, numbers,
571
+ underscore, and dash.
572
+
573
+ :param bool should_update_recent: (optional)
574
+ A flag to identify if the recent list should be updated.
575
+
576
+ :param obj retry_strategy: (optional)
577
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
578
+
579
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
580
+ 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>`__.
581
+
582
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
583
+
584
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.Share`
585
+ :rtype: :class:`~oci.response.Response`
586
+ """
587
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/shares/{shareKey}"
588
+ method = "GET"
589
+
590
+ # Don't accept unknown kwargs
591
+ expected_kwargs = [
592
+ "retry_strategy",
593
+ "opc_request_id",
594
+ "should_update_recent"
595
+ ]
596
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
597
+ if extra_kwargs:
598
+ raise ValueError(
599
+ "get_share got unknown kwargs: {!r}".format(extra_kwargs))
600
+
601
+ path_params = {
602
+ "aiDataPlatformId": ai_data_platform_id,
603
+ "shareKey": share_key
604
+ }
605
+
606
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
607
+
608
+ for (k, v) in six.iteritems(path_params):
609
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
610
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
611
+
612
+ header_params = {
613
+ "accept": "application/json",
614
+ "content-type": "application/json",
615
+ "opc-request-id": kwargs.get("opc_request_id", missing),
616
+ "should-update-recent": kwargs.get("should_update_recent", missing)
617
+ }
618
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
619
+
620
+ retry_strategy = self.retry_strategy
621
+ if kwargs.get('retry_strategy'):
622
+ retry_strategy = kwargs.get('retry_strategy')
623
+
624
+ if retry_strategy:
625
+ return retry_strategy.make_retrying_call(
626
+ self.base_client.call_api,
627
+ resource_path=resource_path,
628
+ method=method,
629
+ path_params=path_params,
630
+ header_params=header_params,
631
+ response_type="Share")
632
+ else:
633
+ return self.base_client.call_api(
634
+ resource_path=resource_path,
635
+ method=method,
636
+ path_params=path_params,
637
+ header_params=header_params,
638
+ response_type="Share")
639
+
640
+ def list_recipient_permissions(self, ai_data_platform_id, recipient_key, **kwargs):
641
+ """
642
+ Gets a detailed list of Delta Share recipient permissions.
643
+
644
+
645
+ :param str ai_data_platform_id: (required)
646
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
647
+
648
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
649
+
650
+ :param str recipient_key: (required)
651
+ The key of the recipient resource
652
+
653
+ :param int limit: (optional)
654
+ For list pagination. The maximum number of results per page, or items to return in a
655
+ paginated \"List\" call. For important details about how pagination works, see
656
+ `List Pagination`__.
657
+
658
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
659
+
660
+ :param str page: (optional)
661
+ For list pagination. The value of the opc-next-page response header from the previous
662
+ \"List\" call. For important details about how pagination works, see
663
+ `List Pagination`__.
664
+
665
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
666
+
667
+ :param str sort_order: (optional)
668
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
669
+
670
+ Allowed values are: "ASC", "DESC"
671
+
672
+ :param str sort_by: (optional)
673
+ The field to sort by. Default order for `grantee` is ascending.
674
+
675
+ Allowed values are: "grantee"
676
+
677
+ :param str opc_request_id: (optional)
678
+ Unique Oracle-assigned identifier for the request. If you need to contact
679
+ Oracle about a particular request, please provide the request ID.
680
+ The only valid characters for request IDs are letters, numbers,
681
+ underscore, and dash.
682
+
683
+ :param bool should_update_recent: (optional)
684
+ A flag to identify if the recent list should be updated.
685
+
686
+ :param obj retry_strategy: (optional)
687
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
688
+
689
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
690
+ 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>`__.
691
+
692
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
693
+
694
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.RecipientPermissionCollection`
695
+ :rtype: :class:`~oci.response.Response`
696
+ """
697
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/recipients/{recipientKey}/permissions"
698
+ method = "GET"
699
+
700
+ # Don't accept unknown kwargs
701
+ expected_kwargs = [
702
+ "retry_strategy",
703
+ "limit",
704
+ "page",
705
+ "sort_order",
706
+ "sort_by",
707
+ "opc_request_id",
708
+ "should_update_recent"
709
+ ]
710
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
711
+ if extra_kwargs:
712
+ raise ValueError(
713
+ "list_recipient_permissions got unknown kwargs: {!r}".format(extra_kwargs))
714
+
715
+ path_params = {
716
+ "aiDataPlatformId": ai_data_platform_id,
717
+ "recipientKey": recipient_key
718
+ }
719
+
720
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
721
+
722
+ for (k, v) in six.iteritems(path_params):
723
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
724
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
725
+
726
+ if 'sort_order' in kwargs:
727
+ sort_order_allowed_values = ["ASC", "DESC"]
728
+ if kwargs['sort_order'] not in sort_order_allowed_values:
729
+ raise ValueError(
730
+ "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
731
+ )
732
+
733
+ if 'sort_by' in kwargs:
734
+ sort_by_allowed_values = ["grantee"]
735
+ if kwargs['sort_by'] not in sort_by_allowed_values:
736
+ raise ValueError(
737
+ "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
738
+ )
739
+
740
+ query_params = {
741
+ "limit": kwargs.get("limit", missing),
742
+ "page": kwargs.get("page", missing),
743
+ "sortOrder": kwargs.get("sort_order", missing),
744
+ "sortBy": kwargs.get("sort_by", missing)
745
+ }
746
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
747
+
748
+ header_params = {
749
+ "accept": "application/json",
750
+ "content-type": "application/json",
751
+ "opc-request-id": kwargs.get("opc_request_id", missing),
752
+ "should-update-recent": kwargs.get("should_update_recent", missing)
753
+ }
754
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
755
+
756
+ retry_strategy = self.retry_strategy
757
+ if kwargs.get('retry_strategy'):
758
+ retry_strategy = kwargs.get('retry_strategy')
759
+
760
+ if retry_strategy:
761
+ return retry_strategy.make_retrying_call(
762
+ self.base_client.call_api,
763
+ resource_path=resource_path,
764
+ method=method,
765
+ path_params=path_params,
766
+ query_params=query_params,
767
+ header_params=header_params,
768
+ response_type="RecipientPermissionCollection")
769
+ else:
770
+ return self.base_client.call_api(
771
+ resource_path=resource_path,
772
+ method=method,
773
+ path_params=path_params,
774
+ query_params=query_params,
775
+ header_params=header_params,
776
+ response_type="RecipientPermissionCollection")
777
+
778
+ def list_recipient_shares(self, ai_data_platform_id, recipient_key, **kwargs):
779
+ """
780
+ Returns a list of Delta Shares that the specified recipient has been granted access to.
781
+
782
+
783
+ :param str ai_data_platform_id: (required)
784
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
785
+
786
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
787
+
788
+ :param str recipient_key: (required)
789
+ The key of the recipient resource
790
+
791
+ :param str display_name: (optional)
792
+ A filter to return only resources that match the given display name exactly.
793
+
794
+ :param int limit: (optional)
795
+ For list pagination. The maximum number of results per page, or items to return in a
796
+ paginated \"List\" call. For important details about how pagination works, see
797
+ `List Pagination`__.
798
+
799
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
800
+
801
+ :param str page: (optional)
802
+ For list pagination. The value of the opc-next-page response header from the previous
803
+ \"List\" call. For important details about how pagination works, see
804
+ `List Pagination`__.
805
+
806
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
807
+
808
+ :param str sort_order: (optional)
809
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
810
+
811
+ Allowed values are: "ASC", "DESC"
812
+
813
+ :param str sort_by: (optional)
814
+ The field to sort by. You can provide only one sort order. Default order for `timeCreated`
815
+ is descending. Default order for `displayName` is ascending.
816
+
817
+ Allowed values are: "timeCreated", "displayName"
818
+
819
+ :param str opc_request_id: (optional)
820
+ Unique Oracle-assigned identifier for the request. If you need to contact
821
+ Oracle about a particular request, please provide the request ID.
822
+ The only valid characters for request IDs are letters, numbers,
823
+ underscore, and dash.
824
+
825
+ :param bool should_update_recent: (optional)
826
+ A flag to identify if the recent list should be updated.
827
+
828
+ :param obj retry_strategy: (optional)
829
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
830
+
831
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
832
+ 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>`__.
833
+
834
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
835
+
836
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.ShareCollection`
837
+ :rtype: :class:`~oci.response.Response`
838
+ """
839
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/recipients/{recipientKey}/shares"
840
+ method = "GET"
841
+
842
+ # Don't accept unknown kwargs
843
+ expected_kwargs = [
844
+ "retry_strategy",
845
+ "display_name",
846
+ "limit",
847
+ "page",
848
+ "sort_order",
849
+ "sort_by",
850
+ "opc_request_id",
851
+ "should_update_recent"
852
+ ]
853
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
854
+ if extra_kwargs:
855
+ raise ValueError(
856
+ "list_recipient_shares got unknown kwargs: {!r}".format(extra_kwargs))
857
+
858
+ path_params = {
859
+ "aiDataPlatformId": ai_data_platform_id,
860
+ "recipientKey": recipient_key
861
+ }
862
+
863
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
864
+
865
+ for (k, v) in six.iteritems(path_params):
866
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
867
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
868
+
869
+ if 'sort_order' in kwargs:
870
+ sort_order_allowed_values = ["ASC", "DESC"]
871
+ if kwargs['sort_order'] not in sort_order_allowed_values:
872
+ raise ValueError(
873
+ "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
874
+ )
875
+
876
+ if 'sort_by' in kwargs:
877
+ sort_by_allowed_values = ["timeCreated", "displayName"]
878
+ if kwargs['sort_by'] not in sort_by_allowed_values:
879
+ raise ValueError(
880
+ "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
881
+ )
882
+
883
+ query_params = {
884
+ "displayName": kwargs.get("display_name", missing),
885
+ "limit": kwargs.get("limit", missing),
886
+ "page": kwargs.get("page", missing),
887
+ "sortOrder": kwargs.get("sort_order", missing),
888
+ "sortBy": kwargs.get("sort_by", missing)
889
+ }
890
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
891
+
892
+ header_params = {
893
+ "accept": "application/json",
894
+ "content-type": "application/json",
895
+ "opc-request-id": kwargs.get("opc_request_id", missing),
896
+ "should-update-recent": kwargs.get("should_update_recent", missing)
897
+ }
898
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
899
+
900
+ retry_strategy = self.retry_strategy
901
+ if kwargs.get('retry_strategy'):
902
+ retry_strategy = kwargs.get('retry_strategy')
903
+
904
+ if retry_strategy:
905
+ return retry_strategy.make_retrying_call(
906
+ self.base_client.call_api,
907
+ resource_path=resource_path,
908
+ method=method,
909
+ path_params=path_params,
910
+ query_params=query_params,
911
+ header_params=header_params,
912
+ response_type="ShareCollection")
913
+ else:
914
+ return self.base_client.call_api(
915
+ resource_path=resource_path,
916
+ method=method,
917
+ path_params=path_params,
918
+ query_params=query_params,
919
+ header_params=header_params,
920
+ response_type="ShareCollection")
921
+
922
+ def list_recipients(self, ai_data_platform_id, **kwargs):
923
+ """
924
+ Gets a list of Delta Share recipients in a AI Data Platform Workbench instance.
925
+
926
+
927
+ :param str ai_data_platform_id: (required)
928
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
929
+
930
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
931
+
932
+ :param str display_name: (optional)
933
+ A filter to return only resources that match the given display name exactly.
934
+
935
+ :param int limit: (optional)
936
+ For list pagination. The maximum number of results per page, or items to return in a
937
+ paginated \"List\" call. For important details about how pagination works, see
938
+ `List Pagination`__.
939
+
940
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
941
+
942
+ :param str page: (optional)
943
+ For list pagination. The value of the opc-next-page response header from the previous
944
+ \"List\" call. For important details about how pagination works, see
945
+ `List Pagination`__.
946
+
947
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
948
+
949
+ :param str sort_order: (optional)
950
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
951
+
952
+ Allowed values are: "ASC", "DESC"
953
+
954
+ :param str sort_by: (optional)
955
+ The field to sort by. You can provide only one sort order. Default order for `timeCreated`
956
+ is descending. Default order for `displayName` is ascending.
957
+
958
+ Allowed values are: "timeCreated", "displayName"
959
+
960
+ :param str opc_request_id: (optional)
961
+ Unique Oracle-assigned identifier for the request. If you need to contact
962
+ Oracle about a particular request, please provide the request ID.
963
+ The only valid characters for request IDs are letters, numbers,
964
+ underscore, and dash.
965
+
966
+ :param obj retry_strategy: (optional)
967
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
968
+
969
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
970
+ 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>`__.
971
+
972
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
973
+
974
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.RecipientCollection`
975
+ :rtype: :class:`~oci.response.Response`
976
+ """
977
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/recipients"
978
+ method = "GET"
979
+
980
+ # Don't accept unknown kwargs
981
+ expected_kwargs = [
982
+ "retry_strategy",
983
+ "display_name",
984
+ "limit",
985
+ "page",
986
+ "sort_order",
987
+ "sort_by",
988
+ "opc_request_id"
989
+ ]
990
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
991
+ if extra_kwargs:
992
+ raise ValueError(
993
+ "list_recipients got unknown kwargs: {!r}".format(extra_kwargs))
994
+
995
+ path_params = {
996
+ "aiDataPlatformId": ai_data_platform_id
997
+ }
998
+
999
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1000
+
1001
+ for (k, v) in six.iteritems(path_params):
1002
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1003
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1004
+
1005
+ if 'sort_order' in kwargs:
1006
+ sort_order_allowed_values = ["ASC", "DESC"]
1007
+ if kwargs['sort_order'] not in sort_order_allowed_values:
1008
+ raise ValueError(
1009
+ "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
1010
+ )
1011
+
1012
+ if 'sort_by' in kwargs:
1013
+ sort_by_allowed_values = ["timeCreated", "displayName"]
1014
+ if kwargs['sort_by'] not in sort_by_allowed_values:
1015
+ raise ValueError(
1016
+ "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
1017
+ )
1018
+
1019
+ query_params = {
1020
+ "displayName": kwargs.get("display_name", missing),
1021
+ "limit": kwargs.get("limit", missing),
1022
+ "page": kwargs.get("page", missing),
1023
+ "sortOrder": kwargs.get("sort_order", missing),
1024
+ "sortBy": kwargs.get("sort_by", missing)
1025
+ }
1026
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
1027
+
1028
+ header_params = {
1029
+ "accept": "application/json",
1030
+ "content-type": "application/json",
1031
+ "opc-request-id": kwargs.get("opc_request_id", missing)
1032
+ }
1033
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1034
+
1035
+ retry_strategy = self.retry_strategy
1036
+ if kwargs.get('retry_strategy'):
1037
+ retry_strategy = kwargs.get('retry_strategy')
1038
+
1039
+ if retry_strategy:
1040
+ return retry_strategy.make_retrying_call(
1041
+ self.base_client.call_api,
1042
+ resource_path=resource_path,
1043
+ method=method,
1044
+ path_params=path_params,
1045
+ query_params=query_params,
1046
+ header_params=header_params,
1047
+ response_type="RecipientCollection")
1048
+ else:
1049
+ return self.base_client.call_api(
1050
+ resource_path=resource_path,
1051
+ method=method,
1052
+ path_params=path_params,
1053
+ query_params=query_params,
1054
+ header_params=header_params,
1055
+ response_type="RecipientCollection")
1056
+
1057
+ def list_share_data_assets(self, ai_data_platform_id, share_key, **kwargs):
1058
+ """
1059
+ Gets a list of Delta Shares assets in an AI Data Platform Workbench instance.
1060
+
1061
+
1062
+ :param str ai_data_platform_id: (required)
1063
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1064
+
1065
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1066
+
1067
+ :param str share_key: (required)
1068
+ The unique key of the Share.
1069
+
1070
+ :param str display_name: (optional)
1071
+ A filter to return only resources that match the given display name exactly.
1072
+
1073
+ :param int limit: (optional)
1074
+ For list pagination. The maximum number of results per page, or items to return in a
1075
+ paginated \"List\" call. For important details about how pagination works, see
1076
+ `List Pagination`__.
1077
+
1078
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
1079
+
1080
+ :param str page: (optional)
1081
+ For list pagination. The value of the opc-next-page response header from the previous
1082
+ \"List\" call. For important details about how pagination works, see
1083
+ `List Pagination`__.
1084
+
1085
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
1086
+
1087
+ :param str sort_order: (optional)
1088
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
1089
+
1090
+ Allowed values are: "ASC", "DESC"
1091
+
1092
+ :param str sort_by: (optional)
1093
+ The field to sort by. You can provide only one sort order. Default order for `timeCreated`
1094
+ is descending. Default order for `displayName` is ascending.
1095
+
1096
+ Allowed values are: "timeCreated", "displayName"
1097
+
1098
+ :param str opc_request_id: (optional)
1099
+ Unique Oracle-assigned identifier for the request. If you need to contact
1100
+ Oracle about a particular request, please provide the request ID.
1101
+ The only valid characters for request IDs are letters, numbers,
1102
+ underscore, and dash.
1103
+
1104
+ :param bool should_update_recent: (optional)
1105
+ A flag to identify if the recent list should be updated.
1106
+
1107
+ :param obj retry_strategy: (optional)
1108
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1109
+
1110
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1111
+ 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>`__.
1112
+
1113
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1114
+
1115
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.ShareDataAssetCollection`
1116
+ :rtype: :class:`~oci.response.Response`
1117
+ """
1118
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/shares/{shareKey}/dataAssets"
1119
+ method = "GET"
1120
+
1121
+ # Don't accept unknown kwargs
1122
+ expected_kwargs = [
1123
+ "retry_strategy",
1124
+ "display_name",
1125
+ "limit",
1126
+ "page",
1127
+ "sort_order",
1128
+ "sort_by",
1129
+ "opc_request_id",
1130
+ "should_update_recent"
1131
+ ]
1132
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1133
+ if extra_kwargs:
1134
+ raise ValueError(
1135
+ "list_share_data_assets got unknown kwargs: {!r}".format(extra_kwargs))
1136
+
1137
+ path_params = {
1138
+ "aiDataPlatformId": ai_data_platform_id,
1139
+ "shareKey": share_key
1140
+ }
1141
+
1142
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1143
+
1144
+ for (k, v) in six.iteritems(path_params):
1145
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1146
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1147
+
1148
+ if 'sort_order' in kwargs:
1149
+ sort_order_allowed_values = ["ASC", "DESC"]
1150
+ if kwargs['sort_order'] not in sort_order_allowed_values:
1151
+ raise ValueError(
1152
+ "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
1153
+ )
1154
+
1155
+ if 'sort_by' in kwargs:
1156
+ sort_by_allowed_values = ["timeCreated", "displayName"]
1157
+ if kwargs['sort_by'] not in sort_by_allowed_values:
1158
+ raise ValueError(
1159
+ "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
1160
+ )
1161
+
1162
+ query_params = {
1163
+ "displayName": kwargs.get("display_name", missing),
1164
+ "limit": kwargs.get("limit", missing),
1165
+ "page": kwargs.get("page", missing),
1166
+ "sortOrder": kwargs.get("sort_order", missing),
1167
+ "sortBy": kwargs.get("sort_by", missing)
1168
+ }
1169
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
1170
+
1171
+ header_params = {
1172
+ "accept": "application/json",
1173
+ "content-type": "application/json",
1174
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1175
+ "should-update-recent": kwargs.get("should_update_recent", missing)
1176
+ }
1177
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1178
+
1179
+ retry_strategy = self.retry_strategy
1180
+ if kwargs.get('retry_strategy'):
1181
+ retry_strategy = kwargs.get('retry_strategy')
1182
+
1183
+ if retry_strategy:
1184
+ return retry_strategy.make_retrying_call(
1185
+ self.base_client.call_api,
1186
+ resource_path=resource_path,
1187
+ method=method,
1188
+ path_params=path_params,
1189
+ query_params=query_params,
1190
+ header_params=header_params,
1191
+ response_type="ShareDataAssetCollection")
1192
+ else:
1193
+ return self.base_client.call_api(
1194
+ resource_path=resource_path,
1195
+ method=method,
1196
+ path_params=path_params,
1197
+ query_params=query_params,
1198
+ header_params=header_params,
1199
+ response_type="ShareDataAssetCollection")
1200
+
1201
+ def list_share_permissions(self, ai_data_platform_id, share_key, **kwargs):
1202
+ """
1203
+ Returns a list of Delta Shares that the specified recipient has been granted access to.
1204
+
1205
+
1206
+ :param str ai_data_platform_id: (required)
1207
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1208
+
1209
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1210
+
1211
+ :param str share_key: (required)
1212
+ The unique key of the Share.
1213
+
1214
+ :param int limit: (optional)
1215
+ For list pagination. The maximum number of results per page, or items to return in a
1216
+ paginated \"List\" call. For important details about how pagination works, see
1217
+ `List Pagination`__.
1218
+
1219
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
1220
+
1221
+ :param str page: (optional)
1222
+ For list pagination. The value of the opc-next-page response header from the previous
1223
+ \"List\" call. For important details about how pagination works, see
1224
+ `List Pagination`__.
1225
+
1226
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
1227
+
1228
+ :param str sort_order: (optional)
1229
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
1230
+
1231
+ Allowed values are: "ASC", "DESC"
1232
+
1233
+ :param str sort_by: (optional)
1234
+ The field to sort by. You can provide only one sort order. Default order for `grantee`
1235
+ is ascending. Default order for `granteeType` is ascending.
1236
+
1237
+ Allowed values are: "grantee", "granteeType"
1238
+
1239
+ :param str opc_request_id: (optional)
1240
+ Unique Oracle-assigned identifier for the request. If you need to contact
1241
+ Oracle about a particular request, please provide the request ID.
1242
+ The only valid characters for request IDs are letters, numbers,
1243
+ underscore, and dash.
1244
+
1245
+ :param bool should_update_recent: (optional)
1246
+ A flag to identify if the recent list should be updated.
1247
+
1248
+ :param obj retry_strategy: (optional)
1249
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1250
+
1251
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1252
+ 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>`__.
1253
+
1254
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1255
+
1256
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.SharePermissionCollection`
1257
+ :rtype: :class:`~oci.response.Response`
1258
+ """
1259
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/shares/{shareKey}/permissions"
1260
+ method = "GET"
1261
+
1262
+ # Don't accept unknown kwargs
1263
+ expected_kwargs = [
1264
+ "retry_strategy",
1265
+ "limit",
1266
+ "page",
1267
+ "sort_order",
1268
+ "sort_by",
1269
+ "opc_request_id",
1270
+ "should_update_recent"
1271
+ ]
1272
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1273
+ if extra_kwargs:
1274
+ raise ValueError(
1275
+ "list_share_permissions got unknown kwargs: {!r}".format(extra_kwargs))
1276
+
1277
+ path_params = {
1278
+ "aiDataPlatformId": ai_data_platform_id,
1279
+ "shareKey": share_key
1280
+ }
1281
+
1282
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1283
+
1284
+ for (k, v) in six.iteritems(path_params):
1285
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1286
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1287
+
1288
+ if 'sort_order' in kwargs:
1289
+ sort_order_allowed_values = ["ASC", "DESC"]
1290
+ if kwargs['sort_order'] not in sort_order_allowed_values:
1291
+ raise ValueError(
1292
+ "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
1293
+ )
1294
+
1295
+ if 'sort_by' in kwargs:
1296
+ sort_by_allowed_values = ["grantee", "granteeType"]
1297
+ if kwargs['sort_by'] not in sort_by_allowed_values:
1298
+ raise ValueError(
1299
+ "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
1300
+ )
1301
+
1302
+ query_params = {
1303
+ "limit": kwargs.get("limit", missing),
1304
+ "page": kwargs.get("page", missing),
1305
+ "sortOrder": kwargs.get("sort_order", missing),
1306
+ "sortBy": kwargs.get("sort_by", missing)
1307
+ }
1308
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
1309
+
1310
+ header_params = {
1311
+ "accept": "application/json",
1312
+ "content-type": "application/json",
1313
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1314
+ "should-update-recent": kwargs.get("should_update_recent", missing)
1315
+ }
1316
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1317
+
1318
+ retry_strategy = self.retry_strategy
1319
+ if kwargs.get('retry_strategy'):
1320
+ retry_strategy = kwargs.get('retry_strategy')
1321
+
1322
+ if retry_strategy:
1323
+ return retry_strategy.make_retrying_call(
1324
+ self.base_client.call_api,
1325
+ resource_path=resource_path,
1326
+ method=method,
1327
+ path_params=path_params,
1328
+ query_params=query_params,
1329
+ header_params=header_params,
1330
+ response_type="SharePermissionCollection")
1331
+ else:
1332
+ return self.base_client.call_api(
1333
+ resource_path=resource_path,
1334
+ method=method,
1335
+ path_params=path_params,
1336
+ query_params=query_params,
1337
+ header_params=header_params,
1338
+ response_type="SharePermissionCollection")
1339
+
1340
+ def list_share_recipients(self, ai_data_platform_id, share_key, **kwargs):
1341
+ """
1342
+ Gets a list of recipients that have been given access on the specified Delta Share.
1343
+
1344
+
1345
+ :param str ai_data_platform_id: (required)
1346
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1347
+
1348
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1349
+
1350
+ :param str share_key: (required)
1351
+ The unique key of the Share.
1352
+
1353
+ :param str display_name: (optional)
1354
+ A filter to return only resources that match the given display name exactly.
1355
+
1356
+ :param int limit: (optional)
1357
+ For list pagination. The maximum number of results per page, or items to return in a
1358
+ paginated \"List\" call. For important details about how pagination works, see
1359
+ `List Pagination`__.
1360
+
1361
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
1362
+
1363
+ :param str page: (optional)
1364
+ For list pagination. The value of the opc-next-page response header from the previous
1365
+ \"List\" call. For important details about how pagination works, see
1366
+ `List Pagination`__.
1367
+
1368
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
1369
+
1370
+ :param str sort_order: (optional)
1371
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
1372
+
1373
+ Allowed values are: "ASC", "DESC"
1374
+
1375
+ :param str sort_by: (optional)
1376
+ The field to sort by. You can provide only one sort order. Default order for `timeCreated`
1377
+ is descending. Default order for `displayName` is ascending.
1378
+
1379
+ Allowed values are: "timeCreated", "displayName"
1380
+
1381
+ :param str opc_request_id: (optional)
1382
+ Unique Oracle-assigned identifier for the request. If you need to contact
1383
+ Oracle about a particular request, please provide the request ID.
1384
+ The only valid characters for request IDs are letters, numbers,
1385
+ underscore, and dash.
1386
+
1387
+ :param bool should_update_recent: (optional)
1388
+ A flag to identify if the recent list should be updated.
1389
+
1390
+ :param obj retry_strategy: (optional)
1391
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1392
+
1393
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1394
+ 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>`__.
1395
+
1396
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1397
+
1398
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.RecipientCollection`
1399
+ :rtype: :class:`~oci.response.Response`
1400
+ """
1401
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/shares/{shareKey}/recipients"
1402
+ method = "GET"
1403
+
1404
+ # Don't accept unknown kwargs
1405
+ expected_kwargs = [
1406
+ "retry_strategy",
1407
+ "display_name",
1408
+ "limit",
1409
+ "page",
1410
+ "sort_order",
1411
+ "sort_by",
1412
+ "opc_request_id",
1413
+ "should_update_recent"
1414
+ ]
1415
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1416
+ if extra_kwargs:
1417
+ raise ValueError(
1418
+ "list_share_recipients got unknown kwargs: {!r}".format(extra_kwargs))
1419
+
1420
+ path_params = {
1421
+ "aiDataPlatformId": ai_data_platform_id,
1422
+ "shareKey": share_key
1423
+ }
1424
+
1425
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1426
+
1427
+ for (k, v) in six.iteritems(path_params):
1428
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1429
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1430
+
1431
+ if 'sort_order' in kwargs:
1432
+ sort_order_allowed_values = ["ASC", "DESC"]
1433
+ if kwargs['sort_order'] not in sort_order_allowed_values:
1434
+ raise ValueError(
1435
+ "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
1436
+ )
1437
+
1438
+ if 'sort_by' in kwargs:
1439
+ sort_by_allowed_values = ["timeCreated", "displayName"]
1440
+ if kwargs['sort_by'] not in sort_by_allowed_values:
1441
+ raise ValueError(
1442
+ "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
1443
+ )
1444
+
1445
+ query_params = {
1446
+ "displayName": kwargs.get("display_name", missing),
1447
+ "limit": kwargs.get("limit", missing),
1448
+ "page": kwargs.get("page", missing),
1449
+ "sortOrder": kwargs.get("sort_order", missing),
1450
+ "sortBy": kwargs.get("sort_by", missing)
1451
+ }
1452
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
1453
+
1454
+ header_params = {
1455
+ "accept": "application/json",
1456
+ "content-type": "application/json",
1457
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1458
+ "should-update-recent": kwargs.get("should_update_recent", missing)
1459
+ }
1460
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1461
+
1462
+ retry_strategy = self.retry_strategy
1463
+ if kwargs.get('retry_strategy'):
1464
+ retry_strategy = kwargs.get('retry_strategy')
1465
+
1466
+ if retry_strategy:
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
+ query_params=query_params,
1473
+ header_params=header_params,
1474
+ response_type="RecipientCollection")
1475
+ else:
1476
+ return self.base_client.call_api(
1477
+ resource_path=resource_path,
1478
+ method=method,
1479
+ path_params=path_params,
1480
+ query_params=query_params,
1481
+ header_params=header_params,
1482
+ response_type="RecipientCollection")
1483
+
1484
+ def list_shares(self, ai_data_platform_id, **kwargs):
1485
+ """
1486
+ Gets a list of Delta Shares in an AI Data Platform Workbench instance.
1487
+
1488
+
1489
+ :param str ai_data_platform_id: (required)
1490
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1491
+
1492
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1493
+
1494
+ :param str display_name: (optional)
1495
+ A filter to return only resources that match the given display name exactly.
1496
+
1497
+ :param int limit: (optional)
1498
+ For list pagination. The maximum number of results per page, or items to return in a
1499
+ paginated \"List\" call. For important details about how pagination works, see
1500
+ `List Pagination`__.
1501
+
1502
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
1503
+
1504
+ :param str page: (optional)
1505
+ For list pagination. The value of the opc-next-page response header from the previous
1506
+ \"List\" call. For important details about how pagination works, see
1507
+ `List Pagination`__.
1508
+
1509
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
1510
+
1511
+ :param str sort_order: (optional)
1512
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
1513
+
1514
+ Allowed values are: "ASC", "DESC"
1515
+
1516
+ :param str sort_by: (optional)
1517
+ The field to sort by. You can provide only one sort order. Default order for `timeCreated`
1518
+ is descending. Default order for `displayName` is ascending.
1519
+
1520
+ Allowed values are: "timeCreated", "displayName"
1521
+
1522
+ :param str opc_request_id: (optional)
1523
+ Unique Oracle-assigned identifier for the request. If you need to contact
1524
+ Oracle about a particular request, please provide the request ID.
1525
+ The only valid characters for request IDs are letters, numbers,
1526
+ underscore, and dash.
1527
+
1528
+ :param obj retry_strategy: (optional)
1529
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1530
+
1531
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1532
+ 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>`__.
1533
+
1534
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1535
+
1536
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.ShareCollection`
1537
+ :rtype: :class:`~oci.response.Response`
1538
+ """
1539
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/shares"
1540
+ method = "GET"
1541
+
1542
+ # Don't accept unknown kwargs
1543
+ expected_kwargs = [
1544
+ "retry_strategy",
1545
+ "display_name",
1546
+ "limit",
1547
+ "page",
1548
+ "sort_order",
1549
+ "sort_by",
1550
+ "opc_request_id"
1551
+ ]
1552
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1553
+ if extra_kwargs:
1554
+ raise ValueError(
1555
+ "list_shares got unknown kwargs: {!r}".format(extra_kwargs))
1556
+
1557
+ path_params = {
1558
+ "aiDataPlatformId": ai_data_platform_id
1559
+ }
1560
+
1561
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1562
+
1563
+ for (k, v) in six.iteritems(path_params):
1564
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1565
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1566
+
1567
+ if 'sort_order' in kwargs:
1568
+ sort_order_allowed_values = ["ASC", "DESC"]
1569
+ if kwargs['sort_order'] not in sort_order_allowed_values:
1570
+ raise ValueError(
1571
+ "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
1572
+ )
1573
+
1574
+ if 'sort_by' in kwargs:
1575
+ sort_by_allowed_values = ["timeCreated", "displayName"]
1576
+ if kwargs['sort_by'] not in sort_by_allowed_values:
1577
+ raise ValueError(
1578
+ "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
1579
+ )
1580
+
1581
+ query_params = {
1582
+ "displayName": kwargs.get("display_name", missing),
1583
+ "limit": kwargs.get("limit", missing),
1584
+ "page": kwargs.get("page", missing),
1585
+ "sortOrder": kwargs.get("sort_order", missing),
1586
+ "sortBy": kwargs.get("sort_by", missing)
1587
+ }
1588
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
1589
+
1590
+ header_params = {
1591
+ "accept": "application/json",
1592
+ "content-type": "application/json",
1593
+ "opc-request-id": kwargs.get("opc_request_id", missing)
1594
+ }
1595
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1596
+
1597
+ retry_strategy = self.retry_strategy
1598
+ if kwargs.get('retry_strategy'):
1599
+ retry_strategy = kwargs.get('retry_strategy')
1600
+
1601
+ if retry_strategy:
1602
+ return retry_strategy.make_retrying_call(
1603
+ self.base_client.call_api,
1604
+ resource_path=resource_path,
1605
+ method=method,
1606
+ path_params=path_params,
1607
+ query_params=query_params,
1608
+ header_params=header_params,
1609
+ response_type="ShareCollection")
1610
+ else:
1611
+ return self.base_client.call_api(
1612
+ resource_path=resource_path,
1613
+ method=method,
1614
+ path_params=path_params,
1615
+ query_params=query_params,
1616
+ header_params=header_params,
1617
+ response_type="ShareCollection")
1618
+
1619
+ def manage_recipient_permission(self, ai_data_platform_id, recipient_key, manage_recipient_permission_details, **kwargs):
1620
+ """
1621
+ Updates the permissions of a Delta Share recipient in AI Data Platform Workbench.
1622
+
1623
+
1624
+ :param str ai_data_platform_id: (required)
1625
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1626
+
1627
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1628
+
1629
+ :param str recipient_key: (required)
1630
+ The key of the recipient resource
1631
+
1632
+ :param oci.aidataplatform_dp.models.ManageRecipientPermissionDetails manage_recipient_permission_details: (required)
1633
+ The information to be updated.
1634
+
1635
+ :param str if_match: (optional)
1636
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
1637
+ `if-match` parameter to the value of the etag from a previous GET or POST response for
1638
+ that resource. The resource will be updated or deleted only if the etag you provide
1639
+ matches the resource's current etag value.
1640
+
1641
+ :param str opc_request_id: (optional)
1642
+ Unique Oracle-assigned identifier for the request. If you need to contact
1643
+ Oracle about a particular request, please provide the request ID.
1644
+ The only valid characters for request IDs are letters, numbers,
1645
+ underscore, and dash.
1646
+
1647
+ :param bool should_update_recent: (optional)
1648
+ A flag to identify if the recent list should be updated.
1649
+
1650
+ :param obj retry_strategy: (optional)
1651
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1652
+
1653
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1654
+ 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>`__.
1655
+
1656
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1657
+
1658
+ :return: A :class:`~oci.response.Response` object with data of type None
1659
+ :rtype: :class:`~oci.response.Response`
1660
+ """
1661
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/recipients/{recipientKey}/actions/managePermission"
1662
+ method = "POST"
1663
+
1664
+ # Don't accept unknown kwargs
1665
+ expected_kwargs = [
1666
+ "retry_strategy",
1667
+ "if_match",
1668
+ "opc_request_id",
1669
+ "should_update_recent"
1670
+ ]
1671
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1672
+ if extra_kwargs:
1673
+ raise ValueError(
1674
+ "manage_recipient_permission got unknown kwargs: {!r}".format(extra_kwargs))
1675
+
1676
+ path_params = {
1677
+ "aiDataPlatformId": ai_data_platform_id,
1678
+ "recipientKey": recipient_key
1679
+ }
1680
+
1681
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1682
+
1683
+ for (k, v) in six.iteritems(path_params):
1684
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1685
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1686
+
1687
+ header_params = {
1688
+ "accept": "application/json",
1689
+ "content-type": "application/json",
1690
+ "if-match": kwargs.get("if_match", missing),
1691
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1692
+ "should-update-recent": kwargs.get("should_update_recent", missing)
1693
+ }
1694
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1695
+
1696
+ retry_strategy = self.retry_strategy
1697
+ if kwargs.get('retry_strategy'):
1698
+ retry_strategy = kwargs.get('retry_strategy')
1699
+
1700
+ if retry_strategy:
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
+ header_params=header_params,
1707
+ body=manage_recipient_permission_details)
1708
+ else:
1709
+ return self.base_client.call_api(
1710
+ resource_path=resource_path,
1711
+ method=method,
1712
+ path_params=path_params,
1713
+ header_params=header_params,
1714
+ body=manage_recipient_permission_details)
1715
+
1716
+ def manage_share_access(self, ai_data_platform_id, share_key, manage_share_access_details, **kwargs):
1717
+ """
1718
+ Updates consumer-side access on a share for a recipient. A provider user can grant or revoke access on a particular share for a given recipient.
1719
+
1720
+
1721
+ :param str ai_data_platform_id: (required)
1722
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1723
+
1724
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1725
+
1726
+ :param str share_key: (required)
1727
+ The unique key of the Share.
1728
+
1729
+ :param oci.aidataplatform_dp.models.ManageShareAccessDetails manage_share_access_details: (required)
1730
+ The information to be updated.
1731
+
1732
+ :param str if_match: (optional)
1733
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
1734
+ `if-match` parameter to the value of the etag from a previous GET or POST response for
1735
+ that resource. The resource will be updated or deleted only if the etag you provide
1736
+ matches the resource's current etag value.
1737
+
1738
+ :param str opc_retry_token: (optional)
1739
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
1740
+ server error without risk of running that same action again. Retry tokens expire after 24
1741
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
1742
+ has been deleted and removed from the system, then a retry of the original creation request
1743
+ might be rejected.
1744
+
1745
+ :param str opc_request_id: (optional)
1746
+ Unique Oracle-assigned identifier for the request. If you need to contact
1747
+ Oracle about a particular request, please provide the request ID.
1748
+ The only valid characters for request IDs are letters, numbers,
1749
+ underscore, and dash.
1750
+
1751
+ :param bool should_update_recent: (optional)
1752
+ A flag to identify if the recent list should be updated.
1753
+
1754
+ :param obj retry_strategy: (optional)
1755
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1756
+
1757
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1758
+ 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>`__.
1759
+
1760
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1761
+
1762
+ :return: A :class:`~oci.response.Response` object with data of type None
1763
+ :rtype: :class:`~oci.response.Response`
1764
+ """
1765
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/shares/{shareKey}/actions/manageAccess"
1766
+ method = "POST"
1767
+
1768
+ # Don't accept unknown kwargs
1769
+ expected_kwargs = [
1770
+ "retry_strategy",
1771
+ "if_match",
1772
+ "opc_retry_token",
1773
+ "opc_request_id",
1774
+ "should_update_recent"
1775
+ ]
1776
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1777
+ if extra_kwargs:
1778
+ raise ValueError(
1779
+ "manage_share_access got unknown kwargs: {!r}".format(extra_kwargs))
1780
+
1781
+ path_params = {
1782
+ "aiDataPlatformId": ai_data_platform_id,
1783
+ "shareKey": share_key
1784
+ }
1785
+
1786
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1787
+
1788
+ for (k, v) in six.iteritems(path_params):
1789
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1790
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1791
+
1792
+ header_params = {
1793
+ "accept": "application/json",
1794
+ "content-type": "application/json",
1795
+ "if-match": kwargs.get("if_match", missing),
1796
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
1797
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1798
+ "should-update-recent": kwargs.get("should_update_recent", missing)
1799
+ }
1800
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1801
+
1802
+ retry_strategy = self.retry_strategy
1803
+ if kwargs.get('retry_strategy'):
1804
+ retry_strategy = kwargs.get('retry_strategy')
1805
+
1806
+ if retry_strategy:
1807
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
1808
+ self.base_client.add_opc_retry_token_if_needed(header_params)
1809
+ return retry_strategy.make_retrying_call(
1810
+ self.base_client.call_api,
1811
+ resource_path=resource_path,
1812
+ method=method,
1813
+ path_params=path_params,
1814
+ header_params=header_params,
1815
+ body=manage_share_access_details)
1816
+ else:
1817
+ return self.base_client.call_api(
1818
+ resource_path=resource_path,
1819
+ method=method,
1820
+ path_params=path_params,
1821
+ header_params=header_params,
1822
+ body=manage_share_access_details)
1823
+
1824
+ def manage_share_data_asset(self, ai_data_platform_id, share_key, manage_share_data_asset_details, **kwargs):
1825
+ """
1826
+ Updates data assets on a Delta Share with the provided information.
1827
+
1828
+
1829
+ :param str ai_data_platform_id: (required)
1830
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1831
+
1832
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1833
+
1834
+ :param str share_key: (required)
1835
+ The unique key of the Share.
1836
+
1837
+ :param oci.aidataplatform_dp.models.ManageShareDataAssetDetails manage_share_data_asset_details: (required)
1838
+ The Delta Share data asset information to be updated.
1839
+
1840
+ :param str if_match: (optional)
1841
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
1842
+ `if-match` parameter to the value of the etag from a previous GET or POST response for
1843
+ that resource. The resource will be updated or deleted only if the etag you provide
1844
+ matches the resource's current etag value.
1845
+
1846
+ :param str opc_request_id: (optional)
1847
+ Unique Oracle-assigned identifier for the request. If you need to contact
1848
+ Oracle about a particular request, please provide the request ID.
1849
+ The only valid characters for request IDs are letters, numbers,
1850
+ underscore, and dash.
1851
+
1852
+ :param bool should_update_recent: (optional)
1853
+ A flag to identify if the recent list should be updated.
1854
+
1855
+ :param obj retry_strategy: (optional)
1856
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1857
+
1858
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1859
+ 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>`__.
1860
+
1861
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1862
+
1863
+ :return: A :class:`~oci.response.Response` object with data of type None
1864
+ :rtype: :class:`~oci.response.Response`
1865
+ """
1866
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/shares/{shareKey}/actions/manageDataAsset"
1867
+ method = "POST"
1868
+
1869
+ # Don't accept unknown kwargs
1870
+ expected_kwargs = [
1871
+ "retry_strategy",
1872
+ "if_match",
1873
+ "opc_request_id",
1874
+ "should_update_recent"
1875
+ ]
1876
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1877
+ if extra_kwargs:
1878
+ raise ValueError(
1879
+ "manage_share_data_asset got unknown kwargs: {!r}".format(extra_kwargs))
1880
+
1881
+ path_params = {
1882
+ "aiDataPlatformId": ai_data_platform_id,
1883
+ "shareKey": share_key
1884
+ }
1885
+
1886
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1887
+
1888
+ for (k, v) in six.iteritems(path_params):
1889
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1890
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1891
+
1892
+ header_params = {
1893
+ "accept": "application/json",
1894
+ "content-type": "application/json",
1895
+ "if-match": kwargs.get("if_match", missing),
1896
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1897
+ "should-update-recent": kwargs.get("should_update_recent", missing)
1898
+ }
1899
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1900
+
1901
+ retry_strategy = self.retry_strategy
1902
+ if kwargs.get('retry_strategy'):
1903
+ retry_strategy = kwargs.get('retry_strategy')
1904
+
1905
+ if retry_strategy:
1906
+ return retry_strategy.make_retrying_call(
1907
+ self.base_client.call_api,
1908
+ resource_path=resource_path,
1909
+ method=method,
1910
+ path_params=path_params,
1911
+ header_params=header_params,
1912
+ body=manage_share_data_asset_details)
1913
+ else:
1914
+ return self.base_client.call_api(
1915
+ resource_path=resource_path,
1916
+ method=method,
1917
+ path_params=path_params,
1918
+ header_params=header_params,
1919
+ body=manage_share_data_asset_details)
1920
+
1921
+ def manage_share_permission(self, ai_data_platform_id, share_key, manage_share_permission_details, **kwargs):
1922
+ """
1923
+ Updates permissions on a Delta Share.
1924
+
1925
+
1926
+ :param str ai_data_platform_id: (required)
1927
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
1928
+
1929
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
1930
+
1931
+ :param str share_key: (required)
1932
+ The unique key of the Share.
1933
+
1934
+ :param oci.aidataplatform_dp.models.ManageSharePermissionDetails manage_share_permission_details: (required)
1935
+ The information to be updated.
1936
+
1937
+ :param str if_match: (optional)
1938
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
1939
+ `if-match` parameter to the value of the etag from a previous GET or POST response for
1940
+ that resource. The resource will be updated or deleted only if the etag you provide
1941
+ matches the resource's current etag value.
1942
+
1943
+ :param str opc_request_id: (optional)
1944
+ Unique Oracle-assigned identifier for the request. If you need to contact
1945
+ Oracle about a particular request, please provide the request ID.
1946
+ The only valid characters for request IDs are letters, numbers,
1947
+ underscore, and dash.
1948
+
1949
+ :param bool should_update_recent: (optional)
1950
+ A flag to identify if the recent list should be updated.
1951
+
1952
+ :param obj retry_strategy: (optional)
1953
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
1954
+
1955
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
1956
+ 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>`__.
1957
+
1958
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
1959
+
1960
+ :return: A :class:`~oci.response.Response` object with data of type None
1961
+ :rtype: :class:`~oci.response.Response`
1962
+ """
1963
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/shares/{shareKey}/actions/managePermission"
1964
+ method = "POST"
1965
+
1966
+ # Don't accept unknown kwargs
1967
+ expected_kwargs = [
1968
+ "retry_strategy",
1969
+ "if_match",
1970
+ "opc_request_id",
1971
+ "should_update_recent"
1972
+ ]
1973
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
1974
+ if extra_kwargs:
1975
+ raise ValueError(
1976
+ "manage_share_permission got unknown kwargs: {!r}".format(extra_kwargs))
1977
+
1978
+ path_params = {
1979
+ "aiDataPlatformId": ai_data_platform_id,
1980
+ "shareKey": share_key
1981
+ }
1982
+
1983
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
1984
+
1985
+ for (k, v) in six.iteritems(path_params):
1986
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
1987
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
1988
+
1989
+ header_params = {
1990
+ "accept": "application/json",
1991
+ "content-type": "application/json",
1992
+ "if-match": kwargs.get("if_match", missing),
1993
+ "opc-request-id": kwargs.get("opc_request_id", missing),
1994
+ "should-update-recent": kwargs.get("should_update_recent", missing)
1995
+ }
1996
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
1997
+
1998
+ retry_strategy = self.retry_strategy
1999
+ if kwargs.get('retry_strategy'):
2000
+ retry_strategy = kwargs.get('retry_strategy')
2001
+
2002
+ if retry_strategy:
2003
+ return retry_strategy.make_retrying_call(
2004
+ self.base_client.call_api,
2005
+ resource_path=resource_path,
2006
+ method=method,
2007
+ path_params=path_params,
2008
+ header_params=header_params,
2009
+ body=manage_share_permission_details)
2010
+ else:
2011
+ return self.base_client.call_api(
2012
+ resource_path=resource_path,
2013
+ method=method,
2014
+ path_params=path_params,
2015
+ header_params=header_params,
2016
+ body=manage_share_permission_details)
2017
+
2018
+ def update_recipient(self, ai_data_platform_id, recipient_key, update_recipient_details, **kwargs):
2019
+ """
2020
+ Updates the metadata of a Delta Share recipient in a AI Data Platform Workbench instance.
2021
+
2022
+
2023
+ :param str ai_data_platform_id: (required)
2024
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
2025
+
2026
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
2027
+
2028
+ :param str recipient_key: (required)
2029
+ The key of the recipient resource
2030
+
2031
+ :param oci.aidataplatform_dp.models.UpdateRecipientDetails update_recipient_details: (required)
2032
+ The information to be updated for a recipient.
2033
+
2034
+ :param str if_match: (optional)
2035
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
2036
+ `if-match` parameter to the value of the etag from a previous GET or POST response for
2037
+ that resource. The resource will be updated or deleted only if the etag you provide
2038
+ matches the resource's current etag value.
2039
+
2040
+ :param str opc_request_id: (optional)
2041
+ Unique Oracle-assigned identifier for the request. If you need to contact
2042
+ Oracle about a particular request, please provide the request ID.
2043
+ The only valid characters for request IDs are letters, numbers,
2044
+ underscore, and dash.
2045
+
2046
+ :param bool should_update_recent: (optional)
2047
+ A flag to identify if the recent list should be updated.
2048
+
2049
+ :param obj retry_strategy: (optional)
2050
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
2051
+
2052
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
2053
+ 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>`__.
2054
+
2055
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
2056
+
2057
+ :return: A :class:`~oci.response.Response` object with data of type None
2058
+ :rtype: :class:`~oci.response.Response`
2059
+ """
2060
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/recipients/{recipientKey}"
2061
+ method = "PUT"
2062
+
2063
+ # Don't accept unknown kwargs
2064
+ expected_kwargs = [
2065
+ "retry_strategy",
2066
+ "if_match",
2067
+ "opc_request_id",
2068
+ "should_update_recent"
2069
+ ]
2070
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2071
+ if extra_kwargs:
2072
+ raise ValueError(
2073
+ "update_recipient got unknown kwargs: {!r}".format(extra_kwargs))
2074
+
2075
+ path_params = {
2076
+ "aiDataPlatformId": ai_data_platform_id,
2077
+ "recipientKey": recipient_key
2078
+ }
2079
+
2080
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
2081
+
2082
+ for (k, v) in six.iteritems(path_params):
2083
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
2084
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
2085
+
2086
+ header_params = {
2087
+ "accept": "application/json",
2088
+ "content-type": "application/json",
2089
+ "if-match": kwargs.get("if_match", missing),
2090
+ "opc-request-id": kwargs.get("opc_request_id", missing),
2091
+ "should-update-recent": kwargs.get("should_update_recent", missing)
2092
+ }
2093
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
2094
+
2095
+ retry_strategy = self.retry_strategy
2096
+ if kwargs.get('retry_strategy'):
2097
+ retry_strategy = kwargs.get('retry_strategy')
2098
+
2099
+ if retry_strategy:
2100
+ return retry_strategy.make_retrying_call(
2101
+ self.base_client.call_api,
2102
+ resource_path=resource_path,
2103
+ method=method,
2104
+ path_params=path_params,
2105
+ header_params=header_params,
2106
+ body=update_recipient_details)
2107
+ else:
2108
+ return self.base_client.call_api(
2109
+ resource_path=resource_path,
2110
+ method=method,
2111
+ path_params=path_params,
2112
+ header_params=header_params,
2113
+ body=update_recipient_details)
2114
+
2115
+ def update_share(self, ai_data_platform_id, share_key, update_share_details, **kwargs):
2116
+ """
2117
+ Update a Delta Share with the provided metadata.
2118
+
2119
+
2120
+ :param str ai_data_platform_id: (required)
2121
+ The `OCID`__ of the AI Data Platform (Data Lake) instance.
2122
+
2123
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
2124
+
2125
+ :param str share_key: (required)
2126
+ The unique key of the Share.
2127
+
2128
+ :param oci.aidataplatform_dp.models.UpdateShareDetails update_share_details: (required)
2129
+ The information to be updated.
2130
+
2131
+ :param str if_match: (optional)
2132
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
2133
+ `if-match` parameter to the value of the etag from a previous GET or POST response for
2134
+ that resource. The resource will be updated or deleted only if the etag you provide
2135
+ matches the resource's current etag value.
2136
+
2137
+ :param str opc_request_id: (optional)
2138
+ Unique Oracle-assigned identifier for the request. If you need to contact
2139
+ Oracle about a particular request, please provide the request ID.
2140
+ The only valid characters for request IDs are letters, numbers,
2141
+ underscore, and dash.
2142
+
2143
+ :param bool should_update_recent: (optional)
2144
+ A flag to identify if the recent list should be updated.
2145
+
2146
+ :param obj retry_strategy: (optional)
2147
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
2148
+
2149
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
2150
+ 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>`__.
2151
+
2152
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
2153
+
2154
+ :return: A :class:`~oci.response.Response` object with data of type None
2155
+ :rtype: :class:`~oci.response.Response`
2156
+ """
2157
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/shares/{shareKey}"
2158
+ method = "PUT"
2159
+
2160
+ # Don't accept unknown kwargs
2161
+ expected_kwargs = [
2162
+ "retry_strategy",
2163
+ "if_match",
2164
+ "opc_request_id",
2165
+ "should_update_recent"
2166
+ ]
2167
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
2168
+ if extra_kwargs:
2169
+ raise ValueError(
2170
+ "update_share got unknown kwargs: {!r}".format(extra_kwargs))
2171
+
2172
+ path_params = {
2173
+ "aiDataPlatformId": ai_data_platform_id,
2174
+ "shareKey": share_key
2175
+ }
2176
+
2177
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
2178
+
2179
+ for (k, v) in six.iteritems(path_params):
2180
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
2181
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
2182
+
2183
+ header_params = {
2184
+ "accept": "application/json",
2185
+ "content-type": "application/json",
2186
+ "if-match": kwargs.get("if_match", missing),
2187
+ "opc-request-id": kwargs.get("opc_request_id", missing),
2188
+ "should-update-recent": kwargs.get("should_update_recent", missing)
2189
+ }
2190
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
2191
+
2192
+ retry_strategy = self.retry_strategy
2193
+ if kwargs.get('retry_strategy'):
2194
+ retry_strategy = kwargs.get('retry_strategy')
2195
+
2196
+ if retry_strategy:
2197
+ return retry_strategy.make_retrying_call(
2198
+ self.base_client.call_api,
2199
+ resource_path=resource_path,
2200
+ method=method,
2201
+ path_params=path_params,
2202
+ header_params=header_params,
2203
+ body=update_share_details)
2204
+ else:
2205
+ return self.base_client.call_api(
2206
+ resource_path=resource_path,
2207
+ method=method,
2208
+ path_params=path_params,
2209
+ header_params=header_params,
2210
+ body=update_share_details)