oci 2.129.3__py3-none-any.whl → 2.130.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/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 +22 -22
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +870 -87
- oci/ai_speech/ai_service_speech_client_composite_operations.py +146 -0
- oci/ai_speech/models/__init__.py +70 -0
- oci/ai_speech/models/change_customization_compartment_details.py +78 -0
- oci/ai_speech/models/create_customization_details.py +289 -0
- oci/ai_speech/models/create_realtime_session_token_details.py +142 -0
- oci/ai_speech/models/customization.py +544 -0
- oci/ai_speech/models/customization_collection.py +72 -0
- oci/ai_speech/models/customization_dataset_details.py +109 -0
- oci/ai_speech/models/customization_inference.py +173 -0
- oci/ai_speech/models/customization_inference_entity.py +138 -0
- oci/ai_speech/models/customization_model_details.py +139 -0
- oci/ai_speech/models/customization_referenced_entities.py +134 -0
- oci/ai_speech/models/customization_summary.py +396 -0
- oci/ai_speech/models/entity.py +134 -0
- oci/ai_speech/models/entity_list.py +166 -0
- oci/ai_speech/models/entity_list_dataset.py +115 -0
- oci/ai_speech/models/location_details.py +101 -0
- oci/ai_speech/models/object_list_dataset.py +144 -0
- oci/ai_speech/models/object_storage_dataset.py +109 -0
- oci/ai_speech/models/pronunciation.py +99 -0
- oci/ai_speech/models/realtime_message.py +168 -0
- oci/ai_speech/models/realtime_message_ack_audio.py +85 -0
- oci/ai_speech/models/realtime_message_ack_audio_details.py +134 -0
- oci/ai_speech/models/realtime_message_authentication.py +140 -0
- oci/ai_speech/models/realtime_message_authentication_credentials.py +89 -0
- oci/ai_speech/models/realtime_message_authentication_token.py +89 -0
- oci/ai_speech/models/realtime_message_connect.py +58 -0
- oci/ai_speech/models/realtime_message_error.py +120 -0
- oci/ai_speech/models/realtime_message_out.py +103 -0
- oci/ai_speech/models/realtime_message_result.py +89 -0
- oci/ai_speech/models/realtime_message_result_transcription.py +258 -0
- oci/ai_speech/models/realtime_message_result_transcription_token.py +212 -0
- oci/ai_speech/models/realtime_message_send_final_result.py +51 -0
- oci/ai_speech/models/realtime_model_details.py +139 -0
- oci/ai_speech/models/realtime_parameters.py +390 -0
- oci/ai_speech/models/realtime_session_token.py +200 -0
- oci/ai_speech/models/update_customization_details.py +254 -0
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- 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 +29 -29
- oci/apm_synthetics/models/__init__.py +14 -0
- oci/apm_synthetics/models/basic_authentication_details.py +99 -0
- oci/apm_synthetics/models/browser_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/create_monitor_details.py +48 -9
- oci/apm_synthetics/models/database_wallet_details.py +103 -0
- oci/apm_synthetics/models/dns_sec_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/dns_server_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/dns_trace_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/ftp_monitor_configuration.py +379 -0
- oci/apm_synthetics/models/monitor.py +112 -11
- oci/apm_synthetics/models/monitor_configuration.py +19 -3
- oci/apm_synthetics/models/monitor_summary.py +112 -11
- oci/apm_synthetics/models/network_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/password.py +109 -0
- oci/apm_synthetics/models/password_in_text.py +82 -0
- oci/apm_synthetics/models/password_in_vault.py +83 -0
- oci/apm_synthetics/models/rest_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/scripted_browser_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/scripted_rest_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/sql_monitor_configuration.py +307 -0
- oci/apm_synthetics/models/update_monitor_details.py +37 -6
- oci/apm_synthetics/models/vantage_point_info.py +33 -2
- oci/apm_synthetics/models/worker_monitor_list.py +11 -3
- 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/auth/certificate_retriever.py +13 -6
- oci/auth/signers/ephemeral_resource_principals_v21_signer.py +38 -5
- oci/auth/signers/instance_principals_security_token_signer.py +1 -1
- oci/auth/signers/key_pair_signer.py +2 -2
- oci/auth/signers/resource_principals_signer.py +17 -5
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +66 -66
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +22 -22
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- 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 +508 -99
- oci/core/compute_client_composite_operations.py +39 -0
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +6 -0
- oci/core/models/instance_maintenance_event.py +1022 -0
- oci/core/models/instance_maintenance_event_summary.py +795 -0
- oci/core/models/update_instance_maintenance_event_details.py +281 -0
- oci/core/virtual_network_client.py +247 -247
- 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 +42 -42
- 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 +3762 -2702
- oci/data_safe/data_safe_client_composite_operations.py +307 -0
- oci/data_safe/models/__init__.py +14 -0
- oci/data_safe/models/alert.py +62 -0
- oci/data_safe/models/alert_policy.py +31 -0
- oci/data_safe/models/alert_policy_rule.py +127 -2
- oci/data_safe/models/alert_policy_rule_summary.py +127 -2
- oci/data_safe/models/alert_policy_summary.py +31 -0
- oci/data_safe/models/alert_summary.py +62 -0
- oci/data_safe/models/audit_event_summary.py +62 -0
- oci/data_safe/models/create_alert_policy_details.py +31 -0
- oci/data_safe/models/create_alert_policy_rule_details.py +33 -2
- oci/data_safe/models/create_discovery_job_details.py +33 -0
- oci/data_safe/models/create_security_assessment_details.py +31 -0
- oci/data_safe/models/create_sensitive_data_model_details.py +35 -0
- oci/data_safe/models/create_user_assessment_details.py +31 -0
- oci/data_safe/models/discovery_job.py +31 -0
- oci/data_safe/models/finding_summary.py +31 -0
- oci/data_safe/models/generate_report_details.py +2 -2
- oci/data_safe/models/references.py +34 -3
- oci/data_safe/models/report.py +44 -5
- oci/data_safe/models/report_definition.py +40 -5
- oci/data_safe/models/report_definition_summary.py +7 -3
- oci/data_safe/models/report_summary.py +13 -5
- oci/data_safe/models/schedule_report_details.py +2 -2
- oci/data_safe/models/security_assessment.py +31 -0
- oci/data_safe/models/sensitive_data_model.py +35 -0
- oci/data_safe/models/sensitive_data_model_sensitive_type_collection.py +72 -0
- oci/data_safe/models/sensitive_data_model_sensitive_type_summary.py +103 -0
- oci/data_safe/models/sql_firewall_allowed_sql.py +626 -0
- oci/data_safe/models/sql_firewall_allowed_sql_dimensions.py +7 -3
- oci/data_safe/models/sql_firewall_allowed_sql_summary.py +7 -3
- oci/data_safe/models/tables_for_discovery.py +103 -0
- oci/data_safe/models/target_alert_policy_association.py +31 -0
- oci/data_safe/models/target_alert_policy_association_summary.py +31 -0
- oci/data_safe/models/unset_security_assessment_baseline_details.py +72 -0
- oci/data_safe/models/unset_user_assessment_baseline_details.py +72 -0
- oci/data_safe/models/update_alert_policy_details.py +240 -0
- oci/data_safe/models/update_alert_policy_rule_details.py +33 -2
- oci/data_safe/models/update_security_assessment_details.py +31 -0
- oci/data_safe/models/update_sensitive_data_model_details.py +35 -0
- oci/data_safe/models/update_user_assessment_details.py +31 -0
- oci/data_safe/models/user_assessment.py +31 -0
- oci/data_safe/models/user_assessment_summary.py +31 -0
- oci/data_safe/models/work_request.py +39 -3
- oci/data_safe/models/work_request_summary.py +39 -3
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +707 -353
- oci/database/database_client_composite_operations.py +123 -0
- oci/database/models/__init__.py +8 -0
- oci/database/models/autonomous_database.py +103 -2
- oci/database/models/autonomous_database_summary.py +103 -2
- oci/database/models/change_autonomous_database_subscription_details.py +107 -0
- oci/database/models/change_cloud_exadata_infrastructure_subscription_details.py +107 -0
- oci/database/models/change_cloud_vm_cluster_subscription_details.py +107 -0
- oci/database/models/change_subscription_details.py +107 -0
- oci/database/models/cloud_exadata_infrastructure.py +35 -0
- oci/database/models/cloud_exadata_infrastructure_summary.py +35 -0
- oci/database/models/cloud_vm_cluster.py +35 -0
- oci/database/models/cloud_vm_cluster_summary.py +35 -0
- oci/database/models/create_autonomous_database_base.py +66 -0
- oci/database/models/create_autonomous_database_clone_details.py +14 -0
- oci/database/models/create_autonomous_database_details.py +14 -0
- oci/database/models/create_autonomous_database_from_backup_details.py +14 -0
- oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +14 -0
- oci/database/models/create_cloud_exadata_infrastructure_details.py +35 -0
- oci/database/models/create_cloud_vm_cluster_details.py +35 -0
- oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +14 -0
- oci/database/models/create_cross_region_disaster_recovery_details.py +14 -0
- oci/database/models/create_cross_tenancy_disaster_recovery_details.py +14 -0
- oci/database/models/create_refreshable_autonomous_database_clone_details.py +14 -0
- oci/database/models/update_autonomous_database_details.py +31 -0
- oci/database_management/db_management_client.py +208 -208
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +792 -66
- oci/database_migration/database_migration_client_composite_operations.py +179 -0
- oci/database_migration/models/__init__.py +8 -0
- oci/database_migration/models/adb_dedicated_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/create_adb_dedicated_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/create_non_adb_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/create_parameter_file_version_details.py +181 -0
- oci/database_migration/models/job.py +31 -0
- oci/database_migration/models/non_adb_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/parameter_file_version.py +274 -0
- oci/database_migration/models/parameter_file_version_collection.py +72 -0
- oci/database_migration/models/parameter_file_version_summary.py +342 -0
- oci/database_migration/models/phase_status.py +80 -2
- oci/database_migration/models/update_adb_dedicated_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/update_non_adb_auto_create_tablespace_details.py +11 -3
- oci/database_tools/database_tools_client.py +23 -23
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- 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_data_lake_client.py +13 -13
- 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 +51 -51
- oci/fleet_software_update/fleet_software_update_client.py +259 -45
- oci/fleet_software_update/fleet_software_update_client_composite_operations.py +52 -1
- oci/fleet_software_update/models/__init__.py +4 -0
- oci/fleet_software_update/models/cloud_vm_cluster_target_summary.py +33 -2
- oci/fleet_software_update/models/create_fsu_cycle_details.py +27 -0
- oci/fleet_software_update/models/create_patch_fsu_cycle.py +7 -0
- oci/fleet_software_update/models/diagnostics_collection_details.py +94 -0
- oci/fleet_software_update/models/fsu_collection_target.py +239 -0
- oci/fleet_software_update/models/fsu_cycle.py +27 -0
- oci/fleet_software_update/models/fsu_cycle_summary.py +27 -0
- oci/fleet_software_update/models/gi_resource_id_filter.py +7 -3
- oci/fleet_software_update/models/image_id_fsu_target_details.py +4 -1
- oci/fleet_software_update/models/patch_fsu_cycle.py +7 -0
- oci/fleet_software_update/models/update_fsu_cycle_details.py +27 -0
- oci/fleet_software_update/models/update_patch_fsu_cycle.py +7 -0
- oci/fleet_software_update/models/vm_cluster_target_summary.py +33 -2
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
- 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 +68 -68
- 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 +1525 -662
- oci/identity_domains/models/__init__.py +12 -0
- oci/identity_domains/models/extension_social_identity_provider.py +220 -0
- oci/identity_domains/models/identity_propagation_trust.py +0 -49
- oci/identity_domains/models/identity_provider_jit_prov_assigned_groups.py +214 -0
- oci/identity_domains/models/social_identity_provider.py +2083 -0
- oci/identity_domains/models/social_identity_provider_jit_prov_assigned_groups.py +202 -0
- oci/identity_domains/models/social_identity_provider_relay_idp_param_mappings.py +147 -0
- oci/identity_domains/models/social_identity_provider_search_request.py +364 -0
- oci/identity_domains/models/social_identity_providers.py +196 -0
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- 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/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/models/__init__.py +22 -0
- oci/network_firewall/models/create_tunnel_inspection_rule_details.py +218 -0
- oci/network_firewall/models/create_vxlan_inspection_rule_details.py +127 -0
- oci/network_firewall/models/tunnel_inspection_rule.py +280 -0
- oci/network_firewall/models/tunnel_inspection_rule_summary.py +253 -0
- oci/network_firewall/models/tunnel_inspection_rule_summary_collection.py +72 -0
- oci/network_firewall/models/update_tunnel_inspection_rule_details.py +187 -0
- oci/network_firewall/models/update_vxlan_inspection_rule_details.py +120 -0
- oci/network_firewall/models/vxlan_inspection_rule.py +141 -0
- oci/network_firewall/models/vxlan_inspection_rule_match_criteria.py +104 -0
- oci/network_firewall/models/vxlan_inspection_rule_profile.py +72 -0
- oci/network_firewall/models/vxlan_inspection_rule_summary.py +134 -0
- oci/network_firewall/network_firewall_client.py +837 -97
- oci/network_firewall/network_firewall_client_composite_operations.py +42 -0
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/object_storage/transfer/internal/download/__init__.py +1 -1
- 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 +14 -14
- 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/models/__init__.py +22 -0
- oci/opsi/models/autonomous_database_configuration_summary.py +1 -1
- oci/opsi/models/autonomous_database_insight.py +1 -1
- oci/opsi/models/autonomous_database_insight_summary.py +1 -1
- oci/opsi/models/create_database_insight_details.py +11 -3
- oci/opsi/models/create_em_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/create_mds_my_sql_database_insight_details.py +107 -0
- oci/opsi/models/create_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/database_configuration_summary.py +11 -3
- oci/opsi/models/database_insight.py +11 -3
- oci/opsi/models/database_insight_summary.py +11 -3
- oci/opsi/models/em_managed_external_database_configuration_summary.py +1 -1
- oci/opsi/models/em_managed_external_database_insight.py +1 -1
- oci/opsi/models/em_managed_external_database_insight_summary.py +1 -1
- oci/opsi/models/enable_database_insight_details.py +11 -3
- oci/opsi/models/enable_em_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/enable_mds_my_sql_database_insight_details.py +51 -0
- oci/opsi/models/enable_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/host_containers.py +182 -0
- oci/opsi/models/host_cpu_usage.py +1 -1
- oci/opsi/models/host_filesystem_usage.py +30 -3
- oci/opsi/models/host_gpu_processes.py +1 -1
- oci/opsi/models/host_gpu_usage.py +1 -1
- oci/opsi/models/host_io_usage.py +244 -0
- oci/opsi/models/host_memory_usage.py +1 -1
- oci/opsi/models/host_network_activity_summary.py +1 -1
- oci/opsi/models/host_performance_metric_group.py +19 -3
- oci/opsi/models/host_top_processes.py +158 -3
- oci/opsi/models/ingest_my_sql_sql_stats_details.py +72 -0
- oci/opsi/models/ingest_my_sql_sql_stats_response_details.py +72 -0
- oci/opsi/models/macs_managed_external_database_configuration_summary.py +1 -1
- oci/opsi/models/macs_managed_external_database_insight.py +1 -1
- oci/opsi/models/macs_managed_external_database_insight_summary.py +1 -1
- oci/opsi/models/mds_my_sql_database_insight.py +374 -0
- oci/opsi/models/mds_my_sql_database_insight_summary.py +210 -0
- oci/opsi/models/mds_mysql_database_configuration_summary.py +251 -0
- oci/opsi/models/my_sql_sql_stats.py +1074 -0
- oci/opsi/models/pe_comanaged_database_insight.py +1 -1
- oci/opsi/models/pe_comanaged_database_insight_summary.py +1 -1
- oci/opsi/models/pe_comanaged_managed_external_database_configuration_summary.py +1 -1
- oci/opsi/models/resource_statistics.py +64 -2
- oci/opsi/models/summarize_host_insight_host_recommendation_aggregation.py +11 -3
- oci/opsi/models/summarize_host_insight_resource_capacity_trend_aggregation_collection.py +11 -3
- oci/opsi/models/summarize_host_insight_resource_forecast_trend_aggregation.py +11 -3
- oci/opsi/models/summarize_host_insight_resource_statistics_aggregation_collection.py +11 -3
- oci/opsi/models/summarize_host_insight_resource_usage_aggregation.py +11 -3
- oci/opsi/models/summarize_host_insight_resource_usage_trend_aggregation_collection.py +11 -3
- oci/opsi/models/summarize_host_insight_resource_utilization_insight_aggregation.py +11 -3
- oci/opsi/models/update_autonomous_database_insight_details.py +1 -1
- oci/opsi/models/update_database_insight_details.py +11 -3
- oci/opsi/models/update_em_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/update_macs_managed_external_database_insight_details.py +2 -2
- oci/opsi/models/update_mds_my_sql_database_insight.py +65 -0
- oci/opsi/models/update_pe_comanaged_database_insight_details.py +2 -2
- oci/opsi/operations_insights_client.py +464 -195
- 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 +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- 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 +27 -27
- oci/os_management_hub/work_request_client.py +4 -4
- 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 +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +25 -25
- oci/redis/models/create_redis_cluster_details.py +12 -2
- oci/redis/models/redis_cluster.py +19 -5
- oci/redis/models/redis_cluster_summary.py +12 -2
- oci/redis/models/update_redis_cluster_details.py +12 -2
- oci/redis/redis_cluster_client.py +11 -11
- 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/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- 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/baselineable_metric.py +155 -124
- oci/stack_monitoring/models/baselineable_metric_summary.py +31 -0
- oci/stack_monitoring/models/create_baselineable_metric_details.py +35 -4
- oci/stack_monitoring/models/update_baselineable_metric_details.py +31 -0
- oci/stack_monitoring/stack_monitoring_client.py +74 -64
- 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 +13 -13
- 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-2.129.3.dist-info → oci-2.130.0.dist-info}/METADATA +1 -1
- {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/RECORD +507 -417
- {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/WHEEL +0 -0
- {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,390 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, 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: 20220101
|
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 RealtimeParameters(object):
|
14
|
+
"""
|
15
|
+
Parameters to be sent to the realtime speech service over a websocket connection.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the stabilize_partial_results property of a RealtimeParameters.
|
19
|
+
#: This constant has a value of "NONE"
|
20
|
+
STABILIZE_PARTIAL_RESULTS_NONE = "NONE"
|
21
|
+
|
22
|
+
#: A constant which can be used with the stabilize_partial_results property of a RealtimeParameters.
|
23
|
+
#: This constant has a value of "LOW"
|
24
|
+
STABILIZE_PARTIAL_RESULTS_LOW = "LOW"
|
25
|
+
|
26
|
+
#: A constant which can be used with the stabilize_partial_results property of a RealtimeParameters.
|
27
|
+
#: This constant has a value of "MEDIUM"
|
28
|
+
STABILIZE_PARTIAL_RESULTS_MEDIUM = "MEDIUM"
|
29
|
+
|
30
|
+
#: A constant which can be used with the stabilize_partial_results property of a RealtimeParameters.
|
31
|
+
#: This constant has a value of "HIGH"
|
32
|
+
STABILIZE_PARTIAL_RESULTS_HIGH = "HIGH"
|
33
|
+
|
34
|
+
#: A constant which can be used with the model_domain property of a RealtimeParameters.
|
35
|
+
#: This constant has a value of "GENERIC"
|
36
|
+
MODEL_DOMAIN_GENERIC = "GENERIC"
|
37
|
+
|
38
|
+
#: A constant which can be used with the model_domain property of a RealtimeParameters.
|
39
|
+
#: This constant has a value of "MEDICAL"
|
40
|
+
MODEL_DOMAIN_MEDICAL = "MEDICAL"
|
41
|
+
|
42
|
+
def __init__(self, **kwargs):
|
43
|
+
"""
|
44
|
+
Initializes a new RealtimeParameters object with values from keyword arguments.
|
45
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
46
|
+
|
47
|
+
:param encoding:
|
48
|
+
The value to assign to the encoding property of this RealtimeParameters.
|
49
|
+
:type encoding: str
|
50
|
+
|
51
|
+
:param is_ack_enabled:
|
52
|
+
The value to assign to the is_ack_enabled property of this RealtimeParameters.
|
53
|
+
:type is_ack_enabled: bool
|
54
|
+
|
55
|
+
:param partial_silence_threshold_in_ms:
|
56
|
+
The value to assign to the partial_silence_threshold_in_ms property of this RealtimeParameters.
|
57
|
+
:type partial_silence_threshold_in_ms: int
|
58
|
+
|
59
|
+
:param final_silence_threshold_in_ms:
|
60
|
+
The value to assign to the final_silence_threshold_in_ms property of this RealtimeParameters.
|
61
|
+
:type final_silence_threshold_in_ms: int
|
62
|
+
|
63
|
+
:param stabilize_partial_results:
|
64
|
+
The value to assign to the stabilize_partial_results property of this RealtimeParameters.
|
65
|
+
Allowed values for this property are: "NONE", "LOW", "MEDIUM", "HIGH"
|
66
|
+
:type stabilize_partial_results: str
|
67
|
+
|
68
|
+
:param model_domain:
|
69
|
+
The value to assign to the model_domain property of this RealtimeParameters.
|
70
|
+
Allowed values for this property are: "GENERIC", "MEDICAL"
|
71
|
+
:type model_domain: str
|
72
|
+
|
73
|
+
:param language_code:
|
74
|
+
The value to assign to the language_code property of this RealtimeParameters.
|
75
|
+
:type language_code: str
|
76
|
+
|
77
|
+
:param should_ignore_invalid_customizations:
|
78
|
+
The value to assign to the should_ignore_invalid_customizations property of this RealtimeParameters.
|
79
|
+
:type should_ignore_invalid_customizations: bool
|
80
|
+
|
81
|
+
:param customizations:
|
82
|
+
The value to assign to the customizations property of this RealtimeParameters.
|
83
|
+
:type customizations: list[oci.ai_speech.models.CustomizationInference]
|
84
|
+
|
85
|
+
"""
|
86
|
+
self.swagger_types = {
|
87
|
+
'encoding': 'str',
|
88
|
+
'is_ack_enabled': 'bool',
|
89
|
+
'partial_silence_threshold_in_ms': 'int',
|
90
|
+
'final_silence_threshold_in_ms': 'int',
|
91
|
+
'stabilize_partial_results': 'str',
|
92
|
+
'model_domain': 'str',
|
93
|
+
'language_code': 'str',
|
94
|
+
'should_ignore_invalid_customizations': 'bool',
|
95
|
+
'customizations': 'list[CustomizationInference]'
|
96
|
+
}
|
97
|
+
|
98
|
+
self.attribute_map = {
|
99
|
+
'encoding': 'encoding',
|
100
|
+
'is_ack_enabled': 'isAckEnabled',
|
101
|
+
'partial_silence_threshold_in_ms': 'partialSilenceThresholdInMs',
|
102
|
+
'final_silence_threshold_in_ms': 'finalSilenceThresholdInMs',
|
103
|
+
'stabilize_partial_results': 'stabilizePartialResults',
|
104
|
+
'model_domain': 'modelDomain',
|
105
|
+
'language_code': 'languageCode',
|
106
|
+
'should_ignore_invalid_customizations': 'shouldIgnoreInvalidCustomizations',
|
107
|
+
'customizations': 'customizations'
|
108
|
+
}
|
109
|
+
|
110
|
+
self._encoding = None
|
111
|
+
self._is_ack_enabled = None
|
112
|
+
self._partial_silence_threshold_in_ms = None
|
113
|
+
self._final_silence_threshold_in_ms = None
|
114
|
+
self._stabilize_partial_results = None
|
115
|
+
self._model_domain = None
|
116
|
+
self._language_code = None
|
117
|
+
self._should_ignore_invalid_customizations = None
|
118
|
+
self._customizations = None
|
119
|
+
|
120
|
+
@property
|
121
|
+
def encoding(self):
|
122
|
+
"""
|
123
|
+
Gets the encoding of this RealtimeParameters.
|
124
|
+
Audio encoding to use
|
125
|
+
- audio/raw;rate=16000
|
126
|
+
- audio/raw;rate=8000
|
127
|
+
- audio/raw;rate=8000;codec=mulaw
|
128
|
+
- audio/raw;rate=8000;codec=alaw
|
129
|
+
|
130
|
+
|
131
|
+
:return: The encoding of this RealtimeParameters.
|
132
|
+
:rtype: str
|
133
|
+
"""
|
134
|
+
return self._encoding
|
135
|
+
|
136
|
+
@encoding.setter
|
137
|
+
def encoding(self, encoding):
|
138
|
+
"""
|
139
|
+
Sets the encoding of this RealtimeParameters.
|
140
|
+
Audio encoding to use
|
141
|
+
- audio/raw;rate=16000
|
142
|
+
- audio/raw;rate=8000
|
143
|
+
- audio/raw;rate=8000;codec=mulaw
|
144
|
+
- audio/raw;rate=8000;codec=alaw
|
145
|
+
|
146
|
+
|
147
|
+
:param encoding: The encoding of this RealtimeParameters.
|
148
|
+
:type: str
|
149
|
+
"""
|
150
|
+
self._encoding = encoding
|
151
|
+
|
152
|
+
@property
|
153
|
+
def is_ack_enabled(self):
|
154
|
+
"""
|
155
|
+
Gets the is_ack_enabled of this RealtimeParameters.
|
156
|
+
Toggle for ack messages.
|
157
|
+
|
158
|
+
|
159
|
+
:return: The is_ack_enabled of this RealtimeParameters.
|
160
|
+
:rtype: bool
|
161
|
+
"""
|
162
|
+
return self._is_ack_enabled
|
163
|
+
|
164
|
+
@is_ack_enabled.setter
|
165
|
+
def is_ack_enabled(self, is_ack_enabled):
|
166
|
+
"""
|
167
|
+
Sets the is_ack_enabled of this RealtimeParameters.
|
168
|
+
Toggle for ack messages.
|
169
|
+
|
170
|
+
|
171
|
+
:param is_ack_enabled: The is_ack_enabled of this RealtimeParameters.
|
172
|
+
:type: bool
|
173
|
+
"""
|
174
|
+
self._is_ack_enabled = is_ack_enabled
|
175
|
+
|
176
|
+
@property
|
177
|
+
def partial_silence_threshold_in_ms(self):
|
178
|
+
"""
|
179
|
+
Gets the partial_silence_threshold_in_ms of this RealtimeParameters.
|
180
|
+
Silence threshold for Realtime Speech partial results in milliseconds.
|
181
|
+
|
182
|
+
|
183
|
+
:return: The partial_silence_threshold_in_ms of this RealtimeParameters.
|
184
|
+
:rtype: int
|
185
|
+
"""
|
186
|
+
return self._partial_silence_threshold_in_ms
|
187
|
+
|
188
|
+
@partial_silence_threshold_in_ms.setter
|
189
|
+
def partial_silence_threshold_in_ms(self, partial_silence_threshold_in_ms):
|
190
|
+
"""
|
191
|
+
Sets the partial_silence_threshold_in_ms of this RealtimeParameters.
|
192
|
+
Silence threshold for Realtime Speech partial results in milliseconds.
|
193
|
+
|
194
|
+
|
195
|
+
:param partial_silence_threshold_in_ms: The partial_silence_threshold_in_ms of this RealtimeParameters.
|
196
|
+
:type: int
|
197
|
+
"""
|
198
|
+
self._partial_silence_threshold_in_ms = partial_silence_threshold_in_ms
|
199
|
+
|
200
|
+
@property
|
201
|
+
def final_silence_threshold_in_ms(self):
|
202
|
+
"""
|
203
|
+
Gets the final_silence_threshold_in_ms of this RealtimeParameters.
|
204
|
+
Silence threshold for Realtime Speech final results in milliseconds.
|
205
|
+
|
206
|
+
|
207
|
+
:return: The final_silence_threshold_in_ms of this RealtimeParameters.
|
208
|
+
:rtype: int
|
209
|
+
"""
|
210
|
+
return self._final_silence_threshold_in_ms
|
211
|
+
|
212
|
+
@final_silence_threshold_in_ms.setter
|
213
|
+
def final_silence_threshold_in_ms(self, final_silence_threshold_in_ms):
|
214
|
+
"""
|
215
|
+
Sets the final_silence_threshold_in_ms of this RealtimeParameters.
|
216
|
+
Silence threshold for Realtime Speech final results in milliseconds.
|
217
|
+
|
218
|
+
|
219
|
+
:param final_silence_threshold_in_ms: The final_silence_threshold_in_ms of this RealtimeParameters.
|
220
|
+
:type: int
|
221
|
+
"""
|
222
|
+
self._final_silence_threshold_in_ms = final_silence_threshold_in_ms
|
223
|
+
|
224
|
+
@property
|
225
|
+
def stabilize_partial_results(self):
|
226
|
+
"""
|
227
|
+
Gets the stabilize_partial_results of this RealtimeParameters.
|
228
|
+
When enabled sets the amount of confidence required for latest tokens before returning them as part of a new partial result
|
229
|
+
|
230
|
+
Allowed values for this property are: "NONE", "LOW", "MEDIUM", "HIGH"
|
231
|
+
|
232
|
+
|
233
|
+
:return: The stabilize_partial_results of this RealtimeParameters.
|
234
|
+
:rtype: str
|
235
|
+
"""
|
236
|
+
return self._stabilize_partial_results
|
237
|
+
|
238
|
+
@stabilize_partial_results.setter
|
239
|
+
def stabilize_partial_results(self, stabilize_partial_results):
|
240
|
+
"""
|
241
|
+
Sets the stabilize_partial_results of this RealtimeParameters.
|
242
|
+
When enabled sets the amount of confidence required for latest tokens before returning them as part of a new partial result
|
243
|
+
|
244
|
+
|
245
|
+
:param stabilize_partial_results: The stabilize_partial_results of this RealtimeParameters.
|
246
|
+
:type: str
|
247
|
+
"""
|
248
|
+
allowed_values = ["NONE", "LOW", "MEDIUM", "HIGH"]
|
249
|
+
if not value_allowed_none_or_none_sentinel(stabilize_partial_results, allowed_values):
|
250
|
+
raise ValueError(
|
251
|
+
f"Invalid value for `stabilize_partial_results`, must be None or one of {allowed_values}"
|
252
|
+
)
|
253
|
+
self._stabilize_partial_results = stabilize_partial_results
|
254
|
+
|
255
|
+
@property
|
256
|
+
def model_domain(self):
|
257
|
+
"""
|
258
|
+
Gets the model_domain of this RealtimeParameters.
|
259
|
+
Model Domain.
|
260
|
+
|
261
|
+
Allowed values for this property are: "GENERIC", "MEDICAL"
|
262
|
+
|
263
|
+
|
264
|
+
:return: The model_domain of this RealtimeParameters.
|
265
|
+
:rtype: str
|
266
|
+
"""
|
267
|
+
return self._model_domain
|
268
|
+
|
269
|
+
@model_domain.setter
|
270
|
+
def model_domain(self, model_domain):
|
271
|
+
"""
|
272
|
+
Sets the model_domain of this RealtimeParameters.
|
273
|
+
Model Domain.
|
274
|
+
|
275
|
+
|
276
|
+
:param model_domain: The model_domain of this RealtimeParameters.
|
277
|
+
:type: str
|
278
|
+
"""
|
279
|
+
allowed_values = ["GENERIC", "MEDICAL"]
|
280
|
+
if not value_allowed_none_or_none_sentinel(model_domain, allowed_values):
|
281
|
+
raise ValueError(
|
282
|
+
f"Invalid value for `model_domain`, must be None or one of {allowed_values}"
|
283
|
+
)
|
284
|
+
self._model_domain = model_domain
|
285
|
+
|
286
|
+
@property
|
287
|
+
def language_code(self):
|
288
|
+
"""
|
289
|
+
Gets the language_code of this RealtimeParameters.
|
290
|
+
Locale value as per given in [https://datatracker.ietf.org/doc/html/rfc5646].
|
291
|
+
- en-US: English - United States
|
292
|
+
- es-ES: Spanish - Spain
|
293
|
+
- pt-BR: Portuguese - Brazil
|
294
|
+
- en-GB: English - Great Britain
|
295
|
+
- en-AU: English - Australia
|
296
|
+
- en-IN: English - India
|
297
|
+
- hi-IN: Hindi - India
|
298
|
+
- fr-FR: French - France
|
299
|
+
- de-DE: German - Germany
|
300
|
+
- it-IT: Italian - Italy
|
301
|
+
|
302
|
+
|
303
|
+
:return: The language_code of this RealtimeParameters.
|
304
|
+
:rtype: str
|
305
|
+
"""
|
306
|
+
return self._language_code
|
307
|
+
|
308
|
+
@language_code.setter
|
309
|
+
def language_code(self, language_code):
|
310
|
+
"""
|
311
|
+
Sets the language_code of this RealtimeParameters.
|
312
|
+
Locale value as per given in [https://datatracker.ietf.org/doc/html/rfc5646].
|
313
|
+
- en-US: English - United States
|
314
|
+
- es-ES: Spanish - Spain
|
315
|
+
- pt-BR: Portuguese - Brazil
|
316
|
+
- en-GB: English - Great Britain
|
317
|
+
- en-AU: English - Australia
|
318
|
+
- en-IN: English - India
|
319
|
+
- hi-IN: Hindi - India
|
320
|
+
- fr-FR: French - France
|
321
|
+
- de-DE: German - Germany
|
322
|
+
- it-IT: Italian - Italy
|
323
|
+
|
324
|
+
|
325
|
+
:param language_code: The language_code of this RealtimeParameters.
|
326
|
+
:type: str
|
327
|
+
"""
|
328
|
+
self._language_code = language_code
|
329
|
+
|
330
|
+
@property
|
331
|
+
def should_ignore_invalid_customizations(self):
|
332
|
+
"""
|
333
|
+
Gets the should_ignore_invalid_customizations of this RealtimeParameters.
|
334
|
+
If set to true, the service will not fail connection attempt if it encounters any issues that prevent the loading of all specified user customizations. Any invalid customizations will simply be ignored and connection will continue being established with the default base model and any remaining valid customizations.
|
335
|
+
If set to false, if the service is unable to load any of the specified customizations, an error detailing why will be returned and the session will end.
|
336
|
+
|
337
|
+
|
338
|
+
:return: The should_ignore_invalid_customizations of this RealtimeParameters.
|
339
|
+
:rtype: bool
|
340
|
+
"""
|
341
|
+
return self._should_ignore_invalid_customizations
|
342
|
+
|
343
|
+
@should_ignore_invalid_customizations.setter
|
344
|
+
def should_ignore_invalid_customizations(self, should_ignore_invalid_customizations):
|
345
|
+
"""
|
346
|
+
Sets the should_ignore_invalid_customizations of this RealtimeParameters.
|
347
|
+
If set to true, the service will not fail connection attempt if it encounters any issues that prevent the loading of all specified user customizations. Any invalid customizations will simply be ignored and connection will continue being established with the default base model and any remaining valid customizations.
|
348
|
+
If set to false, if the service is unable to load any of the specified customizations, an error detailing why will be returned and the session will end.
|
349
|
+
|
350
|
+
|
351
|
+
:param should_ignore_invalid_customizations: The should_ignore_invalid_customizations of this RealtimeParameters.
|
352
|
+
:type: bool
|
353
|
+
"""
|
354
|
+
self._should_ignore_invalid_customizations = should_ignore_invalid_customizations
|
355
|
+
|
356
|
+
@property
|
357
|
+
def customizations(self):
|
358
|
+
"""
|
359
|
+
Gets the customizations of this RealtimeParameters.
|
360
|
+
Array of customization objects.
|
361
|
+
|
362
|
+
|
363
|
+
:return: The customizations of this RealtimeParameters.
|
364
|
+
:rtype: list[oci.ai_speech.models.CustomizationInference]
|
365
|
+
"""
|
366
|
+
return self._customizations
|
367
|
+
|
368
|
+
@customizations.setter
|
369
|
+
def customizations(self, customizations):
|
370
|
+
"""
|
371
|
+
Sets the customizations of this RealtimeParameters.
|
372
|
+
Array of customization objects.
|
373
|
+
|
374
|
+
|
375
|
+
:param customizations: The customizations of this RealtimeParameters.
|
376
|
+
:type: list[oci.ai_speech.models.CustomizationInference]
|
377
|
+
"""
|
378
|
+
self._customizations = customizations
|
379
|
+
|
380
|
+
def __repr__(self):
|
381
|
+
return formatted_flat_dict(self)
|
382
|
+
|
383
|
+
def __eq__(self, other):
|
384
|
+
if other is None:
|
385
|
+
return False
|
386
|
+
|
387
|
+
return self.__dict__ == other.__dict__
|
388
|
+
|
389
|
+
def __ne__(self, other):
|
390
|
+
return not self == other
|
@@ -0,0 +1,200 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, 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: 20220101
|
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 RealtimeSessionToken(object):
|
14
|
+
"""
|
15
|
+
The response from the realtime session token endpoint that creates the auth token to be used with the realtime speech service.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new RealtimeSessionToken object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param token:
|
24
|
+
The value to assign to the token property of this RealtimeSessionToken.
|
25
|
+
:type token: str
|
26
|
+
|
27
|
+
:param session_id:
|
28
|
+
The value to assign to the session_id property of this RealtimeSessionToken.
|
29
|
+
:type session_id: str
|
30
|
+
|
31
|
+
:param compartment_id:
|
32
|
+
The value to assign to the compartment_id property of this RealtimeSessionToken.
|
33
|
+
:type compartment_id: str
|
34
|
+
|
35
|
+
:param freeform_tags:
|
36
|
+
The value to assign to the freeform_tags property of this RealtimeSessionToken.
|
37
|
+
:type freeform_tags: dict(str, str)
|
38
|
+
|
39
|
+
:param defined_tags:
|
40
|
+
The value to assign to the defined_tags property of this RealtimeSessionToken.
|
41
|
+
:type defined_tags: dict(str, dict(str, object))
|
42
|
+
|
43
|
+
"""
|
44
|
+
self.swagger_types = {
|
45
|
+
'token': 'str',
|
46
|
+
'session_id': 'str',
|
47
|
+
'compartment_id': 'str',
|
48
|
+
'freeform_tags': 'dict(str, str)',
|
49
|
+
'defined_tags': 'dict(str, dict(str, object))'
|
50
|
+
}
|
51
|
+
|
52
|
+
self.attribute_map = {
|
53
|
+
'token': 'token',
|
54
|
+
'session_id': 'sessionId',
|
55
|
+
'compartment_id': 'compartmentId',
|
56
|
+
'freeform_tags': 'freeformTags',
|
57
|
+
'defined_tags': 'definedTags'
|
58
|
+
}
|
59
|
+
|
60
|
+
self._token = None
|
61
|
+
self._session_id = None
|
62
|
+
self._compartment_id = None
|
63
|
+
self._freeform_tags = None
|
64
|
+
self._defined_tags = None
|
65
|
+
|
66
|
+
@property
|
67
|
+
def token(self):
|
68
|
+
"""
|
69
|
+
**[Required]** Gets the token of this RealtimeSessionToken.
|
70
|
+
The session token (JWT) to be consumed by the websocket server. The token contains the session/tenant ID, as well as the expiry time.
|
71
|
+
|
72
|
+
|
73
|
+
:return: The token of this RealtimeSessionToken.
|
74
|
+
:rtype: str
|
75
|
+
"""
|
76
|
+
return self._token
|
77
|
+
|
78
|
+
@token.setter
|
79
|
+
def token(self, token):
|
80
|
+
"""
|
81
|
+
Sets the token of this RealtimeSessionToken.
|
82
|
+
The session token (JWT) to be consumed by the websocket server. The token contains the session/tenant ID, as well as the expiry time.
|
83
|
+
|
84
|
+
|
85
|
+
:param token: The token of this RealtimeSessionToken.
|
86
|
+
:type: str
|
87
|
+
"""
|
88
|
+
self._token = token
|
89
|
+
|
90
|
+
@property
|
91
|
+
def session_id(self):
|
92
|
+
"""
|
93
|
+
**[Required]** Gets the session_id of this RealtimeSessionToken.
|
94
|
+
The session ID this token corresponds to. Provided for convenience, the session ID is already present in the JWT token.
|
95
|
+
|
96
|
+
|
97
|
+
:return: The session_id of this RealtimeSessionToken.
|
98
|
+
:rtype: str
|
99
|
+
"""
|
100
|
+
return self._session_id
|
101
|
+
|
102
|
+
@session_id.setter
|
103
|
+
def session_id(self, session_id):
|
104
|
+
"""
|
105
|
+
Sets the session_id of this RealtimeSessionToken.
|
106
|
+
The session ID this token corresponds to. Provided for convenience, the session ID is already present in the JWT token.
|
107
|
+
|
108
|
+
|
109
|
+
:param session_id: The session_id of this RealtimeSessionToken.
|
110
|
+
:type: str
|
111
|
+
"""
|
112
|
+
self._session_id = session_id
|
113
|
+
|
114
|
+
@property
|
115
|
+
def compartment_id(self):
|
116
|
+
"""
|
117
|
+
**[Required]** Gets the compartment_id of this RealtimeSessionToken.
|
118
|
+
Compartment ID that was used to create the token.
|
119
|
+
|
120
|
+
|
121
|
+
:return: The compartment_id of this RealtimeSessionToken.
|
122
|
+
:rtype: str
|
123
|
+
"""
|
124
|
+
return self._compartment_id
|
125
|
+
|
126
|
+
@compartment_id.setter
|
127
|
+
def compartment_id(self, compartment_id):
|
128
|
+
"""
|
129
|
+
Sets the compartment_id of this RealtimeSessionToken.
|
130
|
+
Compartment ID that was used to create the token.
|
131
|
+
|
132
|
+
|
133
|
+
:param compartment_id: The compartment_id of this RealtimeSessionToken.
|
134
|
+
:type: str
|
135
|
+
"""
|
136
|
+
self._compartment_id = compartment_id
|
137
|
+
|
138
|
+
@property
|
139
|
+
def freeform_tags(self):
|
140
|
+
"""
|
141
|
+
Gets the freeform_tags of this RealtimeSessionToken.
|
142
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
143
|
+
Example: `{\"bar-key\": \"value\"}`.
|
144
|
+
|
145
|
+
|
146
|
+
:return: The freeform_tags of this RealtimeSessionToken.
|
147
|
+
:rtype: dict(str, str)
|
148
|
+
"""
|
149
|
+
return self._freeform_tags
|
150
|
+
|
151
|
+
@freeform_tags.setter
|
152
|
+
def freeform_tags(self, freeform_tags):
|
153
|
+
"""
|
154
|
+
Sets the freeform_tags of this RealtimeSessionToken.
|
155
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
156
|
+
Example: `{\"bar-key\": \"value\"}`.
|
157
|
+
|
158
|
+
|
159
|
+
:param freeform_tags: The freeform_tags of this RealtimeSessionToken.
|
160
|
+
:type: dict(str, str)
|
161
|
+
"""
|
162
|
+
self._freeform_tags = freeform_tags
|
163
|
+
|
164
|
+
@property
|
165
|
+
def defined_tags(self):
|
166
|
+
"""
|
167
|
+
Gets the defined_tags of this RealtimeSessionToken.
|
168
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
169
|
+
Example: `{\"foo-namespace-1\": {\"bar-key-1\": \"value-1\", \"bar-key-2\": \"value-2\"}, \"foo-namespace-2\": {\"bar-key-1\": \"value-1\", \"bar-key-2\": \"value-2\"}}`.
|
170
|
+
|
171
|
+
|
172
|
+
:return: The defined_tags of this RealtimeSessionToken.
|
173
|
+
:rtype: dict(str, dict(str, object))
|
174
|
+
"""
|
175
|
+
return self._defined_tags
|
176
|
+
|
177
|
+
@defined_tags.setter
|
178
|
+
def defined_tags(self, defined_tags):
|
179
|
+
"""
|
180
|
+
Sets the defined_tags of this RealtimeSessionToken.
|
181
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
182
|
+
Example: `{\"foo-namespace-1\": {\"bar-key-1\": \"value-1\", \"bar-key-2\": \"value-2\"}, \"foo-namespace-2\": {\"bar-key-1\": \"value-1\", \"bar-key-2\": \"value-2\"}}`.
|
183
|
+
|
184
|
+
|
185
|
+
:param defined_tags: The defined_tags of this RealtimeSessionToken.
|
186
|
+
:type: dict(str, dict(str, object))
|
187
|
+
"""
|
188
|
+
self._defined_tags = defined_tags
|
189
|
+
|
190
|
+
def __repr__(self):
|
191
|
+
return formatted_flat_dict(self)
|
192
|
+
|
193
|
+
def __eq__(self, other):
|
194
|
+
if other is None:
|
195
|
+
return False
|
196
|
+
|
197
|
+
return self.__dict__ == other.__dict__
|
198
|
+
|
199
|
+
def __ne__(self, other):
|
200
|
+
return not self == other
|