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.
- aidp_python_client/aidataplatform_dp/__init__.py +44 -0
- aidp_python_client/aidataplatform_dp/async_operations_client.py +322 -0
- aidp_python_client/aidataplatform_dp/async_operations_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/audit_client.py +294 -0
- aidp_python_client/aidataplatform_dp/audit_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/bundle_client.py +711 -0
- aidp_python_client/aidataplatform_dp/bundle_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/catalog_client.py +1071 -0
- aidp_python_client/aidataplatform_dp/catalog_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/cluster_client.py +1873 -0
- aidp_python_client/aidataplatform_dp/cluster_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/credentials_client.py +620 -0
- aidp_python_client/aidataplatform_dp/credentials_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/delta_share_client.py +2210 -0
- aidp_python_client/aidataplatform_dp/delta_share_client_composite_operations.py +110 -0
- aidp_python_client/aidataplatform_dp/git_client.py +1819 -0
- aidp_python_client/aidataplatform_dp/git_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/ml_ops_client.py +4689 -0
- aidp_python_client/aidataplatform_dp/ml_ops_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/models/__init__.py +1618 -0
- aidp_python_client/aidataplatform_dp/models/active_cluster_resources.py +194 -0
- aidp_python_client/aidataplatform_dp/models/add_member_to_role_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/admin_setting.py +159 -0
- aidp_python_client/aidataplatform_dp/models/admin_setting_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/admin_setting_summary.py +277 -0
- aidp_python_client/aidataplatform_dp/models/adw_schema.py +134 -0
- aidp_python_client/aidataplatform_dp/models/adw_schema_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/adw_table.py +177 -0
- aidp_python_client/aidataplatform_dp/models/adw_table_summary.py +107 -0
- aidp_python_client/aidataplatform_dp/models/agent_card_capabilities_detail.py +70 -0
- aidp_python_client/aidataplatform_dp/models/agent_card_config_detail.py +248 -0
- aidp_python_client/aidataplatform_dp/models/agent_card_preview_response.py +70 -0
- aidp_python_client/aidataplatform_dp/models/agent_card_skill_detail.py +194 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow.py +803 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_attachment.py +101 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_compute.py +170 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_dependency.py +132 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_dependency_item.py +132 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_deployment.py +577 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_deployment_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_deployment_summary.py +461 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_detachment.py +101 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_diagram.py +287 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_edge.py +411 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_guardrails_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_guardrails_summary.py +335 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_node.py +661 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_permission_summary.py +336 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_session.py +467 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_session_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_session_context.py +66 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_session_metric.py +872 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_session_metrics_range.py +163 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_session_summary.py +440 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_summary.py +647 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_validation_issue.py +399 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_validation_metadata.py +257 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_validation_options.py +101 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_validation_result.py +203 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_validation_summary.py +194 -0
- aidp_python_client/aidataplatform_dp/models/agent_node.py +332 -0
- aidp_python_client/aidataplatform_dp/models/agent_provider.py +101 -0
- aidp_python_client/aidataplatform_dp/models/aggregated_data_point.py +101 -0
- aidp_python_client/aidataplatform_dp/models/aggregated_time_series_data_point.py +101 -0
- aidp_python_client/aidataplatform_dp/models/ai_compute_override_item.py +194 -0
- aidp_python_client/aidataplatform_dp/models/ai_data_platform.py +42 -0
- aidp_python_client/aidataplatform_dp/models/ai_model.py +251 -0
- aidp_python_client/aidataplatform_dp/models/airflow_cell_config.py +101 -0
- aidp_python_client/aidataplatform_dp/models/alh_schema.py +134 -0
- aidp_python_client/aidataplatform_dp/models/alh_schema_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/alh_table.py +177 -0
- aidp_python_client/aidataplatform_dp/models/alh_table_summary.py +107 -0
- aidp_python_client/aidataplatform_dp/models/allowed_tool_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/artifact_file_info.py +132 -0
- aidp_python_client/aidataplatform_dp/models/artifact_list.py +132 -0
- aidp_python_client/aidataplatform_dp/models/assign_agent_flow_permission_details.py +187 -0
- aidp_python_client/aidataplatform_dp/models/assign_catalog_permission_details.py +125 -0
- aidp_python_client/aidataplatform_dp/models/assign_cluster_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/assign_create_workspace_permission_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/assign_credential_permission_details.py +125 -0
- aidp_python_client/aidataplatform_dp/models/assign_job_permission_details.py +125 -0
- aidp_python_client/aidataplatform_dp/models/assign_knowledge_base_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/assign_master_catalog_permission_details.py +129 -0
- aidp_python_client/aidataplatform_dp/models/assign_recipient_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/assign_role_permission_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/assign_schema_permission_details.py +137 -0
- aidp_python_client/aidataplatform_dp/models/assign_share_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/assign_table_permission_details.py +195 -0
- aidp_python_client/aidataplatform_dp/models/assign_tool_permission_details.py +183 -0
- aidp_python_client/aidataplatform_dp/models/assign_view_permission_details.py +183 -0
- aidp_python_client/aidataplatform_dp/models/assign_volume_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/assign_workspace_object_permission_details.py +156 -0
- aidp_python_client/aidataplatform_dp/models/assign_workspace_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/async_operation.py +747 -0
- aidp_python_client/aidataplatform_dp/models/async_operation_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/async_operation_summary.py +685 -0
- aidp_python_client/aidataplatform_dp/models/atp_schema.py +134 -0
- aidp_python_client/aidataplatform_dp/models/atp_schema_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/atp_table.py +177 -0
- aidp_python_client/aidataplatform_dp/models/atp_table_summary.py +107 -0
- aidp_python_client/aidataplatform_dp/models/attach_compute_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/attach_master_catalog_to_cluster_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/attach_to_notebook_config.py +70 -0
- aidp_python_client/aidataplatform_dp/models/attach_workspace_object_to_cluster_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/attached_session.py +195 -0
- aidp_python_client/aidataplatform_dp/models/audit_log_search_result_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/audit_log_search_result_summary.py +542 -0
- aidp_python_client/aidataplatform_dp/models/auth.py +124 -0
- aidp_python_client/aidataplatform_dp/models/auto_scale.py +101 -0
- aidp_python_client/aidataplatform_dp/models/bearer_token_auth.py +80 -0
- aidp_python_client/aidataplatform_dp/models/bucket_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/bucket_summary.py +204 -0
- aidp_python_client/aidataplatform_dp/models/bundle.py +42 -0
- aidp_python_client/aidataplatform_dp/models/bundle_deployed_resource.py +148 -0
- aidp_python_client/aidataplatform_dp/models/bundle_deployment_status.py +218 -0
- aidp_python_client/aidataplatform_dp/models/bundle_overrides.py +101 -0
- aidp_python_client/aidataplatform_dp/models/bundle_overrides_with_path.py +97 -0
- aidp_python_client/aidataplatform_dp/models/bundle_validation_result.py +153 -0
- aidp_python_client/aidataplatform_dp/models/bundled_resource.py +118 -0
- aidp_python_client/aidataplatform_dp/models/catalog.py +548 -0
- aidp_python_client/aidataplatform_dp/models/catalog_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/catalog_connection_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/catalog_migration_detail.py +211 -0
- aidp_python_client/aidataplatform_dp/models/catalog_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/catalog_permission_summary.py +207 -0
- aidp_python_client/aidataplatform_dp/models/catalog_summary.py +569 -0
- aidp_python_client/aidataplatform_dp/models/catalog_test_connection_details.py +165 -0
- aidp_python_client/aidataplatform_dp/models/category_config.py +184 -0
- aidp_python_client/aidataplatform_dp/models/chat_message.py +184 -0
- aidp_python_client/aidataplatform_dp/models/checkout_branch_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/clear_outputs_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/cluster.py +757 -0
- aidp_python_client/aidataplatform_dp/models/cluster_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/cluster_event.py +116 -0
- aidp_python_client/aidataplatform_dp/models/cluster_execution_context_availability_event.py +80 -0
- aidp_python_client/aidataplatform_dp/models/cluster_instance.py +102 -0
- aidp_python_client/aidataplatform_dp/models/cluster_library_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/cluster_library_details.py +156 -0
- aidp_python_client/aidataplatform_dp/models/cluster_library_summary.py +261 -0
- aidp_python_client/aidataplatform_dp/models/cluster_log_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/cluster_logs_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/cluster_patch_event.py +205 -0
- aidp_python_client/aidataplatform_dp/models/cluster_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/cluster_permission_summary.py +203 -0
- aidp_python_client/aidataplatform_dp/models/cluster_runtime_config.py +130 -0
- aidp_python_client/aidataplatform_dp/models/cluster_spec.py +124 -0
- aidp_python_client/aidataplatform_dp/models/cluster_state_event.py +157 -0
- aidp_python_client/aidataplatform_dp/models/cluster_summary.py +690 -0
- aidp_python_client/aidataplatform_dp/models/commit_push_details.py +194 -0
- aidp_python_client/aidataplatform_dp/models/compute_dependency.py +80 -0
- aidp_python_client/aidataplatform_dp/models/compute_override_item.py +194 -0
- aidp_python_client/aidataplatform_dp/models/conflict_resolve_details.py +122 -0
- aidp_python_client/aidataplatform_dp/models/content.py +502 -0
- aidp_python_client/aidataplatform_dp/models/content_moderation_category_config.py +217 -0
- aidp_python_client/aidataplatform_dp/models/content_moderation_config.py +149 -0
- aidp_python_client/aidataplatform_dp/models/content_moderation_policy.py +117 -0
- aidp_python_client/aidataplatform_dp/models/continuous.py +86 -0
- aidp_python_client/aidataplatform_dp/models/copy_agent_flow_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/copy_workspace_object_details.py +225 -0
- aidp_python_client/aidataplatform_dp/models/create_admin_setting_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/create_agent_flow_compute_details.py +77 -0
- aidp_python_client/aidataplatform_dp/models/create_agent_flow_details.py +381 -0
- aidp_python_client/aidataplatform_dp/models/create_agent_flow_edge_details.py +262 -0
- aidp_python_client/aidataplatform_dp/models/create_agent_flow_node_details.py +482 -0
- aidp_python_client/aidataplatform_dp/models/create_agent_flow_session_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/create_agent_node_details.py +266 -0
- aidp_python_client/aidataplatform_dp/models/create_bundle_details.py +165 -0
- aidp_python_client/aidataplatform_dp/models/create_catalog_details.py +275 -0
- aidp_python_client/aidataplatform_dp/models/create_cluster_details.py +228 -0
- aidp_python_client/aidataplatform_dp/models/create_connection_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/create_content_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/create_custom_tool_details.py +190 -0
- aidp_python_client/aidataplatform_dp/models/create_custom_tool_node_details.py +208 -0
- aidp_python_client/aidataplatform_dp/models/create_data_lake_credential_details.py +180 -0
- aidp_python_client/aidataplatform_dp/models/create_data_table_details.py +417 -0
- aidp_python_client/aidataplatform_dp/models/create_experiment_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/create_experiment_response_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/create_experiment_run_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/create_experiment_run_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/create_git_branch.py +256 -0
- aidp_python_client/aidataplatform_dp/models/create_git_branch_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/create_git_folder_details.py +225 -0
- aidp_python_client/aidataplatform_dp/models/create_http_tool_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/create_http_tool_node_details.py +208 -0
- aidp_python_client/aidataplatform_dp/models/create_job_details.py +426 -0
- aidp_python_client/aidataplatform_dp/models/create_job_run_details.py +248 -0
- aidp_python_client/aidataplatform_dp/models/create_knowledge_base_details.py +516 -0
- aidp_python_client/aidataplatform_dp/models/create_knowledge_base_job_details.py +290 -0
- aidp_python_client/aidataplatform_dp/models/create_knowledge_base_job_run_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/create_master_catalog_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/create_mcp_tool_node_details.py +208 -0
- aidp_python_client/aidataplatform_dp/models/create_model_version_details.py +256 -0
- aidp_python_client/aidataplatform_dp/models/create_model_version_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/create_nl_to_sql_tool_details.py +124 -0
- aidp_python_client/aidataplatform_dp/models/create_or_update_bundle_overrides_details.py +97 -0
- aidp_python_client/aidataplatform_dp/models/create_prompt_tool_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/create_prompt_tool_node_details.py +208 -0
- aidp_python_client/aidataplatform_dp/models/create_rag_tool_details.py +124 -0
- aidp_python_client/aidataplatform_dp/models/create_rag_tool_node_details.py +204 -0
- aidp_python_client/aidataplatform_dp/models/create_recipient_details.py +134 -0
- aidp_python_client/aidataplatform_dp/models/create_registered_model_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/create_registered_model_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/create_role_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/create_schema_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/create_session_details.py +252 -0
- aidp_python_client/aidataplatform_dp/models/create_setting_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/create_share_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/create_spark_cluster_details.py +243 -0
- aidp_python_client/aidataplatform_dp/models/create_sql_tool_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/create_sql_tool_node_details.py +208 -0
- aidp_python_client/aidataplatform_dp/models/create_table_details.py +358 -0
- aidp_python_client/aidataplatform_dp/models/create_tool_details.py +237 -0
- aidp_python_client/aidataplatform_dp/models/create_user_setting_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/create_view_details.py +256 -0
- aidp_python_client/aidataplatform_dp/models/create_volume_details.py +242 -0
- aidp_python_client/aidataplatform_dp/models/create_workspace_details.py +165 -0
- aidp_python_client/aidataplatform_dp/models/create_workspace_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/create_workspace_permission_summary.py +152 -0
- aidp_python_client/aidataplatform_dp/models/credential.py +420 -0
- aidp_python_client/aidataplatform_dp/models/credential_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/credential_details.py +117 -0
- aidp_python_client/aidataplatform_dp/models/credential_summary.py +362 -0
- aidp_python_client/aidataplatform_dp/models/credential_v2.py +422 -0
- aidp_python_client/aidataplatform_dp/models/credential_v2_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/credential_v2_name_and_secret_key.py +102 -0
- aidp_python_client/aidataplatform_dp/models/credential_v2_summary.py +364 -0
- aidp_python_client/aidataplatform_dp/models/credentials_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/custom_pii_rule.py +256 -0
- aidp_python_client/aidataplatform_dp/models/custom_result.py +163 -0
- aidp_python_client/aidataplatform_dp/models/custom_test_tool_result.py +76 -0
- aidp_python_client/aidataplatform_dp/models/custom_tool.py +246 -0
- aidp_python_client/aidataplatform_dp/models/custom_tool_configuration.py +283 -0
- aidp_python_client/aidataplatform_dp/models/custom_tool_entry.py +225 -0
- aidp_python_client/aidataplatform_dp/models/custom_tool_node.py +185 -0
- aidp_python_client/aidataplatform_dp/models/dac_endpoint_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/dac_endpoint_summary.py +458 -0
- aidp_python_client/aidataplatform_dp/models/data_lake.py +48 -0
- aidp_python_client/aidataplatform_dp/models/data_lake_cluster_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/data_lake_cluster_summary.py +132 -0
- aidp_python_client/aidataplatform_dp/models/data_lake_metadata.py +163 -0
- aidp_python_client/aidataplatform_dp/models/dataset.py +225 -0
- aidp_python_client/aidataplatform_dp/models/dataset_input.py +97 -0
- aidp_python_client/aidataplatform_dp/models/de_provision_user_schemas_details.py +48 -0
- aidp_python_client/aidataplatform_dp/models/default_cluster.py +438 -0
- aidp_python_client/aidataplatform_dp/models/delete_experiment_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/delete_experiment_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/delete_experiment_run_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/delete_experiment_run_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/delete_experiment_run_tag_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/delete_experiment_run_tag_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/delete_experiment_tag_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/delete_experiment_tag_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/delete_model_version_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/delete_model_version_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/delete_model_version_tag_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/delete_model_version_tag_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/delete_registered_model_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/delete_registered_model_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/delete_registered_model_tag_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/delete_registered_model_tag_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/denied_topic.py +132 -0
- aidp_python_client/aidataplatform_dp/models/denied_topics_policy.py +117 -0
- aidp_python_client/aidataplatform_dp/models/dependency.py +116 -0
- aidp_python_client/aidataplatform_dp/models/depends_on.py +101 -0
- aidp_python_client/aidataplatform_dp/models/deploy_agent_flow_details.py +269 -0
- aidp_python_client/aidataplatform_dp/models/deploy_bundle_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/detach_compute_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/detach_workspace_object_from_cluster_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/download_cluster_logs_details.py +404 -0
- aidp_python_client/aidataplatform_dp/models/download_file_with_par_result.py +353 -0
- aidp_python_client/aidataplatform_dp/models/driver_config.py +128 -0
- aidp_python_client/aidataplatform_dp/models/embedding_model_details.py +110 -0
- aidp_python_client/aidataplatform_dp/models/exadata_schema.py +134 -0
- aidp_python_client/aidataplatform_dp/models/exadata_schema_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/exadata_table.py +177 -0
- aidp_python_client/aidataplatform_dp/models/exadata_table_summary.py +107 -0
- aidp_python_client/aidataplatform_dp/models/execute_database_user_workflows_details.py +99 -0
- aidp_python_client/aidataplatform_dp/models/execute_sql_command_details.py +110 -0
- aidp_python_client/aidataplatform_dp/models/experiment.py +256 -0
- aidp_python_client/aidataplatform_dp/models/experiment_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/experiment_response.py +66 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run.py +147 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_data.py +132 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_info.py +381 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_inputs.py +101 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_metric.py +163 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_metric_history_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_outputs.py +70 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_param.py +101 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_tag.py +101 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_tag_key.py +70 -0
- aidp_python_client/aidataplatform_dp/models/experiment_tag.py +101 -0
- aidp_python_client/aidataplatform_dp/models/experiment_tag_key.py +70 -0
- aidp_python_client/aidataplatform_dp/models/export_contents_details.py +87 -0
- aidp_python_client/aidataplatform_dp/models/export_task_run_output_details.py +87 -0
- aidp_python_client/aidataplatform_dp/models/exported_contents.py +181 -0
- aidp_python_client/aidataplatform_dp/models/exported_task_run_output_contents.py +181 -0
- aidp_python_client/aidataplatform_dp/models/expression.py +101 -0
- aidp_python_client/aidataplatform_dp/models/external_agent_node.py +216 -0
- aidp_python_client/aidataplatform_dp/models/external_catalog_migration_result.py +194 -0
- aidp_python_client/aidataplatform_dp/models/external_table_definition.py +215 -0
- aidp_python_client/aidataplatform_dp/models/feature.py +101 -0
- aidp_python_client/aidataplatform_dp/models/feature_status_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/feature_status_result.py +66 -0
- aidp_python_client/aidataplatform_dp/models/feature_status_summary.py +132 -0
- aidp_python_client/aidataplatform_dp/models/fetch_bundle_deployment_status_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/fetch_mcp_objects_details.py +352 -0
- aidp_python_client/aidataplatform_dp/models/fetch_mcp_objects_result.py +181 -0
- aidp_python_client/aidataplatform_dp/models/fetch_output_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/field_info.py +125 -0
- aidp_python_client/aidataplatform_dp/models/file_dependency.py +80 -0
- aidp_python_client/aidataplatform_dp/models/filter_types.py +101 -0
- aidp_python_client/aidataplatform_dp/models/generate_temp_file_upload_target_response_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/get_bundle_overrides_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/get_experiment_run_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/get_model_version_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/get_registered_model_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/git_account_user_setting.py +210 -0
- aidp_python_client/aidataplatform_dp/models/git_branch.py +225 -0
- aidp_python_client/aidataplatform_dp/models/git_branch_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/git_branch_summary.py +101 -0
- aidp_python_client/aidataplatform_dp/models/git_config.py +187 -0
- aidp_python_client/aidataplatform_dp/models/git_diff_detail.py +249 -0
- aidp_python_client/aidataplatform_dp/models/git_diff_summary.py +270 -0
- aidp_python_client/aidataplatform_dp/models/git_diff_summary_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/git_folder.py +225 -0
- aidp_python_client/aidataplatform_dp/models/git_folder_metadatum.py +101 -0
- aidp_python_client/aidataplatform_dp/models/git_merge_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/git_operation_state.py +381 -0
- aidp_python_client/aidataplatform_dp/models/git_pull_details.py +215 -0
- aidp_python_client/aidataplatform_dp/models/git_rebase_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/git_repair_work_tree_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/git_repository.py +225 -0
- aidp_python_client/aidataplatform_dp/models/git_reset_details.py +184 -0
- aidp_python_client/aidataplatform_dp/models/git_restore_branch_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/grouped_search_criteria.py +252 -0
- aidp_python_client/aidataplatform_dp/models/guardrail_node.py +216 -0
- aidp_python_client/aidataplatform_dp/models/guardrails_configuration.py +163 -0
- aidp_python_client/aidataplatform_dp/models/history_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/history_summary.py +256 -0
- aidp_python_client/aidataplatform_dp/models/http_result.py +256 -0
- aidp_python_client/aidataplatform_dp/models/http_test_tool_result.py +76 -0
- aidp_python_client/aidataplatform_dp/models/http_tool.py +184 -0
- aidp_python_client/aidataplatform_dp/models/http_tool_configuration.py +312 -0
- aidp_python_client/aidataplatform_dp/models/http_tool_node.py +185 -0
- aidp_python_client/aidataplatform_dp/models/human_in_the_loop_node.py +185 -0
- aidp_python_client/aidataplatform_dp/models/iam_user_credential_user_setting.py +204 -0
- aidp_python_client/aidataplatform_dp/models/identity_domain_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/identity_domain_summary.py +188 -0
- aidp_python_client/aidataplatform_dp/models/identity_group_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/identity_group_summary.py +101 -0
- aidp_python_client/aidataplatform_dp/models/identity_user_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/identity_user_summary.py +132 -0
- aidp_python_client/aidataplatform_dp/models/if_else_task.py +185 -0
- aidp_python_client/aidataplatform_dp/models/infer_schema.py +70 -0
- aidp_python_client/aidataplatform_dp/models/infer_schema_column.py +163 -0
- aidp_python_client/aidataplatform_dp/models/infer_schema_properties.py +101 -0
- aidp_python_client/aidataplatform_dp/models/infer_schema_with_preview.py +101 -0
- aidp_python_client/aidataplatform_dp/models/init_script_path.py +70 -0
- aidp_python_client/aidataplatform_dp/models/input_tag.py +101 -0
- aidp_python_client/aidataplatform_dp/models/install_cluster_library_details.py +88 -0
- aidp_python_client/aidataplatform_dp/models/is_principal_admin.py +70 -0
- aidp_python_client/aidataplatform_dp/models/is_principal_aidp_admin.py +70 -0
- aidp_python_client/aidataplatform_dp/models/jar_task.py +381 -0
- aidp_python_client/aidataplatform_dp/models/job.py +652 -0
- aidp_python_client/aidataplatform_dp/models/job_cluster.py +128 -0
- aidp_python_client/aidataplatform_dp/models/job_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/job_dependency.py +111 -0
- aidp_python_client/aidataplatform_dp/models/job_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/job_permission_summary.py +207 -0
- aidp_python_client/aidataplatform_dp/models/job_run.py +1178 -0
- aidp_python_client/aidataplatform_dp/models/job_run_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/job_run_summary.py +454 -0
- aidp_python_client/aidataplatform_dp/models/job_summary.py +442 -0
- aidp_python_client/aidataplatform_dp/models/job_task.py +185 -0
- aidp_python_client/aidataplatform_dp/models/kafka_topic_schema.py +258 -0
- aidp_python_client/aidataplatform_dp/models/kafka_topic_schema_summary.py +190 -0
- aidp_python_client/aidataplatform_dp/models/kb_v_hnsw_index_details.py +200 -0
- aidp_python_client/aidataplatform_dp/models/kb_v_ivf_index_details.py +200 -0
- aidp_python_client/aidataplatform_dp/models/kernel.py +242 -0
- aidp_python_client/aidataplatform_dp/models/kernel_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/kernel_summary.py +202 -0
- aidp_python_client/aidataplatform_dp/models/keyed_time_series.py +101 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base.py +1339 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_job.py +656 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_job_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_job_run.py +502 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_job_run_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_job_run_data.py +211 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_job_run_summary.py +502 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_job_summary.py +546 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_permission_summary.py +274 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_source_metadata_details.py +428 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_summary.py +452 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_vector_index_details.py +141 -0
- aidp_python_client/aidataplatform_dp/models/libraries.py +70 -0
- aidp_python_client/aidataplatform_dp/models/lifecycle_state.py +294 -0
- aidp_python_client/aidataplatform_dp/models/list_experiment_runs_details.py +268 -0
- aidp_python_client/aidataplatform_dp/models/list_experiments_details.py +231 -0
- aidp_python_client/aidataplatform_dp/models/list_filter.py +194 -0
- aidp_python_client/aidataplatform_dp/models/list_logged_models_details.py +196 -0
- aidp_python_client/aidataplatform_dp/models/list_permissions_with_resource_details.py +206 -0
- aidp_python_client/aidataplatform_dp/models/llm_config.py +132 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_batch_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_batch_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_inputs_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_inputs_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_metric_details.py +194 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_metric_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_model_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_model_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_param_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_param_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/log_group.py +132 -0
- aidp_python_client/aidataplatform_dp/models/logged_model.py +97 -0
- aidp_python_client/aidataplatform_dp/models/logged_model_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/logged_model_info.py +349 -0
- aidp_python_client/aidataplatform_dp/models/logged_model_order.py +101 -0
- aidp_python_client/aidataplatform_dp/models/logged_model_tag.py +101 -0
- aidp_python_client/aidataplatform_dp/models/logging_config.py +99 -0
- aidp_python_client/aidataplatform_dp/models/manage_agent_flow_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_audit_logs_details.py +118 -0
- aidp_python_client/aidataplatform_dp/models/manage_catalog_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_cluster_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_create_workspace_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_credential_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_job_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_knowledge_base_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_master_catalog_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_recipient_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_role_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_schema_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_share_access_details.py +118 -0
- aidp_python_client/aidataplatform_dp/models/manage_share_data_asset_details.py +263 -0
- aidp_python_client/aidataplatform_dp/models/manage_share_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_table_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_tool_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_view_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_volume_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_workspace_object_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_workspace_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/managed_table_definition.py +110 -0
- aidp_python_client/aidataplatform_dp/models/master_catalog.py +357 -0
- aidp_python_client/aidataplatform_dp/models/master_catalog_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/master_catalog_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/master_catalog_permission_summary.py +216 -0
- aidp_python_client/aidataplatform_dp/models/master_catalog_summary.py +351 -0
- aidp_python_client/aidataplatform_dp/models/mcp_object.py +178 -0
- aidp_python_client/aidataplatform_dp/models/mcp_prompt_object.py +94 -0
- aidp_python_client/aidataplatform_dp/models/mcp_resource_object.py +94 -0
- aidp_python_client/aidataplatform_dp/models/mcp_result.py +70 -0
- aidp_python_client/aidataplatform_dp/models/mcp_test_tool_result.py +76 -0
- aidp_python_client/aidataplatform_dp/models/mcp_tool.py +184 -0
- aidp_python_client/aidataplatform_dp/models/mcp_tool_configuration.py +159 -0
- aidp_python_client/aidataplatform_dp/models/mcp_tool_node.py +185 -0
- aidp_python_client/aidataplatform_dp/models/mcp_tool_object.py +94 -0
- aidp_python_client/aidataplatform_dp/models/memory_configuration.py +128 -0
- aidp_python_client/aidataplatform_dp/models/memory_limit_configuration.py +110 -0
- aidp_python_client/aidataplatform_dp/models/memory_limit_configuration_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/metrics_summary.py +287 -0
- aidp_python_client/aidataplatform_dp/models/mkdir_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/model.py +470 -0
- aidp_python_client/aidataplatform_dp/models/model_input.py +70 -0
- aidp_python_client/aidataplatform_dp/models/model_metric.py +163 -0
- aidp_python_client/aidataplatform_dp/models/model_output.py +101 -0
- aidp_python_client/aidataplatform_dp/models/model_param.py +101 -0
- aidp_python_client/aidataplatform_dp/models/model_parameter.py +97 -0
- aidp_python_client/aidataplatform_dp/models/model_parameter_detail.py +132 -0
- aidp_python_client/aidataplatform_dp/models/model_parameter_response.py +363 -0
- aidp_python_client/aidataplatform_dp/models/model_summary.py +238 -0
- aidp_python_client/aidataplatform_dp/models/model_version.py +613 -0
- aidp_python_client/aidataplatform_dp/models/model_version_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/model_version_deployment_job_state.py +258 -0
- aidp_python_client/aidataplatform_dp/models/model_version_tag.py +101 -0
- aidp_python_client/aidataplatform_dp/models/model_version_tag_key.py +70 -0
- aidp_python_client/aidataplatform_dp/models/models_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/modify_content_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/move_workspace_object_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/nested_agent_flow_node.py +243 -0
- aidp_python_client/aidataplatform_dp/models/new_cluster_configuration.py +190 -0
- aidp_python_client/aidataplatform_dp/models/nl_to_sql_tool.py +180 -0
- aidp_python_client/aidataplatform_dp/models/nl_to_sql_tool_configuration.py +225 -0
- aidp_python_client/aidataplatform_dp/models/nl_to_sql_tool_input_schema.py +70 -0
- aidp_python_client/aidataplatform_dp/models/no_auth.py +49 -0
- aidp_python_client/aidataplatform_dp/models/node_input.py +246 -0
- aidp_python_client/aidataplatform_dp/models/node_io.py +158 -0
- aidp_python_client/aidataplatform_dp/models/node_io_color.py +149 -0
- aidp_python_client/aidataplatform_dp/models/node_output.py +215 -0
- aidp_python_client/aidataplatform_dp/models/notebook_task.py +319 -0
- aidp_python_client/aidataplatform_dp/models/notify_cluster_event_handler_details.py +253 -0
- aidp_python_client/aidataplatform_dp/models/o_auth.py +173 -0
- aidp_python_client/aidataplatform_dp/models/o_auth_admin_setting.py +111 -0
- aidp_python_client/aidataplatform_dp/models/o_auth_configuration.py +132 -0
- aidp_python_client/aidataplatform_dp/models/oac_schema.py +134 -0
- aidp_python_client/aidataplatform_dp/models/oac_schema_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/oac_table.py +177 -0
- aidp_python_client/aidataplatform_dp/models/oac_table_summary.py +107 -0
- aidp_python_client/aidataplatform_dp/models/object_recent_search_summary.py +70 -0
- aidp_python_client/aidataplatform_dp/models/object_search_summary.py +516 -0
- aidp_python_client/aidataplatform_dp/models/object_suggest_summary.py +287 -0
- aidp_python_client/aidataplatform_dp/models/oci_logging.py +80 -0
- aidp_python_client/aidataplatform_dp/models/oci_resource_principal_auth.py +49 -0
- aidp_python_client/aidataplatform_dp/models/oracle_schema.py +134 -0
- aidp_python_client/aidataplatform_dp/models/oracle_schema_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/oracle_table.py +177 -0
- aidp_python_client/aidataplatform_dp/models/oracle_table_summary.py +107 -0
- aidp_python_client/aidataplatform_dp/models/output_parameter.py +101 -0
- aidp_python_client/aidataplatform_dp/models/par_details.py +195 -0
- aidp_python_client/aidataplatform_dp/models/parameter.py +101 -0
- aidp_python_client/aidataplatform_dp/models/patch_cluster_library_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/patch_session_details.py +252 -0
- aidp_python_client/aidataplatform_dp/models/perform_infer_schema_details.py +204 -0
- aidp_python_client/aidataplatform_dp/models/permission_assignees.py +122 -0
- aidp_python_client/aidataplatform_dp/models/permission_summary.py +274 -0
- aidp_python_client/aidataplatform_dp/models/permission_with_resource_details.py +288 -0
- aidp_python_client/aidataplatform_dp/models/pii_category.py +209 -0
- aidp_python_client/aidataplatform_dp/models/pii_detection_policy.py +148 -0
- aidp_python_client/aidataplatform_dp/models/playground_cache.py +70 -0
- aidp_python_client/aidataplatform_dp/models/point.py +101 -0
- aidp_python_client/aidataplatform_dp/models/preview_agent_flow_agent_card_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/principals_with_workspace_access_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/principals_with_workspace_access_summary.py +153 -0
- aidp_python_client/aidataplatform_dp/models/prompt_attacks_prevention_policy.py +86 -0
- aidp_python_client/aidataplatform_dp/models/prompt_result.py +101 -0
- aidp_python_client/aidataplatform_dp/models/prompt_test_tool_result.py +76 -0
- aidp_python_client/aidataplatform_dp/models/prompt_tool.py +184 -0
- aidp_python_client/aidataplatform_dp/models/prompt_tool_configuration.py +128 -0
- aidp_python_client/aidataplatform_dp/models/prompt_tool_node.py +185 -0
- aidp_python_client/aidataplatform_dp/models/provision_user_schema_details.py +110 -0
- aidp_python_client/aidataplatform_dp/models/purge_bundle_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/python_task.py +319 -0
- aidp_python_client/aidataplatform_dp/models/queue.py +70 -0
- aidp_python_client/aidataplatform_dp/models/rag_result.py +101 -0
- aidp_python_client/aidataplatform_dp/models/rag_test_tool_result.py +76 -0
- aidp_python_client/aidataplatform_dp/models/rag_tool.py +180 -0
- aidp_python_client/aidataplatform_dp/models/rag_tool_configuration.py +221 -0
- aidp_python_client/aidataplatform_dp/models/rag_tool_input_schema.py +70 -0
- aidp_python_client/aidataplatform_dp/models/rag_tool_node.py +181 -0
- aidp_python_client/aidataplatform_dp/models/range_filter.py +201 -0
- aidp_python_client/aidataplatform_dp/models/recent_resource_item.py +283 -0
- aidp_python_client/aidataplatform_dp/models/recent_search_results_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/recent_searches_criteria.py +70 -0
- aidp_python_client/aidataplatform_dp/models/recently_accessed.py +101 -0
- aidp_python_client/aidataplatform_dp/models/recently_accessed_resource.py +101 -0
- aidp_python_client/aidataplatform_dp/models/recipient.py +402 -0
- aidp_python_client/aidataplatform_dp/models/recipient_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/recipient_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/recipient_permission_summary.py +203 -0
- aidp_python_client/aidataplatform_dp/models/recipient_summary.py +369 -0
- aidp_python_client/aidataplatform_dp/models/registered_model.py +346 -0
- aidp_python_client/aidataplatform_dp/models/registered_model_alias.py +101 -0
- aidp_python_client/aidataplatform_dp/models/registered_model_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/registered_model_tag.py +101 -0
- aidp_python_client/aidataplatform_dp/models/registered_model_tag_key.py +70 -0
- aidp_python_client/aidataplatform_dp/models/remove_member_from_role_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/rename_registered_model_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/rename_registered_model_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/rename_table_field_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/rename_workspace_object_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/repair_history.py +361 -0
- aidp_python_client/aidataplatform_dp/models/repair_job_run_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/reset_git_folder_state_details.py +157 -0
- aidp_python_client/aidataplatform_dp/models/restart_cluster_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/restore_experiment_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/restore_experiment_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/restore_experiment_run_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/restore_experiment_run_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/retrieved_chunk.py +132 -0
- aidp_python_client/aidataplatform_dp/models/revoke_agent_flow_permission_details.py +187 -0
- aidp_python_client/aidataplatform_dp/models/revoke_catalog_permission_details.py +125 -0
- aidp_python_client/aidataplatform_dp/models/revoke_cluster_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/revoke_create_workspace_permission_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/revoke_credential_permission_details.py +125 -0
- aidp_python_client/aidataplatform_dp/models/revoke_job_permission_details.py +125 -0
- aidp_python_client/aidataplatform_dp/models/revoke_knowledge_base_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/revoke_master_catalog_permission_details.py +129 -0
- aidp_python_client/aidataplatform_dp/models/revoke_recipient_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/revoke_role_permission_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/revoke_schema_permission_details.py +137 -0
- aidp_python_client/aidataplatform_dp/models/revoke_share_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/revoke_table_permission_details.py +195 -0
- aidp_python_client/aidataplatform_dp/models/revoke_tool_permission_details.py +183 -0
- aidp_python_client/aidataplatform_dp/models/revoke_view_permission_details.py +183 -0
- aidp_python_client/aidataplatform_dp/models/revoke_volume_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/revoke_workspace_object_permission_details.py +156 -0
- aidp_python_client/aidataplatform_dp/models/revoke_workspace_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/role.py +439 -0
- aidp_python_client/aidataplatform_dp/models/role_assignee.py +152 -0
- aidp_python_client/aidataplatform_dp/models/role_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/role_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/role_permission_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/role_summary.py +396 -0
- aidp_python_client/aidataplatform_dp/models/run_output_data.py +313 -0
- aidp_python_client/aidataplatform_dp/models/safety_policy.py +337 -0
- aidp_python_client/aidataplatform_dp/models/scan.py +101 -0
- aidp_python_client/aidataplatform_dp/models/schedule.py +148 -0
- aidp_python_client/aidataplatform_dp/models/schema.py +551 -0
- aidp_python_client/aidataplatform_dp/models/schema_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/schema_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/schema_permission_summary.py +285 -0
- aidp_python_client/aidataplatform_dp/models/schema_summary.py +536 -0
- aidp_python_client/aidataplatform_dp/models/search_audit_logs_details.py +626 -0
- aidp_python_client/aidataplatform_dp/models/search_cluster_logs_details.py +437 -0
- aidp_python_client/aidataplatform_dp/models/search_criteria.py +221 -0
- aidp_python_client/aidataplatform_dp/models/search_object_type.py +101 -0
- aidp_python_client/aidataplatform_dp/models/search_result.py +70 -0
- aidp_python_client/aidataplatform_dp/models/search_result_summary.py +101 -0
- aidp_python_client/aidataplatform_dp/models/search_results_collection.py +163 -0
- aidp_python_client/aidataplatform_dp/models/search_results_group_by_collection.py +163 -0
- aidp_python_client/aidataplatform_dp/models/secret_pair.py +101 -0
- aidp_python_client/aidataplatform_dp/models/secret_token_credential_details.py +81 -0
- aidp_python_client/aidataplatform_dp/models/service_account_credential_details.py +236 -0
- aidp_python_client/aidataplatform_dp/models/session.py +324 -0
- aidp_python_client/aidataplatform_dp/models/session_chat_history_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/session_chat_history_summary.py +287 -0
- aidp_python_client/aidataplatform_dp/models/session_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/session_configuration.py +97 -0
- aidp_python_client/aidataplatform_dp/models/session_retention_configuration.py +132 -0
- aidp_python_client/aidataplatform_dp/models/session_summary.py +283 -0
- aidp_python_client/aidataplatform_dp/models/session_variable.py +101 -0
- aidp_python_client/aidataplatform_dp/models/session_variable_details.py +225 -0
- aidp_python_client/aidataplatform_dp/models/set_experiment_run_tag_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/set_experiment_run_tag_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/set_experiment_tag_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/set_experiment_tag_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/set_model_version_tag_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/set_model_version_tag_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/set_registered_model_tag_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/set_registered_model_tag_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/setting.py +159 -0
- aidp_python_client/aidataplatform_dp/models/setting_data.py +115 -0
- aidp_python_client/aidataplatform_dp/models/shape_config.py +132 -0
- aidp_python_client/aidataplatform_dp/models/share.py +396 -0
- aidp_python_client/aidataplatform_dp/models/share_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/share_data_asset_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/share_data_asset_summary.py +311 -0
- aidp_python_client/aidataplatform_dp/models/share_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/share_permission_summary.py +203 -0
- aidp_python_client/aidataplatform_dp/models/share_summary.py +365 -0
- aidp_python_client/aidataplatform_dp/models/sort_details.py +143 -0
- aidp_python_client/aidataplatform_dp/models/span_details.py +345 -0
- aidp_python_client/aidataplatform_dp/models/span_status.py +101 -0
- aidp_python_client/aidataplatform_dp/models/spark_cluster.py +497 -0
- aidp_python_client/aidataplatform_dp/models/spark_runtime_config.py +155 -0
- aidp_python_client/aidataplatform_dp/models/sql_result.py +70 -0
- aidp_python_client/aidataplatform_dp/models/sql_test_tool_result.py +76 -0
- aidp_python_client/aidataplatform_dp/models/sql_tool.py +184 -0
- aidp_python_client/aidataplatform_dp/models/sql_tool_configuration.py +194 -0
- aidp_python_client/aidataplatform_dp/models/sql_tool_node.py +185 -0
- aidp_python_client/aidataplatform_dp/models/standard_schema.py +134 -0
- aidp_python_client/aidataplatform_dp/models/standard_schema_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/standard_table.py +177 -0
- aidp_python_client/aidataplatform_dp/models/standard_table_summary.py +107 -0
- aidp_python_client/aidataplatform_dp/models/start_cluster_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/start_node.py +185 -0
- aidp_python_client/aidataplatform_dp/models/state.py +231 -0
- aidp_python_client/aidataplatform_dp/models/stop_agent_flow_session_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/stop_cluster_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/subscription_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/suggest_criteria.py +101 -0
- aidp_python_client/aidataplatform_dp/models/suggest_results_collection.py +132 -0
- aidp_python_client/aidataplatform_dp/models/summarize_metrics_data_details.py +308 -0
- aidp_python_client/aidataplatform_dp/models/summarize_metrics_response.py +70 -0
- aidp_python_client/aidataplatform_dp/models/supervisor_agent_node.py +363 -0
- aidp_python_client/aidataplatform_dp/models/sync_bundle_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/table.py +737 -0
- aidp_python_client/aidataplatform_dp/models/table_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/table_field_details.py +194 -0
- aidp_python_client/aidataplatform_dp/models/table_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/table_permission_summary.py +347 -0
- aidp_python_client/aidataplatform_dp/models/table_property.py +101 -0
- aidp_python_client/aidataplatform_dp/models/table_summary.py +435 -0
- aidp_python_client/aidataplatform_dp/models/task.py +357 -0
- aidp_python_client/aidataplatform_dp/models/task_execution_result.py +221 -0
- aidp_python_client/aidataplatform_dp/models/task_run.py +771 -0
- aidp_python_client/aidataplatform_dp/models/task_run_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/task_run_output.py +288 -0
- aidp_python_client/aidataplatform_dp/models/task_run_retry.py +345 -0
- aidp_python_client/aidataplatform_dp/models/task_run_summary.py +407 -0
- aidp_python_client/aidataplatform_dp/models/test_custom_tool_details.py +141 -0
- aidp_python_client/aidataplatform_dp/models/test_http_tool_details.py +110 -0
- aidp_python_client/aidataplatform_dp/models/test_mcp_connection.py +49 -0
- aidp_python_client/aidataplatform_dp/models/test_mcp_external_tool.py +107 -0
- aidp_python_client/aidataplatform_dp/models/test_mcp_operation.py +108 -0
- aidp_python_client/aidataplatform_dp/models/test_mcp_tool_details.py +168 -0
- aidp_python_client/aidataplatform_dp/models/test_prompt_tool_details.py +110 -0
- aidp_python_client/aidataplatform_dp/models/test_rag_tool_details.py +114 -0
- aidp_python_client/aidataplatform_dp/models/test_sql_tool_details.py +110 -0
- aidp_python_client/aidataplatform_dp/models/test_tool_details.py +171 -0
- aidp_python_client/aidataplatform_dp/models/test_tool_param_values.py +70 -0
- aidp_python_client/aidataplatform_dp/models/test_tool_result.py +140 -0
- aidp_python_client/aidataplatform_dp/models/time_created.py +42 -0
- aidp_python_client/aidataplatform_dp/models/time_updated.py +42 -0
- aidp_python_client/aidataplatform_dp/models/tool.py +489 -0
- aidp_python_client/aidataplatform_dp/models/tool_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/tool_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/tool_permission_summary.py +332 -0
- aidp_python_client/aidataplatform_dp/models/tool_summary.py +355 -0
- aidp_python_client/aidataplatform_dp/models/trace_details.py +225 -0
- aidp_python_client/aidataplatform_dp/models/trace_event.py +132 -0
- aidp_python_client/aidataplatform_dp/models/transition_model_version_stage_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/transition_model_version_stage_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/txt_file_definition.py +101 -0
- aidp_python_client/aidataplatform_dp/models/uninstall_cluster_library_details.py +88 -0
- aidp_python_client/aidataplatform_dp/models/update_admin_setting_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/update_agent_flow_compute_details.py +77 -0
- aidp_python_client/aidataplatform_dp/models/update_agent_flow_deployment_details.py +242 -0
- aidp_python_client/aidataplatform_dp/models/update_agent_flow_deployment_metadata_details.py +97 -0
- aidp_python_client/aidataplatform_dp/models/update_agent_flow_details.py +395 -0
- aidp_python_client/aidataplatform_dp/models/update_agent_flow_node_details.py +451 -0
- aidp_python_client/aidataplatform_dp/models/update_agent_flow_session_details.py +159 -0
- aidp_python_client/aidataplatform_dp/models/update_agent_flow_session_playground_cache_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/update_agent_node_details.py +259 -0
- aidp_python_client/aidataplatform_dp/models/update_catalog_details.py +159 -0
- aidp_python_client/aidataplatform_dp/models/update_cluster_async_operation_status_details.py +293 -0
- aidp_python_client/aidataplatform_dp/models/update_cluster_details.py +228 -0
- aidp_python_client/aidataplatform_dp/models/update_connection_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/update_content_details.py +252 -0
- aidp_python_client/aidataplatform_dp/models/update_custom_tool_details.py +190 -0
- aidp_python_client/aidataplatform_dp/models/update_custom_tool_node_details.py +201 -0
- aidp_python_client/aidataplatform_dp/models/update_data_lake_credential_details.py +180 -0
- aidp_python_client/aidataplatform_dp/models/update_dir_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/update_experiment_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/update_experiment_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/update_experiment_run_details.py +196 -0
- aidp_python_client/aidataplatform_dp/models/update_experiment_run_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/update_experiment_run_tags_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/update_experiment_run_tags_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/update_experiment_tags_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/update_experiment_tags_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/update_file_metadata_details.py +126 -0
- aidp_python_client/aidataplatform_dp/models/update_git_repository_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/update_http_tool_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/update_http_tool_node_details.py +143 -0
- aidp_python_client/aidataplatform_dp/models/update_job_details.py +426 -0
- aidp_python_client/aidataplatform_dp/models/update_knowledge_base_add_source_details.py +366 -0
- aidp_python_client/aidataplatform_dp/models/update_knowledge_base_delete_source_details.py +118 -0
- aidp_python_client/aidataplatform_dp/models/update_knowledge_base_details.py +176 -0
- aidp_python_client/aidataplatform_dp/models/update_knowledge_base_metadata_update_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/update_knowledge_base_source_update_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/update_knowledge_base_source_update_details_item.py +141 -0
- aidp_python_client/aidataplatform_dp/models/update_master_catalog_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/update_mcp_tool_node_details.py +143 -0
- aidp_python_client/aidataplatform_dp/models/update_model_version_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/update_model_version_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/update_model_version_tags_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/update_model_version_tags_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/update_nl_to_sql_tool_details.py +124 -0
- aidp_python_client/aidataplatform_dp/models/update_prompt_tool_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/update_prompt_tool_node_details.py +143 -0
- aidp_python_client/aidataplatform_dp/models/update_rag_tool_details.py +124 -0
- aidp_python_client/aidataplatform_dp/models/update_rag_tool_node_details.py +139 -0
- aidp_python_client/aidataplatform_dp/models/update_recipient_details.py +134 -0
- aidp_python_client/aidataplatform_dp/models/update_registered_model_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/update_registered_model_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/update_registered_model_tags_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/update_registered_model_tags_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/update_role_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/update_schema_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/update_setting_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/update_share_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/update_spark_cluster_details.py +216 -0
- aidp_python_client/aidataplatform_dp/models/update_sql_tool_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/update_sql_tool_node_details.py +143 -0
- aidp_python_client/aidataplatform_dp/models/update_table_details.py +287 -0
- aidp_python_client/aidataplatform_dp/models/update_table_field_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/update_tool_details.py +237 -0
- aidp_python_client/aidataplatform_dp/models/update_user_setting_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/update_view_details.py +130 -0
- aidp_python_client/aidataplatform_dp/models/update_volume_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/update_workspace_async_operation_status_details.py +196 -0
- aidp_python_client/aidataplatform_dp/models/update_workspace_details.py +165 -0
- aidp_python_client/aidataplatform_dp/models/upload_file_with_par_details.py +188 -0
- aidp_python_client/aidataplatform_dp/models/upload_file_with_par_result.py +353 -0
- aidp_python_client/aidataplatform_dp/models/user_setting.py +159 -0
- aidp_python_client/aidataplatform_dp/models/user_setting_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/user_setting_summary.py +276 -0
- aidp_python_client/aidataplatform_dp/models/validate_agent_flow_diagram_details.py +203 -0
- aidp_python_client/aidataplatform_dp/models/validate_agent_flow_response.py +101 -0
- aidp_python_client/aidataplatform_dp/models/validate_bundle_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/validate_view_sql_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/validation_error.py +163 -0
- aidp_python_client/aidataplatform_dp/models/vault_reference_credential_details.py +81 -0
- aidp_python_client/aidataplatform_dp/models/view.py +489 -0
- aidp_python_client/aidataplatform_dp/models/view_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/view_field_details.py +194 -0
- aidp_python_client/aidataplatform_dp/models/view_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/view_permission_summary.py +347 -0
- aidp_python_client/aidataplatform_dp/models/view_property.py +101 -0
- aidp_python_client/aidataplatform_dp/models/view_sql_parse_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/view_summary.py +303 -0
- aidp_python_client/aidataplatform_dp/models/view_update_details.py +225 -0
- aidp_python_client/aidataplatform_dp/models/volume.py +559 -0
- aidp_python_client/aidataplatform_dp/models/volume_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/volume_file.py +42 -0
- aidp_python_client/aidataplatform_dp/models/volume_file_cluster_library_summary.py +139 -0
- aidp_python_client/aidataplatform_dp/models/volume_file_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/volume_file_summary.py +408 -0
- aidp_python_client/aidataplatform_dp/models/volume_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/volume_permission_summary.py +273 -0
- aidp_python_client/aidataplatform_dp/models/volume_summary.py +435 -0
- aidp_python_client/aidataplatform_dp/models/word_filters_policy.py +148 -0
- aidp_python_client/aidataplatform_dp/models/worker_config.py +159 -0
- aidp_python_client/aidataplatform_dp/models/workspace.py +665 -0
- aidp_python_client/aidataplatform_dp/models/workspace_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/workspace_file_cluster_library_summary.py +139 -0
- aidp_python_client/aidataplatform_dp/models/workspace_network_configuration_details.py +134 -0
- aidp_python_client/aidataplatform_dp/models/workspace_object.py +42 -0
- aidp_python_client/aidataplatform_dp/models/workspace_object_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/workspace_object_details.py +342 -0
- aidp_python_client/aidataplatform_dp/models/workspace_object_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/workspace_object_permission_summary.py +238 -0
- aidp_python_client/aidataplatform_dp/models/workspace_object_search_results_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/workspace_object_search_summary.py +423 -0
- aidp_python_client/aidataplatform_dp/models/workspace_object_summary.py +392 -0
- aidp_python_client/aidataplatform_dp/models/workspace_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/workspace_permission_summary.py +203 -0
- aidp_python_client/aidataplatform_dp/models/workspace_search_criteria.py +252 -0
- aidp_python_client/aidataplatform_dp/models/workspace_summary.py +567 -0
- aidp_python_client/aidataplatform_dp/notebook_client.py +1199 -0
- aidp_python_client/aidataplatform_dp/notebook_client_composite_operations.py +70 -0
- aidp_python_client/aidataplatform_dp/role_client.py +965 -0
- aidp_python_client/aidataplatform_dp/role_client_composite_operations.py +113 -0
- aidp_python_client/aidataplatform_dp/schema_client.py +3023 -0
- aidp_python_client/aidataplatform_dp/schema_client_composite_operations.py +159 -0
- aidp_python_client/aidataplatform_dp/user_setting_client.py +610 -0
- aidp_python_client/aidataplatform_dp/user_setting_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/volume_client.py +1838 -0
- aidp_python_client/aidataplatform_dp/volume_client_composite_operations.py +113 -0
- aidp_python_client/aidataplatform_dp/workflow_client.py +2220 -0
- aidp_python_client/aidataplatform_dp/workflow_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/workspace_client.py +1294 -0
- aidp_python_client/aidataplatform_dp/workspace_client_composite_operations.py +162 -0
- aidp_python_client/aidataplatform_dp/workspace_object_client.py +1595 -0
- aidp_python_client/aidataplatform_dp/workspace_object_client_composite_operations.py +24 -0
- aidp_python_client/service_endpoints.py +22 -0
- aidp_python_client-1.0.0.dist-info/METADATA +9 -0
- aidp_python_client-1.0.0.dist-info/RECORD +847 -0
- aidp_python_client-1.0.0.dist-info/WHEEL +5 -0
- aidp_python_client-1.0.0.dist-info/licenses/LICENSE.txt +35 -0
- aidp_python_client-1.0.0.dist-info/licenses/NOTICE.txt +1 -0
- aidp_python_client-1.0.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,1294 @@
|
|
|
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 WorkspaceClient(object):
|
|
20
|
+
"""
|
|
21
|
+
Use the AI Data Platform Data Plane API to manage workspaces and objects in the workspace.
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
def __init__(self, config, **kwargs):
|
|
25
|
+
"""
|
|
26
|
+
Creates a new service client
|
|
27
|
+
|
|
28
|
+
:param dict config:
|
|
29
|
+
Configuration keys and values as per `SDK and Tool Configuration <https://docs.cloud.oracle.com/Content/API/Concepts/sdkconfig.htm>`__.
|
|
30
|
+
The :py:meth:`~oci.config.from_file` method can be used to load configuration from a file. Alternatively, a ``dict`` can be passed. You can validate_config
|
|
31
|
+
the dict using :py:meth:`~oci.config.validate_config`
|
|
32
|
+
|
|
33
|
+
:param str service_endpoint: (optional)
|
|
34
|
+
The endpoint of the service to call using this client. For example ``https://iaas.us-ashburn-1.oraclecloud.com``. If this keyword argument is
|
|
35
|
+
not provided then it will be derived using the region in the config parameter. You should only provide this keyword argument if you have an explicit
|
|
36
|
+
need to specify a service endpoint.
|
|
37
|
+
|
|
38
|
+
:param timeout: (optional)
|
|
39
|
+
The connection and read timeouts for the client. The default values are connection timeout 10 seconds and read timeout 60 seconds. This keyword argument can be provided
|
|
40
|
+
as a single float, in which case the value provided is used for both the read and connection timeouts, or as a tuple of two floats. If
|
|
41
|
+
a tuple is provided then the first value is used as the connection timeout and the second value as the read timeout.
|
|
42
|
+
:type timeout: float or tuple(float, float)
|
|
43
|
+
|
|
44
|
+
:param signer: (optional)
|
|
45
|
+
The signer to use when signing requests made by the service client. The default is to use a :py:class:`~oci.signer.Signer` based on the values
|
|
46
|
+
provided in the config parameter.
|
|
47
|
+
|
|
48
|
+
One use case for this parameter is for `Instance Principals authentication <https://docs.cloud.oracle.com/Content/Identity/Tasks/callingservicesfrominstances.htm>`__
|
|
49
|
+
by passing an instance of :py:class:`~oci.auth.signers.InstancePrincipalsSecurityTokenSigner` as the value for this keyword argument
|
|
50
|
+
:type signer: :py:class:`~oci.signer.AbstractBaseSigner`
|
|
51
|
+
|
|
52
|
+
:param obj retry_strategy: (optional)
|
|
53
|
+
A retry strategy to apply to all calls made by this service client (i.e. at the client level). There is no retry strategy applied by default.
|
|
54
|
+
Retry strategies can also be applied at the operation level by passing a ``retry_strategy`` keyword argument as part of calling the operation.
|
|
55
|
+
Any value provided at the operation level will override whatever is specified at the client level.
|
|
56
|
+
|
|
57
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
58
|
+
is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
|
|
59
|
+
"""
|
|
60
|
+
validate_config(config, signer=kwargs.get('signer'))
|
|
61
|
+
if 'signer' in kwargs:
|
|
62
|
+
signer = kwargs['signer']
|
|
63
|
+
|
|
64
|
+
elif AUTHENTICATION_TYPE_FIELD_NAME in config:
|
|
65
|
+
signer = get_signer_from_authentication_type(config)
|
|
66
|
+
|
|
67
|
+
else:
|
|
68
|
+
signer = Signer(
|
|
69
|
+
tenancy=config["tenancy"],
|
|
70
|
+
user=config["user"],
|
|
71
|
+
fingerprint=config["fingerprint"],
|
|
72
|
+
private_key_file_location=config.get("key_file"),
|
|
73
|
+
pass_phrase=get_config_value_or_default(config, "pass_phrase"),
|
|
74
|
+
private_key_content=config.get("key_content")
|
|
75
|
+
)
|
|
76
|
+
|
|
77
|
+
base_client_init_kwargs = {
|
|
78
|
+
'regional_client': True,
|
|
79
|
+
'service_endpoint': kwargs.get('service_endpoint'),
|
|
80
|
+
'timeout': kwargs.get('timeout'),
|
|
81
|
+
'base_path': '/20260430',
|
|
82
|
+
'service_endpoint_template': 'https://datalake.{region}.oci.{secondLevelDomain}',
|
|
83
|
+
'skip_deserialization': kwargs.get('skip_deserialization', False)
|
|
84
|
+
}
|
|
85
|
+
self.base_client = BaseClient("workspace", 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_git_folder(self, ai_data_platform_id, workspace_key, create_git_folder_details, **kwargs):
|
|
89
|
+
"""
|
|
90
|
+
Creates a git folder in the workspace
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
:param str ai_data_platform_id: (required)
|
|
94
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
95
|
+
|
|
96
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
97
|
+
|
|
98
|
+
:param str workspace_key: (required)
|
|
99
|
+
The key of the Workspace
|
|
100
|
+
|
|
101
|
+
:param oci.aidataplatform_dp.models.CreateGitFolderDetails create_git_folder_details: (required)
|
|
102
|
+
The information to be updated.
|
|
103
|
+
|
|
104
|
+
:param str dh_user_principal: (optional)
|
|
105
|
+
The DH User Principal Header .
|
|
106
|
+
|
|
107
|
+
:param str opc_retry_token: (optional)
|
|
108
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
109
|
+
server error without risk of running that same action again. Retry tokens expire after 24
|
|
110
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
111
|
+
has been deleted and removed from the system, then a retry of the original creation request
|
|
112
|
+
might be rejected.
|
|
113
|
+
|
|
114
|
+
:param str if_match: (optional)
|
|
115
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
116
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
117
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
118
|
+
matches the resource's current etag value.
|
|
119
|
+
|
|
120
|
+
:param str opc_request_id: (optional)
|
|
121
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
122
|
+
Oracle about a particular request, please provide the request ID.
|
|
123
|
+
The only valid characters for request IDs are letters, numbers,
|
|
124
|
+
underscore, and dash.
|
|
125
|
+
|
|
126
|
+
:param obj retry_strategy: (optional)
|
|
127
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
128
|
+
|
|
129
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
130
|
+
is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
|
|
131
|
+
|
|
132
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
133
|
+
|
|
134
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.GitFolder`
|
|
135
|
+
:rtype: :class:`~oci.response.Response`
|
|
136
|
+
"""
|
|
137
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/gitFolders"
|
|
138
|
+
method = "POST"
|
|
139
|
+
|
|
140
|
+
# Don't accept unknown kwargs
|
|
141
|
+
expected_kwargs = [
|
|
142
|
+
"retry_strategy",
|
|
143
|
+
"dh_user_principal",
|
|
144
|
+
"opc_retry_token",
|
|
145
|
+
"if_match",
|
|
146
|
+
"opc_request_id"
|
|
147
|
+
]
|
|
148
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
149
|
+
if extra_kwargs:
|
|
150
|
+
raise ValueError(
|
|
151
|
+
"create_git_folder got unknown kwargs: {!r}".format(extra_kwargs))
|
|
152
|
+
|
|
153
|
+
path_params = {
|
|
154
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
155
|
+
"workspaceKey": workspace_key
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
159
|
+
|
|
160
|
+
for (k, v) in six.iteritems(path_params):
|
|
161
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
162
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
163
|
+
|
|
164
|
+
header_params = {
|
|
165
|
+
"accept": "application/json",
|
|
166
|
+
"content-type": "application/json",
|
|
167
|
+
"dh-user-principal": kwargs.get("dh_user_principal", missing),
|
|
168
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
|
169
|
+
"if-match": kwargs.get("if_match", missing),
|
|
170
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
171
|
+
}
|
|
172
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
173
|
+
|
|
174
|
+
retry_strategy = self.retry_strategy
|
|
175
|
+
if kwargs.get('retry_strategy'):
|
|
176
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
177
|
+
|
|
178
|
+
if retry_strategy:
|
|
179
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
|
180
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
|
181
|
+
return retry_strategy.make_retrying_call(
|
|
182
|
+
self.base_client.call_api,
|
|
183
|
+
resource_path=resource_path,
|
|
184
|
+
method=method,
|
|
185
|
+
path_params=path_params,
|
|
186
|
+
header_params=header_params,
|
|
187
|
+
body=create_git_folder_details,
|
|
188
|
+
response_type="GitFolder")
|
|
189
|
+
else:
|
|
190
|
+
return self.base_client.call_api(
|
|
191
|
+
resource_path=resource_path,
|
|
192
|
+
method=method,
|
|
193
|
+
path_params=path_params,
|
|
194
|
+
header_params=header_params,
|
|
195
|
+
body=create_git_folder_details,
|
|
196
|
+
response_type="GitFolder")
|
|
197
|
+
|
|
198
|
+
def create_workspace(self, ai_data_platform_id, create_workspace_details, **kwargs):
|
|
199
|
+
"""
|
|
200
|
+
Creates a workspace.
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
:param str ai_data_platform_id: (required)
|
|
204
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
205
|
+
|
|
206
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
207
|
+
|
|
208
|
+
:param oci.aidataplatform_dp.models.CreateWorkspaceDetails create_workspace_details: (required)
|
|
209
|
+
Details for the new workspace.
|
|
210
|
+
|
|
211
|
+
:param str opc_retry_token: (optional)
|
|
212
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
213
|
+
server error without risk of running that same action again. Retry tokens expire after 24
|
|
214
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
215
|
+
has been deleted and removed from the system, then a retry of the original creation request
|
|
216
|
+
might be rejected.
|
|
217
|
+
|
|
218
|
+
:param str opc_request_id: (optional)
|
|
219
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
220
|
+
Oracle about a particular request, please provide the request ID.
|
|
221
|
+
The only valid characters for request IDs are letters, numbers,
|
|
222
|
+
underscore, and dash.
|
|
223
|
+
|
|
224
|
+
:param obj retry_strategy: (optional)
|
|
225
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
226
|
+
|
|
227
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
228
|
+
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>`__.
|
|
229
|
+
|
|
230
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
231
|
+
|
|
232
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.Workspace`
|
|
233
|
+
:rtype: :class:`~oci.response.Response`
|
|
234
|
+
"""
|
|
235
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces"
|
|
236
|
+
method = "POST"
|
|
237
|
+
|
|
238
|
+
# Don't accept unknown kwargs
|
|
239
|
+
expected_kwargs = [
|
|
240
|
+
"retry_strategy",
|
|
241
|
+
"opc_retry_token",
|
|
242
|
+
"opc_request_id"
|
|
243
|
+
]
|
|
244
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
245
|
+
if extra_kwargs:
|
|
246
|
+
raise ValueError(
|
|
247
|
+
"create_workspace got unknown kwargs: {!r}".format(extra_kwargs))
|
|
248
|
+
|
|
249
|
+
path_params = {
|
|
250
|
+
"aiDataPlatformId": ai_data_platform_id
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
254
|
+
|
|
255
|
+
for (k, v) in six.iteritems(path_params):
|
|
256
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
257
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
258
|
+
|
|
259
|
+
header_params = {
|
|
260
|
+
"accept": "application/json",
|
|
261
|
+
"content-type": "application/json",
|
|
262
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
|
263
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
264
|
+
}
|
|
265
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
266
|
+
|
|
267
|
+
retry_strategy = self.retry_strategy
|
|
268
|
+
if kwargs.get('retry_strategy'):
|
|
269
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
270
|
+
|
|
271
|
+
if retry_strategy:
|
|
272
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
|
273
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
|
274
|
+
return retry_strategy.make_retrying_call(
|
|
275
|
+
self.base_client.call_api,
|
|
276
|
+
resource_path=resource_path,
|
|
277
|
+
method=method,
|
|
278
|
+
path_params=path_params,
|
|
279
|
+
header_params=header_params,
|
|
280
|
+
body=create_workspace_details,
|
|
281
|
+
response_type="Workspace")
|
|
282
|
+
else:
|
|
283
|
+
return self.base_client.call_api(
|
|
284
|
+
resource_path=resource_path,
|
|
285
|
+
method=method,
|
|
286
|
+
path_params=path_params,
|
|
287
|
+
header_params=header_params,
|
|
288
|
+
body=create_workspace_details,
|
|
289
|
+
response_type="Workspace")
|
|
290
|
+
|
|
291
|
+
def delete_workspace(self, ai_data_platform_id, workspace_key, **kwargs):
|
|
292
|
+
"""
|
|
293
|
+
Deletes a workspace.
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
:param str ai_data_platform_id: (required)
|
|
297
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
298
|
+
|
|
299
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
300
|
+
|
|
301
|
+
:param str workspace_key: (required)
|
|
302
|
+
The key of the Workspace
|
|
303
|
+
|
|
304
|
+
:param str if_match: (optional)
|
|
305
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
306
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
307
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
308
|
+
matches the resource's current etag value.
|
|
309
|
+
|
|
310
|
+
:param str opc_request_id: (optional)
|
|
311
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
312
|
+
Oracle about a particular request, please provide the request ID.
|
|
313
|
+
The only valid characters for request IDs are letters, numbers,
|
|
314
|
+
underscore, and dash.
|
|
315
|
+
|
|
316
|
+
:param datetime time_data_lake_deletion: (optional)
|
|
317
|
+
Deletion time in the case that a workspace is deleted during AI Data Platform Workbench deletion.
|
|
318
|
+
|
|
319
|
+
:param obj retry_strategy: (optional)
|
|
320
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
321
|
+
|
|
322
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
323
|
+
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>`__.
|
|
324
|
+
|
|
325
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
326
|
+
|
|
327
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
|
328
|
+
:rtype: :class:`~oci.response.Response`
|
|
329
|
+
"""
|
|
330
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}"
|
|
331
|
+
method = "DELETE"
|
|
332
|
+
|
|
333
|
+
# Don't accept unknown kwargs
|
|
334
|
+
expected_kwargs = [
|
|
335
|
+
"retry_strategy",
|
|
336
|
+
"if_match",
|
|
337
|
+
"opc_request_id",
|
|
338
|
+
"time_data_lake_deletion"
|
|
339
|
+
]
|
|
340
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
341
|
+
if extra_kwargs:
|
|
342
|
+
raise ValueError(
|
|
343
|
+
"delete_workspace got unknown kwargs: {!r}".format(extra_kwargs))
|
|
344
|
+
|
|
345
|
+
path_params = {
|
|
346
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
347
|
+
"workspaceKey": workspace_key
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
351
|
+
|
|
352
|
+
for (k, v) in six.iteritems(path_params):
|
|
353
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
354
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
355
|
+
|
|
356
|
+
header_params = {
|
|
357
|
+
"accept": "application/json",
|
|
358
|
+
"content-type": "application/json",
|
|
359
|
+
"if-match": kwargs.get("if_match", missing),
|
|
360
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
361
|
+
"time-data-lake-deletion": kwargs.get("time_data_lake_deletion", missing)
|
|
362
|
+
}
|
|
363
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
364
|
+
|
|
365
|
+
retry_strategy = self.retry_strategy
|
|
366
|
+
if kwargs.get('retry_strategy'):
|
|
367
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
368
|
+
|
|
369
|
+
if retry_strategy:
|
|
370
|
+
return retry_strategy.make_retrying_call(
|
|
371
|
+
self.base_client.call_api,
|
|
372
|
+
resource_path=resource_path,
|
|
373
|
+
method=method,
|
|
374
|
+
path_params=path_params,
|
|
375
|
+
header_params=header_params)
|
|
376
|
+
else:
|
|
377
|
+
return self.base_client.call_api(
|
|
378
|
+
resource_path=resource_path,
|
|
379
|
+
method=method,
|
|
380
|
+
path_params=path_params,
|
|
381
|
+
header_params=header_params)
|
|
382
|
+
|
|
383
|
+
def get_workspace(self, ai_data_platform_id, workspace_key, **kwargs):
|
|
384
|
+
"""
|
|
385
|
+
Gets detailed information about a workspace.
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
:param str ai_data_platform_id: (required)
|
|
389
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
390
|
+
|
|
391
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
392
|
+
|
|
393
|
+
:param str workspace_key: (required)
|
|
394
|
+
The key of the Workspace
|
|
395
|
+
|
|
396
|
+
:param str opc_request_id: (optional)
|
|
397
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
398
|
+
Oracle about a particular request, please provide the request ID.
|
|
399
|
+
The only valid characters for request IDs are letters, numbers,
|
|
400
|
+
underscore, and dash.
|
|
401
|
+
|
|
402
|
+
:param obj retry_strategy: (optional)
|
|
403
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
404
|
+
|
|
405
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
406
|
+
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>`__.
|
|
407
|
+
|
|
408
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
409
|
+
|
|
410
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.Workspace`
|
|
411
|
+
:rtype: :class:`~oci.response.Response`
|
|
412
|
+
"""
|
|
413
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}"
|
|
414
|
+
method = "GET"
|
|
415
|
+
|
|
416
|
+
# Don't accept unknown kwargs
|
|
417
|
+
expected_kwargs = [
|
|
418
|
+
"retry_strategy",
|
|
419
|
+
"opc_request_id"
|
|
420
|
+
]
|
|
421
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
422
|
+
if extra_kwargs:
|
|
423
|
+
raise ValueError(
|
|
424
|
+
"get_workspace got unknown kwargs: {!r}".format(extra_kwargs))
|
|
425
|
+
|
|
426
|
+
path_params = {
|
|
427
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
428
|
+
"workspaceKey": workspace_key
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
432
|
+
|
|
433
|
+
for (k, v) in six.iteritems(path_params):
|
|
434
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
435
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
436
|
+
|
|
437
|
+
header_params = {
|
|
438
|
+
"accept": "application/json",
|
|
439
|
+
"content-type": "application/json",
|
|
440
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
441
|
+
}
|
|
442
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
443
|
+
|
|
444
|
+
retry_strategy = self.retry_strategy
|
|
445
|
+
if kwargs.get('retry_strategy'):
|
|
446
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
447
|
+
|
|
448
|
+
if retry_strategy:
|
|
449
|
+
return retry_strategy.make_retrying_call(
|
|
450
|
+
self.base_client.call_api,
|
|
451
|
+
resource_path=resource_path,
|
|
452
|
+
method=method,
|
|
453
|
+
path_params=path_params,
|
|
454
|
+
header_params=header_params,
|
|
455
|
+
response_type="Workspace")
|
|
456
|
+
else:
|
|
457
|
+
return self.base_client.call_api(
|
|
458
|
+
resource_path=resource_path,
|
|
459
|
+
method=method,
|
|
460
|
+
path_params=path_params,
|
|
461
|
+
header_params=header_params,
|
|
462
|
+
response_type="Workspace")
|
|
463
|
+
|
|
464
|
+
def list_create_workspace_permissions(self, ai_data_platform_id, **kwargs):
|
|
465
|
+
"""
|
|
466
|
+
Gets a list of create workspace permission summary objects.
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
:param str ai_data_platform_id: (required)
|
|
470
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
471
|
+
|
|
472
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
473
|
+
|
|
474
|
+
:param int limit: (optional)
|
|
475
|
+
For list pagination. The maximum number of results per page, or items to return in a
|
|
476
|
+
paginated \"List\" call. For important details about how pagination works, see
|
|
477
|
+
`List Pagination`__.
|
|
478
|
+
|
|
479
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
480
|
+
|
|
481
|
+
:param str page: (optional)
|
|
482
|
+
For list pagination. The value of the opc-next-page response header from the previous
|
|
483
|
+
\"List\" call. For important details about how pagination works, see
|
|
484
|
+
`List Pagination`__.
|
|
485
|
+
|
|
486
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
487
|
+
|
|
488
|
+
:param str sort_order: (optional)
|
|
489
|
+
The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
|
490
|
+
|
|
491
|
+
Allowed values are: "ASC", "DESC"
|
|
492
|
+
|
|
493
|
+
:param str sort_by: (optional)
|
|
494
|
+
The field to sort by. You can provide only one sort order. Default order for `granteeName`
|
|
495
|
+
is ascending.
|
|
496
|
+
|
|
497
|
+
Allowed values are: "granteeName"
|
|
498
|
+
|
|
499
|
+
:param str opc_request_id: (optional)
|
|
500
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
501
|
+
Oracle about a particular request, please provide the request ID.
|
|
502
|
+
The only valid characters for request IDs are letters, numbers,
|
|
503
|
+
underscore, and dash.
|
|
504
|
+
|
|
505
|
+
:param obj retry_strategy: (optional)
|
|
506
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
507
|
+
|
|
508
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
509
|
+
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>`__.
|
|
510
|
+
|
|
511
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
512
|
+
|
|
513
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.CreateWorkspacePermissionCollection`
|
|
514
|
+
:rtype: :class:`~oci.response.Response`
|
|
515
|
+
"""
|
|
516
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/createWorkspacePermissions"
|
|
517
|
+
method = "GET"
|
|
518
|
+
|
|
519
|
+
# Don't accept unknown kwargs
|
|
520
|
+
expected_kwargs = [
|
|
521
|
+
"retry_strategy",
|
|
522
|
+
"limit",
|
|
523
|
+
"page",
|
|
524
|
+
"sort_order",
|
|
525
|
+
"sort_by",
|
|
526
|
+
"opc_request_id"
|
|
527
|
+
]
|
|
528
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
529
|
+
if extra_kwargs:
|
|
530
|
+
raise ValueError(
|
|
531
|
+
"list_create_workspace_permissions got unknown kwargs: {!r}".format(extra_kwargs))
|
|
532
|
+
|
|
533
|
+
path_params = {
|
|
534
|
+
"aiDataPlatformId": ai_data_platform_id
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
538
|
+
|
|
539
|
+
for (k, v) in six.iteritems(path_params):
|
|
540
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
541
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
542
|
+
|
|
543
|
+
if 'sort_order' in kwargs:
|
|
544
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
|
545
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
|
546
|
+
raise ValueError(
|
|
547
|
+
"Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
|
|
548
|
+
)
|
|
549
|
+
|
|
550
|
+
if 'sort_by' in kwargs:
|
|
551
|
+
sort_by_allowed_values = ["granteeName"]
|
|
552
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
|
553
|
+
raise ValueError(
|
|
554
|
+
"Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
|
|
555
|
+
)
|
|
556
|
+
|
|
557
|
+
query_params = {
|
|
558
|
+
"limit": kwargs.get("limit", missing),
|
|
559
|
+
"page": kwargs.get("page", missing),
|
|
560
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
|
561
|
+
"sortBy": kwargs.get("sort_by", missing)
|
|
562
|
+
}
|
|
563
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
|
564
|
+
|
|
565
|
+
header_params = {
|
|
566
|
+
"accept": "application/json",
|
|
567
|
+
"content-type": "application/json",
|
|
568
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
569
|
+
}
|
|
570
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
571
|
+
|
|
572
|
+
retry_strategy = self.retry_strategy
|
|
573
|
+
if kwargs.get('retry_strategy'):
|
|
574
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
575
|
+
|
|
576
|
+
if retry_strategy:
|
|
577
|
+
return retry_strategy.make_retrying_call(
|
|
578
|
+
self.base_client.call_api,
|
|
579
|
+
resource_path=resource_path,
|
|
580
|
+
method=method,
|
|
581
|
+
path_params=path_params,
|
|
582
|
+
query_params=query_params,
|
|
583
|
+
header_params=header_params,
|
|
584
|
+
response_type="CreateWorkspacePermissionCollection")
|
|
585
|
+
else:
|
|
586
|
+
return self.base_client.call_api(
|
|
587
|
+
resource_path=resource_path,
|
|
588
|
+
method=method,
|
|
589
|
+
path_params=path_params,
|
|
590
|
+
query_params=query_params,
|
|
591
|
+
header_params=header_params,
|
|
592
|
+
response_type="CreateWorkspacePermissionCollection")
|
|
593
|
+
|
|
594
|
+
def list_workspace_permissions(self, ai_data_platform_id, workspace_key, **kwargs):
|
|
595
|
+
"""
|
|
596
|
+
Gets a list of workspace permissions.
|
|
597
|
+
|
|
598
|
+
|
|
599
|
+
:param str ai_data_platform_id: (required)
|
|
600
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
601
|
+
|
|
602
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
603
|
+
|
|
604
|
+
:param str workspace_key: (required)
|
|
605
|
+
The key of the Workspace
|
|
606
|
+
|
|
607
|
+
:param int limit: (optional)
|
|
608
|
+
For list pagination. The maximum number of results per page, or items to return in a
|
|
609
|
+
paginated \"List\" call. For important details about how pagination works, see
|
|
610
|
+
`List Pagination`__.
|
|
611
|
+
|
|
612
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
613
|
+
|
|
614
|
+
:param str page: (optional)
|
|
615
|
+
For list pagination. The value of the opc-next-page response header from the previous
|
|
616
|
+
\"List\" call. For important details about how pagination works, see
|
|
617
|
+
`List Pagination`__.
|
|
618
|
+
|
|
619
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
620
|
+
|
|
621
|
+
:param str sort_order: (optional)
|
|
622
|
+
The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
|
623
|
+
|
|
624
|
+
Allowed values are: "ASC", "DESC"
|
|
625
|
+
|
|
626
|
+
:param str sort_by: (optional)
|
|
627
|
+
The field to sort by. You can provide only one sort order. Default order for `granteeName`
|
|
628
|
+
is ascending.
|
|
629
|
+
|
|
630
|
+
Allowed values are: "granteeName"
|
|
631
|
+
|
|
632
|
+
:param str opc_request_id: (optional)
|
|
633
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
634
|
+
Oracle about a particular request, please provide the request ID.
|
|
635
|
+
The only valid characters for request IDs are letters, numbers,
|
|
636
|
+
underscore, and dash.
|
|
637
|
+
|
|
638
|
+
:param obj retry_strategy: (optional)
|
|
639
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
640
|
+
|
|
641
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
642
|
+
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>`__.
|
|
643
|
+
|
|
644
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
645
|
+
|
|
646
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.WorkspacePermissionCollection`
|
|
647
|
+
:rtype: :class:`~oci.response.Response`
|
|
648
|
+
"""
|
|
649
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/permissions"
|
|
650
|
+
method = "GET"
|
|
651
|
+
|
|
652
|
+
# Don't accept unknown kwargs
|
|
653
|
+
expected_kwargs = [
|
|
654
|
+
"retry_strategy",
|
|
655
|
+
"limit",
|
|
656
|
+
"page",
|
|
657
|
+
"sort_order",
|
|
658
|
+
"sort_by",
|
|
659
|
+
"opc_request_id"
|
|
660
|
+
]
|
|
661
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
662
|
+
if extra_kwargs:
|
|
663
|
+
raise ValueError(
|
|
664
|
+
"list_workspace_permissions got unknown kwargs: {!r}".format(extra_kwargs))
|
|
665
|
+
|
|
666
|
+
path_params = {
|
|
667
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
668
|
+
"workspaceKey": workspace_key
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
672
|
+
|
|
673
|
+
for (k, v) in six.iteritems(path_params):
|
|
674
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
675
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
676
|
+
|
|
677
|
+
if 'sort_order' in kwargs:
|
|
678
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
|
679
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
|
680
|
+
raise ValueError(
|
|
681
|
+
"Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
|
|
682
|
+
)
|
|
683
|
+
|
|
684
|
+
if 'sort_by' in kwargs:
|
|
685
|
+
sort_by_allowed_values = ["granteeName"]
|
|
686
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
|
687
|
+
raise ValueError(
|
|
688
|
+
"Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
|
|
689
|
+
)
|
|
690
|
+
|
|
691
|
+
query_params = {
|
|
692
|
+
"limit": kwargs.get("limit", missing),
|
|
693
|
+
"page": kwargs.get("page", missing),
|
|
694
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
|
695
|
+
"sortBy": kwargs.get("sort_by", missing)
|
|
696
|
+
}
|
|
697
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
|
698
|
+
|
|
699
|
+
header_params = {
|
|
700
|
+
"accept": "application/json",
|
|
701
|
+
"content-type": "application/json",
|
|
702
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
703
|
+
}
|
|
704
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
705
|
+
|
|
706
|
+
retry_strategy = self.retry_strategy
|
|
707
|
+
if kwargs.get('retry_strategy'):
|
|
708
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
709
|
+
|
|
710
|
+
if retry_strategy:
|
|
711
|
+
return retry_strategy.make_retrying_call(
|
|
712
|
+
self.base_client.call_api,
|
|
713
|
+
resource_path=resource_path,
|
|
714
|
+
method=method,
|
|
715
|
+
path_params=path_params,
|
|
716
|
+
query_params=query_params,
|
|
717
|
+
header_params=header_params,
|
|
718
|
+
response_type="WorkspacePermissionCollection")
|
|
719
|
+
else:
|
|
720
|
+
return self.base_client.call_api(
|
|
721
|
+
resource_path=resource_path,
|
|
722
|
+
method=method,
|
|
723
|
+
path_params=path_params,
|
|
724
|
+
query_params=query_params,
|
|
725
|
+
header_params=header_params,
|
|
726
|
+
response_type="WorkspacePermissionCollection")
|
|
727
|
+
|
|
728
|
+
def list_workspaces(self, ai_data_platform_id, **kwargs):
|
|
729
|
+
"""
|
|
730
|
+
Gets a list of workspaces.
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
:param str ai_data_platform_id: (required)
|
|
734
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
735
|
+
|
|
736
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
737
|
+
|
|
738
|
+
:param str lifecycle_state: (optional)
|
|
739
|
+
A filter to return only resources that match the given lifecycle state. The
|
|
740
|
+
state value is case-insensitive.
|
|
741
|
+
|
|
742
|
+
Allowed values are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
|
|
743
|
+
|
|
744
|
+
:param str display_name: (optional)
|
|
745
|
+
A filter to return only resources that match the given display name exactly.
|
|
746
|
+
|
|
747
|
+
:param str display_name_contains: (optional)
|
|
748
|
+
A filter to return only resources that have a display name containing the text provided.
|
|
749
|
+
|
|
750
|
+
:param str type: (optional)
|
|
751
|
+
When no value is provided, all workspaces are returned. Otherwise, workspace of selected value is returned.
|
|
752
|
+
|
|
753
|
+
Allowed values are: "DEFAULT", "USER"
|
|
754
|
+
|
|
755
|
+
:param int limit: (optional)
|
|
756
|
+
For list pagination. The maximum number of results per page, or items to return in a
|
|
757
|
+
paginated \"List\" call. For important details about how pagination works, see
|
|
758
|
+
`List Pagination`__.
|
|
759
|
+
|
|
760
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
761
|
+
|
|
762
|
+
:param str page: (optional)
|
|
763
|
+
For list pagination. The value of the opc-next-page response header from the previous
|
|
764
|
+
\"List\" call. For important details about how pagination works, see
|
|
765
|
+
`List Pagination`__.
|
|
766
|
+
|
|
767
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
768
|
+
|
|
769
|
+
:param str sort_order: (optional)
|
|
770
|
+
The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
|
771
|
+
|
|
772
|
+
Allowed values are: "ASC", "DESC"
|
|
773
|
+
|
|
774
|
+
:param str sort_by: (optional)
|
|
775
|
+
The field to sort by. You can provide only one sort order. Default order for `timeCreated`
|
|
776
|
+
is descending. Default order for `displayName` is ascending.
|
|
777
|
+
|
|
778
|
+
Allowed values are: "timeCreated", "displayName"
|
|
779
|
+
|
|
780
|
+
:param bool is_private_network_enabled: (optional)
|
|
781
|
+
A flag to filter the workspaces which are private network enabled or disabled
|
|
782
|
+
|
|
783
|
+
:param str opc_request_id: (optional)
|
|
784
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
785
|
+
Oracle about a particular request, please provide the request ID.
|
|
786
|
+
The only valid characters for request IDs are letters, numbers,
|
|
787
|
+
underscore, and dash.
|
|
788
|
+
|
|
789
|
+
:param obj retry_strategy: (optional)
|
|
790
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
791
|
+
|
|
792
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
793
|
+
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>`__.
|
|
794
|
+
|
|
795
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
796
|
+
|
|
797
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.WorkspaceCollection`
|
|
798
|
+
:rtype: :class:`~oci.response.Response`
|
|
799
|
+
"""
|
|
800
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces"
|
|
801
|
+
method = "GET"
|
|
802
|
+
|
|
803
|
+
# Don't accept unknown kwargs
|
|
804
|
+
expected_kwargs = [
|
|
805
|
+
"retry_strategy",
|
|
806
|
+
"lifecycle_state",
|
|
807
|
+
"display_name",
|
|
808
|
+
"display_name_contains",
|
|
809
|
+
"type",
|
|
810
|
+
"limit",
|
|
811
|
+
"page",
|
|
812
|
+
"sort_order",
|
|
813
|
+
"sort_by",
|
|
814
|
+
"is_private_network_enabled",
|
|
815
|
+
"opc_request_id"
|
|
816
|
+
]
|
|
817
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
818
|
+
if extra_kwargs:
|
|
819
|
+
raise ValueError(
|
|
820
|
+
"list_workspaces got unknown kwargs: {!r}".format(extra_kwargs))
|
|
821
|
+
|
|
822
|
+
path_params = {
|
|
823
|
+
"aiDataPlatformId": ai_data_platform_id
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
827
|
+
|
|
828
|
+
for (k, v) in six.iteritems(path_params):
|
|
829
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
830
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
831
|
+
|
|
832
|
+
if 'lifecycle_state' in kwargs:
|
|
833
|
+
lifecycle_state_allowed_values = ["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
|
|
834
|
+
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
|
|
835
|
+
raise ValueError(
|
|
836
|
+
"Invalid value for `lifecycle_state`, must be one of {0}".format(lifecycle_state_allowed_values)
|
|
837
|
+
)
|
|
838
|
+
|
|
839
|
+
if 'type' in kwargs:
|
|
840
|
+
type_allowed_values = ["DEFAULT", "USER"]
|
|
841
|
+
if kwargs['type'] not in type_allowed_values:
|
|
842
|
+
raise ValueError(
|
|
843
|
+
"Invalid value for `type`, must be one of {0}".format(type_allowed_values)
|
|
844
|
+
)
|
|
845
|
+
|
|
846
|
+
if 'sort_order' in kwargs:
|
|
847
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
|
848
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
|
849
|
+
raise ValueError(
|
|
850
|
+
"Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
|
|
851
|
+
)
|
|
852
|
+
|
|
853
|
+
if 'sort_by' in kwargs:
|
|
854
|
+
sort_by_allowed_values = ["timeCreated", "displayName"]
|
|
855
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
|
856
|
+
raise ValueError(
|
|
857
|
+
"Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
|
|
858
|
+
)
|
|
859
|
+
|
|
860
|
+
query_params = {
|
|
861
|
+
"lifecycleState": kwargs.get("lifecycle_state", missing),
|
|
862
|
+
"displayName": kwargs.get("display_name", missing),
|
|
863
|
+
"displayNameContains": kwargs.get("display_name_contains", missing),
|
|
864
|
+
"type": kwargs.get("type", missing),
|
|
865
|
+
"limit": kwargs.get("limit", missing),
|
|
866
|
+
"page": kwargs.get("page", missing),
|
|
867
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
|
868
|
+
"sortBy": kwargs.get("sort_by", missing),
|
|
869
|
+
"isPrivateNetworkEnabled": kwargs.get("is_private_network_enabled", missing)
|
|
870
|
+
}
|
|
871
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
|
872
|
+
|
|
873
|
+
header_params = {
|
|
874
|
+
"accept": "application/json",
|
|
875
|
+
"content-type": "application/json",
|
|
876
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
877
|
+
}
|
|
878
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
879
|
+
|
|
880
|
+
retry_strategy = self.retry_strategy
|
|
881
|
+
if kwargs.get('retry_strategy'):
|
|
882
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
883
|
+
|
|
884
|
+
if retry_strategy:
|
|
885
|
+
return retry_strategy.make_retrying_call(
|
|
886
|
+
self.base_client.call_api,
|
|
887
|
+
resource_path=resource_path,
|
|
888
|
+
method=method,
|
|
889
|
+
path_params=path_params,
|
|
890
|
+
query_params=query_params,
|
|
891
|
+
header_params=header_params,
|
|
892
|
+
response_type="WorkspaceCollection")
|
|
893
|
+
else:
|
|
894
|
+
return self.base_client.call_api(
|
|
895
|
+
resource_path=resource_path,
|
|
896
|
+
method=method,
|
|
897
|
+
path_params=path_params,
|
|
898
|
+
query_params=query_params,
|
|
899
|
+
header_params=header_params,
|
|
900
|
+
response_type="WorkspaceCollection")
|
|
901
|
+
|
|
902
|
+
def manage_create_workspace_permission(self, ai_data_platform_id, manage_create_workspace_permission_details, **kwargs):
|
|
903
|
+
"""
|
|
904
|
+
Updates create workspace permissions on a workspace.
|
|
905
|
+
|
|
906
|
+
|
|
907
|
+
:param str ai_data_platform_id: (required)
|
|
908
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
909
|
+
|
|
910
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
911
|
+
|
|
912
|
+
:param oci.aidataplatform_dp.models.ManageCreateWorkspacePermissionDetails manage_create_workspace_permission_details: (required)
|
|
913
|
+
The information to be updated.
|
|
914
|
+
|
|
915
|
+
:param str if_match: (optional)
|
|
916
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
917
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
918
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
919
|
+
matches the resource's current etag value.
|
|
920
|
+
|
|
921
|
+
:param str opc_retry_token: (optional)
|
|
922
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
923
|
+
server error without risk of running that same action again. Retry tokens expire after 24
|
|
924
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
925
|
+
has been deleted and removed from the system, then a retry of the original creation request
|
|
926
|
+
might be rejected.
|
|
927
|
+
|
|
928
|
+
:param str opc_request_id: (optional)
|
|
929
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
930
|
+
Oracle about a particular request, please provide the request ID.
|
|
931
|
+
The only valid characters for request IDs are letters, numbers,
|
|
932
|
+
underscore, and dash.
|
|
933
|
+
|
|
934
|
+
:param obj retry_strategy: (optional)
|
|
935
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
936
|
+
|
|
937
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
938
|
+
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>`__.
|
|
939
|
+
|
|
940
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
941
|
+
|
|
942
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
|
943
|
+
:rtype: :class:`~oci.response.Response`
|
|
944
|
+
"""
|
|
945
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/actions/manageCreateWorkspacePermission"
|
|
946
|
+
method = "POST"
|
|
947
|
+
|
|
948
|
+
# Don't accept unknown kwargs
|
|
949
|
+
expected_kwargs = [
|
|
950
|
+
"retry_strategy",
|
|
951
|
+
"if_match",
|
|
952
|
+
"opc_retry_token",
|
|
953
|
+
"opc_request_id"
|
|
954
|
+
]
|
|
955
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
956
|
+
if extra_kwargs:
|
|
957
|
+
raise ValueError(
|
|
958
|
+
"manage_create_workspace_permission got unknown kwargs: {!r}".format(extra_kwargs))
|
|
959
|
+
|
|
960
|
+
path_params = {
|
|
961
|
+
"aiDataPlatformId": ai_data_platform_id
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
965
|
+
|
|
966
|
+
for (k, v) in six.iteritems(path_params):
|
|
967
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
968
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
969
|
+
|
|
970
|
+
header_params = {
|
|
971
|
+
"accept": "application/json",
|
|
972
|
+
"content-type": "application/json",
|
|
973
|
+
"if-match": kwargs.get("if_match", missing),
|
|
974
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
|
975
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
976
|
+
}
|
|
977
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
978
|
+
|
|
979
|
+
retry_strategy = self.retry_strategy
|
|
980
|
+
if kwargs.get('retry_strategy'):
|
|
981
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
982
|
+
|
|
983
|
+
if retry_strategy:
|
|
984
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
|
985
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
|
986
|
+
return retry_strategy.make_retrying_call(
|
|
987
|
+
self.base_client.call_api,
|
|
988
|
+
resource_path=resource_path,
|
|
989
|
+
method=method,
|
|
990
|
+
path_params=path_params,
|
|
991
|
+
header_params=header_params,
|
|
992
|
+
body=manage_create_workspace_permission_details)
|
|
993
|
+
else:
|
|
994
|
+
return self.base_client.call_api(
|
|
995
|
+
resource_path=resource_path,
|
|
996
|
+
method=method,
|
|
997
|
+
path_params=path_params,
|
|
998
|
+
header_params=header_params,
|
|
999
|
+
body=manage_create_workspace_permission_details)
|
|
1000
|
+
|
|
1001
|
+
def manage_workspace_permission(self, ai_data_platform_id, workspace_key, manage_workspace_permission_details, **kwargs):
|
|
1002
|
+
"""
|
|
1003
|
+
Updates permissions on a workspace.
|
|
1004
|
+
|
|
1005
|
+
|
|
1006
|
+
:param str ai_data_platform_id: (required)
|
|
1007
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
1008
|
+
|
|
1009
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
1010
|
+
|
|
1011
|
+
:param str workspace_key: (required)
|
|
1012
|
+
The key of the Workspace
|
|
1013
|
+
|
|
1014
|
+
:param oci.aidataplatform_dp.models.ManageWorkspacePermissionDetails manage_workspace_permission_details: (required)
|
|
1015
|
+
The information to be updated.
|
|
1016
|
+
|
|
1017
|
+
:param str if_match: (optional)
|
|
1018
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
1019
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
1020
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
1021
|
+
matches the resource's current etag value.
|
|
1022
|
+
|
|
1023
|
+
:param str opc_retry_token: (optional)
|
|
1024
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
1025
|
+
server error without risk of running that same action again. Retry tokens expire after 24
|
|
1026
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
1027
|
+
has been deleted and removed from the system, then a retry of the original creation request
|
|
1028
|
+
might be rejected.
|
|
1029
|
+
|
|
1030
|
+
:param str opc_request_id: (optional)
|
|
1031
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
1032
|
+
Oracle about a particular request, please provide the request ID.
|
|
1033
|
+
The only valid characters for request IDs are letters, numbers,
|
|
1034
|
+
underscore, and dash.
|
|
1035
|
+
|
|
1036
|
+
:param obj retry_strategy: (optional)
|
|
1037
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
1038
|
+
|
|
1039
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
1040
|
+
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>`__.
|
|
1041
|
+
|
|
1042
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
1043
|
+
|
|
1044
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
|
1045
|
+
:rtype: :class:`~oci.response.Response`
|
|
1046
|
+
"""
|
|
1047
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/actions/managePermission"
|
|
1048
|
+
method = "POST"
|
|
1049
|
+
|
|
1050
|
+
# Don't accept unknown kwargs
|
|
1051
|
+
expected_kwargs = [
|
|
1052
|
+
"retry_strategy",
|
|
1053
|
+
"if_match",
|
|
1054
|
+
"opc_retry_token",
|
|
1055
|
+
"opc_request_id"
|
|
1056
|
+
]
|
|
1057
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
1058
|
+
if extra_kwargs:
|
|
1059
|
+
raise ValueError(
|
|
1060
|
+
"manage_workspace_permission got unknown kwargs: {!r}".format(extra_kwargs))
|
|
1061
|
+
|
|
1062
|
+
path_params = {
|
|
1063
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
1064
|
+
"workspaceKey": workspace_key
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
1068
|
+
|
|
1069
|
+
for (k, v) in six.iteritems(path_params):
|
|
1070
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
1071
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
1072
|
+
|
|
1073
|
+
header_params = {
|
|
1074
|
+
"accept": "application/json",
|
|
1075
|
+
"content-type": "application/json",
|
|
1076
|
+
"if-match": kwargs.get("if_match", missing),
|
|
1077
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
|
1078
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
1079
|
+
}
|
|
1080
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
1081
|
+
|
|
1082
|
+
retry_strategy = self.retry_strategy
|
|
1083
|
+
if kwargs.get('retry_strategy'):
|
|
1084
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
1085
|
+
|
|
1086
|
+
if retry_strategy:
|
|
1087
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
|
1088
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
|
1089
|
+
return retry_strategy.make_retrying_call(
|
|
1090
|
+
self.base_client.call_api,
|
|
1091
|
+
resource_path=resource_path,
|
|
1092
|
+
method=method,
|
|
1093
|
+
path_params=path_params,
|
|
1094
|
+
header_params=header_params,
|
|
1095
|
+
body=manage_workspace_permission_details)
|
|
1096
|
+
else:
|
|
1097
|
+
return self.base_client.call_api(
|
|
1098
|
+
resource_path=resource_path,
|
|
1099
|
+
method=method,
|
|
1100
|
+
path_params=path_params,
|
|
1101
|
+
header_params=header_params,
|
|
1102
|
+
body=manage_workspace_permission_details)
|
|
1103
|
+
|
|
1104
|
+
def update_workspace(self, ai_data_platform_id, workspace_key, update_workspace_details, **kwargs):
|
|
1105
|
+
"""
|
|
1106
|
+
Updates the details of a workspace.
|
|
1107
|
+
|
|
1108
|
+
|
|
1109
|
+
:param str ai_data_platform_id: (required)
|
|
1110
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
1111
|
+
|
|
1112
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
1113
|
+
|
|
1114
|
+
:param str workspace_key: (required)
|
|
1115
|
+
The key of the Workspace
|
|
1116
|
+
|
|
1117
|
+
:param oci.aidataplatform_dp.models.UpdateWorkspaceDetails update_workspace_details: (required)
|
|
1118
|
+
The information to be updated.
|
|
1119
|
+
|
|
1120
|
+
:param str if_match: (optional)
|
|
1121
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
1122
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
1123
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
1124
|
+
matches the resource's current etag value.
|
|
1125
|
+
|
|
1126
|
+
:param str opc_request_id: (optional)
|
|
1127
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
1128
|
+
Oracle about a particular request, please provide the request ID.
|
|
1129
|
+
The only valid characters for request IDs are letters, numbers,
|
|
1130
|
+
underscore, and dash.
|
|
1131
|
+
|
|
1132
|
+
:param obj retry_strategy: (optional)
|
|
1133
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
1134
|
+
|
|
1135
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
1136
|
+
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>`__.
|
|
1137
|
+
|
|
1138
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
1139
|
+
|
|
1140
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.Workspace`
|
|
1141
|
+
:rtype: :class:`~oci.response.Response`
|
|
1142
|
+
"""
|
|
1143
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}"
|
|
1144
|
+
method = "PUT"
|
|
1145
|
+
|
|
1146
|
+
# Don't accept unknown kwargs
|
|
1147
|
+
expected_kwargs = [
|
|
1148
|
+
"retry_strategy",
|
|
1149
|
+
"if_match",
|
|
1150
|
+
"opc_request_id"
|
|
1151
|
+
]
|
|
1152
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
1153
|
+
if extra_kwargs:
|
|
1154
|
+
raise ValueError(
|
|
1155
|
+
"update_workspace got unknown kwargs: {!r}".format(extra_kwargs))
|
|
1156
|
+
|
|
1157
|
+
path_params = {
|
|
1158
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
1159
|
+
"workspaceKey": workspace_key
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
1163
|
+
|
|
1164
|
+
for (k, v) in six.iteritems(path_params):
|
|
1165
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
1166
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
1167
|
+
|
|
1168
|
+
header_params = {
|
|
1169
|
+
"accept": "application/json",
|
|
1170
|
+
"content-type": "application/json",
|
|
1171
|
+
"if-match": kwargs.get("if_match", missing),
|
|
1172
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
1173
|
+
}
|
|
1174
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
1175
|
+
|
|
1176
|
+
retry_strategy = self.retry_strategy
|
|
1177
|
+
if kwargs.get('retry_strategy'):
|
|
1178
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
1179
|
+
|
|
1180
|
+
if retry_strategy:
|
|
1181
|
+
return retry_strategy.make_retrying_call(
|
|
1182
|
+
self.base_client.call_api,
|
|
1183
|
+
resource_path=resource_path,
|
|
1184
|
+
method=method,
|
|
1185
|
+
path_params=path_params,
|
|
1186
|
+
header_params=header_params,
|
|
1187
|
+
body=update_workspace_details,
|
|
1188
|
+
response_type="Workspace")
|
|
1189
|
+
else:
|
|
1190
|
+
return self.base_client.call_api(
|
|
1191
|
+
resource_path=resource_path,
|
|
1192
|
+
method=method,
|
|
1193
|
+
path_params=path_params,
|
|
1194
|
+
header_params=header_params,
|
|
1195
|
+
body=update_workspace_details,
|
|
1196
|
+
response_type="Workspace")
|
|
1197
|
+
|
|
1198
|
+
def update_workspace_async_operation_status(self, ai_data_platform_id, workspace_key, async_operation_key, update_workspace_async_operation_status_details, **kwargs):
|
|
1199
|
+
"""
|
|
1200
|
+
Updates the status of a workspace.
|
|
1201
|
+
|
|
1202
|
+
|
|
1203
|
+
:param str ai_data_platform_id: (required)
|
|
1204
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
1205
|
+
|
|
1206
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
1207
|
+
|
|
1208
|
+
:param str workspace_key: (required)
|
|
1209
|
+
The key of the Workspace
|
|
1210
|
+
|
|
1211
|
+
:param str async_operation_key: (required)
|
|
1212
|
+
The unique identifier of an async operation
|
|
1213
|
+
|
|
1214
|
+
:param oci.aidataplatform_dp.models.UpdateWorkspaceAsyncOperationStatusDetails update_workspace_async_operation_status_details: (required)
|
|
1215
|
+
The information to be updated.
|
|
1216
|
+
|
|
1217
|
+
:param str if_match: (optional)
|
|
1218
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
1219
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
1220
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
1221
|
+
matches the resource's current etag value.
|
|
1222
|
+
|
|
1223
|
+
:param str opc_request_id: (optional)
|
|
1224
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
1225
|
+
Oracle about a particular request, please provide the request ID.
|
|
1226
|
+
The only valid characters for request IDs are letters, numbers,
|
|
1227
|
+
underscore, and dash.
|
|
1228
|
+
|
|
1229
|
+
:param obj retry_strategy: (optional)
|
|
1230
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
1231
|
+
|
|
1232
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
1233
|
+
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>`__.
|
|
1234
|
+
|
|
1235
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
1236
|
+
|
|
1237
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.Workspace`
|
|
1238
|
+
:rtype: :class:`~oci.response.Response`
|
|
1239
|
+
"""
|
|
1240
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/asyncOperations/{asyncOperationKey}/status"
|
|
1241
|
+
method = "PUT"
|
|
1242
|
+
|
|
1243
|
+
# Don't accept unknown kwargs
|
|
1244
|
+
expected_kwargs = [
|
|
1245
|
+
"retry_strategy",
|
|
1246
|
+
"if_match",
|
|
1247
|
+
"opc_request_id"
|
|
1248
|
+
]
|
|
1249
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
1250
|
+
if extra_kwargs:
|
|
1251
|
+
raise ValueError(
|
|
1252
|
+
"update_workspace_async_operation_status got unknown kwargs: {!r}".format(extra_kwargs))
|
|
1253
|
+
|
|
1254
|
+
path_params = {
|
|
1255
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
1256
|
+
"workspaceKey": workspace_key,
|
|
1257
|
+
"asyncOperationKey": async_operation_key
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
1261
|
+
|
|
1262
|
+
for (k, v) in six.iteritems(path_params):
|
|
1263
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
1264
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
1265
|
+
|
|
1266
|
+
header_params = {
|
|
1267
|
+
"accept": "application/json",
|
|
1268
|
+
"content-type": "application/json",
|
|
1269
|
+
"if-match": kwargs.get("if_match", missing),
|
|
1270
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
1271
|
+
}
|
|
1272
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
1273
|
+
|
|
1274
|
+
retry_strategy = self.retry_strategy
|
|
1275
|
+
if kwargs.get('retry_strategy'):
|
|
1276
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
1277
|
+
|
|
1278
|
+
if retry_strategy:
|
|
1279
|
+
return retry_strategy.make_retrying_call(
|
|
1280
|
+
self.base_client.call_api,
|
|
1281
|
+
resource_path=resource_path,
|
|
1282
|
+
method=method,
|
|
1283
|
+
path_params=path_params,
|
|
1284
|
+
header_params=header_params,
|
|
1285
|
+
body=update_workspace_async_operation_status_details,
|
|
1286
|
+
response_type="Workspace")
|
|
1287
|
+
else:
|
|
1288
|
+
return self.base_client.call_api(
|
|
1289
|
+
resource_path=resource_path,
|
|
1290
|
+
method=method,
|
|
1291
|
+
path_params=path_params,
|
|
1292
|
+
header_params=header_params,
|
|
1293
|
+
body=update_workspace_async_operation_status_details,
|
|
1294
|
+
response_type="Workspace")
|