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,120 @@
|
|
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 GuardrailConfig(object):
|
14
|
+
"""
|
15
|
+
The configuration details about whether to apply the guardrail checks to input and output.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new GuardrailConfig object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param content_moderation_config:
|
24
|
+
The value to assign to the content_moderation_config property of this GuardrailConfig.
|
25
|
+
:type content_moderation_config: oci.generative_ai_agent.models.ContentModerationGuardrailConfig
|
26
|
+
|
27
|
+
:param prompt_injection_config:
|
28
|
+
The value to assign to the prompt_injection_config property of this GuardrailConfig.
|
29
|
+
:type prompt_injection_config: oci.generative_ai_agent.models.PromptInjectionGuardrailConfig
|
30
|
+
|
31
|
+
:param personally_identifiable_information_config:
|
32
|
+
The value to assign to the personally_identifiable_information_config property of this GuardrailConfig.
|
33
|
+
:type personally_identifiable_information_config: oci.generative_ai_agent.models.PersonallyIdentifiableInformationGuardrailConfig
|
34
|
+
|
35
|
+
"""
|
36
|
+
self.swagger_types = {
|
37
|
+
'content_moderation_config': 'ContentModerationGuardrailConfig',
|
38
|
+
'prompt_injection_config': 'PromptInjectionGuardrailConfig',
|
39
|
+
'personally_identifiable_information_config': 'PersonallyIdentifiableInformationGuardrailConfig'
|
40
|
+
}
|
41
|
+
self.attribute_map = {
|
42
|
+
'content_moderation_config': 'contentModerationConfig',
|
43
|
+
'prompt_injection_config': 'promptInjectionConfig',
|
44
|
+
'personally_identifiable_information_config': 'personallyIdentifiableInformationConfig'
|
45
|
+
}
|
46
|
+
self._content_moderation_config = None
|
47
|
+
self._prompt_injection_config = None
|
48
|
+
self._personally_identifiable_information_config = None
|
49
|
+
|
50
|
+
@property
|
51
|
+
def content_moderation_config(self):
|
52
|
+
"""
|
53
|
+
Gets the content_moderation_config of this GuardrailConfig.
|
54
|
+
|
55
|
+
:return: The content_moderation_config of this GuardrailConfig.
|
56
|
+
:rtype: oci.generative_ai_agent.models.ContentModerationGuardrailConfig
|
57
|
+
"""
|
58
|
+
return self._content_moderation_config
|
59
|
+
|
60
|
+
@content_moderation_config.setter
|
61
|
+
def content_moderation_config(self, content_moderation_config):
|
62
|
+
"""
|
63
|
+
Sets the content_moderation_config of this GuardrailConfig.
|
64
|
+
|
65
|
+
:param content_moderation_config: The content_moderation_config of this GuardrailConfig.
|
66
|
+
:type: oci.generative_ai_agent.models.ContentModerationGuardrailConfig
|
67
|
+
"""
|
68
|
+
self._content_moderation_config = content_moderation_config
|
69
|
+
|
70
|
+
@property
|
71
|
+
def prompt_injection_config(self):
|
72
|
+
"""
|
73
|
+
Gets the prompt_injection_config of this GuardrailConfig.
|
74
|
+
|
75
|
+
:return: The prompt_injection_config of this GuardrailConfig.
|
76
|
+
:rtype: oci.generative_ai_agent.models.PromptInjectionGuardrailConfig
|
77
|
+
"""
|
78
|
+
return self._prompt_injection_config
|
79
|
+
|
80
|
+
@prompt_injection_config.setter
|
81
|
+
def prompt_injection_config(self, prompt_injection_config):
|
82
|
+
"""
|
83
|
+
Sets the prompt_injection_config of this GuardrailConfig.
|
84
|
+
|
85
|
+
:param prompt_injection_config: The prompt_injection_config of this GuardrailConfig.
|
86
|
+
:type: oci.generative_ai_agent.models.PromptInjectionGuardrailConfig
|
87
|
+
"""
|
88
|
+
self._prompt_injection_config = prompt_injection_config
|
89
|
+
|
90
|
+
@property
|
91
|
+
def personally_identifiable_information_config(self):
|
92
|
+
"""
|
93
|
+
Gets the personally_identifiable_information_config of this GuardrailConfig.
|
94
|
+
|
95
|
+
:return: The personally_identifiable_information_config of this GuardrailConfig.
|
96
|
+
:rtype: oci.generative_ai_agent.models.PersonallyIdentifiableInformationGuardrailConfig
|
97
|
+
"""
|
98
|
+
return self._personally_identifiable_information_config
|
99
|
+
|
100
|
+
@personally_identifiable_information_config.setter
|
101
|
+
def personally_identifiable_information_config(self, personally_identifiable_information_config):
|
102
|
+
"""
|
103
|
+
Sets the personally_identifiable_information_config of this GuardrailConfig.
|
104
|
+
|
105
|
+
:param personally_identifiable_information_config: The personally_identifiable_information_config of this GuardrailConfig.
|
106
|
+
:type: oci.generative_ai_agent.models.PersonallyIdentifiableInformationGuardrailConfig
|
107
|
+
"""
|
108
|
+
self._personally_identifiable_information_config = personally_identifiable_information_config
|
109
|
+
|
110
|
+
def __repr__(self):
|
111
|
+
return formatted_flat_dict(self)
|
112
|
+
|
113
|
+
def __eq__(self, other):
|
114
|
+
if other is None:
|
115
|
+
return False
|
116
|
+
|
117
|
+
return self.__dict__ == other.__dict__
|
118
|
+
|
119
|
+
def __ne__(self, other):
|
120
|
+
return not self == other
|
@@ -0,0 +1,137 @@
|
|
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 HttpEndpointAuthConfig(object):
|
14
|
+
"""
|
15
|
+
Auth related information to be used when invoking external endpoint
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the http_endpoint_auth_config_type property of a HttpEndpointAuthConfig.
|
19
|
+
#: This constant has a value of "HTTP_ENDPOINT_NO_AUTH_CONFIG"
|
20
|
+
HTTP_ENDPOINT_AUTH_CONFIG_TYPE_HTTP_ENDPOINT_NO_AUTH_CONFIG = "HTTP_ENDPOINT_NO_AUTH_CONFIG"
|
21
|
+
|
22
|
+
#: A constant which can be used with the http_endpoint_auth_config_type property of a HttpEndpointAuthConfig.
|
23
|
+
#: This constant has a value of "HTTP_ENDPOINT_DELEGATED_BEARER_AUTH_CONFIG"
|
24
|
+
HTTP_ENDPOINT_AUTH_CONFIG_TYPE_HTTP_ENDPOINT_DELEGATED_BEARER_AUTH_CONFIG = "HTTP_ENDPOINT_DELEGATED_BEARER_AUTH_CONFIG"
|
25
|
+
|
26
|
+
#: A constant which can be used with the http_endpoint_auth_config_type property of a HttpEndpointAuthConfig.
|
27
|
+
#: This constant has a value of "HTTP_ENDPOINT_OCI_RESOURCE_PRINCIPAL_AUTH_CONFIG"
|
28
|
+
HTTP_ENDPOINT_AUTH_CONFIG_TYPE_HTTP_ENDPOINT_OCI_RESOURCE_PRINCIPAL_AUTH_CONFIG = "HTTP_ENDPOINT_OCI_RESOURCE_PRINCIPAL_AUTH_CONFIG"
|
29
|
+
|
30
|
+
#: A constant which can be used with the http_endpoint_auth_config_type property of a HttpEndpointAuthConfig.
|
31
|
+
#: This constant has a value of "HTTP_ENDPOINT_IDCS_AUTH_CONFIG"
|
32
|
+
HTTP_ENDPOINT_AUTH_CONFIG_TYPE_HTTP_ENDPOINT_IDCS_AUTH_CONFIG = "HTTP_ENDPOINT_IDCS_AUTH_CONFIG"
|
33
|
+
|
34
|
+
def __init__(self, **kwargs):
|
35
|
+
"""
|
36
|
+
Initializes a new HttpEndpointAuthConfig object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
37
|
+
to a service operations then you should favor using a subclass over the base class:
|
38
|
+
|
39
|
+
* :class:`~oci.generative_ai_agent.models.HttpEndpointIdcsAuthConfig`
|
40
|
+
* :class:`~oci.generative_ai_agent.models.HttpEndpointDelegatedBearerAuthConfig`
|
41
|
+
* :class:`~oci.generative_ai_agent.models.HttpEndpointNoAuthConfig`
|
42
|
+
* :class:`~oci.generative_ai_agent.models.HttpEndpointOciResourcePrincipalAuthConfig`
|
43
|
+
|
44
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
45
|
+
|
46
|
+
:param http_endpoint_auth_config_type:
|
47
|
+
The value to assign to the http_endpoint_auth_config_type property of this HttpEndpointAuthConfig.
|
48
|
+
Allowed values for this property are: "HTTP_ENDPOINT_NO_AUTH_CONFIG", "HTTP_ENDPOINT_DELEGATED_BEARER_AUTH_CONFIG", "HTTP_ENDPOINT_OCI_RESOURCE_PRINCIPAL_AUTH_CONFIG", "HTTP_ENDPOINT_IDCS_AUTH_CONFIG", 'UNKNOWN_ENUM_VALUE'.
|
49
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
50
|
+
:type http_endpoint_auth_config_type: str
|
51
|
+
|
52
|
+
"""
|
53
|
+
self.swagger_types = {
|
54
|
+
'http_endpoint_auth_config_type': 'str'
|
55
|
+
}
|
56
|
+
self.attribute_map = {
|
57
|
+
'http_endpoint_auth_config_type': 'httpEndpointAuthConfigType'
|
58
|
+
}
|
59
|
+
self._http_endpoint_auth_config_type = None
|
60
|
+
|
61
|
+
@staticmethod
|
62
|
+
def get_subtype(object_dictionary):
|
63
|
+
"""
|
64
|
+
Given the hash representation of a subtype of this class,
|
65
|
+
use the info in the hash to return the class of the subtype.
|
66
|
+
"""
|
67
|
+
type = object_dictionary['httpEndpointAuthConfigType']
|
68
|
+
|
69
|
+
if type == 'HTTP_ENDPOINT_IDCS_AUTH_CONFIG':
|
70
|
+
return 'HttpEndpointIdcsAuthConfig'
|
71
|
+
|
72
|
+
if type == 'HTTP_ENDPOINT_DELEGATED_BEARER_AUTH_CONFIG':
|
73
|
+
return 'HttpEndpointDelegatedBearerAuthConfig'
|
74
|
+
|
75
|
+
if type == 'HTTP_ENDPOINT_NO_AUTH_CONFIG':
|
76
|
+
return 'HttpEndpointNoAuthConfig'
|
77
|
+
|
78
|
+
if type == 'HTTP_ENDPOINT_OCI_RESOURCE_PRINCIPAL_AUTH_CONFIG':
|
79
|
+
return 'HttpEndpointOciResourcePrincipalAuthConfig'
|
80
|
+
else:
|
81
|
+
return 'HttpEndpointAuthConfig'
|
82
|
+
|
83
|
+
@property
|
84
|
+
def http_endpoint_auth_config_type(self):
|
85
|
+
"""
|
86
|
+
**[Required]** Gets the http_endpoint_auth_config_type of this HttpEndpointAuthConfig.
|
87
|
+
The type of Auth config to be used when invoking an external endpoint.
|
88
|
+
The allowed values are:
|
89
|
+
- `HTTP_ENDPOINT_NO_AUTH_CONFIG`: Indicates that no authentication is required for invoking the endpoint.
|
90
|
+
- `HTTP_ENDPOINT_DELEGATED_BEARER_AUTH_CONFIG`: Specifies Bearer Token Authentication, where the same Bearer token received as part of the Agent Chat
|
91
|
+
API request is used to invoke the external endpoint.
|
92
|
+
- `HTTP_ENDPOINT_OCI_RESOURCE_PRINCIPAL_AUTH_CONFIG`: Specifies authentication using Oracle Cloud Infrastructure (OCI) Resource Principal, leveraging
|
93
|
+
OCI's identity-based authentication mechanism.
|
94
|
+
- `HTTP_ENDPOINT_IDCS_AUTH_CONFIG`: Specifies authentication using Oracle Identity Cloud Service (IDCS), leveraging OAuth 2.0 for token-based authentication.
|
95
|
+
|
96
|
+
Allowed values for this property are: "HTTP_ENDPOINT_NO_AUTH_CONFIG", "HTTP_ENDPOINT_DELEGATED_BEARER_AUTH_CONFIG", "HTTP_ENDPOINT_OCI_RESOURCE_PRINCIPAL_AUTH_CONFIG", "HTTP_ENDPOINT_IDCS_AUTH_CONFIG", 'UNKNOWN_ENUM_VALUE'.
|
97
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
98
|
+
|
99
|
+
|
100
|
+
:return: The http_endpoint_auth_config_type of this HttpEndpointAuthConfig.
|
101
|
+
:rtype: str
|
102
|
+
"""
|
103
|
+
return self._http_endpoint_auth_config_type
|
104
|
+
|
105
|
+
@http_endpoint_auth_config_type.setter
|
106
|
+
def http_endpoint_auth_config_type(self, http_endpoint_auth_config_type):
|
107
|
+
"""
|
108
|
+
Sets the http_endpoint_auth_config_type of this HttpEndpointAuthConfig.
|
109
|
+
The type of Auth config to be used when invoking an external endpoint.
|
110
|
+
The allowed values are:
|
111
|
+
- `HTTP_ENDPOINT_NO_AUTH_CONFIG`: Indicates that no authentication is required for invoking the endpoint.
|
112
|
+
- `HTTP_ENDPOINT_DELEGATED_BEARER_AUTH_CONFIG`: Specifies Bearer Token Authentication, where the same Bearer token received as part of the Agent Chat
|
113
|
+
API request is used to invoke the external endpoint.
|
114
|
+
- `HTTP_ENDPOINT_OCI_RESOURCE_PRINCIPAL_AUTH_CONFIG`: Specifies authentication using Oracle Cloud Infrastructure (OCI) Resource Principal, leveraging
|
115
|
+
OCI's identity-based authentication mechanism.
|
116
|
+
- `HTTP_ENDPOINT_IDCS_AUTH_CONFIG`: Specifies authentication using Oracle Identity Cloud Service (IDCS), leveraging OAuth 2.0 for token-based authentication.
|
117
|
+
|
118
|
+
|
119
|
+
:param http_endpoint_auth_config_type: The http_endpoint_auth_config_type of this HttpEndpointAuthConfig.
|
120
|
+
:type: str
|
121
|
+
"""
|
122
|
+
allowed_values = ["HTTP_ENDPOINT_NO_AUTH_CONFIG", "HTTP_ENDPOINT_DELEGATED_BEARER_AUTH_CONFIG", "HTTP_ENDPOINT_OCI_RESOURCE_PRINCIPAL_AUTH_CONFIG", "HTTP_ENDPOINT_IDCS_AUTH_CONFIG"]
|
123
|
+
if not value_allowed_none_or_none_sentinel(http_endpoint_auth_config_type, allowed_values):
|
124
|
+
http_endpoint_auth_config_type = 'UNKNOWN_ENUM_VALUE'
|
125
|
+
self._http_endpoint_auth_config_type = http_endpoint_auth_config_type
|
126
|
+
|
127
|
+
def __repr__(self):
|
128
|
+
return formatted_flat_dict(self)
|
129
|
+
|
130
|
+
def __eq__(self, other):
|
131
|
+
if other is None:
|
132
|
+
return False
|
133
|
+
|
134
|
+
return self.__dict__ == other.__dict__
|
135
|
+
|
136
|
+
def __ne__(self, other):
|
137
|
+
return not self == other
|
@@ -0,0 +1,50 @@
|
|
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 .http_endpoint_auth_config import HttpEndpointAuthConfig
|
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 HttpEndpointDelegatedBearerAuthConfig(HttpEndpointAuthConfig):
|
14
|
+
"""
|
15
|
+
Specifies Bearer Token Authentication, where the same Bearer token received as part of the Agent Chat API request is used to invoke
|
16
|
+
the external endpoint.
|
17
|
+
"""
|
18
|
+
|
19
|
+
def __init__(self, **kwargs):
|
20
|
+
"""
|
21
|
+
Initializes a new HttpEndpointDelegatedBearerAuthConfig object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_agent.models.HttpEndpointDelegatedBearerAuthConfig.http_endpoint_auth_config_type` attribute
|
22
|
+
of this class is ``HTTP_ENDPOINT_DELEGATED_BEARER_AUTH_CONFIG`` and it should not be changed.
|
23
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
24
|
+
|
25
|
+
:param http_endpoint_auth_config_type:
|
26
|
+
The value to assign to the http_endpoint_auth_config_type property of this HttpEndpointDelegatedBearerAuthConfig.
|
27
|
+
Allowed values for this property are: "HTTP_ENDPOINT_NO_AUTH_CONFIG", "HTTP_ENDPOINT_DELEGATED_BEARER_AUTH_CONFIG", "HTTP_ENDPOINT_OCI_RESOURCE_PRINCIPAL_AUTH_CONFIG", "HTTP_ENDPOINT_IDCS_AUTH_CONFIG"
|
28
|
+
:type http_endpoint_auth_config_type: str
|
29
|
+
|
30
|
+
"""
|
31
|
+
self.swagger_types = {
|
32
|
+
'http_endpoint_auth_config_type': 'str'
|
33
|
+
}
|
34
|
+
self.attribute_map = {
|
35
|
+
'http_endpoint_auth_config_type': 'httpEndpointAuthConfigType'
|
36
|
+
}
|
37
|
+
self._http_endpoint_auth_config_type = None
|
38
|
+
self._http_endpoint_auth_config_type = 'HTTP_ENDPOINT_DELEGATED_BEARER_AUTH_CONFIG'
|
39
|
+
|
40
|
+
def __repr__(self):
|
41
|
+
return formatted_flat_dict(self)
|
42
|
+
|
43
|
+
def __eq__(self, other):
|
44
|
+
if other is None:
|
45
|
+
return False
|
46
|
+
|
47
|
+
return self.__dict__ == other.__dict__
|
48
|
+
|
49
|
+
def __ne__(self, other):
|
50
|
+
return not self == other
|
@@ -0,0 +1,76 @@
|
|
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 .http_endpoint_auth_config import HttpEndpointAuthConfig
|
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 HttpEndpointIdcsAuthConfig(HttpEndpointAuthConfig):
|
14
|
+
"""
|
15
|
+
Specifies authentication using Oracle Identity Cloud Service (IDCS), leveraging OAuth 2.0 for token-based authentication.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new HttpEndpointIdcsAuthConfig object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_agent.models.HttpEndpointIdcsAuthConfig.http_endpoint_auth_config_type` attribute
|
21
|
+
of this class is ``HTTP_ENDPOINT_IDCS_AUTH_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 http_endpoint_auth_config_type:
|
25
|
+
The value to assign to the http_endpoint_auth_config_type property of this HttpEndpointIdcsAuthConfig.
|
26
|
+
Allowed values for this property are: "HTTP_ENDPOINT_NO_AUTH_CONFIG", "HTTP_ENDPOINT_DELEGATED_BEARER_AUTH_CONFIG", "HTTP_ENDPOINT_OCI_RESOURCE_PRINCIPAL_AUTH_CONFIG", "HTTP_ENDPOINT_IDCS_AUTH_CONFIG"
|
27
|
+
:type http_endpoint_auth_config_type: str
|
28
|
+
|
29
|
+
:param idcs_secret:
|
30
|
+
The value to assign to the idcs_secret property of this HttpEndpointIdcsAuthConfig.
|
31
|
+
:type idcs_secret: oci.generative_ai_agent.models.IdcsSecret
|
32
|
+
|
33
|
+
"""
|
34
|
+
self.swagger_types = {
|
35
|
+
'http_endpoint_auth_config_type': 'str',
|
36
|
+
'idcs_secret': 'IdcsSecret'
|
37
|
+
}
|
38
|
+
self.attribute_map = {
|
39
|
+
'http_endpoint_auth_config_type': 'httpEndpointAuthConfigType',
|
40
|
+
'idcs_secret': 'idcsSecret'
|
41
|
+
}
|
42
|
+
self._http_endpoint_auth_config_type = None
|
43
|
+
self._idcs_secret = None
|
44
|
+
self._http_endpoint_auth_config_type = 'HTTP_ENDPOINT_IDCS_AUTH_CONFIG'
|
45
|
+
|
46
|
+
@property
|
47
|
+
def idcs_secret(self):
|
48
|
+
"""
|
49
|
+
**[Required]** Gets the idcs_secret of this HttpEndpointIdcsAuthConfig.
|
50
|
+
|
51
|
+
:return: The idcs_secret of this HttpEndpointIdcsAuthConfig.
|
52
|
+
:rtype: oci.generative_ai_agent.models.IdcsSecret
|
53
|
+
"""
|
54
|
+
return self._idcs_secret
|
55
|
+
|
56
|
+
@idcs_secret.setter
|
57
|
+
def idcs_secret(self, idcs_secret):
|
58
|
+
"""
|
59
|
+
Sets the idcs_secret of this HttpEndpointIdcsAuthConfig.
|
60
|
+
|
61
|
+
:param idcs_secret: The idcs_secret of this HttpEndpointIdcsAuthConfig.
|
62
|
+
:type: oci.generative_ai_agent.models.IdcsSecret
|
63
|
+
"""
|
64
|
+
self._idcs_secret = idcs_secret
|
65
|
+
|
66
|
+
def __repr__(self):
|
67
|
+
return formatted_flat_dict(self)
|
68
|
+
|
69
|
+
def __eq__(self, other):
|
70
|
+
if other is None:
|
71
|
+
return False
|
72
|
+
|
73
|
+
return self.__dict__ == other.__dict__
|
74
|
+
|
75
|
+
def __ne__(self, other):
|
76
|
+
return not self == other
|
@@ -0,0 +1,49 @@
|
|
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 .http_endpoint_auth_config import HttpEndpointAuthConfig
|
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 HttpEndpointNoAuthConfig(HttpEndpointAuthConfig):
|
14
|
+
"""
|
15
|
+
Indicates that no authentication is required for invoking the endpoint.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new HttpEndpointNoAuthConfig object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_agent.models.HttpEndpointNoAuthConfig.http_endpoint_auth_config_type` attribute
|
21
|
+
of this class is ``HTTP_ENDPOINT_NO_AUTH_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 http_endpoint_auth_config_type:
|
25
|
+
The value to assign to the http_endpoint_auth_config_type property of this HttpEndpointNoAuthConfig.
|
26
|
+
Allowed values for this property are: "HTTP_ENDPOINT_NO_AUTH_CONFIG", "HTTP_ENDPOINT_DELEGATED_BEARER_AUTH_CONFIG", "HTTP_ENDPOINT_OCI_RESOURCE_PRINCIPAL_AUTH_CONFIG", "HTTP_ENDPOINT_IDCS_AUTH_CONFIG"
|
27
|
+
:type http_endpoint_auth_config_type: str
|
28
|
+
|
29
|
+
"""
|
30
|
+
self.swagger_types = {
|
31
|
+
'http_endpoint_auth_config_type': 'str'
|
32
|
+
}
|
33
|
+
self.attribute_map = {
|
34
|
+
'http_endpoint_auth_config_type': 'httpEndpointAuthConfigType'
|
35
|
+
}
|
36
|
+
self._http_endpoint_auth_config_type = None
|
37
|
+
self._http_endpoint_auth_config_type = 'HTTP_ENDPOINT_NO_AUTH_CONFIG'
|
38
|
+
|
39
|
+
def __repr__(self):
|
40
|
+
return formatted_flat_dict(self)
|
41
|
+
|
42
|
+
def __eq__(self, other):
|
43
|
+
if other is None:
|
44
|
+
return False
|
45
|
+
|
46
|
+
return self.__dict__ == other.__dict__
|
47
|
+
|
48
|
+
def __ne__(self, other):
|
49
|
+
return not self == other
|
@@ -0,0 +1,49 @@
|
|
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 .http_endpoint_auth_config import HttpEndpointAuthConfig
|
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 HttpEndpointOciResourcePrincipalAuthConfig(HttpEndpointAuthConfig):
|
14
|
+
"""
|
15
|
+
Specifies authentication using Oracle Cloud Infrastructure (OCI) Resource Principal, leveraging OCI's identity-based authentication mechanism.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new HttpEndpointOciResourcePrincipalAuthConfig object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_agent.models.HttpEndpointOciResourcePrincipalAuthConfig.http_endpoint_auth_config_type` attribute
|
21
|
+
of this class is ``HTTP_ENDPOINT_OCI_RESOURCE_PRINCIPAL_AUTH_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 http_endpoint_auth_config_type:
|
25
|
+
The value to assign to the http_endpoint_auth_config_type property of this HttpEndpointOciResourcePrincipalAuthConfig.
|
26
|
+
Allowed values for this property are: "HTTP_ENDPOINT_NO_AUTH_CONFIG", "HTTP_ENDPOINT_DELEGATED_BEARER_AUTH_CONFIG", "HTTP_ENDPOINT_OCI_RESOURCE_PRINCIPAL_AUTH_CONFIG", "HTTP_ENDPOINT_IDCS_AUTH_CONFIG"
|
27
|
+
:type http_endpoint_auth_config_type: str
|
28
|
+
|
29
|
+
"""
|
30
|
+
self.swagger_types = {
|
31
|
+
'http_endpoint_auth_config_type': 'str'
|
32
|
+
}
|
33
|
+
self.attribute_map = {
|
34
|
+
'http_endpoint_auth_config_type': 'httpEndpointAuthConfigType'
|
35
|
+
}
|
36
|
+
self._http_endpoint_auth_config_type = None
|
37
|
+
self._http_endpoint_auth_config_type = 'HTTP_ENDPOINT_OCI_RESOURCE_PRINCIPAL_AUTH_CONFIG'
|
38
|
+
|
39
|
+
def __repr__(self):
|
40
|
+
return formatted_flat_dict(self)
|
41
|
+
|
42
|
+
def __eq__(self, other):
|
43
|
+
if other is None:
|
44
|
+
return False
|
45
|
+
|
46
|
+
return self.__dict__ == other.__dict__
|
47
|
+
|
48
|
+
def __ne__(self, other):
|
49
|
+
return not self == other
|
@@ -0,0 +1,134 @@
|
|
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 HttpEndpointToolConfig(ToolConfig):
|
14
|
+
"""
|
15
|
+
The configuration for HTTP endpoint Tool.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new HttpEndpointToolConfig object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_agent.models.HttpEndpointToolConfig.tool_config_type` attribute
|
21
|
+
of this class is ``HTTP_ENDPOINT_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 HttpEndpointToolConfig.
|
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 api_schema:
|
30
|
+
The value to assign to the api_schema property of this HttpEndpointToolConfig.
|
31
|
+
:type api_schema: oci.generative_ai_agent.models.ApiSchemaInputLocation
|
32
|
+
|
33
|
+
:param subnet_id:
|
34
|
+
The value to assign to the subnet_id property of this HttpEndpointToolConfig.
|
35
|
+
:type subnet_id: str
|
36
|
+
|
37
|
+
:param http_endpoint_auth_config:
|
38
|
+
The value to assign to the http_endpoint_auth_config property of this HttpEndpointToolConfig.
|
39
|
+
:type http_endpoint_auth_config: oci.generative_ai_agent.models.HttpEndpointAuthConfig
|
40
|
+
|
41
|
+
"""
|
42
|
+
self.swagger_types = {
|
43
|
+
'tool_config_type': 'str',
|
44
|
+
'api_schema': 'ApiSchemaInputLocation',
|
45
|
+
'subnet_id': 'str',
|
46
|
+
'http_endpoint_auth_config': 'HttpEndpointAuthConfig'
|
47
|
+
}
|
48
|
+
self.attribute_map = {
|
49
|
+
'tool_config_type': 'toolConfigType',
|
50
|
+
'api_schema': 'apiSchema',
|
51
|
+
'subnet_id': 'subnetId',
|
52
|
+
'http_endpoint_auth_config': 'httpEndpointAuthConfig'
|
53
|
+
}
|
54
|
+
self._tool_config_type = None
|
55
|
+
self._api_schema = None
|
56
|
+
self._subnet_id = None
|
57
|
+
self._http_endpoint_auth_config = None
|
58
|
+
self._tool_config_type = 'HTTP_ENDPOINT_TOOL_CONFIG'
|
59
|
+
|
60
|
+
@property
|
61
|
+
def api_schema(self):
|
62
|
+
"""
|
63
|
+
**[Required]** Gets the api_schema of this HttpEndpointToolConfig.
|
64
|
+
|
65
|
+
:return: The api_schema of this HttpEndpointToolConfig.
|
66
|
+
:rtype: oci.generative_ai_agent.models.ApiSchemaInputLocation
|
67
|
+
"""
|
68
|
+
return self._api_schema
|
69
|
+
|
70
|
+
@api_schema.setter
|
71
|
+
def api_schema(self, api_schema):
|
72
|
+
"""
|
73
|
+
Sets the api_schema of this HttpEndpointToolConfig.
|
74
|
+
|
75
|
+
:param api_schema: The api_schema of this HttpEndpointToolConfig.
|
76
|
+
:type: oci.generative_ai_agent.models.ApiSchemaInputLocation
|
77
|
+
"""
|
78
|
+
self._api_schema = api_schema
|
79
|
+
|
80
|
+
@property
|
81
|
+
def subnet_id(self):
|
82
|
+
"""
|
83
|
+
**[Required]** Gets the subnet_id of this HttpEndpointToolConfig.
|
84
|
+
The subnet ID from agent developer tenancy through which the egress is going to be routed.
|
85
|
+
|
86
|
+
|
87
|
+
:return: The subnet_id of this HttpEndpointToolConfig.
|
88
|
+
:rtype: str
|
89
|
+
"""
|
90
|
+
return self._subnet_id
|
91
|
+
|
92
|
+
@subnet_id.setter
|
93
|
+
def subnet_id(self, subnet_id):
|
94
|
+
"""
|
95
|
+
Sets the subnet_id of this HttpEndpointToolConfig.
|
96
|
+
The subnet ID from agent developer tenancy through which the egress is going to be routed.
|
97
|
+
|
98
|
+
|
99
|
+
:param subnet_id: The subnet_id of this HttpEndpointToolConfig.
|
100
|
+
:type: str
|
101
|
+
"""
|
102
|
+
self._subnet_id = subnet_id
|
103
|
+
|
104
|
+
@property
|
105
|
+
def http_endpoint_auth_config(self):
|
106
|
+
"""
|
107
|
+
**[Required]** Gets the http_endpoint_auth_config of this HttpEndpointToolConfig.
|
108
|
+
|
109
|
+
:return: The http_endpoint_auth_config of this HttpEndpointToolConfig.
|
110
|
+
:rtype: oci.generative_ai_agent.models.HttpEndpointAuthConfig
|
111
|
+
"""
|
112
|
+
return self._http_endpoint_auth_config
|
113
|
+
|
114
|
+
@http_endpoint_auth_config.setter
|
115
|
+
def http_endpoint_auth_config(self, http_endpoint_auth_config):
|
116
|
+
"""
|
117
|
+
Sets the http_endpoint_auth_config of this HttpEndpointToolConfig.
|
118
|
+
|
119
|
+
:param http_endpoint_auth_config: The http_endpoint_auth_config of this HttpEndpointToolConfig.
|
120
|
+
:type: oci.generative_ai_agent.models.HttpEndpointAuthConfig
|
121
|
+
"""
|
122
|
+
self._http_endpoint_auth_config = http_endpoint_auth_config
|
123
|
+
|
124
|
+
def __repr__(self):
|
125
|
+
return formatted_flat_dict(self)
|
126
|
+
|
127
|
+
def __eq__(self, other):
|
128
|
+
if other is None:
|
129
|
+
return False
|
130
|
+
|
131
|
+
return self.__dict__ == other.__dict__
|
132
|
+
|
133
|
+
def __ne__(self, other):
|
134
|
+
return not self == other
|