oci 2.155.0__py3-none-any.whl → 2.155.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +140 -26
- oci/ai_document/models/__init__.py +50 -0
- oci/ai_document/models/analyze_document_result.py +62 -0
- oci/ai_document/models/bar_code.py +159 -0
- oci/ai_document/models/capabilities.py +70 -0
- oci/ai_document/models/capability.py +70 -0
- oci/ai_document/models/create_model_details.py +93 -0
- oci/ai_document/models/detected_document_type.py +35 -0
- oci/ai_document/models/document_classification_feature.py +36 -5
- oci/ai_document/models/document_classification_model_metrics.py +1 -1
- oci/ai_document/models/document_elements_extraction_feature.py +80 -0
- oci/ai_document/models/document_elements_sub_type.py +103 -0
- oci/ai_document/models/document_feature.py +13 -3
- oci/ai_document/models/document_key_value_extraction_feature.py +36 -5
- oci/ai_document/models/document_language_classification_feature.py +1 -1
- oci/ai_document/models/document_table_extraction_feature.py +34 -3
- oci/ai_document/models/document_text_extraction_feature.py +65 -3
- oci/ai_document/models/driving_license_kv_model_sub_type_details.py +110 -0
- oci/ai_document/models/field_value.py +64 -2
- oci/ai_document/models/general_processor_config.py +1 -1
- oci/ai_document/models/health_insurance_kv_model_sub_type_details.py +110 -0
- oci/ai_document/models/inline_document_content.py +33 -2
- oci/ai_document/models/inline_document_details.py +33 -2
- oci/ai_document/models/invoice_kv_model_sub_type_details.py +110 -0
- oci/ai_document/models/invoice_processor_config.py +107 -0
- oci/ai_document/models/key_value_detection_model_metrics.py +1 -1
- oci/ai_document/models/kv_model_sub_type.py +121 -0
- oci/ai_document/models/model.py +116 -3
- oci/ai_document/models/model_metrics.py +43 -3
- oci/ai_document/models/model_sub_type.py +113 -0
- oci/ai_document/models/model_summary.py +31 -0
- oci/ai_document/models/model_type_info.py +101 -0
- oci/ai_document/models/normalization_fields.py +70 -0
- oci/ai_document/models/normalization_fields_map_value.py +70 -0
- oci/ai_document/models/object_location.py +33 -2
- oci/ai_document/models/object_storage_document_details.py +33 -2
- oci/ai_document/models/output_location.py +1 -1
- oci/ai_document/models/page.py +95 -2
- oci/ai_document/models/passport_kv_model_sub_type_details.py +110 -0
- oci/ai_document/models/pre_trained_document_elements_extraction_model_details.py +56 -0
- oci/ai_document/models/pretrained_document_classification_model_details.py +56 -0
- oci/ai_document/models/pretrained_key_value_extraction_model_details.py +56 -0
- oci/ai_document/models/pretrained_table_extraction_model_details.py +56 -0
- oci/ai_document/models/pretrained_text_extraction_model_details.py +56 -0
- oci/ai_document/models/processor_config.py +11 -3
- oci/ai_document/models/qr_bar_code_sub_type_details.py +92 -0
- oci/ai_document/models/receipt_kv_model_sub_type_details.py +110 -0
- oci/ai_document/models/selection_mark.py +144 -0
- oci/ai_document/models/signature.py +97 -0
- oci/ai_document/models/signature_sub_type_details.py +92 -0
- oci/ai_document/models/update_model_details.py +31 -0
- oci/ai_document/models/value_array.py +14 -0
- oci/ai_document/models/value_date.py +14 -0
- oci/ai_document/models/value_integer.py +14 -0
- oci/ai_document/models/value_number.py +14 -0
- oci/ai_document/models/value_phone_number.py +14 -0
- oci/ai_document/models/value_string.py +14 -0
- oci/ai_document/models/value_time.py +14 -0
- 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/apiaccesscontrol/api_metadata_client.py +3 -3
- oci/apiaccesscontrol/privileged_api_control_client.py +6 -6
- oci/apiaccesscontrol/privileged_api_requests_client.py +7 -7
- oci/apiaccesscontrol/privileged_api_work_request_client.py +5 -5
- 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 +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/scheduled_query_client.py +5 -5
- oci/apm_traces/trace_client.py +5 -5
- 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 +88 -88
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/capacity_management/demand_signal_client.py +13 -13
- oci/capacity_management/internal_demand_signal_client.py +12 -12
- 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_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +125 -125
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +258 -258
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +45 -45
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +317 -317
- oci/data_science/data_science_client.py +145 -145
- oci/database/database_client.py +421 -421
- 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 +15 -15
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +43 -43
- oci/database_tools/database_tools_client.py +23 -23
- oci/dblm/db_life_cycle_management_client.py +28 -28
- oci/dbmulticloud/multi_cloud_resource_discovery_client.py +6 -6
- oci/dbmulticloud/oracle_db_azure_blob_container_client.py +6 -6
- oci/dbmulticloud/oracle_db_azure_blob_mount_client.py +6 -6
- oci/dbmulticloud/oracle_db_azure_connector_client.py +7 -7
- oci/dbmulticloud/oracle_db_azure_key_client.py +2 -2
- oci/dbmulticloud/oracle_db_azure_vault_association_client.py +7 -7
- oci/dbmulticloud/oracle_db_azure_vault_client.py +7 -7
- oci/dbmulticloud/work_request_client.py +5 -5
- 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_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 +89 -89
- 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 +18 -18
- 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 +8 -8
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +92 -92
- oci/network_load_balancer/network_load_balancer_client.py +35 -35
- oci/nosql/nosql_client.py +27 -27
- 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/models/__init__.py +20 -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/change_macs_managed_autonomous_database_insight_connection_details.py +128 -0
- oci/opsi/models/create_autonomous_database_insight_details.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_external_mysql_database_insight_details.py +1 -1
- oci/opsi/models/create_macs_managed_autonomous_database_insight_details.py +301 -0
- oci/opsi/models/create_macs_managed_cloud_database_insight_details.py +1 -1
- oci/opsi/models/create_macs_managed_cloud_exadata_cluster_details.py +7 -3
- oci/opsi/models/create_macs_managed_cloud_exadata_vmcluster_details.py +34 -3
- oci/opsi/models/create_mds_my_sql_database_insight_details.py +1 -1
- oci/opsi/models/create_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/create_pe_comanaged_exadata_vmcluster_details.py +78 -0
- oci/opsi/models/credential_by_iam.py +1 -1
- oci/opsi/models/credential_by_named_credentials.py +91 -0
- oci/opsi/models/credential_by_vault.py +1 -1
- oci/opsi/models/credential_details.py +14 -6
- oci/opsi/models/credentials_by_source.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/em_managed_external_exadata_insight.py +1 -1
- oci/opsi/models/em_managed_external_exadata_insight_summary.py +1 -1
- oci/opsi/models/enable_autonomous_database_insight_details.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_external_mysql_database_insight_details.py +1 -1
- oci/opsi/models/enable_macs_managed_autonomous_database_insight_details.py +272 -0
- oci/opsi/models/enable_macs_managed_cloud_database_insight_details.py +1 -1
- oci/opsi/models/enable_mds_my_sql_database_insight_details.py +1 -1
- oci/opsi/models/enable_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/exadata_configuration_summary.py +7 -3
- oci/opsi/models/exadata_database_machine_configuration_summary.py +69 -3
- oci/opsi/models/exadata_exacc_configuration_summary.py +1 -1
- oci/opsi/models/exadata_exacs_configuration_summary.py +1 -1
- oci/opsi/models/exadata_insight.py +7 -3
- oci/opsi/models/exadata_insight_summary.py +7 -3
- oci/opsi/models/exadata_member_collection.py +7 -3
- oci/opsi/models/external_mysql_database_configuration_summary.py +1 -1
- oci/opsi/models/external_mysql_database_insight.py +1 -1
- oci/opsi/models/external_mysql_database_insight_summary.py +1 -1
- oci/opsi/models/macs_managed_autonomous_database_configuration_summary.py +251 -0
- oci/opsi/models/macs_managed_autonomous_database_insight.py +467 -0
- oci/opsi/models/macs_managed_autonomous_database_insight_summary.py +313 -0
- oci/opsi/models/macs_managed_cloud_database_configuration_summary.py +1 -1
- oci/opsi/models/macs_managed_cloud_database_insight.py +1 -1
- oci/opsi/models/macs_managed_cloud_database_insight_summary.py +1 -1
- oci/opsi/models/macs_managed_cloud_exadata_insight.py +1 -1
- oci/opsi/models/macs_managed_cloud_exadata_insight_summary.py +1 -1
- 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 +1 -1
- oci/opsi/models/mds_my_sql_database_insight_summary.py +1 -1
- oci/opsi/models/mds_mysql_database_configuration_summary.py +1 -1
- 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_exadata_insight.py +1 -1
- oci/opsi/models/pe_comanaged_exadata_insight_summary.py +1 -1
- oci/opsi/models/pe_comanaged_managed_external_database_configuration_summary.py +1 -1
- oci/opsi/models/synchronize_autonomous_database_to_exadata_details.py +110 -0
- oci/opsi/models/test_macs_managed_autonomous_database_insight_connection_details.py +128 -0
- 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_external_mysql_database_insight_details.py +1 -1
- oci/opsi/models/update_macs_managed_autonomous_database_insight_details.py +63 -0
- oci/opsi/models/update_macs_managed_cloud_database_insight_details.py +1 -1
- oci/opsi/models/update_macs_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/update_mds_my_sql_database_insight.py +1 -1
- oci/opsi/models/update_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/vm_cluster_summary.py +64 -2
- oci/opsi/models/work_request.py +15 -3
- oci/opsi/operations_insights_client.py +580 -202
- oci/opsi/operations_insights_client_composite_operations.py +125 -0
- 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/models/subscription.py +38 -3
- oci/osp_gateway/models/subscription_summary.py +38 -3
- 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/oci_cache_user_client.py +7 -7
- oci/redis/redis_cluster_client.py +15 -15
- oci/redis/redis_identity_client.py +1 -1
- oci/regions_definitions.py +9 -4
- 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/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +14 -14
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/wlms/weblogic_management_service_client.py +41 -41
- oci/wlms/weblogic_management_service_configuration_client.py +2 -2
- oci/work_requests/work_request_client.py +4 -4
- oci/zpr/zpr_client.py +15 -15
- {oci-2.155.0.dist-info → oci-2.155.1.dist-info}/METADATA +1 -1
- {oci-2.155.0.dist-info → oci-2.155.1.dist-info}/RECORD +430 -395
- {oci-2.155.0.dist-info → oci-2.155.1.dist-info}/LICENSE.txt +0 -0
- {oci-2.155.0.dist-info → oci-2.155.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.155.0.dist-info → oci-2.155.1.dist-info}/WHEEL +0 -0
- {oci-2.155.0.dist-info → oci-2.155.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,103 @@
|
|
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: 20221109
|
6
|
+
|
7
|
+
from .model_sub_type import ModelSubType
|
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 DocumentElementsSubType(ModelSubType):
|
14
|
+
"""
|
15
|
+
The Document Elements Extraction model sub type
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the model_sub_type property of a DocumentElementsSubType.
|
19
|
+
#: This constant has a value of "QR_BAR_CODE"
|
20
|
+
MODEL_SUB_TYPE_QR_BAR_CODE = "QR_BAR_CODE"
|
21
|
+
|
22
|
+
#: A constant which can be used with the model_sub_type property of a DocumentElementsSubType.
|
23
|
+
#: This constant has a value of "SIGNATURE"
|
24
|
+
MODEL_SUB_TYPE_SIGNATURE = "SIGNATURE"
|
25
|
+
|
26
|
+
def __init__(self, **kwargs):
|
27
|
+
"""
|
28
|
+
Initializes a new DocumentElementsSubType object with values from keyword arguments. The default value of the :py:attr:`~oci.ai_document.models.DocumentElementsSubType.model_type` attribute
|
29
|
+
of this class is ``PRE_TRAINED_DOCUMENT_ELEMENTS_EXTRACTION`` and it should not be changed.
|
30
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
31
|
+
|
32
|
+
:param model_type:
|
33
|
+
The value to assign to the model_type property of this DocumentElementsSubType.
|
34
|
+
Allowed values for this property are: "PRE_TRAINED_KEY_VALUE_EXTRACTION", "PRE_TRAINED_DOCUMENT_ELEMENTS_EXTRACTION", 'UNKNOWN_ENUM_VALUE'.
|
35
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
36
|
+
:type model_type: str
|
37
|
+
|
38
|
+
:param model_sub_type:
|
39
|
+
The value to assign to the model_sub_type property of this DocumentElementsSubType.
|
40
|
+
Allowed values for this property are: "QR_BAR_CODE", "SIGNATURE", 'UNKNOWN_ENUM_VALUE'.
|
41
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
42
|
+
:type model_sub_type: str
|
43
|
+
|
44
|
+
"""
|
45
|
+
self.swagger_types = {
|
46
|
+
'model_type': 'str',
|
47
|
+
'model_sub_type': 'str'
|
48
|
+
}
|
49
|
+
self.attribute_map = {
|
50
|
+
'model_type': 'modelType',
|
51
|
+
'model_sub_type': 'modelSubType'
|
52
|
+
}
|
53
|
+
self._model_type = None
|
54
|
+
self._model_sub_type = None
|
55
|
+
self._model_type = 'PRE_TRAINED_DOCUMENT_ELEMENTS_EXTRACTION'
|
56
|
+
|
57
|
+
@property
|
58
|
+
def model_sub_type(self):
|
59
|
+
"""
|
60
|
+
**[Required]** Gets the model_sub_type of this DocumentElementsSubType.
|
61
|
+
The model sub type for DOCUMENT_ELEMENTS_EXTRACTION.
|
62
|
+
The allowed values are:
|
63
|
+
- `QR_BAR_CODE`
|
64
|
+
- `SIGNATURE`
|
65
|
+
|
66
|
+
Allowed values for this property are: "QR_BAR_CODE", "SIGNATURE", 'UNKNOWN_ENUM_VALUE'.
|
67
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
68
|
+
|
69
|
+
|
70
|
+
:return: The model_sub_type of this DocumentElementsSubType.
|
71
|
+
:rtype: str
|
72
|
+
"""
|
73
|
+
return self._model_sub_type
|
74
|
+
|
75
|
+
@model_sub_type.setter
|
76
|
+
def model_sub_type(self, model_sub_type):
|
77
|
+
"""
|
78
|
+
Sets the model_sub_type of this DocumentElementsSubType.
|
79
|
+
The model sub type for DOCUMENT_ELEMENTS_EXTRACTION.
|
80
|
+
The allowed values are:
|
81
|
+
- `QR_BAR_CODE`
|
82
|
+
- `SIGNATURE`
|
83
|
+
|
84
|
+
|
85
|
+
:param model_sub_type: The model_sub_type of this DocumentElementsSubType.
|
86
|
+
:type: str
|
87
|
+
"""
|
88
|
+
allowed_values = ["QR_BAR_CODE", "SIGNATURE"]
|
89
|
+
if not value_allowed_none_or_none_sentinel(model_sub_type, allowed_values):
|
90
|
+
model_sub_type = 'UNKNOWN_ENUM_VALUE'
|
91
|
+
self._model_sub_type = model_sub_type
|
92
|
+
|
93
|
+
def __repr__(self):
|
94
|
+
return formatted_flat_dict(self)
|
95
|
+
|
96
|
+
def __eq__(self, other):
|
97
|
+
if other is None:
|
98
|
+
return False
|
99
|
+
|
100
|
+
return self.__dict__ == other.__dict__
|
101
|
+
|
102
|
+
def __ne__(self, other):
|
103
|
+
return not self == other
|
@@ -35,11 +35,16 @@ class DocumentFeature(object):
|
|
35
35
|
#: This constant has a value of "DOCUMENT_CLASSIFICATION"
|
36
36
|
FEATURE_TYPE_DOCUMENT_CLASSIFICATION = "DOCUMENT_CLASSIFICATION"
|
37
37
|
|
38
|
+
#: A constant which can be used with the feature_type property of a DocumentFeature.
|
39
|
+
#: This constant has a value of "DOCUMENT_ELEMENTS_EXTRACTION"
|
40
|
+
FEATURE_TYPE_DOCUMENT_ELEMENTS_EXTRACTION = "DOCUMENT_ELEMENTS_EXTRACTION"
|
41
|
+
|
38
42
|
def __init__(self, **kwargs):
|
39
43
|
"""
|
40
44
|
Initializes a new DocumentFeature object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
41
45
|
to a service operations then you should favor using a subclass over the base class:
|
42
46
|
|
47
|
+
* :class:`~oci.ai_document.models.DocumentElementsExtractionFeature`
|
43
48
|
* :class:`~oci.ai_document.models.DocumentClassificationFeature`
|
44
49
|
* :class:`~oci.ai_document.models.DocumentKeyValueExtractionFeature`
|
45
50
|
* :class:`~oci.ai_document.models.DocumentLanguageClassificationFeature`
|
@@ -50,7 +55,7 @@ class DocumentFeature(object):
|
|
50
55
|
|
51
56
|
:param feature_type:
|
52
57
|
The value to assign to the feature_type property of this DocumentFeature.
|
53
|
-
Allowed values for this property are: "LANGUAGE_CLASSIFICATION", "TEXT_EXTRACTION", "TABLE_EXTRACTION", "KEY_VALUE_EXTRACTION", "DOCUMENT_CLASSIFICATION", 'UNKNOWN_ENUM_VALUE'.
|
58
|
+
Allowed values for this property are: "LANGUAGE_CLASSIFICATION", "TEXT_EXTRACTION", "TABLE_EXTRACTION", "KEY_VALUE_EXTRACTION", "DOCUMENT_CLASSIFICATION", "DOCUMENT_ELEMENTS_EXTRACTION", 'UNKNOWN_ENUM_VALUE'.
|
54
59
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
55
60
|
:type feature_type: str
|
56
61
|
|
@@ -71,6 +76,9 @@ class DocumentFeature(object):
|
|
71
76
|
"""
|
72
77
|
type = object_dictionary['featureType']
|
73
78
|
|
79
|
+
if type == 'DOCUMENT_ELEMENTS_EXTRACTION':
|
80
|
+
return 'DocumentElementsExtractionFeature'
|
81
|
+
|
74
82
|
if type == 'DOCUMENT_CLASSIFICATION':
|
75
83
|
return 'DocumentClassificationFeature'
|
76
84
|
|
@@ -99,8 +107,9 @@ class DocumentFeature(object):
|
|
99
107
|
- `TABLE_EXTRACTION`: Detect and extract data in tables.
|
100
108
|
- `KEY_VALUE_EXTRACTION`: Extract form fields.
|
101
109
|
- `DOCUMENT_CLASSIFICATION`: Identify the type of document.
|
110
|
+
- `DOCUMENT_ELEMENTS_EXTRACTION`: Extract information from bar code
|
102
111
|
|
103
|
-
Allowed values for this property are: "LANGUAGE_CLASSIFICATION", "TEXT_EXTRACTION", "TABLE_EXTRACTION", "KEY_VALUE_EXTRACTION", "DOCUMENT_CLASSIFICATION", 'UNKNOWN_ENUM_VALUE'.
|
112
|
+
Allowed values for this property are: "LANGUAGE_CLASSIFICATION", "TEXT_EXTRACTION", "TABLE_EXTRACTION", "KEY_VALUE_EXTRACTION", "DOCUMENT_CLASSIFICATION", "DOCUMENT_ELEMENTS_EXTRACTION", 'UNKNOWN_ENUM_VALUE'.
|
104
113
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
105
114
|
|
106
115
|
|
@@ -120,12 +129,13 @@ class DocumentFeature(object):
|
|
120
129
|
- `TABLE_EXTRACTION`: Detect and extract data in tables.
|
121
130
|
- `KEY_VALUE_EXTRACTION`: Extract form fields.
|
122
131
|
- `DOCUMENT_CLASSIFICATION`: Identify the type of document.
|
132
|
+
- `DOCUMENT_ELEMENTS_EXTRACTION`: Extract information from bar code
|
123
133
|
|
124
134
|
|
125
135
|
:param feature_type: The feature_type of this DocumentFeature.
|
126
136
|
:type: str
|
127
137
|
"""
|
128
|
-
allowed_values = ["LANGUAGE_CLASSIFICATION", "TEXT_EXTRACTION", "TABLE_EXTRACTION", "KEY_VALUE_EXTRACTION", "DOCUMENT_CLASSIFICATION"]
|
138
|
+
allowed_values = ["LANGUAGE_CLASSIFICATION", "TEXT_EXTRACTION", "TABLE_EXTRACTION", "KEY_VALUE_EXTRACTION", "DOCUMENT_CLASSIFICATION", "DOCUMENT_ELEMENTS_EXTRACTION"]
|
129
139
|
if not value_allowed_none_or_none_sentinel(feature_type, allowed_values):
|
130
140
|
feature_type = 'UNKNOWN_ENUM_VALUE'
|
131
141
|
self._feature_type = feature_type
|
@@ -23,31 +23,38 @@ class DocumentKeyValueExtractionFeature(DocumentFeature):
|
|
23
23
|
|
24
24
|
:param feature_type:
|
25
25
|
The value to assign to the feature_type property of this DocumentKeyValueExtractionFeature.
|
26
|
-
Allowed values for this property are: "LANGUAGE_CLASSIFICATION", "TEXT_EXTRACTION", "TABLE_EXTRACTION", "KEY_VALUE_EXTRACTION", "DOCUMENT_CLASSIFICATION"
|
26
|
+
Allowed values for this property are: "LANGUAGE_CLASSIFICATION", "TEXT_EXTRACTION", "TABLE_EXTRACTION", "KEY_VALUE_EXTRACTION", "DOCUMENT_CLASSIFICATION", "DOCUMENT_ELEMENTS_EXTRACTION"
|
27
27
|
:type feature_type: str
|
28
28
|
|
29
29
|
:param model_id:
|
30
30
|
The value to assign to the model_id property of this DocumentKeyValueExtractionFeature.
|
31
31
|
:type model_id: str
|
32
32
|
|
33
|
+
:param tenancy_id:
|
34
|
+
The value to assign to the tenancy_id property of this DocumentKeyValueExtractionFeature.
|
35
|
+
:type tenancy_id: str
|
36
|
+
|
33
37
|
"""
|
34
38
|
self.swagger_types = {
|
35
39
|
'feature_type': 'str',
|
36
|
-
'model_id': 'str'
|
40
|
+
'model_id': 'str',
|
41
|
+
'tenancy_id': 'str'
|
37
42
|
}
|
38
43
|
self.attribute_map = {
|
39
44
|
'feature_type': 'featureType',
|
40
|
-
'model_id': 'modelId'
|
45
|
+
'model_id': 'modelId',
|
46
|
+
'tenancy_id': 'tenancyId'
|
41
47
|
}
|
42
48
|
self._feature_type = None
|
43
49
|
self._model_id = None
|
50
|
+
self._tenancy_id = None
|
44
51
|
self._feature_type = 'KEY_VALUE_EXTRACTION'
|
45
52
|
|
46
53
|
@property
|
47
54
|
def model_id(self):
|
48
55
|
"""
|
49
56
|
Gets the model_id of this DocumentKeyValueExtractionFeature.
|
50
|
-
|
57
|
+
Unique identifier custom model OCID that should be used for inference.
|
51
58
|
|
52
59
|
|
53
60
|
:return: The model_id of this DocumentKeyValueExtractionFeature.
|
@@ -59,7 +66,7 @@ class DocumentKeyValueExtractionFeature(DocumentFeature):
|
|
59
66
|
def model_id(self, model_id):
|
60
67
|
"""
|
61
68
|
Sets the model_id of this DocumentKeyValueExtractionFeature.
|
62
|
-
|
69
|
+
Unique identifier custom model OCID that should be used for inference.
|
63
70
|
|
64
71
|
|
65
72
|
:param model_id: The model_id of this DocumentKeyValueExtractionFeature.
|
@@ -67,6 +74,30 @@ class DocumentKeyValueExtractionFeature(DocumentFeature):
|
|
67
74
|
"""
|
68
75
|
self._model_id = model_id
|
69
76
|
|
77
|
+
@property
|
78
|
+
def tenancy_id(self):
|
79
|
+
"""
|
80
|
+
Gets the tenancy_id of this DocumentKeyValueExtractionFeature.
|
81
|
+
The custom model tenancy ID when modelId represents aliasName.
|
82
|
+
|
83
|
+
|
84
|
+
:return: The tenancy_id of this DocumentKeyValueExtractionFeature.
|
85
|
+
:rtype: str
|
86
|
+
"""
|
87
|
+
return self._tenancy_id
|
88
|
+
|
89
|
+
@tenancy_id.setter
|
90
|
+
def tenancy_id(self, tenancy_id):
|
91
|
+
"""
|
92
|
+
Sets the tenancy_id of this DocumentKeyValueExtractionFeature.
|
93
|
+
The custom model tenancy ID when modelId represents aliasName.
|
94
|
+
|
95
|
+
|
96
|
+
:param tenancy_id: The tenancy_id of this DocumentKeyValueExtractionFeature.
|
97
|
+
:type: str
|
98
|
+
"""
|
99
|
+
self._tenancy_id = tenancy_id
|
100
|
+
|
70
101
|
def __repr__(self):
|
71
102
|
return formatted_flat_dict(self)
|
72
103
|
|
@@ -23,7 +23,7 @@ class DocumentLanguageClassificationFeature(DocumentFeature):
|
|
23
23
|
|
24
24
|
:param feature_type:
|
25
25
|
The value to assign to the feature_type property of this DocumentLanguageClassificationFeature.
|
26
|
-
Allowed values for this property are: "LANGUAGE_CLASSIFICATION", "TEXT_EXTRACTION", "TABLE_EXTRACTION", "KEY_VALUE_EXTRACTION", "DOCUMENT_CLASSIFICATION"
|
26
|
+
Allowed values for this property are: "LANGUAGE_CLASSIFICATION", "TEXT_EXTRACTION", "TABLE_EXTRACTION", "KEY_VALUE_EXTRACTION", "DOCUMENT_CLASSIFICATION", "DOCUMENT_ELEMENTS_EXTRACTION"
|
27
27
|
:type feature_type: str
|
28
28
|
|
29
29
|
:param max_results:
|
@@ -23,19 +23,50 @@ class DocumentTableExtractionFeature(DocumentFeature):
|
|
23
23
|
|
24
24
|
:param feature_type:
|
25
25
|
The value to assign to the feature_type property of this DocumentTableExtractionFeature.
|
26
|
-
Allowed values for this property are: "LANGUAGE_CLASSIFICATION", "TEXT_EXTRACTION", "TABLE_EXTRACTION", "KEY_VALUE_EXTRACTION", "DOCUMENT_CLASSIFICATION"
|
26
|
+
Allowed values for this property are: "LANGUAGE_CLASSIFICATION", "TEXT_EXTRACTION", "TABLE_EXTRACTION", "KEY_VALUE_EXTRACTION", "DOCUMENT_CLASSIFICATION", "DOCUMENT_ELEMENTS_EXTRACTION"
|
27
27
|
:type feature_type: str
|
28
28
|
|
29
|
+
:param model_id:
|
30
|
+
The value to assign to the model_id property of this DocumentTableExtractionFeature.
|
31
|
+
:type model_id: str
|
32
|
+
|
29
33
|
"""
|
30
34
|
self.swagger_types = {
|
31
|
-
'feature_type': 'str'
|
35
|
+
'feature_type': 'str',
|
36
|
+
'model_id': 'str'
|
32
37
|
}
|
33
38
|
self.attribute_map = {
|
34
|
-
'feature_type': 'featureType'
|
39
|
+
'feature_type': 'featureType',
|
40
|
+
'model_id': 'modelId'
|
35
41
|
}
|
36
42
|
self._feature_type = None
|
43
|
+
self._model_id = None
|
37
44
|
self._feature_type = 'TABLE_EXTRACTION'
|
38
45
|
|
46
|
+
@property
|
47
|
+
def model_id(self):
|
48
|
+
"""
|
49
|
+
Gets the model_id of this DocumentTableExtractionFeature.
|
50
|
+
Unique identifier custom model OCID that should be used for inference.
|
51
|
+
|
52
|
+
|
53
|
+
:return: The model_id of this DocumentTableExtractionFeature.
|
54
|
+
:rtype: str
|
55
|
+
"""
|
56
|
+
return self._model_id
|
57
|
+
|
58
|
+
@model_id.setter
|
59
|
+
def model_id(self, model_id):
|
60
|
+
"""
|
61
|
+
Sets the model_id of this DocumentTableExtractionFeature.
|
62
|
+
Unique identifier custom model OCID that should be used for inference.
|
63
|
+
|
64
|
+
|
65
|
+
:param model_id: The model_id of this DocumentTableExtractionFeature.
|
66
|
+
:type: str
|
67
|
+
"""
|
68
|
+
self._model_id = model_id
|
69
|
+
|
39
70
|
def __repr__(self):
|
40
71
|
return formatted_flat_dict(self)
|
41
72
|
|
@@ -23,24 +23,38 @@ class DocumentTextExtractionFeature(DocumentFeature):
|
|
23
23
|
|
24
24
|
:param feature_type:
|
25
25
|
The value to assign to the feature_type property of this DocumentTextExtractionFeature.
|
26
|
-
Allowed values for this property are: "LANGUAGE_CLASSIFICATION", "TEXT_EXTRACTION", "TABLE_EXTRACTION", "KEY_VALUE_EXTRACTION", "DOCUMENT_CLASSIFICATION"
|
26
|
+
Allowed values for this property are: "LANGUAGE_CLASSIFICATION", "TEXT_EXTRACTION", "TABLE_EXTRACTION", "KEY_VALUE_EXTRACTION", "DOCUMENT_CLASSIFICATION", "DOCUMENT_ELEMENTS_EXTRACTION"
|
27
27
|
:type feature_type: str
|
28
28
|
|
29
29
|
:param generate_searchable_pdf:
|
30
30
|
The value to assign to the generate_searchable_pdf property of this DocumentTextExtractionFeature.
|
31
31
|
:type generate_searchable_pdf: bool
|
32
32
|
|
33
|
+
:param model_id:
|
34
|
+
The value to assign to the model_id property of this DocumentTextExtractionFeature.
|
35
|
+
:type model_id: str
|
36
|
+
|
37
|
+
:param selection_mark_detection:
|
38
|
+
The value to assign to the selection_mark_detection property of this DocumentTextExtractionFeature.
|
39
|
+
:type selection_mark_detection: bool
|
40
|
+
|
33
41
|
"""
|
34
42
|
self.swagger_types = {
|
35
43
|
'feature_type': 'str',
|
36
|
-
'generate_searchable_pdf': 'bool'
|
44
|
+
'generate_searchable_pdf': 'bool',
|
45
|
+
'model_id': 'str',
|
46
|
+
'selection_mark_detection': 'bool'
|
37
47
|
}
|
38
48
|
self.attribute_map = {
|
39
49
|
'feature_type': 'featureType',
|
40
|
-
'generate_searchable_pdf': 'generateSearchablePdf'
|
50
|
+
'generate_searchable_pdf': 'generateSearchablePdf',
|
51
|
+
'model_id': 'modelId',
|
52
|
+
'selection_mark_detection': 'selectionMarkDetection'
|
41
53
|
}
|
42
54
|
self._feature_type = None
|
43
55
|
self._generate_searchable_pdf = None
|
56
|
+
self._model_id = None
|
57
|
+
self._selection_mark_detection = None
|
44
58
|
self._feature_type = 'TEXT_EXTRACTION'
|
45
59
|
|
46
60
|
@property
|
@@ -67,6 +81,54 @@ class DocumentTextExtractionFeature(DocumentFeature):
|
|
67
81
|
"""
|
68
82
|
self._generate_searchable_pdf = generate_searchable_pdf
|
69
83
|
|
84
|
+
@property
|
85
|
+
def model_id(self):
|
86
|
+
"""
|
87
|
+
Gets the model_id of this DocumentTextExtractionFeature.
|
88
|
+
Unique identifier custom model OCID that should be used for inference.
|
89
|
+
|
90
|
+
|
91
|
+
:return: The model_id of this DocumentTextExtractionFeature.
|
92
|
+
:rtype: str
|
93
|
+
"""
|
94
|
+
return self._model_id
|
95
|
+
|
96
|
+
@model_id.setter
|
97
|
+
def model_id(self, model_id):
|
98
|
+
"""
|
99
|
+
Sets the model_id of this DocumentTextExtractionFeature.
|
100
|
+
Unique identifier custom model OCID that should be used for inference.
|
101
|
+
|
102
|
+
|
103
|
+
:param model_id: The model_id of this DocumentTextExtractionFeature.
|
104
|
+
:type: str
|
105
|
+
"""
|
106
|
+
self._model_id = model_id
|
107
|
+
|
108
|
+
@property
|
109
|
+
def selection_mark_detection(self):
|
110
|
+
"""
|
111
|
+
Gets the selection_mark_detection of this DocumentTextExtractionFeature.
|
112
|
+
Whether checkbox detection feature is enabled or disabled.
|
113
|
+
|
114
|
+
|
115
|
+
:return: The selection_mark_detection of this DocumentTextExtractionFeature.
|
116
|
+
:rtype: bool
|
117
|
+
"""
|
118
|
+
return self._selection_mark_detection
|
119
|
+
|
120
|
+
@selection_mark_detection.setter
|
121
|
+
def selection_mark_detection(self, selection_mark_detection):
|
122
|
+
"""
|
123
|
+
Sets the selection_mark_detection of this DocumentTextExtractionFeature.
|
124
|
+
Whether checkbox detection feature is enabled or disabled.
|
125
|
+
|
126
|
+
|
127
|
+
:param selection_mark_detection: The selection_mark_detection of this DocumentTextExtractionFeature.
|
128
|
+
:type: bool
|
129
|
+
"""
|
130
|
+
self._selection_mark_detection = selection_mark_detection
|
131
|
+
|
70
132
|
def __repr__(self):
|
71
133
|
return formatted_flat_dict(self)
|
72
134
|
|
@@ -0,0 +1,110 @@
|
|
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: 20221109
|
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 DrivingLicenseKvModelSubTypeDetails(object):
|
14
|
+
"""
|
15
|
+
Driving licence KV model sub type details
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the model_sub_type property of a DrivingLicenseKvModelSubTypeDetails.
|
19
|
+
#: This constant has a value of "RECEIPT"
|
20
|
+
MODEL_SUB_TYPE_RECEIPT = "RECEIPT"
|
21
|
+
|
22
|
+
#: A constant which can be used with the model_sub_type property of a DrivingLicenseKvModelSubTypeDetails.
|
23
|
+
#: This constant has a value of "INVOICE"
|
24
|
+
MODEL_SUB_TYPE_INVOICE = "INVOICE"
|
25
|
+
|
26
|
+
#: A constant which can be used with the model_sub_type property of a DrivingLicenseKvModelSubTypeDetails.
|
27
|
+
#: This constant has a value of "PASSPORT"
|
28
|
+
MODEL_SUB_TYPE_PASSPORT = "PASSPORT"
|
29
|
+
|
30
|
+
#: A constant which can be used with the model_sub_type property of a DrivingLicenseKvModelSubTypeDetails.
|
31
|
+
#: This constant has a value of "DRIVER_LICENSE"
|
32
|
+
MODEL_SUB_TYPE_DRIVER_LICENSE = "DRIVER_LICENSE"
|
33
|
+
|
34
|
+
#: A constant which can be used with the model_sub_type property of a DrivingLicenseKvModelSubTypeDetails.
|
35
|
+
#: This constant has a value of "HEALTH_INSURANCE_ID"
|
36
|
+
MODEL_SUB_TYPE_HEALTH_INSURANCE_ID = "HEALTH_INSURANCE_ID"
|
37
|
+
|
38
|
+
def __init__(self, **kwargs):
|
39
|
+
"""
|
40
|
+
Initializes a new DrivingLicenseKvModelSubTypeDetails object with values from keyword arguments.
|
41
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
42
|
+
|
43
|
+
:param model_sub_type:
|
44
|
+
The value to assign to the model_sub_type property of this DrivingLicenseKvModelSubTypeDetails.
|
45
|
+
Allowed values for this property are: "RECEIPT", "INVOICE", "PASSPORT", "DRIVER_LICENSE", "HEALTH_INSURANCE_ID"
|
46
|
+
:type model_sub_type: str
|
47
|
+
|
48
|
+
"""
|
49
|
+
self.swagger_types = {
|
50
|
+
'model_sub_type': 'str'
|
51
|
+
}
|
52
|
+
self.attribute_map = {
|
53
|
+
'model_sub_type': 'modelSubType'
|
54
|
+
}
|
55
|
+
self._model_sub_type = None
|
56
|
+
|
57
|
+
@property
|
58
|
+
def model_sub_type(self):
|
59
|
+
"""
|
60
|
+
**[Required]** Gets the model_sub_type of this DrivingLicenseKvModelSubTypeDetails.
|
61
|
+
The model sub type for KEY_VALUE_EXTRACTION
|
62
|
+
The allowed values are:
|
63
|
+
- `RECEIPT`
|
64
|
+
- `INVOICE`
|
65
|
+
- `PASSPORT`
|
66
|
+
- `DRIVER_LICENSE`
|
67
|
+
- `HEALTH_INSURANCE_ID`
|
68
|
+
|
69
|
+
Allowed values for this property are: "RECEIPT", "INVOICE", "PASSPORT", "DRIVER_LICENSE", "HEALTH_INSURANCE_ID"
|
70
|
+
|
71
|
+
|
72
|
+
:return: The model_sub_type of this DrivingLicenseKvModelSubTypeDetails.
|
73
|
+
:rtype: str
|
74
|
+
"""
|
75
|
+
return self._model_sub_type
|
76
|
+
|
77
|
+
@model_sub_type.setter
|
78
|
+
def model_sub_type(self, model_sub_type):
|
79
|
+
"""
|
80
|
+
Sets the model_sub_type of this DrivingLicenseKvModelSubTypeDetails.
|
81
|
+
The model sub type for KEY_VALUE_EXTRACTION
|
82
|
+
The allowed values are:
|
83
|
+
- `RECEIPT`
|
84
|
+
- `INVOICE`
|
85
|
+
- `PASSPORT`
|
86
|
+
- `DRIVER_LICENSE`
|
87
|
+
- `HEALTH_INSURANCE_ID`
|
88
|
+
|
89
|
+
|
90
|
+
:param model_sub_type: The model_sub_type of this DrivingLicenseKvModelSubTypeDetails.
|
91
|
+
:type: str
|
92
|
+
"""
|
93
|
+
allowed_values = ["RECEIPT", "INVOICE", "PASSPORT", "DRIVER_LICENSE", "HEALTH_INSURANCE_ID"]
|
94
|
+
if not value_allowed_none_or_none_sentinel(model_sub_type, allowed_values):
|
95
|
+
raise ValueError(
|
96
|
+
f"Invalid value for `model_sub_type`, must be None or one of {allowed_values}"
|
97
|
+
)
|
98
|
+
self._model_sub_type = model_sub_type
|
99
|
+
|
100
|
+
def __repr__(self):
|
101
|
+
return formatted_flat_dict(self)
|
102
|
+
|
103
|
+
def __eq__(self, other):
|
104
|
+
if other is None:
|
105
|
+
return False
|
106
|
+
|
107
|
+
return self.__dict__ == other.__dict__
|
108
|
+
|
109
|
+
def __ne__(self, other):
|
110
|
+
return not self == other
|
@@ -80,26 +80,40 @@ class FieldValue(object):
|
|
80
80
|
The value to assign to the word_indexes property of this FieldValue.
|
81
81
|
:type word_indexes: list[int]
|
82
82
|
|
83
|
+
:param normalized_value:
|
84
|
+
The value to assign to the normalized_value property of this FieldValue.
|
85
|
+
:type normalized_value: str
|
86
|
+
|
87
|
+
:param normalized_confidence:
|
88
|
+
The value to assign to the normalized_confidence property of this FieldValue.
|
89
|
+
:type normalized_confidence: float
|
90
|
+
|
83
91
|
"""
|
84
92
|
self.swagger_types = {
|
85
93
|
'value_type': 'str',
|
86
94
|
'text': 'str',
|
87
95
|
'confidence': 'float',
|
88
96
|
'bounding_polygon': 'BoundingPolygon',
|
89
|
-
'word_indexes': 'list[int]'
|
97
|
+
'word_indexes': 'list[int]',
|
98
|
+
'normalized_value': 'str',
|
99
|
+
'normalized_confidence': 'float'
|
90
100
|
}
|
91
101
|
self.attribute_map = {
|
92
102
|
'value_type': 'valueType',
|
93
103
|
'text': 'text',
|
94
104
|
'confidence': 'confidence',
|
95
105
|
'bounding_polygon': 'boundingPolygon',
|
96
|
-
'word_indexes': 'wordIndexes'
|
106
|
+
'word_indexes': 'wordIndexes',
|
107
|
+
'normalized_value': 'normalizedValue',
|
108
|
+
'normalized_confidence': 'normalizedConfidence'
|
97
109
|
}
|
98
110
|
self._value_type = None
|
99
111
|
self._text = None
|
100
112
|
self._confidence = None
|
101
113
|
self._bounding_polygon = None
|
102
114
|
self._word_indexes = None
|
115
|
+
self._normalized_value = None
|
116
|
+
self._normalized_confidence = None
|
103
117
|
|
104
118
|
@staticmethod
|
105
119
|
def get_subtype(object_dictionary):
|
@@ -254,6 +268,54 @@ class FieldValue(object):
|
|
254
268
|
"""
|
255
269
|
self._word_indexes = word_indexes
|
256
270
|
|
271
|
+
@property
|
272
|
+
def normalized_value(self):
|
273
|
+
"""
|
274
|
+
Gets the normalized_value of this FieldValue.
|
275
|
+
The normalized value.
|
276
|
+
|
277
|
+
|
278
|
+
:return: The normalized_value of this FieldValue.
|
279
|
+
:rtype: str
|
280
|
+
"""
|
281
|
+
return self._normalized_value
|
282
|
+
|
283
|
+
@normalized_value.setter
|
284
|
+
def normalized_value(self, normalized_value):
|
285
|
+
"""
|
286
|
+
Sets the normalized_value of this FieldValue.
|
287
|
+
The normalized value.
|
288
|
+
|
289
|
+
|
290
|
+
:param normalized_value: The normalized_value of this FieldValue.
|
291
|
+
:type: str
|
292
|
+
"""
|
293
|
+
self._normalized_value = normalized_value
|
294
|
+
|
295
|
+
@property
|
296
|
+
def normalized_confidence(self):
|
297
|
+
"""
|
298
|
+
Gets the normalized_confidence of this FieldValue.
|
299
|
+
The normalized value confidence score between 0 and 1.
|
300
|
+
|
301
|
+
|
302
|
+
:return: The normalized_confidence of this FieldValue.
|
303
|
+
:rtype: float
|
304
|
+
"""
|
305
|
+
return self._normalized_confidence
|
306
|
+
|
307
|
+
@normalized_confidence.setter
|
308
|
+
def normalized_confidence(self, normalized_confidence):
|
309
|
+
"""
|
310
|
+
Sets the normalized_confidence of this FieldValue.
|
311
|
+
The normalized value confidence score between 0 and 1.
|
312
|
+
|
313
|
+
|
314
|
+
:param normalized_confidence: The normalized_confidence of this FieldValue.
|
315
|
+
:type: float
|
316
|
+
"""
|
317
|
+
self._normalized_confidence = normalized_confidence
|
318
|
+
|
257
319
|
def __repr__(self):
|
258
320
|
return formatted_flat_dict(self)
|
259
321
|
|
@@ -67,7 +67,7 @@ class GeneralProcessorConfig(ProcessorConfig):
|
|
67
67
|
|
68
68
|
:param processor_type:
|
69
69
|
The value to assign to the processor_type property of this GeneralProcessorConfig.
|
70
|
-
Allowed values for this property are: "GENERAL", 'UNKNOWN_ENUM_VALUE'.
|
70
|
+
Allowed values for this property are: "GENERAL", "INVOICE", 'UNKNOWN_ENUM_VALUE'.
|
71
71
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
72
72
|
:type processor_type: str
|
73
73
|
|