oci 2.132.0__py3-none-any.whl → 2.133.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/__init__.py +2 -2
- 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 +626 -28
- oci/ai_document/ai_service_document_client_composite_operations.py +180 -0
- oci/ai_document/models/__init__.py +10 -0
- oci/ai_document/models/add_model_lock_details.py +150 -0
- oci/ai_document/models/add_project_lock_details.py +150 -0
- oci/ai_document/models/analyze_document_details.py +5 -5
- oci/ai_document/models/detected_document_type.py +0 -35
- oci/ai_document/models/document_classification_feature.py +2 -33
- oci/ai_document/models/document_key_value_extraction_feature.py +2 -33
- oci/ai_document/models/general_processor_config.py +5 -5
- oci/ai_document/models/model.py +33 -2
- oci/ai_document/models/model_summary.py +33 -2
- oci/ai_document/models/output_location.py +1 -1
- oci/ai_document/models/project.py +33 -2
- oci/ai_document/models/remove_model_lock_details.py +88 -0
- oci/ai_document/models/remove_project_lock_details.py +88 -0
- oci/ai_document/models/resource_lock.py +216 -0
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +17 -17
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/__init__.py +3 -1
- oci/announcements_service/announcement_client.py +103 -6
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/models/__init__.py +12 -0
- oci/announcements_service/models/announcement.py +1 -1
- oci/announcements_service/models/announcement_compartment.py +72 -0
- oci/announcements_service/models/announcement_summary.py +1 -1
- oci/announcements_service/models/base_announcement.py +7 -3
- oci/announcements_service/models/base_service.py +498 -0
- oci/announcements_service/models/notifications_summary.py +130 -0
- oci/announcements_service/models/service.py +130 -0
- oci/announcements_service/models/service_summary.py +133 -0
- oci/announcements_service/models/services_collection.py +72 -0
- oci/announcements_service/service_client.py +275 -0
- oci/announcements_service/service_client_composite_operations.py +26 -0
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +9 -9
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +72 -72
- 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 +102 -102
- oci/core/compute_management_client.py +32 -32
- 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 +287 -287
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +13862 -9467
- oci/database/database_client_composite_operations.py +1868 -232
- oci/database/models/__init__.py +80 -0
- oci/database/models/action_member.py +134 -0
- oci/database/models/action_order_details.py +107 -0
- oci/database/models/action_param_values_collection.py +72 -0
- oci/database/models/action_param_values_summary.py +216 -0
- oci/database/models/autonomous_database.py +33 -6
- oci/database/models/autonomous_database_standby_summary.py +33 -2
- oci/database/models/autonomous_database_summary.py +33 -6
- oci/database/models/cancel_execution_window_details.py +134 -0
- oci/database/models/change_scheduling_plan_compartment_details.py +76 -0
- oci/database/models/change_scheduling_policy_compartment_details.py +76 -0
- oci/database/models/cloud_exadata_infrastructure.py +33 -2
- oci/database/models/cloud_exadata_infrastructure_summary.py +33 -2
- oci/database/models/create_autonomous_database_base.py +2 -6
- oci/database/models/create_data_guard_association_with_new_db_system_details.py +35 -0
- oci/database/models/create_exadb_vm_cluster_details.py +12 -2
- oci/database/models/create_execution_action_details.py +304 -0
- oci/database/models/create_execution_window_details.py +282 -0
- oci/database/models/create_pluggable_database_creation_type_details.py +0 -2
- oci/database/models/create_scheduled_action_details.py +339 -0
- oci/database/models/create_scheduling_plan_details.py +306 -0
- oci/database/models/create_scheduling_policy_details.py +267 -0
- oci/database/models/create_scheduling_window_details.py +181 -0
- oci/database/models/exadata_infrastructure.py +33 -2
- oci/database/models/exadata_infrastructure_summary.py +33 -2
- oci/database/models/exadb_vm_cluster.py +12 -2
- oci/database/models/exadb_vm_cluster_summary.py +12 -2
- oci/database/models/execution_action.py +715 -0
- oci/database/models/execution_action_member.py +216 -0
- oci/database/models/execution_action_summary.py +715 -0
- oci/database/models/execution_window.py +783 -0
- oci/database/models/execution_window_summary.py +783 -0
- oci/database/models/granular_maintenance_history_details.py +99 -0
- oci/database/models/maintenance_run.py +62 -0
- oci/database/models/maintenance_run_history.py +64 -2
- oci/database/models/maintenance_run_history_summary.py +64 -2
- oci/database/models/maintenance_run_summary.py +62 -0
- oci/database/models/move_execution_action_member_details.py +220 -0
- oci/database/models/recommended_scheduled_action_summary.py +280 -0
- oci/database/models/recommended_scheduled_actions_collection.py +72 -0
- oci/database/models/reorder_execution_action_details.py +152 -0
- oci/database/models/reorder_scheduled_actions_details.py +109 -0
- oci/database/models/scheduled_action.py +633 -0
- oci/database/models/scheduled_action_collection.py +72 -0
- oci/database/models/scheduled_action_summary.py +633 -0
- oci/database/models/scheduling_plan.py +643 -0
- oci/database/models/scheduling_plan_collection.py +72 -0
- oci/database/models/scheduling_plan_summary.py +643 -0
- oci/database/models/scheduling_policy.py +493 -0
- oci/database/models/scheduling_policy_summary.py +493 -0
- oci/database/models/scheduling_window.py +469 -0
- oci/database/models/scheduling_window_summary.py +469 -0
- oci/database/models/update_autonomous_database_details.py +2 -6
- oci/database/models/update_exadb_vm_cluster_details.py +12 -2
- oci/database/models/update_execution_action_details.py +218 -0
- oci/database/models/update_execution_window_details.py +212 -0
- oci/database/models/update_scheduled_action_details.py +140 -0
- oci/database/models/update_scheduling_policy_details.py +232 -0
- oci/database/models/update_scheduling_window_details.py +146 -0
- oci/database/models/window_preference_detail.py +231 -0
- oci/database_management/db_management_client.py +580 -208
- oci/database_management/db_management_client_composite_operations.py +132 -0
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/models/__init__.py +14 -0
- oci/database_management/models/autonomous_database_diagnostics_and_management_feature_details.py +65 -0
- oci/database_management/models/autonomous_database_feature_details.py +167 -0
- oci/database_management/models/autonomous_database_sql_watch_feature_details.py +65 -0
- oci/database_management/models/connector_details.py +15 -3
- oci/database_management/models/create_db_management_private_endpoint_details.py +31 -0
- oci/database_management/models/db_management_private_endpoint.py +31 -0
- oci/database_management/models/direct_connector_details.py +51 -0
- oci/database_management/models/disable_autonomous_database_management_feature_details.py +92 -0
- oci/database_management/models/enable_autonomous_database_management_feature_details.py +68 -0
- oci/database_management/models/external_connector_details.py +1 -1
- oci/database_management/models/macs_connector_details.py +1 -1
- oci/database_management/models/modify_autonomous_database_management_feature_details.py +68 -0
- oci/database_management/models/optimizer_statistics_collection_operation.py +7 -3
- oci/database_management/models/optimizer_statistics_collection_operation_summary.py +7 -3
- oci/database_management/models/private_end_point_connector_details.py +1 -1
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/delegate_access_control/__init__.py +16 -0
- oci/delegate_access_control/delegate_access_control_client.py +3324 -0
- oci/delegate_access_control/delegate_access_control_client_composite_operations.py +492 -0
- oci/delegate_access_control/models/__init__.py +96 -0
- oci/delegate_access_control/models/approve_delegated_resource_access_request_details.py +138 -0
- oci/delegate_access_control/models/change_delegation_control_compartment_details.py +72 -0
- oci/delegate_access_control/models/change_delegation_subscription_compartment_details.py +72 -0
- oci/delegate_access_control/models/create_delegation_control_details.py +548 -0
- oci/delegate_access_control/models/create_delegation_subscription_details.py +263 -0
- oci/delegate_access_control/models/delegated_resource_access_request.py +1373 -0
- oci/delegate_access_control/models/delegated_resource_access_request_approval_details.py +263 -0
- oci/delegate_access_control/models/delegated_resource_access_request_audit_log_report.py +193 -0
- oci/delegate_access_control/models/delegated_resource_access_request_history_collection.py +72 -0
- oci/delegate_access_control/models/delegated_resource_access_request_history_summary.py +300 -0
- oci/delegate_access_control/models/delegated_resource_access_request_summary.py +981 -0
- oci/delegate_access_control/models/delegated_resource_access_request_summary_collection.py +72 -0
- oci/delegate_access_control/models/delegation_control.py +833 -0
- oci/delegate_access_control/models/delegation_control_resource_collection.py +72 -0
- oci/delegate_access_control/models/delegation_control_resource_summary.py +147 -0
- oci/delegate_access_control/models/delegation_control_summary.py +465 -0
- oci/delegate_access_control/models/delegation_control_summary_collection.py +72 -0
- oci/delegate_access_control/models/delegation_subscription.py +524 -0
- oci/delegate_access_control/models/delegation_subscription_summary.py +461 -0
- oci/delegate_access_control/models/delegation_subscription_summary_collection.py +72 -0
- oci/delegate_access_control/models/reject_delegated_resource_access_request_details.py +72 -0
- oci/delegate_access_control/models/revoke_delegated_resource_access_request_details.py +72 -0
- oci/delegate_access_control/models/service_provider.py +583 -0
- oci/delegate_access_control/models/service_provider_action.py +371 -0
- oci/delegate_access_control/models/service_provider_action_properties.py +103 -0
- oci/delegate_access_control/models/service_provider_action_summary.py +323 -0
- oci/delegate_access_control/models/service_provider_action_summary_collection.py +72 -0
- oci/delegate_access_control/models/service_provider_interaction_collection.py +72 -0
- oci/delegate_access_control/models/service_provider_interaction_request_details.py +72 -0
- oci/delegate_access_control/models/service_provider_interaction_summary.py +247 -0
- oci/delegate_access_control/models/service_provider_summary.py +508 -0
- oci/delegate_access_control/models/service_provider_summary_collection.py +72 -0
- oci/delegate_access_control/models/update_delegation_control_details.py +404 -0
- oci/delegate_access_control/models/update_delegation_subscription_details.py +154 -0
- oci/delegate_access_control/models/work_request.py +438 -0
- oci/delegate_access_control/models/work_request_error.py +136 -0
- oci/delegate_access_control/models/work_request_error_collection.py +72 -0
- oci/delegate_access_control/models/work_request_log_entry.py +103 -0
- oci/delegate_access_control/models/work_request_log_entry_collection.py +72 -0
- oci/delegate_access_control/models/work_request_resource.py +234 -0
- oci/delegate_access_control/models/work_request_summary.py +438 -0
- oci/delegate_access_control/models/work_request_summary_collection.py +72 -0
- oci/delegate_access_control/work_request_client.py +660 -0
- oci/delegate_access_control/work_request_client_composite_operations.py +26 -0
- 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 +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 +393 -59
- oci/file_storage/file_storage_client_composite_operations.py +138 -0
- oci/file_storage/models/__init__.py +4 -0
- oci/file_storage/models/create_mount_target_details.py +39 -26
- oci/file_storage/models/mount_target.py +153 -3
- oci/file_storage/models/mount_target_summary.py +155 -3
- oci/file_storage/models/schedule_downgrade_shape_mount_target_details.py +78 -0
- oci/file_storage/models/upgrade_shape_mount_target_details.py +78 -0
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +8 -8
- oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +13 -13
- oci/fleet_apps_management/fleet_apps_management_runbooks_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/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/models/fusion_environment_family.py +33 -2
- 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 +307 -307
- oci/integration/integration_instance_client.py +16 -16
- oci/jms/java_management_service_client.py +75 -75
- 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 +25 -25
- oci/key_management/kms_hsm_cluster_client_composite_operations.py +3 -3
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/key_management/models/auto_key_rotation_details.py +10 -10
- oci/key_management/models/change_hsm_cluster_compartment_details.py +3 -3
- oci/key_management/models/create_hsm_cluster_details.py +5 -5
- oci/key_management/models/hsm_cluster.py +4 -4
- oci/key_management/models/hsm_cluster_collection.py +2 -2
- oci/key_management/models/hsm_cluster_summary.py +3 -3
- oci/key_management/models/hsm_partition.py +29 -9
- oci/key_management/models/hsm_partition_collection.py +1 -1
- oci/key_management/models/hsm_partition_summary.py +11 -7
- oci/key_management/models/port_information.py +5 -5
- oci/key_management/models/pre_co_user_credentials.py +2 -2
- oci/key_management/models/upload_partition_certificates_details.py +5 -5
- oci/key_management/models/vault.py +31 -0
- 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/load_balancer/models/backend.py +4 -0
- oci/load_balancer/models/backend_details.py +4 -0
- oci/load_balancer/models/backend_set.py +6 -2
- oci/load_balancer/models/backend_set_details.py +6 -2
- oci/load_balancer/models/create_backend_details.py +4 -0
- oci/load_balancer/models/create_backend_set_details.py +6 -2
- oci/load_balancer/models/create_load_balancer_details.py +116 -0
- oci/load_balancer/models/ip_max_connections.py +8 -2
- oci/load_balancer/models/load_balancer.py +100 -0
- oci/load_balancer/models/update_backend_details.py +4 -0
- oci/load_balancer/models/update_backend_set_details.py +6 -2
- oci/load_balancer/models/update_load_balancer_details.py +112 -0
- 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/models/__init__.py +2 -0
- oci/mysql/models/create_db_system_details.py +37 -2
- oci/mysql/models/customer_contact.py +72 -0
- oci/mysql/models/db_system.py +37 -2
- oci/mysql/models/update_db_system_details.py +37 -2
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +86 -86
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/models/__init__.py +14 -0
- oci/object_storage/models/access_target_details.py +136 -0
- oci/object_storage/models/create_private_endpoint_details.py +389 -0
- oci/object_storage/models/fqdns.py +99 -0
- oci/object_storage/models/prefix_fqdns.py +134 -0
- oci/object_storage/models/private_endpoint.py +685 -0
- oci/object_storage/models/private_endpoint_summary.py +369 -0
- oci/object_storage/models/update_private_endpoint_details.py +216 -0
- oci/object_storage/models/work_request.py +15 -3
- oci/object_storage/models/work_request_summary.py +15 -3
- oci/object_storage/object_storage_client.py +686 -71
- oci/object_storage/object_storage_client_composite_operations.py +139 -0
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +8 -8
- oci/ocvp/cluster_client_composite_operations.py +2 -2
- oci/ocvp/esxi_host_client.py +9 -9
- oci/ocvp/models/cluster.py +35 -2
- oci/ocvp/models/cluster_summary.py +35 -2
- oci/ocvp/models/datastore_details.py +1 -1
- oci/ocvp/models/esxi_host.py +35 -2
- oci/ocvp/models/esxi_host_summary.py +35 -2
- oci/ocvp/models/sddc.py +35 -2
- oci/ocvp/models/sddc_summary.py +35 -2
- oci/ocvp/models/supported_host_shape_summary.py +55 -3
- oci/ocvp/models/work_request.py +55 -3
- oci/ocvp/sddc_client.py +21 -16
- 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/operations_insights_client.py +177 -177
- 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 +135 -25
- oci/recovery/database_recovery_client_composite_operations.py +42 -0
- oci/recovery/models/__init__.py +2 -0
- oci/recovery/models/change_protected_database_subscription_details.py +103 -0
- oci/recovery/models/create_protected_database_details.py +33 -0
- oci/recovery/models/create_protection_policy_details.py +39 -0
- oci/recovery/models/protected_database.py +31 -0
- oci/recovery/models/protected_database_summary.py +31 -0
- oci/recovery/models/protection_policy.py +31 -0
- oci/recovery/models/protection_policy_summary.py +31 -0
- oci/redis/redis_cluster_client.py +12 -12
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_endpoints.py +1 -0
- 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 +64 -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/models/__init__.py +2 -0
- oci/waf/models/dynamic_http_response_body.py +104 -0
- oci/waf/models/http_response_body.py +11 -3
- oci/waf/models/static_text_http_response_body.py +1 -1
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.132.0.dist-info → oci-2.133.0.dist-info}/METADATA +1 -1
- {oci-2.132.0.dist-info → oci-2.133.0.dist-info}/RECORD +489 -369
- {oci-2.132.0.dist-info → oci-2.133.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.132.0.dist-info → oci-2.133.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.132.0.dist-info → oci-2.133.0.dist-info}/WHEEL +0 -0
- {oci-2.132.0.dist-info → oci-2.133.0.dist-info}/top_level.txt +0 -0
@@ -25,6 +25,96 @@ class AIServiceDocumentClientCompositeOperations(object):
|
|
25
25
|
"""
|
26
26
|
self.client = client
|
27
27
|
|
28
|
+
def add_model_lock_and_wait_for_state(self, model_id, add_model_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
29
|
+
"""
|
30
|
+
Calls :py:func:`~oci.ai_document.AIServiceDocumentClient.add_model_lock` and waits for the :py:class:`~oci.ai_document.models.Model` acted upon
|
31
|
+
to enter the given state(s).
|
32
|
+
|
33
|
+
:param str model_id: (required)
|
34
|
+
A unique model identifier.
|
35
|
+
|
36
|
+
:param oci.ai_document.models.AddModelLockDetails add_model_lock_details: (required)
|
37
|
+
Request payload to add lock to the resource.
|
38
|
+
|
39
|
+
:param list[str] wait_for_states:
|
40
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.ai_document.models.Model.lifecycle_state`
|
41
|
+
|
42
|
+
:param dict operation_kwargs:
|
43
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.ai_document.AIServiceDocumentClient.add_model_lock`
|
44
|
+
|
45
|
+
:param dict waiter_kwargs:
|
46
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
47
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
48
|
+
"""
|
49
|
+
operation_result = self.client.add_model_lock(model_id, add_model_lock_details, **operation_kwargs)
|
50
|
+
if not wait_for_states:
|
51
|
+
return operation_result
|
52
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
53
|
+
model_id = operation_result.data.id
|
54
|
+
|
55
|
+
try:
|
56
|
+
waiter_result = oci.wait_until(
|
57
|
+
self.client,
|
58
|
+
self.client.get_model(model_id), # noqa: F821
|
59
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
60
|
+
**waiter_kwargs
|
61
|
+
)
|
62
|
+
result_to_return = waiter_result
|
63
|
+
|
64
|
+
return result_to_return
|
65
|
+
except (NameError, TypeError) as e:
|
66
|
+
if not e.args:
|
67
|
+
e.args = ('',)
|
68
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
69
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
70
|
+
except Exception as e:
|
71
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
72
|
+
|
73
|
+
def add_project_lock_and_wait_for_state(self, project_id, add_project_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
74
|
+
"""
|
75
|
+
Calls :py:func:`~oci.ai_document.AIServiceDocumentClient.add_project_lock` and waits for the :py:class:`~oci.ai_document.models.Project` acted upon
|
76
|
+
to enter the given state(s).
|
77
|
+
|
78
|
+
:param str project_id: (required)
|
79
|
+
A unique project identifier.
|
80
|
+
|
81
|
+
:param oci.ai_document.models.AddProjectLockDetails add_project_lock_details: (required)
|
82
|
+
Request payload to add lock to the resource.
|
83
|
+
|
84
|
+
:param list[str] wait_for_states:
|
85
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.ai_document.models.Project.lifecycle_state`
|
86
|
+
|
87
|
+
:param dict operation_kwargs:
|
88
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.ai_document.AIServiceDocumentClient.add_project_lock`
|
89
|
+
|
90
|
+
:param dict waiter_kwargs:
|
91
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
92
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
93
|
+
"""
|
94
|
+
operation_result = self.client.add_project_lock(project_id, add_project_lock_details, **operation_kwargs)
|
95
|
+
if not wait_for_states:
|
96
|
+
return operation_result
|
97
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
98
|
+
project_id = operation_result.data.id
|
99
|
+
|
100
|
+
try:
|
101
|
+
waiter_result = oci.wait_until(
|
102
|
+
self.client,
|
103
|
+
self.client.get_project(project_id), # noqa: F821
|
104
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
105
|
+
**waiter_kwargs
|
106
|
+
)
|
107
|
+
result_to_return = waiter_result
|
108
|
+
|
109
|
+
return result_to_return
|
110
|
+
except (NameError, TypeError) as e:
|
111
|
+
if not e.args:
|
112
|
+
e.args = ('',)
|
113
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
114
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
115
|
+
except Exception as e:
|
116
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
117
|
+
|
28
118
|
def create_model_and_wait_for_state(self, create_model_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
29
119
|
"""
|
30
120
|
Calls :py:func:`~oci.ai_document.AIServiceDocumentClient.create_model` and waits for the :py:class:`~oci.ai_document.models.WorkRequest`
|
@@ -281,6 +371,96 @@ class AIServiceDocumentClientCompositeOperations(object):
|
|
281
371
|
except Exception as e:
|
282
372
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
283
373
|
|
374
|
+
def remove_model_lock_and_wait_for_state(self, model_id, remove_model_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
375
|
+
"""
|
376
|
+
Calls :py:func:`~oci.ai_document.AIServiceDocumentClient.remove_model_lock` and waits for the :py:class:`~oci.ai_document.models.Model` acted upon
|
377
|
+
to enter the given state(s).
|
378
|
+
|
379
|
+
:param str model_id: (required)
|
380
|
+
A unique model identifier.
|
381
|
+
|
382
|
+
:param oci.ai_document.models.RemoveModelLockDetails remove_model_lock_details: (required)
|
383
|
+
Request payload to remove lock to the resource.
|
384
|
+
|
385
|
+
:param list[str] wait_for_states:
|
386
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.ai_document.models.Model.lifecycle_state`
|
387
|
+
|
388
|
+
:param dict operation_kwargs:
|
389
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.ai_document.AIServiceDocumentClient.remove_model_lock`
|
390
|
+
|
391
|
+
:param dict waiter_kwargs:
|
392
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
393
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
394
|
+
"""
|
395
|
+
operation_result = self.client.remove_model_lock(model_id, remove_model_lock_details, **operation_kwargs)
|
396
|
+
if not wait_for_states:
|
397
|
+
return operation_result
|
398
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
399
|
+
model_id = operation_result.data.id
|
400
|
+
|
401
|
+
try:
|
402
|
+
waiter_result = oci.wait_until(
|
403
|
+
self.client,
|
404
|
+
self.client.get_model(model_id), # noqa: F821
|
405
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
406
|
+
**waiter_kwargs
|
407
|
+
)
|
408
|
+
result_to_return = waiter_result
|
409
|
+
|
410
|
+
return result_to_return
|
411
|
+
except (NameError, TypeError) as e:
|
412
|
+
if not e.args:
|
413
|
+
e.args = ('',)
|
414
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
415
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
416
|
+
except Exception as e:
|
417
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
418
|
+
|
419
|
+
def remove_project_lock_and_wait_for_state(self, project_id, remove_project_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
420
|
+
"""
|
421
|
+
Calls :py:func:`~oci.ai_document.AIServiceDocumentClient.remove_project_lock` and waits for the :py:class:`~oci.ai_document.models.Project` acted upon
|
422
|
+
to enter the given state(s).
|
423
|
+
|
424
|
+
:param str project_id: (required)
|
425
|
+
A unique project identifier.
|
426
|
+
|
427
|
+
:param oci.ai_document.models.RemoveProjectLockDetails remove_project_lock_details: (required)
|
428
|
+
Request payload to remove lock to the resource.
|
429
|
+
|
430
|
+
:param list[str] wait_for_states:
|
431
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.ai_document.models.Project.lifecycle_state`
|
432
|
+
|
433
|
+
:param dict operation_kwargs:
|
434
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.ai_document.AIServiceDocumentClient.remove_project_lock`
|
435
|
+
|
436
|
+
:param dict waiter_kwargs:
|
437
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
438
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
439
|
+
"""
|
440
|
+
operation_result = self.client.remove_project_lock(project_id, remove_project_lock_details, **operation_kwargs)
|
441
|
+
if not wait_for_states:
|
442
|
+
return operation_result
|
443
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
444
|
+
project_id = operation_result.data.id
|
445
|
+
|
446
|
+
try:
|
447
|
+
waiter_result = oci.wait_until(
|
448
|
+
self.client,
|
449
|
+
self.client.get_project(project_id), # noqa: F821
|
450
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
451
|
+
**waiter_kwargs
|
452
|
+
)
|
453
|
+
result_to_return = waiter_result
|
454
|
+
|
455
|
+
return result_to_return
|
456
|
+
except (NameError, TypeError) as e:
|
457
|
+
if not e.args:
|
458
|
+
e.args = ('',)
|
459
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
460
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
461
|
+
except Exception as e:
|
462
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
463
|
+
|
284
464
|
def update_model_and_wait_for_state(self, model_id, update_model_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
285
465
|
"""
|
286
466
|
Calls :py:func:`~oci.ai_document.AIServiceDocumentClient.update_model` and waits for the :py:class:`~oci.ai_document.models.WorkRequest`
|
@@ -6,6 +6,8 @@
|
|
6
6
|
|
7
7
|
from __future__ import absolute_import
|
8
8
|
|
9
|
+
from .add_model_lock_details import AddModelLockDetails
|
10
|
+
from .add_project_lock_details import AddProjectLockDetails
|
9
11
|
from .analyze_document_details import AnalyzeDocumentDetails
|
10
12
|
from .analyze_document_result import AnalyzeDocumentResult
|
11
13
|
from .bounding_polygon import BoundingPolygon
|
@@ -67,6 +69,9 @@ from .processor_job import ProcessorJob
|
|
67
69
|
from .project import Project
|
68
70
|
from .project_collection import ProjectCollection
|
69
71
|
from .project_summary import ProjectSummary
|
72
|
+
from .remove_model_lock_details import RemoveModelLockDetails
|
73
|
+
from .remove_project_lock_details import RemoveProjectLockDetails
|
74
|
+
from .resource_lock import ResourceLock
|
70
75
|
from .table import Table
|
71
76
|
from .table_row import TableRow
|
72
77
|
from .update_model_details import UpdateModelDetails
|
@@ -90,6 +95,8 @@ from .work_request_summary_collection import WorkRequestSummaryCollection
|
|
90
95
|
|
91
96
|
# Maps type names to classes for ai_document services.
|
92
97
|
ai_document_type_mapping = {
|
98
|
+
"AddModelLockDetails": AddModelLockDetails,
|
99
|
+
"AddProjectLockDetails": AddProjectLockDetails,
|
93
100
|
"AnalyzeDocumentDetails": AnalyzeDocumentDetails,
|
94
101
|
"AnalyzeDocumentResult": AnalyzeDocumentResult,
|
95
102
|
"BoundingPolygon": BoundingPolygon,
|
@@ -151,6 +158,9 @@ ai_document_type_mapping = {
|
|
151
158
|
"Project": Project,
|
152
159
|
"ProjectCollection": ProjectCollection,
|
153
160
|
"ProjectSummary": ProjectSummary,
|
161
|
+
"RemoveModelLockDetails": RemoveModelLockDetails,
|
162
|
+
"RemoveProjectLockDetails": RemoveProjectLockDetails,
|
163
|
+
"ResourceLock": ResourceLock,
|
154
164
|
"Table": Table,
|
155
165
|
"TableRow": TableRow,
|
156
166
|
"UpdateModelDetails": UpdateModelDetails,
|
@@ -0,0 +1,150 @@
|
|
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: 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 AddModelLockDetails(object):
|
14
|
+
"""
|
15
|
+
Request payload to add lock to the resource.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the type property of a AddModelLockDetails.
|
19
|
+
#: This constant has a value of "FULL"
|
20
|
+
TYPE_FULL = "FULL"
|
21
|
+
|
22
|
+
#: A constant which can be used with the type property of a AddModelLockDetails.
|
23
|
+
#: This constant has a value of "DELETE"
|
24
|
+
TYPE_DELETE = "DELETE"
|
25
|
+
|
26
|
+
def __init__(self, **kwargs):
|
27
|
+
"""
|
28
|
+
Initializes a new AddModelLockDetails object with values from keyword arguments.
|
29
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
30
|
+
|
31
|
+
:param type:
|
32
|
+
The value to assign to the type property of this AddModelLockDetails.
|
33
|
+
Allowed values for this property are: "FULL", "DELETE"
|
34
|
+
:type type: str
|
35
|
+
|
36
|
+
:param related_resource_id:
|
37
|
+
The value to assign to the related_resource_id property of this AddModelLockDetails.
|
38
|
+
:type related_resource_id: str
|
39
|
+
|
40
|
+
:param message:
|
41
|
+
The value to assign to the message property of this AddModelLockDetails.
|
42
|
+
:type message: str
|
43
|
+
|
44
|
+
"""
|
45
|
+
self.swagger_types = {
|
46
|
+
'type': 'str',
|
47
|
+
'related_resource_id': 'str',
|
48
|
+
'message': 'str'
|
49
|
+
}
|
50
|
+
|
51
|
+
self.attribute_map = {
|
52
|
+
'type': 'type',
|
53
|
+
'related_resource_id': 'relatedResourceId',
|
54
|
+
'message': 'message'
|
55
|
+
}
|
56
|
+
|
57
|
+
self._type = None
|
58
|
+
self._related_resource_id = None
|
59
|
+
self._message = None
|
60
|
+
|
61
|
+
@property
|
62
|
+
def type(self):
|
63
|
+
"""
|
64
|
+
**[Required]** Gets the type of this AddModelLockDetails.
|
65
|
+
Type of the lock.
|
66
|
+
|
67
|
+
Allowed values for this property are: "FULL", "DELETE"
|
68
|
+
|
69
|
+
|
70
|
+
:return: The type of this AddModelLockDetails.
|
71
|
+
:rtype: str
|
72
|
+
"""
|
73
|
+
return self._type
|
74
|
+
|
75
|
+
@type.setter
|
76
|
+
def type(self, type):
|
77
|
+
"""
|
78
|
+
Sets the type of this AddModelLockDetails.
|
79
|
+
Type of the lock.
|
80
|
+
|
81
|
+
|
82
|
+
:param type: The type of this AddModelLockDetails.
|
83
|
+
:type: str
|
84
|
+
"""
|
85
|
+
allowed_values = ["FULL", "DELETE"]
|
86
|
+
if not value_allowed_none_or_none_sentinel(type, allowed_values):
|
87
|
+
raise ValueError(
|
88
|
+
f"Invalid value for `type`, must be None or one of {allowed_values}"
|
89
|
+
)
|
90
|
+
self._type = type
|
91
|
+
|
92
|
+
@property
|
93
|
+
def related_resource_id(self):
|
94
|
+
"""
|
95
|
+
Gets the related_resource_id of this AddModelLockDetails.
|
96
|
+
The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
|
97
|
+
|
98
|
+
|
99
|
+
:return: The related_resource_id of this AddModelLockDetails.
|
100
|
+
:rtype: str
|
101
|
+
"""
|
102
|
+
return self._related_resource_id
|
103
|
+
|
104
|
+
@related_resource_id.setter
|
105
|
+
def related_resource_id(self, related_resource_id):
|
106
|
+
"""
|
107
|
+
Sets the related_resource_id of this AddModelLockDetails.
|
108
|
+
The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
|
109
|
+
|
110
|
+
|
111
|
+
:param related_resource_id: The related_resource_id of this AddModelLockDetails.
|
112
|
+
:type: str
|
113
|
+
"""
|
114
|
+
self._related_resource_id = related_resource_id
|
115
|
+
|
116
|
+
@property
|
117
|
+
def message(self):
|
118
|
+
"""
|
119
|
+
Gets the message of this AddModelLockDetails.
|
120
|
+
A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
|
121
|
+
|
122
|
+
|
123
|
+
:return: The message of this AddModelLockDetails.
|
124
|
+
:rtype: str
|
125
|
+
"""
|
126
|
+
return self._message
|
127
|
+
|
128
|
+
@message.setter
|
129
|
+
def message(self, message):
|
130
|
+
"""
|
131
|
+
Sets the message of this AddModelLockDetails.
|
132
|
+
A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
|
133
|
+
|
134
|
+
|
135
|
+
:param message: The message of this AddModelLockDetails.
|
136
|
+
:type: str
|
137
|
+
"""
|
138
|
+
self._message = message
|
139
|
+
|
140
|
+
def __repr__(self):
|
141
|
+
return formatted_flat_dict(self)
|
142
|
+
|
143
|
+
def __eq__(self, other):
|
144
|
+
if other is None:
|
145
|
+
return False
|
146
|
+
|
147
|
+
return self.__dict__ == other.__dict__
|
148
|
+
|
149
|
+
def __ne__(self, other):
|
150
|
+
return not self == other
|
@@ -0,0 +1,150 @@
|
|
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: 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 AddProjectLockDetails(object):
|
14
|
+
"""
|
15
|
+
Request payload to add lock to the resource.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the type property of a AddProjectLockDetails.
|
19
|
+
#: This constant has a value of "FULL"
|
20
|
+
TYPE_FULL = "FULL"
|
21
|
+
|
22
|
+
#: A constant which can be used with the type property of a AddProjectLockDetails.
|
23
|
+
#: This constant has a value of "DELETE"
|
24
|
+
TYPE_DELETE = "DELETE"
|
25
|
+
|
26
|
+
def __init__(self, **kwargs):
|
27
|
+
"""
|
28
|
+
Initializes a new AddProjectLockDetails object with values from keyword arguments.
|
29
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
30
|
+
|
31
|
+
:param type:
|
32
|
+
The value to assign to the type property of this AddProjectLockDetails.
|
33
|
+
Allowed values for this property are: "FULL", "DELETE"
|
34
|
+
:type type: str
|
35
|
+
|
36
|
+
:param related_resource_id:
|
37
|
+
The value to assign to the related_resource_id property of this AddProjectLockDetails.
|
38
|
+
:type related_resource_id: str
|
39
|
+
|
40
|
+
:param message:
|
41
|
+
The value to assign to the message property of this AddProjectLockDetails.
|
42
|
+
:type message: str
|
43
|
+
|
44
|
+
"""
|
45
|
+
self.swagger_types = {
|
46
|
+
'type': 'str',
|
47
|
+
'related_resource_id': 'str',
|
48
|
+
'message': 'str'
|
49
|
+
}
|
50
|
+
|
51
|
+
self.attribute_map = {
|
52
|
+
'type': 'type',
|
53
|
+
'related_resource_id': 'relatedResourceId',
|
54
|
+
'message': 'message'
|
55
|
+
}
|
56
|
+
|
57
|
+
self._type = None
|
58
|
+
self._related_resource_id = None
|
59
|
+
self._message = None
|
60
|
+
|
61
|
+
@property
|
62
|
+
def type(self):
|
63
|
+
"""
|
64
|
+
**[Required]** Gets the type of this AddProjectLockDetails.
|
65
|
+
Type of the lock.
|
66
|
+
|
67
|
+
Allowed values for this property are: "FULL", "DELETE"
|
68
|
+
|
69
|
+
|
70
|
+
:return: The type of this AddProjectLockDetails.
|
71
|
+
:rtype: str
|
72
|
+
"""
|
73
|
+
return self._type
|
74
|
+
|
75
|
+
@type.setter
|
76
|
+
def type(self, type):
|
77
|
+
"""
|
78
|
+
Sets the type of this AddProjectLockDetails.
|
79
|
+
Type of the lock.
|
80
|
+
|
81
|
+
|
82
|
+
:param type: The type of this AddProjectLockDetails.
|
83
|
+
:type: str
|
84
|
+
"""
|
85
|
+
allowed_values = ["FULL", "DELETE"]
|
86
|
+
if not value_allowed_none_or_none_sentinel(type, allowed_values):
|
87
|
+
raise ValueError(
|
88
|
+
f"Invalid value for `type`, must be None or one of {allowed_values}"
|
89
|
+
)
|
90
|
+
self._type = type
|
91
|
+
|
92
|
+
@property
|
93
|
+
def related_resource_id(self):
|
94
|
+
"""
|
95
|
+
Gets the related_resource_id of this AddProjectLockDetails.
|
96
|
+
The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
|
97
|
+
|
98
|
+
|
99
|
+
:return: The related_resource_id of this AddProjectLockDetails.
|
100
|
+
:rtype: str
|
101
|
+
"""
|
102
|
+
return self._related_resource_id
|
103
|
+
|
104
|
+
@related_resource_id.setter
|
105
|
+
def related_resource_id(self, related_resource_id):
|
106
|
+
"""
|
107
|
+
Sets the related_resource_id of this AddProjectLockDetails.
|
108
|
+
The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
|
109
|
+
|
110
|
+
|
111
|
+
:param related_resource_id: The related_resource_id of this AddProjectLockDetails.
|
112
|
+
:type: str
|
113
|
+
"""
|
114
|
+
self._related_resource_id = related_resource_id
|
115
|
+
|
116
|
+
@property
|
117
|
+
def message(self):
|
118
|
+
"""
|
119
|
+
Gets the message of this AddProjectLockDetails.
|
120
|
+
A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
|
121
|
+
|
122
|
+
|
123
|
+
:return: The message of this AddProjectLockDetails.
|
124
|
+
:rtype: str
|
125
|
+
"""
|
126
|
+
return self._message
|
127
|
+
|
128
|
+
@message.setter
|
129
|
+
def message(self, message):
|
130
|
+
"""
|
131
|
+
Sets the message of this AddProjectLockDetails.
|
132
|
+
A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
|
133
|
+
|
134
|
+
|
135
|
+
:param message: The message of this AddProjectLockDetails.
|
136
|
+
:type: str
|
137
|
+
"""
|
138
|
+
self._message = message
|
139
|
+
|
140
|
+
def __repr__(self):
|
141
|
+
return formatted_flat_dict(self)
|
142
|
+
|
143
|
+
def __eq__(self, other):
|
144
|
+
if other is None:
|
145
|
+
return False
|
146
|
+
|
147
|
+
return self.__dict__ == other.__dict__
|
148
|
+
|
149
|
+
def __ne__(self, other):
|
150
|
+
return not self == other
|
@@ -56,8 +56,8 @@ class AnalyzeDocumentDetails(object):
|
|
56
56
|
DOCUMENT_TYPE_OTHERS = "OTHERS"
|
57
57
|
|
58
58
|
#: A constant which can be used with the document_type property of a AnalyzeDocumentDetails.
|
59
|
-
#: This constant has a value of "
|
60
|
-
|
59
|
+
#: This constant has a value of "HEALTH_INSURANCE_ID"
|
60
|
+
DOCUMENT_TYPE_HEALTH_INSURANCE_ID = "HEALTH_INSURANCE_ID"
|
61
61
|
|
62
62
|
def __init__(self, **kwargs):
|
63
63
|
"""
|
@@ -86,7 +86,7 @@ class AnalyzeDocumentDetails(object):
|
|
86
86
|
|
87
87
|
:param document_type:
|
88
88
|
The value to assign to the document_type property of this AnalyzeDocumentDetails.
|
89
|
-
Allowed values for this property are: "INVOICE", "RECEIPT", "RESUME", "TAX_FORM", "DRIVER_LICENSE", "PASSPORT", "BANK_STATEMENT", "CHECK", "PAYSLIP", "OTHERS", "
|
89
|
+
Allowed values for this property are: "INVOICE", "RECEIPT", "RESUME", "TAX_FORM", "DRIVER_LICENSE", "PASSPORT", "BANK_STATEMENT", "CHECK", "PAYSLIP", "OTHERS", "HEALTH_INSURANCE_ID"
|
90
90
|
:type document_type: str
|
91
91
|
|
92
92
|
:param ocr_data:
|
@@ -240,7 +240,7 @@ class AnalyzeDocumentDetails(object):
|
|
240
240
|
Gets the document_type of this AnalyzeDocumentDetails.
|
241
241
|
The document type.
|
242
242
|
|
243
|
-
Allowed values for this property are: "INVOICE", "RECEIPT", "RESUME", "TAX_FORM", "DRIVER_LICENSE", "PASSPORT", "BANK_STATEMENT", "CHECK", "PAYSLIP", "OTHERS", "
|
243
|
+
Allowed values for this property are: "INVOICE", "RECEIPT", "RESUME", "TAX_FORM", "DRIVER_LICENSE", "PASSPORT", "BANK_STATEMENT", "CHECK", "PAYSLIP", "OTHERS", "HEALTH_INSURANCE_ID"
|
244
244
|
|
245
245
|
|
246
246
|
:return: The document_type of this AnalyzeDocumentDetails.
|
@@ -258,7 +258,7 @@ class AnalyzeDocumentDetails(object):
|
|
258
258
|
:param document_type: The document_type of this AnalyzeDocumentDetails.
|
259
259
|
:type: str
|
260
260
|
"""
|
261
|
-
allowed_values = ["INVOICE", "RECEIPT", "RESUME", "TAX_FORM", "DRIVER_LICENSE", "PASSPORT", "BANK_STATEMENT", "CHECK", "PAYSLIP", "OTHERS", "
|
261
|
+
allowed_values = ["INVOICE", "RECEIPT", "RESUME", "TAX_FORM", "DRIVER_LICENSE", "PASSPORT", "BANK_STATEMENT", "CHECK", "PAYSLIP", "OTHERS", "HEALTH_INSURANCE_ID"]
|
262
262
|
if not value_allowed_none_or_none_sentinel(document_type, allowed_values):
|
263
263
|
raise ValueError(
|
264
264
|
f"Invalid value for `document_type`, must be None or one of {allowed_values}"
|
@@ -24,10 +24,6 @@ class DetectedDocumentType(object):
|
|
24
24
|
The value to assign to the document_type property of this DetectedDocumentType.
|
25
25
|
:type document_type: str
|
26
26
|
|
27
|
-
:param document_id:
|
28
|
-
The value to assign to the document_id property of this DetectedDocumentType.
|
29
|
-
:type document_id: str
|
30
|
-
|
31
27
|
:param confidence:
|
32
28
|
The value to assign to the confidence property of this DetectedDocumentType.
|
33
29
|
:type confidence: float
|
@@ -35,18 +31,15 @@ class DetectedDocumentType(object):
|
|
35
31
|
"""
|
36
32
|
self.swagger_types = {
|
37
33
|
'document_type': 'str',
|
38
|
-
'document_id': 'str',
|
39
34
|
'confidence': 'float'
|
40
35
|
}
|
41
36
|
|
42
37
|
self.attribute_map = {
|
43
38
|
'document_type': 'documentType',
|
44
|
-
'document_id': 'documentId',
|
45
39
|
'confidence': 'confidence'
|
46
40
|
}
|
47
41
|
|
48
42
|
self._document_type = None
|
49
|
-
self._document_id = None
|
50
43
|
self._confidence = None
|
51
44
|
|
52
45
|
@property
|
@@ -73,34 +66,6 @@ class DetectedDocumentType(object):
|
|
73
66
|
"""
|
74
67
|
self._document_type = document_type
|
75
68
|
|
76
|
-
@property
|
77
|
-
def document_id(self):
|
78
|
-
"""
|
79
|
-
Gets the document_id of this DetectedDocumentType.
|
80
|
-
The `OCID`__ of the Key-Value Extraction model that was used to extract the key-value pairs.
|
81
|
-
|
82
|
-
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
83
|
-
|
84
|
-
|
85
|
-
:return: The document_id of this DetectedDocumentType.
|
86
|
-
:rtype: str
|
87
|
-
"""
|
88
|
-
return self._document_id
|
89
|
-
|
90
|
-
@document_id.setter
|
91
|
-
def document_id(self, document_id):
|
92
|
-
"""
|
93
|
-
Sets the document_id of this DetectedDocumentType.
|
94
|
-
The `OCID`__ of the Key-Value Extraction model that was used to extract the key-value pairs.
|
95
|
-
|
96
|
-
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
97
|
-
|
98
|
-
|
99
|
-
:param document_id: The document_id of this DetectedDocumentType.
|
100
|
-
:type: str
|
101
|
-
"""
|
102
|
-
self._document_id = document_id
|
103
|
-
|
104
69
|
@property
|
105
70
|
def confidence(self):
|
106
71
|
"""
|