oci 2.149.0__py3-none-any.whl → 2.149.1__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 (392) hide show
  1. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  2. oci/adm/application_dependency_management_client.py +36 -36
  3. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  4. oci/ai_document/ai_service_document_client.py +26 -26
  5. oci/ai_language/ai_service_language_client.py +44 -44
  6. oci/ai_speech/ai_service_speech_client.py +19 -19
  7. oci/ai_vision/ai_service_vision_client.py +28 -28
  8. oci/analytics/analytics_client.py +24 -24
  9. oci/announcements_service/announcement_client.py +5 -5
  10. oci/announcements_service/announcement_subscription_client.py +9 -9
  11. oci/announcements_service/announcements_preferences_client.py +4 -4
  12. oci/announcements_service/service_client.py +1 -1
  13. oci/apigateway/api_gateway_client.py +21 -21
  14. oci/apigateway/deployment_client.py +6 -6
  15. oci/apigateway/gateway_client.py +6 -6
  16. oci/apigateway/subscribers_client.py +6 -6
  17. oci/apigateway/usage_plans_client.py +6 -6
  18. oci/apigateway/work_requests_client.py +5 -5
  19. oci/apm_config/config_client.py +9 -9
  20. oci/apm_control_plane/apm_domain_client.py +14 -14
  21. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  22. oci/apm_traces/attributes_client.py +8 -8
  23. oci/apm_traces/query_client.py +2 -2
  24. oci/apm_traces/trace_client.py +4 -4
  25. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  26. oci/artifacts/artifacts_client.py +32 -32
  27. oci/audit/audit_client.py +3 -3
  28. oci/autoscaling/auto_scaling_client.py +11 -11
  29. oci/bastion/bastion_client.py +15 -15
  30. oci/bds/bds_client.py +84 -84
  31. oci/blockchain/blockchain_platform_client.py +27 -27
  32. oci/budget/budget_client.py +10 -10
  33. oci/capacity_management/capacity_management_client.py +32 -32
  34. oci/certificates/certificates_client.py +5 -5
  35. oci/certificates_management/certificates_management_client.py +32 -32
  36. oci/cims/incident_client.py +6 -6
  37. oci/cloud_bridge/common_client.py +5 -5
  38. oci/cloud_bridge/discovery_client.py +15 -15
  39. oci/cloud_bridge/inventory_client.py +16 -16
  40. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  41. oci/cloud_guard/cloud_guard_client.py +155 -155
  42. oci/cloud_migrations/migration_client.py +43 -43
  43. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  44. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  45. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  46. oci/compute_instance_agent/plugin_client.py +2 -2
  47. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  48. oci/container_engine/container_engine_client.py +44 -44
  49. oci/container_instances/container_instance_client.py +18 -18
  50. oci/core/blockstorage_client.py +60 -60
  51. oci/core/compute_client.py +633 -113
  52. oci/core/compute_client_composite_operations.py +82 -0
  53. oci/core/compute_management_client.py +32 -32
  54. oci/core/models/__init__.py +10 -0
  55. oci/core/models/change_compute_host_compartment_details.py +76 -0
  56. oci/core/models/compute_host.py +826 -0
  57. oci/core/models/compute_host_collection.py +70 -0
  58. oci/core/models/compute_host_summary.py +720 -0
  59. oci/core/models/update_compute_host_details.py +154 -0
  60. oci/core/virtual_network_client.py +258 -258
  61. oci/dashboard_service/dashboard_client.py +6 -6
  62. oci/dashboard_service/dashboard_group_client.py +6 -6
  63. oci/data_catalog/data_catalog_client.py +149 -149
  64. oci/data_flow/data_flow_client.py +45 -45
  65. oci/data_integration/data_integration_client.py +163 -163
  66. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  67. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  68. oci/data_safe/data_safe_client.py +317 -317
  69. oci/data_science/data_science_client.py +112 -112
  70. oci/database/database_client.py +414 -414
  71. oci/database_management/db_management_client.py +228 -228
  72. oci/database_management/diagnosability_client.py +4 -4
  73. oci/database_management/managed_my_sql_databases_client.py +9 -9
  74. oci/database_management/perfhub_client.py +1 -1
  75. oci/database_management/sql_tuning_client.py +17 -17
  76. oci/database_migration/database_migration_client.py +42 -42
  77. oci/database_tools/database_tools_client.py +23 -23
  78. oci/dblm/db_life_cycle_management_client.py +12 -12
  79. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  80. oci/delegate_access_control/work_request_client.py +4 -4
  81. oci/demand_signal/occ_demand_signal_client.py +7 -7
  82. oci/desktops/desktop_service_client.py +21 -21
  83. oci/devops/devops_client.py +141 -141
  84. oci/disaster_recovery/disaster_recovery_client.py +31 -31
  85. oci/dns/dns_client.py +54 -54
  86. oci/dts/appliance_export_job_client.py +6 -6
  87. oci/dts/shipping_vendors_client.py +1 -1
  88. oci/dts/transfer_appliance_client.py +8 -8
  89. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  90. oci/dts/transfer_device_client.py +5 -5
  91. oci/dts/transfer_job_client.py +6 -6
  92. oci/dts/transfer_package_client.py +7 -7
  93. oci/em_warehouse/em_warehouse_client.py +13 -13
  94. oci/email/email_client.py +31 -31
  95. oci/email_data_plane/email_dp_client.py +1 -1
  96. oci/events/events_client.py +6 -6
  97. oci/file_storage/file_storage_client.py +74 -74
  98. oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
  99. oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
  100. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  101. oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
  102. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
  103. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  104. oci/functions/functions_invoke_client.py +1 -1
  105. oci/functions/functions_management_client.py +16 -16
  106. oci/fusion_apps/fusion_applications_client.py +41 -41
  107. oci/generative_ai/generative_ai_client.py +22 -22
  108. oci/generative_ai_agent/generative_ai_agent_client.py +711 -111
  109. oci/generative_ai_agent/generative_ai_agent_client_composite_operations.py +132 -0
  110. oci/generative_ai_agent/models/__init__.py +66 -0
  111. oci/generative_ai_agent/models/agent.py +29 -2
  112. oci/generative_ai_agent/models/agent_endpoint.py +143 -0
  113. oci/generative_ai_agent/models/agent_endpoint_summary.py +143 -0
  114. oci/generative_ai_agent/models/agent_summary.py +29 -2
  115. oci/generative_ai_agent/models/api_schema_inline_input_location.py +80 -0
  116. oci/generative_ai_agent/models/api_schema_input_location.py +113 -0
  117. oci/generative_ai_agent/models/api_schema_object_storage_input_location.py +142 -0
  118. oci/generative_ai_agent/models/content_moderation_guardrail_config.py +141 -0
  119. oci/generative_ai_agent/models/create_agent_details.py +29 -2
  120. oci/generative_ai_agent/models/create_agent_endpoint_details.py +143 -0
  121. oci/generative_ai_agent/models/create_data_source_details.py +31 -0
  122. oci/generative_ai_agent/models/create_tool_details.py +307 -0
  123. oci/generative_ai_agent/models/data_source.py +31 -0
  124. oci/generative_ai_agent/models/function.py +134 -0
  125. oci/generative_ai_agent/models/function_calling_tool_config.py +76 -0
  126. oci/generative_ai_agent/models/guardrail_config.py +120 -0
  127. oci/generative_ai_agent/models/http_endpoint_auth_config.py +137 -0
  128. oci/generative_ai_agent/models/http_endpoint_delegated_bearer_auth_config.py +50 -0
  129. oci/generative_ai_agent/models/http_endpoint_idcs_auth_config.py +76 -0
  130. oci/generative_ai_agent/models/http_endpoint_no_auth_config.py +49 -0
  131. oci/generative_ai_agent/models/http_endpoint_oci_resource_principal_auth_config.py +49 -0
  132. oci/generative_ai_agent/models/http_endpoint_tool_config.py +134 -0
  133. oci/generative_ai_agent/models/human_input_config.py +70 -0
  134. oci/generative_ai_agent/models/idcs_secret.py +2 -1
  135. oci/generative_ai_agent/models/inline_input_location.py +80 -0
  136. oci/generative_ai_agent/models/input_location.py +113 -0
  137. oci/generative_ai_agent/models/knowledge_base_config.py +74 -0
  138. oci/generative_ai_agent/models/llm_config.py +66 -0
  139. oci/generative_ai_agent/models/llm_customization.py +70 -0
  140. oci/generative_ai_agent/models/object_storage_input_location.py +142 -0
  141. oci/generative_ai_agent/models/object_storage_prefix.py +2 -2
  142. oci/generative_ai_agent/models/object_storage_prefix_output_location.py +142 -0
  143. oci/generative_ai_agent/models/output_config.py +97 -0
  144. oci/generative_ai_agent/models/output_location.py +99 -0
  145. oci/generative_ai_agent/models/personally_identifiable_information_guardrail_config.py +141 -0
  146. oci/generative_ai_agent/models/prompt_injection_guardrail_config.py +90 -0
  147. oci/generative_ai_agent/models/rag_tool_config.py +107 -0
  148. oci/generative_ai_agent/models/sql_tool_config.py +341 -0
  149. oci/generative_ai_agent/models/tool.py +522 -0
  150. oci/generative_ai_agent/models/tool_collection.py +70 -0
  151. oci/generative_ai_agent/models/tool_config.py +133 -0
  152. oci/generative_ai_agent/models/tool_summary.py +486 -0
  153. oci/generative_ai_agent/models/update_agent_details.py +29 -2
  154. oci/generative_ai_agent/models/update_agent_endpoint_details.py +143 -0
  155. oci/generative_ai_agent/models/update_data_source_details.py +31 -0
  156. oci/generative_ai_agent/models/update_tool_details.py +241 -0
  157. oci/generative_ai_agent/models/work_request.py +19 -3
  158. oci/generative_ai_agent/models/work_request_summary.py +19 -3
  159. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +128 -6
  160. oci/generative_ai_agent_runtime/models/__init__.py +24 -0
  161. oci/generative_ai_agent_runtime/models/chat_details.py +65 -3
  162. oci/generative_ai_agent_runtime/models/chat_result.py +95 -2
  163. oci/generative_ai_agent_runtime/models/citation.py +34 -3
  164. oci/generative_ai_agent_runtime/models/function_call.py +101 -0
  165. oci/generative_ai_agent_runtime/models/function_calling_performed_action.py +87 -0
  166. oci/generative_ai_agent_runtime/models/function_calling_required_action.py +83 -0
  167. oci/generative_ai_agent_runtime/models/human_approval_performed_action.py +103 -0
  168. oci/generative_ai_agent_runtime/models/knowledge_base_metadata_summary.py +262 -0
  169. oci/generative_ai_agent_runtime/models/knowledge_base_metadata_value.py +101 -0
  170. oci/generative_ai_agent_runtime/models/message_content.py +33 -2
  171. oci/generative_ai_agent_runtime/models/metadata_filter.py +101 -0
  172. oci/generative_ai_agent_runtime/models/paragraph.py +132 -0
  173. oci/generative_ai_agent_runtime/models/paragraph_citation.py +97 -0
  174. oci/generative_ai_agent_runtime/models/performed_action.py +138 -0
  175. oci/generative_ai_agent_runtime/models/required_action.py +134 -0
  176. oci/generative_ai_agent_runtime/models/retrieve_metadata_details.py +70 -0
  177. oci/generative_ai_inference/generative_ai_inference_client.py +5 -5
  178. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  179. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  180. oci/golden_gate/golden_gate_client.py +84 -84
  181. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  182. oci/governance_rules_control_plane/work_request_client.py +5 -5
  183. oci/healthchecks/health_checks_client.py +17 -17
  184. oci/identity/identity_client.py +145 -145
  185. oci/identity_data_plane/dataplane_client.py +2 -2
  186. oci/identity_domains/identity_domains_client.py +311 -311
  187. oci/integration/integration_instance_client.py +19 -19
  188. oci/jms/java_management_service_client.py +79 -79
  189. oci/jms_java_downloads/java_download_client.py +25 -25
  190. oci/key_management/ekm_client.py +5 -5
  191. oci/key_management/kms_crypto_client.py +6 -6
  192. oci/key_management/kms_hsm_cluster_client.py +12 -12
  193. oci/key_management/kms_management_client.py +21 -21
  194. oci/key_management/kms_vault_client.py +14 -14
  195. oci/license_manager/license_manager_client.py +18 -18
  196. oci/limits/limits_client.py +4 -4
  197. oci/limits/quotas_client.py +7 -7
  198. oci/load_balancer/load_balancer_client.py +61 -61
  199. oci/lockbox/lockbox_client.py +24 -24
  200. oci/log_analytics/log_analytics_client.py +193 -193
  201. oci/logging/logging_management_client.py +30 -30
  202. oci/loggingingestion/logging_client.py +1 -1
  203. oci/loggingsearch/log_search_client.py +1 -1
  204. oci/management_agent/management_agent_client.py +28 -28
  205. oci/management_dashboard/dashx_apis_client.py +14 -14
  206. oci/marketplace/account_client.py +2 -2
  207. oci/marketplace/marketplace_client.py +30 -30
  208. oci/marketplace_private_offer/attachment_client.py +5 -5
  209. oci/marketplace_private_offer/offer_client.py +6 -6
  210. oci/marketplace_publisher/attachment_client.py +5 -5
  211. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  212. oci/marketplace_publisher/offer_client.py +6 -6
  213. oci/media_services/media_services_client.py +60 -60
  214. oci/media_services/media_stream_client.py +2 -2
  215. oci/mngdmac/mac_device_client.py +6 -6
  216. oci/mngdmac/mac_order_client.py +22 -22
  217. oci/monitoring/monitoring_client.py +18 -18
  218. oci/mysql/channels_client.py +7 -7
  219. oci/mysql/db_backups_client.py +7 -7
  220. oci/mysql/db_system_client.py +17 -17
  221. oci/mysql/mysqlaas_client.py +7 -7
  222. oci/mysql/replicas_client.py +5 -5
  223. oci/mysql/work_requests_client.py +4 -4
  224. oci/network_firewall/network_firewall_client.py +86 -86
  225. oci/network_load_balancer/network_load_balancer_client.py +35 -35
  226. oci/nosql/nosql_client.py +24 -24
  227. oci/object_storage/object_storage_client.py +55 -55
  228. oci/oce/oce_instance_client.py +10 -10
  229. oci/oci_control_center/occ_metrics_client.py +3 -3
  230. oci/ocvp/cluster_client.py +5 -5
  231. oci/ocvp/esxi_host_client.py +8 -8
  232. oci/ocvp/sddc_client.py +14 -14
  233. oci/ocvp/work_request_client.py +4 -4
  234. oci/oda/management_client.py +59 -59
  235. oci/oda/oda_client.py +17 -17
  236. oci/oda/odapackage_client.py +7 -7
  237. oci/onesubscription/billing_schedule_client.py +1 -1
  238. oci/onesubscription/commitment_client.py +2 -2
  239. oci/onesubscription/computed_usage_client.py +3 -3
  240. oci/onesubscription/invoice_summary_client.py +2 -2
  241. oci/onesubscription/organization_subscription_client.py +1 -1
  242. oci/onesubscription/ratecard_client.py +1 -1
  243. oci/onesubscription/subscribed_service_client.py +2 -2
  244. oci/onesubscription/subscription_client.py +1 -1
  245. oci/ons/notification_control_plane_client.py +6 -6
  246. oci/ons/notification_data_plane_client.py +10 -10
  247. oci/opa/opa_instance_client.py +13 -13
  248. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  249. oci/opensearch/opensearch_cluster_client.py +16 -16
  250. oci/opensearch/opensearch_cluster_pipeline_client.py +5 -5
  251. oci/operator_access_control/access_requests_client.py +10 -10
  252. oci/operator_access_control/operator_actions_client.py +2 -2
  253. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  254. oci/operator_access_control/operator_control_client.py +6 -6
  255. oci/opsi/operations_insights_client.py +181 -181
  256. oci/optimizer/optimizer_client.py +26 -26
  257. oci/os_management/event_client.py +8 -8
  258. oci/os_management/os_management_client.py +69 -69
  259. oci/os_management_hub/event_client.py +8 -8
  260. oci/os_management_hub/lifecycle_environment_client.py +13 -13
  261. oci/os_management_hub/managed_instance_client.py +33 -33
  262. oci/os_management_hub/managed_instance_group_client.py +26 -26
  263. oci/os_management_hub/management_station_client.py +10 -10
  264. oci/os_management_hub/onboarding_client.py +13 -13
  265. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  266. oci/os_management_hub/scheduled_job_client.py +7 -7
  267. oci/os_management_hub/software_source_client.py +33 -33
  268. oci/os_management_hub/work_request_client.py +5 -5
  269. oci/osp_gateway/address_rule_service_client.py +1 -1
  270. oci/osp_gateway/address_service_client.py +2 -2
  271. oci/osp_gateway/invoice_service_client.py +5 -5
  272. oci/osp_gateway/subscription_service_client.py +5 -5
  273. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  274. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  275. oci/osub_subscription/commitment_client.py +2 -2
  276. oci/osub_subscription/ratecard_client.py +1 -1
  277. oci/osub_subscription/subscription_client.py +1 -1
  278. oci/osub_usage/computed_usage_client.py +3 -3
  279. oci/psql/postgresql_client.py +34 -34
  280. oci/queue/queue_admin_client.py +11 -11
  281. oci/queue/queue_client.py +8 -8
  282. oci/recovery/database_recovery_client.py +26 -26
  283. oci/redis/redis_cluster_client.py +12 -12
  284. oci/resource_manager/resource_manager_client.py +52 -52
  285. oci/resource_scheduler/schedule_client.py +13 -13
  286. oci/resource_search/resource_search_client.py +3 -3
  287. oci/rover/rover_bundle_client.py +8 -8
  288. oci/rover/rover_cluster_client.py +8 -8
  289. oci/rover/rover_entitlement_client.py +6 -6
  290. oci/rover/rover_node_client.py +15 -15
  291. oci/rover/shape_client.py +1 -1
  292. oci/rover/work_requests_client.py +5 -5
  293. oci/sch/connector_plugins_client.py +2 -2
  294. oci/sch/models/functions_target_details.py +4 -0
  295. oci/sch/models/log_source.py +4 -6
  296. oci/sch/models/monitoring_target_details.py +0 -4
  297. oci/sch/models/notifications_target_details.py +0 -2
  298. oci/sch/models/plugin_source_details.py +4 -4
  299. oci/sch/models/service_connector.py +37 -0
  300. oci/sch/service_connector_client.py +12 -12
  301. oci/secrets/secrets_client.py +3 -3
  302. oci/security_attribute/security_attribute_client.py +18 -18
  303. oci/service_catalog/service_catalog_client.py +26 -26
  304. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  305. oci/service_mesh/service_mesh_client.py +48 -48
  306. oci/stack_monitoring/models/__init__.py +44 -0
  307. oci/stack_monitoring/models/additional_configuration_details.py +70 -0
  308. oci/stack_monitoring/models/agent_extension_handler_configuration.py +277 -0
  309. oci/stack_monitoring/models/agent_extension_handler_configuration_property.py +101 -0
  310. oci/stack_monitoring/models/agent_extension_handler_metric_mapping_details.py +165 -0
  311. oci/stack_monitoring/models/agent_receiver_properties.py +70 -0
  312. oci/stack_monitoring/models/associated_monitored_resource.py +14 -6
  313. oci/stack_monitoring/models/associated_resources_summary.py +14 -6
  314. oci/stack_monitoring/models/auto_promote_config_details.py +1 -1
  315. oci/stack_monitoring/models/availability_metrics_details.py +101 -0
  316. oci/stack_monitoring/models/collectd_resource_name_configuration_details.py +132 -0
  317. oci/stack_monitoring/models/compute_auto_activate_plugin_config_details.py +146 -0
  318. oci/stack_monitoring/models/compute_auto_activate_plugin_config_summary.py +142 -0
  319. oci/stack_monitoring/models/config.py +19 -3
  320. oci/stack_monitoring/models/config_summary.py +8 -0
  321. oci/stack_monitoring/models/create_compute_auto_activate_plugin_config_details.py +107 -0
  322. oci/stack_monitoring/models/create_config_details.py +8 -0
  323. oci/stack_monitoring/models/create_maintenance_window_details.py +68 -2
  324. oci/stack_monitoring/models/create_monitored_resource_type_details.py +9 -5
  325. oci/stack_monitoring/models/create_onboard_config_details.py +259 -0
  326. oci/stack_monitoring/models/dynamic_group_details.py +148 -0
  327. oci/stack_monitoring/models/group_details.py +132 -0
  328. oci/stack_monitoring/models/import_oci_telemetry_resources_task_details.py +18 -6
  329. oci/stack_monitoring/models/license_auto_assign_config_details.py +1 -1
  330. oci/stack_monitoring/models/license_enterprise_extensibility_config_details.py +1 -1
  331. oci/stack_monitoring/models/maintenance_window.py +108 -5
  332. oci/stack_monitoring/models/maintenance_window_summary.py +7 -3
  333. oci/stack_monitoring/models/metric_name_configuration_details.py +101 -0
  334. oci/stack_monitoring/models/monitored_resource.py +14 -6
  335. oci/stack_monitoring/models/monitored_resource_member_summary.py +14 -6
  336. oci/stack_monitoring/models/monitored_resource_summary.py +14 -6
  337. oci/stack_monitoring/models/monitored_resource_task.py +31 -0
  338. oci/stack_monitoring/models/monitored_resource_task_details.py +19 -3
  339. oci/stack_monitoring/models/monitored_resource_task_summary.py +31 -0
  340. oci/stack_monitoring/models/monitored_resource_type.py +129 -5
  341. oci/stack_monitoring/models/monitored_resource_type_summary.py +94 -5
  342. oci/stack_monitoring/models/onboard_config_details.py +296 -0
  343. oci/stack_monitoring/models/onboard_config_summary.py +174 -0
  344. oci/stack_monitoring/models/resource_type_config_details.py +124 -0
  345. oci/stack_monitoring/models/search_monitored_resources_details.py +14 -6
  346. oci/stack_monitoring/models/telegraf_resource_name_configuration_details.py +132 -0
  347. oci/stack_monitoring/models/update_agent_receiver_task_details.py +190 -0
  348. oci/stack_monitoring/models/update_compute_auto_activate_plugin_config_details.py +100 -0
  349. oci/stack_monitoring/models/update_config_details.py +8 -0
  350. oci/stack_monitoring/models/update_maintenance_window_details.py +68 -2
  351. oci/stack_monitoring/models/update_monitored_resource_type_details.py +7 -3
  352. oci/stack_monitoring/models/update_onboard_config_details.py +252 -0
  353. oci/stack_monitoring/models/update_resource_type_config_task_details.py +133 -0
  354. oci/stack_monitoring/models/work_request.py +11 -3
  355. oci/stack_monitoring/models/work_request_summary.py +11 -3
  356. oci/stack_monitoring/stack_monitoring_client.py +121 -93
  357. oci/streaming/stream_admin_client.py +18 -18
  358. oci/streaming/stream_client.py +8 -8
  359. oci/tenant_manager_control_plane/domain_client.py +5 -5
  360. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  361. oci/tenant_manager_control_plane/governance_client.py +2 -2
  362. oci/tenant_manager_control_plane/link_client.py +3 -3
  363. oci/tenant_manager_control_plane/orders_client.py +2 -2
  364. oci/tenant_manager_control_plane/organization_client.py +10 -10
  365. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  366. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  367. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  368. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  369. oci/threat_intelligence/threatintel_client.py +5 -5
  370. oci/usage/resources_client.py +2 -2
  371. oci/usage/rewards_client.py +6 -6
  372. oci/usage/usagelimits_client.py +1 -1
  373. oci/usage_api/usageapi_client.py +33 -33
  374. oci/vault/vaults_client.py +13 -13
  375. oci/vbs_inst/vbs_instance_client.py +10 -10
  376. oci/version.py +1 -1
  377. oci/visual_builder/vb_instance_client.py +14 -14
  378. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  379. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  380. oci/waa/waa_client.py +13 -13
  381. oci/waa/work_request_client.py +4 -4
  382. oci/waas/redirect_client.py +6 -6
  383. oci/waas/waas_client.py +66 -66
  384. oci/waf/waf_client.py +24 -24
  385. oci/work_requests/work_request_client.py +4 -4
  386. oci/zpr/zpr_client.py +15 -15
  387. {oci-2.149.0.dist-info → oci-2.149.1.dist-info}/METADATA +1 -1
  388. {oci-2.149.0.dist-info → oci-2.149.1.dist-info}/RECORD +392 -320
  389. {oci-2.149.0.dist-info → oci-2.149.1.dist-info}/LICENSE.txt +0 -0
  390. {oci-2.149.0.dist-info → oci-2.149.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  391. {oci-2.149.0.dist-info → oci-2.149.1.dist-info}/WHEEL +0 -0
  392. {oci-2.149.0.dist-info → oci-2.149.1.dist-info}/top_level.txt +0 -0
@@ -108,7 +108,7 @@ class GenerativeAiAgentRuntimeClient(object):
108
108
  'regional_client': True,
109
109
  'service_endpoint': kwargs.get('service_endpoint'),
110
110
  'base_path': '/20240531',
111
- 'service_endpoint_template': 'https://genai-agent-service.{region}.oci.{secondLevelDomain}',
111
+ 'service_endpoint_template': 'https://agent-runtime.generativeai.{region}.oci.{secondLevelDomain}',
112
112
  'service_endpoint_template_per_realm': { }, # noqa: E201 E202
113
113
  'skip_deserialization': kwargs.get('skip_deserialization', False),
114
114
  'circuit_breaker_strategy': kwargs.get('circuit_breaker_strategy', circuit_breaker.GLOBAL_CIRCUIT_BREAKER_STRATEGY),
@@ -168,7 +168,7 @@ class GenerativeAiAgentRuntimeClient(object):
168
168
  :rtype: :class:`~oci.response.Response`
169
169
 
170
170
  :example:
171
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.0/generativeaiagentruntime/chat.py.html>`__ to see an example of how to use chat API.
171
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.1/generativeaiagentruntime/chat.py.html>`__ to see an example of how to use chat API.
172
172
  """
173
173
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
174
174
  required_arguments = ['agentEndpointId']
@@ -285,7 +285,7 @@ class GenerativeAiAgentRuntimeClient(object):
285
285
  :rtype: :class:`~oci.response.Response`
286
286
 
287
287
  :example:
288
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.0/generativeaiagentruntime/create_session.py.html>`__ to see an example of how to use create_session API.
288
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.1/generativeaiagentruntime/create_session.py.html>`__ to see an example of how to use create_session API.
289
289
  """
290
290
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
291
291
  required_arguments = ['agentEndpointId']
@@ -398,7 +398,7 @@ class GenerativeAiAgentRuntimeClient(object):
398
398
  :rtype: :class:`~oci.response.Response`
399
399
 
400
400
  :example:
401
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.0/generativeaiagentruntime/delete_session.py.html>`__ to see an example of how to use delete_session API.
401
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.1/generativeaiagentruntime/delete_session.py.html>`__ to see an example of how to use delete_session API.
402
402
  """
403
403
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
404
404
  required_arguments = ['agentEndpointId', 'sessionId']
@@ -500,7 +500,7 @@ class GenerativeAiAgentRuntimeClient(object):
500
500
  :rtype: :class:`~oci.response.Response`
501
501
 
502
502
  :example:
503
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.0/generativeaiagentruntime/get_session.py.html>`__ to see an example of how to use get_session API.
503
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.1/generativeaiagentruntime/get_session.py.html>`__ to see an example of how to use get_session API.
504
504
  """
505
505
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
506
506
  required_arguments = ['agentEndpointId', 'sessionId']
@@ -572,6 +572,128 @@ class GenerativeAiAgentRuntimeClient(object):
572
572
  api_reference_link=api_reference_link,
573
573
  required_arguments=required_arguments)
