oci 2.146.0__py3-none-any.whl → 2.148.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.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +28 -28
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +9 -9
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +57 -57
- oci/apm_synthetics/models/ftp_monitor_configuration.py +2 -2
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/auth/federation_client.py +19 -2
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/base_client.py +2 -1
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +84 -84
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +102 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +258 -258
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +45 -45
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +3343 -1855
- oci/data_safe/data_safe_client_composite_operations.py +217 -0
- oci/data_safe/models/__init__.py +28 -0
- oci/data_safe/models/change_sensitive_type_group_compartment_details.py +72 -0
- oci/data_safe/models/create_discovery_job_details.py +33 -0
- oci/data_safe/models/create_sensitive_data_model_details.py +33 -0
- oci/data_safe/models/create_sensitive_type_group_details.py +210 -0
- oci/data_safe/models/discovery_job.py +31 -0
- oci/data_safe/models/grouped_sensitive_type_collection.py +72 -0
- oci/data_safe/models/grouped_sensitive_type_summary.py +72 -0
- oci/data_safe/models/mask_data_details.py +53 -0
- oci/{opensearch/models/pipeline_validation_error_details.py → data_safe/models/masking_error_collection.py} +25 -21
- oci/data_safe/models/masking_error_summary.py +189 -0
- oci/data_safe/models/masking_report.py +111 -2
- oci/data_safe/models/masking_report_summary.py +111 -2
- oci/data_safe/models/patch_grouped_sensitive_types_details.py +72 -0
- oci/data_safe/models/report_definition.py +14 -6
- oci/data_safe/models/report_definition_summary.py +14 -6
- oci/data_safe/models/sensitive_column_analytics_collection.py +72 -0
- oci/data_safe/models/sensitive_column_analytics_dimensions.py +227 -0
- oci/data_safe/models/sensitive_column_analytics_summary.py +99 -0
- oci/data_safe/models/sensitive_data_model.py +31 -0
- oci/data_safe/models/sensitive_type_group.py +438 -0
- oci/data_safe/models/sensitive_type_group_collection.py +72 -0
- oci/data_safe/models/sensitive_type_group_summary.py +438 -0
- oci/data_safe/models/update_sensitive_data_model_details.py +31 -0
- oci/data_safe/models/update_sensitive_type_group_details.py +179 -0
- oci/data_science/data_science_client.py +1849 -409
- oci/data_science/data_science_client_composite_operations.py +44 -0
- oci/data_science/models/__init__.py +6 -0
- oci/data_science/models/metadata.py +74 -2
- oci/data_science/models/model.py +78 -0
- oci/data_science/models/model_artifact_reference_details.py +101 -0
- oci/data_science/models/model_summary.py +78 -0
- oci/data_science/models/model_version_set.py +47 -0
- oci/data_science/models/model_version_set_summary.py +47 -0
- oci/data_science/models/oss_model_artifact_reference_details.py +144 -0
- oci/data_science/models/register_model_artifact_reference_details.py +72 -0
- oci/data_science/models/work_request.py +7 -3
- oci/data_science/models/work_request_summary.py +7 -3
- oci/database/database_client.py +1945 -714
- oci/database/database_client_composite_operations.py +794 -22
- oci/database/models/__init__.py +14 -0
- oci/database/models/add_standby_autonomous_container_database_details.py +387 -0
- oci/database/models/application_vip.py +33 -2
- oci/database/models/application_vip_summary.py +33 -2
- oci/database/models/autonomous_container_database.py +122 -2
- oci/database/models/autonomous_container_database_dataguard.py +674 -0
- oci/database/models/autonomous_container_database_summary.py +122 -2
- oci/database/models/backup.py +209 -3
- oci/database/models/backup_summary.py +209 -3
- oci/database/models/change_exadb_vm_cluster_subscription_details.py +107 -0
- oci/database/models/change_exascale_db_storage_vault_subscription_details.py +107 -0
- oci/database/models/cloud_vm_cluster.py +141 -8
- oci/database/models/cloud_vm_cluster_summary.py +141 -8
- oci/database/models/convert_standby_autonomous_container_database_details.py +147 -0
- oci/database/models/create_application_vip_details.py +35 -4
- oci/database/models/create_backup_details.py +64 -2
- oci/database/models/create_cloud_vm_cluster_details.py +49 -2
- oci/database/models/create_exadb_vm_cluster_details.py +41 -10
- oci/database/models/create_exascale_db_storage_vault_details.py +72 -2
- oci/database/models/create_vm_cluster_details.py +47 -0
- oci/database/models/db_node.py +90 -8
- oci/database/models/db_node_summary.py +90 -8
- oci/database/models/edit_autonomous_container_database_dataguard_details.py +158 -0
- oci/database/models/exadb_vm_cluster.py +76 -10
- oci/database/models/exadb_vm_cluster_summary.py +76 -10
- oci/database/models/exascale_db_storage_vault.py +72 -2
- oci/database/models/exascale_db_storage_vault_summary.py +72 -2
- oci/database/models/maintenance_run.py +31 -0
- oci/database/models/maintenance_run_summary.py +31 -0
- oci/database/models/update_backup_details.py +103 -0
- oci/database/models/update_exadb_vm_cluster_details.py +4 -8
- oci/database/models/vm_cluster.py +47 -0
- oci/database/models/vm_cluster_summary.py +47 -0
- oci/database_management/db_management_client.py +228 -228
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +9 -9
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/dblm/db_life_cycle_management_client.py +12 -12
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +31 -31
- oci/dns/dns_client.py +54 -54
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +865 -98
- oci/file_storage/models/__init__.py +10 -0
- oci/file_storage/models/create_file_system_details.py +33 -2
- oci/file_storage/models/create_quota_rule_details.py +236 -0
- oci/file_storage/models/file_system.py +127 -2
- oci/file_storage/models/file_system_summary.py +96 -2
- oci/file_storage/models/quota_rule.py +384 -0
- oci/file_storage/models/quota_rule_summary.py +452 -0
- oci/file_storage/models/toggle_quota_rules_details.py +72 -0
- oci/file_storage/models/update_quota_rule_details.py +107 -0
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
- oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
- oci/generative_ai_inference/generative_ai_inference_client.py +5 -5
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +84 -84
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +79 -79
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/models/__init__.py +2 -0
- oci/mysql/models/backup_policy.py +41 -0
- oci/mysql/models/copy_backup_details.py +35 -0
- oci/mysql/models/copy_policy.py +103 -0
- oci/mysql/models/create_backup_policy_details.py +41 -0
- oci/mysql/models/update_backup_policy_details.py +41 -0
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +86 -86
- oci/network_load_balancer/network_load_balancer_client.py +35 -35
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/__init__.py +3 -1
- oci/opensearch/models/__init__.py +6 -6
- oci/opensearch/models/create_opensearch_cluster_pipeline_details.py +152 -123
- oci/opensearch/models/force_patch_pipeline_details.py +103 -0
- oci/opensearch/models/opensearch_cluster_pipeline.py +198 -89
- oci/opensearch/models/opensearch_cluster_pipeline_collection.py +1 -1
- oci/opensearch/models/opensearch_cluster_pipeline_summary.py +195 -102
- oci/opensearch/models/opensearch_pipeline_reverse_connection_endpoint.py +103 -0
- oci/opensearch/models/update_opensearch_cluster_pipeline_details.py +337 -85
- oci/opensearch/models/update_pipeline_status_details.py +103 -0
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +16 -16
- oci/opensearch/opensearch_cluster_pipeline_client.py +688 -0
- oci/opensearch/opensearch_cluster_pipeline_client_composite_operations.py +154 -0
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +181 -181
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +13 -13
- oci/os_management_hub/managed_instance_client.py +33 -33
- oci/os_management_hub/managed_instance_group_client.py +26 -26
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +13 -13
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +33 -33
- oci/os_management_hub/work_request_client.py +5 -5
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/models/__init__.py +8 -0
- oci/psql/models/backup.py +110 -5
- oci/psql/models/backup_copy_details.py +134 -0
- oci/psql/models/backup_copy_policy.py +134 -0
- oci/psql/models/backup_copy_status_details.py +193 -0
- oci/psql/models/backup_policy.py +29 -2
- oci/psql/models/backup_summary.py +74 -0
- oci/psql/models/configuration.py +7 -3
- oci/psql/models/daily_backup_policy.py +7 -0
- oci/psql/models/db_system_details.py +33 -2
- oci/psql/models/monthly_backup_policy.py +7 -0
- oci/psql/models/none_backup_policy.py +9 -2
- oci/psql/models/source_backup_details.py +103 -0
- oci/psql/models/weekly_backup_policy.py +7 -0
- oci/psql/postgresql_client.py +163 -33
- oci/psql/postgresql_client_composite_operations.py +42 -0
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/security_attribute/security_attribute_client.py +24 -24
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +87 -87
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/models/__init__.py +2 -0
- oci/tenant_manager_control_plane/models/additional_assigned_region_collection.py +72 -0
- oci/tenant_manager_control_plane/models/classic_subscription.py +33 -2
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/subscription_client_composite_operations.py +10 -7
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +14 -14
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- oci/zpr/zpr_client.py +15 -15
- {oci-2.146.0.dist-info → oci-2.148.0.dist-info}/METADATA +1 -1
- {oci-2.146.0.dist-info → oci-2.148.0.dist-info}/RECORD +380 -343
- oci/opensearch/models/opensearch_pipeline_validation_response.py +0 -103
- oci/opensearch/models/validate_opensearch_pipeline_details.py +0 -103
- {oci-2.146.0.dist-info → oci-2.148.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.146.0.dist-info → oci-2.148.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.146.0.dist-info → oci-2.148.0.dist-info}/WHEEL +0 -0
- {oci-2.146.0.dist-info → oci-2.148.0.dist-info}/top_level.txt +0 -0
@@ -1592,6 +1592,50 @@ class DataScienceClientCompositeOperations(object):
|
|
1592
1592
|
except Exception as e:
|
1593
1593
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1594
1594
|
|
1595
|
+
def register_model_artifact_reference_and_wait_for_state(self, register_model_artifact_reference_details, model_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1596
|
+
"""
|
1597
|
+
Calls :py:func:`~oci.data_science.DataScienceClient.register_model_artifact_reference` and waits for the :py:class:`~oci.data_science.models.WorkRequest`
|
1598
|
+
to enter the given state(s).
|
1599
|
+
|
1600
|
+
:param oci.data_science.models.RegisterModelArtifactReferenceDetails register_model_artifact_reference_details: (required)
|
1601
|
+
register model artifact reference metadata
|
1602
|
+
|
1603
|
+
:param str model_id: (required)
|
1604
|
+
The `OCID`__ of the model.
|
1605
|
+
|
1606
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
1607
|
+
|
1608
|
+
:param list[str] wait_for_states:
|
1609
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_science.models.WorkRequest.status`
|
1610
|
+
|
1611
|
+
:param dict operation_kwargs:
|
1612
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.data_science.DataScienceClient.register_model_artifact_reference`
|
1613
|
+
|
1614
|
+
:param dict waiter_kwargs:
|
1615
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
1616
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1617
|
+
"""
|
1618
|
+
operation_result = self.client.register_model_artifact_reference(register_model_artifact_reference_details, model_id, **operation_kwargs)
|
1619
|
+
if not wait_for_states:
|
1620
|
+
return operation_result
|
1621
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1622
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1623
|
+
return operation_result
|
1624
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1625
|
+
|
1626
|
+
try:
|
1627
|
+
waiter_result = oci.wait_until(
|
1628
|
+
self.client,
|
1629
|
+
self.client.get_work_request(wait_for_resource_id),
|
1630
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1631
|
+
**waiter_kwargs
|
1632
|
+
)
|
1633
|
+
result_to_return = waiter_result
|
1634
|
+
|
1635
|
+
return result_to_return
|
1636
|
+
except Exception as e:
|
1637
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1638
|
+
|
1595
1639
|
def restore_archived_model_artifact_and_wait_for_state(self, model_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1596
1640
|
"""
|
1597
1641
|
Calls :py:func:`~oci.data_science.DataScienceClient.restore_archived_model_artifact` and waits for the :py:class:`~oci.data_science.models.WorkRequest`
|
@@ -74,6 +74,7 @@ from .managed_egress_standalone_job_infrastructure_configuration_details import
|
|
74
74
|
from .metadata import Metadata
|
75
75
|
from .metric_expression_rule import MetricExpressionRule
|
76
76
|
from .model import Model
|
77
|
+
from .model_artifact_reference_details import ModelArtifactReferenceDetails
|
77
78
|
from .model_configuration_details import ModelConfigurationDetails
|
78
79
|
from .model_deploy_workload_configuration_details import ModelDeployWorkloadConfigurationDetails
|
79
80
|
from .model_deployment import ModelDeployment
|
@@ -96,6 +97,7 @@ from .notebook_session_runtime_config_details import NotebookSessionRuntimeConfi
|
|
96
97
|
from .notebook_session_shape_config_details import NotebookSessionShapeConfigDetails
|
97
98
|
from .notebook_session_shape_summary import NotebookSessionShapeSummary
|
98
99
|
from .notebook_session_summary import NotebookSessionSummary
|
100
|
+
from .oss_model_artifact_reference_details import OSSModelArtifactReferenceDetails
|
99
101
|
from .object_storage_mount_configuration_details import ObjectStorageMountConfigurationDetails
|
100
102
|
from .ocir_container_job_environment_configuration_details import OcirContainerJobEnvironmentConfigurationDetails
|
101
103
|
from .ocir_model_deployment_environment_configuration_details import OcirModelDeploymentEnvironmentConfigurationDetails
|
@@ -133,6 +135,7 @@ from .predefined_expression_threshold_scaling_configuration import PredefinedExp
|
|
133
135
|
from .predefined_metric_expression_rule import PredefinedMetricExpressionRule
|
134
136
|
from .project import Project
|
135
137
|
from .project_summary import ProjectSummary
|
138
|
+
from .register_model_artifact_reference_details import RegisterModelArtifactReferenceDetails
|
136
139
|
from .retention_operation_details import RetentionOperationDetails
|
137
140
|
from .retention_setting import RetentionSetting
|
138
141
|
from .scaling_configuration import ScalingConfiguration
|
@@ -250,6 +253,7 @@ data_science_type_mapping = {
|
|
250
253
|
"Metadata": Metadata,
|
251
254
|
"MetricExpressionRule": MetricExpressionRule,
|
252
255
|
"Model": Model,
|
256
|
+
"ModelArtifactReferenceDetails": ModelArtifactReferenceDetails,
|
253
257
|
"ModelConfigurationDetails": ModelConfigurationDetails,
|
254
258
|
"ModelDeployWorkloadConfigurationDetails": ModelDeployWorkloadConfigurationDetails,
|
255
259
|
"ModelDeployment": ModelDeployment,
|
@@ -272,6 +276,7 @@ data_science_type_mapping = {
|
|
272
276
|
"NotebookSessionShapeConfigDetails": NotebookSessionShapeConfigDetails,
|
273
277
|
"NotebookSessionShapeSummary": NotebookSessionShapeSummary,
|
274
278
|
"NotebookSessionSummary": NotebookSessionSummary,
|
279
|
+
"OSSModelArtifactReferenceDetails": OSSModelArtifactReferenceDetails,
|
275
280
|
"ObjectStorageMountConfigurationDetails": ObjectStorageMountConfigurationDetails,
|
276
281
|
"OcirContainerJobEnvironmentConfigurationDetails": OcirContainerJobEnvironmentConfigurationDetails,
|
277
282
|
"OcirModelDeploymentEnvironmentConfigurationDetails": OcirModelDeploymentEnvironmentConfigurationDetails,
|
@@ -309,6 +314,7 @@ data_science_type_mapping = {
|
|
309
314
|
"PredefinedMetricExpressionRule": PredefinedMetricExpressionRule,
|
310
315
|
"Project": Project,
|
311
316
|
"ProjectSummary": ProjectSummary,
|
317
|
+
"RegisterModelArtifactReferenceDetails": RegisterModelArtifactReferenceDetails,
|
312
318
|
"RetentionOperationDetails": RetentionOperationDetails,
|
313
319
|
"RetentionSetting": RetentionSetting,
|
314
320
|
"ScalingConfiguration": ScalingConfiguration,
|
@@ -36,25 +36,39 @@ class Metadata(object):
|
|
36
36
|
The value to assign to the category property of this Metadata.
|
37
37
|
:type category: str
|
38
38
|
|
39
|
+
:param keywords:
|
40
|
+
The value to assign to the keywords property of this Metadata.
|
41
|
+
:type keywords: list[str]
|
42
|
+
|
43
|
+
:param has_artifact:
|
44
|
+
The value to assign to the has_artifact property of this Metadata.
|
45
|
+
:type has_artifact: bool
|
46
|
+
|
39
47
|
"""
|
40
48
|
self.swagger_types = {
|
41
49
|
'key': 'str',
|
42
50
|
'value': 'str',
|
43
51
|
'description': 'str',
|
44
|
-
'category': 'str'
|
52
|
+
'category': 'str',
|
53
|
+
'keywords': 'list[str]',
|
54
|
+
'has_artifact': 'bool'
|
45
55
|
}
|
46
56
|
|
47
57
|
self.attribute_map = {
|
48
58
|
'key': 'key',
|
49
59
|
'value': 'value',
|
50
60
|
'description': 'description',
|
51
|
-
'category': 'category'
|
61
|
+
'category': 'category',
|
62
|
+
'keywords': 'keywords',
|
63
|
+
'has_artifact': 'hasArtifact'
|
52
64
|
}
|
53
65
|
|
54
66
|
self._key = None
|
55
67
|
self._value = None
|
56
68
|
self._description = None
|
57
69
|
self._category = None
|
70
|
+
self._keywords = None
|
71
|
+
self._has_artifact = None
|
58
72
|
|
59
73
|
@property
|
60
74
|
def key(self):
|
@@ -68,6 +82,11 @@ class Metadata(object):
|
|
68
82
|
* estimatorClass
|
69
83
|
* hyperParameters
|
70
84
|
* testArtifactresults
|
85
|
+
* fineTuningConfiguration
|
86
|
+
* deploymentConfiguration
|
87
|
+
* readme
|
88
|
+
* license
|
89
|
+
* evaluationConfiguration
|
71
90
|
|
72
91
|
|
73
92
|
:return: The key of this Metadata.
|
@@ -87,6 +106,11 @@ class Metadata(object):
|
|
87
106
|
* estimatorClass
|
88
107
|
* hyperParameters
|
89
108
|
* testArtifactresults
|
109
|
+
* fineTuningConfiguration
|
110
|
+
* deploymentConfiguration
|
111
|
+
* readme
|
112
|
+
* license
|
113
|
+
* evaluationConfiguration
|
90
114
|
|
91
115
|
|
92
116
|
:param key: The key of this Metadata.
|
@@ -182,6 +206,54 @@ class Metadata(object):
|
|
182
206
|
"""
|
183
207
|
self._category = category
|
184
208
|
|
209
|
+
@property
|
210
|
+
def keywords(self):
|
211
|
+
"""
|
212
|
+
Gets the keywords of this Metadata.
|
213
|
+
list of keywords for searching
|
214
|
+
|
215
|
+
|
216
|
+
:return: The keywords of this Metadata.
|
217
|
+
:rtype: list[str]
|
218
|
+
"""
|
219
|
+
return self._keywords
|
220
|
+
|
221
|
+
@keywords.setter
|
222
|
+
def keywords(self, keywords):
|
223
|
+
"""
|
224
|
+
Sets the keywords of this Metadata.
|
225
|
+
list of keywords for searching
|
226
|
+
|
227
|
+
|
228
|
+
:param keywords: The keywords of this Metadata.
|
229
|
+
:type: list[str]
|
230
|
+
"""
|
231
|
+
self._keywords = keywords
|
232
|
+
|
233
|
+
@property
|
234
|
+
def has_artifact(self):
|
235
|
+
"""
|
236
|
+
Gets the has_artifact of this Metadata.
|
237
|
+
Is there any artifact present for the metadata.
|
238
|
+
|
239
|
+
|
240
|
+
:return: The has_artifact of this Metadata.
|
241
|
+
:rtype: bool
|
242
|
+
"""
|
243
|
+
return self._has_artifact
|
244
|
+
|
245
|
+
@has_artifact.setter
|
246
|
+
def has_artifact(self, has_artifact):
|
247
|
+
"""
|
248
|
+
Sets the has_artifact of this Metadata.
|
249
|
+
Is there any artifact present for the metadata.
|
250
|
+
|
251
|
+
|
252
|
+
:param has_artifact: The has_artifact of this Metadata.
|
253
|
+
:type: bool
|
254
|
+
"""
|
255
|
+
self._has_artifact = has_artifact
|
256
|
+
|
185
257
|
def __repr__(self):
|
186
258
|
return formatted_flat_dict(self)
|
187
259
|
|
oci/data_science/models/model.py
CHANGED
@@ -31,6 +31,14 @@ class Model(object):
|
|
31
31
|
#: This constant has a value of "INACTIVE"
|
32
32
|
LIFECYCLE_STATE_INACTIVE = "INACTIVE"
|
33
33
|
|
34
|
+
#: A constant which can be used with the category property of a Model.
|
35
|
+
#: This constant has a value of "USER"
|
36
|
+
CATEGORY_USER = "USER"
|
37
|
+
|
38
|
+
#: A constant which can be used with the category property of a Model.
|
39
|
+
#: This constant has a value of "SERVICE"
|
40
|
+
CATEGORY_SERVICE = "SERVICE"
|
41
|
+
|
34
42
|
def __init__(self, **kwargs):
|
35
43
|
"""
|
36
44
|
Initializes a new Model object with values from keyword arguments.
|
@@ -114,6 +122,16 @@ class Model(object):
|
|
114
122
|
The value to assign to the version_label property of this Model.
|
115
123
|
:type version_label: str
|
116
124
|
|
125
|
+
:param category:
|
126
|
+
The value to assign to the category property of this Model.
|
127
|
+
Allowed values for this property are: "USER", "SERVICE", 'UNKNOWN_ENUM_VALUE'.
|
128
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
129
|
+
:type category: str
|
130
|
+
|
131
|
+
:param is_model_by_reference:
|
132
|
+
The value to assign to the is_model_by_reference property of this Model.
|
133
|
+
:type is_model_by_reference: bool
|
134
|
+
|
117
135
|
:param retention_setting:
|
118
136
|
The value to assign to the retention_setting property of this Model.
|
119
137
|
:type retention_setting: oci.data_science.models.RetentionSetting
|
@@ -151,6 +169,8 @@ class Model(object):
|
|
151
169
|
'model_version_set_name': 'str',
|
152
170
|
'version_id': 'int',
|
153
171
|
'version_label': 'str',
|
172
|
+
'category': 'str',
|
173
|
+
'is_model_by_reference': 'bool',
|
154
174
|
'retention_setting': 'RetentionSetting',
|
155
175
|
'backup_setting': 'BackupSetting',
|
156
176
|
'retention_operation_details': 'RetentionOperationDetails',
|
@@ -177,6 +197,8 @@ class Model(object):
|
|
177
197
|
'model_version_set_name': 'modelVersionSetName',
|
178
198
|
'version_id': 'versionId',
|
179
199
|
'version_label': 'versionLabel',
|
200
|
+
'category': 'category',
|
201
|
+
'is_model_by_reference': 'isModelByReference',
|
180
202
|
'retention_setting': 'retentionSetting',
|
181
203
|
'backup_setting': 'backupSetting',
|
182
204
|
'retention_operation_details': 'retentionOperationDetails',
|
@@ -202,6 +224,8 @@ class Model(object):
|
|
202
224
|
self._model_version_set_name = None
|
203
225
|
self._version_id = None
|
204
226
|
self._version_label = None
|
227
|
+
self._category = None
|
228
|
+
self._is_model_by_reference = None
|
205
229
|
self._retention_setting = None
|
206
230
|
self._backup_setting = None
|
207
231
|
self._retention_operation_details = None
|
@@ -703,6 +727,60 @@ class Model(object):
|
|
703
727
|
"""
|
704
728
|
self._version_label = version_label
|
705
729
|
|
730
|
+
@property
|
731
|
+
def category(self):
|
732
|
+
"""
|
733
|
+
**[Required]** Gets the category of this Model.
|
734
|
+
The category of the model.
|
735
|
+
|
736
|
+
Allowed values for this property are: "USER", "SERVICE", 'UNKNOWN_ENUM_VALUE'.
|
737
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
738
|
+
|
739
|
+
|
740
|
+
:return: The category of this Model.
|
741
|
+
:rtype: str
|
742
|
+
"""
|
743
|
+
return self._category
|
744
|
+
|
745
|
+
@category.setter
|
746
|
+
def category(self, category):
|
747
|
+
"""
|
748
|
+
Sets the category of this Model.
|
749
|
+
The category of the model.
|
750
|
+
|
751
|
+
|
752
|
+
:param category: The category of this Model.
|
753
|
+
:type: str
|
754
|
+
"""
|
755
|
+
allowed_values = ["USER", "SERVICE"]
|
756
|
+
if not value_allowed_none_or_none_sentinel(category, allowed_values):
|
757
|
+
category = 'UNKNOWN_ENUM_VALUE'
|
758
|
+
self._category = category
|
759
|
+
|
760
|
+
@property
|
761
|
+
def is_model_by_reference(self):
|
762
|
+
"""
|
763
|
+
**[Required]** Gets the is_model_by_reference of this Model.
|
764
|
+
Identifier to indicate whether a model artifact resides in the Service Tenancy or Customer Tenancy.
|
765
|
+
|
766
|
+
|
767
|
+
:return: The is_model_by_reference of this Model.
|
768
|
+
:rtype: bool
|
769
|
+
"""
|
770
|
+
return self._is_model_by_reference
|
771
|
+
|
772
|
+
@is_model_by_reference.setter
|
773
|
+
def is_model_by_reference(self, is_model_by_reference):
|
774
|
+
"""
|
775
|
+
Sets the is_model_by_reference of this Model.
|
776
|
+
Identifier to indicate whether a model artifact resides in the Service Tenancy or Customer Tenancy.
|
777
|
+
|
778
|
+
|
779
|
+
:param is_model_by_reference: The is_model_by_reference of this Model.
|
780
|
+
:type: bool
|
781
|
+
"""
|
782
|
+
self._is_model_by_reference = is_model_by_reference
|
783
|
+
|
706
784
|
@property
|
707
785
|
def retention_setting(self):
|
708
786
|
"""
|
@@ -0,0 +1,101 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190101
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class ModelArtifactReferenceDetails(object):
|
14
|
+
"""
|
15
|
+
Reference to the location where the model artifact is stored.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the model_artifact_reference_type property of a ModelArtifactReferenceDetails.
|
19
|
+
#: This constant has a value of "OSS"
|
20
|
+
MODEL_ARTIFACT_REFERENCE_TYPE_OSS = "OSS"
|
21
|
+
|
22
|
+
def __init__(self, **kwargs):
|
23
|
+
"""
|
24
|
+
Initializes a new ModelArtifactReferenceDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
25
|
+
to a service operations then you should favor using a subclass over the base class:
|
26
|
+
|
27
|
+
* :class:`~oci.data_science.models.OSSModelArtifactReferenceDetails`
|
28
|
+
|
29
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
30
|
+
|
31
|
+
:param model_artifact_reference_type:
|
32
|
+
The value to assign to the model_artifact_reference_type property of this ModelArtifactReferenceDetails.
|
33
|
+
Allowed values for this property are: "OSS"
|
34
|
+
:type model_artifact_reference_type: str
|
35
|
+
|
36
|
+
"""
|
37
|
+
self.swagger_types = {
|
38
|
+
'model_artifact_reference_type': 'str'
|
39
|
+
}
|
40
|
+
|
41
|
+
self.attribute_map = {
|
42
|
+
'model_artifact_reference_type': 'modelArtifactReferenceType'
|
43
|
+
}
|
44
|
+
|
45
|
+
self._model_artifact_reference_type = None
|
46
|
+
|
47
|
+
@staticmethod
|
48
|
+
def get_subtype(object_dictionary):
|
49
|
+
"""
|
50
|
+
Given the hash representation of a subtype of this class,
|
51
|
+
use the info in the hash to return the class of the subtype.
|
52
|
+
"""
|
53
|
+
type = object_dictionary['modelArtifactReferenceType']
|
54
|
+
|
55
|
+
if type == 'OSS':
|
56
|
+
return 'OSSModelArtifactReferenceDetails'
|
57
|
+
else:
|
58
|
+
return 'ModelArtifactReferenceDetails'
|
59
|
+
|
60
|
+
@property
|
61
|
+
def model_artifact_reference_type(self):
|
62
|
+
"""
|
63
|
+
**[Required]** Gets the model_artifact_reference_type of this ModelArtifactReferenceDetails.
|
64
|
+
The type of the model artifact reference.
|
65
|
+
|
66
|
+
Allowed values for this property are: "OSS"
|
67
|
+
|
68
|
+
|
69
|
+
:return: The model_artifact_reference_type of this ModelArtifactReferenceDetails.
|
70
|
+
:rtype: str
|
71
|
+
"""
|
72
|
+
return self._model_artifact_reference_type
|
73
|
+
|
74
|
+
@model_artifact_reference_type.setter
|
75
|
+
def model_artifact_reference_type(self, model_artifact_reference_type):
|
76
|
+
"""
|
77
|
+
Sets the model_artifact_reference_type of this ModelArtifactReferenceDetails.
|
78
|
+
The type of the model artifact reference.
|
79
|
+
|
80
|
+
|
81
|
+
:param model_artifact_reference_type: The model_artifact_reference_type of this ModelArtifactReferenceDetails.
|
82
|
+
:type: str
|
83
|
+
"""
|
84
|
+
allowed_values = ["OSS"]
|
85
|
+
if not value_allowed_none_or_none_sentinel(model_artifact_reference_type, allowed_values):
|
86
|
+
raise ValueError(
|
87
|
+
f"Invalid value for `model_artifact_reference_type`, must be None or one of {allowed_values}"
|
88
|
+
)
|
89
|
+
self._model_artifact_reference_type = model_artifact_reference_type
|
90
|
+
|
91
|
+
def __repr__(self):
|
92
|
+
return formatted_flat_dict(self)
|
93
|
+
|
94
|
+
def __eq__(self, other):
|
95
|
+
if other is None:
|
96
|
+
return False
|
97
|
+
|
98
|
+
return self.__dict__ == other.__dict__
|
99
|
+
|
100
|
+
def __ne__(self, other):
|
101
|
+
return not self == other
|
@@ -31,6 +31,14 @@ class ModelSummary(object):
|
|
31
31
|
#: This constant has a value of "INACTIVE"
|
32
32
|
LIFECYCLE_STATE_INACTIVE = "INACTIVE"
|
33
33
|
|
34
|
+
#: A constant which can be used with the category property of a ModelSummary.
|
35
|
+
#: This constant has a value of "USER"
|
36
|
+
CATEGORY_USER = "USER"
|
37
|
+
|
38
|
+
#: A constant which can be used with the category property of a ModelSummary.
|
39
|
+
#: This constant has a value of "SERVICE"
|
40
|
+
CATEGORY_SERVICE = "SERVICE"
|
41
|
+
|
34
42
|
def __init__(self, **kwargs):
|
35
43
|
"""
|
36
44
|
Initializes a new ModelSummary object with values from keyword arguments.
|
@@ -86,6 +94,16 @@ class ModelSummary(object):
|
|
86
94
|
The value to assign to the version_label property of this ModelSummary.
|
87
95
|
:type version_label: str
|
88
96
|
|
97
|
+
:param category:
|
98
|
+
The value to assign to the category property of this ModelSummary.
|
99
|
+
Allowed values for this property are: "USER", "SERVICE", 'UNKNOWN_ENUM_VALUE'.
|
100
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
101
|
+
:type category: str
|
102
|
+
|
103
|
+
:param is_model_by_reference:
|
104
|
+
The value to assign to the is_model_by_reference property of this ModelSummary.
|
105
|
+
:type is_model_by_reference: bool
|
106
|
+
|
89
107
|
:param freeform_tags:
|
90
108
|
The value to assign to the freeform_tags property of this ModelSummary.
|
91
109
|
:type freeform_tags: dict(str, str)
|
@@ -108,6 +126,8 @@ class ModelSummary(object):
|
|
108
126
|
'model_version_set_name': 'str',
|
109
127
|
'version_id': 'int',
|
110
128
|
'version_label': 'str',
|
129
|
+
'category': 'str',
|
130
|
+
'is_model_by_reference': 'bool',
|
111
131
|
'freeform_tags': 'dict(str, str)',
|
112
132
|
'defined_tags': 'dict(str, dict(str, object))'
|
113
133
|
}
|
@@ -125,6 +145,8 @@ class ModelSummary(object):
|
|
125
145
|
'model_version_set_name': 'modelVersionSetName',
|
126
146
|
'version_id': 'versionId',
|
127
147
|
'version_label': 'versionLabel',
|
148
|
+
'category': 'category',
|
149
|
+
'is_model_by_reference': 'isModelByReference',
|
128
150
|
'freeform_tags': 'freeformTags',
|
129
151
|
'defined_tags': 'definedTags'
|
130
152
|
}
|
@@ -141,6 +163,8 @@ class ModelSummary(object):
|
|
141
163
|
self._model_version_set_name = None
|
142
164
|
self._version_id = None
|
143
165
|
self._version_label = None
|
166
|
+
self._category = None
|
167
|
+
self._is_model_by_reference = None
|
144
168
|
self._freeform_tags = None
|
145
169
|
self._defined_tags = None
|
146
170
|
|
@@ -460,6 +484,60 @@ class ModelSummary(object):
|
|
460
484
|
"""
|
461
485
|
self._version_label = version_label
|
462
486
|
|
487
|
+
@property
|
488
|
+
def category(self):
|
489
|
+
"""
|
490
|
+
**[Required]** Gets the category of this ModelSummary.
|
491
|
+
The category of the model.
|
492
|
+
|
493
|
+
Allowed values for this property are: "USER", "SERVICE", 'UNKNOWN_ENUM_VALUE'.
|
494
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
495
|
+
|
496
|
+
|
497
|
+
:return: The category of this ModelSummary.
|
498
|
+
:rtype: str
|
499
|
+
"""
|
500
|
+
return self._category
|
501
|
+
|
502
|
+
@category.setter
|
503
|
+
def category(self, category):
|
504
|
+
"""
|
505
|
+
Sets the category of this ModelSummary.
|
506
|
+
The category of the model.
|
507
|
+
|
508
|
+
|
509
|
+
:param category: The category of this ModelSummary.
|
510
|
+
:type: str
|
511
|
+
"""
|
512
|
+
allowed_values = ["USER", "SERVICE"]
|
513
|
+
if not value_allowed_none_or_none_sentinel(category, allowed_values):
|
514
|
+
category = 'UNKNOWN_ENUM_VALUE'
|
515
|
+
self._category = category
|
516
|
+
|
517
|
+
@property
|
518
|
+
def is_model_by_reference(self):
|
519
|
+
"""
|
520
|
+
**[Required]** Gets the is_model_by_reference of this ModelSummary.
|
521
|
+
Identifier to indicate whether a model artifact resides in the Service Tenancy or Customer Tenancy.
|
522
|
+
|
523
|
+
|
524
|
+
:return: The is_model_by_reference of this ModelSummary.
|
525
|
+
:rtype: bool
|
526
|
+
"""
|
527
|
+
return self._is_model_by_reference
|
528
|
+
|
529
|
+
@is_model_by_reference.setter
|
530
|
+
def is_model_by_reference(self, is_model_by_reference):
|
531
|
+
"""
|
532
|
+
Sets the is_model_by_reference of this ModelSummary.
|
533
|
+
Identifier to indicate whether a model artifact resides in the Service Tenancy or Customer Tenancy.
|
534
|
+
|
535
|
+
|
536
|
+
:param is_model_by_reference: The is_model_by_reference of this ModelSummary.
|
537
|
+
:type: bool
|
538
|
+
"""
|
539
|
+
self._is_model_by_reference = is_model_by_reference
|
540
|
+
|
463
541
|
@property
|
464
542
|
def freeform_tags(self):
|
465
543
|
"""
|
@@ -31,6 +31,14 @@ class ModelVersionSet(object):
|
|
31
31
|
#: This constant has a value of "FAILED"
|
32
32
|
LIFECYCLE_STATE_FAILED = "FAILED"
|
33
33
|
|
34
|
+
#: A constant which can be used with the category property of a ModelVersionSet.
|
35
|
+
#: This constant has a value of "USER"
|
36
|
+
CATEGORY_USER = "USER"
|
37
|
+
|
38
|
+
#: A constant which can be used with the category property of a ModelVersionSet.
|
39
|
+
#: This constant has a value of "SERVICE"
|
40
|
+
CATEGORY_SERVICE = "SERVICE"
|
41
|
+
|
34
42
|
def __init__(self, **kwargs):
|
35
43
|
"""
|
36
44
|
Initializes a new ModelVersionSet object with values from keyword arguments.
|
@@ -74,6 +82,12 @@ class ModelVersionSet(object):
|
|
74
82
|
The value to assign to the created_by property of this ModelVersionSet.
|
75
83
|
:type created_by: str
|
76
84
|
|
85
|
+
:param category:
|
86
|
+
The value to assign to the category property of this ModelVersionSet.
|
87
|
+
Allowed values for this property are: "USER", "SERVICE", 'UNKNOWN_ENUM_VALUE'.
|
88
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
89
|
+
:type category: str
|
90
|
+
|
77
91
|
:param freeform_tags:
|
78
92
|
The value to assign to the freeform_tags property of this ModelVersionSet.
|
79
93
|
:type freeform_tags: dict(str, str)
|
@@ -97,6 +111,7 @@ class ModelVersionSet(object):
|
|
97
111
|
'time_created': 'datetime',
|
98
112
|
'time_updated': 'datetime',
|
99
113
|
'created_by': 'str',
|
114
|
+
'category': 'str',
|
100
115
|
'freeform_tags': 'dict(str, str)',
|
101
116
|
'defined_tags': 'dict(str, dict(str, object))',
|
102
117
|
'system_tags': 'dict(str, dict(str, object))'
|
@@ -112,6 +127,7 @@ class ModelVersionSet(object):
|
|
112
127
|
'time_created': 'timeCreated',
|
113
128
|
'time_updated': 'timeUpdated',
|
114
129
|
'created_by': 'createdBy',
|
130
|
+
'category': 'category',
|
115
131
|
'freeform_tags': 'freeformTags',
|
116
132
|
'defined_tags': 'definedTags',
|
117
133
|
'system_tags': 'systemTags'
|
@@ -126,6 +142,7 @@ class ModelVersionSet(object):
|
|
126
142
|
self._time_created = None
|
127
143
|
self._time_updated = None
|
128
144
|
self._created_by = None
|
145
|
+
self._category = None
|
129
146
|
self._freeform_tags = None
|
130
147
|
self._defined_tags = None
|
131
148
|
self._system_tags = None
|
@@ -380,6 +397,36 @@ class ModelVersionSet(object):
|
|
380
397
|
"""
|
381
398
|
self._created_by = created_by
|
382
399
|
|
400
|
+
@property
|
401
|
+
def category(self):
|
402
|
+
"""
|
403
|
+
**[Required]** Gets the category of this ModelVersionSet.
|
404
|
+
The category of the model version set.
|
405
|
+
|
406
|
+
Allowed values for this property are: "USER", "SERVICE", 'UNKNOWN_ENUM_VALUE'.
|
407
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
408
|
+
|
409
|
+
|
410
|
+
:return: The category of this ModelVersionSet.
|
411
|
+
:rtype: str
|
412
|
+
"""
|
413
|
+
return self._category
|
414
|
+
|
415
|
+
@category.setter
|
416
|
+
def category(self, category):
|
417
|
+
"""
|
418
|
+
Sets the category of this ModelVersionSet.
|
419
|
+
The category of the model version set.
|
420
|
+
|
421
|
+
|
422
|
+
:param category: The category of this ModelVersionSet.
|
423
|
+
:type: str
|
424
|
+
"""
|
425
|
+
allowed_values = ["USER", "SERVICE"]
|
426
|
+
if not value_allowed_none_or_none_sentinel(category, allowed_values):
|
427
|
+
category = 'UNKNOWN_ENUM_VALUE'
|
428
|
+
self._category = category
|
429
|
+
|
383
430
|
@property
|
384
431
|
def freeform_tags(self):
|
385
432
|
"""
|