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