oci 2.11.0 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/oci.rb +1 -0
- data/lib/oci/analytics/analytics_client.rb +15 -0
- data/lib/oci/announcements_service/announcement_client.rb +4 -0
- data/lib/oci/apigateway/api_gateway_client.rb +15 -0
- data/lib/oci/apigateway/deployment_client.rb +6 -0
- data/lib/oci/apigateway/gateway_client.rb +6 -0
- data/lib/oci/apigateway/work_requests_client.rb +5 -0
- data/lib/oci/application_migration/application_migration_client.rb +19 -0
- data/lib/oci/audit/audit_client.rb +4 -1
- data/lib/oci/audit/models/audit_event.rb +8 -7
- data/lib/oci/audit/models/data.rb +0 -107
- data/lib/oci/audit/models/identity.rb +0 -17
- data/lib/oci/audit/models/request.rb +0 -46
- data/lib/oci/audit/models/response.rb +0 -34
- data/lib/oci/audit/models/state_change.rb +0 -9
- data/lib/oci/auth/signers/ephemeral_resource_principals_signer.rb +0 -1
- data/lib/oci/auth/signers/resource_principals_signer.rb +1 -1
- data/lib/oci/autoscaling/auto_scaling_client.rb +11 -0
- data/lib/oci/bds/bds_client.rb +16 -0
- data/lib/oci/blockchain/blockchain.rb +1 -0
- data/lib/oci/blockchain/blockchain_platform_client.rb +57 -0
- data/lib/oci/blockchain/models/blockchain_platform.rb +36 -3
- data/lib/oci/blockchain/models/blockchain_platform_by_hostname.rb +1 -1
- data/lib/oci/blockchain/models/blockchain_platform_summary.rb +1 -1
- data/lib/oci/blockchain/models/create_blockchain_platform_details.rb +2 -2
- data/lib/oci/blockchain/models/scaled_blockchain_platform_preview.rb +1 -1
- data/lib/oci/blockchain/models/work_request.rb +1 -0
- data/lib/oci/blockchain/models/work_request_resource.rb +18 -4
- data/lib/oci/blockchain/models/work_request_resource_sub_type_detail.rb +206 -0
- data/lib/oci/blockchain/models/work_request_summary.rb +1 -0
- data/lib/oci/budget/budget_client.rb +10 -0
- data/lib/oci/cims/incident_client.rb +7 -0
- data/lib/oci/cims/user_client.rb +1 -0
- data/lib/oci/cloud_guard/cloud_guard_client.rb +82 -0
- data/lib/oci/cloud_guard/models/rule_summary.rb +1 -0
- data/lib/oci/compute_instance_agent/compute_instance_agent_client.rb +6 -0
- data/lib/oci/container_engine/container_engine_client.rb +18 -0
- data/lib/oci/core/blockstorage_client.rb +53 -0
- data/lib/oci/core/compute_client.rb +71 -0
- data/lib/oci/core/compute_management_client.rb +28 -0
- data/lib/oci/core/virtual_network_client.rb +194 -0
- data/lib/oci/data_catalog/data_catalog.rb +5 -0
- data/lib/oci/data_catalog/data_catalog_client.rb +307 -4
- data/lib/oci/data_catalog/models/attribute.rb +45 -4
- data/lib/oci/data_catalog/models/attribute_summary.rb +45 -4
- data/lib/oci/data_catalog/models/faceted_search_aggregation.rb +55 -4
- data/lib/oci/{database/models/create_autonomous_data_warehouse_backup_details.rb → data_catalog/models/rule_attribute.rb} +25 -18
- data/lib/oci/data_catalog/models/rule_collection.rb +161 -0
- data/lib/oci/data_catalog/models/rule_origin_type.rb +12 -0
- data/lib/oci/data_catalog/models/rule_summary.rb +439 -0
- data/lib/oci/data_catalog/models/rule_type.rb +12 -0
- data/lib/oci/data_catalog/models/search_result_collection.rb +18 -4
- data/lib/oci/data_flow/data_flow_client.rb +24 -0
- data/lib/oci/data_integration/data_integration_client.rb +92 -0
- data/lib/oci/data_safe/data_safe.rb +8 -0
- data/lib/oci/data_safe/data_safe_client.rb +606 -13
- data/lib/oci/data_safe/data_safe_client_composite_operations.rb +198 -0
- data/lib/oci/data_safe/models/change_on_prem_connector_compartment_details.rb +154 -0
- data/lib/oci/data_safe/models/create_data_safe_private_endpoint_details.rb +1 -1
- data/lib/oci/{database/models/update_autonomous_data_warehouse_details.rb → data_safe/models/create_on_prem_connector_details.rb} +27 -49
- data/lib/oci/data_safe/models/data_safe_configuration.rb +5 -5
- data/lib/oci/data_safe/models/data_safe_private_endpoint.rb +2 -2
- data/lib/oci/data_safe/models/data_safe_private_endpoint_summary.rb +1 -1
- data/lib/oci/data_safe/models/enable_data_safe_configuration_details.rb +6 -40
- data/lib/oci/{database/models/generate_autonomous_data_warehouse_wallet_details.rb → data_safe/models/generate_on_prem_connector_configuration_details.rb} +3 -4
- data/lib/oci/{database/models/autonomous_data_warehouse_backup_summary.rb → data_safe/models/on_prem_connector.rb} +98 -98
- data/lib/oci/data_safe/models/on_prem_connector_lifecycle_state.rb +16 -0
- data/lib/oci/{database/models/autonomous_data_warehouse_backup.rb → data_safe/models/on_prem_connector_summary.rb} +90 -99
- data/lib/oci/data_safe/models/service_list.rb +1 -0
- data/lib/oci/data_safe/models/update_data_safe_private_endpoint_details.rb +1 -1
- data/lib/oci/data_safe/models/update_on_prem_connector_details.rb +198 -0
- data/lib/oci/data_safe/models/update_on_prem_connector_wallet_details.rb +156 -0
- data/lib/oci/data_safe/models/work_request.rb +11 -6
- data/lib/oci/data_safe/models/work_request_error.rb +3 -4
- data/lib/oci/data_safe/models/work_request_log_entry.rb +3 -3
- data/lib/oci/data_safe/models/work_request_summary.rb +13 -8
- data/lib/oci/data_science/data_science_client.rb +34 -0
- data/lib/oci/database/database.rb +4 -8
- data/lib/oci/database/database_client.rb +523 -766
- data/lib/oci/database/database_client_composite_operations.rb +1299 -330
- data/lib/oci/database/models/activate_exadata_infrastructure_details.rb +2 -1
- data/lib/oci/database/models/autonomous_container_database.rb +3 -3
- data/lib/oci/database/models/autonomous_container_database_dataguard_association.rb +2 -2
- data/lib/oci/database/models/autonomous_container_database_summary.rb +3 -3
- data/lib/oci/database/models/autonomous_data_warehouse.rb +8 -21
- data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +8 -21
- data/lib/oci/database/models/autonomous_database.rb +35 -3
- data/lib/oci/database/models/autonomous_database_apex.rb +169 -0
- data/lib/oci/database/models/autonomous_database_dataguard_association.rb +2 -2
- data/lib/oci/database/models/autonomous_database_summary.rb +35 -3
- data/lib/oci/database/models/autonomous_db_preview_version_summary.rb +2 -0
- data/lib/oci/database/models/autonomous_db_version_summary.rb +2 -0
- data/lib/oci/database/models/backup.rb +19 -5
- data/lib/oci/database/models/backup_summary.rb +19 -5
- data/lib/oci/database/models/change_cloud_exadata_infrastructure_compartment_details.rb +1 -1
- data/lib/oci/database/models/change_cloud_vm_cluster_compartment_details.rb +1 -1
- data/lib/oci/database/models/cloud_exadata_infrastructure.rb +2 -1
- data/lib/oci/database/models/cloud_exadata_infrastructure_summary.rb +2 -1
- data/lib/oci/database/models/cloud_vm_cluster.rb +1 -1
- data/lib/oci/database/models/cloud_vm_cluster_summary.rb +1 -1
- data/lib/oci/database/models/create_autonomous_container_database_details.rb +1 -1
- data/lib/oci/database/models/create_autonomous_database_base.rb +7 -3
- data/lib/oci/database/models/create_cloud_exadata_infrastructure_details.rb +1 -1
- data/lib/oci/database/models/create_cloud_vm_cluster_details.rb +2 -1
- data/lib/oci/database/models/create_database_base.rb +33 -4
- data/lib/oci/database/models/create_database_from_backup.rb +9 -1
- data/lib/oci/database/models/create_db_home_base.rb +30 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +9 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +9 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_database_details.rb +9 -1
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +9 -1
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.rb +9 -1
- data/lib/oci/database/models/create_exadata_infrastructure_details.rb +16 -2
- data/lib/oci/database/models/create_new_database_details.rb +9 -1
- data/lib/oci/database/models/create_vm_cluster_details.rb +2 -1
- data/lib/oci/database/models/database.rb +16 -2
- data/lib/oci/database/models/database_summary.rb +16 -2
- data/lib/oci/database/models/db_home.rb +16 -2
- data/lib/oci/database/models/db_home_summary.rb +16 -2
- data/lib/oci/database/models/db_system.rb +16 -2
- data/lib/oci/database/models/db_system_summary.rb +16 -2
- data/lib/oci/database/models/exadata_db_system_migration.rb +1 -1
- data/lib/oci/database/models/exadata_db_system_migration_summary.rb +1 -1
- data/lib/oci/database/models/exadata_infrastructure.rb +15 -1
- data/lib/oci/database/models/exadata_infrastructure_summary.rb +18 -2
- data/lib/oci/database/models/flex_component_collection.rb +150 -0
- data/lib/oci/database/models/flex_component_summary.rb +197 -0
- data/lib/oci/database/models/generate_recommended_network_details.rb +1 -1
- data/lib/oci/database/models/launch_db_system_base.rb +30 -1
- data/lib/oci/database/models/launch_db_system_details.rb +9 -1
- data/lib/oci/database/models/launch_db_system_from_backup_details.rb +9 -1
- data/lib/oci/database/models/launch_db_system_from_database_details.rb +9 -1
- data/lib/oci/database/models/launch_db_system_from_db_system_details.rb +9 -1
- data/lib/oci/database/models/maintenance_run.rb +2 -1
- data/lib/oci/database/models/maintenance_run_summary.rb +2 -1
- data/lib/oci/database/models/migrate_vault_key_details.rb +170 -0
- data/lib/oci/database/models/update_autonomous_container_database_details.rb +1 -1
- data/lib/oci/database/models/update_autonomous_database_details.rb +6 -2
- data/lib/oci/database/models/update_cloud_exadata_infrastructure_details.rb +1 -1
- data/lib/oci/database/models/update_cloud_vm_cluster_details.rb +3 -2
- data/lib/oci/database/models/update_database_details.rb +1 -1
- data/lib/oci/database/models/update_details.rb +1 -1
- data/lib/oci/database/models/update_exadata_infrastructure_details.rb +16 -2
- data/lib/oci/database/models/update_history_entry_summary.rb +2 -1
- data/lib/oci/database/models/update_summary.rb +1 -1
- data/lib/oci/database/models/update_vm_cluster_details.rb +3 -1
- data/lib/oci/database/models/update_vm_cluster_network_details.rb +1 -1
- data/lib/oci/database/models/vm_cluster.rb +2 -1
- data/lib/oci/database/models/vm_cluster_network_details.rb +1 -1
- data/lib/oci/database/models/vm_cluster_network_summary.rb +2 -1
- data/lib/oci/database/models/vm_cluster_summary.rb +1 -0
- data/lib/oci/database/models/vm_network_details.rb +2 -1
- data/lib/oci/dns/dns_client.rb +49 -0
- data/lib/oci/dts/appliance_export_job_client.rb +6 -0
- data/lib/oci/dts/shipping_vendors_client.rb +1 -0
- data/lib/oci/dts/transfer_appliance_client.rb +8 -0
- data/lib/oci/dts/transfer_appliance_entitlement_client.rb +3 -0
- data/lib/oci/dts/transfer_device_client.rb +5 -0
- data/lib/oci/dts/transfer_job_client.rb +6 -0
- data/lib/oci/dts/transfer_package_client.rb +7 -0
- data/lib/oci/email/email_client.rb +10 -0
- data/lib/oci/events/events_client.rb +6 -0
- data/lib/oci/file_storage/file_storage_client.rb +25 -0
- data/lib/oci/functions/functions_invoke_client.rb +1 -0
- data/lib/oci/functions/functions_management_client.rb +11 -0
- data/lib/oci/healthchecks/health_checks_client.rb +17 -0
- data/lib/oci/identity/identity_client.rb +120 -0
- data/lib/oci/identity/models/saml2_identity_provider.rb +12 -1
- data/lib/oci/integration/integration.rb +3 -0
- data/lib/oci/integration/integration_instance_client.rb +12 -0
- data/lib/oci/integration/models/create_custom_endpoint_details.rb +167 -0
- data/lib/oci/integration/models/create_integration_instance_details.rb +44 -1
- data/lib/oci/integration/models/custom_endpoint_details.rb +180 -0
- data/lib/oci/integration/models/integration_instance.rb +43 -1
- data/lib/oci/integration/models/integration_instance_summary.rb +43 -1
- data/lib/oci/integration/models/update_custom_endpoint_details.rb +167 -0
- data/lib/oci/integration/models/update_integration_instance_details.rb +47 -4
- data/lib/oci/key_management/kms_crypto_client.rb +4 -0
- data/lib/oci/key_management/kms_management_client.rb +31 -0
- data/lib/oci/key_management/kms_vault_client.rb +11 -0
- data/lib/oci/limits/limits_client.rb +4 -0
- data/lib/oci/limits/quotas_client.rb +5 -0
- data/lib/oci/load_balancer/load_balancer.rb +1 -0
- data/lib/oci/load_balancer/load_balancer_client.rb +56 -0
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +16 -1
- data/lib/oci/load_balancer/models/load_balancer.rb +14 -1
- data/lib/oci/load_balancer/models/shape_details.rb +180 -0
- data/lib/oci/load_balancer/models/ssl_configuration.rb +1 -1
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_load_balancer_shape_details.rb +22 -4
- data/lib/oci/log_analytics/log_analytics_client.rb +126 -0
- data/lib/oci/logging/logging_management_client.rb +32 -0
- data/lib/oci/loggingingestion/logging_client.rb +1 -0
- data/lib/oci/loggingsearch/log_search_client.rb +1 -0
- data/lib/oci/management_agent/management_agent.rb +2 -0
- data/lib/oci/management_agent/management_agent_client.rb +101 -0
- data/lib/oci/management_agent/models/availability_history_summary.rb +217 -0
- data/lib/oci/management_agent/models/availability_status.rb +12 -0
- data/lib/oci/management_agent/models/management_agent.rb +35 -1
- data/lib/oci/management_agent/models/management_agent_summary.rb +49 -1
- data/lib/oci/management_dashboard/dashx_apis_client.rb +14 -0
- data/lib/oci/marketplace/marketplace_client.rb +16 -0
- data/lib/oci/monitoring/monitoring_client.rb +12 -0
- data/lib/oci/mysql/channels_client.rb +625 -0
- data/lib/oci/mysql/channels_client_composite_operations.rb +271 -0
- data/lib/oci/mysql/db_backups_client.rb +11 -0
- data/lib/oci/mysql/db_system_client.rb +17 -0
- data/lib/oci/mysql/models/backup.rb +16 -3
- data/lib/oci/mysql/models/backup_summary.rb +17 -3
- data/lib/oci/mysql/models/ca_certificate.rb +189 -0
- data/lib/oci/mysql/models/channel.rb +340 -0
- data/lib/oci/mysql/models/channel_source.rb +189 -0
- data/lib/oci/mysql/models/channel_source_mysql.rb +230 -0
- data/lib/oci/mysql/models/channel_summary.rb +304 -0
- data/lib/oci/mysql/models/channel_target.rb +189 -0
- data/lib/oci/mysql/models/channel_target_db_system.rb +193 -0
- data/lib/oci/mysql/models/configuration.rb +2 -2
- data/lib/oci/mysql/models/configuration_summary.rb +2 -2
- data/lib/oci/mysql/models/configuration_variables.rb +30 -15
- data/lib/oci/mysql/models/create_backup_details.rb +2 -2
- data/lib/oci/mysql/models/create_backup_policy_details.rb +3 -0
- data/lib/oci/mysql/models/create_channel_details.rb +248 -0
- data/lib/oci/mysql/models/create_channel_source_details.rb +170 -0
- data/lib/oci/mysql/models/create_channel_source_from_mysql_details.rb +224 -0
- data/lib/oci/mysql/models/create_channel_target_details.rb +170 -0
- data/lib/oci/mysql/models/create_channel_target_from_db_system_details.rb +193 -0
- data/lib/oci/mysql/models/create_configuration_details.rb +2 -3
- data/lib/oci/mysql/models/create_db_system_details.rb +1 -1
- data/lib/oci/mysql/models/create_db_system_source_details.rb +1 -0
- data/lib/oci/mysql/models/create_db_system_source_from_none_details.rb +146 -0
- data/lib/oci/mysql/models/db_system.rb +15 -3
- data/lib/oci/mysql/models/db_system_snapshot.rb +437 -0
- data/lib/oci/mysql/models/db_system_source.rb +1 -0
- data/lib/oci/mysql/models/db_system_source_from_none.rb +146 -0
- data/lib/oci/mysql/models/db_system_summary.rb +2 -2
- data/lib/oci/mysql/models/pem_ca_certificate.rb +158 -0
- data/lib/oci/mysql/models/update_backup_details.rb +2 -2
- data/lib/oci/mysql/models/update_backup_policy_details.rb +3 -0
- data/lib/oci/mysql/models/update_channel_details.rb +234 -0
- data/lib/oci/mysql/models/update_channel_source_details.rb +171 -0
- data/lib/oci/mysql/models/update_channel_source_from_mysql_details.rb +224 -0
- data/lib/oci/mysql/models/update_channel_target_details.rb +170 -0
- data/lib/oci/mysql/models/update_channel_target_from_db_system_details.rb +179 -0
- data/lib/oci/mysql/models/update_configuration_details.rb +2 -2
- data/lib/oci/mysql/mysql.rb +23 -0
- data/lib/oci/mysql/mysqlaas_client.rb +7 -0
- data/lib/oci/mysql/work_requests_client.rb +4 -0
- data/lib/oci/nosql/nosql_client.rb +22 -0
- data/lib/oci/object_storage/models/object_lifecycle_rule.rb +11 -9
- data/lib/oci/object_storage/object_storage_client.rb +55 -6
- data/lib/oci/oce/oce_instance_client.rb +10 -0
- data/lib/oci/ocvp/esxi_host_client.rb +5 -0
- data/lib/oci/ocvp/sddc_client.rb +7 -0
- data/lib/oci/ocvp/work_request_client.rb +4 -0
- data/lib/oci/oda/oda_client.rb +12 -0
- data/lib/oci/ons/notification_control_plane_client.rb +6 -0
- data/lib/oci/ons/notification_data_plane_client.rb +10 -0
- data/lib/oci/opsi/models/sql_insight_aggregation.rb +2 -1
- data/lib/oci/opsi/models/sql_insight_thresholds.rb +21 -4
- data/lib/oci/opsi/operations_insights_client.rb +22 -3
- data/lib/oci/optimizer/optimizer_client.rb +22 -0
- data/lib/oci/os_management/os_management_client.rb +53 -0
- data/lib/oci/regions.rb +3 -0
- data/lib/oci/resource_manager/models/configuration_source_provider.rb +5 -1
- data/lib/oci/resource_manager/models/configuration_source_provider_summary.rb +3 -1
- data/lib/oci/resource_manager/models/create_configuration_source_provider_details.rb +4 -1
- data/lib/oci/resource_manager/models/create_github_access_token_configuration_source_provider_details.rb +200 -0
- data/lib/oci/resource_manager/models/create_gitlab_access_token_configuration_source_provider_details.rb +3 -3
- data/lib/oci/resource_manager/models/github_access_token_configuration_source_provider.rb +198 -0
- data/lib/oci/resource_manager/models/github_access_token_configuration_source_provider_summary.rb +198 -0
- data/lib/oci/resource_manager/models/gitlab_access_token_configuration_source_provider.rb +2 -2
- data/lib/oci/resource_manager/models/gitlab_access_token_configuration_source_provider_summary.rb +2 -2
- data/lib/oci/resource_manager/models/update_configuration_source_provider_details.rb +4 -1
- data/lib/oci/resource_manager/models/update_github_access_token_configuration_source_provider_details.rb +196 -0
- data/lib/oci/resource_manager/models/update_gitlab_access_token_configuration_source_provider_details.rb +3 -3
- data/lib/oci/resource_manager/resource_manager.rb +4 -0
- data/lib/oci/resource_manager/resource_manager_client.rb +36 -2
- data/lib/oci/resource_search/resource_search_client.rb +3 -0
- data/lib/oci/rover/models/change_rover_cluster_compartment_details.rb +155 -0
- data/lib/oci/{database/models/autonomous_data_warehouse_console_token_details.rb → rover/models/change_rover_entitlement_compartment_details.rb} +13 -23
- data/lib/oci/rover/models/change_rover_node_compartment_details.rb +155 -0
- data/lib/oci/rover/models/create_rover_cluster_details.rb +459 -0
- data/lib/oci/rover/models/create_rover_entitlement_details.rb +320 -0
- data/lib/oci/rover/models/create_rover_node_details.rb +501 -0
- data/lib/oci/rover/models/enclosure_type.rb +11 -0
- data/lib/oci/rover/models/lifecycle_state.rb +15 -0
- data/lib/oci/rover/models/node_type.rb +11 -0
- data/lib/oci/rover/models/rover_cluster.rb +610 -0
- data/lib/oci/rover/models/rover_cluster_certificate.rb +150 -0
- data/lib/oci/{database/models/restore_autonomous_data_warehouse_details.rb → rover/models/rover_cluster_collection.rb} +11 -12
- data/lib/oci/{database/models/create_autonomous_data_warehouse_details.rb → rover/models/rover_cluster_summary.rb} +99 -84
- data/lib/oci/rover/models/rover_entitlement.rb +363 -0
- data/lib/oci/rover/models/rover_entitlement_collection.rb +150 -0
- data/lib/oci/rover/models/rover_entitlement_summary.rb +285 -0
- data/lib/oci/rover/models/rover_node.rb +661 -0
- data/lib/oci/rover/models/rover_node_action_set_key_details.rb +154 -0
- data/lib/oci/rover/models/rover_node_certificate.rb +150 -0
- data/lib/oci/rover/models/rover_node_collection.rb +150 -0
- data/lib/oci/rover/models/rover_node_encryption_key.rb +154 -0
- data/lib/oci/rover/models/rover_node_get_rpt.rb +168 -0
- data/lib/oci/rover/models/rover_node_set_key.rb +154 -0
- data/lib/oci/rover/models/rover_node_summary.rb +323 -0
- data/lib/oci/rover/models/rover_workload.rb +264 -0
- data/lib/oci/rover/models/shipping_address.rb +276 -0
- data/lib/oci/rover/models/sort_orders.rb +11 -0
- data/lib/oci/rover/models/update_rover_cluster_details.rb +445 -0
- data/lib/oci/rover/models/update_rover_entitlement_details.rb +306 -0
- data/lib/oci/rover/models/update_rover_node_details.rb +487 -0
- data/lib/oci/rover/rover.rb +54 -0
- data/lib/oci/rover/rover_cluster_client.rb +549 -0
- data/lib/oci/rover/rover_cluster_client_composite_operations.rb +144 -0
- data/lib/oci/rover/rover_entitlement_client.rb +514 -0
- data/lib/oci/rover/rover_entitlement_client_composite_operations.rb +144 -0
- data/lib/oci/rover/rover_node_client.rb +738 -0
- data/lib/oci/rover/rover_node_client_composite_operations.rb +144 -0
- data/lib/oci/rover/util.rb +3 -0
- data/lib/oci/sch/service_connector_client.rb +12 -0
- data/lib/oci/secrets/secrets_client.rb +2 -0
- data/lib/oci/streaming/stream_admin_client.rb +18 -0
- data/lib/oci/streaming/stream_client.rb +8 -0
- data/lib/oci/tenant_manager_control_plane/link_client.rb +3 -0
- data/lib/oci/tenant_manager_control_plane/recipient_invitation_client.rb +5 -0
- data/lib/oci/tenant_manager_control_plane/sender_invitation_client.rb +5 -0
- data/lib/oci/tenant_manager_control_plane/work_request_client.rb +4 -0
- data/lib/oci/usage_api/usageapi_client.rb +2 -0
- data/lib/oci/vault/vaults_client.rb +11 -0
- data/lib/oci/version.rb +1 -1
- data/lib/oci/waas/redirect_client.rb +6 -0
- data/lib/oci/waas/waas_client.rb +66 -0
- data/lib/oci/work_requests/work_request_client.rb +4 -0
- metadata +91 -10
|
@@ -22,6 +22,13 @@ module OCI
|
|
|
22
22
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
23
23
|
].freeze
|
|
24
24
|
|
|
25
|
+
ASSOCIATED_RULE_TYPES_ENUM = [
|
|
26
|
+
ASSOCIATED_RULE_TYPES_PRIMARYKEY = 'PRIMARYKEY'.freeze,
|
|
27
|
+
ASSOCIATED_RULE_TYPES_FOREIGNKEY = 'FOREIGNKEY'.freeze,
|
|
28
|
+
ASSOCIATED_RULE_TYPES_UNIQUEKEY = 'UNIQUEKEY'.freeze,
|
|
29
|
+
ASSOCIATED_RULE_TYPES_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
30
|
+
].freeze
|
|
31
|
+
|
|
25
32
|
# **[Required]** Unique attribute key that is immutable.
|
|
26
33
|
# @return [String]
|
|
27
34
|
attr_accessor :key
|
|
@@ -151,6 +158,10 @@ module OCI
|
|
|
151
158
|
# @return [Hash<String, Hash<String, String>>]
|
|
152
159
|
attr_accessor :properties
|
|
153
160
|
|
|
161
|
+
# Rule types associated with attribute.
|
|
162
|
+
# @return [Array<String>]
|
|
163
|
+
attr_reader :associated_rule_types
|
|
164
|
+
|
|
154
165
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
155
166
|
def self.attribute_map
|
|
156
167
|
{
|
|
@@ -182,7 +193,8 @@ module OCI
|
|
|
182
193
|
'uri': :'uri',
|
|
183
194
|
'path': :'path',
|
|
184
195
|
'custom_property_members': :'customPropertyMembers',
|
|
185
|
-
'properties': :'properties'
|
|
196
|
+
'properties': :'properties',
|
|
197
|
+
'associated_rule_types': :'associatedRuleTypes'
|
|
186
198
|
# rubocop:enable Style/SymbolLiteral
|
|
187
199
|
}
|
|
188
200
|
end
|
|
@@ -218,7 +230,8 @@ module OCI
|
|
|
218
230
|
'uri': :'String',
|
|
219
231
|
'path': :'String',
|
|
220
232
|
'custom_property_members': :'Array<OCI::DataCatalog::Models::CustomPropertyGetUsage>',
|
|
221
|
-
'properties': :'Hash<String, Hash<String, String>>'
|
|
233
|
+
'properties': :'Hash<String, Hash<String, String>>',
|
|
234
|
+
'associated_rule_types': :'Array<String>'
|
|
222
235
|
# rubocop:enable Style/SymbolLiteral
|
|
223
236
|
}
|
|
224
237
|
end
|
|
@@ -257,6 +270,7 @@ module OCI
|
|
|
257
270
|
# @option attributes [String] :path The value to assign to the {#path} property
|
|
258
271
|
# @option attributes [Array<OCI::DataCatalog::Models::CustomPropertyGetUsage>] :custom_property_members The value to assign to the {#custom_property_members} property
|
|
259
272
|
# @option attributes [Hash<String, Hash<String, String>>] :properties The value to assign to the {#properties} property
|
|
273
|
+
# @option attributes [Array<String>] :associated_rule_types The value to assign to the {#associated_rule_types} property
|
|
260
274
|
def initialize(attributes = {})
|
|
261
275
|
return unless attributes.is_a?(Hash)
|
|
262
276
|
|
|
@@ -394,6 +408,12 @@ module OCI
|
|
|
394
408
|
self.custom_property_members = attributes[:'custom_property_members'] if attributes[:'custom_property_members']
|
|
395
409
|
|
|
396
410
|
self.properties = attributes[:'properties'] if attributes[:'properties']
|
|
411
|
+
|
|
412
|
+
self.associated_rule_types = attributes[:'associatedRuleTypes'] if attributes[:'associatedRuleTypes']
|
|
413
|
+
|
|
414
|
+
raise 'You cannot provide both :associatedRuleTypes and :associated_rule_types' if attributes.key?(:'associatedRuleTypes') && attributes.key?(:'associated_rule_types')
|
|
415
|
+
|
|
416
|
+
self.associated_rule_types = attributes[:'associated_rule_types'] if attributes[:'associated_rule_types']
|
|
397
417
|
end
|
|
398
418
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
399
419
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
@@ -411,6 +431,26 @@ module OCI
|
|
|
411
431
|
# rubocop:enable Style/ConditionalAssignment
|
|
412
432
|
end
|
|
413
433
|
|
|
434
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
435
|
+
# @param [Object] associated_rule_types Object to be assigned
|
|
436
|
+
def associated_rule_types=(associated_rule_types)
|
|
437
|
+
# rubocop:disable Style/ConditionalAssignment
|
|
438
|
+
if associated_rule_types.nil?
|
|
439
|
+
@associated_rule_types = nil
|
|
440
|
+
else
|
|
441
|
+
@associated_rule_types =
|
|
442
|
+
associated_rule_types.collect do |item|
|
|
443
|
+
if ASSOCIATED_RULE_TYPES_ENUM.include?(item)
|
|
444
|
+
item
|
|
445
|
+
else
|
|
446
|
+
OCI.logger.debug("Unknown value for 'associated_rule_types' [#{item}]. Mapping to 'ASSOCIATED_RULE_TYPES_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
|
447
|
+
ASSOCIATED_RULE_TYPES_UNKNOWN_ENUM_VALUE
|
|
448
|
+
end
|
|
449
|
+
end
|
|
450
|
+
end
|
|
451
|
+
# rubocop:enable Style/ConditionalAssignment
|
|
452
|
+
end
|
|
453
|
+
|
|
414
454
|
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
415
455
|
|
|
416
456
|
|
|
@@ -447,7 +487,8 @@ module OCI
|
|
|
447
487
|
uri == other.uri &&
|
|
448
488
|
path == other.path &&
|
|
449
489
|
custom_property_members == other.custom_property_members &&
|
|
450
|
-
properties == other.properties
|
|
490
|
+
properties == other.properties &&
|
|
491
|
+
associated_rule_types == other.associated_rule_types
|
|
451
492
|
end
|
|
452
493
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
453
494
|
|
|
@@ -463,7 +504,7 @@ module OCI
|
|
|
463
504
|
# Calculates hash code according to all attributes.
|
|
464
505
|
# @return [Fixnum] Hash code
|
|
465
506
|
def hash
|
|
466
|
-
[key, display_name, description, entity_key, lifecycle_state, time_created, time_updated, created_by_id, updated_by_id, external_data_type, external_key, is_incremental_data, is_nullable, min_collection_count, max_collection_count, datatype_entity_key, external_datatype_entity_key, parent_attribute_key, external_parent_attribute_key, length, position, precision, scale, time_external, uri, path, custom_property_members, properties].hash
|
|
507
|
+
[key, display_name, description, entity_key, lifecycle_state, time_created, time_updated, created_by_id, updated_by_id, external_data_type, external_key, is_incremental_data, is_nullable, min_collection_count, max_collection_count, datatype_entity_key, external_datatype_entity_key, parent_attribute_key, external_parent_attribute_key, length, position, precision, scale, time_external, uri, path, custom_property_members, properties, associated_rule_types].hash
|
|
467
508
|
end
|
|
468
509
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
469
510
|
|
|
@@ -20,6 +20,13 @@ module OCI
|
|
|
20
20
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
21
21
|
].freeze
|
|
22
22
|
|
|
23
|
+
ASSOCIATED_RULE_TYPES_ENUM = [
|
|
24
|
+
ASSOCIATED_RULE_TYPES_PRIMARYKEY = 'PRIMARYKEY'.freeze,
|
|
25
|
+
ASSOCIATED_RULE_TYPES_FOREIGNKEY = 'FOREIGNKEY'.freeze,
|
|
26
|
+
ASSOCIATED_RULE_TYPES_UNIQUEKEY = 'UNIQUEKEY'.freeze,
|
|
27
|
+
ASSOCIATED_RULE_TYPES_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
28
|
+
].freeze
|
|
29
|
+
|
|
23
30
|
# **[Required]** Unique attribute key that is immutable.
|
|
24
31
|
# @return [String]
|
|
25
32
|
attr_accessor :key
|
|
@@ -99,6 +106,10 @@ module OCI
|
|
|
99
106
|
# @return [String]
|
|
100
107
|
attr_accessor :path
|
|
101
108
|
|
|
109
|
+
# Rule types associated with attribute.
|
|
110
|
+
# @return [Array<String>]
|
|
111
|
+
attr_reader :associated_rule_types
|
|
112
|
+
|
|
102
113
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
103
114
|
def self.attribute_map
|
|
104
115
|
{
|
|
@@ -120,7 +131,8 @@ module OCI
|
|
|
120
131
|
'external_datatype_entity_key': :'externalDatatypeEntityKey',
|
|
121
132
|
'parent_attribute_key': :'parentAttributeKey',
|
|
122
133
|
'external_parent_attribute_key': :'externalParentAttributeKey',
|
|
123
|
-
'path': :'path'
|
|
134
|
+
'path': :'path',
|
|
135
|
+
'associated_rule_types': :'associatedRuleTypes'
|
|
124
136
|
# rubocop:enable Style/SymbolLiteral
|
|
125
137
|
}
|
|
126
138
|
end
|
|
@@ -146,7 +158,8 @@ module OCI
|
|
|
146
158
|
'external_datatype_entity_key': :'String',
|
|
147
159
|
'parent_attribute_key': :'String',
|
|
148
160
|
'external_parent_attribute_key': :'String',
|
|
149
|
-
'path': :'String'
|
|
161
|
+
'path': :'String',
|
|
162
|
+
'associated_rule_types': :'Array<String>'
|
|
150
163
|
# rubocop:enable Style/SymbolLiteral
|
|
151
164
|
}
|
|
152
165
|
end
|
|
@@ -175,6 +188,7 @@ module OCI
|
|
|
175
188
|
# @option attributes [String] :parent_attribute_key The value to assign to the {#parent_attribute_key} property
|
|
176
189
|
# @option attributes [String] :external_parent_attribute_key The value to assign to the {#external_parent_attribute_key} property
|
|
177
190
|
# @option attributes [String] :path The value to assign to the {#path} property
|
|
191
|
+
# @option attributes [Array<String>] :associated_rule_types The value to assign to the {#associated_rule_types} property
|
|
178
192
|
def initialize(attributes = {})
|
|
179
193
|
return unless attributes.is_a?(Hash)
|
|
180
194
|
|
|
@@ -268,6 +282,12 @@ module OCI
|
|
|
268
282
|
self.external_parent_attribute_key = attributes[:'external_parent_attribute_key'] if attributes[:'external_parent_attribute_key']
|
|
269
283
|
|
|
270
284
|
self.path = attributes[:'path'] if attributes[:'path']
|
|
285
|
+
|
|
286
|
+
self.associated_rule_types = attributes[:'associatedRuleTypes'] if attributes[:'associatedRuleTypes']
|
|
287
|
+
|
|
288
|
+
raise 'You cannot provide both :associatedRuleTypes and :associated_rule_types' if attributes.key?(:'associatedRuleTypes') && attributes.key?(:'associated_rule_types')
|
|
289
|
+
|
|
290
|
+
self.associated_rule_types = attributes[:'associated_rule_types'] if attributes[:'associated_rule_types']
|
|
271
291
|
end
|
|
272
292
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
273
293
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
@@ -285,6 +305,26 @@ module OCI
|
|
|
285
305
|
# rubocop:enable Style/ConditionalAssignment
|
|
286
306
|
end
|
|
287
307
|
|
|
308
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
309
|
+
# @param [Object] associated_rule_types Object to be assigned
|
|
310
|
+
def associated_rule_types=(associated_rule_types)
|
|
311
|
+
# rubocop:disable Style/ConditionalAssignment
|
|
312
|
+
if associated_rule_types.nil?
|
|
313
|
+
@associated_rule_types = nil
|
|
314
|
+
else
|
|
315
|
+
@associated_rule_types =
|
|
316
|
+
associated_rule_types.collect do |item|
|
|
317
|
+
if ASSOCIATED_RULE_TYPES_ENUM.include?(item)
|
|
318
|
+
item
|
|
319
|
+
else
|
|
320
|
+
OCI.logger.debug("Unknown value for 'associated_rule_types' [#{item}]. Mapping to 'ASSOCIATED_RULE_TYPES_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
|
321
|
+
ASSOCIATED_RULE_TYPES_UNKNOWN_ENUM_VALUE
|
|
322
|
+
end
|
|
323
|
+
end
|
|
324
|
+
end
|
|
325
|
+
# rubocop:enable Style/ConditionalAssignment
|
|
326
|
+
end
|
|
327
|
+
|
|
288
328
|
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
289
329
|
|
|
290
330
|
|
|
@@ -311,7 +351,8 @@ module OCI
|
|
|
311
351
|
external_datatype_entity_key == other.external_datatype_entity_key &&
|
|
312
352
|
parent_attribute_key == other.parent_attribute_key &&
|
|
313
353
|
external_parent_attribute_key == other.external_parent_attribute_key &&
|
|
314
|
-
path == other.path
|
|
354
|
+
path == other.path &&
|
|
355
|
+
associated_rule_types == other.associated_rule_types
|
|
315
356
|
end
|
|
316
357
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
317
358
|
|
|
@@ -327,7 +368,7 @@ module OCI
|
|
|
327
368
|
# Calculates hash code according to all attributes.
|
|
328
369
|
# @return [Fixnum] Hash code
|
|
329
370
|
def hash
|
|
330
|
-
[key, display_name, description, entity_key, external_key, length, is_nullable, uri, lifecycle_state, time_created, external_data_type, min_collection_count, max_collection_count, datatype_entity_key, external_datatype_entity_key, parent_attribute_key, external_parent_attribute_key, path].hash
|
|
371
|
+
[key, display_name, description, entity_key, external_key, length, is_nullable, uri, lifecycle_state, time_created, external_data_type, min_collection_count, max_collection_count, datatype_entity_key, external_datatype_entity_key, parent_attribute_key, external_parent_attribute_key, path, associated_rule_types].hash
|
|
331
372
|
end
|
|
332
373
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
333
374
|
|
|
@@ -2,11 +2,18 @@
|
|
|
2
2
|
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
3
3
|
|
|
4
4
|
require 'date'
|
|
5
|
+
require 'logger'
|
|
5
6
|
|
|
6
7
|
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
7
8
|
module OCI
|
|
8
9
|
# Aggregation/facets on properties of data object.
|
|
9
10
|
class DataCatalog::Models::FacetedSearchAggregation
|
|
11
|
+
PROPERTY_TYPE_ENUM = [
|
|
12
|
+
PROPERTY_TYPE_CUSTOM_PROPERTY = 'CUSTOM_PROPERTY'.freeze,
|
|
13
|
+
PROPERTY_TYPE_DEFAULT_PROPERTY = 'DEFAULT_PROPERTY'.freeze,
|
|
14
|
+
PROPERTY_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
|
15
|
+
].freeze
|
|
16
|
+
|
|
10
17
|
# Name of data object property
|
|
11
18
|
# @return [String]
|
|
12
19
|
attr_accessor :type
|
|
@@ -15,12 +22,25 @@ module OCI
|
|
|
15
22
|
# @return [Hash<String, Integer>]
|
|
16
23
|
attr_accessor :aggregation
|
|
17
24
|
|
|
25
|
+
# Data type of object property.
|
|
26
|
+
# @return [String]
|
|
27
|
+
attr_accessor :data_type
|
|
28
|
+
|
|
29
|
+
# Type of property that indicates if it was defined by the user or system.
|
|
30
|
+
# CUSTOM_PROPERTY is defined by the user on a data object.
|
|
31
|
+
# DEFAULT_PROPERTY is defined by the system on a data object.
|
|
32
|
+
#
|
|
33
|
+
# @return [String]
|
|
34
|
+
attr_reader :property_type
|
|
35
|
+
|
|
18
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
19
37
|
def self.attribute_map
|
|
20
38
|
{
|
|
21
39
|
# rubocop:disable Style/SymbolLiteral
|
|
22
40
|
'type': :'type',
|
|
23
|
-
'aggregation': :'aggregation'
|
|
41
|
+
'aggregation': :'aggregation',
|
|
42
|
+
'data_type': :'dataType',
|
|
43
|
+
'property_type': :'propertyType'
|
|
24
44
|
# rubocop:enable Style/SymbolLiteral
|
|
25
45
|
}
|
|
26
46
|
end
|
|
@@ -30,7 +50,9 @@ module OCI
|
|
|
30
50
|
{
|
|
31
51
|
# rubocop:disable Style/SymbolLiteral
|
|
32
52
|
'type': :'String',
|
|
33
|
-
'aggregation': :'Hash<String, Integer>'
|
|
53
|
+
'aggregation': :'Hash<String, Integer>',
|
|
54
|
+
'data_type': :'String',
|
|
55
|
+
'property_type': :'String'
|
|
34
56
|
# rubocop:enable Style/SymbolLiteral
|
|
35
57
|
}
|
|
36
58
|
end
|
|
@@ -43,6 +65,8 @@ module OCI
|
|
|
43
65
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
44
66
|
# @option attributes [String] :type The value to assign to the {#type} property
|
|
45
67
|
# @option attributes [Hash<String, Integer>] :aggregation The value to assign to the {#aggregation} property
|
|
68
|
+
# @option attributes [String] :data_type The value to assign to the {#data_type} property
|
|
69
|
+
# @option attributes [String] :property_type The value to assign to the {#property_type} property
|
|
46
70
|
def initialize(attributes = {})
|
|
47
71
|
return unless attributes.is_a?(Hash)
|
|
48
72
|
|
|
@@ -52,10 +76,35 @@ module OCI
|
|
|
52
76
|
self.type = attributes[:'type'] if attributes[:'type']
|
|
53
77
|
|
|
54
78
|
self.aggregation = attributes[:'aggregation'] if attributes[:'aggregation']
|
|
79
|
+
|
|
80
|
+
self.data_type = attributes[:'dataType'] if attributes[:'dataType']
|
|
81
|
+
|
|
82
|
+
raise 'You cannot provide both :dataType and :data_type' if attributes.key?(:'dataType') && attributes.key?(:'data_type')
|
|
83
|
+
|
|
84
|
+
self.data_type = attributes[:'data_type'] if attributes[:'data_type']
|
|
85
|
+
|
|
86
|
+
self.property_type = attributes[:'propertyType'] if attributes[:'propertyType']
|
|
87
|
+
|
|
88
|
+
raise 'You cannot provide both :propertyType and :property_type' if attributes.key?(:'propertyType') && attributes.key?(:'property_type')
|
|
89
|
+
|
|
90
|
+
self.property_type = attributes[:'property_type'] if attributes[:'property_type']
|
|
55
91
|
end
|
|
56
92
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
57
93
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
58
94
|
|
|
95
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
96
|
+
# @param [Object] property_type Object to be assigned
|
|
97
|
+
def property_type=(property_type)
|
|
98
|
+
# rubocop:disable Style/ConditionalAssignment
|
|
99
|
+
if property_type && !PROPERTY_TYPE_ENUM.include?(property_type)
|
|
100
|
+
OCI.logger.debug("Unknown value for 'property_type' [" + property_type + "]. Mapping to 'PROPERTY_TYPE_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
|
101
|
+
@property_type = PROPERTY_TYPE_UNKNOWN_ENUM_VALUE
|
|
102
|
+
else
|
|
103
|
+
@property_type = property_type
|
|
104
|
+
end
|
|
105
|
+
# rubocop:enable Style/ConditionalAssignment
|
|
106
|
+
end
|
|
107
|
+
|
|
59
108
|
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
60
109
|
|
|
61
110
|
|
|
@@ -66,7 +115,9 @@ module OCI
|
|
|
66
115
|
|
|
67
116
|
self.class == other.class &&
|
|
68
117
|
type == other.type &&
|
|
69
|
-
aggregation == other.aggregation
|
|
118
|
+
aggregation == other.aggregation &&
|
|
119
|
+
data_type == other.data_type &&
|
|
120
|
+
property_type == other.property_type
|
|
70
121
|
end
|
|
71
122
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
72
123
|
|
|
@@ -82,7 +133,7 @@ module OCI
|
|
|
82
133
|
# Calculates hash code according to all attributes.
|
|
83
134
|
# @return [Fixnum] Hash code
|
|
84
135
|
def hash
|
|
85
|
-
[type, aggregation].hash
|
|
136
|
+
[type, aggregation, data_type, property_type].hash
|
|
86
137
|
end
|
|
87
138
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
88
139
|
|
|
@@ -5,25 +5,31 @@ require 'date'
|
|
|
5
5
|
|
|
6
6
|
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
7
7
|
module OCI
|
|
8
|
-
#
|
|
8
|
+
# Object that defines a usage of an attribute in the context of a rule.
|
|
9
|
+
# Example: For a UNIQUEKEY rule, declares the attribute in a table whose value must be unique.
|
|
9
10
|
#
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class Database::Models::CreateAutonomousDataWarehouseBackupDetails
|
|
13
|
-
# **[Required]** The user-friendly name for the backup. The name does not have to be unique.
|
|
11
|
+
class DataCatalog::Models::RuleAttribute
|
|
12
|
+
# **[Required]** Immutable unique key of the attribute.
|
|
14
13
|
# @return [String]
|
|
15
|
-
attr_accessor :
|
|
14
|
+
attr_accessor :key
|
|
16
15
|
|
|
17
|
-
#
|
|
16
|
+
# A user-friendly display name. Does not have to be unique, and it's changeable.
|
|
17
|
+
# Avoid entering confidential information.
|
|
18
|
+
#
|
|
18
19
|
# @return [String]
|
|
19
|
-
attr_accessor :
|
|
20
|
+
attr_accessor :display_name
|
|
21
|
+
|
|
22
|
+
# Position of the attribute in the record definition.
|
|
23
|
+
# @return [Integer]
|
|
24
|
+
attr_accessor :position
|
|
20
25
|
|
|
21
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
27
|
def self.attribute_map
|
|
23
28
|
{
|
|
24
29
|
# rubocop:disable Style/SymbolLiteral
|
|
30
|
+
'key': :'key',
|
|
25
31
|
'display_name': :'displayName',
|
|
26
|
-
'
|
|
32
|
+
'position': :'position'
|
|
27
33
|
# rubocop:enable Style/SymbolLiteral
|
|
28
34
|
}
|
|
29
35
|
end
|
|
@@ -32,8 +38,9 @@ module OCI
|
|
|
32
38
|
def self.swagger_types
|
|
33
39
|
{
|
|
34
40
|
# rubocop:disable Style/SymbolLiteral
|
|
41
|
+
'key': :'String',
|
|
35
42
|
'display_name': :'String',
|
|
36
|
-
'
|
|
43
|
+
'position': :'Integer'
|
|
37
44
|
# rubocop:enable Style/SymbolLiteral
|
|
38
45
|
}
|
|
39
46
|
end
|
|
@@ -44,25 +51,24 @@ module OCI
|
|
|
44
51
|
|
|
45
52
|
# Initializes the object
|
|
46
53
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
54
|
+
# @option attributes [String] :key The value to assign to the {#key} property
|
|
47
55
|
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
48
|
-
# @option attributes [
|
|
56
|
+
# @option attributes [Integer] :position The value to assign to the {#position} property
|
|
49
57
|
def initialize(attributes = {})
|
|
50
58
|
return unless attributes.is_a?(Hash)
|
|
51
59
|
|
|
52
60
|
# convert string to symbol for hash key
|
|
53
61
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
54
62
|
|
|
63
|
+
self.key = attributes[:'key'] if attributes[:'key']
|
|
64
|
+
|
|
55
65
|
self.display_name = attributes[:'displayName'] if attributes[:'displayName']
|
|
56
66
|
|
|
57
67
|
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
58
68
|
|
|
59
69
|
self.display_name = attributes[:'display_name'] if attributes[:'display_name']
|
|
60
70
|
|
|
61
|
-
self.
|
|
62
|
-
|
|
63
|
-
raise 'You cannot provide both :autonomousDataWarehouseId and :autonomous_data_warehouse_id' if attributes.key?(:'autonomousDataWarehouseId') && attributes.key?(:'autonomous_data_warehouse_id')
|
|
64
|
-
|
|
65
|
-
self.autonomous_data_warehouse_id = attributes[:'autonomous_data_warehouse_id'] if attributes[:'autonomous_data_warehouse_id']
|
|
71
|
+
self.position = attributes[:'position'] if attributes[:'position']
|
|
66
72
|
end
|
|
67
73
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
68
74
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
@@ -76,8 +82,9 @@ module OCI
|
|
|
76
82
|
return true if equal?(other)
|
|
77
83
|
|
|
78
84
|
self.class == other.class &&
|
|
85
|
+
key == other.key &&
|
|
79
86
|
display_name == other.display_name &&
|
|
80
|
-
|
|
87
|
+
position == other.position
|
|
81
88
|
end
|
|
82
89
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
83
90
|
|
|
@@ -93,7 +100,7 @@ module OCI
|
|
|
93
100
|
# Calculates hash code according to all attributes.
|
|
94
101
|
# @return [Fixnum] Hash code
|
|
95
102
|
def hash
|
|
96
|
-
[display_name,
|
|
103
|
+
[key, display_name, position].hash
|
|
97
104
|
end
|
|
98
105
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
99
106
|
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
3
|
+
|
|
4
|
+
require 'date'
|
|
5
|
+
|
|
6
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
7
|
+
module OCI
|
|
8
|
+
# Results of an rule listing. Rules describe an item of data with name and ruletype.
|
|
9
|
+
#
|
|
10
|
+
class DataCatalog::Models::RuleCollection
|
|
11
|
+
# Total number of items returned.
|
|
12
|
+
# @return [Integer]
|
|
13
|
+
attr_accessor :count
|
|
14
|
+
|
|
15
|
+
# **[Required]** Collection of rules.
|
|
16
|
+
# @return [Array<OCI::DataCatalog::Models::RuleSummary>]
|
|
17
|
+
attr_accessor :items
|
|
18
|
+
|
|
19
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
20
|
+
def self.attribute_map
|
|
21
|
+
{
|
|
22
|
+
# rubocop:disable Style/SymbolLiteral
|
|
23
|
+
'count': :'count',
|
|
24
|
+
'items': :'items'
|
|
25
|
+
# rubocop:enable Style/SymbolLiteral
|
|
26
|
+
}
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
# Attribute type mapping.
|
|
30
|
+
def self.swagger_types
|
|
31
|
+
{
|
|
32
|
+
# rubocop:disable Style/SymbolLiteral
|
|
33
|
+
'count': :'Integer',
|
|
34
|
+
'items': :'Array<OCI::DataCatalog::Models::RuleSummary>'
|
|
35
|
+
# rubocop:enable Style/SymbolLiteral
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
40
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
# Initializes the object
|
|
44
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
45
|
+
# @option attributes [Integer] :count The value to assign to the {#count} property
|
|
46
|
+
# @option attributes [Array<OCI::DataCatalog::Models::RuleSummary>] :items The value to assign to the {#items} property
|
|
47
|
+
def initialize(attributes = {})
|
|
48
|
+
return unless attributes.is_a?(Hash)
|
|
49
|
+
|
|
50
|
+
# convert string to symbol for hash key
|
|
51
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
52
|
+
|
|
53
|
+
self.count = attributes[:'count'] if attributes[:'count']
|
|
54
|
+
|
|
55
|
+
self.items = attributes[:'items'] if attributes[:'items']
|
|
56
|
+
end
|
|
57
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
58
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
59
|
+
|
|
60
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
# Checks equality by comparing each attribute.
|
|
64
|
+
# @param [Object] other the other object to be compared
|
|
65
|
+
def ==(other)
|
|
66
|
+
return true if equal?(other)
|
|
67
|
+
|
|
68
|
+
self.class == other.class &&
|
|
69
|
+
count == other.count &&
|
|
70
|
+
items == other.items
|
|
71
|
+
end
|
|
72
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
73
|
+
|
|
74
|
+
# @see the `==` method
|
|
75
|
+
# @param [Object] other the other object to be compared
|
|
76
|
+
def eql?(other)
|
|
77
|
+
self == other
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
# Calculates hash code according to all attributes.
|
|
84
|
+
# @return [Fixnum] Hash code
|
|
85
|
+
def hash
|
|
86
|
+
[count, items].hash
|
|
87
|
+
end
|
|
88
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
89
|
+
|
|
90
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
# Builds the object from hash
|
|
94
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
95
|
+
# @return [Object] Returns the model itself
|
|
96
|
+
def build_from_hash(attributes)
|
|
97
|
+
return nil unless attributes.is_a?(Hash)
|
|
98
|
+
|
|
99
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
100
|
+
if type =~ /^Array<(.*)>/i
|
|
101
|
+
# check to ensure the input is an array given that the the attribute
|
|
102
|
+
# is documented as an array but the input is not
|
|
103
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
104
|
+
public_method("#{key}=").call(
|
|
105
|
+
attributes[self.class.attribute_map[key]]
|
|
106
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
|
107
|
+
)
|
|
108
|
+
end
|
|
109
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
110
|
+
public_method("#{key}=").call(
|
|
111
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
|
112
|
+
)
|
|
113
|
+
end
|
|
114
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
self
|
|
118
|
+
end
|
|
119
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
120
|
+
|
|
121
|
+
# Returns the string representation of the object
|
|
122
|
+
# @return [String] String presentation of the object
|
|
123
|
+
def to_s
|
|
124
|
+
to_hash.to_s
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# Returns the object in the form of hash
|
|
128
|
+
# @return [Hash] Returns the object in the form of hash
|
|
129
|
+
def to_hash
|
|
130
|
+
hash = {}
|
|
131
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
132
|
+
value = public_method(attr).call
|
|
133
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
134
|
+
|
|
135
|
+
hash[param] = _to_hash(value)
|
|
136
|
+
end
|
|
137
|
+
hash
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
private
|
|
141
|
+
|
|
142
|
+
# Outputs non-array value in the form of hash
|
|
143
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
144
|
+
# @param [Object] value Any valid value
|
|
145
|
+
# @return [Hash] Returns the value in the form of hash
|
|
146
|
+
def _to_hash(value)
|
|
147
|
+
if value.is_a?(Array)
|
|
148
|
+
value.compact.map { |v| _to_hash(v) }
|
|
149
|
+
elsif value.is_a?(Hash)
|
|
150
|
+
{}.tap do |hash|
|
|
151
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
152
|
+
end
|
|
153
|
+
elsif value.respond_to? :to_hash
|
|
154
|
+
value.to_hash
|
|
155
|
+
else
|
|
156
|
+
value
|
|
157
|
+
end
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|