oci 2.10.0 → 2.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/oci.rb +4 -0
- data/lib/oci/api_client.rb +1 -3
- data/lib/oci/apigateway/api_gateway_client.rb +619 -0
- data/lib/oci/apigateway/api_gateway_client_composite_operations.rb +198 -0
- data/lib/oci/apigateway/apigateway.rb +10 -0
- data/lib/oci/apigateway/models/api.rb +340 -0
- data/lib/oci/apigateway/models/api_collection.rb +150 -0
- data/lib/oci/apigateway/models/api_summary.rb +342 -0
- data/lib/oci/apigateway/models/api_validation_detail.rb +191 -0
- data/lib/oci/apigateway/models/api_validation_details.rb +192 -0
- data/lib/oci/apigateway/models/api_validation_result.rb +182 -0
- data/lib/oci/apigateway/models/api_validations.rb +150 -0
- data/lib/oci/{log_analytics/models/create_namespace_details.rb → apigateway/models/change_api_compartment_details.rb} +5 -3
- data/lib/oci/apigateway/models/create_api_details.rb +222 -0
- data/lib/oci/apigateway/models/update_api_details.rb +206 -0
- data/lib/oci/apigateway/models/work_request.rb +4 -0
- data/lib/oci/application_migration/application_migration.rb +2 -0
- data/lib/oci/application_migration/application_migration_client.rb +169 -52
- data/lib/oci/application_migration/application_migration_client_composite_operations.rb +447 -0
- data/lib/oci/application_migration/models/authorization_details.rb +4 -2
- data/lib/oci/application_migration/models/change_compartment_details.rb +2 -2
- data/lib/oci/application_migration/models/configuration_field.rb +9 -7
- data/lib/oci/application_migration/models/create_migration_details.rb +54 -12
- data/lib/oci/application_migration/models/create_source_details.rb +13 -8
- data/lib/oci/application_migration/models/discovery_details.rb +2 -2
- data/lib/oci/application_migration/models/ics_discovery_details.rb +4 -3
- data/lib/oci/application_migration/models/internal_authorization_details.rb +1 -1
- data/lib/oci/application_migration/models/internal_source_details.rb +2 -2
- data/lib/oci/application_migration/models/jcs_discovery_details.rb +5 -3
- data/lib/oci/application_migration/models/migration.rb +111 -18
- data/lib/oci/application_migration/models/migration_summary.rb +63 -15
- data/lib/oci/application_migration/models/oac_discovery_details.rb +3 -3
- data/lib/oci/application_migration/models/ocic_authorization_details.rb +1 -1
- data/lib/oci/application_migration/models/ocic_source_details.rb +8 -3
- data/lib/oci/application_migration/models/oic_discovery_details.rb +4 -3
- data/lib/oci/application_migration/models/pcs_discovery_details.rb +4 -3
- data/lib/oci/application_migration/models/soacs_discovery_details.rb +5 -3
- data/lib/oci/application_migration/models/source.rb +41 -13
- data/lib/oci/application_migration/models/source_application.rb +6 -6
- data/lib/oci/application_migration/models/source_application_summary.rb +7 -6
- data/lib/oci/application_migration/models/source_details.rb +10 -2
- data/lib/oci/application_migration/models/source_summary.rb +36 -14
- data/lib/oci/application_migration/models/target_database_types.rb +11 -0
- data/lib/oci/application_migration/models/update_migration_details.rb +15 -7
- data/lib/oci/application_migration/models/update_source_details.rb +7 -7
- data/lib/oci/application_migration/models/work_request.rb +54 -3
- data/lib/oci/application_migration/models/work_request_error.rb +1 -1
- data/lib/oci/application_migration/models/work_request_log_entry.rb +2 -2
- data/lib/oci/application_migration/models/work_request_resource.rb +1 -1
- data/lib/oci/application_migration/models/work_request_summary.rb +54 -3
- data/lib/oci/auth/signers/instance_principals_delegation_token_signer.rb +1 -1
- data/lib/oci/compute_instance_agent/compute_instance_agent.rb +39 -0
- data/lib/oci/compute_instance_agent/compute_instance_agent_client.rb +522 -0
- data/lib/oci/compute_instance_agent/compute_instance_agent_client_composite_operations.rb +25 -0
- data/lib/oci/compute_instance_agent/models/create_instance_agent_command_details.rb +205 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command.rb +256 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_content.rb +159 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_content_info.rb +236 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution.rb +321 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_content.rb +218 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_object_storage_tuple_details.rb +198 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_object_storage_uri_details.rb +170 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_output_via_text_details.rb +180 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_execution_summary.rb +321 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_output_details.rb +197 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_object_storage_tuple_details.rb +190 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_object_storage_uri_details.rb +162 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_output_via_text_details.rb +145 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_source_details.rb +197 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_object_storage_tuple_details.rb +190 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_object_storage_uri_details.rb +162 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_source_via_text_details.rb +172 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_summary.rb +224 -0
- data/lib/oci/compute_instance_agent/models/instance_agent_command_target.rb +154 -0
- data/lib/oci/compute_instance_agent/util.rb +3 -0
- data/lib/oci/container_engine/container_engine_client.rb +0 -11
- data/lib/oci/container_engine/models/create_node_shape_config_details.rb +19 -4
- data/lib/oci/container_engine/models/node_shape_config.rb +19 -4
- data/lib/oci/container_engine/models/update_node_shape_config_details.rb +19 -4
- data/lib/oci/core/core.rb +4 -0
- data/lib/oci/core/models/add_vcn_cidr_details.rb +155 -0
- data/lib/oci/core/models/create_vcn_details.rb +24 -2
- data/lib/oci/core/models/create_vlan_details.rb +1 -0
- data/lib/oci/core/models/image_memory_constraints.rb +17 -17
- data/lib/oci/core/models/modify_vcn_cidr_details.rb +172 -0
- data/lib/oci/core/models/remove_vcn_cidr_details.rb +155 -0
- data/lib/oci/core/models/subnet.rb +1 -0
- data/lib/oci/core/models/update_subnet_details.rb +27 -4
- data/lib/oci/core/models/update_vlan_details.rb +25 -4
- data/lib/oci/core/models/vcn.rb +18 -2
- data/lib/oci/core/models/vcn_dns_resolver_association.rb +206 -0
- data/lib/oci/core/virtual_network_client.rb +289 -4
- data/lib/oci/data_catalog/data_catalog.rb +30 -0
- data/lib/oci/data_catalog/data_catalog_client.rb +1763 -112
- data/lib/oci/data_catalog/data_catalog_client_composite_operations.rb +413 -0
- data/lib/oci/data_catalog/models/attribute.rb +15 -1
- data/lib/oci/data_catalog/models/connection.rb +15 -1
- data/lib/oci/data_catalog/models/create_attribute_details.rb +15 -1
- data/lib/oci/data_catalog/models/create_connection_details.rb +15 -1
- data/lib/oci/data_catalog/models/create_custom_property_details.rb +324 -0
- data/lib/oci/data_catalog/models/create_data_asset_details.rb +15 -1
- data/lib/oci/data_catalog/models/create_entity_details.rb +43 -1
- data/lib/oci/data_catalog/models/create_folder_details.rb +15 -1
- data/lib/oci/data_catalog/models/create_glossary_details.rb +18 -4
- data/lib/oci/data_catalog/models/create_namespace_details.rb +182 -0
- data/lib/oci/data_catalog/models/create_pattern_details.rb +243 -0
- data/lib/oci/data_catalog/models/create_term_details.rb +18 -4
- data/lib/oci/data_catalog/models/custom_property.rb +506 -0
- data/lib/oci/data_catalog/models/custom_property_collection.rb +161 -0
- data/lib/oci/data_catalog/models/custom_property_data_type.rb +14 -0
- data/lib/oci/data_catalog/models/custom_property_get_usage.rb +327 -0
- data/lib/oci/data_catalog/models/custom_property_set_usage.rb +188 -0
- data/lib/oci/data_catalog/models/custom_property_summary.rb +432 -0
- data/lib/oci/data_catalog/models/custom_property_type_usage.rb +178 -0
- data/lib/oci/data_catalog/models/data_asset.rb +29 -1
- data/lib/oci/{log_analytics/models/string_list_details.rb → data_catalog/models/data_selector_pattern_details.rb} +11 -10
- data/lib/oci/data_catalog/models/derived_logical_entities.rb +178 -0
- data/lib/oci/data_catalog/models/entity.rb +43 -1
- data/lib/oci/data_catalog/models/entity_summary.rb +29 -1
- data/lib/oci/data_catalog/models/faceted_search_aggregation.rb +160 -0
- data/lib/oci/data_catalog/models/faceted_search_custom_property.rb +174 -0
- data/lib/oci/data_catalog/models/faceted_search_date_filter_request.rb +186 -0
- data/lib/oci/data_catalog/models/faceted_search_filter_request.rb +168 -0
- data/lib/oci/data_catalog/models/faceted_search_sort_request.rb +181 -0
- data/lib/oci/data_catalog/models/faceted_search_string_filter_request.rb +160 -0
- data/lib/oci/data_catalog/models/folder.rb +15 -1
- data/lib/oci/data_catalog/models/glossary.rb +73 -1
- data/lib/oci/data_catalog/models/glossary_summary.rb +62 -4
- data/lib/oci/data_catalog/models/namespace.rb +290 -0
- data/lib/oci/data_catalog/models/namespace_collection.rb +161 -0
- data/lib/oci/data_catalog/models/namespace_summary.rb +247 -0
- data/lib/oci/data_catalog/models/pattern.rb +368 -0
- data/lib/oci/data_catalog/models/pattern_collection.rb +162 -0
- data/lib/oci/data_catalog/models/pattern_summary.rb +258 -0
- data/lib/oci/data_catalog/models/search_criteria.rb +47 -4
- data/lib/oci/data_catalog/models/search_result.rb +28 -4
- data/lib/oci/data_catalog/models/search_result_collection.rb +28 -4
- data/lib/oci/data_catalog/models/term.rb +18 -4
- data/lib/oci/data_catalog/models/type.rb +18 -4
- data/lib/oci/{log_analytics/models/register_entity_types_details.rb → data_catalog/models/type_custom_property_details.rb} +13 -13
- data/lib/oci/data_catalog/models/update_attribute_details.rb +15 -1
- data/lib/oci/data_catalog/models/update_connection_details.rb +15 -1
- data/lib/oci/data_catalog/models/update_custom_property_details.rb +291 -0
- data/lib/oci/data_catalog/models/update_data_asset_details.rb +15 -1
- data/lib/oci/data_catalog/models/update_entity_details.rb +43 -1
- data/lib/oci/data_catalog/models/update_folder_details.rb +15 -1
- data/lib/oci/data_catalog/models/update_glossary_details.rb +18 -4
- data/lib/oci/data_catalog/models/update_namespace_details.rb +182 -0
- data/lib/oci/data_catalog/models/update_pattern_details.rb +243 -0
- data/lib/oci/data_catalog/models/update_term_details.rb +18 -4
- data/lib/oci/data_catalog/models/validate_pattern_details.rb +187 -0
- data/lib/oci/data_catalog/models/validate_pattern_result.rb +184 -0
- data/lib/oci/data_integration/models/source.rb +1 -0
- data/lib/oci/database/database.rb +19 -0
- data/lib/oci/database/database_client.rb +1112 -8
- data/lib/oci/database/database_client_composite_operations.rb +281 -0
- data/lib/oci/database/models/autonomous_container_database.rb +80 -4
- data/lib/oci/database/models/autonomous_container_database_dataguard_association.rb +480 -0
- data/lib/oci/database/models/autonomous_container_database_summary.rb +80 -4
- data/lib/oci/database/models/autonomous_database.rb +141 -8
- data/lib/oci/database/models/autonomous_database_backup.rb +32 -4
- data/lib/oci/database/models/autonomous_database_backup_config.rb +189 -0
- data/lib/oci/database/models/autonomous_database_backup_summary.rb +32 -4
- data/lib/oci/database/models/autonomous_database_dataguard_association.rb +468 -0
- data/lib/oci/database/models/autonomous_database_summary.rb +141 -8
- data/lib/oci/database/models/autonomous_db_version_summary.rb +46 -4
- data/lib/oci/{log_analytics/models/query.rb → database/models/change_key_store_compartment_details.rb} +5 -3
- data/lib/oci/database/models/create_autonomous_container_database_details.rb +138 -5
- data/lib/oci/database/models/create_autonomous_database_base.rb +30 -5
- data/lib/oci/database/models/create_autonomous_database_clone_details.rb +5 -1
- data/lib/oci/database/models/create_autonomous_database_details.rb +5 -1
- 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_data_guard_association_details.rb +15 -1
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +24 -4
- data/lib/oci/database/models/create_data_guard_association_to_existing_vm_cluster_details.rb +24 -4
- data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +5 -1
- data/lib/oci/database/models/create_database_details.rb +15 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +1 -1
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +1 -1
- data/lib/oci/database/models/create_key_store_details.rb +217 -0
- data/lib/oci/database/models/create_refreshable_autonomous_database_clone_details.rb +5 -1
- data/lib/oci/database/models/database.rb +1 -0
- data/lib/oci/database/models/database_software_image.rb +18 -4
- data/lib/oci/database/models/database_software_image_summary.rb +18 -4
- data/lib/oci/database/models/database_summary.rb +1 -0
- data/lib/oci/database/models/database_upgrade_history_entry.rb +352 -0
- data/lib/oci/database/models/database_upgrade_history_entry_summary.rb +355 -0
- data/lib/oci/database/models/database_upgrade_source_base.rb +188 -0
- data/lib/oci/database/models/database_upgrade_with_database_software_image_details.rb +164 -0
- data/lib/oci/database/models/database_upgrade_with_db_home_details.rb +164 -0
- data/lib/oci/database/models/database_upgrade_with_db_version_details.rb +164 -0
- data/lib/oci/database/models/db_system.rb +1 -0
- data/lib/oci/database/models/db_system_summary.rb +1 -0
- data/lib/oci/database/models/db_version_summary.rb +18 -4
- data/lib/oci/database/models/key_store.rb +300 -0
- data/lib/oci/database/models/key_store_associated_database_details.rb +164 -0
- data/lib/oci/database/models/key_store_summary.rb +303 -0
- data/lib/oci/database/models/key_store_type_details.rb +185 -0
- data/lib/oci/database/models/key_store_type_from_oracle_key_vault_details.rb +204 -0
- data/lib/oci/database/models/maintenance_run.rb +18 -4
- data/lib/oci/database/models/maintenance_run_summary.rb +18 -4
- data/lib/oci/database/models/peer_autonomous_container_database_backup_config.rb +172 -0
- data/lib/oci/database/models/update.rb +1 -0
- data/lib/oci/database/models/update_autonomous_container_database_details.rb +17 -1
- data/lib/oci/database/models/update_autonomous_database_details.rb +30 -5
- data/lib/oci/database/models/update_database_details.rb +43 -1
- data/lib/oci/database/models/update_history_entry.rb +1 -0
- data/lib/oci/database/models/update_history_entry_summary.rb +1 -0
- data/lib/oci/database/models/update_key_store_details.rb +187 -0
- data/lib/oci/database/models/update_summary.rb +1 -0
- data/lib/oci/database/models/upgrade_database_details.rb +179 -0
- data/lib/oci/dns/dns.rb +24 -0
- data/lib/oci/dns/dns_client.rb +1695 -175
- data/lib/oci/dns/dns_client_composite_operations.rb +240 -0
- data/lib/oci/{log_analytics/models/service_tenancy.rb → dns/models/attached_view.rb} +13 -12
- data/lib/oci/dns/models/attached_view_details.rb +155 -0
- data/lib/oci/dns/models/change_resolver_compartment_details.rb +156 -0
- data/lib/oci/{log_analytics/models/query_work_request_resource.rb → dns/models/change_view_compartment_details.rb} +5 -3
- data/lib/oci/dns/models/create_resolver_endpoint_details.rb +261 -0
- data/lib/oci/dns/models/create_resolver_vnic_endpoint_details.rb +203 -0
- data/lib/oci/dns/models/create_view_details.rb +210 -0
- data/lib/oci/dns/models/create_zone_details.rb +41 -2
- data/lib/oci/dns/models/migration_replacement.rb +1 -1
- data/lib/oci/dns/models/record.rb +1 -2
- data/lib/oci/dns/models/record_collection.rb +1 -0
- data/lib/oci/dns/models/record_details.rb +1 -2
- data/lib/oci/dns/models/record_operation.rb +1 -2
- data/lib/oci/dns/models/resolver.rb +393 -0
- data/lib/oci/dns/models/resolver_endpoint.rb +371 -0
- data/lib/oci/dns/models/resolver_endpoint_summary.rb +371 -0
- data/lib/oci/{log_analytics/models/generate_agent_object_name_details.rb → dns/models/resolver_forward_rule.rb} +42 -51
- data/lib/oci/dns/models/resolver_forward_rule_details.rb +187 -0
- data/lib/oci/dns/models/resolver_rule.rb +222 -0
- data/lib/oci/dns/models/resolver_rule_details.rb +215 -0
- data/lib/oci/dns/models/resolver_summary.rb +357 -0
- data/lib/oci/dns/models/resolver_vnic_endpoint.rb +220 -0
- data/lib/oci/dns/models/resolver_vnic_endpoint_summary.rb +205 -0
- data/lib/oci/dns/models/rr_set.rb +1 -0
- data/lib/oci/{log_analytics/models/sort_orders.rb → dns/models/scope.rb} +4 -4
- data/lib/oci/dns/models/steering_policy.rb +12 -12
- data/lib/oci/dns/models/steering_policy_answer.rb +1 -1
- data/lib/oci/dns/models/steering_policy_attachment.rb +10 -10
- data/lib/oci/dns/models/steering_policy_attachment_summary.rb +10 -10
- data/lib/oci/dns/models/steering_policy_summary.rb +10 -10
- data/lib/oci/dns/models/tsig_key.rb +10 -10
- data/lib/oci/dns/models/tsig_key_summary.rb +9 -9
- data/lib/oci/dns/models/update_resolver_details.rb +221 -0
- data/lib/oci/dns/models/update_resolver_endpoint_details.rb +188 -0
- data/lib/oci/dns/models/update_resolver_vnic_endpoint_details.rb +166 -0
- data/lib/oci/dns/models/update_view_details.rb +196 -0
- data/lib/oci/{log_analytics/models/log_analytics.rb → dns/models/view.rb} +105 -77
- data/lib/oci/dns/models/view_summary.rb +321 -0
- data/lib/oci/dns/models/zone.rb +75 -14
- data/lib/oci/dns/models/zone_summary.rb +76 -15
- data/lib/oci/functions/functions_management_client.rb +1 -1
- data/lib/oci/functions/models/application.rb +21 -2
- data/lib/oci/functions/models/application_summary.rb +1 -1
- data/lib/oci/functions/models/create_application_details.rb +20 -1
- data/lib/oci/functions/models/function.rb +1 -1
- data/lib/oci/functions/models/function_summary.rb +1 -1
- data/lib/oci/functions/models/update_application_details.rb +20 -1
- data/lib/oci/identity/identity.rb +5 -0
- data/lib/oci/identity/identity_client.rb +152 -23
- data/lib/oci/identity/identity_client_composite_operations.rb +48 -0
- data/lib/oci/identity/models/bulk_edit_operation_details.rb +193 -0
- data/lib/oci/identity/models/bulk_edit_resource.rb +175 -0
- data/lib/oci/identity/models/bulk_edit_tags_details.rb +181 -0
- data/lib/oci/identity/models/bulk_edit_tags_resource_type.rb +175 -0
- data/lib/oci/identity/models/bulk_edit_tags_resource_type_collection.rb +151 -0
- data/lib/oci/identity/models/customer_secret_key.rb +3 -3
- data/lib/oci/identity/models/tagging_work_request.rb +4 -0
- data/lib/oci/identity/models/tagging_work_request_summary.rb +4 -0
- data/lib/oci/identity/models/user.rb +54 -4
- data/lib/oci/identity/models/work_request_resource.rb +1 -0
- data/lib/oci/load_balancer/load_balancer.rb +1 -0
- data/lib/oci/load_balancer/models/add_http_request_header_rule.rb +2 -1
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +16 -1
- data/lib/oci/load_balancer/models/ip_address.rb +17 -4
- data/lib/oci/load_balancer/models/remove_http_request_header_rule.rb +0 -2
- data/lib/oci/{log_analytics/models/log_analytics_collection_warning.rb → load_balancer/models/reserved_ip.rb} +2 -4
- data/lib/oci/load_balancer/models/update_load_balancer_shape_details.rb +7 -6
- data/lib/oci/log_analytics/log_analytics.rb +0 -15
- data/lib/oci/log_analytics/log_analytics_client.rb +193 -180
- data/lib/oci/log_analytics/log_analytics_client_composite_operations.rb +68 -17
- data/lib/oci/log_analytics/models/abstract_command_descriptor.rb +1 -1
- data/lib/oci/log_analytics/models/archiving_configuration.rb +3 -3
- data/lib/oci/log_analytics/models/bucket_range.rb +1 -1
- data/lib/oci/log_analytics/models/change_log_analytics_object_collection_rule_compartment_details.rb +1 -1
- data/lib/oci/log_analytics/models/char_encoding_collection.rb +2 -2
- data/lib/oci/log_analytics/models/create_log_analytics_object_collection_rule_details.rb +4 -6
- data/lib/oci/log_analytics/models/estimate_purge_data_size_details.rb +6 -6
- data/lib/oci/log_analytics/models/estimate_purge_data_size_result.rb +1 -1
- data/lib/oci/log_analytics/models/export_content.rb +1 -0
- data/lib/oci/log_analytics/models/extract_log_field_results.rb +1 -1
- data/lib/oci/log_analytics/models/extract_log_header_details.rb +1 -1
- data/lib/oci/log_analytics/models/extract_log_header_results.rb +1 -1
- data/lib/oci/log_analytics/models/file_validation_response.rb +3 -3
- data/lib/oci/log_analytics/models/filter.rb +1 -1
- data/lib/oci/log_analytics/models/filter_details.rb +1 -1
- data/lib/oci/log_analytics/models/label_source_summary.rb +1 -1
- data/lib/oci/log_analytics/models/log_analytics_entity_summary.rb +36 -4
- data/lib/oci/log_analytics/models/log_analytics_field_summary.rb +1 -1
- data/lib/oci/log_analytics/models/log_analytics_import_custom_content.rb +0 -1
- data/lib/oci/log_analytics/models/log_analytics_lookup.rb +0 -2
- data/lib/oci/log_analytics/models/log_analytics_object_collection_rule.rb +4 -6
- data/lib/oci/log_analytics/models/log_analytics_object_collection_rule_summary.rb +1 -3
- data/lib/oci/log_analytics/models/log_analytics_parser_filter.rb +3 -3
- data/lib/oci/log_analytics/models/namespace.rb +5 -4
- data/lib/oci/log_analytics/models/namespace_collection.rb +2 -2
- data/lib/oci/log_analytics/models/namespace_summary.rb +5 -4
- data/lib/oci/log_analytics/models/parsed_content.rb +2 -2
- data/lib/oci/log_analytics/models/parsed_field.rb +1 -1
- data/lib/oci/log_analytics/models/purge_storage_data_details.rb +6 -6
- data/lib/oci/log_analytics/models/query_aggregation.rb +1 -1
- data/lib/oci/log_analytics/models/query_details.rb +5 -5
- data/lib/oci/log_analytics/models/recall_archived_data_details.rb +5 -5
- data/lib/oci/log_analytics/models/release_recalled_data_details.rb +5 -5
- data/lib/oci/log_analytics/models/scope_filter.rb +1 -1
- data/lib/oci/log_analytics/models/source_validate_details.rb +1 -1
- data/lib/oci/log_analytics/models/source_validate_results.rb +1 -1
- data/lib/oci/log_analytics/models/storage.rb +2 -2
- data/lib/oci/log_analytics/models/storage_usage.rb +4 -4
- data/lib/oci/log_analytics/models/storage_work_request.rb +14 -14
- data/lib/oci/log_analytics/models/storage_work_request_collection.rb +2 -2
- data/lib/oci/log_analytics/models/storage_work_request_summary.rb +14 -14
- data/lib/oci/log_analytics/models/timezone_collection.rb +2 -2
- data/lib/oci/log_analytics/models/update_log_analytics_object_collection_rule_details.rb +3 -3
- data/lib/oci/log_analytics/models/update_storage_details.rb +1 -1
- data/lib/oci/log_analytics/models/upload.rb +1 -1
- data/lib/oci/log_analytics/models/upload_collection.rb +1 -1
- data/lib/oci/log_analytics/models/upload_file_collection.rb +1 -1
- data/lib/oci/log_analytics/models/upload_summary.rb +1 -1
- data/lib/oci/log_analytics/models/upload_warning_summary.rb +1 -1
- data/lib/oci/log_analytics/models/work_request_error_collection.rb +2 -2
- data/lib/oci/log_analytics/models/work_request_log.rb +3 -3
- data/lib/oci/log_analytics/models/work_request_log_collection.rb +2 -2
- data/lib/oci/logging/logging_management_client.rb +52 -52
- data/lib/oci/logging/logging_management_client_composite_operations.rb +128 -7
- data/lib/oci/logging/models/category.rb +4 -4
- data/lib/oci/logging/models/change_log_group_compartment_details.rb +2 -2
- data/lib/oci/logging/models/change_log_log_group_details.rb +1 -1
- data/lib/oci/logging/models/change_unified_agent_configuration_compartment_details.rb +2 -2
- data/lib/oci/logging/models/create_log_details.rb +3 -3
- data/lib/oci/logging/models/create_log_group_details.rb +1 -1
- data/lib/oci/logging/models/create_log_saved_search_details.rb +2 -16
- data/lib/oci/logging/models/create_unified_agent_configuration_details.rb +1 -1
- data/lib/oci/logging/models/grok_pattern.rb +6 -6
- data/lib/oci/logging/models/log.rb +5 -5
- data/lib/oci/logging/models/log_group.rb +3 -3
- data/lib/oci/logging/models/log_group_summary.rb +43 -5
- data/lib/oci/logging/models/log_included_search.rb +1 -1
- data/lib/oci/logging/models/log_included_search_summary.rb +1 -1
- data/lib/oci/logging/models/log_saved_search.rb +44 -19
- data/lib/oci/logging/models/log_saved_search_lifecycle_state.rb +5 -1
- data/lib/oci/logging/models/log_saved_search_summary.rb +63 -17
- data/lib/oci/logging/models/log_saved_search_summary_collection.rb +1 -1
- data/lib/oci/logging/models/log_summary.rb +4 -4
- data/lib/oci/logging/models/parameter.rb +2 -2
- data/lib/oci/logging/models/resource_type.rb +2 -2
- data/lib/oci/logging/models/service_summary.rb +6 -6
- data/lib/oci/logging/models/source.rb +1 -1
- data/lib/oci/logging/models/unified_agent_apache2_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_apache_error_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_configuration.rb +2 -2
- data/lib/oci/logging/models/unified_agent_configuration_collection.rb +1 -1
- data/lib/oci/logging/models/unified_agent_configuration_summary.rb +4 -4
- data/lib/oci/logging/models/unified_agent_csv_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_grok_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_logging_destination.rb +1 -1
- data/lib/oci/logging/models/unified_agent_logging_source.rb +2 -2
- data/lib/oci/logging/models/unified_agent_multiline_grok_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_multiline_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_none_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_parser.rb +7 -7
- data/lib/oci/logging/models/unified_agent_regex_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_service_configuration_details.rb +1 -1
- data/lib/oci/logging/models/unified_agent_syslog_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_tail_log_source.rb +1 -1
- data/lib/oci/logging/models/unified_agent_tsv_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_windows_event_source.rb +1 -1
- data/lib/oci/logging/models/unified_json_parser.rb +1 -1
- data/lib/oci/logging/models/update_configuration_details.rb +1 -1
- data/lib/oci/logging/models/update_log_details.rb +3 -3
- data/lib/oci/logging/models/update_log_group_details.rb +1 -1
- data/lib/oci/logging/models/update_log_saved_search_details.rb +2 -16
- data/lib/oci/logging/models/update_unified_agent_configuration_details.rb +2 -2
- data/lib/oci/logging/models/work_request.rb +2 -2
- data/lib/oci/logging/models/work_request_error.rb +3 -3
- data/lib/oci/logging/models/work_request_log.rb +1 -1
- data/lib/oci/logging/models/work_request_resource.rb +3 -3
- data/lib/oci/loggingingestion/logging_client.rb +3 -3
- data/lib/oci/loggingingestion/models/log_entry.rb +4 -5
- data/lib/oci/loggingingestion/models/log_entry_batch.rb +7 -7
- data/lib/oci/loggingsearch/log_search_client.rb +3 -3
- data/lib/oci/loggingsearch/models/field_info.rb +1 -1
- data/lib/oci/loggingsearch/models/search_logs_details.rb +2 -2
- data/lib/oci/loggingsearch/models/search_result.rb +2 -2
- data/lib/oci/management_dashboard/dashx_apis_client.rb +31 -32
- data/lib/oci/management_dashboard/models/change_management_dashboards_compartment_details.rb +2 -2
- data/lib/oci/management_dashboard/models/change_management_saved_searches_compartment_details.rb +2 -2
- data/lib/oci/management_dashboard/models/create_management_dashboard_details.rb +18 -18
- data/lib/oci/management_dashboard/models/create_management_saved_search_details.rb +15 -15
- data/lib/oci/management_dashboard/models/management_dashboard.rb +23 -23
- data/lib/oci/management_dashboard/models/management_dashboard_export_details.rb +1 -1
- data/lib/oci/management_dashboard/models/management_dashboard_for_import_export_details.rb +19 -19
- data/lib/oci/management_dashboard/models/management_dashboard_import_details.rb +1 -1
- data/lib/oci/management_dashboard/models/management_dashboard_summary.rb +14 -14
- data/lib/oci/management_dashboard/models/management_dashboard_tile_details.rb +14 -12
- data/lib/oci/management_dashboard/models/management_saved_search.rb +19 -19
- data/lib/oci/management_dashboard/models/management_saved_search_for_import_details.rb +15 -15
- data/lib/oci/management_dashboard/models/management_saved_search_summary.rb +46 -18
- data/lib/oci/management_dashboard/models/update_management_dashboard_details.rb +17 -17
- data/lib/oci/management_dashboard/models/update_management_saved_search_details.rb +15 -15
- data/lib/oci/mysql/db_system_client.rb +611 -2
- data/lib/oci/mysql/db_system_client_composite_operations.rb +345 -0
- data/lib/oci/mysql/models/add_analytics_cluster_details.rb +173 -0
- data/lib/oci/mysql/models/analytics_cluster.rb +282 -0
- data/lib/oci/mysql/models/analytics_cluster_memory_estimate.rb +236 -0
- data/lib/oci/mysql/models/analytics_cluster_memory_estimate_status.rb +15 -0
- data/lib/oci/mysql/models/analytics_cluster_node.rb +222 -0
- data/lib/oci/mysql/models/analytics_cluster_schema_memory_estimate.rb +172 -0
- data/lib/oci/mysql/models/analytics_cluster_summary.rb +215 -0
- data/lib/oci/mysql/models/analytics_cluster_table_memory_estimate.rb +236 -0
- data/lib/oci/mysql/models/db_system.rb +31 -1
- data/lib/oci/mysql/models/db_system_summary.rb +31 -1
- data/lib/oci/mysql/models/shape_summary.rb +46 -4
- data/lib/oci/mysql/models/update_analytics_cluster_details.rb +179 -0
- data/lib/oci/mysql/models/work_request.rb +7 -0
- data/lib/oci/mysql/models/work_request_operation_type.rb +8 -1
- data/lib/oci/mysql/models/work_request_summary.rb +7 -0
- data/lib/oci/mysql/mysql.rb +9 -0
- data/lib/oci/mysql/mysqlaas_client.rb +14 -0
- data/lib/oci/nosql/models/create_table_details.rb +15 -1
- data/lib/oci/nosql/models/table.rb +55 -4
- data/lib/oci/nosql/models/table_collection.rb +32 -4
- data/lib/oci/nosql/models/table_summary.rb +54 -4
- data/lib/oci/nosql/nosql_client.rb +6 -6
- data/lib/oci/object_storage/models/object_lifecycle_rule.rb +6 -0
- data/lib/oci/ocvp/models/create_esxi_host_details.rb +4 -2
- data/lib/oci/ocvp/models/create_sddc_details.rb +35 -3
- data/lib/oci/ocvp/models/sddc.rb +89 -1
- data/lib/oci/ocvp/models/sddc_summary.rb +29 -1
- data/lib/oci/ocvp/models/update_esxi_host_details.rb +3 -1
- data/lib/oci/ocvp/models/update_sddc_details.rb +17 -1
- data/lib/oci/opsi/models/database_details.rb +210 -0
- data/lib/oci/opsi/models/database_insight_summary.rb +286 -0
- data/lib/oci/opsi/models/database_insights.rb +154 -0
- data/lib/oci/opsi/models/database_insights_collection.rb +150 -0
- data/lib/oci/opsi/models/historical_data_item.rb +165 -0
- data/lib/oci/opsi/models/ingest_sql_bucket_details.rb +151 -0
- data/lib/oci/opsi/models/ingest_sql_bucket_response_details.rb +152 -0
- data/lib/oci/opsi/models/ingest_sql_plan_lines_details.rb +151 -0
- data/lib/oci/opsi/models/ingest_sql_plan_lines_response_details.rb +152 -0
- data/lib/oci/opsi/models/ingest_sql_text_details.rb +151 -0
- data/lib/oci/opsi/models/ingest_sql_text_response_details.rb +152 -0
- data/lib/oci/opsi/models/projected_data_item.rb +195 -0
- data/lib/oci/opsi/models/resource_capacity_trend_aggregation.rb +180 -0
- data/lib/oci/opsi/models/resource_insight_current_utilization.rb +160 -0
- data/lib/oci/opsi/models/resource_insight_projected_utilization.rb +160 -0
- data/lib/oci/opsi/models/resource_insight_projected_utilization_item.rb +164 -0
- data/lib/oci/opsi/models/resource_statistics.rb +219 -0
- data/lib/oci/opsi/models/resource_statistics_aggregation.rb +166 -0
- data/lib/oci/opsi/models/resource_usage_trend_aggregation.rb +176 -0
- data/lib/oci/opsi/models/sort_order.rb +11 -0
- data/lib/oci/opsi/models/sql_bucket.rb +307 -0
- data/lib/oci/opsi/models/sql_insight_aggregation.rb +202 -0
- data/lib/oci/opsi/models/sql_insight_aggregation_collection.rb +199 -0
- data/lib/oci/opsi/models/sql_insight_thresholds.rb +243 -0
- data/lib/oci/opsi/models/sql_inventory.rb +182 -0
- data/lib/oci/opsi/models/sql_plan_collection.rb +180 -0
- data/lib/oci/opsi/models/sql_plan_insight_aggregation.rb +210 -0
- data/lib/oci/opsi/models/sql_plan_insight_aggregation_collection.rb +218 -0
- data/lib/oci/opsi/models/sql_plan_insights.rb +177 -0
- data/lib/oci/opsi/models/sql_plan_line.rb +673 -0
- data/lib/oci/opsi/models/sql_plan_summary.rb +169 -0
- data/lib/oci/opsi/models/sql_response_time_distribution_aggregation.rb +168 -0
- data/lib/oci/opsi/models/sql_response_time_distribution_aggregation_collection.rb +208 -0
- data/lib/oci/opsi/models/sql_search_collection.rb +209 -0
- data/lib/oci/opsi/models/sql_search_summary.rb +224 -0
- data/lib/oci/opsi/models/sql_statistic_aggregation.rb +189 -0
- data/lib/oci/opsi/models/sql_statistic_aggregation_collection.rb +179 -0
- data/lib/oci/opsi/models/sql_statistics.rb +402 -0
- data/lib/oci/opsi/models/sql_statistics_time_series.rb +162 -0
- data/lib/oci/opsi/models/sql_statistics_time_series_aggregation.rb +165 -0
- data/lib/oci/opsi/models/sql_statistics_time_series_aggregation_collection.rb +223 -0
- data/lib/oci/opsi/models/sql_statistics_time_series_by_plan_aggregation.rb +165 -0
- data/lib/oci/opsi/models/sql_statistics_time_series_by_plan_aggregation_collection.rb +237 -0
- data/lib/oci/opsi/models/sql_text.rb +248 -0
- data/lib/oci/opsi/models/sql_text_collection.rb +151 -0
- data/lib/oci/opsi/models/sql_text_summary.rb +184 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_capacity_trend_aggregation_collection.rb +270 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_forecast_trend_aggregation.rb +302 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_statistics_aggregation_collection.rb +249 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_usage_aggregation.rb +275 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_usage_trend_aggregation_collection.rb +270 -0
- data/lib/oci/opsi/models/summarize_database_insight_resource_utilization_insight_aggregation.rb +232 -0
- data/lib/oci/opsi/models/usage_unit.rb +13 -0
- data/lib/oci/opsi/operations_insights_client.rb +2008 -0
- data/lib/oci/opsi/operations_insights_client_composite_operations.rb +25 -0
- data/lib/oci/opsi/opsi.rb +72 -0
- data/lib/oci/opsi/util.rb +3 -0
- data/lib/oci/optimizer/models/action.rb +192 -0
- data/lib/oci/optimizer/models/action_type.rb +10 -0
- data/lib/oci/optimizer/models/bulk_apply_recommendations_details.rb +197 -0
- data/lib/oci/optimizer/models/category.rb +298 -0
- data/lib/oci/optimizer/models/category_collection.rb +151 -0
- data/lib/oci/optimizer/models/category_summary.rb +298 -0
- data/lib/oci/optimizer/models/create_profile_details.rb +227 -0
- data/lib/oci/{log_analytics/models/log_analytics_summary.rb → optimizer/models/enrollment_status.rb} +81 -63
- data/lib/oci/optimizer/models/enrollment_status_collection.rb +151 -0
- data/lib/oci/optimizer/models/enrollment_status_summary.rb +279 -0
- data/lib/oci/optimizer/models/history_collection.rb +151 -0
- data/lib/oci/optimizer/models/history_summary.rb +429 -0
- data/lib/oci/optimizer/models/importance.rb +14 -0
- data/lib/oci/{log_analytics/models/field_map.rb → optimizer/models/level_configuration.rb} +19 -24
- data/lib/oci/optimizer/models/levels_configuration.rb +150 -0
- data/lib/oci/optimizer/models/lifecycle_state.rb +18 -0
- data/lib/oci/optimizer/models/operation_status.rb +15 -0
- data/lib/oci/optimizer/models/operation_type.rb +10 -0
- data/lib/oci/optimizer/models/optimizer_enrollment_status.rb +11 -0
- data/lib/oci/optimizer/models/profile.rb +305 -0
- data/lib/oci/optimizer/models/profile_collection.rb +151 -0
- data/lib/oci/optimizer/models/profile_summary.rb +303 -0
- data/lib/oci/optimizer/models/recommendation.rb +409 -0
- data/lib/oci/optimizer/models/recommendation_collection.rb +151 -0
- data/lib/oci/optimizer/models/recommendation_count.rb +183 -0
- data/lib/oci/optimizer/models/recommendation_summary.rb +409 -0
- data/lib/oci/optimizer/models/resource_action.rb +450 -0
- data/lib/oci/optimizer/models/resource_action_collection.rb +151 -0
- data/lib/oci/optimizer/models/resource_action_summary.rb +450 -0
- data/lib/oci/optimizer/models/resource_count.rb +182 -0
- data/lib/oci/optimizer/models/sort_order.rb +11 -0
- data/lib/oci/optimizer/models/status.rb +13 -0
- data/lib/oci/{log_analytics/models/agent_upload.rb → optimizer/models/supported_level.rb} +3 -3
- data/lib/oci/optimizer/models/supported_levels.rb +153 -0
- data/lib/oci/optimizer/models/update_enrollment_status_details.rb +166 -0
- data/lib/oci/optimizer/models/update_profile_details.rb +202 -0
- data/lib/oci/optimizer/models/update_recommendation_details.rb +183 -0
- data/lib/oci/optimizer/models/update_resource_action_details.rb +183 -0
- data/lib/oci/optimizer/models/work_request.rb +300 -0
- data/lib/oci/optimizer/models/work_request_action_type.rb +14 -0
- data/lib/oci/optimizer/models/work_request_collection.rb +151 -0
- data/lib/oci/optimizer/models/work_request_error.rb +173 -0
- data/lib/oci/optimizer/models/work_request_error_collection.rb +151 -0
- data/lib/oci/optimizer/models/work_request_log_entry.rb +161 -0
- data/lib/oci/optimizer/models/work_request_log_entry_collection.rb +151 -0
- data/lib/oci/{log_analytics/models/out_of_box_entity_type_details.rb → optimizer/models/work_request_resource.rb} +60 -57
- data/lib/oci/optimizer/optimizer.rb +66 -0
- data/lib/oci/optimizer/optimizer_client.rb +1652 -0
- data/lib/oci/optimizer/optimizer_client_composite_operations.rb +314 -0
- data/lib/oci/optimizer/util.rb +3 -0
- data/lib/oci/regions.rb +5 -1
- data/lib/oci/sch/models/service_connector.rb +1 -1
- data/lib/oci/sch/models/source_details.rb +1 -1
- data/lib/oci/sch/models/target_details.rb +1 -1
- data/lib/oci/sch/models/task_details.rb +1 -1
- data/lib/oci/sch/models/work_request.rb +1 -1
- data/lib/oci/sch/service_connector_client.rb +8 -8
- data/lib/oci/signer.rb +3 -1
- data/lib/oci/tenant_manager_control_plane/link_client.rb +287 -0
- data/lib/oci/tenant_manager_control_plane/link_client_composite_operations.rb +65 -0
- data/lib/oci/tenant_manager_control_plane/models/action_type.rb +14 -0
- data/lib/oci/tenant_manager_control_plane/models/create_sender_invitation_details.rb +228 -0
- data/lib/oci/tenant_manager_control_plane/models/lifecycle_state.rb +15 -0
- data/lib/oci/tenant_manager_control_plane/models/link.rb +258 -0
- data/lib/oci/tenant_manager_control_plane/models/link_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/link_summary.rb +258 -0
- data/lib/oci/tenant_manager_control_plane/models/operation_status.rb +15 -0
- data/lib/oci/tenant_manager_control_plane/models/operation_type.rb +12 -0
- data/lib/oci/tenant_manager_control_plane/models/recipient_invitation.rb +367 -0
- data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_status.rb +15 -0
- data/lib/oci/tenant_manager_control_plane/models/recipient_invitation_summary.rb +367 -0
- data/lib/oci/tenant_manager_control_plane/models/sender_invitation.rb +366 -0
- data/lib/oci/tenant_manager_control_plane/models/sender_invitation_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/sender_invitation_status.rb +14 -0
- data/lib/oci/tenant_manager_control_plane/models/sender_invitation_summary.rb +366 -0
- data/lib/oci/tenant_manager_control_plane/models/sort_order.rb +11 -0
- data/lib/oci/tenant_manager_control_plane/models/update_recipient_invitation_details.rb +186 -0
- data/lib/oci/tenant_manager_control_plane/models/update_sender_invitation_details.rb +186 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request.rb +307 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_error.rb +173 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_error_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_log_entry.rb +160 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_resource.rb +219 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_summary.rb +307 -0
- data/lib/oci/tenant_manager_control_plane/recipient_invitation_client.rb +425 -0
- data/lib/oci/tenant_manager_control_plane/recipient_invitation_client_composite_operations.rb +153 -0
- data/lib/oci/tenant_manager_control_plane/sender_invitation_client.rb +435 -0
- data/lib/oci/tenant_manager_control_plane/sender_invitation_client_composite_operations.rb +163 -0
- data/lib/oci/tenant_manager_control_plane/tenant_manager_control_plane.rb +52 -0
- data/lib/oci/tenant_manager_control_plane/util.rb +3 -0
- data/lib/oci/tenant_manager_control_plane/work_request_client.rb +356 -0
- data/lib/oci/tenant_manager_control_plane/work_request_client_composite_operations.rb +25 -0
- data/lib/oci/usage_api/models/configuration.rb +3 -3
- data/lib/oci/usage_api/models/configuration_aggregation.rb +2 -2
- data/lib/oci/usage_api/models/dimension.rb +3 -3
- data/lib/oci/usage_api/models/filter.rb +1 -1
- data/lib/oci/usage_api/models/request_summarized_usages_details.rb +12 -12
- data/lib/oci/usage_api/models/tag.rb +3 -3
- data/lib/oci/usage_api/models/usage_aggregation.rb +1 -1
- data/lib/oci/usage_api/models/usage_summary.rb +47 -19
- data/lib/oci/usage_api/usageapi_client.rb +4 -4
- data/lib/oci/version.rb +1 -1
- metadata +273 -17
- data/lib/oci/log_analytics/models/attribute.rb +0 -435
@@ -37,6 +37,7 @@ require 'oci/data_catalog/models/create_attribute_details'
|
|
37
37
|
require 'oci/data_catalog/models/create_catalog_details'
|
38
38
|
require 'oci/data_catalog/models/create_catalog_private_endpoint_details'
|
39
39
|
require 'oci/data_catalog/models/create_connection_details'
|
40
|
+
require 'oci/data_catalog/models/create_custom_property_details'
|
40
41
|
require 'oci/data_catalog/models/create_data_asset_details'
|
41
42
|
require 'oci/data_catalog/models/create_entity_details'
|
42
43
|
require 'oci/data_catalog/models/create_folder_details'
|
@@ -44,9 +45,18 @@ require 'oci/data_catalog/models/create_glossary_details'
|
|
44
45
|
require 'oci/data_catalog/models/create_job_definition_details'
|
45
46
|
require 'oci/data_catalog/models/create_job_details'
|
46
47
|
require 'oci/data_catalog/models/create_job_execution_details'
|
48
|
+
require 'oci/data_catalog/models/create_namespace_details'
|
49
|
+
require 'oci/data_catalog/models/create_pattern_details'
|
47
50
|
require 'oci/data_catalog/models/create_tag_details'
|
48
51
|
require 'oci/data_catalog/models/create_term_details'
|
49
52
|
require 'oci/data_catalog/models/create_term_relationship_details'
|
53
|
+
require 'oci/data_catalog/models/custom_property'
|
54
|
+
require 'oci/data_catalog/models/custom_property_collection'
|
55
|
+
require 'oci/data_catalog/models/custom_property_data_type'
|
56
|
+
require 'oci/data_catalog/models/custom_property_get_usage'
|
57
|
+
require 'oci/data_catalog/models/custom_property_set_usage'
|
58
|
+
require 'oci/data_catalog/models/custom_property_summary'
|
59
|
+
require 'oci/data_catalog/models/custom_property_type_usage'
|
50
60
|
require 'oci/data_catalog/models/data_asset'
|
51
61
|
require 'oci/data_catalog/models/data_asset_collection'
|
52
62
|
require 'oci/data_catalog/models/data_asset_permissions_summary'
|
@@ -54,6 +64,8 @@ require 'oci/data_catalog/models/data_asset_summary'
|
|
54
64
|
require 'oci/data_catalog/models/data_asset_tag'
|
55
65
|
require 'oci/data_catalog/models/data_asset_tag_collection'
|
56
66
|
require 'oci/data_catalog/models/data_asset_tag_summary'
|
67
|
+
require 'oci/data_catalog/models/data_selector_pattern_details'
|
68
|
+
require 'oci/data_catalog/models/derived_logical_entities'
|
57
69
|
require 'oci/data_catalog/models/detach_catalog_private_endpoint_details'
|
58
70
|
require 'oci/data_catalog/models/entity'
|
59
71
|
require 'oci/data_catalog/models/entity_collection'
|
@@ -61,6 +73,12 @@ require 'oci/data_catalog/models/entity_summary'
|
|
61
73
|
require 'oci/data_catalog/models/entity_tag'
|
62
74
|
require 'oci/data_catalog/models/entity_tag_collection'
|
63
75
|
require 'oci/data_catalog/models/entity_tag_summary'
|
76
|
+
require 'oci/data_catalog/models/faceted_search_aggregation'
|
77
|
+
require 'oci/data_catalog/models/faceted_search_custom_property'
|
78
|
+
require 'oci/data_catalog/models/faceted_search_date_filter_request'
|
79
|
+
require 'oci/data_catalog/models/faceted_search_filter_request'
|
80
|
+
require 'oci/data_catalog/models/faceted_search_sort_request'
|
81
|
+
require 'oci/data_catalog/models/faceted_search_string_filter_request'
|
64
82
|
require 'oci/data_catalog/models/folder'
|
65
83
|
require 'oci/data_catalog/models/folder_collection'
|
66
84
|
require 'oci/data_catalog/models/folder_summary'
|
@@ -97,7 +115,13 @@ require 'oci/data_catalog/models/job_schedule_type'
|
|
97
115
|
require 'oci/data_catalog/models/job_summary'
|
98
116
|
require 'oci/data_catalog/models/job_type'
|
99
117
|
require 'oci/data_catalog/models/lifecycle_state'
|
118
|
+
require 'oci/data_catalog/models/namespace'
|
119
|
+
require 'oci/data_catalog/models/namespace_collection'
|
120
|
+
require 'oci/data_catalog/models/namespace_summary'
|
100
121
|
require 'oci/data_catalog/models/parse_connection_details'
|
122
|
+
require 'oci/data_catalog/models/pattern'
|
123
|
+
require 'oci/data_catalog/models/pattern_collection'
|
124
|
+
require 'oci/data_catalog/models/pattern_summary'
|
101
125
|
require 'oci/data_catalog/models/property_definition'
|
102
126
|
require 'oci/data_catalog/models/search_criteria'
|
103
127
|
require 'oci/data_catalog/models/search_result'
|
@@ -114,22 +138,28 @@ require 'oci/data_catalog/models/term_summary'
|
|
114
138
|
require 'oci/data_catalog/models/term_workflow_status'
|
115
139
|
require 'oci/data_catalog/models/type'
|
116
140
|
require 'oci/data_catalog/models/type_collection'
|
141
|
+
require 'oci/data_catalog/models/type_custom_property_details'
|
117
142
|
require 'oci/data_catalog/models/type_summary'
|
118
143
|
require 'oci/data_catalog/models/update_attribute_details'
|
119
144
|
require 'oci/data_catalog/models/update_catalog_details'
|
120
145
|
require 'oci/data_catalog/models/update_catalog_private_endpoint_details'
|
121
146
|
require 'oci/data_catalog/models/update_connection_details'
|
147
|
+
require 'oci/data_catalog/models/update_custom_property_details'
|
122
148
|
require 'oci/data_catalog/models/update_data_asset_details'
|
123
149
|
require 'oci/data_catalog/models/update_entity_details'
|
124
150
|
require 'oci/data_catalog/models/update_folder_details'
|
125
151
|
require 'oci/data_catalog/models/update_glossary_details'
|
126
152
|
require 'oci/data_catalog/models/update_job_definition_details'
|
127
153
|
require 'oci/data_catalog/models/update_job_details'
|
154
|
+
require 'oci/data_catalog/models/update_namespace_details'
|
155
|
+
require 'oci/data_catalog/models/update_pattern_details'
|
128
156
|
require 'oci/data_catalog/models/update_term_details'
|
129
157
|
require 'oci/data_catalog/models/update_term_relationship_details'
|
130
158
|
require 'oci/data_catalog/models/upload_credentials_details'
|
131
159
|
require 'oci/data_catalog/models/validate_connection_details'
|
132
160
|
require 'oci/data_catalog/models/validate_connection_result'
|
161
|
+
require 'oci/data_catalog/models/validate_pattern_details'
|
162
|
+
require 'oci/data_catalog/models/validate_pattern_result'
|
133
163
|
require 'oci/data_catalog/models/work_request'
|
134
164
|
require 'oci/data_catalog/models/work_request_error'
|
135
165
|
require 'oci/data_catalog/models/work_request_log'
|
@@ -98,6 +98,153 @@ module OCI
|
|
98
98
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
99
99
|
|
100
100
|
|
101
|
+
# Add data selector pattern to the data asset.
|
102
|
+
# @param [String] catalog_id Unique catalog identifier.
|
103
|
+
# @param [String] data_asset_key Unique data asset key.
|
104
|
+
# @param [OCI::DataCatalog::Models::DataSelectorPatternDetails] data_selector_pattern_details The information used to add the patterns for deriving logical entities.
|
105
|
+
# @param [Hash] opts the optional parameters
|
106
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
107
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
108
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
109
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
110
|
+
# for a resource, set the `if-match` parameter to the value of the
|
111
|
+
# etag from a previous GET or POST response for that resource.
|
112
|
+
# The resource will be updated or deleted only if the etag you
|
113
|
+
# provide matches the resource's current etag value.
|
114
|
+
#
|
115
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
116
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
117
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
118
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
119
|
+
# might be rejected.
|
120
|
+
#
|
121
|
+
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::DataAsset DataAsset}
|
122
|
+
def add_data_selector_patterns(catalog_id, data_asset_key, data_selector_pattern_details, opts = {})
|
123
|
+
logger.debug 'Calling operation DataCatalogClient#add_data_selector_patterns.' if logger
|
124
|
+
|
125
|
+
raise "Missing the required parameter 'catalog_id' when calling add_data_selector_patterns." if catalog_id.nil?
|
126
|
+
raise "Missing the required parameter 'data_asset_key' when calling add_data_selector_patterns." if data_asset_key.nil?
|
127
|
+
raise "Missing the required parameter 'data_selector_pattern_details' when calling add_data_selector_patterns." if data_selector_pattern_details.nil?
|
128
|
+
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
129
|
+
raise "Parameter value for 'data_asset_key' must not be blank" if OCI::Internal::Util.blank_string?(data_asset_key)
|
130
|
+
|
131
|
+
path = '/catalogs/{catalogId}/dataAssets/{dataAssetKey}/actions/addDataSelectorPatterns'.sub('{catalogId}', catalog_id.to_s).sub('{dataAssetKey}', data_asset_key.to_s)
|
132
|
+
operation_signing_strategy = :standard
|
133
|
+
|
134
|
+
# rubocop:disable Style/NegatedIf
|
135
|
+
# Query Params
|
136
|
+
query_params = {}
|
137
|
+
|
138
|
+
# Header Params
|
139
|
+
header_params = {}
|
140
|
+
header_params[:accept] = 'application/json'
|
141
|
+
header_params[:'content-type'] = 'application/json'
|
142
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
143
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
144
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
145
|
+
# rubocop:enable Style/NegatedIf
|
146
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
147
|
+
|
148
|
+
post_body = @api_client.object_to_http_body(data_selector_pattern_details)
|
149
|
+
|
150
|
+
# rubocop:disable Metrics/BlockLength
|
151
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#add_data_selector_patterns') do
|
152
|
+
@api_client.call_api(
|
153
|
+
:POST,
|
154
|
+
path,
|
155
|
+
endpoint,
|
156
|
+
header_params: header_params,
|
157
|
+
query_params: query_params,
|
158
|
+
operation_signing_strategy: operation_signing_strategy,
|
159
|
+
body: post_body,
|
160
|
+
return_type: 'OCI::DataCatalog::Models::DataAsset'
|
161
|
+
)
|
162
|
+
end
|
163
|
+
# rubocop:enable Metrics/BlockLength
|
164
|
+
end
|
165
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
166
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
167
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
168
|
+
|
169
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
170
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
171
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
172
|
+
|
173
|
+
|
174
|
+
# Associate the custom property for the given type
|
175
|
+
# @param [String] catalog_id Unique catalog identifier.
|
176
|
+
# @param [String] type_key Unique type key.
|
177
|
+
# @param [OCI::DataCatalog::Models::TypeCustomPropertyDetails] associate_custom_property_details The information used to associate the custom property for the type.
|
178
|
+
#
|
179
|
+
# @param [Hash] opts the optional parameters
|
180
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
181
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
182
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
183
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
184
|
+
# for a resource, set the `if-match` parameter to the value of the
|
185
|
+
# etag from a previous GET or POST response for that resource.
|
186
|
+
# The resource will be updated or deleted only if the etag you
|
187
|
+
# provide matches the resource's current etag value.
|
188
|
+
#
|
189
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
190
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
191
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
192
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
193
|
+
# might be rejected.
|
194
|
+
#
|
195
|
+
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::Type Type}
|
196
|
+
def associate_custom_property(catalog_id, type_key, associate_custom_property_details, opts = {})
|
197
|
+
logger.debug 'Calling operation DataCatalogClient#associate_custom_property.' if logger
|
198
|
+
|
199
|
+
raise "Missing the required parameter 'catalog_id' when calling associate_custom_property." if catalog_id.nil?
|
200
|
+
raise "Missing the required parameter 'type_key' when calling associate_custom_property." if type_key.nil?
|
201
|
+
raise "Missing the required parameter 'associate_custom_property_details' when calling associate_custom_property." if associate_custom_property_details.nil?
|
202
|
+
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
203
|
+
raise "Parameter value for 'type_key' must not be blank" if OCI::Internal::Util.blank_string?(type_key)
|
204
|
+
|
205
|
+
path = '/catalogs/{catalogId}/types/{typeKey}/actions/associateCustomProperties'.sub('{catalogId}', catalog_id.to_s).sub('{typeKey}', type_key.to_s)
|
206
|
+
operation_signing_strategy = :standard
|
207
|
+
|
208
|
+
# rubocop:disable Style/NegatedIf
|
209
|
+
# Query Params
|
210
|
+
query_params = {}
|
211
|
+
|
212
|
+
# Header Params
|
213
|
+
header_params = {}
|
214
|
+
header_params[:accept] = 'application/json'
|
215
|
+
header_params[:'content-type'] = 'application/json'
|
216
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
217
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
218
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
219
|
+
# rubocop:enable Style/NegatedIf
|
220
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
221
|
+
|
222
|
+
post_body = @api_client.object_to_http_body(associate_custom_property_details)
|
223
|
+
|
224
|
+
# rubocop:disable Metrics/BlockLength
|
225
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#associate_custom_property') do
|
226
|
+
@api_client.call_api(
|
227
|
+
:POST,
|
228
|
+
path,
|
229
|
+
endpoint,
|
230
|
+
header_params: header_params,
|
231
|
+
query_params: query_params,
|
232
|
+
operation_signing_strategy: operation_signing_strategy,
|
233
|
+
body: post_body,
|
234
|
+
return_type: 'OCI::DataCatalog::Models::Type'
|
235
|
+
)
|
236
|
+
end
|
237
|
+
# rubocop:enable Metrics/BlockLength
|
238
|
+
end
|
239
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
240
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
241
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
242
|
+
|
243
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
244
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
245
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
246
|
+
|
247
|
+
|
101
248
|
# Attaches a private reverse connection endpoint resource to a data catalog resource. When provided, 'If-Match' is checked against 'ETag' values of the resource.
|
102
249
|
# @param [OCI::DataCatalog::Models::AttachCatalogPrivateEndpointDetails] attach_catalog_private_endpoint_details Details for private reverse connection endpoint to be used for attachment.
|
103
250
|
# @param [String] catalog_id Unique catalog identifier.
|
@@ -616,6 +763,73 @@ module OCI
|
|
616
763
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
617
764
|
|
618
765
|
|
766
|
+
# Create a new Custom Property
|
767
|
+
# @param [String] catalog_id Unique catalog identifier.
|
768
|
+
# @param [String] namespace_id Unique namespace identifier.
|
769
|
+
# @param [OCI::DataCatalog::Models::CreateCustomPropertyDetails] create_custom_property_details The information used to create the Custom Property.
|
770
|
+
#
|
771
|
+
# @param [Hash] opts the optional parameters
|
772
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
773
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
774
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
775
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
776
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
777
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
778
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
779
|
+
# might be rejected.
|
780
|
+
#
|
781
|
+
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::CustomProperty CustomProperty}
|
782
|
+
def create_custom_property(catalog_id, namespace_id, create_custom_property_details, opts = {})
|
783
|
+
logger.debug 'Calling operation DataCatalogClient#create_custom_property.' if logger
|
784
|
+
|
785
|
+
raise "Missing the required parameter 'catalog_id' when calling create_custom_property." if catalog_id.nil?
|
786
|
+
raise "Missing the required parameter 'namespace_id' when calling create_custom_property." if namespace_id.nil?
|
787
|
+
raise "Missing the required parameter 'create_custom_property_details' when calling create_custom_property." if create_custom_property_details.nil?
|
788
|
+
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
789
|
+
raise "Parameter value for 'namespace_id' must not be blank" if OCI::Internal::Util.blank_string?(namespace_id)
|
790
|
+
|
791
|
+
path = '/catalogs/{catalogId}/namespaces/{namespaceId}/customProperties'.sub('{catalogId}', catalog_id.to_s).sub('{namespaceId}', namespace_id.to_s)
|
792
|
+
operation_signing_strategy = :standard
|
793
|
+
|
794
|
+
# rubocop:disable Style/NegatedIf
|
795
|
+
# Query Params
|
796
|
+
query_params = {}
|
797
|
+
|
798
|
+
# Header Params
|
799
|
+
header_params = {}
|
800
|
+
header_params[:accept] = 'application/json'
|
801
|
+
header_params[:'content-type'] = 'application/json'
|
802
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
803
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
804
|
+
# rubocop:enable Style/NegatedIf
|
805
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
806
|
+
|
807
|
+
post_body = @api_client.object_to_http_body(create_custom_property_details)
|
808
|
+
|
809
|
+
# rubocop:disable Metrics/BlockLength
|
810
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#create_custom_property') do
|
811
|
+
@api_client.call_api(
|
812
|
+
:POST,
|
813
|
+
path,
|
814
|
+
endpoint,
|
815
|
+
header_params: header_params,
|
816
|
+
query_params: query_params,
|
817
|
+
operation_signing_strategy: operation_signing_strategy,
|
818
|
+
body: post_body,
|
819
|
+
return_type: 'OCI::DataCatalog::Models::CustomProperty'
|
820
|
+
)
|
821
|
+
end
|
822
|
+
# rubocop:enable Metrics/BlockLength
|
823
|
+
end
|
824
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
825
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
826
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
827
|
+
|
828
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
829
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
830
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
831
|
+
|
832
|
+
|
619
833
|
# Create a new data asset.
|
620
834
|
# @param [String] catalog_id Unique catalog identifier.
|
621
835
|
# @param [OCI::DataCatalog::Models::CreateDataAssetDetails] create_data_asset_details The information used to create the data asset.
|
@@ -1270,10 +1484,10 @@ module OCI
|
|
1270
1484
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1271
1485
|
|
1272
1486
|
|
1273
|
-
# Create a new
|
1487
|
+
# Create a new Namespace to be used by a custom property
|
1274
1488
|
# @param [String] catalog_id Unique catalog identifier.
|
1275
|
-
# @param [
|
1276
|
-
#
|
1489
|
+
# @param [OCI::DataCatalog::Models::CreateNamespaceDetails] create_namespace_details The information used to create the Namespace.
|
1490
|
+
#
|
1277
1491
|
# @param [Hash] opts the optional parameters
|
1278
1492
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1279
1493
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
@@ -1284,17 +1498,15 @@ module OCI
|
|
1284
1498
|
# has been deleted and purged from the system, then a retry of the original creation request
|
1285
1499
|
# might be rejected.
|
1286
1500
|
#
|
1287
|
-
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::
|
1288
|
-
def
|
1289
|
-
logger.debug 'Calling operation DataCatalogClient#
|
1501
|
+
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::Namespace Namespace}
|
1502
|
+
def create_namespace(catalog_id, create_namespace_details, opts = {})
|
1503
|
+
logger.debug 'Calling operation DataCatalogClient#create_namespace.' if logger
|
1290
1504
|
|
1291
|
-
raise "Missing the required parameter 'catalog_id' when calling
|
1292
|
-
raise "Missing the required parameter '
|
1293
|
-
raise "Missing the required parameter 'create_term_details' when calling create_term." if create_term_details.nil?
|
1505
|
+
raise "Missing the required parameter 'catalog_id' when calling create_namespace." if catalog_id.nil?
|
1506
|
+
raise "Missing the required parameter 'create_namespace_details' when calling create_namespace." if create_namespace_details.nil?
|
1294
1507
|
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
1295
|
-
raise "Parameter value for 'glossary_key' must not be blank" if OCI::Internal::Util.blank_string?(glossary_key)
|
1296
1508
|
|
1297
|
-
path = '/catalogs/{catalogId}/
|
1509
|
+
path = '/catalogs/{catalogId}/namespaces'.sub('{catalogId}', catalog_id.to_s)
|
1298
1510
|
operation_signing_strategy = :standard
|
1299
1511
|
|
1300
1512
|
# rubocop:disable Style/NegatedIf
|
@@ -1310,10 +1522,10 @@ module OCI
|
|
1310
1522
|
# rubocop:enable Style/NegatedIf
|
1311
1523
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
1312
1524
|
|
1313
|
-
post_body = @api_client.object_to_http_body(
|
1525
|
+
post_body = @api_client.object_to_http_body(create_namespace_details)
|
1314
1526
|
|
1315
1527
|
# rubocop:disable Metrics/BlockLength
|
1316
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#
|
1528
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#create_namespace') do
|
1317
1529
|
@api_client.call_api(
|
1318
1530
|
:POST,
|
1319
1531
|
path,
|
@@ -1322,7 +1534,7 @@ module OCI
|
|
1322
1534
|
query_params: query_params,
|
1323
1535
|
operation_signing_strategy: operation_signing_strategy,
|
1324
1536
|
body: post_body,
|
1325
|
-
return_type: 'OCI::DataCatalog::Models::
|
1537
|
+
return_type: 'OCI::DataCatalog::Models::Namespace'
|
1326
1538
|
)
|
1327
1539
|
end
|
1328
1540
|
# rubocop:enable Metrics/BlockLength
|
@@ -1336,11 +1548,9 @@ module OCI
|
|
1336
1548
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1337
1549
|
|
1338
1550
|
|
1339
|
-
#
|
1551
|
+
# Create a new pattern.
|
1340
1552
|
# @param [String] catalog_id Unique catalog identifier.
|
1341
|
-
# @param [
|
1342
|
-
# @param [String] term_key Unique glossary term key.
|
1343
|
-
# @param [OCI::DataCatalog::Models::CreateTermRelationshipDetails] create_term_relationship_details The information used to create the term relationship.
|
1553
|
+
# @param [OCI::DataCatalog::Models::CreatePatternDetails] create_pattern_details The information used to create the pattern.
|
1344
1554
|
# @param [Hash] opts the optional parameters
|
1345
1555
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1346
1556
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
@@ -1351,19 +1561,15 @@ module OCI
|
|
1351
1561
|
# has been deleted and purged from the system, then a retry of the original creation request
|
1352
1562
|
# might be rejected.
|
1353
1563
|
#
|
1354
|
-
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::
|
1355
|
-
def
|
1356
|
-
logger.debug 'Calling operation DataCatalogClient#
|
1564
|
+
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::Pattern Pattern}
|
1565
|
+
def create_pattern(catalog_id, create_pattern_details, opts = {})
|
1566
|
+
logger.debug 'Calling operation DataCatalogClient#create_pattern.' if logger
|
1357
1567
|
|
1358
|
-
raise "Missing the required parameter 'catalog_id' when calling
|
1359
|
-
raise "Missing the required parameter '
|
1360
|
-
raise "Missing the required parameter 'term_key' when calling create_term_relationship." if term_key.nil?
|
1361
|
-
raise "Missing the required parameter 'create_term_relationship_details' when calling create_term_relationship." if create_term_relationship_details.nil?
|
1568
|
+
raise "Missing the required parameter 'catalog_id' when calling create_pattern." if catalog_id.nil?
|
1569
|
+
raise "Missing the required parameter 'create_pattern_details' when calling create_pattern." if create_pattern_details.nil?
|
1362
1570
|
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
1363
|
-
raise "Parameter value for 'glossary_key' must not be blank" if OCI::Internal::Util.blank_string?(glossary_key)
|
1364
|
-
raise "Parameter value for 'term_key' must not be blank" if OCI::Internal::Util.blank_string?(term_key)
|
1365
1571
|
|
1366
|
-
path = '/catalogs/{catalogId}/
|
1572
|
+
path = '/catalogs/{catalogId}/patterns'.sub('{catalogId}', catalog_id.to_s)
|
1367
1573
|
operation_signing_strategy = :standard
|
1368
1574
|
|
1369
1575
|
# rubocop:disable Style/NegatedIf
|
@@ -1379,10 +1585,10 @@ module OCI
|
|
1379
1585
|
# rubocop:enable Style/NegatedIf
|
1380
1586
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
1381
1587
|
|
1382
|
-
post_body = @api_client.object_to_http_body(
|
1588
|
+
post_body = @api_client.object_to_http_body(create_pattern_details)
|
1383
1589
|
|
1384
1590
|
# rubocop:disable Metrics/BlockLength
|
1385
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#
|
1591
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#create_pattern') do
|
1386
1592
|
@api_client.call_api(
|
1387
1593
|
:POST,
|
1388
1594
|
path,
|
@@ -1391,7 +1597,7 @@ module OCI
|
|
1391
1597
|
query_params: query_params,
|
1392
1598
|
operation_signing_strategy: operation_signing_strategy,
|
1393
1599
|
body: post_body,
|
1394
|
-
return_type: 'OCI::DataCatalog::Models::
|
1600
|
+
return_type: 'OCI::DataCatalog::Models::Pattern'
|
1395
1601
|
)
|
1396
1602
|
end
|
1397
1603
|
# rubocop:enable Metrics/BlockLength
|
@@ -1405,35 +1611,31 @@ module OCI
|
|
1405
1611
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1406
1612
|
|
1407
1613
|
|
1408
|
-
#
|
1614
|
+
# Create a new term within a glossary.
|
1409
1615
|
# @param [String] catalog_id Unique catalog identifier.
|
1410
|
-
# @param [String]
|
1411
|
-
# @param [
|
1412
|
-
# @param [String] attribute_key Unique attribute key.
|
1616
|
+
# @param [String] glossary_key Unique glossary key.
|
1617
|
+
# @param [OCI::DataCatalog::Models::CreateTermDetails] create_term_details The information used to create the term.
|
1413
1618
|
# @param [Hash] opts the optional parameters
|
1414
1619
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1415
1620
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1416
|
-
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
1417
|
-
# for a resource, set the `if-match` parameter to the value of the
|
1418
|
-
# etag from a previous GET or POST response for that resource.
|
1419
|
-
# The resource will be updated or deleted only if the etag you
|
1420
|
-
# provide matches the resource's current etag value.
|
1421
|
-
#
|
1422
1621
|
# @option opts [String] :opc_request_id The client request ID for tracing.
|
1423
|
-
# @
|
1424
|
-
|
1425
|
-
|
1622
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
1623
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
1624
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
1625
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
1626
|
+
# might be rejected.
|
1627
|
+
#
|
1628
|
+
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::Term Term}
|
1629
|
+
def create_term(catalog_id, glossary_key, create_term_details, opts = {})
|
1630
|
+
logger.debug 'Calling operation DataCatalogClient#create_term.' if logger
|
1426
1631
|
|
1427
|
-
raise "Missing the required parameter 'catalog_id' when calling
|
1428
|
-
raise "Missing the required parameter '
|
1429
|
-
raise "Missing the required parameter '
|
1430
|
-
raise "Missing the required parameter 'attribute_key' when calling delete_attribute." if attribute_key.nil?
|
1632
|
+
raise "Missing the required parameter 'catalog_id' when calling create_term." if catalog_id.nil?
|
1633
|
+
raise "Missing the required parameter 'glossary_key' when calling create_term." if glossary_key.nil?
|
1634
|
+
raise "Missing the required parameter 'create_term_details' when calling create_term." if create_term_details.nil?
|
1431
1635
|
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
1432
|
-
raise "Parameter value for '
|
1433
|
-
raise "Parameter value for 'entity_key' must not be blank" if OCI::Internal::Util.blank_string?(entity_key)
|
1434
|
-
raise "Parameter value for 'attribute_key' must not be blank" if OCI::Internal::Util.blank_string?(attribute_key)
|
1636
|
+
raise "Parameter value for 'glossary_key' must not be blank" if OCI::Internal::Util.blank_string?(glossary_key)
|
1435
1637
|
|
1436
|
-
path = '/catalogs/{catalogId}/
|
1638
|
+
path = '/catalogs/{catalogId}/glossaries/{glossaryKey}/terms'.sub('{catalogId}', catalog_id.to_s).sub('{glossaryKey}', glossary_key.to_s)
|
1437
1639
|
operation_signing_strategy = :standard
|
1438
1640
|
|
1439
1641
|
# rubocop:disable Style/NegatedIf
|
@@ -1444,14 +1646,153 @@ module OCI
|
|
1444
1646
|
header_params = {}
|
1445
1647
|
header_params[:accept] = 'application/json'
|
1446
1648
|
header_params[:'content-type'] = 'application/json'
|
1447
|
-
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
1448
1649
|
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1650
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
1449
1651
|
# rubocop:enable Style/NegatedIf
|
1652
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
1450
1653
|
|
1451
|
-
post_body =
|
1654
|
+
post_body = @api_client.object_to_http_body(create_term_details)
|
1452
1655
|
|
1453
1656
|
# rubocop:disable Metrics/BlockLength
|
1454
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#
|
1657
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#create_term') do
|
1658
|
+
@api_client.call_api(
|
1659
|
+
:POST,
|
1660
|
+
path,
|
1661
|
+
endpoint,
|
1662
|
+
header_params: header_params,
|
1663
|
+
query_params: query_params,
|
1664
|
+
operation_signing_strategy: operation_signing_strategy,
|
1665
|
+
body: post_body,
|
1666
|
+
return_type: 'OCI::DataCatalog::Models::Term'
|
1667
|
+
)
|
1668
|
+
end
|
1669
|
+
# rubocop:enable Metrics/BlockLength
|
1670
|
+
end
|
1671
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1672
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1673
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1674
|
+
|
1675
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1676
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1677
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1678
|
+
|
1679
|
+
|
1680
|
+
# Creates a new term relationship for this term within a glossary.
|
1681
|
+
# @param [String] catalog_id Unique catalog identifier.
|
1682
|
+
# @param [String] glossary_key Unique glossary key.
|
1683
|
+
# @param [String] term_key Unique glossary term key.
|
1684
|
+
# @param [OCI::DataCatalog::Models::CreateTermRelationshipDetails] create_term_relationship_details The information used to create the term relationship.
|
1685
|
+
# @param [Hash] opts the optional parameters
|
1686
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1687
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1688
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
1689
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
1690
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
1691
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
1692
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
1693
|
+
# might be rejected.
|
1694
|
+
#
|
1695
|
+
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::TermRelationship TermRelationship}
|
1696
|
+
def create_term_relationship(catalog_id, glossary_key, term_key, create_term_relationship_details, opts = {})
|
1697
|
+
logger.debug 'Calling operation DataCatalogClient#create_term_relationship.' if logger
|
1698
|
+
|
1699
|
+
raise "Missing the required parameter 'catalog_id' when calling create_term_relationship." if catalog_id.nil?
|
1700
|
+
raise "Missing the required parameter 'glossary_key' when calling create_term_relationship." if glossary_key.nil?
|
1701
|
+
raise "Missing the required parameter 'term_key' when calling create_term_relationship." if term_key.nil?
|
1702
|
+
raise "Missing the required parameter 'create_term_relationship_details' when calling create_term_relationship." if create_term_relationship_details.nil?
|
1703
|
+
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
1704
|
+
raise "Parameter value for 'glossary_key' must not be blank" if OCI::Internal::Util.blank_string?(glossary_key)
|
1705
|
+
raise "Parameter value for 'term_key' must not be blank" if OCI::Internal::Util.blank_string?(term_key)
|
1706
|
+
|
1707
|
+
path = '/catalogs/{catalogId}/glossaries/{glossaryKey}/terms/{termKey}/termRelationships'.sub('{catalogId}', catalog_id.to_s).sub('{glossaryKey}', glossary_key.to_s).sub('{termKey}', term_key.to_s)
|
1708
|
+
operation_signing_strategy = :standard
|
1709
|
+
|
1710
|
+
# rubocop:disable Style/NegatedIf
|
1711
|
+
# Query Params
|
1712
|
+
query_params = {}
|
1713
|
+
|
1714
|
+
# Header Params
|
1715
|
+
header_params = {}
|
1716
|
+
header_params[:accept] = 'application/json'
|
1717
|
+
header_params[:'content-type'] = 'application/json'
|
1718
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1719
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
1720
|
+
# rubocop:enable Style/NegatedIf
|
1721
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
1722
|
+
|
1723
|
+
post_body = @api_client.object_to_http_body(create_term_relationship_details)
|
1724
|
+
|
1725
|
+
# rubocop:disable Metrics/BlockLength
|
1726
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#create_term_relationship') do
|
1727
|
+
@api_client.call_api(
|
1728
|
+
:POST,
|
1729
|
+
path,
|
1730
|
+
endpoint,
|
1731
|
+
header_params: header_params,
|
1732
|
+
query_params: query_params,
|
1733
|
+
operation_signing_strategy: operation_signing_strategy,
|
1734
|
+
body: post_body,
|
1735
|
+
return_type: 'OCI::DataCatalog::Models::TermRelationship'
|
1736
|
+
)
|
1737
|
+
end
|
1738
|
+
# rubocop:enable Metrics/BlockLength
|
1739
|
+
end
|
1740
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1741
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1742
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1743
|
+
|
1744
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1745
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1746
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1747
|
+
|
1748
|
+
|
1749
|
+
# Deletes a specific entity attribute.
|
1750
|
+
# @param [String] catalog_id Unique catalog identifier.
|
1751
|
+
# @param [String] data_asset_key Unique data asset key.
|
1752
|
+
# @param [String] entity_key Unique entity key.
|
1753
|
+
# @param [String] attribute_key Unique attribute key.
|
1754
|
+
# @param [Hash] opts the optional parameters
|
1755
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1756
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1757
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
1758
|
+
# for a resource, set the `if-match` parameter to the value of the
|
1759
|
+
# etag from a previous GET or POST response for that resource.
|
1760
|
+
# The resource will be updated or deleted only if the etag you
|
1761
|
+
# provide matches the resource's current etag value.
|
1762
|
+
#
|
1763
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
1764
|
+
# @return [Response] A Response object with data of type nil
|
1765
|
+
def delete_attribute(catalog_id, data_asset_key, entity_key, attribute_key, opts = {})
|
1766
|
+
logger.debug 'Calling operation DataCatalogClient#delete_attribute.' if logger
|
1767
|
+
|
1768
|
+
raise "Missing the required parameter 'catalog_id' when calling delete_attribute." if catalog_id.nil?
|
1769
|
+
raise "Missing the required parameter 'data_asset_key' when calling delete_attribute." if data_asset_key.nil?
|
1770
|
+
raise "Missing the required parameter 'entity_key' when calling delete_attribute." if entity_key.nil?
|
1771
|
+
raise "Missing the required parameter 'attribute_key' when calling delete_attribute." if attribute_key.nil?
|
1772
|
+
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
1773
|
+
raise "Parameter value for 'data_asset_key' must not be blank" if OCI::Internal::Util.blank_string?(data_asset_key)
|
1774
|
+
raise "Parameter value for 'entity_key' must not be blank" if OCI::Internal::Util.blank_string?(entity_key)
|
1775
|
+
raise "Parameter value for 'attribute_key' must not be blank" if OCI::Internal::Util.blank_string?(attribute_key)
|
1776
|
+
|
1777
|
+
path = '/catalogs/{catalogId}/dataAssets/{dataAssetKey}/entities/{entityKey}/attributes/{attributeKey}'.sub('{catalogId}', catalog_id.to_s).sub('{dataAssetKey}', data_asset_key.to_s).sub('{entityKey}', entity_key.to_s).sub('{attributeKey}', attribute_key.to_s)
|
1778
|
+
operation_signing_strategy = :standard
|
1779
|
+
|
1780
|
+
# rubocop:disable Style/NegatedIf
|
1781
|
+
# Query Params
|
1782
|
+
query_params = {}
|
1783
|
+
|
1784
|
+
# Header Params
|
1785
|
+
header_params = {}
|
1786
|
+
header_params[:accept] = 'application/json'
|
1787
|
+
header_params[:'content-type'] = 'application/json'
|
1788
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
1789
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
1790
|
+
# rubocop:enable Style/NegatedIf
|
1791
|
+
|
1792
|
+
post_body = nil
|
1793
|
+
|
1794
|
+
# rubocop:disable Metrics/BlockLength
|
1795
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#delete_attribute') do
|
1455
1796
|
@api_client.call_api(
|
1456
1797
|
:DELETE,
|
1457
1798
|
path,
|
@@ -1727,6 +2068,71 @@ module OCI
|
|
1727
2068
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1728
2069
|
|
1729
2070
|
|
2071
|
+
# Deletes a specific custom property identified by it's key.
|
2072
|
+
# @param [String] catalog_id Unique catalog identifier.
|
2073
|
+
# @param [String] namespace_id Unique namespace identifier.
|
2074
|
+
# @param [String] custom_property_key Unique Custom Property key
|
2075
|
+
# @param [Hash] opts the optional parameters
|
2076
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2077
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2078
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
2079
|
+
# for a resource, set the `if-match` parameter to the value of the
|
2080
|
+
# etag from a previous GET or POST response for that resource.
|
2081
|
+
# The resource will be updated or deleted only if the etag you
|
2082
|
+
# provide matches the resource's current etag value.
|
2083
|
+
#
|
2084
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
2085
|
+
# @return [Response] A Response object with data of type nil
|
2086
|
+
def delete_custom_property(catalog_id, namespace_id, custom_property_key, opts = {})
|
2087
|
+
logger.debug 'Calling operation DataCatalogClient#delete_custom_property.' if logger
|
2088
|
+
|
2089
|
+
raise "Missing the required parameter 'catalog_id' when calling delete_custom_property." if catalog_id.nil?
|
2090
|
+
raise "Missing the required parameter 'namespace_id' when calling delete_custom_property." if namespace_id.nil?
|
2091
|
+
raise "Missing the required parameter 'custom_property_key' when calling delete_custom_property." if custom_property_key.nil?
|
2092
|
+
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
2093
|
+
raise "Parameter value for 'namespace_id' must not be blank" if OCI::Internal::Util.blank_string?(namespace_id)
|
2094
|
+
raise "Parameter value for 'custom_property_key' must not be blank" if OCI::Internal::Util.blank_string?(custom_property_key)
|
2095
|
+
|
2096
|
+
path = '/catalogs/{catalogId}/namespaces/{namespaceId}/customProperties/{customPropertyKey}'.sub('{catalogId}', catalog_id.to_s).sub('{namespaceId}', namespace_id.to_s).sub('{customPropertyKey}', custom_property_key.to_s)
|
2097
|
+
operation_signing_strategy = :standard
|
2098
|
+
|
2099
|
+
# rubocop:disable Style/NegatedIf
|
2100
|
+
# Query Params
|
2101
|
+
query_params = {}
|
2102
|
+
|
2103
|
+
# Header Params
|
2104
|
+
header_params = {}
|
2105
|
+
header_params[:accept] = 'application/json'
|
2106
|
+
header_params[:'content-type'] = 'application/json'
|
2107
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
2108
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
2109
|
+
# rubocop:enable Style/NegatedIf
|
2110
|
+
|
2111
|
+
post_body = nil
|
2112
|
+
|
2113
|
+
# rubocop:disable Metrics/BlockLength
|
2114
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#delete_custom_property') do
|
2115
|
+
@api_client.call_api(
|
2116
|
+
:DELETE,
|
2117
|
+
path,
|
2118
|
+
endpoint,
|
2119
|
+
header_params: header_params,
|
2120
|
+
query_params: query_params,
|
2121
|
+
operation_signing_strategy: operation_signing_strategy,
|
2122
|
+
body: post_body
|
2123
|
+
)
|
2124
|
+
end
|
2125
|
+
# rubocop:enable Metrics/BlockLength
|
2126
|
+
end
|
2127
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2128
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2129
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2130
|
+
|
2131
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2132
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2133
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2134
|
+
|
2135
|
+
|
1730
2136
|
# Deletes a specific data asset identified by it's key.
|
1731
2137
|
# @param [String] catalog_id Unique catalog identifier.
|
1732
2138
|
# @param [String] data_asset_key Unique data asset key.
|
@@ -2261,12 +2667,136 @@ module OCI
|
|
2261
2667
|
def delete_job_definition(catalog_id, job_definition_key, opts = {})
|
2262
2668
|
logger.debug 'Calling operation DataCatalogClient#delete_job_definition.' if logger
|
2263
2669
|
|
2264
|
-
raise "Missing the required parameter 'catalog_id' when calling delete_job_definition." if catalog_id.nil?
|
2265
|
-
raise "Missing the required parameter 'job_definition_key' when calling delete_job_definition." if job_definition_key.nil?
|
2670
|
+
raise "Missing the required parameter 'catalog_id' when calling delete_job_definition." if catalog_id.nil?
|
2671
|
+
raise "Missing the required parameter 'job_definition_key' when calling delete_job_definition." if job_definition_key.nil?
|
2672
|
+
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
2673
|
+
raise "Parameter value for 'job_definition_key' must not be blank" if OCI::Internal::Util.blank_string?(job_definition_key)
|
2674
|
+
|
2675
|
+
path = '/catalogs/{catalogId}/jobDefinitions/{jobDefinitionKey}'.sub('{catalogId}', catalog_id.to_s).sub('{jobDefinitionKey}', job_definition_key.to_s)
|
2676
|
+
operation_signing_strategy = :standard
|
2677
|
+
|
2678
|
+
# rubocop:disable Style/NegatedIf
|
2679
|
+
# Query Params
|
2680
|
+
query_params = {}
|
2681
|
+
|
2682
|
+
# Header Params
|
2683
|
+
header_params = {}
|
2684
|
+
header_params[:accept] = 'application/json'
|
2685
|
+
header_params[:'content-type'] = 'application/json'
|
2686
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
2687
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
2688
|
+
# rubocop:enable Style/NegatedIf
|
2689
|
+
|
2690
|
+
post_body = nil
|
2691
|
+
|
2692
|
+
# rubocop:disable Metrics/BlockLength
|
2693
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#delete_job_definition') do
|
2694
|
+
@api_client.call_api(
|
2695
|
+
:DELETE,
|
2696
|
+
path,
|
2697
|
+
endpoint,
|
2698
|
+
header_params: header_params,
|
2699
|
+
query_params: query_params,
|
2700
|
+
operation_signing_strategy: operation_signing_strategy,
|
2701
|
+
body: post_body
|
2702
|
+
)
|
2703
|
+
end
|
2704
|
+
# rubocop:enable Metrics/BlockLength
|
2705
|
+
end
|
2706
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2707
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2708
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2709
|
+
|
2710
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2711
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2712
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2713
|
+
|
2714
|
+
|
2715
|
+
# Deletes a specific Namespace identified by it's key.
|
2716
|
+
# @param [String] catalog_id Unique catalog identifier.
|
2717
|
+
# @param [String] namespace_id Unique namespace identifier.
|
2718
|
+
# @param [Hash] opts the optional parameters
|
2719
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2720
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2721
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
2722
|
+
# for a resource, set the `if-match` parameter to the value of the
|
2723
|
+
# etag from a previous GET or POST response for that resource.
|
2724
|
+
# The resource will be updated or deleted only if the etag you
|
2725
|
+
# provide matches the resource's current etag value.
|
2726
|
+
#
|
2727
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
2728
|
+
# @return [Response] A Response object with data of type nil
|
2729
|
+
def delete_namespace(catalog_id, namespace_id, opts = {})
|
2730
|
+
logger.debug 'Calling operation DataCatalogClient#delete_namespace.' if logger
|
2731
|
+
|
2732
|
+
raise "Missing the required parameter 'catalog_id' when calling delete_namespace." if catalog_id.nil?
|
2733
|
+
raise "Missing the required parameter 'namespace_id' when calling delete_namespace." if namespace_id.nil?
|
2734
|
+
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
2735
|
+
raise "Parameter value for 'namespace_id' must not be blank" if OCI::Internal::Util.blank_string?(namespace_id)
|
2736
|
+
|
2737
|
+
path = '/catalogs/{catalogId}/namespaces/{namespaceId}'.sub('{catalogId}', catalog_id.to_s).sub('{namespaceId}', namespace_id.to_s)
|
2738
|
+
operation_signing_strategy = :standard
|
2739
|
+
|
2740
|
+
# rubocop:disable Style/NegatedIf
|
2741
|
+
# Query Params
|
2742
|
+
query_params = {}
|
2743
|
+
|
2744
|
+
# Header Params
|
2745
|
+
header_params = {}
|
2746
|
+
header_params[:accept] = 'application/json'
|
2747
|
+
header_params[:'content-type'] = 'application/json'
|
2748
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
2749
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
2750
|
+
# rubocop:enable Style/NegatedIf
|
2751
|
+
|
2752
|
+
post_body = nil
|
2753
|
+
|
2754
|
+
# rubocop:disable Metrics/BlockLength
|
2755
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#delete_namespace') do
|
2756
|
+
@api_client.call_api(
|
2757
|
+
:DELETE,
|
2758
|
+
path,
|
2759
|
+
endpoint,
|
2760
|
+
header_params: header_params,
|
2761
|
+
query_params: query_params,
|
2762
|
+
operation_signing_strategy: operation_signing_strategy,
|
2763
|
+
body: post_body
|
2764
|
+
)
|
2765
|
+
end
|
2766
|
+
# rubocop:enable Metrics/BlockLength
|
2767
|
+
end
|
2768
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2769
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2770
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2771
|
+
|
2772
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2773
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2774
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2775
|
+
|
2776
|
+
|
2777
|
+
# Deletes a specific pattern identified by it's key.
|
2778
|
+
# @param [String] catalog_id Unique catalog identifier.
|
2779
|
+
# @param [String] pattern_key Unique pattern key.
|
2780
|
+
# @param [Hash] opts the optional parameters
|
2781
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2782
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2783
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
2784
|
+
# for a resource, set the `if-match` parameter to the value of the
|
2785
|
+
# etag from a previous GET or POST response for that resource.
|
2786
|
+
# The resource will be updated or deleted only if the etag you
|
2787
|
+
# provide matches the resource's current etag value.
|
2788
|
+
#
|
2789
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
2790
|
+
# @return [Response] A Response object with data of type nil
|
2791
|
+
def delete_pattern(catalog_id, pattern_key, opts = {})
|
2792
|
+
logger.debug 'Calling operation DataCatalogClient#delete_pattern.' if logger
|
2793
|
+
|
2794
|
+
raise "Missing the required parameter 'catalog_id' when calling delete_pattern." if catalog_id.nil?
|
2795
|
+
raise "Missing the required parameter 'pattern_key' when calling delete_pattern." if pattern_key.nil?
|
2266
2796
|
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
2267
|
-
raise "Parameter value for '
|
2797
|
+
raise "Parameter value for 'pattern_key' must not be blank" if OCI::Internal::Util.blank_string?(pattern_key)
|
2268
2798
|
|
2269
|
-
path = '/catalogs/{catalogId}/
|
2799
|
+
path = '/catalogs/{catalogId}/patterns/{patternKey}'.sub('{catalogId}', catalog_id.to_s).sub('{patternKey}', pattern_key.to_s)
|
2270
2800
|
operation_signing_strategy = :standard
|
2271
2801
|
|
2272
2802
|
# rubocop:disable Style/NegatedIf
|
@@ -2284,7 +2814,7 @@ module OCI
|
|
2284
2814
|
post_body = nil
|
2285
2815
|
|
2286
2816
|
# rubocop:disable Metrics/BlockLength
|
2287
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#
|
2817
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#delete_pattern') do
|
2288
2818
|
@api_client.call_api(
|
2289
2819
|
:DELETE,
|
2290
2820
|
path,
|
@@ -2500,6 +3030,80 @@ module OCI
|
|
2500
3030
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2501
3031
|
|
2502
3032
|
|
3033
|
+
# Remove the custom property for the given type
|
3034
|
+
# @param [String] catalog_id Unique catalog identifier.
|
3035
|
+
# @param [String] type_key Unique type key.
|
3036
|
+
# @param [OCI::DataCatalog::Models::TypeCustomPropertyDetails] disassociate_custom_property_details The information used to remove the custom properties.
|
3037
|
+
#
|
3038
|
+
# @param [Hash] opts the optional parameters
|
3039
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3040
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3041
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
3042
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
3043
|
+
# for a resource, set the `if-match` parameter to the value of the
|
3044
|
+
# etag from a previous GET or POST response for that resource.
|
3045
|
+
# The resource will be updated or deleted only if the etag you
|
3046
|
+
# provide matches the resource's current etag value.
|
3047
|
+
#
|
3048
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
3049
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
3050
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
3051
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
3052
|
+
# might be rejected.
|
3053
|
+
#
|
3054
|
+
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::Type Type}
|
3055
|
+
def disassociate_custom_property(catalog_id, type_key, disassociate_custom_property_details, opts = {})
|
3056
|
+
logger.debug 'Calling operation DataCatalogClient#disassociate_custom_property.' if logger
|
3057
|
+
|
3058
|
+
raise "Missing the required parameter 'catalog_id' when calling disassociate_custom_property." if catalog_id.nil?
|
3059
|
+
raise "Missing the required parameter 'type_key' when calling disassociate_custom_property." if type_key.nil?
|
3060
|
+
raise "Missing the required parameter 'disassociate_custom_property_details' when calling disassociate_custom_property." if disassociate_custom_property_details.nil?
|
3061
|
+
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
3062
|
+
raise "Parameter value for 'type_key' must not be blank" if OCI::Internal::Util.blank_string?(type_key)
|
3063
|
+
|
3064
|
+
path = '/catalogs/{catalogId}/types/{typeKey}/actions/disassociateCustomProperties'.sub('{catalogId}', catalog_id.to_s).sub('{typeKey}', type_key.to_s)
|
3065
|
+
operation_signing_strategy = :standard
|
3066
|
+
|
3067
|
+
# rubocop:disable Style/NegatedIf
|
3068
|
+
# Query Params
|
3069
|
+
query_params = {}
|
3070
|
+
|
3071
|
+
# Header Params
|
3072
|
+
header_params = {}
|
3073
|
+
header_params[:accept] = 'application/json'
|
3074
|
+
header_params[:'content-type'] = 'application/json'
|
3075
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
3076
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
3077
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
3078
|
+
# rubocop:enable Style/NegatedIf
|
3079
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
3080
|
+
|
3081
|
+
post_body = @api_client.object_to_http_body(disassociate_custom_property_details)
|
3082
|
+
|
3083
|
+
# rubocop:disable Metrics/BlockLength
|
3084
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#disassociate_custom_property') do
|
3085
|
+
@api_client.call_api(
|
3086
|
+
:POST,
|
3087
|
+
path,
|
3088
|
+
endpoint,
|
3089
|
+
header_params: header_params,
|
3090
|
+
query_params: query_params,
|
3091
|
+
operation_signing_strategy: operation_signing_strategy,
|
3092
|
+
body: post_body,
|
3093
|
+
return_type: 'OCI::DataCatalog::Models::Type'
|
3094
|
+
)
|
3095
|
+
end
|
3096
|
+
# rubocop:enable Metrics/BlockLength
|
3097
|
+
end
|
3098
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3099
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
3100
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
3101
|
+
|
3102
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3103
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
3104
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3105
|
+
|
3106
|
+
|
2503
3107
|
# Returns the fully expanded tree hierarchy of parent and child terms in this glossary.
|
2504
3108
|
# @param [String] catalog_id Unique catalog identifier.
|
2505
3109
|
# @param [String] glossary_key Unique glossary key.
|
@@ -2964,6 +3568,79 @@ module OCI
|
|
2964
3568
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2965
3569
|
|
2966
3570
|
|
3571
|
+
# Gets a specific custom property for the given key within a data catalog.
|
3572
|
+
# @param [String] catalog_id Unique catalog identifier.
|
3573
|
+
# @param [String] namespace_id Unique namespace identifier.
|
3574
|
+
# @param [String] custom_property_key Unique Custom Property key
|
3575
|
+
# @param [Hash] opts the optional parameters
|
3576
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3577
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3578
|
+
# @option opts [Array<String>] :fields Specifies the fields to return in a custom property response.
|
3579
|
+
#
|
3580
|
+
# Allowed values are: key, displayName, description, dataType, namespaceName, lifecycleState, timeCreated, timeUpdated, createdById, updatedById, properties
|
3581
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
3582
|
+
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::CustomProperty CustomProperty}
|
3583
|
+
def get_custom_property(catalog_id, namespace_id, custom_property_key, opts = {})
|
3584
|
+
logger.debug 'Calling operation DataCatalogClient#get_custom_property.' if logger
|
3585
|
+
|
3586
|
+
raise "Missing the required parameter 'catalog_id' when calling get_custom_property." if catalog_id.nil?
|
3587
|
+
raise "Missing the required parameter 'namespace_id' when calling get_custom_property." if namespace_id.nil?
|
3588
|
+
raise "Missing the required parameter 'custom_property_key' when calling get_custom_property." if custom_property_key.nil?
|
3589
|
+
|
3590
|
+
|
3591
|
+
fields_allowable_values = %w[key displayName description dataType namespaceName lifecycleState timeCreated timeUpdated createdById updatedById properties]
|
3592
|
+
if opts[:fields] && !opts[:fields].empty?
|
3593
|
+
opts[:fields].each do |val_to_check|
|
3594
|
+
unless fields_allowable_values.include?(val_to_check)
|
3595
|
+
raise 'Invalid value for "fields", must be one of key, displayName, description, dataType, namespaceName, lifecycleState, timeCreated, timeUpdated, createdById, updatedById, properties.'
|
3596
|
+
end
|
3597
|
+
end
|
3598
|
+
end
|
3599
|
+
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
3600
|
+
raise "Parameter value for 'namespace_id' must not be blank" if OCI::Internal::Util.blank_string?(namespace_id)
|
3601
|
+
raise "Parameter value for 'custom_property_key' must not be blank" if OCI::Internal::Util.blank_string?(custom_property_key)
|
3602
|
+
|
3603
|
+
path = '/catalogs/{catalogId}/namespaces/{namespaceId}/customProperties/{customPropertyKey}'.sub('{catalogId}', catalog_id.to_s).sub('{namespaceId}', namespace_id.to_s).sub('{customPropertyKey}', custom_property_key.to_s)
|
3604
|
+
operation_signing_strategy = :standard
|
3605
|
+
|
3606
|
+
# rubocop:disable Style/NegatedIf
|
3607
|
+
# Query Params
|
3608
|
+
query_params = {}
|
3609
|
+
query_params[:fields] = OCI::ApiClient.build_collection_params(opts[:fields], :multi) if opts[:fields] && !opts[:fields].empty?
|
3610
|
+
|
3611
|
+
# Header Params
|
3612
|
+
header_params = {}
|
3613
|
+
header_params[:accept] = 'application/json'
|
3614
|
+
header_params[:'content-type'] = 'application/json'
|
3615
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
3616
|
+
# rubocop:enable Style/NegatedIf
|
3617
|
+
|
3618
|
+
post_body = nil
|
3619
|
+
|
3620
|
+
# rubocop:disable Metrics/BlockLength
|
3621
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#get_custom_property') do
|
3622
|
+
@api_client.call_api(
|
3623
|
+
:GET,
|
3624
|
+
path,
|
3625
|
+
endpoint,
|
3626
|
+
header_params: header_params,
|
3627
|
+
query_params: query_params,
|
3628
|
+
operation_signing_strategy: operation_signing_strategy,
|
3629
|
+
body: post_body,
|
3630
|
+
return_type: 'OCI::DataCatalog::Models::CustomProperty'
|
3631
|
+
)
|
3632
|
+
end
|
3633
|
+
# rubocop:enable Metrics/BlockLength
|
3634
|
+
end
|
3635
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3636
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
3637
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
3638
|
+
|
3639
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3640
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
3641
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3642
|
+
|
3643
|
+
|
2967
3644
|
# Gets a specific data asset for the given key within a data catalog.
|
2968
3645
|
# @param [String] catalog_id Unique catalog identifier.
|
2969
3646
|
# @param [String] data_asset_key Unique data asset key.
|
@@ -3723,7 +4400,153 @@ module OCI
|
|
3723
4400
|
raise "Parameter value for 'job_execution_key' must not be blank" if OCI::Internal::Util.blank_string?(job_execution_key)
|
3724
4401
|
raise "Parameter value for 'job_log_key' must not be blank" if OCI::Internal::Util.blank_string?(job_log_key)
|
3725
4402
|
|
3726
|
-
path = '/catalogs/{catalogId}/jobs/{jobKey}/executions/{jobExecutionKey}/logs/{jobLogKey}'.sub('{catalogId}', catalog_id.to_s).sub('{jobKey}', job_key.to_s).sub('{jobExecutionKey}', job_execution_key.to_s).sub('{jobLogKey}', job_log_key.to_s)
|
4403
|
+
path = '/catalogs/{catalogId}/jobs/{jobKey}/executions/{jobExecutionKey}/logs/{jobLogKey}'.sub('{catalogId}', catalog_id.to_s).sub('{jobKey}', job_key.to_s).sub('{jobExecutionKey}', job_execution_key.to_s).sub('{jobLogKey}', job_log_key.to_s)
|
4404
|
+
operation_signing_strategy = :standard
|
4405
|
+
|
4406
|
+
# rubocop:disable Style/NegatedIf
|
4407
|
+
# Query Params
|
4408
|
+
query_params = {}
|
4409
|
+
query_params[:fields] = OCI::ApiClient.build_collection_params(opts[:fields], :multi) if opts[:fields] && !opts[:fields].empty?
|
4410
|
+
|
4411
|
+
# Header Params
|
4412
|
+
header_params = {}
|
4413
|
+
header_params[:accept] = 'application/json'
|
4414
|
+
header_params[:'content-type'] = 'application/json'
|
4415
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
4416
|
+
# rubocop:enable Style/NegatedIf
|
4417
|
+
|
4418
|
+
post_body = nil
|
4419
|
+
|
4420
|
+
# rubocop:disable Metrics/BlockLength
|
4421
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#get_job_log') do
|
4422
|
+
@api_client.call_api(
|
4423
|
+
:GET,
|
4424
|
+
path,
|
4425
|
+
endpoint,
|
4426
|
+
header_params: header_params,
|
4427
|
+
query_params: query_params,
|
4428
|
+
operation_signing_strategy: operation_signing_strategy,
|
4429
|
+
body: post_body,
|
4430
|
+
return_type: 'OCI::DataCatalog::Models::JobLog'
|
4431
|
+
)
|
4432
|
+
end
|
4433
|
+
# rubocop:enable Metrics/BlockLength
|
4434
|
+
end
|
4435
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
4436
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
4437
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
4438
|
+
|
4439
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
4440
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
4441
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
4442
|
+
|
4443
|
+
|
4444
|
+
# Gets a specific job metric by key.
|
4445
|
+
# @param [String] catalog_id Unique catalog identifier.
|
4446
|
+
# @param [String] job_key Unique job key.
|
4447
|
+
# @param [String] job_execution_key The key of the job execution.
|
4448
|
+
# @param [String] job_metrics_key Unique job metrics key.
|
4449
|
+
# @param [Hash] opts the optional parameters
|
4450
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
4451
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
4452
|
+
# @option opts [Array<String>] :fields Specifies the fields to return in a job metric response.
|
4453
|
+
#
|
4454
|
+
# Allowed values are: key, description, displayName, timeInserted, category, subCategory, unit, value, batchKey, jobExecutionKey, createdById, updatedById, timeUpdated, timeCreated, uri
|
4455
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
4456
|
+
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::JobMetric JobMetric}
|
4457
|
+
def get_job_metrics(catalog_id, job_key, job_execution_key, job_metrics_key, opts = {})
|
4458
|
+
logger.debug 'Calling operation DataCatalogClient#get_job_metrics.' if logger
|
4459
|
+
|
4460
|
+
raise "Missing the required parameter 'catalog_id' when calling get_job_metrics." if catalog_id.nil?
|
4461
|
+
raise "Missing the required parameter 'job_key' when calling get_job_metrics." if job_key.nil?
|
4462
|
+
raise "Missing the required parameter 'job_execution_key' when calling get_job_metrics." if job_execution_key.nil?
|
4463
|
+
raise "Missing the required parameter 'job_metrics_key' when calling get_job_metrics." if job_metrics_key.nil?
|
4464
|
+
|
4465
|
+
|
4466
|
+
fields_allowable_values = %w[key description displayName timeInserted category subCategory unit value batchKey jobExecutionKey createdById updatedById timeUpdated timeCreated uri]
|
4467
|
+
if opts[:fields] && !opts[:fields].empty?
|
4468
|
+
opts[:fields].each do |val_to_check|
|
4469
|
+
unless fields_allowable_values.include?(val_to_check)
|
4470
|
+
raise 'Invalid value for "fields", must be one of key, description, displayName, timeInserted, category, subCategory, unit, value, batchKey, jobExecutionKey, createdById, updatedById, timeUpdated, timeCreated, uri.'
|
4471
|
+
end
|
4472
|
+
end
|
4473
|
+
end
|
4474
|
+
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
4475
|
+
raise "Parameter value for 'job_key' must not be blank" if OCI::Internal::Util.blank_string?(job_key)
|
4476
|
+
raise "Parameter value for 'job_execution_key' must not be blank" if OCI::Internal::Util.blank_string?(job_execution_key)
|
4477
|
+
raise "Parameter value for 'job_metrics_key' must not be blank" if OCI::Internal::Util.blank_string?(job_metrics_key)
|
4478
|
+
|
4479
|
+
path = '/catalogs/{catalogId}/jobs/{jobKey}/executions/{jobExecutionKey}/metrics/{jobMetricsKey}'.sub('{catalogId}', catalog_id.to_s).sub('{jobKey}', job_key.to_s).sub('{jobExecutionKey}', job_execution_key.to_s).sub('{jobMetricsKey}', job_metrics_key.to_s)
|
4480
|
+
operation_signing_strategy = :standard
|
4481
|
+
|
4482
|
+
# rubocop:disable Style/NegatedIf
|
4483
|
+
# Query Params
|
4484
|
+
query_params = {}
|
4485
|
+
query_params[:fields] = OCI::ApiClient.build_collection_params(opts[:fields], :multi) if opts[:fields] && !opts[:fields].empty?
|
4486
|
+
|
4487
|
+
# Header Params
|
4488
|
+
header_params = {}
|
4489
|
+
header_params[:accept] = 'application/json'
|
4490
|
+
header_params[:'content-type'] = 'application/json'
|
4491
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
4492
|
+
# rubocop:enable Style/NegatedIf
|
4493
|
+
|
4494
|
+
post_body = nil
|
4495
|
+
|
4496
|
+
# rubocop:disable Metrics/BlockLength
|
4497
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#get_job_metrics') do
|
4498
|
+
@api_client.call_api(
|
4499
|
+
:GET,
|
4500
|
+
path,
|
4501
|
+
endpoint,
|
4502
|
+
header_params: header_params,
|
4503
|
+
query_params: query_params,
|
4504
|
+
operation_signing_strategy: operation_signing_strategy,
|
4505
|
+
body: post_body,
|
4506
|
+
return_type: 'OCI::DataCatalog::Models::JobMetric'
|
4507
|
+
)
|
4508
|
+
end
|
4509
|
+
# rubocop:enable Metrics/BlockLength
|
4510
|
+
end
|
4511
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
4512
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
4513
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
4514
|
+
|
4515
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
4516
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
4517
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
4518
|
+
|
4519
|
+
|
4520
|
+
# Gets a specific namespace for the given key within a data catalog.
|
4521
|
+
# @param [String] catalog_id Unique catalog identifier.
|
4522
|
+
# @param [String] namespace_id Unique namespace identifier.
|
4523
|
+
# @param [Hash] opts the optional parameters
|
4524
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
4525
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
4526
|
+
# @option opts [Array<String>] :fields Specifies the fields to return in a namespace response.
|
4527
|
+
#
|
4528
|
+
# Allowed values are: key, displayName, description, lifecycleState, timeCreated, timeUpdated, createdById, updatedById, properties
|
4529
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
4530
|
+
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::Namespace Namespace}
|
4531
|
+
def get_namespace(catalog_id, namespace_id, opts = {})
|
4532
|
+
logger.debug 'Calling operation DataCatalogClient#get_namespace.' if logger
|
4533
|
+
|
4534
|
+
raise "Missing the required parameter 'catalog_id' when calling get_namespace." if catalog_id.nil?
|
4535
|
+
raise "Missing the required parameter 'namespace_id' when calling get_namespace." if namespace_id.nil?
|
4536
|
+
|
4537
|
+
|
4538
|
+
fields_allowable_values = %w[key displayName description lifecycleState timeCreated timeUpdated createdById updatedById properties]
|
4539
|
+
if opts[:fields] && !opts[:fields].empty?
|
4540
|
+
opts[:fields].each do |val_to_check|
|
4541
|
+
unless fields_allowable_values.include?(val_to_check)
|
4542
|
+
raise 'Invalid value for "fields", must be one of key, displayName, description, lifecycleState, timeCreated, timeUpdated, createdById, updatedById, properties.'
|
4543
|
+
end
|
4544
|
+
end
|
4545
|
+
end
|
4546
|
+
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
4547
|
+
raise "Parameter value for 'namespace_id' must not be blank" if OCI::Internal::Util.blank_string?(namespace_id)
|
4548
|
+
|
4549
|
+
path = '/catalogs/{catalogId}/namespaces/{namespaceId}'.sub('{catalogId}', catalog_id.to_s).sub('{namespaceId}', namespace_id.to_s)
|
3727
4550
|
operation_signing_strategy = :standard
|
3728
4551
|
|
3729
4552
|
# rubocop:disable Style/NegatedIf
|
@@ -3741,7 +4564,7 @@ module OCI
|
|
3741
4564
|
post_body = nil
|
3742
4565
|
|
3743
4566
|
# rubocop:disable Metrics/BlockLength
|
3744
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#
|
4567
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#get_namespace') do
|
3745
4568
|
@api_client.call_api(
|
3746
4569
|
:GET,
|
3747
4570
|
path,
|
@@ -3750,7 +4573,7 @@ module OCI
|
|
3750
4573
|
query_params: query_params,
|
3751
4574
|
operation_signing_strategy: operation_signing_strategy,
|
3752
4575
|
body: post_body,
|
3753
|
-
return_type: 'OCI::DataCatalog::Models::
|
4576
|
+
return_type: 'OCI::DataCatalog::Models::Namespace'
|
3754
4577
|
)
|
3755
4578
|
end
|
3756
4579
|
# rubocop:enable Metrics/BlockLength
|
@@ -3764,42 +4587,36 @@ module OCI
|
|
3764
4587
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3765
4588
|
|
3766
4589
|
|
3767
|
-
# Gets a specific
|
4590
|
+
# Gets a specific pattern for the given key within a data catalog.
|
3768
4591
|
# @param [String] catalog_id Unique catalog identifier.
|
3769
|
-
# @param [String]
|
3770
|
-
# @param [String] job_execution_key The key of the job execution.
|
3771
|
-
# @param [String] job_metrics_key Unique job metrics key.
|
4592
|
+
# @param [String] pattern_key Unique pattern key.
|
3772
4593
|
# @param [Hash] opts the optional parameters
|
3773
4594
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3774
4595
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3775
|
-
# @option opts [Array<String>] :fields Specifies the fields to return in a
|
4596
|
+
# @option opts [Array<String>] :fields Specifies the fields to return in a pattern response.
|
3776
4597
|
#
|
3777
|
-
# Allowed values are: key,
|
4598
|
+
# Allowed values are: key, displayName, description, catalogId, expression, lifecycleState, timeCreated, timeUpdated, createdById, updatedById, properties
|
3778
4599
|
# @option opts [String] :opc_request_id The client request ID for tracing.
|
3779
|
-
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::
|
3780
|
-
def
|
3781
|
-
logger.debug 'Calling operation DataCatalogClient#
|
4600
|
+
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::Pattern Pattern}
|
4601
|
+
def get_pattern(catalog_id, pattern_key, opts = {})
|
4602
|
+
logger.debug 'Calling operation DataCatalogClient#get_pattern.' if logger
|
3782
4603
|
|
3783
|
-
raise "Missing the required parameter 'catalog_id' when calling
|
3784
|
-
raise "Missing the required parameter '
|
3785
|
-
raise "Missing the required parameter 'job_execution_key' when calling get_job_metrics." if job_execution_key.nil?
|
3786
|
-
raise "Missing the required parameter 'job_metrics_key' when calling get_job_metrics." if job_metrics_key.nil?
|
4604
|
+
raise "Missing the required parameter 'catalog_id' when calling get_pattern." if catalog_id.nil?
|
4605
|
+
raise "Missing the required parameter 'pattern_key' when calling get_pattern." if pattern_key.nil?
|
3787
4606
|
|
3788
4607
|
|
3789
|
-
fields_allowable_values = %w[key
|
4608
|
+
fields_allowable_values = %w[key displayName description catalogId expression lifecycleState timeCreated timeUpdated createdById updatedById properties]
|
3790
4609
|
if opts[:fields] && !opts[:fields].empty?
|
3791
4610
|
opts[:fields].each do |val_to_check|
|
3792
4611
|
unless fields_allowable_values.include?(val_to_check)
|
3793
|
-
raise 'Invalid value for "fields", must be one of key,
|
4612
|
+
raise 'Invalid value for "fields", must be one of key, displayName, description, catalogId, expression, lifecycleState, timeCreated, timeUpdated, createdById, updatedById, properties.'
|
3794
4613
|
end
|
3795
4614
|
end
|
3796
4615
|
end
|
3797
4616
|
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
3798
|
-
raise "Parameter value for '
|
3799
|
-
raise "Parameter value for 'job_execution_key' must not be blank" if OCI::Internal::Util.blank_string?(job_execution_key)
|
3800
|
-
raise "Parameter value for 'job_metrics_key' must not be blank" if OCI::Internal::Util.blank_string?(job_metrics_key)
|
4617
|
+
raise "Parameter value for 'pattern_key' must not be blank" if OCI::Internal::Util.blank_string?(pattern_key)
|
3801
4618
|
|
3802
|
-
path = '/catalogs/{catalogId}/
|
4619
|
+
path = '/catalogs/{catalogId}/patterns/{patternKey}'.sub('{catalogId}', catalog_id.to_s).sub('{patternKey}', pattern_key.to_s)
|
3803
4620
|
operation_signing_strategy = :standard
|
3804
4621
|
|
3805
4622
|
# rubocop:disable Style/NegatedIf
|
@@ -3817,7 +4634,7 @@ module OCI
|
|
3817
4634
|
post_body = nil
|
3818
4635
|
|
3819
4636
|
# rubocop:disable Metrics/BlockLength
|
3820
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#
|
4637
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#get_pattern') do
|
3821
4638
|
@api_client.call_api(
|
3822
4639
|
:GET,
|
3823
4640
|
path,
|
@@ -3826,7 +4643,7 @@ module OCI
|
|
3826
4643
|
query_params: query_params,
|
3827
4644
|
operation_signing_strategy: operation_signing_strategy,
|
3828
4645
|
body: post_body,
|
3829
|
-
return_type: 'OCI::DataCatalog::Models::
|
4646
|
+
return_type: 'OCI::DataCatalog::Models::Pattern'
|
3830
4647
|
)
|
3831
4648
|
end
|
3832
4649
|
# rubocop:enable Metrics/BlockLength
|
@@ -4252,6 +5069,79 @@ module OCI
|
|
4252
5069
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
4253
5070
|
|
4254
5071
|
|
5072
|
+
# List the physical entities aggregated by this logical entity.
|
5073
|
+
# @param [String] catalog_id Unique catalog identifier.
|
5074
|
+
# @param [String] data_asset_key Unique data asset key.
|
5075
|
+
# @param [String] entity_key Unique entity key.
|
5076
|
+
# @param [Hash] opts the optional parameters
|
5077
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
5078
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
5079
|
+
# @option opts [Array<String>] :fields Specifies the fields to return in an entity response.
|
5080
|
+
#
|
5081
|
+
# Allowed values are: key, displayName, description, dataAssetKey, timeCreated, timeUpdated, createdById, updatedById, lifecycleState, externalKey, timeExternal, timeStatusUpdated, isLogical, isPartition, folderKey, folderName, typeKey, path, harvestStatus, lastJobKey, uri, properties
|
5082
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
5083
|
+
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::EntityCollection EntityCollection}
|
5084
|
+
def list_aggregated_physical_entities(catalog_id, data_asset_key, entity_key, opts = {})
|
5085
|
+
logger.debug 'Calling operation DataCatalogClient#list_aggregated_physical_entities.' if logger
|
5086
|
+
|
5087
|
+
raise "Missing the required parameter 'catalog_id' when calling list_aggregated_physical_entities." if catalog_id.nil?
|
5088
|
+
raise "Missing the required parameter 'data_asset_key' when calling list_aggregated_physical_entities." if data_asset_key.nil?
|
5089
|
+
raise "Missing the required parameter 'entity_key' when calling list_aggregated_physical_entities." if entity_key.nil?
|
5090
|
+
|
5091
|
+
|
5092
|
+
fields_allowable_values = %w[key displayName description dataAssetKey timeCreated timeUpdated createdById updatedById lifecycleState externalKey timeExternal timeStatusUpdated isLogical isPartition folderKey folderName typeKey path harvestStatus lastJobKey uri properties]
|
5093
|
+
if opts[:fields] && !opts[:fields].empty?
|
5094
|
+
opts[:fields].each do |val_to_check|
|
5095
|
+
unless fields_allowable_values.include?(val_to_check)
|
5096
|
+
raise 'Invalid value for "fields", must be one of key, displayName, description, dataAssetKey, timeCreated, timeUpdated, createdById, updatedById, lifecycleState, externalKey, timeExternal, timeStatusUpdated, isLogical, isPartition, folderKey, folderName, typeKey, path, harvestStatus, lastJobKey, uri, properties.'
|
5097
|
+
end
|
5098
|
+
end
|
5099
|
+
end
|
5100
|
+
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
5101
|
+
raise "Parameter value for 'data_asset_key' must not be blank" if OCI::Internal::Util.blank_string?(data_asset_key)
|
5102
|
+
raise "Parameter value for 'entity_key' must not be blank" if OCI::Internal::Util.blank_string?(entity_key)
|
5103
|
+
|
5104
|
+
path = '/catalogs/{catalogId}/dataAssets/{dataAssetKey}/entities/{entityKey}/actions/listAggregatedPhysicalEntities'.sub('{catalogId}', catalog_id.to_s).sub('{dataAssetKey}', data_asset_key.to_s).sub('{entityKey}', entity_key.to_s)
|
5105
|
+
operation_signing_strategy = :standard
|
5106
|
+
|
5107
|
+
# rubocop:disable Style/NegatedIf
|
5108
|
+
# Query Params
|
5109
|
+
query_params = {}
|
5110
|
+
query_params[:fields] = OCI::ApiClient.build_collection_params(opts[:fields], :multi) if opts[:fields] && !opts[:fields].empty?
|
5111
|
+
|
5112
|
+
# Header Params
|
5113
|
+
header_params = {}
|
5114
|
+
header_params[:accept] = 'application/json'
|
5115
|
+
header_params[:'content-type'] = 'application/json'
|
5116
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
5117
|
+
# rubocop:enable Style/NegatedIf
|
5118
|
+
|
5119
|
+
post_body = nil
|
5120
|
+
|
5121
|
+
# rubocop:disable Metrics/BlockLength
|
5122
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#list_aggregated_physical_entities') do
|
5123
|
+
@api_client.call_api(
|
5124
|
+
:POST,
|
5125
|
+
path,
|
5126
|
+
endpoint,
|
5127
|
+
header_params: header_params,
|
5128
|
+
query_params: query_params,
|
5129
|
+
operation_signing_strategy: operation_signing_strategy,
|
5130
|
+
body: post_body,
|
5131
|
+
return_type: 'OCI::DataCatalog::Models::EntityCollection'
|
5132
|
+
)
|
5133
|
+
end
|
5134
|
+
# rubocop:enable Metrics/BlockLength
|
5135
|
+
end
|
5136
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
5137
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
5138
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
5139
|
+
|
5140
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
5141
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
5142
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
5143
|
+
|
5144
|
+
|
4255
5145
|
# Returns a list of all tags for an entity attribute.
|
4256
5146
|
# @param [String] catalog_id Unique catalog identifier.
|
4257
5147
|
# @param [String] data_asset_key Unique data asset key.
|
@@ -4772,6 +5662,143 @@ module OCI
|
|
4772
5662
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
4773
5663
|
|
4774
5664
|
|
5665
|
+
# Returns a list of custom properties within a data catalog.
|
5666
|
+
# @param [String] catalog_id Unique catalog identifier.
|
5667
|
+
# @param [String] namespace_id Unique namespace identifier.
|
5668
|
+
# @param [Hash] opts the optional parameters
|
5669
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
5670
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
5671
|
+
# @option opts [String] :display_name A filter to return only resources that match the entire display name given. The match is not case sensitive.
|
5672
|
+
# @option opts [String] :display_name_contains A filter to return only resources that match display name pattern given. The match is not case sensitive.
|
5673
|
+
# For Example : /folders?displayNameContains=Cu.*
|
5674
|
+
# The above would match all folders with display name that starts with \"Cu\".
|
5675
|
+
#
|
5676
|
+
# @option opts [Array<String>] :data_types Return the custom properties which has specified data types
|
5677
|
+
#
|
5678
|
+
# Allowed values are: TEXT, RICH_TEXT, BOOLEAN, NUMBER, DATE
|
5679
|
+
# @option opts [Array<String>] :type_name A filter to return only resources that match the entire type name given. The match is not case sensitive
|
5680
|
+
# Allowed values are: DATA_ASSET, AUTONOMOUS_DATA_WAREHOUSE, HIVE, KAFKA, MYSQL, ORACLE_OBJECT_STORAGE, AUTONOMOUS_TRANSACTION_PROCESSING, ORACLE, POSTGRESQL, MICROSOFT_AZURE_SQL_DATABASE, MICROSOFT_SQL_SERVER, IBM_DB2, DATA_ENTITY, LOGICAL_ENTITY, TABLE, VIEW, ATTRIBUTE, FOLDER, CONNECTION, GLOSSARY, TERM, CATEGORY, FILE, BUCKET
|
5681
|
+
# @option opts [String] :lifecycle_state A filter to return only resources that match the specified lifecycle state. The value is case insensitive.
|
5682
|
+
# @option opts [DateTime] :time_created Time that the resource was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string.
|
5683
|
+
# @option opts [DateTime] :time_updated Time that the resource was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string.
|
5684
|
+
# @option opts [String] :created_by_id OCID of the user who created the resource.
|
5685
|
+
# @option opts [String] :updated_by_id OCID of the user who updated the resource.
|
5686
|
+
# @option opts [Array<String>] :fields Specifies the fields to return in a custom property summary response.
|
5687
|
+
#
|
5688
|
+
# Allowed values are: key, displayName, description, dataType, namespaceName, lifecycleState, timeCreated
|
5689
|
+
# @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'.
|
5690
|
+
# Allowed values are: ASC, DESC
|
5691
|
+
# @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for USAGECOUNT and DISPLAYNAME is Ascending
|
5692
|
+
#
|
5693
|
+
# Allowed values are: DISPLAYNAME, USAGECOUNT
|
5694
|
+
# @option opts [Integer] :limit The maximum number of items to return.
|
5695
|
+
# @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
|
5696
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
5697
|
+
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::CustomPropertyCollection CustomPropertyCollection}
|
5698
|
+
def list_custom_properties(catalog_id, namespace_id, opts = {})
|
5699
|
+
logger.debug 'Calling operation DataCatalogClient#list_custom_properties.' if logger
|
5700
|
+
|
5701
|
+
raise "Missing the required parameter 'catalog_id' when calling list_custom_properties." if catalog_id.nil?
|
5702
|
+
raise "Missing the required parameter 'namespace_id' when calling list_custom_properties." if namespace_id.nil?
|
5703
|
+
|
5704
|
+
|
5705
|
+
data_types_allowable_values = %w[TEXT RICH_TEXT BOOLEAN NUMBER DATE]
|
5706
|
+
if opts[:data_types] && !opts[:data_types].empty?
|
5707
|
+
opts[:data_types].each do |val_to_check|
|
5708
|
+
unless data_types_allowable_values.include?(val_to_check)
|
5709
|
+
raise 'Invalid value for "data_types", must be one of TEXT, RICH_TEXT, BOOLEAN, NUMBER, DATE.'
|
5710
|
+
end
|
5711
|
+
end
|
5712
|
+
end
|
5713
|
+
|
5714
|
+
|
5715
|
+
type_name_allowable_values = %w[DATA_ASSET AUTONOMOUS_DATA_WAREHOUSE HIVE KAFKA MYSQL ORACLE_OBJECT_STORAGE AUTONOMOUS_TRANSACTION_PROCESSING ORACLE POSTGRESQL MICROSOFT_AZURE_SQL_DATABASE MICROSOFT_SQL_SERVER IBM_DB2 DATA_ENTITY LOGICAL_ENTITY TABLE VIEW ATTRIBUTE FOLDER CONNECTION GLOSSARY TERM CATEGORY FILE BUCKET]
|
5716
|
+
if opts[:type_name] && !opts[:type_name].empty?
|
5717
|
+
opts[:type_name].each do |val_to_check|
|
5718
|
+
unless type_name_allowable_values.include?(val_to_check)
|
5719
|
+
raise 'Invalid value for "type_name", must be one of DATA_ASSET, AUTONOMOUS_DATA_WAREHOUSE, HIVE, KAFKA, MYSQL, ORACLE_OBJECT_STORAGE, AUTONOMOUS_TRANSACTION_PROCESSING, ORACLE, POSTGRESQL, MICROSOFT_AZURE_SQL_DATABASE, MICROSOFT_SQL_SERVER, IBM_DB2, DATA_ENTITY, LOGICAL_ENTITY, TABLE, VIEW, ATTRIBUTE, FOLDER, CONNECTION, GLOSSARY, TERM, CATEGORY, FILE, BUCKET.'
|
5720
|
+
end
|
5721
|
+
end
|
5722
|
+
end
|
5723
|
+
|
5724
|
+
if opts[:lifecycle_state] && !OCI::DataCatalog::Models::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
5725
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::DataCatalog::Models::LIFECYCLE_STATE_ENUM.'
|
5726
|
+
end
|
5727
|
+
|
5728
|
+
|
5729
|
+
fields_allowable_values = %w[key displayName description dataType namespaceName lifecycleState timeCreated]
|
5730
|
+
if opts[:fields] && !opts[:fields].empty?
|
5731
|
+
opts[:fields].each do |val_to_check|
|
5732
|
+
unless fields_allowable_values.include?(val_to_check)
|
5733
|
+
raise 'Invalid value for "fields", must be one of key, displayName, description, dataType, namespaceName, lifecycleState, timeCreated.'
|
5734
|
+
end
|
5735
|
+
end
|
5736
|
+
end
|
5737
|
+
|
5738
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
5739
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
5740
|
+
end
|
5741
|
+
|
5742
|
+
if opts[:sort_by] && !%w[DISPLAYNAME USAGECOUNT].include?(opts[:sort_by])
|
5743
|
+
raise 'Invalid value for "sort_by", must be one of DISPLAYNAME, USAGECOUNT.'
|
5744
|
+
end
|
5745
|
+
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
5746
|
+
raise "Parameter value for 'namespace_id' must not be blank" if OCI::Internal::Util.blank_string?(namespace_id)
|
5747
|
+
|
5748
|
+
path = '/catalogs/{catalogId}/namespaces/{namespaceId}/customProperties'.sub('{catalogId}', catalog_id.to_s).sub('{namespaceId}', namespace_id.to_s)
|
5749
|
+
operation_signing_strategy = :standard
|
5750
|
+
|
5751
|
+
# rubocop:disable Style/NegatedIf
|
5752
|
+
# Query Params
|
5753
|
+
query_params = {}
|
5754
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
5755
|
+
query_params[:displayNameContains] = opts[:display_name_contains] if opts[:display_name_contains]
|
5756
|
+
query_params[:dataTypes] = OCI::ApiClient.build_collection_params(opts[:data_types], :multi) if opts[:data_types] && !opts[:data_types].empty?
|
5757
|
+
query_params[:typeName] = OCI::ApiClient.build_collection_params(opts[:type_name], :multi) if opts[:type_name] && !opts[:type_name].empty?
|
5758
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
5759
|
+
query_params[:timeCreated] = opts[:time_created] if opts[:time_created]
|
5760
|
+
query_params[:timeUpdated] = opts[:time_updated] if opts[:time_updated]
|
5761
|
+
query_params[:createdById] = opts[:created_by_id] if opts[:created_by_id]
|
5762
|
+
query_params[:updatedById] = opts[:updated_by_id] if opts[:updated_by_id]
|
5763
|
+
query_params[:fields] = OCI::ApiClient.build_collection_params(opts[:fields], :multi) if opts[:fields] && !opts[:fields].empty?
|
5764
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
5765
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
5766
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
5767
|
+
query_params[:page] = opts[:page] if opts[:page]
|
5768
|
+
|
5769
|
+
# Header Params
|
5770
|
+
header_params = {}
|
5771
|
+
header_params[:accept] = 'application/json'
|
5772
|
+
header_params[:'content-type'] = 'application/json'
|
5773
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
5774
|
+
# rubocop:enable Style/NegatedIf
|
5775
|
+
|
5776
|
+
post_body = nil
|
5777
|
+
|
5778
|
+
# rubocop:disable Metrics/BlockLength
|
5779
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#list_custom_properties') do
|
5780
|
+
@api_client.call_api(
|
5781
|
+
:GET,
|
5782
|
+
path,
|
5783
|
+
endpoint,
|
5784
|
+
header_params: header_params,
|
5785
|
+
query_params: query_params,
|
5786
|
+
operation_signing_strategy: operation_signing_strategy,
|
5787
|
+
body: post_body,
|
5788
|
+
return_type: 'OCI::DataCatalog::Models::CustomPropertyCollection'
|
5789
|
+
)
|
5790
|
+
end
|
5791
|
+
# rubocop:enable Metrics/BlockLength
|
5792
|
+
end
|
5793
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
5794
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
5795
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
5796
|
+
|
5797
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
5798
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
5799
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
5800
|
+
|
5801
|
+
|
4775
5802
|
# Returns a list of all tags for a data asset.
|
4776
5803
|
# @param [String] catalog_id Unique catalog identifier.
|
4777
5804
|
# @param [String] data_asset_key Unique data asset key.
|
@@ -4965,16 +5992,87 @@ module OCI
|
|
4965
5992
|
post_body = nil
|
4966
5993
|
|
4967
5994
|
# rubocop:disable Metrics/BlockLength
|
4968
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#list_data_assets') do
|
5995
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#list_data_assets') do
|
5996
|
+
@api_client.call_api(
|
5997
|
+
:GET,
|
5998
|
+
path,
|
5999
|
+
endpoint,
|
6000
|
+
header_params: header_params,
|
6001
|
+
query_params: query_params,
|
6002
|
+
operation_signing_strategy: operation_signing_strategy,
|
6003
|
+
body: post_body,
|
6004
|
+
return_type: 'OCI::DataCatalog::Models::DataAssetCollection'
|
6005
|
+
)
|
6006
|
+
end
|
6007
|
+
# rubocop:enable Metrics/BlockLength
|
6008
|
+
end
|
6009
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
6010
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
6011
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
6012
|
+
|
6013
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
6014
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
6015
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
6016
|
+
|
6017
|
+
|
6018
|
+
# List logical entities derived from this pattern.
|
6019
|
+
# @param [String] catalog_id Unique catalog identifier.
|
6020
|
+
# @param [String] pattern_key Unique pattern key.
|
6021
|
+
# @param [Hash] opts the optional parameters
|
6022
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
6023
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
6024
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
6025
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
6026
|
+
# for a resource, set the `if-match` parameter to the value of the
|
6027
|
+
# etag from a previous GET or POST response for that resource.
|
6028
|
+
# The resource will be updated or deleted only if the etag you
|
6029
|
+
# provide matches the resource's current etag value.
|
6030
|
+
#
|
6031
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
6032
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
6033
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
6034
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
6035
|
+
# might be rejected.
|
6036
|
+
#
|
6037
|
+
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::EntityCollection EntityCollection}
|
6038
|
+
def list_derived_logical_entities(catalog_id, pattern_key, opts = {})
|
6039
|
+
logger.debug 'Calling operation DataCatalogClient#list_derived_logical_entities.' if logger
|
6040
|
+
|
6041
|
+
raise "Missing the required parameter 'catalog_id' when calling list_derived_logical_entities." if catalog_id.nil?
|
6042
|
+
raise "Missing the required parameter 'pattern_key' when calling list_derived_logical_entities." if pattern_key.nil?
|
6043
|
+
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
6044
|
+
raise "Parameter value for 'pattern_key' must not be blank" if OCI::Internal::Util.blank_string?(pattern_key)
|
6045
|
+
|
6046
|
+
path = '/catalogs/{catalogId}/patterns/{patternKey}/actions/listDerivedLogicalEntities'.sub('{catalogId}', catalog_id.to_s).sub('{patternKey}', pattern_key.to_s)
|
6047
|
+
operation_signing_strategy = :standard
|
6048
|
+
|
6049
|
+
# rubocop:disable Style/NegatedIf
|
6050
|
+
# Query Params
|
6051
|
+
query_params = {}
|
6052
|
+
|
6053
|
+
# Header Params
|
6054
|
+
header_params = {}
|
6055
|
+
header_params[:accept] = 'application/json'
|
6056
|
+
header_params[:'content-type'] = 'application/json'
|
6057
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
6058
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
6059
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
6060
|
+
# rubocop:enable Style/NegatedIf
|
6061
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
6062
|
+
|
6063
|
+
post_body = nil
|
6064
|
+
|
6065
|
+
# rubocop:disable Metrics/BlockLength
|
6066
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#list_derived_logical_entities') do
|
4969
6067
|
@api_client.call_api(
|
4970
|
-
:
|
6068
|
+
:POST,
|
4971
6069
|
path,
|
4972
6070
|
endpoint,
|
4973
6071
|
header_params: header_params,
|
4974
6072
|
query_params: query_params,
|
4975
6073
|
operation_signing_strategy: operation_signing_strategy,
|
4976
6074
|
body: post_body,
|
4977
|
-
return_type: 'OCI::DataCatalog::Models::
|
6075
|
+
return_type: 'OCI::DataCatalog::Models::EntityCollection'
|
4978
6076
|
)
|
4979
6077
|
end
|
4980
6078
|
# rubocop:enable Metrics/BlockLength
|
@@ -5005,6 +6103,7 @@ module OCI
|
|
5005
6103
|
# @option opts [String] :created_by_id OCID of the user who created the resource.
|
5006
6104
|
# @option opts [String] :updated_by_id OCID of the user who updated the resource.
|
5007
6105
|
# @option opts [String] :external_key Unique external identifier of this resource in the external source system.
|
6106
|
+
# @option opts [String] :pattern_key Unique pattern key.
|
5008
6107
|
# @option opts [DateTime] :time_external Last modified timestamp of this object in the external system.
|
5009
6108
|
# @option opts [DateTime] :time_status_updated Time that the resource's status was last updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string.
|
5010
6109
|
# @option opts [BOOLEAN] :is_logical Identifies if the object is a physical object (materialized) or virtual/logical object defined on other objects.
|
@@ -5074,6 +6173,7 @@ module OCI
|
|
5074
6173
|
query_params[:createdById] = opts[:created_by_id] if opts[:created_by_id]
|
5075
6174
|
query_params[:updatedById] = opts[:updated_by_id] if opts[:updated_by_id]
|
5076
6175
|
query_params[:externalKey] = opts[:external_key] if opts[:external_key]
|
6176
|
+
query_params[:patternKey] = opts[:pattern_key] if opts[:pattern_key]
|
5077
6177
|
query_params[:timeExternal] = opts[:time_external] if opts[:time_external]
|
5078
6178
|
query_params[:timeStatusUpdated] = opts[:time_status_updated] if opts[:time_status_updated]
|
5079
6179
|
query_params[:isLogical] = opts[:is_logical] if !opts[:is_logical].nil?
|
@@ -6198,6 +7298,220 @@ module OCI
|
|
6198
7298
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
6199
7299
|
|
6200
7300
|
|
7301
|
+
# Returns a list of namespaces within a data catalog.
|
7302
|
+
# @param [String] catalog_id Unique catalog identifier.
|
7303
|
+
# @param [Hash] opts the optional parameters
|
7304
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
7305
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
7306
|
+
# @option opts [String] :display_name A filter to return only resources that match the entire display name given. The match is not case sensitive.
|
7307
|
+
# @option opts [String] :display_name_contains A filter to return only resources that match display name pattern given. The match is not case sensitive.
|
7308
|
+
# For Example : /folders?displayNameContains=Cu.*
|
7309
|
+
# The above would match all folders with display name that starts with \"Cu\".
|
7310
|
+
#
|
7311
|
+
# @option opts [String] :lifecycle_state A filter to return only resources that match the specified lifecycle state. The value is case insensitive.
|
7312
|
+
# @option opts [DateTime] :time_created Time that the resource was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string.
|
7313
|
+
# @option opts [DateTime] :time_updated Time that the resource was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string.
|
7314
|
+
# @option opts [String] :created_by_id OCID of the user who created the resource.
|
7315
|
+
# @option opts [String] :updated_by_id OCID of the user who updated the resource.
|
7316
|
+
# @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
|
7317
|
+
#
|
7318
|
+
# Allowed values are: TIMECREATED, DISPLAYNAME
|
7319
|
+
# @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'.
|
7320
|
+
# Allowed values are: ASC, DESC
|
7321
|
+
# @option opts [Array<String>] :fields Specifies the fields to return in a namespace summary response.
|
7322
|
+
#
|
7323
|
+
# Allowed values are: key, displayName, description, lifecycleState, timeCreated
|
7324
|
+
# @option opts [Integer] :limit The maximum number of items to return.
|
7325
|
+
# @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
|
7326
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
7327
|
+
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::NamespaceCollection NamespaceCollection}
|
7328
|
+
def list_namespaces(catalog_id, opts = {})
|
7329
|
+
logger.debug 'Calling operation DataCatalogClient#list_namespaces.' if logger
|
7330
|
+
|
7331
|
+
raise "Missing the required parameter 'catalog_id' when calling list_namespaces." if catalog_id.nil?
|
7332
|
+
|
7333
|
+
if opts[:lifecycle_state] && !OCI::DataCatalog::Models::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
7334
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::DataCatalog::Models::LIFECYCLE_STATE_ENUM.'
|
7335
|
+
end
|
7336
|
+
|
7337
|
+
if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
|
7338
|
+
raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
|
7339
|
+
end
|
7340
|
+
|
7341
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
7342
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
7343
|
+
end
|
7344
|
+
|
7345
|
+
|
7346
|
+
fields_allowable_values = %w[key displayName description lifecycleState timeCreated]
|
7347
|
+
if opts[:fields] && !opts[:fields].empty?
|
7348
|
+
opts[:fields].each do |val_to_check|
|
7349
|
+
unless fields_allowable_values.include?(val_to_check)
|
7350
|
+
raise 'Invalid value for "fields", must be one of key, displayName, description, lifecycleState, timeCreated.'
|
7351
|
+
end
|
7352
|
+
end
|
7353
|
+
end
|
7354
|
+
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
7355
|
+
|
7356
|
+
path = '/catalogs/{catalogId}/namespaces'.sub('{catalogId}', catalog_id.to_s)
|
7357
|
+
operation_signing_strategy = :standard
|
7358
|
+
|
7359
|
+
# rubocop:disable Style/NegatedIf
|
7360
|
+
# Query Params
|
7361
|
+
query_params = {}
|
7362
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
7363
|
+
query_params[:displayNameContains] = opts[:display_name_contains] if opts[:display_name_contains]
|
7364
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
7365
|
+
query_params[:timeCreated] = opts[:time_created] if opts[:time_created]
|
7366
|
+
query_params[:timeUpdated] = opts[:time_updated] if opts[:time_updated]
|
7367
|
+
query_params[:createdById] = opts[:created_by_id] if opts[:created_by_id]
|
7368
|
+
query_params[:updatedById] = opts[:updated_by_id] if opts[:updated_by_id]
|
7369
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
7370
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
7371
|
+
query_params[:fields] = OCI::ApiClient.build_collection_params(opts[:fields], :multi) if opts[:fields] && !opts[:fields].empty?
|
7372
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
7373
|
+
query_params[:page] = opts[:page] if opts[:page]
|
7374
|
+
|
7375
|
+
# Header Params
|
7376
|
+
header_params = {}
|
7377
|
+
header_params[:accept] = 'application/json'
|
7378
|
+
header_params[:'content-type'] = 'application/json'
|
7379
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
7380
|
+
# rubocop:enable Style/NegatedIf
|
7381
|
+
|
7382
|
+
post_body = nil
|
7383
|
+
|
7384
|
+
# rubocop:disable Metrics/BlockLength
|
7385
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#list_namespaces') do
|
7386
|
+
@api_client.call_api(
|
7387
|
+
:GET,
|
7388
|
+
path,
|
7389
|
+
endpoint,
|
7390
|
+
header_params: header_params,
|
7391
|
+
query_params: query_params,
|
7392
|
+
operation_signing_strategy: operation_signing_strategy,
|
7393
|
+
body: post_body,
|
7394
|
+
return_type: 'OCI::DataCatalog::Models::NamespaceCollection'
|
7395
|
+
)
|
7396
|
+
end
|
7397
|
+
# rubocop:enable Metrics/BlockLength
|
7398
|
+
end
|
7399
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
7400
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
7401
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
7402
|
+
|
7403
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
7404
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
7405
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
7406
|
+
|
7407
|
+
|
7408
|
+
# Returns a list of patterns within a data catalog.
|
7409
|
+
# @param [String] catalog_id Unique catalog identifier.
|
7410
|
+
# @param [Hash] opts the optional parameters
|
7411
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
7412
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
7413
|
+
# @option opts [String] :display_name A filter to return only resources that match the entire display name given. The match is not case sensitive.
|
7414
|
+
# @option opts [String] :display_name_contains A filter to return only resources that match display name pattern given. The match is not case sensitive.
|
7415
|
+
# For Example : /folders?displayNameContains=Cu.*
|
7416
|
+
# The above would match all folders with display name that starts with \"Cu\".
|
7417
|
+
#
|
7418
|
+
# @option opts [String] :lifecycle_state A filter to return only resources that match the specified lifecycle state. The value is case insensitive.
|
7419
|
+
# @option opts [DateTime] :time_created Time that the resource was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string.
|
7420
|
+
# @option opts [DateTime] :time_updated Time that the resource was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string.
|
7421
|
+
# @option opts [String] :created_by_id OCID of the user who created the resource.
|
7422
|
+
# @option opts [String] :updated_by_id OCID of the user who updated the resource.
|
7423
|
+
# @option opts [Array<String>] :fields Specifies the fields to return in a pattern summary response.
|
7424
|
+
#
|
7425
|
+
# Allowed values are: key, displayName, description, catalogId, expression, lifecycleState, timeCreated
|
7426
|
+
# @option opts [String] :sort_by The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
|
7427
|
+
#
|
7428
|
+
# Allowed values are: TIMECREATED, DISPLAYNAME
|
7429
|
+
# @option opts [String] :sort_order The sort order to use, either 'asc' or 'desc'.
|
7430
|
+
# Allowed values are: ASC, DESC
|
7431
|
+
# @option opts [Integer] :limit The maximum number of items to return.
|
7432
|
+
# @option opts [String] :page The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
|
7433
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
7434
|
+
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::PatternCollection PatternCollection}
|
7435
|
+
def list_patterns(catalog_id, opts = {})
|
7436
|
+
logger.debug 'Calling operation DataCatalogClient#list_patterns.' if logger
|
7437
|
+
|
7438
|
+
raise "Missing the required parameter 'catalog_id' when calling list_patterns." if catalog_id.nil?
|
7439
|
+
|
7440
|
+
if opts[:lifecycle_state] && !OCI::DataCatalog::Models::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
7441
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::DataCatalog::Models::LIFECYCLE_STATE_ENUM.'
|
7442
|
+
end
|
7443
|
+
|
7444
|
+
|
7445
|
+
fields_allowable_values = %w[key displayName description catalogId expression lifecycleState timeCreated]
|
7446
|
+
if opts[:fields] && !opts[:fields].empty?
|
7447
|
+
opts[:fields].each do |val_to_check|
|
7448
|
+
unless fields_allowable_values.include?(val_to_check)
|
7449
|
+
raise 'Invalid value for "fields", must be one of key, displayName, description, catalogId, expression, lifecycleState, timeCreated.'
|
7450
|
+
end
|
7451
|
+
end
|
7452
|
+
end
|
7453
|
+
|
7454
|
+
if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
|
7455
|
+
raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
|
7456
|
+
end
|
7457
|
+
|
7458
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
7459
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
7460
|
+
end
|
7461
|
+
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
7462
|
+
|
7463
|
+
path = '/catalogs/{catalogId}/patterns'.sub('{catalogId}', catalog_id.to_s)
|
7464
|
+
operation_signing_strategy = :standard
|
7465
|
+
|
7466
|
+
# rubocop:disable Style/NegatedIf
|
7467
|
+
# Query Params
|
7468
|
+
query_params = {}
|
7469
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
7470
|
+
query_params[:displayNameContains] = opts[:display_name_contains] if opts[:display_name_contains]
|
7471
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
7472
|
+
query_params[:timeCreated] = opts[:time_created] if opts[:time_created]
|
7473
|
+
query_params[:timeUpdated] = opts[:time_updated] if opts[:time_updated]
|
7474
|
+
query_params[:createdById] = opts[:created_by_id] if opts[:created_by_id]
|
7475
|
+
query_params[:updatedById] = opts[:updated_by_id] if opts[:updated_by_id]
|
7476
|
+
query_params[:fields] = OCI::ApiClient.build_collection_params(opts[:fields], :multi) if opts[:fields] && !opts[:fields].empty?
|
7477
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
7478
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
7479
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
7480
|
+
query_params[:page] = opts[:page] if opts[:page]
|
7481
|
+
|
7482
|
+
# Header Params
|
7483
|
+
header_params = {}
|
7484
|
+
header_params[:accept] = 'application/json'
|
7485
|
+
header_params[:'content-type'] = 'application/json'
|
7486
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
7487
|
+
# rubocop:enable Style/NegatedIf
|
7488
|
+
|
7489
|
+
post_body = nil
|
7490
|
+
|
7491
|
+
# rubocop:disable Metrics/BlockLength
|
7492
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#list_patterns') do
|
7493
|
+
@api_client.call_api(
|
7494
|
+
:GET,
|
7495
|
+
path,
|
7496
|
+
endpoint,
|
7497
|
+
header_params: header_params,
|
7498
|
+
query_params: query_params,
|
7499
|
+
operation_signing_strategy: operation_signing_strategy,
|
7500
|
+
body: post_body,
|
7501
|
+
return_type: 'OCI::DataCatalog::Models::PatternCollection'
|
7502
|
+
)
|
7503
|
+
end
|
7504
|
+
# rubocop:enable Metrics/BlockLength
|
7505
|
+
end
|
7506
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
7507
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
7508
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
7509
|
+
|
7510
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
7511
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
7512
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
7513
|
+
|
7514
|
+
|
6201
7515
|
# Returns a list of all user created tags in the system.
|
6202
7516
|
# @param [String] catalog_id Unique catalog identifier.
|
6203
7517
|
# @param [Hash] opts the optional parameters
|
@@ -6847,33 +8161,101 @@ module OCI
|
|
6847
8161
|
raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
|
6848
8162
|
end
|
6849
8163
|
|
6850
|
-
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
6851
|
-
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
6852
|
-
end
|
8164
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
8165
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
8166
|
+
end
|
8167
|
+
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
8168
|
+
|
8169
|
+
path = '/catalogs/{catalogId}/actions/objectStats'.sub('{catalogId}', catalog_id.to_s)
|
8170
|
+
operation_signing_strategy = :standard
|
8171
|
+
|
8172
|
+
# rubocop:disable Style/NegatedIf
|
8173
|
+
# Query Params
|
8174
|
+
query_params = {}
|
8175
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
8176
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
8177
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
8178
|
+
query_params[:page] = opts[:page] if opts[:page]
|
8179
|
+
|
8180
|
+
# Header Params
|
8181
|
+
header_params = {}
|
8182
|
+
header_params[:accept] = 'application/json'
|
8183
|
+
header_params[:'content-type'] = 'application/json'
|
8184
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
8185
|
+
# rubocop:enable Style/NegatedIf
|
8186
|
+
|
8187
|
+
post_body = nil
|
8188
|
+
|
8189
|
+
# rubocop:disable Metrics/BlockLength
|
8190
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#object_stats') do
|
8191
|
+
@api_client.call_api(
|
8192
|
+
:POST,
|
8193
|
+
path,
|
8194
|
+
endpoint,
|
8195
|
+
header_params: header_params,
|
8196
|
+
query_params: query_params,
|
8197
|
+
operation_signing_strategy: operation_signing_strategy,
|
8198
|
+
body: post_body,
|
8199
|
+
return_type: 'String'
|
8200
|
+
)
|
8201
|
+
end
|
8202
|
+
# rubocop:enable Metrics/BlockLength
|
8203
|
+
end
|
8204
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
8205
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
8206
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
8207
|
+
|
8208
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
8209
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
8210
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
8211
|
+
|
8212
|
+
|
8213
|
+
# Parse data asset references through connections from this data asset.
|
8214
|
+
# @param [String] catalog_id Unique catalog identifier.
|
8215
|
+
# @param [String] data_asset_key Unique data asset key.
|
8216
|
+
# @param [OCI::DataCatalog::Models::ParseConnectionDetails] parse_connection_details The information used to parse the connections from payload or connection detail.
|
8217
|
+
# @param [Hash] opts the optional parameters
|
8218
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
8219
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
8220
|
+
# @option opts [String] :connection_key Unique connection key.
|
8221
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
8222
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
8223
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
8224
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
8225
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
8226
|
+
# might be rejected.
|
8227
|
+
#
|
8228
|
+
# @return [Response] A Response object with data of type Array<{OCI::DataCatalog::Models::ConnectionAliasSummary ConnectionAliasSummary}>
|
8229
|
+
def parse_connection(catalog_id, data_asset_key, parse_connection_details, opts = {})
|
8230
|
+
logger.debug 'Calling operation DataCatalogClient#parse_connection.' if logger
|
8231
|
+
|
8232
|
+
raise "Missing the required parameter 'catalog_id' when calling parse_connection." if catalog_id.nil?
|
8233
|
+
raise "Missing the required parameter 'data_asset_key' when calling parse_connection." if data_asset_key.nil?
|
8234
|
+
raise "Missing the required parameter 'parse_connection_details' when calling parse_connection." if parse_connection_details.nil?
|
6853
8235
|
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
8236
|
+
raise "Parameter value for 'data_asset_key' must not be blank" if OCI::Internal::Util.blank_string?(data_asset_key)
|
6854
8237
|
|
6855
|
-
path = '/catalogs/{catalogId}/actions/
|
8238
|
+
path = '/catalogs/{catalogId}/dataAssets/{dataAssetKey}/actions/parseConnection'.sub('{catalogId}', catalog_id.to_s).sub('{dataAssetKey}', data_asset_key.to_s)
|
6856
8239
|
operation_signing_strategy = :standard
|
6857
8240
|
|
6858
8241
|
# rubocop:disable Style/NegatedIf
|
6859
8242
|
# Query Params
|
6860
8243
|
query_params = {}
|
6861
|
-
query_params[:
|
6862
|
-
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
6863
|
-
query_params[:limit] = opts[:limit] if opts[:limit]
|
6864
|
-
query_params[:page] = opts[:page] if opts[:page]
|
8244
|
+
query_params[:connectionKey] = opts[:connection_key] if opts[:connection_key]
|
6865
8245
|
|
6866
8246
|
# Header Params
|
6867
8247
|
header_params = {}
|
6868
8248
|
header_params[:accept] = 'application/json'
|
6869
8249
|
header_params[:'content-type'] = 'application/json'
|
6870
8250
|
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
8251
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
6871
8252
|
# rubocop:enable Style/NegatedIf
|
8253
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
6872
8254
|
|
6873
|
-
post_body =
|
8255
|
+
post_body = @api_client.object_to_http_body(parse_connection_details)
|
6874
8256
|
|
6875
8257
|
# rubocop:disable Metrics/BlockLength
|
6876
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#
|
8258
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#parse_connection') do
|
6877
8259
|
@api_client.call_api(
|
6878
8260
|
:POST,
|
6879
8261
|
path,
|
@@ -6882,7 +8264,7 @@ module OCI
|
|
6882
8264
|
query_params: query_params,
|
6883
8265
|
operation_signing_strategy: operation_signing_strategy,
|
6884
8266
|
body: post_body,
|
6885
|
-
return_type: '
|
8267
|
+
return_type: 'Array<OCI::DataCatalog::Models::ConnectionAliasSummary>'
|
6886
8268
|
)
|
6887
8269
|
end
|
6888
8270
|
# rubocop:enable Metrics/BlockLength
|
@@ -6896,52 +8278,57 @@ module OCI
|
|
6896
8278
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
6897
8279
|
|
6898
8280
|
|
6899
|
-
#
|
8281
|
+
# Remove data selector pattern from the data asset.
|
6900
8282
|
# @param [String] catalog_id Unique catalog identifier.
|
6901
8283
|
# @param [String] data_asset_key Unique data asset key.
|
6902
|
-
# @param [OCI::DataCatalog::Models::
|
8284
|
+
# @param [OCI::DataCatalog::Models::DataSelectorPatternDetails] data_selector_pattern_details The information used to remove the data selector patterns.
|
6903
8285
|
# @param [Hash] opts the optional parameters
|
6904
8286
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
6905
8287
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
6906
|
-
# @option opts [String] :connection_key Unique connection key.
|
6907
8288
|
# @option opts [String] :opc_request_id The client request ID for tracing.
|
8289
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
8290
|
+
# for a resource, set the `if-match` parameter to the value of the
|
8291
|
+
# etag from a previous GET or POST response for that resource.
|
8292
|
+
# The resource will be updated or deleted only if the etag you
|
8293
|
+
# provide matches the resource's current etag value.
|
8294
|
+
#
|
6908
8295
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
6909
8296
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
6910
8297
|
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
6911
8298
|
# has been deleted and purged from the system, then a retry of the original creation request
|
6912
8299
|
# might be rejected.
|
6913
8300
|
#
|
6914
|
-
# @return [Response] A Response object with data of type
|
6915
|
-
def
|
6916
|
-
logger.debug 'Calling operation DataCatalogClient#
|
8301
|
+
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::DataAsset DataAsset}
|
8302
|
+
def remove_data_selector_patterns(catalog_id, data_asset_key, data_selector_pattern_details, opts = {})
|
8303
|
+
logger.debug 'Calling operation DataCatalogClient#remove_data_selector_patterns.' if logger
|
6917
8304
|
|
6918
|
-
raise "Missing the required parameter 'catalog_id' when calling
|
6919
|
-
raise "Missing the required parameter 'data_asset_key' when calling
|
6920
|
-
raise "Missing the required parameter '
|
8305
|
+
raise "Missing the required parameter 'catalog_id' when calling remove_data_selector_patterns." if catalog_id.nil?
|
8306
|
+
raise "Missing the required parameter 'data_asset_key' when calling remove_data_selector_patterns." if data_asset_key.nil?
|
8307
|
+
raise "Missing the required parameter 'data_selector_pattern_details' when calling remove_data_selector_patterns." if data_selector_pattern_details.nil?
|
6921
8308
|
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
6922
8309
|
raise "Parameter value for 'data_asset_key' must not be blank" if OCI::Internal::Util.blank_string?(data_asset_key)
|
6923
8310
|
|
6924
|
-
path = '/catalogs/{catalogId}/dataAssets/{dataAssetKey}/actions/
|
8311
|
+
path = '/catalogs/{catalogId}/dataAssets/{dataAssetKey}/actions/removeDataSelectorPatterns'.sub('{catalogId}', catalog_id.to_s).sub('{dataAssetKey}', data_asset_key.to_s)
|
6925
8312
|
operation_signing_strategy = :standard
|
6926
8313
|
|
6927
8314
|
# rubocop:disable Style/NegatedIf
|
6928
8315
|
# Query Params
|
6929
8316
|
query_params = {}
|
6930
|
-
query_params[:connectionKey] = opts[:connection_key] if opts[:connection_key]
|
6931
8317
|
|
6932
8318
|
# Header Params
|
6933
8319
|
header_params = {}
|
6934
8320
|
header_params[:accept] = 'application/json'
|
6935
8321
|
header_params[:'content-type'] = 'application/json'
|
6936
8322
|
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
8323
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
6937
8324
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
6938
8325
|
# rubocop:enable Style/NegatedIf
|
6939
8326
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
6940
8327
|
|
6941
|
-
post_body = @api_client.object_to_http_body(
|
8328
|
+
post_body = @api_client.object_to_http_body(data_selector_pattern_details)
|
6942
8329
|
|
6943
8330
|
# rubocop:disable Metrics/BlockLength
|
6944
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#
|
8331
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#remove_data_selector_patterns') do
|
6945
8332
|
@api_client.call_api(
|
6946
8333
|
:POST,
|
6947
8334
|
path,
|
@@ -6950,7 +8337,7 @@ module OCI
|
|
6950
8337
|
query_params: query_params,
|
6951
8338
|
operation_signing_strategy: operation_signing_strategy,
|
6952
8339
|
body: post_body,
|
6953
|
-
return_type: '
|
8340
|
+
return_type: 'OCI::DataCatalog::Models::DataAsset'
|
6954
8341
|
)
|
6955
8342
|
end
|
6956
8343
|
# rubocop:enable Metrics/BlockLength
|
@@ -7381,6 +8768,74 @@ module OCI
|
|
7381
8768
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
7382
8769
|
|
7383
8770
|
|
8771
|
+
# Updates a specific custom property identified by the given key.
|
8772
|
+
# @param [String] catalog_id Unique catalog identifier.
|
8773
|
+
# @param [String] namespace_id Unique namespace identifier.
|
8774
|
+
# @param [String] custom_property_key Unique Custom Property key
|
8775
|
+
# @param [OCI::DataCatalog::Models::UpdateCustomPropertyDetails] update_custom_property_details The information to be updated in the custom property.
|
8776
|
+
# @param [Hash] opts the optional parameters
|
8777
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
8778
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
8779
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
8780
|
+
# for a resource, set the `if-match` parameter to the value of the
|
8781
|
+
# etag from a previous GET or POST response for that resource.
|
8782
|
+
# The resource will be updated or deleted only if the etag you
|
8783
|
+
# provide matches the resource's current etag value.
|
8784
|
+
#
|
8785
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
8786
|
+
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::CustomProperty CustomProperty}
|
8787
|
+
def update_custom_property(catalog_id, namespace_id, custom_property_key, update_custom_property_details, opts = {})
|
8788
|
+
logger.debug 'Calling operation DataCatalogClient#update_custom_property.' if logger
|
8789
|
+
|
8790
|
+
raise "Missing the required parameter 'catalog_id' when calling update_custom_property." if catalog_id.nil?
|
8791
|
+
raise "Missing the required parameter 'namespace_id' when calling update_custom_property." if namespace_id.nil?
|
8792
|
+
raise "Missing the required parameter 'custom_property_key' when calling update_custom_property." if custom_property_key.nil?
|
8793
|
+
raise "Missing the required parameter 'update_custom_property_details' when calling update_custom_property." if update_custom_property_details.nil?
|
8794
|
+
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
8795
|
+
raise "Parameter value for 'namespace_id' must not be blank" if OCI::Internal::Util.blank_string?(namespace_id)
|
8796
|
+
raise "Parameter value for 'custom_property_key' must not be blank" if OCI::Internal::Util.blank_string?(custom_property_key)
|
8797
|
+
|
8798
|
+
path = '/catalogs/{catalogId}/namespaces/{namespaceId}/customProperties/{customPropertyKey}'.sub('{catalogId}', catalog_id.to_s).sub('{namespaceId}', namespace_id.to_s).sub('{customPropertyKey}', custom_property_key.to_s)
|
8799
|
+
operation_signing_strategy = :standard
|
8800
|
+
|
8801
|
+
# rubocop:disable Style/NegatedIf
|
8802
|
+
# Query Params
|
8803
|
+
query_params = {}
|
8804
|
+
|
8805
|
+
# Header Params
|
8806
|
+
header_params = {}
|
8807
|
+
header_params[:accept] = 'application/json'
|
8808
|
+
header_params[:'content-type'] = 'application/json'
|
8809
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
8810
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
8811
|
+
# rubocop:enable Style/NegatedIf
|
8812
|
+
|
8813
|
+
post_body = @api_client.object_to_http_body(update_custom_property_details)
|
8814
|
+
|
8815
|
+
# rubocop:disable Metrics/BlockLength
|
8816
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#update_custom_property') do
|
8817
|
+
@api_client.call_api(
|
8818
|
+
:PUT,
|
8819
|
+
path,
|
8820
|
+
endpoint,
|
8821
|
+
header_params: header_params,
|
8822
|
+
query_params: query_params,
|
8823
|
+
operation_signing_strategy: operation_signing_strategy,
|
8824
|
+
body: post_body,
|
8825
|
+
return_type: 'OCI::DataCatalog::Models::CustomProperty'
|
8826
|
+
)
|
8827
|
+
end
|
8828
|
+
# rubocop:enable Metrics/BlockLength
|
8829
|
+
end
|
8830
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
8831
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
8832
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
8833
|
+
|
8834
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
8835
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
8836
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
8837
|
+
|
8838
|
+
|
7384
8839
|
# Updates a specific data asset identified by the given key.
|
7385
8840
|
# @param [String] catalog_id Unique catalog identifier.
|
7386
8841
|
# @param [String] data_asset_key Unique data asset key.
|
@@ -7777,6 +9232,136 @@ module OCI
|
|
7777
9232
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
7778
9233
|
|
7779
9234
|
|
9235
|
+
# Updates a specific namespace identified by the given key.
|
9236
|
+
# @param [String] catalog_id Unique catalog identifier.
|
9237
|
+
# @param [String] namespace_id Unique namespace identifier.
|
9238
|
+
# @param [OCI::DataCatalog::Models::UpdateNamespaceDetails] update_namespace_details The information to be updated in the namespace.
|
9239
|
+
# @param [Hash] opts the optional parameters
|
9240
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
9241
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
9242
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
9243
|
+
# for a resource, set the `if-match` parameter to the value of the
|
9244
|
+
# etag from a previous GET or POST response for that resource.
|
9245
|
+
# The resource will be updated or deleted only if the etag you
|
9246
|
+
# provide matches the resource's current etag value.
|
9247
|
+
#
|
9248
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
9249
|
+
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::Namespace Namespace}
|
9250
|
+
def update_namespace(catalog_id, namespace_id, update_namespace_details, opts = {})
|
9251
|
+
logger.debug 'Calling operation DataCatalogClient#update_namespace.' if logger
|
9252
|
+
|
9253
|
+
raise "Missing the required parameter 'catalog_id' when calling update_namespace." if catalog_id.nil?
|
9254
|
+
raise "Missing the required parameter 'namespace_id' when calling update_namespace." if namespace_id.nil?
|
9255
|
+
raise "Missing the required parameter 'update_namespace_details' when calling update_namespace." if update_namespace_details.nil?
|
9256
|
+
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
9257
|
+
raise "Parameter value for 'namespace_id' must not be blank" if OCI::Internal::Util.blank_string?(namespace_id)
|
9258
|
+
|
9259
|
+
path = '/catalogs/{catalogId}/namespaces/{namespaceId}'.sub('{catalogId}', catalog_id.to_s).sub('{namespaceId}', namespace_id.to_s)
|
9260
|
+
operation_signing_strategy = :standard
|
9261
|
+
|
9262
|
+
# rubocop:disable Style/NegatedIf
|
9263
|
+
# Query Params
|
9264
|
+
query_params = {}
|
9265
|
+
|
9266
|
+
# Header Params
|
9267
|
+
header_params = {}
|
9268
|
+
header_params[:accept] = 'application/json'
|
9269
|
+
header_params[:'content-type'] = 'application/json'
|
9270
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
9271
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
9272
|
+
# rubocop:enable Style/NegatedIf
|
9273
|
+
|
9274
|
+
post_body = @api_client.object_to_http_body(update_namespace_details)
|
9275
|
+
|
9276
|
+
# rubocop:disable Metrics/BlockLength
|
9277
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#update_namespace') do
|
9278
|
+
@api_client.call_api(
|
9279
|
+
:PUT,
|
9280
|
+
path,
|
9281
|
+
endpoint,
|
9282
|
+
header_params: header_params,
|
9283
|
+
query_params: query_params,
|
9284
|
+
operation_signing_strategy: operation_signing_strategy,
|
9285
|
+
body: post_body,
|
9286
|
+
return_type: 'OCI::DataCatalog::Models::Namespace'
|
9287
|
+
)
|
9288
|
+
end
|
9289
|
+
# rubocop:enable Metrics/BlockLength
|
9290
|
+
end
|
9291
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
9292
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
9293
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
9294
|
+
|
9295
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
9296
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
9297
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
9298
|
+
|
9299
|
+
|
9300
|
+
# Updates a specific pattern identified by the given key.
|
9301
|
+
# @param [String] catalog_id Unique catalog identifier.
|
9302
|
+
# @param [String] pattern_key Unique pattern key.
|
9303
|
+
# @param [OCI::DataCatalog::Models::UpdatePatternDetails] update_pattern_details The information to be updated in the pattern.
|
9304
|
+
# @param [Hash] opts the optional parameters
|
9305
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
9306
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
9307
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
9308
|
+
# for a resource, set the `if-match` parameter to the value of the
|
9309
|
+
# etag from a previous GET or POST response for that resource.
|
9310
|
+
# The resource will be updated or deleted only if the etag you
|
9311
|
+
# provide matches the resource's current etag value.
|
9312
|
+
#
|
9313
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
9314
|
+
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::Pattern Pattern}
|
9315
|
+
def update_pattern(catalog_id, pattern_key, update_pattern_details, opts = {})
|
9316
|
+
logger.debug 'Calling operation DataCatalogClient#update_pattern.' if logger
|
9317
|
+
|
9318
|
+
raise "Missing the required parameter 'catalog_id' when calling update_pattern." if catalog_id.nil?
|
9319
|
+
raise "Missing the required parameter 'pattern_key' when calling update_pattern." if pattern_key.nil?
|
9320
|
+
raise "Missing the required parameter 'update_pattern_details' when calling update_pattern." if update_pattern_details.nil?
|
9321
|
+
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
9322
|
+
raise "Parameter value for 'pattern_key' must not be blank" if OCI::Internal::Util.blank_string?(pattern_key)
|
9323
|
+
|
9324
|
+
path = '/catalogs/{catalogId}/patterns/{patternKey}'.sub('{catalogId}', catalog_id.to_s).sub('{patternKey}', pattern_key.to_s)
|
9325
|
+
operation_signing_strategy = :standard
|
9326
|
+
|
9327
|
+
# rubocop:disable Style/NegatedIf
|
9328
|
+
# Query Params
|
9329
|
+
query_params = {}
|
9330
|
+
|
9331
|
+
# Header Params
|
9332
|
+
header_params = {}
|
9333
|
+
header_params[:accept] = 'application/json'
|
9334
|
+
header_params[:'content-type'] = 'application/json'
|
9335
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
9336
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
9337
|
+
# rubocop:enable Style/NegatedIf
|
9338
|
+
|
9339
|
+
post_body = @api_client.object_to_http_body(update_pattern_details)
|
9340
|
+
|
9341
|
+
# rubocop:disable Metrics/BlockLength
|
9342
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#update_pattern') do
|
9343
|
+
@api_client.call_api(
|
9344
|
+
:PUT,
|
9345
|
+
path,
|
9346
|
+
endpoint,
|
9347
|
+
header_params: header_params,
|
9348
|
+
query_params: query_params,
|
9349
|
+
operation_signing_strategy: operation_signing_strategy,
|
9350
|
+
body: post_body,
|
9351
|
+
return_type: 'OCI::DataCatalog::Models::Pattern'
|
9352
|
+
)
|
9353
|
+
end
|
9354
|
+
# rubocop:enable Metrics/BlockLength
|
9355
|
+
end
|
9356
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
9357
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
9358
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
9359
|
+
|
9360
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
9361
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
9362
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
9363
|
+
|
9364
|
+
|
7780
9365
|
# Updates a specific glossary term.
|
7781
9366
|
# @param [String] catalog_id Unique catalog identifier.
|
7782
9367
|
# @param [String] glossary_key Unique glossary key.
|
@@ -8125,6 +9710,72 @@ module OCI
|
|
8125
9710
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
8126
9711
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
8127
9712
|
|
9713
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
9714
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
9715
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
9716
|
+
|
9717
|
+
|
9718
|
+
# Validate pattern by deriving file groups representing logical entities using the expression
|
9719
|
+
# @param [String] catalog_id Unique catalog identifier.
|
9720
|
+
# @param [String] pattern_key Unique pattern key.
|
9721
|
+
# @param [OCI::DataCatalog::Models::ValidatePatternDetails] validate_pattern_details The information used to validate the pattern.
|
9722
|
+
# @param [Hash] opts the optional parameters
|
9723
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
9724
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
9725
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
9726
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
9727
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
9728
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
9729
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
9730
|
+
# might be rejected.
|
9731
|
+
#
|
9732
|
+
# @return [Response] A Response object with data of type {OCI::DataCatalog::Models::ValidatePatternResult ValidatePatternResult}
|
9733
|
+
def validate_pattern(catalog_id, pattern_key, validate_pattern_details, opts = {})
|
9734
|
+
logger.debug 'Calling operation DataCatalogClient#validate_pattern.' if logger
|
9735
|
+
|
9736
|
+
raise "Missing the required parameter 'catalog_id' when calling validate_pattern." if catalog_id.nil?
|
9737
|
+
raise "Missing the required parameter 'pattern_key' when calling validate_pattern." if pattern_key.nil?
|
9738
|
+
raise "Missing the required parameter 'validate_pattern_details' when calling validate_pattern." if validate_pattern_details.nil?
|
9739
|
+
raise "Parameter value for 'catalog_id' must not be blank" if OCI::Internal::Util.blank_string?(catalog_id)
|
9740
|
+
raise "Parameter value for 'pattern_key' must not be blank" if OCI::Internal::Util.blank_string?(pattern_key)
|
9741
|
+
|
9742
|
+
path = '/catalogs/{catalogId}/patterns/{patternKey}/actions/validate'.sub('{catalogId}', catalog_id.to_s).sub('{patternKey}', pattern_key.to_s)
|
9743
|
+
operation_signing_strategy = :standard
|
9744
|
+
|
9745
|
+
# rubocop:disable Style/NegatedIf
|
9746
|
+
# Query Params
|
9747
|
+
query_params = {}
|
9748
|
+
|
9749
|
+
# Header Params
|
9750
|
+
header_params = {}
|
9751
|
+
header_params[:accept] = 'application/json'
|
9752
|
+
header_params[:'content-type'] = 'application/json'
|
9753
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
9754
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
9755
|
+
# rubocop:enable Style/NegatedIf
|
9756
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
9757
|
+
|
9758
|
+
post_body = @api_client.object_to_http_body(validate_pattern_details)
|
9759
|
+
|
9760
|
+
# rubocop:disable Metrics/BlockLength
|
9761
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'DataCatalogClient#validate_pattern') do
|
9762
|
+
@api_client.call_api(
|
9763
|
+
:POST,
|
9764
|
+
path,
|
9765
|
+
endpoint,
|
9766
|
+
header_params: header_params,
|
9767
|
+
query_params: query_params,
|
9768
|
+
operation_signing_strategy: operation_signing_strategy,
|
9769
|
+
body: post_body,
|
9770
|
+
return_type: 'OCI::DataCatalog::Models::ValidatePatternResult'
|
9771
|
+
)
|
9772
|
+
end
|
9773
|
+
# rubocop:enable Metrics/BlockLength
|
9774
|
+
end
|
9775
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
9776
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
9777
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
9778
|
+
|
8128
9779
|
private
|
8129
9780
|
|
8130
9781
|
def applicable_retry_config(opts = {})
|