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,142 @@
|
|
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 .output_location import OutputLocation
|
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 ObjectStoragePrefixOutputLocation(OutputLocation):
|
14
|
+
"""
|
15
|
+
The config of object storage.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new ObjectStoragePrefixOutputLocation object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_agent.models.ObjectStoragePrefixOutputLocation.output_location_type` attribute
|
21
|
+
of this class is ``OBJECT_STORAGE_PREFIX`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param output_location_type:
|
25
|
+
The value to assign to the output_location_type property of this ObjectStoragePrefixOutputLocation.
|
26
|
+
Allowed values for this property are: "OBJECT_STORAGE_PREFIX"
|
27
|
+
:type output_location_type: str
|
28
|
+
|
29
|
+
:param namespace_name:
|
30
|
+
The value to assign to the namespace_name property of this ObjectStoragePrefixOutputLocation.
|
31
|
+
:type namespace_name: str
|
32
|
+
|
33
|
+
:param bucket_name:
|
34
|
+
The value to assign to the bucket_name property of this ObjectStoragePrefixOutputLocation.
|
35
|
+
:type bucket_name: str
|
36
|
+
|
37
|
+
:param prefix:
|
38
|
+
The value to assign to the prefix property of this ObjectStoragePrefixOutputLocation.
|
39
|
+
:type prefix: str
|
40
|
+
|
41
|
+
"""
|
42
|
+
self.swagger_types = {
|
43
|
+
'output_location_type': 'str',
|
44
|
+
'namespace_name': 'str',
|
45
|
+
'bucket_name': 'str',
|
46
|
+
'prefix': 'str'
|
47
|
+
}
|
48
|
+
self.attribute_map = {
|
49
|
+
'output_location_type': 'outputLocationType',
|
50
|
+
'namespace_name': 'namespaceName',
|
51
|
+
'bucket_name': 'bucketName',
|
52
|
+
'prefix': 'prefix'
|
53
|
+
}
|
54
|
+
self._output_location_type = None
|
55
|
+
self._namespace_name = None
|
56
|
+
self._bucket_name = None
|
57
|
+
self._prefix = None
|
58
|
+
self._output_location_type = 'OBJECT_STORAGE_PREFIX'
|
59
|
+
|
60
|
+
@property
|
61
|
+
def namespace_name(self):
|
62
|
+
"""
|
63
|
+
**[Required]** Gets the namespace_name of this ObjectStoragePrefixOutputLocation.
|
64
|
+
The namespace of the object storage.
|
65
|
+
|
66
|
+
|
67
|
+
:return: The namespace_name of this ObjectStoragePrefixOutputLocation.
|
68
|
+
:rtype: str
|
69
|
+
"""
|
70
|
+
return self._namespace_name
|
71
|
+
|
72
|
+
@namespace_name.setter
|
73
|
+
def namespace_name(self, namespace_name):
|
74
|
+
"""
|
75
|
+
Sets the namespace_name of this ObjectStoragePrefixOutputLocation.
|
76
|
+
The namespace of the object storage.
|
77
|
+
|
78
|
+
|
79
|
+
:param namespace_name: The namespace_name of this ObjectStoragePrefixOutputLocation.
|
80
|
+
:type: str
|
81
|
+
"""
|
82
|
+
self._namespace_name = namespace_name
|
83
|
+
|
84
|
+
@property
|
85
|
+
def bucket_name(self):
|
86
|
+
"""
|
87
|
+
**[Required]** Gets the bucket_name of this ObjectStoragePrefixOutputLocation.
|
88
|
+
The name of the bucket.
|
89
|
+
|
90
|
+
|
91
|
+
:return: The bucket_name of this ObjectStoragePrefixOutputLocation.
|
92
|
+
:rtype: str
|
93
|
+
"""
|
94
|
+
return self._bucket_name
|
95
|
+
|
96
|
+
@bucket_name.setter
|
97
|
+
def bucket_name(self, bucket_name):
|
98
|
+
"""
|
99
|
+
Sets the bucket_name of this ObjectStoragePrefixOutputLocation.
|
100
|
+
The name of the bucket.
|
101
|
+
|
102
|
+
|
103
|
+
:param bucket_name: The bucket_name of this ObjectStoragePrefixOutputLocation.
|
104
|
+
:type: str
|
105
|
+
"""
|
106
|
+
self._bucket_name = bucket_name
|
107
|
+
|
108
|
+
@property
|
109
|
+
def prefix(self):
|
110
|
+
"""
|
111
|
+
Gets the prefix of this ObjectStoragePrefixOutputLocation.
|
112
|
+
The prefix of the object storage.
|
113
|
+
|
114
|
+
|
115
|
+
:return: The prefix of this ObjectStoragePrefixOutputLocation.
|
116
|
+
:rtype: str
|
117
|
+
"""
|
118
|
+
return self._prefix
|
119
|
+
|
120
|
+
@prefix.setter
|
121
|
+
def prefix(self, prefix):
|
122
|
+
"""
|
123
|
+
Sets the prefix of this ObjectStoragePrefixOutputLocation.
|
124
|
+
The prefix of the object storage.
|
125
|
+
|
126
|
+
|
127
|
+
:param prefix: The prefix of this ObjectStoragePrefixOutputLocation.
|
128
|
+
:type: str
|
129
|
+
"""
|
130
|
+
self._prefix = prefix
|
131
|
+
|
132
|
+
def __repr__(self):
|
133
|
+
return formatted_flat_dict(self)
|
134
|
+
|
135
|
+
def __eq__(self, other):
|
136
|
+
if other is None:
|
137
|
+
return False
|
138
|
+
|
139
|
+
return self.__dict__ == other.__dict__
|
140
|
+
|
141
|
+
def __ne__(self, other):
|
142
|
+
return not self == other
|
@@ -0,0 +1,97 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20240531
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class OutputConfig(object):
|
14
|
+
"""
|
15
|
+
Configuration to store results generated by agent.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new OutputConfig object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param output_location:
|
24
|
+
The value to assign to the output_location property of this OutputConfig.
|
25
|
+
:type output_location: oci.generative_ai_agent.models.OutputLocation
|
26
|
+
|
27
|
+
:param retention_period_in_minutes:
|
28
|
+
The value to assign to the retention_period_in_minutes property of this OutputConfig.
|
29
|
+
:type retention_period_in_minutes: int
|
30
|
+
|
31
|
+
"""
|
32
|
+
self.swagger_types = {
|
33
|
+
'output_location': 'OutputLocation',
|
34
|
+
'retention_period_in_minutes': 'int'
|
35
|
+
}
|
36
|
+
self.attribute_map = {
|
37
|
+
'output_location': 'outputLocation',
|
38
|
+
'retention_period_in_minutes': 'retentionPeriodInMinutes'
|
39
|
+
}
|
40
|
+
self._output_location = None
|
41
|
+
self._retention_period_in_minutes = None
|
42
|
+
|
43
|
+
@property
|
44
|
+
def output_location(self):
|
45
|
+
"""
|
46
|
+
**[Required]** Gets the output_location of this OutputConfig.
|
47
|
+
|
48
|
+
:return: The output_location of this OutputConfig.
|
49
|
+
:rtype: oci.generative_ai_agent.models.OutputLocation
|
50
|
+
"""
|
51
|
+
return self._output_location
|
52
|
+
|
53
|
+
@output_location.setter
|
54
|
+
def output_location(self, output_location):
|
55
|
+
"""
|
56
|
+
Sets the output_location of this OutputConfig.
|
57
|
+
|
58
|
+
:param output_location: The output_location of this OutputConfig.
|
59
|
+
:type: oci.generative_ai_agent.models.OutputLocation
|
60
|
+
"""
|
61
|
+
self._output_location = output_location
|
62
|
+
|
63
|
+
@property
|
64
|
+
def retention_period_in_minutes(self):
|
65
|
+
"""
|
66
|
+
Gets the retention_period_in_minutes of this OutputConfig.
|
67
|
+
Retention duration of the output data.
|
68
|
+
|
69
|
+
|
70
|
+
:return: The retention_period_in_minutes of this OutputConfig.
|
71
|
+
:rtype: int
|
72
|
+
"""
|
73
|
+
return self._retention_period_in_minutes
|
74
|
+
|
75
|
+
@retention_period_in_minutes.setter
|
76
|
+
def retention_period_in_minutes(self, retention_period_in_minutes):
|
77
|
+
"""
|
78
|
+
Sets the retention_period_in_minutes of this OutputConfig.
|
79
|
+
Retention duration of the output data.
|
80
|
+
|
81
|
+
|
82
|
+
:param retention_period_in_minutes: The retention_period_in_minutes of this OutputConfig.
|
83
|
+
:type: int
|
84
|
+
"""
|
85
|
+
self._retention_period_in_minutes = retention_period_in_minutes
|
86
|
+
|
87
|
+
def __repr__(self):
|
88
|
+
return formatted_flat_dict(self)
|
89
|
+
|
90
|
+
def __eq__(self, other):
|
91
|
+
if other is None:
|
92
|
+
return False
|
93
|
+
|
94
|
+
return self.__dict__ == other.__dict__
|
95
|
+
|
96
|
+
def __ne__(self, other):
|
97
|
+
return not self == other
|
@@ -0,0 +1,99 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20240531
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class OutputLocation(object):
|
14
|
+
"""
|
15
|
+
Location of the output.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the output_location_type property of a OutputLocation.
|
19
|
+
#: This constant has a value of "OBJECT_STORAGE_PREFIX"
|
20
|
+
OUTPUT_LOCATION_TYPE_OBJECT_STORAGE_PREFIX = "OBJECT_STORAGE_PREFIX"
|
21
|
+
|
22
|
+
def __init__(self, **kwargs):
|
23
|
+
"""
|
24
|
+
Initializes a new OutputLocation object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
25
|
+
to a service operations then you should favor using a subclass over the base class:
|
26
|
+
|
27
|
+
* :class:`~oci.generative_ai_agent.models.ObjectStoragePrefixOutputLocation`
|
28
|
+
|
29
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
30
|
+
|
31
|
+
:param output_location_type:
|
32
|
+
The value to assign to the output_location_type property of this OutputLocation.
|
33
|
+
Allowed values for this property are: "OBJECT_STORAGE_PREFIX", 'UNKNOWN_ENUM_VALUE'.
|
34
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
35
|
+
:type output_location_type: str
|
36
|
+
|
37
|
+
"""
|
38
|
+
self.swagger_types = {
|
39
|
+
'output_location_type': 'str'
|
40
|
+
}
|
41
|
+
self.attribute_map = {
|
42
|
+
'output_location_type': 'outputLocationType'
|
43
|
+
}
|
44
|
+
self._output_location_type = None
|
45
|
+
|
46
|
+
@staticmethod
|
47
|
+
def get_subtype(object_dictionary):
|
48
|
+
"""
|
49
|
+
Given the hash representation of a subtype of this class,
|
50
|
+
use the info in the hash to return the class of the subtype.
|
51
|
+
"""
|
52
|
+
type = object_dictionary['outputLocationType']
|
53
|
+
|
54
|
+
if type == 'OBJECT_STORAGE_PREFIX':
|
55
|
+
return 'ObjectStoragePrefixOutputLocation'
|
56
|
+
else:
|
57
|
+
return 'OutputLocation'
|
58
|
+
|
59
|
+
@property
|
60
|
+
def output_location_type(self):
|
61
|
+
"""
|
62
|
+
**[Required]** Gets the output_location_type of this OutputLocation.
|
63
|
+
Type of OutputLocation.
|
64
|
+
|
65
|
+
Allowed values for this property are: "OBJECT_STORAGE_PREFIX", 'UNKNOWN_ENUM_VALUE'.
|
66
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
67
|
+
|
68
|
+
|
69
|
+
:return: The output_location_type of this OutputLocation.
|
70
|
+
:rtype: str
|
71
|
+
"""
|
72
|
+
return self._output_location_type
|
73
|
+
|
74
|
+
@output_location_type.setter
|
75
|
+
def output_location_type(self, output_location_type):
|
76
|
+
"""
|
77
|
+
Sets the output_location_type of this OutputLocation.
|
78
|
+
Type of OutputLocation.
|
79
|
+
|
80
|
+
|
81
|
+
:param output_location_type: The output_location_type of this OutputLocation.
|
82
|
+
:type: str
|
83
|
+
"""
|
84
|
+
allowed_values = ["OBJECT_STORAGE_PREFIX"]
|
85
|
+
if not value_allowed_none_or_none_sentinel(output_location_type, allowed_values):
|
86
|
+
output_location_type = 'UNKNOWN_ENUM_VALUE'
|
87
|
+
self._output_location_type = output_location_type
|
88
|
+
|
89
|
+
def __repr__(self):
|
90
|
+
return formatted_flat_dict(self)
|
91
|
+
|
92
|
+
def __eq__(self, other):
|
93
|
+
if other is None:
|
94
|
+
return False
|
95
|
+
|
96
|
+
return self.__dict__ == other.__dict__
|
97
|
+
|
98
|
+
def __ne__(self, other):
|
99
|
+
return not self == other
|
@@ -0,0 +1,141 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20240531
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class PersonallyIdentifiableInformationGuardrailConfig(object):
|
14
|
+
"""
|
15
|
+
The configuration details for Personally Identifiable Information.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the input_guardrail_mode property of a PersonallyIdentifiableInformationGuardrailConfig.
|
19
|
+
#: This constant has a value of "DISABLE"
|
20
|
+
INPUT_GUARDRAIL_MODE_DISABLE = "DISABLE"
|
21
|
+
|
22
|
+
#: A constant which can be used with the input_guardrail_mode property of a PersonallyIdentifiableInformationGuardrailConfig.
|
23
|
+
#: This constant has a value of "BLOCK"
|
24
|
+
INPUT_GUARDRAIL_MODE_BLOCK = "BLOCK"
|
25
|
+
|
26
|
+
#: A constant which can be used with the input_guardrail_mode property of a PersonallyIdentifiableInformationGuardrailConfig.
|
27
|
+
#: This constant has a value of "INFORM"
|
28
|
+
INPUT_GUARDRAIL_MODE_INFORM = "INFORM"
|
29
|
+
|
30
|
+
#: A constant which can be used with the output_guardrail_mode property of a PersonallyIdentifiableInformationGuardrailConfig.
|
31
|
+
#: This constant has a value of "DISABLE"
|
32
|
+
OUTPUT_GUARDRAIL_MODE_DISABLE = "DISABLE"
|
33
|
+
|
34
|
+
#: A constant which can be used with the output_guardrail_mode property of a PersonallyIdentifiableInformationGuardrailConfig.
|
35
|
+
#: This constant has a value of "BLOCK"
|
36
|
+
OUTPUT_GUARDRAIL_MODE_BLOCK = "BLOCK"
|
37
|
+
|
38
|
+
#: A constant which can be used with the output_guardrail_mode property of a PersonallyIdentifiableInformationGuardrailConfig.
|
39
|
+
#: This constant has a value of "INFORM"
|
40
|
+
OUTPUT_GUARDRAIL_MODE_INFORM = "INFORM"
|
41
|
+
|
42
|
+
def __init__(self, **kwargs):
|
43
|
+
"""
|
44
|
+
Initializes a new PersonallyIdentifiableInformationGuardrailConfig object with values from keyword arguments.
|
45
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
46
|
+
|
47
|
+
:param input_guardrail_mode:
|
48
|
+
The value to assign to the input_guardrail_mode property of this PersonallyIdentifiableInformationGuardrailConfig.
|
49
|
+
Allowed values for this property are: "DISABLE", "BLOCK", "INFORM", 'UNKNOWN_ENUM_VALUE'.
|
50
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
51
|
+
:type input_guardrail_mode: str
|
52
|
+
|
53
|
+
:param output_guardrail_mode:
|
54
|
+
The value to assign to the output_guardrail_mode property of this PersonallyIdentifiableInformationGuardrailConfig.
|
55
|
+
Allowed values for this property are: "DISABLE", "BLOCK", "INFORM", 'UNKNOWN_ENUM_VALUE'.
|
56
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
57
|
+
:type output_guardrail_mode: str
|
58
|
+
|
59
|
+
"""
|
60
|
+
self.swagger_types = {
|
61
|
+
'input_guardrail_mode': 'str',
|
62
|
+
'output_guardrail_mode': 'str'
|
63
|
+
}
|
64
|
+
self.attribute_map = {
|
65
|
+
'input_guardrail_mode': 'inputGuardrailMode',
|
66
|
+
'output_guardrail_mode': 'outputGuardrailMode'
|
67
|
+
}
|
68
|
+
self._input_guardrail_mode = None
|
69
|
+
self._output_guardrail_mode = None
|
70
|
+
|
71
|
+
@property
|
72
|
+
def input_guardrail_mode(self):
|
73
|
+
"""
|
74
|
+
Gets the input_guardrail_mode of this PersonallyIdentifiableInformationGuardrailConfig.
|
75
|
+
An input guardrail mode for personally identifiable information.
|
76
|
+
|
77
|
+
Allowed values for this property are: "DISABLE", "BLOCK", "INFORM", 'UNKNOWN_ENUM_VALUE'.
|
78
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
79
|
+
|
80
|
+
|
81
|
+
:return: The input_guardrail_mode of this PersonallyIdentifiableInformationGuardrailConfig.
|
82
|
+
:rtype: str
|
83
|
+
"""
|
84
|
+
return self._input_guardrail_mode
|
85
|
+
|
86
|
+
@input_guardrail_mode.setter
|
87
|
+
def input_guardrail_mode(self, input_guardrail_mode):
|
88
|
+
"""
|
89
|
+
Sets the input_guardrail_mode of this PersonallyIdentifiableInformationGuardrailConfig.
|
90
|
+
An input guardrail mode for personally identifiable information.
|
91
|
+
|
92
|
+
|
93
|
+
:param input_guardrail_mode: The input_guardrail_mode of this PersonallyIdentifiableInformationGuardrailConfig.
|
94
|
+
:type: str
|
95
|
+
"""
|
96
|
+
allowed_values = ["DISABLE", "BLOCK", "INFORM"]
|
97
|
+
if not value_allowed_none_or_none_sentinel(input_guardrail_mode, allowed_values):
|
98
|
+
input_guardrail_mode = 'UNKNOWN_ENUM_VALUE'
|
99
|
+
self._input_guardrail_mode = input_guardrail_mode
|
100
|
+
|
101
|
+
@property
|
102
|
+
def output_guardrail_mode(self):
|
103
|
+
"""
|
104
|
+
Gets the output_guardrail_mode of this PersonallyIdentifiableInformationGuardrailConfig.
|
105
|
+
An output guardrail mode for personally identifiable information.
|
106
|
+
|
107
|
+
Allowed values for this property are: "DISABLE", "BLOCK", "INFORM", 'UNKNOWN_ENUM_VALUE'.
|
108
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
109
|
+
|
110
|
+
|
111
|
+
:return: The output_guardrail_mode of this PersonallyIdentifiableInformationGuardrailConfig.
|
112
|
+
:rtype: str
|
113
|
+
"""
|
114
|
+
return self._output_guardrail_mode
|
115
|
+
|
116
|
+
@output_guardrail_mode.setter
|
117
|
+
def output_guardrail_mode(self, output_guardrail_mode):
|
118
|
+
"""
|
119
|
+
Sets the output_guardrail_mode of this PersonallyIdentifiableInformationGuardrailConfig.
|
120
|
+
An output guardrail mode for personally identifiable information.
|
121
|
+
|
122
|
+
|
123
|
+
:param output_guardrail_mode: The output_guardrail_mode of this PersonallyIdentifiableInformationGuardrailConfig.
|
124
|
+
:type: str
|
125
|
+
"""
|
126
|
+
allowed_values = ["DISABLE", "BLOCK", "INFORM"]
|
127
|
+
if not value_allowed_none_or_none_sentinel(output_guardrail_mode, allowed_values):
|
128
|
+
output_guardrail_mode = 'UNKNOWN_ENUM_VALUE'
|
129
|
+
self._output_guardrail_mode = output_guardrail_mode
|
130
|
+
|
131
|
+
def __repr__(self):
|
132
|
+
return formatted_flat_dict(self)
|
133
|
+
|
134
|
+
def __eq__(self, other):
|
135
|
+
if other is None:
|
136
|
+
return False
|
137
|
+
|
138
|
+
return self.__dict__ == other.__dict__
|
139
|
+
|
140
|
+
def __ne__(self, other):
|
141
|
+
return not self == other
|
@@ -0,0 +1,90 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20240531
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class PromptInjectionGuardrailConfig(object):
|
14
|
+
"""
|
15
|
+
The configuration details for Prompt Injection.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the input_guardrail_mode property of a PromptInjectionGuardrailConfig.
|
19
|
+
#: This constant has a value of "DISABLE"
|
20
|
+
INPUT_GUARDRAIL_MODE_DISABLE = "DISABLE"
|
21
|
+
|
22
|
+
#: A constant which can be used with the input_guardrail_mode property of a PromptInjectionGuardrailConfig.
|
23
|
+
#: This constant has a value of "BLOCK"
|
24
|
+
INPUT_GUARDRAIL_MODE_BLOCK = "BLOCK"
|
25
|
+
|
26
|
+
#: A constant which can be used with the input_guardrail_mode property of a PromptInjectionGuardrailConfig.
|
27
|
+
#: This constant has a value of "INFORM"
|
28
|
+
INPUT_GUARDRAIL_MODE_INFORM = "INFORM"
|
29
|
+
|
30
|
+
def __init__(self, **kwargs):
|
31
|
+
"""
|
32
|
+
Initializes a new PromptInjectionGuardrailConfig object with values from keyword arguments.
|
33
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
34
|
+
|
35
|
+
:param input_guardrail_mode:
|
36
|
+
The value to assign to the input_guardrail_mode property of this PromptInjectionGuardrailConfig.
|
37
|
+
Allowed values for this property are: "DISABLE", "BLOCK", "INFORM", 'UNKNOWN_ENUM_VALUE'.
|
38
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
39
|
+
:type input_guardrail_mode: str
|
40
|
+
|
41
|
+
"""
|
42
|
+
self.swagger_types = {
|
43
|
+
'input_guardrail_mode': 'str'
|
44
|
+
}
|
45
|
+
self.attribute_map = {
|
46
|
+
'input_guardrail_mode': 'inputGuardrailMode'
|
47
|
+
}
|
48
|
+
self._input_guardrail_mode = None
|
49
|
+
|
50
|
+
@property
|
51
|
+
def input_guardrail_mode(self):
|
52
|
+
"""
|
53
|
+
Gets the input_guardrail_mode of this PromptInjectionGuardrailConfig.
|
54
|
+
An input guardrail mode for prompt injection.
|
55
|
+
|
56
|
+
Allowed values for this property are: "DISABLE", "BLOCK", "INFORM", 'UNKNOWN_ENUM_VALUE'.
|
57
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
58
|
+
|
59
|
+
|
60
|
+
:return: The input_guardrail_mode of this PromptInjectionGuardrailConfig.
|
61
|
+
:rtype: str
|
62
|
+
"""
|
63
|
+
return self._input_guardrail_mode
|
64
|
+
|
65
|
+
@input_guardrail_mode.setter
|
66
|
+
def input_guardrail_mode(self, input_guardrail_mode):
|
67
|
+
"""
|
68
|
+
Sets the input_guardrail_mode of this PromptInjectionGuardrailConfig.
|
69
|
+
An input guardrail mode for prompt injection.
|
70
|
+
|
71
|
+
|
72
|
+
:param input_guardrail_mode: The input_guardrail_mode of this PromptInjectionGuardrailConfig.
|
73
|
+
:type: str
|
74
|
+
"""
|
75
|
+
allowed_values = ["DISABLE", "BLOCK", "INFORM"]
|
76
|
+
if not value_allowed_none_or_none_sentinel(input_guardrail_mode, allowed_values):
|
77
|
+
input_guardrail_mode = 'UNKNOWN_ENUM_VALUE'
|
78
|
+
self._input_guardrail_mode = input_guardrail_mode
|
79
|
+
|
80
|
+
def __repr__(self):
|
81
|
+
return formatted_flat_dict(self)
|
82
|
+
|
83
|
+
def __eq__(self, other):
|
84
|
+
if other is None:
|
85
|
+
return False
|
86
|
+
|
87
|
+
return self.__dict__ == other.__dict__
|
88
|
+
|
89
|
+
def __ne__(self, other):
|
90
|
+
return not self == other
|
@@ -0,0 +1,107 @@
|
|
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 RagToolConfig(ToolConfig):
|
14
|
+
"""
|
15
|
+
The configuration for RAG Tool.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new RagToolConfig object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_agent.models.RagToolConfig.tool_config_type` attribute
|
21
|
+
of this class is ``RAG_TOOL_CONFIG`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param tool_config_type:
|
25
|
+
The value to assign to the tool_config_type property of this RagToolConfig.
|
26
|
+
Allowed values for this property are: "SQL_TOOL_CONFIG", "RAG_TOOL_CONFIG", "FUNCTION_CALLING_TOOL_CONFIG", "HTTP_ENDPOINT_TOOL_CONFIG"
|
27
|
+
:type tool_config_type: str
|
28
|
+
|
29
|
+
:param knowledge_base_configs:
|
30
|
+
The value to assign to the knowledge_base_configs property of this RagToolConfig.
|
31
|
+
:type knowledge_base_configs: list[oci.generative_ai_agent.models.KnowledgeBaseConfig]
|
32
|
+
|
33
|
+
:param generation_llm_customization:
|
34
|
+
The value to assign to the generation_llm_customization property of this RagToolConfig.
|
35
|
+
:type generation_llm_customization: oci.generative_ai_agent.models.LlmCustomization
|
36
|
+
|
37
|
+
"""
|
38
|
+
self.swagger_types = {
|
39
|
+
'tool_config_type': 'str',
|
40
|
+
'knowledge_base_configs': 'list[KnowledgeBaseConfig]',
|
41
|
+
'generation_llm_customization': 'LlmCustomization'
|
42
|
+
}
|
43
|
+
self.attribute_map = {
|
44
|
+
'tool_config_type': 'toolConfigType',
|
45
|
+
'knowledge_base_configs': 'knowledgeBaseConfigs',
|
46
|
+
'generation_llm_customization': 'generationLlmCustomization'
|
47
|
+
}
|
48
|
+
self._tool_config_type = None
|
49
|
+
self._knowledge_base_configs = None
|
50
|
+
self._generation_llm_customization = None
|
51
|
+
self._tool_config_type = 'RAG_TOOL_CONFIG'
|
52
|
+
|
53
|
+
@property
|
54
|
+
def knowledge_base_configs(self):
|
55
|
+
"""
|
56
|
+
**[Required]** Gets the knowledge_base_configs of this RagToolConfig.
|
57
|
+
The KnowledgeBase configurations that this RAG Tool uses
|
58
|
+
|
59
|
+
|
60
|
+
:return: The knowledge_base_configs of this RagToolConfig.
|
61
|
+
:rtype: list[oci.generative_ai_agent.models.KnowledgeBaseConfig]
|
62
|
+
"""
|
63
|
+
return self._knowledge_base_configs
|
64
|
+
|
65
|
+
@knowledge_base_configs.setter
|
66
|
+
def knowledge_base_configs(self, knowledge_base_configs):
|
67
|
+
"""
|
68
|
+
Sets the knowledge_base_configs of this RagToolConfig.
|
69
|
+
The KnowledgeBase configurations that this RAG Tool uses
|
70
|
+
|
71
|
+
|
72
|
+
:param knowledge_base_configs: The knowledge_base_configs of this RagToolConfig.
|
73
|
+
:type: list[oci.generative_ai_agent.models.KnowledgeBaseConfig]
|
74
|
+
"""
|
75
|
+
self._knowledge_base_configs = knowledge_base_configs
|
76
|
+
|
77
|
+
@property
|
78
|
+
def generation_llm_customization(self):
|
79
|
+
"""
|
80
|
+
Gets the generation_llm_customization of this RagToolConfig.
|
81
|
+
|
82
|
+
:return: The generation_llm_customization of this RagToolConfig.
|
83
|
+
:rtype: oci.generative_ai_agent.models.LlmCustomization
|
84
|
+
"""
|
85
|
+
return self._generation_llm_customization
|
86
|
+
|
87
|
+
@generation_llm_customization.setter
|
88
|
+
def generation_llm_customization(self, generation_llm_customization):
|
89
|
+
"""
|
90
|
+
Sets the generation_llm_customization of this RagToolConfig.
|
91
|
+
|
92
|
+
:param generation_llm_customization: The generation_llm_customization of this RagToolConfig.
|
93
|
+
:type: oci.generative_ai_agent.models.LlmCustomization
|
94
|
+
"""
|
95
|
+
self._generation_llm_customization = generation_llm_customization
|
96
|
+
|
97
|
+
def __repr__(self):
|
98
|
+
return formatted_flat_dict(self)
|
99
|
+
|
100
|
+
def __eq__(self, other):
|
101
|
+
if other is None:
|
102
|
+
return False
|
103
|
+
|
104
|
+
return self.__dict__ == other.__dict__
|
105
|
+
|
106
|
+
def __ne__(self, other):
|
107
|
+
return not self == other
|