oci 2.129.4__py3-none-any.whl → 2.131.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +870 -87
- oci/ai_speech/ai_service_speech_client_composite_operations.py +146 -0
- oci/ai_speech/models/__init__.py +70 -0
- oci/ai_speech/models/change_customization_compartment_details.py +78 -0
- oci/ai_speech/models/create_customization_details.py +289 -0
- oci/ai_speech/models/create_realtime_session_token_details.py +142 -0
- oci/ai_speech/models/customization.py +544 -0
- oci/ai_speech/models/customization_collection.py +72 -0
- oci/ai_speech/models/customization_dataset_details.py +109 -0
- oci/ai_speech/models/customization_inference.py +173 -0
- oci/ai_speech/models/customization_inference_entity.py +138 -0
- oci/ai_speech/models/customization_model_details.py +139 -0
- oci/ai_speech/models/customization_referenced_entities.py +134 -0
- oci/ai_speech/models/customization_summary.py +396 -0
- oci/ai_speech/models/entity.py +134 -0
- oci/ai_speech/models/entity_list.py +166 -0
- oci/ai_speech/models/entity_list_dataset.py +115 -0
- oci/ai_speech/models/location_details.py +101 -0
- oci/ai_speech/models/object_list_dataset.py +144 -0
- oci/ai_speech/models/object_storage_dataset.py +109 -0
- oci/ai_speech/models/pronunciation.py +99 -0
- oci/ai_speech/models/realtime_message.py +168 -0
- oci/ai_speech/models/realtime_message_ack_audio.py +85 -0
- oci/ai_speech/models/realtime_message_ack_audio_details.py +134 -0
- oci/ai_speech/models/realtime_message_authentication.py +140 -0
- oci/ai_speech/models/realtime_message_authentication_credentials.py +89 -0
- oci/ai_speech/models/realtime_message_authentication_token.py +89 -0
- oci/ai_speech/models/realtime_message_connect.py +58 -0
- oci/ai_speech/models/realtime_message_error.py +120 -0
- oci/ai_speech/models/realtime_message_out.py +103 -0
- oci/ai_speech/models/realtime_message_result.py +89 -0
- oci/ai_speech/models/realtime_message_result_transcription.py +258 -0
- oci/ai_speech/models/realtime_message_result_transcription_token.py +212 -0
- oci/ai_speech/models/realtime_message_send_final_result.py +51 -0
- oci/ai_speech/models/realtime_model_details.py +139 -0
- oci/ai_speech/models/realtime_parameters.py +390 -0
- oci/ai_speech/models/realtime_session_token.py +200 -0
- oci/ai_speech/models/update_customization_details.py +254 -0
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +9 -9
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +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/auth/signers/ephemeral_resource_principals_v21_signer.py +38 -5
- oci/auth/signers/key_pair_signer.py +2 -2
- oci/auth/signers/resource_principals_signer.py +17 -5
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +808 -84
- oci/bds/bds_client_composite_operations.py +177 -0
- oci/bds/models/__init__.py +22 -0
- oci/bds/models/auto_scale_policy_metric_rule.py +9 -5
- oci/bds/models/batching_based_odh_patching_config.py +113 -0
- oci/bds/models/batching_based_patching_configs.py +2 -2
- oci/bds/models/create_resource_principal_configuration_details.py +134 -0
- oci/bds/models/domain_based_odh_patching_config.py +82 -0
- oci/bds/models/domain_based_patching_configs.py +113 -0
- oci/bds/models/downtime_based_odh_patching_config.py +51 -0
- oci/bds/models/downtime_based_patching_configs.py +1 -1
- oci/bds/models/force_refresh_resource_principal_details.py +72 -0
- oci/bds/models/install_patch_details.py +29 -2
- oci/bds/models/node.py +31 -0
- oci/bds/models/odh_patching_config.py +117 -0
- oci/bds/models/patching_configs.py +12 -4
- oci/bds/models/remove_resource_principal_configuration_details.py +72 -0
- oci/bds/models/resource_principal_configuration.py +352 -0
- oci/bds/models/resource_principal_configuration_summary.py +289 -0
- oci/bds/models/update_resource_principal_configuration_details.py +103 -0
- oci/bds/models/work_request.py +19 -3
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +22 -22
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +508 -99
- oci/core/compute_client_composite_operations.py +39 -0
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +6 -0
- oci/core/models/instance_maintenance_event.py +1022 -0
- oci/core/models/instance_maintenance_event_summary.py +795 -0
- oci/core/models/update_instance_maintenance_event_details.py +281 -0
- oci/core/virtual_network_client.py +247 -247
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +3154 -2286
- oci/data_safe/data_safe_client_composite_operations.py +307 -0
- oci/data_safe/models/__init__.py +2 -0
- oci/data_safe/models/alert.py +62 -0
- oci/data_safe/models/alert_policy.py +31 -0
- oci/data_safe/models/alert_policy_rule.py +127 -2
- oci/data_safe/models/alert_policy_rule_summary.py +127 -2
- oci/data_safe/models/alert_policy_summary.py +31 -0
- oci/data_safe/models/alert_summary.py +62 -0
- oci/data_safe/models/create_alert_policy_details.py +31 -0
- oci/data_safe/models/create_alert_policy_rule_details.py +33 -2
- oci/data_safe/models/report.py +42 -3
- oci/data_safe/models/report_definition.py +38 -3
- oci/data_safe/models/report_definition_summary.py +7 -3
- oci/data_safe/models/report_summary.py +11 -3
- oci/data_safe/models/target_alert_policy_association.py +31 -0
- oci/data_safe/models/target_alert_policy_association_summary.py +31 -0
- oci/data_safe/models/update_alert_policy_details.py +240 -0
- oci/data_safe/models/update_alert_policy_rule_details.py +33 -2
- oci/data_safe/models/work_request.py +31 -3
- oci/data_safe/models/work_request_summary.py +31 -3
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +356 -356
- oci/database/models/autonomous_database.py +37 -2
- oci/database/models/autonomous_database_summary.py +37 -2
- oci/database_management/db_management_client.py +208 -208
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +792 -66
- oci/database_migration/database_migration_client_composite_operations.py +179 -0
- oci/database_migration/models/__init__.py +8 -0
- oci/database_migration/models/adb_dedicated_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/create_adb_dedicated_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/create_non_adb_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/create_parameter_file_version_details.py +181 -0
- oci/database_migration/models/job.py +31 -0
- oci/database_migration/models/non_adb_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/parameter_file_version.py +274 -0
- oci/database_migration/models/parameter_file_version_collection.py +72 -0
- oci/database_migration/models/parameter_file_version_summary.py +342 -0
- oci/database_migration/models/phase_status.py +80 -2
- oci/database_migration/models/update_adb_dedicated_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/update_non_adb_auto_create_tablespace_details.py +11 -3
- oci/database_tools/database_tools_client.py +23 -23
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +8664 -2588
- oci/devops/devops_client_composite_operations.py +443 -0
- oci/devops/models/__init__.py +182 -0
- oci/devops/models/approval_activity_summary.py +127 -0
- oci/devops/models/approval_rule.py +165 -0
- oci/devops/models/approval_rule_collection.py +72 -0
- oci/devops/models/approval_rule_merge_check.py +270 -0
- oci/devops/models/build_merge_check.py +144 -0
- oci/devops/models/build_run_snapshot.py +329 -0
- oci/devops/models/build_run_snapshot_collection.py +72 -0
- oci/devops/models/build_run_snapshot_summary.py +297 -0
- oci/devops/models/comment_activity_summary.py +110 -0
- oci/devops/models/commit_activity_summary.py +141 -0
- oci/devops/models/commit_analytics_author_collection.py +72 -0
- oci/devops/models/commit_analytics_author_summary.py +103 -0
- oci/devops/models/conflict_merge_check.py +99 -0
- oci/devops/models/create_or_update_git_branch_details.py +89 -0
- oci/devops/models/create_or_update_git_ref_details.py +140 -0
- oci/devops/models/create_or_update_git_tag_details.py +89 -0
- oci/devops/models/create_or_update_protected_branch_details.py +122 -0
- oci/devops/models/create_pull_request_comment_details.py +227 -0
- oci/devops/models/create_pull_request_details.py +328 -0
- oci/devops/models/create_repository_details.py +33 -0
- oci/devops/models/create_reviewer_details.py +72 -0
- oci/devops/models/delete_git_ref_details.py +72 -0
- oci/devops/models/delete_protected_branch_details.py +72 -0
- oci/devops/models/deploy_artifact_source.py +7 -3
- oci/devops/models/devops_code_repository_filter.py +11 -3
- oci/devops/models/devops_code_repository_filter_attributes.py +31 -0
- oci/devops/models/execute_merge_pull_request_details.py +196 -0
- oci/devops/models/fork_sync_status_collection.py +72 -0
- oci/devops/models/fork_sync_status_summary.py +154 -0
- oci/devops/models/generic_artifact_location_details.py +101 -0
- oci/devops/models/generic_artifacts.py +116 -0
- oci/devops/models/generic_deploy_artifact_source.py +1 -1
- oci/devops/models/helm_command_spec_artifact_source.py +1 -1
- oci/devops/models/helm_repository_deploy_artifact_source.py +1 -1
- oci/devops/models/inline_deploy_artifact_source.py +1 -1
- oci/devops/models/merge_check.py +117 -0
- oci/devops/models/merge_check_collection.py +145 -0
- oci/devops/models/merge_checks.py +88 -0
- oci/devops/models/merge_pull_request_details.py +109 -0
- oci/devops/models/merge_settings.py +139 -0
- oci/devops/models/mirror_repository_config.py +2 -2
- oci/devops/models/object_storage_generic_artifact_location_details.py +175 -0
- oci/devops/models/ocir_deploy_artifact_source.py +1 -1
- oci/devops/models/patch_insert_instruction.py +171 -0
- oci/devops/models/patch_instruction.py +184 -0
- oci/devops/models/patch_merge_instruction.py +97 -0
- oci/devops/models/patch_move_instruction.py +147 -0
- oci/devops/models/patch_prohibit_instruction.py +100 -0
- oci/devops/models/patch_pull_request_details.py +72 -0
- oci/devops/models/patch_remove_instruction.py +59 -0
- oci/devops/models/patch_replace_instruction.py +92 -0
- oci/devops/models/patch_require_instruction.py +99 -0
- oci/devops/models/principal_details.py +209 -0
- oci/devops/models/project_notification_preference.py +154 -0
- oci/devops/models/project_repository_settings.py +95 -0
- oci/devops/models/protected_branch.py +189 -0
- oci/devops/models/protected_branch_collection.py +72 -0
- oci/devops/models/protected_branch_summary.py +224 -0
- oci/devops/models/pull_request.py +814 -0
- oci/devops/models/pull_request_activity_collection.py +72 -0
- oci/devops/models/pull_request_activity_summary.py +253 -0
- oci/devops/models/pull_request_attachment.py +196 -0
- oci/devops/models/pull_request_attachment_collection.py +72 -0
- oci/devops/models/pull_request_attachment_summary.py +196 -0
- oci/devops/models/pull_request_author_collection.py +72 -0
- oci/devops/models/pull_request_author_summary.py +68 -0
- oci/devops/models/pull_request_change_summary_metrics.py +134 -0
- oci/devops/models/pull_request_collection.py +72 -0
- oci/devops/models/pull_request_comment.py +581 -0
- oci/devops/models/pull_request_comment_collection.py +72 -0
- oci/devops/models/pull_request_comment_like_collection.py +103 -0
- oci/devops/models/pull_request_comment_summary.py +533 -0
- oci/devops/models/pull_request_file_change_collection.py +72 -0
- oci/devops/models/pull_request_file_change_summary.py +456 -0
- oci/devops/models/pull_request_lifecycle_activity_summary.py +135 -0
- oci/devops/models/pull_request_notification_preference.py +154 -0
- oci/devops/models/pull_request_summary.py +669 -0
- oci/devops/models/repository.py +47 -6
- oci/devops/models/repository_analytics_details.py +318 -0
- oci/devops/models/repository_metric_aggregation.py +72 -0
- oci/devops/models/repository_metric_summary.py +281 -0
- oci/devops/models/repository_notification_preference.py +158 -0
- oci/devops/models/repository_settings.py +122 -0
- oci/devops/models/repository_summary.py +33 -0
- oci/devops/models/review_pull_request_details.py +88 -0
- oci/devops/models/reviewer.py +256 -0
- oci/devops/models/reviewer_activity_summary.py +141 -0
- oci/devops/models/stage_output.py +140 -0
- oci/devops/models/summarize_project_repository_analytics_details.py +318 -0
- oci/devops/models/summarize_repository_analytics_details.py +318 -0
- oci/devops/models/sync_repository_details.py +103 -0
- oci/devops/models/test_report_output.py +89 -0
- oci/devops/models/update_approval_rule_details.py +165 -0
- oci/devops/models/update_approval_rule_details_collection.py +72 -0
- oci/devops/models/update_project_notification_preference_details.py +72 -0
- oci/devops/models/update_project_repository_settings_details.py +95 -0
- oci/devops/models/update_pull_request_comment_details.py +72 -0
- oci/devops/models/update_pull_request_details.py +235 -0
- oci/devops/models/update_pull_request_notification_preference_details.py +72 -0
- oci/devops/models/update_repository_details.py +2 -0
- oci/devops/models/update_repository_notification_preference_details.py +72 -0
- oci/devops/models/update_repository_settings_details.py +122 -0
- oci/devops/models/update_reviewer_details.py +72 -0
- oci/devops/models/validate_merge_pull_request_details.py +51 -0
- oci/devops/models/work_request.py +31 -3
- oci/devops/models/work_request_summary.py +31 -3
- 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 +26 -26
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +51 -51
- oci/fleet_software_update/fleet_software_update_client.py +259 -45
- oci/fleet_software_update/fleet_software_update_client_composite_operations.py +52 -1
- oci/fleet_software_update/models/__init__.py +4 -0
- oci/fleet_software_update/models/cloud_vm_cluster_target_summary.py +33 -2
- oci/fleet_software_update/models/create_fsu_cycle_details.py +27 -0
- oci/fleet_software_update/models/create_patch_fsu_cycle.py +7 -0
- oci/fleet_software_update/models/diagnostics_collection_details.py +94 -0
- oci/fleet_software_update/models/fsu_collection_target.py +239 -0
- oci/fleet_software_update/models/fsu_cycle.py +27 -0
- oci/fleet_software_update/models/fsu_cycle_summary.py +27 -0
- oci/fleet_software_update/models/gi_resource_id_filter.py +7 -3
- oci/fleet_software_update/models/image_id_fsu_target_details.py +4 -1
- oci/fleet_software_update/models/patch_fsu_cycle.py +7 -0
- oci/fleet_software_update/models/update_fsu_cycle_details.py +27 -0
- oci/fleet_software_update/models/update_patch_fsu_cycle.py +7 -0
- oci/fleet_software_update/models/vm_cluster_target_summary.py +33 -2
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +68 -68
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +1525 -662
- oci/identity_domains/models/__init__.py +12 -0
- oci/identity_domains/models/extension_social_identity_provider.py +220 -0
- oci/identity_domains/models/identity_propagation_trust.py +0 -49
- oci/identity_domains/models/identity_provider_jit_prov_assigned_groups.py +214 -0
- oci/identity_domains/models/social_identity_provider.py +2083 -0
- oci/identity_domains/models/social_identity_provider_jit_prov_assigned_groups.py +202 -0
- oci/identity_domains/models/social_identity_provider_relay_idp_param_mappings.py +147 -0
- oci/identity_domains/models/social_identity_provider_search_request.py +364 -0
- oci/identity_domains/models/social_identity_providers.py +196 -0
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +1414 -234
- oci/jms/java_management_service_client_composite_operations.py +194 -0
- oci/jms/models/__init__.py +24 -0
- oci/jms/models/agent_installer_collection.py +72 -0
- oci/jms/models/agent_installer_summary.py +411 -0
- oci/jms/models/application_installation_usage_summary.py +62 -0
- oci/jms/models/application_usage.py +35 -4
- oci/jms/models/application_work_item_details.py +1 -1
- oci/jms/models/basic_work_item_details.py +1 -1
- oci/jms/models/create_jms_plugin_details.py +220 -0
- oci/jms/models/crypto_analysis_result.py +62 -0
- oci/jms/models/crypto_analysis_result_summary.py +62 -0
- oci/jms/models/deployed_application_installation_usage_summary.py +32 -1
- oci/jms/models/deployed_application_migration_analyses_target.py +197 -0
- oci/jms/models/deployed_application_usage.py +31 -0
- oci/jms/models/deployed_application_work_item_details.py +183 -0
- oci/jms/models/export_setting.py +3 -3
- oci/jms/models/fleet_agent_configuration.py +62 -0
- oci/jms/models/generate_agent_installer_configuration_details.py +111 -0
- oci/jms/models/generate_load_pipeline_script_details.py +165 -0
- oci/jms/models/installation_site.py +7 -3
- oci/jms/models/java_artifact.py +2 -2
- oci/jms/models/java_family.py +37 -2
- oci/jms/models/java_family_summary.py +37 -2
- oci/jms/models/java_migration_analysis_target.py +34 -3
- oci/jms/models/java_server_instance_usage.py +31 -0
- oci/jms/models/jms_plugin.py +698 -0
- oci/jms/models/jms_plugin_collection.py +72 -0
- oci/jms/models/jms_plugin_summary.py +698 -0
- oci/jms/models/lcm_work_item_details.py +1 -1
- oci/jms/models/library_usage.py +64 -2
- oci/jms/models/managed_instance_usage.py +38 -3
- oci/jms/models/operating_system.py +2 -2
- oci/jms/models/performance_tuning_analysis_result.py +4 -4
- oci/jms/models/performance_tuning_analysis_result_summary.py +4 -4
- oci/jms/models/request_deployed_application_migration_analyses_details.py +73 -0
- oci/jms/models/update_export_setting_details.py +3 -3
- oci/jms/models/update_fleet_agent_configuration_details.py +62 -0
- oci/jms/models/update_jms_plugin_details.py +150 -0
- oci/jms/models/work_item_details.py +11 -3
- oci/jms/models/work_item_summary.py +7 -3
- oci/jms_java_downloads/java_download_client.py +30 -30
- oci/jms_java_downloads/models/generate_artifact_download_url_details.py +35 -0
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/models/__init__.py +22 -0
- oci/network_firewall/models/create_tunnel_inspection_rule_details.py +218 -0
- oci/network_firewall/models/create_vxlan_inspection_rule_details.py +127 -0
- oci/network_firewall/models/tunnel_inspection_rule.py +280 -0
- oci/network_firewall/models/tunnel_inspection_rule_summary.py +253 -0
- oci/network_firewall/models/tunnel_inspection_rule_summary_collection.py +72 -0
- oci/network_firewall/models/update_tunnel_inspection_rule_details.py +187 -0
- oci/network_firewall/models/update_vxlan_inspection_rule_details.py +120 -0
- oci/network_firewall/models/vxlan_inspection_rule.py +141 -0
- oci/network_firewall/models/vxlan_inspection_rule_match_criteria.py +104 -0
- oci/network_firewall/models/vxlan_inspection_rule_profile.py +72 -0
- oci/network_firewall/models/vxlan_inspection_rule_summary.py +134 -0
- oci/network_firewall/network_firewall_client.py +837 -97
- oci/network_firewall/network_firewall_client_composite_operations.py +42 -0
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/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/models/create_custom_software_source_details.py +41 -0
- oci/os_management_hub/models/create_versioned_custom_software_source_details.py +41 -0
- oci/os_management_hub/models/custom_software_source.py +41 -0
- oci/os_management_hub/models/update_custom_software_source_details.py +43 -2
- oci/os_management_hub/models/versioned_custom_software_source.py +41 -0
- 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 +28 -28
- 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/models/__init__.py +6 -0
- oci/psql/models/backup.py +2 -2
- oci/psql/models/backup_summary.py +2 -2
- oci/psql/models/configuration.py +117 -31
- oci/psql/models/configuration_summary.py +58 -19
- oci/psql/models/create_configuration_details.py +60 -21
- oci/psql/models/create_db_system_details.py +1 -1
- oci/psql/models/default_configuration.py +72 -33
- oci/psql/models/default_configuration_summary.py +60 -21
- oci/psql/models/management_policy_details.py +10 -2
- oci/psql/models/shape_memory_options.py +196 -0
- oci/psql/models/shape_ocpu_options.py +103 -0
- oci/psql/models/shape_summary.py +87 -2
- oci/psql/models/update_db_system_details.py +122 -0
- oci/psql/models/update_network_details.py +76 -0
- oci/psql/postgresql_client.py +35 -35
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +25 -25
- oci/redis/models/create_redis_cluster_details.py +12 -2
- oci/redis/models/redis_cluster.py +19 -5
- oci/redis/models/redis_cluster_summary.py +12 -2
- oci/redis/models/update_redis_cluster_details.py +12 -2
- oci/redis/redis_cluster_client.py +11 -11
- oci/regions_definitions.py +3 -0
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/models/baselineable_metric.py +155 -124
- oci/stack_monitoring/models/baselineable_metric_summary.py +31 -0
- oci/stack_monitoring/models/create_baselineable_metric_details.py +35 -4
- oci/stack_monitoring/models/update_baselineable_metric_details.py +31 -0
- oci/stack_monitoring/stack_monitoring_client.py +74 -64
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.129.4.dist-info → oci-2.131.0.dist-info}/METADATA +1 -1
- {oci-2.129.4.dist-info → oci-2.131.0.dist-info}/RECORD +570 -391
- {oci-2.129.4.dist-info → oci-2.131.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.129.4.dist-info → oci-2.131.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.129.4.dist-info → oci-2.131.0.dist-info}/WHEEL +0 -0
- {oci-2.129.4.dist-info → oci-2.131.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,189 @@
|
|
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: 20210630
|
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 ProtectedBranch(object):
|
14
|
+
"""
|
15
|
+
Holds information used to restrict certain actions on branches
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the protection_levels property of a ProtectedBranch.
|
19
|
+
#: This constant has a value of "READ_ONLY"
|
20
|
+
PROTECTION_LEVELS_READ_ONLY = "READ_ONLY"
|
21
|
+
|
22
|
+
#: A constant which can be used with the protection_levels property of a ProtectedBranch.
|
23
|
+
#: This constant has a value of "PULL_REQUEST_MERGE_ONLY"
|
24
|
+
PROTECTION_LEVELS_PULL_REQUEST_MERGE_ONLY = "PULL_REQUEST_MERGE_ONLY"
|
25
|
+
|
26
|
+
def __init__(self, **kwargs):
|
27
|
+
"""
|
28
|
+
Initializes a new ProtectedBranch object with values from keyword arguments.
|
29
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
30
|
+
|
31
|
+
:param branch_name:
|
32
|
+
The value to assign to the branch_name property of this ProtectedBranch.
|
33
|
+
:type branch_name: str
|
34
|
+
|
35
|
+
:param protection_levels:
|
36
|
+
The value to assign to the protection_levels property of this ProtectedBranch.
|
37
|
+
Allowed values for items in this list are: "READ_ONLY", "PULL_REQUEST_MERGE_ONLY", 'UNKNOWN_ENUM_VALUE'.
|
38
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
39
|
+
:type protection_levels: list[str]
|
40
|
+
|
41
|
+
:param freeform_tags:
|
42
|
+
The value to assign to the freeform_tags property of this ProtectedBranch.
|
43
|
+
:type freeform_tags: dict(str, str)
|
44
|
+
|
45
|
+
:param defined_tags:
|
46
|
+
The value to assign to the defined_tags property of this ProtectedBranch.
|
47
|
+
:type defined_tags: dict(str, dict(str, object))
|
48
|
+
|
49
|
+
"""
|
50
|
+
self.swagger_types = {
|
51
|
+
'branch_name': 'str',
|
52
|
+
'protection_levels': 'list[str]',
|
53
|
+
'freeform_tags': 'dict(str, str)',
|
54
|
+
'defined_tags': 'dict(str, dict(str, object))'
|
55
|
+
}
|
56
|
+
|
57
|
+
self.attribute_map = {
|
58
|
+
'branch_name': 'branchName',
|
59
|
+
'protection_levels': 'protectionLevels',
|
60
|
+
'freeform_tags': 'freeformTags',
|
61
|
+
'defined_tags': 'definedTags'
|
62
|
+
}
|
63
|
+
|
64
|
+
self._branch_name = None
|
65
|
+
self._protection_levels = None
|
66
|
+
self._freeform_tags = None
|
67
|
+
self._defined_tags = None
|
68
|
+
|
69
|
+
@property
|
70
|
+
def branch_name(self):
|
71
|
+
"""
|
72
|
+
**[Required]** Gets the branch_name of this ProtectedBranch.
|
73
|
+
Branch name inside a repository.
|
74
|
+
|
75
|
+
|
76
|
+
:return: The branch_name of this ProtectedBranch.
|
77
|
+
:rtype: str
|
78
|
+
"""
|
79
|
+
return self._branch_name
|
80
|
+
|
81
|
+
@branch_name.setter
|
82
|
+
def branch_name(self, branch_name):
|
83
|
+
"""
|
84
|
+
Sets the branch_name of this ProtectedBranch.
|
85
|
+
Branch name inside a repository.
|
86
|
+
|
87
|
+
|
88
|
+
:param branch_name: The branch_name of this ProtectedBranch.
|
89
|
+
:type: str
|
90
|
+
"""
|
91
|
+
self._branch_name = branch_name
|
92
|
+
|
93
|
+
@property
|
94
|
+
def protection_levels(self):
|
95
|
+
"""
|
96
|
+
**[Required]** Gets the protection_levels of this ProtectedBranch.
|
97
|
+
Protection levels to be added on the branch.
|
98
|
+
|
99
|
+
Allowed values for items in this list are: "READ_ONLY", "PULL_REQUEST_MERGE_ONLY", 'UNKNOWN_ENUM_VALUE'.
|
100
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
101
|
+
|
102
|
+
|
103
|
+
:return: The protection_levels of this ProtectedBranch.
|
104
|
+
:rtype: list[str]
|
105
|
+
"""
|
106
|
+
return self._protection_levels
|
107
|
+
|
108
|
+
@protection_levels.setter
|
109
|
+
def protection_levels(self, protection_levels):
|
110
|
+
"""
|
111
|
+
Sets the protection_levels of this ProtectedBranch.
|
112
|
+
Protection levels to be added on the branch.
|
113
|
+
|
114
|
+
|
115
|
+
:param protection_levels: The protection_levels of this ProtectedBranch.
|
116
|
+
:type: list[str]
|
117
|
+
"""
|
118
|
+
allowed_values = ["READ_ONLY", "PULL_REQUEST_MERGE_ONLY"]
|
119
|
+
if protection_levels:
|
120
|
+
protection_levels[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in protection_levels]
|
121
|
+
self._protection_levels = protection_levels
|
122
|
+
|
123
|
+
@property
|
124
|
+
def freeform_tags(self):
|
125
|
+
"""
|
126
|
+
Gets the freeform_tags of this ProtectedBranch.
|
127
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See `Resource Tags`__. Example: `{\"bar-key\": \"value\"}`
|
128
|
+
|
129
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
130
|
+
|
131
|
+
|
132
|
+
:return: The freeform_tags of this ProtectedBranch.
|
133
|
+
:rtype: dict(str, str)
|
134
|
+
"""
|
135
|
+
return self._freeform_tags
|
136
|
+
|
137
|
+
@freeform_tags.setter
|
138
|
+
def freeform_tags(self, freeform_tags):
|
139
|
+
"""
|
140
|
+
Sets the freeform_tags of this ProtectedBranch.
|
141
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See `Resource Tags`__. Example: `{\"bar-key\": \"value\"}`
|
142
|
+
|
143
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
144
|
+
|
145
|
+
|
146
|
+
:param freeform_tags: The freeform_tags of this ProtectedBranch.
|
147
|
+
:type: dict(str, str)
|
148
|
+
"""
|
149
|
+
self._freeform_tags = freeform_tags
|
150
|
+
|
151
|
+
@property
|
152
|
+
def defined_tags(self):
|
153
|
+
"""
|
154
|
+
Gets the defined_tags of this ProtectedBranch.
|
155
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
156
|
+
|
157
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
158
|
+
|
159
|
+
|
160
|
+
:return: The defined_tags of this ProtectedBranch.
|
161
|
+
:rtype: dict(str, dict(str, object))
|
162
|
+
"""
|
163
|
+
return self._defined_tags
|
164
|
+
|
165
|
+
@defined_tags.setter
|
166
|
+
def defined_tags(self, defined_tags):
|
167
|
+
"""
|
168
|
+
Sets the defined_tags of this ProtectedBranch.
|
169
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
170
|
+
|
171
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
172
|
+
|
173
|
+
|
174
|
+
:param defined_tags: The defined_tags of this ProtectedBranch.
|
175
|
+
:type: dict(str, dict(str, object))
|
176
|
+
"""
|
177
|
+
self._defined_tags = defined_tags
|
178
|
+
|
179
|
+
def __repr__(self):
|
180
|
+
return formatted_flat_dict(self)
|
181
|
+
|
182
|
+
def __eq__(self, other):
|
183
|
+
if other is None:
|
184
|
+
return False
|
185
|
+
|
186
|
+
return self.__dict__ == other.__dict__
|
187
|
+
|
188
|
+
def __ne__(self, other):
|
189
|
+
return not self == other
|
@@ -0,0 +1,72 @@
|
|
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: 20210630
|
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 ProtectedBranchCollection(object):
|
14
|
+
"""
|
15
|
+
Collection of protected branches
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new ProtectedBranchCollection object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param items:
|
24
|
+
The value to assign to the items property of this ProtectedBranchCollection.
|
25
|
+
:type items: list[oci.devops.models.ProtectedBranchSummary]
|
26
|
+
|
27
|
+
"""
|
28
|
+
self.swagger_types = {
|
29
|
+
'items': 'list[ProtectedBranchSummary]'
|
30
|
+
}
|
31
|
+
|
32
|
+
self.attribute_map = {
|
33
|
+
'items': 'items'
|
34
|
+
}
|
35
|
+
|
36
|
+
self._items = None
|
37
|
+
|
38
|
+
@property
|
39
|
+
def items(self):
|
40
|
+
"""
|
41
|
+
**[Required]** Gets the items of this ProtectedBranchCollection.
|
42
|
+
List of objects describing protected branches
|
43
|
+
|
44
|
+
|
45
|
+
:return: The items of this ProtectedBranchCollection.
|
46
|
+
:rtype: list[oci.devops.models.ProtectedBranchSummary]
|
47
|
+
"""
|
48
|
+
return self._items
|
49
|
+
|
50
|
+
@items.setter
|
51
|
+
def items(self, items):
|
52
|
+
"""
|
53
|
+
Sets the items of this ProtectedBranchCollection.
|
54
|
+
List of objects describing protected branches
|
55
|
+
|
56
|
+
|
57
|
+
:param items: The items of this ProtectedBranchCollection.
|
58
|
+
:type: list[oci.devops.models.ProtectedBranchSummary]
|
59
|
+
"""
|
60
|
+
self._items = items
|
61
|
+
|
62
|
+
def __repr__(self):
|
63
|
+
return formatted_flat_dict(self)
|
64
|
+
|
65
|
+
def __eq__(self, other):
|
66
|
+
if other is None:
|
67
|
+
return False
|
68
|
+
|
69
|
+
return self.__dict__ == other.__dict__
|
70
|
+
|
71
|
+
def __ne__(self, other):
|
72
|
+
return not self == other
|
@@ -0,0 +1,224 @@
|
|
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: 20210630
|
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 ProtectedBranchSummary(object):
|
14
|
+
"""
|
15
|
+
Holds information used to restrict certain actions on branches
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the protection_levels property of a ProtectedBranchSummary.
|
19
|
+
#: This constant has a value of "READ_ONLY"
|
20
|
+
PROTECTION_LEVELS_READ_ONLY = "READ_ONLY"
|
21
|
+
|
22
|
+
#: A constant which can be used with the protection_levels property of a ProtectedBranchSummary.
|
23
|
+
#: This constant has a value of "PULL_REQUEST_MERGE_ONLY"
|
24
|
+
PROTECTION_LEVELS_PULL_REQUEST_MERGE_ONLY = "PULL_REQUEST_MERGE_ONLY"
|
25
|
+
|
26
|
+
def __init__(self, **kwargs):
|
27
|
+
"""
|
28
|
+
Initializes a new ProtectedBranchSummary object with values from keyword arguments.
|
29
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
30
|
+
|
31
|
+
:param branch_name:
|
32
|
+
The value to assign to the branch_name property of this ProtectedBranchSummary.
|
33
|
+
:type branch_name: str
|
34
|
+
|
35
|
+
:param protection_levels:
|
36
|
+
The value to assign to the protection_levels property of this ProtectedBranchSummary.
|
37
|
+
Allowed values for items in this list are: "READ_ONLY", "PULL_REQUEST_MERGE_ONLY", 'UNKNOWN_ENUM_VALUE'.
|
38
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
39
|
+
:type protection_levels: list[str]
|
40
|
+
|
41
|
+
:param freeform_tags:
|
42
|
+
The value to assign to the freeform_tags property of this ProtectedBranchSummary.
|
43
|
+
:type freeform_tags: dict(str, str)
|
44
|
+
|
45
|
+
:param defined_tags:
|
46
|
+
The value to assign to the defined_tags property of this ProtectedBranchSummary.
|
47
|
+
:type defined_tags: dict(str, dict(str, object))
|
48
|
+
|
49
|
+
:param system_tags:
|
50
|
+
The value to assign to the system_tags property of this ProtectedBranchSummary.
|
51
|
+
:type system_tags: dict(str, dict(str, object))
|
52
|
+
|
53
|
+
"""
|
54
|
+
self.swagger_types = {
|
55
|
+
'branch_name': 'str',
|
56
|
+
'protection_levels': 'list[str]',
|
57
|
+
'freeform_tags': 'dict(str, str)',
|
58
|
+
'defined_tags': 'dict(str, dict(str, object))',
|
59
|
+
'system_tags': 'dict(str, dict(str, object))'
|
60
|
+
}
|
61
|
+
|
62
|
+
self.attribute_map = {
|
63
|
+
'branch_name': 'branchName',
|
64
|
+
'protection_levels': 'protectionLevels',
|
65
|
+
'freeform_tags': 'freeformTags',
|
66
|
+
'defined_tags': 'definedTags',
|
67
|
+
'system_tags': 'systemTags'
|
68
|
+
}
|
69
|
+
|
70
|
+
self._branch_name = None
|
71
|
+
self._protection_levels = None
|
72
|
+
self._freeform_tags = None
|
73
|
+
self._defined_tags = None
|
74
|
+
self._system_tags = None
|
75
|
+
|
76
|
+
@property
|
77
|
+
def branch_name(self):
|
78
|
+
"""
|
79
|
+
**[Required]** Gets the branch_name of this ProtectedBranchSummary.
|
80
|
+
Branch name inside a repository.
|
81
|
+
|
82
|
+
|
83
|
+
:return: The branch_name of this ProtectedBranchSummary.
|
84
|
+
:rtype: str
|
85
|
+
"""
|
86
|
+
return self._branch_name
|
87
|
+
|
88
|
+
@branch_name.setter
|
89
|
+
def branch_name(self, branch_name):
|
90
|
+
"""
|
91
|
+
Sets the branch_name of this ProtectedBranchSummary.
|
92
|
+
Branch name inside a repository.
|
93
|
+
|
94
|
+
|
95
|
+
:param branch_name: The branch_name of this ProtectedBranchSummary.
|
96
|
+
:type: str
|
97
|
+
"""
|
98
|
+
self._branch_name = branch_name
|
99
|
+
|
100
|
+
@property
|
101
|
+
def protection_levels(self):
|
102
|
+
"""
|
103
|
+
**[Required]** Gets the protection_levels of this ProtectedBranchSummary.
|
104
|
+
Protection level to be added on the branch.
|
105
|
+
|
106
|
+
Allowed values for items in this list are: "READ_ONLY", "PULL_REQUEST_MERGE_ONLY", 'UNKNOWN_ENUM_VALUE'.
|
107
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
108
|
+
|
109
|
+
|
110
|
+
:return: The protection_levels of this ProtectedBranchSummary.
|
111
|
+
:rtype: list[str]
|
112
|
+
"""
|
113
|
+
return self._protection_levels
|
114
|
+
|
115
|
+
@protection_levels.setter
|
116
|
+
def protection_levels(self, protection_levels):
|
117
|
+
"""
|
118
|
+
Sets the protection_levels of this ProtectedBranchSummary.
|
119
|
+
Protection level to be added on the branch.
|
120
|
+
|
121
|
+
|
122
|
+
:param protection_levels: The protection_levels of this ProtectedBranchSummary.
|
123
|
+
:type: list[str]
|
124
|
+
"""
|
125
|
+
allowed_values = ["READ_ONLY", "PULL_REQUEST_MERGE_ONLY"]
|
126
|
+
if protection_levels:
|
127
|
+
protection_levels[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in protection_levels]
|
128
|
+
self._protection_levels = protection_levels
|
129
|
+
|
130
|
+
@property
|
131
|
+
def freeform_tags(self):
|
132
|
+
"""
|
133
|
+
Gets the freeform_tags of this ProtectedBranchSummary.
|
134
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See `Resource Tags`__. Example: `{\"bar-key\": \"value\"}`
|
135
|
+
|
136
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
137
|
+
|
138
|
+
|
139
|
+
:return: The freeform_tags of this ProtectedBranchSummary.
|
140
|
+
:rtype: dict(str, str)
|
141
|
+
"""
|
142
|
+
return self._freeform_tags
|
143
|
+
|
144
|
+
@freeform_tags.setter
|
145
|
+
def freeform_tags(self, freeform_tags):
|
146
|
+
"""
|
147
|
+
Sets the freeform_tags of this ProtectedBranchSummary.
|
148
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See `Resource Tags`__. Example: `{\"bar-key\": \"value\"}`
|
149
|
+
|
150
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
151
|
+
|
152
|
+
|
153
|
+
:param freeform_tags: The freeform_tags of this ProtectedBranchSummary.
|
154
|
+
:type: dict(str, str)
|
155
|
+
"""
|
156
|
+
self._freeform_tags = freeform_tags
|
157
|
+
|
158
|
+
@property
|
159
|
+
def defined_tags(self):
|
160
|
+
"""
|
161
|
+
Gets the defined_tags of this ProtectedBranchSummary.
|
162
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
163
|
+
|
164
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
165
|
+
|
166
|
+
|
167
|
+
:return: The defined_tags of this ProtectedBranchSummary.
|
168
|
+
:rtype: dict(str, dict(str, object))
|
169
|
+
"""
|
170
|
+
return self._defined_tags
|
171
|
+
|
172
|
+
@defined_tags.setter
|
173
|
+
def defined_tags(self, defined_tags):
|
174
|
+
"""
|
175
|
+
Sets the defined_tags of this ProtectedBranchSummary.
|
176
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
177
|
+
|
178
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
179
|
+
|
180
|
+
|
181
|
+
:param defined_tags: The defined_tags of this ProtectedBranchSummary.
|
182
|
+
:type: dict(str, dict(str, object))
|
183
|
+
"""
|
184
|
+
self._defined_tags = defined_tags
|
185
|
+
|
186
|
+
@property
|
187
|
+
def system_tags(self):
|
188
|
+
"""
|
189
|
+
Gets the system_tags of this ProtectedBranchSummary.
|
190
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. See `Resource Tags`__. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
191
|
+
|
192
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
193
|
+
|
194
|
+
|
195
|
+
:return: The system_tags of this ProtectedBranchSummary.
|
196
|
+
:rtype: dict(str, dict(str, object))
|
197
|
+
"""
|
198
|
+
return self._system_tags
|
199
|
+
|
200
|
+
@system_tags.setter
|
201
|
+
def system_tags(self, system_tags):
|
202
|
+
"""
|
203
|
+
Sets the system_tags of this ProtectedBranchSummary.
|
204
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. See `Resource Tags`__. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
205
|
+
|
206
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
207
|
+
|
208
|
+
|
209
|
+
:param system_tags: The system_tags of this ProtectedBranchSummary.
|
210
|
+
:type: dict(str, dict(str, object))
|
211
|
+
"""
|
212
|
+
self._system_tags = system_tags
|
213
|
+
|
214
|
+
def __repr__(self):
|
215
|
+
return formatted_flat_dict(self)
|
216
|
+
|
217
|
+
def __eq__(self, other):
|
218
|
+
if other is None:
|
219
|
+
return False
|
220
|
+
|
221
|
+
return self.__dict__ == other.__dict__
|
222
|
+
|
223
|
+
def __ne__(self, other):
|
224
|
+
return not self == other
|