574
574
 
575
+ def retrieve_metadata(self, knowledge_base_id, retrieve_metadata_details, **kwargs):
576
+ """
577
+ Returns metadata of provided knowledgeBase. Return available metadata with information of field names, their types, supported operations, and possible values.
578
+
579
+
580
+ :param str knowledge_base_id: (required)
581
+ A unique ID for the Knowledge Base.
582
+
583
+ :param oci.generative_ai_agent_runtime.models.RetrieveMetadataDetails retrieve_metadata_details: (required)
584
+ Input for retrieve metadata.
585
+
586
+ :param str opc_request_id: (optional)
587
+ The client request ID for tracing.
588
+
589
+ :param str if_match: (optional)
590
+ For optimistic concurrency control. In the PUT or DELETE call
591
+ for a resource, set the `if-match` parameter to the value of the
592
+ etag from a previous GET or POST response for that resource.
593
+ The resource will be updated or deleted only if the etag you
594
+ provide matches the resource's current etag value.
595
+
596
+ :param str opc_retry_token: (optional)
597
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
598
+ server error without risk of executing that same action again. Retry tokens expire after 24
599
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
600
+ has been deleted and purged from the system, then a retry of the original creation request
601
+ might be rejected.
602
+
603
+ :param obj retry_strategy: (optional)
604
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
605
+
606
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
607
+ The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
608
+
609
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
610
+
611
+ :param bool allow_control_chars: (optional)
612
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
613
+ By default, the response will not allow control characters in strings
614
+
615
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.generative_ai_agent_runtime.models.KnowledgeBaseMetadataSummary`
616
+ :rtype: :class:`~oci.response.Response`
617
+
618
+ :example:
619
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.1/generativeaiagentruntime/retrieve_metadata.py.html>`__ to see an example of how to use retrieve_metadata API.
620
+ """
621
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
622
+ required_arguments = ['knowledgeBaseId']
623
+ resource_path = "/knowledgeBases/{knowledgeBaseId}/actions/retrieveMetadata"
624
+ method = "POST"
625
+ operation_name = "retrieve_metadata"
626
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/generative-ai-agents-client/20240531/KnowledgeBaseMetadataSummary/RetrieveMetadata"
627
+
628
+ # Don't accept unknown kwargs
629
+ expected_kwargs = [
630
+ "allow_control_chars",
631
+ "retry_strategy",
632
+ "opc_request_id",
633
+ "if_match",
634
+ "opc_retry_token"
635
+ ]
636
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
637
+ if extra_kwargs:
638
+ raise ValueError(
639
+ f"retrieve_metadata got unknown kwargs: {extra_kwargs!r}")
640
+
641
+ path_params = {
642
+ "knowledgeBaseId": knowledge_base_id
643
+ }
644
+
645
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
646
+
647
+ for (k, v) in six.iteritems(path_params):
648
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
649
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
650
+
651
+ header_params = {
652
+ "accept": "application/json",
653
+ "content-type": "application/json",
654
+ "opc-request-id": kwargs.get("opc_request_id", missing),
655
+ "if-match": kwargs.get("if_match", missing),
656
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
657
+ }
658
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
659
+
660
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
661
+ operation_retry_strategy=kwargs.get('retry_strategy'),
662
+ client_retry_strategy=self.retry_strategy
663
+ )
664
+ if retry_strategy is None:
665
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
666
+
667
+ if retry_strategy:
668
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
669
+ self.base_client.add_opc_retry_token_if_needed(header_params)
670
+ self.base_client.add_opc_client_retries_header(header_params)
671
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
672
+ return retry_strategy.make_retrying_call(
673
+ self.base_client.call_api,
674
+ resource_path=resource_path,
675
+ method=method,
676
+ path_params=path_params,
677
+ header_params=header_params,
678
+ body=retrieve_metadata_details,
679
+ response_type="list[KnowledgeBaseMetadataSummary]",
680
+ allow_control_chars=kwargs.get('allow_control_chars'),
681
+ operation_name=operation_name,
682
+ api_reference_link=api_reference_link,
683
+ required_arguments=required_arguments)
684
+ else:
685
+ return self.base_client.call_api(
686
+ resource_path=resource_path,
687
+ method=method,
688
+ path_params=path_params,
689
+ header_params=header_params,
690
+ body=retrieve_metadata_details,
691
+ response_type="list[KnowledgeBaseMetadataSummary]",
692
+ allow_control_chars=kwargs.get('allow_control_chars'),
693
+ operation_name=operation_name,
694
+ api_reference_link=api_reference_link,
695
+ required_arguments=required_arguments)
696
+
575
697
  def update_session(self, agent_endpoint_id, session_id, update_session_details, **kwargs):
