oci 2.14.0 → 2.15.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 +7 -2
- data/lib/oci.rb +5 -0
- data/lib/oci/ai_anomaly_detection/ai_anomaly_detection.rb +76 -0
- data/lib/oci/ai_anomaly_detection/anomaly_detection_client.rb +2054 -0
- data/lib/oci/ai_anomaly_detection/anomaly_detection_client_composite_operations.rb +658 -0
- data/lib/oci/ai_anomaly_detection/models/action_type.rb +14 -0
- data/lib/oci/ai_anomaly_detection/models/ai_private_endpoint.rb +350 -0
- data/lib/oci/ai_anomaly_detection/models/ai_private_endpoint_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/models/ai_private_endpoint_summary.rb +312 -0
- data/lib/oci/ai_anomaly_detection/models/anomaly.rb +210 -0
- data/lib/oci/ai_anomaly_detection/models/anomaly_detect_result.rb +154 -0
- data/lib/oci/ai_anomaly_detection/models/change_ai_private_endpoint_compartment_details.rb +154 -0
- data/lib/oci/ai_anomaly_detection/models/change_data_asset_compartment_details.rb +154 -0
- data/lib/oci/ai_anomaly_detection/models/change_model_compartment_details.rb +156 -0
- data/lib/oci/ai_anomaly_detection/models/change_project_compartment_details.rb +156 -0
- data/lib/oci/ai_anomaly_detection/models/create_ai_private_endpoint_details.rb +231 -0
- data/lib/oci/ai_anomaly_detection/models/create_data_asset_details.rb +253 -0
- data/lib/oci/ai_anomaly_detection/models/create_model_details.rb +238 -0
- data/lib/oci/ai_anomaly_detection/models/create_project_details.rb +211 -0
- data/lib/oci/ai_anomaly_detection/models/data_asset.rb +340 -0
- data/lib/oci/ai_anomaly_detection/models/data_asset_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/models/data_asset_summary.rb +341 -0
- data/lib/oci/ai_anomaly_detection/models/data_item.rb +160 -0
- data/lib/oci/ai_anomaly_detection/models/data_source_details.rb +193 -0
- data/lib/oci/ai_anomaly_detection/models/data_source_details_atp.rb +302 -0
- data/lib/oci/ai_anomaly_detection/models/data_source_details_influx.rb +214 -0
- data/lib/oci/ai_anomaly_detection/models/data_source_details_object_storage.rb +186 -0
- data/lib/oci/ai_anomaly_detection/models/data_source_type.rb +12 -0
- data/lib/oci/ai_anomaly_detection/models/detect_anomalies_details.rb +202 -0
- data/lib/oci/ai_anomaly_detection/models/detection_result_item.rb +184 -0
- data/lib/oci/ai_anomaly_detection/models/embedded_detect_anomalies_request.rb +192 -0
- data/lib/oci/ai_anomaly_detection/models/influx_details.rb +191 -0
- data/lib/oci/ai_anomaly_detection/models/influx_details_v1v8.rb +176 -0
- data/lib/oci/ai_anomaly_detection/models/influx_details_v2v0.rb +176 -0
- data/lib/oci/ai_anomaly_detection/models/influx_version.rb +11 -0
- data/lib/oci/ai_anomaly_detection/models/inline_detect_anomalies_request.rb +179 -0
- data/lib/oci/ai_anomaly_detection/models/model.rb +358 -0
- data/lib/oci/ai_anomaly_detection/models/model_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/models/model_summary.rb +305 -0
- data/lib/oci/ai_anomaly_detection/models/model_training_details.rb +186 -0
- data/lib/oci/ai_anomaly_detection/models/model_training_results.rb +215 -0
- data/lib/oci/ai_anomaly_detection/models/operation_status.rb +16 -0
- data/lib/oci/ai_anomaly_detection/models/operation_type.rb +16 -0
- data/lib/oci/ai_anomaly_detection/models/per_signal_details.rb +267 -0
- data/lib/oci/ai_anomaly_detection/models/project.rb +302 -0
- data/lib/oci/ai_anomaly_detection/models/project_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/models/project_summary.rb +279 -0
- data/lib/oci/ai_anomaly_detection/models/row_reduction_details.rb +205 -0
- data/lib/oci/ai_anomaly_detection/models/sort_order.rb +11 -0
- data/lib/oci/ai_anomaly_detection/models/update_ai_private_endpoint_details.rb +202 -0
- data/lib/oci/ai_anomaly_detection/models/update_data_asset_details.rb +196 -0
- data/lib/oci/ai_anomaly_detection/models/update_model_details.rb +196 -0
- data/lib/oci/ai_anomaly_detection/models/update_project_details.rb +196 -0
- data/lib/oci/ai_anomaly_detection/models/work_request.rb +312 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_error.rb +173 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_error_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_log_entry.rb +160 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_resource.rb +219 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_summary.rb +312 -0
- data/lib/oci/ai_anomaly_detection/models/work_request_summary_collection.rb +150 -0
- data/lib/oci/ai_anomaly_detection/util.rb +3 -0
- data/lib/oci/api_client.rb +4 -4
- data/lib/oci/application_migration/application_migration.rb +2 -0
- data/lib/oci/application_migration/models/authorization_details.rb +2 -1
- data/lib/oci/application_migration/models/import_manifest.rb +208 -0
- data/lib/oci/application_migration/models/import_source_details.rb +192 -0
- data/lib/oci/application_migration/models/source_details.rb +2 -0
- data/lib/oci/application_migration/models/source_summary.rb +1 -0
- data/lib/oci/application_migration/models/source_types.rb +2 -1
- data/lib/oci/artifacts/artifacts.rb +15 -0
- data/lib/oci/artifacts/artifacts_client.rb +1104 -147
- data/lib/oci/artifacts/artifacts_client_composite_operations.rb +211 -0
- data/lib/oci/artifacts/models/change_repository_compartment_details.rb +155 -0
- data/lib/oci/artifacts/models/container_repository.rb +18 -4
- data/lib/oci/artifacts/models/container_repository_summary.rb +18 -4
- data/lib/oci/artifacts/models/create_generic_repository_details.rb +169 -0
- data/lib/oci/artifacts/models/create_repository_details.rb +259 -0
- data/lib/oci/artifacts/models/generic_artifact.rb +337 -0
- data/lib/oci/artifacts/models/generic_artifact_collection.rb +150 -0
- data/lib/oci/artifacts/models/generic_artifact_summary.rb +316 -0
- data/lib/oci/artifacts/models/generic_repository.rb +181 -0
- data/lib/oci/artifacts/models/generic_repository_summary.rb +181 -0
- data/lib/oci/artifacts/models/repository.rb +338 -0
- data/lib/oci/{usage_api/models/schedule_report_collection.rb → artifacts/models/repository_collection.rb} +6 -6
- data/lib/oci/artifacts/models/repository_summary.rb +299 -0
- data/lib/oci/artifacts/models/update_generic_artifact_by_path_details.rb +176 -0
- data/lib/oci/artifacts/models/update_generic_artifact_details.rb +176 -0
- data/lib/oci/artifacts/models/update_generic_repository_details.rb +161 -0
- data/lib/oci/artifacts/models/update_repository_details.rb +230 -0
- data/lib/oci/bastion/bastion.rb +48 -0
- data/lib/oci/bastion/bastion_client.rb +1041 -0
- data/lib/oci/bastion/bastion_client_composite_operations.rb +311 -0
- data/lib/oci/bastion/models/action_type.rb +14 -0
- data/lib/oci/bastion/models/bastion.rb +434 -0
- data/lib/oci/bastion/models/bastion_lifecycle_state.rb +15 -0
- data/lib/oci/bastion/models/bastion_summary.rb +348 -0
- data/lib/oci/bastion/models/change_bastion_compartment_details.rb +154 -0
- data/lib/oci/bastion/models/create_bastion_details.rb +283 -0
- data/lib/oci/bastion/models/create_managed_ssh_session_target_resource_details.rb +194 -0
- data/lib/oci/bastion/models/create_port_forwarding_session_target_resource_details.rb +180 -0
- data/lib/oci/bastion/models/create_session_details.rb +238 -0
- data/lib/oci/bastion/models/create_session_target_resource_details.rb +198 -0
- data/lib/oci/bastion/models/managed_ssh_session_target_resource_details.rb +208 -0
- data/lib/oci/bastion/models/operation_status.rb +15 -0
- data/lib/oci/bastion/models/operation_type.rb +14 -0
- data/lib/oci/bastion/models/port_forwarding_session_target_resource_details.rb +194 -0
- data/lib/oci/bastion/models/public_key_details.rb +154 -0
- data/lib/oci/bastion/models/session.rb +393 -0
- data/lib/oci/bastion/models/session_lifecycle_state.rb +14 -0
- data/lib/oci/bastion/models/session_summary.rb +303 -0
- data/lib/oci/bastion/models/session_type.rb +11 -0
- data/lib/oci/bastion/models/sort_order.rb +11 -0
- data/lib/oci/bastion/models/target_resource_details.rb +205 -0
- data/lib/oci/bastion/models/update_bastion_details.rb +215 -0
- data/lib/oci/bastion/models/update_session_details.rb +154 -0
- data/lib/oci/bastion/models/work_request.rb +309 -0
- data/lib/oci/bastion/models/work_request_error.rb +173 -0
- data/lib/oci/bastion/models/work_request_log_entry.rb +160 -0
- data/lib/oci/bastion/models/work_request_resource.rb +219 -0
- data/lib/oci/bastion/models/work_request_summary.rb +309 -0
- data/lib/oci/bastion/util.rb +3 -0
- data/lib/oci/bds/bds_client.rb +70 -77
- data/lib/oci/bds/bds_client_composite_operations.rb +21 -21
- data/lib/oci/bds/models/add_auto_scaling_configuration_details.rb +5 -5
- data/lib/oci/bds/models/add_block_storage_details.rb +4 -4
- data/lib/oci/bds/models/add_cloud_sql_details.rb +4 -5
- data/lib/oci/bds/models/add_worker_nodes_details.rb +3 -3
- data/lib/oci/bds/models/auto_scale_policy.rb +3 -3
- data/lib/oci/bds/models/auto_scale_policy_metric_rule.rb +2 -2
- data/lib/oci/bds/models/auto_scale_policy_rule.rb +2 -2
- data/lib/oci/bds/models/auto_scaling_configuration.rb +7 -8
- data/lib/oci/bds/models/auto_scaling_configuration_summary.rb +7 -8
- data/lib/oci/bds/models/bds_instance.rb +17 -16
- data/lib/oci/bds/models/bds_instance_summary.rb +14 -14
- data/lib/oci/bds/models/change_bds_instance_compartment_details.rb +2 -2
- data/lib/oci/bds/models/change_shape_details.rb +1 -1
- data/lib/oci/bds/models/change_shape_nodes.rb +2 -2
- data/lib/oci/bds/models/cloud_sql_details.rb +3 -3
- data/lib/oci/bds/models/cluster_details.rb +26 -13
- data/lib/oci/bds/models/create_bds_instance_details.rb +11 -11
- data/lib/oci/bds/models/create_node_details.rb +6 -6
- data/lib/oci/bds/models/kerberos_details.rb +2 -2
- data/lib/oci/bds/models/metric_threshold_rule.rb +4 -4
- data/lib/oci/bds/models/network_config.rb +1 -1
- data/lib/oci/bds/models/node.rb +15 -15
- data/lib/oci/bds/models/remove_auto_scaling_configuration_details.rb +2 -2
- data/lib/oci/bds/models/remove_cloud_sql_details.rb +2 -2
- data/lib/oci/bds/models/restart_node_details.rb +2 -2
- data/lib/oci/bds/models/update_auto_scaling_configuration_details.rb +4 -4
- data/lib/oci/bds/models/update_bds_instance_details.rb +5 -5
- data/lib/oci/bds/models/work_request.rb +9 -14
- data/lib/oci/bds/models/work_request_error.rb +2 -3
- data/lib/oci/bds/models/work_request_log_entry.rb +1 -1
- data/lib/oci/bds/models/work_request_resource.rb +2 -5
- data/lib/oci/container_engine/container_engine.rb +2 -0
- data/lib/oci/container_engine/container_engine_client.rb +118 -0
- data/lib/oci/container_engine/container_engine_client_composite_operations.rb +50 -0
- data/lib/oci/container_engine/models/cluster_migrate_to_native_vcn_details.rb +169 -0
- data/lib/oci/container_engine/models/cluster_migrate_to_native_vcn_status.rb +187 -0
- data/lib/oci/container_engine/models/create_node_pool_node_config_details.rb +16 -1
- data/lib/oci/container_engine/models/node_pool_node_config_details.rb +16 -1
- data/lib/oci/container_engine/models/update_node_pool_node_config_details.rb +16 -1
- data/lib/oci/container_engine/models/work_request.rb +1 -0
- data/lib/oci/container_engine/models/work_request_operation_type.rb +1 -0
- data/lib/oci/container_engine/models/work_request_summary.rb +1 -0
- data/lib/oci/core/blockstorage_client.rb +70 -1
- data/lib/oci/core/blockstorage_client_composite_operations.rb +41 -0
- data/lib/oci/core/compute_client.rb +63 -0
- data/lib/oci/core/compute_client_composite_operations.rb +40 -0
- data/lib/oci/core/core.rb +4 -0
- data/lib/oci/core/models/attach_boot_volume_details.rb +35 -4
- data/lib/oci/core/models/attach_i_scsi_volume_details.rb +35 -4
- data/lib/oci/core/models/block_volume_replica.rb +1 -1
- data/lib/oci/core/models/boot_volume_attachment.rb +41 -4
- data/lib/oci/core/models/boot_volume_replica.rb +1 -1
- data/lib/oci/core/models/copy_volume_group_backup_details.rb +196 -0
- data/lib/oci/core/models/create_boot_volume_details.rb +1 -1
- data/lib/oci/core/models/create_dhcp_details.rb +32 -4
- data/lib/oci/core/models/create_vlan_details.rb +11 -3
- data/lib/oci/core/models/create_volume_details.rb +1 -1
- data/lib/oci/core/models/dhcp_options.rb +38 -4
- data/lib/oci/core/models/emulated_volume_attachment.rb +12 -4
- data/lib/oci/core/models/encryption_in_transit_type.rb +11 -0
- data/lib/oci/core/models/i_scsi_volume_attachment.rb +64 -4
- data/lib/oci/core/models/image.rb +18 -1
- data/lib/oci/core/models/instance_agent_features.rb +2 -2
- data/lib/oci/core/models/instance_configuration_instance_source_via_image_details.rb +1 -1
- data/lib/oci/core/models/instance_source_via_image_details.rb +1 -1
- data/lib/oci/core/models/launch_instance_availability_config_details.rb +2 -2
- data/lib/oci/core/models/multipath_device.rb +180 -0
- data/lib/oci/core/models/paravirtualized_volume_attachment.rb +12 -4
- data/lib/oci/core/models/update_dhcp_details.rb +32 -4
- data/lib/oci/core/models/update_instance_availability_config_details.rb +1 -1
- data/lib/oci/core/models/update_volume_attachment_details.rb +174 -0
- data/lib/oci/core/models/vlan.rb +2 -1
- data/lib/oci/core/models/volume_attachment.rb +58 -4
- data/lib/oci/core/virtual_network_client.rb +7 -5
- data/lib/oci/data_catalog/data_catalog.rb +11 -0
- data/lib/oci/data_catalog/data_catalog_client.rb +599 -7
- data/lib/oci/data_catalog/data_catalog_client_composite_operations.rb +188 -0
- data/lib/oci/data_catalog/models/attribute.rb +43 -1
- data/lib/oci/data_catalog/models/attribute_summary.rb +33 -4
- data/lib/oci/data_catalog/models/change_metastore_compartment_details.rb +154 -0
- data/lib/oci/data_catalog/models/create_custom_property_details.rb +17 -1
- data/lib/oci/data_catalog/models/create_job_definition_details.rb +2 -1
- data/lib/oci/data_catalog/models/create_job_execution_details.rb +2 -1
- data/lib/oci/data_catalog/models/create_metastore_details.rb +232 -0
- data/lib/oci/data_catalog/models/custom_property.rb +17 -1
- data/lib/oci/data_catalog/models/custom_property_get_usage.rb +17 -1
- data/lib/oci/data_catalog/models/custom_property_summary.rb +63 -4
- data/lib/oci/data_catalog/models/custom_property_type_usage.rb +20 -4
- data/lib/oci/data_catalog/models/data_asset.rb +16 -1
- data/lib/oci/data_catalog/models/data_asset_export_scope.rb +172 -0
- data/lib/oci/data_catalog/models/data_asset_import_export_type_filter.rb +11 -0
- data/lib/oci/data_catalog/models/entity.rb +30 -1
- data/lib/oci/data_catalog/models/export_data_asset_details.rb +154 -0
- data/lib/oci/data_catalog/models/folder.rb +44 -1
- data/lib/oci/data_catalog/models/folder_summary.rb +15 -1
- data/lib/oci/data_catalog/models/import_data_asset_details.rb +154 -0
- data/lib/oci/data_catalog/models/import_data_asset_job_result.rb +235 -0
- data/lib/oci/data_catalog/models/job.rb +1 -0
- data/lib/oci/data_catalog/models/job_definition.rb +1 -0
- data/lib/oci/data_catalog/models/job_definition_summary.rb +1 -0
- data/lib/oci/data_catalog/models/job_execution.rb +1 -0
- data/lib/oci/data_catalog/models/job_execution_summary.rb +1 -0
- data/lib/oci/data_catalog/models/job_summary.rb +1 -0
- data/lib/oci/data_catalog/models/job_type.rb +2 -1
- data/lib/oci/data_catalog/models/metastore.rb +325 -0
- data/lib/oci/data_catalog/models/metastore_summary.rb +292 -0
- data/lib/oci/data_catalog/models/object_relationship.rb +233 -0
- data/lib/oci/data_catalog/models/search_result.rb +15 -1
- data/lib/oci/data_catalog/models/type_custom_property_details.rb +20 -4
- data/lib/oci/data_catalog/models/update_custom_property_details.rb +17 -1
- data/lib/oci/data_catalog/models/update_metastore_details.rb +186 -0
- data/lib/oci/data_flow/data_flow_client.rb +3 -0
- data/lib/oci/data_flow/models/application.rb +16 -1
- data/lib/oci/data_flow/models/application_summary.rb +16 -1
- data/lib/oci/data_flow/models/create_application_details.rb +16 -1
- data/lib/oci/data_flow/models/create_run_details.rb +17 -1
- data/lib/oci/data_flow/models/run.rb +16 -1
- data/lib/oci/data_flow/models/update_application_details.rb +16 -1
- data/lib/oci/data_integration/data_integration.rb +52 -0
- data/lib/oci/data_integration/data_integration_client.rb +766 -24
- data/lib/oci/data_integration/models/abstract_format_attribute.rb +19 -4
- data/lib/oci/data_integration/models/abstract_read_attribute.rb +3 -0
- data/lib/oci/data_integration/models/abstract_write_attribute.rb +7 -0
- data/lib/oci/data_integration/models/auth_details.rb +213 -0
- data/lib/oci/data_integration/models/avro_format_attribute.rb +5 -1
- data/lib/oci/data_integration/models/bicc_read_attributes.rb +237 -0
- data/lib/oci/data_integration/models/config_parameter_value.rb +18 -4
- data/lib/oci/data_integration/models/connection.rb +4 -0
- data/lib/oci/data_integration/models/connection_details.rb +5 -1
- data/lib/oci/data_integration/models/connection_from_amazon_s3.rb +226 -0
- data/lib/oci/data_integration/models/connection_from_amazon_s3_details.rb +222 -0
- data/lib/oci/data_integration/models/connection_from_bicc.rb +236 -0
- data/lib/oci/data_integration/models/connection_from_bicc_details.rb +232 -0
- data/lib/oci/data_integration/models/connection_summary.rb +4 -0
- data/lib/oci/data_integration/models/connection_summary_from_amazon_s3.rb +227 -0
- data/lib/oci/data_integration/models/connection_summary_from_bicc.rb +223 -0
- data/lib/oci/data_integration/models/connector_attribute.rb +182 -0
- data/lib/oci/data_integration/models/create_connection_details.rb +5 -1
- data/lib/oci/data_integration/models/create_connection_from_amazon_s3.rb +210 -0
- data/lib/oci/data_integration/models/create_connection_from_bicc.rb +220 -0
- data/lib/oci/data_integration/models/create_data_asset_details.rb +5 -1
- data/lib/oci/data_integration/models/create_data_asset_from_adwc.rb +57 -1
- data/lib/oci/data_integration/models/create_data_asset_from_amazon_s3.rb +207 -0
- data/lib/oci/data_integration/models/create_data_asset_from_atp.rb +57 -1
- data/lib/oci/data_integration/models/create_data_asset_from_fusion_app.rb +211 -0
- data/lib/oci/data_integration/models/create_schedule_details.rb +272 -0
- data/lib/oci/data_integration/models/create_task_details.rb +7 -1
- data/lib/oci/data_integration/models/create_task_from_oci_dataflow_task.rb +213 -0
- data/lib/oci/data_integration/models/create_task_from_rest_task.rb +348 -0
- data/lib/oci/data_integration/models/create_task_from_sql_task.rb +246 -0
- data/lib/oci/data_integration/models/create_task_run_details.rb +15 -1
- data/lib/oci/data_integration/models/create_task_schedule_details.rb +476 -0
- data/lib/oci/data_integration/models/csv_format_attribute.rb +5 -15
- data/lib/oci/data_integration/models/data_asset.rb +4 -0
- data/lib/oci/data_integration/models/data_asset_from_amazon_s3.rb +223 -0
- data/lib/oci/data_integration/models/data_asset_from_fusion_app.rb +227 -0
- data/lib/oci/data_integration/models/data_asset_summary.rb +4 -0
- data/lib/oci/data_integration/models/data_asset_summary_from_amazon_s3.rb +219 -0
- data/lib/oci/data_integration/models/data_asset_summary_from_fusion_app.rb +223 -0
- data/lib/oci/data_integration/models/data_entity.rb +2 -0
- data/lib/oci/data_integration/models/data_entity_details.rb +3 -1
- data/lib/oci/data_integration/models/data_entity_from_data_store.rb +454 -0
- data/lib/oci/data_integration/models/data_entity_from_data_store_entity_details.rb +443 -0
- data/lib/oci/data_integration/models/data_entity_summary.rb +2 -0
- data/lib/oci/data_integration/models/data_entity_summary_from_data_store.rb +454 -0
- data/lib/oci/{usage_api/models/create_schedule_report_details.rb → data_integration/models/dataflow_application.rb} +20 -33
- data/lib/oci/data_integration/models/dependent_object_summary.rb +17 -4
- data/lib/oci/data_integration/models/enriched_entity.rb +31 -4
- data/lib/oci/data_integration/models/expression_operator.rb +250 -0
- data/lib/oci/data_integration/models/external_storage.rb +221 -0
- data/lib/oci/data_integration/models/json_format_attribute.rb +5 -1
- data/lib/oci/data_integration/models/lookup.rb +274 -0
- data/lib/oci/data_integration/models/native_shape_field.rb +3 -3
- data/lib/oci/data_integration/models/object_metadata.rb +17 -4
- data/lib/oci/data_integration/models/object_storage_write_attribute.rb +162 -0
- data/lib/oci/data_integration/models/object_storage_write_attributes.rb +164 -0
- data/lib/oci/data_integration/models/operator.rb +4 -1
- data/lib/oci/data_integration/models/oracle_adwc_write_attributes.rb +22 -12
- data/lib/oci/data_integration/models/oracle_atp_write_attributes.rb +22 -12
- data/lib/oci/data_integration/models/oracle_read_attributes.rb +13 -2
- data/lib/oci/data_integration/models/oracle_write_attributes.rb +13 -2
- data/lib/oci/data_integration/models/parameter.rb +4 -3
- data/lib/oci/data_integration/models/parent_reference.rb +18 -4
- data/lib/oci/data_integration/models/parquet_format_attribute.rb +162 -0
- data/lib/oci/data_integration/models/patch_change_summary.rb +3 -0
- data/lib/oci/data_integration/models/patch_object_metadata.rb +3 -0
- data/lib/oci/data_integration/models/published_object.rb +3 -0
- data/lib/oci/data_integration/models/published_object_summary.rb +3 -0
- data/lib/oci/data_integration/models/schedule_summary.rb +295 -0
- data/lib/oci/data_integration/models/schedule_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/script.rb +202 -0
- data/lib/oci/data_integration/models/shape_field.rb +3 -3
- data/lib/oci/data_integration/models/task.rb +23 -4
- data/lib/oci/data_integration/models/task_from_data_loader_task_details.rb +5 -1
- data/lib/oci/data_integration/models/task_from_integration_task_details.rb +5 -1
- data/lib/oci/data_integration/models/task_from_oci_dataflow_task_details.rb +225 -0
- data/lib/oci/data_integration/models/task_from_pipeline_task_details.rb +5 -1
- data/lib/oci/data_integration/models/task_from_rest_task_details.rb +379 -0
- data/lib/oci/data_integration/models/task_from_sql_task_details.rb +265 -0
- data/lib/oci/data_integration/models/task_operator.rb +3 -0
- data/lib/oci/data_integration/models/task_run.rb +62 -1
- data/lib/oci/data_integration/models/task_run_details.rb +3 -0
- data/lib/oci/data_integration/models/task_run_summary.rb +3 -0
- data/lib/oci/data_integration/models/task_schedule_summary.rb +532 -0
- data/lib/oci/data_integration/models/task_schedule_summary_collection.rb +150 -0
- data/lib/oci/data_integration/models/task_summary.rb +6 -0
- data/lib/oci/data_integration/models/task_summary_from_oci_dataflow_task.rb +221 -0
- data/lib/oci/data_integration/models/task_summary_from_rest_task.rb +356 -0
- data/lib/oci/data_integration/models/task_summary_from_sql_task.rb +254 -0
- data/lib/oci/data_integration/models/update_connection_details.rb +5 -1
- data/lib/oci/data_integration/models/update_connection_from_amazon_s3.rb +214 -0
- data/lib/oci/data_integration/models/update_connection_from_bicc.rb +224 -0
- data/lib/oci/data_integration/models/update_data_asset_details.rb +5 -1
- data/lib/oci/data_integration/models/update_data_asset_from_adwc.rb +57 -1
- data/lib/oci/data_integration/models/update_data_asset_from_amazon_s3.rb +198 -0
- data/lib/oci/data_integration/models/update_data_asset_from_atp.rb +57 -1
- data/lib/oci/data_integration/models/update_data_asset_from_fusion_app.rb +202 -0
- data/lib/oci/data_integration/models/update_schedule_details.rb +299 -0
- data/lib/oci/data_integration/models/update_task_details.rb +7 -1
- data/lib/oci/data_integration/models/update_task_from_oci_dataflow_task.rb +217 -0
- data/lib/oci/data_integration/models/update_task_from_rest_task.rb +366 -0
- data/lib/oci/data_integration/models/update_task_from_sql_task.rb +250 -0
- data/lib/oci/data_integration/models/update_task_run_details.rb +15 -1
- data/lib/oci/data_integration/models/update_task_schedule_details.rb +490 -0
- data/lib/oci/data_safe/data_safe.rb +18 -0
- data/lib/oci/data_safe/data_safe_client.rb +731 -17
- data/lib/oci/data_safe/data_safe_client_composite_operations.rb +247 -0
- data/lib/oci/{usage_api/models/update_schedule_report_details.rb → data_safe/models/activate_target_database_details.rb} +10 -14
- data/lib/oci/data_safe/models/autonomous_database_details.rb +166 -0
- data/lib/oci/data_safe/models/change_target_database_compartment_details.rb +154 -0
- data/lib/oci/data_safe/models/connection_option.rb +194 -0
- data/lib/oci/data_safe/models/create_target_database_details.rb +261 -0
- data/lib/oci/data_safe/models/credentials.rb +164 -0
- data/lib/oci/data_safe/models/data_safe_private_endpoint.rb +20 -4
- data/lib/oci/data_safe/models/data_safe_private_endpoint_summary.rb +54 -4
- data/lib/oci/data_safe/models/database_cloud_service_details.rb +194 -0
- data/lib/oci/data_safe/models/database_details.rb +231 -0
- data/lib/oci/data_safe/models/database_type.rb +12 -0
- data/lib/oci/data_safe/models/infrastructure_type.rb +13 -0
- data/lib/oci/data_safe/models/installed_database_details.rb +209 -0
- data/lib/oci/data_safe/models/on_prem_connector.rb +17 -1
- data/lib/oci/data_safe/models/on_prem_connector_summary.rb +17 -1
- data/lib/oci/data_safe/models/on_premise_connector.rb +162 -0
- data/lib/oci/data_safe/models/private_endpoint.rb +163 -0
- data/lib/oci/data_safe/models/service_list.rb +4 -0
- data/lib/oci/data_safe/models/target_database.rb +369 -0
- data/lib/oci/data_safe/models/target_database_lifecycle_state.rb +17 -0
- data/lib/oci/data_safe/models/target_database_summary.rb +359 -0
- data/lib/oci/data_safe/models/tls_config.rb +244 -0
- data/lib/oci/data_safe/models/update_target_database_details.rb +246 -0
- data/lib/oci/data_safe/models/work_request.rb +6 -0
- data/lib/oci/data_safe/models/work_request_summary.rb +6 -0
- data/lib/oci/data_science/data_science.rb +3 -0
- data/lib/oci/data_science/data_science_client.rb +16 -9
- data/lib/oci/data_science/data_science_client_composite_operations.rb +4 -4
- data/lib/oci/data_science/models/create_model_details.rb +60 -4
- data/lib/oci/data_science/models/create_model_provenance_details.rb +18 -4
- data/lib/oci/data_science/models/metadata.rb +197 -0
- data/lib/oci/data_science/models/model.rb +60 -4
- data/lib/oci/data_science/models/model_deployment.rb +1 -1
- data/lib/oci/data_science/models/model_provenance.rb +18 -4
- data/lib/oci/data_science/models/notebook_session_configuration_details.rb +17 -4
- data/lib/oci/data_science/models/notebook_session_shape_config_details.rb +169 -0
- data/lib/oci/data_science/models/notebook_session_shape_series.rb +13 -0
- data/lib/oci/data_science/models/notebook_session_shape_summary.rb +41 -4
- data/lib/oci/data_science/models/update_model_details.rb +32 -4
- data/lib/oci/data_science/models/update_model_provenance_details.rb +18 -4
- data/lib/oci/database/database.rb +17 -0
- data/lib/oci/database/database_client.rb +1228 -46
- data/lib/oci/database/database_client_composite_operations.rb +416 -0
- data/lib/oci/database/models/autonomous_container_database_dataguard_association.rb +2 -2
- data/lib/oci/database/models/autonomous_database.rb +213 -6
- data/lib/oci/database/models/autonomous_database_backup.rb +32 -4
- data/lib/oci/database/models/autonomous_database_backup_summary.rb +32 -4
- data/lib/oci/database/models/autonomous_database_dataguard_association.rb +2 -2
- data/lib/oci/{usage_api/models/schedule_report.rb → database/models/autonomous_database_key_history_entry.rb} +24 -36
- data/lib/oci/database/models/autonomous_database_standby_summary.rb +19 -4
- data/lib/oci/database/models/autonomous_database_summary.rb +213 -6
- data/lib/oci/database/models/cloud_exadata_infrastructure.rb +21 -4
- data/lib/oci/database/models/cloud_exadata_infrastructure_summary.rb +21 -4
- data/lib/oci/database/models/configure_autonomous_database_vault_key_details.rb +182 -0
- data/lib/oci/database/models/create_autonomous_database_base.rb +118 -7
- data/lib/oci/database/models/create_autonomous_database_clone_details.rb +21 -1
- data/lib/oci/database/models/create_autonomous_database_details.rb +24 -4
- data/lib/oci/database/models/create_autonomous_database_from_backup_details.rb +21 -1
- data/lib/oci/database/models/create_autonomous_database_from_backup_timestamp_details.rb +21 -1
- data/lib/oci/database/models/create_cloud_exadata_infrastructure_details.rb +18 -4
- data/lib/oci/database/models/create_cross_region_autonomous_database_data_guard_details.rb +283 -0
- data/lib/oci/database/models/create_database_software_image_details.rb +18 -4
- data/lib/oci/database/models/create_db_home_base.rb +18 -4
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +5 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +5 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_database_details.rb +5 -1
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +5 -1
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.rb +5 -1
- data/lib/oci/database/models/create_exadata_infrastructure_details.rb +29 -1
- data/lib/oci/database/models/create_pluggable_database_details.rb +233 -0
- data/lib/oci/database/models/create_refreshable_autonomous_database_clone_details.rb +21 -1
- data/lib/oci/database/models/customer_contact.rb +2 -2
- data/lib/oci/database/models/db_home_from_agent_resource_id.rb +380 -0
- data/lib/oci/database/models/db_node.rb +69 -1
- data/lib/oci/database/models/db_node_summary.rb +69 -1
- data/lib/oci/database/models/db_system_shape_summary.rb +72 -2
- data/lib/oci/database/models/exadata_infrastructure.rb +57 -1
- data/lib/oci/database/models/exadata_infrastructure_summary.rb +57 -1
- data/lib/oci/database/models/local_clone_pluggable_database_details.rb +185 -0
- data/lib/oci/database/models/maintenance_run.rb +4 -1
- data/lib/oci/database/models/maintenance_run_summary.rb +4 -1
- data/lib/oci/database/models/pluggable_database.rb +358 -0
- data/lib/oci/database/models/pluggable_database_connection_strings.rb +183 -0
- data/lib/oci/database/models/pluggable_database_summary.rb +361 -0
- data/lib/oci/database/models/remote_clone_pluggable_database_details.rb +213 -0
- data/lib/oci/database/models/scan_details.rb +1 -1
- data/lib/oci/database/models/update_autonomous_database_details.rb +64 -5
- data/lib/oci/database/models/update_cloud_exadata_infrastructure_details.rb +18 -4
- data/lib/oci/database/models/update_data_guard_association_details.rb +237 -0
- data/lib/oci/database/models/update_exadata_infrastructure_details.rb +15 -1
- data/lib/oci/database/models/update_external_macs_connector_details.rb +2 -1
- data/lib/oci/database/models/update_maintenance_run_details.rb +4 -1
- data/lib/oci/database/models/update_pluggable_database_details.rb +177 -0
- data/lib/oci/database/models/update_vm_cluster_details.rb +14 -1
- data/lib/oci/database/models/vm_cluster.rb +15 -2
- data/lib/oci/database/models/vm_cluster_summary.rb +15 -2
- data/lib/oci/database/models/vm_cluster_update.rb +346 -0
- data/lib/oci/database/models/vm_cluster_update_details.rb +183 -0
- data/lib/oci/database/models/vm_cluster_update_history_entry.rb +308 -0
- data/lib/oci/database/models/vm_cluster_update_history_entry_summary.rb +311 -0
- data/lib/oci/database/models/vm_cluster_update_summary.rb +349 -0
- data/lib/oci/database_management/database_management.rb +25 -0
- data/lib/oci/database_management/db_management_client.rb +1467 -97
- data/lib/oci/database_management/models/awr_db_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_cpu_usage_collection.rb +217 -0
- data/lib/oci/database_management/models/awr_db_cpu_usage_summary.rb +164 -0
- data/lib/oci/database_management/models/awr_db_metric_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_metric_summary.rb +202 -0
- data/lib/oci/database_management/models/awr_db_parameter_change_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_parameter_change_summary.rb +255 -0
- data/lib/oci/database_management/models/awr_db_parameter_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_parameter_summary.rb +238 -0
- data/lib/oci/database_management/models/awr_db_report.rb +205 -0
- data/lib/oci/database_management/models/awr_db_snapshot_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_snapshot_range_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_snapshot_range_summary.rb +331 -0
- data/lib/oci/database_management/models/awr_db_snapshot_summary.rb +244 -0
- data/lib/oci/database_management/models/awr_db_sql_report.rb +204 -0
- data/lib/oci/database_management/models/awr_db_summary.rb +334 -0
- data/lib/oci/database_management/models/awr_db_sysstat_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_sysstat_summary.rb +216 -0
- data/lib/oci/database_management/models/awr_db_top_wait_event_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_top_wait_event_summary.rb +178 -0
- data/lib/oci/database_management/models/awr_db_wait_event_bucket_collection.rb +189 -0
- data/lib/oci/database_management/models/awr_db_wait_event_bucket_summary.rb +160 -0
- data/lib/oci/database_management/models/awr_db_wait_event_collection.rb +175 -0
- data/lib/oci/database_management/models/awr_db_wait_event_summary.rb +223 -0
- data/lib/oci/database_management/models/awr_query_result.rb +254 -0
- data/lib/oci/devops/devops.rb +177 -0
- data/lib/oci/devops/devops_client.rb +2344 -0
- data/lib/oci/devops/devops_client_composite_operations.rb +974 -0
- data/lib/oci/devops/models/absolute_wait_criteria.rb +162 -0
- data/lib/oci/devops/models/absolute_wait_criteria_summary.rb +162 -0
- data/lib/oci/devops/models/action_type.rb +15 -0
- data/lib/oci/devops/models/approval_action.rb +184 -0
- data/lib/oci/devops/models/approval_policy.rb +189 -0
- data/lib/oci/devops/models/approve_deployment_details.rb +187 -0
- data/lib/oci/devops/models/automated_deploy_stage_rollback_policy.rb +145 -0
- data/lib/oci/devops/models/backend_set_ip_collection.rb +150 -0
- data/lib/oci/devops/models/cancel_deployment_details.rb +150 -0
- data/lib/oci/devops/models/change_project_compartment_details.rb +154 -0
- data/lib/oci/devops/models/compute_instance_group_blue_green_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/compute_instance_group_blue_green_traffic_shift_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/compute_instance_group_by_ids_selector.rb +162 -0
- data/lib/oci/devops/models/compute_instance_group_by_query_selector.rb +168 -0
- data/lib/oci/devops/models/compute_instance_group_canary_approval_deploy_stage_execution_progress.rb +189 -0
- data/lib/oci/devops/models/compute_instance_group_canary_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/compute_instance_group_canary_traffic_shift_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/compute_instance_group_deploy_environment.rb +210 -0
- data/lib/oci/devops/models/compute_instance_group_deploy_environment_summary.rb +210 -0
- data/lib/oci/devops/models/compute_instance_group_deploy_stage.rb +299 -0
- data/lib/oci/devops/models/compute_instance_group_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/compute_instance_group_deploy_stage_summary.rb +299 -0
- data/lib/oci/devops/models/compute_instance_group_failure_policy.rb +191 -0
- data/lib/oci/devops/models/compute_instance_group_failure_policy_by_count.rb +162 -0
- data/lib/oci/devops/models/compute_instance_group_failure_policy_by_percentage.rb +162 -0
- data/lib/oci/devops/models/compute_instance_group_linear_rollout_policy_by_count.rb +166 -0
- data/lib/oci/devops/models/compute_instance_group_linear_rollout_policy_by_percentage.rb +166 -0
- data/lib/oci/devops/models/compute_instance_group_rollout_policy.rb +207 -0
- data/lib/oci/devops/models/compute_instance_group_selector.rb +191 -0
- data/lib/oci/devops/models/compute_instance_group_selector_collection.rb +150 -0
- data/lib/oci/devops/models/count_based_approval_policy.rb +164 -0
- data/lib/oci/devops/models/create_compute_instance_group_deploy_environment_details.rb +182 -0
- data/lib/oci/devops/models/create_compute_instance_group_deploy_stage_details.rb +267 -0
- data/lib/oci/devops/models/create_deploy_artifact_details.rb +248 -0
- data/lib/oci/devops/models/create_deploy_environment_details.rb +238 -0
- data/lib/oci/devops/models/create_deploy_pipeline_deployment_details.rb +190 -0
- data/lib/oci/devops/models/create_deploy_pipeline_details.rb +219 -0
- data/lib/oci/devops/models/create_deploy_pipeline_redeployment_details.rb +178 -0
- data/lib/oci/devops/models/create_deploy_stage_details.rb +256 -0
- data/lib/oci/devops/models/create_deployment_details.rb +228 -0
- data/lib/oci/devops/models/create_function_deploy_environment_details.rb +182 -0
- data/lib/oci/devops/models/create_function_deploy_stage_details.rb +238 -0
- data/lib/oci/devops/models/create_invoke_function_deploy_stage_details.rb +228 -0
- data/lib/oci/devops/models/create_load_balancer_traffic_shift_deploy_stage_details.rb +255 -0
- data/lib/oci/devops/models/create_manual_approval_deploy_stage_details.rb +186 -0
- data/lib/oci/devops/models/create_oke_cluster_deploy_environment_details.rb +182 -0
- data/lib/oci/devops/models/create_oke_deploy_stage_details.rb +224 -0
- data/lib/oci/devops/models/create_project_details.rb +216 -0
- data/lib/oci/devops/models/create_single_deploy_stage_deployment_details.rb +204 -0
- data/lib/oci/devops/models/create_wait_deploy_stage_details.rb +186 -0
- data/lib/oci/devops/models/deploy_artifact.rb +407 -0
- data/lib/oci/devops/models/deploy_artifact_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_artifact_override_argument.rb +174 -0
- data/lib/oci/devops/models/deploy_artifact_override_argument_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_artifact_source.rb +193 -0
- data/lib/oci/devops/models/deploy_artifact_summary.rb +342 -0
- data/lib/oci/devops/models/deploy_environment.rb +376 -0
- data/lib/oci/devops/models/deploy_environment_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_environment_summary.rb +332 -0
- data/lib/oci/devops/models/deploy_pipeline.rb +365 -0
- data/lib/oci/{usage_api/models/saved_schedule_report.rb → devops/models/deploy_pipeline_artifact.rb} +27 -39
- data/lib/oci/devops/models/deploy_pipeline_artifact_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_pipeline_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_pipeline_deployment.rb +213 -0
- data/lib/oci/devops/models/deploy_pipeline_deployment_summary.rb +201 -0
- data/lib/oci/devops/models/deploy_pipeline_environment.rb +182 -0
- data/lib/oci/devops/models/deploy_pipeline_environment_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_pipeline_parameter.rb +174 -0
- data/lib/oci/devops/models/deploy_pipeline_parameter_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_pipeline_redeployment.rb +230 -0
- data/lib/oci/devops/models/deploy_pipeline_redeployment_summary.rb +218 -0
- data/lib/oci/devops/models/deploy_pipeline_stage.rb +168 -0
- data/lib/oci/devops/models/deploy_pipeline_stage_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_pipeline_summary.rb +299 -0
- data/lib/oci/devops/models/deploy_stage.rb +411 -0
- data/lib/oci/devops/models/deploy_stage_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_stage_execution_progress.rb +303 -0
- data/lib/oci/devops/models/deploy_stage_execution_progress_details.rb +192 -0
- data/lib/oci/devops/models/deploy_stage_execution_step.rb +211 -0
- data/lib/oci/{usage_api/models/schedule_report_summary.rb → devops/models/deploy_stage_predecessor.rb} +7 -20
- data/lib/oci/devops/models/deploy_stage_predecessor_collection.rb +150 -0
- data/lib/oci/devops/models/deploy_stage_rollback_policy.rb +191 -0
- data/lib/oci/devops/models/deploy_stage_summary.rb +363 -0
- data/lib/oci/devops/models/deployment.rb +445 -0
- data/lib/oci/devops/models/deployment_argument.rb +160 -0
- data/lib/oci/devops/models/deployment_argument_collection.rb +150 -0
- data/lib/oci/devops/models/deployment_collection.rb +150 -0
- data/lib/oci/devops/models/deployment_execution_progress.rb +182 -0
- data/lib/oci/devops/models/deployment_summary.rb +363 -0
- data/lib/oci/devops/models/function_deploy_environment.rb +210 -0
- data/lib/oci/devops/models/function_deploy_environment_summary.rb +210 -0
- data/lib/oci/devops/models/function_deploy_stage.rb +270 -0
- data/lib/oci/devops/models/function_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/function_deploy_stage_summary.rb +270 -0
- data/lib/oci/devops/models/generic_deploy_artifact_source.rb +190 -0
- data/lib/oci/devops/models/inline_deploy_artifact_source.rb +162 -0
- data/lib/oci/devops/models/invoke_function_deploy_stage.rb +260 -0
- data/lib/oci/devops/models/invoke_function_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/invoke_function_deploy_stage_summary.rb +260 -0
- data/lib/oci/devops/models/load_balancer_config.rb +184 -0
- data/lib/oci/devops/models/load_balancer_traffic_shift_deploy_stage.rb +308 -0
- data/lib/oci/devops/models/load_balancer_traffic_shift_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/load_balancer_traffic_shift_deploy_stage_summary.rb +287 -0
- data/lib/oci/devops/models/load_balancer_traffic_shift_rollout_policy.rb +184 -0
- data/lib/oci/devops/models/manual_approval_deploy_stage.rb +218 -0
- data/lib/oci/devops/models/manual_approval_deploy_stage_execution_progress.rb +189 -0
- data/lib/oci/devops/models/manual_approval_deploy_stage_summary.rb +218 -0
- data/lib/oci/devops/models/no_deploy_stage_rollback_policy.rb +145 -0
- data/lib/oci/devops/models/notification_config.rb +154 -0
- data/lib/oci/devops/models/ocir_deploy_artifact_source.rb +176 -0
- data/lib/oci/devops/models/oke_cluster_deploy_environment.rb +210 -0
- data/lib/oci/devops/models/oke_cluster_deploy_environment_summary.rb +210 -0
- data/lib/oci/devops/models/oke_deploy_stage.rb +256 -0
- data/lib/oci/devops/models/oke_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/oke_deploy_stage_summary.rb +256 -0
- data/lib/oci/devops/models/operation_status.rb +15 -0
- data/lib/oci/devops/models/operation_type.rb +28 -0
- data/lib/oci/devops/models/project.rb +330 -0
- data/lib/oci/devops/models/project_collection.rb +150 -0
- data/lib/oci/devops/models/project_summary.rb +292 -0
- data/lib/oci/devops/models/run_pipeline_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/run_validation_test_on_compute_instance_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/single_deploy_stage_deployment.rb +230 -0
- data/lib/oci/devops/models/single_deploy_stage_deployment_summary.rb +218 -0
- data/lib/oci/devops/models/sort_order.rb +11 -0
- data/lib/oci/devops/models/update_compute_instance_group_deploy_environment_details.rb +177 -0
- data/lib/oci/devops/models/update_compute_instance_group_deploy_stage_details.rb +262 -0
- data/lib/oci/devops/models/update_deploy_artifact_details.rb +233 -0
- data/lib/oci/devops/models/update_deploy_environment_details.rb +224 -0
- data/lib/oci/devops/models/update_deploy_pipeline_deployment_details.rb +157 -0
- data/lib/oci/devops/models/update_deploy_pipeline_details.rb +205 -0
- data/lib/oci/devops/models/update_deploy_pipeline_redeployment_details.rb +157 -0
- data/lib/oci/devops/models/update_deploy_stage_details.rb +241 -0
- data/lib/oci/devops/models/update_deployment_details.rb +214 -0
- data/lib/oci/devops/models/update_function_deploy_environment_details.rb +178 -0
- data/lib/oci/devops/models/update_function_deploy_stage_details.rb +234 -0
- data/lib/oci/devops/models/update_invoke_function_deploy_stage_details.rb +224 -0
- data/lib/oci/devops/models/update_load_balancer_traffic_shift_deploy_stage_details.rb +247 -0
- data/lib/oci/devops/models/update_manual_approval_deploy_stage_details.rb +181 -0
- data/lib/oci/devops/models/update_oke_cluster_deploy_environment_details.rb +178 -0
- data/lib/oci/devops/models/update_oke_deploy_stage_details.rb +220 -0
- data/lib/oci/devops/models/update_project_details.rb +191 -0
- data/lib/oci/devops/models/update_single_deploy_stage_deployment_details.rb +157 -0
- data/lib/oci/devops/models/update_wait_deploy_stage_details.rb +181 -0
- data/lib/oci/devops/models/wait_criteria.rb +189 -0
- data/lib/oci/devops/models/wait_criteria_summary.rb +189 -0
- data/lib/oci/devops/models/wait_deploy_stage.rb +218 -0
- data/lib/oci/devops/models/wait_deploy_stage_execution_progress.rb +173 -0
- data/lib/oci/devops/models/wait_deploy_stage_summary.rb +218 -0
- data/lib/oci/devops/models/work_request.rb +314 -0
- data/lib/oci/devops/models/work_request_collection.rb +150 -0
- data/lib/oci/devops/models/work_request_error.rb +171 -0
- data/lib/oci/devops/models/work_request_error_collection.rb +150 -0
- data/lib/oci/devops/models/work_request_log_entry.rb +160 -0
- data/lib/oci/devops/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/devops/models/work_request_resource.rb +216 -0
- data/lib/oci/devops/models/work_request_summary.rb +314 -0
- data/lib/oci/devops/util.rb +3 -0
- data/lib/oci/dns/dns.rb +1 -1
- data/lib/oci/dns/dns_client.rb +306 -75
- data/lib/oci/dns/models/create_resolver_endpoint_details.rb +2 -2
- data/lib/oci/dns/models/create_resolver_vnic_endpoint_details.rb +5 -5
- data/lib/oci/dns/models/external_master.rb +1 -12
- data/lib/oci/dns/models/resolver.rb +4 -4
- data/lib/oci/dns/models/resolver_endpoint.rb +2 -2
- data/lib/oci/dns/models/resolver_endpoint_summary.rb +2 -2
- data/lib/oci/dns/models/resolver_forward_rule.rb +2 -2
- data/lib/oci/dns/models/resolver_forward_rule_details.rb +2 -2
- data/lib/oci/dns/models/resolver_rule.rb +2 -2
- data/lib/oci/dns/models/resolver_rule_details.rb +2 -2
- data/lib/oci/dns/models/resolver_summary.rb +4 -4
- data/lib/oci/dns/models/resolver_vnic_endpoint.rb +2 -1
- data/lib/oci/dns/models/tsig_key.rb +4 -0
- data/lib/oci/dns/models/tsig_key_summary.rb +4 -0
- data/lib/oci/dns/models/update_resolver_vnic_endpoint_details.rb +2 -1
- data/lib/oci/dns/models/zone.rb +20 -4
- data/lib/oci/dns/models/zone_summary.rb +1 -0
- data/lib/oci/dns/models/zone_transfer_server.rb +192 -0
- data/lib/oci/email/email.rb +23 -0
- data/lib/oci/email/email_client.rb +1139 -139
- data/lib/oci/email/email_client_composite_operations.rb +346 -0
- data/lib/oci/email/models/action_type.rb +14 -0
- data/lib/oci/email/models/change_email_domain_compartment_details.rb +156 -0
- data/lib/oci/email/models/create_dkim_details.rb +225 -0
- data/lib/oci/email/models/create_email_domain_details.rb +220 -0
- data/lib/oci/email/models/create_sender_details.rb +2 -0
- data/lib/oci/email/models/dkim.rb +399 -0
- data/lib/oci/email/models/dkim_collection.rb +150 -0
- data/lib/oci/email/models/dkim_summary.rb +307 -0
- data/lib/oci/email/models/email_domain.rb +333 -0
- data/lib/oci/email/models/email_domain_collection.rb +150 -0
- data/lib/oci/email/models/email_domain_summary.rb +291 -0
- data/lib/oci/email/models/operation_status.rb +15 -0
- data/lib/oci/email/models/operation_type.rb +17 -0
- data/lib/oci/email/models/sender.rb +21 -4
- data/lib/oci/email/models/sender_summary.rb +5 -3
- data/lib/oci/email/models/sort_order.rb +11 -0
- data/lib/oci/email/models/suppression.rb +77 -7
- data/lib/oci/email/models/suppression_summary.rb +3 -3
- data/lib/oci/email/models/update_dkim_details.rb +189 -0
- data/lib/oci/email/models/update_email_domain_details.rb +189 -0
- data/lib/oci/email/models/update_sender_details.rb +2 -0
- data/lib/oci/email/models/work_request.rb +312 -0
- data/lib/oci/email/models/work_request_error.rb +172 -0
- data/lib/oci/email/models/work_request_error_collection.rb +150 -0
- data/lib/oci/email/models/work_request_log_entry.rb +160 -0
- data/lib/oci/email/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/email/models/work_request_resource.rb +219 -0
- data/lib/oci/email/models/work_request_summary.rb +312 -0
- data/lib/oci/email/models/work_request_summary_collection.rb +150 -0
- data/lib/oci/generic_artifacts_content/generic_artifacts_content.rb +20 -0
- data/lib/oci/generic_artifacts_content/generic_artifacts_content_client.rb +410 -0
- data/lib/oci/generic_artifacts_content/generic_artifacts_content_client_composite_operations.rb +25 -0
- data/lib/oci/generic_artifacts_content/models/generic_artifact.rb +337 -0
- data/lib/oci/generic_artifacts_content/util.rb +3 -0
- data/lib/oci/jms/java_management_service_client.rb +1520 -0
- data/lib/oci/jms/java_management_service_client_composite_operations.rb +273 -0
- data/lib/oci/jms/jms.rb +63 -0
- data/lib/oci/jms/models/action_type.rb +14 -0
- data/lib/oci/jms/models/application_sort_by.rb +15 -0
- data/lib/oci/jms/models/application_usage.rb +292 -0
- data/lib/oci/jms/models/application_usage_collection.rb +150 -0
- data/lib/oci/jms/models/change_fleet_compartment_details.rb +154 -0
- data/lib/oci/jms/models/create_fleet_details.rb +210 -0
- data/lib/oci/jms/models/fleet.rb +358 -0
- data/lib/oci/jms/models/fleet_agent_configuration.rb +214 -0
- data/lib/oci/jms/models/fleet_agent_os_configuration.rb +171 -0
- data/lib/oci/jms/models/fleet_collection.rb +150 -0
- data/lib/oci/jms/models/fleet_summary.rb +359 -0
- data/lib/oci/jms/models/installation_sort_by.rb +17 -0
- data/lib/oci/jms/models/installation_usage.rb +306 -0
- data/lib/oci/jms/models/installation_usage_collection.rb +150 -0
- data/lib/oci/jms/models/jre_sort_by.rb +17 -0
- data/lib/oci/jms/models/jre_usage.rb +276 -0
- data/lib/oci/jms/models/jre_usage_collection.rb +150 -0
- data/lib/oci/jms/models/lifecycle_state.rb +15 -0
- data/lib/oci/jms/models/managed_instance_sort_by.rb +14 -0
- data/lib/oci/jms/models/managed_instance_type.rb +10 -0
- data/lib/oci/jms/models/managed_instance_usage.rb +308 -0
- data/lib/oci/jms/models/managed_instance_usage_collection.rb +150 -0
- data/lib/oci/jms/models/operation_status.rb +15 -0
- data/lib/oci/jms/models/operation_type.rb +13 -0
- data/lib/oci/jms/models/request_summarized_application_usage_details.rb +362 -0
- data/lib/oci/jms/models/request_summarized_installation_usage_details.rb +335 -0
- data/lib/oci/jms/models/request_summarized_jre_usage_details.rb +321 -0
- data/lib/oci/jms/models/request_summarized_managed_instance_usage_details.rb +358 -0
- data/lib/oci/jms/models/sort_by.rb +11 -0
- data/lib/oci/jms/models/sort_order.rb +11 -0
- data/lib/oci/jms/models/summarize_application_usage_fields.rb +12 -0
- data/lib/oci/jms/models/summarize_installation_usage_fields.rb +11 -0
- data/lib/oci/jms/models/summarize_jre_usage_fields.rb +12 -0
- data/lib/oci/jms/models/summarize_managed_instance_usage_fields.rb +12 -0
- data/lib/oci/jms/models/update_fleet_agent_configuration_details.rb +196 -0
- data/lib/oci/jms/models/update_fleet_details.rb +196 -0
- data/lib/oci/jms/models/work_request.rb +306 -0
- data/lib/oci/jms/models/work_request_collection.rb +150 -0
- data/lib/oci/jms/models/work_request_error.rb +173 -0
- data/lib/oci/jms/models/work_request_error_collection.rb +150 -0
- data/lib/oci/jms/models/work_request_log_entry.rb +160 -0
- data/lib/oci/jms/models/work_request_log_entry_collection.rb +150 -0
- data/lib/oci/jms/models/work_request_resource.rb +219 -0
- data/lib/oci/jms/util.rb +3 -0
- data/lib/oci/limits/limits_client.rb +12 -12
- data/lib/oci/limits/models/limit_definition_summary.rb +22 -7
- data/lib/oci/limits/models/quota.rb +6 -6
- data/lib/oci/limits/models/quota_summary.rb +3 -3
- data/lib/oci/limits/models/resource_availability.rb +7 -7
- data/lib/oci/limits/models/service_summary.rb +1 -1
- data/lib/oci/limits/quotas_client.rb +9 -9
- data/lib/oci/log_analytics/log_analytics.rb +1 -0
- data/lib/oci/log_analytics/log_analytics_client.rb +60 -0
- data/lib/oci/log_analytics/models/abstract_command_descriptor.rb +2 -0
- data/lib/oci/log_analytics/models/compare_command_descriptor.rb +166 -0
- data/lib/oci/log_analytics/models/cron_schedule.rb +5 -1
- data/lib/oci/log_analytics/models/fixed_frequency_schedule.rb +5 -1
- data/lib/oci/log_analytics/models/namespace.rb +20 -4
- data/lib/oci/log_analytics/models/namespace_summary.rb +20 -4
- data/lib/oci/log_analytics/models/schedule.rb +20 -4
- data/lib/oci/log_analytics/models/scheduled_task.rb +54 -1
- data/lib/oci/log_analytics/models/scheduled_task_summary.rb +15 -1
- data/lib/oci/log_analytics/models/standard_task.rb +9 -1
- data/lib/oci/log_analytics/models/stream_action.rb +40 -4
- data/lib/oci/loggingingestion/logging_client.rb +1 -1
- data/lib/oci/loggingingestion/models/log_entry.rb +1 -1
- data/lib/oci/loggingingestion/models/log_entry_batch.rb +2 -2
- data/lib/oci/management_dashboard/dashx_apis_client.rb +16 -6
- data/lib/oci/management_dashboard/dashx_apis_client_composite_operations.rb +238 -0
- data/lib/oci/management_dashboard/management_dashboard.rb +1 -0
- data/lib/oci/management_dashboard/models/create_management_dashboard_details.rb +15 -1
- data/lib/oci/management_dashboard/models/create_management_saved_search_details.rb +15 -1
- data/lib/oci/management_dashboard/models/management_dashboard.rb +59 -2
- data/lib/oci/management_dashboard/models/management_dashboard_export_details.rb +4 -36
- data/lib/oci/management_dashboard/models/management_dashboard_for_import_export_details.rb +15 -1
- data/lib/oci/management_dashboard/models/management_dashboard_summary.rb +12 -2
- data/lib/oci/management_dashboard/models/management_dashboard_tile_details.rb +18 -4
- data/lib/oci/management_dashboard/models/management_saved_search.rb +47 -1
- data/lib/oci/management_dashboard/models/management_saved_search_for_import_details.rb +18 -4
- data/lib/oci/management_dashboard/models/management_saved_search_summary.rb +15 -1
- data/lib/oci/management_dashboard/models/update_management_dashboard_details.rb +15 -1
- data/lib/oci/management_dashboard/models/update_management_saved_search_details.rb +15 -1
- data/lib/oci/marketplace/account_client.rb +220 -0
- data/lib/oci/marketplace/account_client_composite_operations.rb +25 -0
- data/lib/oci/marketplace/marketplace.rb +8 -0
- data/lib/oci/marketplace/marketplace_client.rb +86 -24
- data/lib/oci/marketplace/marketplace_client_composite_operations.rb +4 -4
- data/lib/oci/marketplace/models/change_publication_compartment_details.rb +2 -2
- data/lib/oci/marketplace/models/create_image_publication_package.rb +2 -2
- data/lib/oci/marketplace/models/create_publication_details.rb +10 -8
- data/lib/oci/marketplace/models/create_publication_package.rb +4 -4
- data/lib/oci/marketplace/models/eula.rb +2 -2
- data/lib/oci/marketplace/models/free_text_search_details.rb +162 -0
- data/lib/oci/marketplace/models/image_publication_package.rb +3 -3
- data/lib/oci/marketplace/models/launch_eligibility.rb +178 -0
- data/lib/oci/marketplace/models/listing.rb +2 -2
- data/lib/oci/marketplace/models/listing_package_summary.rb +10 -1
- data/lib/oci/marketplace/models/listing_summary.rb +2 -2
- data/lib/oci/marketplace/models/matching_context_type_enum.rb +11 -0
- data/lib/oci/marketplace/models/operating_system.rb +2 -2
- data/lib/oci/marketplace/models/orchestration_publication_package.rb +3 -3
- data/lib/oci/marketplace/models/publication.rb +11 -11
- data/lib/oci/marketplace/models/publication_package.rb +3 -3
- data/lib/oci/marketplace/models/publication_package_summary.rb +1 -1
- data/lib/oci/marketplace/models/publication_summary.rb +9 -9
- data/lib/oci/marketplace/models/publisher_summary.rb +1 -1
- data/lib/oci/marketplace/models/search_details_type_enum.rb +11 -0
- data/lib/oci/marketplace/models/search_listings_details.rb +207 -0
- data/lib/oci/marketplace/models/structured_search_details.rb +162 -0
- data/lib/oci/marketplace/models/text_based_eula.rb +2 -2
- data/lib/oci/marketplace/models/third_party_paid_listing_eligibility.rb +210 -0
- data/lib/oci/marketplace/models/update_publication_details.rb +5 -5
- data/lib/oci/mysql/db_backups_client.rb +76 -0
- data/lib/oci/mysql/db_backups_client_composite_operations.rb +50 -0
- data/lib/oci/mysql/models/change_backup_compartment_details.rb +154 -0
- data/lib/oci/mysql/mysql.rb +1 -0
- data/lib/oci/oce/models/create_oce_instance_details.rb +3 -1
- data/lib/oci/oce/models/license_type.rb +3 -1
- data/lib/oci/oce/models/oce_instance.rb +19 -1
- data/lib/oci/oce/models/oce_instance_summary.rb +22 -4
- data/lib/oci/oce/models/update_oce_instance_details.rb +3 -1
- data/lib/oci/oce/oce_instance_client.rb +2 -0
- data/lib/oci/ocvp/models/create_esxi_host_details.rb +3 -1
- data/lib/oci/ocvp/models/create_sddc_details.rb +21 -2
- data/lib/oci/ocvp/models/downgrade_hcx_details.rb +154 -0
- data/lib/oci/ocvp/models/esxi_host.rb +2 -0
- data/lib/oci/ocvp/models/esxi_host_summary.rb +2 -0
- data/lib/oci/ocvp/models/hcx_license_status.rb +13 -0
- data/lib/oci/ocvp/models/hcx_license_summary.rb +201 -0
- data/lib/oci/ocvp/models/operation_types.rb +5 -1
- data/lib/oci/ocvp/models/sddc.rb +86 -2
- data/lib/oci/ocvp/models/supported_sku_summary.rb +2 -1
- data/lib/oci/ocvp/models/supported_sku_summary_collection.rb +3 -1
- data/lib/oci/ocvp/models/update_esxi_host_details.rb +3 -1
- data/lib/oci/ocvp/models/work_request.rb +4 -0
- data/lib/oci/ocvp/ocvp.rb +3 -0
- data/lib/oci/ocvp/sddc_client.rb +291 -2
- data/lib/oci/ocvp/sddc_client_composite_operations.rb +201 -0
- data/lib/oci/opsi/models/autonomous_database_configuration_summary.rb +198 -0
- data/lib/oci/opsi/models/create_enterprise_manager_bridge_details.rb +2 -2
- data/lib/oci/opsi/models/create_host_insight_details.rb +1 -1
- data/lib/oci/opsi/models/create_macs_managed_external_host_insight_details.rb +1 -1
- data/lib/oci/opsi/models/database_configuration_collection.rb +150 -0
- data/lib/oci/opsi/models/database_configuration_summary.rb +323 -0
- data/lib/oci/opsi/models/database_details.rb +1 -0
- data/lib/oci/opsi/models/database_insight.rb +1 -0
- data/lib/oci/opsi/models/database_insight_summary.rb +1 -0
- data/lib/oci/opsi/models/em_managed_external_database_configuration_summary.rb +222 -0
- data/lib/oci/opsi/models/enable_host_insight_details.rb +1 -1
- data/lib/oci/opsi/models/enable_macs_managed_external_host_insight_details.rb +1 -1
- data/lib/oci/opsi/models/enterprise_manager_bridge.rb +16 -1
- data/lib/oci/opsi/models/enterprise_manager_bridge_summary.rb +16 -1
- data/lib/oci/opsi/models/host_insight.rb +1 -0
- data/lib/oci/opsi/models/host_insight_summary.rb +1 -0
- data/lib/oci/opsi/models/lifecycle_state.rb +2 -1
- data/lib/oci/opsi/models/macs_managed_external_database_configuration_summary.rb +236 -0
- data/lib/oci/opsi/models/macs_managed_external_host_insight.rb +1 -1
- data/lib/oci/opsi/models/macs_managed_external_host_insight_summary.rb +1 -1
- data/lib/oci/opsi/models/summarize_database_insight_resource_forecast_trend_aggregation.rb +15 -1
- data/lib/oci/opsi/models/tablespace_usage_trend_aggregation.rb +1 -1
- data/lib/oci/opsi/operations_insights_client.rb +631 -25
- data/lib/oci/opsi/opsi.rb +5 -0
- data/lib/oci/regions.rb +3 -0
- data/lib/oci/secrets/secrets_client.rb +71 -1
- data/lib/oci/tenant_manager_control_plane/models/activate_order_details.rb +154 -0
- data/lib/oci/tenant_manager_control_plane/models/operation_type.rb +5 -1
- data/lib/oci/tenant_manager_control_plane/models/order.rb +206 -0
- data/lib/oci/{dns/models/tsig.rb → tenant_manager_control_plane/models/sku.rb} +22 -25
- data/lib/oci/tenant_manager_control_plane/models/subscription_info.rb +202 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request.rb +4 -0
- data/lib/oci/tenant_manager_control_plane/models/work_request_summary.rb +4 -0
- data/lib/oci/tenant_manager_control_plane/orders_client.rb +225 -0
- data/lib/oci/tenant_manager_control_plane/orders_client_composite_operations.rb +76 -0
- data/lib/oci/tenant_manager_control_plane/tenant_manager_control_plane.rb +6 -0
- data/lib/oci/usage_api/models/cost_analysis_ui.rb +2 -2
- data/lib/oci/usage_api/models/create_custom_table_details.rb +10 -10
- data/lib/oci/usage_api/models/create_query_details.rb +1 -1
- data/lib/oci/usage_api/models/custom_table.rb +13 -13
- data/lib/oci/usage_api/models/custom_table_summary.rb +1 -1
- data/lib/oci/usage_api/models/dimension.rb +1 -1
- data/lib/oci/usage_api/models/forecast.rb +3 -3
- data/lib/oci/usage_api/models/query_definition.rb +1 -1
- data/lib/oci/usage_api/models/query_summary.rb +1 -1
- data/lib/oci/usage_api/models/report_query.rb +11 -5
- data/lib/oci/usage_api/models/request_summarized_usages_details.rb +11 -5
- data/lib/oci/usage_api/models/saved_custom_table.rb +6 -6
- data/lib/oci/usage_api/models/update_custom_table_details.rb +1 -1
- data/lib/oci/usage_api/models/update_query_details.rb +1 -1
- data/lib/oci/usage_api/models/usage_summary.rb +1 -1
- data/lib/oci/usage_api/usage_api.rb +0 -6
- data/lib/oci/usage_api/usageapi_client.rb +332 -1
- data/lib/oci/version.rb +1 -1
- metadata +512 -16
@@ -0,0 +1,316 @@
|
|
1
|
+
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
3
|
+
|
4
|
+
require 'date'
|
5
|
+
|
6
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
7
|
+
module OCI
|
8
|
+
# Summary information for an artifact.
|
9
|
+
class Artifacts::Models::GenericArtifactSummary
|
10
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the artifact.
|
11
|
+
#
|
12
|
+
# Example: `ocid1.genericartifact.oc1..exampleuniqueID`
|
13
|
+
#
|
14
|
+
# @return [String]
|
15
|
+
attr_accessor :id
|
16
|
+
|
17
|
+
# **[Required]** The artifact name with the format of `<artifact-path>:<artifact-version>`. The artifact name is truncated to a maximum length of 255.
|
18
|
+
#
|
19
|
+
# Example: `project01/my-web-app/artifact-abc:1.0.0`
|
20
|
+
#
|
21
|
+
# @return [String]
|
22
|
+
attr_accessor :display_name
|
23
|
+
|
24
|
+
# **[Required]** The OCID of the artifact's compartment.
|
25
|
+
# @return [String]
|
26
|
+
attr_accessor :compartment_id
|
27
|
+
|
28
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the repository.
|
29
|
+
# @return [String]
|
30
|
+
attr_accessor :repository_id
|
31
|
+
|
32
|
+
# **[Required]** A user-defined path to describe the location of an artifact. Slashes do not create a directory structure, but you can use slashes to organize the repository. An artifact path does not include an artifact version.
|
33
|
+
#
|
34
|
+
# Example: `project01/my-web-app/artifact-abc`
|
35
|
+
#
|
36
|
+
# @return [String]
|
37
|
+
attr_accessor :artifact_path
|
38
|
+
|
39
|
+
# **[Required]** A user-defined string to describe the artifact version.
|
40
|
+
#
|
41
|
+
# Example: `1.1.0` or `1.2-beta-2`
|
42
|
+
#
|
43
|
+
# @return [String]
|
44
|
+
attr_accessor :version
|
45
|
+
|
46
|
+
# **[Required]** The SHA256 digest for the artifact. When you upload an artifact to the repository, a SHA256 digest is calculated and added to the artifact properties.
|
47
|
+
# @return [String]
|
48
|
+
attr_accessor :sha256
|
49
|
+
|
50
|
+
# **[Required]** The size of the artifact in bytes.
|
51
|
+
# @return [Integer]
|
52
|
+
attr_accessor :size_in_bytes
|
53
|
+
|
54
|
+
# **[Required]** The current state of the generic artifact.
|
55
|
+
# @return [String]
|
56
|
+
attr_accessor :lifecycle_state
|
57
|
+
|
58
|
+
# **[Required]** Free-form tags for this resource. Each tag is a simple key-value pair with no
|
59
|
+
# predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
60
|
+
#
|
61
|
+
# Example: `{\"Department\": \"Finance\"}`
|
62
|
+
#
|
63
|
+
# @return [Hash<String, String>]
|
64
|
+
attr_accessor :freeform_tags
|
65
|
+
|
66
|
+
# **[Required]** Defined tags for this resource. Each key is predefined and scoped to a
|
67
|
+
# namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
68
|
+
#
|
69
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
70
|
+
#
|
71
|
+
# @return [Hash<String, Hash<String, Object>>]
|
72
|
+
attr_accessor :defined_tags
|
73
|
+
|
74
|
+
# **[Required]** An RFC 3339 timestamp indicating when the artifact was created.
|
75
|
+
# @return [DateTime]
|
76
|
+
attr_accessor :time_created
|
77
|
+
|
78
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
79
|
+
def self.attribute_map
|
80
|
+
{
|
81
|
+
# rubocop:disable Style/SymbolLiteral
|
82
|
+
'id': :'id',
|
83
|
+
'display_name': :'displayName',
|
84
|
+
'compartment_id': :'compartmentId',
|
85
|
+
'repository_id': :'repositoryId',
|
86
|
+
'artifact_path': :'artifactPath',
|
87
|
+
'version': :'version',
|
88
|
+
'sha256': :'sha256',
|
89
|
+
'size_in_bytes': :'sizeInBytes',
|
90
|
+
'lifecycle_state': :'lifecycleState',
|
91
|
+
'freeform_tags': :'freeformTags',
|
92
|
+
'defined_tags': :'definedTags',
|
93
|
+
'time_created': :'timeCreated'
|
94
|
+
# rubocop:enable Style/SymbolLiteral
|
95
|
+
}
|
96
|
+
end
|
97
|
+
|
98
|
+
# Attribute type mapping.
|
99
|
+
def self.swagger_types
|
100
|
+
{
|
101
|
+
# rubocop:disable Style/SymbolLiteral
|
102
|
+
'id': :'String',
|
103
|
+
'display_name': :'String',
|
104
|
+
'compartment_id': :'String',
|
105
|
+
'repository_id': :'String',
|
106
|
+
'artifact_path': :'String',
|
107
|
+
'version': :'String',
|
108
|
+
'sha256': :'String',
|
109
|
+
'size_in_bytes': :'Integer',
|
110
|
+
'lifecycle_state': :'String',
|
111
|
+
'freeform_tags': :'Hash<String, String>',
|
112
|
+
'defined_tags': :'Hash<String, Hash<String, Object>>',
|
113
|
+
'time_created': :'DateTime'
|
114
|
+
# rubocop:enable Style/SymbolLiteral
|
115
|
+
}
|
116
|
+
end
|
117
|
+
|
118
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
119
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
120
|
+
|
121
|
+
|
122
|
+
# Initializes the object
|
123
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
124
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
125
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
126
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
127
|
+
# @option attributes [String] :repository_id The value to assign to the {#repository_id} property
|
128
|
+
# @option attributes [String] :artifact_path The value to assign to the {#artifact_path} property
|
129
|
+
# @option attributes [String] :version The value to assign to the {#version} property
|
130
|
+
# @option attributes [String] :sha256 The value to assign to the {#sha256} property
|
131
|
+
# @option attributes [Integer] :size_in_bytes The value to assign to the {#size_in_bytes} property
|
132
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
133
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
134
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
135
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
136
|
+
def initialize(attributes = {})
|
137
|
+
return unless attributes.is_a?(Hash)
|
138
|
+
|
139
|
+
# convert string to symbol for hash key
|
140
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
141
|
+
|
142
|
+
self.id = attributes[:'id'] if attributes[:'id']
|
143
|
+
|
144
|
+
self.display_name = attributes[:'displayName'] if attributes[:'displayName']
|
145
|
+
|
146
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
147
|
+
|
148
|
+
self.display_name = attributes[:'display_name'] if attributes[:'display_name']
|
149
|
+
|
150
|
+
self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId']
|
151
|
+
|
152
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
153
|
+
|
154
|
+
self.compartment_id = attributes[:'compartment_id'] if attributes[:'compartment_id']
|
155
|
+
|
156
|
+
self.repository_id = attributes[:'repositoryId'] if attributes[:'repositoryId']
|
157
|
+
|
158
|
+
raise 'You cannot provide both :repositoryId and :repository_id' if attributes.key?(:'repositoryId') && attributes.key?(:'repository_id')
|
159
|
+
|
160
|
+
self.repository_id = attributes[:'repository_id'] if attributes[:'repository_id']
|
161
|
+
|
162
|
+
self.artifact_path = attributes[:'artifactPath'] if attributes[:'artifactPath']
|
163
|
+
|
164
|
+
raise 'You cannot provide both :artifactPath and :artifact_path' if attributes.key?(:'artifactPath') && attributes.key?(:'artifact_path')
|
165
|
+
|
166
|
+
self.artifact_path = attributes[:'artifact_path'] if attributes[:'artifact_path']
|
167
|
+
|
168
|
+
self.version = attributes[:'version'] if attributes[:'version']
|
169
|
+
|
170
|
+
self.sha256 = attributes[:'sha256'] if attributes[:'sha256']
|
171
|
+
|
172
|
+
self.size_in_bytes = attributes[:'sizeInBytes'] if attributes[:'sizeInBytes']
|
173
|
+
|
174
|
+
raise 'You cannot provide both :sizeInBytes and :size_in_bytes' if attributes.key?(:'sizeInBytes') && attributes.key?(:'size_in_bytes')
|
175
|
+
|
176
|
+
self.size_in_bytes = attributes[:'size_in_bytes'] if attributes[:'size_in_bytes']
|
177
|
+
|
178
|
+
self.lifecycle_state = attributes[:'lifecycleState'] if attributes[:'lifecycleState']
|
179
|
+
|
180
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
181
|
+
|
182
|
+
self.lifecycle_state = attributes[:'lifecycle_state'] if attributes[:'lifecycle_state']
|
183
|
+
|
184
|
+
self.freeform_tags = attributes[:'freeformTags'] if attributes[:'freeformTags']
|
185
|
+
|
186
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
187
|
+
|
188
|
+
self.freeform_tags = attributes[:'freeform_tags'] if attributes[:'freeform_tags']
|
189
|
+
|
190
|
+
self.defined_tags = attributes[:'definedTags'] if attributes[:'definedTags']
|
191
|
+
|
192
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
193
|
+
|
194
|
+
self.defined_tags = attributes[:'defined_tags'] if attributes[:'defined_tags']
|
195
|
+
|
196
|
+
self.time_created = attributes[:'timeCreated'] if attributes[:'timeCreated']
|
197
|
+
|
198
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
199
|
+
|
200
|
+
self.time_created = attributes[:'time_created'] if attributes[:'time_created']
|
201
|
+
end
|
202
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
203
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
204
|
+
|
205
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
206
|
+
|
207
|
+
|
208
|
+
# Checks equality by comparing each attribute.
|
209
|
+
# @param [Object] other the other object to be compared
|
210
|
+
def ==(other)
|
211
|
+
return true if equal?(other)
|
212
|
+
|
213
|
+
self.class == other.class &&
|
214
|
+
id == other.id &&
|
215
|
+
display_name == other.display_name &&
|
216
|
+
compartment_id == other.compartment_id &&
|
217
|
+
repository_id == other.repository_id &&
|
218
|
+
artifact_path == other.artifact_path &&
|
219
|
+
version == other.version &&
|
220
|
+
sha256 == other.sha256 &&
|
221
|
+
size_in_bytes == other.size_in_bytes &&
|
222
|
+
lifecycle_state == other.lifecycle_state &&
|
223
|
+
freeform_tags == other.freeform_tags &&
|
224
|
+
defined_tags == other.defined_tags &&
|
225
|
+
time_created == other.time_created
|
226
|
+
end
|
227
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
228
|
+
|
229
|
+
# @see the `==` method
|
230
|
+
# @param [Object] other the other object to be compared
|
231
|
+
def eql?(other)
|
232
|
+
self == other
|
233
|
+
end
|
234
|
+
|
235
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
236
|
+
|
237
|
+
|
238
|
+
# Calculates hash code according to all attributes.
|
239
|
+
# @return [Fixnum] Hash code
|
240
|
+
def hash
|
241
|
+
[id, display_name, compartment_id, repository_id, artifact_path, version, sha256, size_in_bytes, lifecycle_state, freeform_tags, defined_tags, time_created].hash
|
242
|
+
end
|
243
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
244
|
+
|
245
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
246
|
+
|
247
|
+
|
248
|
+
# Builds the object from hash
|
249
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
250
|
+
# @return [Object] Returns the model itself
|
251
|
+
def build_from_hash(attributes)
|
252
|
+
return nil unless attributes.is_a?(Hash)
|
253
|
+
|
254
|
+
self.class.swagger_types.each_pair do |key, type|
|
255
|
+
if type =~ /^Array<(.*)>/i
|
256
|
+
# check to ensure the input is an array given that the the attribute
|
257
|
+
# is documented as an array but the input is not
|
258
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
259
|
+
public_method("#{key}=").call(
|
260
|
+
attributes[self.class.attribute_map[key]]
|
261
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
262
|
+
)
|
263
|
+
end
|
264
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
265
|
+
public_method("#{key}=").call(
|
266
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
267
|
+
)
|
268
|
+
end
|
269
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
270
|
+
end
|
271
|
+
|
272
|
+
self
|
273
|
+
end
|
274
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
275
|
+
|
276
|
+
# Returns the string representation of the object
|
277
|
+
# @return [String] String presentation of the object
|
278
|
+
def to_s
|
279
|
+
to_hash.to_s
|
280
|
+
end
|
281
|
+
|
282
|
+
# Returns the object in the form of hash
|
283
|
+
# @return [Hash] Returns the object in the form of hash
|
284
|
+
def to_hash
|
285
|
+
hash = {}
|
286
|
+
self.class.attribute_map.each_pair do |attr, param|
|
287
|
+
value = public_method(attr).call
|
288
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
289
|
+
|
290
|
+
hash[param] = _to_hash(value)
|
291
|
+
end
|
292
|
+
hash
|
293
|
+
end
|
294
|
+
|
295
|
+
private
|
296
|
+
|
297
|
+
# Outputs non-array value in the form of hash
|
298
|
+
# For object, use to_hash. Otherwise, just return the value
|
299
|
+
# @param [Object] value Any valid value
|
300
|
+
# @return [Hash] Returns the value in the form of hash
|
301
|
+
def _to_hash(value)
|
302
|
+
if value.is_a?(Array)
|
303
|
+
value.compact.map { |v| _to_hash(v) }
|
304
|
+
elsif value.is_a?(Hash)
|
305
|
+
{}.tap do |hash|
|
306
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
307
|
+
end
|
308
|
+
elsif value.respond_to? :to_hash
|
309
|
+
value.to_hash
|
310
|
+
else
|
311
|
+
value
|
312
|
+
end
|
313
|
+
end
|
314
|
+
end
|
315
|
+
end
|
316
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
@@ -0,0 +1,181 @@
|
|
1
|
+
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
3
|
+
|
4
|
+
require 'date'
|
5
|
+
require_relative 'repository'
|
6
|
+
|
7
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
8
|
+
module OCI
|
9
|
+
# The metadata for the artifact repository.
|
10
|
+
class Artifacts::Models::GenericRepository < Artifacts::Models::Repository
|
11
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
12
|
+
def self.attribute_map
|
13
|
+
{
|
14
|
+
# rubocop:disable Style/SymbolLiteral
|
15
|
+
'id': :'id',
|
16
|
+
'display_name': :'displayName',
|
17
|
+
'compartment_id': :'compartmentId',
|
18
|
+
'repository_type': :'repositoryType',
|
19
|
+
'description': :'description',
|
20
|
+
'is_immutable': :'isImmutable',
|
21
|
+
'lifecycle_state': :'lifecycleState',
|
22
|
+
'freeform_tags': :'freeformTags',
|
23
|
+
'defined_tags': :'definedTags',
|
24
|
+
'time_created': :'timeCreated'
|
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
|
+
'id': :'String',
|
34
|
+
'display_name': :'String',
|
35
|
+
'compartment_id': :'String',
|
36
|
+
'repository_type': :'String',
|
37
|
+
'description': :'String',
|
38
|
+
'is_immutable': :'BOOLEAN',
|
39
|
+
'lifecycle_state': :'String',
|
40
|
+
'freeform_tags': :'Hash<String, String>',
|
41
|
+
'defined_tags': :'Hash<String, Hash<String, Object>>',
|
42
|
+
'time_created': :'DateTime'
|
43
|
+
# rubocop:enable Style/SymbolLiteral
|
44
|
+
}
|
45
|
+
end
|
46
|
+
|
47
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
48
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
49
|
+
|
50
|
+
|
51
|
+
# Initializes the object
|
52
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
53
|
+
# @option attributes [String] :id The value to assign to the {OCI::Artifacts::Models::Repository#id #id} proprety
|
54
|
+
# @option attributes [String] :display_name The value to assign to the {OCI::Artifacts::Models::Repository#display_name #display_name} proprety
|
55
|
+
# @option attributes [String] :compartment_id The value to assign to the {OCI::Artifacts::Models::Repository#compartment_id #compartment_id} proprety
|
56
|
+
# @option attributes [String] :description The value to assign to the {OCI::Artifacts::Models::Repository#description #description} proprety
|
57
|
+
# @option attributes [BOOLEAN] :is_immutable The value to assign to the {OCI::Artifacts::Models::Repository#is_immutable #is_immutable} proprety
|
58
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {OCI::Artifacts::Models::Repository#lifecycle_state #lifecycle_state} proprety
|
59
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {OCI::Artifacts::Models::Repository#freeform_tags #freeform_tags} proprety
|
60
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {OCI::Artifacts::Models::Repository#defined_tags #defined_tags} proprety
|
61
|
+
# @option attributes [DateTime] :time_created The value to assign to the {OCI::Artifacts::Models::Repository#time_created #time_created} proprety
|
62
|
+
def initialize(attributes = {})
|
63
|
+
return unless attributes.is_a?(Hash)
|
64
|
+
|
65
|
+
attributes['repositoryType'] = 'GENERIC'
|
66
|
+
|
67
|
+
super(attributes)
|
68
|
+
end
|
69
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
70
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
71
|
+
|
72
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
73
|
+
|
74
|
+
|
75
|
+
# Checks equality by comparing each attribute.
|
76
|
+
# @param [Object] other the other object to be compared
|
77
|
+
def ==(other)
|
78
|
+
return true if equal?(other)
|
79
|
+
|
80
|
+
self.class == other.class &&
|
81
|
+
id == other.id &&
|
82
|
+
display_name == other.display_name &&
|
83
|
+
compartment_id == other.compartment_id &&
|
84
|
+
repository_type == other.repository_type &&
|
85
|
+
description == other.description &&
|
86
|
+
is_immutable == other.is_immutable &&
|
87
|
+
lifecycle_state == other.lifecycle_state &&
|
88
|
+
freeform_tags == other.freeform_tags &&
|
89
|
+
defined_tags == other.defined_tags &&
|
90
|
+
time_created == other.time_created
|
91
|
+
end
|
92
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
93
|
+
|
94
|
+
# @see the `==` method
|
95
|
+
# @param [Object] other the other object to be compared
|
96
|
+
def eql?(other)
|
97
|
+
self == other
|
98
|
+
end
|
99
|
+
|
100
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
101
|
+
|
102
|
+
|
103
|
+
# Calculates hash code according to all attributes.
|
104
|
+
# @return [Fixnum] Hash code
|
105
|
+
def hash
|
106
|
+
[id, display_name, compartment_id, repository_type, description, is_immutable, lifecycle_state, freeform_tags, defined_tags, time_created].hash
|
107
|
+
end
|
108
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
109
|
+
|
110
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
111
|
+
|
112
|
+
|
113
|
+
# Builds the object from hash
|
114
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
115
|
+
# @return [Object] Returns the model itself
|
116
|
+
def build_from_hash(attributes)
|
117
|
+
return nil unless attributes.is_a?(Hash)
|
118
|
+
|
119
|
+
self.class.swagger_types.each_pair do |key, type|
|
120
|
+
if type =~ /^Array<(.*)>/i
|
121
|
+
# check to ensure the input is an array given that the the attribute
|
122
|
+
# is documented as an array but the input is not
|
123
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
124
|
+
public_method("#{key}=").call(
|
125
|
+
attributes[self.class.attribute_map[key]]
|
126
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
127
|
+
)
|
128
|
+
end
|
129
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
130
|
+
public_method("#{key}=").call(
|
131
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
132
|
+
)
|
133
|
+
end
|
134
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
135
|
+
end
|
136
|
+
|
137
|
+
self
|
138
|
+
end
|
139
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
140
|
+
|
141
|
+
# Returns the string representation of the object
|
142
|
+
# @return [String] String presentation of the object
|
143
|
+
def to_s
|
144
|
+
to_hash.to_s
|
145
|
+
end
|
146
|
+
|
147
|
+
# Returns the object in the form of hash
|
148
|
+
# @return [Hash] Returns the object in the form of hash
|
149
|
+
def to_hash
|
150
|
+
hash = {}
|
151
|
+
self.class.attribute_map.each_pair do |attr, param|
|
152
|
+
value = public_method(attr).call
|
153
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
154
|
+
|
155
|
+
hash[param] = _to_hash(value)
|
156
|
+
end
|
157
|
+
hash
|
158
|
+
end
|
159
|
+
|
160
|
+
private
|
161
|
+
|
162
|
+
# Outputs non-array value in the form of hash
|
163
|
+
# For object, use to_hash. Otherwise, just return the value
|
164
|
+
# @param [Object] value Any valid value
|
165
|
+
# @return [Hash] Returns the value in the form of hash
|
166
|
+
def _to_hash(value)
|
167
|
+
if value.is_a?(Array)
|
168
|
+
value.compact.map { |v| _to_hash(v) }
|
169
|
+
elsif value.is_a?(Hash)
|
170
|
+
{}.tap do |hash|
|
171
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
172
|
+
end
|
173
|
+
elsif value.respond_to? :to_hash
|
174
|
+
value.to_hash
|
175
|
+
else
|
176
|
+
value
|
177
|
+
end
|
178
|
+
end
|
179
|
+
end
|
180
|
+
end
|
181
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|