oci 2.132.0__py3-none-any.whl → 2.133.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (489) hide show
  1. oci/__init__.py +2 -2
  2. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  3. oci/adm/application_dependency_management_client.py +36 -36
  4. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  5. oci/ai_document/ai_service_document_client.py +626 -28
  6. oci/ai_document/ai_service_document_client_composite_operations.py +180 -0
  7. oci/ai_document/models/__init__.py +10 -0
  8. oci/ai_document/models/add_model_lock_details.py +150 -0
  9. oci/ai_document/models/add_project_lock_details.py +150 -0
  10. oci/ai_document/models/analyze_document_details.py +5 -5
  11. oci/ai_document/models/detected_document_type.py +0 -35
  12. oci/ai_document/models/document_classification_feature.py +2 -33
  13. oci/ai_document/models/document_key_value_extraction_feature.py +2 -33
  14. oci/ai_document/models/general_processor_config.py +5 -5
  15. oci/ai_document/models/model.py +33 -2
  16. oci/ai_document/models/model_summary.py +33 -2
  17. oci/ai_document/models/output_location.py +1 -1
  18. oci/ai_document/models/project.py +33 -2
  19. oci/ai_document/models/remove_model_lock_details.py +88 -0
  20. oci/ai_document/models/remove_project_lock_details.py +88 -0
  21. oci/ai_document/models/resource_lock.py +216 -0
  22. oci/ai_language/ai_service_language_client.py +44 -44
  23. oci/ai_speech/ai_service_speech_client.py +17 -17
  24. oci/ai_vision/ai_service_vision_client.py +25 -25
  25. oci/analytics/analytics_client.py +24 -24
  26. oci/announcements_service/__init__.py +3 -1
  27. oci/announcements_service/announcement_client.py +103 -6
  28. oci/announcements_service/announcement_subscription_client.py +9 -9
  29. oci/announcements_service/announcements_preferences_client.py +4 -4
  30. oci/announcements_service/models/__init__.py +12 -0
  31. oci/announcements_service/models/announcement.py +1 -1
  32. oci/announcements_service/models/announcement_compartment.py +72 -0
  33. oci/announcements_service/models/announcement_summary.py +1 -1
  34. oci/announcements_service/models/base_announcement.py +7 -3
  35. oci/announcements_service/models/base_service.py +498 -0
  36. oci/announcements_service/models/notifications_summary.py +130 -0
  37. oci/announcements_service/models/service.py +130 -0
  38. oci/announcements_service/models/service_summary.py +133 -0
  39. oci/announcements_service/models/services_collection.py +72 -0
  40. oci/announcements_service/service_client.py +275 -0
  41. oci/announcements_service/service_client_composite_operations.py +26 -0
  42. oci/apigateway/api_gateway_client.py +21 -21
  43. oci/apigateway/deployment_client.py +6 -6
  44. oci/apigateway/gateway_client.py +6 -6
  45. oci/apigateway/subscribers_client.py +6 -6
  46. oci/apigateway/usage_plans_client.py +6 -6
  47. oci/apigateway/work_requests_client.py +5 -5
  48. oci/apm_config/config_client.py +9 -9
  49. oci/apm_control_plane/apm_domain_client.py +14 -14
  50. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  51. oci/apm_traces/attributes_client.py +8 -8
  52. oci/apm_traces/query_client.py +2 -2
  53. oci/apm_traces/trace_client.py +4 -4
  54. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  55. oci/artifacts/artifacts_client.py +32 -32
  56. oci/audit/audit_client.py +3 -3
  57. oci/autoscaling/auto_scaling_client.py +11 -11
  58. oci/bastion/bastion_client.py +15 -15
  59. oci/bds/bds_client.py +72 -72
  60. oci/blockchain/blockchain_platform_client.py +27 -27
  61. oci/budget/budget_client.py +10 -10
  62. oci/capacity_management/capacity_management_client.py +22 -22
  63. oci/certificates/certificates_client.py +5 -5
  64. oci/certificates_management/certificates_management_client.py +32 -32
  65. oci/cims/incident_client.py +8 -8
  66. oci/cims/user_client.py +1 -1
  67. oci/cloud_bridge/common_client.py +5 -5
  68. oci/cloud_bridge/discovery_client.py +14 -14
  69. oci/cloud_bridge/inventory_client.py +16 -16
  70. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  71. oci/cloud_guard/cloud_guard_client.py +155 -155
  72. oci/cloud_migrations/migration_client.py +43 -43
  73. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  74. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  75. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  76. oci/compute_instance_agent/plugin_client.py +2 -2
  77. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  78. oci/container_engine/container_engine_client.py +44 -44
  79. oci/container_instances/container_instance_client.py +18 -18
  80. oci/core/blockstorage_client.py +60 -60
  81. oci/core/compute_client.py +102 -102
  82. oci/core/compute_management_client.py +32 -32
  83. oci/core/virtual_network_client.py +247 -247
  84. oci/dashboard_service/dashboard_client.py +6 -6
  85. oci/dashboard_service/dashboard_group_client.py +6 -6
  86. oci/data_catalog/data_catalog_client.py +149 -149
  87. oci/data_flow/data_flow_client.py +42 -42
  88. oci/data_integration/data_integration_client.py +163 -163
  89. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  90. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  91. oci/data_safe/data_safe_client.py +287 -287
  92. oci/data_science/data_science_client.py +91 -91
  93. oci/database/database_client.py +13862 -9467
  94. oci/database/database_client_composite_operations.py +1868 -232
  95. oci/database/models/__init__.py +80 -0
  96. oci/database/models/action_member.py +134 -0
  97. oci/database/models/action_order_details.py +107 -0
  98. oci/database/models/action_param_values_collection.py +72 -0
  99. oci/database/models/action_param_values_summary.py +216 -0
  100. oci/database/models/autonomous_database.py +33 -6
  101. oci/database/models/autonomous_database_standby_summary.py +33 -2
  102. oci/database/models/autonomous_database_summary.py +33 -6
  103. oci/database/models/cancel_execution_window_details.py +134 -0
  104. oci/database/models/change_scheduling_plan_compartment_details.py +76 -0
  105. oci/database/models/change_scheduling_policy_compartment_details.py +76 -0
  106. oci/database/models/cloud_exadata_infrastructure.py +33 -2
  107. oci/database/models/cloud_exadata_infrastructure_summary.py +33 -2
  108. oci/database/models/create_autonomous_database_base.py +2 -6
  109. oci/database/models/create_data_guard_association_with_new_db_system_details.py +35 -0
  110. oci/database/models/create_exadb_vm_cluster_details.py +12 -2
  111. oci/database/models/create_execution_action_details.py +304 -0
  112. oci/database/models/create_execution_window_details.py +282 -0
  113. oci/database/models/create_pluggable_database_creation_type_details.py +0 -2
  114. oci/database/models/create_scheduled_action_details.py +339 -0
  115. oci/database/models/create_scheduling_plan_details.py +306 -0
  116. oci/database/models/create_scheduling_policy_details.py +267 -0
  117. oci/database/models/create_scheduling_window_details.py +181 -0
  118. oci/database/models/exadata_infrastructure.py +33 -2
  119. oci/database/models/exadata_infrastructure_summary.py +33 -2
  120. oci/database/models/exadb_vm_cluster.py +12 -2
  121. oci/database/models/exadb_vm_cluster_summary.py +12 -2
  122. oci/database/models/execution_action.py +715 -0
  123. oci/database/models/execution_action_member.py +216 -0
  124. oci/database/models/execution_action_summary.py +715 -0
  125. oci/database/models/execution_window.py +783 -0
  126. oci/database/models/execution_window_summary.py +783 -0
  127. oci/database/models/granular_maintenance_history_details.py +99 -0
  128. oci/database/models/maintenance_run.py +62 -0
  129. oci/database/models/maintenance_run_history.py +64 -2
  130. oci/database/models/maintenance_run_history_summary.py +64 -2
  131. oci/database/models/maintenance_run_summary.py +62 -0
  132. oci/database/models/move_execution_action_member_details.py +220 -0
  133. oci/database/models/recommended_scheduled_action_summary.py +280 -0
  134. oci/database/models/recommended_scheduled_actions_collection.py +72 -0
  135. oci/database/models/reorder_execution_action_details.py +152 -0
  136. oci/database/models/reorder_scheduled_actions_details.py +109 -0
  137. oci/database/models/scheduled_action.py +633 -0
  138. oci/database/models/scheduled_action_collection.py +72 -0
  139. oci/database/models/scheduled_action_summary.py +633 -0
  140. oci/database/models/scheduling_plan.py +643 -0
  141. oci/database/models/scheduling_plan_collection.py +72 -0
  142. oci/database/models/scheduling_plan_summary.py +643 -0
  143. oci/database/models/scheduling_policy.py +493 -0
  144. oci/database/models/scheduling_policy_summary.py +493 -0
  145. oci/database/models/scheduling_window.py +469 -0
  146. oci/database/models/scheduling_window_summary.py +469 -0
  147. oci/database/models/update_autonomous_database_details.py +2 -6
  148. oci/database/models/update_exadb_vm_cluster_details.py +12 -2
  149. oci/database/models/update_execution_action_details.py +218 -0
  150. oci/database/models/update_execution_window_details.py +212 -0
  151. oci/database/models/update_scheduled_action_details.py +140 -0
  152. oci/database/models/update_scheduling_policy_details.py +232 -0
  153. oci/database/models/update_scheduling_window_details.py +146 -0
  154. oci/database/models/window_preference_detail.py +231 -0
  155. oci/database_management/db_management_client.py +580 -208
  156. oci/database_management/db_management_client_composite_operations.py +132 -0
  157. oci/database_management/diagnosability_client.py +4 -4
  158. oci/database_management/managed_my_sql_databases_client.py +7 -7
  159. oci/database_management/models/__init__.py +14 -0
  160. oci/database_management/models/autonomous_database_diagnostics_and_management_feature_details.py +65 -0
  161. oci/database_management/models/autonomous_database_feature_details.py +167 -0
  162. oci/database_management/models/autonomous_database_sql_watch_feature_details.py +65 -0
  163. oci/database_management/models/connector_details.py +15 -3
  164. oci/database_management/models/create_db_management_private_endpoint_details.py +31 -0
  165. oci/database_management/models/db_management_private_endpoint.py +31 -0
  166. oci/database_management/models/direct_connector_details.py +51 -0
  167. oci/database_management/models/disable_autonomous_database_management_feature_details.py +92 -0
  168. oci/database_management/models/enable_autonomous_database_management_feature_details.py +68 -0
  169. oci/database_management/models/external_connector_details.py +1 -1
  170. oci/database_management/models/macs_connector_details.py +1 -1
  171. oci/database_management/models/modify_autonomous_database_management_feature_details.py +68 -0
  172. oci/database_management/models/optimizer_statistics_collection_operation.py +7 -3
  173. oci/database_management/models/optimizer_statistics_collection_operation_summary.py +7 -3
  174. oci/database_management/models/private_end_point_connector_details.py +1 -1
  175. oci/database_management/perfhub_client.py +1 -1
  176. oci/database_management/sql_tuning_client.py +17 -17
  177. oci/database_migration/database_migration_client.py +42 -42
  178. oci/database_tools/database_tools_client.py +23 -23
  179. oci/delegate_access_control/__init__.py +16 -0
  180. oci/delegate_access_control/delegate_access_control_client.py +3324 -0
  181. oci/delegate_access_control/delegate_access_control_client_composite_operations.py +492 -0
  182. oci/delegate_access_control/models/__init__.py +96 -0
  183. oci/delegate_access_control/models/approve_delegated_resource_access_request_details.py +138 -0
  184. oci/delegate_access_control/models/change_delegation_control_compartment_details.py +72 -0
  185. oci/delegate_access_control/models/change_delegation_subscription_compartment_details.py +72 -0
  186. oci/delegate_access_control/models/create_delegation_control_details.py +548 -0
  187. oci/delegate_access_control/models/create_delegation_subscription_details.py +263 -0
  188. oci/delegate_access_control/models/delegated_resource_access_request.py +1373 -0
  189. oci/delegate_access_control/models/delegated_resource_access_request_approval_details.py +263 -0
  190. oci/delegate_access_control/models/delegated_resource_access_request_audit_log_report.py +193 -0
  191. oci/delegate_access_control/models/delegated_resource_access_request_history_collection.py +72 -0
  192. oci/delegate_access_control/models/delegated_resource_access_request_history_summary.py +300 -0
  193. oci/delegate_access_control/models/delegated_resource_access_request_summary.py +981 -0
  194. oci/delegate_access_control/models/delegated_resource_access_request_summary_collection.py +72 -0
  195. oci/delegate_access_control/models/delegation_control.py +833 -0
  196. oci/delegate_access_control/models/delegation_control_resource_collection.py +72 -0
  197. oci/delegate_access_control/models/delegation_control_resource_summary.py +147 -0
  198. oci/delegate_access_control/models/delegation_control_summary.py +465 -0
  199. oci/delegate_access_control/models/delegation_control_summary_collection.py +72 -0
  200. oci/delegate_access_control/models/delegation_subscription.py +524 -0
  201. oci/delegate_access_control/models/delegation_subscription_summary.py +461 -0
  202. oci/delegate_access_control/models/delegation_subscription_summary_collection.py +72 -0
  203. oci/delegate_access_control/models/reject_delegated_resource_access_request_details.py +72 -0
  204. oci/delegate_access_control/models/revoke_delegated_resource_access_request_details.py +72 -0
  205. oci/delegate_access_control/models/service_provider.py +583 -0
  206. oci/delegate_access_control/models/service_provider_action.py +371 -0
  207. oci/delegate_access_control/models/service_provider_action_properties.py +103 -0
  208. oci/delegate_access_control/models/service_provider_action_summary.py +323 -0
  209. oci/delegate_access_control/models/service_provider_action_summary_collection.py +72 -0
  210. oci/delegate_access_control/models/service_provider_interaction_collection.py +72 -0
  211. oci/delegate_access_control/models/service_provider_interaction_request_details.py +72 -0
  212. oci/delegate_access_control/models/service_provider_interaction_summary.py +247 -0
  213. oci/delegate_access_control/models/service_provider_summary.py +508 -0
  214. oci/delegate_access_control/models/service_provider_summary_collection.py +72 -0
  215. oci/delegate_access_control/models/update_delegation_control_details.py +404 -0
  216. oci/delegate_access_control/models/update_delegation_subscription_details.py +154 -0
  217. oci/delegate_access_control/models/work_request.py +438 -0
  218. oci/delegate_access_control/models/work_request_error.py +136 -0
  219. oci/delegate_access_control/models/work_request_error_collection.py +72 -0
  220. oci/delegate_access_control/models/work_request_log_entry.py +103 -0
  221. oci/delegate_access_control/models/work_request_log_entry_collection.py +72 -0
  222. oci/delegate_access_control/models/work_request_resource.py +234 -0
  223. oci/delegate_access_control/models/work_request_summary.py +438 -0
  224. oci/delegate_access_control/models/work_request_summary_collection.py +72 -0
  225. oci/delegate_access_control/work_request_client.py +660 -0
  226. oci/delegate_access_control/work_request_client_composite_operations.py +26 -0
  227. oci/demand_signal/occ_demand_signal_client.py +7 -7
  228. oci/desktops/desktop_service_client.py +21 -21
  229. oci/devops/devops_client.py +141 -141
  230. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  231. oci/dns/dns_client.py +52 -52
  232. oci/dts/appliance_export_job_client.py +6 -6
  233. oci/dts/shipping_vendors_client.py +1 -1
  234. oci/dts/transfer_appliance_client.py +8 -8
  235. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  236. oci/dts/transfer_device_client.py +5 -5
  237. oci/dts/transfer_job_client.py +6 -6
  238. oci/dts/transfer_package_client.py +7 -7
  239. oci/em_warehouse/em_data_lake_client.py +13 -13
  240. oci/em_warehouse/em_warehouse_client.py +13 -13
  241. oci/email/email_client.py +31 -31
  242. oci/email_data_plane/email_dp_client.py +1 -1
  243. oci/events/events_client.py +6 -6
  244. oci/file_storage/file_storage_client.py +393 -59
  245. oci/file_storage/file_storage_client_composite_operations.py +138 -0
  246. oci/file_storage/models/__init__.py +4 -0
  247. oci/file_storage/models/create_mount_target_details.py +39 -26
  248. oci/file_storage/models/mount_target.py +153 -3
  249. oci/file_storage/models/mount_target_summary.py +155 -3
  250. oci/file_storage/models/schedule_downgrade_shape_mount_target_details.py +78 -0
  251. oci/file_storage/models/upgrade_shape_mount_target_details.py +78 -0
  252. oci/fleet_apps_management/fleet_apps_management_admin_client.py +8 -8
  253. oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
  254. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  255. oci/fleet_apps_management/fleet_apps_management_operations_client.py +13 -13
  256. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +4 -4
  257. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  258. oci/functions/functions_invoke_client.py +1 -1
  259. oci/functions/functions_management_client.py +16 -16
  260. oci/fusion_apps/data_masking_activity_client.py +3 -3
  261. oci/fusion_apps/fusion_applications_client.py +41 -41
  262. oci/fusion_apps/fusion_environment_client.py +15 -15
  263. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  264. oci/fusion_apps/models/fusion_environment_family.py +33 -2
  265. oci/fusion_apps/refresh_activity_client.py +4 -4
  266. oci/fusion_apps/scheduled_activity_client.py +2 -2
  267. oci/fusion_apps/service_attachment_client.py +2 -2
  268. oci/generative_ai/generative_ai_client.py +22 -22
  269. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  270. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  271. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  272. oci/golden_gate/golden_gate_client.py +68 -68
  273. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  274. oci/governance_rules_control_plane/work_request_client.py +5 -5
  275. oci/healthchecks/health_checks_client.py +17 -17
  276. oci/identity/identity_client.py +145 -145
  277. oci/identity_data_plane/dataplane_client.py +2 -2
  278. oci/identity_domains/identity_domains_client.py +307 -307
  279. oci/integration/integration_instance_client.py +16 -16
  280. oci/jms/java_management_service_client.py +75 -75
  281. oci/jms_java_downloads/java_download_client.py +25 -25
  282. oci/key_management/ekm_client.py +5 -5
  283. oci/key_management/kms_crypto_client.py +6 -6
  284. oci/key_management/kms_hsm_cluster_client.py +25 -25
  285. oci/key_management/kms_hsm_cluster_client_composite_operations.py +3 -3
  286. oci/key_management/kms_management_client.py +21 -21
  287. oci/key_management/kms_vault_client.py +14 -14
  288. oci/key_management/models/auto_key_rotation_details.py +10 -10
  289. oci/key_management/models/change_hsm_cluster_compartment_details.py +3 -3
  290. oci/key_management/models/create_hsm_cluster_details.py +5 -5
  291. oci/key_management/models/hsm_cluster.py +4 -4
  292. oci/key_management/models/hsm_cluster_collection.py +2 -2
  293. oci/key_management/models/hsm_cluster_summary.py +3 -3
  294. oci/key_management/models/hsm_partition.py +29 -9
  295. oci/key_management/models/hsm_partition_collection.py +1 -1
  296. oci/key_management/models/hsm_partition_summary.py +11 -7
  297. oci/key_management/models/port_information.py +5 -5
  298. oci/key_management/models/pre_co_user_credentials.py +2 -2
  299. oci/key_management/models/upload_partition_certificates_details.py +5 -5
  300. oci/key_management/models/vault.py +31 -0
  301. oci/license_manager/license_manager_client.py +18 -18
  302. oci/limits/limits_client.py +4 -4
  303. oci/limits/quotas_client.py +7 -7
  304. oci/load_balancer/load_balancer_client.py +61 -61
  305. oci/load_balancer/models/backend.py +4 -0
  306. oci/load_balancer/models/backend_details.py +4 -0
  307. oci/load_balancer/models/backend_set.py +6 -2
  308. oci/load_balancer/models/backend_set_details.py +6 -2
  309. oci/load_balancer/models/create_backend_details.py +4 -0
  310. oci/load_balancer/models/create_backend_set_details.py +6 -2
  311. oci/load_balancer/models/create_load_balancer_details.py +116 -0
  312. oci/load_balancer/models/ip_max_connections.py +8 -2
  313. oci/load_balancer/models/load_balancer.py +100 -0
  314. oci/load_balancer/models/update_backend_details.py +4 -0
  315. oci/load_balancer/models/update_backend_set_details.py +6 -2
  316. oci/load_balancer/models/update_load_balancer_details.py +112 -0
  317. oci/lockbox/lockbox_client.py +24 -24
  318. oci/log_analytics/log_analytics_client.py +193 -193
  319. oci/logging/logging_management_client.py +30 -30
  320. oci/loggingingestion/logging_client.py +1 -1
  321. oci/loggingsearch/log_search_client.py +1 -1
  322. oci/management_agent/management_agent_client.py +28 -28
  323. oci/management_dashboard/dashx_apis_client.py +14 -14
  324. oci/marketplace/account_client.py +2 -2
  325. oci/marketplace/marketplace_client.py +30 -30
  326. oci/marketplace_private_offer/attachment_client.py +5 -5
  327. oci/marketplace_private_offer/offer_client.py +6 -6
  328. oci/marketplace_publisher/attachment_client.py +5 -5
  329. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  330. oci/marketplace_publisher/offer_client.py +6 -6
  331. oci/media_services/media_services_client.py +60 -60
  332. oci/media_services/media_stream_client.py +2 -2
  333. oci/monitoring/monitoring_client.py +18 -18
  334. oci/mysql/channels_client.py +7 -7
  335. oci/mysql/db_backups_client.py +7 -7
  336. oci/mysql/db_system_client.py +17 -17
  337. oci/mysql/models/__init__.py +2 -0
  338. oci/mysql/models/create_db_system_details.py +37 -2
  339. oci/mysql/models/customer_contact.py +72 -0
  340. oci/mysql/models/db_system.py +37 -2
  341. oci/mysql/models/update_db_system_details.py +37 -2
  342. oci/mysql/mysqlaas_client.py +7 -7
  343. oci/mysql/replicas_client.py +5 -5
  344. oci/mysql/work_requests_client.py +4 -4
  345. oci/network_firewall/network_firewall_client.py +86 -86
  346. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  347. oci/nosql/nosql_client.py +24 -24
  348. oci/object_storage/models/__init__.py +14 -0
  349. oci/object_storage/models/access_target_details.py +136 -0
  350. oci/object_storage/models/create_private_endpoint_details.py +389 -0
  351. oci/object_storage/models/fqdns.py +99 -0
  352. oci/object_storage/models/prefix_fqdns.py +134 -0
  353. oci/object_storage/models/private_endpoint.py +685 -0
  354. oci/object_storage/models/private_endpoint_summary.py +369 -0
  355. oci/object_storage/models/update_private_endpoint_details.py +216 -0
  356. oci/object_storage/models/work_request.py +15 -3
  357. oci/object_storage/models/work_request_summary.py +15 -3
  358. oci/object_storage/object_storage_client.py +686 -71
  359. oci/object_storage/object_storage_client_composite_operations.py +139 -0
  360. oci/oce/oce_instance_client.py +10 -10
  361. oci/oci_control_center/occ_metrics_client.py +3 -3
  362. oci/ocvp/cluster_client.py +8 -8
  363. oci/ocvp/cluster_client_composite_operations.py +2 -2
  364. oci/ocvp/esxi_host_client.py +9 -9
  365. oci/ocvp/models/cluster.py +35 -2
  366. oci/ocvp/models/cluster_summary.py +35 -2
  367. oci/ocvp/models/datastore_details.py +1 -1
  368. oci/ocvp/models/esxi_host.py +35 -2
  369. oci/ocvp/models/esxi_host_summary.py +35 -2
  370. oci/ocvp/models/sddc.py +35 -2
  371. oci/ocvp/models/sddc_summary.py +35 -2
  372. oci/ocvp/models/supported_host_shape_summary.py +55 -3
  373. oci/ocvp/models/work_request.py +55 -3
  374. oci/ocvp/sddc_client.py +21 -16
  375. oci/ocvp/work_request_client.py +4 -4
  376. oci/oda/management_client.py +59 -59
  377. oci/oda/oda_client.py +17 -17
  378. oci/oda/odapackage_client.py +7 -7
  379. oci/onesubscription/billing_schedule_client.py +1 -1
  380. oci/onesubscription/commitment_client.py +2 -2
  381. oci/onesubscription/computed_usage_client.py +3 -3
  382. oci/onesubscription/invoice_summary_client.py +2 -2
  383. oci/onesubscription/organization_subscription_client.py +1 -1
  384. oci/onesubscription/ratecard_client.py +1 -1
  385. oci/onesubscription/subscribed_service_client.py +2 -2
  386. oci/onesubscription/subscription_client.py +1 -1
  387. oci/ons/notification_control_plane_client.py +6 -6
  388. oci/ons/notification_data_plane_client.py +10 -10
  389. oci/opa/opa_instance_client.py +13 -13
  390. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  391. oci/opensearch/opensearch_cluster_client.py +14 -14
  392. oci/operator_access_control/access_requests_client.py +10 -10
  393. oci/operator_access_control/operator_actions_client.py +2 -2
  394. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  395. oci/operator_access_control/operator_control_client.py +6 -6
  396. oci/opsi/operations_insights_client.py +177 -177
  397. oci/optimizer/optimizer_client.py +26 -26
  398. oci/os_management/event_client.py +8 -8
  399. oci/os_management/os_management_client.py +69 -69
  400. oci/os_management_hub/event_client.py +8 -8
  401. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  402. oci/os_management_hub/managed_instance_client.py +31 -31
  403. oci/os_management_hub/managed_instance_group_client.py +25 -25
  404. oci/os_management_hub/management_station_client.py +10 -10
  405. oci/os_management_hub/onboarding_client.py +6 -6
  406. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  407. oci/os_management_hub/scheduled_job_client.py +7 -7
  408. oci/os_management_hub/software_source_client.py +27 -27
  409. oci/os_management_hub/work_request_client.py +4 -4
  410. oci/osp_gateway/address_rule_service_client.py +1 -1
  411. oci/osp_gateway/address_service_client.py +2 -2
  412. oci/osp_gateway/invoice_service_client.py +5 -5
  413. oci/osp_gateway/subscription_service_client.py +5 -5
  414. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  415. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  416. oci/osub_subscription/commitment_client.py +2 -2
  417. oci/osub_subscription/ratecard_client.py +1 -1
  418. oci/osub_subscription/subscription_client.py +1 -1
  419. oci/osub_usage/computed_usage_client.py +3 -3
  420. oci/psql/postgresql_client.py +33 -33
  421. oci/queue/queue_admin_client.py +11 -11
  422. oci/queue/queue_client.py +8 -8
  423. oci/recovery/database_recovery_client.py +135 -25
  424. oci/recovery/database_recovery_client_composite_operations.py +42 -0
  425. oci/recovery/models/__init__.py +2 -0
  426. oci/recovery/models/change_protected_database_subscription_details.py +103 -0
  427. oci/recovery/models/create_protected_database_details.py +33 -0
  428. oci/recovery/models/create_protection_policy_details.py +39 -0
  429. oci/recovery/models/protected_database.py +31 -0
  430. oci/recovery/models/protected_database_summary.py +31 -0
  431. oci/recovery/models/protection_policy.py +31 -0
  432. oci/recovery/models/protection_policy_summary.py +31 -0
  433. oci/redis/redis_cluster_client.py +12 -12
  434. oci/resource_manager/resource_manager_client.py +52 -52
  435. oci/resource_scheduler/schedule_client.py +13 -13
  436. oci/resource_search/resource_search_client.py +3 -3
  437. oci/rover/rover_bundle_client.py +8 -8
  438. oci/rover/rover_cluster_client.py +8 -8
  439. oci/rover/rover_entitlement_client.py +6 -6
  440. oci/rover/rover_node_client.py +15 -15
  441. oci/rover/shape_client.py +1 -1
  442. oci/rover/work_requests_client.py +5 -5
  443. oci/sch/connector_plugins_client.py +2 -2
  444. oci/sch/service_connector_client.py +12 -12
  445. oci/secrets/secrets_client.py +3 -3
  446. oci/service_catalog/service_catalog_client.py +26 -26
  447. oci/service_endpoints.py +1 -0
  448. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  449. oci/service_mesh/service_mesh_client.py +48 -48
  450. oci/stack_monitoring/stack_monitoring_client.py +64 -64
  451. oci/streaming/stream_admin_client.py +18 -18
  452. oci/streaming/stream_client.py +8 -8
  453. oci/tenant_manager_control_plane/domain_client.py +5 -5
  454. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  455. oci/tenant_manager_control_plane/governance_client.py +2 -2
  456. oci/tenant_manager_control_plane/link_client.py +3 -3
  457. oci/tenant_manager_control_plane/orders_client.py +2 -2
  458. oci/tenant_manager_control_plane/organization_client.py +10 -10
  459. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  460. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  461. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  462. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  463. oci/threat_intelligence/threatintel_client.py +5 -5
  464. oci/usage/resources_client.py +2 -2
  465. oci/usage/rewards_client.py +6 -6
  466. oci/usage/usagelimits_client.py +1 -1
  467. oci/usage_api/usageapi_client.py +33 -33
  468. oci/vault/vaults_client.py +13 -13
  469. oci/vbs_inst/vbs_instance_client.py +10 -10
  470. oci/version.py +1 -1
  471. oci/visual_builder/vb_instance_client.py +13 -13
  472. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  473. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  474. oci/waa/waa_client.py +13 -13
  475. oci/waa/work_request_client.py +4 -4
  476. oci/waas/redirect_client.py +6 -6
  477. oci/waas/waas_client.py +66 -66
  478. oci/waf/models/__init__.py +2 -0
  479. oci/waf/models/dynamic_http_response_body.py +104 -0
  480. oci/waf/models/http_response_body.py +11 -3
  481. oci/waf/models/static_text_http_response_body.py +1 -1
  482. oci/waf/waf_client.py +24 -24
  483. oci/work_requests/work_request_client.py +4 -4
  484. {oci-2.132.0.dist-info → oci-2.133.0.dist-info}/METADATA +1 -1
  485. {oci-2.132.0.dist-info → oci-2.133.0.dist-info}/RECORD +489 -369
  486. {oci-2.132.0.dist-info → oci-2.133.0.dist-info}/LICENSE.txt +0 -0
  487. {oci-2.132.0.dist-info → oci-2.133.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  488. {oci-2.132.0.dist-info → oci-2.133.0.dist-info}/WHEEL +0 -0
  489. {oci-2.132.0.dist-info → oci-2.133.0.dist-info}/top_level.txt +0 -0
@@ -25,6 +25,96 @@ class AIServiceDocumentClientCompositeOperations(object):
25
25
  """
26
26
  self.client = client
27
27
 
28
+ def add_model_lock_and_wait_for_state(self, model_id, add_model_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
29
+ """
30
+ Calls :py:func:`~oci.ai_document.AIServiceDocumentClient.add_model_lock` and waits for the :py:class:`~oci.ai_document.models.Model` acted upon
31
+ to enter the given state(s).
32
+
33
+ :param str model_id: (required)
34
+ A unique model identifier.
35
+
36
+ :param oci.ai_document.models.AddModelLockDetails add_model_lock_details: (required)
37
+ Request payload to add lock to the resource.
38
+
39
+ :param list[str] wait_for_states:
40
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.ai_document.models.Model.lifecycle_state`
41
+
42
+ :param dict operation_kwargs:
43
+ A dictionary of keyword arguments to pass to :py:func:`~oci.ai_document.AIServiceDocumentClient.add_model_lock`
44
+
45
+ :param dict waiter_kwargs:
46
+ 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``
47
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
48
+ """
49
+ operation_result = self.client.add_model_lock(model_id, add_model_lock_details, **operation_kwargs)
50
+ if not wait_for_states:
51
+ return operation_result
52
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
53
+ model_id = operation_result.data.id
54
+
55
+ try:
56
+ waiter_result = oci.wait_until(
57
+ self.client,
58
+ self.client.get_model(model_id), # noqa: F821
59
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
60
+ **waiter_kwargs
61
+ )
62
+ result_to_return = waiter_result
63
+
64
+ return result_to_return
65
+ except (NameError, TypeError) as e:
66
+ if not e.args:
67
+ e.args = ('',)
68
+ e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
69
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
70
+ except Exception as e:
71
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
72
+
73
+ def add_project_lock_and_wait_for_state(self, project_id, add_project_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
74
+ """
75
+ Calls :py:func:`~oci.ai_document.AIServiceDocumentClient.add_project_lock` and waits for the :py:class:`~oci.ai_document.models.Project` acted upon
76
+ to enter the given state(s).
77
+
78
+ :param str project_id: (required)
79
+ A unique project identifier.
80
+
81
+ :param oci.ai_document.models.AddProjectLockDetails add_project_lock_details: (required)
82
+ Request payload to add lock to the resource.
83
+
84
+ :param list[str] wait_for_states:
85
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.ai_document.models.Project.lifecycle_state`
86
+
87
+ :param dict operation_kwargs:
88
+ A dictionary of keyword arguments to pass to :py:func:`~oci.ai_document.AIServiceDocumentClient.add_project_lock`
89
+
90
+ :param dict waiter_kwargs:
91
+ 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``
92
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
93
+ """
94
+ operation_result = self.client.add_project_lock(project_id, add_project_lock_details, **operation_kwargs)
95
+ if not wait_for_states:
96
+ return operation_result
97
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
98
+ project_id = operation_result.data.id
99
+
100
+ try:
101
+ waiter_result = oci.wait_until(
102
+ self.client,
103
+ self.client.get_project(project_id), # noqa: F821
104
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
105
+ **waiter_kwargs
106
+ )
107
+ result_to_return = waiter_result
108
+
109
+ return result_to_return
110
+ except (NameError, TypeError) as e:
111
+ if not e.args:
112
+ e.args = ('',)
113
+ e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
114
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
115
+ except Exception as e:
116
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
117
+
28
118
  def create_model_and_wait_for_state(self, create_model_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
29
119
  """
30
120
  Calls :py:func:`~oci.ai_document.AIServiceDocumentClient.create_model` and waits for the :py:class:`~oci.ai_document.models.WorkRequest`
@@ -281,6 +371,96 @@ class AIServiceDocumentClientCompositeOperations(object):
281
371
  except Exception as e:
282
372
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
283
373
 
374
+ def remove_model_lock_and_wait_for_state(self, model_id, remove_model_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
375
+ """
376
+ Calls :py:func:`~oci.ai_document.AIServiceDocumentClient.remove_model_lock` and waits for the :py:class:`~oci.ai_document.models.Model` acted upon
377
+ to enter the given state(s).
378
+
379
+ :param str model_id: (required)
380
+ A unique model identifier.
381
+
382
+ :param oci.ai_document.models.RemoveModelLockDetails remove_model_lock_details: (required)
383
+ Request payload to remove lock to the resource.
384
+
385
+ :param list[str] wait_for_states:
386
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.ai_document.models.Model.lifecycle_state`
387
+
388
+ :param dict operation_kwargs:
389
+ A dictionary of keyword arguments to pass to :py:func:`~oci.ai_document.AIServiceDocumentClient.remove_model_lock`
390
+
391
+ :param dict waiter_kwargs:
392
+ 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``
393
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
394
+ """
395
+ operation_result = self.client.remove_model_lock(model_id, remove_model_lock_details, **operation_kwargs)
396
+ if not wait_for_states:
397
+ return operation_result
398
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
399
+ model_id = operation_result.data.id
400
+
401
+ try:
402
+ waiter_result = oci.wait_until(
403
+ self.client,
404
+ self.client.get_model(model_id), # noqa: F821
405
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
406
+ **waiter_kwargs
407
+ )
408
+ result_to_return = waiter_result
409
+
410
+ return result_to_return
411
+ except (NameError, TypeError) as e:
412
+ if not e.args:
413
+ e.args = ('',)
414
+ e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
415
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
416
+ except Exception as e:
417
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
418
+
419
+ def remove_project_lock_and_wait_for_state(self, project_id, remove_project_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
420
+ """
421
+ Calls :py:func:`~oci.ai_document.AIServiceDocumentClient.remove_project_lock` and waits for the :py:class:`~oci.ai_document.models.Project` acted upon
422
+ to enter the given state(s).
423
+
424
+ :param str project_id: (required)
425
+ A unique project identifier.
426
+
427
+ :param oci.ai_document.models.RemoveProjectLockDetails remove_project_lock_details: (required)
428
+ Request payload to remove lock to the resource.
429
+
430
+ :param list[str] wait_for_states:
431
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.ai_document.models.Project.lifecycle_state`
432
+
433
+ :param dict operation_kwargs:
434
+ A dictionary of keyword arguments to pass to :py:func:`~oci.ai_document.AIServiceDocumentClient.remove_project_lock`
435
+
436
+ :param dict waiter_kwargs:
437
+ 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``
438
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
439
+ """
440
+ operation_result = self.client.remove_project_lock(project_id, remove_project_lock_details, **operation_kwargs)
441
+ if not wait_for_states:
442
+ return operation_result
443
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
444
+ project_id = operation_result.data.id
445
+
446
+ try:
447
+ waiter_result = oci.wait_until(
448
+ self.client,
449
+ self.client.get_project(project_id), # noqa: F821
450
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
451
+ **waiter_kwargs
452
+ )
453
+ result_to_return = waiter_result
454
+
455
+ return result_to_return
456
+ except (NameError, TypeError) as e:
457
+ if not e.args:
458
+ e.args = ('',)
459
+ e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
460
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
461
+ except Exception as e:
462
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
463
+
284
464
  def update_model_and_wait_for_state(self, model_id, update_model_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
285
465
  """
286
466
  Calls :py:func:`~oci.ai_document.AIServiceDocumentClient.update_model` and waits for the :py:class:`~oci.ai_document.models.WorkRequest`
@@ -6,6 +6,8 @@
6
6
 
7
7
  from __future__ import absolute_import
8
8
 
9
+ from .add_model_lock_details import AddModelLockDetails
10
+ from .add_project_lock_details import AddProjectLockDetails
9
11
  from .analyze_document_details import AnalyzeDocumentDetails
10
12
  from .analyze_document_result import AnalyzeDocumentResult
11
13
  from .bounding_polygon import BoundingPolygon
@@ -67,6 +69,9 @@ from .processor_job import ProcessorJob
67
69
  from .project import Project
68
70
  from .project_collection import ProjectCollection
69
71
  from .project_summary import ProjectSummary
72
+ from .remove_model_lock_details import RemoveModelLockDetails
73
+ from .remove_project_lock_details import RemoveProjectLockDetails
74
+ from .resource_lock import ResourceLock
70
75
  from .table import Table
71
76
  from .table_row import TableRow
72
77
  from .update_model_details import UpdateModelDetails
@@ -90,6 +95,8 @@ from .work_request_summary_collection import WorkRequestSummaryCollection
90
95
 
91
96
  # Maps type names to classes for ai_document services.
92
97
  ai_document_type_mapping = {
98
+ "AddModelLockDetails": AddModelLockDetails,
99
+ "AddProjectLockDetails": AddProjectLockDetails,
93
100
  "AnalyzeDocumentDetails": AnalyzeDocumentDetails,
94
101
  "AnalyzeDocumentResult": AnalyzeDocumentResult,
95
102
  "BoundingPolygon": BoundingPolygon,
@@ -151,6 +158,9 @@ ai_document_type_mapping = {
151
158
  "Project": Project,
152
159
  "ProjectCollection": ProjectCollection,
153
160
  "ProjectSummary": ProjectSummary,
161
+ "RemoveModelLockDetails": RemoveModelLockDetails,
162
+ "RemoveProjectLockDetails": RemoveProjectLockDetails,
163
+ "ResourceLock": ResourceLock,
154
164
  "Table": Table,
155
165
  "TableRow": TableRow,
156
166
  "UpdateModelDetails": UpdateModelDetails,
@@ -0,0 +1,150 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, 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: 20221109
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 AddModelLockDetails(object):
14
+ """
15
+ Request payload to add lock to the resource.
16
+ """
17
+
18
+ #: A constant which can be used with the type property of a AddModelLockDetails.
19
+ #: This constant has a value of "FULL"
20
+ TYPE_FULL = "FULL"
21
+
22
+ #: A constant which can be used with the type property of a AddModelLockDetails.
23
+ #: This constant has a value of "DELETE"
24
+ TYPE_DELETE = "DELETE"
25
+
26
+ def __init__(self, **kwargs):
27
+ """
28
+ Initializes a new AddModelLockDetails object with values from keyword arguments.
29
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
30
+
31
+ :param type:
32
+ The value to assign to the type property of this AddModelLockDetails.
33
+ Allowed values for this property are: "FULL", "DELETE"
34
+ :type type: str
35
+
36
+ :param related_resource_id:
37
+ The value to assign to the related_resource_id property of this AddModelLockDetails.
38
+ :type related_resource_id: str
39
+
40
+ :param message:
41
+ The value to assign to the message property of this AddModelLockDetails.
42
+ :type message: str
43
+
44
+ """
45
+ self.swagger_types = {
46
+ 'type': 'str',
47
+ 'related_resource_id': 'str',
48
+ 'message': 'str'
49
+ }
50
+
51
+ self.attribute_map = {
52
+ 'type': 'type',
53
+ 'related_resource_id': 'relatedResourceId',
54
+ 'message': 'message'
55
+ }
56
+
57
+ self._type = None
58
+ self._related_resource_id = None
59
+ self._message = None
60
+
61
+ @property
62
+ def type(self):
63
+ """
64
+ **[Required]** Gets the type of this AddModelLockDetails.
65
+ Type of the lock.
66
+
67
+ Allowed values for this property are: "FULL", "DELETE"
68
+
69
+
70
+ :return: The type of this AddModelLockDetails.
71
+ :rtype: str
72
+ """
73
+ return self._type
74
+
75
+ @type.setter
76
+ def type(self, type):
77
+ """
78
+ Sets the type of this AddModelLockDetails.
79
+ Type of the lock.
80
+
81
+
82
+ :param type: The type of this AddModelLockDetails.
83
+ :type: str
84
+ """
85
+ allowed_values = ["FULL", "DELETE"]
86
+ if not value_allowed_none_or_none_sentinel(type, allowed_values):
87
+ raise ValueError(
88
+ f"Invalid value for `type`, must be None or one of {allowed_values}"
89
+ )
90
+ self._type = type
91
+
92
+ @property
93
+ def related_resource_id(self):
94
+ """
95
+ Gets the related_resource_id of this AddModelLockDetails.
96
+ The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
97
+
98
+
99
+ :return: The related_resource_id of this AddModelLockDetails.
100
+ :rtype: str
101
+ """
102
+ return self._related_resource_id
103
+
104
+ @related_resource_id.setter
105
+ def related_resource_id(self, related_resource_id):
106
+ """
107
+ Sets the related_resource_id of this AddModelLockDetails.
108
+ The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
109
+
110
+
111
+ :param related_resource_id: The related_resource_id of this AddModelLockDetails.
112
+ :type: str
113
+ """
114
+ self._related_resource_id = related_resource_id
115
+
116
+ @property
117
+ def message(self):
118
+ """
119
+ Gets the message of this AddModelLockDetails.
120
+ A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
121
+
122
+
123
+ :return: The message of this AddModelLockDetails.
124
+ :rtype: str
125
+ """
126
+ return self._message
127
+
128
+ @message.setter
129
+ def message(self, message):
130
+ """
131
+ Sets the message of this AddModelLockDetails.
132
+ A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
133
+
134
+
135
+ :param message: The message of this AddModelLockDetails.
136
+ :type: str
137
+ """
138
+ self._message = message
139
+
140
+ def __repr__(self):
141
+ return formatted_flat_dict(self)
142
+
143
+ def __eq__(self, other):
144
+ if other is None:
145
+ return False
146
+
147
+ return self.__dict__ == other.__dict__
148
+
149
+ def __ne__(self, other):
150
+ return not self == other
@@ -0,0 +1,150 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, 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: 20221109
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 AddProjectLockDetails(object):
14
+ """
15
+ Request payload to add lock to the resource.
16
+ """
17
+
18
+ #: A constant which can be used with the type property of a AddProjectLockDetails.
19
+ #: This constant has a value of "FULL"
20
+ TYPE_FULL = "FULL"
21
+
22
+ #: A constant which can be used with the type property of a AddProjectLockDetails.
23
+ #: This constant has a value of "DELETE"
24
+ TYPE_DELETE = "DELETE"
25
+
26
+ def __init__(self, **kwargs):
27
+ """
28
+ Initializes a new AddProjectLockDetails object with values from keyword arguments.
29
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
30
+
31
+ :param type:
32
+ The value to assign to the type property of this AddProjectLockDetails.
33
+ Allowed values for this property are: "FULL", "DELETE"
34
+ :type type: str
35
+
36
+ :param related_resource_id:
37
+ The value to assign to the related_resource_id property of this AddProjectLockDetails.
38
+ :type related_resource_id: str
39
+
40
+ :param message:
41
+ The value to assign to the message property of this AddProjectLockDetails.
42
+ :type message: str
43
+
44
+ """
45
+ self.swagger_types = {
46
+ 'type': 'str',
47
+ 'related_resource_id': 'str',
48
+ 'message': 'str'
49
+ }
50
+
51
+ self.attribute_map = {
52
+ 'type': 'type',
53
+ 'related_resource_id': 'relatedResourceId',
54
+ 'message': 'message'
55
+ }
56
+
57
+ self._type = None
58
+ self._related_resource_id = None
59
+ self._message = None
60
+
61
+ @property
62
+ def type(self):
63
+ """
64
+ **[Required]** Gets the type of this AddProjectLockDetails.
65
+ Type of the lock.
66
+
67
+ Allowed values for this property are: "FULL", "DELETE"
68
+
69
+
70
+ :return: The type of this AddProjectLockDetails.
71
+ :rtype: str
72
+ """
73
+ return self._type
74
+
75
+ @type.setter
76
+ def type(self, type):
77
+ """
78
+ Sets the type of this AddProjectLockDetails.
79
+ Type of the lock.
80
+
81
+
82
+ :param type: The type of this AddProjectLockDetails.
83
+ :type: str
84
+ """
85
+ allowed_values = ["FULL", "DELETE"]
86
+ if not value_allowed_none_or_none_sentinel(type, allowed_values):
87
+ raise ValueError(
88
+ f"Invalid value for `type`, must be None or one of {allowed_values}"
89
+ )
90
+ self._type = type
91
+
92
+ @property
93
+ def related_resource_id(self):
94
+ """
95
+ Gets the related_resource_id of this AddProjectLockDetails.
96
+ The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
97
+
98
+
99
+ :return: The related_resource_id of this AddProjectLockDetails.
100
+ :rtype: str
101
+ """
102
+ return self._related_resource_id
103
+
104
+ @related_resource_id.setter
105
+ def related_resource_id(self, related_resource_id):
106
+ """
107
+ Sets the related_resource_id of this AddProjectLockDetails.
108
+ The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
109
+
110
+
111
+ :param related_resource_id: The related_resource_id of this AddProjectLockDetails.
112
+ :type: str
113
+ """
114
+ self._related_resource_id = related_resource_id
115
+
116
+ @property
117
+ def message(self):
118
+ """
119
+ Gets the message of this AddProjectLockDetails.
120
+ A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
121
+
122
+
123
+ :return: The message of this AddProjectLockDetails.
124
+ :rtype: str
125
+ """
126
+ return self._message
127
+
128
+ @message.setter
129
+ def message(self, message):
130
+ """
131
+ Sets the message of this AddProjectLockDetails.
132
+ A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
133
+
134
+
135
+ :param message: The message of this AddProjectLockDetails.
136
+ :type: str
137
+ """
138
+ self._message = message
139
+
140
+ def __repr__(self):
141
+ return formatted_flat_dict(self)
142
+
143
+ def __eq__(self, other):
144
+ if other is None:
145
+ return False
146
+
147
+ return self.__dict__ == other.__dict__
148
+
149
+ def __ne__(self, other):
150
+ return not self == other
@@ -56,8 +56,8 @@ class AnalyzeDocumentDetails(object):
56
56
  DOCUMENT_TYPE_OTHERS = "OTHERS"
57
57
 
58
58
  #: A constant which can be used with the document_type property of a AnalyzeDocumentDetails.
59
- #: This constant has a value of "INSURANCE_CLAIM"
60
- DOCUMENT_TYPE_INSURANCE_CLAIM = "INSURANCE_CLAIM"
59
+ #: This constant has a value of "HEALTH_INSURANCE_ID"
60
+ DOCUMENT_TYPE_HEALTH_INSURANCE_ID = "HEALTH_INSURANCE_ID"
61
61
 
62
62
  def __init__(self, **kwargs):
63
63
  """
@@ -86,7 +86,7 @@ class AnalyzeDocumentDetails(object):
86
86
 
87
87
  :param document_type:
88
88
  The value to assign to the document_type property of this AnalyzeDocumentDetails.
89
- Allowed values for this property are: "INVOICE", "RECEIPT", "RESUME", "TAX_FORM", "DRIVER_LICENSE", "PASSPORT", "BANK_STATEMENT", "CHECK", "PAYSLIP", "OTHERS", "INSURANCE_CLAIM"
89
+ Allowed values for this property are: "INVOICE", "RECEIPT", "RESUME", "TAX_FORM", "DRIVER_LICENSE", "PASSPORT", "BANK_STATEMENT", "CHECK", "PAYSLIP", "OTHERS", "HEALTH_INSURANCE_ID"
90
90
  :type document_type: str
91
91
 
92
92
  :param ocr_data:
@@ -240,7 +240,7 @@ class AnalyzeDocumentDetails(object):
240
240
  Gets the document_type of this AnalyzeDocumentDetails.
241
241
  The document type.
242
242
 
243
- Allowed values for this property are: "INVOICE", "RECEIPT", "RESUME", "TAX_FORM", "DRIVER_LICENSE", "PASSPORT", "BANK_STATEMENT", "CHECK", "PAYSLIP", "OTHERS", "INSURANCE_CLAIM"
243
+ Allowed values for this property are: "INVOICE", "RECEIPT", "RESUME", "TAX_FORM", "DRIVER_LICENSE", "PASSPORT", "BANK_STATEMENT", "CHECK", "PAYSLIP", "OTHERS", "HEALTH_INSURANCE_ID"
244
244
 
245
245
 
246
246
  :return: The document_type of this AnalyzeDocumentDetails.
@@ -258,7 +258,7 @@ class AnalyzeDocumentDetails(object):
258
258
  :param document_type: The document_type of this AnalyzeDocumentDetails.
259
259
  :type: str
260
260
  """
261
- allowed_values = ["INVOICE", "RECEIPT", "RESUME", "TAX_FORM", "DRIVER_LICENSE", "PASSPORT", "BANK_STATEMENT", "CHECK", "PAYSLIP", "OTHERS", "INSURANCE_CLAIM"]
261
+ allowed_values = ["INVOICE", "RECEIPT", "RESUME", "TAX_FORM", "DRIVER_LICENSE", "PASSPORT", "BANK_STATEMENT", "CHECK", "PAYSLIP", "OTHERS", "HEALTH_INSURANCE_ID"]
262
262
  if not value_allowed_none_or_none_sentinel(document_type, allowed_values):
263
263
  raise ValueError(
264
264
  f"Invalid value for `document_type`, must be None or one of {allowed_values}"
@@ -24,10 +24,6 @@ class DetectedDocumentType(object):
24
24
  The value to assign to the document_type property of this DetectedDocumentType.
25
25
  :type document_type: str
26
26
 
27
- :param document_id:
28
- The value to assign to the document_id property of this DetectedDocumentType.
29
- :type document_id: str
30
-
31
27
  :param confidence:
32
28
  The value to assign to the confidence property of this DetectedDocumentType.
33
29
  :type confidence: float
@@ -35,18 +31,15 @@ class DetectedDocumentType(object):
35
31
  """
36
32
  self.swagger_types = {
37
33
  'document_type': 'str',
38
- 'document_id': 'str',
39
34
  'confidence': 'float'
40
35
  }
41
36
 
42
37
  self.attribute_map = {
43
38
  'document_type': 'documentType',
44
- 'document_id': 'documentId',
45
39
  'confidence': 'confidence'
46
40
  }
47
41
 
48
42
  self._document_type = None
49
- self._document_id = None
50
43
  self._confidence = None
51
44
 
52
45
  @property
@@ -73,34 +66,6 @@ class DetectedDocumentType(object):
73
66
  """
74
67
  self._document_type = document_type
75
68
 
76
- @property
77
- def document_id(self):
78
- """
79
- Gets the document_id of this DetectedDocumentType.
80
- The `OCID`__ of the Key-Value Extraction model that was used to extract the key-value pairs.
81
-
82
- __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
83
-
84
-
85
- :return: The document_id of this DetectedDocumentType.
86
- :rtype: str
87
- """
88
- return self._document_id
89
-
90
- @document_id.setter
91
- def document_id(self, document_id):
92
- """
93
- Sets the document_id of this DetectedDocumentType.
94
- The `OCID`__ of the Key-Value Extraction model that was used to extract the key-value pairs.
95
-
96
- __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
97
-
98
-
99
- :param document_id: The document_id of this DetectedDocumentType.
100
- :type: str
101
- """
102
- self._document_id = document_id
103
-
104
69
  @property
105
70
  def confidence(self):
106
71
  """