576
698
  """
577
699
  Update session metadata, including but not limited to description, tags.
@@ -612,7 +734,7 @@ class GenerativeAiAgentRuntimeClient(object):
612
734
  :rtype: :class:`~oci.response.Response`
613
735
 
614
736
  :example:
615
- Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.0/generativeaiagentruntime/update_session.py.html>`__ to see an example of how to use update_session API.
737
+ Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.149.1/generativeaiagentruntime/update_session.py.html>`__ to see an example of how to use update_session API.
616
738
  """
617
739
  # Required path and query arguments. These are in camelCase to replace values in service endpoints.
618
740
  required_arguments = ['agentEndpointId', 'sessionId']
@@ -11,13 +11,25 @@ from .chat_result import ChatResult
11
11
  from .citation import Citation
12
12
  from .create_session_details import CreateSessionDetails
13
13
  from .error_trace import ErrorTrace
14
+ from .function_call import FunctionCall
15
+ from .function_calling_performed_action import FunctionCallingPerformedAction
16
+ from .function_calling_required_action import FunctionCallingRequiredAction
14
17
  from .generation_trace import GenerationTrace
18
+ from .human_approval_performed_action import HumanApprovalPerformedAction
19
+ from .knowledge_base_metadata_summary import KnowledgeBaseMetadataSummary
20
+ from .knowledge_base_metadata_value import KnowledgeBaseMetadataValue
15
21
  from .message import Message
