oci 2.13.0 → 2.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +6 -4
- data/README.md +6 -1
- data/lib/oci.rb +4 -0
- data/lib/oci/ai_language/ai_language.rb +35 -0
- data/lib/oci/ai_language/ai_service_language_client.rb +396 -0
- data/lib/oci/ai_language/ai_service_language_client_composite_operations.rb +25 -0
- data/lib/oci/ai_language/models/detect_dominant_language_details.rb +150 -0
- data/lib/oci/ai_language/models/detect_dominant_language_result.rb +154 -0
- data/lib/oci/ai_language/models/detect_language_entities_details.rb +150 -0
- data/lib/oci/ai_language/models/detect_language_entities_result.rb +150 -0
- data/lib/oci/ai_language/models/detect_language_key_phrases_details.rb +150 -0
- data/lib/oci/ai_language/models/detect_language_key_phrases_result.rb +154 -0
- data/lib/oci/ai_language/models/detect_language_sentiments_details.rb +150 -0
- data/lib/oci/ai_language/models/detect_language_sentiments_result.rb +150 -0
- data/lib/oci/ai_language/models/detect_language_text_classification_details.rb +150 -0
- data/lib/oci/ai_language/models/detect_language_text_classification_result.rb +154 -0
- data/lib/oci/ai_language/models/detected_language.rb +172 -0
- data/lib/oci/ai_language/models/entity.rb +205 -0
- data/lib/oci/ai_language/models/key_phrase.rb +160 -0
- data/lib/oci/ai_language/models/ner_model_version.rb +11 -0
- data/lib/oci/ai_language/models/sentiment_aspect.rb +192 -0
- data/lib/oci/ai_language/models/text_classification.rb +160 -0
- data/lib/oci/ai_language/util.rb +3 -0
- data/lib/oci/api_client.rb +3 -6
- data/lib/oci/apigateway/apigateway.rb +17 -0
- data/lib/oci/apigateway/models/api_specification_route_request_policies.rb +56 -4
- data/lib/oci/apigateway/models/api_specification_route_response_policies.rb +17 -4
- data/lib/oci/apigateway/models/body_validation_request_policy.rb +211 -0
- data/lib/oci/apigateway/models/content_validation.rb +194 -0
- data/lib/oci/apigateway/models/create_gateway_details.rb +14 -1
- data/lib/oci/apigateway/models/external_resp_cache.rb +269 -0
- data/lib/oci/apigateway/models/fixed_ttl_response_cache_store_policy.rb +164 -0
- data/lib/oci/apigateway/models/gateway.rb +14 -1
- data/lib/oci/apigateway/models/header_validation_item.rb +161 -0
- data/lib/oci/apigateway/models/header_validation_request_policy.rb +188 -0
- data/lib/oci/apigateway/models/no_cache.rb +146 -0
- data/lib/oci/apigateway/models/no_content_validation.rb +145 -0
- data/lib/oci/apigateway/models/query_parameter_validation_item.rb +161 -0
- data/lib/oci/apigateway/models/query_parameter_validation_request_policy.rb +195 -0
- data/lib/oci/apigateway/models/request_parameter_validation.rb +150 -0
- data/lib/oci/apigateway/models/response_cache_details.rb +188 -0
- data/lib/oci/apigateway/models/response_cache_lookup_policy.rb +225 -0
- data/lib/oci/apigateway/models/response_cache_resp_server.rb +161 -0
- data/lib/oci/apigateway/models/response_cache_store_policy.rb +186 -0
- data/lib/oci/apigateway/models/simple_lookup_policy.rb +173 -0
- data/lib/oci/apigateway/models/update_gateway_details.rb +14 -1
- data/lib/oci/apigateway/models/validation_request_policy.rb +179 -0
- data/lib/oci/auth/signers/resource_principals_federation_signer.rb +15 -17
- data/lib/oci/cloud_guard/cloud_guard.rb +13 -0
- data/lib/oci/cloud_guard/cloud_guard_client.rb +426 -9
- data/lib/oci/cloud_guard/cloud_guard_client_composite_operations.rb +119 -0
- data/lib/oci/cloud_guard/models/all_targets_selected.rb +145 -0
- data/lib/oci/cloud_guard/models/create_data_mask_rule_details.rb +335 -0
- data/lib/oci/cloud_guard/models/create_managed_list_details.rb +2 -1
- data/lib/oci/cloud_guard/models/data_mask_category.rb +15 -0
- data/lib/oci/cloud_guard/models/data_mask_rule.rb +425 -0
- data/lib/oci/cloud_guard/models/data_mask_rule_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/data_mask_rule_status.rb +11 -0
- data/lib/oci/cloud_guard/models/data_mask_rule_summary.rb +425 -0
- data/lib/oci/cloud_guard/models/detector_recipe.rb +2 -2
- data/lib/oci/cloud_guard/models/detector_recipe_detector_rule.rb +1 -0
- data/lib/oci/cloud_guard/models/detector_recipe_detector_rule_summary.rb +1 -0
- data/lib/oci/cloud_guard/models/detector_rule.rb +1 -0
- data/lib/oci/cloud_guard/models/detector_rule_summary.rb +1 -0
- data/lib/oci/cloud_guard/models/managed_list.rb +1 -0
- data/lib/oci/cloud_guard/models/managed_list_summary.rb +1 -0
- data/lib/oci/cloud_guard/models/managed_list_type.rb +2 -1
- data/lib/oci/cloud_guard/models/policy_collection.rb +150 -0
- data/lib/oci/cloud_guard/models/policy_summary.rb +150 -0
- data/lib/oci/cloud_guard/models/problem.rb +35 -1
- data/lib/oci/cloud_guard/models/security_rating.rb +2 -1
- data/lib/oci/cloud_guard/models/security_score_aggregation.rb +1 -0
- data/lib/oci/cloud_guard/models/security_score_trend_aggregation.rb +1 -0
- data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule.rb +1 -0
- data/lib/oci/cloud_guard/models/target_detector_recipe_detector_rule_summary.rb +1 -0
- data/lib/oci/cloud_guard/models/target_ids_selected.rb +158 -0
- data/lib/oci/cloud_guard/models/target_resource_types_selected.rb +186 -0
- data/lib/oci/cloud_guard/models/target_selected.rb +189 -0
- data/lib/oci/cloud_guard/models/update_bulk_problem_status_details.rb +14 -4
- data/lib/oci/cloud_guard/models/update_data_mask_rule_details.rb +292 -0
- data/lib/oci/config.rb +1 -3
- data/lib/oci/core/compute_client.rb +6 -5
- data/lib/oci/core/core.rb +47 -0
- data/lib/oci/core/models/add_drg_route_distribution_statement_details.rb +195 -0
- data/lib/oci/core/models/add_drg_route_distribution_statements_details.rb +152 -0
- data/lib/oci/core/models/add_drg_route_rule_details.rb +202 -0
- data/lib/oci/core/models/add_drg_route_rules_details.rb +156 -0
- data/lib/oci/core/models/add_security_rule_details.rb +2 -2
- data/lib/oci/core/models/bgp_session_info.rb +90 -4
- data/lib/oci/core/models/block_volume_replica.rb +19 -4
- data/lib/oci/core/models/boot_volume_replica.rb +19 -4
- data/lib/oci/core/models/create_drg_attachment_details.rb +72 -4
- data/lib/oci/core/models/create_drg_details.rb +1 -1
- data/lib/oci/core/models/create_drg_route_distribution_details.rb +235 -0
- data/lib/oci/core/models/create_drg_route_table_details.rb +242 -0
- data/lib/oci/core/models/create_image_details.rb +2 -2
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +3 -3
- data/lib/oci/core/models/create_ip_sec_tunnel_bgp_session_details.rb +53 -1
- data/lib/oci/core/models/create_ipv6_details.rb +1 -23
- data/lib/oci/core/models/create_subnet_details.rb +26 -3
- data/lib/oci/core/models/create_vcn_details.rb +3 -36
- data/lib/oci/core/models/create_vnic_details.rb +20 -1
- data/lib/oci/core/models/cross_connect_mapping.rb +1 -1
- data/lib/oci/core/models/cross_connect_mapping_details.rb +356 -0
- data/lib/oci/core/models/cross_connect_mapping_details_collection.rb +150 -0
- data/lib/oci/core/models/default_drg_route_tables.rb +206 -0
- data/lib/oci/core/models/drg.rb +38 -10
- data/lib/oci/core/models/drg_attachment.rb +115 -10
- data/lib/oci/core/models/drg_attachment_id_drg_route_distribution_match_criteria.rb +164 -0
- data/lib/oci/core/models/drg_attachment_info.rb +152 -0
- data/lib/oci/core/models/drg_attachment_network_create_details.rb +189 -0
- data/lib/oci/core/models/drg_attachment_network_details.rb +202 -0
- data/lib/oci/core/models/drg_attachment_network_update_details.rb +178 -0
- data/lib/oci/core/models/drg_attachment_type_drg_route_distribution_match_criteria.rb +188 -0
- data/lib/oci/core/models/drg_redundancy_status.rb +1 -1
- data/lib/oci/core/models/drg_route_distribution.rb +336 -0
- data/lib/oci/core/models/drg_route_distribution_match_criteria.rb +194 -0
- data/lib/oci/core/models/drg_route_distribution_statement.rb +215 -0
- data/lib/oci/core/models/drg_route_rule.rb +341 -0
- data/lib/oci/core/models/drg_route_table.rb +332 -0
- data/lib/oci/core/models/image.rb +2 -2
- data/lib/oci/core/models/ingress_security_rule.rb +1 -1
- data/lib/oci/core/models/instance.rb +15 -2
- data/lib/oci/core/models/instance_availability_config.rb +18 -1
- data/lib/oci/core/models/instance_configuration_create_vnic_details.rb +17 -1
- data/lib/oci/core/models/instance_configuration_launch_instance_details.rb +18 -5
- data/lib/oci/core/models/instance_configuration_launch_instance_shape_config_details.rb +46 -4
- data/lib/oci/core/models/instance_configuration_launch_options.rb +5 -5
- data/lib/oci/core/models/instance_shape_config.rb +43 -1
- data/lib/oci/core/models/ip_sec_connection.rb +4 -4
- data/lib/oci/core/models/ipsec_tunnel_drg_attachment_network_details.rb +166 -0
- data/lib/oci/core/models/ipv6.rb +4 -54
- data/lib/oci/core/models/launch_instance_availability_config_details.rb +20 -2
- data/lib/oci/core/models/launch_instance_details.rb +14 -1
- data/lib/oci/core/models/launch_instance_shape_config_details.rb +39 -4
- data/lib/oci/core/models/launch_options.rb +5 -5
- data/lib/oci/core/models/local_peering_gateway.rb +15 -1
- data/lib/oci/core/models/networking_topology.rb +158 -0
- data/lib/oci/core/models/port_range.rb +2 -2
- data/lib/oci/core/models/preemptible_instance_config_details.rb +155 -0
- data/lib/oci/core/models/preemption_action.rb +186 -0
- data/lib/oci/core/models/remote_peering_connection_drg_attachment_network_details.rb +149 -0
- data/lib/oci/core/models/remove_drg_route_distribution_statements_details.rb +156 -0
- data/lib/oci/core/models/remove_drg_route_rules_details.rb +156 -0
- data/lib/oci/core/models/route_rule.rb +3 -2
- data/lib/oci/core/models/route_table.rb +1 -1
- data/lib/oci/core/models/security_rule.rb +4 -4
- data/lib/oci/core/models/shape.rb +75 -1
- data/lib/oci/core/models/subnet.rb +30 -24
- data/lib/oci/core/models/terminate_preemption_action.rb +166 -0
- data/lib/oci/core/models/topology.rb +214 -0
- data/lib/oci/core/models/topology_associated_with_entity_relationship.rb +157 -0
- data/lib/oci/core/models/topology_contains_entity_relationship.rb +157 -0
- data/lib/oci/core/models/topology_entity_relationship.rb +209 -0
- data/lib/oci/core/models/topology_routes_to_entity_relationship.rb +173 -0
- data/lib/oci/core/models/topology_routes_to_relationship_details.rb +183 -0
- data/lib/oci/core/models/update_cluster_network_details.rb +19 -4
- data/lib/oci/core/models/update_cluster_network_instance_pool_details.rb +212 -0
- data/lib/oci/core/models/update_drg_attachment_details.rb +88 -2
- data/lib/oci/core/models/update_drg_details.rb +14 -1
- data/lib/oci/core/models/update_drg_route_distribution_details.rb +195 -0
- data/lib/oci/core/models/update_drg_route_distribution_statement_details.rb +179 -0
- data/lib/oci/core/models/update_drg_route_distribution_statements_details.rb +152 -0
- data/lib/oci/core/models/update_drg_route_rule_details.rb +212 -0
- data/lib/oci/core/models/update_drg_route_rules_details.rb +155 -0
- data/lib/oci/core/models/update_drg_route_table_details.rb +227 -0
- data/lib/oci/core/models/update_instance_availability_config_details.rb +20 -2
- data/lib/oci/core/models/update_instance_shape_config_details.rb +39 -4
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +3 -2
- data/lib/oci/core/models/update_ip_sec_tunnel_bgp_session_details.rb +53 -1
- data/lib/oci/core/models/update_ipv6_details.rb +1 -23
- data/lib/oci/core/models/update_launch_options.rb +1 -1
- data/lib/oci/core/models/update_security_rule_details.rb +2 -2
- data/lib/oci/core/models/update_subnet_details.rb +27 -4
- data/lib/oci/core/models/upgrade_status.rb +203 -0
- data/lib/oci/core/models/vcn.rb +12 -38
- data/lib/oci/core/models/vcn_drg_attachment_network_create_details.rb +174 -0
- data/lib/oci/core/models/vcn_drg_attachment_network_details.rb +172 -0
- data/lib/oci/core/models/vcn_drg_attachment_network_update_details.rb +168 -0
- data/lib/oci/core/models/vcn_topology.rb +175 -0
- data/lib/oci/core/models/virtual_circuit.rb +35 -2
- data/lib/oci/core/models/virtual_circuit_drg_attachment_network_details.rb +149 -0
- data/lib/oci/core/virtual_network_client.rb +2092 -236
- data/lib/oci/core/virtual_network_client_composite_operations.rb +446 -32
- data/lib/oci/data_catalog/data_catalog.rb +2 -0
- data/lib/oci/data_catalog/data_catalog_client.rb +91 -0
- data/lib/oci/data_catalog/models/attribute.rb +15 -1
- data/lib/oci/data_catalog/models/attribute_summary.rb +29 -1
- data/lib/oci/data_catalog/models/create_attribute_details.rb +15 -1
- data/lib/oci/data_catalog/models/create_connection_details.rb +1 -1
- data/lib/oci/data_catalog/models/create_custom_property_details.rb +17 -1
- data/lib/oci/data_catalog/models/create_entity_details.rb +15 -1
- data/lib/oci/data_catalog/models/create_folder_details.rb +15 -1
- data/lib/oci/data_catalog/models/custom_property.rb +17 -1
- data/lib/oci/data_catalog/models/custom_property_get_usage.rb +17 -1
- data/lib/oci/data_catalog/models/custom_property_summary.rb +17 -1
- data/lib/oci/data_catalog/models/entity.rb +15 -1
- data/lib/oci/data_catalog/models/entity_summary.rb +29 -1
- data/lib/oci/data_catalog/models/folder.rb +15 -1
- data/lib/oci/data_catalog/models/folder_summary.rb +15 -1
- data/lib/oci/data_catalog/models/job.rb +15 -1
- data/lib/oci/data_catalog/models/job_definition_summary.rb +18 -4
- data/lib/oci/data_catalog/models/job_summary.rb +15 -1
- data/lib/oci/data_catalog/models/search_result.rb +55 -1
- data/lib/oci/data_catalog/models/suggest_list_item.rb +166 -0
- data/lib/oci/data_catalog/models/suggest_results.rb +194 -0
- data/lib/oci/data_catalog/models/update_attribute_details.rb +15 -1
- data/lib/oci/data_catalog/models/update_connection_details.rb +1 -1
- data/lib/oci/data_catalog/models/update_custom_property_details.rb +17 -1
- data/lib/oci/data_catalog/models/update_entity_details.rb +15 -1
- data/lib/oci/data_catalog/models/update_folder_details.rb +15 -1
- data/lib/oci/data_flow/data_flow_client.rb +4 -4
- data/lib/oci/data_flow/data_flow_client_composite_operations.rb +1 -1
- data/lib/oci/data_flow/models/application.rb +16 -1
- data/lib/oci/data_flow/models/change_private_endpoint_compartment_details.rb +1 -1
- data/lib/oci/data_flow/models/create_application_details.rb +16 -1
- data/lib/oci/data_flow/models/create_private_endpoint_details.rb +1 -1
- data/lib/oci/data_flow/models/create_run_details.rb +66 -4
- data/lib/oci/data_flow/models/private_endpoint_collection.rb +2 -2
- data/lib/oci/data_flow/models/run.rb +16 -1
- data/lib/oci/data_flow/models/update_application_details.rb +16 -1
- data/lib/oci/data_flow/models/update_private_endpoint_details.rb +1 -1
- data/lib/oci/data_flow/models/work_request_summary.rb +1 -1
- data/lib/oci/data_science/data_science_client.rb +8 -7
- data/lib/oci/data_science/data_science_client_composite_operations.rb +4 -3
- data/lib/oci/database/database.rb +5 -0
- data/lib/oci/database/database_client.rb +278 -0
- data/lib/oci/database/database_client_composite_operations.rb +200 -0
- data/lib/oci/database/models/autonomous_container_database_dataguard_association.rb +4 -2
- data/lib/oci/database/models/autonomous_database.rb +20 -5
- data/lib/oci/database/models/autonomous_database_connection_urls.rb +18 -4
- data/lib/oci/database/models/autonomous_database_dataguard_association.rb +4 -2
- data/lib/oci/database/models/autonomous_database_summary.rb +20 -5
- data/lib/oci/database/models/create_autonomous_database_base.rb +18 -4
- data/lib/oci/database/models/create_autonomous_database_clone_details.rb +5 -1
- data/lib/oci/database/models/create_autonomous_database_details.rb +8 -4
- data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +5 -1
- data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +5 -1
- data/lib/oci/database/models/create_database_details.rb +1 -1
- data/lib/oci/database/models/create_database_software_image_details.rb +2 -2
- data/lib/oci/database/models/create_refreshable_autonomous_database_clone_details.rb +5 -1
- data/lib/oci/database/models/customer_contact.rb +151 -0
- data/lib/oci/database/models/database.rb +1 -1
- data/lib/oci/database/models/database_summary.rb +1 -1
- data/lib/oci/database/models/enable_external_database_operations_insights_details_base.rb +156 -0
- data/lib/oci/database/models/enable_external_non_container_database_operations_insights_details.rb +153 -0
- data/lib/oci/database/models/enable_external_pluggable_database_operations_insights_details.rb +153 -0
- data/lib/oci/database/models/exadata_infrastructure.rb +29 -1
- data/lib/oci/database/models/exadata_infrastructure_summary.rb +29 -1
- data/lib/oci/database/models/external_container_database.rb +34 -1
- data/lib/oci/database/models/external_container_database_summary.rb +34 -1
- data/lib/oci/database/models/external_database_base.rb +28 -1
- data/lib/oci/database/models/external_non_container_database.rb +50 -1
- data/lib/oci/database/models/external_non_container_database_summary.rb +50 -1
- data/lib/oci/database/models/external_pluggable_database.rb +47 -1
- data/lib/oci/database/models/external_pluggable_database_summary.rb +47 -1
- data/lib/oci/database/models/maintenance_run.rb +51 -4
- data/lib/oci/database/models/maintenance_run_summary.rb +51 -4
- data/lib/oci/database/models/operations_insights_config.rb +194 -0
- data/lib/oci/database/models/update_autonomous_database_details.rb +18 -4
- data/lib/oci/database/models/update_maintenance_run_details.rb +31 -4
- data/lib/oci/database_management/database_management.rb +6 -0
- data/lib/oci/database_management/db_management_client.rb +70 -3
- data/lib/oci/database_management/models/activity_time_series_metrics.rb +13 -4
- data/lib/oci/database_management/models/change_database_parameters_details.rb +1 -1
- data/lib/oci/database_management/models/cluster_cache_metric.rb +156 -0
- data/lib/oci/database_management/models/database_home_metrics.rb +18 -4
- data/lib/oci/database_management/models/database_instance_home_metrics_definition.rb +234 -0
- data/lib/oci/database_management/models/database_parameter_summary.rb +1 -1
- data/lib/oci/database_management/models/database_parameters_collection.rb +1 -1
- data/lib/oci/database_management/models/database_time_aggregate_metrics.rb +13 -4
- data/lib/oci/database_management/models/instance_details.rb +205 -0
- data/lib/oci/database_management/models/managed_database.rb +88 -1
- data/lib/oci/database_management/models/pdb_status_details.rb +181 -0
- data/lib/oci/database_management/models/reset_database_parameters_details.rb +8 -7
- data/lib/oci/database_management/models/time_series_metric_data_point.rb +180 -0
- data/lib/oci/database_management/models/time_series_metric_definition.rb +166 -0
- data/lib/oci/database_management/models/update_database_parameters_result.rb +1 -1
- data/lib/oci/database_migration/database_migration.rb +132 -0
- data/lib/oci/database_migration/database_migration_client.rb +2579 -0
- data/lib/oci/database_migration/database_migration_client_composite_operations.rb +736 -0
- data/lib/oci/database_migration/models/admin_credentials.rb +152 -0
- data/lib/oci/database_migration/models/agent.rb +356 -0
- data/lib/oci/database_migration/models/agent_collection.rb +152 -0
- data/lib/oci/database_migration/models/agent_image_collection.rb +152 -0
- data/lib/oci/database_migration/models/agent_image_summary.rb +167 -0
- data/lib/oci/database_migration/models/agent_summary.rb +341 -0
- data/lib/oci/database_migration/models/change_agent_compartment_details.rb +156 -0
- data/lib/oci/database_migration/models/change_connection_compartment_details.rb +156 -0
- data/lib/oci/database_migration/models/change_migration_compartment_details.rb +156 -0
- data/lib/oci/database_migration/models/clone_migration_details.rb +292 -0
- data/lib/oci/database_migration/models/connect_descriptor.rb +193 -0
- data/lib/oci/database_migration/models/connection.rb +461 -0
- data/lib/oci/database_migration/models/connection_collection.rb +152 -0
- data/lib/oci/database_migration/models/connection_summary.rb +366 -0
- data/lib/oci/database_migration/models/create_admin_credentials.rb +163 -0
- data/lib/oci/database_migration/models/create_agent_details.rb +244 -0
- data/lib/oci/database_migration/models/create_connect_descriptor.rb +198 -0
- data/lib/oci/database_migration/models/create_connection_details.rb +360 -0
- data/lib/oci/database_migration/models/create_data_pump_parameters.rb +261 -0
- data/lib/oci/database_migration/models/create_data_pump_settings.rb +228 -0
- data/lib/oci/database_migration/models/create_data_transfer_medium_details.rb +168 -0
- data/lib/oci/database_migration/models/create_database_link_details.rb +152 -0
- data/lib/oci/database_migration/models/create_directory_object.rb +165 -0
- data/lib/oci/database_migration/models/create_extract.rb +188 -0
- data/lib/oci/database_migration/models/create_golden_gate_details.rb +160 -0
- data/lib/oci/database_migration/models/create_golden_gate_hub.rb +253 -0
- data/lib/oci/database_migration/models/create_golden_gate_settings.rb +174 -0
- data/lib/oci/database_migration/models/create_migration_details.rb +355 -0
- data/lib/oci/database_migration/models/create_object_store_bucket.rb +171 -0
- data/lib/oci/database_migration/models/create_private_endpoint.rb +189 -0
- data/lib/oci/database_migration/models/create_replicat.rb +186 -0
- data/lib/oci/database_migration/models/create_ssh_details.rb +190 -0
- data/lib/oci/database_migration/models/create_vault_details.rb +186 -0
- data/lib/oci/database_migration/models/data_pump_estimate.rb +11 -0
- data/lib/oci/database_migration/models/data_pump_exclude_parameters.rb +12 -0
- data/lib/oci/database_migration/models/data_pump_job_mode.rb +14 -0
- data/lib/oci/database_migration/models/data_pump_parameters.rb +274 -0
- data/lib/oci/database_migration/models/data_pump_settings.rb +235 -0
- data/lib/oci/database_migration/models/data_pump_table_exists_action.rb +13 -0
- data/lib/oci/database_migration/models/data_transfer_medium_details.rb +167 -0
- data/lib/oci/database_migration/models/database_connection_types.rb +12 -0
- data/lib/oci/database_migration/models/database_link_details.rb +152 -0
- data/lib/oci/database_migration/models/database_object.rb +167 -0
- data/lib/oci/database_migration/models/directory_object.rb +163 -0
- data/lib/oci/database_migration/models/extract.rb +195 -0
- data/lib/oci/database_migration/models/extract_performance_profile.rb +12 -0
- data/lib/oci/database_migration/models/generate_token.rb +156 -0
- data/lib/oci/database_migration/models/golden_gate_details.rb +160 -0
- data/lib/oci/database_migration/models/golden_gate_hub.rb +253 -0
- data/lib/oci/database_migration/models/golden_gate_settings.rb +174 -0
- data/lib/oci/database_migration/models/job.rb +372 -0
- data/lib/oci/database_migration/models/job_collection.rb +152 -0
- data/lib/oci/database_migration/models/job_lifecycle_states.rb +18 -0
- data/lib/oci/database_migration/models/job_output_summary.rb +152 -0
- data/lib/oci/database_migration/models/job_output_summary_collection.rb +152 -0
- data/lib/oci/database_migration/models/job_phase_status.rb +13 -0
- data/lib/oci/database_migration/models/job_summary.rb +357 -0
- data/lib/oci/database_migration/models/job_types.rb +11 -0
- data/lib/oci/database_migration/models/lifecycle_states.rb +16 -0
- data/lib/oci/database_migration/models/metadata_remap.rb +205 -0
- data/lib/oci/database_migration/models/migration.rb +590 -0
- data/lib/oci/database_migration/models/migration_collection.rb +152 -0
- data/lib/oci/database_migration/models/migration_job_progress_resource.rb +237 -0
- data/lib/oci/database_migration/models/migration_job_progress_summary.rb +241 -0
- data/lib/oci/database_migration/models/migration_phase_collection.rb +152 -0
- data/lib/oci/database_migration/models/migration_phase_summary.rb +234 -0
- data/lib/oci/database_migration/models/migration_status.rb +16 -0
- data/lib/oci/database_migration/models/migration_summary.rb +472 -0
- data/lib/oci/database_migration/models/migration_types.rb +11 -0
- data/lib/oci/database_migration/models/object_store_bucket.rb +171 -0
- data/lib/oci/database_migration/models/odms_job_phases.rb +25 -0
- data/lib/oci/database_migration/models/odms_phase_actions.rb +10 -0
- data/lib/oci/database_migration/models/operation_status.rb +15 -0
- data/lib/oci/database_migration/models/operation_types.rb +20 -0
- data/lib/oci/database_migration/models/par_link.rb +156 -0
- data/lib/oci/database_migration/models/phase_status.rb +244 -0
- data/lib/oci/database_migration/models/private_endpoint_details.rb +199 -0
- data/lib/oci/database_migration/models/replicat.rb +186 -0
- data/lib/oci/database_migration/models/resume_job_details.rb +184 -0
- data/lib/oci/database_migration/models/sort_orders.rb +11 -0
- data/lib/oci/database_migration/models/ssh_details.rb +178 -0
- data/lib/oci/database_migration/models/start_migration_details.rb +184 -0
- data/lib/oci/database_migration/models/unsupported_database_object.rb +197 -0
- data/lib/oci/database_migration/models/update_admin_credentials.rb +163 -0
- data/lib/oci/database_migration/models/update_agent_details.rb +244 -0
- data/lib/oci/database_migration/models/update_connect_descriptor.rb +197 -0
- data/lib/oci/database_migration/models/update_connection_details.rb +312 -0
- data/lib/oci/database_migration/models/update_data_pump_parameters.rb +262 -0
- data/lib/oci/database_migration/models/update_data_pump_settings.rb +229 -0
- data/lib/oci/database_migration/models/update_data_transfer_medium_details.rb +169 -0
- data/lib/oci/database_migration/models/update_database_link_details.rb +152 -0
- data/lib/oci/database_migration/models/update_directory_object.rb +166 -0
- data/lib/oci/database_migration/models/update_extract.rb +189 -0
- data/lib/oci/database_migration/models/update_golden_gate_details.rb +159 -0
- data/lib/oci/database_migration/models/update_golden_gate_hub.rb +250 -0
- data/lib/oci/database_migration/models/update_golden_gate_settings.rb +175 -0
- data/lib/oci/database_migration/models/update_job_details.rb +188 -0
- data/lib/oci/database_migration/models/update_migration_details.rb +342 -0
- data/lib/oci/database_migration/models/update_object_store_bucket.rb +171 -0
- data/lib/oci/database_migration/models/update_private_endpoint.rb +189 -0
- data/lib/oci/database_migration/models/update_replicat.rb +187 -0
- data/lib/oci/database_migration/models/update_ssh_details.rb +189 -0
- data/lib/oci/database_migration/models/update_vault_details.rb +186 -0
- data/lib/oci/database_migration/models/vault_details.rb +186 -0
- data/lib/oci/database_migration/models/work_request.rb +319 -0
- data/lib/oci/database_migration/models/work_request_collection.rb +152 -0
- data/lib/oci/database_migration/models/work_request_error.rb +180 -0
- data/lib/oci/database_migration/models/work_request_error_collection.rb +152 -0
- data/lib/oci/database_migration/models/work_request_log_entry.rb +167 -0
- data/lib/oci/database_migration/models/work_request_log_entry_collection.rb +152 -0
- data/lib/oci/database_migration/models/work_request_resource.rb +223 -0
- data/lib/oci/database_migration/models/work_request_summary.rb +280 -0
- data/lib/oci/database_migration/util.rb +3 -0
- data/lib/oci/functions/functions.rb +2 -0
- data/lib/oci/functions/models/application.rb +14 -1
- data/lib/oci/functions/models/application_summary.rb +14 -1
- data/lib/oci/functions/models/application_trace_config.rb +171 -0
- data/lib/oci/functions/models/create_application_details.rb +14 -1
- data/lib/oci/functions/models/create_function_details.rb +14 -1
- data/lib/oci/functions/models/function.rb +14 -1
- data/lib/oci/functions/models/function_summary.rb +14 -1
- data/lib/oci/functions/models/function_trace_config.rb +156 -0
- data/lib/oci/functions/models/update_application_details.rb +14 -1
- data/lib/oci/functions/models/update_function_details.rb +14 -1
- data/lib/oci/limits/limits_client.rb +3 -3
- data/lib/oci/limits/models/limit_definition_summary.rb +34 -4
- data/lib/oci/limits/models/resource_availability.rb +54 -6
- data/lib/oci/limits/quotas_client.rb +1 -1
- data/lib/oci/loggingsearch/models/search_result.rb +1 -0
- data/lib/oci/object_storage/models/bucket.rb +40 -4
- data/lib/oci/object_storage/models/create_bucket_details.rb +22 -4
- data/lib/oci/object_storage/models/update_bucket_details.rb +21 -4
- data/lib/oci/object_storage/object_storage_client.rb +8 -5
- data/lib/oci/ocvp/models/create_esxi_host_details.rb +66 -1
- data/lib/oci/ocvp/models/create_sddc_details.rb +34 -1
- data/lib/oci/ocvp/models/esxi_host.rb +94 -1
- data/lib/oci/ocvp/models/esxi_host_summary.rb +94 -1
- data/lib/oci/ocvp/models/sddc.rb +40 -1
- data/lib/oci/ocvp/models/sku.rb +13 -0
- data/lib/oci/ocvp/models/supported_sku_summary.rb +173 -0
- data/lib/oci/ocvp/models/supported_sku_summary_collection.rb +150 -0
- data/lib/oci/ocvp/models/update_esxi_host_details.rb +32 -1
- data/lib/oci/ocvp/ocvp.rb +3 -0
- data/lib/oci/ocvp/sddc_client.rb +68 -0
- data/lib/oci/operator_access_control/access_requests_client.rb +515 -0
- data/lib/oci/operator_access_control/access_requests_client_composite_operations.rb +25 -0
- data/lib/oci/operator_access_control/models/access_request.rb +583 -0
- data/lib/oci/operator_access_control/models/access_request_collection.rb +150 -0
- data/lib/oci/operator_access_control/models/access_request_history_collection.rb +150 -0
- data/lib/oci/operator_access_control/models/access_request_history_summary.rb +269 -0
- data/lib/oci/operator_access_control/models/access_request_lifecycle_states.rb +29 -0
- data/lib/oci/operator_access_control/models/access_request_severities.rb +13 -0
- data/lib/oci/operator_access_control/models/access_request_summary.rb +403 -0
- data/lib/oci/operator_access_control/models/approve_access_request_details.rb +185 -0
- data/lib/oci/operator_access_control/models/change_operator_control_assignment_compartment_details.rb +154 -0
- data/lib/oci/operator_access_control/models/change_operator_control_compartment_details.rb +154 -0
- data/lib/oci/operator_access_control/models/create_operator_control_assignment_details.rb +322 -0
- data/lib/oci/operator_access_control/models/create_operator_control_details.rb +302 -0
- data/lib/oci/operator_access_control/models/infrastrcuture_layers.rb +12 -0
- data/lib/oci/operator_access_control/models/operator_action.rb +198 -0
- data/lib/oci/operator_access_control/models/operator_action_categories.rb +14 -0
- data/lib/oci/operator_access_control/models/operator_action_collection.rb +150 -0
- data/lib/oci/operator_access_control/models/operator_action_lifecycle_states.rb +11 -0
- data/lib/oci/operator_access_control/models/operator_action_properties.rb +160 -0
- data/lib/oci/operator_access_control/models/operator_action_summary.rb +230 -0
- data/lib/oci/operator_access_control/models/operator_control.rb +407 -0
- data/lib/oci/operator_access_control/models/operator_control_assignment.rb +448 -0
- data/lib/oci/operator_access_control/models/operator_control_assignment_collection.rb +150 -0
- data/lib/oci/operator_access_control/models/operator_control_assignment_lifecycle_states.rb +13 -0
- data/lib/oci/operator_access_control/models/operator_control_assignment_summary.rb +331 -0
- data/lib/oci/operator_access_control/models/operator_control_collection.rb +150 -0
- data/lib/oci/operator_access_control/models/operator_control_lifecycle_states.rb +13 -0
- data/lib/oci/operator_access_control/models/operator_control_summary.rb +303 -0
- data/lib/oci/operator_access_control/models/reject_access_request_details.rb +154 -0
- data/lib/oci/operator_access_control/models/resource_types.rb +10 -0
- data/lib/oci/operator_access_control/models/revoke_access_request_details.rb +154 -0
- data/lib/oci/operator_access_control/models/sort_orders.rb +11 -0
- data/lib/oci/operator_access_control/models/update_operator_control_assignment_details.rb +224 -0
- data/lib/oci/operator_access_control/models/update_operator_control_details.rb +283 -0
- data/lib/oci/operator_access_control/operator_access_control.rb +57 -0
- data/lib/oci/operator_access_control/operator_actions_client.rb +243 -0
- data/lib/oci/operator_access_control/operator_actions_client_composite_operations.rb +25 -0
- data/lib/oci/operator_access_control/operator_control_assignment_client.rb +501 -0
- data/lib/oci/operator_access_control/operator_control_assignment_client_composite_operations.rb +105 -0
- data/lib/oci/operator_access_control/operator_control_client.rb +507 -0
- data/lib/oci/operator_access_control/operator_control_client_composite_operations.rb +144 -0
- data/lib/oci/operator_access_control/util.rb +3 -0
- data/lib/oci/opsi/models/action_type.rb +14 -0
- data/lib/oci/opsi/models/autonomous_database_insight.rb +271 -0
- data/lib/oci/opsi/models/autonomous_database_insight_summary.rb +230 -0
- data/lib/oci/opsi/models/change_database_insight_compartment_details.rb +155 -0
- data/lib/oci/opsi/models/change_enterprise_manager_bridge_compartment_details.rb +155 -0
- data/lib/oci/opsi/models/change_host_insight_compartment_details.rb +155 -0
- data/lib/oci/opsi/models/connection_details.rb +208 -0
- data/lib/oci/opsi/models/create_database_insight_details.rb +228 -0
- data/lib/oci/opsi/models/create_em_managed_external_database_insight_details.rb +202 -0
- data/lib/oci/opsi/models/create_enterprise_manager_bridge_details.rb +224 -0
- data/lib/oci/opsi/models/create_host_insight_details.rb +228 -0
- data/lib/oci/opsi/models/create_macs_managed_external_host_insight_details.rb +174 -0
- data/lib/oci/opsi/models/credential_details.rb +204 -0
- data/lib/oci/opsi/models/credentials_by_source.rb +150 -0
- data/lib/oci/opsi/models/database_configuration_metric_group.rb +204 -0
- data/lib/oci/opsi/models/database_details.rb +24 -4
- data/lib/oci/opsi/models/database_entity_source.rb +10 -0
- data/lib/oci/opsi/models/database_entity_source_all.rb +12 -0
- data/lib/oci/opsi/models/database_insight.rb +416 -0
- data/lib/oci/opsi/models/database_insight_summary.rb +191 -5
- data/lib/oci/opsi/models/db_external_instance.rb +300 -0
- data/lib/oci/opsi/models/db_external_properties.rb +280 -0
- data/lib/oci/opsi/models/dbos_config_instance.rb +236 -0
- data/lib/oci/opsi/models/em_managed_external_database_insight.rb +284 -0
- data/lib/oci/opsi/models/em_managed_external_database_insight_summary.rb +300 -0
- data/lib/oci/opsi/models/enable_database_insight_details.rb +182 -0
- data/lib/oci/opsi/models/enable_em_managed_external_database_insight_details.rb +145 -0
- data/lib/oci/opsi/models/enable_host_insight_details.rb +182 -0
- data/lib/oci/opsi/models/enable_macs_managed_external_host_insight_details.rb +145 -0
- data/lib/oci/opsi/models/enterprise_manager_bridge.rb +344 -0
- data/lib/oci/opsi/models/enterprise_manager_bridge_collection.rb +150 -0
- data/lib/oci/opsi/models/enterprise_manager_bridge_summary.rb +334 -0
- data/lib/oci/opsi/models/enterprise_manager_bridges.rb +154 -0
- data/lib/oci/opsi/models/host_configuration_metric_group.rb +212 -0
- data/lib/oci/opsi/models/host_cpu_hardware_configuration.rb +289 -0
- data/lib/oci/opsi/models/host_cpu_statistics.rb +174 -0
- data/lib/oci/opsi/models/host_cpu_usage.rb +279 -0
- data/lib/oci/opsi/models/host_details.rb +225 -0
- data/lib/oci/opsi/models/host_entities.rb +181 -0
- data/lib/oci/opsi/models/host_entity_source.rb +10 -0
- data/lib/oci/opsi/models/host_hardware_configuration.rb +167 -0
- data/lib/oci/opsi/models/host_insight.rb +426 -0
- data/lib/oci/opsi/models/host_insight_resource_statistics_aggregation.rb +169 -0
- data/lib/oci/opsi/models/host_insight_summary.rb +426 -0
- data/lib/oci/opsi/models/host_insight_summary_collection.rb +150 -0
- data/lib/oci/opsi/models/host_insights.rb +154 -0
- data/lib/oci/opsi/models/host_instance_map.rb +168 -0
- data/lib/oci/opsi/models/host_memory_configuration.rb +223 -0
- data/lib/oci/opsi/models/host_memory_statistics.rb +260 -0
- data/lib/oci/opsi/models/host_memory_usage.rb +349 -0
- data/lib/oci/opsi/models/host_network_activity_summary.rb +195 -0
- data/lib/oci/opsi/models/host_network_configuration.rb +195 -0
- data/lib/oci/opsi/models/host_performance_metric_group.rb +204 -0
- data/lib/oci/opsi/models/host_product.rb +183 -0
- data/lib/oci/opsi/models/host_resource_allocation.rb +181 -0
- data/lib/oci/opsi/models/host_resource_capacity_trend_aggregation.rb +165 -0
- data/lib/oci/opsi/models/host_resource_statistics.rb +243 -0
- data/lib/oci/opsi/models/hosted_entity_collection.rb +180 -0
- data/lib/oci/opsi/models/hosted_entity_summary.rb +183 -0
- data/lib/oci/opsi/models/importable_enterprise_manager_entity.rb +210 -0
- data/lib/oci/opsi/models/importable_enterprise_manager_entity_collection.rb +150 -0
- data/lib/oci/opsi/models/ingest_database_configuration_details.rb +150 -0
- data/lib/oci/opsi/models/ingest_database_configuration_response_details.rb +152 -0
- data/lib/oci/opsi/models/ingest_host_configuration_details.rb +151 -0
- data/lib/oci/opsi/models/ingest_host_configuration_response_details.rb +152 -0
- data/lib/oci/opsi/models/ingest_host_metrics_details.rb +151 -0
- data/lib/oci/opsi/models/ingest_host_metrics_response_details.rb +152 -0
- data/lib/oci/opsi/models/lifecycle_state.rb +15 -0
- data/lib/oci/opsi/models/macs_managed_external_database_insight.rb +325 -0
- data/lib/oci/opsi/models/macs_managed_external_database_insight_summary.rb +258 -0
- data/lib/oci/opsi/models/macs_managed_external_host_insight.rb +279 -0
- data/lib/oci/opsi/models/macs_managed_external_host_insight_summary.rb +251 -0
- data/lib/oci/opsi/models/operation_status.rb +15 -0
- data/lib/oci/opsi/models/operation_type.rb +25 -0
- data/lib/oci/opsi/models/resource_status.rb +12 -0
- data/lib/oci/opsi/models/sql_plan_collection.rb +11 -1
- data/lib/oci/opsi/models/sql_plan_insight_aggregation_collection.rb +11 -1
- data/lib/oci/opsi/models/sql_response_time_distribution_aggregation_collection.rb +11 -1
- data/lib/oci/opsi/models/sql_search_summary.rb +11 -1
- data/lib/oci/opsi/models/sql_statistics_time_series_by_plan_aggregation_collection.rb +11 -1
- data/lib/oci/opsi/models/sql_text_summary.rb +11 -1
- data/lib/oci/opsi/models/summarize_database_insight_resource_capacity_trend_aggregation_collection.rb +5 -1
- data/lib/oci/opsi/models/summarize_database_insight_resource_forecast_trend_aggregation.rb +5 -1
- data/lib/oci/opsi/models/summarize_database_insight_resource_statistics_aggregation_collection.rb +5 -1
- data/lib/oci/opsi/models/summarize_database_insight_resource_usage_aggregation.rb +5 -1
- data/lib/oci/opsi/models/summarize_database_insight_resource_usage_trend_aggregation_collection.rb +5 -1
- data/lib/oci/opsi/models/summarize_database_insight_resource_utilization_insight_aggregation.rb +5 -1
- data/lib/oci/opsi/models/summarize_database_insight_tablespace_usage_trend_aggregation_collection.rb +232 -0
- data/lib/oci/opsi/models/summarize_host_insight_resource_capacity_trend_aggregation_collection.rb +271 -0
- data/lib/oci/opsi/models/summarize_host_insight_resource_forecast_trend_aggregation.rb +304 -0
- data/lib/oci/opsi/models/summarize_host_insight_resource_statistics_aggregation_collection.rb +251 -0
- data/lib/oci/opsi/models/summarize_host_insight_resource_usage_aggregation.rb +277 -0
- data/lib/oci/opsi/models/summarize_host_insight_resource_usage_trend_aggregation_collection.rb +271 -0
- data/lib/oci/opsi/models/summarize_host_insight_resource_utilization_insight_aggregation.rb +233 -0
- data/lib/oci/opsi/models/summary_statistics.rb +209 -0
- data/lib/oci/opsi/models/tablespace_usage_trend.rb +176 -0
- data/lib/oci/opsi/models/tablespace_usage_trend_aggregation.rb +182 -0
- data/lib/oci/opsi/models/update_autonomous_database_insight_details.rb +153 -0
- data/lib/oci/opsi/models/update_database_insight_details.rb +218 -0
- data/lib/oci/opsi/models/update_em_managed_external_database_insight_details.rb +153 -0
- data/lib/oci/opsi/models/update_enterprise_manager_bridge_details.rb +196 -0
- data/lib/oci/opsi/models/update_host_insight_details.rb +214 -0
- data/lib/oci/opsi/models/update_macs_managed_external_database_insight_details.rb +153 -0
- data/lib/oci/opsi/models/update_macs_managed_external_host_insight_details.rb +153 -0
- data/lib/oci/opsi/models/work_request.rb +320 -0
- data/lib/oci/opsi/models/work_request_collection.rb +150 -0
- data/lib/oci/opsi/models/work_request_error.rb +173 -0
- data/lib/oci/opsi/models/work_request_error_collection.rb +150 -0
- data/lib/oci/opsi/models/work_request_log_entry.rb +160 -0
- data/lib/oci/opsi/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/opsi/models/work_request_resource.rb +219 -0
- data/lib/oci/opsi/models/work_requests.rb +154 -0
- data/lib/oci/opsi/operations_insights_client.rb +3475 -411
- data/lib/oci/opsi/operations_insights_client_composite_operations.rb +792 -0
- data/lib/oci/opsi/opsi.rb +99 -0
- data/lib/oci/regions.rb +1 -1
- data/lib/oci/resource_manager/models/config_source.rb +2 -0
- data/lib/oci/resource_manager/models/config_source_record.rb +2 -0
- data/lib/oci/resource_manager/models/create_config_source_details.rb +1 -0
- data/lib/oci/resource_manager/models/create_object_storage_config_source_details.rb +189 -0
- data/lib/oci/resource_manager/models/object_storage_config_source.rb +189 -0
- data/lib/oci/resource_manager/models/object_storage_config_source_record.rb +185 -0
- data/lib/oci/resource_manager/models/update_config_source_details.rb +1 -0
- data/lib/oci/resource_manager/models/update_object_storage_config_source_details.rb +188 -0
- data/lib/oci/resource_manager/resource_manager.rb +4 -0
- data/lib/oci/resource_manager/resource_manager_client.rb +1 -0
- data/lib/oci/retry/functions/should_retry_on_error.rb +31 -0
- data/lib/oci/retry/retry.rb +15 -0
- data/lib/oci/sch/models/function_task_details.rb +194 -0
- data/lib/oci/sch/models/latest_streaming_cursor.rb +146 -0
- data/lib/oci/sch/models/source_details.rb +2 -0
- data/lib/oci/sch/models/streaming_cursor_details.rb +189 -0
- data/lib/oci/sch/models/streaming_source_details.rb +173 -0
- data/lib/oci/sch/models/task_details.rb +2 -0
- data/lib/oci/sch/models/trim_horizon_streaming_cursor.rb +146 -0
- data/lib/oci/sch/sch.rb +5 -0
- data/lib/oci/service_catalog/models/action_type.rb +13 -0
- data/lib/oci/service_catalog/models/application_collection.rb +150 -0
- data/lib/oci/service_catalog/models/application_summary.rb +295 -0
- data/lib/oci/service_catalog/models/bulk_replace_service_catalog_associations_details.rb +150 -0
- data/lib/oci/service_catalog/models/change_private_application_compartment_details.rb +155 -0
- data/lib/oci/service_catalog/models/change_service_catalog_compartment_details.rb +154 -0
- data/lib/oci/service_catalog/models/create_private_application_details.rb +259 -0
- data/lib/oci/service_catalog/models/create_private_application_package.rb +192 -0
- data/lib/oci/service_catalog/models/create_private_application_stack_package.rb +166 -0
- data/lib/oci/service_catalog/models/create_service_catalog_association_details.rb +182 -0
- data/lib/oci/service_catalog/models/create_service_catalog_details.rb +200 -0
- data/lib/oci/service_catalog/models/error_entity.rb +160 -0
- data/lib/oci/service_catalog/models/operation_status.rb +12 -0
- data/lib/oci/service_catalog/models/operation_type.rb +13 -0
- data/lib/oci/service_catalog/models/package_type_enum.rb +10 -0
- data/lib/oci/service_catalog/models/pricing_type_enum.rb +12 -0
- data/lib/oci/service_catalog/models/private_application.rb +354 -0
- data/lib/oci/service_catalog/models/private_application_collection.rb +150 -0
- data/lib/oci/service_catalog/models/private_application_package.rb +257 -0
- data/lib/oci/service_catalog/models/private_application_package_collection.rb +150 -0
- data/lib/oci/service_catalog/models/private_application_package_summary.rb +241 -0
- data/lib/oci/service_catalog/models/private_application_stack_package.rb +196 -0
- data/lib/oci/service_catalog/models/private_application_summary.rb +268 -0
- data/lib/oci/service_catalog/models/publisher_summary.rb +164 -0
- data/lib/oci/service_catalog/models/service_catalog.rb +280 -0
- data/lib/oci/service_catalog/models/service_catalog_association.rb +206 -0
- data/lib/oci/service_catalog/models/service_catalog_association_collection.rb +150 -0
- data/lib/oci/service_catalog/models/service_catalog_association_summary.rb +206 -0
- data/lib/oci/service_catalog/models/service_catalog_collection.rb +150 -0
- data/lib/oci/service_catalog/models/service_catalog_summary.rb +210 -0
- data/lib/oci/service_catalog/models/update_private_application_details.rb +230 -0
- data/lib/oci/service_catalog/models/update_service_catalog_details.rb +186 -0
- data/lib/oci/service_catalog/models/upload_data.rb +182 -0
- data/lib/oci/service_catalog/models/work_request.rb +305 -0
- data/lib/oci/service_catalog/models/work_request_error.rb +173 -0
- data/lib/oci/service_catalog/models/work_request_error_collection.rb +150 -0
- data/lib/oci/service_catalog/models/work_request_log_entry.rb +160 -0
- data/lib/oci/service_catalog/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/service_catalog/models/work_request_resource.rb +222 -0
- data/lib/oci/service_catalog/models/work_request_summary.rb +305 -0
- data/lib/oci/service_catalog/models/work_request_summary_collection.rb +150 -0
- data/lib/oci/service_catalog/service_catalog.rb +61 -0
- data/lib/oci/service_catalog/service_catalog_client.rb +1957 -0
- data/lib/oci/service_catalog/service_catalog_client_composite_operations.rb +342 -0
- data/lib/oci/service_catalog/util.rb +3 -0
- data/lib/oci/version.rb +1 -1
- data/lib/oci/waas/models/access_rule.rb +1 -1
- data/lib/oci/waas/models/address_rate_limiting.rb +1 -1
- data/lib/oci/waas/models/block_challenge_settings.rb +1 -1
- data/lib/oci/waas/models/certificate.rb +36 -4
- data/lib/oci/waas/models/load_balancing_method.rb +3 -3
- data/lib/oci/waas/models/origin.rb +2 -2
- data/lib/oci/waas/redirect_client.rb +1 -1
- data/lib/oci/waas/waas_client.rb +1 -1
- metadata +428 -2
@@ -0,0 +1,253 @@
|
|
1
|
+
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
# 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.
|
3
|
+
|
4
|
+
require 'date'
|
5
|
+
|
6
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
7
|
+
module OCI
|
8
|
+
# Details about Oracle GoldenGate Microservices. Required for online logical migration.
|
9
|
+
#
|
10
|
+
class DatabaseMigration::Models::CreateGoldenGateHub
|
11
|
+
# This attribute is required.
|
12
|
+
# @return [OCI::DatabaseMigration::Models::CreateAdminCredentials]
|
13
|
+
attr_accessor :rest_admin_credentials
|
14
|
+
|
15
|
+
# This attribute is required.
|
16
|
+
# @return [OCI::DatabaseMigration::Models::CreateAdminCredentials]
|
17
|
+
attr_accessor :source_db_admin_credentials
|
18
|
+
|
19
|
+
# @return [OCI::DatabaseMigration::Models::CreateAdminCredentials]
|
20
|
+
attr_accessor :source_container_db_admin_credentials
|
21
|
+
|
22
|
+
# This attribute is required.
|
23
|
+
# @return [OCI::DatabaseMigration::Models::CreateAdminCredentials]
|
24
|
+
attr_accessor :target_db_admin_credentials
|
25
|
+
|
26
|
+
# **[Required]** Oracle GoldenGate Microservices hub's REST endpoint.
|
27
|
+
# Refer to https://docs.oracle.com/en/middleware/goldengate/core/19.1/securing/network.html#GUID-A709DA55-111D-455E-8942-C9BDD1E38CAA
|
28
|
+
#
|
29
|
+
# @return [String]
|
30
|
+
attr_accessor :url
|
31
|
+
|
32
|
+
# **[Required]** Name of GoldenGate Microservices deployment to operate on source database
|
33
|
+
#
|
34
|
+
# @return [String]
|
35
|
+
attr_accessor :source_microservices_deployment_name
|
36
|
+
|
37
|
+
# **[Required]** Name of GoldenGate Microservices deployment to operate on target database
|
38
|
+
#
|
39
|
+
# @return [String]
|
40
|
+
attr_accessor :target_microservices_deployment_name
|
41
|
+
|
42
|
+
# OCID of GoldenGate Microservices compute instance.
|
43
|
+
#
|
44
|
+
# @return [String]
|
45
|
+
attr_accessor :compute_id
|
46
|
+
|
47
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
48
|
+
def self.attribute_map
|
49
|
+
{
|
50
|
+
# rubocop:disable Style/SymbolLiteral
|
51
|
+
'rest_admin_credentials': :'restAdminCredentials',
|
52
|
+
'source_db_admin_credentials': :'sourceDbAdminCredentials',
|
53
|
+
'source_container_db_admin_credentials': :'sourceContainerDbAdminCredentials',
|
54
|
+
'target_db_admin_credentials': :'targetDbAdminCredentials',
|
55
|
+
'url': :'url',
|
56
|
+
'source_microservices_deployment_name': :'sourceMicroservicesDeploymentName',
|
57
|
+
'target_microservices_deployment_name': :'targetMicroservicesDeploymentName',
|
58
|
+
'compute_id': :'computeId'
|
59
|
+
# rubocop:enable Style/SymbolLiteral
|
60
|
+
}
|
61
|
+
end
|
62
|
+
|
63
|
+
# Attribute type mapping.
|
64
|
+
def self.swagger_types
|
65
|
+
{
|
66
|
+
# rubocop:disable Style/SymbolLiteral
|
67
|
+
'rest_admin_credentials': :'OCI::DatabaseMigration::Models::CreateAdminCredentials',
|
68
|
+
'source_db_admin_credentials': :'OCI::DatabaseMigration::Models::CreateAdminCredentials',
|
69
|
+
'source_container_db_admin_credentials': :'OCI::DatabaseMigration::Models::CreateAdminCredentials',
|
70
|
+
'target_db_admin_credentials': :'OCI::DatabaseMigration::Models::CreateAdminCredentials',
|
71
|
+
'url': :'String',
|
72
|
+
'source_microservices_deployment_name': :'String',
|
73
|
+
'target_microservices_deployment_name': :'String',
|
74
|
+
'compute_id': :'String'
|
75
|
+
# rubocop:enable Style/SymbolLiteral
|
76
|
+
}
|
77
|
+
end
|
78
|
+
|
79
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
80
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
81
|
+
|
82
|
+
|
83
|
+
# Initializes the object
|
84
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
85
|
+
# @option attributes [OCI::DatabaseMigration::Models::CreateAdminCredentials] :rest_admin_credentials The value to assign to the {#rest_admin_credentials} property
|
86
|
+
# @option attributes [OCI::DatabaseMigration::Models::CreateAdminCredentials] :source_db_admin_credentials The value to assign to the {#source_db_admin_credentials} property
|
87
|
+
# @option attributes [OCI::DatabaseMigration::Models::CreateAdminCredentials] :source_container_db_admin_credentials The value to assign to the {#source_container_db_admin_credentials} property
|
88
|
+
# @option attributes [OCI::DatabaseMigration::Models::CreateAdminCredentials] :target_db_admin_credentials The value to assign to the {#target_db_admin_credentials} property
|
89
|
+
# @option attributes [String] :url The value to assign to the {#url} property
|
90
|
+
# @option attributes [String] :source_microservices_deployment_name The value to assign to the {#source_microservices_deployment_name} property
|
91
|
+
# @option attributes [String] :target_microservices_deployment_name The value to assign to the {#target_microservices_deployment_name} property
|
92
|
+
# @option attributes [String] :compute_id The value to assign to the {#compute_id} property
|
93
|
+
def initialize(attributes = {})
|
94
|
+
return unless attributes.is_a?(Hash)
|
95
|
+
|
96
|
+
# convert string to symbol for hash key
|
97
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
98
|
+
|
99
|
+
self.rest_admin_credentials = attributes[:'restAdminCredentials'] if attributes[:'restAdminCredentials']
|
100
|
+
|
101
|
+
raise 'You cannot provide both :restAdminCredentials and :rest_admin_credentials' if attributes.key?(:'restAdminCredentials') && attributes.key?(:'rest_admin_credentials')
|
102
|
+
|
103
|
+
self.rest_admin_credentials = attributes[:'rest_admin_credentials'] if attributes[:'rest_admin_credentials']
|
104
|
+
|
105
|
+
self.source_db_admin_credentials = attributes[:'sourceDbAdminCredentials'] if attributes[:'sourceDbAdminCredentials']
|
106
|
+
|
107
|
+
raise 'You cannot provide both :sourceDbAdminCredentials and :source_db_admin_credentials' if attributes.key?(:'sourceDbAdminCredentials') && attributes.key?(:'source_db_admin_credentials')
|
108
|
+
|
109
|
+
self.source_db_admin_credentials = attributes[:'source_db_admin_credentials'] if attributes[:'source_db_admin_credentials']
|
110
|
+
|
111
|
+
self.source_container_db_admin_credentials = attributes[:'sourceContainerDbAdminCredentials'] if attributes[:'sourceContainerDbAdminCredentials']
|
112
|
+
|
113
|
+
raise 'You cannot provide both :sourceContainerDbAdminCredentials and :source_container_db_admin_credentials' if attributes.key?(:'sourceContainerDbAdminCredentials') && attributes.key?(:'source_container_db_admin_credentials')
|
114
|
+
|
115
|
+
self.source_container_db_admin_credentials = attributes[:'source_container_db_admin_credentials'] if attributes[:'source_container_db_admin_credentials']
|
116
|
+
|
117
|
+
self.target_db_admin_credentials = attributes[:'targetDbAdminCredentials'] if attributes[:'targetDbAdminCredentials']
|
118
|
+
|
119
|
+
raise 'You cannot provide both :targetDbAdminCredentials and :target_db_admin_credentials' if attributes.key?(:'targetDbAdminCredentials') && attributes.key?(:'target_db_admin_credentials')
|
120
|
+
|
121
|
+
self.target_db_admin_credentials = attributes[:'target_db_admin_credentials'] if attributes[:'target_db_admin_credentials']
|
122
|
+
|
123
|
+
self.url = attributes[:'url'] if attributes[:'url']
|
124
|
+
|
125
|
+
self.source_microservices_deployment_name = attributes[:'sourceMicroservicesDeploymentName'] if attributes[:'sourceMicroservicesDeploymentName']
|
126
|
+
|
127
|
+
raise 'You cannot provide both :sourceMicroservicesDeploymentName and :source_microservices_deployment_name' if attributes.key?(:'sourceMicroservicesDeploymentName') && attributes.key?(:'source_microservices_deployment_name')
|
128
|
+
|
129
|
+
self.source_microservices_deployment_name = attributes[:'source_microservices_deployment_name'] if attributes[:'source_microservices_deployment_name']
|
130
|
+
|
131
|
+
self.target_microservices_deployment_name = attributes[:'targetMicroservicesDeploymentName'] if attributes[:'targetMicroservicesDeploymentName']
|
132
|
+
|
133
|
+
raise 'You cannot provide both :targetMicroservicesDeploymentName and :target_microservices_deployment_name' if attributes.key?(:'targetMicroservicesDeploymentName') && attributes.key?(:'target_microservices_deployment_name')
|
134
|
+
|
135
|
+
self.target_microservices_deployment_name = attributes[:'target_microservices_deployment_name'] if attributes[:'target_microservices_deployment_name']
|
136
|
+
|
137
|
+
self.compute_id = attributes[:'computeId'] if attributes[:'computeId']
|
138
|
+
|
139
|
+
raise 'You cannot provide both :computeId and :compute_id' if attributes.key?(:'computeId') && attributes.key?(:'compute_id')
|
140
|
+
|
141
|
+
self.compute_id = attributes[:'compute_id'] if attributes[:'compute_id']
|
142
|
+
end
|
143
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
144
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
145
|
+
|
146
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
147
|
+
|
148
|
+
|
149
|
+
# Checks equality by comparing each attribute.
|
150
|
+
# @param [Object] other the other object to be compared
|
151
|
+
def ==(other)
|
152
|
+
return true if equal?(other)
|
153
|
+
|
154
|
+
self.class == other.class &&
|
155
|
+
rest_admin_credentials == other.rest_admin_credentials &&
|
156
|
+
source_db_admin_credentials == other.source_db_admin_credentials &&
|
157
|
+
source_container_db_admin_credentials == other.source_container_db_admin_credentials &&
|
158
|
+
target_db_admin_credentials == other.target_db_admin_credentials &&
|
159
|
+
url == other.url &&
|
160
|
+
source_microservices_deployment_name == other.source_microservices_deployment_name &&
|
161
|
+
target_microservices_deployment_name == other.target_microservices_deployment_name &&
|
162
|
+
compute_id == other.compute_id
|
163
|
+
end
|
164
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
165
|
+
|
166
|
+
# @see the `==` method
|
167
|
+
# @param [Object] other the other object to be compared
|
168
|
+
def eql?(other)
|
169
|
+
self == other
|
170
|
+
end
|
171
|
+
|
172
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
173
|
+
|
174
|
+
|
175
|
+
# Calculates hash code according to all attributes.
|
176
|
+
# @return [Fixnum] Hash code
|
177
|
+
def hash
|
178
|
+
[rest_admin_credentials, source_db_admin_credentials, source_container_db_admin_credentials, target_db_admin_credentials, url, source_microservices_deployment_name, target_microservices_deployment_name, compute_id].hash
|
179
|
+
end
|
180
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
181
|
+
|
182
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
183
|
+
|
184
|
+
|
185
|
+
# Builds the object from hash
|
186
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
187
|
+
# @return [Object] Returns the model itself
|
188
|
+
def build_from_hash(attributes)
|
189
|
+
return nil unless attributes.is_a?(Hash)
|
190
|
+
|
191
|
+
self.class.swagger_types.each_pair do |key, type|
|
192
|
+
if type =~ /^Array<(.*)>/i
|
193
|
+
# check to ensure the input is an array given that the the attribute
|
194
|
+
# is documented as an array but the input is not
|
195
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
196
|
+
public_method("#{key}=").call(
|
197
|
+
attributes[self.class.attribute_map[key]]
|
198
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
199
|
+
)
|
200
|
+
end
|
201
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
202
|
+
public_method("#{key}=").call(
|
203
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
204
|
+
)
|
205
|
+
end
|
206
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
207
|
+
end
|
208
|
+
|
209
|
+
self
|
210
|
+
end
|
211
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
212
|
+
|
213
|
+
# Returns the string representation of the object
|
214
|
+
# @return [String] String presentation of the object
|
215
|
+
def to_s
|
216
|
+
to_hash.to_s
|
217
|
+
end
|
218
|
+
|
219
|
+
# Returns the object in the form of hash
|
220
|
+
# @return [Hash] Returns the object in the form of hash
|
221
|
+
def to_hash
|
222
|
+
hash = {}
|
223
|
+
self.class.attribute_map.each_pair do |attr, param|
|
224
|
+
value = public_method(attr).call
|
225
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
226
|
+
|
227
|
+
hash[param] = _to_hash(value)
|
228
|
+
end
|
229
|
+
hash
|
230
|
+
end
|
231
|
+
|
232
|
+
private
|
233
|
+
|
234
|
+
# Outputs non-array value in the form of hash
|
235
|
+
# For object, use to_hash. Otherwise, just return the value
|
236
|
+
# @param [Object] value Any valid value
|
237
|
+
# @return [Hash] Returns the value in the form of hash
|
238
|
+
def _to_hash(value)
|
239
|
+
if value.is_a?(Array)
|
240
|
+
value.compact.map { |v| _to_hash(v) }
|
241
|
+
elsif value.is_a?(Hash)
|
242
|
+
{}.tap do |hash|
|
243
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
244
|
+
end
|
245
|
+
elsif value.respond_to? :to_hash
|
246
|
+
value.to_hash
|
247
|
+
else
|
248
|
+
value
|
249
|
+
end
|
250
|
+
end
|
251
|
+
end
|
252
|
+
end
|
253
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
@@ -0,0 +1,174 @@
|
|
1
|
+
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
# 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.
|
3
|
+
|
4
|
+
require 'date'
|
5
|
+
|
6
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
7
|
+
module OCI
|
8
|
+
# Optional settings for GoldenGate Microservices processes
|
9
|
+
#
|
10
|
+
class DatabaseMigration::Models::CreateGoldenGateSettings
|
11
|
+
# @return [OCI::DatabaseMigration::Models::CreateExtract]
|
12
|
+
attr_accessor :extract
|
13
|
+
|
14
|
+
# @return [OCI::DatabaseMigration::Models::CreateReplicat]
|
15
|
+
attr_accessor :replicat
|
16
|
+
|
17
|
+
# ODMS will monitor GoldenGate end-to-end latency until the lag time is lower than the specified value in seconds.
|
18
|
+
#
|
19
|
+
# @return [Integer]
|
20
|
+
attr_accessor :acceptable_lag
|
21
|
+
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
23
|
+
def self.attribute_map
|
24
|
+
{
|
25
|
+
# rubocop:disable Style/SymbolLiteral
|
26
|
+
'extract': :'extract',
|
27
|
+
'replicat': :'replicat',
|
28
|
+
'acceptable_lag': :'acceptableLag'
|
29
|
+
# rubocop:enable Style/SymbolLiteral
|
30
|
+
}
|
31
|
+
end
|
32
|
+
|
33
|
+
# Attribute type mapping.
|
34
|
+
def self.swagger_types
|
35
|
+
{
|
36
|
+
# rubocop:disable Style/SymbolLiteral
|
37
|
+
'extract': :'OCI::DatabaseMigration::Models::CreateExtract',
|
38
|
+
'replicat': :'OCI::DatabaseMigration::Models::CreateReplicat',
|
39
|
+
'acceptable_lag': :'Integer'
|
40
|
+
# rubocop:enable Style/SymbolLiteral
|
41
|
+
}
|
42
|
+
end
|
43
|
+
|
44
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
45
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
46
|
+
|
47
|
+
|
48
|
+
# Initializes the object
|
49
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
50
|
+
# @option attributes [OCI::DatabaseMigration::Models::CreateExtract] :extract The value to assign to the {#extract} property
|
51
|
+
# @option attributes [OCI::DatabaseMigration::Models::CreateReplicat] :replicat The value to assign to the {#replicat} property
|
52
|
+
# @option attributes [Integer] :acceptable_lag The value to assign to the {#acceptable_lag} property
|
53
|
+
def initialize(attributes = {})
|
54
|
+
return unless attributes.is_a?(Hash)
|
55
|
+
|
56
|
+
# convert string to symbol for hash key
|
57
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
58
|
+
|
59
|
+
self.extract = attributes[:'extract'] if attributes[:'extract']
|
60
|
+
|
61
|
+
self.replicat = attributes[:'replicat'] if attributes[:'replicat']
|
62
|
+
|
63
|
+
self.acceptable_lag = attributes[:'acceptableLag'] if attributes[:'acceptableLag']
|
64
|
+
|
65
|
+
raise 'You cannot provide both :acceptableLag and :acceptable_lag' if attributes.key?(:'acceptableLag') && attributes.key?(:'acceptable_lag')
|
66
|
+
|
67
|
+
self.acceptable_lag = attributes[:'acceptable_lag'] if attributes[:'acceptable_lag']
|
68
|
+
end
|
69
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
70
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
71
|
+
|
72
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
73
|
+
|
74
|
+
|
75
|
+
# Checks equality by comparing each attribute.
|
76
|
+
# @param [Object] other the other object to be compared
|
77
|
+
def ==(other)
|
78
|
+
return true if equal?(other)
|
79
|
+
|
80
|
+
self.class == other.class &&
|
81
|
+
extract == other.extract &&
|
82
|
+
replicat == other.replicat &&
|
83
|
+
acceptable_lag == other.acceptable_lag
|
84
|
+
end
|
85
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
86
|
+
|
87
|
+
# @see the `==` method
|
88
|
+
# @param [Object] other the other object to be compared
|
89
|
+
def eql?(other)
|
90
|
+
self == other
|
91
|
+
end
|
92
|
+
|
93
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
94
|
+
|
95
|
+
|
96
|
+
# Calculates hash code according to all attributes.
|
97
|
+
# @return [Fixnum] Hash code
|
98
|
+
def hash
|
99
|
+
[extract, replicat, acceptable_lag].hash
|
100
|
+
end
|
101
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
102
|
+
|
103
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
104
|
+
|
105
|
+
|
106
|
+
# Builds the object from hash
|
107
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
108
|
+
# @return [Object] Returns the model itself
|
109
|
+
def build_from_hash(attributes)
|
110
|
+
return nil unless attributes.is_a?(Hash)
|
111
|
+
|
112
|
+
self.class.swagger_types.each_pair do |key, type|
|
113
|
+
if type =~ /^Array<(.*)>/i
|
114
|
+
# check to ensure the input is an array given that the the attribute
|
115
|
+
# is documented as an array but the input is not
|
116
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
117
|
+
public_method("#{key}=").call(
|
118
|
+
attributes[self.class.attribute_map[key]]
|
119
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
120
|
+
)
|
121
|
+
end
|
122
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
123
|
+
public_method("#{key}=").call(
|
124
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
125
|
+
)
|
126
|
+
end
|
127
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
128
|
+
end
|
129
|
+
|
130
|
+
self
|
131
|
+
end
|
132
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
133
|
+
|
134
|
+
# Returns the string representation of the object
|
135
|
+
# @return [String] String presentation of the object
|
136
|
+
def to_s
|
137
|
+
to_hash.to_s
|
138
|
+
end
|
139
|
+
|
140
|
+
# Returns the object in the form of hash
|
141
|
+
# @return [Hash] Returns the object in the form of hash
|
142
|
+
def to_hash
|
143
|
+
hash = {}
|
144
|
+
self.class.attribute_map.each_pair do |attr, param|
|
145
|
+
value = public_method(attr).call
|
146
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
147
|
+
|
148
|
+
hash[param] = _to_hash(value)
|
149
|
+
end
|
150
|
+
hash
|
151
|
+
end
|
152
|
+
|
153
|
+
private
|
154
|
+
|
155
|
+
# Outputs non-array value in the form of hash
|
156
|
+
# For object, use to_hash. Otherwise, just return the value
|
157
|
+
# @param [Object] value Any valid value
|
158
|
+
# @return [Hash] Returns the value in the form of hash
|
159
|
+
def _to_hash(value)
|
160
|
+
if value.is_a?(Array)
|
161
|
+
value.compact.map { |v| _to_hash(v) }
|
162
|
+
elsif value.is_a?(Hash)
|
163
|
+
{}.tap do |hash|
|
164
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
165
|
+
end
|
166
|
+
elsif value.respond_to? :to_hash
|
167
|
+
value.to_hash
|
168
|
+
else
|
169
|
+
value
|
170
|
+
end
|
171
|
+
end
|
172
|
+
end
|
173
|
+
end
|
174
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
@@ -0,0 +1,355 @@
|
|
1
|
+
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
# 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.
|
3
|
+
|
4
|
+
require 'date'
|
5
|
+
|
6
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
7
|
+
module OCI
|
8
|
+
# Create Migration resource parameters.
|
9
|
+
#
|
10
|
+
class DatabaseMigration::Models::CreateMigrationDetails
|
11
|
+
TYPE_ENUM = [
|
12
|
+
TYPE_ONLINE = 'ONLINE'.freeze,
|
13
|
+
TYPE_OFFLINE = 'OFFLINE'.freeze
|
14
|
+
].freeze
|
15
|
+
|
16
|
+
# **[Required]** Migration type.
|
17
|
+
#
|
18
|
+
# @return [String]
|
19
|
+
attr_reader :type
|
20
|
+
|
21
|
+
# Migration Display Name
|
22
|
+
#
|
23
|
+
# @return [String]
|
24
|
+
attr_accessor :display_name
|
25
|
+
|
26
|
+
# **[Required]** OCID of the compartment
|
27
|
+
#
|
28
|
+
# @return [String]
|
29
|
+
attr_accessor :compartment_id
|
30
|
+
|
31
|
+
# The OCID of the registered ODMS Agent. Only valid for Offline Logical Migrations.
|
32
|
+
#
|
33
|
+
# @return [String]
|
34
|
+
attr_accessor :agent_id
|
35
|
+
|
36
|
+
# **[Required]** The OCID of the Source Database Connection.
|
37
|
+
#
|
38
|
+
# @return [String]
|
39
|
+
attr_accessor :source_database_connection_id
|
40
|
+
|
41
|
+
# The OCID of the Source Container Database Connection. Only used for Online migrations.
|
42
|
+
# Only Connections of type Non-Autonomous can be used as source container databases.
|
43
|
+
#
|
44
|
+
# @return [String]
|
45
|
+
attr_accessor :source_container_database_connection_id
|
46
|
+
|
47
|
+
# **[Required]** The OCID of the Target Database Connection.
|
48
|
+
#
|
49
|
+
# @return [String]
|
50
|
+
attr_accessor :target_database_connection_id
|
51
|
+
|
52
|
+
# @return [OCI::DatabaseMigration::Models::CreateDataTransferMediumDetails]
|
53
|
+
attr_accessor :data_transfer_medium_details
|
54
|
+
|
55
|
+
# @return [OCI::DatabaseMigration::Models::CreateDataPumpSettings]
|
56
|
+
attr_accessor :datapump_settings
|
57
|
+
|
58
|
+
# Database objects to exclude from migration.
|
59
|
+
#
|
60
|
+
# @return [Array<OCI::DatabaseMigration::Models::DatabaseObject>]
|
61
|
+
attr_accessor :exclude_objects
|
62
|
+
|
63
|
+
# @return [OCI::DatabaseMigration::Models::CreateGoldenGateDetails]
|
64
|
+
attr_accessor :golden_gate_details
|
65
|
+
|
66
|
+
# @return [OCI::DatabaseMigration::Models::CreateVaultDetails]
|
67
|
+
attr_accessor :vault_details
|
68
|
+
|
69
|
+
# Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
70
|
+
# Example: `{\"bar-key\": \"value\"}`
|
71
|
+
#
|
72
|
+
# @return [Hash<String, String>]
|
73
|
+
attr_accessor :freeform_tags
|
74
|
+
|
75
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
76
|
+
# Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
77
|
+
#
|
78
|
+
# @return [Hash<String, Hash<String, Object>>]
|
79
|
+
attr_accessor :defined_tags
|
80
|
+
|
81
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
82
|
+
def self.attribute_map
|
83
|
+
{
|
84
|
+
# rubocop:disable Style/SymbolLiteral
|
85
|
+
'type': :'type',
|
86
|
+
'display_name': :'displayName',
|
87
|
+
'compartment_id': :'compartmentId',
|
88
|
+
'agent_id': :'agentId',
|
89
|
+
'source_database_connection_id': :'sourceDatabaseConnectionId',
|
90
|
+
'source_container_database_connection_id': :'sourceContainerDatabaseConnectionId',
|
91
|
+
'target_database_connection_id': :'targetDatabaseConnectionId',
|
92
|
+
'data_transfer_medium_details': :'dataTransferMediumDetails',
|
93
|
+
'datapump_settings': :'datapumpSettings',
|
94
|
+
'exclude_objects': :'excludeObjects',
|
95
|
+
'golden_gate_details': :'goldenGateDetails',
|
96
|
+
'vault_details': :'vaultDetails',
|
97
|
+
'freeform_tags': :'freeformTags',
|
98
|
+
'defined_tags': :'definedTags'
|
99
|
+
# rubocop:enable Style/SymbolLiteral
|
100
|
+
}
|
101
|
+
end
|
102
|
+
|
103
|
+
# Attribute type mapping.
|
104
|
+
def self.swagger_types
|
105
|
+
{
|
106
|
+
# rubocop:disable Style/SymbolLiteral
|
107
|
+
'type': :'String',
|
108
|
+
'display_name': :'String',
|
109
|
+
'compartment_id': :'String',
|
110
|
+
'agent_id': :'String',
|
111
|
+
'source_database_connection_id': :'String',
|
112
|
+
'source_container_database_connection_id': :'String',
|
113
|
+
'target_database_connection_id': :'String',
|
114
|
+
'data_transfer_medium_details': :'OCI::DatabaseMigration::Models::CreateDataTransferMediumDetails',
|
115
|
+
'datapump_settings': :'OCI::DatabaseMigration::Models::CreateDataPumpSettings',
|
116
|
+
'exclude_objects': :'Array<OCI::DatabaseMigration::Models::DatabaseObject>',
|
117
|
+
'golden_gate_details': :'OCI::DatabaseMigration::Models::CreateGoldenGateDetails',
|
118
|
+
'vault_details': :'OCI::DatabaseMigration::Models::CreateVaultDetails',
|
119
|
+
'freeform_tags': :'Hash<String, String>',
|
120
|
+
'defined_tags': :'Hash<String, Hash<String, Object>>'
|
121
|
+
# rubocop:enable Style/SymbolLiteral
|
122
|
+
}
|
123
|
+
end
|
124
|
+
|
125
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
126
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
127
|
+
|
128
|
+
|
129
|
+
# Initializes the object
|
130
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
131
|
+
# @option attributes [String] :type The value to assign to the {#type} property
|
132
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
133
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
134
|
+
# @option attributes [String] :agent_id The value to assign to the {#agent_id} property
|
135
|
+
# @option attributes [String] :source_database_connection_id The value to assign to the {#source_database_connection_id} property
|
136
|
+
# @option attributes [String] :source_container_database_connection_id The value to assign to the {#source_container_database_connection_id} property
|
137
|
+
# @option attributes [String] :target_database_connection_id The value to assign to the {#target_database_connection_id} property
|
138
|
+
# @option attributes [OCI::DatabaseMigration::Models::CreateDataTransferMediumDetails] :data_transfer_medium_details The value to assign to the {#data_transfer_medium_details} property
|
139
|
+
# @option attributes [OCI::DatabaseMigration::Models::CreateDataPumpSettings] :datapump_settings The value to assign to the {#datapump_settings} property
|
140
|
+
# @option attributes [Array<OCI::DatabaseMigration::Models::DatabaseObject>] :exclude_objects The value to assign to the {#exclude_objects} property
|
141
|
+
# @option attributes [OCI::DatabaseMigration::Models::CreateGoldenGateDetails] :golden_gate_details The value to assign to the {#golden_gate_details} property
|
142
|
+
# @option attributes [OCI::DatabaseMigration::Models::CreateVaultDetails] :vault_details The value to assign to the {#vault_details} property
|
143
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
144
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
145
|
+
def initialize(attributes = {})
|
146
|
+
return unless attributes.is_a?(Hash)
|
147
|
+
|
148
|
+
# convert string to symbol for hash key
|
149
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
150
|
+
|
151
|
+
self.type = attributes[:'type'] if attributes[:'type']
|
152
|
+
|
153
|
+
self.display_name = attributes[:'displayName'] if attributes[:'displayName']
|
154
|
+
|
155
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
156
|
+
|
157
|
+
self.display_name = attributes[:'display_name'] if attributes[:'display_name']
|
158
|
+
|
159
|
+
self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId']
|
160
|
+
|
161
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
162
|
+
|
163
|
+
self.compartment_id = attributes[:'compartment_id'] if attributes[:'compartment_id']
|
164
|
+
|
165
|
+
self.agent_id = attributes[:'agentId'] if attributes[:'agentId']
|
166
|
+
|
167
|
+
raise 'You cannot provide both :agentId and :agent_id' if attributes.key?(:'agentId') && attributes.key?(:'agent_id')
|
168
|
+
|
169
|
+
self.agent_id = attributes[:'agent_id'] if attributes[:'agent_id']
|
170
|
+
|
171
|
+
self.source_database_connection_id = attributes[:'sourceDatabaseConnectionId'] if attributes[:'sourceDatabaseConnectionId']
|
172
|
+
|
173
|
+
raise 'You cannot provide both :sourceDatabaseConnectionId and :source_database_connection_id' if attributes.key?(:'sourceDatabaseConnectionId') && attributes.key?(:'source_database_connection_id')
|
174
|
+
|
175
|
+
self.source_database_connection_id = attributes[:'source_database_connection_id'] if attributes[:'source_database_connection_id']
|
176
|
+
|
177
|
+
self.source_container_database_connection_id = attributes[:'sourceContainerDatabaseConnectionId'] if attributes[:'sourceContainerDatabaseConnectionId']
|
178
|
+
|
179
|
+
raise 'You cannot provide both :sourceContainerDatabaseConnectionId and :source_container_database_connection_id' if attributes.key?(:'sourceContainerDatabaseConnectionId') && attributes.key?(:'source_container_database_connection_id')
|
180
|
+
|
181
|
+
self.source_container_database_connection_id = attributes[:'source_container_database_connection_id'] if attributes[:'source_container_database_connection_id']
|
182
|
+
|
183
|
+
self.target_database_connection_id = attributes[:'targetDatabaseConnectionId'] if attributes[:'targetDatabaseConnectionId']
|
184
|
+
|
185
|
+
raise 'You cannot provide both :targetDatabaseConnectionId and :target_database_connection_id' if attributes.key?(:'targetDatabaseConnectionId') && attributes.key?(:'target_database_connection_id')
|
186
|
+
|
187
|
+
self.target_database_connection_id = attributes[:'target_database_connection_id'] if attributes[:'target_database_connection_id']
|
188
|
+
|
189
|
+
self.data_transfer_medium_details = attributes[:'dataTransferMediumDetails'] if attributes[:'dataTransferMediumDetails']
|
190
|
+
|
191
|
+
raise 'You cannot provide both :dataTransferMediumDetails and :data_transfer_medium_details' if attributes.key?(:'dataTransferMediumDetails') && attributes.key?(:'data_transfer_medium_details')
|
192
|
+
|
193
|
+
self.data_transfer_medium_details = attributes[:'data_transfer_medium_details'] if attributes[:'data_transfer_medium_details']
|
194
|
+
|
195
|
+
self.datapump_settings = attributes[:'datapumpSettings'] if attributes[:'datapumpSettings']
|
196
|
+
|
197
|
+
raise 'You cannot provide both :datapumpSettings and :datapump_settings' if attributes.key?(:'datapumpSettings') && attributes.key?(:'datapump_settings')
|
198
|
+
|
199
|
+
self.datapump_settings = attributes[:'datapump_settings'] if attributes[:'datapump_settings']
|
200
|
+
|
201
|
+
self.exclude_objects = attributes[:'excludeObjects'] if attributes[:'excludeObjects']
|
202
|
+
|
203
|
+
raise 'You cannot provide both :excludeObjects and :exclude_objects' if attributes.key?(:'excludeObjects') && attributes.key?(:'exclude_objects')
|
204
|
+
|
205
|
+
self.exclude_objects = attributes[:'exclude_objects'] if attributes[:'exclude_objects']
|
206
|
+
|
207
|
+
self.golden_gate_details = attributes[:'goldenGateDetails'] if attributes[:'goldenGateDetails']
|
208
|
+
|
209
|
+
raise 'You cannot provide both :goldenGateDetails and :golden_gate_details' if attributes.key?(:'goldenGateDetails') && attributes.key?(:'golden_gate_details')
|
210
|
+
|
211
|
+
self.golden_gate_details = attributes[:'golden_gate_details'] if attributes[:'golden_gate_details']
|
212
|
+
|
213
|
+
self.vault_details = attributes[:'vaultDetails'] if attributes[:'vaultDetails']
|
214
|
+
|
215
|
+
raise 'You cannot provide both :vaultDetails and :vault_details' if attributes.key?(:'vaultDetails') && attributes.key?(:'vault_details')
|
216
|
+
|
217
|
+
self.vault_details = attributes[:'vault_details'] if attributes[:'vault_details']
|
218
|
+
|
219
|
+
self.freeform_tags = attributes[:'freeformTags'] if attributes[:'freeformTags']
|
220
|
+
|
221
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
222
|
+
|
223
|
+
self.freeform_tags = attributes[:'freeform_tags'] if attributes[:'freeform_tags']
|
224
|
+
|
225
|
+
self.defined_tags = attributes[:'definedTags'] if attributes[:'definedTags']
|
226
|
+
|
227
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
228
|
+
|
229
|
+
self.defined_tags = attributes[:'defined_tags'] if attributes[:'defined_tags']
|
230
|
+
end
|
231
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
232
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
233
|
+
|
234
|
+
# Custom attribute writer method checking allowed values (enum).
|
235
|
+
# @param [Object] type Object to be assigned
|
236
|
+
def type=(type)
|
237
|
+
raise "Invalid value for 'type': this must be one of the values in TYPE_ENUM." if type && !TYPE_ENUM.include?(type)
|
238
|
+
|
239
|
+
@type = type
|
240
|
+
end
|
241
|
+
|
242
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
243
|
+
|
244
|
+
|
245
|
+
# Checks equality by comparing each attribute.
|
246
|
+
# @param [Object] other the other object to be compared
|
247
|
+
def ==(other)
|
248
|
+
return true if equal?(other)
|
249
|
+
|
250
|
+
self.class == other.class &&
|
251
|
+
type == other.type &&
|
252
|
+
display_name == other.display_name &&
|
253
|
+
compartment_id == other.compartment_id &&
|
254
|
+
agent_id == other.agent_id &&
|
255
|
+
source_database_connection_id == other.source_database_connection_id &&
|
256
|
+
source_container_database_connection_id == other.source_container_database_connection_id &&
|
257
|
+
target_database_connection_id == other.target_database_connection_id &&
|
258
|
+
data_transfer_medium_details == other.data_transfer_medium_details &&
|
259
|
+
datapump_settings == other.datapump_settings &&
|
260
|
+
exclude_objects == other.exclude_objects &&
|
261
|
+
golden_gate_details == other.golden_gate_details &&
|
262
|
+
vault_details == other.vault_details &&
|
263
|
+
freeform_tags == other.freeform_tags &&
|
264
|
+
defined_tags == other.defined_tags
|
265
|
+
end
|
266
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
267
|
+
|
268
|
+
# @see the `==` method
|
269
|
+
# @param [Object] other the other object to be compared
|
270
|
+
def eql?(other)
|
271
|
+
self == other
|
272
|
+
end
|
273
|
+
|
274
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
275
|
+
|
276
|
+
|
277
|
+
# Calculates hash code according to all attributes.
|
278
|
+
# @return [Fixnum] Hash code
|
279
|
+
def hash
|
280
|
+
[type, display_name, compartment_id, agent_id, source_database_connection_id, source_container_database_connection_id, target_database_connection_id, data_transfer_medium_details, datapump_settings, exclude_objects, golden_gate_details, vault_details, freeform_tags, defined_tags].hash
|
281
|
+
end
|
282
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
283
|
+
|
284
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
285
|
+
|
286
|
+
|
287
|
+
# Builds the object from hash
|
288
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
289
|
+
# @return [Object] Returns the model itself
|
290
|
+
def build_from_hash(attributes)
|
291
|
+
return nil unless attributes.is_a?(Hash)
|
292
|
+
|
293
|
+
self.class.swagger_types.each_pair do |key, type|
|
294
|
+
if type =~ /^Array<(.*)>/i
|
295
|
+
# check to ensure the input is an array given that the the attribute
|
296
|
+
# is documented as an array but the input is not
|
297
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
298
|
+
public_method("#{key}=").call(
|
299
|
+
attributes[self.class.attribute_map[key]]
|
300
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
301
|
+
)
|
302
|
+
end
|
303
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
304
|
+
public_method("#{key}=").call(
|
305
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
306
|
+
)
|
307
|
+
end
|
308
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
309
|
+
end
|
310
|
+
|
311
|
+
self
|
312
|
+
end
|
313
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
314
|
+
|
315
|
+
# Returns the string representation of the object
|
316
|
+
# @return [String] String presentation of the object
|
317
|
+
def to_s
|
318
|
+
to_hash.to_s
|
319
|
+
end
|
320
|
+
|
321
|
+
# Returns the object in the form of hash
|
322
|
+
# @return [Hash] Returns the object in the form of hash
|
323
|
+
def to_hash
|
324
|
+
hash = {}
|
325
|
+
self.class.attribute_map.each_pair do |attr, param|
|
326
|
+
value = public_method(attr).call
|
327
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
328
|
+
|
329
|
+
hash[param] = _to_hash(value)
|
330
|
+
end
|
331
|
+
hash
|
332
|
+
end
|
333
|
+
|
334
|
+
private
|
335
|
+
|
336
|
+
# Outputs non-array value in the form of hash
|
337
|
+
# For object, use to_hash. Otherwise, just return the value
|
338
|
+
# @param [Object] value Any valid value
|
339
|
+
# @return [Hash] Returns the value in the form of hash
|
340
|
+
def _to_hash(value)
|
341
|
+
if value.is_a?(Array)
|
342
|
+
value.compact.map { |v| _to_hash(v) }
|
343
|
+
elsif value.is_a?(Hash)
|
344
|
+
{}.tap do |hash|
|
345
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
346
|
+
end
|
347
|
+
elsif value.respond_to? :to_hash
|
348
|
+
value.to_hash
|
349
|
+
else
|
350
|
+
value
|
351
|
+
end
|
352
|
+
end
|
353
|
+
end
|
354
|
+
end
|
355
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|