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.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +28 -28
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +9 -9
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- 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 +84 -84
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +633 -113
- oci/core/compute_client_composite_operations.py +82 -0
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +10 -0
- oci/core/models/change_compute_host_compartment_details.py +76 -0
- oci/core/models/compute_host.py +826 -0
- oci/core/models/compute_host_collection.py +70 -0
- oci/core/models/compute_host_summary.py +720 -0
- oci/core/models/update_compute_host_details.py +154 -0
- oci/core/virtual_network_client.py +258 -258
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +45 -45
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +317 -317
- oci/data_science/data_science_client.py +112 -112
- oci/database/database_client.py +414 -414
- oci/database_management/db_management_client.py +228 -228
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +9 -9
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/dblm/db_life_cycle_management_client.py +12 -12
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +31 -31
- oci/dns/dns_client.py +54 -54
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +74 -74
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
- oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +711 -111
- oci/generative_ai_agent/generative_ai_agent_client_composite_operations.py +132 -0
- oci/generative_ai_agent/models/__init__.py +66 -0
- oci/generative_ai_agent/models/agent.py +29 -2
- oci/generative_ai_agent/models/agent_endpoint.py +143 -0
- oci/generative_ai_agent/models/agent_endpoint_summary.py +143 -0
- oci/generative_ai_agent/models/agent_summary.py +29 -2
- oci/generative_ai_agent/models/api_schema_inline_input_location.py +80 -0
- oci/generative_ai_agent/models/api_schema_input_location.py +113 -0
- oci/generative_ai_agent/models/api_schema_object_storage_input_location.py +142 -0
- oci/generative_ai_agent/models/content_moderation_guardrail_config.py +141 -0
- oci/generative_ai_agent/models/create_agent_details.py +29 -2
- oci/generative_ai_agent/models/create_agent_endpoint_details.py +143 -0
- oci/generative_ai_agent/models/create_data_source_details.py +31 -0
- oci/generative_ai_agent/models/create_tool_details.py +307 -0
- oci/generative_ai_agent/models/data_source.py +31 -0
- oci/generative_ai_agent/models/function.py +134 -0
- oci/generative_ai_agent/models/function_calling_tool_config.py +76 -0
- oci/generative_ai_agent/models/guardrail_config.py +120 -0
- oci/generative_ai_agent/models/http_endpoint_auth_config.py +137 -0
- oci/generative_ai_agent/models/http_endpoint_delegated_bearer_auth_config.py +50 -0
- oci/generative_ai_agent/models/http_endpoint_idcs_auth_config.py +76 -0
- oci/generative_ai_agent/models/http_endpoint_no_auth_config.py +49 -0
- oci/generative_ai_agent/models/http_endpoint_oci_resource_principal_auth_config.py +49 -0
- oci/generative_ai_agent/models/http_endpoint_tool_config.py +134 -0
- oci/generative_ai_agent/models/human_input_config.py +70 -0
- oci/generative_ai_agent/models/idcs_secret.py +2 -1
- oci/generative_ai_agent/models/inline_input_location.py +80 -0
- oci/generative_ai_agent/models/input_location.py +113 -0
- oci/generative_ai_agent/models/knowledge_base_config.py +74 -0
- oci/generative_ai_agent/models/llm_config.py +66 -0
- oci/generative_ai_agent/models/llm_customization.py +70 -0
- oci/generative_ai_agent/models/object_storage_input_location.py +142 -0
- oci/generative_ai_agent/models/object_storage_prefix.py +2 -2
- oci/generative_ai_agent/models/object_storage_prefix_output_location.py +142 -0
- oci/generative_ai_agent/models/output_config.py +97 -0
- oci/generative_ai_agent/models/output_location.py +99 -0
- oci/generative_ai_agent/models/personally_identifiable_information_guardrail_config.py +141 -0
- oci/generative_ai_agent/models/prompt_injection_guardrail_config.py +90 -0
- oci/generative_ai_agent/models/rag_tool_config.py +107 -0
- oci/generative_ai_agent/models/sql_tool_config.py +341 -0
- oci/generative_ai_agent/models/tool.py +522 -0
- oci/generative_ai_agent/models/tool_collection.py +70 -0
- oci/generative_ai_agent/models/tool_config.py +133 -0
- oci/generative_ai_agent/models/tool_summary.py +486 -0
- oci/generative_ai_agent/models/update_agent_details.py +29 -2
- oci/generative_ai_agent/models/update_agent_endpoint_details.py +143 -0
- oci/generative_ai_agent/models/update_data_source_details.py +31 -0
- oci/generative_ai_agent/models/update_tool_details.py +241 -0
- oci/generative_ai_agent/models/work_request.py +19 -3
- oci/generative_ai_agent/models/work_request_summary.py +19 -3
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +128 -6
- oci/generative_ai_agent_runtime/models/__init__.py +24 -0
- oci/generative_ai_agent_runtime/models/chat_details.py +65 -3
- oci/generative_ai_agent_runtime/models/chat_result.py +95 -2
- oci/generative_ai_agent_runtime/models/citation.py +34 -3
- oci/generative_ai_agent_runtime/models/function_call.py +101 -0
- oci/generative_ai_agent_runtime/models/function_calling_performed_action.py +87 -0
- oci/generative_ai_agent_runtime/models/function_calling_required_action.py +83 -0
- oci/generative_ai_agent_runtime/models/human_approval_performed_action.py +103 -0
- oci/generative_ai_agent_runtime/models/knowledge_base_metadata_summary.py +262 -0
- oci/generative_ai_agent_runtime/models/knowledge_base_metadata_value.py +101 -0
- oci/generative_ai_agent_runtime/models/message_content.py +33 -2
- oci/generative_ai_agent_runtime/models/metadata_filter.py +101 -0
- oci/generative_ai_agent_runtime/models/paragraph.py +132 -0
- oci/generative_ai_agent_runtime/models/paragraph_citation.py +97 -0
- oci/generative_ai_agent_runtime/models/performed_action.py +138 -0
- oci/generative_ai_agent_runtime/models/required_action.py +134 -0
- oci/generative_ai_agent_runtime/models/retrieve_metadata_details.py +70 -0
- oci/generative_ai_inference/generative_ai_inference_client.py +5 -5
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +84 -84
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +79 -79
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/mngdmac/mac_device_client.py +6 -6
- oci/mngdmac/mac_order_client.py +22 -22
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +86 -86
- oci/network_load_balancer/network_load_balancer_client.py +35 -35
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +16 -16
- 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 +13 -13
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/models/functions_target_details.py +4 -0
- oci/sch/models/log_source.py +4 -6
- oci/sch/models/monitoring_target_details.py +0 -4
- oci/sch/models/notifications_target_details.py +0 -2
- oci/sch/models/plugin_source_details.py +4 -4
- oci/sch/models/service_connector.py +37 -0
- 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/models/__init__.py +44 -0
- oci/stack_monitoring/models/additional_configuration_details.py +70 -0
- oci/stack_monitoring/models/agent_extension_handler_configuration.py +277 -0
- oci/stack_monitoring/models/agent_extension_handler_configuration_property.py +101 -0
- oci/stack_monitoring/models/agent_extension_handler_metric_mapping_details.py +165 -0
- oci/stack_monitoring/models/agent_receiver_properties.py +70 -0
- oci/stack_monitoring/models/associated_monitored_resource.py +14 -6
- oci/stack_monitoring/models/associated_resources_summary.py +14 -6
- oci/stack_monitoring/models/auto_promote_config_details.py +1 -1
- oci/stack_monitoring/models/availability_metrics_details.py +101 -0
- oci/stack_monitoring/models/collectd_resource_name_configuration_details.py +132 -0
- oci/stack_monitoring/models/compute_auto_activate_plugin_config_details.py +146 -0
- oci/stack_monitoring/models/compute_auto_activate_plugin_config_summary.py +142 -0
- oci/stack_monitoring/models/config.py +19 -3
- oci/stack_monitoring/models/config_summary.py +8 -0
- oci/stack_monitoring/models/create_compute_auto_activate_plugin_config_details.py +107 -0
- oci/stack_monitoring/models/create_config_details.py +8 -0
- oci/stack_monitoring/models/create_maintenance_window_details.py +68 -2
- oci/stack_monitoring/models/create_monitored_resource_type_details.py +9 -5
- oci/stack_monitoring/models/create_onboard_config_details.py +259 -0
- oci/stack_monitoring/models/dynamic_group_details.py +148 -0
- oci/stack_monitoring/models/group_details.py +132 -0
- oci/stack_monitoring/models/import_oci_telemetry_resources_task_details.py +18 -6
- oci/stack_monitoring/models/license_auto_assign_config_details.py +1 -1
- oci/stack_monitoring/models/license_enterprise_extensibility_config_details.py +1 -1
- oci/stack_monitoring/models/maintenance_window.py +108 -5
- oci/stack_monitoring/models/maintenance_window_summary.py +7 -3
- oci/stack_monitoring/models/metric_name_configuration_details.py +101 -0
- oci/stack_monitoring/models/monitored_resource.py +14 -6
- oci/stack_monitoring/models/monitored_resource_member_summary.py +14 -6
- oci/stack_monitoring/models/monitored_resource_summary.py +14 -6
- oci/stack_monitoring/models/monitored_resource_task.py +31 -0
- oci/stack_monitoring/models/monitored_resource_task_details.py +19 -3
- oci/stack_monitoring/models/monitored_resource_task_summary.py +31 -0
- oci/stack_monitoring/models/monitored_resource_type.py +129 -5
- oci/stack_monitoring/models/monitored_resource_type_summary.py +94 -5
- oci/stack_monitoring/models/onboard_config_details.py +296 -0
- oci/stack_monitoring/models/onboard_config_summary.py +174 -0
- oci/stack_monitoring/models/resource_type_config_details.py +124 -0
- oci/stack_monitoring/models/search_monitored_resources_details.py +14 -6
- oci/stack_monitoring/models/telegraf_resource_name_configuration_details.py +132 -0
- oci/stack_monitoring/models/update_agent_receiver_task_details.py +190 -0
- oci/stack_monitoring/models/update_compute_auto_activate_plugin_config_details.py +100 -0
- oci/stack_monitoring/models/update_config_details.py +8 -0
- oci/stack_monitoring/models/update_maintenance_window_details.py +68 -2
- oci/stack_monitoring/models/update_monitored_resource_type_details.py +7 -3
- oci/stack_monitoring/models/update_onboard_config_details.py +252 -0
- oci/stack_monitoring/models/update_resource_type_config_task_details.py +133 -0
- oci/stack_monitoring/models/work_request.py +11 -3
- oci/stack_monitoring/models/work_request_summary.py +11 -3
- oci/stack_monitoring/stack_monitoring_client.py +121 -93
- 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/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +14 -14
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- oci/zpr/zpr_client.py +15 -15
- {oci-2.149.0.dist-info → oci-2.149.1.dist-info}/METADATA +1 -1
- {oci-2.149.0.dist-info → oci-2.149.1.dist-info}/RECORD +392 -320
- {oci-2.149.0.dist-info → oci-2.149.1.dist-info}/LICENSE.txt +0 -0
- {oci-2.149.0.dist-info → oci-2.149.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.149.0.dist-info → oci-2.149.1.dist-info}/WHEEL +0 -0
- {oci-2.149.0.dist-info → oci-2.149.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,341 @@
|
|
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
|
+
from .tool_config import ToolConfig
|
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 SqlToolConfig(ToolConfig):
|
14
|
+
"""
|
15
|
+
The configuration for SQL Tool.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the dialect property of a SqlToolConfig.
|
19
|
+
#: This constant has a value of "SQL_LITE"
|
20
|
+
DIALECT_SQL_LITE = "SQL_LITE"
|
21
|
+
|
22
|
+
#: A constant which can be used with the dialect property of a SqlToolConfig.
|
23
|
+
#: This constant has a value of "ORACLE_SQL"
|
24
|
+
DIALECT_ORACLE_SQL = "ORACLE_SQL"
|
25
|
+
|
26
|
+
#: A constant which can be used with the model_size property of a SqlToolConfig.
|
27
|
+
#: This constant has a value of "SMALL"
|
28
|
+
MODEL_SIZE_SMALL = "SMALL"
|
29
|
+
|
30
|
+
#: A constant which can be used with the model_size property of a SqlToolConfig.
|
31
|
+
#: This constant has a value of "LARGE"
|
32
|
+
MODEL_SIZE_LARGE = "LARGE"
|
33
|
+
|
34
|
+
def __init__(self, **kwargs):
|
35
|
+
"""
|
36
|
+
Initializes a new SqlToolConfig object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_agent.models.SqlToolConfig.tool_config_type` attribute
|
37
|
+
of this class is ``SQL_TOOL_CONFIG`` and it should not be changed.
|
38
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
39
|
+
|
40
|
+
:param tool_config_type:
|
41
|
+
The value to assign to the tool_config_type property of this SqlToolConfig.
|
42
|
+
Allowed values for this property are: "SQL_TOOL_CONFIG", "RAG_TOOL_CONFIG", "FUNCTION_CALLING_TOOL_CONFIG", "HTTP_ENDPOINT_TOOL_CONFIG", 'UNKNOWN_ENUM_VALUE'.
|
43
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
44
|
+
:type tool_config_type: str
|
45
|
+
|
46
|
+
:param icl_examples:
|
47
|
+
The value to assign to the icl_examples property of this SqlToolConfig.
|
48
|
+
:type icl_examples: oci.generative_ai_agent.models.InputLocation
|
49
|
+
|
50
|
+
:param database_schema:
|
51
|
+
The value to assign to the database_schema property of this SqlToolConfig.
|
52
|
+
:type database_schema: oci.generative_ai_agent.models.InputLocation
|
53
|
+
|
54
|
+
:param should_enable_sql_execution:
|
55
|
+
The value to assign to the should_enable_sql_execution property of this SqlToolConfig.
|
56
|
+
:type should_enable_sql_execution: bool
|
57
|
+
|
58
|
+
:param dialect:
|
59
|
+
The value to assign to the dialect property of this SqlToolConfig.
|
60
|
+
Allowed values for this property are: "SQL_LITE", "ORACLE_SQL", 'UNKNOWN_ENUM_VALUE'.
|
61
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
62
|
+
:type dialect: str
|
63
|
+
|
64
|
+
:param model_size:
|
65
|
+
The value to assign to the model_size property of this SqlToolConfig.
|
66
|
+
Allowed values for this property are: "SMALL", "LARGE", 'UNKNOWN_ENUM_VALUE'.
|
67
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
68
|
+
:type model_size: str
|
69
|
+
|
70
|
+
:param should_enable_self_correction:
|
71
|
+
The value to assign to the should_enable_self_correction property of this SqlToolConfig.
|
72
|
+
:type should_enable_self_correction: bool
|
73
|
+
|
74
|
+
:param table_and_column_description:
|
75
|
+
The value to assign to the table_and_column_description property of this SqlToolConfig.
|
76
|
+
:type table_and_column_description: oci.generative_ai_agent.models.InputLocation
|
77
|
+
|
78
|
+
:param generation_llm_customization:
|
79
|
+
The value to assign to the generation_llm_customization property of this SqlToolConfig.
|
80
|
+
:type generation_llm_customization: oci.generative_ai_agent.models.LlmCustomization
|
81
|
+
|
82
|
+
:param database_connection:
|
83
|
+
The value to assign to the database_connection property of this SqlToolConfig.
|
84
|
+
:type database_connection: oci.generative_ai_agent.models.DatabaseConnection
|
85
|
+
|
86
|
+
"""
|
87
|
+
self.swagger_types = {
|
88
|
+
'tool_config_type': 'str',
|
89
|
+
'icl_examples': 'InputLocation',
|
90
|
+
'database_schema': 'InputLocation',
|
91
|
+
'should_enable_sql_execution': 'bool',
|
92
|
+
'dialect': 'str',
|
93
|
+
'model_size': 'str',
|
94
|
+
'should_enable_self_correction': 'bool',
|
95
|
+
'table_and_column_description': 'InputLocation',
|
96
|
+
'generation_llm_customization': 'LlmCustomization',
|
97
|
+
'database_connection': 'DatabaseConnection'
|
98
|
+
}
|
99
|
+
self.attribute_map = {
|
100
|
+
'tool_config_type': 'toolConfigType',
|
101
|
+
'icl_examples': 'iclExamples',
|
102
|
+
'database_schema': 'databaseSchema',
|
103
|
+
'should_enable_sql_execution': 'shouldEnableSqlExecution',
|
104
|
+
'dialect': 'dialect',
|
105
|
+
'model_size': 'modelSize',
|
106
|
+
'should_enable_self_correction': 'shouldEnableSelfCorrection',
|
107
|
+
'table_and_column_description': 'tableAndColumnDescription',
|
108
|
+
'generation_llm_customization': 'generationLlmCustomization',
|
109
|
+
'database_connection': 'databaseConnection'
|
110
|
+
}
|
111
|
+
self._tool_config_type = None
|
112
|
+
self._icl_examples = None
|
113
|
+
self._database_schema = None
|
114
|
+
self._should_enable_sql_execution = None
|
115
|
+
self._dialect = None
|
116
|
+
self._model_size = None
|
117
|
+
self._should_enable_self_correction = None
|
118
|
+
self._table_and_column_description = None
|
119
|
+
self._generation_llm_customization = None
|
120
|
+
self._database_connection = None
|
121
|
+
self._tool_config_type = 'SQL_TOOL_CONFIG'
|
122
|
+
|
123
|
+
@property
|
124
|
+
def icl_examples(self):
|
125
|
+
"""
|
126
|
+
Gets the icl_examples of this SqlToolConfig.
|
127
|
+
|
128
|
+
:return: The icl_examples of this SqlToolConfig.
|
129
|
+
:rtype: oci.generative_ai_agent.models.InputLocation
|
130
|
+
"""
|
131
|
+
return self._icl_examples
|
132
|
+
|
133
|
+
@icl_examples.setter
|
134
|
+
def icl_examples(self, icl_examples):
|
135
|
+
"""
|
136
|
+
Sets the icl_examples of this SqlToolConfig.
|
137
|
+
|
138
|
+
:param icl_examples: The icl_examples of this SqlToolConfig.
|
139
|
+
:type: oci.generative_ai_agent.models.InputLocation
|
140
|
+
"""
|
141
|
+
self._icl_examples = icl_examples
|
142
|
+
|
143
|
+
@property
|
144
|
+
def database_schema(self):
|
145
|
+
"""
|
146
|
+
**[Required]** Gets the database_schema of this SqlToolConfig.
|
147
|
+
|
148
|
+
:return: The database_schema of this SqlToolConfig.
|
149
|
+
:rtype: oci.generative_ai_agent.models.InputLocation
|
150
|
+
"""
|
151
|
+
return self._database_schema
|
152
|
+
|
153
|
+
@database_schema.setter
|
154
|
+
def database_schema(self, database_schema):
|
155
|
+
"""
|
156
|
+
Sets the database_schema of this SqlToolConfig.
|
157
|
+
|
158
|
+
:param database_schema: The database_schema of this SqlToolConfig.
|
159
|
+
:type: oci.generative_ai_agent.models.InputLocation
|
160
|
+
"""
|
161
|
+
self._database_schema = database_schema
|
162
|
+
|
163
|
+
@property
|
164
|
+
def should_enable_sql_execution(self):
|
165
|
+
"""
|
166
|
+
Gets the should_enable_sql_execution of this SqlToolConfig.
|
167
|
+
To enable/disable SQL execution.
|
168
|
+
|
169
|
+
|
170
|
+
:return: The should_enable_sql_execution of this SqlToolConfig.
|
171
|
+
:rtype: bool
|
172
|
+
"""
|
173
|
+
return self._should_enable_sql_execution
|
174
|
+
|
175
|
+
@should_enable_sql_execution.setter
|
176
|
+
def should_enable_sql_execution(self, should_enable_sql_execution):
|
177
|
+
"""
|
178
|
+
Sets the should_enable_sql_execution of this SqlToolConfig.
|
179
|
+
To enable/disable SQL execution.
|
180
|
+
|
181
|
+
|
182
|
+
:param should_enable_sql_execution: The should_enable_sql_execution of this SqlToolConfig.
|
183
|
+
:type: bool
|
184
|
+
"""
|
185
|
+
self._should_enable_sql_execution = should_enable_sql_execution
|
186
|
+
|
187
|
+
@property
|
188
|
+
def dialect(self):
|
189
|
+
"""
|
190
|
+
**[Required]** Gets the dialect of this SqlToolConfig.
|
191
|
+
Dialect to be used for SQL generation.
|
192
|
+
|
193
|
+
Allowed values for this property are: "SQL_LITE", "ORACLE_SQL", 'UNKNOWN_ENUM_VALUE'.
|
194
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
195
|
+
|
196
|
+
|
197
|
+
:return: The dialect of this SqlToolConfig.
|
198
|
+
:rtype: str
|
199
|
+
"""
|
200
|
+
return self._dialect
|
201
|
+
|
202
|
+
@dialect.setter
|
203
|
+
def dialect(self, dialect):
|
204
|
+
"""
|
205
|
+
Sets the dialect of this SqlToolConfig.
|
206
|
+
Dialect to be used for SQL generation.
|
207
|
+
|
208
|
+
|
209
|
+
:param dialect: The dialect of this SqlToolConfig.
|
210
|
+
:type: str
|
211
|
+
"""
|
212
|
+
allowed_values = ["SQL_LITE", "ORACLE_SQL"]
|
213
|
+
if not value_allowed_none_or_none_sentinel(dialect, allowed_values):
|
214
|
+
dialect = 'UNKNOWN_ENUM_VALUE'
|
215
|
+
self._dialect = dialect
|
216
|
+
|
217
|
+
@property
|
218
|
+
def model_size(self):
|
219
|
+
"""
|
220
|
+
Gets the model_size of this SqlToolConfig.
|
221
|
+
Size of the model.
|
222
|
+
|
223
|
+
Allowed values for this property are: "SMALL", "LARGE", 'UNKNOWN_ENUM_VALUE'.
|
224
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
225
|
+
|
226
|
+
|
227
|
+
:return: The model_size of this SqlToolConfig.
|
228
|
+
:rtype: str
|
229
|
+
"""
|
230
|
+
return self._model_size
|
231
|
+
|
232
|
+
@model_size.setter
|
233
|
+
def model_size(self, model_size):
|
234
|
+
"""
|
235
|
+
Sets the model_size of this SqlToolConfig.
|
236
|
+
Size of the model.
|
237
|
+
|
238
|
+
|
239
|
+
:param model_size: The model_size of this SqlToolConfig.
|
240
|
+
:type: str
|
241
|
+
"""
|
242
|
+
allowed_values = ["SMALL", "LARGE"]
|
243
|
+
if not value_allowed_none_or_none_sentinel(model_size, allowed_values):
|
244
|
+
model_size = 'UNKNOWN_ENUM_VALUE'
|
245
|
+
self._model_size = model_size
|
246
|
+
|
247
|
+
@property
|
248
|
+
def should_enable_self_correction(self):
|
249
|
+
"""
|
250
|
+
Gets the should_enable_self_correction of this SqlToolConfig.
|
251
|
+
To enable/disable self correction.
|
252
|
+
|
253
|
+
|
254
|
+
:return: The should_enable_self_correction of this SqlToolConfig.
|
255
|
+
:rtype: bool
|
256
|
+
"""
|
257
|
+
return self._should_enable_self_correction
|
258
|
+
|
259
|
+
@should_enable_self_correction.setter
|
260
|
+
def should_enable_self_correction(self, should_enable_self_correction):
|
261
|
+
"""
|
262
|
+
Sets the should_enable_self_correction of this SqlToolConfig.
|
263
|
+
To enable/disable self correction.
|
264
|
+
|
265
|
+
|
266
|
+
:param should_enable_self_correction: The should_enable_self_correction of this SqlToolConfig.
|
267
|
+
:type: bool
|
268
|
+
"""
|
269
|
+
self._should_enable_self_correction = should_enable_self_correction
|
270
|
+
|
271
|
+
@property
|
272
|
+
def table_and_column_description(self):
|
273
|
+
"""
|
274
|
+
Gets the table_and_column_description of this SqlToolConfig.
|
275
|
+
|
276
|
+
:return: The table_and_column_description of this SqlToolConfig.
|
277
|
+
:rtype: oci.generative_ai_agent.models.InputLocation
|
278
|
+
"""
|
279
|
+
return self._table_and_column_description
|
280
|
+
|
281
|
+
@table_and_column_description.setter
|
282
|
+
def table_and_column_description(self, table_and_column_description):
|
283
|
+
"""
|
284
|
+
Sets the table_and_column_description of this SqlToolConfig.
|
285
|
+
|
286
|
+
:param table_and_column_description: The table_and_column_description of this SqlToolConfig.
|
287
|
+
:type: oci.generative_ai_agent.models.InputLocation
|
288
|
+
"""
|
289
|
+
self._table_and_column_description = table_and_column_description
|
290
|
+
|
291
|
+
@property
|
292
|
+
def generation_llm_customization(self):
|
293
|
+
"""
|
294
|
+
Gets the generation_llm_customization of this SqlToolConfig.
|
295
|
+
|
296
|
+
:return: The generation_llm_customization of this SqlToolConfig.
|
297
|
+
:rtype: oci.generative_ai_agent.models.LlmCustomization
|
298
|
+
"""
|
299
|
+
return self._generation_llm_customization
|
300
|
+
|
301
|
+
@generation_llm_customization.setter
|
302
|
+
def generation_llm_customization(self, generation_llm_customization):
|
303
|
+
"""
|
304
|
+
Sets the generation_llm_customization of this SqlToolConfig.
|
305
|
+
|
306
|
+
:param generation_llm_customization: The generation_llm_customization of this SqlToolConfig.
|
307
|
+
:type: oci.generative_ai_agent.models.LlmCustomization
|
308
|
+
"""
|
309
|
+
self._generation_llm_customization = generation_llm_customization
|
310
|
+
|
311
|
+
@property
|
312
|
+
def database_connection(self):
|
313
|
+
"""
|
314
|
+
Gets the database_connection of this SqlToolConfig.
|
315
|
+
|
316
|
+
:return: The database_connection of this SqlToolConfig.
|
317
|
+
:rtype: oci.generative_ai_agent.models.DatabaseConnection
|
318
|
+
"""
|
319
|
+
return self._database_connection
|
320
|
+
|
321
|
+
@database_connection.setter
|
322
|
+
def database_connection(self, database_connection):
|
323
|
+
"""
|
324
|
+
Sets the database_connection of this SqlToolConfig.
|
325
|
+
|
326
|
+
:param database_connection: The database_connection of this SqlToolConfig.
|
327
|
+
:type: oci.generative_ai_agent.models.DatabaseConnection
|
328
|
+
"""
|
329
|
+
self._database_connection = database_connection
|
330
|
+
|
331
|
+
def __repr__(self):
|
332
|
+
return formatted_flat_dict(self)
|
333
|
+
|
334
|
+
def __eq__(self, other):
|
335
|
+
if other is None:
|
336
|
+
return False
|
337
|
+
|
338
|
+
return self.__dict__ == other.__dict__
|
339
|
+
|
340
|
+
def __ne__(self, other):
|
341
|
+
return not self == other
|