16
22
  from .message_content import MessageContent
23
+ from .metadata_filter import MetadataFilter
17
24
  from .oci_database_source_location import OciDatabaseSourceLocation
18
25
  from .oci_object_storage_source_location import OciObjectStorageSourceLocation
19
26
  from .oci_open_search_source_location import OciOpenSearchSourceLocation
27
+ from .paragraph import Paragraph
28
+ from .paragraph_citation import ParagraphCitation
29
+ from .performed_action import PerformedAction
30
+ from .required_action import RequiredAction
20
31
  from .retrieval_trace import RetrievalTrace
32
+ from .retrieve_metadata_details import RetrieveMetadataDetails
21
33
  from .session import Session
22
34
  from .source_location import SourceLocation
23
35
  from .trace import Trace
@@ -30,13 +42,25 @@ generative_ai_agent_runtime_type_mapping = {
30
42
  "Citation": Citation,
31
43
  "CreateSessionDetails": CreateSessionDetails,
32
44
  "ErrorTrace": ErrorTrace,
45
+ "FunctionCall": FunctionCall,
46
+ "FunctionCallingPerformedAction": FunctionCallingPerformedAction,
47
+ "FunctionCallingRequiredAction": FunctionCallingRequiredAction,
33
48
  "GenerationTrace": GenerationTrace,
49
+ "HumanApprovalPerformedAction": HumanApprovalPerformedAction,
50
+ "KnowledgeBaseMetadataSummary": KnowledgeBaseMetadataSummary,
51
+ "KnowledgeBaseMetadataValue": KnowledgeBaseMetadataValue,
34
52
  "Message": Message,
35
53
  "MessageContent": MessageContent,
54
+ "MetadataFilter": MetadataFilter,
36
55
  "OciDatabaseSourceLocation": OciDatabaseSourceLocation,
37
56
  "OciObjectStorageSourceLocation": OciObjectStorageSourceLocation,
38
57
  "OciOpenSearchSourceLocation": OciOpenSearchSourceLocation,
58
+ "Paragraph": Paragraph,
59
+ "ParagraphCitation": ParagraphCitation,
60
+ "PerformedAction": PerformedAction,
61
+ "RequiredAction": RequiredAction,
39
62
  "RetrievalTrace": RetrievalTrace,
63
+ "RetrieveMetadataDetails": RetrieveMetadataDetails,
40
64
  "Session": Session,
41
65
  "SourceLocation": SourceLocation,
42
66
  "Trace": Trace,
@@ -32,25 +32,39 @@ class ChatDetails(object):
32
32
  The value to assign to the session_id property of this ChatDetails.
33
33
  :type session_id: str
34
34
 
35
+ :param tool_parameters:
36
+ The value to assign to the tool_parameters property of this ChatDetails.
37
+ :type tool_parameters: dict(str, str)
38
+
39
+ :param performed_actions:
40
+ The value to assign to the performed_actions property of this ChatDetails.
41
+ :type performed_actions: list[oci.generative_ai_agent_runtime.models.PerformedAction]
42
+
35
43
  """
36
44
  self.swagger_types = {
37
45
  'user_message': 'str',
38
46
  'should_stream': 'bool',
39
- 'session_id': 'str'
47
+ 'session_id': 'str',
48
+ 'tool_parameters': 'dict(str, str)',
49
+ 'performed_actions': 'list[PerformedAction]'
40
50
  }
41
51
  self.attribute_map = {
42
52
  'user_message': 'userMessage',
43
53
  'should_stream': 'shouldStream',
44
- 'session_id': 'sessionId'
54
+ 'session_id': 'sessionId',
55
+ 'tool_parameters': 'toolParameters',
56
+ 'performed_actions': 'performedActions'
45
57
  }
46
58
  self._user_message = None
47
59
  self._should_stream = None
48
60
  self._session_id = None
61
+ self._tool_parameters = None
62
+ self._performed_actions = None
49
63
 
50
64
  @property
51
65
  def user_message(self):
52
66
  """
53
- **[Required]** Gets the user_message of this ChatDetails.
67
+ Gets the user_message of this ChatDetails.
54
68
  The input user message content for the chat.
55
69
 
56
70
 
@@ -119,6 +133,54 @@ class ChatDetails(object):
119
133
  """
120
134
  self._session_id = session_id
121
135
 
136
+ @property
137
+ def tool_parameters(self):
138
+ """
139
+ Gets the tool_parameters of this ChatDetails.
140
+ A map where each key is a toolId and the value contains tool type and additional dynamic parameters.
141
+
142
+
143
+ :return: The tool_parameters of this ChatDetails.
144
+ :rtype: dict(str, str)
145
+ """
146
+ return self._tool_parameters
147
+
148
+ @tool_parameters.setter
149
+ def tool_parameters(self, tool_parameters):
150
+ """
151
+ Sets the tool_parameters of this ChatDetails.
152
+ A map where each key is a toolId and the value contains tool type and additional dynamic parameters.
153
+
154
+
155
+ :param tool_parameters: The tool_parameters of this ChatDetails.
156
+ :type: dict(str, str)
157
+ """
158
+ self._tool_parameters = tool_parameters
159
+
160
+ @property
161
+ def performed_actions(self):
162
+ """
163
+ Gets the performed_actions of this ChatDetails.
164
+ A list of actions that have been performed based on prior required actions.
165
+
166
+
167
+ :return: The performed_actions of this ChatDetails.
168
+ :rtype: list[oci.generative_ai_agent_runtime.models.PerformedAction]
169
+ """
170
+ return self._performed_actions
171
+
172
+ @performed_actions.setter
173
+ def performed_actions(self, performed_actions):
174
+ """
175
+ Sets the performed_actions of this ChatDetails.
176
+ A list of actions that have been performed based on prior required actions.
177
+
178
+
179
+ :param performed_actions: The performed_actions of this ChatDetails.
180
+ :type: list[oci.generative_ai_agent_runtime.models.PerformedAction]
181
+ """
182
+ self._performed_actions = performed_actions
183
+
122
184
  def __repr__(self):
123
185
  return formatted_flat_dict(self)
124
186
 
@@ -28,17 +28,38 @@ class ChatResult(object):
28
28
  The value to assign to the traces property of this ChatResult.
29
29
  :type traces: list[oci.generative_ai_agent_runtime.models.Trace]
30
30
 
31
+ :param tool_results:
32
+ The value to assign to the tool_results property of this ChatResult.
33
+ :type tool_results: dict(str, str)
34
+
35
+ :param required_actions:
36
+ The value to assign to the required_actions property of this ChatResult.
37
+ :type required_actions: list[oci.generative_ai_agent_runtime.models.RequiredAction]
38
+
39
+ :param guardrail_result:
40
+ The value to assign to the guardrail_result property of this ChatResult.
41
+ :type guardrail_result: str
42
+
31
43
  """
32
44
  self.swagger_types = {
33
45
  'message': 'Message',
34
- 'traces': 'list[Trace]'
46
+ 'traces': 'list[Trace]',
47
+ 'tool_results': 'dict(str, str)',
48
+ 'required_actions': 'list[RequiredAction]',
49
+ 'guardrail_result': 'str'
35
50
  }
36
51
  self.attribute_map = {
37
52
  'message': 'message',
38
- 'traces': 'traces'
53
+ 'traces': 'traces',
54
+ 'tool_results': 'toolResults',
55
+ 'required_actions': 'requiredActions',
56
+ 'guardrail_result': 'guardrailResult'
39
57
  }
40
58
  self._message = None
41
59
  self._traces = None
60
+ self._tool_results = None
61
+ self._required_actions = None
62
+ self._guardrail_result = None
42
63
 
43
64
  @property
44
65
  def message(self):
@@ -84,6 +105,78 @@ class ChatResult(object):
84
105
  """
85
106
  self._traces = traces
86
107
 
108
+ @property
109
+ def tool_results(self):
110
+ """
111
+ Gets the tool_results of this ChatResult.
112
+ A map where each key is a toolId and the value contains tool type and additional dynamic results.
113
+
114
+
115
+ :return: The tool_results of this ChatResult.
116
+ :rtype: dict(str, str)
117
+ """
118
+ return self._tool_results
119
+
120
+ @tool_results.setter
121
+ def tool_results(self, tool_results):
122
+ """
123
+ Sets the tool_results of this ChatResult.
124
+ A map where each key is a toolId and the value contains tool type and additional dynamic results.
125
+
126
+
127
+ :param tool_results: The tool_results of this ChatResult.
128
+ :type: dict(str, str)
129
+ """
130
+ self._tool_results = tool_results
131
+
132
+ @property
133
+ def required_actions(self):
134
+ """
135
+ Gets the required_actions of this ChatResult.
136
+ A list of actions the agent requires the user or agent client to perform.
137
+
138
+
139
+ :return: The required_actions of this ChatResult.
140
+ :rtype: list[oci.generative_ai_agent_runtime.models.RequiredAction]
141
+ """
142
+ return self._required_actions
143
+
144
+ @required_actions.setter
145
+ def required_actions(self, required_actions):
146
+ """
147
+ Sets the required_actions of this ChatResult.
148
+ A list of actions the agent requires the user or agent client to perform.
149
+
150
+
151
+ :param required_actions: The required_actions of this ChatResult.
152
+ :type: list[oci.generative_ai_agent_runtime.models.RequiredAction]
153
+ """
154
+ self._required_actions = required_actions
155
+
156
+ @property
157
+ def guardrail_result(self):
158
+ """
159
+ Gets the guardrail_result of this ChatResult.
160
+ Captures the result of guardrail evaluations as JSON string performed on either the input to the agent or the output generated by the agent.
161
+
162
+
163
+ :return: The guardrail_result of this ChatResult.
164
+ :rtype: str
165
+ """
166
+ return self._guardrail_result
167
+
168
+ @guardrail_result.setter
169
+ def guardrail_result(self, guardrail_result):
170
+ """
171
+ Sets the guardrail_result of this ChatResult.
172
+ Captures the result of guardrail evaluations as JSON string performed on either the input to the agent or the output generated by the agent.
173
+
174
+
175
+ :param guardrail_result: The guardrail_result of this ChatResult.
176
+ :type: str
177
+ """
178
+ self._guardrail_result = guardrail_result
179
+
87
180
  def __repr__(self):
88
181
  return formatted_flat_dict(self)
89
182
 
@@ -12,7 +12,7 @@ from oci.decorators import init_model_state_from_kwargs
12
12
  @init_model_state_from_kwargs
13
13
  class Citation(object):
14
14
  """
15
- The citation displays the location of source text that is the agent uses to create the responses.
15
+ The source of information for the agent's response.
16
16
  """
17
17
 
18
18
  def __init__(self, **kwargs):
@@ -40,26 +40,33 @@ class Citation(object):
40
40
  The value to assign to the page_numbers property of this Citation.
41
41
  :type page_numbers: list[int]
42
42
 
43
+ :param metadata:
44
+ The value to assign to the metadata property of this Citation.
45
+ :type metadata: dict(str, object)
46
+
43
47
  """
44
48
  self.swagger_types = {
45
49
  'source_text': 'str',
46
50
  'source_location': 'SourceLocation',
47
51
  'title': 'str',
48
52
  'doc_id': 'str',
49
- 'page_numbers': 'list[int]'
53
+ 'page_numbers': 'list[int]',
54
+ 'metadata': 'dict(str, object)'
50
55
  }
51
56
  self.attribute_map = {
52
57
  'source_text': 'sourceText',
53
58
  'source_location': 'sourceLocation',
54
59
  'title': 'title',
55
60
  'doc_id': 'docId',
56
- 'page_numbers': 'pageNumbers'
61
+ 'page_numbers': 'pageNumbers',
62
+ 'metadata': 'metadata'
57
63
  }
58
64
  self._source_text = None
59
65
  self._source_location = None
60
66
  self._title = None
61
67
  self._doc_id = None
62
68
  self._page_numbers = None
69
+ self._metadata = None
63
70
 
64
71
  @property
65
72
  def source_text(self):
@@ -177,6 +184,30 @@ class Citation(object):
177
184
  """
178
185
  self._page_numbers = page_numbers
179
186
 
187
+ @property
188
+ def metadata(self):
189
+ """
190
+ Gets the metadata of this Citation.
191
+ The metadata of the retrieved document, if available.
192
+
193
+
194
+ :return: The metadata of this Citation.
195
+ :rtype: dict(str, object)
196
+ """
197
+ return self._metadata
198
+
199
+ @metadata.setter
200
+ def metadata(self, metadata):
201
+ """
202
+ Sets the metadata of this Citation.
203
+ The metadata of the retrieved document, if available.
204
+
205
+
206
+ :param metadata: The metadata of this Citation.
207
+ :type: dict(str, object)
208
+ """
209
+ self._metadata = metadata
210
+
180
211
  def __repr__(self):
181
212
  return formatted_flat_dict(self)
182
213
 
@@ -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: 20240531
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 FunctionCall(object):
14
+ """
15
+ Represent a function call the client need to execute in order to fulfill the required action.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new FunctionCall object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param name:
24
+ The value to assign to the name property of this FunctionCall.
25
+ :type name: str
26
+
27
+ :param arguments:
28
+ The value to assign to the arguments property of this FunctionCall.
29
+ :type arguments: str
30
+
31
+ """
32
+ self.swagger_types = {
33
+ 'name': 'str',
34
+ 'arguments': 'str'
35
+ }
36
+ self.attribute_map = {
37
+ 'name': 'name',
38
+ 'arguments': 'arguments'
39
+ }
40
+ self._name = None
41
+ self._arguments = None
42
+
43
+ @property
44
+ def name(self):
45
+ """
46
+ **[Required]** Gets the name of this FunctionCall.
47
+ Name of the function to be executed.
48
+
49
+
50
+ :return: The name of this FunctionCall.
51
+ :rtype: str
52
+ """
53
+ return self._name
54
+
55
+ @name.setter
56
+ def name(self, name):
57
+ """
58
+ Sets the name of this FunctionCall.
59
+ Name of the function to be executed.
60
+
61
+
62
+ :param name: The name of this FunctionCall.
63
+ :type: str
64
+ """
65
+ self._name = name
66
+
67
+ @property
68
+ def arguments(self):
69
+ """
70
+ **[Required]** Gets the arguments of this FunctionCall.
71
+ Arguments for the function call as a JSON string.
72
+
73
+
74
+ :return: The arguments of this FunctionCall.
75
+ :rtype: str
76
+ """
77
+ return self._arguments
78
+
79
+ @arguments.setter
80
+ def arguments(self, arguments):
81
+ """
82
+ Sets the arguments of this FunctionCall.
83
+ Arguments for the function call as a JSON string.
84
+
85
+
86
+ :param arguments: The arguments of this FunctionCall.
87
+ :type: str
88
+ """
89
+ self._arguments = arguments
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