oci 2.152.1__py3-none-any.whl → 2.154.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/addons/adk/agent.py +14 -11
- oci/addons/adk/run/response.py +79 -5
- oci/addons/adk/run/types.py +72 -0
- oci/addons/adk/tool/function_tool.py +2 -1
- oci/addons/adk/util.py +1 -6
- oci/adm/application_dependency_management_client.py +38 -38
- oci/adm/models/application_dependency.py +4 -3
- oci/adm/models/application_dependency_recommendation_summary.py +4 -4
- oci/adm/models/application_dependency_vulnerability_summary.py +57 -6
- oci/adm/models/detect_configuration.py +7 -7
- oci/adm/models/network_configuration.py +1 -2
- oci/adm/models/vulnerability.py +8 -4
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +28 -28
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +12 -12
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +30 -30
- oci/apm_synthetics/models/create_script_details.py +10 -6
- oci/apm_synthetics/models/monitor.py +51 -0
- oci/apm_synthetics/models/monitor_result.py +2 -2
- oci/apm_synthetics/models/script.py +9 -5
- oci/apm_synthetics/models/script_summary.py +7 -3
- oci/apm_synthetics/models/update_script_details.py +10 -6
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +578 -86
- oci/bds/bds_client_composite_operations.py +42 -0
- oci/bds/models/__init__.py +26 -0
- oci/bds/models/bds_capacity_report.py +132 -0
- oci/bds/models/bds_software_update.py +109 -0
- oci/bds/models/capacity_availability.py +121 -0
- oci/bds/models/capacity_report_shape_availability.py +128 -0
- oci/bds/models/create_bds_capacity_report_details.py +101 -0
- oci/bds/models/create_capacity_report_shape_availability_details.py +97 -0
- oci/bds/models/domain_type_capacity_report.py +107 -0
- oci/bds/models/install_os_patch_details.py +33 -2
- oci/bds/models/install_software_updates_details.py +70 -0
- oci/bds/models/multi_ad_capacity_report.py +107 -0
- oci/bds/models/os_patch_package_summary.py +57 -2
- oci/bds/models/patch_history_summary.py +13 -7
- oci/bds/models/single_ad_capacity_report.py +107 -0
- oci/bds/models/software_update.py +253 -0
- oci/bds/models/software_update_collection.py +70 -0
- oci/bds/models/software_update_summary.py +194 -0
- oci/bds/models/work_request.py +7 -3
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/__init__.py +5 -1
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/capacity_management/demand_signal_client.py +1645 -0
- oci/capacity_management/demand_signal_client_composite_operations.py +318 -0
- oci/capacity_management/internal_demand_signal_client.py +1605 -0
- oci/capacity_management/internal_demand_signal_client_composite_operations.py +172 -0
- oci/capacity_management/models/__init__.py +79 -1
- oci/capacity_management/models/bulk_create_occm_demand_signal_item.py +400 -0
- oci/capacity_management/models/bulk_create_occm_demand_signal_item_details.py +101 -0
- oci/capacity_management/models/create_internal_occm_demand_signal_delivery_details.py +322 -0
- oci/capacity_management/models/create_occm_demand_signal_details.py +198 -0
- oci/capacity_management/models/create_occm_demand_signal_item_details.py +462 -0
- oci/capacity_management/models/internal_occm_demand_signal.py +431 -0
- oci/capacity_management/models/internal_occm_demand_signal_catalog_resource.py +620 -0
- oci/capacity_management/models/internal_occm_demand_signal_catalog_resource_collection.py +70 -0
- oci/capacity_management/models/internal_occm_demand_signal_catalog_resource_summary.py +588 -0
- oci/capacity_management/models/internal_occm_demand_signal_collection.py +70 -0
- oci/capacity_management/models/internal_occm_demand_signal_delivery.py +555 -0
- oci/capacity_management/models/internal_occm_demand_signal_delivery_collection.py +70 -0
- oci/capacity_management/models/internal_occm_demand_signal_delivery_summary.py +495 -0
- oci/capacity_management/models/internal_occm_demand_signal_item_collection.py +70 -0
- oci/capacity_management/models/internal_occm_demand_signal_item_summary.py +674 -0
- oci/capacity_management/models/internal_occm_demand_signal_summary.py +431 -0
- oci/capacity_management/models/occm_demand_signal.py +464 -0
- oci/capacity_management/models/occm_demand_signal_catalog.py +418 -0
- oci/capacity_management/models/occm_demand_signal_catalog_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_catalog_resource.py +558 -0
- oci/capacity_management/models/occm_demand_signal_catalog_resource_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_catalog_resource_summary.py +526 -0
- oci/capacity_management/models/occm_demand_signal_catalog_summary.py +386 -0
- oci/capacity_management/models/occm_demand_signal_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_delivery_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_delivery_summary.py +481 -0
- oci/capacity_management/models/occm_demand_signal_item.py +675 -0
- oci/capacity_management/models/occm_demand_signal_item_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_item_summary.py +643 -0
- oci/capacity_management/models/occm_demand_signal_resource_properties_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_resource_properties_summary.py +256 -0
- oci/capacity_management/models/occm_demand_signal_resource_property_constraints_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_resource_property_constraints_summary.py +101 -0
- oci/capacity_management/models/occm_demand_signal_resource_property_option_summary.py +101 -0
- oci/capacity_management/models/occm_demand_signal_summary.py +400 -0
- oci/capacity_management/models/update_internal_occm_demand_signal_delivery_details.py +260 -0
- oci/capacity_management/models/update_internal_occm_demand_signal_details.py +98 -0
- oci/capacity_management/models/update_occm_demand_signal_details.py +210 -0
- oci/capacity_management/models/update_occm_demand_signal_item_details.py +326 -0
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +46 -46
- oci/container_engine/models/cluster.py +33 -2
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +1095 -163
- oci/core/compute_client_composite_operations.py +403 -0
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +30 -0
- oci/core/models/attach_compute_host_group_host_details.py +74 -0
- oci/core/models/change_compute_host_group_compartment_details.py +76 -0
- oci/core/models/compute_bare_metal_host_placement_constraint_details.py +79 -0
- oci/core/models/compute_host.py +191 -0
- oci/core/models/compute_host_configuration_check_details.py +243 -0
- oci/core/models/compute_host_configuration_data.py +97 -0
- oci/core/models/compute_host_group.py +483 -0
- oci/core/models/compute_host_group_collection.py +70 -0
- oci/core/models/compute_host_group_summary.py +428 -0
- oci/core/models/compute_host_summary.py +62 -0
- oci/core/models/create_compute_host_group_details.py +282 -0
- oci/core/models/create_dedicated_vm_host_details.py +29 -2
- oci/core/models/create_ipv6_details.py +4 -4
- oci/core/models/create_local_peering_gateway_details.py +45 -0
- oci/core/models/create_private_ip_details.py +4 -4
- oci/core/models/create_vcn_details.py +33 -2
- oci/core/models/create_volume_details.py +8 -2
- oci/core/models/dedicated_vm_host.py +27 -0
- oci/core/models/detach_compute_host_group_host_details.py +74 -0
- oci/core/models/host_group_configuration.py +152 -0
- oci/core/models/host_group_placement_constraint_details.py +79 -0
- oci/core/models/instance.py +64 -2
- oci/core/models/instance_configuration_create_volume_details.py +8 -2
- oci/core/models/ipv6.py +4 -4
- oci/core/models/launch_instance_details.py +58 -0
- oci/core/models/local_peering_gateway.py +45 -0
- oci/core/models/placement_constraint_details.py +91 -0
- oci/core/models/private_ip.py +4 -4
- oci/core/models/recycle_details.py +125 -0
- oci/core/models/update_compute_host_group_details.py +216 -0
- oci/core/models/update_ipv6_details.py +4 -4
- oci/core/models/update_local_peering_gateway_details.py +45 -0
- oci/core/models/update_private_ip_details.py +4 -4
- oci/core/models/update_vcn_details.py +33 -2
- oci/core/models/update_vnic_details.py +2 -2
- oci/core/models/update_volume_details.py +8 -2
- oci/core/models/vcn.py +33 -2
- oci/core/models/vnic.py +2 -2
- oci/core/models/volume.py +8 -2
- oci/core/virtual_network_client.py +260 -260
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +45 -45
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +317 -317
- oci/data_science/data_science_client.py +145 -145
- oci/database/database_client.py +646 -456
- oci/database/database_client_composite_operations.py +2 -2
- oci/database/models/__init__.py +12 -0
- oci/database/models/autonomous_container_database.py +2 -2
- oci/database/models/autonomous_container_database_backup.py +691 -0
- oci/database/models/autonomous_container_database_backup_collection.py +70 -0
- oci/database/models/autonomous_container_database_backup_summary.py +696 -0
- oci/database/models/autonomous_container_database_summary.py +2 -2
- oci/database/models/autonomous_database_in_backup.py +105 -0
- oci/database/models/backup.py +7 -3
- oci/database/models/backup_destination_configuration_summary.py +74 -2
- oci/database/models/backup_destination_details.py +74 -2
- oci/database/models/backup_destination_details_summary.py +74 -2
- oci/database/models/backup_summary.py +7 -3
- oci/database/models/create_autonomous_container_database_base.py +1400 -0
- oci/database/models/create_autonomous_container_database_details.py +14 -1032
- oci/database/models/create_autonomous_container_database_from_backup_details.py +349 -0
- oci/database/models/create_database_base.py +1 -1
- oci/database/models/create_external_backup_job_details.py +7 -3
- oci/database/models/db_system.py +7 -3
- oci/database/models/db_system_summary.py +7 -3
- oci/database/models/external_container_database.py +7 -3
- oci/database/models/external_container_database_summary.py +7 -3
- oci/database/models/external_database_base.py +7 -3
- oci/database/models/external_non_container_database.py +7 -3
- oci/database/models/external_non_container_database_summary.py +7 -3
- oci/database/models/external_pluggable_database.py +7 -3
- oci/database/models/external_pluggable_database_summary.py +7 -3
- oci/database/models/launch_db_system_details.py +7 -3
- oci/database/models/launch_db_system_from_backup_details.py +7 -3
- oci/database/models/launch_db_system_from_database_details.py +7 -3
- oci/database_management/db_management_client.py +229 -229
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +1286 -274
- oci/database_management/managed_my_sql_databases_client_composite_operations.py +42 -0
- oci/database_management/models/__init__.py +44 -0
- oci/database_management/models/change_mysql_database_management_type_details.py +121 -0
- oci/database_management/models/managed_my_sql_database.py +47 -0
- oci/database_management/models/managed_my_sql_database_binary_log_information.py +225 -0
- oci/database_management/models/managed_my_sql_database_general_replication_information.py +586 -0
- oci/database_management/models/managed_my_sql_database_high_availability_member_collection.py +345 -0
- oci/database_management/models/managed_my_sql_database_high_availability_member_summary.py +194 -0
- oci/database_management/models/managed_my_sql_database_inbound_replication_collection.py +225 -0
- oci/database_management/models/managed_my_sql_database_inbound_replication_summary.py +620 -0
- oci/database_management/models/managed_my_sql_database_outbound_replication_collection.py +101 -0
- oci/database_management/models/managed_my_sql_database_outbound_replication_summary.py +163 -0
- oci/database_management/models/managed_my_sql_database_summary.py +33 -2
- oci/database_management/models/my_sql_apply_error.py +163 -0
- oci/database_management/models/my_sql_apply_error_worker.py +132 -0
- oci/database_management/models/my_sql_channel_apply_error.py +97 -0
- oci/database_management/models/my_sql_channel_fetch_error.py +97 -0
- oci/database_management/models/my_sql_database_usage_metrics.py +31 -0
- oci/database_management/models/my_sql_digest_error_summary.py +97 -0
- oci/database_management/models/my_sql_digest_errors_collection.py +70 -0
- oci/database_management/models/my_sql_fetch_error.py +132 -0
- oci/database_management/models/my_sql_high_availability_status_summary.py +101 -0
- oci/database_management/models/my_sql_query_details.py +124 -0
- oci/database_management/models/my_sql_query_explain_plan.py +117 -0
- oci/database_management/models/my_sql_query_message.py +152 -0
- oci/database_management/models/my_sql_query_sample_details.py +256 -0
- oci/database_management/models/my_sql_replication_applier_filter.py +101 -0
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_migration/models/create_data_pump_parameters.py +7 -3
- oci/database_migration/models/create_oracle_migration_details.py +31 -0
- oci/database_migration/models/data_pump_parameters.py +7 -3
- oci/database_migration/models/oracle_clone_migration_details.py +33 -2
- oci/database_migration/models/oracle_migration.py +31 -0
- oci/database_migration/models/oracle_migration_summary.py +33 -2
- oci/database_migration/models/update_data_pump_parameters.py +7 -3
- oci/database_migration/models/update_oracle_migration_details.py +33 -2
- oci/database_tools/database_tools_client.py +23 -23
- oci/dblm/db_life_cycle_management_client.py +14 -14
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +31 -31
- oci/distributed_database/distributed_autonomous_db_service_client.py +18 -18
- oci/distributed_database/distributed_db_private_endpoint_service_client.py +7 -7
- oci/distributed_database/distributed_db_service_client.py +19 -19
- oci/distributed_database/distributed_db_work_request_service_client.py +4 -4
- oci/dns/dns_client.py +54 -54
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +74 -74
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +27 -27
- oci/fleet_apps_management/fleet_apps_management_catalog_client.py +7 -7
- oci/fleet_apps_management/fleet_apps_management_client.py +32 -32
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +29 -29
- oci/fleet_apps_management/fleet_apps_management_provision_client.py +6 -6
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +19 -19
- oci/fleet_apps_management/fleet_apps_management_work_request_client.py +4 -4
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +38 -38
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +6 -6
- oci/generative_ai_agent_runtime/models/__init__.py +19 -1
- oci/generative_ai_agent_runtime/models/error_trace.py +62 -3
- oci/generative_ai_agent_runtime/models/execution_trace.py +146 -0
- oci/generative_ai_agent_runtime/models/generation_trace.py +93 -3
- oci/generative_ai_agent_runtime/models/human_approval_required_action.py +135 -0
- oci/generative_ai_agent_runtime/models/model_details.py +128 -0
- oci/generative_ai_agent_runtime/models/model_params.py +225 -0
- oci/generative_ai_agent_runtime/models/planning_trace.py +177 -0
- oci/generative_ai_agent_runtime/models/required_action.py +4 -0
- oci/generative_ai_agent_runtime/models/retrieval_trace.py +62 -3
- oci/generative_ai_agent_runtime/models/source_details.py +101 -0
- oci/generative_ai_agent_runtime/models/tool_invocation_trace.py +190 -0
- oci/generative_ai_agent_runtime/models/trace.py +147 -3
- oci/generative_ai_agent_runtime/models/usage.py +93 -0
- oci/generative_ai_agent_runtime/models/usage_details.py +163 -0
- oci/generative_ai_inference/generative_ai_inference_client.py +6 -6
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +122 -102
- oci/golden_gate/models/__init__.py +88 -0
- oci/golden_gate/models/amazon_kinesis_connection.py +1 -1
- oci/golden_gate/models/amazon_kinesis_connection_summary.py +1 -1
- oci/golden_gate/models/amazon_redshift_connection.py +1 -1
- oci/golden_gate/models/amazon_redshift_connection_summary.py +1 -1
- oci/golden_gate/models/amazon_s3_connection.py +67 -3
- oci/golden_gate/models/amazon_s3_connection_summary.py +67 -3
- oci/golden_gate/models/amazon_s3_iceberg_storage.py +260 -0
- oci/golden_gate/models/amazon_s3_iceberg_storage_summary.py +243 -0
- oci/golden_gate/models/azure_data_lake_storage_connection.py +1 -1
- oci/golden_gate/models/azure_data_lake_storage_connection_summary.py +1 -1
- oci/golden_gate/models/azure_data_lake_storage_iceberg_storage.py +179 -0
- oci/golden_gate/models/azure_data_lake_storage_iceberg_storage_summary.py +179 -0
- oci/golden_gate/models/azure_synapse_connection.py +1 -1
- oci/golden_gate/models/azure_synapse_connection_summary.py +1 -1
- oci/golden_gate/models/connection.py +11 -3
- oci/golden_gate/models/connection_summary.py +11 -3
- oci/golden_gate/models/create_amazon_kinesis_connection_details.py +1 -1
- oci/golden_gate/models/create_amazon_redshift_connection_details.py +1 -1
- oci/golden_gate/models/create_amazon_s3_connection_details.py +67 -3
- oci/golden_gate/models/create_amazon_s3_iceberg_storage_details.py +243 -0
- oci/golden_gate/models/create_azure_data_lake_storage_connection_details.py +1 -1
- oci/golden_gate/models/create_azure_data_lake_storage_iceberg_storage_details.py +179 -0
- oci/golden_gate/models/create_azure_synapse_connection_details.py +1 -1
- oci/golden_gate/models/create_connection_details.py +11 -3
- oci/golden_gate/models/create_databricks_connection_details.py +1 -1
- oci/golden_gate/models/create_db2_connection_details.py +3 -1
- oci/golden_gate/models/create_deployment_details.py +7 -3
- oci/golden_gate/models/create_elasticsearch_connection_details.py +1 -1
- oci/golden_gate/models/create_generic_connection_details.py +1 -1
- oci/golden_gate/models/create_glue_iceberg_catalog_details.py +80 -0
- oci/golden_gate/models/create_golden_gate_connection_details.py +1 -1
- oci/golden_gate/models/create_google_big_query_connection_details.py +3 -3
- oci/golden_gate/models/create_google_cloud_storage_connection_details.py +3 -3
- oci/golden_gate/models/create_google_cloud_storage_iceberg_storage_details.py +148 -0
- oci/golden_gate/models/create_google_pub_sub_connection_details.py +3 -3
- oci/golden_gate/models/create_hadoop_iceberg_catalog_details.py +49 -0
- oci/golden_gate/models/create_hdfs_connection_details.py +3 -1
- oci/golden_gate/models/create_iceberg_catalog_details.py +131 -0
- oci/golden_gate/models/create_iceberg_connection_details.py +219 -0
- oci/golden_gate/models/create_iceberg_storage_details.py +115 -0
- oci/golden_gate/models/create_java_message_service_connection_details.py +1 -1
- oci/golden_gate/models/create_kafka_connection_details.py +1 -1
- oci/golden_gate/models/create_kafka_schema_registry_connection_details.py +1 -1
- oci/golden_gate/models/create_microsoft_fabric_connection_details.py +1 -1
- oci/golden_gate/models/create_microsoft_sqlserver_connection_details.py +3 -3
- oci/golden_gate/models/create_mongo_db_connection_details.py +3 -1
- oci/golden_gate/models/create_mysql_connection_details.py +11 -5
- oci/golden_gate/models/create_nessie_iceberg_catalog_details.py +113 -0
- oci/golden_gate/models/create_oci_object_storage_connection_details.py +1 -1
- oci/golden_gate/models/create_oracle_connection_details.py +1 -1
- oci/golden_gate/models/create_oracle_nosql_connection_details.py +1 -1
- oci/golden_gate/models/create_polaris_iceberg_catalog_details.py +210 -0
- oci/golden_gate/models/create_postgresql_connection_details.py +7 -1
- oci/golden_gate/models/create_redis_connection_details.py +1 -1
- oci/golden_gate/models/create_rest_iceberg_catalog_details.py +121 -0
- oci/golden_gate/models/create_snowflake_connection_details.py +2 -2
- oci/golden_gate/models/databricks_connection.py +1 -1
- oci/golden_gate/models/databricks_connection_summary.py +1 -1
- oci/golden_gate/models/db2_connection.py +43 -6
- oci/golden_gate/models/db2_connection_summary.py +1 -1
- oci/golden_gate/models/deployment.py +7 -3
- oci/golden_gate/models/deployment_backup.py +7 -3
- oci/golden_gate/models/deployment_backup_summary.py +7 -3
- oci/golden_gate/models/deployment_summary.py +7 -3
- oci/golden_gate/models/deployment_type_summary.py +24 -16
- oci/golden_gate/models/deployment_version_summary.py +7 -3
- oci/golden_gate/models/elasticsearch_connection.py +36 -3
- oci/golden_gate/models/elasticsearch_connection_summary.py +1 -1
- oci/golden_gate/models/generic_connection.py +1 -1
- oci/golden_gate/models/generic_connection_summary.py +1 -1
- oci/golden_gate/models/glue_iceberg_catalog.py +80 -0
- oci/golden_gate/models/glue_iceberg_catalog_summary.py +80 -0
- oci/golden_gate/models/golden_gate_connection.py +1 -1
- oci/golden_gate/models/golden_gate_connection_summary.py +1 -1
- oci/golden_gate/models/google_big_query_connection.py +3 -3
- oci/golden_gate/models/google_big_query_connection_summary.py +3 -3
- oci/golden_gate/models/google_cloud_storage_connection.py +3 -3
- oci/golden_gate/models/google_cloud_storage_connection_summary.py +3 -3
- oci/golden_gate/models/google_cloud_storage_iceberg_storage.py +148 -0
- oci/golden_gate/models/google_cloud_storage_iceberg_storage_summary.py +148 -0
- oci/golden_gate/models/google_pub_sub_connection.py +3 -3
- oci/golden_gate/models/google_pub_sub_connection_summary.py +3 -3
- oci/golden_gate/models/hadoop_iceberg_catalog.py +49 -0
- oci/golden_gate/models/hadoop_iceberg_catalog_summary.py +49 -0
- oci/golden_gate/models/hdfs_connection.py +36 -3
- oci/golden_gate/models/hdfs_connection_summary.py +1 -1
- oci/golden_gate/models/iceberg_catalog.py +131 -0
- oci/golden_gate/models/iceberg_catalog_summary.py +131 -0
- oci/golden_gate/models/iceberg_connection.py +284 -0
- oci/golden_gate/models/iceberg_connection_summary.py +268 -0
- oci/golden_gate/models/iceberg_storage.py +115 -0
- oci/golden_gate/models/iceberg_storage_summary.py +115 -0
- oci/golden_gate/models/java_message_service_connection.py +1 -1
- oci/golden_gate/models/java_message_service_connection_summary.py +1 -1
- oci/golden_gate/models/kafka_connection.py +1 -1
- oci/golden_gate/models/kafka_connection_summary.py +1 -1
- oci/golden_gate/models/kafka_schema_registry_connection.py +1 -1
- oci/golden_gate/models/kafka_schema_registry_connection_summary.py +1 -1
- oci/golden_gate/models/microsoft_fabric_connection.py +1 -1
- oci/golden_gate/models/microsoft_fabric_connection_summary.py +1 -1
- oci/golden_gate/models/microsoft_sqlserver_connection.py +3 -3
- oci/golden_gate/models/microsoft_sqlserver_connection_summary.py +3 -3
- oci/golden_gate/models/mongo_db_connection.py +43 -6
- oci/golden_gate/models/mongo_db_connection_summary.py +1 -1
- oci/golden_gate/models/mysql_connection.py +106 -1
- oci/golden_gate/models/mysql_connection_summary.py +1 -1
- oci/golden_gate/models/nessie_iceberg_catalog.py +113 -0
- oci/golden_gate/models/nessie_iceberg_catalog_summary.py +113 -0
- oci/golden_gate/models/oci_object_storage_connection.py +1 -1
- oci/golden_gate/models/oci_object_storage_connection_summary.py +1 -1
- oci/golden_gate/models/oracle_connection.py +1 -1
- oci/golden_gate/models/oracle_connection_summary.py +1 -1
- oci/golden_gate/models/oracle_nosql_connection.py +35 -2
- oci/golden_gate/models/oracle_nosql_connection_summary.py +2 -2
- oci/golden_gate/models/polaris_iceberg_catalog.py +210 -0
- oci/golden_gate/models/polaris_iceberg_catalog_summary.py +210 -0
- oci/golden_gate/models/postgresql_connection.py +104 -3
- oci/golden_gate/models/postgresql_connection_summary.py +1 -1
- oci/golden_gate/models/redis_connection.py +1 -1
- oci/golden_gate/models/redis_connection_summary.py +1 -1
- oci/golden_gate/models/rest_iceberg_catalog.py +121 -0
- oci/golden_gate/models/rest_iceberg_catalog_summary.py +121 -0
- oci/golden_gate/models/snowflake_connection.py +2 -2
- oci/golden_gate/models/snowflake_connection_summary.py +2 -2
- oci/golden_gate/models/update_amazon_kinesis_connection_details.py +1 -1
- oci/golden_gate/models/update_amazon_redshift_connection_details.py +1 -1
- oci/golden_gate/models/update_amazon_s3_connection_details.py +67 -3
- oci/golden_gate/models/update_amazon_s3_iceberg_storage_details.py +243 -0
- oci/golden_gate/models/update_azure_data_lake_storage_connection_details.py +1 -1
- oci/golden_gate/models/update_azure_data_lake_storage_iceberg_storage_details.py +179 -0
- oci/golden_gate/models/update_azure_synapse_connection_details.py +1 -1
- oci/golden_gate/models/update_connection_details.py +11 -3
- oci/golden_gate/models/update_databricks_connection_details.py +1 -1
- oci/golden_gate/models/update_db2_connection_details.py +3 -1
- oci/golden_gate/models/update_elasticsearch_connection_details.py +1 -1
- oci/golden_gate/models/update_generic_connection_details.py +1 -1
- oci/golden_gate/models/update_glue_iceberg_catalog_details.py +80 -0
- oci/golden_gate/models/update_golden_gate_connection_details.py +1 -1
- oci/golden_gate/models/update_google_big_query_connection_details.py +3 -3
- oci/golden_gate/models/update_google_cloud_storage_connection_details.py +3 -3
- oci/golden_gate/models/update_google_cloud_storage_iceberg_storage_details.py +148 -0
- oci/golden_gate/models/update_google_pub_sub_connection_details.py +3 -3
- oci/golden_gate/models/update_hadoop_iceberg_catalog_details.py +49 -0
- oci/golden_gate/models/update_hdfs_connection_details.py +3 -1
- oci/golden_gate/models/update_iceberg_catalog_details.py +131 -0
- oci/golden_gate/models/update_iceberg_connection_details.py +174 -0
- oci/golden_gate/models/update_iceberg_storage_details.py +115 -0
- oci/golden_gate/models/update_java_message_service_connection_details.py +1 -1
- oci/golden_gate/models/update_kafka_connection_details.py +1 -1
- oci/golden_gate/models/update_kafka_schema_registry_connection_details.py +1 -1
- oci/golden_gate/models/update_microsoft_fabric_connection_details.py +1 -1
- oci/golden_gate/models/update_microsoft_sqlserver_connection_details.py +3 -3
- oci/golden_gate/models/update_mongo_db_connection_details.py +3 -1
- oci/golden_gate/models/update_mysql_connection_details.py +11 -5
- oci/golden_gate/models/update_nessie_iceberg_catalog_details.py +113 -0
- oci/golden_gate/models/update_oci_object_storage_connection_details.py +1 -1
- oci/golden_gate/models/update_oracle_connection_details.py +1 -1
- oci/golden_gate/models/update_oracle_nosql_connection_details.py +1 -1
- oci/golden_gate/models/update_polaris_iceberg_catalog_details.py +210 -0
- oci/golden_gate/models/update_postgresql_connection_details.py +7 -1
- oci/golden_gate/models/update_redis_connection_details.py +1 -1
- oci/golden_gate/models/update_rest_iceberg_catalog_details.py +121 -0
- oci/golden_gate/models/update_snowflake_connection_details.py +1 -1
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +79 -79
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +200 -200
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/lustre_file_storage/lustre_file_storage_client.py +11 -11
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +474 -14
- oci/management_dashboard/models/management_dashboard_tile_details.py +33 -2
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/mngdmac/mac_device_client.py +3 -3
- oci/mngdmac/mac_order_client.py +11 -11
- oci/model_deployment/model_deployment_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +141 -9
- oci/mysql/db_backups_client_composite_operations.py +39 -0
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/models/__init__.py +6 -0
- oci/mysql/models/backup.py +56 -3
- oci/mysql/models/backup_policy.py +49 -0
- oci/mysql/models/backup_summary.py +80 -0
- oci/mysql/models/create_backup_details.py +49 -0
- oci/mysql/models/create_backup_policy_details.py +49 -0
- oci/mysql/models/create_db_system_details.py +27 -0
- oci/mysql/models/create_rest_details.py +117 -0
- oci/mysql/models/db_system.py +27 -0
- oci/mysql/models/db_system_snapshot.py +27 -0
- oci/mysql/models/db_system_summary.py +27 -0
- oci/mysql/models/rest_details.py +117 -0
- oci/mysql/models/update_backup_details.py +49 -0
- oci/mysql/models/update_backup_policy_details.py +49 -0
- oci/mysql/models/update_db_system_details.py +27 -0
- oci/mysql/models/update_rest_details.py +117 -0
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/models/__init__.py +24 -0
- oci/network_firewall/models/create_nat_rule_details.py +193 -0
- oci/network_firewall/models/create_nat_v4_rule_details.py +144 -0
- oci/network_firewall/models/create_network_firewall_details.py +27 -0
- oci/network_firewall/models/nat_configuration_request.py +70 -0
- oci/network_firewall/models/nat_configuration_response.py +101 -0
- oci/network_firewall/models/nat_rule.py +254 -0
- oci/network_firewall/models/nat_rule_collection.py +70 -0
- oci/network_firewall/models/nat_rule_match_criteria.py +132 -0
- oci/network_firewall/models/nat_rule_summary.py +228 -0
- oci/network_firewall/models/nat_v4_nat_rule.py +159 -0
- oci/network_firewall/models/nat_v4_nat_summary.py +152 -0
- oci/network_firewall/models/network_firewall.py +30 -11
- oci/network_firewall/models/network_firewall_policy.py +3 -11
- oci/network_firewall/models/network_firewall_policy_summary.py +3 -11
- oci/network_firewall/models/network_firewall_summary.py +30 -11
- oci/network_firewall/models/update_nat_rule_details.py +162 -0
- oci/network_firewall/models/update_nat_v4_rule_details.py +137 -0
- oci/network_firewall/models/update_network_firewall_details.py +27 -0
- oci/network_firewall/network_firewall_client.py +848 -108
- oci/network_firewall/network_firewall_client_composite_operations.py +42 -0
- oci/network_load_balancer/network_load_balancer_client.py +35 -35
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +17 -17
- oci/opensearch/opensearch_cluster_pipeline_client.py +5 -5
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +181 -181
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +13 -13
- oci/os_management_hub/managed_instance_client.py +33 -33
- oci/os_management_hub/managed_instance_group_client.py +26 -26
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +13 -13
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +33 -33
- oci/os_management_hub/work_request_client.py +5 -5
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +34 -34
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +14 -14
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/security_attribute/security_attribute_client.py +18 -18
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +87 -87
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/models/average_carbon_emission.py +3 -3
- oci/usage_api/models/create_email_recipients_group_details.py +3 -3
- oci/usage_api/models/email_recipient.py +6 -6
- oci/usage_api/models/email_recipients_group.py +5 -5
- oci/usage_api/models/email_recipients_group_collection.py +3 -3
- oci/usage_api/models/email_recipients_group_summary.py +5 -5
- oci/usage_api/models/forecast.py +5 -3
- oci/usage_api/models/report_query.py +16 -16
- oci/usage_api/models/request_summarized_usages_details.py +4 -4
- oci/usage_api/models/request_usage_carbon_emissions_details.py +143 -2
- oci/usage_api/models/saved_custom_table.py +4 -4
- oci/usage_api/models/scheduled_run.py +12 -12
- oci/usage_api/models/scheduled_run_summary.py +12 -12
- oci/usage_api/models/update_email_recipients_group_details.py +3 -3
- oci/usage_api/models/usage_carbon_emission_aggregation.py +5 -5
- oci/usage_api/models/usage_carbon_emission_summary.py +36 -5
- oci/usage_api/models/usage_carbon_emissions_query.py +1 -1
- oci/usage_api/models/usage_carbon_emissions_query_collection.py +1 -1
- oci/usage_api/models/usage_carbon_emissions_query_summary.py +1 -1
- oci/usage_api/models/usage_carbon_emissions_report_query.py +98 -5
- oci/usage_api/usageapi_client.py +69 -69
- oci/usage_api/usageapi_client_composite_operations.py +4 -4
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +14 -14
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- oci/zpr/zpr_client.py +15 -15
- {oci-2.152.1.dist-info → oci-2.154.0.dist-info}/METADATA +1 -1
- {oci-2.152.1.dist-info → oci-2.154.0.dist-info}/RECORD +697 -530
- {oci-2.152.1.dist-info → oci-2.154.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.152.1.dist-info → oci-2.154.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.152.1.dist-info → oci-2.154.0.dist-info}/WHEEL +0 -0
- {oci-2.152.1.dist-info → oci-2.154.0.dist-info}/top_level.txt +0 -0
@@ -160,7 +160,7 @@ class AccessGovernanceCPClient(object):
|
|
160
160
|
:rtype: :class:`~oci.response.Response`
|
161
161
|
|
162
162
|
:example:
|
163
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
163
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.154.0/accessgovernancecp/change_governance_instance_compartment.py.html>`__ to see an example of how to use change_governance_instance_compartment API.
|
164
164
|
"""
|
165
165
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
166
166
|
required_arguments = ['governanceInstanceId']
|
@@ -270,7 +270,7 @@ class AccessGovernanceCPClient(object):
|
|
270
270
|
:rtype: :class:`~oci.response.Response`
|
271
271
|
|
272
272
|
:example:
|
273
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
273
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.154.0/accessgovernancecp/create_governance_instance.py.html>`__ to see an example of how to use create_governance_instance API.
|
274
274
|
"""
|
275
275
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
276
276
|
required_arguments = []
|
@@ -375,7 +375,7 @@ class AccessGovernanceCPClient(object):
|
|
375
375
|
:rtype: :class:`~oci.response.Response`
|
376
376
|
|
377
377
|
:example:
|
378
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
378
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.154.0/accessgovernancecp/delete_governance_instance.py.html>`__ to see an example of how to use delete_governance_instance API.
|
379
379
|
"""
|
380
380
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
381
381
|
required_arguments = ['governanceInstanceId']
|
@@ -476,7 +476,7 @@ class AccessGovernanceCPClient(object):
|
|
476
476
|
:rtype: :class:`~oci.response.Response`
|
477
477
|
|
478
478
|
:example:
|
479
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
479
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.154.0/accessgovernancecp/get_governance_instance.py.html>`__ to see an example of how to use get_governance_instance API.
|
480
480
|
"""
|
481
481
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
482
482
|
required_arguments = ['governanceInstanceId']
|
@@ -574,7 +574,7 @@ class AccessGovernanceCPClient(object):
|
|
574
574
|
:rtype: :class:`~oci.response.Response`
|
575
575
|
|
576
576
|
:example:
|
577
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
577
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.154.0/accessgovernancecp/get_governance_instance_configuration.py.html>`__ to see an example of how to use get_governance_instance_configuration API.
|
578
578
|
"""
|
579
579
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
580
580
|
required_arguments = ['compartmentId']
|
@@ -692,7 +692,7 @@ class AccessGovernanceCPClient(object):
|
|
692
692
|
:rtype: :class:`~oci.response.Response`
|
693
693
|
|
694
694
|
:example:
|
695
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
695
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.154.0/accessgovernancecp/list_governance_instances.py.html>`__ to see an example of how to use list_governance_instances API.
|
696
696
|
"""
|
697
697
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
698
698
|
required_arguments = ['compartmentId']
|
@@ -823,7 +823,7 @@ class AccessGovernanceCPClient(object):
|
|
823
823
|
:rtype: :class:`~oci.response.Response`
|
824
824
|
|
825
825
|
:example:
|
826
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
826
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.154.0/accessgovernancecp/update_governance_instance.py.html>`__ to see an example of how to use update_governance_instance API.
|
827
827
|
"""
|
828
828
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
829
829
|
required_arguments = ['governanceInstanceId']
|
@@ -935,7 +935,7 @@ class AccessGovernanceCPClient(object):
|
|
935
935
|
:rtype: :class:`~oci.response.Response`
|
936
936
|
|
937
937
|
:example:
|
938
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
938
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.154.0/accessgovernancecp/update_governance_instance_configuration.py.html>`__ to see an example of how to use update_governance_instance_configuration API.
|
939
939
|
"""
|
940
940
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
941
941
|
required_arguments = ['compartmentId']
|
oci/addons/adk/agent.py
CHANGED
@@ -15,7 +15,7 @@ from oci.addons.adk.agent_error import AgentError, UserError
|
|
15
15
|
from oci.addons.adk.constants import MAX_STATUS_CHECK, FREEFORM_TAGS
|
16
16
|
from oci.addons.adk.logger import default_logger as logger
|
17
17
|
from oci.addons.adk.run.response import RunResponse
|
18
|
-
from oci.addons.adk.run.types import FunctionCall, PerformedAction, RequiredAction
|
18
|
+
from oci.addons.adk.run.types import FunctionCall, PerformedAction, RequiredAction, RawResponse
|
19
19
|
from oci.addons.adk.tool import FunctionTool, Toolkit, tool
|
20
20
|
from oci.addons.adk.tool.utils import dedupe_tools_list, diff_local_and_remote_tool
|
21
21
|
from oci.addons.adk.tool.prebuilt import AgenticRagTool
|
@@ -172,6 +172,7 @@ class Agent:
|
|
172
172
|
RunResponse containing the final result
|
173
173
|
"""
|
174
174
|
try:
|
175
|
+
raw_responses: List[RawResponse] = []
|
175
176
|
# if session_id is not provided, create a new one
|
176
177
|
if session_id is None:
|
177
178
|
session_id = self.client.create_session(
|
@@ -193,6 +194,7 @@ class Agent:
|
|
193
194
|
session_id=session_id,
|
194
195
|
on_invoked_remote_service=on_invoked_remote_service,
|
195
196
|
)
|
197
|
+
raw_responses.append(RawResponse(raw_data=response))
|
196
198
|
|
197
199
|
step_count = 0
|
198
200
|
while self._has_required_actions(response) and step_count < max_steps:
|
@@ -211,7 +213,7 @@ class Agent:
|
|
211
213
|
performed_actions=performed_actions,
|
212
214
|
on_invoked_remote_service=on_invoked_remote_service,
|
213
215
|
)
|
214
|
-
|
216
|
+
raw_responses.append(RawResponse(raw_data=response))
|
215
217
|
step_count += 1
|
216
218
|
|
217
219
|
if step_count >= max_steps:
|
@@ -219,8 +221,6 @@ class Agent:
|
|
219
221
|
f"Reached maximum number of steps ({max_steps}). Exiting loop."
|
220
222
|
)
|
221
223
|
|
222
|
-
return RunResponse(session_id=session_id, data=response)
|
223
|
-
|
224
224
|
except Exception as e:
|
225
225
|
logger.error(f"Error during agent execution: {e}", exc_info=True)
|
226
226
|
raise
|
@@ -231,6 +231,7 @@ class Agent:
|
|
231
231
|
agent_endpoint_id=self.agent_endpoint_id,
|
232
232
|
session_id=session_id,
|
233
233
|
)
|
234
|
+
return RunResponse(session_id=session_id, data=response, raw_responses=raw_responses)
|
234
235
|
|
235
236
|
def as_tool(
|
236
237
|
self,
|
@@ -270,7 +271,7 @@ class Agent:
|
|
270
271
|
|
271
272
|
# Create a decorated wrapper function using the @tool decorator
|
272
273
|
@tool(name=name, description=description)
|
273
|
-
def agent_run_wrapper(input: str, **kwargs) -> Dict[str, Any]:
|
274
|
+
def agent_run_wrapper(input: str, **kwargs) -> Dict[str, Any] | None:
|
274
275
|
"""Execute this agent with the given user input and additional params."""
|
275
276
|
response = self.run(input=input, **kwargs)
|
276
277
|
return response.data
|
@@ -495,10 +496,8 @@ class Agent:
|
|
495
496
|
logger.info(
|
496
497
|
"Agent settings are not synchronized. Updating remote agent settings"
|
497
498
|
)
|
498
|
-
logger.debug(
|
499
|
-
|
500
|
-
f"Remote agent settings: {display_name}, {description}, {instruction}",
|
501
|
-
)
|
499
|
+
logger.debug(f"Local agent settings: {self.name}, {self.description}, {self.instructions}")
|
500
|
+
logger.debug(f"Remote agent settings: {display_name}, {description}, {instruction}")
|
502
501
|
self.client.update_agent(
|
503
502
|
self.agent_details["agent_id"],
|
504
503
|
name=self.name,
|
@@ -777,12 +776,16 @@ class Agent:
|
|
777
776
|
"""
|
778
777
|
|
779
778
|
response_message = json.dumps(response.get("message"), indent=4)
|
780
|
-
|
779
|
+
guardrail_result = None
|
780
|
+
if response is not None and "guardrail_result" in response and response["guardrail_result"] is not None:
|
781
|
+
guardrail_result = json.loads(str(response.get("guardrail_result")))
|
782
|
+
guardrail_result = json.dumps(guardrail_result, indent=4)
|
781
783
|
message_text = (
|
782
784
|
f"(Local <-- Remote)\n\n"
|
783
785
|
f"agent message:\n[bold green]{response_message}[/bold green]\n\n"
|
784
786
|
f"required actions for client to take:\n"
|
785
|
-
f"[bold magenta]{json.dumps(response.get('required_actions', []), indent=4)}[/bold magenta]"
|
787
|
+
f"[bold magenta]{json.dumps(response.get('required_actions', []), indent=4)}[/bold magenta]\n\n"
|
788
|
+
f"guardrail result:\n[bold green]{guardrail_result}[/bold green]\n\n" # noqa: E501
|
786
789
|
)
|
787
790
|
logger.print(
|
788
791
|
message_text,
|
oci/addons/adk/run/response.py
CHANGED
@@ -7,17 +7,18 @@ ADK run response
|
|
7
7
|
"""
|
8
8
|
|
9
9
|
import json
|
10
|
-
from typing import Any, Dict
|
10
|
+
from typing import Any, Dict, List, Optional
|
11
11
|
|
12
12
|
from pydantic import BaseModel, Field, computed_field
|
13
13
|
|
14
14
|
from oci.addons.adk.logger import default_logger as logger
|
15
|
+
from oci.addons.adk.run.types import RawResponse, RequiredAction, GuardrailResult, GuardrailFinding
|
15
16
|
|
16
17
|
|
17
18
|
class RunResponse(BaseModel):
|
18
19
|
"""Response from the agent run containing the final output."""
|
19
|
-
|
20
|
-
data: Dict[str, Any] = Field(
|
20
|
+
raw_responses: List[RawResponse] = Field(..., description="Accumulated list of raw response from agent.")
|
21
|
+
data: Dict[str, Any] | None = Field(default=None, description="Last response from the agent")
|
21
22
|
session_id: str = Field(..., description="Session ID used for the response")
|
22
23
|
|
23
24
|
@computed_field # type: ignore[prop-decorator]
|
@@ -32,10 +33,77 @@ class RunResponse(BaseModel):
|
|
32
33
|
"""Direct access to the agent message text as output"""
|
33
34
|
return self.final_output
|
34
35
|
|
36
|
+
@computed_field
|
37
|
+
def last_guardrail_result(self) -> GuardrailResult | None:
|
38
|
+
"""Direct access to the last agent guardrail result"""
|
39
|
+
return self.raw_responses[-1].get_guardrail_result() if len(self.raw_responses) > 0 else None
|
40
|
+
|
41
|
+
@computed_field
|
42
|
+
def first_guardrail_result(self) -> GuardrailResult | None:
|
43
|
+
"""Direct access to the first agent guardrail result"""
|
44
|
+
return self.raw_responses[0].get_guardrail_result() if len(self.raw_responses) > 0 else None
|
45
|
+
|
46
|
+
@computed_field
|
47
|
+
def messages(self) -> List[str | None]:
|
48
|
+
"""Get all chat message content text."""
|
49
|
+
return [raw_response.get_nested_text() for raw_response in self.raw_responses]
|
50
|
+
|
51
|
+
@computed_field
|
52
|
+
def required_actions(self) -> List[List[RequiredAction] | None]:
|
53
|
+
"""Get all required actions results."""
|
54
|
+
return [raw_response.get_required_action() for raw_response in self.raw_responses]
|
55
|
+
|
56
|
+
@computed_field
|
57
|
+
def guardrail_results(self) -> List[GuardrailResult | None]:
|
58
|
+
"""Get all guardrail results."""
|
59
|
+
return [raw_response.get_guardrail_result() for raw_response in self.raw_responses]
|
60
|
+
|
61
|
+
def _format_guardrail_result(self) -> str:
|
62
|
+
"""Format the guardrail result into human-readable form."""
|
63
|
+
messages = []
|
64
|
+
|
65
|
+
# Parse and validate the guardrail result from JSON
|
66
|
+
guardrail_result = None
|
67
|
+
if self.data and "guardrail_result" in self.data:
|
68
|
+
guardrail_result = GuardrailResult.model_validate(
|
69
|
+
json.loads(self.data["guardrail_result"])
|
70
|
+
)
|
71
|
+
|
72
|
+
if not guardrail_result:
|
73
|
+
return "No guardrail issues detected."
|
74
|
+
|
75
|
+
for location in ["input", "output"]:
|
76
|
+
content: Optional[GuardrailFinding] = getattr(guardrail_result, location, None)
|
77
|
+
if not content:
|
78
|
+
continue
|
79
|
+
|
80
|
+
# Content Moderation
|
81
|
+
if content.content_moderation:
|
82
|
+
for category, score in content.content_moderation.model_dump().items():
|
83
|
+
messages.append(
|
84
|
+
f"Content moderation detected - {category.upper()} with score {score} in {location.lower()}"
|
85
|
+
)
|
86
|
+
|
87
|
+
# Prompt Injection
|
88
|
+
if content.prompt_injection:
|
89
|
+
score = content.prompt_injection.score
|
90
|
+
messages.append(
|
91
|
+
f"Prompt injection risk detected with score {score} in {location.lower()}"
|
92
|
+
)
|
93
|
+
|
94
|
+
# Personally Identifiable Information
|
95
|
+
personally_identifiable_information = content.personally_identifiable_information
|
96
|
+
if personally_identifiable_information:
|
97
|
+
for pii in personally_identifiable_information:
|
98
|
+
messages.append(
|
99
|
+
f"Personally identifiable information detected with ({pii.label}): '{pii.text}' in {location.lower()}"
|
100
|
+
)
|
101
|
+
return "\n".join(messages) if messages else "No guardrail issues detected."
|
102
|
+
|
35
103
|
def _get_nested_text(self) -> str | None:
|
36
104
|
"""Safely extract text from nested data structure."""
|
37
105
|
try:
|
38
|
-
return self.
|
106
|
+
return self.raw_responses[-1].get_nested_text()
|
39
107
|
except (KeyError, TypeError):
|
40
108
|
return None
|
41
109
|
|
@@ -48,7 +116,13 @@ class RunResponse(BaseModel):
|
|
48
116
|
|
49
117
|
if print_data:
|
50
118
|
message_text += f"\n\ndata:\n[bold magenta]{json.dumps(self.data, indent=4)}[/bold magenta]" # noqa: E501
|
51
|
-
|
119
|
+
if self.data is not None and "guardrail_result" in self.data and self.data["guardrail_result"] is not None:
|
120
|
+
guardrail_result = self._format_guardrail_result()
|
121
|
+
logger.print(
|
122
|
+
guardrail_result,
|
123
|
+
title="Guardrail Result",
|
124
|
+
border_style="blue",
|
125
|
+
)
|
52
126
|
logger.print(
|
53
127
|
message_text,
|
54
128
|
title="Agent run response",
|
oci/addons/adk/run/types.py
CHANGED
@@ -5,8 +5,13 @@
|
|
5
5
|
"""
|
6
6
|
ADK Run action models
|
7
7
|
"""
|
8
|
+
import json
|
9
|
+
from typing import Any, Dict, List, Optional
|
8
10
|
|
9
11
|
from pydantic import BaseModel, Field
|
12
|
+
from pydantic_core import ValidationError
|
13
|
+
|
14
|
+
from oci.addons.adk.agent_error import AgentError
|
10
15
|
|
11
16
|
|
12
17
|
class FunctionCall(BaseModel):
|
@@ -30,3 +35,70 @@ class RequiredAction(BaseModel):
|
|
30
35
|
action_id: str = Field(..., alias="action_id")
|
31
36
|
required_action_type: str = Field(..., alias="required_action_type")
|
32
37
|
function_call: FunctionCall = Field(..., alias="function_call")
|
38
|
+
|
39
|
+
|
40
|
+
class ContentModeration(BaseModel):
|
41
|
+
"""Represents content moderation from server."""
|
42
|
+
|
43
|
+
violence: float = Field(..., ge=0.0, le=1.0, description="Level of violence content")
|
44
|
+
|
45
|
+
|
46
|
+
class PromptInjection(BaseModel):
|
47
|
+
"""Represents prompt injection violation from server."""
|
48
|
+
|
49
|
+
score: float = Field(..., ge=0.0, le=1.0, description="Confidence score for prompt injection detection")
|
50
|
+
|
51
|
+
|
52
|
+
class PersonallyIdentifiableInformation(BaseModel):
|
53
|
+
"""Represents personally identifiable information from server."""
|
54
|
+
|
55
|
+
length: int = Field(..., ge=0, description="Length of the detected entity")
|
56
|
+
offset: int = Field(..., ge=0, description="Character offset in the original text")
|
57
|
+
text: str = Field(..., description="The actual detected text")
|
58
|
+
label: str = Field(..., description="The type of PII (e.g., TELEPHONE_NUMBER, EMAIL)")
|
59
|
+
score: float = Field(..., ge=0.0, le=1.0, description="Confidence score of detection")
|
60
|
+
|
61
|
+
|
62
|
+
class GuardrailFinding(BaseModel):
|
63
|
+
"""Represents guardrail input or output content from server."""
|
64
|
+
|
65
|
+
content_moderation: Optional[ContentModeration] = Field(None, alias="contentModeration")
|
66
|
+
personally_identifiable_information: Optional[List[PersonallyIdentifiableInformation]] | None = Field(None, alias="personallyIdentifiableInformation")
|
67
|
+
prompt_injection: Optional[PromptInjection] = Field(None, alias="promptInjection")
|
68
|
+
|
69
|
+
|
70
|
+
class GuardrailResult(BaseModel):
|
71
|
+
"""Represents guardrail result from server."""
|
72
|
+
|
73
|
+
input: Optional[GuardrailFinding] = Field(None, description="Input guardrail result of agent response.")
|
74
|
+
output: Optional[GuardrailFinding] = Field(None, description="Output guardrail result of agent response.")
|
75
|
+
|
76
|
+
|
77
|
+
class RawResponse(BaseModel):
|
78
|
+
"""Represents an action that is required from the client."""
|
79
|
+
raw_data: Dict[str, Any] = Field(..., alias="raw_data")
|
80
|
+
|
81
|
+
def get_guardrail_result(self) -> GuardrailResult | None:
|
82
|
+
"""Safely extract guardrail result (a JSON encoded string) from agent response."""
|
83
|
+
try:
|
84
|
+
return GuardrailResult.model_validate(json.loads(self.raw_data["guardrail_result"])) if self.raw_data["guardrail_result"] else None
|
85
|
+
except (KeyError, TypeError, ValidationError):
|
86
|
+
return None
|
87
|
+
|
88
|
+
def get_required_action(self) -> List[RequiredAction] | None:
|
89
|
+
"""Safely extract required action result from agent response."""
|
90
|
+
try:
|
91
|
+
required_actions: List[RequiredAction] = [RequiredAction.model_validate(item) for item in
|
92
|
+
self.raw_data["required_actions"]]
|
93
|
+
return required_actions
|
94
|
+
except (KeyError, TypeError, ValidationError):
|
95
|
+
return None
|
96
|
+
|
97
|
+
def get_nested_text(self) -> str | None:
|
98
|
+
"""Safely extract text from nested data structure."""
|
99
|
+
try:
|
100
|
+
if self.raw_data is None:
|
101
|
+
raise AgentError("RunResponse raw_data cannot be none")
|
102
|
+
return self.raw_data["message"]["content"]["text"]
|
103
|
+
except (KeyError, TypeError, AgentError):
|
104
|
+
return None
|
@@ -309,7 +309,8 @@ class FunctionTool(BaseModel):
|
|
309
309
|
Dictionary mapping parameter names to their descriptions
|
310
310
|
"""
|
311
311
|
param_descriptions = {}
|
312
|
-
|
312
|
+
docstring = getdoc(callable_func)
|
313
|
+
if docstring:
|
313
314
|
parsed_doc = parse(docstring)
|
314
315
|
param_docs = parsed_doc.params
|
315
316
|
|
oci/addons/adk/util.py
CHANGED
@@ -168,7 +168,6 @@ class JsonSchemaGenerator:
|
|
168
168
|
len(type_args) == 2 and
|
169
169
|
any(arg is NoneType for arg in type_args)
|
170
170
|
)
|
171
|
-
|
172
171
|
if is_optional:
|
173
172
|
actual_type = next(arg for arg in type_args if arg is not NoneType)
|
174
173
|
return True, actual_type
|
@@ -222,11 +221,7 @@ class JsonSchemaGenerator:
|
|
222
221
|
arg_json_schema["type"] = [arg_json_schema["type"], "null"]
|
223
222
|
|
224
223
|
# Add description
|
225
|
-
if (
|
226
|
-
param_descriptions and
|
227
|
-
k in param_descriptions and
|
228
|
-
param_descriptions[k]
|
229
|
-
):
|
224
|
+
if (param_descriptions and k in param_descriptions and param_descriptions[k]):
|
230
225
|
arg_json_schema["description"] = param_descriptions[k]
|
231
226
|
|
232
227
|
json_schema["properties"][k] = arg_json_schema
|