oci 2.152.1__py3-none-any.whl → 2.154.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/addons/adk/agent.py +14 -11
- oci/addons/adk/run/response.py +79 -5
- oci/addons/adk/run/types.py +72 -0
- oci/addons/adk/tool/function_tool.py +2 -1
- oci/addons/adk/util.py +1 -6
- oci/adm/application_dependency_management_client.py +38 -38
- oci/adm/models/application_dependency.py +4 -3
- oci/adm/models/application_dependency_recommendation_summary.py +4 -4
- oci/adm/models/application_dependency_vulnerability_summary.py +57 -6
- oci/adm/models/detect_configuration.py +7 -7
- oci/adm/models/network_configuration.py +1 -2
- oci/adm/models/vulnerability.py +8 -4
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +28 -28
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +12 -12
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +30 -30
- oci/apm_synthetics/models/create_script_details.py +10 -6
- oci/apm_synthetics/models/monitor.py +51 -0
- oci/apm_synthetics/models/monitor_result.py +2 -2
- oci/apm_synthetics/models/script.py +9 -5
- oci/apm_synthetics/models/script_summary.py +7 -3
- oci/apm_synthetics/models/update_script_details.py +10 -6
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +578 -86
- oci/bds/bds_client_composite_operations.py +42 -0
- oci/bds/models/__init__.py +26 -0
- oci/bds/models/bds_capacity_report.py +132 -0
- oci/bds/models/bds_software_update.py +109 -0
- oci/bds/models/capacity_availability.py +121 -0
- oci/bds/models/capacity_report_shape_availability.py +128 -0
- oci/bds/models/create_bds_capacity_report_details.py +101 -0
- oci/bds/models/create_capacity_report_shape_availability_details.py +97 -0
- oci/bds/models/domain_type_capacity_report.py +107 -0
- oci/bds/models/install_os_patch_details.py +33 -2
- oci/bds/models/install_software_updates_details.py +70 -0
- oci/bds/models/multi_ad_capacity_report.py +107 -0
- oci/bds/models/os_patch_package_summary.py +57 -2
- oci/bds/models/patch_history_summary.py +13 -7
- oci/bds/models/single_ad_capacity_report.py +107 -0
- oci/bds/models/software_update.py +253 -0
- oci/bds/models/software_update_collection.py +70 -0
- oci/bds/models/software_update_summary.py +194 -0
- oci/bds/models/work_request.py +7 -3
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/__init__.py +5 -1
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/capacity_management/demand_signal_client.py +1645 -0
- oci/capacity_management/demand_signal_client_composite_operations.py +318 -0
- oci/capacity_management/internal_demand_signal_client.py +1605 -0
- oci/capacity_management/internal_demand_signal_client_composite_operations.py +172 -0
- oci/capacity_management/models/__init__.py +79 -1
- oci/capacity_management/models/bulk_create_occm_demand_signal_item.py +400 -0
- oci/capacity_management/models/bulk_create_occm_demand_signal_item_details.py +101 -0
- oci/capacity_management/models/create_internal_occm_demand_signal_delivery_details.py +322 -0
- oci/capacity_management/models/create_occm_demand_signal_details.py +198 -0
- oci/capacity_management/models/create_occm_demand_signal_item_details.py +462 -0
- oci/capacity_management/models/internal_occm_demand_signal.py +431 -0
- oci/capacity_management/models/internal_occm_demand_signal_catalog_resource.py +620 -0
- oci/capacity_management/models/internal_occm_demand_signal_catalog_resource_collection.py +70 -0
- oci/capacity_management/models/internal_occm_demand_signal_catalog_resource_summary.py +588 -0
- oci/capacity_management/models/internal_occm_demand_signal_collection.py +70 -0
- oci/capacity_management/models/internal_occm_demand_signal_delivery.py +555 -0
- oci/capacity_management/models/internal_occm_demand_signal_delivery_collection.py +70 -0
- oci/capacity_management/models/internal_occm_demand_signal_delivery_summary.py +495 -0
- oci/capacity_management/models/internal_occm_demand_signal_item_collection.py +70 -0
- oci/capacity_management/models/internal_occm_demand_signal_item_summary.py +674 -0
- oci/capacity_management/models/internal_occm_demand_signal_summary.py +431 -0
- oci/capacity_management/models/occm_demand_signal.py +464 -0
- oci/capacity_management/models/occm_demand_signal_catalog.py +418 -0
- oci/capacity_management/models/occm_demand_signal_catalog_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_catalog_resource.py +558 -0
- oci/capacity_management/models/occm_demand_signal_catalog_resource_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_catalog_resource_summary.py +526 -0
- oci/capacity_management/models/occm_demand_signal_catalog_summary.py +386 -0
- oci/capacity_management/models/occm_demand_signal_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_delivery_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_delivery_summary.py +481 -0
- oci/capacity_management/models/occm_demand_signal_item.py +675 -0
- oci/capacity_management/models/occm_demand_signal_item_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_item_summary.py +643 -0
- oci/capacity_management/models/occm_demand_signal_resource_properties_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_resource_properties_summary.py +256 -0
- oci/capacity_management/models/occm_demand_signal_resource_property_constraints_collection.py +70 -0
- oci/capacity_management/models/occm_demand_signal_resource_property_constraints_summary.py +101 -0
- oci/capacity_management/models/occm_demand_signal_resource_property_option_summary.py +101 -0
- oci/capacity_management/models/occm_demand_signal_summary.py +400 -0
- oci/capacity_management/models/update_internal_occm_demand_signal_delivery_details.py +260 -0
- oci/capacity_management/models/update_internal_occm_demand_signal_details.py +98 -0
- oci/capacity_management/models/update_occm_demand_signal_details.py +210 -0
- oci/capacity_management/models/update_occm_demand_signal_item_details.py +326 -0
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +46 -46
- oci/container_engine/models/cluster.py +33 -2
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +1095 -163
- oci/core/compute_client_composite_operations.py +403 -0
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +30 -0
- oci/core/models/attach_compute_host_group_host_details.py +74 -0
- oci/core/models/change_compute_host_group_compartment_details.py +76 -0
- oci/core/models/compute_bare_metal_host_placement_constraint_details.py +79 -0
- oci/core/models/compute_host.py +191 -0
- oci/core/models/compute_host_configuration_check_details.py +243 -0
- oci/core/models/compute_host_configuration_data.py +97 -0
- oci/core/models/compute_host_group.py +483 -0
- oci/core/models/compute_host_group_collection.py +70 -0
- oci/core/models/compute_host_group_summary.py +428 -0
- oci/core/models/compute_host_summary.py +62 -0
- oci/core/models/create_compute_host_group_details.py +282 -0
- oci/core/models/create_dedicated_vm_host_details.py +29 -2
- oci/core/models/create_ipv6_details.py +4 -4
- oci/core/models/create_local_peering_gateway_details.py +45 -0
- oci/core/models/create_private_ip_details.py +4 -4
- oci/core/models/create_vcn_details.py +33 -2
- oci/core/models/create_volume_details.py +8 -2
- oci/core/models/dedicated_vm_host.py +27 -0
- oci/core/models/detach_compute_host_group_host_details.py +74 -0
- oci/core/models/host_group_configuration.py +152 -0
- oci/core/models/host_group_placement_constraint_details.py +79 -0
- oci/core/models/instance.py +64 -2
- oci/core/models/instance_configuration_create_volume_details.py +8 -2
- oci/core/models/ipv6.py +4 -4
- oci/core/models/launch_instance_details.py +58 -0
- oci/core/models/local_peering_gateway.py +45 -0
- oci/core/models/placement_constraint_details.py +91 -0
- oci/core/models/private_ip.py +4 -4
- oci/core/models/recycle_details.py +125 -0
- oci/core/models/update_compute_host_group_details.py +216 -0
- oci/core/models/update_ipv6_details.py +4 -4
- oci/core/models/update_local_peering_gateway_details.py +45 -0
- oci/core/models/update_private_ip_details.py +4 -4
- oci/core/models/update_vcn_details.py +33 -2
- oci/core/models/update_vnic_details.py +2 -2
- oci/core/models/update_volume_details.py +8 -2
- oci/core/models/vcn.py +33 -2
- oci/core/models/vnic.py +2 -2
- oci/core/models/volume.py +8 -2
- oci/core/virtual_network_client.py +260 -260
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +45 -45
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +317 -317
- oci/data_science/data_science_client.py +145 -145
- oci/database/database_client.py +646 -456
- oci/database/database_client_composite_operations.py +2 -2
- oci/database/models/__init__.py +12 -0
- oci/database/models/autonomous_container_database.py +2 -2
- oci/database/models/autonomous_container_database_backup.py +691 -0
- oci/database/models/autonomous_container_database_backup_collection.py +70 -0
- oci/database/models/autonomous_container_database_backup_summary.py +696 -0
- oci/database/models/autonomous_container_database_summary.py +2 -2
- oci/database/models/autonomous_database_in_backup.py +105 -0
- oci/database/models/backup.py +7 -3
- oci/database/models/backup_destination_configuration_summary.py +74 -2
- oci/database/models/backup_destination_details.py +74 -2
- oci/database/models/backup_destination_details_summary.py +74 -2
- oci/database/models/backup_summary.py +7 -3
- oci/database/models/create_autonomous_container_database_base.py +1400 -0
- oci/database/models/create_autonomous_container_database_details.py +14 -1032
- oci/database/models/create_autonomous_container_database_from_backup_details.py +349 -0
- oci/database/models/create_database_base.py +1 -1
- oci/database/models/create_external_backup_job_details.py +7 -3
- oci/database/models/db_system.py +7 -3
- oci/database/models/db_system_summary.py +7 -3
- oci/database/models/external_container_database.py +7 -3
- oci/database/models/external_container_database_summary.py +7 -3
- oci/database/models/external_database_base.py +7 -3
- oci/database/models/external_non_container_database.py +7 -3
- oci/database/models/external_non_container_database_summary.py +7 -3
- oci/database/models/external_pluggable_database.py +7 -3
- oci/database/models/external_pluggable_database_summary.py +7 -3
- oci/database/models/launch_db_system_details.py +7 -3
- oci/database/models/launch_db_system_from_backup_details.py +7 -3
- oci/database/models/launch_db_system_from_database_details.py +7 -3
- oci/database_management/db_management_client.py +229 -229
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +1286 -274
- oci/database_management/managed_my_sql_databases_client_composite_operations.py +42 -0
- oci/database_management/models/__init__.py +44 -0
- oci/database_management/models/change_mysql_database_management_type_details.py +121 -0
- oci/database_management/models/managed_my_sql_database.py +47 -0
- oci/database_management/models/managed_my_sql_database_binary_log_information.py +225 -0
- oci/database_management/models/managed_my_sql_database_general_replication_information.py +586 -0
- oci/database_management/models/managed_my_sql_database_high_availability_member_collection.py +345 -0
- oci/database_management/models/managed_my_sql_database_high_availability_member_summary.py +194 -0
- oci/database_management/models/managed_my_sql_database_inbound_replication_collection.py +225 -0
- oci/database_management/models/managed_my_sql_database_inbound_replication_summary.py +620 -0
- oci/database_management/models/managed_my_sql_database_outbound_replication_collection.py +101 -0
- oci/database_management/models/managed_my_sql_database_outbound_replication_summary.py +163 -0
- oci/database_management/models/managed_my_sql_database_summary.py +33 -2
- oci/database_management/models/my_sql_apply_error.py +163 -0
- oci/database_management/models/my_sql_apply_error_worker.py +132 -0
- oci/database_management/models/my_sql_channel_apply_error.py +97 -0
- oci/database_management/models/my_sql_channel_fetch_error.py +97 -0
- oci/database_management/models/my_sql_database_usage_metrics.py +31 -0
- oci/database_management/models/my_sql_digest_error_summary.py +97 -0
- oci/database_management/models/my_sql_digest_errors_collection.py +70 -0
- oci/database_management/models/my_sql_fetch_error.py +132 -0
- oci/database_management/models/my_sql_high_availability_status_summary.py +101 -0
- oci/database_management/models/my_sql_query_details.py +124 -0
- oci/database_management/models/my_sql_query_explain_plan.py +117 -0
- oci/database_management/models/my_sql_query_message.py +152 -0
- oci/database_management/models/my_sql_query_sample_details.py +256 -0
- oci/database_management/models/my_sql_replication_applier_filter.py +101 -0
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_migration/models/create_data_pump_parameters.py +7 -3
- oci/database_migration/models/create_oracle_migration_details.py +31 -0
- oci/database_migration/models/data_pump_parameters.py +7 -3
- oci/database_migration/models/oracle_clone_migration_details.py +33 -2
- oci/database_migration/models/oracle_migration.py +31 -0
- oci/database_migration/models/oracle_migration_summary.py +33 -2
- oci/database_migration/models/update_data_pump_parameters.py +7 -3
- oci/database_migration/models/update_oracle_migration_details.py +33 -2
- oci/database_tools/database_tools_client.py +23 -23
- oci/dblm/db_life_cycle_management_client.py +14 -14
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +31 -31
- oci/distributed_database/distributed_autonomous_db_service_client.py +18 -18
- oci/distributed_database/distributed_db_private_endpoint_service_client.py +7 -7
- oci/distributed_database/distributed_db_service_client.py +19 -19
- oci/distributed_database/distributed_db_work_request_service_client.py +4 -4
- oci/dns/dns_client.py +54 -54
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +74 -74
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +27 -27
- oci/fleet_apps_management/fleet_apps_management_catalog_client.py +7 -7
- oci/fleet_apps_management/fleet_apps_management_client.py +32 -32
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +29 -29
- oci/fleet_apps_management/fleet_apps_management_provision_client.py +6 -6
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +19 -19
- oci/fleet_apps_management/fleet_apps_management_work_request_client.py +4 -4
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +38 -38
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +6 -6
- oci/generative_ai_agent_runtime/models/__init__.py +19 -1
- oci/generative_ai_agent_runtime/models/error_trace.py +62 -3
- oci/generative_ai_agent_runtime/models/execution_trace.py +146 -0
- oci/generative_ai_agent_runtime/models/generation_trace.py +93 -3
- oci/generative_ai_agent_runtime/models/human_approval_required_action.py +135 -0
- oci/generative_ai_agent_runtime/models/model_details.py +128 -0
- oci/generative_ai_agent_runtime/models/model_params.py +225 -0
- oci/generative_ai_agent_runtime/models/planning_trace.py +177 -0
- oci/generative_ai_agent_runtime/models/required_action.py +4 -0
- oci/generative_ai_agent_runtime/models/retrieval_trace.py +62 -3
- oci/generative_ai_agent_runtime/models/source_details.py +101 -0
- oci/generative_ai_agent_runtime/models/tool_invocation_trace.py +190 -0
- oci/generative_ai_agent_runtime/models/trace.py +147 -3
- oci/generative_ai_agent_runtime/models/usage.py +93 -0
- oci/generative_ai_agent_runtime/models/usage_details.py +163 -0
- oci/generative_ai_inference/generative_ai_inference_client.py +6 -6
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +122 -102
- oci/golden_gate/models/__init__.py +88 -0
- oci/golden_gate/models/amazon_kinesis_connection.py +1 -1
- oci/golden_gate/models/amazon_kinesis_connection_summary.py +1 -1
- oci/golden_gate/models/amazon_redshift_connection.py +1 -1
- oci/golden_gate/models/amazon_redshift_connection_summary.py +1 -1
- oci/golden_gate/models/amazon_s3_connection.py +67 -3
- oci/golden_gate/models/amazon_s3_connection_summary.py +67 -3
- oci/golden_gate/models/amazon_s3_iceberg_storage.py +260 -0
- oci/golden_gate/models/amazon_s3_iceberg_storage_summary.py +243 -0
- oci/golden_gate/models/azure_data_lake_storage_connection.py +1 -1
- oci/golden_gate/models/azure_data_lake_storage_connection_summary.py +1 -1
- oci/golden_gate/models/azure_data_lake_storage_iceberg_storage.py +179 -0
- oci/golden_gate/models/azure_data_lake_storage_iceberg_storage_summary.py +179 -0
- oci/golden_gate/models/azure_synapse_connection.py +1 -1
- oci/golden_gate/models/azure_synapse_connection_summary.py +1 -1
- oci/golden_gate/models/connection.py +11 -3
- oci/golden_gate/models/connection_summary.py +11 -3
- oci/golden_gate/models/create_amazon_kinesis_connection_details.py +1 -1
- oci/golden_gate/models/create_amazon_redshift_connection_details.py +1 -1
- oci/golden_gate/models/create_amazon_s3_connection_details.py +67 -3
- oci/golden_gate/models/create_amazon_s3_iceberg_storage_details.py +243 -0
- oci/golden_gate/models/create_azure_data_lake_storage_connection_details.py +1 -1
- oci/golden_gate/models/create_azure_data_lake_storage_iceberg_storage_details.py +179 -0
- oci/golden_gate/models/create_azure_synapse_connection_details.py +1 -1
- oci/golden_gate/models/create_connection_details.py +11 -3
- oci/golden_gate/models/create_databricks_connection_details.py +1 -1
- oci/golden_gate/models/create_db2_connection_details.py +3 -1
- oci/golden_gate/models/create_deployment_details.py +7 -3
- oci/golden_gate/models/create_elasticsearch_connection_details.py +1 -1
- oci/golden_gate/models/create_generic_connection_details.py +1 -1
- oci/golden_gate/models/create_glue_iceberg_catalog_details.py +80 -0
- oci/golden_gate/models/create_golden_gate_connection_details.py +1 -1
- oci/golden_gate/models/create_google_big_query_connection_details.py +3 -3
- oci/golden_gate/models/create_google_cloud_storage_connection_details.py +3 -3
- oci/golden_gate/models/create_google_cloud_storage_iceberg_storage_details.py +148 -0
- oci/golden_gate/models/create_google_pub_sub_connection_details.py +3 -3
- oci/golden_gate/models/create_hadoop_iceberg_catalog_details.py +49 -0
- oci/golden_gate/models/create_hdfs_connection_details.py +3 -1
- oci/golden_gate/models/create_iceberg_catalog_details.py +131 -0
- oci/golden_gate/models/create_iceberg_connection_details.py +219 -0
- oci/golden_gate/models/create_iceberg_storage_details.py +115 -0
- oci/golden_gate/models/create_java_message_service_connection_details.py +1 -1
- oci/golden_gate/models/create_kafka_connection_details.py +1 -1
- oci/golden_gate/models/create_kafka_schema_registry_connection_details.py +1 -1
- oci/golden_gate/models/create_microsoft_fabric_connection_details.py +1 -1
- oci/golden_gate/models/create_microsoft_sqlserver_connection_details.py +3 -3
- oci/golden_gate/models/create_mongo_db_connection_details.py +3 -1
- oci/golden_gate/models/create_mysql_connection_details.py +11 -5
- oci/golden_gate/models/create_nessie_iceberg_catalog_details.py +113 -0
- oci/golden_gate/models/create_oci_object_storage_connection_details.py +1 -1
- oci/golden_gate/models/create_oracle_connection_details.py +1 -1
- oci/golden_gate/models/create_oracle_nosql_connection_details.py +1 -1
- oci/golden_gate/models/create_polaris_iceberg_catalog_details.py +210 -0
- oci/golden_gate/models/create_postgresql_connection_details.py +7 -1
- oci/golden_gate/models/create_redis_connection_details.py +1 -1
- oci/golden_gate/models/create_rest_iceberg_catalog_details.py +121 -0
- oci/golden_gate/models/create_snowflake_connection_details.py +2 -2
- oci/golden_gate/models/databricks_connection.py +1 -1
- oci/golden_gate/models/databricks_connection_summary.py +1 -1
- oci/golden_gate/models/db2_connection.py +43 -6
- oci/golden_gate/models/db2_connection_summary.py +1 -1
- oci/golden_gate/models/deployment.py +7 -3
- oci/golden_gate/models/deployment_backup.py +7 -3
- oci/golden_gate/models/deployment_backup_summary.py +7 -3
- oci/golden_gate/models/deployment_summary.py +7 -3
- oci/golden_gate/models/deployment_type_summary.py +24 -16
- oci/golden_gate/models/deployment_version_summary.py +7 -3
- oci/golden_gate/models/elasticsearch_connection.py +36 -3
- oci/golden_gate/models/elasticsearch_connection_summary.py +1 -1
- oci/golden_gate/models/generic_connection.py +1 -1
- oci/golden_gate/models/generic_connection_summary.py +1 -1
- oci/golden_gate/models/glue_iceberg_catalog.py +80 -0
- oci/golden_gate/models/glue_iceberg_catalog_summary.py +80 -0
- oci/golden_gate/models/golden_gate_connection.py +1 -1
- oci/golden_gate/models/golden_gate_connection_summary.py +1 -1
- oci/golden_gate/models/google_big_query_connection.py +3 -3
- oci/golden_gate/models/google_big_query_connection_summary.py +3 -3
- oci/golden_gate/models/google_cloud_storage_connection.py +3 -3
- oci/golden_gate/models/google_cloud_storage_connection_summary.py +3 -3
- oci/golden_gate/models/google_cloud_storage_iceberg_storage.py +148 -0
- oci/golden_gate/models/google_cloud_storage_iceberg_storage_summary.py +148 -0
- oci/golden_gate/models/google_pub_sub_connection.py +3 -3
- oci/golden_gate/models/google_pub_sub_connection_summary.py +3 -3
- oci/golden_gate/models/hadoop_iceberg_catalog.py +49 -0
- oci/golden_gate/models/hadoop_iceberg_catalog_summary.py +49 -0
- oci/golden_gate/models/hdfs_connection.py +36 -3
- oci/golden_gate/models/hdfs_connection_summary.py +1 -1
- oci/golden_gate/models/iceberg_catalog.py +131 -0
- oci/golden_gate/models/iceberg_catalog_summary.py +131 -0
- oci/golden_gate/models/iceberg_connection.py +284 -0
- oci/golden_gate/models/iceberg_connection_summary.py +268 -0
- oci/golden_gate/models/iceberg_storage.py +115 -0
- oci/golden_gate/models/iceberg_storage_summary.py +115 -0
- oci/golden_gate/models/java_message_service_connection.py +1 -1
- oci/golden_gate/models/java_message_service_connection_summary.py +1 -1
- oci/golden_gate/models/kafka_connection.py +1 -1
- oci/golden_gate/models/kafka_connection_summary.py +1 -1
- oci/golden_gate/models/kafka_schema_registry_connection.py +1 -1
- oci/golden_gate/models/kafka_schema_registry_connection_summary.py +1 -1
- oci/golden_gate/models/microsoft_fabric_connection.py +1 -1
- oci/golden_gate/models/microsoft_fabric_connection_summary.py +1 -1
- oci/golden_gate/models/microsoft_sqlserver_connection.py +3 -3
- oci/golden_gate/models/microsoft_sqlserver_connection_summary.py +3 -3
- oci/golden_gate/models/mongo_db_connection.py +43 -6
- oci/golden_gate/models/mongo_db_connection_summary.py +1 -1
- oci/golden_gate/models/mysql_connection.py +106 -1
- oci/golden_gate/models/mysql_connection_summary.py +1 -1
- oci/golden_gate/models/nessie_iceberg_catalog.py +113 -0
- oci/golden_gate/models/nessie_iceberg_catalog_summary.py +113 -0
- oci/golden_gate/models/oci_object_storage_connection.py +1 -1
- oci/golden_gate/models/oci_object_storage_connection_summary.py +1 -1
- oci/golden_gate/models/oracle_connection.py +1 -1
- oci/golden_gate/models/oracle_connection_summary.py +1 -1
- oci/golden_gate/models/oracle_nosql_connection.py +35 -2
- oci/golden_gate/models/oracle_nosql_connection_summary.py +2 -2
- oci/golden_gate/models/polaris_iceberg_catalog.py +210 -0
- oci/golden_gate/models/polaris_iceberg_catalog_summary.py +210 -0
- oci/golden_gate/models/postgresql_connection.py +104 -3
- oci/golden_gate/models/postgresql_connection_summary.py +1 -1
- oci/golden_gate/models/redis_connection.py +1 -1
- oci/golden_gate/models/redis_connection_summary.py +1 -1
- oci/golden_gate/models/rest_iceberg_catalog.py +121 -0
- oci/golden_gate/models/rest_iceberg_catalog_summary.py +121 -0
- oci/golden_gate/models/snowflake_connection.py +2 -2
- oci/golden_gate/models/snowflake_connection_summary.py +2 -2
- oci/golden_gate/models/update_amazon_kinesis_connection_details.py +1 -1
- oci/golden_gate/models/update_amazon_redshift_connection_details.py +1 -1
- oci/golden_gate/models/update_amazon_s3_connection_details.py +67 -3
- oci/golden_gate/models/update_amazon_s3_iceberg_storage_details.py +243 -0
- oci/golden_gate/models/update_azure_data_lake_storage_connection_details.py +1 -1
- oci/golden_gate/models/update_azure_data_lake_storage_iceberg_storage_details.py +179 -0
- oci/golden_gate/models/update_azure_synapse_connection_details.py +1 -1
- oci/golden_gate/models/update_connection_details.py +11 -3
- oci/golden_gate/models/update_databricks_connection_details.py +1 -1
- oci/golden_gate/models/update_db2_connection_details.py +3 -1
- oci/golden_gate/models/update_elasticsearch_connection_details.py +1 -1
- oci/golden_gate/models/update_generic_connection_details.py +1 -1
- oci/golden_gate/models/update_glue_iceberg_catalog_details.py +80 -0
- oci/golden_gate/models/update_golden_gate_connection_details.py +1 -1
- oci/golden_gate/models/update_google_big_query_connection_details.py +3 -3
- oci/golden_gate/models/update_google_cloud_storage_connection_details.py +3 -3
- oci/golden_gate/models/update_google_cloud_storage_iceberg_storage_details.py +148 -0
- oci/golden_gate/models/update_google_pub_sub_connection_details.py +3 -3
- oci/golden_gate/models/update_hadoop_iceberg_catalog_details.py +49 -0
- oci/golden_gate/models/update_hdfs_connection_details.py +3 -1
- oci/golden_gate/models/update_iceberg_catalog_details.py +131 -0
- oci/golden_gate/models/update_iceberg_connection_details.py +174 -0
- oci/golden_gate/models/update_iceberg_storage_details.py +115 -0
- oci/golden_gate/models/update_java_message_service_connection_details.py +1 -1
- oci/golden_gate/models/update_kafka_connection_details.py +1 -1
- oci/golden_gate/models/update_kafka_schema_registry_connection_details.py +1 -1
- oci/golden_gate/models/update_microsoft_fabric_connection_details.py +1 -1
- oci/golden_gate/models/update_microsoft_sqlserver_connection_details.py +3 -3
- oci/golden_gate/models/update_mongo_db_connection_details.py +3 -1
- oci/golden_gate/models/update_mysql_connection_details.py +11 -5
- oci/golden_gate/models/update_nessie_iceberg_catalog_details.py +113 -0
- oci/golden_gate/models/update_oci_object_storage_connection_details.py +1 -1
- oci/golden_gate/models/update_oracle_connection_details.py +1 -1
- oci/golden_gate/models/update_oracle_nosql_connection_details.py +1 -1
- oci/golden_gate/models/update_polaris_iceberg_catalog_details.py +210 -0
- oci/golden_gate/models/update_postgresql_connection_details.py +7 -1
- oci/golden_gate/models/update_redis_connection_details.py +1 -1
- oci/golden_gate/models/update_rest_iceberg_catalog_details.py +121 -0
- oci/golden_gate/models/update_snowflake_connection_details.py +1 -1
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +79 -79
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +200 -200
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/lustre_file_storage/lustre_file_storage_client.py +11 -11
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +474 -14
- oci/management_dashboard/models/management_dashboard_tile_details.py +33 -2
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/mngdmac/mac_device_client.py +3 -3
- oci/mngdmac/mac_order_client.py +11 -11
- oci/model_deployment/model_deployment_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +141 -9
- oci/mysql/db_backups_client_composite_operations.py +39 -0
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/models/__init__.py +6 -0
- oci/mysql/models/backup.py +56 -3
- oci/mysql/models/backup_policy.py +49 -0
- oci/mysql/models/backup_summary.py +80 -0
- oci/mysql/models/create_backup_details.py +49 -0
- oci/mysql/models/create_backup_policy_details.py +49 -0
- oci/mysql/models/create_db_system_details.py +27 -0
- oci/mysql/models/create_rest_details.py +117 -0
- oci/mysql/models/db_system.py +27 -0
- oci/mysql/models/db_system_snapshot.py +27 -0
- oci/mysql/models/db_system_summary.py +27 -0
- oci/mysql/models/rest_details.py +117 -0
- oci/mysql/models/update_backup_details.py +49 -0
- oci/mysql/models/update_backup_policy_details.py +49 -0
- oci/mysql/models/update_db_system_details.py +27 -0
- oci/mysql/models/update_rest_details.py +117 -0
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/models/__init__.py +24 -0
- oci/network_firewall/models/create_nat_rule_details.py +193 -0
- oci/network_firewall/models/create_nat_v4_rule_details.py +144 -0
- oci/network_firewall/models/create_network_firewall_details.py +27 -0
- oci/network_firewall/models/nat_configuration_request.py +70 -0
- oci/network_firewall/models/nat_configuration_response.py +101 -0
- oci/network_firewall/models/nat_rule.py +254 -0
- oci/network_firewall/models/nat_rule_collection.py +70 -0
- oci/network_firewall/models/nat_rule_match_criteria.py +132 -0
- oci/network_firewall/models/nat_rule_summary.py +228 -0
- oci/network_firewall/models/nat_v4_nat_rule.py +159 -0
- oci/network_firewall/models/nat_v4_nat_summary.py +152 -0
- oci/network_firewall/models/network_firewall.py +30 -11
- oci/network_firewall/models/network_firewall_policy.py +3 -11
- oci/network_firewall/models/network_firewall_policy_summary.py +3 -11
- oci/network_firewall/models/network_firewall_summary.py +30 -11
- oci/network_firewall/models/update_nat_rule_details.py +162 -0
- oci/network_firewall/models/update_nat_v4_rule_details.py +137 -0
- oci/network_firewall/models/update_network_firewall_details.py +27 -0
- oci/network_firewall/network_firewall_client.py +848 -108
- oci/network_firewall/network_firewall_client_composite_operations.py +42 -0
- oci/network_load_balancer/network_load_balancer_client.py +35 -35
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +17 -17
- oci/opensearch/opensearch_cluster_pipeline_client.py +5 -5
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +181 -181
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +13 -13
- oci/os_management_hub/managed_instance_client.py +33 -33
- oci/os_management_hub/managed_instance_group_client.py +26 -26
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +13 -13
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +33 -33
- oci/os_management_hub/work_request_client.py +5 -5
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +34 -34
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +14 -14
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/security_attribute/security_attribute_client.py +18 -18
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +87 -87
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/models/average_carbon_emission.py +3 -3
- oci/usage_api/models/create_email_recipients_group_details.py +3 -3
- oci/usage_api/models/email_recipient.py +6 -6
- oci/usage_api/models/email_recipients_group.py +5 -5
- oci/usage_api/models/email_recipients_group_collection.py +3 -3
- oci/usage_api/models/email_recipients_group_summary.py +5 -5
- oci/usage_api/models/forecast.py +5 -3
- oci/usage_api/models/report_query.py +16 -16
- oci/usage_api/models/request_summarized_usages_details.py +4 -4
- oci/usage_api/models/request_usage_carbon_emissions_details.py +143 -2
- oci/usage_api/models/saved_custom_table.py +4 -4
- oci/usage_api/models/scheduled_run.py +12 -12
- oci/usage_api/models/scheduled_run_summary.py +12 -12
- oci/usage_api/models/update_email_recipients_group_details.py +3 -3
- oci/usage_api/models/usage_carbon_emission_aggregation.py +5 -5
- oci/usage_api/models/usage_carbon_emission_summary.py +36 -5
- oci/usage_api/models/usage_carbon_emissions_query.py +1 -1
- oci/usage_api/models/usage_carbon_emissions_query_collection.py +1 -1
- oci/usage_api/models/usage_carbon_emissions_query_summary.py +1 -1
- oci/usage_api/models/usage_carbon_emissions_report_query.py +98 -5
- oci/usage_api/usageapi_client.py +69 -69
- oci/usage_api/usageapi_client_composite_operations.py +4 -4
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +14 -14
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- oci/zpr/zpr_client.py +15 -15
- {oci-2.152.1.dist-info → oci-2.154.0.dist-info}/METADATA +1 -1
- {oci-2.152.1.dist-info → oci-2.154.0.dist-info}/RECORD +697 -530
- {oci-2.152.1.dist-info → oci-2.154.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.152.1.dist-info → oci-2.154.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.152.1.dist-info → oci-2.154.0.dist-info}/WHEEL +0 -0
- {oci-2.152.1.dist-info → oci-2.154.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,190 @@
|
|
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 .trace import Trace
|
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 ToolInvocationTrace(Trace):
|
14
|
+
"""
|
15
|
+
**Pre-General Availability: 2024-01-24**
|
16
|
+
|*Important*|
|
17
|
+
|-
|
18
|
+
|*The following legal notice applies to Oracle pre-GA releases. For copyright and other applicable notices, see `Oracle Legal Notices`__.*
|
19
|
+
|
20
|
+
|*Pre-General Availability Draft Documentation Notice*|
|
21
|
+
|-
|
22
|
+
|*This documentation is in pre-General Availability status and is intended for demonstration and preliminary use only. It may not be specific to the hardware on which you are using the software. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to this documentation and will not be responsible for any loss, costs, or damages incurred due to the use of this documentation. This documentation is not a commitment by Oracle to deliver any material, code, functionality or services. This documentation, and Oracle Pre-GA programs and services are subject to change at any time without notice and, accordingly, should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality for Oracle's Pre-GA programs and services remains at the sole discretion of Oracle. All release dates or other predictions of future events are subject to change. The future availability of any future Oracle program or service should not be relied on in entering into any license or service agreement with Oracle.*
|
23
|
+
**GenerationTrace**
|
24
|
+
|
25
|
+
|
26
|
+
The trace information about the tool selection from multiple tools.
|
27
|
+
|
28
|
+
__ https://docs.oracle.com/iaas/Content/legalnotices.htm
|
29
|
+
"""
|
30
|
+
|
31
|
+
def __init__(self, **kwargs):
|
32
|
+
"""
|
33
|
+
Initializes a new ToolInvocationTrace object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_agent_runtime.models.ToolInvocationTrace.trace_type` attribute
|
34
|
+
of this class is ``TOOL_INVOCATION_TRACE`` and it should not be changed.
|
35
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
36
|
+
|
37
|
+
:param key:
|
38
|
+
The value to assign to the key property of this ToolInvocationTrace.
|
39
|
+
:type key: str
|
40
|
+
|
41
|
+
:param parent_key:
|
42
|
+
The value to assign to the parent_key property of this ToolInvocationTrace.
|
43
|
+
:type parent_key: str
|
44
|
+
|
45
|
+
:param source:
|
46
|
+
The value to assign to the source property of this ToolInvocationTrace.
|
47
|
+
:type source: oci.generative_ai_agent_runtime.models.SourceDetails
|
48
|
+
|
49
|
+
:param time_created:
|
50
|
+
The value to assign to the time_created property of this ToolInvocationTrace.
|
51
|
+
:type time_created: datetime
|
52
|
+
|
53
|
+
:param time_finished:
|
54
|
+
The value to assign to the time_finished property of this ToolInvocationTrace.
|
55
|
+
:type time_finished: datetime
|
56
|
+
|
57
|
+
:param trace_type:
|
58
|
+
The value to assign to the trace_type property of this ToolInvocationTrace.
|
59
|
+
Allowed values for this property are: "ERROR_TRACE", "RETRIEVAL_TRACE", "GENERATION_TRACE", "TOOL_INVOCATION_TRACE", "PLANNING_TRACE", "EXECUTION_TRACE"
|
60
|
+
:type trace_type: str
|
61
|
+
|
62
|
+
:param tool_id:
|
63
|
+
The value to assign to the tool_id property of this ToolInvocationTrace.
|
64
|
+
:type tool_id: str
|
65
|
+
|
66
|
+
:param tool_name:
|
67
|
+
The value to assign to the tool_name property of this ToolInvocationTrace.
|
68
|
+
:type tool_name: str
|
69
|
+
|
70
|
+
:param invocation_details:
|
71
|
+
The value to assign to the invocation_details property of this ToolInvocationTrace.
|
72
|
+
:type invocation_details: str
|
73
|
+
|
74
|
+
"""
|
75
|
+
self.swagger_types = {
|
76
|
+
'key': 'str',
|
77
|
+
'parent_key': 'str',
|
78
|
+
'source': 'SourceDetails',
|
79
|
+
'time_created': 'datetime',
|
80
|
+
'time_finished': 'datetime',
|
81
|
+
'trace_type': 'str',
|
82
|
+
'tool_id': 'str',
|
83
|
+
'tool_name': 'str',
|
84
|
+
'invocation_details': 'str'
|
85
|
+
}
|
86
|
+
self.attribute_map = {
|
87
|
+
'key': 'key',
|
88
|
+
'parent_key': 'parentKey',
|
89
|
+
'source': 'source',
|
90
|
+
'time_created': 'timeCreated',
|
91
|
+
'time_finished': 'timeFinished',
|
92
|
+
'trace_type': 'traceType',
|
93
|
+
'tool_id': 'toolId',
|
94
|
+
'tool_name': 'toolName',
|
95
|
+
'invocation_details': 'invocationDetails'
|
96
|
+
}
|
97
|
+
self._key = None
|
98
|
+
self._parent_key = None
|
99
|
+
self._source = None
|
100
|
+
self._time_created = None
|
101
|
+
self._time_finished = None
|
102
|
+
self._trace_type = None
|
103
|
+
self._tool_id = None
|
104
|
+
self._tool_name = None
|
105
|
+
self._invocation_details = None
|
106
|
+
self._trace_type = 'TOOL_INVOCATION_TRACE'
|
107
|
+
|
108
|
+
@property
|
109
|
+
def tool_id(self):
|
110
|
+
"""
|
111
|
+
Gets the tool_id of this ToolInvocationTrace.
|
112
|
+
The ID of the selected tool based on the user query.
|
113
|
+
|
114
|
+
|
115
|
+
:return: The tool_id of this ToolInvocationTrace.
|
116
|
+
:rtype: str
|
117
|
+
"""
|
118
|
+
return self._tool_id
|
119
|
+
|
120
|
+
@tool_id.setter
|
121
|
+
def tool_id(self, tool_id):
|
122
|
+
"""
|
123
|
+
Sets the tool_id of this ToolInvocationTrace.
|
124
|
+
The ID of the selected tool based on the user query.
|
125
|
+
|
126
|
+
|
127
|
+
:param tool_id: The tool_id of this ToolInvocationTrace.
|
128
|
+
:type: str
|
129
|
+
"""
|
130
|
+
self._tool_id = tool_id
|
131
|
+
|
132
|
+
@property
|
133
|
+
def tool_name(self):
|
134
|
+
"""
|
135
|
+
Gets the tool_name of this ToolInvocationTrace.
|
136
|
+
The display name of the selected tool.
|
137
|
+
|
138
|
+
|
139
|
+
:return: The tool_name of this ToolInvocationTrace.
|
140
|
+
:rtype: str
|
141
|
+
"""
|
142
|
+
return self._tool_name
|
143
|
+
|
144
|
+
@tool_name.setter
|
145
|
+
def tool_name(self, tool_name):
|
146
|
+
"""
|
147
|
+
Sets the tool_name of this ToolInvocationTrace.
|
148
|
+
The display name of the selected tool.
|
149
|
+
|
150
|
+
|
151
|
+
:param tool_name: The tool_name of this ToolInvocationTrace.
|
152
|
+
:type: str
|
153
|
+
"""
|
154
|
+
self._tool_name = tool_name
|
155
|
+
|
156
|
+
@property
|
157
|
+
def invocation_details(self):
|
158
|
+
"""
|
159
|
+
Gets the invocation_details of this ToolInvocationTrace.
|
160
|
+
The invocation details related to the selected tool.
|
161
|
+
|
162
|
+
|
163
|
+
:return: The invocation_details of this ToolInvocationTrace.
|
164
|
+
:rtype: str
|
165
|
+
"""
|
166
|
+
return self._invocation_details
|
167
|
+
|
168
|
+
@invocation_details.setter
|
169
|
+
def invocation_details(self, invocation_details):
|
170
|
+
"""
|
171
|
+
Sets the invocation_details of this ToolInvocationTrace.
|
172
|
+
The invocation details related to the selected tool.
|
173
|
+
|
174
|
+
|
175
|
+
:param invocation_details: The invocation_details of this ToolInvocationTrace.
|
176
|
+
:type: str
|
177
|
+
"""
|
178
|
+
self._invocation_details = invocation_details
|
179
|
+
|
180
|
+
def __repr__(self):
|
181
|
+
return formatted_flat_dict(self)
|
182
|
+
|
183
|
+
def __eq__(self, other):
|
184
|
+
if other is None:
|
185
|
+
return False
|
186
|
+
|
187
|
+
return self.__dict__ == other.__dict__
|
188
|
+
|
189
|
+
def __ne__(self, other):
|
190
|
+
return not self == other
|
@@ -27,6 +27,18 @@ class Trace(object):
|
|
27
27
|
#: This constant has a value of "GENERATION_TRACE"
|
28
28
|
TRACE_TYPE_GENERATION_TRACE = "GENERATION_TRACE"
|
29
29
|
|
30
|
+
#: A constant which can be used with the trace_type property of a Trace.
|
31
|
+
#: This constant has a value of "TOOL_INVOCATION_TRACE"
|
32
|
+
TRACE_TYPE_TOOL_INVOCATION_TRACE = "TOOL_INVOCATION_TRACE"
|
33
|
+
|
34
|
+
#: A constant which can be used with the trace_type property of a Trace.
|
35
|
+
#: This constant has a value of "PLANNING_TRACE"
|
36
|
+
TRACE_TYPE_PLANNING_TRACE = "PLANNING_TRACE"
|
37
|
+
|
38
|
+
#: A constant which can be used with the trace_type property of a Trace.
|
39
|
+
#: This constant has a value of "EXECUTION_TRACE"
|
40
|
+
TRACE_TYPE_EXECUTION_TRACE = "EXECUTION_TRACE"
|
41
|
+
|
30
42
|
def __init__(self, **kwargs):
|
31
43
|
"""
|
32
44
|
Initializes a new Trace object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
@@ -34,30 +46,61 @@ class Trace(object):
|
|
34
46
|
|
35
47
|
* :class:`~oci.generative_ai_agent_runtime.models.ErrorTrace`
|
36
48
|
* :class:`~oci.generative_ai_agent_runtime.models.RetrievalTrace`
|
49
|
+
* :class:`~oci.generative_ai_agent_runtime.models.ExecutionTrace`
|
37
50
|
* :class:`~oci.generative_ai_agent_runtime.models.GenerationTrace`
|
51
|
+
* :class:`~oci.generative_ai_agent_runtime.models.ToolInvocationTrace`
|
52
|
+
* :class:`~oci.generative_ai_agent_runtime.models.PlanningTrace`
|
38
53
|
|
39
54
|
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
40
55
|
|
56
|
+
:param key:
|
57
|
+
The value to assign to the key property of this Trace.
|
58
|
+
:type key: str
|
59
|
+
|
60
|
+
:param parent_key:
|
61
|
+
The value to assign to the parent_key property of this Trace.
|
62
|
+
:type parent_key: str
|
63
|
+
|
64
|
+
:param source:
|
65
|
+
The value to assign to the source property of this Trace.
|
66
|
+
:type source: oci.generative_ai_agent_runtime.models.SourceDetails
|
67
|
+
|
41
68
|
:param time_created:
|
42
69
|
The value to assign to the time_created property of this Trace.
|
43
70
|
:type time_created: datetime
|
44
71
|
|
72
|
+
:param time_finished:
|
73
|
+
The value to assign to the time_finished property of this Trace.
|
74
|
+
:type time_finished: datetime
|
75
|
+
|
45
76
|
:param trace_type:
|
46
77
|
The value to assign to the trace_type property of this Trace.
|
47
|
-
Allowed values for this property are: "ERROR_TRACE", "RETRIEVAL_TRACE", "GENERATION_TRACE", 'UNKNOWN_ENUM_VALUE'.
|
78
|
+
Allowed values for this property are: "ERROR_TRACE", "RETRIEVAL_TRACE", "GENERATION_TRACE", "TOOL_INVOCATION_TRACE", "PLANNING_TRACE", "EXECUTION_TRACE", 'UNKNOWN_ENUM_VALUE'.
|
48
79
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
49
80
|
:type trace_type: str
|
50
81
|
|
51
82
|
"""
|
52
83
|
self.swagger_types = {
|
84
|
+
'key': 'str',
|
85
|
+
'parent_key': 'str',
|
86
|
+
'source': 'SourceDetails',
|
53
87
|
'time_created': 'datetime',
|
88
|
+
'time_finished': 'datetime',
|
54
89
|
'trace_type': 'str'
|
55
90
|
}
|
56
91
|
self.attribute_map = {
|
92
|
+
'key': 'key',
|
93
|
+
'parent_key': 'parentKey',
|
94
|
+
'source': 'source',
|
57
95
|
'time_created': 'timeCreated',
|
96
|
+
'time_finished': 'timeFinished',
|
58
97
|
'trace_type': 'traceType'
|
59
98
|
}
|
99
|
+
self._key = None
|
100
|
+
self._parent_key = None
|
101
|
+
self._source = None
|
60
102
|
self._time_created = None
|
103
|
+
self._time_finished = None
|
61
104
|
self._trace_type = None
|
62
105
|
|
63
106
|
@staticmethod
|
@@ -74,11 +117,88 @@ class Trace(object):
|
|
74
117
|
if type == 'RETRIEVAL_TRACE':
|
75
118
|
return 'RetrievalTrace'
|
76
119
|
|
120
|
+
if type == 'EXECUTION_TRACE':
|
121
|
+
return 'ExecutionTrace'
|
122
|
+
|
77
123
|
if type == 'GENERATION_TRACE':
|
78
124
|
return 'GenerationTrace'
|
125
|
+
|
126
|
+
if type == 'TOOL_INVOCATION_TRACE':
|
127
|
+
return 'ToolInvocationTrace'
|
128
|
+
|
129
|
+
if type == 'PLANNING_TRACE':
|
130
|
+
return 'PlanningTrace'
|
79
131
|
else:
|
80
132
|
return 'Trace'
|
81
133
|
|
134
|
+
@property
|
135
|
+
def key(self):
|
136
|
+
"""
|
137
|
+
Gets the key of this Trace.
|
138
|
+
Unique identifier for the event (UUID).
|
139
|
+
|
140
|
+
|
141
|
+
:return: The key of this Trace.
|
142
|
+
:rtype: str
|
143
|
+
"""
|
144
|
+
return self._key
|
145
|
+
|
146
|
+
@key.setter
|
147
|
+
def key(self, key):
|
148
|
+
"""
|
149
|
+
Sets the key of this Trace.
|
150
|
+
Unique identifier for the event (UUID).
|
151
|
+
|
152
|
+
|
153
|
+
:param key: The key of this Trace.
|
154
|
+
:type: str
|
155
|
+
"""
|
156
|
+
self._key = key
|
157
|
+
|
158
|
+
@property
|
159
|
+
def parent_key(self):
|
160
|
+
"""
|
161
|
+
Gets the parent_key of this Trace.
|
162
|
+
Identifier of the parent event, if applicable (UUID).
|
163
|
+
|
164
|
+
|
165
|
+
:return: The parent_key of this Trace.
|
166
|
+
:rtype: str
|
167
|
+
"""
|
168
|
+
return self._parent_key
|
169
|
+
|
170
|
+
@parent_key.setter
|
171
|
+
def parent_key(self, parent_key):
|
172
|
+
"""
|
173
|
+
Sets the parent_key of this Trace.
|
174
|
+
Identifier of the parent event, if applicable (UUID).
|
175
|
+
|
176
|
+
|
177
|
+
:param parent_key: The parent_key of this Trace.
|
178
|
+
:type: str
|
179
|
+
"""
|
180
|
+
self._parent_key = parent_key
|
181
|
+
|
182
|
+
@property
|
183
|
+
def source(self):
|
184
|
+
"""
|
185
|
+
Gets the source of this Trace.
|
186
|
+
|
187
|
+
:return: The source of this Trace.
|
188
|
+
:rtype: oci.generative_ai_agent_runtime.models.SourceDetails
|
189
|
+
"""
|
190
|
+
return self._source
|
191
|
+
|
192
|
+
@source.setter
|
193
|
+
def source(self, source):
|
194
|
+
"""
|
195
|
+
Sets the source of this Trace.
|
196
|
+
|
197
|
+
:param source: The source of this Trace.
|
198
|
+
:type: oci.generative_ai_agent_runtime.models.SourceDetails
|
199
|
+
"""
|
200
|
+
self._source = source
|
201
|
+
|
82
202
|
@property
|
83
203
|
def time_created(self):
|
84
204
|
"""
|
@@ -103,13 +223,37 @@ class Trace(object):
|
|
103
223
|
"""
|
104
224
|
self._time_created = time_created
|
105
225
|
|
226
|
+
@property
|
227
|
+
def time_finished(self):
|
228
|
+
"""
|
229
|
+
Gets the time_finished of this Trace.
|
230
|
+
Timestamp for when the event ended (In RFC 3339).
|
231
|
+
|
232
|
+
|
233
|
+
:return: The time_finished of this Trace.
|
234
|
+
:rtype: datetime
|
235
|
+
"""
|
236
|
+
return self._time_finished
|
237
|
+
|
238
|
+
@time_finished.setter
|
239
|
+
def time_finished(self, time_finished):
|
240
|
+
"""
|
241
|
+
Sets the time_finished of this Trace.
|
242
|
+
Timestamp for when the event ended (In RFC 3339).
|
243
|
+
|
244
|
+
|
245
|
+
:param time_finished: The time_finished of this Trace.
|
246
|
+
:type: datetime
|
247
|
+
"""
|
248
|
+
self._time_finished = time_finished
|
249
|
+
|
106
250
|
@property
|
107
251
|
def trace_type(self):
|
108
252
|
"""
|
109
253
|
**[Required]** Gets the trace_type of this Trace.
|
110
254
|
The type of the trace.
|
111
255
|
|
112
|
-
Allowed values for this property are: "ERROR_TRACE", "RETRIEVAL_TRACE", "GENERATION_TRACE", 'UNKNOWN_ENUM_VALUE'.
|
256
|
+
Allowed values for this property are: "ERROR_TRACE", "RETRIEVAL_TRACE", "GENERATION_TRACE", "TOOL_INVOCATION_TRACE", "PLANNING_TRACE", "EXECUTION_TRACE", 'UNKNOWN_ENUM_VALUE'.
|
113
257
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
114
258
|
|
115
259
|
|
@@ -128,7 +272,7 @@ class Trace(object):
|
|
128
272
|
:param trace_type: The trace_type of this Trace.
|
129
273
|
:type: str
|
130
274
|
"""
|
131
|
-
allowed_values = ["ERROR_TRACE", "RETRIEVAL_TRACE", "GENERATION_TRACE"]
|
275
|
+
allowed_values = ["ERROR_TRACE", "RETRIEVAL_TRACE", "GENERATION_TRACE", "TOOL_INVOCATION_TRACE", "PLANNING_TRACE", "EXECUTION_TRACE"]
|
132
276
|
if not value_allowed_none_or_none_sentinel(trace_type, allowed_values):
|
133
277
|
trace_type = 'UNKNOWN_ENUM_VALUE'
|
134
278
|
self._trace_type = trace_type
|
@@ -0,0 +1,93 @@
|
|
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 Usage(object):
|
14
|
+
"""
|
15
|
+
Details of usage.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new Usage object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param model_details:
|
24
|
+
The value to assign to the model_details property of this Usage.
|
25
|
+
:type model_details: oci.generative_ai_agent_runtime.models.ModelDetails
|
26
|
+
|
27
|
+
:param usage_details:
|
28
|
+
The value to assign to the usage_details property of this Usage.
|
29
|
+
:type usage_details: oci.generative_ai_agent_runtime.models.UsageDetails
|
30
|
+
|
31
|
+
"""
|
32
|
+
self.swagger_types = {
|
33
|
+
'model_details': 'ModelDetails',
|
34
|
+
'usage_details': 'UsageDetails'
|
35
|
+
}
|
36
|
+
self.attribute_map = {
|
37
|
+
'model_details': 'modelDetails',
|
38
|
+
'usage_details': 'usageDetails'
|
39
|
+
}
|
40
|
+
self._model_details = None
|
41
|
+
self._usage_details = None
|
42
|
+
|
43
|
+
@property
|
44
|
+
def model_details(self):
|
45
|
+
"""
|
46
|
+
Gets the model_details of this Usage.
|
47
|
+
|
48
|
+
:return: The model_details of this Usage.
|
49
|
+
:rtype: oci.generative_ai_agent_runtime.models.ModelDetails
|
50
|
+
"""
|
51
|
+
return self._model_details
|
52
|
+
|
53
|
+
@model_details.setter
|
54
|
+
def model_details(self, model_details):
|
55
|
+
"""
|
56
|
+
Sets the model_details of this Usage.
|
57
|
+
|
58
|
+
:param model_details: The model_details of this Usage.
|
59
|
+
:type: oci.generative_ai_agent_runtime.models.ModelDetails
|
60
|
+
"""
|
61
|
+
self._model_details = model_details
|
62
|
+
|
63
|
+
@property
|
64
|
+
def usage_details(self):
|
65
|
+
"""
|
66
|
+
Gets the usage_details of this Usage.
|
67
|
+
|
68
|
+
:return: The usage_details of this Usage.
|
69
|
+
:rtype: oci.generative_ai_agent_runtime.models.UsageDetails
|
70
|
+
"""
|
71
|
+
return self._usage_details
|
72
|
+
|
73
|
+
@usage_details.setter
|
74
|
+
def usage_details(self, usage_details):
|
75
|
+
"""
|
76
|
+
Sets the usage_details of this Usage.
|
77
|
+
|
78
|
+
:param usage_details: The usage_details of this Usage.
|
79
|
+
:type: oci.generative_ai_agent_runtime.models.UsageDetails
|
80
|
+
"""
|
81
|
+
self._usage_details = usage_details
|
82
|
+
|
83
|
+
def __repr__(self):
|
84
|
+
return formatted_flat_dict(self)
|
85
|
+
|
86
|
+
def __eq__(self, other):
|
87
|
+
if other is None:
|
88
|
+
return False
|
89
|
+
|
90
|
+
return self.__dict__ == other.__dict__
|
91
|
+
|
92
|
+
def __ne__(self, other):
|
93
|
+
return not self == other
|
@@ -0,0 +1,163 @@
|
|
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 UsageDetails(object):
|
14
|
+
"""
|
15
|
+
Usage details.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new UsageDetails object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param input_token_count:
|
24
|
+
The value to assign to the input_token_count property of this UsageDetails.
|
25
|
+
:type input_token_count: int
|
26
|
+
|
27
|
+
:param output_token_count:
|
28
|
+
The value to assign to the output_token_count property of this UsageDetails.
|
29
|
+
:type output_token_count: int
|
30
|
+
|
31
|
+
:param input_char_count:
|
32
|
+
The value to assign to the input_char_count property of this UsageDetails.
|
33
|
+
:type input_char_count: int
|
34
|
+
|
35
|
+
:param output_char_count:
|
36
|
+
The value to assign to the output_char_count property of this UsageDetails.
|
37
|
+
:type output_char_count: int
|
38
|
+
|
39
|
+
"""
|
40
|
+
self.swagger_types = {
|
41
|
+
'input_token_count': 'int',
|
42
|
+
'output_token_count': 'int',
|
43
|
+
'input_char_count': 'int',
|
44
|
+
'output_char_count': 'int'
|
45
|
+
}
|
46
|
+
self.attribute_map = {
|
47
|
+
'input_token_count': 'inputTokenCount',
|
48
|
+
'output_token_count': 'outputTokenCount',
|
49
|
+
'input_char_count': 'inputCharCount',
|
50
|
+
'output_char_count': 'outputCharCount'
|
51
|
+
}
|
52
|
+
self._input_token_count = None
|
53
|
+
self._output_token_count = None
|
54
|
+
self._input_char_count = None
|
55
|
+
self._output_char_count = None
|
56
|
+
|
57
|
+
@property
|
58
|
+
def input_token_count(self):
|
59
|
+
"""
|
60
|
+
Gets the input_token_count of this UsageDetails.
|
61
|
+
Number of input tokens.
|
62
|
+
|
63
|
+
|
64
|
+
:return: The input_token_count of this UsageDetails.
|
65
|
+
:rtype: int
|
66
|
+
"""
|
67
|
+
return self._input_token_count
|
68
|
+
|
69
|
+
@input_token_count.setter
|
70
|
+
def input_token_count(self, input_token_count):
|
71
|
+
"""
|
72
|
+
Sets the input_token_count of this UsageDetails.
|
73
|
+
Number of input tokens.
|
74
|
+
|
75
|
+
|
76
|
+
:param input_token_count: The input_token_count of this UsageDetails.
|
77
|
+
:type: int
|
78
|
+
"""
|
79
|
+
self._input_token_count = input_token_count
|
80
|
+
|
81
|
+
@property
|
82
|
+
def output_token_count(self):
|
83
|
+
"""
|
84
|
+
Gets the output_token_count of this UsageDetails.
|
85
|
+
Number of output tokens.
|
86
|
+
|
87
|
+
|
88
|
+
:return: The output_token_count of this UsageDetails.
|
89
|
+
:rtype: int
|
90
|
+
"""
|
91
|
+
return self._output_token_count
|
92
|
+
|
93
|
+
@output_token_count.setter
|
94
|
+
def output_token_count(self, output_token_count):
|
95
|
+
"""
|
96
|
+
Sets the output_token_count of this UsageDetails.
|
97
|
+
Number of output tokens.
|
98
|
+
|
99
|
+
|
100
|
+
:param output_token_count: The output_token_count of this UsageDetails.
|
101
|
+
:type: int
|
102
|
+
"""
|
103
|
+
self._output_token_count = output_token_count
|
104
|
+
|
105
|
+
@property
|
106
|
+
def input_char_count(self):
|
107
|
+
"""
|
108
|
+
Gets the input_char_count of this UsageDetails.
|
109
|
+
Number of input characters.
|
110
|
+
|
111
|
+
|
112
|
+
:return: The input_char_count of this UsageDetails.
|
113
|
+
:rtype: int
|
114
|
+
"""
|
115
|
+
return self._input_char_count
|
116
|
+
|
117
|
+
@input_char_count.setter
|
118
|
+
def input_char_count(self, input_char_count):
|
119
|
+
"""
|
120
|
+
Sets the input_char_count of this UsageDetails.
|
121
|
+
Number of input characters.
|
122
|
+
|
123
|
+
|
124
|
+
:param input_char_count: The input_char_count of this UsageDetails.
|
125
|
+
:type: int
|
126
|
+
"""
|
127
|
+
self._input_char_count = input_char_count
|
128
|
+
|
129
|
+
@property
|
130
|
+
def output_char_count(self):
|
131
|
+
"""
|
132
|
+
Gets the output_char_count of this UsageDetails.
|
133
|
+
Number of output characters.
|
134
|
+
|
135
|
+
|
136
|
+
:return: The output_char_count of this UsageDetails.
|
137
|
+
:rtype: int
|
138
|
+
"""
|
139
|
+
return self._output_char_count
|
140
|
+
|
141
|
+
@output_char_count.setter
|
142
|
+
def output_char_count(self, output_char_count):
|
143
|
+
"""
|
144
|
+
Sets the output_char_count of this UsageDetails.
|
145
|
+
Number of output characters.
|
146
|
+
|
147
|
+
|
148
|
+
:param output_char_count: The output_char_count of this UsageDetails.
|
149
|
+
:type: int
|
150
|
+
"""
|
151
|
+
self._output_char_count = output_char_count
|
152
|
+
|
153
|
+
def __repr__(self):
|
154
|
+
return formatted_flat_dict(self)
|
155
|
+
|
156
|
+
def __eq__(self, other):
|
157
|
+
if other is None:
|
158
|
+
return False
|
159
|
+
|
160
|
+
return self.__dict__ == other.__dict__
|
161
|
+
|
162
|
+
def __ne__(self, other):
|
163
|
+
return not self == other
|